22 lines
828 KiB
JavaScript
Executable File
22 lines
828 KiB
JavaScript
Executable File
(()=>{var deferred,installedChunks,chunkLoadingGlobal,__webpack_modules__={1756:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var icons_namespaceObject={},token_before_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}),{}),trace_namespaceObject=(__webpack_require__.r(token_before_namespaceObject),__webpack_require__.d(token_before_namespaceObject,{safe:()=>safe,spec:()=>spec}),{}),AnPlusB_namespaceObject=(__webpack_require__.r(trace_namespaceObject),__webpack_require__.d(trace_namespaceObject,{getTrace:()=>getTrace,isKeyword:()=>function(node){return testNode(this,node,match=>"Keyword"===match.type)},isProperty:()=>function(node,property){return testNode(this,node,match=>"Property"===match.type&&match.name===property)},isType:()=>function(node,type){return testNode(this,node,match=>"Type"===match.type&&match.name===type)}}),{}),Atrule_namespaceObject=(__webpack_require__.r(AnPlusB_namespaceObject),__webpack_require__.d(AnPlusB_namespaceObject,{generate:()=>function(node){{var a,b;node.a?(a=("+1"===node.a||"1"===node.a?"n":"-1"===node.a&&"-n")||node.a+"n",node.b?(b="-"===node.b[0]||"+"===node.b[0]?node.b:"+"+node.b,this.tokenize(a+b)):this.tokenize(a)):this.tokenize(node.b)}},name:()=>AnPlusB_name,parse:()=>AnPlusB_parse,structure:()=>structure}),{}),AtrulePrelude_namespaceObject=(__webpack_require__.r(Atrule_namespaceObject),__webpack_require__.d(Atrule_namespaceObject,{generate:()=>function(node){this.token(AtKeyword,"@"+node.name),null!==node.prelude&&this.node(node.prelude);node.block?this.node(node.block):this.token(Semicolon,";")},name:()=>Atrule_name,parse:()=>Atrule_parse,structure:()=>Atrule_structure,walkContext:()=>walkContext}),{}),AttributeSelector_namespaceObject=(__webpack_require__.r(AtrulePrelude_namespaceObject),__webpack_require__.d(AtrulePrelude_namespaceObject,{generate:()=>function(node){this.children(node)},name:()=>AtrulePrelude_name,parse:()=>AtrulePrelude_parse,structure:()=>AtrulePrelude_structure,walkContext:()=>AtrulePrelude_walkContext}),{}),Block_namespaceObject=(__webpack_require__.r(AttributeSelector_namespaceObject),__webpack_require__.d(AttributeSelector_namespaceObject,{generate:()=>function(node){this.token(Delim,"["),this.node(node.name),null!==node.matcher&&(this.tokenize(node.matcher),this.node(node.value));null!==node.flags&&this.token(Ident,node.flags);this.token(Delim,"]")},name:()=>AttributeSelector_name,parse:()=>AttributeSelector_parse,structure:()=>AttributeSelector_structure}),{}),Brackets_namespaceObject=(__webpack_require__.r(Block_namespaceObject),__webpack_require__.d(Block_namespaceObject,{generate:()=>function(node){this.token(LeftCurlyBracket,"{"),this.children(node,prev=>{"Declaration"===prev.type&&this.token(Semicolon,";")}),this.token(RightCurlyBracket,"}")},name:()=>Block_name,parse:()=>Block_parse,structure:()=>Block_structure,walkContext:()=>Block_walkContext}),{}),CDC_namespaceObject=(__webpack_require__.r(Brackets_namespaceObject),__webpack_require__.d(Brackets_namespaceObject,{generate:()=>function(node){this.token(Delim,"["),this.children(node),this.token(Delim,"]")},name:()=>Brackets_name,parse:()=>Brackets_parse,structure:()=>Brackets_structure}),{}),CDO_namespaceObject=(__webpack_require__.r(CDC_namespaceObject),__webpack_require__.d(CDC_namespaceObject,{generate:()=>function(){this.token(CDC,"--\x3e")},name:()=>CDC_name,parse:()=>CDC_parse,structure:()=>CDC_structure}),{}),ClassSelector_namespaceObject=(__webpack_require__.r(CDO_namespaceObject),__webpack_require__.d(CDO_namespaceObject,{generate:()=>function(){this.token(CDO,"\x3c!--")},name:()=>CDO_name,parse:()=>CDO_parse,structure:()=>CDO_structure}),{}),Combinator_namespaceObject=(__webpack_require__.r(ClassSelector_namespaceObject),__webpack_require__.d(ClassSelector_namespaceObject,{generate:()=>function(node){this.token(Delim,"."),this.token(Ident,node.name)},name:()=>ClassSelector_name,parse:()=>ClassSelector_parse,structure:()=>ClassSelector_structure}),{}),Comment_namespaceObject=(__webpack_require__.r(Combinator_namespaceObject),__webpack_require__.d(Combinator_namespaceObject,{generate:()=>function(node){this.tokenize(node.name)},name:()=>Combinator_name,parse:()=>Combinator_parse,structure:()=>Combinator_structure}),{}),Declaration_namespaceObject=(__webpack_require__.r(Comment_namespaceObject),__webpack_require__.d(Comment_namespaceObject,{generate:()=>function(node){this.token(Comment,"/*"+node.value+"*/")},name:()=>Comment_name,parse:()=>Comment_parse,structure:()=>Comment_structure}),{}),DeclarationList_namespaceObject=(__webpack_require__.r(Declaration_namespaceObject),__webpack_require__.d(Declaration_namespaceObject,{generate:()=>function(node){this.token(Ident,node.property),this.token(Colon,":"),this.node(node.value),node.important&&(this.token(Delim,"!"),this.token(Ident,!0===node.important?"important":node.important))},name:()=>Declaration_name,parse:()=>Declaration_parse,structure:()=>Declaration_structure,walkContext:()=>Declaration_walkContext}),{}),Dimension_namespaceObject=(__webpack_require__.r(DeclarationList_namespaceObject),__webpack_require__.d(DeclarationList_namespaceObject,{generate:()=>function(node){this.children(node,prev=>{"Declaration"===prev.type&&this.token(Semicolon,";")})},name:()=>DeclarationList_name,parse:()=>DeclarationList_parse,structure:()=>DeclarationList_structure}),{}),Function_namespaceObject=(__webpack_require__.r(Dimension_namespaceObject),__webpack_require__.d(Dimension_namespaceObject,{generate:()=>function(node){this.token(Dimension,node.value+node.unit)},name:()=>Dimension_name,parse:()=>Dimension_parse,structure:()=>Dimension_structure}),{}),Hash_namespaceObject=(__webpack_require__.r(Function_namespaceObject),__webpack_require__.d(Function_namespaceObject,{generate:()=>function(node){this.token(types_Function,node.name+"("),this.children(node),this.token(RightParenthesis,")")},name:()=>Function_name,parse:()=>Function_parse,structure:()=>Function_structure,walkContext:()=>Function_walkContext}),{}),Identifier_namespaceObject=(__webpack_require__.r(Hash_namespaceObject),__webpack_require__.d(Hash_namespaceObject,{generate:()=>function(node){this.token(Hash,"#"+node.value)},name:()=>Hash_name,parse:()=>Hash_parse,structure:()=>Hash_structure,xxx:()=>xxx}),{}),IdSelector_namespaceObject=(__webpack_require__.r(Identifier_namespaceObject),__webpack_require__.d(Identifier_namespaceObject,{generate:()=>function(node){this.token(Ident,node.name)},name:()=>Identifier_name,parse:()=>Identifier_parse,structure:()=>Identifier_structure}),{}),MediaFeature_namespaceObject=(__webpack_require__.r(IdSelector_namespaceObject),__webpack_require__.d(IdSelector_namespaceObject,{generate:()=>function(node){this.token(Delim,"#"+node.name)},name:()=>IdSelector_name,parse:()=>IdSelector_parse,structure:()=>IdSelector_structure}),{}),MediaQuery_namespaceObject=(__webpack_require__.r(MediaFeature_namespaceObject),__webpack_require__.d(MediaFeature_namespaceObject,{generate:()=>function(node){this.token(LeftParenthesis,"("),this.token(Ident,node.name),null!==node.value&&(this.token(Colon,":"),this.node(node.value));this.token(RightParenthesis,")")},name:()=>MediaFeature_name,parse:()=>MediaFeature_parse,structure:()=>MediaFeature_structure}),{}),MediaQueryList_namespaceObject=(__webpack_require__.r(MediaQuery_namespaceObject),__webpack_require__.d(MediaQuery_namespaceObject,{generate:()=>function(node){this.children(node)},name:()=>MediaQuery_name,parse:()=>MediaQuery_parse,structure:()=>MediaQuery_structure}),{}),Nth_namespaceObject=(__webpack_require__.r(MediaQueryList_namespaceObject),__webpack_require__.d(MediaQueryList_namespaceObject,{generate:()=>function(node){this.children(node,()=>this.token(Comma,","))},name:()=>MediaQueryList_name,parse:()=>MediaQueryList_parse,structure:()=>MediaQueryList_structure}),{}),Number_namespaceObject=(__webpack_require__.r(Nth_namespaceObject),__webpack_require__.d(Nth_namespaceObject,{generate:()=>function(node){this.node(node.nth),null!==node.selector&&(this.token(Ident,"of"),this.node(node.selector))},name:()=>Nth_name,parse:()=>Nth_parse,structure:()=>Nth_structure}),{}),Operator_namespaceObject=(__webpack_require__.r(Number_namespaceObject),__webpack_require__.d(Number_namespaceObject,{generate:()=>function(node){this.token(types_Number,node.value)},name:()=>Number_name,parse:()=>Number_parse,structure:()=>Number_structure}),{}),Parentheses_namespaceObject=(__webpack_require__.r(Operator_namespaceObject),__webpack_require__.d(Operator_namespaceObject,{generate:()=>function(node){this.tokenize(node.value)},name:()=>Operator_name,parse:()=>Operator_parse,structure:()=>Operator_structure}),{}),Percentage_namespaceObject=(__webpack_require__.r(Parentheses_namespaceObject),__webpack_require__.d(Parentheses_namespaceObject,{generate:()=>function(node){this.token(LeftParenthesis,"("),this.children(node),this.token(RightParenthesis,")")},name:()=>Parentheses_name,parse:()=>Parentheses_parse,structure:()=>Parentheses_structure}),{}),PseudoClassSelector_namespaceObject=(__webpack_require__.r(Percentage_namespaceObject),__webpack_require__.d(Percentage_namespaceObject,{generate:()=>function(node){this.token(Percentage,node.value+"%")},name:()=>Percentage_name,parse:()=>Percentage_parse,structure:()=>Percentage_structure}),{}),PseudoElementSelector_namespaceObject=(__webpack_require__.r(PseudoClassSelector_namespaceObject),__webpack_require__.d(PseudoClassSelector_namespaceObject,{generate:()=>function(node){this.token(Colon,":"),null===node.children?this.token(Ident,node.name):(this.token(types_Function,node.name+"("),this.children(node),this.token(RightParenthesis,")"))},name:()=>PseudoClassSelector_name,parse:()=>PseudoClassSelector_parse,structure:()=>PseudoClassSelector_structure,walkContext:()=>PseudoClassSelector_walkContext}),{}),Ratio_namespaceObject=(__webpack_require__.r(PseudoElementSelector_namespaceObject),__webpack_require__.d(PseudoElementSelector_namespaceObject,{generate:()=>function(node){this.token(Colon,":"),this.token(Colon,":"),null===node.children?this.token(Ident,node.name):(this.token(types_Function,node.name+"("),this.children(node),this.token(RightParenthesis,")"))},name:()=>PseudoElementSelector_name,parse:()=>PseudoElementSelector_parse,structure:()=>PseudoElementSelector_structure,walkContext:()=>PseudoElementSelector_walkContext}),{}),Raw_namespaceObject=(__webpack_require__.r(Ratio_namespaceObject),__webpack_require__.d(Ratio_namespaceObject,{generate:()=>function(node){this.token(types_Number,node.left),this.token(Delim,"/"),this.token(types_Number,node.right)},name:()=>Ratio_name,parse:()=>Ratio_parse,structure:()=>Ratio_structure}),{}),Rule_namespaceObject=(__webpack_require__.r(Raw_namespaceObject),__webpack_require__.d(Raw_namespaceObject,{generate:()=>function(node){this.tokenize(node.value)},name:()=>Raw_name,parse:()=>Raw_parse,structure:()=>Raw_structure}),{}),Selector_namespaceObject=(__webpack_require__.r(Rule_namespaceObject),__webpack_require__.d(Rule_namespaceObject,{generate:()=>function(node){this.node(node.prelude),this.node(node.block)},name:()=>Rule_name,parse:()=>Rule_parse,structure:()=>Rule_structure,walkContext:()=>Rule_walkContext}),{}),SelectorList_namespaceObject=(__webpack_require__.r(Selector_namespaceObject),__webpack_require__.d(Selector_namespaceObject,{generate:()=>function(node){this.children(node)},name:()=>Selector_name,parse:()=>Selector_parse,structure:()=>Selector_structure}),{}),String_namespaceObject=(__webpack_require__.r(SelectorList_namespaceObject),__webpack_require__.d(SelectorList_namespaceObject,{generate:()=>function(node){this.children(node,()=>this.token(Comma,","))},name:()=>SelectorList_name,parse:()=>SelectorList_parse,structure:()=>SelectorList_structure,walkContext:()=>SelectorList_walkContext}),{}),StyleSheet_namespaceObject=(__webpack_require__.r(String_namespaceObject),__webpack_require__.d(String_namespaceObject,{generate:()=>function(node){this.token(types_String,encode(node.value))},name:()=>String_name,parse:()=>String_parse,structure:()=>String_structure}),{}),TypeSelector_namespaceObject=(__webpack_require__.r(StyleSheet_namespaceObject),__webpack_require__.d(StyleSheet_namespaceObject,{generate:()=>function(node){this.children(node)},name:()=>StyleSheet_name,parse:()=>StyleSheet_parse,structure:()=>StyleSheet_structure,walkContext:()=>StyleSheet_walkContext}),{}),UnicodeRange_namespaceObject=(__webpack_require__.r(TypeSelector_namespaceObject),__webpack_require__.d(TypeSelector_namespaceObject,{generate:()=>function(node){this.tokenize(node.name)},name:()=>TypeSelector_name,parse:()=>TypeSelector_parse,structure:()=>TypeSelector_structure}),{}),Url_namespaceObject=(__webpack_require__.r(UnicodeRange_namespaceObject),__webpack_require__.d(UnicodeRange_namespaceObject,{generate:()=>function(node){this.tokenize(node.value)},name:()=>UnicodeRange_name,parse:()=>UnicodeRange_parse,structure:()=>UnicodeRange_structure}),{}),Value_namespaceObject=(__webpack_require__.r(Url_namespaceObject),__webpack_require__.d(Url_namespaceObject,{generate:()=>function(node){this.token(Url,url_encode(node.value))},name:()=>Url_name,parse:()=>Url_parse,structure:()=>Url_structure}),{}),WhiteSpace_namespaceObject=(__webpack_require__.r(Value_namespaceObject),__webpack_require__.d(Value_namespaceObject,{generate:()=>function(node){this.children(node)},name:()=>Value_name,parse:()=>Value_parse,structure:()=>Value_structure}),{}),node_namespaceObject=(__webpack_require__.r(WhiteSpace_namespaceObject),__webpack_require__.d(WhiteSpace_namespaceObject,{generate:()=>function(node){this.token(WhiteSpace,node.value)},name:()=>WhiteSpace_name,parse:()=>WhiteSpace_parse,structure:()=>WhiteSpace_structure}),{}),scope_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}),{}),index_parse_namespaceObject=(__webpack_require__.r(scope_namespaceObject),__webpack_require__.d(scope_namespaceObject,{AtrulePrelude:()=>atrulePrelude,Selector:()=>selector,Value:()=>value}),{}),lib_syntax_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}),{});function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.r(lib_syntax_namespaceObject),__webpack_require__.d(lib_syntax_namespaceObject,{compress:()=>function(ast,options){ast=ast||{type:"StyleSheet",loc:null,children:new List};const compressOptions={logger:"function"==typeof(options=options||{}).logger?options.logger:function(){},restructuring:function(options){if("restructure"in options)return options.restructure;return!("restructuring"in options)||options.restructuring}(options),forceMediaMerge:Boolean(options.forceMediaMerge),usage:!!options.usage&&function(data){let scopes=!1;if(data.scopes&&Array.isArray(data.scopes)){scopes=Object.create(null);for(let i=0;i<data.scopes.length;i++){var list=data.scopes[i];if(!list||!Array.isArray(list))throw new Error("Wrong usage format");for(const name of list){if(usage_hasOwnProperty.call(scopes,name))throw new Error("Class can't be used for several scopes: "+name);scopes[name]=i+1}}}return{whitelist:buildList(data),blacklist:buildList(data.blacklist),scopes:scopes}}(options.usage)},output=new List;let specialComments=function(options){let comments="comments"in options?options.comments:"exclamation";"boolean"==typeof comments?comments=!!comments&&"exclamation":"exclamation"!==comments&&"first-exclamation"!==comments&&(comments=!1);return comments}(options),firstAtrulesAllowed=!0,input,chunk,chunkNum=1,chunkChildren;options.clone&&(ast=clone(ast));"StyleSheet"===ast.type?(input=ast.children,ast.children=output):input=function(block){return(new List).appendData({type:"Rule",loc:null,prelude:{type:"SelectorList",loc:null,children:(new List).appendData({type:"Selector",loc:null,children:(new List).appendData({type:"TypeSelector",loc:null,name:"x"})})},block:block})}(ast);do{var lastRule;!function(ast,firstAtrulesAllowed,num,options){options.logger("Compress block #"+num,null,!0);let seed=1;"StyleSheet"===ast.type&&(ast.firstAtrulesAllowed=firstAtrulesAllowed,ast.id=seed++);lib_walk(ast,{visit:"Atrule",enter(node){null!==node.block&&(node.block.id=seed++)}}),options.logger("init",ast),function(ast,options){lib_walk(ast,{leave(node,item,list){handlers.hasOwnProperty(node.type)&&handlers[node.type].call(this,node,item,list,options)}})}(ast,options),options.logger("clean",ast),function(ast){lib_walk(ast,{leave(node,item,list){replace_handlers.hasOwnProperty(node.type)&&replace_handlers[node.type].call(this,node,item,list)}})}(ast),options.logger("replace",ast),options.restructuring&&function(ast,options){var indexer=function(ast,options){const markDeclaration=function(){const ids=new Index;return function(node){var id=lib_generate(node);return node.id=ids.resolve(id),node.length=id.length,node.fingerprint=null,node}}();return lib_walk(ast,{visit:"Rule",enter(node){node.block.children.forEach(markDeclaration),function(node,usageData){const pseudos=new Set;node.prelude.children.forEach(function(simpleSelector){let tagName="*",scope=0;simpleSelector.children.forEach(function(node){switch(node.type){case"ClassSelector":if(usageData&&usageData.scopes){var classScope=usageData.scopes[node.name]||0;if(0!==scope&&classScope!==scope)throw new Error("Selector can't has classes from different scopes: "+lib_generate(simpleSelector));scope=classScope}break;case"PseudoClassSelector":classScope=node.name.toLowerCase();nonFreezePseudoClasses.has(classScope)||pseudos.add(":"+classScope);break;case"PseudoElementSelector":{const name=node.name.toLowerCase();nonFreezePseudoElements.has(name)||pseudos.add("::"+name);break}case"TypeSelector":tagName=node.name.toLowerCase();break;case"AttributeSelector":node.flags&&pseudos.add(`[${node.flags.toLowerCase()}]`);break;case"Combinator":tagName="*"}}),simpleSelector.compareMarker=prepare_specificity(simpleSelector).toString(),simpleSelector.id=null,simpleSelector.id=lib_generate(simpleSelector),scope&&(simpleSelector.compareMarker+=":"+scope),"*"!==tagName&&(simpleSelector.compareMarker+=","+tagName)}),node.pseudoSignature=0<pseudos.size&&[...pseudos].sort().join(",")}(node,options.usage)}}),lib_walk(ast,{visit:"Atrule",enter(node){node.prelude&&(node.prelude.id=null,node.prelude.id=lib_generate(node.prelude)),"keyframes"===keyword(node.name).basename&&(node.block.avoidRulesMerge=!0,node.block.children.forEach(function(rule){rule.prelude.children.forEach(function(simpleselector){simpleselector.compareMarker=simpleselector.id})}))}}),{declaration:markDeclaration}}(ast,options);options.logger("prepare",ast),function(ast,options){(function(ast,options){const collected=Object.create(null);let topInjectPoint=null;ast.children.forEach(function(node,item,list){if("Atrule"===node.type){node=keyword(node.name).basename;switch(node){case"keyframes":return void addRuleToMap(collected,item,list,!0);case"media":if(options.forceMediaMerge)return void addRuleToMap(collected,item,list,!1)}null===topInjectPoint&&"charset"!==node&&"import"!==node&&(topInjectPoint=item)}else null===topInjectPoint&&(topInjectPoint=item)});for(const atrule in collected)for(const id in collected[atrule])ast.children.insertList(collected[atrule][id],"media"===atrule?null:topInjectPoint)})(ast,options),lib_walk(ast,{visit:"Atrule",reverse:!0,enter:processAtrule})}(ast,options),options.logger("mergeAtrule",ast),function(ast){lib_walk(ast,{visit:"Rule",enter:processRule})}(ast),options.logger("initialMergeRuleset",ast),function(ast){lib_walk(ast,{visit:"Rule",reverse:!0,enter:_3_disjoinRuleset_processRule})}(ast),options.logger("disjoinRuleset",ast),function(ast,indexer){const stylesheetMap={},shortDeclarations=[];lib_walk(ast,{visit:"Rule",reverse:!0,enter(node){var stylesheet=this.block||this.stylesheet,ruleId=(node.pseudoSignature||"")+"|"+node.prelude.children.first.id;let ruleMap,shorts;stylesheetMap.hasOwnProperty(stylesheet.id)?ruleMap=stylesheetMap[stylesheet.id]:(ruleMap={lastShortSelector:null},stylesheetMap[stylesheet.id]=ruleMap),ruleMap.hasOwnProperty(ruleId)?shorts=ruleMap[ruleId]:(shorts={},ruleMap[ruleId]=shorts),ruleMap.lastShortSelector=function(rule,shorts,shortDeclarations,lastShortSelector){const declarations=rule.block.children,selector=rule.prelude.children.first.id;return rule.block.children.forEachRight(function(declaration,item){var property=declaration.property;if(MAIN_PROPERTY.hasOwnProperty(property)){var key=MAIN_PROPERTY[property];let shorthand,operation;lastShortSelector&&selector!==lastShortSelector||key in shorts&&(operation=2,shorthand=shorts[key]),lastShortSelector=shorthand&&shorthand.add(property,declaration)||(operation=1,(shorthand=new TRBL(key)).add(property,declaration))?(shorts[key]=shorthand,shortDeclarations.push({operation:operation,block:declarations,item:item,shorthand:shorthand}),selector):null}}),lastShortSelector}.call(this,node,shorts,shortDeclarations,ruleMap.lastShortSelector)}}),function(shortDeclarations,markDeclaration){shortDeclarations.forEach(function(item){const shorthand=item.shorthand;shorthand.isOkToMinimize()&&(1===item.operation?item.item.data=markDeclaration(shorthand.getDeclaration()):item.block.remove(item.item))})}(shortDeclarations,indexer.declaration)}(ast,indexer),options.logger("restructShorthand",ast),function(ast){const stylesheetMap={},fingerprints=Object.create(null);lib_walk(ast,{visit:"Rule",reverse:!0,enter(node,item,list){var stylesheet=this.block||this.stylesheet,ruleId=(node.pseudoSignature||"")+"|"+node.prelude.children.first.id;let ruleMap,props;stylesheetMap.hasOwnProperty(stylesheet.id)?ruleMap=stylesheetMap[stylesheet.id]:(ruleMap={},stylesheetMap[stylesheet.id]=ruleMap),ruleMap.hasOwnProperty(ruleId)?props=ruleMap[ruleId]:(props={},ruleMap[ruleId]=props),function(rule,item,list,props,fingerprints){const declarations=rule.block.children;declarations.forEachRight(function(declaration,declarationItem){var property=declaration["property"],fingerprint=getPropertyFingerprint(property,declaration,fingerprints);const prev=props[fingerprint];if(prev&&!dontRestructure.has(property))declaration.important&&!prev.item.data.important?(props[fingerprint]={block:declarations,item:declarationItem},prev.block.remove(prev.item)):declarations.remove(declarationItem);else{const prev=function(props,declaration,fingerprints){var property=names_property(declaration.property);if(NEEDLESS_TABLE.hasOwnProperty(property.basename))for(const entry of NEEDLESS_TABLE[property.basename]){var ppre=getPropertyFingerprint(property.prefix+entry,declaration,fingerprints),ppre=props.hasOwnProperty(ppre)?props[ppre]:null;if(ppre&&(!declaration.important||ppre.item.data.important))return ppre}}(props,declaration,fingerprints);prev?declarations.remove(declarationItem):(declaration.fingerprint=fingerprint,props[fingerprint]={block:declarations,item:declarationItem})}}),declarations.isEmpty&&list.remove(item)}.call(this,node,item,list,props,fingerprints)}})}(ast),options.logger("restructBlock",ast),function(ast){lib_walk(ast,{visit:"Rule",enter:_7_mergeRuleset_processRule})}(ast),options.logger("mergeRuleset",ast),function(ast){lib_walk(ast,{visit:"Rule",reverse:!0,enter:_8_restructRuleset_processRule})}(ast),options.logger("restructRuleset",ast)}(ast,options)}((chunk=function(input,specialComments){const children=new List;let nonSpaceTokenInBuffer=!1,protectedComment;return input.nextUntil(input.head,(node,item,list)=>{if("Comment"===node.type)return specialComments&&"!"===node.value.charAt(0)?!(!nonSpaceTokenInBuffer&&!protectedComment)||(list.remove(item),void(protectedComment=node)):void list.remove(item);"WhiteSpace"!==node.type&&(nonSpaceTokenInBuffer=!0),children.insert(list.remove(item))}),{comment:protectedComment,stylesheet:{type:"StyleSheet",loc:null,children:children}}}(input,Boolean(specialComments))).stylesheet,firstAtrulesAllowed,chunkNum++,compressOptions),chunkChildren=chunk.stylesheet.children,chunk.comment&&(output.isEmpty||output.insert(List.createItem({type:"Raw",value:"\n"})),output.insert(List.createItem(chunk.comment)),chunkChildren.isEmpty||output.insert(List.createItem({type:"Raw",value:"\n"}))),!firstAtrulesAllowed||chunkChildren.isEmpty||("Atrule"!==(lastRule=chunkChildren.last).type||"import"!==lastRule.name&&"charset"!==lastRule.name)&&(firstAtrulesAllowed=!1),"exclamation"!==specialComments&&(specialComments=!1),output.appendList(chunkChildren)}while(!input.isEmpty);return{ast:ast}},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});const external_wp_blocks_namespaceObject=window.wp.blocks,external_wp_element_namespaceObject=window.wp.element,components_element=function(_ref){var tagName=_ref.tagName,htmlAttrs=_ref.htmlAttrs,_ref=_ref.children;return(0,external_wp_element_namespaceObject.createElement)(tagName,htmlAttrs,_ref)};function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _unsupportedIterableToArray(o,minLen){var n;if(o)return"string"==typeof o?_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}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.")}function slicedToArray_slicedToArray(arr,i){return _arrayWithHoles(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}var classnames=__webpack_require__(4184),classnames_default=__webpack_require__.n(classnames);const external_wp_data_namespaceObject=window.wp.data;function ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),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;function tab(_ref){return _ref=_ref.children,React.createElement(React.Fragment,null,Array.isArray(_ref)?_ref.map(function(child){return child}):_ref)}const tab_panel=(0,external_wp_data_namespaceObject.withSelect)(function(select){return{block:select("core/block-editor").getSelectedBlock()}})(function(_ref){var tabs=_ref.children,_ref$hasIcon=_ref.hasIcon,_ref$hasIcon=void 0!==_ref$hasIcon&&_ref$hasIcon,_ref$className=_ref.className,_ref$className=void 0===_ref$className?"":_ref$className,label=_ref.label,_ref$root=_ref.root,root=void 0!==_ref$root&&_ref$root,_ref$root=_ref.block,_ref=_ref$root.name,_ref=void 0===_ref?"":_ref,_ref$root=_ref$root.attributes.clientId,_ref$root=void 0===_ref$root?"":_ref$root;"widgets"!==window.pagenow&&"customize"!==window.pagenow||(tabs=tabs.filter(function(tab){return"Layout"!==(null==tab||null==(tab=tab.props)?void 0:tab.tabTitle)}));var _useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(root?"Settings":tabs[0].props.tabTitle),2),active=_useState2[0],setActive=_useState2[1],id=_ref+"/"+_ref$root;return(0,external_wp_element_namespaceObject.useEffect)(function(){var _inspectorTabState$ge;root&&null!=(_inspectorTabState$ge=inspectorTabState.get(id))&&_inspectorTabState$ge.tab&&active!==inspectorTabState.get(id).tab&&setActive(inspectorTabState.get(id).tab)},[]),React.createElement("div",{className:classnames_default()("blockart-tab-panel",{"has-icon":_ref$hasIcon},_ref$className)},React.createElement("div",{className:"blockart-tab-panel-head","data-sticky":!!root},label&&React.createElement("label",{htmlFor:"blockart-tab-panel"},label),React.createElement("div",{className:"blockart-tab-panel-menu",role:"group","data-grid":null!=(_useState2=tabs.length)?_useState2:0},tabs.map(function(tab){var tabTitle=tab.props.tabTitle;return React.createElement("button",{key:tabTitle,className:classnames_default()("blockart-tab-panel-menu-item",{"is-active":tabTitle===active}),onClick:function(){var _inspectorTabState$ge2;root&&(_inspectorTabState$ge2=null!=(_inspectorTabState$ge2=inspectorTabState.get(tab))?_inspectorTabState$ge2:{},inspectorTabState.set(id,_objectSpread(_objectSpread({},_inspectorTabState$ge2),{},{tab:tabTitle}))),setActive(tabTitle)}},React.createElement("span",{className:"blockart-tab-panel-menu-item-title"},tabTitle))}))),React.createElement("div",{className:"blockart-tab-panel-body"},tabs.map(function(tab){return React.createElement("div",{key:tab.props.tabTitle,style:{display:tab.props.tabTitle===active?"block":"none"},"data-inspector-tab":root?tab.props.tabTitle:null},tab)})))}),external_wp_compose_namespaceObject=window.wp.compose;classnames=(0,external_wp_compose_namespaceObject.createHigherOrderComponent)(function(Component){return function(props){var attributes=props.attributes,setAttributes=props.setAttributes,clientId=props.clientId,name=props.name;return(0,external_wp_element_namespaceObject.useEffect)(function(){var ID=clientId.substr(0,8),_name$split2$=slicedToArray_slicedToArray(name.split("/"),2)[1];(!attributes.clientId||attributes.clientId!==ID&&1<document.querySelectorAll(".blockart-".concat(void 0===_name$split2$?"blockart":_name$split2$,"-").concat(attributes.clientId)).length)&&setAttributes({clientId:ID})},[]),React.createElement(Component,props)}},"withClientId");function _extends(){return(_extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var key,source=arguments[i];for(key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}).apply(this,arguments)}function typeof_typeof(obj){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})(obj)}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const external_wp_keycodes_namespaceObject=window.wp.keycodes,external_wp_i18n_namespaceObject=window.wp.i18n,external_wp_keyboardShortcuts_namespaceObject=window.wp.keyboardShortcuts;function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,target=function(source,excluded){if(null==source)return{};for(var key,target={},sourceKeys=Object.keys(source),i=0;i<sourceKeys.length;i++)key=sourceKeys[i],0<=excluded.indexOf(key)||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols)for(var sourceSymbolKeys=Object.getOwnPropertySymbols(source),i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],0<=excluded.indexOf(key)||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key]);return target}const external_wp_components_namespaceObject=window.wp.components;function repr(arg){return Object.prototype.toString.call(arg)}function ucFirst(string){return string.charAt(0).toUpperCase()+string.slice(1)}function getSiblings(el){return null===el.parentNode?[]:Array.from(el.parentNode.children).filter(function(child){return child!==el})}var arrowDown=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M17.9 15.2H13V2h-2v13.1H6.1L12 22l5.9-6.8z"})),arrowLeft=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M2 12l6.9 6v-5H22v-2H8.9V6L2 12z"})),arrowRight=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M21.8 12l-7-6v5H2v2h12.8v5l7-6z"})),arrowUp=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M13 22V9h5l-6-7-6.1 7h5v12.9H13v.1z"})),textAlignLeft=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),textAlignRight=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),textAlignCenter=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),textAlignJustify=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),alignTop=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M20 7.5H4v13h16Zm-18-3h20m0 1H2v-2h20Z"})),alignMiddle=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M22 11h-4V2H6v9H2v2h4v9h12v-9h4v-2z"})),alignBottom=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M20 16.5H4v-13h16Zm-18 3h20m0-1H2v2h20Z"})),alignSpaceBetween=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M6 4v16h12V4ZM3 22V2m1 0v20H2V2Zm17 20V2m1 0v20h-2V2Z"})),alignCenter=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Rect,{x:"11",y:"2",width:"2",height:"20"}),React.createElement(external_wp_components_namespaceObject.Rect,{x:"3",y:"6",width:"18",height:"12"})),alignLeft=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Rect,{x:"3",y:"2",width:"2",height:"20"}),React.createElement(external_wp_components_namespaceObject.Rect,{x:"7",y:"6",width:"14",height:"12"})),alignRight=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Rect,{x:"19",y:"2",width:"2",height:"20"}),React.createElement(external_wp_components_namespaceObject.Rect,{x:"3",y:"6",width:"14",height:"12"})),chevronDown=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),chevronLeft=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),chevronRight=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),chevronUp=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),questionMark=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),removeO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z"})),toggleOff=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),toggleOn=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),unLink=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),chevronUpCircle=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),chevronDownCircle=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),cog=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),color=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),desktop=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),gradient=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"},React.createElement(external_wp_components_namespaceObject.Path,{className:"prefix__st0",d:"M3 2v20M22 3H2M22 21H2M21 2v20",stroke:"#000",strokeWidth:"2",strokeMiterlimit:"10"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M4 4v16h16C14 15 8 11 4 4z",fillRule:"evenodd",clipRule:"evenodd"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M12.3 4H4c4 7 10 11 16 16V4h-7.7",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"})),icons_image=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M10.1 14l-1-1-3 4h12l-5-7-3 4z"})),icons_link=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),lock=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M13,17.15H11V6.85h2Z"})),mobile=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"11.9",cy:"18",r:"1"})),tablet=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"12",cy:"18",r:"1"})),play=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M2.1 2v20L22 12 2.1 2z"})),icons_reset=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),star=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),upload=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M11 15h2V9h3l-4-5-4 5h3v6z"}),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"})),pencil=React.createElement(external_wp_components_namespaceObject.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},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"})),trash=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z"})),filled=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),outline=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Rect,{width:"19",height:"8",x:"2.5",y:"8",fill:"none",stroke:"currentColor",strokeMiterlimit:"10",rx:".8"})),plain=React.createElement(external_wp_components_namespaceObject.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},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"})),linkO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".5",d:"M2.26 14.28h19.48"}),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"})),paste=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),copy=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),iconList=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),socialIcons=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),infoBox=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"12",cy:"7.5",r:"2"}),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"})),icons_button=React.createElement(external_wp_components_namespaceObject.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},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"}),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"})),carousel=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),counter=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),divider=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M2 10.9h20v2H2v-2z"})),faq=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"12",cy:"12",r:"9",fill:"none",stroke:"#000",strokeWidth:"2",strokeMiterlimit:"10"})),icons_form=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),map=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),heading=React.createElement(external_wp_components_namespaceObject.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},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"})),icon=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),paragraph=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),rating=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"}),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"})),section=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),spacing=React.createElement(external_wp_components_namespaceObject.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},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"}),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"}),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"}),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"}),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"})),teams=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg"},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"}),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"})),testimonial=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"7.5",cy:"10.1",r:"1.5"}),React.createElement("circle",{cx:"12",cy:"10.1",r:"1.5"}),React.createElement("circle",{cx:"16.5",cy:"10.1",r:"1.5"})),video=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M8.8 8.8v6.5l6.4-3.2-6.4-3.3z"}),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"})),column=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M2 6h20v12H2z",fill:"#2563eb"}),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"})),barsO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),cartO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"10.5",cy:"19.5",r:"1.5"}),React.createElement("circle",{cx:"17.4",cy:"19.5",r:"1.5"})),envelopeO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),eyeO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),instagramO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement("circle",{cx:"16.2",cy:"7.8",r:"1"}),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"})),mapMarkerO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"})),phoneO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),paperPlaneO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),quoteLeft=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),quoteRight=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),recorderO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M7 15.1h6v2H7v-2z"})),searchMinus=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M6.8 9.3h7V11h-7V9.3z"}),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"})),searchO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),sendO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),thumbsUpO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),timeO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),React.createElement(external_wp_components_namespaceObject.Path,{d:"M12 6H9.8v8.6H18v-2.2h-6V6z"})),userO=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),youtubePlay=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M3.7 2v20l16.7-10L3.7 2z"})),bar=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M2 5h10v2H2V5zm0 6h20v2H2v-2zm10 6h10v2H12v-2z"})),behance=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),blogger=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),check=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),icons_close=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),codeopen=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),delicious=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),devianart=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),dribble=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),facebook=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),linkedin=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),medium=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),minus=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M2 11h20v2H2v-2z"})),pinterest=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),plus=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M22 11h-9.1V2h-2v9H2v2h9v9h2v-9h9v-2z"})),quora=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),reddit=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("circle",{cx:"10",cy:"12.9",r:".9"}),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"}),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"})),reply=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),rss=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"}),React.createElement("circle",{cx:"4.7",cy:"19.3",r:"2.7"})),tumblr=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),twitch=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),twitter=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),vimeo=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),wordpress=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),yelp=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"})),buttons=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},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"}),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"}),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"})),isEmpty=function(arg){return function(arg){try{return void 0===arg}catch(e){if(e instanceof ReferenceError)return!0;throw e}}(arg)||function(arg){return"[object Null]"===repr(arg)}(arg)||function(arg){return"[object String]"===repr(arg)}(arg)&&0===arg.length||function(arg){return Array.isArray?Array.isArray(arg):"[object Array]"===repr(arg)}(arg)&&0===arg.length||function(arg){return"[object Object]"===repr(arg)}(arg)&&0===Object.keys(arg).length};function meets_conditions(settings,selectData){var depends=!0;return null!=selectData&&selectData.condition&&selectData.condition.forEach(function(data){var selected,previous=depends;"=="===data.relation||"==="===data.relation?depends="string"==typeof data.value||"number"==typeof data.value||"boolean"==typeof data.value?settings[data.key]===data.value:!!data.value.includes(settings[data.key]):"!="!==data.relation&&"!=="!==data.relation||("string"==typeof data.value||"number"==typeof data.value||"boolean"==typeof data.value?depends=settings[data.key]!==data.value:(selected=!1,data.value.forEach(function(arrData){settings[data.key]!==arrData&&(selected=!0)}),selected&&(depends=!0))),!1===previous&&(depends=!1)}),depends}function replace_placeholders(str,placeholders){return Object.entries(placeholders).forEach(function(_ref){var _ref=slicedToArray_slicedToArray(_ref,2),tag=_ref[0],_ref=_ref[1];str=str.replaceAll("{{".concat(tag,"}}"),_ref)}),str}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")},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")};function background_css(props){var settingValue=props.settingValue,settingDef=props.settingDef,blockName=props.blockName,blockID=props.blockID,settingDef=null==settingDef?void 0:settingDef.style,css={allDevice:[],desktop:[],tablet:[],mobile:[]};return settingDef&&settingDef.forEach(function(style){var selector,imageData;meets_conditions(props.settings,style)&&(selector=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),settingValue.type=settingValue.type||"color",imageData=function(){var _data$image,data=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},cssForDevices={allDevice:[],desktop:[],tablet:[],mobile:[]};return null!=data&&null!=(_data$image=data.image)&&_data$image.url&&cssForDevices.desktop.push("background-image: url("+data.image.url+");"),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));data.position&&data.position[device]&&"default"!==data.position[device]&&cssForDevices[device].push("background-position: ".concat(data.position[device],";")),data.repeat&&data.repeat[device]&&"default"!==data.repeat[device]&&cssForDevices[device].push("background-repeat: ".concat(data.repeat[device],";")),data.size&&data.size[device]&&"default"!==data.size[device]&&("custom"!==data.size[device]&&cssForDevices[device].push("background-size: ".concat(data.size[device],";")),"custom"===data.size[device]&&data[customSizeKey]&&cssForDevices[device].push("background-size: ".concat(data[customSizeKey].value+(data[customSizeKey].unit||"")," auto;")))}),cssForDevices}(settingValue.image)||css,settingValue.color&&imageData.desktop.push("background-color: ".concat(settingValue.color,";")),Object.keys(css).forEach(function(type){0<imageData[type].length&&css[type].push("".concat(selector,"{ ").concat(imageData[type].join("")," }"))}))}),css}var settingStyleGenerators_border=function(props){var settingValue=props.settingValue,settingDef=props.settingDef,blockName=props.blockName,blockID=props.blockID,settingDef=null==settingDef?void 0:settingDef.style,settingValue=Object.assign({},{type:"none",size:{},radius:{},color:""},settingValue),css={allDevice:[],desktop:[],tablet:[],mobile:[]},tempCSS={allDevice:[],desktop:[],tablet:[],mobile:[]},tempAllDeviceCSS="";return settingDef&&settingDef.forEach(function(style){var selector;meets_conditions(props.settings,style)&&(selector=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),"none"!==settingValue.type&&(tempAllDeviceCSS+="".concat(settingValue.color?"border-color: ".concat(settingValue.color,";"):""," border-style: ").concat(settingValue.type,";"),tempCSS.desktop.push(tempAllDeviceCSS),settingValue.size&&Object.keys(DEVICES).forEach(function(device){var unit,top,right,bottom,left;!settingValue.size[device]||void 0===settingValue.size[device].right&&void 0===settingValue.size[device].top&&void 0===settingValue.size[device].bottom&&void 0===settingValue.size[device].left||(unit=settingValue.size[device].unit||"px",top=settingValue.size[device].top||0,right=settingValue.size[device].right||0,bottom=settingValue.size[device].bottom||0,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,";")))})),settingValue.radius&&Object.keys(DEVICES).forEach(function(device){var unit,top,right,bottom,left;!settingValue.radius[device]||void 0===settingValue.radius[device].right&&void 0===settingValue.radius[device].top&&void 0===settingValue.radius[device].bottom&&void 0===settingValue.radius[device].left||(unit=settingValue.radius[device].unit||"px",top=settingValue.radius[device].top||0,right=settingValue.radius[device].right||0,bottom=settingValue.radius[device].bottom||0,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){0<tempCSS[type].length&&css[type].push("".concat(selector,"{ ").concat(tempCSS[type].join("")," }"))}))}),css},settingStyleGenerators_dimension=function(props){var settingValue=props.settingValue,settingDef=props.settingDef,blockName=props.blockName,blockID=props.blockID,settingDef=null==settingDef?void 0:settingDef.style,css={allDevice:[],desktop:[],tablet:[],mobile:[]};return settingDef&&settingDef.forEach(function(style){var selector,top,right,bottom,left;meets_conditions(props.settings,style)&&(selector=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),settingValue&&(Object.keys(settingValue).some(function(v){return Object.keys(DEVICES).includes(v)})?Object.keys(DEVICES).forEach(function(device){var unit,top,right,bottom,left;settingValue[device]&&Object.keys(settingValue[device]).some(function(v){return["top","right","bottom","left","unit"].includes(v)})&&(unit=settingValue[device].unit||"px",top=settingValue[device].top||0,right=settingValue[device].right||0,bottom=settingValue[device].bottom||0,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)})))}):Object.keys(settingValue).some(function(v){return["top","right","bottom","left","unit"].includes(v)})&&(style=settingValue.unit||"px",top=settingValue.top||0,right=settingValue.right||0,bottom=settingValue.bottom||0,left=settingValue.left||0,css.allDevice.push(replace_placeholders(selector,{VALUE:"".concat(top).concat(style," ").concat(right).concat(style," ").concat(bottom).concat(style," ").concat(left).concat(style)})))))}),css},settingStyleGenerators_background=background_css,settingStyleGenerators_boxShadow=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),settingDef=null==settingDef?void 0:settingDef.style,css={allDevice:[],desktop:[],tablet:[],mobile:[]};return settingDef&&settingValue.enable&&settingDef.forEach(function(style){meets_conditions(props.settings,style)&&(style=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),css.allDevice.push(style+"{ box-shadow:"+(settingValue.position&&"inset"===settingValue.position?settingValue.position:"")+" "+(settingValue.horizontalX||0)+"px "+(settingValue.verticalY||0)+"px "+(settingValue.blur||0)+"px "+(settingValue.spread||0)+"px "+(settingValue.color||"#000")+"; }"))}),css},settingStyleGenerators_typography=function(props){var settingValue=props.settingValue,settingDef=props.settingDef,blockName=props.blockName,blockID=props.blockID,settingDef=null==settingDef?void 0:settingDef.style,css={allDevice:[],desktop:[],tablet:[],mobile:[]},tempCSS={allDevice:[],desktop:[],tablet:[],mobile:[]},font="";return settingDef&&settingDef.forEach(function(style){var selector;meets_conditions(props.settings,style)&&(selector=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),settingValue.family&&"Default"!==settingValue.family&&(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",";"))),settingValue.weight&&tempCSS.desktop.push("font-weight: ".concat(settingValue.weight,";")),settingValue.transform&&"default"!==settingValue.transform&&tempCSS.desktop.push("text-transform: ".concat(settingValue.transform,";")),settingValue.decoration&&"default"!==settingValue.decoration&&tempCSS.desktop.push("text-decoration: ".concat(settingValue.decoration,";")),Object.keys(DEVICES).forEach(function(device){settingValue.size&&settingValue.size[device]&&settingValue.size[device].value&&tempCSS[device].push("font-size: ".concat(settingValue.size[device].value).concat(settingValue.size[device].unit||"px",";")),settingValue.lineHeight&&settingValue.lineHeight[device]&&settingValue.lineHeight[device].value&&tempCSS[device].push("line-height: ".concat(settingValue.lineHeight[device].value).concat(settingValue.lineHeight[device].unit||"px",";")),settingValue.letterSpacing&&settingValue.letterSpacing[device]&&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){0<tempCSS[type].length&&css[type].push("".concat(selector,"{ ").concat(tempCSS[type].join("")," }"))}),font&&css.allDevice.unshift(font))}),css},settingStyleGenerators_advanced=function(props){var settingValue=props.settingValue,settingDef=props.settingDef,blockName=props.blockName,blockID=props.blockID,context=props.context,settingDef=null==settingDef?void 0:settingDef.style,css={allDevice:[],desktop:[],tablet:[],mobile:[]};return settingDef&&settingDef.forEach(function(style){meets_conditions(props.settings,style)&&(style=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),settingValue&&"save"===context&&css.allDevice.push(style))}),css},settingStyleGenerators_general=function(props){var settingValue=props.settingValue,settingDef=props.settingDef,blockName=props.blockName,blockID=props.blockID,settingDef=null==settingDef?void 0:settingDef.style,css={allDevice:[],desktop:[],tablet:[],mobile:[]};return settingDef&&settingDef.forEach(function(style){var selector;meets_conditions(props.settings,style)&&(selector=replace_placeholders(style.selector,{WRAPPER:".blockart-".concat(blockName,"-").concat(blockID)}),"object"===typeof_typeof(settingValue)&&settingValue?["desktop","tablet","mobile"].some(function(d){return Object.keys(settingValue).includes(d)})?Object.keys(DEVICES).forEach(function(device){settingValue[device]&&("object"===typeof_typeof(settingValue[device])?settingValue[device].value&&css[device].push(replace_placeholders(selector,{VALUE:settingValue[device].value+settingValue[device].unit||"px"})):css[device].push(replace_placeholders(selector,{VALUE:settingValue[device]})))}):css.allDevice.push(replace_placeholders(selector,{VALUE:null!==(style=(null!=(style=null==settingValue?void 0:settingValue.value)?style:0)+(null==settingValue?void 0:settingValue.unit))?style:"px"})):settingValue&&css.allDevice.push(replace_placeholders(selector,{VALUE:settingValue})))}),css},getSettingStyleGenerator=function(settingName,settingValue){return null!=settingValue&&settingValue.border?settingStyleGenerators_border:null!=settingValue&&settingValue.background?settingStyleGenerators_background:null!=settingValue&&settingValue.typography?settingStyleGenerators_typography:null!=settingValue&&settingValue.boxShadow?settingStyleGenerators_boxShadow:null!=settingValue&&settingValue.dimension?settingStyleGenerators_dimension:["hideOnDesktop","hideOnTablet","hideOnMobile","colReverseOnTablet","colReverseOnMobile"].includes(settingName)?settingStyleGenerators_advanced:settingStyleGenerators_general};function generate_block_css(_ref){var cssForDevices,attributesDef,settings=_ref.settings,blockName=_ref.blockName,blockID=_ref.blockID,_ref$deviceType=void 0===(_ref$deviceType=_ref.deviceType)?"desktop":_ref$deviceType,context=void 0===(_ref=_ref.context)?"editor":_ref;return blockID?(cssForDevices={allDevice:[],desktop:[],tablet:[],mobile:[]},attributesDef=(0,external_wp_blocks_namespaceObject.getBlockType)("blockart/"+("button"===blockName?"button-inner":"buttons"===blockName?"button":blockName)).attributes,Object.entries(settings).forEach(function(_ref2){var settingStyleGenerator,_ref2=slicedToArray_slicedToArray(_ref2,2),settingName=_ref2[0],_ref2=_ref2[1],attributeDef=attributesDef[settingName];(null==attributeDef?void 0:attributeDef.style)&&((settingStyleGenerator=getSettingStyleGenerator(settingName,_ref2))&&(settingStyleGenerator=settingStyleGenerator({blockID:blockID,settingDef:attributeDef,settingName:settingName,settingValue:_ref2,settings:settings,blockName:blockName,context:context}),cssForDevices.allDevice=cssForDevices.allDevice.concat(settingStyleGenerator.allDevice),cssForDevices.desktop=cssForDevices.desktop.concat(settingStyleGenerator.desktop),cssForDevices.tablet=cssForDevices.tablet.concat(settingStyleGenerator.tablet),cssForDevices.mobile=cssForDevices.mobile.concat(settingStyleGenerator.mobile)))}),0<cssForDevices.allDevice.length&&cssForDevices.allDevice.forEach(function(str,index){str.includes("@import")&&(cssForDevices.allDevice.splice(index,1),"editor"===context&&cssForDevices.allDevice.unshift(str))}),"editor"===context?(_ref=cssForDevices.allDevice.join(""),_ref+=cssForDevices.desktop.join(""),_BLOCKART_.isNotPostEditor||("desktop"!==_ref$deviceType&&(_ref+=cssForDevices.tablet.join("")),"mobile"===_ref$deviceType&&(_ref+=cssForDevices.mobile.join(""))),_ref):cssForDevices):""}var external_wp_apiFetch_namespaceObject=window.wp.apiFetch,external_wp_apiFetch_default=__webpack_require__.n(external_wp_apiFetch_namespaceObject);function _createForOfIteratorHelper(o,allowArrayLike){var normalCompletion,didErr,err,i,it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(it)return didErr=!(normalCompletion=!0),{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}};if(Array.isArray(o)||(it=function(o,minLen){var n;if(o)return"string"==typeof o?has_blockart_blocks_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?has_blockart_blocks_arrayLikeToArray(o,minLen):void 0}(o))||allowArrayLike&&o&&"number"==typeof o.length)return it&&(o=it),i=0,{s:allowArrayLike=function(){},n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:allowArrayLike};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function has_blockart_blocks_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}const has_blockart_blocks=function hasBlockArtBlocks(blocks){var _step,_iterator=_createForOfIteratorHelper(blocks);try{for(_iterator.s();!(_step=_iterator.n()).done;){var block=_step.value;if(-1!==block.name.indexOf("blockart/"))return!0;if(block.innerBlocks&&0<block.innerBlocks.length&&hasBlockArtBlocks(block.innerBlocks))return!0}}catch(err){_iterator.e(err)}finally{_iterator.f()}return!1},Ident=1,types_Function=2,AtKeyword=3,Hash=4,types_String=5,BadString=6,Url=7,BadUrl=8,Delim=9,types_Number=10,Percentage=11,Dimension=12,WhiteSpace=13,CDO=14,CDC=15,Colon=16,Semicolon=17,Comma=18,LeftSquareBracket=19,RightSquareBracket=20,LeftParenthesis=21,RightParenthesis=22,LeftCurlyBracket=23,RightCurlyBracket=24,Comment=25,char_code_definitions_EOF=0;function isDigit(code){return 48<=code&&code<=57}function isHexDigit(code){return isDigit(code)||65<=code&&code<=70||97<=code&&code<=102}function isUppercaseLetter(code){return 65<=code&&code<=90}function isNameStart(code){return function(code){return isUppercaseLetter(code)||function(code){return 97<=code&&code<=122}(code)}(code)||128<=code||95===code}function char_code_definitions_isName(code){return isNameStart(code)||isDigit(code)||45===code}function isNewline(code){return 10===code||13===code||12===code}function isWhiteSpace(code){return isNewline(code)||32===code||9===code}function char_code_definitions_isValidEscape(first,second){return 92===first&&(!isNewline(second)&&second!==char_code_definitions_EOF)}function isIdentifierStart(first,second,third){return 45===first?isNameStart(second)||45===second||char_code_definitions_isValidEscape(second,third):isNameStart(first)||92===first&&char_code_definitions_isValidEscape(first,second)}function isNumberStart(first,second,third){return 43===first||45===first?isDigit(second)||!(46!==second||!isDigit(third)):46===first?!!isDigit(second):!!isDigit(first)}function isBOM(code){return 65279===code||65534===code?1:0}const CATEGORY=new Array(128);const WhiteSpaceCategory=130,DigitCategory=131,NameStartCategory=132,NonPrintableCategory=133;for(let i=0;i<CATEGORY.length;i++)CATEGORY[i]=isWhiteSpace(i)&&WhiteSpaceCategory||isDigit(i)&&DigitCategory||isNameStart(i)&&NameStartCategory||function(code){return 0<=code&&code<=8||11===code||14<=code&&code<=31||127===code}(i)&&NonPrintableCategory||i||128;function charCodeCategory(code){return code<128?CATEGORY[code]:NameStartCategory}function getCharCode(source,offset){return offset<source.length?source.charCodeAt(offset):0}function getNewlineLength(source,offset,code){return 13===code&&10===getCharCode(source,offset+1)?2:1}function cmpChar(testStr,offset,referenceCode){let code=testStr.charCodeAt(offset);return isUppercaseLetter(code)&&(code|=32),code===referenceCode}function cmpStr(testStr,start,end,referenceStr){if(end-start!==referenceStr.length)return!1;if(start<0||end>testStr.length)return!1;for(let i=start;i<end;i++){var referenceCode=referenceStr.charCodeAt(i-start);let testCode=testStr.charCodeAt(i);if(isUppercaseLetter(testCode)&&(testCode|=32),testCode!==referenceCode)return!1}return!0}function findWhiteSpaceEnd(source,offset){for(;offset<source.length&&isWhiteSpace(source.charCodeAt(offset));offset++);return offset}function findDecimalNumberEnd(source,offset){for(;offset<source.length&&isDigit(source.charCodeAt(offset));offset++);return offset}function utils_consumeEscaped(source,offset){if(isHexDigit(getCharCode(source,(offset+=2)-1))){for(var maxOffset=Math.min(source.length,offset+5);offset<maxOffset&&isHexDigit(getCharCode(source,offset));offset++);var code=getCharCode(source,offset);isWhiteSpace(code)&&(offset+=getNewlineLength(source,offset,code))}return offset}function consumeName(source,offset){for(;offset<source.length;offset++){var code=source.charCodeAt(offset);if(!char_code_definitions_isName(code)){if(!char_code_definitions_isValidEscape(code,getCharCode(source,offset+1)))break;offset=utils_consumeEscaped(source,offset)-1}}return offset}function consumeNumber(source,offset){let code=source.charCodeAt(offset);if(isDigit(code=43!==code&&45!==code?code:source.charCodeAt(offset+=1))&&(offset=findDecimalNumberEnd(source,offset+1),code=source.charCodeAt(offset)),46===code&&isDigit(source.charCodeAt(offset+1))&&(offset=findDecimalNumberEnd(source,offset+=2)),cmpChar(source,offset,101)){let sign=0;45!==(code=source.charCodeAt(offset+1))&&43!==code||(sign=1,code=source.charCodeAt(offset+2)),isDigit(code)&&(offset=findDecimalNumberEnd(source,offset+1+sign+1))}return offset}function consumeBadUrlRemnants(source,offset){for(;offset<source.length;offset++){var code=source.charCodeAt(offset);if(41===code){offset++;break}char_code_definitions_isValidEscape(code,getCharCode(source,offset+1))&&(offset=utils_consumeEscaped(source,offset))}return offset}function utils_decodeEscaped(escaped){if(1===escaped.length&&!isHexDigit(escaped.charCodeAt(0)))return escaped[0];let code=parseInt(escaped,16);return(0===code||55296<=code&&code<=57343||1114111<code)&&(code=65533),String.fromCodePoint(code)}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"],MIN_SIZE=16384;function adoptBuffer(buffer=null,size){return null===buffer||buffer.length<size?new Uint32Array(Math.max(size+1024,MIN_SIZE)):buffer}function computeLinesAndColumns(host){const source=host.source;var sourceLength=source.length,startOffset=0<source.length?isBOM(source.charCodeAt(0)):0;const lines=adoptBuffer(host.lines,sourceLength),columns=adoptBuffer(host.columns,sourceLength);let line=host.startLine,column=host.startColumn;for(let i=startOffset;i<sourceLength;i++){var code=source.charCodeAt(i);lines[i]=line,columns[i]=column++,10!==code&&13!==code&&12!==code||(13===code&&i+1<sourceLength&&10===source.charCodeAt(i+1)&&(i++,lines[i]=line,columns[i]=column),line++,column=1)}lines[sourceLength]=line,columns[sourceLength]=column,host.lines=lines,host.columns=columns,host.computed=!0}class OffsetToLocation{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(source,startOffset=0,startLine=1,startColumn=1){this.source=source,this.startOffset=startOffset,this.startLine=startLine,this.startColumn=startColumn,this.computed=!1}getLocation(offset,filename){return this.computed||computeLinesAndColumns(this),{source:filename,offset:this.startOffset+offset,line:this.lines[offset],column:this.columns[offset]}}getLocationRange(start,end,filename){return this.computed||computeLinesAndColumns(this),{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]}}}}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=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(source="",tokenize=()=>{}){const sourceLength=(source=String(source||"")).length,offsetAndType=adoptBuffer(this.offsetAndType,source.length+1),balance=adoptBuffer(this.balance,source.length+1);let tokenCount=0,balanceCloseType=0,balanceStart=0,firstCharOffset=-1;for(this.offsetAndType=null,this.balance=null,tokenize(source,(type,start,end)=>{switch(type){default:balance[tokenCount]=sourceLength;break;case balanceCloseType:{let balancePrev=16777215&balanceStart;for(balanceStart=balance[balancePrev],balanceCloseType=balanceStart>>24,balance[tokenCount]=balancePrev,balance[balancePrev++]=tokenCount;balancePrev<tokenCount;balancePrev++)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<<24|tokenCount}offsetAndType[tokenCount++]=type<<24|end,-1===firstCharOffset&&(firstCharOffset=start)}),offsetAndType[tokenCount]=0|sourceLength,balance[tokenCount]=sourceLength,balance[sourceLength]=sourceLength;0!==balanceStart;){var balancePrev=16777215&balanceStart;balanceStart=balance[balancePrev],balance[balancePrev]=sourceLength}this.source=source,this.firstCharOffset=-1===firstCharOffset?0:firstCharOffset,this.tokenCount=tokenCount,this.offsetAndType=offsetAndType,this.balance=balance,this.reset(),this.next()}lookupType(offset){return(offset+=this.tokenIndex)<this.tokenCount?this.offsetAndType[offset]>>24:0}lookupOffset(offset){return(offset+=this.tokenIndex)<this.tokenCount?16777215&this.offsetAndType[offset-1]:this.source.length}lookupValue(offset,referenceStr){return(offset+=this.tokenIndex)<this.tokenCount&&cmpStr(this.source,16777215&this.offsetAndType[offset-1],16777215&this.offsetAndType[offset],referenceStr)}getTokenStart(tokenIndex){return tokenIndex===this.tokenIndex?this.tokenStart:0<tokenIndex?tokenIndex<this.tokenCount?16777215&this.offsetAndType[tokenIndex-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset}substrToCursor(start){return this.source.substring(start,this.tokenStart)}isBalanceEdge(pos){return this.balance[this.tokenIndex]<pos}isDelim(code,offset){return offset?this.lookupType(offset)===Delim&&this.source.charCodeAt(this.lookupOffset(offset))===code:this.tokenType===Delim&&this.source.charCodeAt(this.tokenStart)===code}skip(tokenCount){tokenCount=this.tokenIndex+tokenCount;tokenCount<this.tokenCount?(this.tokenIndex=tokenCount,this.tokenStart=16777215&this.offsetAndType[tokenCount-1],tokenCount=this.offsetAndType[tokenCount],this.tokenType=tokenCount>>24,this.tokenEnd=16777215&tokenCount):(this.tokenIndex=this.tokenCount,this.next())}next(){var next=this.tokenIndex+1;next<this.tokenCount?(this.tokenIndex=next,this.tokenStart=this.tokenEnd,next=this.offsetAndType[next],this.tokenType=next>>24,this.tokenEnd=16777215&next):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===WhiteSpace||this.tokenType===Comment;)this.next()}skipUntilBalanced(startToken,stopConsume){let cursor=startToken;var balanceEnd,offset;loop:for(;cursor<this.tokenCount&&!((balanceEnd=this.balance[cursor])<startToken);cursor++)switch(offset=0<cursor?16777215&this.offsetAndType[cursor-1]:this.firstCharOffset,stopConsume(this.source.charCodeAt(offset))){case 1:break loop;case 2:cursor++;break loop;default:this.balance[balanceEnd]===cursor&&(cursor=balanceEnd)}this.skip(cursor-this.tokenIndex)}forEachToken(fn){for(let i=0,offset=this.firstCharOffset;i<this.tokenCount;i++){var start=offset,item=this.offsetAndType[i],end=16777215&item;fn(item>>24,start,offset=end,i)}}dump(){const tokens=new Array(this.tokenCount);return this.forEachToken((type,start,end,index)=>{tokens[index]={idx:index,type:names[type],chunk:this.source.substring(start,end),balance:this.balance[index]}}),tokens}}function tokenize(source,onToken){function getCharCode(offset){return offset<sourceLength?source.charCodeAt(offset):0}function consumeNumericToken(){isIdentifierStart(getCharCode(offset=consumeNumber(source,offset)),getCharCode(offset+1),getCharCode(offset+2))?(type=Dimension,offset=consumeName(source,offset)):37===getCharCode(offset)?(type=Percentage,offset++):type=types_Number}function consumeIdentLikeToken(){var nameStartOffset=offset;if(offset=consumeName(source,offset),cmpStr(source,nameStartOffset,offset,"url")&&40===getCharCode(offset))if(34===getCharCode(offset=findWhiteSpaceEnd(source,offset+1))||39===getCharCode(offset))type=types_Function,offset=nameStartOffset+4;else for(type=Url,offset=findWhiteSpaceEnd(source,offset);offset<source.length;offset++){var code=source.charCodeAt(offset);switch(charCodeCategory(code)){case 41:return void offset++;case WhiteSpaceCategory:return void(41===getCharCode(offset=findWhiteSpaceEnd(source,offset))||offset>=source.length?offset<source.length&&offset++:(offset=consumeBadUrlRemnants(source,offset),type=BadUrl));case 34:case 39:case 40:case NonPrintableCategory:return void(offset=consumeBadUrlRemnants(source,offset),type=BadUrl);case 92:if(char_code_definitions_isValidEscape(code,getCharCode(offset+1))){offset=utils_consumeEscaped(source,offset)-1;break}return void(offset=consumeBadUrlRemnants(source,offset),type=BadUrl)}}else 40===getCharCode(offset)?(type=types_Function,offset++):type=Ident}function consumeStringToken(endingCodePoint){for(endingCodePoint=endingCodePoint||getCharCode(offset++),type=types_String;offset<source.length;offset++){var nextCode,code=source.charCodeAt(offset);switch(charCodeCategory(code)){case endingCodePoint:return void offset++;case WhiteSpaceCategory:if(isNewline(code))return offset+=getNewlineLength(source,offset,code),void(type=BadString);break;case 92:offset!==source.length-1&&(isNewline(nextCode=getCharCode(offset+1))?offset+=getNewlineLength(source,offset+1,nextCode):char_code_definitions_isValidEscape(code,nextCode)&&(offset=utils_consumeEscaped(source,offset)-1))}}}const sourceLength=(source=String(source||"")).length;let start=isBOM(getCharCode(0)),offset=start,type;for(;offset<sourceLength;){var code=source.charCodeAt(offset);switch(charCodeCategory(code)){case WhiteSpaceCategory:type=WhiteSpace,offset=findWhiteSpaceEnd(source,offset+1);break;case 34:consumeStringToken();break;case 35:char_code_definitions_isName(getCharCode(offset+1))||char_code_definitions_isValidEscape(getCharCode(offset+1),getCharCode(offset+2))?(type=Hash,offset=consumeName(source,offset+1)):(type=Delim,offset++);break;case 39:consumeStringToken();break;case 40:type=LeftParenthesis,offset++;break;case 41:type=RightParenthesis,offset++;break;case 43:isNumberStart(code,getCharCode(offset+1),getCharCode(offset+2))?consumeNumericToken():(type=Delim,offset++);break;case 44:type=Comma,offset++;break;case 45:isNumberStart(code,getCharCode(offset+1),getCharCode(offset+2))?consumeNumericToken():45===getCharCode(offset+1)&&62===getCharCode(offset+2)?(type=CDC,offset+=3):isIdentifierStart(code,getCharCode(offset+1),getCharCode(offset+2))?consumeIdentLikeToken():(type=Delim,offset++);break;case 46:isNumberStart(code,getCharCode(offset+1),getCharCode(offset+2))?consumeNumericToken():(type=Delim,offset++);break;case 47:42===getCharCode(offset+1)?(type=Comment,offset=-1===(offset=source.indexOf("*/",offset+2))?source.length:offset+2):(type=Delim,offset++);break;case 58:type=Colon,offset++;break;case 59:type=Semicolon,offset++;break;case 60:33===getCharCode(offset+1)&&45===getCharCode(offset+2)&&45===getCharCode(offset+3)?(type=CDO,offset+=4):(type=Delim,offset++);break;case 64:isIdentifierStart(getCharCode(offset+1),getCharCode(offset+2),getCharCode(offset+3))?(type=AtKeyword,offset=consumeName(source,offset+1)):(type=Delim,offset++);break;case 91:type=LeftSquareBracket,offset++;break;case 92:char_code_definitions_isValidEscape(code,getCharCode(offset+1))?consumeIdentLikeToken():(type=Delim,offset++);break;case 93:type=RightSquareBracket,offset++;break;case 123:type=LeftCurlyBracket,offset++;break;case 125:type=RightCurlyBracket,offset++;break;case DigitCategory:consumeNumericToken();break;case NameStartCategory:consumeIdentLikeToken();break;default:type=Delim,offset++}onToken(type,start,start=offset)}}let releasedCursors=null;class List{static createItem(data){return{prev:null,next:null,data:data}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(data){return List.createItem(data)}allocateCursor(prev,next){let cursor;return null!==releasedCursors?(releasedCursors=(cursor=releasedCursors).cursor,cursor.prev=prev,cursor.next=next,cursor.cursor=this.cursor):cursor={prev:prev,next:next,cursor:this.cursor},this.cursor=cursor}releaseCursor(){const cursor=this["cursor"];this.cursor=cursor.cursor,cursor.prev=null,cursor.next=null,cursor.cursor=releasedCursors,releasedCursors=cursor}updateCursors(prevOld,prevNew,nextOld,nextNew){let cursor=this["cursor"];for(;null!==cursor;)cursor.prev===prevOld&&(cursor.prev=prevNew),cursor.next===nextOld&&(cursor.next=nextNew),cursor=cursor.cursor}*[Symbol.iterator](){for(let cursor=this.head;null!==cursor;cursor=cursor.next)yield cursor.data}get size(){let size=0;for(let cursor=this.head;null!==cursor;cursor=cursor.next)size++;return size}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(array){let cursor=null;this.head=null;for(var data of array){const item=List.createItem(data);null!==cursor?cursor.next=item:this.head=item,item.prev=cursor,cursor=item}return this.tail=cursor,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(fn,thisArg=this){const cursor=this.allocateCursor(null,this.head);for(;null!==cursor.next;){var item=cursor.next;cursor.next=item.next,fn.call(thisArg,item.data,item,this)}this.releaseCursor()}forEachRight(fn,thisArg=this){const cursor=this.allocateCursor(this.tail,null);for(;null!==cursor.prev;){var item=cursor.prev;cursor.prev=item.prev,fn.call(thisArg,item.data,item,this)}this.releaseCursor()}reduce(fn,initialValue,thisArg=this){let cursor=this.allocateCursor(null,this.head),acc=initialValue;for(var item;null!==cursor.next;)item=cursor.next,cursor.next=item.next,acc=fn.call(thisArg,acc,item.data,item,this);return this.releaseCursor(),acc}reduceRight(fn,initialValue,thisArg=this){let cursor=this.allocateCursor(this.tail,null),acc=initialValue;for(var item;null!==cursor.prev;)item=cursor.prev,cursor.prev=item.prev,acc=fn.call(thisArg,acc,item.data,item,this);return this.releaseCursor(),acc}some(fn,thisArg=this){for(let cursor=this.head;null!==cursor;cursor=cursor.next)if(fn.call(thisArg,cursor.data,cursor,this))return!0;return!1}map(fn,thisArg=this){const result=new List;for(let cursor=this.head;null!==cursor;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;null!==cursor;cursor=cursor.next)fn.call(thisArg,cursor.data,cursor,this)&&result.appendData(cursor.data);return result}nextUntil(start,fn,thisArg=this){if(null!==start){const cursor=this.allocateCursor(null,start);for(;null!==cursor.next;){var item=cursor.next;if(cursor.next=item.next,fn.call(thisArg,item.data,item,this))break}this.releaseCursor()}}prevUntil(start,fn,thisArg=this){if(null!==start){const cursor=this.allocateCursor(start,null);for(;null!==cursor.prev;){var item=cursor.prev;if(cursor.prev=item.prev,fn.call(thisArg,item.data,item,this))break}this.releaseCursor()}}clear(){this.head=null,this.tail=null}copy(){const result=new List;for(var data of this)result.appendData(data);return result}prepend(item){return this.updateCursors(null,item,this.head,item),null!==this.head?(this.head.prev=item).next=this.head:this.tail=item,this.head=item,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(null!==before)if(this.updateCursors(before.prev,item,before,item),null===before.prev){if(this.head!==before)throw new Error("before doesn't belong to list");this.head=item,(before.prev=item).next=before,this.updateCursors(null,item)}else(before.prev.next=item).prev=before.prev,(before.prev=item).next=before;else this.updateCursors(this.tail,item,null,item),null!==this.tail?(this.tail.next=item).prev=this.tail:this.head=item,this.tail=item;return this}insertData(data,before){return this.insert(List.createItem(data),before)}remove(item){if(this.updateCursors(item,item.prev,item,item.next),null!==item.prev)item.prev.next=item.next;else{if(this.head!==item)throw new Error("item doesn't belong to list");this.head=item.next}if(null!==item.next)item.next.prev=item.prev;else{if(this.tail!==item)throw new Error("item doesn't belong to list");this.tail=item.prev}return item.prev=null,item.next=null,item}push(data){this.insert(List.createItem(data))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(data){this.prepend(List.createItem(data))}shift(){return null!==this.head?this.remove(this.head):null}prependList(list){return this.insertList(list,this.head)}appendList(list){return this.insertList(list)}insertList(list,before){return null!==list.head&&(null!=before?(this.updateCursors(before.prev,list.tail,before,list.head),null!==before.prev?(before.prev.next=list.head,list.head.prev=before.prev):this.head=list.head,before.prev=list.tail,list.tail.next=before):(this.updateCursors(this.tail,list.tail,null,list.head),null!==this.tail?(this.tail.next=list.head,list.head.prev=this.tail):this.head=list.head,this.tail=list.tail),list.head=null,list.tail=null),this}replace(oldItem,newItemOrList){"head"in newItemOrList?this.insertList(newItemOrList,oldItem):this.insert(newItemOrList,oldItem),this.remove(oldItem)}}function createCustomError(name,message){var error=Object.create(SyntaxError.prototype);const errorStack=new Error;return Object.assign(error,{name:name,message:message,get stack(){return(errorStack.stack||"").replace(/^(.+\n){1,3}/,name+`: ${message}
|
||
`)}})}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/);var source=Math.max(1,line-extraLines)-1,endLine=Math.min(line+extraLines,lines.length+1);const maxNumLength=Math.max(4,String(endLine).length)+1;let cutLeft=0;100<(column+=(" ".length-1)*(lines[line-1].substr(0,column-1).match(/\t/g)||[]).length)&&(cutLeft=column-60+3,column=58);for(let i=source;i<=endLine;i++)0<=i&&i<lines.length&&(lines[i]=lines[i].replace(/\t/g," "),lines[i]=(0<cutLeft&&lines[i].length>cutLeft?"…":"")+lines[i].substr(cutLeft,98)+(lines[i].length>cutLeft+100-1?"…":""));return[processLines(source,line),new Array(column+maxNumLength+2).join("-")+"^",processLines(line,endLine)].filter(Boolean).join("\n")}function SyntaxError_SyntaxError(message,source,offset,line,column){return Object.assign(createCustomError("SyntaxError",message),{source:source,offset:offset,line:line,column:column,sourceFragment(extraLines){return sourceFragment({source:source,line:line,column:column},isNaN(extraLines)?0:extraLines)},get formattedMessage(){return`Parse error: ${message}
|
||
`+sourceFragment({source:source,line:line,column:column},2)}})}function readSequence(recognizer){const children=this.createList();let space=!1;for(var context={recognizer:recognizer};!this.eof;){switch(this.tokenType){case Comment:this.next();continue;case WhiteSpace:space=!0,this.next();continue}var child=recognizer.getNode.call(this,context);if(void 0===child)break;space&&(recognizer.onWhiteSpace&&recognizer.onWhiteSpace.call(this,child,children,context),space=!1),children.push(child)}return space&&recognizer.onWhiteSpace&&recognizer.onWhiteSpace.call(this,null,children,context),children}const NOOP=()=>{},EXCLAMATIONMARK=33,NUMBERSIGN=35,SEMICOLON=59,LEFTCURLYBRACKET=123,NULL=0;function fetchParseValues(dict){const result=Object.create(null);for(const name in dict){var item=dict[name],item=item.parse||item;item&&(result[name]=item)}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]=function(name){return function(){return this[name]()}}(config.parseContext[name])}return{config:parseConfig,...parseConfig,...parseConfig.node}}function createParser(config){let source="",filename="<unknown>",needPositions=!1,onParseError=NOOP,onParseErrorThrow=!1;const locationMap=new OffsetToLocation,parser=Object.assign(new TokenStream,processConfig(config||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,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){var startToken=this.tokenIndex;try{return consumer.call(this)}catch(e){if(onParseErrorThrow)throw e;consumer=fallback.call(this,startToken);return onParseErrorThrow=!0,onParseError(e,consumer),onParseErrorThrow=!1,consumer}},lookupNonWSType(offset){var type;do{if((type=this.lookupType(offset++))!==WhiteSpace)return type}while(type!==NULL);return NULL},charCodeAt(offset){return 0<=offset&&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){var start=this.tokenStart;return this.eat(tokenType),this.substrToCursor(start)},consumeFunctionName(){var name=source.substring(this.tokenStart,this.tokenEnd-1);return this.eat(types_Function),name},consumeNumber(type){var number=source.substring(this.tokenStart,consumeNumber(source,this.tokenStart));return this.eat(type),number},eat(tokenType){if(this.tokenType!==tokenType){var tokenName=names[tokenType].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase());let message=`${/[[\](){}]/.test(tokenName)?`"${tokenName}"`:tokenName} is expected`,offset=this.tokenStart;switch(tokenType){case Ident:message=this.tokenType===types_Function||this.tokenType===Url?(offset=this.tokenEnd-1,"Identifier is expected but function found"):"Identifier is expected";break;case Hash:this.isDelim(NUMBERSIGN)&&(this.next(),offset++,message="Name is expected");break;case Percentage:this.tokenType===types_Number&&(offset=this.tokenEnd,message="Percent sign is expected")}this.error(message,offset)}this.next()},eatIdent(name){this.tokenType===Ident&&!1!==this.lookupValue(0,name)||this.error(`Identifier "${name}" is expected`),this.next()},eatDelim(code){this.isDelim(code)||this.error(`Delim "${String.fromCharCode(code)}" is expected`),this.next()},getLocation(start,end){return needPositions?locationMap.getLocationRange(start,end,filename):null},getLocationFromList(list){var head;return needPositions?(head=this.getFirstListNode(list),list=this.getLastListNode(list),locationMap.getLocationRange(null!==head?head.loc.start.offset-locationMap.startOffset:this.tokenStart,null!==list?list.loc.end.offset-locationMap.startOffset:this.tokenStart,filename)):null},error(message,offset){offset=void 0!==offset&&offset<source.length?locationMap.getLocation(offset):this.eof?locationMap.getLocation(function(source,offset){for(;0<=offset&&isWhiteSpace(source.charCodeAt(offset));offset--);return offset+1}(source,source.length-1)):locationMap.getLocation(this.tokenStart);throw new SyntaxError_SyntaxError(message||"Unexpected input",source,offset.offset,offset.line,offset.column)}});return Object.assign(function(source_,options){source=source_,options=options||{},parser.setSource(source,tokenize),locationMap.setSource(source,options.offset,options.line,options.column),filename=options.filename||"<unknown>",needPositions=Boolean(options.positions),onParseError="function"==typeof options.onParseError?options.onParseError:NOOP,onParseErrorThrow=!1,parser.parseAtrulePrelude=!("parseAtrulePrelude"in options)||Boolean(options.parseAtrulePrelude),parser.parseRulePrelude=!("parseRulePrelude"in options)||Boolean(options.parseRulePrelude),parser.parseValue=!("parseValue"in options)||Boolean(options.parseValue),parser.parseCustomProperty="parseCustomProperty"in options&&Boolean(options.parseCustomProperty);const{context="default",onComment}=options;if(context in parser.context==!1)throw new Error("Unknown context `"+context+"`");"function"==typeof onComment&&parser.forEachToken((type,start,end)=>{type===Comment&&(type=parser.getLocation(start,end),start=cmpStr(source,end-2,end,"*/")?source.slice(start+2,end-2):source.slice(start+2,end),onComment(start,type))});source_=parser.context[context].call(parser,options);return parser.eof||parser.error(),source_},{SyntaxError:SyntaxError_SyntaxError,config:parser.config})}var source_map_generator=__webpack_require__(4508);const trackNodes=new Set(["Atrule","Selector","Declaration"]);const code=(type,value)=>{return"string"==typeof(type=type===Delim?value:type)?127<(value=type.charCodeAt(0))?32768:value<<8:type},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],["-",Ident],["-",types_Function],["-",Url],["-",BadUrl],["-","-"],["-",types_Number],["-",Percentage],["-",Dimension],["-",CDC],[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],["@",Ident],["@",types_Function],["@",Url],["@",BadUrl],["@","-"],["@",CDC],[".",types_Number],[".",Percentage],[".",Dimension],["+",types_Number],["+",Percentage],["+",Dimension],["/","*"]];external_wp_apiFetch_namespaceObject=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){var nextCode=code(type,value),value=value.charCodeAt(0);return(45===value&&type!==Ident&&type!==types_Function&&type!==CDC||43===value?isWhiteSpaceRequired.has(prevCode<<16|value<<8):isWhiteSpaceRequired.has(prevCode<<16|nextCode))&&this.emit(" ",WhiteSpace,!0),nextCode}}const spec=createMap(specPairs),safe=createMap(external_wp_apiFetch_namespaceObject),REVERSESOLIDUS=92;function processChildren(node,delimeter){if("function"==typeof delimeter){let prev=null;void node.children.forEach(node=>{null!==prev&&delimeter.call(this,prev),this.node(node),prev=node})}else 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(var name in config.node){var item=config.node[name];"function"==typeof(item.generate||item)&&types.set(name,item.generate||item)}return function(node,options){let buffer="",prevCode=0,handlers={node(node){if(!types.has(node.type))throw new Error("Unknown node type: "+node.type);types.get(node.type).call(publicApi,node)},tokenBefore:safe,token(type,value){prevCode=this.tokenBefore(prevCode,type,value),this.emit(value,type,!1),type===Delim&&value.charCodeAt(0)===REVERSESOLIDUS&&this.emit("\n",WhiteSpace,!0)},emit(value){buffer+=value},result(){return buffer}};options&&("function"==typeof options.decorator&&(handlers=options.decorator(handlers)),options.sourceMap&&(handlers=function(handlers){const map=new source_map_generator.h,generated={line:1,column:0},original={line:0,column:0},activatedGenerated={line:1,column:0},activatedMapping={generated:activatedGenerated};let line=1,column=0,sourceMappingActive=!1;const origHandlersNode=handlers.node,origHandlersEmit=(handlers.node=function(node){var nodeLine,nodeColumn;node.loc&&node.loc.start&&trackNodes.has(node.type)&&(nodeLine=node.loc.start.line,nodeColumn=node.loc.start.column-1,original.line===nodeLine&&original.column===nodeColumn||(original.line=nodeLine,original.column=nodeColumn,generated.line=line,generated.column=column,sourceMappingActive&&(sourceMappingActive=!1,generated.line===activatedGenerated.line&&generated.column===activatedGenerated.column||map.addMapping(activatedMapping)),sourceMappingActive=!0,map.addMapping({source:node.loc.source,original:original,generated:generated}))),origHandlersNode.call(this,node),sourceMappingActive&&trackNodes.has(node.type)&&(activatedGenerated.line=line,activatedGenerated.column=column)},handlers.emit),origHandlersResult=(handlers.emit=function(value,type,auto){for(let i=0;i<value.length;i++)10===value.charCodeAt(i)?(line++,column=0):column++;origHandlersEmit(value,type,auto)},handlers.result);return handlers.result=function(){return sourceMappingActive&&map.addMapping(activatedMapping),{css:origHandlersResult(),map:map}},handlers}(handlers)),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};return handlers.node(node),handlers.result()}}function noop(){}const create_hasOwnProperty=Object.prototype["hasOwnProperty"];function ensureFunction(value){return"function"==typeof value?value:noop}function invokeForType(fn,type){return function(node,item,list){node.type===type&&fn.call(this,node,item,list)}}function getWalkersFromStructure(name,nodeType){var structure=nodeType.structure;const walkers=[];for(const key in structure)if(!1!==create_hasOwnProperty.call(structure,key)){let fieldTypes=structure[key];const walker={name:key,type:!1,nullable:!1};for(const fieldType of fieldTypes=Array.isArray(fieldTypes)?fieldTypes:[fieldTypes])null===fieldType?walker.nullable=!0:"string"==typeof fieldType?walker.type="node":Array.isArray(fieldType)&&(walker.type="list");walker.type&&walkers.push(walker)}return walkers.length?{context:nodeType.walkContext,fields:walkers}:null}function createTypeIterator(config,reverse){const fields=config.fields.slice(),contextName=config.context,useContext="string"==typeof contextName;return reverse&&fields.reverse(),function(node,context,walk,walkReducer){let prevContextValue;useContext&&(prevContextValue=context[contextName],context[contextName]=node);for(const field of fields){const ref=node[field.name];if(!field.nullable||ref)if("list"===field.type){if(reverse?ref.reduceRight(walkReducer,!1):ref.reduce(walkReducer,!1))return!0}else if(walk(ref))return!0}useContext&&(context[contextName]=prevContextValue)}}function createFastTraveralMap({StyleSheet,Atrule,Rule,Block,DeclarationList}){return{Atrule:{StyleSheet:StyleSheet,Atrule:Atrule,Rule:Rule,Block:Block},Rule:{StyleSheet:StyleSheet,Atrule:Atrule,Rule:Rule,Block:Block},Declaration:{StyleSheet:StyleSheet,Atrule:Atrule,Rule:Rule,Block:Block,DeclarationList:DeclarationList}}}function createWalker(config){const types=function(config){const types={};for(const name in config.node)if(create_hasOwnProperty.call(config.node,name)){var 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}(config),iteratorsNatural={},iteratorsReverse={},breakWalk=Symbol("break-walk"),skipNode=Symbol("skip-node");for(const name in types)create_hasOwnProperty.call(types,name)&&null!==types[name]&&(iteratorsNatural[name]=createTypeIterator(types[name],!1),iteratorsReverse[name]=createTypeIterator(types[name],!0));function walk(root,options){function walkNode(node,item,list){var enterRet=enter.call(context,node,item,list);return enterRet===breakWalk||enterRet!==skipNode&&(!(!iterators.hasOwnProperty(node.type)||!iterators[node.type](node,context,walkNode,walkReducer))||leave.call(context,node,item,list)===breakWalk)}let enter=noop,leave=noop,iterators=iteratorsNatural,walkReducer=(ret,data,item,list)=>ret||walkNode(data,item,list);const context={break:breakWalk,skip:skipNode,root:root,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof options)enter=options;else if(options&&(enter=ensureFunction(options.enter),leave=ensureFunction(options.leave),options.reverse&&(iterators=iteratorsReverse),options.visit)){if(fastTraversalIteratorsNatural.hasOwnProperty(options.visit))iterators=(options.reverse?fastTraversalIteratorsReverse: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)}const fastTraversalIteratorsNatural=createFastTraveralMap(iteratorsNatural),fastTraversalIteratorsReverse=createFastTraveralMap(iteratorsReverse);return walk.break=breakWalk,walk.skip=skipNode,walk.find=function(ast,fn){let found=null;return walk(ast,function(node,item,list){if(fn.call(this,node,item,list))return found=node,breakWalk}),found},walk.findLast=function(ast,fn){let found=null;return walk(ast,{reverse:!0,enter(node,item,list){if(fn.call(this,node,item,list))return found=node,breakWalk}}),found},walk.findAll=function(ast,fn){const found=[];return walk(ast,function(node,item,list){fn.call(this,node,item,list)&&found.push(node)}),found},walk}function generate_noop(value){return value}function internalGenerate(node,decorate,forceBraces,compact){let result;switch(node.type){case"Group":result=function(node,decorate,forceBraces,compact){var combinator=" "===node.combinator||compact?node.combinator:" "+node.combinator+" ",combinator=node.terms.map(term=>internalGenerate(term,decorate,forceBraces,compact)).join(combinator);return node.explicit||forceBraces?(compact||","===combinator[0]?"[":"[ ")+combinator+(compact?"]":" ]"):combinator}(node,decorate,forceBraces,compact)+(node.disallowEmpty?"!":"");break;case"Multiplier":return internalGenerate(node.term,decorate,forceBraces,compact)+decorate(function(multiplier){var{min:multiplier,max,comma}=multiplier;return 0===multiplier&&0===max?comma?"#?":"*":0===multiplier&&1===max?"?":1===multiplier&&0===max?comma?"#":"+":1===multiplier&&1===max?"":(comma?"#":"")+(multiplier===max?"{"+multiplier+"}":"{"+multiplier+","+(0!==max?max:"")+"}")}(node),node);case"Type":result="<"+node.name+(node.opts?decorate(function(node){if("Range"!==node.type)throw new Error("Unknown node type `"+node.type+"`");return" ["+(null===node.min?"-∞":node.min)+","+(null===node.max?"∞":node.max)+"]"}(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,forceBraces=!1,compact=!1;return"function"==typeof options?decorate=options:options&&(forceBraces=Boolean(options.forceBraces),compact=Boolean(options.compact),"function"==typeof options.decorate&&(decorate=options.decorate)),internalGenerate(node,decorate,forceBraces,compact)}const defaultLoc={offset:0,line:1,column:1};function fromLoc(node,point){node=node&&node.loc&&node.loc[point];return node?"line"in node?buildLoc(node):node:null}function buildLoc({offset,line,column},extra){const loc={offset:offset,line:line,column:column};if(extra){const lines=extra.split(/\n|\r\n?|\f/);loc.offset+=extra.length,loc.line+=lines.length-1,loc.column=1===lines.length?loc.column+extra.length:lines.pop().length+1}return loc}function SyntaxReferenceError(type,referenceName){const error=createCustomError("SyntaxReferenceError",type+(referenceName?" `"+referenceName+"`":""));return error.reference=referenceName,error}function SyntaxMatchError(message,syntax,node,matchResult){const error=createCustomError("SyntaxMatchError",message);var{css:matchResult,mismatchOffset,mismatchLength,start,end}=function(matchResult,node){var tokens=matchResult.tokens,longestMatch=matchResult.longestMatch,badNode=(matchResult=longestMatch<tokens.length&&tokens[longestMatch].node||null)!==node?matchResult:null;let mismatchOffset=0,mismatchLength=0,entries=0,css="",start,end;for(let i=0;i<tokens.length;i++){var token=tokens[i].value;i===longestMatch&&(mismatchLength=token.length,mismatchOffset=css.length),null!==badNode&&tokens[i].node===badNode&&(i<=longestMatch?entries++:entries=0),css+=token}return end=longestMatch===tokens.length||1<entries?(start=fromLoc(badNode||node,"end")||buildLoc(defaultLoc,css),buildLoc(start)):(start=fromLoc(badNode,"start")||buildLoc(fromLoc(node,"start")||defaultLoc,css.slice(0,mismatchOffset)),fromLoc(badNode,"end")||buildLoc(start,css.substr(mismatchOffset,mismatchLength))),{css:css,mismatchOffset:mismatchOffset,mismatchLength:mismatchLength,start:start,end:end}}(matchResult,node);return error.rawMessage=message,error.syntax=syntax?generate(syntax):"<generic>",error.css=matchResult,error.mismatchOffset=mismatchOffset,error.mismatchLength=mismatchLength,error.message=message+"\n syntax: "+error.syntax+"\n value: "+(matchResult||"<empty string>")+"\n --------"+new Array(error.mismatchOffset+1).join("-")+"^",Object.assign(error,start),error.loc={source:node&&node.loc&&node.loc.source||"<unknown>",start:start,end:end},error}const keywords=new Map,properties=new Map,names_HYPHENMINUS=45,keyword=function(keyword){if(keywords.has(keyword))return keywords.get(keyword);const name=keyword.toLowerCase();let descriptor=keywords.get(name);{var custom,vendor;void 0===descriptor&&(custom=isCustomProperty(name,0),vendor=custom?"":getVendorPrefix(name,0),descriptor=Object.freeze({basename:name.substr(vendor.length),name:name,prefix:vendor,vendor:vendor,custom:custom}))}return keywords.set(keyword,descriptor),descriptor},names_property=function(property){if(properties.has(property))return properties.get(property);let name=property,hack=property[0];"/"===hack?hack="/"===property[1]?"//":"/":"_"!==hack&&"*"!==hack&&"$"!==hack&&"#"!==hack&&"+"!==hack&&"&"!==hack&&(hack="");var custom=isCustomProperty(name,hack.length);if(!custom&&(name=name.toLowerCase(),properties.has(name))){const descriptor=properties.get(name);return properties.set(property,descriptor),descriptor}const vendor=custom?"":getVendorPrefix(name,hack.length),prefix=name.substr(0,hack.length+vendor.length),descriptor=Object.freeze({basename:name.substr(prefix.length),name:name.substr(hack.length),hack:hack,vendor:vendor,prefix:prefix,custom:custom});return properties.set(property,descriptor),descriptor};function isCustomProperty(str,offset){return 2<=str.length-(offset=offset||0)&&str.charCodeAt(offset)===names_HYPHENMINUS&&str.charCodeAt(offset+1)===names_HYPHENMINUS}function getVendorPrefix(str,offset){if(3<=str.length-(offset=offset||0)&&str.charCodeAt(offset)===names_HYPHENMINUS&&str.charCodeAt(offset+1)!==names_HYPHENMINUS){var secondDashIndex=str.indexOf("-",offset+2);if(-1!==secondDashIndex)return str.substring(offset,secondDashIndex+1)}return""}const cssWideKeywords=["initial","inherit","unset","revert","revert-layer"],generic_an_plus_b_PLUSSIGN=43,generic_an_plus_b_HYPHENMINUS=45;function isDelim(token,code){return null!==token&&token.type===Delim&&token.value.charCodeAt(0)===code}function skipSC(token,offset,getNextToken){for(;null!==token&&(token.type===WhiteSpace||token.type===Comment);)token=getNextToken(++offset);return offset}function checkInteger(token,valueOffset,disallowSign,offset){if(!token)return 0;var code=token.value.charCodeAt(valueOffset);if(code===generic_an_plus_b_PLUSSIGN||code===generic_an_plus_b_HYPHENMINUS){if(disallowSign)return 0;valueOffset++}for(;valueOffset<token.value.length;valueOffset++)if(!isDigit(token.value.charCodeAt(valueOffset)))return 0;return offset+1}function consumeB(token,offset_,getNextToken){let sign=!1,offset=skipSC(token,offset_,getNextToken);if(null===(token=getNextToken(offset)))return offset_;if(token.type!==types_Number){if(!isDelim(token,generic_an_plus_b_PLUSSIGN)&&!isDelim(token,generic_an_plus_b_HYPHENMINUS))return offset_;if(sign=!0,offset=skipSC(getNextToken(++offset),offset,getNextToken),null===(token=getNextToken(offset))||token.type!==types_Number)return 0}if(!sign){offset_=token.value.charCodeAt(0);if(offset_!==generic_an_plus_b_PLUSSIGN&&offset_!==generic_an_plus_b_HYPHENMINUS)return 0}return checkInteger(token,sign?0:1,sign,offset)}const generic_urange_HYPHENMINUS=45,QUESTIONMARK=63;function generic_urange_isDelim(token,code){return null!==token&&token.type===Delim&&token.value.charCodeAt(0)===code}function hexSequence(token,offset,allowDash){let hexlen=0;for(let pos=offset;pos<token.value.length;pos++){var code=token.value.charCodeAt(pos);if(code===generic_urange_HYPHENMINUS&&allowDash&&0!==hexlen)return hexSequence(token,offset+hexlen+1,!1),6;if(!isHexDigit(code))return 0;if(6<++hexlen)return 0}return hexlen}function withQuestionMarkSequence(consumed,length,getNextToken){if(!consumed)return 0;for(;generic_urange_isDelim(getNextToken(length),QUESTIONMARK);){if(6<++consumed)return 0;length++}return length}const calcFunctionNames=["calc(","-moz-calc(","-webkit-calc("],generic_balancePair=new Map([[types_Function,RightParenthesis],[LeftParenthesis,RightParenthesis],[LeftSquareBracket,RightSquareBracket],[LeftCurlyBracket,RightCurlyBracket]]);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 1}function isPostfixIeHack(str,offset){return offset===str.length-2&&(92===charCodeAt(str,offset)&&isDigit(charCodeAt(str,offset+1)))}function outOfRange(opts,value,numEnd){if(opts&&"Range"===opts.type){numEnd=Number(void 0!==numEnd&&numEnd!==value.length?value.substr(0,numEnd):value);if(isNaN(numEnd))return 1;if(null!==opts.min&&numEnd<opts.min&&"string"!=typeof opts.min)return 1;if(null!==opts.max&&numEnd>opts.max&&"string"!=typeof opts.max)return 1}}function calc(next){return function(token,getNextToken,opts){return null===token?0:token.type===types_Function&&eqStrAny(token.value,calcFunctionNames)?function(token,getNextToken){let balanceCloseType=0,balanceStash=[],length=0;scan:do{switch(token.type){case RightCurlyBracket:case RightParenthesis:case RightSquareBracket:if(token.type!==balanceCloseType)break scan;if(balanceCloseType=balanceStash.pop(),0!==balanceStash.length)break;length++;break scan;case types_Function:case LeftParenthesis:case LeftSquareBracket:case LeftCurlyBracket:balanceStash.push(balanceCloseType),balanceCloseType=generic_balancePair.get(token.type)}}while(length++,token=getNextToken(length));return length}(token,getNextToken):next(token,getNextToken,opts)}}function tokenType(expectedTokenType){return function(token){return null===token||token.type!==expectedTokenType?0:1}}function dimension(type){return type=type&&new Set(type),function(token,getNextToken,opts){if(null===token||token.type!==Dimension)return 0;var numberEnd=consumeNumber(token.value,0);if(null!==type){var reverseSolidusOffset=token.value.indexOf("\\",numberEnd);const unit=-1!==reverseSolidusOffset&&isPostfixIeHack(token.value,reverseSolidusOffset)?token.value.substring(numberEnd,reverseSolidusOffset):token.value.substr(numberEnd);if(!1===type.has(unit.toLowerCase()))return 0}return outOfRange(opts,token.value,numberEnd)?0:1}}function zero(next){return"function"!=typeof next&&(next=function(){return 0}),function(token,getNextToken,opts){return null!==token&&token.type===types_Number&&0===Number(token.value)?1:next(token,getNextToken,opts)}}const generic={"ident-token":tokenType(Ident),"function-token":tokenType(types_Function),"at-keyword-token":tokenType(AtKeyword),"hash-token":tokenType(Hash),"string-token":tokenType(types_String),"bad-string-token":tokenType(BadString),"url-token":tokenType(Url),"bad-url-token":tokenType(BadUrl),"delim-token":tokenType(Delim),"number-token":tokenType(types_Number),"percentage-token":tokenType(Percentage),"dimension-token":tokenType(Dimension),"whitespace-token":tokenType(WhiteSpace),"CDO-token":tokenType(CDO),"CDC-token":tokenType(CDC),"colon-token":tokenType(Colon),"semicolon-token":tokenType(Semicolon),"comma-token":tokenType(Comma),"[-token":tokenType(LeftSquareBracket),"]-token":tokenType(RightSquareBracket),"(-token":tokenType(LeftParenthesis),")-token":tokenType(RightParenthesis),"{-token":tokenType(LeftCurlyBracket),"}-token":tokenType(RightCurlyBracket),string:tokenType(types_String),ident:tokenType(Ident),"custom-ident":function(token){return null===token||token.type!==Ident||eqStrAny(token=token.value.toLowerCase(),cssWideKeywords)||eqStr(token,"default")?0:1},"custom-property-name":function(token){return null===token||token.type!==Ident||45!==charCodeAt(token.value,0)||45!==charCodeAt(token.value,1)?0:1},"hex-color":function(token){if(null===token||token.type!==Hash)return 0;var length=token.value.length;if(4!==length&&5!==length&&7!==length&&9!==length)return 0;for(let i=1;i<length;i++)if(!isHexDigit(charCodeAt(token.value,i)))return 0;return 1},"id-selector":function(token){return null!==token&&token.type===Hash&&isIdentifierStart(charCodeAt(token.value,1),charCodeAt(token.value,2),charCodeAt(token.value,3))?1:0},"an-plus-b":function(token,getNextToken){let offset=0;if(token){if(token.type===types_Number)return checkInteger(token,0,!1,offset);if(token.type===Ident&&token.value.charCodeAt(0)===generic_an_plus_b_HYPHENMINUS){if(!cmpChar(token.value,1,110))return 0;switch(token.value.length){case 2:return consumeB(getNextToken(++offset),offset,getNextToken);case 3:return token.value.charCodeAt(2)!==generic_an_plus_b_HYPHENMINUS?0:(offset=skipSC(getNextToken(++offset),offset,getNextToken),checkInteger(token=getNextToken(offset),0,!0,offset));default:return token.value.charCodeAt(2)!==generic_an_plus_b_HYPHENMINUS?0:checkInteger(token,3,!0,offset)}}else if(token.type===Ident||isDelim(token,generic_an_plus_b_PLUSSIGN)&&getNextToken(offset+1).type===Ident){if(null===(token=token.type!==Ident?getNextToken(++offset):token)||!cmpChar(token.value,0,110))return 0;switch(token.value.length){case 1:return consumeB(getNextToken(++offset),offset,getNextToken);case 2:return token.value.charCodeAt(1)!==generic_an_plus_b_HYPHENMINUS?0:(offset=skipSC(getNextToken(++offset),offset,getNextToken),checkInteger(token=getNextToken(offset),0,!0,offset));default:return token.value.charCodeAt(1)!==generic_an_plus_b_HYPHENMINUS?0:checkInteger(token,2,!0,offset)}}else if(token.type===Dimension){var code=token.value.charCodeAt(0),code=code===generic_an_plus_b_PLUSSIGN||code===generic_an_plus_b_HYPHENMINUS?1:0;let i=code;for(;i<token.value.length&&isDigit(token.value.charCodeAt(i));i++);return i===code?0:cmpChar(token.value,i,110)?i+1===token.value.length?consumeB(getNextToken(++offset),offset,getNextToken):token.value.charCodeAt(i+1)!==generic_an_plus_b_HYPHENMINUS?0:i+2===token.value.length?(offset=skipSC(getNextToken(++offset),offset,getNextToken),checkInteger(token=getNextToken(offset),0,!0,offset)):checkInteger(token,i+2,!0,offset):0}}return 0},urange:function(token,getNextToken){let length=0;var consumedHexLength;return null===token||token.type!==Ident||!cmpChar(token.value,0,117)||null===(token=getNextToken(++length))?0:generic_urange_isDelim(token,43)?null===(token=getNextToken(++length))?0:token.type===Ident?withQuestionMarkSequence(hexSequence(token,0,!0),++length,getNextToken):generic_urange_isDelim(token,QUESTIONMARK)?withQuestionMarkSequence(1,++length,getNextToken):0:token.type===types_Number?0===(consumedHexLength=hexSequence(token,1,!0))?0:null===(token=getNextToken(++length))?length:token.type===Dimension||token.type===types_Number?function(token,code){return token.value.charCodeAt(0)===code}(token,generic_urange_HYPHENMINUS)&&hexSequence(token,1,!1)?length+1:0:withQuestionMarkSequence(consumedHexLength,length,getNextToken):token.type===Dimension?withQuestionMarkSequence(hexSequence(token,1,!0),++length,getNextToken):0},"declaration-value":function(token,getNextToken){if(!token)return 0;let balanceCloseType=0,balanceStash=[],length=0;scan:do{switch(token.type){case BadString:case BadUrl:break scan;case RightCurlyBracket:case RightParenthesis:case RightSquareBracket:if(token.type!==balanceCloseType)break scan;balanceCloseType=balanceStash.pop();break;case Semicolon:if(0===balanceCloseType)break scan;break;case Delim:if(0===balanceCloseType&&"!"===token.value)break scan;break;case types_Function:case LeftParenthesis:case LeftSquareBracket:case LeftCurlyBracket:balanceStash.push(balanceCloseType),balanceCloseType=generic_balancePair.get(token.type)}}while(length++,token=getNextToken(length));return length},"any-value":function(token,getNextToken){if(!token)return 0;let balanceCloseType=0,balanceStash=[],length=0;scan:do{switch(token.type){case BadString:case BadUrl:break scan;case RightCurlyBracket:case RightParenthesis:case RightSquareBracket:if(token.type!==balanceCloseType)break scan;balanceCloseType=balanceStash.pop();break;case types_Function:case LeftParenthesis:case LeftSquareBracket:case LeftCurlyBracket:balanceStash.push(balanceCloseType),balanceCloseType=generic_balancePair.get(token.type)}}while(length++,token=getNextToken(length));return length},dimension:calc(dimension(null)),angle:calc(dimension(["deg","grad","rad","turn"])),decibel:calc(dimension(["db"])),frequency:calc(dimension(["hz","khz"])),flex:calc(dimension(["fr"])),length:calc(zero(dimension(["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"]))),resolution:calc(dimension(["dpi","dpcm","dppx","x"])),semitones:calc(dimension(["st"])),time:calc(dimension(["s","ms"])),percentage:calc(function(token,getNextToken,opts){return null===token||token.type!==Percentage||outOfRange(opts,token.value,token.value.length-1)?0:1}),zero:zero(),number:calc(function(token,getNextToken,opts){var numberEnd;return null===token||(numberEnd=consumeNumber(token.value,0))!==token.value.length&&!isPostfixIeHack(token.value,numberEnd)||outOfRange(opts,token.value,numberEnd)?0:1}),integer:calc(function(token,getNextToken,opts){if(null===token||token.type!==types_Number)return 0;let i=43===charCodeAt(token.value,0)||45===charCodeAt(token.value,0)?1:0;for(;i<token.value.length;i++)if(!isDigit(charCodeAt(token.value,i)))return 0;return outOfRange(opts,token.value,i)?0:1})};function definition_syntax_SyntaxError_SyntaxError(message,input,offset){return Object.assign(createCustomError("SyntaxError",message),{input:input,offset:offset,rawMessage:message,message:message+"\n "+input+"\n--"+new Array((offset||input.length)+1).join("-")+"^"})}class Tokenizer{constructor(str){this.str=str,this.pos=0}charCodeAt(pos){return pos<this.str.length?this.str.charCodeAt(pos):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(pos){return this.charCodeAt(this.findWsEnd(pos))}findWsEnd(pos){for(;pos<this.str.length;pos++){var code=this.str.charCodeAt(pos);if(13!==code&&10!==code&&12!==code&&32!==code&&9!==code)break}return pos}substringToPos(end){return this.str.substring(this.pos,this.pos=end)}eat(code){this.charCode()!==code&&this.error("Expect `"+String.fromCharCode(code)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(message){throw new definition_syntax_SyntaxError_SyntaxError(message,this.str,this.pos)}}const parse_TAB=9,parse_N=10,parse_F=12,parse_R=13,parse_SPACE=32,parse_EXCLAMATIONMARK=33,parse_NUMBERSIGN=35,AMPERSAND=38,APOSTROPHE=39,LEFTPARENTHESIS=40,RIGHTPARENTHESIS=41,ASTERISK=42,parse_PLUSSIGN=43,COMMA=44,LESSTHANSIGN=60,GREATERTHANSIGN=62,parse_QUESTIONMARK=63,COMMERCIALAT=64,LEFTSQUAREBRACKET=91,RIGHTSQUAREBRACKET=93,parse_LEFTCURLYBRACKET=123,VERTICALLINE=124,NAME_CHAR=new Uint8Array(128).map((_,idx)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(idx))?1:0),COMBINATOR_PRECEDENCE={" ":1,"&&":2,"||":3,"|":4};function scanSpaces(tokenizer){return tokenizer.substringToPos(tokenizer.findWsEnd(tokenizer.pos))}function scanWord(tokenizer){let end=tokenizer.pos;for(;end<tokenizer.str.length;end++){var code=tokenizer.str.charCodeAt(end);if(128<=code||0===NAME_CHAR[code])break}return tokenizer.pos===end&&tokenizer.error("Expect a keyword"),tokenizer.substringToPos(end)}function scanNumber(tokenizer){let end=tokenizer.pos;for(;end<tokenizer.str.length;end++){var code=tokenizer.str.charCodeAt(end);if(code<48||57<code)break}return tokenizer.pos===end&&tokenizer.error("Expect a number"),tokenizer.substringToPos(end)}function readMultiplierRange(tokenizer){var min;let max=null;return tokenizer.eat(parse_LEFTCURLYBRACKET),min=scanNumber(tokenizer),tokenizer.charCode()===COMMA?(tokenizer.pos++,125!==tokenizer.charCode()&&(max=scanNumber(tokenizer))):max=min,tokenizer.eat(125),{min:Number(min),max:max?Number(max):0}}function maybeMultiplied(tokenizer,node){const multiplier=function(tokenizer){let range=null,comma=!1;switch(tokenizer.charCode()){case ASTERISK:tokenizer.pos++,range={min:0,max:0};break;case parse_PLUSSIGN:tokenizer.pos++,range={min:1,max:0};break;case parse_QUESTIONMARK:tokenizer.pos++,range={min:0,max:1};break;case parse_NUMBERSIGN:tokenizer.pos++,comma=!0,range=tokenizer.charCode()===parse_LEFTCURLYBRACKET?readMultiplierRange(tokenizer):tokenizer.charCode()===parse_QUESTIONMARK?(tokenizer.pos++,{min:0,max:0}):{min:1,max:0};break;case parse_LEFTCURLYBRACKET:range=readMultiplierRange(tokenizer);break;default:return null}return{type:"Multiplier",comma:comma,min:range.min,max:range.max,term:null}}(tokenizer);return null!==multiplier?(multiplier.term=node,tokenizer.charCode()===parse_NUMBERSIGN&&tokenizer.charCodeAt(tokenizer.pos-1)===parse_PLUSSIGN?maybeMultiplied(tokenizer,multiplier):multiplier):node}function maybeToken(tokenizer){tokenizer=tokenizer.peek();return""===tokenizer?null:{type:"Token",value:tokenizer}}function readType(tokenizer){let name,opts=null;return tokenizer.eat(LESSTHANSIGN),name=scanWord(tokenizer),tokenizer.charCode()===LEFTPARENTHESIS&&tokenizer.nextCharCode()===RIGHTPARENTHESIS&&(tokenizer.pos+=2,name+="()"),tokenizer.charCodeAt(tokenizer.findWsEnd(tokenizer.pos))===LEFTSQUAREBRACKET&&(scanSpaces(tokenizer),opts=function(tokenizer){let min=null,max=null,sign=1;return tokenizer.eat(LEFTSQUAREBRACKET),45===tokenizer.charCode()&&(tokenizer.peek(),sign=-1),-1==sign&&8734===tokenizer.charCode()?tokenizer.peek():(min=sign*Number(scanNumber(tokenizer)),0!==NAME_CHAR[tokenizer.charCode()]&&(min+=scanWord(tokenizer))),scanSpaces(tokenizer),tokenizer.eat(COMMA),scanSpaces(tokenizer),8734===tokenizer.charCode()?tokenizer.peek():(sign=1,45===tokenizer.charCode()&&(tokenizer.peek(),sign=-1),max=sign*Number(scanNumber(tokenizer)),0!==NAME_CHAR[tokenizer.charCode()]&&(max+=scanWord(tokenizer))),tokenizer.eat(RIGHTSQUAREBRACKET),{type:"Range",min:min,max:max}}(tokenizer)),tokenizer.eat(GREATERTHANSIGN),maybeMultiplied(tokenizer,{type:"Type",name:name,opts:opts})}function readImplicitGroup(tokenizer){const terms=[],combinators={};var token;let prevToken=null,prevTokenPos=tokenizer.pos;for(;token=function(tokenizer){let code=tokenizer.charCode();if(code<128&&1===NAME_CHAR[code])return function(tokenizer){var name=scanWord(tokenizer);return tokenizer.charCode()===LEFTPARENTHESIS?(tokenizer.pos++,{type:"Function",name:name}):maybeMultiplied(tokenizer,{type:"Keyword",name:name})}(tokenizer);switch(code){case RIGHTSQUAREBRACKET:break;case LEFTSQUAREBRACKET:return maybeMultiplied(tokenizer,function(tokenizer){let result;tokenizer.eat(LEFTSQUAREBRACKET),result=readImplicitGroup(tokenizer),tokenizer.eat(RIGHTSQUAREBRACKET),result.explicit=!0,tokenizer.charCode()===parse_EXCLAMATIONMARK&&(tokenizer.pos++,result.disallowEmpty=!0);return result}(tokenizer));case LESSTHANSIGN:return(tokenizer.nextCharCode()===APOSTROPHE?function(tokenizer){var name;return tokenizer.eat(LESSTHANSIGN),tokenizer.eat(APOSTROPHE),name=scanWord(tokenizer),tokenizer.eat(APOSTROPHE),tokenizer.eat(GREATERTHANSIGN),maybeMultiplied(tokenizer,{type:"Property",name:name})}:readType)(tokenizer);case VERTICALLINE:return{type:"Combinator",value:tokenizer.substringToPos(tokenizer.pos+(tokenizer.nextCharCode()===VERTICALLINE?2:1))};case AMPERSAND:return tokenizer.pos++,tokenizer.eat(AMPERSAND),{type:"Combinator",value:"&&"};case COMMA:return tokenizer.pos++,{type:"Comma"};case APOSTROPHE:return maybeMultiplied(tokenizer,{type:"String",value:function(tokenizer){var end=tokenizer.str.indexOf("'",tokenizer.pos+1);return-1===end&&(tokenizer.pos=tokenizer.str.length,tokenizer.error("Expect an apostrophe")),tokenizer.substringToPos(end+1)}(tokenizer)});case parse_SPACE:case parse_TAB:case parse_N:case parse_R:case parse_F:return{type:"Spaces",value:scanSpaces(tokenizer)};case COMMERCIALAT:return(code=tokenizer.nextCharCode())<128&&1===NAME_CHAR[code]?(tokenizer.pos++,{type:"AtKeyword",name:scanWord(tokenizer)}):maybeToken(tokenizer);case ASTERISK:case parse_PLUSSIGN:case parse_QUESTIONMARK:case parse_NUMBERSIGN:case parse_EXCLAMATIONMARK:break;case parse_LEFTCURLYBRACKET:if((code=tokenizer.nextCharCode())<48||57<code)return maybeToken(tokenizer);break;default:return maybeToken(tokenizer)}}(tokenizer);)"Spaces"!==token.type&&("Combinator"===token.type?(null!==prevToken&&"Combinator"!==prevToken.type||(tokenizer.pos=prevTokenPos,tokenizer.error("Unexpected combinator")),combinators[token.value]=!0):null!==prevToken&&"Combinator"!==prevToken.type&&(combinators[" "]=!0,terms.push({type:"Combinator",value:" "})),terms.push(token),prevToken=token,prevTokenPos=tokenizer.pos);return null!==prevToken&&"Combinator"===prevToken.type&&(tokenizer.pos-=prevTokenPos,tokenizer.error("Unexpected combinator")),{type:"Group",terms:terms,combinator:function(terms,combinators){function createGroup(terms,combinator){return{type:"Group",terms:terms,combinator:combinator,disallowEmpty:!1,explicit:!1}}let combinator;for(combinators=Object.keys(combinators).sort((a,b)=>COMBINATOR_PRECEDENCE[a]-COMBINATOR_PRECEDENCE[b]);0<combinators.length;){combinator=combinators.shift();let i=0,subgroupStart=0;for(;i<terms.length;i++){var term=terms[i];"Combinator"===term.type&&(term.value===combinator?(-1===subgroupStart&&(subgroupStart=i-1),terms.splice(i,1),i--):(-1!==subgroupStart&&1<i-subgroupStart&&(terms.splice(subgroupStart,i-subgroupStart,createGroup(terms.slice(subgroupStart,i),combinator)),i=subgroupStart+1),subgroupStart=-1))}-1!==subgroupStart&&combinators.length&&terms.splice(subgroupStart,i-subgroupStart,createGroup(terms.slice(subgroupStart,i),combinator))}return combinator}(terms,combinators)||" ",disallowEmpty:!1,explicit:!1}}function parse(source){const tokenizer=new Tokenizer(source);var result=readImplicitGroup(tokenizer);return tokenizer.pos!==source.length&&tokenizer.error("Unexpected input"),1===result.terms.length&&"Group"===result.terms[0].type?result.terms[0]:result}const walk_noop=function(){};function walk_ensureFunction(value){return"function"==typeof value?value:walk_noop}const astToTokens={decorator(handlers){const tokens=[];let curNode=null;return{...handlers,node(node){var tmp=curNode;curNode=node,handlers.node.call(this,node),curNode=tmp},emit(value,type,auto){tokens.push({type:type,value:value,node:auto?null:curNode})},result(){return tokens}}}};function prepare_tokens(value,syntax){if("string"!=typeof value)return syntax.generate(value,astToTokens);{var str=value;const tokens=[];return tokenize(str,(type,start,end)=>tokens.push({type:type,value:str.slice(start,end),node:null})),tokens}}const MATCH={type:"Match"},MISMATCH={type:"Mismatch"},DISALLOW_EMPTY={type:"DisallowEmpty"};function createCondition(match,thenBranch,elseBranch){return thenBranch===MATCH&&elseBranch===MISMATCH||match===MATCH&&thenBranch===MATCH&&elseBranch===MATCH?match:("If"===match.type&&match.else===MISMATCH&&thenBranch===MATCH&&(thenBranch=match.then,match=match.match),{type:"If",match:match,then:thenBranch,else:elseBranch})}function isFunctionType(name){return 2<name.length&&40===name.charCodeAt(name.length-2)&&41===name.charCodeAt(name.length-1)}function isEnumCapatible(term){return"Keyword"===term.type||"AtKeyword"===term.type||"Function"===term.type||"Type"===term.type&&isFunctionType(term.name)}function buildMatchGraphInternal(node){if("function"==typeof node)return{type:"Generic",fn:node};switch(node.type){case"Group":{let result=function buildGroupMatchGraph(combinator,terms,atLeastOneTermMatched){switch(combinator){case" ":{let result=MATCH;for(let i=terms.length-1;0<=i;i--){var term=terms[i];result=createCondition(term,result,MISMATCH)}return result}case"|":{let result=MISMATCH,map=null;for(let i=terms.length-1;0<=i;i--){let term=terms[i];if(isEnumCapatible(term)&&(null===map&&0<i&&isEnumCapatible(terms[i-1])&&(map=Object.create(null),result=createCondition({type:"Enum",map:map},MATCH,result)),null!==map)){var key=(isFunctionType(term.name)?term.name.slice(0,-1):term.name).toLowerCase();if(key in map==0){map[key]=term;continue}}map=null,result=createCondition(term,MATCH,result)}return result}case"&&":{if(5<terms.length)return{type:"MatchOnce",terms:terms,all:!0};let result=MISMATCH;for(let i=terms.length-1;0<=i;i--){const term=terms[i];let thenClause;thenClause=1<terms.length?buildGroupMatchGraph(combinator,terms.filter(function(newGroupTerm){return newGroupTerm!==term}),!1):MATCH,result=createCondition(term,thenClause,result)}return result}case"||":{if(5<terms.length)return{type:"MatchOnce",terms:terms,all:!1};let result=atLeastOneTermMatched?MATCH:MISMATCH;for(let i=terms.length-1;0<=i;i--){const term=terms[i];let thenClause;thenClause=1<terms.length?buildGroupMatchGraph(combinator,terms.filter(function(newGroupTerm){return newGroupTerm!==term}),!0):MATCH,result=createCondition(term,thenClause,result)}return result}}}(node.combinator,node.terms.map(buildMatchGraphInternal),!1);return result=node.disallowEmpty?createCondition(result,DISALLOW_EMPTY,MISMATCH):result}case"Multiplier":return function(node){let result=MATCH,matchTerm=buildMatchGraphInternal(node.term);if(0===node.max)matchTerm=createCondition(matchTerm,DISALLOW_EMPTY,MISMATCH),(result=createCondition(matchTerm,null,MISMATCH)).then=createCondition(MATCH,MATCH,result),node.comma&&(result.then.else=createCondition({type:"Comma",syntax:node},result,MISMATCH));else for(let i=node.min||1;i<=node.max;i++)node.comma&&result!==MATCH&&(result=createCondition({type:"Comma",syntax:node},result,MISMATCH)),result=createCondition(matchTerm,createCondition(MATCH,MATCH,result),MISMATCH);if(0===node.min)result=createCondition(MATCH,MATCH,result);else for(let i=0;i<node.min-1;i++)node.comma&&result!==MATCH&&(result=createCondition({type:"Comma",syntax:node},result,MISMATCH)),result=createCondition(matchTerm,result,MISMATCH);return result}(node);case"Type":case"Property":return{type:node.type,name:node.name,syntax:node};case"Keyword":return{type:node.type,name:node.name.toLowerCase(),syntax:node};case"AtKeyword":return{type:node.type,name:"@"+node.name.toLowerCase(),syntax:node};case"Function":return{type:node.type,name:node.name.toLowerCase()+"(",syntax:node};case"String":return 3===node.value.length?{type:"Token",value:node.value.charAt(1),syntax:node}:{type:node.type,value:node.value.substr(1,node.value.length-2).replace(/\\'/g,"'"),syntax:node};case"Token":return{type:node.type,value:node.value,syntax:node};case"Comma":return{type:node.type,syntax:node};default:throw new Error("Unknown node type:",node.type)}}function buildMatchGraph(syntaxTree,ref){return{type:"MatchGraph",match:buildMatchGraphInternal(syntaxTree="string"==typeof syntaxTree?parse(syntaxTree):syntaxTree),syntax:ref||null,source:syntaxTree}}const match_hasOwnProperty=Object.prototype["hasOwnProperty"],STUB=0,TOKEN=1,OPEN_SYNTAX=2,CLOSE_SYNTAX=3,EXIT_REASON_MATCH="Match",EXIT_REASON_MISMATCH="Mismatch",EXIT_REASON_ITERATION_LIMIT="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",ITERATION_LIMIT=15e3;let totalIterationCount=0;function reverseList(list){let prev=null;var next;let item=list;for(;null!==item;)next=item.prev,item.prev=prev,prev=item,item=next;return prev}function areStringsEqualCaseInsensitive(testStr,referenceStr){if(testStr.length===referenceStr.length){for(let i=0;i<testStr.length;i++){var referenceCode=referenceStr.charCodeAt(i);let testCode=testStr.charCodeAt(i);if(65<=testCode&&testCode<=90&&(testCode|=32),testCode!==referenceCode)return}return 1}}function isCommaContextStart(token){return null===token||(token.type===Comma||token.type===types_Function||token.type===LeftParenthesis||token.type===LeftSquareBracket||token.type===LeftCurlyBracket||function(token){return token.type===Delim&&"?"!==token.value}(token))}function isCommaContextEnd(token){return null===token||(token.type===RightParenthesis||token.type===RightSquareBracket||token.type===RightCurlyBracket||token.type===Delim&&"/"===token.value)}function internalMatch(tokens,state,syntaxes){function moveToNextToken(){for(;tokenIndex++,null!==(token=tokenIndex<tokens.length?tokens[tokenIndex]:null)&&(token.type===WhiteSpace||token.type===Comment););}function getNextToken(offset){offset=tokenIndex+offset;return offset<tokens.length?tokens[offset]:null}function stateSnapshotFromSyntax(nextState,prev){return{nextState:nextState,matchStack:matchStack,syntaxStack:syntaxStack,thenStack:thenStack,tokenIndex:tokenIndex,prev:prev}}function pushThenStack(nextState){thenStack={nextState:nextState,matchStack:matchStack,syntaxStack:syntaxStack,prev:thenStack}}function pushElseStack(nextState){elseStack=stateSnapshotFromSyntax(nextState,elseStack)}function addTokenToMatch(){matchStack={type:TOKEN,syntax:state.syntax,token:token,prev:matchStack},moveToNextToken(),syntaxStash=null,tokenIndex>longestMatch&&(longestMatch=tokenIndex)}function closeSyntax(){matchStack=matchStack.type===OPEN_SYNTAX?matchStack.prev:{type:CLOSE_SYNTAX,syntax:syntaxStack.syntax,token:matchStack.token,prev:matchStack},syntaxStack=syntaxStack.prev}let syntaxStack=null,thenStack=null,elseStack=null,syntaxStash=null,iterationCount=0,exitReason=null,token=null,tokenIndex=-1,longestMatch=0,matchStack={type:STUB,syntax:null,token:null,prev:null};for(moveToNextToken();null===exitReason&&++iterationCount<ITERATION_LIMIT;)switch(state.type){case"Match":if(null===thenStack){if(null!==token&&(tokenIndex!==tokens.length-1||"\\0"!==token.value&&"\\9"!==token.value)){state=MISMATCH;break}exitReason=EXIT_REASON_MATCH}else{if((state=thenStack.nextState)===DISALLOW_EMPTY){if(thenStack.matchStack===matchStack){state=MISMATCH;break}state=MATCH}for(;thenStack.syntaxStack!==syntaxStack;)closeSyntax();thenStack=thenStack.prev}break;case"Mismatch":if(null!==syntaxStash&&!1!==syntaxStash)(null===elseStack||tokenIndex>elseStack.tokenIndex)&&(elseStack=syntaxStash,syntaxStash=!1);else if(null===elseStack){exitReason=EXIT_REASON_MISMATCH;break}state=elseStack.nextState,thenStack=elseStack.thenStack,syntaxStack=elseStack.syntaxStack,matchStack=elseStack.matchStack,tokenIndex=elseStack.tokenIndex,token=tokenIndex<tokens.length?tokens[tokenIndex]:null,elseStack=elseStack.prev;break;case"MatchGraph":state=state.match;break;case"If":state.else!==MISMATCH&&pushElseStack(state.else),state.then!==MATCH&&pushThenStack(state.then),state=state.match;break;case"MatchOnce":state={type:"MatchOnceBuffer",syntax:state,index:0,mask:0};break;case"MatchOnceBuffer":var terms=state.syntax.terms;if(state.index===terms.length){if(0===state.mask||state.syntax.all){state=MISMATCH;break}state=MATCH}else if(state.mask===(1<<terms.length)-1)state=MATCH;else for(;state.index<terms.length;state.index++){var matchFlag=1<<state.index;if(0==(state.mask&matchFlag)){pushElseStack(state),pushThenStack({type:"AddMatchOnce",syntax:state.syntax,mask:state.mask|matchFlag}),state=terms[state.index++];break}}break;case"AddMatchOnce":state={type:"MatchOnceBuffer",syntax:state.syntax,index:0,mask:state.mask};break;case"Enum":if(null!==token){let name=token.value.toLowerCase();if(-1!==name.indexOf("\\")&&(name=name.replace(/\\[09].*$/,"")),match_hasOwnProperty.call(state.map,name)){state=state.map[name];break}}state=MISMATCH;break;case"Generic":{var opts=null!==syntaxStack?syntaxStack.opts:null;const lastTokenIndex=tokenIndex+Math.floor(state.fn(token,getNextToken,opts));if(!isNaN(lastTokenIndex)&&lastTokenIndex>tokenIndex){for(;tokenIndex<lastTokenIndex;)addTokenToMatch();state=MATCH}else state=MISMATCH;break}case"Type":case"Property":var opts="Type"===state.type?"types":"properties",dictSyntax=match_hasOwnProperty.call(syntaxes,opts)?syntaxes[opts][state.name]:null;if(!dictSyntax||!dictSyntax.match)throw new Error("Bad syntax reference: "+("Type"===state.type?"<"+state.name+">":"<'"+state.name+"'>"));if(!1!==syntaxStash&&null!==token&&"Type"===state.type)if("custom-ident"===state.name&&token.type===Ident||"length"===state.name&&"0"===token.value){null===syntaxStash&&(syntaxStash=stateSnapshotFromSyntax(state,elseStack)),state=MISMATCH;break}syntaxStack={syntax:state.syntax,opts:state.syntax.opts||null!==syntaxStack&&syntaxStack.opts||null,prev:syntaxStack},matchStack={type:OPEN_SYNTAX,syntax:state.syntax,token:matchStack.token,prev:matchStack},state=dictSyntax.match;break;case"Keyword":dictSyntax=state.name;if(null!==token){let keywordName=token.value;if(areStringsEqualCaseInsensitive(keywordName=-1!==keywordName.indexOf("\\")?keywordName.replace(/\\[09].*$/,""):keywordName,dictSyntax)){addTokenToMatch(),state=MATCH;break}}state=MISMATCH;break;case"AtKeyword":case"Function":null!==token&&areStringsEqualCaseInsensitive(token.value,state.name)?(addTokenToMatch(),state=MATCH):state=MISMATCH;break;case"Token":null!==token&&token.value===state.value?(addTokenToMatch(),state=MATCH):state=MISMATCH;break;case"Comma":state=null!==token&&token.type===Comma?isCommaContextStart(matchStack.token)||(addTokenToMatch(),isCommaContextEnd(token))?MISMATCH:MATCH:isCommaContextStart(matchStack.token)||isCommaContextEnd(token)?MATCH:MISMATCH;break;case"String":let string="",lastTokenIndex=tokenIndex;for(;lastTokenIndex<tokens.length&&string.length<state.value.length;lastTokenIndex++)string+=tokens[lastTokenIndex].value;if(areStringsEqualCaseInsensitive(string,state.value)){for(;tokenIndex<lastTokenIndex;)addTokenToMatch();state=MATCH}else state=MISMATCH;break;default:throw new Error("Unknown node type: "+state.type)}switch(totalIterationCount+=iterationCount,exitReason){case null:console.warn("[csstree-match] BREAK after "+ITERATION_LIMIT+" iterations"),exitReason=EXIT_REASON_ITERATION_LIMIT,matchStack=null;break;case EXIT_REASON_MATCH:for(;null!==syntaxStack;)closeSyntax();break;default:matchStack=null}return{tokens:tokens,reason:exitReason,iterations:iterationCount,match:matchStack,longestMatch:longestMatch}}function matchAsTree(tokens,matchGraph,syntaxes){const matchResult=internalMatch(tokens,matchGraph,syntaxes||{});if(null!==matchResult.match){let item=matchResult.match,host=matchResult.match={syntax:matchGraph.syntax||null,match:[]};const hostStack=[host];for(item=reverseList(item).prev;null!==item;){switch(item.type){case OPEN_SYNTAX:host.match.push(host={syntax:item.syntax,match:[]}),hostStack.push(host);break;case CLOSE_SYNTAX:hostStack.pop(),host=hostStack[hostStack.length-1];break;default:host.match.push({syntax:item.syntax||null,token:item.token.value,node:item.token.node})}item=item.prev}}return matchResult}function getTrace(node){function shouldPutToTrace(syntax){return null!==syntax&&("Type"===syntax.type||"Property"===syntax.type||"Keyword"===syntax.type)}let result=null;return null!==this.matched&&function hasMatch(matchNode){if(Array.isArray(matchNode.match)){for(let i=0;i<matchNode.match.length;i++)if(hasMatch(matchNode.match[i]))return shouldPutToTrace(matchNode.syntax)&&result.unshift(matchNode.syntax),1}else if(matchNode.node===node)return result=shouldPutToTrace(matchNode.syntax)?[matchNode.syntax]:[],1}(this.matched),result}function testNode(match,node,fn){const trace=getTrace.call(match,node);return null!==trace&&trace.some(fn)}function matchFragments(lexer,ast,match,type,name){function findFragments(matchNode){if(null!==matchNode.syntax&&matchNode.syntax.type===type&&matchNode.syntax.name===name){const start=function getFirstMatchNode(matchNode){return"node"in matchNode?matchNode.node:getFirstMatchNode(matchNode.match[0])}(matchNode),end=function getLastMatchNode(matchNode){return"node"in matchNode?matchNode.node:getLastMatchNode(matchNode.match[matchNode.match.length-1])}(matchNode);lexer.syntax.walk(ast,function(node,item,list){if(node===start){const nodes=new List;for(;nodes.appendData(item.data),item.data!==end&&null!==(item=item.next););fragments.push({parent:list,nodes:nodes})}})}Array.isArray(matchNode.match)&&matchNode.match.forEach(findFragments)}const fragments=[];return null!==match.matched&&findFragments(match.matched),fragments}const structure_hasOwnProperty=Object.prototype["hasOwnProperty"];function isValidNumber(value){return"number"==typeof value&&isFinite(value)&&Math.floor(value)===value&&0<=value}function isValidLocation(loc){return Boolean(loc)&&isValidNumber(loc.offset)&&isValidNumber(loc.line)&&isValidNumber(loc.column)}function processStructure(name,nodeType){const structure=nodeType.structure,fields={type:String,loc:!0},docs={type:'"'+name+'"'};for(const key in structure)if(!1!==structure_hasOwnProperty.call(structure,key)){const docsTypes=[];var fieldTypes=fields[key]=Array.isArray(structure[key])?structure[key].slice():[structure[key]];for(let i=0;i<fieldTypes.length;i++){var fieldType=fieldTypes[i];if(fieldType===String||fieldType===Boolean)docsTypes.push(fieldType.name);else if(null===fieldType)docsTypes.push("null");else if("string"==typeof fieldType)docsTypes.push("<"+fieldType+">");else{if(!Array.isArray(fieldType))throw new Error("Wrong value `"+fieldType+"` in `"+name+"."+key+"` structure definition");docsTypes.push("List")}}docs[key]=docsTypes.join(" | ")}return{docs:docs,check:function(type,fields){return function(node,warn){if(!node||node.constructor!==Object)return warn(node,"Type of node should be an Object");for(var key in node){let valid=!0;if(!1!==structure_hasOwnProperty.call(node,key)){if("type"===key)node.type!==type&&warn(node,"Wrong node type `"+node.type+"`, expected `"+type+"`");else if("loc"===key){if(null===node.loc)continue;if(node.loc&&node.loc.constructor===Object)if("string"!=typeof node.loc.source)key+=".source";else if(isValidLocation(node.loc.start)){if(isValidLocation(node.loc.end))continue;key+=".end"}else key+=".start";valid=!1}else if(fields.hasOwnProperty(key)){valid=!1;for(let i=0;!valid&&i<fields[key].length;i++){var fieldType=fields[key][i];switch(fieldType){case String:valid="string"==typeof node[key];break;case Boolean:valid="boolean"==typeof node[key];break;case null:valid=null===node[key];break;default:"string"==typeof fieldType?valid=node[key]&&node[key].type===fieldType:Array.isArray(fieldType)&&(valid=node[key]instanceof List)}}}else warn(node,"Unknown field `"+key+"` for "+type+" node type");valid||warn(node,"Bad value for `"+type+"."+key+"`")}}for(const key in fields)structure_hasOwnProperty.call(fields,key)&&!1===structure_hasOwnProperty.call(node,key)&&warn(node,"Field `"+type+"."+key+"` is missed")}}(name,fields)}}const cssWideKeywordsSyntax=buildMatchGraph(cssWideKeywords.join(" | "));function dumpMapSyntax(map,compact,syntaxAsAst){const result={};for(const name in map)map[name].syntax&&(result[name]=syntaxAsAst?map[name].syntax:generate(map[name].syntax,{compact:compact}));return result}function buildMatchResult(matched,error,iterations){return{matched:matched,iterations:iterations,error:error,...trace_namespaceObject}}function matchSyntax(lexer,syntax,value,useCssWideKeywords){var tokens=prepare_tokens(value,lexer.syntax);let result;return function(tokens){for(let i=0;i<tokens.length;i++)if("var("===tokens[i].value.toLowerCase())return 1}(tokens)?buildMatchResult(null,new Error("Matching for a tree with var() is not supported")):(useCssWideKeywords&&(result=matchAsTree(tokens,lexer.cssWideKeywordsSyntax,lexer)),useCssWideKeywords&&result.match||(result=matchAsTree(tokens,syntax.match,lexer)).match?buildMatchResult(result.match,null,result.iterations):buildMatchResult(null,new SyntaxMatchError(result.reason,syntax.syntax,value,result),result.iterations))}class Lexer{constructor(config,syntax,structure){if(this.cssWideKeywordsSyntax=cssWideKeywordsSyntax,this.syntax=syntax,this.generic=!1,this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=structure||function(config){const structure={};if(config.node)for(const name in config.node)if(structure_hasOwnProperty.call(config.node,name)){var nodeType=config.node[name];if(!nodeType.structure)throw new Error("Missed `structure` field in `"+name+"` node type definition");structure[name]=processStructure(name,nodeType)}return structure}(config),config){if(config.types)for(const name in config.types)this.addType_(name,config.types[name]);if(config.generic){this.generic=!0;for(const name in generic)this.addType_(name,generic[name])}if(config.atrules)for(const name in config.atrules)this.addAtrule_(name,config.atrules[name]);if(config.properties)for(const name in config.properties)this.addProperty_(name,config.properties[name])}}checkStructure(ast){function collectWarning(node,message){warns.push({node:node,message:message})}const structure=this.structure,warns=[];return this.syntax.walk(ast,function(node){structure.hasOwnProperty(node.type)?structure[node.type].check(node,collectWarning):collectWarning(node,"Unknown node type `"+node.type+"`")}),!!warns.length&&warns}createDescriptor(syntax,type,name,parent=null){const ref={type:type,name:name},descriptor={type:type,name:name,parent:parent,serializable:"string"==typeof syntax||syntax&&"string"==typeof syntax.type,syntax:null,match:null};return"function"==typeof syntax?descriptor.match=buildMatchGraph(syntax,ref):("string"==typeof syntax?Object.defineProperty(descriptor,"syntax",{get(){return Object.defineProperty(descriptor,"syntax",{value:parse(syntax)}),descriptor.syntax}}):descriptor.syntax=syntax,Object.defineProperty(descriptor,"match",{get(){return Object.defineProperty(descriptor,"match",{value:buildMatchGraph(descriptor.syntax,ref)}),descriptor.match}})),descriptor}addAtrule_(name,syntax){syntax&&(this.atrules[name]={type:"Atrule",name:name,prelude:syntax.prelude?this.createDescriptor(syntax.prelude,"AtrulePrelude",name):null,descriptors:syntax.descriptors?Object.keys(syntax.descriptors).reduce((map,descName)=>(map[descName]=this.createDescriptor(syntax.descriptors[descName],"AtruleDescriptor",descName,name),map),Object.create(null)):null})}addProperty_(name,syntax){syntax&&(this.properties[name]=this.createDescriptor(syntax,"Property",name))}addType_(name,syntax){syntax&&(this.types[name]=this.createDescriptor(syntax,"Type",name))}checkAtruleName(atruleName){if(!this.getAtrule(atruleName))return new SyntaxReferenceError("Unknown at-rule","@"+atruleName)}checkAtrulePrelude(atruleName,prelude){var error=this.checkAtruleName(atruleName);return error||(!(error=this.getAtrule(atruleName)).prelude&&prelude?new SyntaxError("At-rule `@"+atruleName+"` should not contain a prelude"):!error.prelude||prelude||matchSyntax(this,error.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+atruleName+"` should contain a prelude"))}checkAtruleDescriptorName(atruleName,descriptorName){var descriptor,error=this.checkAtruleName(atruleName);return error||(error=this.getAtrule(atruleName),descriptor=keyword(descriptorName),error.descriptors?error.descriptors[descriptor.name]||error.descriptors[descriptor.basename]?void 0:new SyntaxReferenceError("Unknown at-rule descriptor",descriptorName):new SyntaxError("At-rule `@"+atruleName+"` has no known descriptors"))}checkPropertyName(propertyName){if(!this.getProperty(propertyName))return new SyntaxReferenceError("Unknown property",propertyName)}matchAtrulePrelude(atruleName,prelude){var error=this.checkAtrulePrelude(atruleName,prelude);return error?buildMatchResult(null,error):(error=this.getAtrule(atruleName)).prelude?matchSyntax(this,error.prelude,prelude||"",!1):buildMatchResult(null,null)}matchAtruleDescriptor(atruleName,descriptorName,value){var error=this.checkAtruleDescriptorName(atruleName,descriptorName);return error?buildMatchResult(null,error):(error=this.getAtrule(atruleName),atruleName=keyword(descriptorName),matchSyntax(this,error.descriptors[atruleName.name]||error.descriptors[atruleName.basename],value,!1))}matchDeclaration(node){return"Declaration"!==node.type?buildMatchResult(null,new Error("Not a Declaration node")):this.matchProperty(node.property,node.value)}matchProperty(propertyName,value){var error;return names_property(propertyName).custom?buildMatchResult(null,new Error("Lexer matching doesn't applicable for custom properties")):(error=this.checkPropertyName(propertyName))?buildMatchResult(null,error):matchSyntax(this,this.getProperty(propertyName),value,!0)}matchType(typeName,value){var typeSyntax=this.getType(typeName);return typeSyntax?matchSyntax(this,typeSyntax,value,!1):buildMatchResult(null,new SyntaxReferenceError("Unknown type",typeName))}match(syntax,value){return"string"==typeof syntax||syntax&&syntax.type?("string"!=typeof syntax&&syntax.match||(syntax=this.createDescriptor(syntax,"Type","anonymous")),matchSyntax(this,syntax,value,!1)):buildMatchResult(null,new SyntaxReferenceError("Bad syntax"))}findValueFragments(propertyName,value,type,name){return matchFragments(this,value,this.matchProperty(propertyName,value),type,name)}findDeclarationValueFragments(declaration,type,name){return matchFragments(this,declaration.value,this.matchDeclaration(declaration),type,name)}findAllFragments(ast,type,name){const result=[];return this.syntax.walk(ast,{visit:"Declaration",enter:declaration=>{result.push.apply(result,this.findDeclarationValueFragments(declaration,type,name))}}),result}getAtrule(atruleName,fallbackBasename=!0){atruleName=keyword(atruleName);return(atruleName.vendor&&fallbackBasename?this.atrules[atruleName.name]||this.atrules[atruleName.basename]:this.atrules[atruleName.name])||null}getAtrulePrelude(atruleName,fallbackBasename=!0){atruleName=this.getAtrule(atruleName,fallbackBasename);return atruleName&&atruleName.prelude||null}getAtruleDescriptor(atruleName,name){return this.atrules.hasOwnProperty(atruleName)&&this.atrules.declarators&&this.atrules[atruleName].declarators[name]||null}getProperty(propertyName,fallbackBasename=!0){propertyName=names_property(propertyName);return(propertyName.vendor&&fallbackBasename?this.properties[propertyName.name]||this.properties[propertyName.basename]:this.properties[propertyName.name])||null}getType(name){return hasOwnProperty.call(this.types,name)?this.types[name]:null}validate(){function validate(syntax,name,broken,descriptor){if(broken.has(name))return broken.get(name);broken.set(name,!1),null!==descriptor.syntax&&function(node,options,context){let enter=walk_noop,leave=walk_noop;if("function"==typeof options?enter=options:options&&(enter=walk_ensureFunction(options.enter),leave=walk_ensureFunction(options.leave)),enter===walk_noop&&leave===walk_noop)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function walk(node){switch(enter.call(context,node),node.type){case"Group":node.terms.forEach(walk);break;case"Multiplier":walk(node.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+node.type)}leave.call(context,node)}(node)}(descriptor.syntax,function(node){var map,brokenMap;"Type"!==node.type&&"Property"!==node.type||(map="Type"===node.type?syntax.types:syntax.properties,brokenMap="Type"===node.type?brokenTypes:brokenProperties,hasOwnProperty.call(map,node.name)&&!validate(syntax,node.name,brokenMap,map[node.name])||broken.set(name,!0))},this)}let brokenTypes=new Map,brokenProperties=new Map;for(const key in this.types)validate(this,key,brokenTypes,this.types[key]);for(const key in this.properties)validate(this,key,brokenProperties,this.properties[key]);return brokenTypes=[...brokenTypes.keys()].filter(name=>brokenTypes.get(name)),brokenProperties=[...brokenProperties.keys()].filter(name=>brokenProperties.get(name)),brokenTypes.length||brokenProperties.length?{types:brokenTypes,properties:brokenProperties}:null}dump(syntaxAsAst,pretty){return{generic:this.generic,types:dumpMapSyntax(this.types,!pretty,syntaxAsAst),properties:dumpMapSyntax(this.properties,!pretty,syntaxAsAst),atrules:function(map,compact,syntaxAsAst){const result={};for(var[name,atrule]of Object.entries(map))result[name]={prelude:atrule.prelude&&(syntaxAsAst?atrule.prelude.syntax:generate(atrule.prelude.syntax,{compact:compact})),descriptors:atrule.descriptors&&dumpMapSyntax(atrule.descriptors,compact,syntaxAsAst)};return result}(this.atrules,!pretty,syntaxAsAst)}}toString(){return JSON.stringify(this.dump())}}const mix_hasOwnProperty=Object.prototype["hasOwnProperty"],shape={generic:!0,types:appendOrAssign,atrules:{prelude:appendOrAssignOrNull,descriptors:appendOrAssignOrNull},properties:appendOrAssign,parseContext:function(dest,src){return Object.assign(dest,src)},scope:function deepAssign(dest,src){for(const key in src)mix_hasOwnProperty.call(src,key)&&(mix_isObject(dest[key])?deepAssign(dest[key],src[key]):dest[key]=mix_copy(src[key]));return dest},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function mix_isObject(value){return value&&value.constructor===Object}function mix_copy(value){return mix_isObject(value)?{...value}:value}function append(a,b){return"string"==typeof b&&/^\s*\|/.test(b)?"string"==typeof a?a+b:b.replace(/^\s*\|\s*/,""):b||null}function appendOrAssign(a,b){if("string"==typeof b)return append(a,b);const result={...a};for(var key in b)mix_hasOwnProperty.call(b,key)&&(result[key]=append(mix_hasOwnProperty.call(a,key)?a[key]:void 0,b[key]));return result}function appendOrAssignOrNull(a,b){a=appendOrAssign(a,b);return!mix_isObject(a)||Object.keys(a).length?a:null}const config_mix=(dest,src)=>function mix(dest,src,shape){for(const key in shape)if(!1!==mix_hasOwnProperty.call(shape,key))if(!0===shape[key])mix_hasOwnProperty.call(src,key)&&(dest[key]=mix_copy(src[key]));else if(shape[key])if("function"==typeof shape[key]){const fn=shape[key];dest[key]=fn({},dest[key]),dest[key]=fn(dest[key]||{},src[key])}else if(mix_isObject(shape[key])){const result={};for(var name in dest[key])result[name]=mix({},dest[key][name],shape[key]);for(let name in src[key])result[name]=mix(result[name]||{},src[key][name],shape[key]);dest[key]=result}else if(Array.isArray(shape[key])){const res={};var innerShape=shape[key].reduce(function(s,k){return s[k]=!0,s},{});for(const[name,value]of Object.entries(dest[key]||{}))res[name]={},value&&mix(res[name],value,innerShape);for(const name in src[key])mix_hasOwnProperty.call(src[key],name)&&(res[name]||(res[name]={}),src[key]&&src[key][name]&&mix(res[name],src[key][name],innerShape));dest[key]=res}return dest}(dest,src,shape);function createSyntax(config){var parse=createParser(config),walk=createWalker(config),{fromPlainObject,toPlainObject}=function(walk){return{fromPlainObject(ast){return walk(ast,{enter(node){node.children&&node.children instanceof List==!1&&(node.children=(new List).fromArray(node.children))}}),ast},toPlainObject(ast){return walk(ast,{leave(node){node.children&&node.children instanceof List&&(node.children=node.children.toArray())}}),ast}}}(walk);const syntax={lexer:null,createLexer:config=>new Lexer(config,syntax,syntax.lexer.structure),tokenize:tokenize,parse:parse,generate:createGenerator(config),walk:walk,find:walk.find,findLast:walk.findLast,findAll:walk.findAll,fromPlainObject:fromPlainObject,toPlainObject:toPlainObject,fork(extension){var base=config_mix({},config);return createSyntax("function"==typeof extension?extension(base,Object.assign):config_mix(base,extension))}};return syntax.lexer=new Lexer({generic:!0,types:config.types,atrules:config.atrules,properties:config.properties,node:config.node},syntax),syntax}const AnPlusB_PLUSSIGN=43,AnPlusB_HYPHENMINUS=45,AnPlusB_N=110,AnPlusB_DISALLOW_SIGN=!0,AnPlusB_ALLOW_SIGN=!1;function AnPlusB_checkInteger(offset,disallowSign){let pos=this.tokenStart+offset;offset=this.charCodeAt(pos);for(offset!==AnPlusB_PLUSSIGN&&offset!==AnPlusB_HYPHENMINUS||(disallowSign&&this.error("Number sign is not allowed"),pos++);pos<this.tokenEnd;pos++)isDigit(this.charCodeAt(pos))||this.error("Integer is expected",pos)}function checkTokenIsInteger(disallowSign){return AnPlusB_checkInteger.call(this,0,disallowSign)}function expectCharCode(offset,code){if(!this.cmpChar(this.tokenStart+offset,code)){let msg="";switch(code){case AnPlusB_N:msg="N is expected";break;case AnPlusB_HYPHENMINUS:msg="HyphenMinus is expected"}this.error(msg,this.tokenStart+offset)}}function AnPlusB_consumeB(){let offset=0,sign=0,type=this.tokenType;for(;type===WhiteSpace||type===Comment;)type=this.lookupType(++offset);if(type!==types_Number){if(!this.isDelim(AnPlusB_PLUSSIGN,offset)&&!this.isDelim(AnPlusB_HYPHENMINUS,offset))return null;for(sign=this.isDelim(AnPlusB_PLUSSIGN,offset)?AnPlusB_PLUSSIGN:AnPlusB_HYPHENMINUS;(type=this.lookupType(++offset))===WhiteSpace||type===Comment;);type!==types_Number&&(this.skip(offset),checkTokenIsInteger.call(this,AnPlusB_DISALLOW_SIGN))}return 0<offset&&this.skip(offset),0===sign&&(type=this.charCodeAt(this.tokenStart))!==AnPlusB_PLUSSIGN&&type!==AnPlusB_HYPHENMINUS&&this.error("Number sign is expected"),checkTokenIsInteger.call(this,0!==sign),sign===AnPlusB_HYPHENMINUS?"-"+this.consume(types_Number):this.consume(types_Number)}const AnPlusB_name="AnPlusB",structure={a:[String,null],b:[String,null]};function AnPlusB_parse(){var start=this.tokenStart;let a=null,b=null;if(this.tokenType===types_Number)checkTokenIsInteger.call(this,AnPlusB_ALLOW_SIGN),b=this.consume(types_Number);else if(this.tokenType===Ident&&this.cmpChar(this.tokenStart,AnPlusB_HYPHENMINUS))switch(a="-1",expectCharCode.call(this,1,AnPlusB_N),this.tokenEnd-this.tokenStart){case 2:this.next(),b=AnPlusB_consumeB.call(this);break;case 3:expectCharCode.call(this,2,AnPlusB_HYPHENMINUS),this.next(),this.skipSC(),checkTokenIsInteger.call(this,AnPlusB_DISALLOW_SIGN),b="-"+this.consume(types_Number);break;default:expectCharCode.call(this,2,AnPlusB_HYPHENMINUS),AnPlusB_checkInteger.call(this,3,AnPlusB_DISALLOW_SIGN),this.next(),b=this.substrToCursor(start+2)}else if(this.tokenType===Ident||this.isDelim(AnPlusB_PLUSSIGN)&&this.lookupType(1)===Ident){let sign=0;switch(a="1",this.isDelim(AnPlusB_PLUSSIGN)&&(sign=1,this.next()),expectCharCode.call(this,0,AnPlusB_N),this.tokenEnd-this.tokenStart){case 1:this.next(),b=AnPlusB_consumeB.call(this);break;case 2:expectCharCode.call(this,1,AnPlusB_HYPHENMINUS),this.next(),this.skipSC(),checkTokenIsInteger.call(this,AnPlusB_DISALLOW_SIGN),b="-"+this.consume(types_Number);break;default:expectCharCode.call(this,1,AnPlusB_HYPHENMINUS),AnPlusB_checkInteger.call(this,2,AnPlusB_DISALLOW_SIGN),this.next(),b=this.substrToCursor(start+sign+1)}}else if(this.tokenType===Dimension){var code=this.charCodeAt(this.tokenStart),code=code===AnPlusB_PLUSSIGN||code===AnPlusB_HYPHENMINUS;let i=this.tokenStart+code;for(;i<this.tokenEnd&&isDigit(this.charCodeAt(i));i++);i===this.tokenStart+code&&this.error("Integer is expected",this.tokenStart+code),expectCharCode.call(this,i-this.tokenStart,AnPlusB_N),a=this.substring(start,i),b=i+1===this.tokenEnd?(this.next(),AnPlusB_consumeB.call(this)):(expectCharCode.call(this,i-this.tokenStart+1,AnPlusB_HYPHENMINUS),i+2===this.tokenEnd?(this.next(),this.skipSC(),checkTokenIsInteger.call(this,AnPlusB_DISALLOW_SIGN),"-"+this.consume(types_Number)):(AnPlusB_checkInteger.call(this,i-this.tokenStart+2,AnPlusB_DISALLOW_SIGN),this.next(),this.substrToCursor(i+1)))}else this.error();return null!==a&&a.charCodeAt(0)===AnPlusB_PLUSSIGN&&(a=a.substr(1)),null!==b&&b.charCodeAt(0)===AnPlusB_PLUSSIGN&&(b=b.substr(1)),{type:"AnPlusB",loc:this.getLocation(start,this.tokenStart),a:a,b:b}}function consumeRaw(startToken){return this.Raw(startToken,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}const Atrule_name="Atrule",walkContext="atrule",Atrule_structure={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Atrule_parse(){var nameLowerCase,start=this.tokenStart;let name,prelude=null,block=null;switch(this.eat(AtKeyword),nameLowerCase=(name=this.substrToCursor(start+1)).toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==LeftCurlyBracket&&this.tokenType!==Semicolon&&(prelude=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,name),consumeRaw):consumeRaw.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Semicolon:this.next();break;case LeftCurlyBracket:block=hasOwnProperty.call(this.atrule,nameLowerCase)&&"function"==typeof this.atrule[nameLowerCase].block?this.atrule[nameLowerCase].block.call(this):this.Block(function(){for(let offset=1,type;type=this.lookupType(offset);offset++){if(type===RightCurlyBracket)return!0;if(type===LeftCurlyBracket||type===AtKeyword)return!1}return!1}.call(this))}return{type:"Atrule",loc:this.getLocation(start,this.tokenStart),name:name,prelude:prelude,block:block}}const AtrulePrelude_name="AtrulePrelude",AtrulePrelude_walkContext="atrulePrelude",AtrulePrelude_structure={children:[[]]};function AtrulePrelude_parse(name){let children=null;return null!==name&&(name=name.toLowerCase()),this.skipSC(),children=hasOwnProperty.call(this.atrule,name)&&"function"==typeof this.atrule[name].prelude?this.atrule[name].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==LeftCurlyBracket&&this.tokenType!==Semicolon&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(children),children:children}}const DOLLARSIGN=36,AttributeSelector_ASTERISK=42,EQUALSSIGN=61,CIRCUMFLEXACCENT=94,AttributeSelector_VERTICALLINE=124,TILDE=126;const AttributeSelector_name="AttributeSelector",AttributeSelector_structure={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function AttributeSelector_parse(){var name,start=this.tokenStart;let matcher=null,value=null,flags=null;return this.eat(LeftSquareBracket),this.skipSC(),name=function(){this.eof&&this.error("Unexpected end of input");var start=this.tokenStart;let expectIdent=!1;return this.isDelim(AttributeSelector_ASTERISK)?(expectIdent=!0,this.next()):this.isDelim(AttributeSelector_VERTICALLINE)||this.eat(Ident),this.isDelim(AttributeSelector_VERTICALLINE)?this.charCodeAt(this.tokenStart+1)!==EQUALSSIGN?(this.next(),this.eat(Ident)):expectIdent&&this.error("Identifier is expected",this.tokenEnd):expectIdent&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(start,this.tokenStart),name:this.substrToCursor(start)}}.call(this),this.skipSC(),this.tokenType!==RightSquareBracket&&(this.tokenType!==Ident&&(matcher=function(){var start=this.tokenStart,code=this.charCodeAt(start);return code!==EQUALSSIGN&&code!==TILDE&&code!==CIRCUMFLEXACCENT&&code!==DOLLARSIGN&&code!==AttributeSelector_ASTERISK&&code!==AttributeSelector_VERTICALLINE&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),code!==EQUALSSIGN&&(this.isDelim(EQUALSSIGN)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(start)}.call(this),this.skipSC(),value=this.tokenType===types_String?this.String():this.Identifier(),this.skipSC()),this.tokenType===Ident&&(flags=this.consume(Ident),this.skipSC())),this.eat(RightSquareBracket),{type:"AttributeSelector",loc:this.getLocation(start,this.tokenStart),name:name,matcher:matcher,value:value,flags:flags}}function Block_consumeRaw(startToken){return this.Raw(startToken,null,!0)}function consumeRule(){return this.parseWithFallback(this.Rule,Block_consumeRaw)}function consumeRawDeclaration(startToken){return this.Raw(startToken,this.consumeUntilSemicolonIncluded,!0)}function consumeDeclaration(){var node;return this.tokenType===Semicolon?consumeRawDeclaration.call(this,this.tokenIndex):(node=this.parseWithFallback(this.Declaration,consumeRawDeclaration),this.tokenType===Semicolon&&this.next(),node)}const Block_name="Block",Block_walkContext="block",Block_structure={children:[["Atrule","Rule","Declaration"]]};function Block_parse(isDeclaration){const consumer=isDeclaration?consumeDeclaration:consumeRule;isDeclaration=this.tokenStart;let children=this.createList();this.eat(LeftCurlyBracket);scan:for(;!this.eof;)switch(this.tokenType){case RightCurlyBracket:break scan;case WhiteSpace:case Comment:this.next();break;case AtKeyword:children.push(this.parseWithFallback(this.Atrule,Block_consumeRaw));break;default:children.push(consumer.call(this))}return this.eof||this.eat(RightCurlyBracket),{type:"Block",loc:this.getLocation(isDeclaration,this.tokenStart),children:children}}const Brackets_name="Brackets",Brackets_structure={children:[[]]};function Brackets_parse(readSequence,recognizer){var start=this.tokenStart;return this.eat(LeftSquareBracket),readSequence=readSequence.call(this,recognizer),this.eof||this.eat(RightSquareBracket),{type:"Brackets",loc:this.getLocation(start,this.tokenStart),children:readSequence}}const CDC_name="CDC",CDC_structure=[];function CDC_parse(){var start=this.tokenStart;return this.eat(CDC),{type:"CDC",loc:this.getLocation(start,this.tokenStart)}}const CDO_name="CDO",CDO_structure=[];function CDO_parse(){var start=this.tokenStart;return this.eat(CDO),{type:"CDO",loc:this.getLocation(start,this.tokenStart)}}const FULLSTOP=46,ClassSelector_name="ClassSelector",ClassSelector_structure={name:String};function ClassSelector_parse(){return this.eatDelim(FULLSTOP),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(Ident)}}const Combinator_PLUSSIGN=43,SOLIDUS=47,Combinator_GREATERTHANSIGN=62,Combinator_TILDE=126,Combinator_name="Combinator",Combinator_structure={name:String};function Combinator_parse(){var start=this.tokenStart;let name;switch(this.tokenType){case WhiteSpace:name=" ";break;case Delim:switch(this.charCodeAt(this.tokenStart)){case Combinator_GREATERTHANSIGN:case Combinator_PLUSSIGN:case Combinator_TILDE:this.next();break;case SOLIDUS:this.next(),this.eatIdent("deep"),this.eatDelim(SOLIDUS);break;default:this.error("Combinator is expected")}name=this.substrToCursor(start)}return{type:"Combinator",loc:this.getLocation(start,this.tokenStart),name:name}}const Comment_ASTERISK=42,Comment_SOLIDUS=47,Comment_name="Comment",Comment_structure={value:String};function Comment_parse(){var start=this.tokenStart;let end=this.tokenEnd;return this.eat(Comment),2<=end-start+2&&this.charCodeAt(end-2)===Comment_ASTERISK&&this.charCodeAt(end-1)===Comment_SOLIDUS&&(end-=2),{type:"Comment",loc:this.getLocation(start,this.tokenStart),value:this.substring(start+2,end)}}const Declaration_EXCLAMATIONMARK=33,Declaration_NUMBERSIGN=35,Declaration_DOLLARSIGN=36,Declaration_AMPERSAND=38,Declaration_ASTERISK=42,Declaration_PLUSSIGN=43,Declaration_SOLIDUS=47;function consumeValueRaw(startToken){return this.Raw(startToken,this.consumeUntilExclamationMarkOrSemicolon,!0)}function consumeCustomPropertyRaw(startToken){return this.Raw(startToken,this.consumeUntilExclamationMarkOrSemicolon,!1)}function consumeValue(){var startValueToken=this.tokenIndex,value=this.Value();return"Raw"!==value.type&&!1===this.eof&&this.tokenType!==Semicolon&&!1===this.isDelim(Declaration_EXCLAMATIONMARK)&&!1===this.isBalanceEdge(startValueToken)&&this.error(),value}const Declaration_name="Declaration",Declaration_walkContext="declaration",Declaration_structure={important:[Boolean,String],property:String,value:["Value","Raw"]};function Declaration_parse(){var start=this.tokenStart,startToken=this.tokenIndex,property=function(){var start=this.tokenStart;if(this.tokenType===Delim)switch(this.charCodeAt(this.tokenStart)){case Declaration_ASTERISK:case Declaration_DOLLARSIGN:case Declaration_PLUSSIGN:case Declaration_NUMBERSIGN:case Declaration_AMPERSAND:this.next();break;case Declaration_SOLIDUS:this.next(),this.isDelim(Declaration_SOLIDUS)&&this.next()}this.tokenType===Hash?this.eat(Hash):this.eat(Ident);return this.substrToCursor(start)}.call(this),customProperty=isCustomProperty(property),parseValue=customProperty?this.parseCustomProperty:this.parseValue;const consumeRaw=customProperty?consumeCustomPropertyRaw:consumeValueRaw;let important=!1,value;this.skipSC(),this.eat(Colon);var valueStart=this.tokenIndex;if(customProperty||this.skipSC(),value=parseValue?this.parseWithFallback(consumeValue,consumeRaw):consumeRaw.call(this,this.tokenIndex),customProperty&&"Value"===value.type&&value.children.isEmpty)for(let offset=valueStart-this.tokenIndex;offset<=0;offset++)if(this.lookupType(offset)===WhiteSpace){value.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(Declaration_EXCLAMATIONMARK)&&(important=function(){this.eat(Delim),this.skipSC();var important=this.consume(Ident);return"important"===important||important}.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==Semicolon&&!1===this.isBalanceEdge(startToken)&&this.error(),{type:"Declaration",loc:this.getLocation(start,this.tokenStart),important:important,property:property,value:value}}function DeclarationList_consumeRaw(startToken){return this.Raw(startToken,this.consumeUntilSemicolonIncluded,!0)}const DeclarationList_name="DeclarationList",DeclarationList_structure={children:[["Declaration"]]};function DeclarationList_parse(){const children=this.createList();for(;!this.eof;)switch(this.tokenType){case WhiteSpace:case Comment:case Semicolon:this.next();break;default:children.push(this.parseWithFallback(this.Declaration,DeclarationList_consumeRaw))}return{type:"DeclarationList",loc:this.getLocationFromList(children),children:children}}const Dimension_name="Dimension",Dimension_structure={value:String,unit:String};function Dimension_parse(){var start=this.tokenStart,value=this.consumeNumber(Dimension);return{type:"Dimension",loc:this.getLocation(start,this.tokenStart),value:value,unit:this.substring(start+value.length,this.tokenStart)}}const Function_name="Function",Function_walkContext="function",Function_structure={name:String,children:[[]]};function Function_parse(readSequence,recognizer){var start=this.tokenStart;const name=this.consumeFunctionName();var nameLowerCase=name.toLowerCase(),nameLowerCase=(recognizer.hasOwnProperty(nameLowerCase)?recognizer[nameLowerCase]:readSequence).call(this,recognizer);return this.eof||this.eat(RightParenthesis),{type:"Function",loc:this.getLocation(start,this.tokenStart),name:name,children:nameLowerCase}}const xxx="XXX",Hash_name="Hash",Hash_structure={value:String};function Hash_parse(){var start=this.tokenStart;return this.eat(Hash),{type:"Hash",loc:this.getLocation(start,this.tokenStart),value:this.substrToCursor(start+1)}}const Identifier_name="Identifier",Identifier_structure={name:String};function Identifier_parse(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(Ident)}}const IdSelector_name="IdSelector",IdSelector_structure={name:String};function IdSelector_parse(){var start=this.tokenStart;return this.eat(Hash),{type:"IdSelector",loc:this.getLocation(start,this.tokenStart),name:this.substrToCursor(start+1)}}const MediaFeature_name="MediaFeature",MediaFeature_structure={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function MediaFeature_parse(){var name,start=this.tokenStart;let value=null;if(this.eat(LeftParenthesis),this.skipSC(),name=this.consume(Ident),this.skipSC(),this.tokenType!==RightParenthesis){switch(this.eat(Colon),this.skipSC(),this.tokenType){case types_Number:value=this.lookupNonWSType(1)===Delim?this.Ratio():this.Number();break;case Dimension:value=this.Dimension();break;case Ident:value=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(RightParenthesis),{type:"MediaFeature",loc:this.getLocation(start,this.tokenStart),name:name,value:value}}const MediaQuery_name="MediaQuery",MediaQuery_structure={children:[["Identifier","MediaFeature","WhiteSpace"]]};function MediaQuery_parse(){const children=this.createList();let child=null;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case Comment:case WhiteSpace:this.next();continue;case Ident:child=this.Identifier();break;case LeftParenthesis:child=this.MediaFeature();break;default:break scan}children.push(child)}return null===child&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(children),children:children}}const MediaQueryList_name="MediaQueryList",MediaQueryList_structure={children:[["MediaQuery"]]};function MediaQueryList_parse(){const children=this.createList();for(this.skipSC();!this.eof&&(children.push(this.MediaQuery()),this.tokenType===Comma);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(children),children:children}}const Nth_name="Nth",Nth_structure={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Nth_parse(){this.skipSC();var start=this.tokenStart;let end=start,selector=null,nth;return nth=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),end=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),selector=this.SelectorList(),end=this.tokenStart),{type:"Nth",loc:this.getLocation(start,end),nth:nth,selector:selector}}const Number_name="Number",Number_structure={value:String};function Number_parse(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(types_Number)}}const Operator_name="Operator",Operator_structure={value:String};function Operator_parse(){var start=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(start,this.tokenStart),value:this.substrToCursor(start)}}const Parentheses_name="Parentheses",Parentheses_structure={children:[[]]};function Parentheses_parse(readSequence,recognizer){var start=this.tokenStart;return this.eat(LeftParenthesis),readSequence=readSequence.call(this,recognizer),this.eof||this.eat(RightParenthesis),{type:"Parentheses",loc:this.getLocation(start,this.tokenStart),children:readSequence}}const Percentage_name="Percentage",Percentage_structure={value:String};function Percentage_parse(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Percentage)}}const PseudoClassSelector_name="PseudoClassSelector",PseudoClassSelector_walkContext="function",PseudoClassSelector_structure={name:String,children:[["Raw"],null]};function PseudoClassSelector_parse(){var nameLowerCase,start=this.tokenStart;let children=null,name;return this.eat(Colon),this.tokenType===types_Function?(nameLowerCase=(name=this.consumeFunctionName()).toLowerCase(),hasOwnProperty.call(this.pseudo,nameLowerCase)?(this.skipSC(),children=this.pseudo[nameLowerCase].call(this),this.skipSC()):(children=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(RightParenthesis)):name=this.consume(Ident),{type:"PseudoClassSelector",loc:this.getLocation(start,this.tokenStart),name:name,children:children}}const PseudoElementSelector_name="PseudoElementSelector",PseudoElementSelector_walkContext="function",PseudoElementSelector_structure={name:String,children:[["Raw"],null]};function PseudoElementSelector_parse(){var nameLowerCase,start=this.tokenStart;let children=null,name;return this.eat(Colon),this.eat(Colon),this.tokenType===types_Function?(nameLowerCase=(name=this.consumeFunctionName()).toLowerCase(),hasOwnProperty.call(this.pseudo,nameLowerCase)?(this.skipSC(),children=this.pseudo[nameLowerCase].call(this),this.skipSC()):(children=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(RightParenthesis)):name=this.consume(Ident),{type:"PseudoElementSelector",loc:this.getLocation(start,this.tokenStart),name:name,children:children}}const Ratio_SOLIDUS=47,Ratio_FULLSTOP=46;function Ratio_consumeNumber(){this.skipSC();const value=this.consume(types_Number);for(let i=0;i<value.length;i++){var code=value.charCodeAt(i);isDigit(code)||code===Ratio_FULLSTOP||this.error("Unsigned number is expected",this.tokenStart-value.length+i)}return 0===Number(value)&&this.error("Zero number is not allowed",this.tokenStart-value.length),value}const Ratio_name="Ratio",Ratio_structure={left:String,right:String};function Ratio_parse(){var right,start=this.tokenStart,left=Ratio_consumeNumber.call(this);return this.skipSC(),this.eatDelim(Ratio_SOLIDUS),right=Ratio_consumeNumber.call(this),{type:"Ratio",loc:this.getLocation(start,this.tokenStart),left:left,right:right}}const Raw_name="Raw",Raw_structure={value:String};function Raw_parse(startToken,consumeUntil,excludeWhiteSpace){var startOffset=this.getTokenStart(startToken);let endOffset;return this.skipUntilBalanced(startToken,consumeUntil||this.consumeUntilBalanceEnd),endOffset=excludeWhiteSpace&&this.tokenStart>startOffset?function(){return 0<this.tokenIndex&&this.lookupType(-1)===WhiteSpace?1<this.tokenIndex?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(startOffset,endOffset),value:this.substring(startOffset,endOffset)}}function Rule_consumeRaw(startToken){return this.Raw(startToken,this.consumeUntilLeftCurlyBracket,!0)}function consumePrelude(){var prelude=this.SelectorList();return"Raw"!==prelude.type&&!1===this.eof&&this.tokenType!==LeftCurlyBracket&&this.error(),prelude}const Rule_name="Rule",Rule_walkContext="rule",Rule_structure={prelude:["SelectorList","Raw"],block:["Block"]};function Rule_parse(){var startToken=this.tokenIndex,startOffset=this.tokenStart;let prelude;return prelude=this.parseRulePrelude?this.parseWithFallback(consumePrelude,Rule_consumeRaw):Rule_consumeRaw.call(this,startToken),startToken=this.Block(!0),{type:"Rule",loc:this.getLocation(startOffset,this.tokenStart),prelude:prelude,block:startToken}}const Selector_name="Selector",Selector_structure={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function Selector_parse(){var children=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(children)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(children),children:children}}const SelectorList_name="SelectorList",SelectorList_walkContext="selector",SelectorList_structure={children:[["Selector","Raw"]]};function SelectorList_parse(){const children=this.createList();for(;!this.eof&&(children.push(this.Selector()),this.tokenType===Comma);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(children),children:children}}const REVERSE_SOLIDUS=92,QUOTATION_MARK=34,string_APOSTROPHE=39;function decode(str){var len=str.length,firstChar=str.charCodeAt(0),start=firstChar===QUOTATION_MARK||firstChar===string_APOSTROPHE?1:0,end=1==start&&1<len&&str.charCodeAt(len-1)===firstChar?len-2:len-1;let decoded="";for(let i=start;i<=end;i++)if(str.charCodeAt(i)===REVERSE_SOLIDUS){if(i===end){i!==len-1&&(decoded=str.substr(i+1));break}var escapeStart,escapeEnd,code=str.charCodeAt(++i);char_code_definitions_isValidEscape(REVERSE_SOLIDUS,code)?(escapeEnd=utils_consumeEscaped(str,escapeStart=i-1),i=escapeEnd-1,decoded+=utils_decodeEscaped(str.substring(1+escapeStart,escapeEnd))):13===code&&10===str.charCodeAt(i+1)&&i++}else decoded+=str[i];return decoded}function encode(str,apostrophe){var quote=apostrophe?"'":'"',quoteCode=apostrophe?string_APOSTROPHE:QUOTATION_MARK;let encoded="",wsBeforeHexIsNeeded=!1;for(let i=0;i<str.length;i++){const code=str.charCodeAt(i);0===code?encoded+="<22>":wsBeforeHexIsNeeded=code<=31||127===code?(encoded+="\\"+code.toString(16),!0):(code===quoteCode||code===REVERSE_SOLIDUS?encoded+="\\"+str.charAt(i):(wsBeforeHexIsNeeded&&(isHexDigit(code)||isWhiteSpace(code))&&(encoded+=" "),encoded+=str.charAt(i)),!1)}return quote+encoded+quote}const String_name="String",String_structure={value:String};function String_parse(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:decode(this.consume(types_String))}}const StyleSheet_EXCLAMATIONMARK=33;function StyleSheet_consumeRaw(startToken){return this.Raw(startToken,null,!1)}const StyleSheet_name="StyleSheet",StyleSheet_walkContext="stylesheet",StyleSheet_structure={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function StyleSheet_parse(){var start=this.tokenStart;const children=this.createList();let child;for(;!this.eof;){switch(this.tokenType){case WhiteSpace:this.next();continue;case Comment:if(this.charCodeAt(this.tokenStart+2)!==StyleSheet_EXCLAMATIONMARK){this.next();continue}child=this.Comment();break;case CDO:child=this.CDO();break;case CDC:child=this.CDC();break;case AtKeyword:child=this.parseWithFallback(this.Atrule,StyleSheet_consumeRaw);break;default:child=this.parseWithFallback(this.Rule,StyleSheet_consumeRaw)}children.push(child)}return{type:"StyleSheet",loc:this.getLocation(start,this.tokenStart),children:children}}const TypeSelector_ASTERISK=42,TypeSelector_VERTICALLINE=124;function eatIdentifierOrAsterisk(){this.tokenType!==Ident&&!1===this.isDelim(TypeSelector_ASTERISK)&&this.error("Identifier or asterisk is expected"),this.next()}const TypeSelector_name="TypeSelector",TypeSelector_structure={name:String};function TypeSelector_parse(){var start=this.tokenStart;return(this.isDelim(TypeSelector_VERTICALLINE)||(eatIdentifierOrAsterisk.call(this),this.isDelim(TypeSelector_VERTICALLINE)))&&(this.next(),eatIdentifierOrAsterisk.call(this)),{type:"TypeSelector",loc:this.getLocation(start,this.tokenStart),name:this.substrToCursor(start)}}const UnicodeRange_PLUSSIGN=43,UnicodeRange_HYPHENMINUS=45,UnicodeRange_QUESTIONMARK=63;function eatHexSequence(offset,allowDash){let len=0;for(let pos=this.tokenStart+offset;pos<this.tokenEnd;pos++){var code=this.charCodeAt(pos);if(code===UnicodeRange_HYPHENMINUS&&allowDash&&0!==len)return eatHexSequence.call(this,offset+len+1,!1),-1;isHexDigit(code)||this.error(allowDash&&0!==len?"Hyphen minus"+(len<6?" or hex digit":"")+" is expected":len<6?"Hex digit is expected":"Unexpected input",pos),6<++len&&this.error("Too many hex digits",pos)}return this.next(),len}function eatQuestionMarkSequence(max){let count=0;for(;this.isDelim(UnicodeRange_QUESTIONMARK);)++count>max&&this.error("Too many question marks"),this.next()}function scanUnicodeRange(){let hexLength=0;switch(this.tokenType){case types_Number:hexLength=eatHexSequence.call(this,1,!0),this.isDelim(UnicodeRange_QUESTIONMARK)?eatQuestionMarkSequence.call(this,6-hexLength):this.tokenType!==Dimension&&this.tokenType!==types_Number||(function(code){this.charCodeAt(this.tokenStart)!==code&&this.error((code===UnicodeRange_PLUSSIGN?"Plus sign":"Hyphen minus")+" is expected")}.call(this,UnicodeRange_HYPHENMINUS),eatHexSequence.call(this,1,!1));break;case Dimension:0<(hexLength=eatHexSequence.call(this,1,!0))&&eatQuestionMarkSequence.call(this,6-hexLength);break;default:this.eatDelim(UnicodeRange_PLUSSIGN),this.tokenType===Ident?0<(hexLength=eatHexSequence.call(this,0,!0))&&eatQuestionMarkSequence.call(this,6-hexLength):this.isDelim(UnicodeRange_QUESTIONMARK)?(this.next(),eatQuestionMarkSequence.call(this,5)):this.error("Hex digit or question mark is expected")}}const UnicodeRange_name="UnicodeRange",UnicodeRange_structure={value:String};function UnicodeRange_parse(){var start=this.tokenStart;return this.eatIdent("u"),scanUnicodeRange.call(this),{type:"UnicodeRange",loc:this.getLocation(start,this.tokenStart),value:this.substrToCursor(start)}}const url_SPACE=32,url_REVERSE_SOLIDUS=92,url_QUOTATION_MARK=34,url_APOSTROPHE=39,url_LEFTPARENTHESIS=40,url_RIGHTPARENTHESIS=41;function url_encode(str){let encoded="",wsBeforeHexIsNeeded=!1;for(let i=0;i<str.length;i++){const code=str.charCodeAt(i);0===code?encoded+="<22>":wsBeforeHexIsNeeded=code<=31||127===code?(encoded+="\\"+code.toString(16),!0):(code===url_SPACE||code===url_REVERSE_SOLIDUS||code===url_QUOTATION_MARK||code===url_APOSTROPHE||code===url_LEFTPARENTHESIS||code===url_RIGHTPARENTHESIS?encoded+="\\"+str.charAt(i):(wsBeforeHexIsNeeded&&isHexDigit(code)&&(encoded+=" "),encoded+=str.charAt(i)),!1)}return"url("+encoded+")"}const Url_name="Url",Url_structure={value:String};function Url_parse(){var start=this.tokenStart;let value;switch(this.tokenType){case Url:value=function(str){var len=str.length;let start=4,end=str.charCodeAt(len-1)===url_RIGHTPARENTHESIS?len-2:len-1,decoded="";for(;start<end&&isWhiteSpace(str.charCodeAt(start));)start++;for(;start<end&&isWhiteSpace(str.charCodeAt(end));)end--;for(let i=start;i<=end;i++)if(str.charCodeAt(i)===url_REVERSE_SOLIDUS){if(i===end){i!==len-1&&(decoded=str.substr(i+1));break}var escapeStart,escapeEnd,code=str.charCodeAt(++i);char_code_definitions_isValidEscape(url_REVERSE_SOLIDUS,code)?(escapeEnd=utils_consumeEscaped(str,escapeStart=i-1),i=escapeEnd-1,decoded+=utils_decodeEscaped(str.substring(1+escapeStart,escapeEnd))):13===code&&10===str.charCodeAt(i+1)&&i++}else decoded+=str[i];return decoded}(this.consume(Url));break;case types_Function:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(types_Function),this.skipSC(),value=decode(this.consume(types_String)),this.skipSC(),this.eof||this.eat(RightParenthesis);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(start,this.tokenStart),value:value}}const Value_name="Value",Value_structure={children:[[]]};function Value_parse(){var start=this.tokenStart,children=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(start,this.tokenStart),children:children}}const WhiteSpace_SPACE=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),WhiteSpace_name="WhiteSpace",WhiteSpace_structure={value:String};function WhiteSpace_parse(){return this.eat(WhiteSpace),WhiteSpace_SPACE}function defaultRecognizer(context){switch(this.tokenType){case Hash:return this.Hash();case Comma:return this.Operator();case LeftParenthesis:return this.Parentheses(this.readSequence,context.recognizer);case LeftSquareBracket:return this.Brackets(this.readSequence,context.recognizer);case types_String:return this.String();case Dimension:return this.Dimension();case Percentage:return this.Percentage();case types_Number:return this.Number();case types_Function:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,context.recognizer);case Url:return this.Url();case Ident:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case Delim:var code=this.charCodeAt(this.tokenStart);if(47===code||42===code||43===code||45===code)return this.Operator();35===code&&this.error("Hex or identifier is expected",this.tokenStart+1)}}const atrulePrelude={getNode:defaultRecognizer};const selector={onWhiteSpace:function(next,children){null!==children.last&&"Combinator"!==children.last.type&&null!==next&&"Combinator"!==next.type&&children.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case LeftSquareBracket:return this.AttributeSelector();case Hash:return this.IdSelector();case Colon:return this.lookupType(1)===Colon?this.PseudoElementSelector():this.PseudoClassSelector();case Ident:return this.TypeSelector();case types_Number:case Percentage:return this.Percentage();case Dimension:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case Delim:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}};function isPlusMinusOperator(node){return null!==node&&"Operator"===node.type&&("-"===node.value[node.value.length-1]||"+"===node.value[node.value.length-1])}const value={getNode:defaultRecognizer,onWhiteSpace(next,children){isPlusMinusOperator(next)&&(next.value=" "+next.value),isPlusMinusOperator(children.last)&&(children.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))},var:function(){const children=this.createList();if(this.skipSC(),children.push(this.Identifier()),this.skipSC(),this.tokenType===Comma){children.push(this.Operator());var startIndex=this.tokenIndex;const value=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===value.type&&value.children.isEmpty)for(let offset=startIndex-this.tokenIndex;offset<=0;offset++)if(this.lookupType(offset)===WhiteSpace){value.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}children.push(value)}return children}};function supports_consumeRaw(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function parentheses(){return this.skipSC(),this.tokenType===Ident&&this.lookupNonWSType(1)===Colon?this.createSingleNodeList(this.Declaration()):supports_readSequence.call(this)}function supports_readSequence(){const children=this.createList();let child;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case Comment:case WhiteSpace:this.next();continue;case types_Function:child=this.Function(supports_consumeRaw,this.scope.AtrulePrelude);break;case Ident:child=this.Identifier();break;case LeftParenthesis:child=this.Parentheses(parentheses,this.scope.AtrulePrelude);break;default:break scan}children.push(child)}return children}var external_wp_apiFetch_namespaceObject={parse(){return this.createSingleNodeList(this.SelectorList())}},identList={parse(){return this.createSingleNodeList(this.Identifier())}},nth={parse(){return this.createSingleNodeList(this.Nth())}},scope_namespaceObject={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(options){return this.AtrulePrelude(options.atrule?String(options.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:scope_namespaceObject,atrule:{"font-face":{parse:{prelude:null,block(){return this.Block(!0)}}},import:{parse:{prelude(){const children=this.createList();switch(this.skipSC(),this.tokenType){case types_String:children.push(this.String());break;case Url:case types_Function:children.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==Ident&&this.lookupNonWSType(0)!==LeftParenthesis||children.push(this.MediaQueryList()),children},block:null}},media:{parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}},page:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},supports:{parse:{prelude(){var children=supports_readSequence.call(this);return null===this.getFirstListNode(children)&&this.error("Condition is expected"),children},block(){return this.Block(!1)}}}},pseudo:{dir:identList,has:external_wp_apiFetch_namespaceObject,lang:identList,matches:external_wp_apiFetch_namespaceObject,is:external_wp_apiFetch_namespaceObject,"-moz-any":external_wp_apiFetch_namespaceObject,"-webkit-any":external_wp_apiFetch_namespaceObject,where:external_wp_apiFetch_namespaceObject,not:external_wp_apiFetch_namespaceObject,"nth-child":nth,"nth-last-child":nth,"nth-last-of-type":nth,"nth-of-type":nth,slotted:{parse(){return this.createSingleNodeList(this.Selector())}}},node:index_parse_namespaceObject},identList={node:node_namespaceObject},external_wp_apiFetch_namespaceObject=createSyntax(config_mix({},{...{generic:!0,generic:!0,types:{"absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fit-content()":"fit-content( [<length>|<percentage>] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length>|<percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length>|<percentage>|min-content|max-content|auto] , [<length>|<percentage>|<flex>|min-content|max-content|auto] )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( [<length>|<percentage>] )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text","border-radius":"<length-percentage>{1,2}",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","reversed-counter-name":"reversed( <counter-name> )",right:"<length>|auto","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto","track-group":"'(' [<string>* <track-minmax> <string>*]+ ')' ['[' <positive-integer> ']']?|<track-minmax>","track-list-v0":"[<string>* <track-group> <string>*]+|none","track-minmax":"minmax( <track-breadth> , <track-breadth> )|auto|<track-breadth>|fit-content",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","positive-integer":"<integer [0,∞]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end","caret-color":"auto|<color>",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[size||layout||style||paint]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}}},node:node_namespaceObject},...scope_namespaceObject,...identList}));function clone(node){const result={};for(const key in node){let value=node[key];value&&(Array.isArray(value)||value instanceof List?value=value.map(clone):value.constructor===Object&&(value=clone(value))),result[key]=value}return result}const{parse:lib_parse,generate:lib_generate,lexer:lib_lexer,walk:lib_walk,fork}=external_wp_apiFetch_namespaceObject,usage_hasOwnProperty=Object.prototype["hasOwnProperty"];function buildMap(list,caseInsensitive){const map=Object.create(null);if(!Array.isArray(list))return null;for(var name of list)caseInsensitive&&(name=name.toLowerCase()),map[name]=!0;return map}function buildList(data){var tags,ids;return!data||(tags=buildMap(data.tags,!0),ids=buildMap(data.ids),data=buildMap(data.classes),null===tags&&null===ids&&null===data)?null:{tags:tags,ids:ids,classes:data}}function hasNoChildren(node){return!node||!node.children||node.children.isEmpty}function isNodeChildrenList(node,list){return null!==node&&node.children===list}const Rule_hasOwnProperty=Object.prototype["hasOwnProperty"],skipUsageFilteringAtrule=new Set(["keyframes"]);const handlers={Atrule:function(node,item,list){if(node.block&&(null!==this.stylesheet&&(this.stylesheet.firstAtrulesAllowed=!1),hasNoChildren(node.block)))list.remove(item);else switch(node.name){case"charset":hasNoChildren(node.prelude)?list.remove(item):item.prev&&list.remove(item);break;case"import":null!==this.stylesheet&&this.stylesheet.firstAtrulesAllowed?list.prevUntil(item.prev,function(rule){if("Atrule"!==rule.type||"import"!==rule.name&&"charset"!==rule.name)return this.root.firstAtrulesAllowed=!1,list.remove(item),!0},this):list.remove(item);break;default:var name=keyword(node.name).basename;"keyframes"!==name&&"media"!==name&&"supports"!==name||(hasNoChildren(node.prelude)||hasNoChildren(node.block))&&list.remove(item)}},Comment:function(data,item,list){list.remove(item)},Declaration:function(node,item,list){node.value.children&&node.value.children.isEmpty?list.remove(item):names_property(node.property).custom&&/\S/.test(node.value.value)&&(node.value.value=node.value.value.trim())},Raw:function(node,item,list){(isNodeChildrenList(this.stylesheet,list)||isNodeChildrenList(this.block,list))&&list.remove(item)},Rule:function(node,item,list,options){hasNoChildren(node.prelude)||hasNoChildren(node.block)?list.remove(item):this.atrule&&skipUsageFilteringAtrule.has(keyword(this.atrule.name).basename)||(!(options=options["usage"])||null===options.whitelist&&null===options.blacklist||(function cleanUnused(selectorList,usageData){return selectorList.children.forEach((selector,item,list)=>{let shouldRemove=!1;lib_walk(selector,function(node){if(null===this.selector||this.selector===selectorList)switch(node.type){case"SelectorList":null!==this.function&&"not"===this.function.name.toLowerCase()||cleanUnused(node,usageData)&&(shouldRemove=!0);break;case"ClassSelector":null===usageData.whitelist||null===usageData.whitelist.classes||Rule_hasOwnProperty.call(usageData.whitelist.classes,node.name)||(shouldRemove=!0),null!==usageData.blacklist&&null!==usageData.blacklist.classes&&Rule_hasOwnProperty.call(usageData.blacklist.classes,node.name)&&(shouldRemove=!0);break;case"IdSelector":null===usageData.whitelist||null===usageData.whitelist.ids||Rule_hasOwnProperty.call(usageData.whitelist.ids,node.name)||(shouldRemove=!0),null!==usageData.blacklist&&null!==usageData.blacklist.ids&&Rule_hasOwnProperty.call(usageData.blacklist.ids,node.name)&&(shouldRemove=!0);break;case"TypeSelector":"*"!==node.name.charAt(node.name.length-1)&&(null===usageData.whitelist||null===usageData.whitelist.tags||Rule_hasOwnProperty.call(usageData.whitelist.tags,node.name.toLowerCase())||(shouldRemove=!0),null!==usageData.blacklist&&null!==usageData.blacklist.tags&&Rule_hasOwnProperty.call(usageData.blacklist.tags,node.name.toLowerCase())&&(shouldRemove=!0))}}),shouldRemove&&list.remove(item)}),selectorList.children.isEmpty}(node.prelude,options),hasNoChildren(node.prelude)&&list.remove(item)))},TypeSelector:function(node,item,list){var nextType;"*"!==item.data.name||"IdSelector"!==(nextType=item.next&&item.next.data.type)&&"ClassSelector"!==nextType&&"AttributeSelector"!==nextType&&"PseudoClassSelector"!==nextType&&"PseudoElementSelector"!==nextType||list.remove(item)},WhiteSpace:function(node,item,list){list.remove(item)}};const blockUnquoteRx=/^(-?\d|--)|[\u0000-\u002c\u002e\u002f\u003A-\u0040\u005B-\u005E\u0060\u007B-\u009f]/;function compressBorder(node){node.children.forEach((node,item,list)=>{"Identifier"===node.type&&"none"===node.name.toLowerCase()&&(list.head===list.tail?item.data={type:"Number",loc:node.loc,value:"0"}:list.remove(item))})}const Value_handlers={font:function(node){const list=node.children;list.forEachRight(function(node,item){"Identifier"===node.type&&("bold"===node.name?item.data={type:"Number",loc:node.loc,value:"700"}:"normal"===node.name&&((node=item.prev)&&"Operator"===node.data.type&&"/"===node.data.value&&this.remove(node),this.remove(item)))}),list.isEmpty&&list.insert(list.createItem({type:"Identifier",name:"normal"}))},"font-weight":function(node){var value=node.children.head.data;if("Identifier"===value.type)switch(value.name){case"normal":node.children.head.data={type:"Number",loc:value.loc,value:"400"};break;case"bold":node.children.head.data={type:"Number",loc:value.loc,value:"700"}}},background:function(node){function flush(){buffer.length||buffer.unshift({type:"Number",loc:null,value:"0"},{type:"Number",loc:null,value:"0"}),newValue.push.apply(newValue,buffer),buffer=[]}let newValue=[],buffer=[];node.children.forEach(node=>{"Operator"===node.type&&","===node.value?(flush(),newValue.push(node)):("Identifier"!==node.type||"transparent"!==node.name&&"none"!==node.name&&"repeat"!==node.name&&"scroll"!==node.name)&&buffer.push(node)}),flush(),node.children=(new List).fromArray(newValue)},border:compressBorder,outline:compressBorder};const OMIT_PLUSSIGN=/^(?:\+|(-))?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/,KEEP_PLUSSIGN=/^([\+\-])?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/,unsafeToRemovePlusSignAfter=new Set(["Dimension","Hash","Identifier","Number","Raw","UnicodeRange"]);function packNumber(value,item){item=item&&null!==item.prev&&unsafeToRemovePlusSignAfter.has(item.prev.data.type)?KEEP_PLUSSIGN:OMIT_PLUSSIGN;return value=""!==(value=String(value).replace(item,"$1$2$3"))&&"-"!==value?value:"0"}const MATH_FUNCTIONS=new Set(["calc","min","max","clamp"]),LENGTH_UNIT=new Set(["px","mm","cm","in","pt","pc","em","ex","ch","rem","vh","vw","vmin","vmax","vm"]);const blacklist=new Set(["width","min-width","max-width","height","min-height","max-height","flex","-ms-flex"]);const NAME_TO_HEX={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},HEX_TO_NAME={8e5:"maroon",800080:"purple",808e3:"olive",808080:"gray","00ffff":"cyan",f0ffff:"azure",f5f5dc:"beige",ffe4c4:"bisque","000000":"black","0000ff":"blue",a52a2a:"brown",ff7f50:"coral",ffd700:"gold","008000":"green","4b0082":"indigo",fffff0:"ivory",f0e68c:"khaki","00ff00":"lime",faf0e6:"linen","000080":"navy",ffa500:"orange",da70d6:"orchid",cd853f:"peru",ffc0cb:"pink",dda0dd:"plum",f00:"red",ff0000:"red",fa8072:"salmon",a0522d:"sienna",c0c0c0:"silver",fffafa:"snow",d2b48c:"tan","008080":"teal",ff6347:"tomato",ee82ee:"violet",f5deb3:"wheat",ffffff:"white",ffff00:"yellow"};function hueToRgb(p,q,t){return t<0&&(t+=1),1<t&&--t,t<1/6?p+6*(q-p)*t:t<.5?q:t<2/3?p+(q-p)*(2/3-t)*6:p}function hslToRgb(h,s,l,a){let r,g,b;return 0===s?r=g=b=l:(s=2*l-(l=l<.5?l*(1+s):l+s-l*s),r=hueToRgb(s,l,h+1/3),g=hueToRgb(s,l,h),b=hueToRgb(s,l,h-1/3)),[Math.round(255*r),Math.round(255*g),Math.round(255*b),a]}function toHex(value){return 1===(value=value.toString(16)).length?"0"+value:value}function parseFunctionArgs(functionArgs,count,rgb){let cursor=functionArgs.head,args=[],wasValue=!1;for(;null!==cursor;){var{type,value}=cursor.data;switch(type){case"Number":case"Percentage":if(wasValue)return;wasValue=!0,args.push({type:type,value:Number(value)});break;case"Operator":if(","===value){if(!wasValue)return;wasValue=!1}else if(wasValue||"+"!==value)return;break;default:return}cursor=cursor.next}if(args.length===count){if(4===args.length){if("Number"!==args[3].type)return;args[3].type="Alpha"}if(rgb){if(args[0].type!==args[1].type||args[0].type!==args[2].type)return}else{if("Number"!==args[0].type||"Percentage"!==args[1].type||"Percentage"!==args[2].type)return;args[0].type="Angle"}return args.map(function(arg){let value=Math.max(0,arg.value);switch(arg.type){case"Number":value=Math.min(value,255);break;case"Percentage":if(value=Math.min(value,100)/100,!rgb)return value;value*=255;break;case"Angle":return(value%360+360)%360/360;case"Alpha":return Math.min(value,1)}return Math.round(value)})}}function compressHex(node,item){let color=node.value.toLowerCase();6===color.length&&color[0]===color[1]&&color[2]===color[3]&&color[4]===color[5]&&(color=color[0]+color[2]+color[4]),HEX_TO_NAME[color]?item.data={type:"Identifier",loc:node.loc,name:HEX_TO_NAME[color]}:node.value=color}const replace_handlers={Atrule:function(node){"keyframes"===keyword(node.name).basename&&!function(node){node.block.children.forEach(rule=>{rule.prelude.children.forEach(simpleselector=>{simpleselector.children.forEach((data,item)=>{"Percentage"===data.type&&"100"===data.value?item.data={type:"TypeSelector",loc:data.loc,name:"to"}:"TypeSelector"===data.type&&"from"===data.name&&(item.data={type:"Percentage",loc:data.loc,value:"0"})})})})}(node)},AttributeSelector:function(node){var value,attrValue=node.value;attrValue&&"String"===attrValue.type&&""!==(value=attrValue.value)&&"-"!==value&&!blockUnquoteRx.test(value)&&(node.value={type:"Identifier",loc:attrValue.loc,name:attrValue.value})},Value:function(node){var property;this.declaration&&(property=names_property(this.declaration.property),Value_handlers.hasOwnProperty(property.basename)&&Value_handlers[property.basename](node))},Dimension:function(node,item){var unit,value=packNumber(node.value);"0"===(node.value=value)&&null!==this.declaration&&null===this.atrulePrelude&&(unit=node.unit.toLowerCase(),!LENGTH_UNIT.has(unit)||"-ms-flex"===this.declaration.property||"flex"===this.declaration.property||this.function&&MATH_FUNCTIONS.has(this.function.name)||(item.data={type:"Number",loc:node.loc,value:value}))},Percentage:function(node,item){node.value=packNumber(node.value),"0"===node.value&&this.declaration&&!blacklist.has(this.declaration.property)&&(item.data={type:"Number",loc:node.loc,value:node.value},lib_lexer.matchDeclaration(this.declaration).isType(item.data,"length")||(item.data=node))},Number:function(node){node.value=packNumber(node.value)},Url:function(node){node.value=node.value.replace(/\\/g,"/")},Hash:compressHex,Identifier:function(node,item){if(null!==this.declaration){let color=node.name.toLowerCase();var hex;NAME_TO_HEX.hasOwnProperty(color)&&lib_lexer.matchDeclaration(this.declaration).isType(node,"color")&&((hex=NAME_TO_HEX[color]).length+1<=color.length?item.data={type:"Hash",loc:node.loc,value:hex}:("grey"===color&&(color="gray"),node.name=color))}},Function:function(node,item){let functionName=node.name,args;if("rgba"===functionName||"hsla"===functionName){if(!(args=parseFunctionArgs(node.children,4,"rgba"===functionName)))return;if("hsla"===functionName&&(args=hslToRgb(...args),node.name="rgba"),0===args[3]){var scopeFunctionName=this.function&&this.function.name;if(0===args[0]&&0===args[1]&&0===args[2]||!/^(?:to|from|color-stop)$|gradient$/i.test(scopeFunctionName))return void(item.data={type:"Identifier",loc:node.loc,name:"transparent"})}if(1!==args[3])return void node.children.forEach((node,item,list)=>{"Operator"===node.type?","!==node.value&&list.remove(item):item.data={type:"Number",loc:node.loc,value:packNumber(args.shift())}});functionName="rgb"}if("hsl"===functionName){if(!(args=args||parseFunctionArgs(node.children,3,!1)))return;args=hslToRgb(...args),functionName="rgb"}"rgb"===functionName&&(args=args||parseFunctionArgs(node.children,3,!0))&&(item.data={type:"Hash",loc:node.loc,value:toHex(args[0])+toHex(args[1])+toHex(args[2])},compressHex(item.data,item))}};class Index{constructor(){this.map=new Map}resolve(str){let index=this.map.get(str);return void 0===index&&(index=this.map.size+1,this.map.set(str,index)),index}}function maxSelectorListSpecificity(selectorList){return("Raw"===(selectorList=selectorList).type?lib_parse(selectorList.value,{context:"selectorList"}):selectorList).children.reduce((result,node)=>{var a=specificity(node),b=result;for(let i=0;i<3;i++)if(a[i]!==b[i])return a[i]>b[i]?a:b;return a},[0,0,0])}function specificity(simpleSelector){let A=0,B=0,C=0;return simpleSelector.children.forEach(node=>{switch(node.type){case"IdSelector":A++;break;case"ClassSelector":case"AttributeSelector":B++;break;case"PseudoClassSelector":switch(node.name.toLowerCase()){case"not":case"has":case"is":case"matches":case"-webkit-any":case"-moz-any":var[a,b,c]=maxSelectorListSpecificity(node.children.first);A+=a,B+=b,C+=c;break;case"nth-child":case"nth-last-child":var arg=node.children.first;if("Nth"===arg.type&&arg.selector){const[a,b,c]=maxSelectorListSpecificity(arg.selector);A+=a,B+=b+1,C+=c}else B++;break;case"where":break;case"before":case"after":case"first-line":case"first-letter":C++;break;default:B++}break;case"TypeSelector":node.name.endsWith("*")||C++;break;case"PseudoElementSelector":C++}}),[A,B,C]}const prepare_specificity=specificity,nonFreezePseudoElements=new Set(["first-letter","first-line","after","before"]),nonFreezePseudoClasses=new Set(["link","visited","hover","active","first-letter","first-line","after","before"]);const _1_mergeAtrule_hasOwnProperty=Object.prototype["hasOwnProperty"];function addRuleToMap(map,item,list,single){const node=item.data;var name=keyword(node.name).basename,id=node.name.toLowerCase()+"/"+(node.prelude?node.prelude.id:null);_1_mergeAtrule_hasOwnProperty.call(map,name)||(map[name]=Object.create(null)),single&&delete map[name][id],_1_mergeAtrule_hasOwnProperty.call(map[name],id)||(map[name][id]=new List),map[name][id].append(list.remove(item))}function isMediaRule(node){return"Atrule"===node.type&&"media"===node.name}function processAtrule(node,item,list){if(isMediaRule(node)){const prev=item.prev&&item.prev.data;prev&&isMediaRule(prev)&&node.prelude&&prev.prelude&&node.prelude.id===prev.prelude.id&&(prev.block.children.appendList(node.block.children),list.remove(item))}}const utils_hasOwnProperty=Object.prototype["hasOwnProperty"];function isEqualSelectors(a,b){let cursor1=a.head,cursor2=b.head;for(;null!==cursor1&&null!==cursor2&&cursor1.data.id===cursor2.data.id;)cursor1=cursor1.next,cursor2=cursor2.next;return null===cursor1&&null===cursor2}function isEqualDeclarations(a,b){let cursor1=a.head,cursor2=b.head;for(;null!==cursor1&&null!==cursor2&&cursor1.data.id===cursor2.data.id;)cursor1=cursor1.next,cursor2=cursor2.next;return null===cursor1&&null===cursor2}function addSelectors(dest,source){return source.forEach(sourceData=>{var newStr=sourceData.id;let cursor=dest.head;for(;cursor;){var nextStr=cursor.data.id;if(nextStr===newStr)return;if(newStr<nextStr)break;cursor=cursor.next}dest.insert(dest.createItem(sourceData),cursor)}),dest}function hasSimilarSelectors(selectors1,selectors2){let cursor1=selectors1.head;for(;null!==cursor1;){let cursor2=selectors2.head;for(;null!==cursor2;){if(cursor1.data.compareMarker===cursor2.data.compareMarker)return!0;cursor2=cursor2.next}cursor1=cursor1.next}return!1}function unsafeToSkipNode(node){switch(node.type){case"Rule":return hasSimilarSelectors(node.prelude.children,this);case"Atrule":if(node.block)return node.block.children.some(unsafeToSkipNode,this);break;case"Declaration":return!1}return!0}function processRule(node,item,list){const selectors=node.prelude.children,declarations=node.block.children;list.prevUntil(item.prev,function(prev){if("Rule"!==prev.type)return unsafeToSkipNode.call(selectors,prev);var prevSelectors=prev.prelude.children;const prevDeclarations=prev.block.children;if(node.pseudoSignature===prev.pseudoSignature){if(isEqualSelectors(prevSelectors,selectors))return prevDeclarations.appendList(declarations),list.remove(item),!0;if(isEqualDeclarations(declarations,prevDeclarations))return addSelectors(prevSelectors,selectors),list.remove(item),!0}return hasSimilarSelectors(selectors,prevSelectors)})}function _3_disjoinRuleset_processRule(node,item,list){const selectors=node.prelude.children;for(;selectors.head!==selectors.tail;){const newSelectors=new List;newSelectors.insert(selectors.remove(selectors.head)),list.insert(list.createItem({type:"Rule",loc:node.loc,prelude:{type:"SelectorList",loc:node.prelude.loc,children:newSelectors},block:{type:"Block",loc:node.block.loc,children:node.block.children.copy()},pseudoSignature:node.pseudoSignature}),item)}}const SIDES=["top","right","bottom","left"],SIDE={"margin-top":"top","margin-right":"right","margin-bottom":"bottom","margin-left":"left","padding-top":"top","padding-right":"right","padding-bottom":"bottom","padding-left":"left","border-top-color":"top","border-right-color":"right","border-bottom-color":"bottom","border-left-color":"left","border-top-width":"top","border-right-width":"right","border-bottom-width":"bottom","border-left-width":"left","border-top-style":"top","border-right-style":"right","border-bottom-style":"bottom","border-left-style":"left"},MAIN_PROPERTY={margin:"margin","margin-top":"margin","margin-right":"margin","margin-bottom":"margin","margin-left":"margin",padding:"padding","padding-top":"padding","padding-right":"padding","padding-bottom":"padding","padding-left":"padding","border-color":"border-color","border-top-color":"border-color","border-right-color":"border-color","border-bottom-color":"border-color","border-left-color":"border-color","border-width":"border-width","border-top-width":"border-width","border-right-width":"border-width","border-bottom-width":"border-width","border-left-width":"border-width","border-style":"border-style","border-top-style":"border-style","border-right-style":"border-style","border-bottom-style":"border-style","border-left-style":"border-style"};class TRBL{constructor(name){this.name=name,this.loc=null,this.iehack=void 0,this.sides={top:null,right:null,bottom:null,left:null}}getValueSequence(declaration,count){const values=[];let iehack="";return!("Value"!==declaration.value.type||declaration.value.children.some(function(child){let special=!1;switch(child.type){case"Identifier":switch(child.name){case"\\0":case"\\9":return void(iehack=child.name);case"inherit":case"initial":case"unset":case"revert":special=child.name}break;case"Dimension":switch(child.unit){case"rem":case"vw":case"vh":case"vmin":case"vmax":case"vm":special=child.unit}break;case"Hash":case"Number":case"Percentage":break;case"Function":if("var"===child.name)return!0;special=child.name;break;default:return!0}values.push({node:child,special:special,important:declaration.important})})||values.length>count)&&(("string"!=typeof this.iehack||this.iehack===iehack)&&(this.iehack=iehack,values))}canOverride(side,value){side=this.sides[side];return!side||value.important&&!side.important}add(name,declaration){return!!function(){const sides=this.sides;var side=SIDE[name];if(side){if(side in sides==!1)return!1;var values=this.getValueSequence(declaration,1);if(!values||!values.length)return!1;for(const key in sides)if(null!==sides[key]&&sides[key].special!==values[0].special)return!1;return this.canOverride(side,values[0])&&(sides[side]=values[0]),!0}if(name===this.name){const values=this.getValueSequence(declaration,4);if(!values||!values.length)return!1;switch(values.length){case 1:values[1]=values[0],values[2]=values[0],values[3]=values[0];break;case 2:values[2]=values[0],values[3]=values[1];break;case 3:values[3]=values[1]}for(let i=0;i<4;i++)for(const key in sides)if(null!==sides[key]&&sides[key].special!==values[i].special)return!1;for(let i=0;i<4;i++)this.canOverride(SIDES[i],values[i])&&(sides[SIDES[i]]=values[i]);return!0}}.call(this)&&(this.loc||(this.loc=declaration.loc),!0)}isOkToMinimize(){var top=this.sides.top,right=this.sides.right,bottom=this.sides.bottom,left=this.sides.left;return!!(top&&right&&bottom&&left)&&(0===(top=top.important+right.important+bottom.important+left.important)||4===top)}getValue(){const result=new List;var sides=this.sides;const values=[sides.top,sides.right,sides.bottom,sides.left];sides=[lib_generate(sides.top.node),lib_generate(sides.right.node),lib_generate(sides.bottom.node),lib_generate(sides.left.node)];sides[3]===sides[1]&&(values.pop(),sides[2]===sides[0]&&(values.pop(),sides[1]===sides[0]&&values.pop()));for(let i=0;i<values.length;i++)result.appendData(values[i].node);return this.iehack&&result.appendData({type:"Identifier",loc:null,name:this.iehack}),{type:"Value",loc:null,children:result}}getDeclaration(){return{type:"Declaration",loc:this.loc,important:this.sides.top.important,property:this.name,value:this.getValue()}}}let fingerprintId=1;const dontRestructure=new Set(["src"]),DONT_MIX_VALUE={display:/table|ruby|flex|-(flex)?box$|grid|contents|run-in/i,"text-align":/^(start|end|match-parent|justify-all)$/i},SAFE_VALUES={cursor:["auto","crosshair","default","move","text","wait","help","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","pointer","progress","not-allowed","no-drop","vertical-text","all-scroll","col-resize","row-resize"],overflow:["hidden","visible","scroll","auto"],position:["static","relative","absolute","fixed"]},NEEDLESS_TABLE={"border-width":["border"],"border-style":["border"],"border-color":["border"],"border-top":["border"],"border-right":["border"],"border-bottom":["border"],"border-left":["border"],"border-top-width":["border-top","border-width","border"],"border-right-width":["border-right","border-width","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left-width":["border-left","border-width","border"],"border-top-style":["border-top","border-style","border"],"border-right-style":["border-right","border-style","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-left-style":["border-left","border-style","border"],"border-top-color":["border-top","border-color","border"],"border-right-color":["border-right","border-color","border"],"border-bottom-color":["border-bottom","border-color","border"],"border-left-color":["border-left","border-color","border"],"margin-top":["margin"],"margin-right":["margin"],"margin-bottom":["margin"],"margin-left":["margin"],"padding-top":["padding"],"padding-right":["padding"],"padding-bottom":["padding"],"padding-left":["padding"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"font-size":["font"],"font-family":["font"],"list-style-type":["list-style"],"list-style-position":["list-style"],"list-style-image":["list-style"]};function getPropertyFingerprint(propertyName,declaration,fingerprints){const realName=names_property(propertyName).basename;if("background"===realName)return propertyName+":"+lib_generate(declaration.value);var declarationId=declaration.id;let fingerprint=fingerprints[declarationId];if(!fingerprint){switch(declaration.value.type){case"Value":const special={};let vendorId="",iehack="",raw=!1;declaration.value.children.forEach(function walk(node){switch(node.type){case"Value":case"Brackets":case"Parentheses":node.children.forEach(walk);break;case"Raw":raw=!0;break;case"Identifier":var name=node["name"];vendorId=vendorId||keyword(name).vendor,/\\[09]/.test(name)&&(iehack=RegExp.lastMatch),SAFE_VALUES.hasOwnProperty(realName)?-1===SAFE_VALUES[realName].indexOf(name)&&(special[name]=!0):DONT_MIX_VALUE.hasOwnProperty(realName)&&DONT_MIX_VALUE[realName].test(name)&&(special[name]=!0);break;case"Function":{let name=node["name"];vendorId=vendorId||keyword(name).vendor,"rect"!==name||node.children.some(node=>"Operator"===node.type&&","===node.value)||(name="rect-backward"),special[name+"()"]=!0,node.children.forEach(walk);break}case"Dimension":var unit=node["unit"];switch(/\\[09]/.test(unit)&&(iehack=RegExp.lastMatch),unit){case"rem":case"vw":case"vh":case"vmin":case"vmax":case"vm":special[unit]=!0}}}),fingerprint=raw?"!"+fingerprintId++:"!"+Object.keys(special).sort()+"|"+iehack+vendorId;break;case"Raw":fingerprint="!"+declaration.value.value;break;default:fingerprint=lib_generate(declaration.value)}fingerprints[declarationId]=fingerprint}return propertyName+fingerprint}function _7_mergeRuleset_processRule(node,item,list){const selectors=node.prelude.children,declarations=node.block.children,nodeCompareMarker=selectors.first.compareMarker,skippedCompareMarkers={};list.nextUntil(item.next,function(next,nextItem){if("Rule"!==next.type)return unsafeToSkipNode.call(selectors,next);if(node.pseudoSignature!==next.pseudoSignature)return!0;const nextFirstSelector=next.prelude.children.head;var next=next.block.children,nextCompareMarker=nextFirstSelector.data.compareMarker;if(nextCompareMarker in skippedCompareMarkers)return!0;if(selectors.head===selectors.tail&&selectors.first.id===nextFirstSelector.data.id)declarations.appendList(next),list.remove(nextItem);else if(isEqualDeclarations(declarations,next)){const nextStr=nextFirstSelector.data.id;selectors.some((data,item)=>{data=data.id;return nextStr<data?(selectors.insert(nextFirstSelector,item),!0):item.next?void 0:(selectors.insert(nextFirstSelector),!0)}),void list.remove(nextItem)}else{if(nextCompareMarker===nodeCompareMarker)return!0;skippedCompareMarkers[nextCompareMarker]=!0}})}function calcSelectorLength(list){return list.reduce((res,data)=>res+data.id.length+1,0)-1}function calcDeclarationsLength(tokens){let length=0;for(const token of tokens)length+=token.length;return length+tokens.length-1}function _8_restructRuleset_processRule(node,item,list){const avoidRulesMerge=null!==this.block&&this.block.avoidRulesMerge,selectors=node.prelude.children,block=node.block,disallowDownMarkers=Object.create(null);let allowMergeUp=!0,allowMergeDown;list.prevUntil(item.prev,function(prev,prevItem){const prevBlock=prev.block;var prevType=prev.type;if("Rule"!==prevType)return!(unsafe=unsafeToSkipNode.call(selectors,prev))&&"Atrule"===prevType&&prevBlock&&lib_walk(prevBlock,{visit:"Rule",enter(node){node.prelude.children.forEach(data=>{disallowDownMarkers[data.compareMarker]=!0})}}),unsafe;if(node.pseudoSignature!==prev.pseudoSignature)return!0;const prevSelectors=prev.prelude.children;if(!(allowMergeDown=!prevSelectors.some(selector=>selector.compareMarker in disallowDownMarkers))&&!allowMergeUp)return!0;if(allowMergeUp&&isEqualSelectors(prevSelectors,selectors))return prevBlock.children.appendList(block.children),list.remove(item),!0;prevType=function(declarations1,declarations2){const result={eq:[],ne1:[],ne2:[],ne2overrided:[]},fingerprints=Object.create(null),declarations2hash=Object.create(null);for(let cursor=declarations2.head;cursor;cursor=cursor.next)declarations2hash[cursor.data.id]=!0;for(let cursor=declarations1.head;cursor;cursor=cursor.next){var data=cursor.data;data.fingerprint&&(fingerprints[data.fingerprint]=data.important),(declarations2hash[data.id]?(declarations2hash[data.id]=!1,result.eq):result.ne1).push(data)}for(let cursor=declarations2.head;cursor;cursor=cursor.next){const data=cursor.data;declarations2hash[data.id]&&(utils_hasOwnProperty.call(fingerprints,data.fingerprint)&&(fingerprints[data.fingerprint]||!data.important)||result.ne2.push(data),result.ne2overrided.push(data))}return result}(block.children,prevBlock.children);if(prevType.eq.length){if(!prevType.ne1.length&&!prevType.ne2.length)return allowMergeDown&&(addSelectors(selectors,prevSelectors),list.remove(prevItem)),!0;if(!avoidRulesMerge)if(prevType.ne1.length&&!prevType.ne2.length){var unsafe=calcSelectorLength(selectors),prev=calcDeclarationsLength(prevType.eq);allowMergeUp&&unsafe<prev&&(addSelectors(prevSelectors,selectors),block.children.fromArray(prevType.ne1))}else if(!prevType.ne1.length&&prevType.ne2.length){const selectorLength=calcSelectorLength(prevSelectors),blockLength=calcDeclarationsLength(prevType.eq);allowMergeDown&&selectorLength<blockLength&&(addSelectors(selectors,prevSelectors),prevBlock.children.fromArray(prevType.ne2))}else{unsafe={type:"SelectorList",loc:null,children:addSelectors(prevSelectors.copy(),selectors)},prev=calcSelectorLength(unsafe.children)+2;const blockLength=calcDeclarationsLength(prevType.eq);if(blockLength>=prev)return prev=list.createItem({type:"Rule",loc:null,prelude:unsafe,block:{type:"Block",loc:null,children:(new List).fromArray(prevType.eq)},pseudoSignature:node.pseudoSignature}),block.children.fromArray(prevType.ne1),prevBlock.children.fromArray(prevType.ne2overrided),allowMergeUp?list.insert(prev,prevItem):list.insert(prev,item),!0}}allowMergeUp=allowMergeUp&&!prevSelectors.some(prevSelector=>selectors.some(selector=>selector.compareMarker===prevSelector.compareMarker)),prevSelectors.forEach(data=>{disallowDownMarkers[data.compareMarker]=!0})})}function encodeString(value){var stringApostrophe=encode(value,!0),value=encode(value);return stringApostrophe.length<value.length?stringApostrophe:value}const{lexer:syntax_lexer,tokenize:syntax_tokenize,parse:syntax_parse,generate:syntax_generate,walk:syntax_walk,find:syntax_find,findLast:syntax_findLast,findAll:syntax_findAll,fromPlainObject:syntax_fromPlainObject,toPlainObject:syntax_toPlainObject}=fork({node:{String:{generate(node){this.token(types_String,encodeString(node.value))}},Url:{generate(node){var encodedUrl=url_encode(node.value),node=encodeString(node.value);this.token(Url,encodedUrl.length<=node.length+5?encodedUrl:"url("+node+")")}}}}),{parse:csso_lib_parse,generate:csso_lib_generate,compress:lib_compress}=lib_syntax_namespaceObject;function debugOutput(name,options,startTime,data){return options.debug&&console.error(`## ${name} done in %d ms
|
||
`,Date.now()-startTime),data}function buildCompressOptions(options){return"function"!=typeof(options={...options}).logger&&options.debug&&(options.logger=function(level){let lastDebug;return function(title,ast){let line=title;if(ast&&(line=`[${((Date.now()-lastDebug)/1e3).toFixed(3)}s] `+line),1<level&&ast){let css=csso_lib_generate(ast);2===level&&256<css.length&&(css=css.substr(0,256)+"..."),line+=`
|
||
${css}
|
||
`}console.error(line),lastDebug=Date.now()}}(options.debug)),options}function runHandler(ast,options,handlers){(handlers=Array.isArray(handlers)?handlers:[handlers]).forEach(fn=>fn(ast,options))}function minify(context,source,options){const filename=(options=options||{}).filename||"<unknown>";let result;context=debugOutput("parsing",options,Date.now(),csso_lib_parse(source,{context:context,filename:filename,positions:Boolean(options.sourceMap)}));options.beforeCompress&&debugOutput("beforeCompress",options,Date.now(),runHandler(context,options,options.beforeCompress));const compressResult=debugOutput("compress",options,Date.now(),lib_compress(context,buildCompressOptions(options)));return options.afterCompress&&debugOutput("afterCompress",options,Date.now(),runHandler(compressResult,options,options.afterCompress)),result=options.sourceMap?debugOutput("generate(sourceMap: true)",options,Date.now(),(()=>{const tmp=csso_lib_generate(compressResult.ast,{sourceMap:!0});return tmp.map._file=filename,tmp.map.setSourceContent(filename,source),tmp})()):debugOutput("generate",options,Date.now(),{css:csso_lib_generate(compressResult.ast),map:null})}function save_frontend_css(){var _css$desktop,widgets=0<arguments.length&&void 0!==arguments[0]&&arguments[0],_select$getBlocks=null!=(_select$getBlocks=(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlocks())?_select$getBlocks:[],css=(widgets&&"widgets"===window.pagenow&&(_select$getBlocks=_select$getBlocks.reduce(function(acc,curr){curr=(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlocks(curr.clientId);return acc=[].concat(_toConsumableArray(acc),_toConsumableArray(curr))},[])),generate_frontend_css(_select$getBlocks)),_select$getBlocks=has_blockart_blocks(_select$getBlocks),_css$allDevice=(null!=(_css$allDevice=css.allDevice)?_css$allDevice:[]).join(""),options=(_css$allDevice+=(null!=(_css$desktop=css.desktop)?_css$desktop:[]).join(""),null!=css&&null!=(_css$desktop=css.tablet)&&_css$desktop.length&&(_css$allDevice+="@media (max-width: 62em) { ".concat(css.tablet.join("")," }")),null!=css&&null!=(_css$desktop=css.mobile)&&_css$desktop.length&&(_css$allDevice+="@media (max-width: 48em) { ".concat(css.mobile.join("")," }")),isEmpty(_css$allDevice)||(_css$allDevice=function(source,options){return minify("stylesheet",source,options)}(_css$allDevice,{restructure:!0}).css),{path:"wp/v2/settings",method:"PUT",body:JSON.stringify({_blockart_widget_css:_css$allDevice})});return widgets||(_css$desktop=(0,(0,external_wp_data_namespaceObject.select)("core/editor").getCurrentPostId)(),css=new FormData,options.method="POST",options.url=_BLOCKART_.ajaxUrl,delete options.path,css.append("post_id",_css$desktop),css.append("has_blocks",_select$getBlocks),css.append("security",_BLOCKART_.nonce),css.append("action","blockart_save_block_css"),css.append("css",_css$allDevice),options.body=css),new Promise(function(resolve,reject){external_wp_apiFetch_default()(options).catch(reject).finally(function(){return resolve()})})}function generate_frontend_css_createForOfIteratorHelper(o,allowArrayLike){var normalCompletion,didErr,err,i,it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(it)return didErr=!(normalCompletion=!0),{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}};if(Array.isArray(o)||(it=function(o,minLen){var n;if(o)return"string"==typeof o?generate_frontend_css_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?generate_frontend_css_arrayLikeToArray(o,minLen):void 0}(o))||allowArrayLike&&o&&"number"==typeof o.length)return it&&(o=it),i=0,{s:allowArrayLike=function(){},n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:allowArrayLike};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function generate_frontend_css_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var generate_frontend_css_DEVICES=["allDevice","desktop","tablet","mobile"];const generate_frontend_css=function generateFrontendCSS(blocks){var css=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{allDevice:[],desktop:[],tablet:[],mobile:[]};return blocks.forEach(function(block){var attributes=block.attributes,name=block.name,blockName=name.split("/");if("blockart"===blockName[0]&&attributes.clientId){var _step,blockCSS=generate_block_css({settings:attributes,blockName:"button-inner"===blockName[1]?"button":"button"===blockName[1]?"buttons":blockName[1],blockID:attributes.clientId,context:"save"}),_iterator=generate_frontend_css_createForOfIteratorHelper(generate_frontend_css_DEVICES);try{for(_iterator.s();!(_step=_iterator.n()).done;){var device=_step.value;null!=blockCSS&&blockCSS[device]&&(css[device]=css[device].concat(blockCSS[device]))}}catch(err){_iterator.e(err)}finally{_iterator.f()}}"core/block"===name&&null!=attributes&&attributes.ref&&0<(null===(blockName=(null==(blockName=(0,external_wp_data_namespaceObject.select)("core"))||null==(name=blockName.getEditedEntityRecord("postType","wp_block",null==attributes?void 0:attributes.ref))?void 0:name.blocks)||[])?void 0:blockName.length)&&(css=generateFrontendCSS(blockName,css)),block.innerBlocks&&0<block.innerBlocks.length&&(css=generateFrontendCSS(block.innerBlocks,css))}),css};var _excluded=["type","name","className","size"];function icon_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function icon_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?icon_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):icon_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}var controlIcons=["text-align-left","text-align-right","orientation-horizontal","orientation-vertical","text-align-center","text-align-justify","align-top","align-middle","align-bottom","align-space-between","align-center","align-left","align-right","chevron-down","chevron-up","question-mark","remove-o","toggle-off","toggle-on","un-link","chevron-up-circle","chevron-down-circle","cog","color","desktop","gradient","image","link","lock","mobile","tablet","play","reset","star","upload","video","pencil","trash","filled","outline","plain","paste","copy","link-o"],frontendIcons=["arrow-down","arrow-left","arrow-right","arrow-up","bars-o","cart-o","chevron-down","chevron-left","chevron-right","chevron-up","envelope-o","eye-o","instagram-o","map-marker-o","phone-o","paper-plane-o","quote-left","quote-right","recorder-o","remove-o","search-minus","search-o","send-o","thumbs-up-o","time-o","user-o","youtube-play","bar","behance","blogger","check","close","codeopen","cog","delicious","devianart","dribble","facebook","linkedin","medium","minus","pencil","pinterest","plus","quora","reddit","reply","rss","tumblr","twitch","twitter","vimeo","wordpress","yelp"],blockIcons=["icon-list","social-icons","info-box","button","carousel","counter","divider","faq","form","map","heading","icon","image","paragraph","rating","section","spacing","teams","testimonial","video","column","buttons"];function use_click_outside(elRef,callback){var extraElRef=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,callbackRef=(0,external_wp_element_namespaceObject.useRef)();callbackRef.current=callback,(0,external_wp_element_namespaceObject.useEffect)(function(){function handleClickOutside(e){!document.body.contains(elRef.current)||!elRef.current||elRef.current.contains(e.target)||!callbackRef.current||null!==extraElRef&&extraElRef.current.contains(e.target)||callbackRef.current(e)}return document.addEventListener("click",handleClickOutside,!0),function(){document.removeEventListener("click",handleClickOutside,!0)}},[callbackRef,elRef])}function use_local_storage(keyName,defaultValue){var _useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(function(){try{var value=window.localStorage.getItem(keyName);return value?JSON.parse(value):(window.localStorage.setItem(keyName,JSON.stringify(defaultValue)),defaultValue)}catch(err){return defaultValue}}),2),storedValue=_useState2[0],setStoredValue=_useState2[1];return[storedValue,function(newValue){try{window.localStorage.setItem(keyName,JSON.stringify(newValue))}catch(err){}setStoredValue(newValue),window.dispatchEvent(new Event(keyName))}]}const components_icon=function(_ref){var type=_ref.type,name=_ref.name,_ref$className=_ref.className,_ref$className=void 0===_ref$className?"":_ref$className,_ref$size=_ref.size,_ref$size=void 0===_ref$size?24:_ref$size,_ref=_objectWithoutProperties(_ref,_excluded);return name&&type&&[].concat(frontendIcons,blockIcons,controlIcons).includes(name)&&(type=name.split("-").map(function(n,idx){return 0===idx?n:ucFirst(n)}).join(""),icons_namespaceObject[type])?(name=icon_objectSpread(icon_objectSpread({width:_ref$size,height:_ref$size},icons_namespaceObject[type].props),{},{className:classnames_default()("blockart-icon",_ref$className)},_ref),(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG,name)):null};function use_block_style(_ref){var clientId=_ref.clientId,blockName=_ref.blockName,deviceType=_ref.deviceType,attributes=_ref.attributes;return(0,external_wp_element_namespaceObject.useMemo)(function(){var _wp,css=generate_block_css({settings:attributes,blockName:blockName,blockID:clientId,deviceType:deviceType});return"customize"===window.pagenow&&null!=(_wp=wp)&&_wp.customize&&((_wp=function(){var style,styleEl,doc=wp.customize.previewer.targetWindow().document;doc&&(style=Object.assign(document.createElement("style"),{id:"blockart-".concat(blockName,"-").concat(clientId,"-css"),innerHTML:css}),(styleEl=doc.getElementById("blockart-".concat(blockName,"-").concat(clientId,"-css")))&&styleEl.remove(),doc.head.appendChild(style))})(),wp.customize.previewer.bind("ready",_wp)),function(){return clientId&&css?React.createElement("style",null,css):null}},[clientId,blockName,deviceType,attributes])}function with_copy_paste_styles_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}var IGNORED_ATTRIBUTES_FOR_COPY_PASTE_STYLES=["clientId","className","cssID","text","link","icon","hasModal","modalOnly","columns","childRow","markup","blockCSS","image","alt1","alt2","colWidth"],nth=(0,external_wp_compose_namespaceObject.createHigherOrderComponent)(function(Component){return function(props){function copyStyles(){for(var _getAttributes,styles={},attributes=null!=(_getAttributes=getAttributes(clientId))?_getAttributes:{},_i=0,_Object$keys=Object.keys(attributes);_i<_Object$keys.length;_i++){var attribute=_Object$keys[_i];IGNORED_ATTRIBUTES_FOR_COPY_PASTE_STYLES.includes(attribute)||(styles[attribute]=attributes[attribute])}copiedStyles.set(blockName,styles),setCopiedStyles(_toConsumableArray(copiedStyles.entries())),forceUpdate()}function pasteStyles(){var updateBlockAttributes=(0,external_wp_data_namespaceObject.dispatch)("core/block-editor").updateBlockAttributes,styles=copiedStyles.get(blockName);styles&&updateBlockAttributes(clientId,function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?with_copy_paste_styles_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):with_copy_paste_styles_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({},styles))}function isMatch(name,event){return allShortcutKeys(name).some(function(_ref){var modifier,character;return"object"===typeof_typeof(_ref)?(modifier=null==_ref?void 0:_ref.modifier,character=null==_ref?void 0:_ref.character):"string"==typeof _ref&&("ctrl+c"===_ref?(modifier="ctrl",character="c"):"ctrl+alt+v"===_ref&&(modifier="primaryAlt",character="v")),!(!modifier||!character)&&external_wp_keycodes_namespaceObject.isKeyboardEvent[modifier](event,character)})}var forceUpdate=(0,external_wp_element_namespaceObject.useState)()[1].bind(null,{}),_useLocalStorage2=slicedToArray_slicedToArray(use_local_storage("_blockart_copied_styles",[]),2),copiedStyles=_useLocalStorage2[0],setCopiedStyles=_useLocalStorage2[1],copiedStyles=new Map(copiedStyles),_useLocalStorage2=((0,external_wp_element_namespaceObject.useEffect)(function(){var _dispatch=(0,external_wp_data_namespaceObject.dispatch)("core/keyboard-shortcuts"),registerShortcut=_dispatch.registerShortcut,unregisterShortcut=_dispatch.unregisterShortcut,_dispatch=(registerShortcut({name:"blockart/copy-styles",category:"block",description:(0,external_wp_i18n_namespaceObject.__)("Copy block styles","blockart"),keyCombination:{modifier:"ctrl",character:"c"}}),registerShortcut({name:"blockart/paste-styles",category:"block",description:(0,external_wp_i18n_namespaceObject.__)("Paste block styles","blockart"),keyCombination:{modifier:"primaryAlt",character:"v"}}),copiedStyles.get("blockart/button"));return null!=_dispatch&&_dispatch.style&&(copiedStyles.delete("blockart/button"),copiedStyles.set("blockart/button-inner",_dispatch),setCopiedStyles(_toConsumableArray(copiedStyles.entries()))),function(){unregisterShortcut("blockart/copy-styles"),unregisterShortcut("blockart/paste-styles")}},[]),(0,external_wp_data_namespaceObject.useSelect)(function(selector){var _selector=selector("core/keyboard-shortcuts"),getAllShortcutKeyCombinations=_selector.getAllShortcutKeyCombinations,_selector=_selector.getAllShortcutRawKeyCombinations,selector=selector("core/block-editor"),getSelectedBlockClientId=selector.getSelectedBlockClientId,getBlockAttributes=selector.getBlockAttributes,selector=selector.getBlockName;return{allShortcutKeys:getAllShortcutKeyCombinations||_selector,clientId:getSelectedBlockClientId(),getAttributes:getBlockAttributes,blockName:getSelectedBlockClientId()&&selector(getSelectedBlockClientId())}},[])),allShortcutKeys=_useLocalStorage2.allShortcutKeys,clientId=_useLocalStorage2.clientId,getAttributes=_useLocalStorage2.getAttributes,blockName=_useLocalStorage2.blockName,_useLocalStorage2=((0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)("blockart/copy-styles",(0,external_wp_element_namespaceObject.useCallback)(function(event){null!=blockName&&blockName.includes("blockart")&&isMatch("blockart/copy-styles",event)&©Styles(getAttributes(clientId))},[copyStyles,clientId,blockName]),{bindGlobal:!0,eventName:"keydown"}),(0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)("blockart/paste-styles",(0,external_wp_element_namespaceObject.useCallback)(function(event){null!=blockName&&blockName.includes("blockart")&&isMatch("blockart/paste-styles",event)&&pasteStyles()},[pasteStyles,clientId,blockName]),{bindGlobal:!0,eventName:"keydown"}),(0,external_wp_element_namespaceObject.useMemo)(function(){return function(){return React.createElement(external_wp_components_namespaceObject.ToolbarGroup,{isCollapsed:!0,icon:React.createElement(components_icon,{type:"controlIcon",name:"copy"}),label:(0,external_wp_i18n_namespaceObject.__)("Copy/Paste Styles","blockart"),popoverProps:{position:"bottom right"},controls:[{title:React.createElement("span",null,(0,external_wp_i18n_namespaceObject.__)("Copy Styles Ctrl+C","blockart")),icon:React.createElement(components_icon,{type:"controlIcon",name:"copy"}),onClick:copyStyles},{title:React.createElement("span",null,(0,external_wp_i18n_namespaceObject.__)("Paste Styles Ctrl+Alt+V","blockart")),icon:React.createElement(components_icon,{type:"controlIcon",name:"paste"}),onClick:pasteStyles,isDisabled:!copiedStyles.get(blockName)}]})}},[copyStyles,pasteStyles,blockName,clientId]));return React.createElement(Component,_extends({},props,{copyPasteStylesBlockControl:_useLocalStorage2}))}},"withCopyPasteStyles");const with_device_type=(0,external_wp_compose_namespaceObject.createHigherOrderComponent)(function(Component){return function(props){function setDeviceType(deviceType){var _dispatch;null!=(_dispatch=(0,external_wp_data_namespaceObject.dispatch)(store))&&_dispatch.__experimentalSetPreviewDeviceType(ucFirst(deviceType)),null!=(_dispatch=wp)&&null!=(_dispatch=_dispatch.customize)&&_dispatch.previewedDevice(deviceType),setDevice(deviceType)}keyName="_blockart_device",defaultValue="desktop",_useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(function(){try{var value=window.sessionStorage.getItem(keyName);return value?JSON.parse(value):(window.sessionStorage.setItem(keyName,JSON.stringify(defaultValue)),defaultValue)}catch(err){return defaultValue}}),2),storedValue=_useState2[0],setStoredValue=_useState2[1];var keyName,defaultValue,setStoredValue,_useState2=[storedValue,function(newValue){try{window.sessionStorage.setItem(keyName,JSON.stringify(newValue))}catch(err){}setStoredValue(newValue),window.dispatchEvent(new Event(keyName))}],storedValue=slicedToArray_slicedToArray(_useState2,2),device=storedValue[0],setDevice=storedValue[1],store="site-editor"===window.pagenow?"core/edit-site":"core/edit-post",deviceType=(0,external_wp_data_namespaceObject.useSelect)(function(select){return null!=(select=null==(select=select(store))||null==(select=select.__experimentalGetPreviewDeviceType())?void 0:select.toLowerCase())?select:device},[]),_useState2=((0,external_wp_element_namespaceObject.useEffect)(function(){function reset(){return setDevice("desktop")}return window.addEventListener("load",reset),function(){window.removeEventListener("load",reset)}},[]),(0,external_wp_element_namespaceObject.useMemo)(function(){return function(){return React.createElement("div",{className:"blockart-device-selector"},React.createElement("div",{className:"blockart-devices",role:"group"},Object.entries(DEVICES).map(function(_ref,idx){var _ref=slicedToArray_slicedToArray(_ref,2),deviceKey=_ref[0],_ref=_ref[1];return React.createElement(tooltip,{key:deviceKey+idx,content:_ref,position:"top"},React.createElement("button",{className:classnames_default()("blockart-device",{active:deviceKey===deviceType}),onClick:function(){return setDeviceType(deviceKey)}},React.createElement(components_icon,{type:"controlIcon",name:deviceKey,size:20})))})))}},[deviceType]));return React.createElement(Component,_extends({},props,{deviceType:deviceType,setDeviceType:setDeviceType,deviceSelector:_useState2}))}},"withDeviceType");function with_library_data_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function with_library_data_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?with_library_data_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):with_library_data_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const with_library_data=(0,external_wp_compose_namespaceObject.createHigherOrderComponent)(function(Component){return function(props){function initLibraryData(){var refresh=0<arguments.length&&void 0!==arguments[0]&&arguments[0],timestamp=(new Date).getTime(),expires=libraryData.get("expires"),args=new FormData;args.append("action","blockart_get_library_data"),args.append("security",_BLOCKART_.nonce),args.append("refresh",refresh),("success"!==libraryData.get("status")||refresh||expires&&expires<=timestamp)&&(libraryData.set("status","fetching"),libraryData.set("expires",timestamp+12096e5),external_wp_apiFetch_default()({url:_BLOCKART_.ajaxUrl,method:"POST",credentials:"same-origin",body:args}).then(function(res){var sections;res.success&&(res=JSON.parse(res.data))&&"object"===typeof_typeof(res)?(sections=res.sections,res=res.templates,libraryData.set("sections",sections),libraryData.set("starter-packs",Object.values(res)),libraryData.set("templates",Object.values(res).reduce(function(acc,curr){return acc=[].concat(_toConsumableArray(acc),_toConsumableArray(curr.children.map(function(c){return with_library_data_objectSpread(with_library_data_objectSpread({},c),{},{post_title:curr.post_title+" "+c.post_title})})))},[]).sort(function(a,b){return a.ID-b.ID})),libraryData.set("status","success")):libraryData.set("status","failed")}).catch(function(){libraryData.set("status","failed")}).finally(function(){setLibraryData(_toConsumableArray(libraryData.entries()))}))}var _useLocalStorage2=slicedToArray_slicedToArray(use_local_storage("_blockart_library_data",[]),2),libraryData=_useLocalStorage2[0],setLibraryData=_useLocalStorage2[1],libraryData=new Map(libraryData);return(0,external_wp_element_namespaceObject.useEffect)(function(){initLibraryData()},[]),React.createElement(Component,_extends({},props,{libraryData:libraryData,initLibraryData:initLibraryData}))}},"withLibraryData"),advance_select=(0,external_wp_compose_namespaceObject.compose)([external_wp_compose_namespaceObject.withInstanceId,with_device_type])(function(_ref){var id=_ref.instanceId,_ref$value=_ref.value,value=void 0===_ref$value?{}:_ref$value,_ref$value=_ref.onChange,onChange=void 0===_ref$value?function(){}:_ref$value,_ref$value=_ref.responsive,_ref$value=void 0!==_ref$value&&_ref$value,label=_ref.label,options=_ref.options,_ref$inline=_ref.inline,_ref$inline=void 0!==_ref$inline&&_ref$inline,deviceType=_ref.deviceType,_ref=_ref.deviceSelector;return React.createElement("div",{className:classnames_default()("blockart-control","blockart-advance-select",{"blockart-responsive":_ref$value},{"blockart-inline":!_ref$value&&_ref$inline})},React.createElement("div",{className:"blockart-control-head blockart-advance-select-head"},label&&React.createElement("label",{htmlFor:"blockart-advance-select-".concat(id),className:"blockart-control-label blockart-advance-select-label"},label),_ref$value&&React.createElement(_ref,null)),React.createElement("div",{className:"blockart-control-body blockart-advance-select-body"},React.createElement("div",{className:"blockart-advance-select-items",role:"group"},_ref$value?["desktop","tablet","mobile"].map(function(device){return deviceType===device&&options.map(function(option){return React.createElement("div",{key:option.value,className:"blockart-advance-select-item"},React.createElement(tooltip,{content:option.label,position:"top"},React.createElement("button",{id:"blockart-button-"+option.value,className:classnames_default()("blockart-button",{"is-active":value[device]===option.value}),onClick:function(){onChange(Object.assign({},value,_defineProperty({},device,option.value===value[device]?void 0:option.value)))}},React.createElement(components_icon,{type:"controlIcon",name:option.icon}))))})}):options.map(function(option){return React.createElement("div",{key:option.value,className:"blockart-advance-select-item"},React.createElement(tooltip,{content:option.label,position:"top"},React.createElement("button",{id:"blockart-button-"+option.value,className:classnames_default()("blockart-button","blockart-advance-select-item",{"is-active":value===option.value}),onClick:function(){return onChange(value===option.value?void 0:option.value)}},React.createElement(components_icon,{type:"controlIcon",name:option.icon}))))}))))});function objectSpread2_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?objectSpread2_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):objectSpread2_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const external_React_namespaceObject=window.React;var external_React_default=__webpack_require__.n(external_React_namespaceObject);function useEvent(callback){var fnRef=external_React_namespaceObject.useRef();return fnRef.current=callback,external_React_namespaceObject.useCallback(function(){for(var _fnRef$current,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return null==(_fnRef$current=fnRef.current)?void 0:_fnRef$current.call.apply(_fnRef$current,[fnRef].concat(args))},[])}function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var useLayoutEffect=canUseDom()?external_React_namespaceObject.useLayoutEffect:external_React_namespaceObject.useEffect;const hooks_useLayoutEffect=useLayoutEffect;var Source;function useSafeState(defaultValue){var destroyRef=external_React_namespaceObject.useRef(!1),defaultValue=slicedToArray_slicedToArray(external_React_namespaceObject.useState(defaultValue),2),value=defaultValue[0],setValue=defaultValue[1];return external_React_namespaceObject.useEffect(function(){return destroyRef.current=!1,function(){destroyRef.current=!0}},[]),[value,function(updater,ignoreDestroy){ignoreDestroy&&destroyRef.current||setValue(updater)}]}function useMergedState(defaultStateValue,option){var callback,firstMountRef,option=option||{},defaultValue=option.defaultValue,value=option.value,onChange=option.onChange,option=option.postState,_useState2=slicedToArray_slicedToArray(useSafeState(function(){var finalValue=void 0,source=void 0!==value?(finalValue=value,Source.PROP):void 0!==defaultValue?(finalValue="function"==typeof defaultValue?defaultValue():defaultValue,Source.PROP):(finalValue="function"==typeof defaultStateValue?defaultStateValue():defaultStateValue,Source.INNER);return[finalValue,source,finalValue]}),2),mergedValue=_useState2[0],setMergedValue=_useState2[1],_useState2=void 0!==value?value:mergedValue[0],option=option?option(_useState2):_useState2,changeEventPrevRef=(callback=function(){setMergedValue(function(_ref2){_ref2=slicedToArray_slicedToArray(_ref2,1)[0];return[value,Source.PROP,_ref2]})},_useState2=[value],firstMountRef=external_React_namespaceObject.useRef(!0),useLayoutEffect(function(){if(!firstMountRef.current)return callback()},_useState2),useLayoutEffect(function(){return firstMountRef.current=!1,function(){firstMountRef.current=!0}},[]),external_React_namespaceObject.useRef()),_useState2=useEvent(function(updater,ignoreDestroy){setMergedValue(function(prev){var _prev=slicedToArray_slicedToArray(prev,3),prevValue=_prev[0],prevSource=_prev[1],_prev=_prev[2],nextValue="function"==typeof updater?updater(prevValue):updater;return nextValue===prevValue?prev:(prev=prevSource===Source.INNER&&changeEventPrevRef.current!==_prev?_prev:prevValue,[nextValue,Source.INNER,prev])},ignoreDestroy)}),onChangeFn=useEvent(onChange);return hooks_useLayoutEffect(function(){var _mergedValue=slicedToArray_slicedToArray(mergedValue,3),current=_mergedValue[0],source=_mergedValue[1],_mergedValue=_mergedValue[2];current!==_mergedValue&&source===Source.INNER&&(onChangeFn(current,_mergedValue),changeEventPrevRef.current=_mergedValue)},[mergedValue]),[option,_useState2]}!function(Source){Source[Source.INNER=0]="INNER",Source[Source.PROP=1]="PROP"}(Source=Source||{});var warned={};function warning_warning(valid,message){}function call(method,valid,message){valid||warned[message]||(method(!1,message),warned[message]=!0)}const es_warning=function(valid,message){call(warning_warning,valid,message)};var KeyCode={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var keyCode=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||keyCode>=KeyCode.F1&&keyCode<=KeyCode.F12)return!1;switch(keyCode){case KeyCode.ALT:case KeyCode.CAPS_LOCK:case KeyCode.CONTEXT_MENU:case KeyCode.CTRL:case KeyCode.DOWN:case KeyCode.END:case KeyCode.ESC:case KeyCode.HOME:case KeyCode.INSERT:case KeyCode.LEFT:case KeyCode.MAC_FF_META:case KeyCode.META:case KeyCode.NUMLOCK:case KeyCode.NUM_CENTER:case KeyCode.PAGE_DOWN:case KeyCode.PAGE_UP:case KeyCode.PAUSE:case KeyCode.PRINT_SCREEN:case KeyCode.RIGHT:case KeyCode.SHIFT:case KeyCode.UP:case KeyCode.WIN_KEY:case KeyCode.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(keyCode){if(keyCode>=KeyCode.ZERO&&keyCode<=KeyCode.NINE)return!0;if(keyCode>=KeyCode.NUM_ZERO&&keyCode<=KeyCode.NUM_MULTIPLY)return!0;if(keyCode>=KeyCode.A&&keyCode<=KeyCode.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===keyCode)return!0;switch(keyCode){case KeyCode.SPACE:case KeyCode.QUESTION_MARK:case KeyCode.NUM_PLUS:case KeyCode.NUM_MINUS:case KeyCode.NUM_PERIOD:case KeyCode.NUM_DIVISION:case KeyCode.SEMICOLON:case KeyCode.DASH:case KeyCode.EQUALS:case KeyCode.COMMA:case KeyCode.PERIOD:case KeyCode.SLASH:case KeyCode.APOSTROPHE:case KeyCode.SINGLE_QUOTE:case KeyCode.OPEN_SQUARE_BRACKET:case KeyCode.BACKSLASH:case KeyCode.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};function isMobile(){var agent;return"undefined"!=typeof navigator&&"undefined"!=typeof window&&!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent=navigator.userAgent||navigator.vendor||window.opera)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==agent?void 0:agent.substr(0,4)))}const es_KeyCode=KeyCode;var react_is=__webpack_require__(9864);function useMemo(getValue,condition,shouldUpdate){var cacheRef=external_React_namespaceObject.useRef({});return"value"in cacheRef.current&&!shouldUpdate(cacheRef.current.condition,condition)||(cacheRef.current.value=getValue(),cacheRef.current.condition=condition),cacheRef.current.value}function fillRef(ref,node){"function"==typeof ref?ref(node):"object"===typeof_typeof(ref)&&ref&&"current"in ref&&(ref.current=node)}function composeRef(){for(var _len=arguments.length,refs=new Array(_len),_key=0;_key<_len;_key++)refs[_key]=arguments[_key];var refList=refs.filter(function(ref){return ref});return refList.length<=1?refList[0]:function(node){refs.forEach(function(ref){fillRef(ref,node)})}}function supportRef(nodeOrComponent){var type=((0,react_is.isMemo)(nodeOrComponent)?nodeOrComponent.type:nodeOrComponent).type;return!!("function"!=typeof type||null!=(type=type.prototype)&&type.render)&&!!("function"!=typeof nodeOrComponent||null!=(type=nodeOrComponent.prototype)&&type.render)}function getKey(data,index){var value,key=data.key;return"value"in data&&(value=data.value),null!=key?key:void 0!==value?value:"rc-index-key-".concat(index)}function fillFieldNames(fieldNames,childrenAsData){fieldNames=fieldNames||{};return{label:fieldNames.label||(childrenAsData?"children":"label"),value:fieldNames.value||"value",options:fieldNames.options||"options"}}function flattenOptions(options,argument_1){var argument_1=1<arguments.length&&void 0!==argument_1?argument_1:{},fieldNames=argument_1.fieldNames,childrenAsData=argument_1.childrenAsData,flattenList=[],argument_1=fillFieldNames(fieldNames,!1),fieldLabel=argument_1.label,fieldValue=argument_1.value,fieldOptions=argument_1.options;return function dig(list,isGroupOption){list.forEach(function(data){var grpLabel,label=data[fieldLabel];!isGroupOption&&fieldOptions in data?(void 0===(grpLabel=label)&&childrenAsData&&(grpLabel=data.label),flattenList.push({key:getKey(data,flattenList.length),group:!0,data:data,label:grpLabel}),dig(data[fieldOptions],!0)):(grpLabel=data[fieldValue],flattenList.push({key:getKey(data,flattenList.length),groupOption:isGroupOption,data:data,label:label,value:grpLabel}))})}(options,!1),flattenList}function injectPropsWithOption(option){var newOption=_objectSpread2({},option);return"props"in newOption||Object.defineProperty(newOption,"props",{get:function(){return es_warning(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),newOption}}),newOption}function getSeparatedContent(text,tokens){var match;return tokens&&tokens.length&&(match=!1,text=function separate(str,_ref3){var _ref3=_arrayWithHoles(_ref3)||_iterableToArray(_ref3)||_unsupportedIterableToArray(_ref3)||_nonIterableRest(),token=_ref3[0],restTokens=_ref3.slice(1);return token?(_ref3=str.split(token),match=match||1<_ref3.length,_ref3.reduce(function(prevList,unitStr){return[].concat(_toConsumableArray(prevList),_toConsumableArray(separate(unitStr,restTokens)))},[]).filter(function(unit){return unit})):[str]}(text,tokens),match)?text:null}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1})}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,p){return o.__proto__=p,o})(o,p)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _createSuper(Derived){var hasNativeReflectConstruct=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var NewTarget,Super=_getPrototypeOf(Derived),Super=(NewTarget=hasNativeReflectConstruct?(NewTarget=_getPrototypeOf(this).constructor,Reflect.construct(Super,arguments,NewTarget)):Super.apply(this,arguments),this);if(NewTarget&&("object"===typeof_typeof(NewTarget)||"function"==typeof NewTarget))return NewTarget;if(void 0!==NewTarget)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(Super)}}var index_parse_namespaceObject=window.ReactDOM,external_ReactDOM_default=__webpack_require__.n(index_parse_namespaceObject),raf=function(callback){return+setTimeout(callback,16)},caf=function(num){return clearTimeout(num)},rafUUID=("undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function(callback){return window.requestAnimationFrame(callback)},caf=function(handle){return window.cancelAnimationFrame(handle)}),0),rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var id=rafUUID+=1;return function callRef(leftTimes){var realId;0===leftTimes?(cleanup(id),callback()):(realId=raf(function(){callRef(leftTimes-1)}),rafIds.set(id,realId))}(1<arguments.length&&void 0!==arguments[1]?arguments[1]:1),id}function contains(root,n){return root&&root.contains(n)}function findDOMNode(node){return node instanceof HTMLElement?node:external_ReactDOM_default().findDOMNode(node)}function addEventListenerWrap(target,eventType,cb,option){var callback=external_ReactDOM_default().unstable_batchedUpdates?function(e){external_ReactDOM_default().unstable_batchedUpdates(cb,e)}:cb;return target.addEventListener&&target.addEventListener(eventType,callback,option),{remove:function(){target.removeEventListener&&target.removeEventListener(eventType,callback,option)}}}wrapperRaf.cancel=function(id){id=rafIds.get(id);return cleanup(id),caf(id)};node_namespaceObject=(0,external_React_namespaceObject.forwardRef)(function(props,ref){var didUpdate=props.didUpdate,getContainer=props.getContainer,children=props.children,parentRef=(0,external_React_namespaceObject.useRef)(),containerRef=(0,external_React_namespaceObject.useRef)(),ref=((0,external_React_namespaceObject.useImperativeHandle)(ref,function(){return{}}),(0,external_React_namespaceObject.useRef)(!1));return!ref.current&&canUseDom()&&(containerRef.current=getContainer(),parentRef.current=containerRef.current.parentNode,ref.current=!0),(0,external_React_namespaceObject.useEffect)(function(){null!=didUpdate&&didUpdate(props)}),(0,external_React_namespaceObject.useEffect)(function(){return null===containerRef.current.parentNode&&null!==parentRef.current&&parentRef.current.appendChild(containerRef.current),function(){var _containerRef$current;null!=(_containerRef$current=containerRef.current)&&null!=(_containerRef$current=_containerRef$current.parentNode)&&_containerRef$current.removeChild(containerRef.current)}},[]),containerRef.current?external_ReactDOM_default().createPortal(children,containerRef.current):null});function getAlignPopupClassName(builtinPlacements,prefixCls,align,isAlignPoint){for(var points=align.points,placements=Object.keys(builtinPlacements),i=0;i<placements.length;i+=1){var placement=placements[i];if(function(a1,a2,isAlignPoint){return isAlignPoint?a1[0]===a2[0]:a1[0]===a2[0]&&a1[1]===a2[1]}(builtinPlacements[placement].points,points,isAlignPoint))return"".concat(prefixCls,"-placement-").concat(placement)}return""}function makePrefixMap(styleProp,eventName){var prefixes={};return prefixes[styleProp.toLowerCase()]=eventName.toLowerCase(),prefixes["Webkit".concat(styleProp)]="webkit".concat(eventName),prefixes["Moz".concat(styleProp)]="moz".concat(eventName),prefixes["ms".concat(styleProp)]="MS".concat(eventName),prefixes["O".concat(styleProp)]="o".concat(eventName.toLowerCase()),prefixes}scope_namespaceObject=canUseDom(),identList="undefined"!=typeof window?window:{},external_wp_apiFetch_namespaceObject={animationend:makePrefixMap("Animation","AnimationEnd"),transitionend:makePrefixMap("Transition","TransitionEnd")},scope_namespaceObject&&("AnimationEvent"in identList||delete external_wp_apiFetch_namespaceObject.animationend.animation,"TransitionEvent"in identList||delete external_wp_apiFetch_namespaceObject.transitionend.transition);var vendorPrefixes=external_wp_apiFetch_namespaceObject,style={},prefixedEventNames=(canUseDom()&&(style=document.createElement("div").style),{});function getVendorPrefixedEventName(eventName){if(prefixedEventNames[eventName])return prefixedEventNames[eventName];var prefixMap=vendorPrefixes[eventName];if(prefixMap)for(var stylePropList=Object.keys(prefixMap),len=stylePropList.length,i=0;i<len;i+=1){var styleProp=stylePropList[i];if(Object.prototype.hasOwnProperty.call(prefixMap,styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp],prefixedEventNames[eventName]}return""}var lib_syntax_namespaceObject=getVendorPrefixedEventName("animationend"),index_parse_namespaceObject=getVendorPrefixedEventName("transitionend"),scope_namespaceObject=!(!lib_syntax_namespaceObject||!index_parse_namespaceObject),animationEndName=lib_syntax_namespaceObject||"animationend",transitionEndName=index_parse_namespaceObject||"transitionend";function getTransitionName(transitionName,transitionType){return transitionName?"object"===typeof_typeof(transitionName)?transitionName[transitionType.replace(/-\w/g,function(match){return match[1].toUpperCase()})]:"".concat(transitionName,"-").concat(transitionType):null}var STATUS_NONE="none",STATUS_APPEAR="appear",STATUS_ENTER="enter",STATUS_LEAVE="leave",STEP_PREPARE="prepare",STEP_START="start",STEP_ACTIVE="active",STEP_ACTIVATED="end";function useNextFrame(){var nextFrameRef=external_React_namespaceObject.useRef(null);function cancelNextFrame(){wrapperRaf.cancel(nextFrameRef.current)}return external_React_namespaceObject.useEffect(function(){return function(){cancelNextFrame()}},[]),[function nextFrame(callback){var delay=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2,nextFrameId=(cancelNextFrame(),wrapperRaf(function(){delay<=1?callback({isCanceled:function(){return nextFrameId!==nextFrameRef.current}}):nextFrame(callback,delay-1)}));nextFrameRef.current=nextFrameId},cancelNextFrame]}const hooks_useIsomorphicLayoutEffect=canUseDom()?external_React_namespaceObject.useLayoutEffect:external_React_namespaceObject.useEffect;var STEP_QUEUE=[STEP_PREPARE,STEP_START,STEP_ACTIVE,STEP_ACTIVATED],SkipStep=!1,DoStep=!0;function isActive(step){return step===STEP_ACTIVE||step===STEP_ACTIVATED}const useStepQueue=function(status,callback){var _useState2=slicedToArray_slicedToArray(useSafeState("none"),2),step=_useState2[0],setStep=_useState2[1],_useState2=slicedToArray_slicedToArray(useNextFrame(),2),nextFrame=_useState2[0],cancelNextFrame=_useState2[1];return hooks_useIsomorphicLayoutEffect(function(){var index,nextStep,result;"none"!==step&&step!==STEP_ACTIVATED&&(index=STEP_QUEUE.indexOf(step),nextStep=STEP_QUEUE[index+1],(result=callback(step))===SkipStep?setStep(nextStep,!0):nextFrame(function(info){function doNext(){info.isCanceled()||setStep(nextStep,!0)}!0===result?doNext():Promise.resolve(result).then(doNext)}))},[status,step]),external_React_namespaceObject.useEffect(function(){return function(){cancelNextFrame()}},[]),[function(){setStep(STEP_PREPARE,!0)},step]},useDomMotionEvents=function(callback){var cacheElementRef=(0,external_React_namespaceObject.useRef)(),callbackRef=(0,external_React_namespaceObject.useRef)(callback),onInternalMotionEnd=(callbackRef.current=callback,external_React_namespaceObject.useCallback(function(event){callbackRef.current(event)},[]));function removeMotionEvents(element){element&&(element.removeEventListener(transitionEndName,onInternalMotionEnd),element.removeEventListener(animationEndName,onInternalMotionEnd))}return external_React_namespaceObject.useEffect(function(){return function(){removeMotionEvents(cacheElementRef.current)}},[]),[function(element){cacheElementRef.current&&cacheElementRef.current!==element&&removeMotionEvents(cacheElementRef.current),element&&element!==cacheElementRef.current&&(element.addEventListener(transitionEndName,onInternalMotionEnd),element.addEventListener(animationEndName,onInternalMotionEnd),cacheElementRef.current=element)},removeMotionEvents]};const es_DomWrapper=function(){_inherits(DomWrapper,external_React_namespaceObject.Component);var _super=_createSuper(DomWrapper);function DomWrapper(){return _classCallCheck(this,DomWrapper),_super.apply(this,arguments)}return _createClass(DomWrapper,[{key:"render",value:function(){return this.props.children}}]),DomWrapper}();const es_CSSMotion=function(config){var transitionSupport=config;function isSupportTransition(props){return!(!props.motionName||!transitionSupport)}return"object"===typeof_typeof(config)&&(transitionSupport=config.transitionSupport),(config=external_React_namespaceObject.forwardRef(function(props,ref){var _props$visible=props.visible,_props$visible=void 0===_props$visible||_props$visible,_props$removeOnLeave=props.removeOnLeave,_props$removeOnLeave=void 0===_props$removeOnLeave||_props$removeOnLeave,forceRender=props.forceRender,children=props.children,motionName=props.motionName,leavedClassName=props.leavedClassName,eventProps=props.eventProps,supportMotion=isSupportTransition(props),nodeRef=(0,external_React_namespaceObject.useRef)(),wrapperNodeRef=(0,external_React_namespaceObject.useRef)();var statusSuffix,supportMotion=function(supportMotion,visible,getElement,_ref){var motionEnter=void 0===(_ref$motionEnter=_ref.motionEnter)||_ref$motionEnter,motionAppear=void 0===(_ref$motionEnter=_ref.motionAppear)||_ref$motionEnter,motionLeave=void 0===(_ref$motionEnter=_ref.motionLeave)||_ref$motionEnter,motionDeadline=_ref.motionDeadline,motionLeaveImmediately=_ref.motionLeaveImmediately,onAppearPrepare=_ref.onAppearPrepare,onEnterPrepare=_ref.onEnterPrepare,onLeavePrepare=_ref.onLeavePrepare,onAppearStart=_ref.onAppearStart,onEnterStart=_ref.onEnterStart,onLeaveStart=_ref.onLeaveStart,onAppearActive=_ref.onAppearActive,onEnterActive=_ref.onEnterActive,onLeaveActive=_ref.onLeaveActive,onAppearEnd=_ref.onAppearEnd,onEnterEnd=_ref.onEnterEnd,onLeaveEnd=_ref.onLeaveEnd,onVisibleChanged=_ref.onVisibleChanged,asyncVisible=(_ref$motionEnter=slicedToArray_slicedToArray(useSafeState(),2))[0],setAsyncVisible=_ref$motionEnter[1],status=(_ref=slicedToArray_slicedToArray(useSafeState(STATUS_NONE),2))[0],setStatus=_ref[1],_ref=(_ref$motionEnter=slicedToArray_slicedToArray(useSafeState(null),2))[0],setStyle=_ref$motionEnter[1],mountedRef=(0,external_React_namespaceObject.useRef)(!1),deadlineRef=(0,external_React_namespaceObject.useRef)(null),activeRef=(0,external_React_namespaceObject.useRef)(!1);function onInternalMotionEnd(event){var currentActive,canEnd,element=getElement();event&&!event.deadline&&event.target!==element||(currentActive=activeRef.current,status===STATUS_APPEAR&¤tActive?canEnd=null==onAppearEnd?void 0:onAppearEnd(element,event):status===STATUS_ENTER&¤tActive?canEnd=null==onEnterEnd?void 0:onEnterEnd(element,event):status===STATUS_LEAVE&¤tActive&&(canEnd=null==onLeaveEnd?void 0:onLeaveEnd(element,event)),status!==STATUS_NONE&¤tActive&&!1!==canEnd&&(setStatus(STATUS_NONE,!0),setStyle(null,!0)))}var patchMotionEvents=slicedToArray_slicedToArray(useDomMotionEvents(onInternalMotionEnd),1)[0],eventHandlers=external_React_namespaceObject.useMemo(function(){var _ref2;switch(status){case STATUS_APPEAR:return _defineProperty(_ref2={},STEP_PREPARE,onAppearPrepare),_defineProperty(_ref2,STEP_START,onAppearStart),_defineProperty(_ref2,STEP_ACTIVE,onAppearActive),_ref2;case STATUS_ENTER:return _defineProperty(_ref2={},STEP_PREPARE,onEnterPrepare),_defineProperty(_ref2,STEP_START,onEnterStart),_defineProperty(_ref2,STEP_ACTIVE,onEnterActive),_ref2;case STATUS_LEAVE:return _defineProperty(_ref2={},STEP_PREPARE,onLeavePrepare),_defineProperty(_ref2,STEP_START,onLeaveStart),_defineProperty(_ref2,STEP_ACTIVE,onLeaveActive),_ref2;default:return{}}},[status]),startStep=(_ref$motionEnter=slicedToArray_slicedToArray(useStepQueue(status,function(newStep){return newStep===STEP_PREPARE?(newStep=eventHandlers[STEP_PREPARE])?newStep(getElement()):SkipStep:(step in eventHandlers&&setStyle((null==(newStep=eventHandlers[step])?void 0:newStep.call(eventHandlers,getElement(),null))||null),step===STEP_ACTIVE&&(patchMotionEvents(getElement()),0<motionDeadline&&(clearTimeout(deadlineRef.current),deadlineRef.current=setTimeout(function(){onInternalMotionEnd({deadline:!0})},motionDeadline))),DoStep)}),2))[0],step=_ref$motionEnter[1],_ref$motionEnter=isActive(step),firstMountChangeRef=(activeRef.current=_ref$motionEnter,hooks_useIsomorphicLayoutEffect(function(){setAsyncVisible(visible);var nextStatus,isMounted=mountedRef.current;mountedRef.current=!0,supportMotion&&(!isMounted&&visible&&motionAppear&&(nextStatus=STATUS_APPEAR),isMounted&&visible&&motionEnter&&(nextStatus=STATUS_ENTER),(nextStatus=isMounted&&!visible&&motionLeave||!isMounted&&motionLeaveImmediately&&!visible&&motionLeave?STATUS_LEAVE:nextStatus)&&(setStatus(nextStatus),startStep()))},[visible]),(0,external_React_namespaceObject.useEffect)(function(){(status===STATUS_APPEAR&&!motionAppear||status===STATUS_ENTER&&!motionEnter||status===STATUS_LEAVE&&!motionLeave)&&setStatus(STATUS_NONE)},[motionAppear,motionEnter,motionLeave]),(0,external_React_namespaceObject.useEffect)(function(){return function(){mountedRef.current=!1,clearTimeout(deadlineRef.current)}},[]),external_React_namespaceObject.useRef(!1)),_ref$motionEnter=((0,external_React_namespaceObject.useEffect)(function(){asyncVisible&&(firstMountChangeRef.current=!0),void 0!==asyncVisible&&status===STATUS_NONE&&((firstMountChangeRef.current||asyncVisible)&&null!=onVisibleChanged&&onVisibleChanged(asyncVisible),firstMountChangeRef.current=!0)},[asyncVisible,status]),_ref);return eventHandlers[STEP_PREPARE]&&step===STEP_START&&(_ref$motionEnter=_objectSpread2({transition:"none"},_ref$motionEnter)),[status,step,_ref$motionEnter,null!=asyncVisible?asyncVisible:visible]}(supportMotion,_props$visible,function(){try{return nodeRef.current instanceof HTMLElement?nodeRef.current:findDOMNode(wrapperNodeRef.current)}catch(e){return null}},props),supportMotion=slicedToArray_slicedToArray(supportMotion,4),status=supportMotion[0],statusStep=supportMotion[1],statusStyle=supportMotion[2],supportMotion=supportMotion[3],renderedRef=external_React_namespaceObject.useRef(supportMotion),setNodeRef=(supportMotion&&(renderedRef.current=!0),external_React_namespaceObject.useCallback(function(node){nodeRef.current=node,fillRef(ref,node)},[ref])),eventProps=_objectSpread2(_objectSpread2({},eventProps),{},{visible:_props$visible}),props=children?status!==STATUS_NONE&&isSupportTransition(props)?(statusStep===STEP_PREPARE?statusSuffix="prepare":isActive(statusStep)?statusSuffix="active":statusStep===STEP_START&&(statusSuffix="start"),children(_objectSpread2(_objectSpread2({},eventProps),{},{className:classnames_default()(getTransitionName(motionName,status),(_defineProperty(_props$visible={},getTransitionName(motionName,"".concat(status,"-").concat(statusSuffix)),statusSuffix),_defineProperty(_props$visible,motionName,"string"==typeof motionName),_props$visible)),style:statusStyle}),setNodeRef)):supportMotion?children(_objectSpread2({},eventProps),setNodeRef):!_props$removeOnLeave&&renderedRef.current?children(_objectSpread2(_objectSpread2({},eventProps),{},{className:leavedClassName}),setNodeRef):forceRender?children(_objectSpread2(_objectSpread2({},eventProps),{},{style:{display:"none"}}),setNodeRef):null:null;return external_React_namespaceObject.isValidElement(props)&&supportRef(props)&&(props.ref||(props=external_React_namespaceObject.cloneElement(props,{ref:setNodeRef}))),external_React_namespaceObject.createElement(es_DomWrapper,{ref:wrapperNodeRef},props)})).displayName="CSSMotion",config}(scope_namespaceObject);var STATUS_ADD="add",STATUS_KEEP="keep",STATUS_REMOVE="remove";function wrapKeyToObject(key){key=key&&"object"===typeof_typeof(key)&&"key"in key?key:{key:key};return _objectSpread2(_objectSpread2({},key),{},{key:String(key.key)})}function parseKeys(argument_0){return(0<arguments.length&&void 0!==argument_0?argument_0:[]).map(wrapKeyToObject)}var CSSMotionList_excluded=["component","children","onVisibleChanged","onAllRemoved"],_excluded2=["status"],MOTION_PROP_NAMES=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var dist_web_vendorPrefix;!function(transitionSupport,argument_1){var CSSMotion=1<arguments.length&&void 0!==argument_1?argument_1:es_CSSMotion,argument_1=function(){_inherits(CSSMotionList,external_React_namespaceObject.Component);var _super=_createSuper(CSSMotionList);function CSSMotionList(){var _this;_classCallCheck(this,CSSMotionList);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).state={keyEntities:[]},_this.removeKey=function(removeKey){var nextKeyEntities=_this.state.keyEntities.map(function(entity){return entity.key!==removeKey?entity:_objectSpread2(_objectSpread2({},entity),{},{status:"removed"})});return _this.setState({keyEntities:nextKeyEntities}),nextKeyEntities.filter(function(_ref){return"removed"!==_ref.status}).length},_this}return _createClass(CSSMotionList,[{key:"render",value:function(){var _this2=this,keyEntities=this.state.keyEntities,_this$props=this.props,component=_this$props.component,children=_this$props.children,_onVisibleChanged=_this$props.onVisibleChanged,onAllRemoved=_this$props.onAllRemoved,restProps=_objectWithoutProperties(_this$props,CSSMotionList_excluded),_this$props=component||external_React_namespaceObject.Fragment,motionProps={};return MOTION_PROP_NAMES.forEach(function(prop){motionProps[prop]=restProps[prop],delete restProps[prop]}),delete restProps.keys,external_React_namespaceObject.createElement(_this$props,restProps,keyEntities.map(function(_ref2){var status=_ref2.status,eventProps=_objectWithoutProperties(_ref2,_excluded2),_ref2=status===STATUS_ADD||status===STATUS_KEEP;return external_React_namespaceObject.createElement(CSSMotion,_extends({},motionProps,{key:eventProps.key,visible:_ref2,eventProps:eventProps,onVisibleChanged:function(changedVisible){null!=_onVisibleChanged&&_onVisibleChanged(changedVisible,{key:eventProps.key}),changedVisible||0===_this2.removeKey(eventProps.key)&&onAllRemoved&&onAllRemoved()}}),children)}))}}],[{key:"getDerivedStateFromProps",value:function(_ref3,_ref4){var _ref3=_ref3.keys,keyEntities=_ref4.keyEntities,_ref4=parseKeys(_ref3);return{keyEntities:function(argument_0,argument_1){var argument_0=0<arguments.length&&void 0!==argument_0?argument_0:[],argument_1=1<arguments.length&&void 0!==argument_1?argument_1:[],list=[],currentIndex=0,currentLen=argument_1.length,argument_0=parseKeys(argument_0),currentKeyObjects=parseKeys(argument_1),keys=(argument_0.forEach(function(keyObj){for(var hit=!1,i=currentIndex;i<currentLen;i+=1){var currentKeyObj=currentKeyObjects[i];if(currentKeyObj.key===keyObj.key){currentIndex<i&&(list=list.concat(currentKeyObjects.slice(currentIndex,i).map(function(obj){return _objectSpread2(_objectSpread2({},obj),{},{status:STATUS_ADD})})),currentIndex=i),list.push(_objectSpread2(_objectSpread2({},currentKeyObj),{},{status:STATUS_KEEP})),currentIndex+=1,hit=!0;break}}hit||list.push(_objectSpread2(_objectSpread2({},keyObj),{},{status:STATUS_REMOVE}))}),currentIndex<currentLen&&(list=list.concat(currentKeyObjects.slice(currentIndex).map(function(obj){return _objectSpread2(_objectSpread2({},obj),{},{status:STATUS_ADD})}))),{});return list.forEach(function(_ref){_ref=_ref.key;keys[_ref]=(keys[_ref]||0)+1}),Object.keys(keys).filter(function(key){return 1<keys[key]}).forEach(function(matchKey){(list=list.filter(function(_ref2){var key=_ref2.key,_ref2=_ref2.status;return key!==matchKey||_ref2!==STATUS_REMOVE})).forEach(function(node){node.key===matchKey&&(node.status=STATUS_KEEP)})}),list}(keyEntities,_ref4).filter(function(entity){var prevEntity=keyEntities.find(function(_ref5){_ref5=_ref5.key;return entity.key===_ref5});return!prevEntity||"removed"!==prevEntity.status||entity.status!==STATUS_REMOVE})}}}]),CSSMotionList}();argument_1.defaultProps={component:"div"}}(scope_namespaceObject);const es=es_CSSMotion;function getMotion(_ref){var prefixCls=_ref.prefixCls,motion=_ref.motion,animation=_ref.animation,_ref=_ref.transitionName;return motion||(animation?{motionName:"".concat(prefixCls,"-").concat(animation)}:_ref?{motionName:_ref}:null)}function Mask(props){var prefixCls=props.prefixCls,visible=props.visible,zIndex=props.zIndex,mask=props.mask,maskMotion=props.maskMotion,maskAnimation=props.maskAnimation,props=props.maskTransitionName;return mask?(mask={},(maskMotion||props||maskAnimation)&&(mask=_objectSpread2({motionAppear:!0},getMotion({motion:maskMotion,prefixCls:prefixCls,transitionName:props,animation:maskAnimation}))),external_React_namespaceObject.createElement(es,_extends({},mask,{visible:visible,removeOnLeave:!0}),function(_ref){_ref=_ref.className;return external_React_namespaceObject.createElement("div",{style:{zIndex:zIndex},className:classnames_default()("".concat(prefixCls,"-mask"),_ref)})})):null}function dist_web_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function dist_web_objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?dist_web_ownKeys(Object(source),!0).forEach(function(key){!function(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value}(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):dist_web_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function dist_web_typeof(obj){return(dist_web_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})(obj)}var jsCssMap={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function dist_web_getVendorPrefix(){if(void 0===dist_web_vendorPrefix){dist_web_vendorPrefix="";var key,style=document.createElement("p").style;for(key in jsCssMap)key+"Transform"in style&&(dist_web_vendorPrefix=key)}return dist_web_vendorPrefix}function dist_web_getTransitionName(){return dist_web_getVendorPrefix()?"".concat(dist_web_getVendorPrefix(),"TransitionProperty"):"transitionProperty"}function getTransformName(){return dist_web_getVendorPrefix()?"".concat(dist_web_getVendorPrefix(),"Transform"):"transform"}function setTransitionProperty(node,value){var name=dist_web_getTransitionName();name&&(node.style[name]=value,"transitionProperty"!==name&&(node.style.transitionProperty=value))}function setTransform(node,value){var name=getTransformName();name&&(node.style[name]=value,"transform"!==name&&(node.style.transform=value))}var getComputedStyleX,matrix2d=/matrix\((.*)\)/,matrix3d=/matrix3d\((.*)\)/;function forceRelayout(elem){var originalStyle=elem.style.display;elem.style.display="none",elem.offsetHeight,elem.style.display=originalStyle}function css(el,name,v){if("object"===dist_web_typeof(name))for(var i in name)name.hasOwnProperty(i)&&css(el,i,name[i]);else{if(void 0===v)return getComputedStyleX(el,name);"number"==typeof v&&(v="".concat(v,"px")),el.style[name]=v}}function getScroll(w,top){var ret=w["page".concat(top?"Y":"X","Offset")],top="scroll".concat(top?"Top":"Left");return ret="number"!=typeof ret&&"number"!=typeof(ret=(w=w.document).documentElement[top])?w.body[top]:ret}function getScrollLeft(w){return getScroll(w)}function getScrollTop(w){return getScroll(w,!0)}function getOffset(el){var pos=function(elem){var body=(doc=elem.ownerDocument).body,doc=doc&&doc.documentElement,elem=elem.getBoundingClientRect(),x=Math.floor(elem.left),elem=Math.floor(elem.top);return{left:x-=doc.clientLeft||body.clientLeft||0,top:elem-=doc.clientTop||body.clientTop||0}}(el),el=el.ownerDocument,el=el.defaultView||el.parentWindow;return pos.left+=getScrollLeft(el),pos.top+=getScrollTop(el),pos}function isWindow(obj){return null!=obj&&obj==obj.window}function getDocument(node){return isWindow(node)?node.document:9===node.nodeType?node:node.ownerDocument}var _RE_NUM_NO_PX=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),RE_POS=/^(top|right|bottom|left)$/;function getOffsetDirection(dir,option){return"left"===dir?option.useCssRight?"right":dir:option.useCssBottom?"bottom":dir}function oppositeOffsetDirection(dir){return"left"===dir?"right":"right"===dir?"left":"top"===dir?"bottom":"bottom"===dir?"top":void 0}function setLeftTop(elem,offset,option){"static"===css(elem,"position")&&(elem.style.position="relative");var node,key,dir,preset,off,presetH=-999,presetV=-999,horizontalProperty=getOffsetDirection("left",option),verticalProperty=getOffsetDirection("top",option),oppositeHorizontalProperty=oppositeOffsetDirection(horizontalProperty),oppositeVerticalProperty=oppositeOffsetDirection(verticalProperty),originalTransition=("left"!==horizontalProperty&&(presetH=999),"top"!==verticalProperty&&(presetV=999),""),originalOffset=getOffset(elem),old=(("left"in offset||"top"in offset)&&(originalTransition=(node=elem).style.transitionProperty||node.style[dist_web_getTransitionName()]||"",setTransitionProperty(elem,"none")),"left"in offset&&(elem.style[oppositeHorizontalProperty]="",elem.style[horizontalProperty]="".concat(presetH,"px")),"top"in offset&&(elem.style[oppositeVerticalProperty]="",elem.style[verticalProperty]="".concat(presetV,"px")),forceRelayout(elem),getOffset(elem)),originalStyle={};for(key in offset)offset.hasOwnProperty(key)&&(dir=getOffsetDirection(key,option),preset="left"===key?presetH:presetV,off=originalOffset[key]-old[key],originalStyle[dir]=dir===key?preset+off:preset-off);css(elem,originalStyle),forceRelayout(elem),("left"in offset||"top"in offset)&&setTransitionProperty(elem,originalTransition);var _key,_dir,_off,ret={};for(_key in offset)offset.hasOwnProperty(_key)&&(_dir=getOffsetDirection(_key,option),_off=offset[_key]-originalOffset[_key],ret[_dir]=_key===_dir?originalStyle[_dir]+_off:originalStyle[_dir]-_off);css(elem,ret)}function setTransform$1(elem,offset){var originalOffset=getOffset(elem),node=(node=elem,(node=(node=window.getComputedStyle(node,null)).getPropertyValue("transform")||node.getPropertyValue(getTransformName()))&&"none"!==node?(node=node.replace(/[^0-9\-.,]/g,"").split(","),{x:parseFloat(node[12]||node[4],0),y:parseFloat(node[13]||node[5],0)}):{x:0,y:0}),resultXY={x:node.x,y:node.y};"left"in offset&&(resultXY.x=node.x+offset.left-originalOffset.left),"top"in offset&&(resultXY.y=node.y+offset.top-originalOffset.top),function(node,xy){var match2d,arr,style=window.getComputedStyle(node,null);(style=style.getPropertyValue("transform")||style.getPropertyValue(getTransformName()))&&"none"!==style?(match2d=style.match(matrix2d))?((arr=(match2d=match2d[1]).split(",").map(function(item){return parseFloat(item,10)}))[4]=xy.x,arr[5]=xy.y,setTransform(node,"matrix(".concat(arr.join(","),")"))):((arr=style.match(matrix3d)[1].split(",").map(function(item){return parseFloat(item,10)}))[12]=xy.x,arr[13]=xy.y,setTransform(node,"matrix3d(".concat(arr.join(","),")"))):setTransform(node,"translateX(".concat(xy.x,"px) translateY(").concat(xy.y,"px) translateZ(0)"))}(elem,resultXY)}function each(arr,fn){for(var i=0;i<arr.length;i++)fn(arr[i])}function isBorderBoxFn(elem){return"border-box"===getComputedStyleX(elem,"boxSizing")}"undefined"!=typeof window&&(getComputedStyleX=window.getComputedStyle?function(elem,name,cs){var val="",d=getDocument(elem);return val=(cs=cs||d.defaultView.getComputedStyle(elem,null))?cs.getPropertyValue(name)||cs[name]:val}:function(elem,name){var style,left,rsLeft,ret=elem.currentStyle&&elem.currentStyle[name];return _RE_NUM_NO_PX.test(ret)&&!RE_POS.test(name)&&(left=(style=elem.style).left,rsLeft=elem.runtimeStyle.left,elem.runtimeStyle.left=elem.currentStyle.left,style.left="fontSize"===name?"1em":ret||0,ret=style.pixelLeft+"px",style.left=left,elem.runtimeStyle.left=rsLeft),""===ret?"auto":ret});var BOX_MODELS=["margin","border","padding"],CONTENT_INDEX=-1,PADDING_INDEX=2,BORDER_INDEX=1;function getPBMWidth(elem,props,which){for(var prop,i,value=0,j=0;j<props.length;j++)if(prop=props[j])for(i=0;i<which.length;i++){var cssProp=void 0,cssProp="border"===prop?"".concat(prop).concat(which[i],"Width"):prop+which[i];value+=parseFloat(getComputedStyleX(elem,cssProp))||0}return value}var domUtils={getParent:function(element){for(var parent=element;(parent=11===parent.nodeType&&parent.host?parent.host:parent.parentNode)&&1!==parent.nodeType&&9!==parent.nodeType;);return parent}};function getWH(elem,name,ex){var which,isBorderBox,cssBoxValue,borderBoxValue;return isWindow(elem)?"width"===name?domUtils.viewportWidth(elem):domUtils.viewportHeight(elem):9===elem.nodeType?"width"===name?domUtils.docWidth(elem):domUtils.docHeight(elem):(which="width"===name?["Left","Right"]:["Top","Bottom"],borderBoxValue="width"===name?Math.floor(elem.getBoundingClientRect().width):Math.floor(elem.getBoundingClientRect().height),isBorderBox=isBorderBoxFn(elem),cssBoxValue=0,(null==borderBoxValue||borderBoxValue<=0)&&(borderBoxValue=void 0,(null==(cssBoxValue=getComputedStyleX(elem,name))||Number(cssBoxValue)<0)&&(cssBoxValue=elem.style[name]||0),cssBoxValue=parseFloat(cssBoxValue)||0),name=void 0!==borderBoxValue||isBorderBox,borderBoxValue=borderBoxValue||cssBoxValue,(ex=void 0===ex?isBorderBox?BORDER_INDEX:CONTENT_INDEX:ex)===CONTENT_INDEX?name?borderBoxValue-getPBMWidth(elem,["border","padding"],which):cssBoxValue:name?ex===BORDER_INDEX?borderBoxValue:borderBoxValue+(ex===PADDING_INDEX?-getPBMWidth(elem,["border"],which):getPBMWidth(elem,["margin"],which)):cssBoxValue+getPBMWidth(elem,BOX_MODELS.slice(ex),which))}each(["Width","Height"],function(name){domUtils["doc".concat(name)]=function(refWin){refWin=refWin.document;return Math.max(refWin.documentElement["scroll".concat(name)],refWin.body["scroll".concat(name)],domUtils["viewport".concat(name)](refWin))},domUtils["viewport".concat(name)]=function(win){var prop="client".concat(name),win=win.document,body=win.body,documentElementProp=win.documentElement[prop];return"CSS1Compat"===win.compatMode&&documentElementProp||body&&body[prop]||documentElementProp}});var cssShow={position:"absolute",visibility:"hidden",display:"block"};function getWHIgnoreDisplay(){for(var val,_len=arguments.length,args=new Array(_len),_key2=0;_key2<_len;_key2++)args[_key2]=arguments[_key2];var elem=args[0];return 0!==elem.offsetWidth?val=getWH.apply(void 0,args):function(elem,options,callback){var name,old={},style=elem.style;for(name in options)options.hasOwnProperty(name)&&(old[name]=style[name],style[name]=options[name]);for(name in callback.call(elem),options)options.hasOwnProperty(name)&&(style[name]=old[name])}(elem,cssShow,function(){val=getWH.apply(void 0,args)}),val}function dist_web_mix(to,from){for(var i in from)from.hasOwnProperty(i)&&(to[i]=from[i]);return to}each(["width","height"],function(name){var first=name.charAt(0).toUpperCase()+name.slice(1),which=(domUtils["outer".concat(first)]=function(el,includeMargin){return el&&getWHIgnoreDisplay(el,name,includeMargin?0:BORDER_INDEX)},"width"===name?["Left","Right"]:["Top","Bottom"]);domUtils[name]=function(elem,v){return void 0!==v?elem?(isBorderBoxFn(elem)&&(v+=getPBMWidth(elem,["padding","border"],which)),css(elem,name,v)):void 0:elem&&getWHIgnoreDisplay(elem,name,CONTENT_INDEX)}});var utils={getWindow:function(node){return node&&node.document&&node.setTimeout?node:(node=node.ownerDocument||node).defaultView||node.parentWindow},getDocument:getDocument,offset:function(el,value,option){if(void 0===value)return getOffset(el);!function(elem,offset,option){if(option.ignoreShake){var oriOffset=getOffset(elem),oLeft=oriOffset.left.toFixed(0),oriOffset=oriOffset.top.toFixed(0),tLeft=offset.left.toFixed(0),tTop=offset.top.toFixed(0);if(oLeft===tLeft&&oriOffset===tTop)return}!option.useCssRight&&!option.useCssBottom&&option.useCssTransform&&getTransformName()in document.body.style?setTransform$1(elem,offset):setLeftTop(elem,offset,option)}(el,value,option||{})},isWindow:isWindow,each:each,css:css,clone:function(obj){var i,ret={};for(i in obj)obj.hasOwnProperty(i)&&(ret[i]=obj[i]);if(obj.overflow)for(i in obj)obj.hasOwnProperty(i)&&(ret.overflow[i]=obj.overflow[i]);return ret},mix:dist_web_mix,getWindowScrollLeft:getScrollLeft,getWindowScrollTop:getScrollTop,merge:function(){for(var ret={},i=0;i<arguments.length;i++)utils.mix(ret,i<0||arguments.length<=i?void 0:arguments[i]);return ret},viewportWidth:0,viewportHeight:0},getParent=(dist_web_mix(utils,domUtils),utils.getParent);function getOffsetParent(element){if(!utils.isWindow(element)&&9!==element.nodeType){var parent,body=utils.getDocument(element).body,positionStyle=utils.css(element,"position");if(!("fixed"===positionStyle||"absolute"===positionStyle))return"html"===element.nodeName.toLowerCase()?null:getParent(element);for(parent=getParent(element);parent&&parent!==body&&9!==parent.nodeType;parent=getParent(parent))if("static"!==(positionStyle=utils.css(parent,"position")))return parent}return null}var getParent$1=utils.getParent;function getVisibleRectForElement(element,alwaysByViewport){for(var visibleRect={left:0,right:1/0,top:0,bottom:1/0},el=getOffsetParent(element),doc=utils.getDocument(element),win=doc.defaultView||doc.parentWindow,body=doc.body,documentElement=doc.documentElement;el;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===el.clientWidth||el===body||el===documentElement||"visible"===utils.css(el,"overflow")){if(el===body||el===documentElement)break}else{var pos=utils.offset(el);pos.left+=el.clientLeft,pos.top+=el.clientTop,visibleRect.top=Math.max(visibleRect.top,pos.top),visibleRect.right=Math.min(visibleRect.right,pos.left+el.clientWidth),visibleRect.bottom=Math.min(visibleRect.bottom,pos.top+el.clientHeight),visibleRect.left=Math.max(visibleRect.left,pos.left)}el=getOffsetParent(el)}var doc=null,scrollX=(utils.isWindow(element)||9===element.nodeType||(doc=element.style.position,"absolute"===utils.css(element,"position")&&(element.style.position="fixed")),utils.getWindowScrollLeft(win)),scrollY=utils.getWindowScrollTop(win),viewportWidth=utils.viewportWidth(win),viewportHeight=utils.viewportHeight(win),documentWidth=documentElement.scrollWidth,documentHeight=documentElement.scrollHeight,bodyStyle=window.getComputedStyle(body);return"hidden"===bodyStyle.overflowX&&(documentWidth=win.innerWidth),"hidden"===bodyStyle.overflowY&&(documentHeight=win.innerHeight),element.style&&(element.style.position=doc),alwaysByViewport||function(element){if(!utils.isWindow(element)&&9!==element.nodeType)for(var doc=utils.getDocument(element),body=doc.body,parent=null,parent=getParent$1(element);parent&&parent!==body&&parent!==doc;parent=getParent$1(parent))if("fixed"===utils.css(parent,"position"))return 1}(element)?(visibleRect.left=Math.max(visibleRect.left,scrollX),visibleRect.top=Math.max(visibleRect.top,scrollY),visibleRect.right=Math.min(visibleRect.right,scrollX+viewportWidth),visibleRect.bottom=Math.min(visibleRect.bottom,scrollY+viewportHeight)):(bodyStyle=Math.max(documentWidth,scrollX+viewportWidth),visibleRect.right=Math.min(visibleRect.right,bodyStyle),win=Math.max(documentHeight,scrollY+viewportHeight),visibleRect.bottom=Math.min(visibleRect.bottom,win)),0<=visibleRect.top&&0<=visibleRect.left&&visibleRect.bottom>visibleRect.top&&visibleRect.right>visibleRect.left?visibleRect:null}function getRegion(node){var offset,w,win;return win=utils.isWindow(node)||9===node.nodeType?(win=utils.getWindow(node),offset={left:utils.getWindowScrollLeft(win),top:utils.getWindowScrollTop(win)},w=utils.viewportWidth(win),utils.viewportHeight(win)):(offset=utils.offset(node),w=utils.outerWidth(node),utils.outerHeight(node)),offset.width=w,offset.height=win,offset}function getAlignOffset(region,align){var V=align.charAt(0),align=align.charAt(1),w=region.width,h=region.height,x=region.left,region=region.top;return"c"===V?region+=h/2:"b"===V&&(region+=h),"c"===align?x+=w/2:"r"===align&&(x+=w),{left:x,top:region}}function getElFuturePos(elRegion,refNodeRegion,points,offset,targetOffset){refNodeRegion=getAlignOffset(refNodeRegion,points[1]),points=getAlignOffset(elRegion,points[0]),points=[points.left-refNodeRegion.left,points.top-refNodeRegion.top];return{left:Math.round(elRegion.left-points[0]+offset[0]-targetOffset[0]),top:Math.round(elRegion.top-points[1]+offset[1]-targetOffset[1])}}function isFailX(elFuturePos,elRegion,visibleRect){return elFuturePos.left<visibleRect.left||elFuturePos.left+elRegion.width>visibleRect.right}function isFailY(elFuturePos,elRegion,visibleRect){return elFuturePos.top<visibleRect.top||elFuturePos.top+elRegion.height>visibleRect.bottom}function flip(points,reg,map){var ret=[];return utils.each(points,function(p){ret.push(p.replace(reg,function(m){return map[m]}))}),ret}function flipOffset(offset,index){return offset[index]=-offset[index],offset}function convertOffset(str,offsetLen){offsetLen=/%$/.test(str)?parseInt(str.substring(0,str.length-1),10)/100*offsetLen:parseInt(str,10);return offsetLen||0}function normalizeOffset(offset,el){offset[0]=convertOffset(offset[0],el.width),offset[1]=convertOffset(offset[1],el.height)}function doAlign(el,tgtRegion,align,isTgtRegionVisible){var newOffset,newTargetOffset,points=align.points,offset=align.offset||[0,0],targetOffset=align.targetOffset||[0,0],overflow=align.overflow,el=align.source||el,offset=[].concat(offset),targetOffset=[].concat(targetOffset),newOverflowCfg={},fail=0,visibleRect=getVisibleRectForElement(el,!(!(overflow=overflow||{})||!overflow.alwaysByViewport)),elRegion=getRegion(el),elFuturePos=(normalizeOffset(offset,elRegion),normalizeOffset(targetOffset,tgtRegion),getElFuturePos(elRegion,tgtRegion,points,offset,targetOffset)),newElRegion=utils.merge(elRegion,elFuturePos);return visibleRect&&(overflow.adjustX||overflow.adjustY)&&isTgtRegionVisible&&(overflow.adjustX&&isFailX(elFuturePos,elRegion,visibleRect)&&!function(elFuturePos,elRegion,visibleRect){return elFuturePos.left>visibleRect.right||elFuturePos.left+elRegion.width<visibleRect.left}(getElFuturePos(elRegion,tgtRegion,isTgtRegionVisible=flip(points,/[lr]/gi,{l:"r",r:"l"}),newOffset=flipOffset(offset,0),newTargetOffset=flipOffset(targetOffset,0)),elRegion,visibleRect)&&(fail=1,points=isTgtRegionVisible,offset=newOffset,targetOffset=newTargetOffset),overflow.adjustY&&isFailY(elFuturePos,elRegion,visibleRect)&&!function(elFuturePos,elRegion,visibleRect){return elFuturePos.top>visibleRect.bottom||elFuturePos.top+elRegion.height<visibleRect.top}(getElFuturePos(elRegion,tgtRegion,isTgtRegionVisible=flip(points,/[tb]/gi,{t:"b",b:"t"}),newOffset=flipOffset(offset,1),newTargetOffset=flipOffset(targetOffset,1)),elRegion,visibleRect)&&(fail=1,points=isTgtRegionVisible,offset=newOffset,targetOffset=newTargetOffset),fail&&(elFuturePos=getElFuturePos(elRegion,tgtRegion,points,offset,targetOffset),utils.mix(newElRegion,elFuturePos)),isTgtRegionVisible=isFailX(elFuturePos,elRegion,visibleRect),newOffset=isFailY(elFuturePos,elRegion,visibleRect),(isTgtRegionVisible||newOffset)&&(newTargetOffset=points,isTgtRegionVisible&&(newTargetOffset=flip(points,/[lr]/gi,{l:"r",r:"l"})),points=newTargetOffset=newOffset?flip(points,/[tb]/gi,{t:"b",b:"t"}):newTargetOffset,offset=align.offset||[0,0],targetOffset=align.targetOffset||[0,0]),newOverflowCfg.adjustX=overflow.adjustX&&isTgtRegionVisible,newOverflowCfg.adjustY=overflow.adjustY&&newOffset,(newOverflowCfg.adjustX||newOverflowCfg.adjustY)&&(newElRegion=function(elFuturePos,elRegion,visibleRect,overflow){return elFuturePos=utils.clone(elFuturePos),elRegion={width:elRegion.width,height:elRegion.height},overflow.adjustX&&elFuturePos.left<visibleRect.left&&(elFuturePos.left=visibleRect.left),overflow.resizeWidth&&elFuturePos.left>=visibleRect.left&&elFuturePos.left+elRegion.width>visibleRect.right&&(elRegion.width-=elFuturePos.left+elRegion.width-visibleRect.right),overflow.adjustX&&elFuturePos.left+elRegion.width>visibleRect.right&&(elFuturePos.left=Math.max(visibleRect.right-elRegion.width,visibleRect.left)),overflow.adjustY&&elFuturePos.top<visibleRect.top&&(elFuturePos.top=visibleRect.top),overflow.resizeHeight&&elFuturePos.top>=visibleRect.top&&elFuturePos.top+elRegion.height>visibleRect.bottom&&(elRegion.height-=elFuturePos.top+elRegion.height-visibleRect.bottom),overflow.adjustY&&elFuturePos.top+elRegion.height>visibleRect.bottom&&(elFuturePos.top=Math.max(visibleRect.bottom-elRegion.height,visibleRect.top)),utils.mix(elFuturePos,elRegion)}(elFuturePos,elRegion,visibleRect,newOverflowCfg))),newElRegion.width!==elRegion.width&&utils.css(el,"width",utils.width(el)+newElRegion.width-elRegion.width),newElRegion.height!==elRegion.height&&utils.css(el,"height",utils.height(el)+newElRegion.height-elRegion.height),utils.offset(el,{left:newElRegion.left,top:newElRegion.top},{useCssRight:align.useCssRight,useCssBottom:align.useCssBottom,useCssTransform:align.useCssTransform,ignoreShake:align.ignoreShake}),{points:points,offset:offset,targetOffset:targetOffset,overflow:newOverflowCfg}}function alignElement(el,refNode,align){refNode=align.target||refNode;return doAlign(el,getRegion(refNode),align,!function(target,alwaysByViewport){return alwaysByViewport=getVisibleRectForElement(target,alwaysByViewport),target=getRegion(target),!alwaysByViewport||target.left+target.width<=alwaysByViewport.left||target.top+target.height<=alwaysByViewport.top||target.left>=alwaysByViewport.right||target.top>=alwaysByViewport.bottom}(refNode,align.overflow&&align.overflow.alwaysByViewport))}alignElement.__getOffsetParent=getOffsetParent,alignElement.__getVisibleRectForElement=getVisibleRectForElement;var identList=__webpack_require__(8446),isEqual_default=__webpack_require__.n(identList),MapShim="undefined"!=typeof Map?Map:(Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(key){key=getIndex(this.__entries__,key),key=this.__entries__[key];return key&&key[1]},class_1.prototype.set=function(key,value){var index=getIndex(this.__entries__,key);~index?this.__entries__[index][1]=value:this.__entries__.push([key,value])},class_1.prototype.delete=function(key){var entries=this.__entries__,key=getIndex(entries,key);~key&&entries.splice(key,1)},class_1.prototype.has=function(key){return!!~getIndex(this.__entries__,key)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(callback,ctx){void 0===ctx&&(ctx=null);for(var _i=0,_a=this.__entries__;_i<_a.length;_i++){var entry=_a[_i];callback.call(ctx,entry[1],entry[0])}},class_1);function class_1(){this.__entries__=[]}function getIndex(arr,key){var result=-1;return arr.some(function(entry,index){return entry[0]===key&&(result=index,!0)}),result}var isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,global$1=void 0!==__webpack_require__.g&&__webpack_require__.g.Math===Math?__webpack_require__.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),requestAnimationFrame$1="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(global$1):function(callback){return setTimeout(function(){return callback(Date.now())},1e3/60)},trailingTimeout=2;var transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported="undefined"!=typeof MutationObserver,ResizeObserverController=function(){function ResizeObserverController(){function resolvePending(){leadingCall&&(leadingCall=!1,callback()),trailingCall&&proxy()}function timeoutCallback(){requestAnimationFrame$1(resolvePending)}function proxy(){var timeStamp=Date.now();if(leadingCall){if(timeStamp-lastCallTime<trailingTimeout)return;trailingCall=!0}else trailingCall=!(leadingCall=!0),setTimeout(timeoutCallback,delay);lastCallTime=timeStamp}var callback,delay,leadingCall,trailingCall,lastCallTime;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(callback=this.refresh.bind(this),trailingCall=leadingCall=!(delay=20),lastCallTime=0,proxy)}return ResizeObserverController.prototype.addObserver=function(observer){~this.observers_.indexOf(observer)||this.observers_.push(observer),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(observer){var observers=this.observers_,observer=observers.indexOf(observer);~observer&&observers.splice(observer,1),!observers.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var activeObservers=this.observers_.filter(function(observer){return observer.gatherActive(),observer.hasActive()});return activeObservers.forEach(function(observer){return observer.broadcastActive()}),0<activeObservers.length},ResizeObserverController.prototype.connect_=function(){isBrowser&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){isBrowser&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(_a){var _a=_a.propertyName,propertyName=void 0===_a?"":_a;transitionKeys.some(function(key){return!!~propertyName.indexOf(key)})&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(target,props){for(var _i=0,_a=Object.keys(props);_i<_a.length;_i++){var key=_a[_i];Object.defineProperty(target,key,{value:props[key],enumerable:!1,writable:!1,configurable:!0})}return target},getWindowOf=function(target){return target&&target.ownerDocument&&target.ownerDocument.defaultView||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(value){return parseFloat(value)||0}function getBordersSize(styles){for(var positions=[],_i=1;_i<arguments.length;_i++)positions[_i-1]=arguments[_i];return positions.reduce(function(size,position){return size+toFloat(styles["border-"+position+"-width"])},0)}function getHTMLElementContentRect(target){var paddings,horizPad,vertPad,width,height,styles,clientWidth=target.clientWidth,clientHeight=target.clientHeight;return clientWidth||clientHeight?(horizPad=(paddings=function(styles){for(var paddings={},_i=0,positions_1=["top","right","bottom","left"];_i<positions_1.length;_i++){var position=positions_1[_i],value=styles["padding-"+position];paddings[position]=toFloat(value)}return paddings}(styles=getWindowOf(target).getComputedStyle(target))).left+paddings.right,vertPad=paddings.top+paddings.bottom,width=toFloat(styles.width),height=toFloat(styles.height),"border-box"===styles.boxSizing&&(Math.round(width+horizPad)!==clientWidth&&(width-=getBordersSize(styles,"left","right")+horizPad),Math.round(height+vertPad)!==clientHeight&&(height-=getBordersSize(styles,"top","bottom")+vertPad)),function(target){return target===getWindowOf(target).document.documentElement}(target)||(styles=Math.round(width+horizPad)-clientWidth,target=Math.round(height+vertPad)-clientHeight,1!==Math.abs(styles)&&(width-=styles),1!==Math.abs(target)&&(height-=target)),createRectInit(paddings.left,paddings.top,width,height)):emptyRect}var isSVGGraphicsElement="undefined"!=typeof SVGGraphicsElement?function(target){return target instanceof getWindowOf(target).SVGGraphicsElement}:function(target){return target instanceof getWindowOf(target).SVGElement&&"function"==typeof target.getBBox};function getContentRect(target){return isBrowser?(isSVGGraphicsElement(target)?function(target){return createRectInit(0,0,(target=target.getBBox()).width,target.height)}:getHTMLElementContentRect)(target):emptyRect}function createRectInit(x,y,width,height){return{x:x,y:y,width:width,height:height}}var ResizeObservation=function(){function ResizeObservation(target){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=target}return ResizeObservation.prototype.isActive=function(){var rect=getContentRect(this.target);return(this.contentRect_=rect).width!==this.broadcastWidth||rect.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var rect=this.contentRect_;return this.broadcastWidth=rect.width,this.broadcastHeight=rect.height,rect},ResizeObservation}(),ResizeObserverEntry=function(target,rectInit){x=(rectInit=rectInit).x,y=rectInit.y,width=rectInit.width,rectInit=rectInit.height,Constr="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,Constr=Object.create(Constr.prototype),defineConfigurable(Constr,{x:x,y:y,width:width,height:rectInit,top:y,right:x+width,bottom:rectInit+y,left:x});var x,y,Constr,width=Constr;defineConfigurable(this,{target:target,contentRect:width})},ResizeObserverSPI=function(){function ResizeObserverSPI(callback,controller,callbackCtx){if(this.activeObservations_=[],this.observations_=new MapShim,"function"!=typeof callback)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=callback,this.controller_=controller,this.callbackCtx_=callbackCtx}return ResizeObserverSPI.prototype.observe=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)||(observations.set(target,new ResizeObservation(target)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)&&(observations.delete(target),observations.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var _this=this;this.clearActive(),this.observations_.forEach(function(observation){observation.isActive()&&_this.activeObservations_.push(observation)})},ResizeObserverSPI.prototype.broadcastActive=function(){var ctx,entries;this.hasActive()&&(ctx=this.callbackCtx_,entries=this.activeObservations_.map(function(observation){return new ResizeObserverEntry(observation.target,observation.broadcastRect())}),this.callback_.call(ctx,entries,ctx),this.clearActive())},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return 0<this.activeObservations_.length},ResizeObserverSPI}(),observers=new("undefined"!=typeof WeakMap?WeakMap:MapShim),ResizeObserver=function ResizeObserver(callback){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var controller=ResizeObserverController.getInstance(),callback=new ResizeObserverSPI(callback,controller,this);observers.set(this,callback)};["observe","unobserve","disconnect"].forEach(function(method){ResizeObserver.prototype[method]=function(){var _a;return(_a=observers.get(this))[method].apply(_a,arguments)}});const ResizeObserver_es=void 0!==global$1.ResizeObserver?global$1.ResizeObserver:ResizeObserver;function monitorResize(element,callback){var prevWidth=null,prevHeight=null;var resizeObserver=new ResizeObserver_es(function(_ref){var width,fixedWidth,fixedHeight,_ref=slicedToArray_slicedToArray(_ref,1)[0].target;document.documentElement.contains(_ref)&&(width=(_ref=_ref.getBoundingClientRect()).width,_ref=_ref.height,fixedWidth=Math.floor(width),fixedHeight=Math.floor(_ref),prevWidth===fixedWidth&&prevHeight===fixedHeight||Promise.resolve().then(function(){callback({width:fixedWidth,height:fixedHeight})}),prevWidth=fixedWidth,prevHeight=fixedHeight)});return element&&resizeObserver.observe(element),function(){resizeObserver.disconnect()}}function useBuffer(callback,buffer){var calledRef=external_React_default().useRef(!1),timeoutRef=external_React_default().useRef(null);function cancelTrigger(){window.clearTimeout(timeoutRef.current)}return[function trigger(force){cancelTrigger(),calledRef.current&&!0!==force?timeoutRef.current=window.setTimeout(function(){calledRef.current=!1,trigger()},buffer):!1!==callback()&&(calledRef.current=!0,timeoutRef.current=window.setTimeout(function(){calledRef.current=!1},buffer))},function(){calledRef.current=!1,cancelTrigger()}]}function getElement(func){return"function"!=typeof func?null:func()}function getPoint(point){return"object"===typeof_typeof(point)&&point?point:null}function Align(_ref,ref){var children=_ref.children,disabled=_ref.disabled,target=_ref.target,align=_ref.align,onAlign=_ref.onAlign,monitorWindowResize=_ref.monitorWindowResize,_ref=void 0===(_ref=_ref.monitorBufferTime)?0:_ref,cacheRef=external_React_default().useRef({}),nodeRef=external_React_default().useRef(),children=external_React_default().Children.only(children),forceAlignPropsRef=external_React_default().useRef({});forceAlignPropsRef.current.disabled=disabled,forceAlignPropsRef.current.target=target,forceAlignPropsRef.current.align=align,forceAlignPropsRef.current.onAlign=onAlign;var _forceAlign=(onAlign=slicedToArray_slicedToArray(useBuffer(function(){var result,activeElement,element,doc,scrollX,scrollY,viewportWidth,pageX,_forceAlignPropsRef$c=forceAlignPropsRef.current,latestDisabled=_forceAlignPropsRef$c.disabled,latestTarget=_forceAlignPropsRef$c.target,latestAlign=_forceAlignPropsRef$c.align,_forceAlignPropsRef$c=_forceAlignPropsRef$c.onAlign;return!(latestDisabled||!latestTarget)&&(latestDisabled=nodeRef.current,element=getElement(latestTarget),latestTarget=getPoint(latestTarget),cacheRef.current.element=element,cacheRef.current.point=latestTarget,cacheRef.current.align=latestAlign,activeElement=document.activeElement,element&&function(element){if(element){if(element.offsetParent)return!0;if(element.getBBox){var box=element.getBBox();if(box.width||box.height)return!0}if(element.getBoundingClientRect){box=element.getBoundingClientRect();if(box.width||box.height)return!0}}return!1}(element)?result=alignElement(latestDisabled,element,latestAlign):latestTarget&&(element=latestDisabled,latestTarget=latestTarget,latestAlign=latestAlign,doc=(doc=utils.getDocument(element)).defaultView||doc.parentWindow,scrollX=utils.getWindowScrollLeft(doc),scrollY=utils.getWindowScrollTop(doc),viewportWidth=utils.viewportWidth(doc),doc=utils.viewportHeight(doc),pageX="pageX"in latestTarget?latestTarget.pageX:scrollX+latestTarget.clientX,latestTarget="pageY"in latestTarget?latestTarget.pageY:scrollY+latestTarget.clientY,scrollX=0<=pageX&&pageX<=scrollX+viewportWidth&&0<=latestTarget&&latestTarget<=scrollY+doc,viewportWidth=[latestAlign.points[0],"cc"],result=doAlign(element,{left:pageX,top:latestTarget,width:0,height:0},dist_web_objectSpread2(dist_web_objectSpread2({},latestAlign),{},{points:viewportWidth}),scrollX)),function(activeElement,container){activeElement!==document.activeElement&&contains(container,activeElement)&&"function"==typeof activeElement.focus&&activeElement.focus()}(activeElement,latestDisabled),_forceAlignPropsRef$c&&result&&_forceAlignPropsRef$c(latestDisabled,result),!0)},_ref),2))[0],cancelForceAlign=onAlign[1],resizeMonitor=external_React_default().useRef({cancel:function(){}}),sourceResizeMonitor=external_React_default().useRef({cancel:function(){}}),winResizeRef=(external_React_default().useEffect(function(){var prev,element=getElement(target),point=getPoint(target);nodeRef.current!==sourceResizeMonitor.current.element&&(sourceResizeMonitor.current.cancel(),sourceResizeMonitor.current.element=nodeRef.current,sourceResizeMonitor.current.cancel=monitorResize(nodeRef.current,_forceAlign)),cacheRef.current.element===element&&((prev=cacheRef.current.point)===(point=point)||prev&&point&&("pageX"in point&&"pageY"in point?prev.pageX===point.pageX&&prev.pageY===point.pageY:"clientX"in point&&"clientY"in point&&(prev.clientX===point.clientX&&prev.clientY===point.clientY)))&&isEqual_default()(cacheRef.current.align,align)||(_forceAlign(),resizeMonitor.current.element!==element&&(resizeMonitor.current.cancel(),resizeMonitor.current.element=element,resizeMonitor.current.cancel=monitorResize(element,_forceAlign)))}),external_React_default().useEffect(function(){(disabled?cancelForceAlign:_forceAlign)()},[disabled]),external_React_default().useRef(null));return external_React_default().useEffect(function(){monitorWindowResize?winResizeRef.current||(winResizeRef.current=addEventListenerWrap(window,"resize",_forceAlign)):winResizeRef.current&&(winResizeRef.current.remove(),winResizeRef.current=null)},[monitorWindowResize]),external_React_default().useEffect(function(){return function(){resizeMonitor.current.cancel(),sourceResizeMonitor.current.cancel(),winResizeRef.current&&winResizeRef.current.remove(),cancelForceAlign()}},[]),external_React_default().useImperativeHandle(ref,function(){return{forceAlign:function(){return _forceAlign(!0)}}}),children=external_React_default().isValidElement(children)?external_React_default().cloneElement(children,{ref:composeRef(children.ref,nodeRef)}):children}external_wp_apiFetch_namespaceObject=external_React_default().forwardRef(Align),external_wp_apiFetch_namespaceObject.displayName="Align",lib_syntax_namespaceObject=external_wp_apiFetch_namespaceObject;const rc_align_es=lib_syntax_namespaceObject;function _regeneratorRuntime(){
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
_regeneratorRuntime=function(){return exports};var exports={},Op=Object.prototype,hasOwn=Op.hasOwnProperty,$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){outerFn=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,outerFn=Object.create(outerFn.prototype),tryLocsList=new Context(tryLocsList||[]);return outerFn._invoke=function(innerFn,self,context){var state="suspendedStart";return function(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){delegate=function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(void 0===method){if(context.delegate=null,"throw"===context.method){if(delegate.iterator.return&&(context.method="return",context.arg=void 0,maybeInvokeDelegate(delegate,context),"throw"===context.method))return ContinueSentinel;context.method="throw",context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}method=tryCatch(method,delegate.iterator,context.arg);if("throw"===method.type)return context.method="throw",context.arg=method.arg,context.delegate=null,ContinueSentinel;method=method.arg;return method?method.done?(context[delegate.resultName]=method.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=void 0),context.delegate=null,ContinueSentinel):method:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}(delegate,context);if(delegate){if(delegate===ContinueSentinel)continue;return delegate}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";delegate=tryCatch(innerFn,self,context);if("normal"===delegate.type){if(state=context.done?"completed":"suspendedYield",delegate.arg===ContinueSentinel)continue;return{value:delegate.arg,done:context.done}}"throw"===delegate.type&&(state="completed",context.method="throw",context.arg=delegate.arg)}}}(innerFn,self,tryLocsList),outerFn}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var $Symbol={},getProto=(define($Symbol,iteratorSymbol,function(){return this}),Object.getPrototypeOf),getProto=getProto&&getProto(getProto(values([]))),Gp=(getProto&&getProto!==Op&&hasOwn.call(getProto,iteratorSymbol)&&($Symbol=getProto),GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create($Symbol));function defineIteratorMethods(prototype){["next","throw","return"].forEach(function(method){define(prototype,method,function(arg){return this._invoke(method,arg)})})}function AsyncIterator(generator,PromiseImpl){var previousPromise;this._invoke=function(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl(function(resolve,reject){!function invoke(method,arg,resolve,reject){var result,method=tryCatch(generator[method],generator,arg);if("throw"!==method.type)return(arg=(result=method.arg).value)&&"object"==typeof_typeof(arg)&&hasOwn.call(arg,"__await")?PromiseImpl.resolve(arg.__await).then(function(value){invoke("next",value,resolve,reject)},function(err){invoke("throw",err,resolve,reject)}):PromiseImpl.resolve(arg).then(function(unwrapped){result.value=unwrapped,resolve(result)},function(error){return invoke("throw",error,resolve,reject)});reject(method.arg)}(method,arg,resolve,reject)})}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var i,iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length))return i=-1,(iteratorMethod=function next(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next.value=iterable[i],next.done=!1,next;return next.value=void 0,next.done=!0,next}).next=iteratorMethod}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return define(Gp,"constructor",GeneratorFunction.prototype=GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,toStringTagSymbol,"GeneratorFunction"),exports.isGeneratorFunction=function(genFun){genFun="function"==typeof genFun&&genFun.constructor;return!!genFun&&(genFun===GeneratorFunction||"GeneratorFunction"===(genFun.displayName||genFun.name))},exports.mark=function(genFun){return Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,define(genFun,toStringTagSymbol,"GeneratorFunction")),genFun.prototype=Object.create(Gp),genFun},exports.awrap=function(arg){return{__await:arg}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,asyncIteratorSymbol,function(){return this}),exports.AsyncIterator=AsyncIterator,exports.async=function(innerFn,outerFn,self,tryLocsList,PromiseImpl){void 0===PromiseImpl&&(PromiseImpl=Promise);var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList),PromiseImpl);return exports.isGeneratorFunction(outerFn)?iter:iter.next().then(function(result){return result.done?result.value:iter.next()})},defineIteratorMethods(Gp),define(Gp,toStringTagSymbol,"Generator"),define(Gp,iteratorSymbol,function(){return this}),define(Gp,"toString",function(){return"[object Generator]"}),exports.keys=function(object){var key,keys=[];for(key in object)keys.push(key);return keys.reverse(),function next(){for(;keys.length;){var key=keys.pop();if(key in object)return next.value=key,next.done=!1,next}return next.done=!0,next}},exports.values=values,Context.prototype={constructor:Context,reset:function(skipTempReset){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=void 0)},stop:function(){this.done=!0;var rootRecord=this.tryEntries[0].completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){return record.type="throw",record.arg=exception,context.next=loc,caught&&(context.method="next",context.arg=void 0),!!caught}for(var i=this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}var record=(finallyEntry=finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc?null:finallyEntry)?finallyEntry.completion:{};return record.type=type,record.arg=arg,finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;return"break"===record.type||"continue"===record.type?this.next=record.arg:"return"===record.type?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):"normal"===record.type&&afterLoc&&(this.next=afterLoc),ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;0<=i;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;0<=i;--i){var record,thrown,entry=this.tryEntries[i];if(entry.tryLoc===tryLoc)return"throw"===(record=entry.completion).type&&(thrown=record.arg,resetTryEntry(entry)),thrown}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=void 0),ContinueSentinel}},exports}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)})}}var StatusQueue=["measure","alignPre","align",null,"motion"];function useVisibleStatus(visible,doMeasure){var _useState2=slicedToArray_slicedToArray(useSafeState(null),2),status=_useState2[0],setInternalStatus=_useState2[1],rafRef=(0,external_React_namespaceObject.useRef)();function setStatus(nextStatus){setInternalStatus(nextStatus,!0)}function cancelRaf(){wrapperRaf.cancel(rafRef.current)}return(0,external_React_namespaceObject.useEffect)(function(){setStatus("measure")},[visible]),(0,external_React_namespaceObject.useEffect)(function(){"measure"===status&&doMeasure(),status&&(rafRef.current=wrapperRaf(_asyncToGenerator(_regeneratorRuntime().mark(function _callee(){var index,nextStatus;return _regeneratorRuntime().wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:index=StatusQueue.indexOf(status),(nextStatus=StatusQueue[index+1])&&-1!==index&&setStatus(nextStatus);case 3:case"end":return _context.stop()}},_callee)}))))},[status]),(0,external_React_namespaceObject.useEffect)(function(){return function(){cancelRaf()}},[]),[status,function(callback){cancelRaf(),rafRef.current=wrapperRaf(function(){setStatus(function(prev){switch(status){case"align":return"motion";case"motion":return"stable"}return prev}),null!=callback&&callback()})}]}function useStretchStyle(stretch){var _React$useState2=slicedToArray_slicedToArray(external_React_namespaceObject.useState({width:0,height:0}),2),targetSize=_React$useState2[0],setTargetSize=_React$useState2[1];return[external_React_namespaceObject.useMemo(function(){var width,height,sizeStyle={};return stretch&&(width=targetSize.width,height=targetSize.height,-1!==stretch.indexOf("height")&&height?sizeStyle.height=height:-1!==stretch.indexOf("minHeight")&&height&&(sizeStyle.minHeight=height),-1!==stretch.indexOf("width")&&width?sizeStyle.width=width:-1!==stretch.indexOf("minWidth")&&width&&(sizeStyle.minWidth=width)),sizeStyle},[stretch,targetSize]),function(element){setTargetSize({width:element.offsetWidth,height:element.offsetHeight})}]}index_parse_namespaceObject=external_React_namespaceObject.forwardRef(function(props,ref){var visible=props.visible,prefixCls=props.prefixCls,className=props.className,style=props.style,children=props.children,zIndex=props.zIndex,stretch=props.stretch,destroyPopupOnHide=props.destroyPopupOnHide,forceRender=props.forceRender,align=props.align,point=props.point,getRootDomNode=props.getRootDomNode,getClassNameFromAlign=props.getClassNameFromAlign,onAlign=props.onAlign,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,onMouseDown=props.onMouseDown,onTouchStart=props.onTouchStart,onClick=props.onClick,alignRef=(0,external_React_namespaceObject.useRef)(),elementRef=(0,external_React_namespaceObject.useRef)(),_useState2=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(),2),alignedClassName=_useState2[0],setAlignedClassName=_useState2[1],_useState2=slicedToArray_slicedToArray(useStretchStyle(stretch),2),stretchStyle=_useState2[0],measureStretchStyle=_useState2[1];var _useState2=slicedToArray_slicedToArray(useVisibleStatus(visible,function(){stretch&&measureStretchStyle(getRootDomNode())}),2),status=_useState2[0],goNextStatus=_useState2[1],_useState2=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(0),2),alignTimes=_useState2[0],setAlignTimes=_useState2[1],prepareResolveRef=(0,external_React_namespaceObject.useRef)();function forceAlign(){var _alignRef$current;null!=(_alignRef$current=alignRef.current)&&_alignRef$current.forceAlign()}function onInternalAlign(popupDomNode,matchAlign){var nextAlignedClassName=getClassNameFromAlign(matchAlign);alignedClassName!==nextAlignedClassName&&setAlignedClassName(nextAlignedClassName),setAlignTimes(function(val){return val+1}),"align"===status&&null!=onAlign&&onAlign(popupDomNode,matchAlign)}hooks_useLayoutEffect(function(){"alignPre"===status&&setAlignTimes(0)},[status]),hooks_useLayoutEffect(function(){"align"===status&&(alignTimes<2?forceAlign():goNextStatus(function(){var _prepareResolveRef$cu;null!=(_prepareResolveRef$cu=prepareResolveRef.current)&&_prepareResolveRef$cu.call(prepareResolveRef)}))},[alignTimes]);var motion=_objectSpread2({},getMotion(props));function onShowPrepare(){return new Promise(function(resolve){prepareResolveRef.current=resolve})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(eventName){var originHandler=motion[eventName];motion[eventName]=function(element,event){return goNextStatus(),null==originHandler?void 0:originHandler(element,event)}}),external_React_namespaceObject.useEffect(function(){motion.motionName||"motion"!==status||goNextStatus()},[motion.motionName,status]),external_React_namespaceObject.useImperativeHandle(ref,function(){return{forceAlign:forceAlign,getElement:function(){return elementRef.current}}});var mergedStyle=_objectSpread2(_objectSpread2({},stretchStyle),{},{zIndex:zIndex,opacity:"motion"!==status&&"stable"!==status&&visible?0:void 0,pointerEvents:visible||"stable"===status?void 0:"none"},style),alignDisabled=!0,childNode=(null==align||!align.points||"align"!==status&&"stable"!==status||(alignDisabled=!1),children);return 1<external_React_namespaceObject.Children.count(children)&&(childNode=external_React_namespaceObject.createElement("div",{className:"".concat(prefixCls,"-content")},children)),external_React_namespaceObject.createElement(es,_extends({visible:visible,ref:elementRef,leavedClassName:"".concat(prefixCls,"-hidden")},motion,{onAppearPrepare:onShowPrepare,onEnterPrepare:onShowPrepare,removeOnLeave:destroyPopupOnHide,forceRender:forceRender}),function(_ref,motionRef){var motionClassName=_ref.className,_ref=_ref.style,motionClassName=classnames_default()(prefixCls,className,alignedClassName,motionClassName);return external_React_namespaceObject.createElement(rc_align_es,{target:point||getRootDomNode,key:"popup",ref:alignRef,monitorWindowResize:!0,disabled:alignDisabled,align:align,onAlign:onInternalAlign},external_React_namespaceObject.createElement("div",{ref:motionRef,className:motionClassName,onMouseEnter:onMouseEnter,onMouseLeave:onMouseLeave,onMouseDownCapture:onMouseDown,onTouchStartCapture:onTouchStart,onClick:onClick,style:_objectSpread2(_objectSpread2({},_ref),mergedStyle)},childNode))})});index_parse_namespaceObject.displayName="PopupInner";const Popup_PopupInner=index_parse_namespaceObject;scope_namespaceObject=external_React_namespaceObject.forwardRef(function(props,ref){var prefixCls=props.prefixCls,visible=props.visible,zIndex=props.zIndex,children=props.children,_props$mobile=props.mobile,popupClassName=(_props$mobile=void 0===_props$mobile?{}:_props$mobile).popupClassName,popupStyle=_props$mobile.popupStyle,_props$mobile$popupMo=_props$mobile.popupMotion,_props$mobile$popupMo=void 0===_props$mobile$popupMo?{}:_props$mobile$popupMo,_props$mobile=_props$mobile.popupRender,onClick=props.onClick,elementRef=external_React_namespaceObject.useRef(),mergedStyle=(external_React_namespaceObject.useImperativeHandle(ref,function(){return{forceAlign:function(){},getElement:function(){return elementRef.current}}}),_objectSpread2({zIndex:zIndex},popupStyle)),childNode=children;return 1<external_React_namespaceObject.Children.count(children)&&(childNode=external_React_namespaceObject.createElement("div",{className:"".concat(prefixCls,"-content")},children)),_props$mobile&&(childNode=_props$mobile(childNode)),external_React_namespaceObject.createElement(es,_extends({visible:visible,ref:elementRef,removeOnLeave:!0},_props$mobile$popupMo),function(_ref,motionRef){var motionClassName=_ref.className,_ref=_ref.style,motionClassName=classnames_default()(prefixCls,popupClassName,motionClassName);return external_React_namespaceObject.createElement("div",{ref:motionRef,className:motionClassName,onClick:onClick,style:_objectSpread2(_objectSpread2({},_ref),mergedStyle)},childNode)})});scope_namespaceObject.displayName="MobilePopupInner";const Popup_MobilePopupInner=scope_namespaceObject;var Popup_excluded=["visible","mobile"],identList=external_React_namespaceObject.forwardRef(function(_ref,ref){var visible=_ref.visible,mobile=_ref.mobile,_ref=_objectWithoutProperties(_ref,Popup_excluded),_useState2=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(visible),2),innerVisible=_useState2[0],serInnerVisible=_useState2[1],_useState2=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(!1),2),inMobile=_useState2[0],setInMobile=_useState2[1],_useState2=_objectSpread2(_objectSpread2({},_ref),{},{visible:innerVisible}),_ref=((0,external_React_namespaceObject.useEffect)(function(){serInnerVisible(visible),visible&&mobile&&setInMobile(isMobile())},[visible,mobile]),inMobile?external_React_namespaceObject.createElement(Popup_MobilePopupInner,_extends({},_useState2,{mobile:mobile,ref:ref})):external_React_namespaceObject.createElement(Popup_PopupInner,_extends({},_useState2,{ref:ref})));return external_React_namespaceObject.createElement("div",null,external_React_namespaceObject.createElement(Mask,_useState2),_ref)});identList.displayName="Popup";const es_Popup=identList,context=external_React_namespaceObject.createContext(null);function es_noop(){}function returnEmptyString(){return""}function returnDocument(element){return element?element.ownerDocument:window.document}var PortalComponent,ALL_HANDLERS=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];PortalComponent=node_namespaceObject,(external_wp_apiFetch_namespaceObject=function(){_inherits(Trigger,external_React_namespaceObject.Component);var _super=_createSuper(Trigger);function Trigger(props){var _this;return _classCallCheck(this,Trigger),(_this=_super.call(this,props)).popupRef=external_React_namespaceObject.createRef(),_this.triggerRef=external_React_namespaceObject.createRef(),_this.portalContainer=void 0,_this.attachId=void 0,_this.clickOutsideHandler=void 0,_this.touchOutsideHandler=void 0,_this.contextMenuOutsideHandler1=void 0,_this.contextMenuOutsideHandler2=void 0,_this.mouseDownTimeout=void 0,_this.focusTime=void 0,_this.preClickTime=void 0,_this.preTouchTime=void 0,_this.delayTimer=void 0,_this.hasPopupMouseDown=void 0,_this.onMouseEnter=function(e){var mouseEnterDelay=_this.props.mouseEnterDelay;_this.fireEvents("onMouseEnter",e),_this.delaySetPopupVisible(!0,mouseEnterDelay,mouseEnterDelay?null:e)},_this.onMouseMove=function(e){_this.fireEvents("onMouseMove",e),_this.setPoint(e)},_this.onMouseLeave=function(e){_this.fireEvents("onMouseLeave",e),_this.delaySetPopupVisible(!1,_this.props.mouseLeaveDelay)},_this.onPopupMouseEnter=function(){_this.clearDelayTimer()},_this.onPopupMouseLeave=function(e){var _this$popupRef$curren;e.relatedTarget&&!e.relatedTarget.setTimeout&&contains(null==(_this$popupRef$curren=_this.popupRef.current)?void 0:_this$popupRef$curren.getElement(),e.relatedTarget)||_this.delaySetPopupVisible(!1,_this.props.mouseLeaveDelay)},_this.onFocus=function(e){_this.fireEvents("onFocus",e),_this.clearDelayTimer(),_this.isFocusToShow()&&(_this.focusTime=Date.now(),_this.delaySetPopupVisible(!0,_this.props.focusDelay))},_this.onMouseDown=function(e){_this.fireEvents("onMouseDown",e),_this.preClickTime=Date.now()},_this.onTouchStart=function(e){_this.fireEvents("onTouchStart",e),_this.preTouchTime=Date.now()},_this.onBlur=function(e){_this.fireEvents("onBlur",e),_this.clearDelayTimer(),_this.isBlurToHide()&&_this.delaySetPopupVisible(!1,_this.props.blurDelay)},_this.onContextMenu=function(e){e.preventDefault(),_this.fireEvents("onContextMenu",e),_this.setPopupVisible(!0,e)},_this.onContextMenuClose=function(){_this.isContextMenuToShow()&&_this.close()},_this.onClick=function(event){if(_this.fireEvents("onClick",event),_this.focusTime){if(_this.preClickTime&&_this.preTouchTime?preTime=Math.min(_this.preClickTime,_this.preTouchTime):_this.preClickTime?preTime=_this.preClickTime:_this.preTouchTime&&(preTime=_this.preTouchTime),Math.abs(preTime-_this.focusTime)<20)return;_this.focusTime=0}_this.preClickTime=0,_this.preTouchTime=0,_this.isClickToShow()&&(_this.isClickToHide()||_this.isBlurToHide())&&event&&event.preventDefault&&event.preventDefault();var preTime=!_this.state.popupVisible;(_this.isClickToHide()&&!preTime||preTime&&_this.isClickToShow())&&_this.setPopupVisible(!_this.state.popupVisible,event)},_this.onPopupMouseDown=function(){var _this$context;_this.hasPopupMouseDown=!0,clearTimeout(_this.mouseDownTimeout),_this.mouseDownTimeout=window.setTimeout(function(){_this.hasPopupMouseDown=!1},0),_this.context&&(_this$context=_this.context).onPopupMouseDown.apply(_this$context,arguments)},_this.onDocumentClick=function(event){var root,popupNode;_this.props.mask&&!_this.props.maskClosable||(event=event.target,root=_this.getRootDomNode(),popupNode=_this.getPopupDomNode(),contains(root,event)&&!_this.isContextMenuOnly()||contains(popupNode,event)||_this.hasPopupMouseDown||_this.close())},_this.getRootDomNode=function(){var getTriggerDOMNode=_this.props.getTriggerDOMNode;if(getTriggerDOMNode)return getTriggerDOMNode(_this.triggerRef.current);try{var domNode=findDOMNode(_this.triggerRef.current);if(domNode)return domNode}catch(err){}return external_ReactDOM_default().findDOMNode(_assertThisInitialized(_this))},_this.getPopupClassNameFromAlign=function(align){var className=[],_this$props=_this.props,popupPlacement=_this$props.popupPlacement,builtinPlacements=_this$props.builtinPlacements,prefixCls=_this$props.prefixCls,alignPoint=_this$props.alignPoint,_this$props=_this$props.getPopupClassNameFromAlign;return popupPlacement&&builtinPlacements&&className.push(getAlignPopupClassName(builtinPlacements,prefixCls,align,alignPoint)),_this$props&&className.push(_this$props(align)),className.join(" ")},_this.getComponent=function(){var _this$props2=_this.props,prefixCls=_this$props2.prefixCls,destroyPopupOnHide=_this$props2.destroyPopupOnHide,popupClassName=_this$props2.popupClassName,onPopupAlign=_this$props2.onPopupAlign,popupMotion=_this$props2.popupMotion,popupAnimation=_this$props2.popupAnimation,popupTransitionName=_this$props2.popupTransitionName,popupStyle=_this$props2.popupStyle,mask=_this$props2.mask,maskAnimation=_this$props2.maskAnimation,maskTransitionName=_this$props2.maskTransitionName,maskMotion=_this$props2.maskMotion,zIndex=_this$props2.zIndex,popup=_this$props2.popup,stretch=_this$props2.stretch,alignPoint=_this$props2.alignPoint,mobile=_this$props2.mobile,forceRender=_this$props2.forceRender,_this$props2=_this$props2.onPopupClick,_this$state=_this.state,popupVisible=_this$state.popupVisible,_this$state=_this$state.point,align=_this.getPopupAlign(),mouseProps={};return _this.isMouseEnterToShow()&&(mouseProps.onMouseEnter=_this.onPopupMouseEnter),_this.isMouseLeaveToHide()&&(mouseProps.onMouseLeave=_this.onPopupMouseLeave),mouseProps.onMouseDown=_this.onPopupMouseDown,mouseProps.onTouchStart=_this.onPopupMouseDown,external_React_namespaceObject.createElement(es_Popup,_extends({prefixCls:prefixCls,destroyPopupOnHide:destroyPopupOnHide,visible:popupVisible,point:alignPoint&&_this$state,className:popupClassName,align:align,onAlign:onPopupAlign,animation:popupAnimation,getClassNameFromAlign:_this.getPopupClassNameFromAlign},mouseProps,{stretch:stretch,getRootDomNode:_this.getRootDomNode,style:popupStyle,mask:mask,zIndex:zIndex,transitionName:popupTransitionName,maskAnimation:maskAnimation,maskTransitionName:maskTransitionName,maskMotion:maskMotion,ref:_this.popupRef,motion:popupMotion,mobile:mobile,forceRender:forceRender,onClick:_this$props2}),"function"==typeof popup?popup():popup)},_this.attachParent=function(popupContainer){wrapperRaf.cancel(_this.attachId);var mountNode,_this$props3=_this.props,getPopupContainer=_this$props3.getPopupContainer,_this$props3=_this$props3.getDocument,domNode=_this.getRootDomNode();getPopupContainer?!domNode&&0!==getPopupContainer.length||(mountNode=getPopupContainer(domNode)):mountNode=_this$props3(_this.getRootDomNode()).body,mountNode?mountNode.appendChild(popupContainer):_this.attachId=wrapperRaf(function(){_this.attachParent(popupContainer)})},_this.getContainer=function(){var popupContainer;return _this.portalContainer||((popupContainer=(0,_this.props.getDocument)(_this.getRootDomNode()).createElement("div")).style.position="absolute",popupContainer.style.top="0",popupContainer.style.left="0",popupContainer.style.width="100%",_this.portalContainer=popupContainer),_this.attachParent(_this.portalContainer),_this.portalContainer},_this.setPoint=function(point){_this.props.alignPoint&&point&&_this.setState({point:{pageX:point.pageX,pageY:point.pageY}})},_this.handlePortalUpdate=function(){_this.state.prevPopupVisible!==_this.state.popupVisible&&_this.props.afterPopupVisibleChange(_this.state.popupVisible)},_this.triggerContextValue={onPopupMouseDown:_this.onPopupMouseDown},props="popupVisible"in props?!!props.popupVisible:!!props.defaultPopupVisible,_this.state={prevPopupVisible:props,popupVisible:props},ALL_HANDLERS.forEach(function(h){_this["fire".concat(h)]=function(e){_this.fireEvents(h,e)}}),_this}return _createClass(Trigger,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var currentDocument,props=this.props;this.state.popupVisible?(this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(currentDocument=props.getDocument(this.getRootDomNode()),this.clickOutsideHandler=addEventListenerWrap(currentDocument,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(currentDocument=currentDocument||props.getDocument(this.getRootDomNode()),this.touchOutsideHandler=addEventListenerWrap(currentDocument,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(currentDocument=currentDocument||props.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=addEventListenerWrap(currentDocument,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=addEventListenerWrap(window,"blur",this.onContextMenuClose))):this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),wrapperRaf.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var _this$popupRef$curren2;return(null==(_this$popupRef$curren2=this.popupRef.current)?void 0:_this$popupRef$curren2.getElement())||null}},{key:"getPopupAlign",value:function(){var props=this.props,popupPlacement=props.popupPlacement,popupAlign=props.popupAlign,props=props.builtinPlacements;return popupPlacement&&props?function(builtinPlacements,placementStr,align){return _objectSpread2(_objectSpread2({},builtinPlacements[placementStr]||{}),align)}(props,popupPlacement,popupAlign):popupAlign}},{key:"setPopupVisible",value:function(popupVisible,event){var alignPoint=this.props.alignPoint,prevPopupVisible=this.state.popupVisible;this.clearDelayTimer(),prevPopupVisible!==popupVisible&&("popupVisible"in this.props||this.setState({popupVisible:popupVisible,prevPopupVisible:prevPopupVisible}),this.props.onPopupVisibleChange(popupVisible)),alignPoint&&event&&popupVisible&&this.setPoint(event)}},{key:"delaySetPopupVisible",value:function(visible,delayS,event){var point,_this2=this,delayS=1e3*delayS;this.clearDelayTimer(),delayS?(point=event?{pageX:event.pageX,pageY:event.pageY}:null,this.delayTimer=window.setTimeout(function(){_this2.setPopupVisible(visible,point),_this2.clearDelayTimer()},delayS)):this.setPopupVisible(visible,event)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(event){var childPros=this.props.children.props,props=this.props;return childPros[event]&&props[event]?this["fire".concat(event)]:childPros[event]||props[event]}},{key:"isClickToShow",value:function(){var _this$props4=this.props,action=_this$props4.action,_this$props4=_this$props4.showAction;return-1!==action.indexOf("click")||-1!==_this$props4.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var action=this.props.action;return"contextMenu"===action||1===action.length&&"contextMenu"===action[0]}},{key:"isContextMenuToShow",value:function(){var _this$props5=this.props,action=_this$props5.action,_this$props5=_this$props5.showAction;return-1!==action.indexOf("contextMenu")||-1!==_this$props5.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var _this$props6=this.props,action=_this$props6.action,_this$props6=_this$props6.hideAction;return-1!==action.indexOf("click")||-1!==_this$props6.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var _this$props7=this.props,action=_this$props7.action,_this$props7=_this$props7.showAction;return-1!==action.indexOf("hover")||-1!==_this$props7.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var _this$props8=this.props,action=_this$props8.action,_this$props8=_this$props8.hideAction;return-1!==action.indexOf("hover")||-1!==_this$props8.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var _this$props9=this.props,action=_this$props9.action,_this$props9=_this$props9.showAction;return-1!==action.indexOf("focus")||-1!==_this$props9.indexOf("focus")}},{key:"isBlurToHide",value:function(){var _this$props10=this.props,action=_this$props10.action,_this$props10=_this$props10.hideAction;return-1!==action.indexOf("focus")||-1!==_this$props10.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var _this$popupRef$curren3;this.state.popupVisible&&null!=(_this$popupRef$curren3=this.popupRef.current)&&_this$popupRef$curren3.forceAlign()}},{key:"fireEvents",value:function(type,e){var childCallback=this.props.children.props[type],childCallback=(childCallback&&childCallback(e),this.props[type]);childCallback&&childCallback(e)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var portal,popupVisible=this.state.popupVisible,_this$props11=this.props,children=_this$props11.children,forceRender=_this$props11.forceRender,alignPoint=_this$props11.alignPoint,className=_this$props11.className,_this$props11=_this$props11.autoDestroy,children=external_React_namespaceObject.Children.only(children),newChildProps={key:"trigger"},alignPoint=(this.isContextMenuToShow()?newChildProps.onContextMenu=this.onContextMenu:newChildProps.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(newChildProps.onClick=this.onClick,newChildProps.onMouseDown=this.onMouseDown,newChildProps.onTouchStart=this.onTouchStart):(newChildProps.onClick=this.createTwoChains("onClick"),newChildProps.onMouseDown=this.createTwoChains("onMouseDown"),newChildProps.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(newChildProps.onMouseEnter=this.onMouseEnter,alignPoint&&(newChildProps.onMouseMove=this.onMouseMove)):newChildProps.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?newChildProps.onMouseLeave=this.onMouseLeave:newChildProps.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(newChildProps.onFocus=this.onFocus,newChildProps.onBlur=this.onBlur):(newChildProps.onFocus=this.createTwoChains("onFocus"),newChildProps.onBlur=this.createTwoChains("onBlur")),classnames_default()(children&&children.props&&children.props.className,className)),className=(alignPoint&&(newChildProps.className=alignPoint),_objectSpread2({},newChildProps)),alignPoint=(supportRef(children)&&(className.ref=composeRef(this.triggerRef,children.ref)),external_React_namespaceObject.cloneElement(children,className));return(popupVisible||this.popupRef.current||forceRender)&&(portal=external_React_namespaceObject.createElement(PortalComponent,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!popupVisible&&_this$props11&&(portal=null),external_React_namespaceObject.createElement(context.Provider,{value:this.triggerContextValue},alignPoint,portal)}}],[{key:"getDerivedStateFromProps",value:function(_ref,prevState){var _ref=_ref.popupVisible,newState={};return void 0!==_ref&&prevState.popupVisible!==_ref&&(newState.popupVisible=_ref,newState.prevPopupVisible=prevState.popupVisible),newState}}]),Trigger}()).contextType=context,external_wp_apiFetch_namespaceObject.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:returnEmptyString,getDocument:returnDocument,onPopupVisibleChange:es_noop,afterPopupVisibleChange:es_noop,onPopupAlign:es_noop,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1};const rc_trigger_es=external_wp_apiFetch_namespaceObject;var SelectTrigger_excluded=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],lib_syntax_namespaceObject=external_React_namespaceObject.forwardRef(function(props,ref){var prefixCls=props.prefixCls,visible=(props.disabled,props.visible),children=props.children,popupElement=props.popupElement,containerWidth=props.containerWidth,animation=props.animation,transitionName=props.transitionName,dropdownStyle=props.dropdownStyle,dropdownClassName=props.dropdownClassName,_props$direction=props.direction,_props$direction=void 0===_props$direction?"ltr":_props$direction,placement=props.placement,dropdownMatchSelectWidth=props.dropdownMatchSelectWidth,dropdownRender=props.dropdownRender,dropdownAlign=props.dropdownAlign,getPopupContainer=props.getPopupContainer,empty=props.empty,getTriggerDOMNode=props.getTriggerDOMNode,onPopupVisibleChange=props.onPopupVisibleChange,onPopupMouseEnter=props.onPopupMouseEnter,props=_objectWithoutProperties(props,SelectTrigger_excluded),prefixCls="".concat(prefixCls,"-dropdown"),popupNode=popupElement,dropdownRender=(dropdownRender&&(popupNode=dropdownRender(popupElement)),external_React_namespaceObject.useMemo(function(){return function(dropdownMatchSelectWidth){dropdownMatchSelectWidth=!0===dropdownMatchSelectWidth?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:dropdownMatchSelectWidth,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:dropdownMatchSelectWidth,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:dropdownMatchSelectWidth,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:dropdownMatchSelectWidth,adjustY:1}}}}(dropdownMatchSelectWidth)},[dropdownMatchSelectWidth])),popupElement=animation?"".concat(prefixCls,"-").concat(animation):transitionName,popupRef=external_React_namespaceObject.useRef(null),animation=(external_React_namespaceObject.useImperativeHandle(ref,function(){return{getPopupElement:function(){return popupRef.current}}}),_objectSpread2({minWidth:containerWidth},dropdownStyle));return"number"==typeof dropdownMatchSelectWidth?animation.width=dropdownMatchSelectWidth:dropdownMatchSelectWidth&&(animation.width=containerWidth),external_React_namespaceObject.createElement(rc_trigger_es,_extends({},props,{showAction:onPopupVisibleChange?["click"]:[],hideAction:onPopupVisibleChange?["click"]:[],popupPlacement:placement||("rtl"===_props$direction?"bottomRight":"bottomLeft"),builtinPlacements:dropdownRender,prefixCls:prefixCls,popupTransitionName:popupElement,popup:external_React_namespaceObject.createElement("div",{ref:popupRef,onMouseEnter:onPopupMouseEnter},popupNode),popupAlign:dropdownAlign,popupVisible:visible,getPopupContainer:getPopupContainer,popupClassName:classnames_default()(dropdownClassName,_defineProperty({},"".concat(prefixCls,"-empty"),empty)),popupStyle:animation,getTriggerDOMNode:getTriggerDOMNode,onPopupVisibleChange:onPopupVisibleChange}),children)});lib_syntax_namespaceObject.displayName="SelectTrigger";const es_SelectTrigger=lib_syntax_namespaceObject;var propList="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),ariaPrefix="aria-",dataPrefix="data-";function match(key,prefix){return 0===key.indexOf(prefix)}function pickAttrs(props,argument_1){var argument_1=1<arguments.length&&void 0!==argument_1&&argument_1,mergedConfig=!1===argument_1?{aria:!0,data:!0,attr:!0}:!0===argument_1?{aria:!0}:_objectSpread2({},argument_1),attrs={};return Object.keys(props).forEach(function(key){(mergedConfig.aria&&("role"===key||match(key,ariaPrefix))||mergedConfig.data&&match(key,dataPrefix)||mergedConfig.attr&&propList.includes(key))&&(attrs[key]=props[key])}),attrs}function toArray_toArray(children,argument_1){var option=1<arguments.length&&void 0!==argument_1?argument_1:{},ret=[];return external_React_default().Children.forEach(children,function(child){null==child&&!option.keepEmpty||(Array.isArray(child)?ret=ret.concat(toArray_toArray(child)):(0,react_is.isFragment)(child)&&child.props?ret=ret.concat(toArray_toArray(child.props.children,option)):ret.push(child))}),ret}var elementListeners=new Map;var resizeObserver=new ResizeObserver_es(function(entities){entities.forEach(function(entity){var target=entity.target;null!=(entity=elementListeners.get(target))&&entity.forEach(function(listener){return listener(target)})})});var DomWrapper_DomWrapper=function(){_inherits(DomWrapper,external_React_namespaceObject.Component);var _super=_createSuper(DomWrapper);function DomWrapper(){return _classCallCheck(this,DomWrapper),_super.apply(this,arguments)}return _createClass(DomWrapper,[{key:"render",value:function(){return this.props.children}}]),DomWrapper}(),CollectionContext=external_React_namespaceObject.createContext(null);function SingleObserver(props){var children=props.children,disabled=props.disabled,elementRef=external_React_namespaceObject.useRef(null),wrapperRef=external_React_namespaceObject.useRef(null),onCollectionResize=external_React_namespaceObject.useContext(CollectionContext),isRenderProps="function"==typeof children,children=isRenderProps?children(elementRef):children,sizeRef=external_React_namespaceObject.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),isRenderProps=!isRenderProps&&external_React_namespaceObject.isValidElement(children)&&supportRef(children),originRef=isRenderProps?children.ref:null,mergedRef=external_React_namespaceObject.useMemo(function(){return composeRef(originRef,elementRef)},[originRef,elementRef]),propsRef=external_React_namespaceObject.useRef(props),onInternalResize=(propsRef.current=props,external_React_namespaceObject.useCallback(function(target){var sizeInfo,_propsRef$current=propsRef.current,onResize=_propsRef$current.onResize,_propsRef$current=_propsRef$current.data,_target$getBoundingCl=target.getBoundingClientRect(),width=_target$getBoundingCl.width,_target$getBoundingCl=_target$getBoundingCl.height,offsetWidth=target.offsetWidth,offsetHeight=target.offsetHeight,fixedWidth=Math.floor(width),fixedHeight=Math.floor(_target$getBoundingCl);sizeRef.current.width===fixedWidth&&sizeRef.current.height===fixedHeight&&sizeRef.current.offsetWidth===offsetWidth&&sizeRef.current.offsetHeight===offsetHeight||(sizeRef.current=fixedWidth={width:fixedWidth,height:fixedHeight,offsetWidth:offsetWidth,offsetHeight:offsetHeight},fixedHeight=offsetWidth===Math.round(width)?width:offsetWidth,width=offsetHeight===Math.round(_target$getBoundingCl)?_target$getBoundingCl:offsetHeight,sizeInfo=_objectSpread2(_objectSpread2({},fixedWidth),{},{offsetWidth:fixedHeight,offsetHeight:width}),null!=onCollectionResize&&onCollectionResize(sizeInfo,target,_propsRef$current),onResize&&Promise.resolve().then(function(){onResize(sizeInfo,target)}))},[]));return external_React_namespaceObject.useEffect(function(){var element,callback,currentElement=findDOMNode(elementRef.current)||findDOMNode(wrapperRef.current);return currentElement&&!disabled&&(element=currentElement,callback=onInternalResize,elementListeners.has(element)||(elementListeners.set(element,new Set),resizeObserver.observe(element)),elementListeners.get(element).add(callback)),function(){var element,callback;element=currentElement,callback=onInternalResize,elementListeners.has(element)&&(elementListeners.get(element).delete(callback),elementListeners.get(element).size||(resizeObserver.unobserve(element),elementListeners.delete(element)))}},[elementRef.current,disabled]),external_React_namespaceObject.createElement(DomWrapper_DomWrapper,{ref:wrapperRef},isRenderProps?external_React_namespaceObject.cloneElement(children,{ref:mergedRef}):children)}function es_ResizeObserver(props){var children=props.children;return("function"==typeof children?[children]:toArray_toArray(children)).map(function(child,index){index=(null==child?void 0:child.key)||"".concat("rc-observer-key","-").concat(index);return external_React_namespaceObject.createElement(SingleObserver,_extends({},props,{key:index}),child)})}es_ResizeObserver.Collection=function(_ref){var children=_ref.children,onBatchResize=_ref.onBatchResize,resizeIdRef=external_React_namespaceObject.useRef(0),resizeInfosRef=external_React_namespaceObject.useRef([]),onCollectionResize=external_React_namespaceObject.useContext(CollectionContext),_ref=external_React_namespaceObject.useCallback(function(size,element,data){resizeIdRef.current+=1;var currentId=resizeIdRef.current;resizeInfosRef.current.push({size:size,element:element,data:data}),Promise.resolve().then(function(){currentId===resizeIdRef.current&&(null!=onBatchResize&&onBatchResize(resizeInfosRef.current),resizeInfosRef.current=[])}),null!=onCollectionResize&&onCollectionResize(size,element,data)},[onBatchResize,onCollectionResize]);return external_React_namespaceObject.createElement(CollectionContext.Provider,{value:_ref},children)};const rc_resize_observer_es=es_ResizeObserver;var Item_excluded=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"];function InternalItem(props,ref){var prefixCls=props.prefixCls,invalidate=props.invalidate,item=props.item,renderItem=props.renderItem,responsive=props.responsive,responsiveDisabled=props.responsiveDisabled,registerSize=props.registerSize,itemKey=props.itemKey,className=props.className,style=props.style,children=props.children,display=props.display,order=props.order,_props$component=props.component,_props$component=void 0===_props$component?"div":_props$component,props=_objectWithoutProperties(props,Item_excluded),display=responsive&&!display;function internalRegisterSize(width){registerSize(itemKey,width)}external_React_namespaceObject.useEffect(function(){return function(){internalRegisterSize(null)}},[]);var overflowStyle,renderItem=renderItem&&void 0!==item?renderItem(item):children,item=(invalidate||(overflowStyle={opacity:display?0:1,height:display?0:void 0,overflowY:display?"hidden":void 0,order:responsive?order:void 0,pointerEvents:display?"none":void 0,position:display?"absolute":void 0}),{}),children=(display&&(item["aria-hidden"]=!0),external_React_namespaceObject.createElement(_props$component,_extends({className:classnames_default()(!invalidate&&prefixCls,className),style:_objectSpread2(_objectSpread2({},overflowStyle),style)},item,props,{ref:ref}),renderItem));return children=responsive?external_React_namespaceObject.createElement(rc_resize_observer_es,{onResize:function(_ref){internalRegisterSize(_ref.offsetWidth)},disabled:responsiveDisabled},children):children}index_parse_namespaceObject=external_React_namespaceObject.forwardRef(InternalItem);index_parse_namespaceObject.displayName="Item";const es_Item=index_parse_namespaceObject;function useBatchFrameState(){var forceUpdate=slicedToArray_slicedToArray(useSafeState({}),2)[1],statesRef=(0,external_React_namespaceObject.useRef)([]),walkingIndex=0,beforeFrameId=0;return function(defaultValue){var myIndex=walkingIndex;return walkingIndex+=1,statesRef.current.length<myIndex+1&&(statesRef.current[myIndex]=defaultValue),[statesRef.current[myIndex],function(val){statesRef.current[myIndex]="function"==typeof val?val(statesRef.current[myIndex]):val,wrapperRaf.cancel(beforeFrameId),beforeFrameId=wrapperRaf(function(){forceUpdate({},!0)})}]}}var RawItem_excluded=["component"],RawItem_excluded2=["className"],_excluded3=["className"],scope_namespaceObject=external_React_namespaceObject.forwardRef(function(props,ref){var contextClassName,className,restProps,context=external_React_namespaceObject.useContext(OverflowContext);return context?(contextClassName=context.className,context=_objectWithoutProperties(context,RawItem_excluded2),className=props.className,restProps=_objectWithoutProperties(props,_excluded3),external_React_namespaceObject.createElement(OverflowContext.Provider,{value:null},external_React_namespaceObject.createElement(es_Item,_extends({ref:ref,className:classnames_default()(contextClassName,className)},context,restProps)))):(className=void 0===(contextClassName=props.component)?"div":contextClassName,context=_objectWithoutProperties(props,RawItem_excluded),external_React_namespaceObject.createElement(className,_extends({},context,{ref:ref})))}),identList=(scope_namespaceObject.displayName="RawItem",scope_namespaceObject),Overflow_excluded=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],OverflowContext=external_React_namespaceObject.createContext(null);function defaultRenderRest(omittedItems){return"+ ".concat(omittedItems.length," ...")}function Overflow(props,ref){var _props$prefixCls=props.prefixCls,_props$prefixCls=void 0===_props$prefixCls?"rc-overflow":_props$prefixCls,_props$data=props.data,data=void 0===_props$data?[]:_props$data,_props$data=props.renderItem,renderRawItem=props.renderRawItem,itemKey=props.itemKey,_props$itemWidth=props.itemWidth,itemWidth=void 0===_props$itemWidth?10:_props$itemWidth,_props$itemWidth=props.ssr,style=props.style,className=props.className,maxCount=props.maxCount,renderRest=props.renderRest,renderRawRest=props.renderRawRest,suffix=props.suffix,_props$component=props.component,_props$component=void 0===_props$component?"div":_props$component,itemComponent=props.itemComponent,onVisibleChange=props.onVisibleChange,props=_objectWithoutProperties(props,Overflow_excluded),createUseState=useBatchFrameState(),fullySSR="full"===_props$itemWidth,_props$itemWidth=slicedToArray_slicedToArray(createUseState(null),2),containerWidth=_props$itemWidth[0],setContainerWidth=_props$itemWidth[1],mergedContainerWidth=containerWidth||0,_props$itemWidth=slicedToArray_slicedToArray(createUseState(new Map),2),itemWidths=_props$itemWidth[0],setItemWidths=_props$itemWidth[1],_props$itemWidth=slicedToArray_slicedToArray(createUseState(0),2),prevRestWidth=_props$itemWidth[0],setPrevRestWidth=_props$itemWidth[1],_props$itemWidth=slicedToArray_slicedToArray(createUseState(0),2),restWidth=_props$itemWidth[0],setRestWidth=_props$itemWidth[1],_props$itemWidth=slicedToArray_slicedToArray(createUseState(0),2),suffixWidth=_props$itemWidth[0],setSuffixWidth=_props$itemWidth[1],createUseState=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(null),2),suffixFixedStart=createUseState[0],setSuffixFixedStart=createUseState[1],_props$itemWidth=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(null),2),displayCount=_props$itemWidth[0],setDisplayCount=_props$itemWidth[1],mergedDisplayCount=external_React_namespaceObject.useMemo(function(){return null===displayCount&&fullySSR?Number.MAX_SAFE_INTEGER:displayCount||0},[displayCount,containerWidth]),createUseState=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(!1),2),_props$itemWidth=createUseState[0],setRestReady=createUseState[1],createUseState="".concat(_props$prefixCls,"-item"),mergedRestWidth=Math.max(prevRestWidth,restWidth),prevRestWidth="responsive"===maxCount,shouldResponsive=data.length&&prevRestWidth,invalidate="invalidate"===maxCount,showRest=shouldResponsive||"number"==typeof maxCount&&data.length>maxCount,mergedData=(0,external_React_namespaceObject.useMemo)(function(){var items=data;return shouldResponsive?items=null===containerWidth&&fullySSR?data:data.slice(0,Math.min(data.length,mergedContainerWidth/itemWidth)):"number"==typeof maxCount&&(items=data.slice(0,maxCount)),items},[data,itemWidth,containerWidth,maxCount,shouldResponsive]),omittedItems=(0,external_React_namespaceObject.useMemo)(function(){return shouldResponsive?data.slice(mergedDisplayCount+1):data.slice(mergedData.length)},[data,mergedData,shouldResponsive,mergedDisplayCount]),getKey=(0,external_React_namespaceObject.useCallback)(function(item,index){return"function"==typeof itemKey?itemKey(item):null!=(item=itemKey&&(null==item?void 0:item[itemKey]))?item:index},[itemKey]),mergedRenderItem=(0,external_React_namespaceObject.useCallback)(_props$data||function(item){return item},[_props$data]);function updateDisplayCount(count,suffixFixedStartVal,notReady){(displayCount!==count||void 0!==suffixFixedStartVal&&suffixFixedStartVal!==suffixFixedStart)&&(setDisplayCount(count),notReady||(setRestReady(count<data.length-1),null!=onVisibleChange&&onVisibleChange(count)),void 0!==suffixFixedStartVal&&setSuffixFixedStart(suffixFixedStartVal))}function registerSize(key,width){setItemWidths(function(origin){origin=new Map(origin);return null===width?origin.delete(key):origin.set(key,width),origin})}function getItemWidth(index){return itemWidths.get(getKey(mergedData[index],index))}hooks_useLayoutEffect(function(){if(mergedContainerWidth&&mergedRestWidth&&mergedData){var totalWidth=suffixWidth,len=mergedData.length,lastIndex=len-1;if(len){for(var i=0;i<len;i+=1){var currentItemWidth=getItemWidth(i);if(void 0===(currentItemWidth=fullySSR?currentItemWidth||0:currentItemWidth)){updateDisplayCount(i-1,void 0,!0);break}if(totalWidth+=currentItemWidth,0==lastIndex&&totalWidth<=mergedContainerWidth||i===lastIndex-1&&totalWidth+getItemWidth(lastIndex)<=mergedContainerWidth){updateDisplayCount(lastIndex,null);break}if(mergedContainerWidth<totalWidth+mergedRestWidth){updateDisplayCount(i-1,totalWidth-currentItemWidth-suffixWidth+restWidth);break}}suffix&&getItemWidth(0)+suffixWidth>mergedContainerWidth&&setSuffixFixedStart(null)}else updateDisplayCount(0,null)}},[mergedContainerWidth,itemWidths,restWidth,suffixWidth,getKey,mergedData]);var _props$data=_props$itemWidth&&!!omittedItems.length,_props$itemWidth={},itemSharedProps=(null!==suffixFixedStart&&shouldResponsive&&(_props$itemWidth={position:"absolute",left:suffixFixedStart,top:0}),{prefixCls:createUseState,responsive:shouldResponsive,component:itemComponent,invalidate:invalidate}),itemComponent=renderRawItem?function(item,index){var key=getKey(item,index);return external_React_namespaceObject.createElement(OverflowContext.Provider,{key:key,value:_objectSpread2(_objectSpread2({},itemSharedProps),{},{order:index,item:item,itemKey:key,registerSize:registerSize,display:index<=mergedDisplayCount})},renderRawItem(item,index))}:function(item,index){var key=getKey(item,index);return external_React_namespaceObject.createElement(es_Item,_extends({},itemSharedProps,{order:index,key:key,item:item,renderItem:mergedRenderItem,itemKey:key,registerSize:registerSize,display:index<=mergedDisplayCount}))},_props$data={order:_props$data?mergedDisplayCount:Number.MAX_SAFE_INTEGER,className:"".concat(createUseState,"-rest"),registerSize:function(_,width){setRestWidth(width),setPrevRestWidth(restWidth)},display:_props$data},_props$data=(renderRest=renderRawRest?external_React_namespaceObject.createElement(OverflowContext.Provider,{value:_objectSpread2(_objectSpread2({},itemSharedProps),_props$data)},renderRawRest(omittedItems)):(renderRawRest=renderRest||defaultRenderRest,external_React_namespaceObject.createElement(es_Item,_extends({},itemSharedProps,_props$data),"function"==typeof renderRawRest?renderRawRest(omittedItems):renderRawRest)),external_React_namespaceObject.createElement(_props$component,_extends({className:classnames_default()(!invalidate&&_props$prefixCls,className),style:style,ref:ref},props),mergedData.map(itemComponent),showRest?renderRest:null,suffix&&external_React_namespaceObject.createElement(es_Item,_extends({},itemSharedProps,{responsive:prevRestWidth,responsiveDisabled:!shouldResponsive,order:mergedDisplayCount,className:"".concat(createUseState,"-suffix"),registerSize:function(_,width){setSuffixWidth(width)},display:!0,style:_props$itemWidth}),suffix)));return _props$data=prevRestWidth?external_React_namespaceObject.createElement(rc_resize_observer_es,{onResize:function(_,element){setContainerWidth(element.clientWidth)},disabled:!shouldResponsive},_props$data):_props$data}node_namespaceObject=external_React_namespaceObject.forwardRef(Overflow),node_namespaceObject.displayName="Overflow",node_namespaceObject.Item=identList,node_namespaceObject.RESPONSIVE="responsive",node_namespaceObject.INVALIDATE="invalidate",external_wp_apiFetch_namespaceObject=node_namespaceObject;const rc_overflow_es=external_wp_apiFetch_namespaceObject;function es_TransBtn(_ref){var className=_ref.className,customizeIcon=_ref.customizeIcon,customizeIconProps=_ref.customizeIconProps,_onMouseDown=_ref.onMouseDown,onClick=_ref.onClick,_ref=_ref.children,customizeIconProps="function"==typeof customizeIcon?customizeIcon(customizeIconProps):customizeIcon;return external_React_namespaceObject.createElement("span",{className:className,onMouseDown:function(event){event.preventDefault(),_onMouseDown&&_onMouseDown(event)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:onClick,"aria-hidden":!0},void 0!==customizeIconProps?customizeIconProps:external_React_namespaceObject.createElement("span",{className:classnames_default()(className.split(/\s+/).map(function(cls){return"".concat(cls,"-icon")}))},_ref))}lib_syntax_namespaceObject=external_React_namespaceObject.forwardRef(function(_ref,ref){var prefixCls=_ref.prefixCls,id=_ref.id,inputElement=_ref.inputElement,disabled=_ref.disabled,tabIndex=_ref.tabIndex,autoFocus=_ref.autoFocus,autoComplete=_ref.autoComplete,editable=_ref.editable,activeDescendantId=_ref.activeDescendantId,value=_ref.value,maxLength=_ref.maxLength,_onKeyDown=_ref.onKeyDown,_onMouseDown=_ref.onMouseDown,_onChange=_ref.onChange,onPaste=_ref.onPaste,_onCompositionStart=_ref.onCompositionStart,_onCompositionEnd=_ref.onCompositionEnd,open=_ref.open,_ref=_ref.attrs,inputElement=inputElement||external_React_namespaceObject.createElement("input",null),originRef=inputElement.ref,originProps=inputElement.props,onOriginKeyDown=originProps.onKeyDown,onOriginChange=originProps.onChange,onOriginMouseDown=originProps.onMouseDown,onOriginCompositionStart=originProps.onCompositionStart,onOriginCompositionEnd=originProps.onCompositionEnd,style=originProps.style;return 0 in inputElement.props,external_React_namespaceObject.cloneElement(inputElement,_objectSpread2(_objectSpread2(_objectSpread2({type:"search"},originProps),{},{id:id,ref:composeRef(ref,originRef),disabled:disabled,tabIndex:tabIndex,autoComplete:autoComplete||"off",autoFocus:autoFocus,className:classnames_default()("".concat(prefixCls,"-selection-search-input"),null==(originProps=inputElement)||null==(ref=originProps.props)?void 0:ref.className),role:"combobox","aria-expanded":open,"aria-haspopup":"listbox","aria-owns":"".concat(id,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(id,"_list"),"aria-activedescendant":activeDescendantId},_ref),{},{value:editable?value:"",maxLength:maxLength,readOnly:!editable,unselectable:editable?null:"on",style:_objectSpread2(_objectSpread2({},style),{},{opacity:editable?null:0}),onKeyDown:function(event){_onKeyDown(event),onOriginKeyDown&&onOriginKeyDown(event)},onMouseDown:function(event){_onMouseDown(event),onOriginMouseDown&&onOriginMouseDown(event)},onChange:function(event){_onChange(event),onOriginChange&&onOriginChange(event)},onCompositionStart:function(event){_onCompositionStart(event),onOriginCompositionStart&&onOriginCompositionStart(event)},onCompositionEnd:function(event){_onCompositionEnd(event),onOriginCompositionEnd&&onOriginCompositionEnd(event)},onPaste:onPaste}))});lib_syntax_namespaceObject.displayName="Input";const Selector_Input=lib_syntax_namespaceObject;function commonUtil_toArray(value){return Array.isArray(value)?value:void 0!==value?[value]:[]}var isBrowserClient="undefined"!=typeof window&&window.document&&window.document.documentElement;function itemKey(value){var _value$key;return null!=(_value$key=value.key)?_value$key:value.value}function onPreventMouseDown(event){event.preventDefault(),event.stopPropagation()}function MultipleSelector(props){var id=props.id,prefixCls=props.prefixCls,values=props.values,open=props.open,searchValue=props.searchValue,inputRef=props.inputRef,placeholder=props.placeholder,disabled=props.disabled,mode=props.mode,showSearch=props.showSearch,autoFocus=props.autoFocus,autoComplete=props.autoComplete,activeDescendantId=props.activeDescendantId,tabIndex=props.tabIndex,removeIcon=props.removeIcon,maxTagCount=props.maxTagCount,maxTagTextLength=props.maxTagTextLength,maxTagPlaceholder=void 0===(_props$maxTagPlacehol=props.maxTagPlaceholder)?function(omittedValues){return"+ ".concat(omittedValues.length," ...")}:_props$maxTagPlacehol,tagRender=props.tagRender,onToggleOpen=props.onToggleOpen,onRemove=props.onRemove,_props$maxTagPlacehol=props.onInputChange,onInputPaste=props.onInputPaste,onInputKeyDown=props.onInputKeyDown,onInputMouseDown=props.onInputMouseDown,onInputCompositionStart=props.onInputCompositionStart,onInputCompositionEnd=props.onInputCompositionEnd,measureRef=external_React_namespaceObject.useRef(null),inputWidth=(_useState2=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(0),2))[0],setInputWidth=_useState2[1],focused=(_useState2=slicedToArray_slicedToArray((0,external_React_namespaceObject.useState)(!1),2))[0],setFocused=_useState2[1],selectionPrefixCls="".concat(prefixCls,"-selection"),_useState2=open||"tags"===mode?searchValue:"",searchValue="tags"===mode||showSearch&&(open||focused);function defaultRenderSelector(title,content,itemDisabled,closable,onClose){return external_React_namespaceObject.createElement("span",{className:classnames_default()("".concat(selectionPrefixCls,"-item"),_defineProperty({},"".concat(selectionPrefixCls,"-item-disabled"),itemDisabled)),title:"string"==typeof title||"number"==typeof title?title.toString():void 0},external_React_namespaceObject.createElement("span",{className:"".concat(selectionPrefixCls,"-item-content")},content),closable&&external_React_namespaceObject.createElement(es_TransBtn,{className:"".concat(selectionPrefixCls,"-item-remove"),onMouseDown:onPreventMouseDown,onClick:onClose,customizeIcon:removeIcon},"×"))}return mode=function(){setInputWidth(measureRef.current.scrollWidth)},showSearch=[_useState2],isBrowserClient?external_React_namespaceObject.useLayoutEffect(mode,showSearch):external_React_namespaceObject.useEffect(mode,showSearch),focused=external_React_namespaceObject.createElement("div",{className:"".concat(selectionPrefixCls,"-search"),style:{width:inputWidth},onFocus:function(){setFocused(!0)},onBlur:function(){setFocused(!1)}},external_React_namespaceObject.createElement(Selector_Input,{ref:inputRef,open:open,prefixCls:prefixCls,id:id,inputElement:null,disabled:disabled,autoFocus:autoFocus,autoComplete:autoComplete,editable:searchValue,activeDescendantId:activeDescendantId,value:_useState2,onKeyDown:onInputKeyDown,onMouseDown:onInputMouseDown,onChange:_props$maxTagPlacehol,onPaste:onInputPaste,onCompositionStart:onInputCompositionStart,onCompositionEnd:onInputCompositionEnd,tabIndex:tabIndex,attrs:pickAttrs(props,!0)}),external_React_namespaceObject.createElement("span",{ref:measureRef,className:"".concat(selectionPrefixCls,"-search-mirror"),"aria-hidden":!0},_useState2," ")),mode=external_React_namespaceObject.createElement(rc_overflow_es,{prefixCls:"".concat(selectionPrefixCls,"-overflow"),data:values,renderItem:function(valueItem){function onClose(event){event&&event.stopPropagation(),onRemove(valueItem)}var strLabel,itemDisabled=valueItem.disabled,label=valueItem.label,value=valueItem.value,closable=!disabled&&!itemDisabled,displayLabel=label;return"number"!=typeof maxTagTextLength||"string"!=typeof label&&"number"!=typeof label||(strLabel=String(displayLabel)).length>maxTagTextLength&&(displayLabel="".concat(strLabel.slice(0,maxTagTextLength),"...")),"function"==typeof tagRender?function(value,content,itemDisabled,closable,onClose){return external_React_namespaceObject.createElement("span",{onMouseDown:function(e){onPreventMouseDown(e),onToggleOpen(!open)}},tagRender({label:content,value:value,disabled:itemDisabled,closable:closable,onClose:onClose}))}(value,displayLabel,itemDisabled,closable,onClose):defaultRenderSelector(label,displayLabel,itemDisabled,closable,onClose)},renderRest:function(omittedValues){return defaultRenderSelector(omittedValues="function"==typeof maxTagPlaceholder?maxTagPlaceholder(omittedValues):maxTagPlaceholder,omittedValues,!1)},suffix:focused,itemKey:itemKey,maxCount:maxTagCount}),external_React_namespaceObject.createElement(external_React_namespaceObject.Fragment,null,mode,!values.length&&!_useState2&&external_React_namespaceObject.createElement("span",{className:"".concat(selectionPrefixCls,"-placeholder")},placeholder))}function Selector_SingleSelector(props){var inputElement=props.inputElement,prefixCls=props.prefixCls,id=props.id,inputRef=props.inputRef,disabled=props.disabled,autoFocus=props.autoFocus,autoComplete=props.autoComplete,activeDescendantId=props.activeDescendantId,mode=props.mode,open=props.open,values=props.values,placeholder=props.placeholder,tabIndex=props.tabIndex,showSearch=props.showSearch,searchValue=props.searchValue,activeValue=props.activeValue,maxLength=props.maxLength,onInputKeyDown=props.onInputKeyDown,onInputMouseDown=props.onInputMouseDown,onInputChange=props.onInputChange,onInputPaste=props.onInputPaste,onInputCompositionStart=props.onInputCompositionStart,onInputCompositionEnd=props.onInputCompositionEnd,inputChanged=(_React$useState2=slicedToArray_slicedToArray(external_React_namespaceObject.useState(!1),2))[0],setInputChanged=_React$useState2[1],combobox="combobox"===mode,_React$useState2=combobox||showSearch,values=values[0],inputChanged=combobox&&activeValue&&!inputChanged?activeValue:searchValue||"",searchValue=(external_React_namespaceObject.useEffect(function(){combobox&&setInputChanged(!1)},[combobox,activeValue]),!("combobox"!==mode&&!open&&!showSearch)&&!!inputChanged),activeValue=!values||"string"!=typeof values.label&&"number"!=typeof values.label?void 0:values.label.toString();return external_React_namespaceObject.createElement(external_React_namespaceObject.Fragment,null,external_React_namespaceObject.createElement("span",{className:"".concat(prefixCls,"-selection-search")},external_React_namespaceObject.createElement(Selector_Input,{ref:inputRef,prefixCls:prefixCls,id:id,open:open,inputElement:inputElement,disabled:disabled,autoFocus:autoFocus,autoComplete:autoComplete,editable:_React$useState2,activeDescendantId:activeDescendantId,value:inputChanged,onKeyDown:onInputKeyDown,onMouseDown:onInputMouseDown,onChange:function(e){setInputChanged(!0),onInputChange(e)},onPaste:onInputPaste,onCompositionStart:onInputCompositionStart,onCompositionEnd:onInputCompositionEnd,tabIndex:tabIndex,attrs:pickAttrs(props,!0),maxLength:combobox?maxLength:void 0})),!combobox&&values&&!searchValue&&external_React_namespaceObject.createElement("span",{className:"".concat(prefixCls,"-selection-item"),title:activeValue},values.label),values?null:(mode=searchValue?{visibility:"hidden"}:void 0,external_React_namespaceObject.createElement("span",{className:"".concat(prefixCls,"-selection-placeholder"),style:mode},placeholder)))}function useLock(argument_0){var duration=0<arguments.length&&void 0!==argument_0?argument_0:250,lockRef=external_React_namespaceObject.useRef(null),timeoutRef=external_React_namespaceObject.useRef(null);return external_React_namespaceObject.useEffect(function(){return function(){window.clearTimeout(timeoutRef.current)}},[]),[function(){return lockRef.current},function(locked){!locked&&null!==lockRef.current||(lockRef.current=locked),window.clearTimeout(timeoutRef.current),timeoutRef.current=window.setTimeout(function(){lockRef.current=null},duration)}]}index_parse_namespaceObject=external_React_namespaceObject.forwardRef(function(props,ref){var inputRef=(0,external_React_namespaceObject.useRef)(null),compositionStatusRef=(0,external_React_namespaceObject.useRef)(!1),prefixCls=props.prefixCls,open=props.open,mode=props.mode,showSearch=props.showSearch,tokenWithEnter=props.tokenWithEnter,onSearch=props.onSearch,onSearchSubmit=props.onSearchSubmit,onToggleOpen=props.onToggleOpen,onInputKeyDown=props.onInputKeyDown,domRef=props.domRef;external_React_namespaceObject.useImperativeHandle(ref,function(){return{focus:function(){inputRef.current.focus()},blur:function(){inputRef.current.blur()}}});function triggerOnSearch(value){!1!==onSearch(value,!0,compositionStatusRef.current)&&onToggleOpen(!0)}var ref=slicedToArray_slicedToArray(useLock(0),2),getInputMouseDown=ref[0],setInputMouseDown=ref[1],pastedTextRef=(0,external_React_namespaceObject.useRef)(null),ref={inputRef:inputRef,onInputKeyDown:function(event){var which=event.which;which!==es_KeyCode.UP&&which!==es_KeyCode.DOWN||event.preventDefault(),onInputKeyDown&&onInputKeyDown(event),which!==es_KeyCode.ENTER||"tags"!==mode||compositionStatusRef.current||open||null!=onSearchSubmit&&onSearchSubmit(event.target.value),event=which,[es_KeyCode.ESC,es_KeyCode.SHIFT,es_KeyCode.BACKSPACE,es_KeyCode.TAB,es_KeyCode.WIN_KEY,es_KeyCode.ALT,es_KeyCode.META,es_KeyCode.WIN_KEY_RIGHT,es_KeyCode.CTRL,es_KeyCode.SEMICOLON,es_KeyCode.EQUALS,es_KeyCode.CAPS_LOCK,es_KeyCode.CONTEXT_MENU,es_KeyCode.F1,es_KeyCode.F2,es_KeyCode.F3,es_KeyCode.F4,es_KeyCode.F5,es_KeyCode.F6,es_KeyCode.F7,es_KeyCode.F8,es_KeyCode.F9,es_KeyCode.F10,es_KeyCode.F11,es_KeyCode.F12].includes(event)||onToggleOpen(!0)},onInputMouseDown:function(){setInputMouseDown(!0)},onInputChange:function(event){var replacedText,event=event.target.value;tokenWithEnter&&pastedTextRef.current&&/[\r\n]/.test(pastedTextRef.current)&&(replacedText=pastedTextRef.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," "),event=event.replace(replacedText,pastedTextRef.current)),pastedTextRef.current=null,triggerOnSearch(event)},onInputPaste:function(e){e=e.clipboardData.getData("text");pastedTextRef.current=e},onInputCompositionStart:function(){compositionStatusRef.current=!0},onInputCompositionEnd:function(e){compositionStatusRef.current=!1,"combobox"!==mode&&triggerOnSearch(e.target.value)}},props="multiple"===mode||"tags"===mode?external_React_namespaceObject.createElement(MultipleSelector,_extends({},props,ref)):external_React_namespaceObject.createElement(Selector_SingleSelector,_extends({},props,ref));return external_React_namespaceObject.createElement("div",{ref:domRef,className:"".concat(prefixCls,"-selector"),onClick:function(_ref){_ref.target!==inputRef.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){inputRef.current.focus()}):inputRef.current.focus())},onMouseDown:function(event){var inputMouseDown=getInputMouseDown();event.target===inputRef.current||inputMouseDown||event.preventDefault(),("combobox"===mode||showSearch&&inputMouseDown)&&open||(open&&onSearch("",!0,!1),onToggleOpen())}},props)});index_parse_namespaceObject.displayName="Selector";const es_Selector=index_parse_namespaceObject;var BaseSelectContext=external_React_namespaceObject.createContext(null);var BaseSelect_excluded=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],DEFAULT_OMIT_PROPS=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function BaseSelect_isMultiple(mode){return"tags"===mode||"multiple"===mode}const es_BaseSelect=external_React_namespaceObject.forwardRef(function(props,ref){var id=props.id,prefixCls=props.prefixCls,className=props.className,showSearch=props.showSearch,tagRender=props.tagRender,direction=props.direction,omitDomProps=props.omitDomProps,displayValues=props.displayValues,onDisplayValuesChange=props.onDisplayValuesChange,emptyOptions=props.emptyOptions,_props$notFoundConten=props.notFoundContent,notFoundContent=void 0===_props$notFoundConten?"Not Found":_props$notFoundConten,onClear=props.onClear,mode=props.mode,disabled=props.disabled,_props$notFoundConten=props.loading,getInputElement=props.getInputElement,getRawInputElement=props.getRawInputElement,open=props.open,defaultOpen=props.defaultOpen,onDropdownVisibleChange=props.onDropdownVisibleChange,activeValue=props.activeValue,onActiveValueChange=props.onActiveValueChange,activeDescendantId=props.activeDescendantId,searchValue=props.searchValue,onSearch=props.onSearch,onSearchSplit=props.onSearchSplit,tokenSeparators=props.tokenSeparators,allowClear=props.allowClear,showArrow=props.showArrow,inputIcon=props.inputIcon,clearIcon=props.clearIcon,OptionList=props.OptionList,animation=props.animation,transitionName=props.transitionName,dropdownStyle=props.dropdownStyle,dropdownClassName=props.dropdownClassName,dropdownMatchSelectWidth=props.dropdownMatchSelectWidth,dropdownRender=props.dropdownRender,dropdownAlign=props.dropdownAlign,placement=props.placement,getPopupContainer=props.getPopupContainer,_props$showAction=props.showAction,showAction=void 0===_props$showAction?[]:_props$showAction,onFocus=props.onFocus,onBlur=props.onBlur,onKeyUp=props.onKeyUp,onKeyDown=props.onKeyDown,onMouseDown=props.onMouseDown,_props$showAction=_objectWithoutProperties(props,BaseSelect_excluded),multiple=BaseSelect_isMultiple(mode),mergedShowSearch=(void 0!==showSearch?showSearch:multiple)||"combobox"===mode,domProps=_objectSpread2({},_props$showAction);DEFAULT_OMIT_PROPS.forEach(function(propName){delete domProps[propName]}),null!=omitDomProps&&omitDomProps.forEach(function(propName){delete domProps[propName]});function onInternalSearch(searchText,fromTyping,isCompositing){var ret=!0,newSearchText=searchText,isCompositing=(null!=onActiveValueChange&&onActiveValueChange(null),isCompositing?null:getSeparatedContent(searchText,tokenSeparators));return"combobox"!==mode&&isCompositing&&(newSearchText="",null!=onSearchSplit&&onSearchSplit(isCompositing),onToggleOpen(!1),ret=!1),onSearch&&mergedSearchValue!==newSearchText&&onSearch(newSearchText,{source:fromTyping?"typing":"effect"}),ret}var showSearch=slicedToArray_slicedToArray(external_React_namespaceObject.useState(!1),2),mobile=showSearch[0],setMobile=showSearch[1],containerRef=(external_React_namespaceObject.useEffect(function(){setMobile(isMobile())},[]),external_React_namespaceObject.useRef(null)),selectorDomRef=external_React_namespaceObject.useRef(null),triggerRef=external_React_namespaceObject.useRef(null),selectorRef=external_React_namespaceObject.useRef(null),listRef=external_React_namespaceObject.useRef(null),_props$showAction=function(argument_0){function cancelLatest(){window.clearTimeout(delayRef.current)}var timeout=0<arguments.length&&void 0!==argument_0?argument_0:10,argument_0=slicedToArray_slicedToArray(external_React_namespaceObject.useState(!1),2),bool=argument_0[0],setBool=argument_0[1],delayRef=external_React_namespaceObject.useRef(null);return external_React_namespaceObject.useEffect(function(){return cancelLatest},[]),[bool,function(value,callback){cancelLatest(),delayRef.current=window.setTimeout(function(){setBool(value),callback&&callback()},timeout)},cancelLatest]}(),omitDomProps=slicedToArray_slicedToArray(_props$showAction,3),showSearch=omitDomProps[0],setMockFocused=omitDomProps[1],cancelSetMockFocused=omitDomProps[2],mergedSearchValue=(external_React_namespaceObject.useImperativeHandle(ref,function(){var _selectorRef$current;return{focus:null==(_selectorRef$current=selectorRef.current)?void 0:_selectorRef$current.focus,blur:null==(_selectorRef$current=selectorRef.current)?void 0:_selectorRef$current.blur,scrollTo:function(arg){var _listRef$current;return null==(_listRef$current=listRef.current)?void 0:_listRef$current.scrollTo(arg)}}}),external_React_namespaceObject.useMemo(function(){var _displayValues$;return"combobox"!==mode?searchValue:"string"==typeof(_displayValues$=null==(_displayValues$=displayValues[0])?void 0:_displayValues$.value)||"number"==typeof _displayValues$?String(_displayValues$):""},[searchValue,mode,displayValues])),_props$showAction="combobox"===mode&&"function"==typeof getInputElement&&getInputElement()||null,omitDomProps="function"==typeof getRawInputElement&&getRawInputElement(),getInputElement=function(){for(var _len2=arguments.length,refs=new Array(_len2),_key2=0;_key2<_len2;_key2++)refs[_key2]=arguments[_key2];return useMemo(function(){return composeRef.apply(void 0,refs)},refs,function(prev,next){return prev.length===next.length&&prev.every(function(ref,i){return ref===next[i]})})}(selectorDomRef,null==omitDomProps||null==(ref=omitDomProps.props)?void 0:ref.ref),getRawInputElement=slicedToArray_slicedToArray(useMergedState(void 0,{defaultValue:defaultOpen,value:open}),2),innerOpen=getRawInputElement[0],setInnerOpen=getRawInputElement[1],mergedOpen=innerOpen,ref=!notFoundContent&&emptyOptions,triggerOpen=((disabled||ref&&mergedOpen&&"combobox"===mode)&&(mergedOpen=!1),!ref&&mergedOpen),onToggleOpen=external_React_namespaceObject.useCallback(function(newOpen){newOpen=void 0!==newOpen?newOpen:!mergedOpen;mergedOpen===newOpen||disabled||(setInnerOpen(newOpen),null!=onDropdownVisibleChange&&onDropdownVisibleChange(newOpen))},[disabled,mergedOpen,setInnerOpen,onDropdownVisibleChange]),defaultOpen=external_React_namespaceObject.useMemo(function(){return(tokenSeparators||[]).some(function(tokenSeparator){return["\n","\r\n"].includes(tokenSeparator)})},[tokenSeparators]);external_React_namespaceObject.useEffect(function(){mergedOpen||multiple||"combobox"===mode||onInternalSearch("",!1,!1)},[mergedOpen]),external_React_namespaceObject.useEffect(function(){innerOpen&&disabled&&setInnerOpen(!1),disabled&&setMockFocused(!1)},[disabled]);var onTriggerVisibleChange,open=slicedToArray_slicedToArray(useLock(),2),getClearLock=open[0],setClearLock=open[1],focusRef=external_React_namespaceObject.useRef(!1),activeTimeoutIds=[],getRawInputElement=(external_React_namespaceObject.useEffect(function(){return function(){activeTimeoutIds.forEach(function(timeoutId){return clearTimeout(timeoutId)}),activeTimeoutIds.splice(0,activeTimeoutIds.length)}},[]),slicedToArray_slicedToArray(external_React_namespaceObject.useState(null),2)),containerWidth=getRawInputElement[0],setContainerWidth=getRawInputElement[1],forceUpdate=slicedToArray_slicedToArray(external_React_namespaceObject.useState({}),2)[1];hooks_useLayoutEffect(function(){var _containerRef$current;triggerOpen&&(_containerRef$current=Math.ceil(null==(_containerRef$current=containerRef.current)?void 0:_containerRef$current.offsetWidth),containerWidth===_containerRef$current||Number.isNaN(_containerRef$current)||setContainerWidth(_containerRef$current))},[triggerOpen]),omitDomProps&&(onTriggerVisibleChange=function(newOpen){onToggleOpen(newOpen)}),function(elements,open,triggerOpen,customizedTrigger){var propsRef=external_React_namespaceObject.useRef(null);propsRef.current={open:open,triggerOpen:triggerOpen,customizedTrigger:customizedTrigger},external_React_namespaceObject.useEffect(function(){function onGlobalMouseDown(event){var _propsRef$current,target;null!=(_propsRef$current=propsRef.current)&&_propsRef$current.customizedTrigger||((target=event.target).shadowRoot&&event.composed&&(target=event.composedPath()[0]||target),propsRef.current.open&&elements().filter(function(element){return element}).every(function(element){return!element.contains(target)&&element!==target})&&propsRef.current.triggerOpen(!1))}return window.addEventListener("mousedown",onGlobalMouseDown),function(){return window.removeEventListener("mousedown",onGlobalMouseDown)}},[])}(function(){var _triggerRef$current2;return[containerRef.current,null==(_triggerRef$current2=triggerRef.current)?void 0:_triggerRef$current2.getPopupElement()]},triggerOpen,onToggleOpen,!!omitDomProps);var arrowNode,clearNode,ref=external_React_namespaceObject.useMemo(function(){return _objectSpread2(_objectSpread2({},props),{},{notFoundContent:notFoundContent,open:mergedOpen,triggerOpen:triggerOpen,id:id,showSearch:mergedShowSearch,multiple:multiple,toggleOpen:onToggleOpen})},[props,notFoundContent,triggerOpen,mergedOpen,id,mergedShowSearch,multiple,onToggleOpen]),open=void 0!==showArrow?showArrow:_props$notFoundConten||!multiple&&"combobox"!==mode,getRawInputElement=(open&&(arrowNode=external_React_namespaceObject.createElement(es_TransBtn,{className:classnames_default()("".concat(prefixCls,"-arrow"),_defineProperty({},"".concat(prefixCls,"-arrow-loading"),_props$notFoundConten)),customizeIcon:inputIcon,customizeIconProps:{loading:_props$notFoundConten,searchValue:mergedSearchValue,open:mergedOpen,focused:showSearch,showSearch:mergedShowSearch}})),!disabled&&allowClear&&(displayValues.length||mergedSearchValue)&&(clearNode=external_React_namespaceObject.createElement(es_TransBtn,{className:"".concat(prefixCls,"-clear"),onMouseDown:function(){null!=onClear&&onClear(),onDisplayValuesChange([],{type:"clear",values:displayValues}),onInternalSearch("",!1,!1)},customizeIcon:clearIcon},"×")),external_React_namespaceObject.createElement(OptionList,{ref:listRef})),inputIcon=classnames_default()(prefixCls,className,(_defineProperty(showArrow={},"".concat(prefixCls,"-focused"),showSearch),_defineProperty(showArrow,"".concat(prefixCls,"-multiple"),multiple),_defineProperty(showArrow,"".concat(prefixCls,"-single"),!multiple),_defineProperty(showArrow,"".concat(prefixCls,"-allow-clear"),allowClear),_defineProperty(showArrow,"".concat(prefixCls,"-show-arrow"),open),_defineProperty(showArrow,"".concat(prefixCls,"-disabled"),disabled),_defineProperty(showArrow,"".concat(prefixCls,"-loading"),_props$notFoundConten),_defineProperty(showArrow,"".concat(prefixCls,"-open"),mergedOpen),_defineProperty(showArrow,"".concat(prefixCls,"-customize-input"),_props$showAction),_defineProperty(showArrow,"".concat(prefixCls,"-show-search"),mergedShowSearch),showArrow)),clearIcon=external_React_namespaceObject.createElement(es_SelectTrigger,{ref:triggerRef,disabled:disabled,prefixCls:prefixCls,visible:triggerOpen,popupElement:getRawInputElement,containerWidth:containerWidth,animation:animation,transitionName:transitionName,dropdownStyle:dropdownStyle,dropdownClassName:dropdownClassName,direction:direction,dropdownMatchSelectWidth:dropdownMatchSelectWidth,dropdownRender:dropdownRender,dropdownAlign:dropdownAlign,placement:placement,getPopupContainer:getPopupContainer,empty:emptyOptions,getTriggerDOMNode:function(){return selectorDomRef.current},onPopupVisibleChange:onTriggerVisibleChange,onPopupMouseEnter:function(){forceUpdate({})}},omitDomProps?external_React_namespaceObject.cloneElement(omitDomProps,{ref:getInputElement}):external_React_namespaceObject.createElement(es_Selector,_extends({},props,{domRef:selectorDomRef,prefixCls:prefixCls,inputElement:_props$showAction,ref:selectorRef,id:id,showSearch:mergedShowSearch,mode:mode,activeDescendantId:activeDescendantId,tagRender:tagRender,values:displayValues,open:mergedOpen,onToggleOpen:onToggleOpen,activeValue:activeValue,searchValue:mergedSearchValue,onSearch:onInternalSearch,onSearchSubmit:function(searchText){searchText&&searchText.trim()&&onSearch(searchText,{source:"submit"})},onRemove:function(val){var newValues=displayValues.filter(function(i){return i!==val});onDisplayValuesChange(newValues,{type:"remove",values:[val]})},tokenWithEnter:defaultOpen}))),OptionList=omitDomProps?clearIcon:external_React_namespaceObject.createElement("div",_extends({className:inputIcon},domProps,{ref:containerRef,onMouseDown:function(event){var _triggerRef$current,timeoutId,target=event.target,popupElement=null==(_triggerRef$current=triggerRef.current)?void 0:_triggerRef$current.getPopupElement();popupElement&&popupElement.contains(target)&&(timeoutId=setTimeout(function(){var index=activeTimeoutIds.indexOf(timeoutId);-1!==index&&activeTimeoutIds.splice(index,1),cancelSetMockFocused(),mobile||popupElement.contains(document.activeElement)||null!=(index=selectorRef.current)&&index.focus()}),activeTimeoutIds.push(timeoutId));for(var _len3=arguments.length,restArgs=new Array(1<_len3?_len3-1:0),_key3=1;_key3<_len3;_key3++)restArgs[_key3-1]=arguments[_key3];null!=onMouseDown&&onMouseDown.apply(void 0,[event].concat(restArgs))},onKeyDown:function(event){var clearLock=getClearLock(),which=event.which;if(which===es_KeyCode.ENTER&&("combobox"!==mode&&event.preventDefault(),mergedOpen||onToggleOpen(!0)),setClearLock(!!mergedSearchValue),which===es_KeyCode.BACKSPACE&&!clearLock&&multiple&&!mergedSearchValue&&displayValues.length){for(var cloneDisplayValues=_toConsumableArray(displayValues),removedDisplayValue=null,i=cloneDisplayValues.length-1;0<=i;--i){var current=cloneDisplayValues[i];if(!current.disabled){cloneDisplayValues.splice(i,1),removedDisplayValue=current;break}}removedDisplayValue&&onDisplayValuesChange(cloneDisplayValues,{type:"remove",values:[removedDisplayValue]})}for(var _len=arguments.length,rest=new Array(1<_len?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];mergedOpen&&listRef.current&&(which=listRef.current).onKeyDown.apply(which,[event].concat(rest)),null!=onKeyDown&&onKeyDown.apply(void 0,[event].concat(rest))},onKeyUp:function(event){for(var _listRef$current3,_len2=arguments.length,rest=new Array(1<_len2?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];mergedOpen&&listRef.current&&(_listRef$current3=listRef.current).onKeyUp.apply(_listRef$current3,[event].concat(rest)),null!=onKeyUp&&onKeyUp.apply(void 0,[event].concat(rest))},onFocus:function(){setMockFocused(!0),disabled||(onFocus&&!focusRef.current&&onFocus.apply(void 0,arguments),showAction.includes("focus")&&onToggleOpen(!0)),focusRef.current=!0},onBlur:function(){setMockFocused(!1,function(){focusRef.current=!1,onToggleOpen(!1)}),disabled||(mergedSearchValue&&("tags"===mode?onSearch(mergedSearchValue,{source:"submit"}):"multiple"===mode&&onSearch("",{source:"blur"})),onBlur&&onBlur.apply(void 0,arguments))}}),showSearch&&!mergedOpen&&external_React_namespaceObject.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(displayValues.map(function(_ref){var label=_ref.label,_ref=_ref.value;return["number","string"].includes(typeof_typeof(label))?label:_ref}).join(", "))),clearIcon,arrowNode,clearNode);return external_React_namespaceObject.createElement(BaseSelectContext.Provider,{value:ref},OptionList)});function includes(test,search){return commonUtil_toArray(test).join("").toUpperCase().includes(search)}var uuid=0,useId_isBrowserClient=canUseDom();function useId(id){var _React$useState2=slicedToArray_slicedToArray(external_React_namespaceObject.useState(),2),innerId=_React$useState2[0],setInnerId=_React$useState2[1];return external_React_namespaceObject.useEffect(function(){var retId;setInnerId("rc_select_".concat((useId_isBrowserClient?(retId=uuid,uuid+=1):retId="TEST_OR_SSR",retId)))},[]),id||innerId}var legacyUtil_excluded=["children","value"],legacyUtil_excluded2=["children"];function legacyUtil_convertChildrenToData(nodes,argument_1){var optionOnly=1<arguments.length&&void 0!==argument_1&&argument_1;return toArray_toArray(nodes).map(function(node,index){var isSelectOptGroup,key,children,_node$props2;return external_React_namespaceObject.isValidElement(node)&&node.type?(isSelectOptGroup=node.type.isSelectOptGroup,key=node.key,children=(_node$props2=node.props).children,_node$props2=_objectWithoutProperties(_node$props2,legacyUtil_excluded2),optionOnly||!isSelectOptGroup?function(node){var key=node.key,children=(node=node.props).children,value=node.value;return _objectSpread2({key:key,value:void 0!==value?value:key,children:children},_objectWithoutProperties(node,legacyUtil_excluded))}(node):_objectSpread2(_objectSpread2({key:"__RC_SELECT_GRP__".concat(null===key?index:key,"__"),label:key},_node$props2),{},{options:legacyUtil_convertChildrenToData(children)})):null}).filter(function(data){return data})}function useOptions(options,children,fieldNames,optionFilterProp,optionLabelProp){return external_React_namespaceObject.useMemo(function(){var mergedOptions=options,valueOptions=(!options&&(mergedOptions=legacyUtil_convertChildrenToData(children)),new Map),labelOptions=new Map,setLabelOptions=function(labelOptionsMap,option,key){key&&"string"==typeof key&&labelOptionsMap.set(option[key],option)};return function dig(optionList,argument_1){for(var isChildren=1<arguments.length&&void 0!==argument_1&&argument_1,i=0;i<optionList.length;i+=1){var option=optionList[i];!option[fieldNames.options]||isChildren?(valueOptions.set(option[fieldNames.value],option),setLabelOptions(labelOptions,option,fieldNames.label),setLabelOptions(labelOptions,option,optionFilterProp),setLabelOptions(labelOptions,option,optionLabelProp)):dig(option[fieldNames.options],!0)}}(mergedOptions),{options:mergedOptions,valueOptions:valueOptions,labelOptions:labelOptions}},[options,children,fieldNames,optionFilterProp,optionLabelProp])}function useRefFunc(callback){var funcRef=external_React_namespaceObject.useRef();return funcRef.current=callback,external_React_namespaceObject.useCallback(function(){return funcRef.current.apply(funcRef,arguments)},[])}function OptGroup(){return null}function Option(){return null}OptGroup.isSelectOptGroup=!0;scope_namespaceObject=OptGroup;Option.isSelectOption=!0;const es_Option=Option;function Filler_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function Filler_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Filler_ownKeys(Object(source),!0).forEach(function(key){Filler_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):Filler_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function Filler_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}identList=external_React_namespaceObject.forwardRef(function(_ref,ref){var height=_ref.height,offset=_ref.offset,children=_ref.children,prefixCls=_ref.prefixCls,onInnerResize=_ref.onInnerResize,_ref={},innerStyle={display:"flex",flexDirection:"column"};return void 0!==offset&&(_ref={height:height,position:"relative",overflow:"hidden"},innerStyle=Filler_objectSpread(Filler_objectSpread({},innerStyle),{},{transform:"translateY(".concat(offset,"px)"),position:"absolute",left:0,right:0,top:0})),external_React_namespaceObject.createElement("div",{style:_ref},external_React_namespaceObject.createElement(rc_resize_observer_es,{onResize:function(_ref2){_ref2.offsetHeight&&onInnerResize&&onInnerResize()}},external_React_namespaceObject.createElement("div",{style:innerStyle,className:classnames_default()(Filler_defineProperty({},"".concat(prefixCls,"-holder-inner"),prefixCls)),ref:ref},children)))});identList.displayName="Filler";const es_Filler=identList;function ScrollBar_typeof(obj){return(ScrollBar_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})(obj)}function ScrollBar_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function ScrollBar_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function ScrollBar_setPrototypeOf(o,p){return(ScrollBar_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}function ScrollBar_createSuper(Derived){var hasNativeReflectConstruct=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var NewTarget,Super=ScrollBar_getPrototypeOf(Derived),Super=(NewTarget=hasNativeReflectConstruct?(NewTarget=ScrollBar_getPrototypeOf(this).constructor,Reflect.construct(Super,arguments,NewTarget)):Super.apply(this,arguments),this);if(NewTarget&&("object"===ScrollBar_typeof(NewTarget)||"function"==typeof NewTarget))return NewTarget;if(void 0!==NewTarget)throw new TypeError("Derived constructors may only return object or undefined");return function(self){if(void 0!==self)return self;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(Super)}}function ScrollBar_getPrototypeOf(o){return(ScrollBar_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function getPageY(e){return("touches"in e?e.touches[0]:e).pageY}var ScrollBar=function(_React$Component){var subClass=ScrollBar;if("function"!=typeof _React$Component&&null!==_React$Component)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(_React$Component&&_React$Component.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),_React$Component&&ScrollBar_setPrototypeOf(subClass,_React$Component);var staticProps,_super=ScrollBar_createSuper(ScrollBar);function ScrollBar(){var _this,instance=this,Constructor=ScrollBar;if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).moveRaf=null,_this.scrollbarRef=external_React_namespaceObject.createRef(),_this.thumbRef=external_React_namespaceObject.createRef(),_this.visibleTimeout=null,_this.state={dragging:!1,pageY:null,startTop:null,visible:!1},_this.delayHidden=function(){clearTimeout(_this.visibleTimeout),_this.setState({visible:!0}),_this.visibleTimeout=setTimeout(function(){_this.setState({visible:!1})},2e3)},_this.onScrollbarTouchStart=function(e){e.preventDefault()},_this.onContainerMouseDown=function(e){e.stopPropagation(),e.preventDefault()},_this.patchEvents=function(){window.addEventListener("mousemove",_this.onMouseMove),window.addEventListener("mouseup",_this.onMouseUp),_this.thumbRef.current.addEventListener("touchmove",_this.onMouseMove),_this.thumbRef.current.addEventListener("touchend",_this.onMouseUp)},_this.removeEvents=function(){var _this$scrollbarRef$cu;window.removeEventListener("mousemove",_this.onMouseMove),window.removeEventListener("mouseup",_this.onMouseUp),null!=(_this$scrollbarRef$cu=_this.scrollbarRef.current)&&_this$scrollbarRef$cu.removeEventListener("touchstart",_this.onScrollbarTouchStart),_this.thumbRef.current&&(_this.thumbRef.current.removeEventListener("touchstart",_this.onMouseDown),_this.thumbRef.current.removeEventListener("touchmove",_this.onMouseMove),_this.thumbRef.current.removeEventListener("touchend",_this.onMouseUp)),wrapperRaf.cancel(_this.moveRaf)},_this.onMouseDown=function(e){var onStartMove=_this.props.onStartMove;_this.setState({dragging:!0,pageY:getPageY(e),startTop:_this.getTop()}),onStartMove(),_this.patchEvents(),e.stopPropagation(),e.preventDefault()},_this.onMouseMove=function(e){var newScrollTop,_this$state=_this.state,dragging=_this$state.dragging,pageY=_this$state.pageY,_this$state=_this$state.startTop,onScroll=_this.props.onScroll;wrapperRaf.cancel(_this.moveRaf),dragging&&(dragging=_this$state+(getPageY(e)-pageY),_this$state=_this.getEnableScrollRange(),e=_this.getEnableHeightRange(),newScrollTop=Math.ceil((e?dragging/e:0)*_this$state),_this.moveRaf=wrapperRaf(function(){onScroll(newScrollTop)}))},_this.onMouseUp=function(){var onStopMove=_this.props.onStopMove;_this.setState({dragging:!1}),onStopMove(),_this.removeEvents()},_this.getSpinHeight=function(){var _this$props=_this.props,height=_this$props.height,_this$props=height/_this$props.count*10,_this$props=Math.max(_this$props,20);return _this$props=Math.min(_this$props,height/2),Math.floor(_this$props)},_this.getEnableScrollRange=function(){var _this$props2=_this.props;return _this$props2.scrollHeight-_this$props2.height||0},_this.getEnableHeightRange=function(){return _this.props.height-_this.getSpinHeight()||0},_this.getTop=function(){var scrollTop=_this.props.scrollTop,enableScrollRange=_this.getEnableScrollRange(),enableHeightRange=_this.getEnableHeightRange();return 0===scrollTop||0===enableScrollRange?0:scrollTop/enableScrollRange*enableHeightRange},_this.showScroll=function(){var _this$props3=_this.props;return _this$props3.height<_this$props3.scrollHeight},_this}return subClass=ScrollBar,(_React$Component=[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(prevProps){prevProps.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var _this$state2=this.state,dragging=_this$state2.dragging,_this$state2=_this$state2.visible,prefixCls=this.props.prefixCls,spinHeight=this.getSpinHeight(),top=this.getTop(),canScroll=this.showScroll(),_this$state2=canScroll&&_this$state2;return external_React_namespaceObject.createElement("div",{ref:this.scrollbarRef,className:classnames_default()("".concat(prefixCls,"-scrollbar"),ScrollBar_defineProperty({},"".concat(prefixCls,"-scrollbar-show"),canScroll)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:_this$state2?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},external_React_namespaceObject.createElement("div",{ref:this.thumbRef,className:classnames_default()("".concat(prefixCls,"-scrollbar-thumb"),ScrollBar_defineProperty({},"".concat(prefixCls,"-scrollbar-thumb-moving"),dragging)),style:{width:"100%",height:spinHeight,top:top,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}])&&ScrollBar_defineProperties(subClass.prototype,_React$Component),staticProps&&ScrollBar_defineProperties(subClass,staticProps),Object.defineProperty(subClass,"prototype",{writable:!1}),ScrollBar}(external_React_namespaceObject.Component);function Item_Item(_ref){var children=_ref.children,setRef=_ref.setRef,_ref=external_React_namespaceObject.useCallback(function(node){setRef(node)},[]);return external_React_namespaceObject.cloneElement(children,{ref:_ref})}function CacheMap_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}const utils_CacheMap=function(){function CacheMap(){if(!(this instanceof CacheMap))throw new TypeError("Cannot call a class as a function");this.maps=void 0,this.maps=Object.create(null)}var Constructor,protoProps,staticProps;return Constructor=CacheMap,(protoProps=[{key:"set",value:function(key,value){this.maps[key]=value}},{key:"get",value:function(key){return this.maps[key]}}])&&CacheMap_defineProperties(Constructor.prototype,protoProps),staticProps&&CacheMap_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),CacheMap}();function useHeights_slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function(o,minLen){var n;if(o)return"string"==typeof o?useHeights_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?useHeights_arrayLikeToArray(o,minLen):void 0}(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function useHeights_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function useHeights(getKey,onItemAdd,onItemRemove){var _React$useState2=useHeights_slicedToArray(external_React_namespaceObject.useState(0),2),updatedMark=_React$useState2[0],setUpdatedMark=_React$useState2[1],instanceRef=(0,external_React_namespaceObject.useRef)(new Map),heightsRef=(0,external_React_namespaceObject.useRef)(new utils_CacheMap),collectRafRef=(0,external_React_namespaceObject.useRef)();function cancelRaf(){wrapperRaf.cancel(collectRafRef.current)}function collectHeight(){cancelRaf(),collectRafRef.current=wrapperRaf(function(){instanceRef.current.forEach(function(element,key){var offsetHeight;element&&element.offsetParent&&(offsetHeight=(element=findDOMNode(element)).offsetHeight,heightsRef.current.get(key)!==offsetHeight&&heightsRef.current.set(key,element.offsetHeight))}),setUpdatedMark(function(c){return c+1})})}return(0,external_React_namespaceObject.useEffect)(function(){return cancelRaf},[]),[function(item,instance){var key=getKey(item),origin=instanceRef.current.get(key);instance?(instanceRef.current.set(key,instance),collectHeight()):instanceRef.current.delete(key),!origin!=!instance&&(instance?null!=onItemAdd&&onItemAdd(item):null!=onItemRemove&&onItemRemove(item))},collectHeight,heightsRef.current,updatedMark]}function useScrollTo_typeof(obj){return(useScrollTo_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})(obj)}function useDiffItem_slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function(o,minLen){var n;if(o)return"string"==typeof o?useDiffItem_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?useDiffItem_arrayLikeToArray(o,minLen):void 0}(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function useDiffItem_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function useDiffItem(data,getKey,onDiff){var _React$useState2=useDiffItem_slicedToArray(external_React_namespaceObject.useState(data),2),prevData=_React$useState2[0],setPrevData=_React$useState2[1],_React$useState2=useDiffItem_slicedToArray(external_React_namespaceObject.useState(null),2),diffItem=_React$useState2[0],setDiffItem=_React$useState2[1];return external_React_namespaceObject.useEffect(function(){var diff=function(originList,targetList,getKey){var shortList,originLen=originList.length,targetLen=targetList.length;if(0===originLen&&0===targetLen)return null;var longList=originLen<targetLen?(shortList=originList,targetList):(shortList=targetList,originList),notExistKey={__EMPTY_ITEM__:!0};function getItemKey(item){return void 0!==item?getKey(item):notExistKey}for(var diffIndex=null,multiple=1!==Math.abs(originLen-targetLen),i=0;i<longList.length;i+=1){var shortKey=getItemKey(shortList[i]);if(shortKey!==getItemKey(longList[i])){diffIndex=i,multiple=multiple||shortKey!==getItemKey(longList[i+1]);break}}return null===diffIndex?null:{index:diffIndex,multiple:multiple}}(prevData||[],data||[],getKey);void 0!==(null==diff?void 0:diff.index)&&(null!=onDiff&&onDiff(diff.index),setDiffItem(data[diff.index])),setPrevData(data)},[data]),[diffItem]}function isFirefox_typeof(obj){return(isFirefox_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})(obj)}const isFirefox="object"===("undefined"==typeof navigator?"undefined":isFirefox_typeof(navigator))&&/Firefox/i.test(navigator.userAgent),useOriginScroll=function(isScrollAtTop,isScrollAtBottom){var lockRef=(0,external_React_namespaceObject.useRef)(!1),lockTimeoutRef=(0,external_React_namespaceObject.useRef)(null);var scrollPingRef=(0,external_React_namespaceObject.useRef)({top:isScrollAtTop,bottom:isScrollAtBottom});return scrollPingRef.current.top=isScrollAtTop,scrollPingRef.current.bottom=isScrollAtBottom,function(deltaY){deltaY=deltaY<0&&scrollPingRef.current.top||0<deltaY&&scrollPingRef.current.bottom;return 1<arguments.length&&void 0!==arguments[1]&&arguments[1]&&deltaY?(clearTimeout(lockTimeoutRef.current),lockRef.current=!1):deltaY&&!lockRef.current||(clearTimeout(lockTimeoutRef.current),lockRef.current=!0,lockTimeoutRef.current=setTimeout(function(){lockRef.current=!1},50)),!lockRef.current&&deltaY}};function useFrameWheel(inVirtual,isScrollAtTop,isScrollAtBottom,onWheelDelta){var offsetRef=(0,external_React_namespaceObject.useRef)(0),nextFrameRef=(0,external_React_namespaceObject.useRef)(null),wheelValueRef=(0,external_React_namespaceObject.useRef)(null),isMouseScrollRef=(0,external_React_namespaceObject.useRef)(!1),originScroll=useOriginScroll(isScrollAtTop,isScrollAtBottom);return[function(event){var deltaY;inVirtual&&(wrapperRaf.cancel(nextFrameRef.current),deltaY=event.deltaY,offsetRef.current+=deltaY,wheelValueRef.current=deltaY,originScroll(deltaY)||(isFirefox||event.preventDefault(),nextFrameRef.current=wrapperRaf(function(){var patchMultiple=isMouseScrollRef.current?10:1;onWheelDelta(offsetRef.current*patchMultiple),offsetRef.current=0})))},function(event){inVirtual&&(isMouseScrollRef.current=event.detail===wheelValueRef.current)}]}var SMOOTH_PTG=14/15;function useMobileTouchMove(inVirtual,listRef,callback){function onTouchMove(e){var currentY,offsetY;touchedRef.current&&(currentY=Math.ceil(e.touches[0].pageY),offsetY=touchYRef.current-currentY,touchYRef.current=currentY,callback(offsetY)&&e.preventDefault(),clearInterval(intervalRef.current),intervalRef.current=setInterval(function(){(!callback(offsetY*=SMOOTH_PTG,!0)||Math.abs(offsetY)<=.1)&&clearInterval(intervalRef.current)},16))}function onTouchEnd(){touchedRef.current=!1,cleanUpEvents()}function onTouchStart(e){cleanUpEvents(),1!==e.touches.length||touchedRef.current||(touchedRef.current=!0,touchYRef.current=Math.ceil(e.touches[0].pageY),elementRef.current=e.target,elementRef.current.addEventListener("touchmove",onTouchMove),elementRef.current.addEventListener("touchend",onTouchEnd))}var touchedRef=(0,external_React_namespaceObject.useRef)(!1),touchYRef=(0,external_React_namespaceObject.useRef)(0),elementRef=(0,external_React_namespaceObject.useRef)(null),intervalRef=(0,external_React_namespaceObject.useRef)(null),cleanUpEvents=function(){elementRef.current&&(elementRef.current.removeEventListener("touchmove",onTouchMove),elementRef.current.removeEventListener("touchend",onTouchEnd))};hooks_useLayoutEffect(function(){return inVirtual&&listRef.current.addEventListener("touchstart",onTouchStart),function(){var _listRef$current;null!=(_listRef$current=listRef.current)&&_listRef$current.removeEventListener("touchstart",onTouchStart),cleanUpEvents(),clearInterval(intervalRef.current)}},[inVirtual])}var List_excluded=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function List_extends(){return(List_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var key,source=arguments[i];for(key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}).apply(this,arguments)}function List_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function List_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?List_ownKeys(Object(source),!0).forEach(function(key){List_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):List_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function List_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function List_slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function(o,minLen){var n;if(o)return"string"==typeof o?List_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?List_arrayLikeToArray(o,minLen):void 0}(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function List_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function List_objectWithoutProperties(source,excluded){if(null==source)return{};var key,target=function(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],0<=excluded.indexOf(key)||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols)for(var sourceSymbolKeys=Object.getOwnPropertySymbols(source),i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],0<=excluded.indexOf(key)||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key]);return target}var EMPTY_DATA=[],ScrollStyle={overflowY:"auto",overflowAnchor:"none"};function RawList(props,ref){var _props$prefixCls=props.prefixCls,_props$prefixCls=void 0===_props$prefixCls?"rc-virtual-list":_props$prefixCls,className=props.className,height=props.height,itemHeight=props.itemHeight,_props$fullHeight=props.fullHeight,_props$fullHeight=void 0===_props$fullHeight||_props$fullHeight,style=props.style,data=props.data,children=props.children,itemKey=props.itemKey,virtual=props.virtual,_props$component=props.component,_props$component=void 0===_props$component?"div":_props$component,onScroll=props.onScroll,onVisibleChange=props.onVisibleChange,props=List_objectWithoutProperties(props,List_excluded),useVirtual=!(!1===virtual||!height||!itemHeight),inVirtual=useVirtual&&data&&itemHeight*data.length>height,virtual=List_slicedToArray((0,external_React_namespaceObject.useState)(0),2),scrollTop=virtual[0],setScrollTop=virtual[1],virtual=List_slicedToArray((0,external_React_namespaceObject.useState)(!1),2),scrollMoving=virtual[0],setScrollMoving=virtual[1],virtual=classnames_default()(_props$prefixCls,className),mergedData=data||EMPTY_DATA,componentRef=(0,external_React_namespaceObject.useRef)(),fillerInnerRef=(0,external_React_namespaceObject.useRef)(),scrollBarRef=(0,external_React_namespaceObject.useRef)(),getKey=external_React_namespaceObject.useCallback(function(item){return"function"==typeof itemKey?itemKey(item):null==item?void 0:item[itemKey]},[itemKey]),className={getKey:getKey};function syncScrollTop(newTop){setScrollTop(function(origin){origin="function"==typeof newTop?newTop(origin):newTop,origin=function(newScrollTop){Number.isNaN(maxScrollHeightRef.current)||(newScrollTop=Math.min(newScrollTop,maxScrollHeightRef.current));return newScrollTop=Math.max(newScrollTop,0)}(origin);return componentRef.current.scrollTop=origin})}var data=(0,external_React_namespaceObject.useRef)({start:0,end:mergedData.length}),diffItemRef=(0,external_React_namespaceObject.useRef)(),diffItem=List_slicedToArray(useDiffItem(mergedData,getKey),1)[0];diffItemRef.current=diffItem;var diffItemRef=List_slicedToArray(useHeights(getKey,null,null),4),diffItem=diffItemRef[0],collectHeight=diffItemRef[1],heights=diffItemRef[2],diffItemRef=diffItemRef[3],diffItemRef=external_React_namespaceObject.useMemo(function(){if(!useVirtual)return{scrollHeight:void 0,start:0,end:mergedData.length-1,offset:void 0};var _fillerInnerRef$curre;if(!inVirtual)return{scrollHeight:(null==(_fillerInnerRef$curre=fillerInnerRef.current)?void 0:_fillerInnerRef$curre.offsetHeight)||0,start:0,end:mergedData.length-1,offset:void 0};for(var startIndex,startOffset,endIndex,itemTop=0,dataLen=mergedData.length,i=0;i<dataLen;i+=1){var item=mergedData[i],item=getKey(item),item=heights.get(item),item=itemTop+(void 0===item?itemHeight:item);scrollTop<=item&&void 0===startIndex&&(startIndex=i,startOffset=itemTop),scrollTop+height<item&&void 0===endIndex&&(endIndex=i),itemTop=item}return void 0===startIndex&&(startOffset=startIndex=0),void 0===endIndex&&(endIndex=mergedData.length-1),{scrollHeight:itemTop,start:startIndex,end:endIndex=Math.min(endIndex+1,mergedData.length),offset:startOffset}},[inVirtual,useVirtual,scrollTop,mergedData,diffItemRef,height]),scrollHeight=diffItemRef.scrollHeight,start=diffItemRef.start,end=diffItemRef.end,diffItemRef=diffItemRef.offset,data=(data.current.start=start,data.current.end=end,scrollHeight-height),maxScrollHeightRef=(0,external_React_namespaceObject.useRef)(data);maxScrollHeightRef.current=data;var isScrollAtTop=scrollTop<=0,data=data<=scrollTop,originScroll=useOriginScroll(isScrollAtTop,data);var isScrollAtTop=List_slicedToArray(useFrameWheel(useVirtual,isScrollAtTop,data,function(offsetY){syncScrollTop(function(top){return top+offsetY})}),2),onRawWheel=isScrollAtTop[0],onFireFoxScroll=isScrollAtTop[1],scrollTo=(useMobileTouchMove(useVirtual,componentRef,function(deltaY,smoothOffset){return!originScroll(deltaY,smoothOffset)&&(onRawWheel({preventDefault:function(){},deltaY:deltaY}),1)}),hooks_useLayoutEffect(function(){function onMozMousePixelScroll(e){useVirtual&&e.preventDefault()}return componentRef.current.addEventListener("wheel",onRawWheel),componentRef.current.addEventListener("DOMMouseScroll",onFireFoxScroll),componentRef.current.addEventListener("MozMousePixelScroll",onMozMousePixelScroll),function(){componentRef.current&&(componentRef.current.removeEventListener("wheel",onRawWheel),componentRef.current.removeEventListener("DOMMouseScroll",onFireFoxScroll),componentRef.current.removeEventListener("MozMousePixelScroll",onMozMousePixelScroll))}},[useVirtual]),function(containerRef,data,heights,itemHeight,getKey,collectHeight,syncScrollTop,triggerFlash){var scrollRef=external_React_namespaceObject.useRef();return function(arg){var align,index,_arg$offset,offset;null==arg?triggerFlash():(wrapperRaf.cancel(scrollRef.current),"number"==typeof arg?syncScrollTop(arg):arg&&"object"===useScrollTo_typeof(arg)&&(align=arg.align,index="index"in arg?arg.index:data.findIndex(function(item){return getKey(item)===arg.key}),_arg$offset=arg.offset,offset=void 0===_arg$offset?0:_arg$offset,function syncScroll(times,targetAlign){if(!(times<0)&&containerRef.current){var height=containerRef.current.clientHeight,needCollectHeight=!1,newTargetAlign=targetAlign;if(height){for(var targetAlign=targetAlign||align,stackTop=0,itemTop=0,itemBottom=0,maxLen=Math.min(data.length,index),i=0;i<=maxLen;i+=1){var key=getKey(data[i]),itemTop=stackTop,key=heights.get(key),stackTop=itemBottom=itemTop+(void 0===key?itemHeight:key);i===index&&void 0===key&&(needCollectHeight=!0)}var targetTop=null;switch(targetAlign){case"top":targetTop=itemTop-offset;break;case"bottom":targetTop=itemBottom-height+offset;break;default:var scrollTop=containerRef.current.scrollTop;itemTop<scrollTop?newTargetAlign="top":scrollTop+height<itemBottom&&(newTargetAlign="bottom")}null!==targetTop&&targetTop!==containerRef.current.scrollTop&&syncScrollTop(targetTop)}scrollRef.current=wrapperRaf(function(){needCollectHeight&&collectHeight(),syncScroll(times-1,newTargetAlign)})}}(3)))}}(componentRef,mergedData,heights,itemHeight,getKey,collectHeight,syncScrollTop,function(){var _scrollBarRef$current;null!=(_scrollBarRef$current=scrollBarRef.current)&&_scrollBarRef$current.delayHidden()})),data=(external_React_namespaceObject.useImperativeHandle(ref,function(){return{scrollTo:scrollTo}}),hooks_useLayoutEffect(function(){var renderList;onVisibleChange&&(renderList=mergedData.slice(start,end+1),onVisibleChange(renderList,mergedData))},[start,end,mergedData]),function(list,startIndex,endIndex,setNodeRef,renderFunc,_ref){var getKey=_ref.getKey;return list.slice(startIndex,endIndex+1).map(function(item,index){var index=renderFunc(item,startIndex+index,{}),key=getKey(item);return external_React_namespaceObject.createElement(Item_Item,{key:key,setRef:function(ele){return setNodeRef(item,ele)}},index)})}(mergedData,start,end,diffItem,children,className)),isScrollAtTop=null;return height&&(isScrollAtTop=List_objectSpread(List_defineProperty({},_props$fullHeight?"height":"maxHeight",height),ScrollStyle),useVirtual&&(isScrollAtTop.overflowY="hidden",scrollMoving&&(isScrollAtTop.pointerEvents="none"))),external_React_namespaceObject.createElement("div",List_extends({style:List_objectSpread(List_objectSpread({},style),{},{position:"relative"}),className:virtual},props),external_React_namespaceObject.createElement(_props$component,{className:"".concat(_props$prefixCls,"-holder"),style:isScrollAtTop,ref:componentRef,onScroll:function(e){var newScrollTop=e.currentTarget.scrollTop;newScrollTop!==scrollTop&&syncScrollTop(newScrollTop),null!=onScroll&&onScroll(e)}},external_React_namespaceObject.createElement(es_Filler,{prefixCls:_props$prefixCls,height:scrollHeight,offset:diffItemRef,onInnerResize:collectHeight,ref:fillerInnerRef},data)),useVirtual&&external_React_namespaceObject.createElement(ScrollBar,{ref:scrollBarRef,prefixCls:_props$prefixCls,scrollTop:scrollTop,height:height,scrollHeight:scrollHeight,count:mergedData.length,onScroll:function(newScrollTop){syncScrollTop(newScrollTop)},onStartMove:function(){setScrollMoving(!0)},onStopMove:function(){setScrollMoving(!1)}}))}node_namespaceObject=external_React_namespaceObject.forwardRef(RawList),node_namespaceObject.displayName="List",external_wp_apiFetch_namespaceObject=node_namespaceObject;const rc_virtual_list_es=external_wp_apiFetch_namespaceObject;const es_SelectContext=external_React_namespaceObject.createContext(null);var OptionList_excluded=["disabled","title","children","style","className"];function isTitleType(content){return"string"==typeof content||"number"==typeof content}lib_syntax_namespaceObject=external_React_namespaceObject.forwardRef(function(_,ref){function onListMouseDown(event){event.preventDefault()}function scrollIntoView(args){listRef.current&&listRef.current.scrollTo("number"==typeof args?{index:args}:args)}function getEnabledActiveIndex(index){for(var offset=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,len=memoFlattenOptions.length,i=0;i<len;i+=1){var current=(index+i*offset+len)%len,_memoFlattenOptions$c=memoFlattenOptions[current],group=_memoFlattenOptions$c.group,_memoFlattenOptions$c=_memoFlattenOptions$c.data;if(!group&&!_memoFlattenOptions$c.disabled)return current}return-1}function setActive(index){var fromKeyboard=1<arguments.length&&void 0!==arguments[1]&&arguments[1],fromKeyboard=(setActiveIndex(index),{source:fromKeyboard?"keyboard":"mouse"}),flattenItem=memoFlattenOptions[index];flattenItem?onActiveValue(flattenItem.value,index,fromKeyboard):onActiveValue(null,-1,fromKeyboard)}function onSelectValue(value){void 0!==value&&onSelect(value,{selected:!rawValues.has(value)}),multiple||toggleOpen(!1)}var omitFieldNameList,getLabel,_useBaseProps=external_React_namespaceObject.useContext(BaseSelectContext),prefixCls=_useBaseProps.prefixCls,id=_useBaseProps.id,open=_useBaseProps.open,multiple=_useBaseProps.multiple,mode=_useBaseProps.mode,searchValue=_useBaseProps.searchValue,toggleOpen=_useBaseProps.toggleOpen,notFoundContent=_useBaseProps.notFoundContent,_useBaseProps=_useBaseProps.onPopupScroll,_React$useContext=external_React_namespaceObject.useContext(es_SelectContext),flattenOptions=_React$useContext.flattenOptions,onActiveValue=_React$useContext.onActiveValue,defaultActiveFirstOption=_React$useContext.defaultActiveFirstOption,onSelect=_React$useContext.onSelect,menuItemSelectedIcon=_React$useContext.menuItemSelectedIcon,rawValues=_React$useContext.rawValues,fieldNames=_React$useContext.fieldNames,virtual=_React$useContext.virtual,listHeight=_React$useContext.listHeight,_React$useContext=_React$useContext.listItemHeight,itemPrefixCls="".concat(prefixCls,"-item"),memoFlattenOptions=useMemo(function(){return flattenOptions},[open,flattenOptions],function(prev,next){return next[0]&&prev[1]!==next[1]}),listRef=external_React_namespaceObject.useRef(null),prefixCls=slicedToArray_slicedToArray(external_React_namespaceObject.useState(function(){return getEnabledActiveIndex(0)}),2),activeIndex=prefixCls[0],setActiveIndex=prefixCls[1],isSelected=((0,external_React_namespaceObject.useEffect)(function(){setActive(!1!==defaultActiveFirstOption?getEnabledActiveIndex(0):-1)},[memoFlattenOptions.length,searchValue]),external_React_namespaceObject.useCallback(function(value){return rawValues.has(value)&&"combobox"!==mode},[mode,_toConsumableArray(rawValues).toString()]));(0,external_React_namespaceObject.useEffect)(function(){var _listRef$current,timeoutId=setTimeout(function(){var value,index;!multiple&&open&&1===rawValues.size&&(value=Array.from(rawValues)[0],-1!==(index=memoFlattenOptions.findIndex(function(_ref){return _ref.data.value===value}))&&(setActive(index),scrollIntoView(index)))});return open&&null!=(_listRef$current=listRef.current)&&_listRef$current.scrollTo(void 0),function(){return clearTimeout(timeoutId)}},[open,searchValue]);return external_React_namespaceObject.useImperativeHandle(ref,function(){return{onKeyDown:function(event){var which=event.which,ctrlKey=event.ctrlKey;switch(which){case es_KeyCode.N:case es_KeyCode.P:case es_KeyCode.UP:case es_KeyCode.DOWN:var offset=0;which===es_KeyCode.UP?offset=-1:which===es_KeyCode.DOWN?offset=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&ctrlKey&&(which===es_KeyCode.N?offset=1:which===es_KeyCode.P&&(offset=-1)),0!==offset&&(offset=getEnabledActiveIndex(activeIndex+offset,offset),scrollIntoView(offset),setActive(offset,!0));break;case es_KeyCode.ENTER:offset=memoFlattenOptions[activeIndex];offset&&!offset.data.disabled?onSelectValue(offset.value):onSelectValue(void 0),open&&event.preventDefault();break;case es_KeyCode.ESC:toggleOpen(!1),open&&event.stopPropagation()}},onKeyUp:function(){},scrollTo:function(index){scrollIntoView(index)}}}),0===memoFlattenOptions.length?external_React_namespaceObject.createElement("div",{role:"listbox",id:"".concat(id,"_list"),className:"".concat(itemPrefixCls,"-empty"),onMouseDown:onListMouseDown},notFoundContent):(omitFieldNameList=Object.keys(fieldNames).map(function(key){return fieldNames[key]}),getLabel=function(item){return item.label},prefixCls=function(index){var value,group,itemData,mergedLabel,item=memoFlattenOptions[index];return item&&(value=(itemData=item.data||{}).value,group=item.group,itemData=pickAttrs(itemData,!0),mergedLabel=getLabel(item),item)?external_React_namespaceObject.createElement("div",_extends({"aria-label":"string"!=typeof mergedLabel||group?null:mergedLabel},itemData,{key:index,role:group?"presentation":"option",id:"".concat(id,"_list_").concat(index),"aria-selected":isSelected(value)}),value):null},external_React_namespaceObject.createElement(external_React_namespaceObject.Fragment,null,external_React_namespaceObject.createElement("div",{role:"listbox",id:"".concat(id,"_list"),style:{height:0,width:0,overflow:"hidden"}},prefixCls(activeIndex-1),prefixCls(activeIndex),prefixCls(activeIndex+1)),external_React_namespaceObject.createElement(rc_virtual_list_es,{itemKey:"key",ref:listRef,data:memoFlattenOptions,height:listHeight,itemHeight:_React$useContext,fullHeight:!1,onMouseDown:onListMouseDown,onScroll:_useBaseProps,virtual:virtual},function(item,itemIndex){var disabled,clone,fields,optionPrefixCls,optionTitle,group=item.group,groupOption=item.groupOption,data=item.data,label=item.label,value=item.value,key=data.key;return group?(group=null!=(group=data.title)?group:isTitleType(label)?label.toString():void 0,external_React_namespaceObject.createElement("div",{className:classnames_default()(itemPrefixCls,"".concat(itemPrefixCls,"-group")),title:group},void 0!==label?label:key)):(disabled=data.disabled,group=data.title,data.children,label=data.style,key=data.className,data=_objectWithoutProperties(data,OptionList_excluded),fields=omitFieldNameList,clone=_objectSpread2({},data),Array.isArray(fields)&&fields.forEach(function(key){delete clone[key]}),data=clone,fields=isSelected(value),optionPrefixCls="".concat(itemPrefixCls,"-option"),groupOption=classnames_default()(itemPrefixCls,optionPrefixCls,key,(_defineProperty(key={},"".concat(optionPrefixCls,"-grouped"),groupOption),_defineProperty(key,"".concat(optionPrefixCls,"-active"),activeIndex===itemIndex&&!disabled),_defineProperty(key,"".concat(optionPrefixCls,"-disabled"),disabled),_defineProperty(key,"".concat(optionPrefixCls,"-selected"),fields),key)),key=getLabel(item),item=!menuItemSelectedIcon||"function"==typeof menuItemSelectedIcon||fields,optionTitle=isTitleType(key="number"==typeof key?key:key||value)?key.toString():void 0,void 0!==group&&(optionTitle=group),external_React_namespaceObject.createElement("div",_extends({},pickAttrs(data),{"aria-selected":fields,className:groupOption,title:optionTitle,onMouseMove:function(){activeIndex===itemIndex||disabled||setActive(itemIndex)},onClick:function(){disabled||onSelectValue(value)},style:label}),external_React_namespaceObject.createElement("div",{className:"".concat(optionPrefixCls,"-content")},key),external_React_namespaceObject.isValidElement(menuItemSelectedIcon)||fields,item&&external_React_namespaceObject.createElement(es_TransBtn,{className:"".concat(itemPrefixCls,"-option-state"),customizeIcon:menuItemSelectedIcon,customizeIconProps:{isSelected:fields}},fields?"✓":null)))})))});lib_syntax_namespaceObject.displayName="OptionList";const es_OptionList=lib_syntax_namespaceObject;var Select_excluded=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],OMIT_DOM_PROPS=["inputValue"];index_parse_namespaceObject=external_React_namespaceObject.forwardRef(function(props,ref){function triggerChange(values){var returnValues,values=convert2LabelValues(values);setInternalValue(values),onChange&&(values.length!==mergedValues.length||values.some(function(newVal,index){return(null==(index=mergedValues[index])?void 0:index.value)!==(null==newVal?void 0:newVal.value)}))&&(returnValues=labelInValue?values:values.map(function(v){return v.value}),values=values.map(function(v){return injectPropsWithOption(getMixedOption(v.value))}),onChange(multiple?returnValues:returnValues[0],multiple?values:values[0]))}function triggerSelect(val,selected){function getSelectEnt(){var _option$key2,option=getMixedOption(val);return[labelInValue?{label:null==option?void 0:option[mergedFieldNames.label],value:val,key:null!=(_option$key2=null==option?void 0:option.key)?_option$key2:val}:val,injectPropsWithOption(option)]}var wrappedValue,_getSelectEnt2;selected&&onSelect?(wrappedValue=(_getSelectEnt2=slicedToArray_slicedToArray(getSelectEnt(),2))[0],_getSelectEnt2=_getSelectEnt2[1],onSelect(wrappedValue,_getSelectEnt2)):!selected&&onDeselect&&(_getSelectEnt2=(wrappedValue=slicedToArray_slicedToArray(getSelectEnt(),2))[0],selected=wrappedValue[1],onDeselect(_getSelectEnt2,selected))}var id=props.id,mode=props.mode,_props$prefixCls=props.prefixCls,_props$prefixCls=void 0===_props$prefixCls?"rc-select":_props$prefixCls,backfill=props.backfill,fieldNames=props.fieldNames,inputValue=props.inputValue,searchValue=props.searchValue,onSearch=props.onSearch,_props$autoClearSearc=props.autoClearSearchValue,autoClearSearchValue=void 0===_props$autoClearSearc||_props$autoClearSearc,onSelect=props.onSelect,onDeselect=props.onDeselect,_props$autoClearSearc=props.dropdownMatchSelectWidth,dropdownMatchSelectWidth=void 0===_props$autoClearSearc||_props$autoClearSearc,filterOption=props.filterOption,filterSort=props.filterSort,optionFilterProp=props.optionFilterProp,optionLabelProp=props.optionLabelProp,_props$autoClearSearc=props.options,children=props.children,defaultActiveFirstOption=props.defaultActiveFirstOption,menuItemSelectedIcon=props.menuItemSelectedIcon,virtual=props.virtual,_props$listHeight=props.listHeight,listHeight=void 0===_props$listHeight?200:_props$listHeight,_props$listHeight=props.listItemHeight,listItemHeight=void 0===_props$listHeight?20:_props$listHeight,_props$listHeight=props.value,defaultValue=props.defaultValue,labelInValue=props.labelInValue,onChange=props.onChange,props=_objectWithoutProperties(props,Select_excluded),id=useId(id),multiple=BaseSelect_isMultiple(mode),childrenAsData=!(_props$autoClearSearc||!children),mergedFilterOption=external_React_namespaceObject.useMemo(function(){return(void 0!==filterOption||"combobox"!==mode)&&filterOption},[filterOption,mode]),mergedFieldNames=external_React_namespaceObject.useMemo(function(){return fillFieldNames(fieldNames,childrenAsData)},[JSON.stringify(fieldNames),childrenAsData]),searchValue=slicedToArray_slicedToArray(useMergedState("",{value:void 0!==searchValue?searchValue:inputValue,postState:function(search){return search||""}}),2),mergedSearchValue=searchValue[0],setSearchValue=searchValue[1],parsedOptions=useOptions(_props$autoClearSearc,children,mergedFieldNames,optionFilterProp,optionLabelProp),valueOptions=parsedOptions.valueOptions,labelOptions=parsedOptions.labelOptions,mergedOptions=parsedOptions.options,convert2LabelValues=external_React_namespaceObject.useCallback(function(draftValues){return commonUtil_toArray(draftValues).map(function(val){value=(value=val)&&"object"===typeof_typeof(value)?(rawKey=val.key,rawLabel=val.label,null!=(value=val.value)?value:rawKey):val;var rawKey,rawLabel,value,_option$key,val=valueOptions.get(value);return val&&(void 0===rawLabel&&(rawLabel=null==val?void 0:val[optionLabelProp||mergedFieldNames.label]),void 0===rawKey&&(rawKey=null!=(_option$key=null==val?void 0:val.key)?_option$key:value),_option$key=null==val?void 0:val.disabled),{label:rawLabel,value:value,key:rawKey,disabled:_option$key}})},[mergedFieldNames,optionLabelProp,valueOptions]),inputValue=slicedToArray_slicedToArray(useMergedState(defaultValue,{value:_props$listHeight}),2),internalValue=inputValue[0],setInternalValue=inputValue[1],searchValue=slicedToArray_slicedToArray(function(labeledValues,valueOptions){var cacheRef=external_React_namespaceObject.useRef({values:new Map,options:new Map});return[external_React_namespaceObject.useMemo(function(){var _cacheRef$current=cacheRef.current,prevValueCache=_cacheRef$current.values,prevOptionCache=_cacheRef$current.options,_cacheRef$current=labeledValues.map(function(item){var _prevValueCache$get;return void 0===item.label?_objectSpread2(_objectSpread2({},item),{},{label:null==(_prevValueCache$get=prevValueCache.get(item.value))?void 0:_prevValueCache$get.label}):item}),valueCache=new Map,optionCache=new Map;return _cacheRef$current.forEach(function(item){valueCache.set(item.value,item),optionCache.set(item.value,valueOptions.get(item.value)||prevOptionCache.get(item.value))}),cacheRef.current.values=valueCache,cacheRef.current.options=optionCache,_cacheRef$current},[labeledValues,valueOptions]),external_React_namespaceObject.useCallback(function(val){return valueOptions.get(val)||cacheRef.current.options.get(val)},[valueOptions])]}(external_React_namespaceObject.useMemo(function(){var _values$,values=convert2LabelValues(internalValue);return"combobox"!==mode||null!=(_values$=values[0])&&_values$.value?values:[]},[internalValue,convert2LabelValues,mode]),valueOptions),2),mergedValues=searchValue[0],getMixedOption=searchValue[1],_props$autoClearSearc=external_React_namespaceObject.useMemo(function(){if(!mode&&1===mergedValues.length){var firstValue=mergedValues[0];if(null===firstValue.value&&(null===firstValue.label||void 0===firstValue.label))return[]}return mergedValues.map(function(item){var _item$label;return _objectSpread2(_objectSpread2({},item),{},{label:null!=(_item$label=item.label)?_item$label:item.value})})},[mode,mergedValues]),rawValues=external_React_namespaceObject.useMemo(function(){return new Set(mergedValues.map(function(val){return val.value}))},[mergedValues]),createTagOption=(external_React_namespaceObject.useEffect(function(){var _mergedValues$;"combobox"===mode&&null!=(_mergedValues$=null==(_mergedValues$=mergedValues[0])?void 0:_mergedValues$.value)&&setSearchValue(String(_mergedValues$))},[mergedValues]),useRefFunc(function(val,label){var label=null!=label?label:val,_ref={};return _defineProperty(_ref,mergedFieldNames.value,val),_defineProperty(_ref,mergedFieldNames.label,label),_ref})),filteredOptions=function(options,fieldNames,searchValue,filterOption,optionFilterProp){return external_React_namespaceObject.useMemo(function(){var fieldOptions,fieldLabel,fieldValue,filteredOptions,customizeFilter,upperSearch,filterFunc,wrapOption;return searchValue&&!1!==filterOption?(fieldOptions=fieldNames.options,fieldLabel=fieldNames.label,fieldValue=fieldNames.value,filteredOptions=[],customizeFilter="function"==typeof filterOption,upperSearch=searchValue.toUpperCase(),filterFunc=customizeFilter?filterOption:function(_,option){return optionFilterProp?includes(option[optionFilterProp],upperSearch):option[fieldOptions]?includes(option["children"!==fieldLabel?fieldLabel:"label"],upperSearch):includes(option[fieldValue],upperSearch)},wrapOption=customizeFilter?injectPropsWithOption:function(opt){return opt},options.forEach(function(item){var subOptions;item[fieldOptions]?filterFunc(searchValue,wrapOption(item))?filteredOptions.push(item):(subOptions=item[fieldOptions].filter(function(subItem){return filterFunc(searchValue,wrapOption(subItem))})).length&&filteredOptions.push(_objectSpread2(_objectSpread2({},item),{},_defineProperty({},fieldOptions,subOptions))):filterFunc(searchValue,wrapOption(item))&&filteredOptions.push(item)}),filteredOptions):options},[options,filterOption,optionFilterProp,searchValue,fieldNames])}(external_React_namespaceObject.useMemo(function(){var cloneOptions;return"tags"!==mode?mergedOptions:(cloneOptions=_toConsumableArray(mergedOptions),_toConsumableArray(mergedValues).sort(function(a,b){return a.value<b.value?-1:1}).forEach(function(item){var val=item.value;!function(val){return valueOptions.has(val)}(val)&&cloneOptions.push(createTagOption(val,item.label))}),cloneOptions)},[createTagOption,mergedOptions,valueOptions,mergedValues,mode]),mergedFieldNames,mergedSearchValue,mergedFilterOption,optionFilterProp),filledSearchOptions=external_React_namespaceObject.useMemo(function(){return"tags"!==mode||!mergedSearchValue||filteredOptions.some(function(item){return item[optionFilterProp||"value"]===mergedSearchValue})?filteredOptions:[createTagOption(mergedSearchValue)].concat(_toConsumableArray(filteredOptions))},[createTagOption,optionFilterProp,mode,filteredOptions,mergedSearchValue]),orderedFilteredOptions=external_React_namespaceObject.useMemo(function(){return filterSort?_toConsumableArray(filledSearchOptions).sort(function(a,b){return filterSort(a,b)}):filledSearchOptions},[filledSearchOptions,filterSort]),displayOptions=external_React_namespaceObject.useMemo(function(){return flattenOptions(orderedFilteredOptions,{fieldNames:mergedFieldNames,childrenAsData:childrenAsData})},[orderedFilteredOptions,mergedFieldNames,childrenAsData]),children=slicedToArray_slicedToArray(external_React_namespaceObject.useState(null),2),defaultValue=children[0],setActiveValue=children[1],_props$listHeight=slicedToArray_slicedToArray(external_React_namespaceObject.useState(0),2),inputValue=_props$listHeight[0],setAccessibilityIndex=_props$listHeight[1],mergedDefaultActiveFirstOption=void 0!==defaultActiveFirstOption?defaultActiveFirstOption:"combobox"!==mode,onActiveValue=external_React_namespaceObject.useCallback(function(active,index){var _ref2$source=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).source,_ref2$source=void 0===_ref2$source?"keyboard":_ref2$source;setAccessibilityIndex(index),backfill&&"combobox"===mode&&null!==active&&"keyboard"===_ref2$source&&setActiveValue(String(active))},[backfill,mode]),onInternalSelect=useRefFunc(function(val,info){var info=!multiple||info.selected,cloneValues=info?multiple?[].concat(_toConsumableArray(mergedValues),[val]):[val]:mergedValues.filter(function(v){return v.value!==val});triggerChange(cloneValues),triggerSelect(val,info),"combobox"===mode?setActiveValue(""):autoClearSearchValue&&(setSearchValue(""),setActiveValue(""))}),searchValue=external_React_namespaceObject.useMemo(function(){var realVirtual=!1!==virtual&&!1!==dropdownMatchSelectWidth;return _objectSpread2(_objectSpread2({},parsedOptions),{},{flattenOptions:displayOptions,onActiveValue:onActiveValue,defaultActiveFirstOption:mergedDefaultActiveFirstOption,onSelect:onInternalSelect,menuItemSelectedIcon:menuItemSelectedIcon,rawValues:rawValues,fieldNames:mergedFieldNames,virtual:realVirtual,listHeight:listHeight,listItemHeight:listItemHeight,childrenAsData:childrenAsData})},[parsedOptions,displayOptions,onActiveValue,mergedDefaultActiveFirstOption,onInternalSelect,menuItemSelectedIcon,rawValues,mergedFieldNames,virtual,dropdownMatchSelectWidth,listHeight,listItemHeight,childrenAsData]);return external_React_namespaceObject.createElement(es_SelectContext.Provider,{value:searchValue},external_React_namespaceObject.createElement(es_BaseSelect,_extends({},props,{id:id,prefixCls:_props$prefixCls,ref:ref,omitDomProps:OMIT_DOM_PROPS,mode:mode,displayValues:_props$autoClearSearc,onDisplayValuesChange:function(nextValues,info){triggerChange(nextValues),"remove"!==info.type&&"clear"!==info.type||info.values.forEach(function(item){triggerSelect(item.value,!1)})},searchValue:mergedSearchValue,onSearch:function(searchText,info){var formatted,newRawValues;setSearchValue(searchText),setActiveValue(null),"submit"===info.source?(formatted=(searchText||"").trim())&&(newRawValues=Array.from(new Set([].concat(_toConsumableArray(rawValues),[formatted]))),triggerChange(newRawValues),triggerSelect(formatted,!0),setSearchValue("")):"blur"!==info.source&&("combobox"===mode&&triggerChange(searchText),null!=onSearch&&onSearch(searchText))},onSearchSplit:function(words){var patchValues=words,words=("tags"!==mode&&(patchValues=words.map(function(word){word=labelOptions.get(word);return null==word?void 0:word.value}).filter(function(val){return void 0!==val})),Array.from(new Set([].concat(_toConsumableArray(rawValues),_toConsumableArray(patchValues)))));triggerChange(words),words.forEach(function(newRawValue){triggerSelect(newRawValue,!0)})},dropdownMatchSelectWidth:dropdownMatchSelectWidth,OptionList:es_OptionList,emptyOptions:!displayOptions.length,activeValue:defaultValue,activeDescendantId:"".concat(id,"_list_").concat(inputValue)})))}),index_parse_namespaceObject.Option=es_Option,index_parse_namespaceObject.OptGroup=scope_namespaceObject,identList=index_parse_namespaceObject;const rc_select_es=identList;function select_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function select_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?select_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):select_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const components_select=(0,external_wp_compose_namespaceObject.compose)([external_wp_compose_namespaceObject.withInstanceId,with_device_type])(function(_ref){var value=_ref.value,_ref$onChange=_ref.onChange,_onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$onChange=_ref.label,_ref$options=_ref.options,options=void 0===_ref$options?[]:_ref$options,_ref$options=_ref.inline,_ref$options=void 0!==_ref$options&&_ref$options,_ref$responsive=_ref.responsive,_ref$responsive=void 0!==_ref$responsive&&_ref$responsive,_ref$search=_ref.search,search=void 0!==_ref$search&&_ref$search,_ref$search=_ref.instanceId,DeviceSelector=_ref.deviceSelector,deviceType=_ref.deviceType;return React.createElement("div",{className:classnames_default()("blockart-control","blockart-select",{"blockart-responsive":_ref$responsive},{"blockart-inline":_ref$options&&!_ref$responsive})},React.createElement("div",{className:"blockart-control-head blockart-select-head"},_ref$onChange&&React.createElement("label",{htmlFor:"blockart-select-button-".concat(_ref$search),className:"blockart-control-label blockart-select-label"},_ref$onChange),_ref$responsive&&React.createElement(DeviceSelector,null)),React.createElement("div",{className:"blockart-control-body blockart-select-body"},_ref$responsive?["desktop","tablet","mobile"].map(function(deviceKey){var _value$deviceKey;return deviceKey===deviceType&&React.createElement(rc_select_es,{key:deviceKey,dropdownClassName:"blockart-select-dropdown",className:"blockart-options",value:null!=(_value$deviceKey=null==value?void 0:value[deviceKey])?_value$deviceKey:"",showSearch:search,onChange:function(val){return _onChange(select_objectSpread(select_objectSpread({},value),{},_defineProperty({},deviceKey,val)))}},1<(null==options?void 0:options.length)&&options.map(function(option){var _option$value;return React.createElement(es_Option,{className:"blockart-option-item",value:null!=(_option$value=null==option?void 0:option.value)?_option$value:"",key:null!=(_option$value=null==option?void 0:option.value)?_option$value:""},null!=(_option$value=null==option?void 0:option.label)?_option$value:"")}))}):React.createElement(rc_select_es,{dropdownClassName:"blockart-select-dropdown",className:"blockart-options",value:null!=value?value:"",showSearch:search,onChange:function(val){return _onChange(val)}},1<(null==options?void 0:options.length)&&options.map(function(option){var _option$value3;return React.createElement(es_Option,{className:"blockart-option-item",value:null!=(_option$value3=null==option?void 0:option.value)?_option$value3:"",key:null!=(_option$value3=null==option?void 0:option.value)?_option$value3:""},null!=(_option$value3=null==option?void 0:option.label)?_option$value3:"")}))))}),slider=(0,external_wp_compose_namespaceObject.compose)([with_device_type,external_wp_compose_namespaceObject.withInstanceId])(function(_ref){function setSettings(val,prop){val=(val=(val=Number.isNaN(val)?void 0:val)<inputAttrs.min?inputAttrs.min:val)>inputAttrs.max?inputAttrs.max:val;var data=0<units.length?_defineProperty({},prop,val):val;0<units.length&&"unit"===prop&&(data.value=""),data=0<units.length?Object.assign({},responsive?null!=(prop=null==total?void 0:total[deviceType])?prop:{}:total,data):val,0<units.length&&!(data.unit&&total[deviceType]&&total[deviceType].unit)&&(data.unit=data.unit||defaultUnit),onChange(data.unit||responsive?Object.assign({},total,responsive?_defineProperty({},deviceType,data):data):data),setIsOpen(!1)}var total=_ref.value,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$onChange=_ref.responsive,responsive=void 0!==_ref$onChange&&_ref$onChange,_ref$onChange=_ref.label,_ref$units=_ref.units,units=void 0===_ref$units?[]:_ref$units,_ref$units=_ref.min,min=void 0===_ref$units?-1/0:_ref$units,_ref$units=_ref.max,max=void 0===_ref$units?1/0:_ref$units,_ref$units=_ref.step,step=void 0===_ref$units?.01:_ref$units,_ref$units=_ref.inline,_ref$units=void 0!==_ref$units&&_ref$units,_ref$defaultUnit=_ref.defaultUnit,defaultUnit=void 0===_ref$defaultUnit?"px":_ref$defaultUnit,_ref$defaultUnit=_ref.showUnit,_ref$defaultUnit=void 0!==_ref$defaultUnit&&_ref$defaultUnit,id=_ref.instanceId,deviceType=_ref.deviceType,_ref=_ref.deviceSelector,_useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(!1),2),isOpen=_useState2[0],setIsOpen=_useState2[1],_useState2=(0,external_wp_element_namespaceObject.useRef)(),currentUnit=(use_click_outside(_useState2,function(){return setIsOpen(!1)}),(0,external_wp_element_namespaceObject.useMemo)(function(){return total?responsive?total[deviceType]&&total[deviceType].unit||defaultUnit:total.unit||defaultUnit:defaultUnit},[total,deviceType])),currentValue=(0,external_wp_element_namespaceObject.useMemo)(function(){return total&&0<Object.keys(total).length?responsive?0<units.length?total[deviceType]&&(total[deviceType].value||0===total[deviceType].value)?total[deviceType].value:"":total[deviceType]||0===total[deviceType]?total[deviceType]:"":total.value||0===total.value?total.value:"":total||0===total?total:""},[total,deviceType]),inputAttrs=(0,external_wp_element_namespaceObject.useMemo)(function(){var inputMin=min,inputMax=max,inputStep=step;return"%"!==currentUnit&&"vh"!==currentUnit&&"vw"!==currentUnit||(inputMin=0,inputMax=100),"em"!==currentUnit&&"rem"!==currentUnit||(inputMin=0,inputMax=20,inputStep=.01),{min:inputMin,max:inputMax,step:inputStep=0<units.length&&"px"===currentUnit?1:inputStep}},[currentUnit]);return React.createElement("div",{className:classnames_default()("blockart-control","blockart-slider",{"blockart-responsive":responsive,"blockart-inline":!responsive&&!units&&_ref$units})},React.createElement("div",{className:"blockart-control-head blockart-slider-head"},_ref$onChange&&React.createElement("label",{htmlFor:"blockart-range-".concat(id),className:"blockart-control-label blockart-slider-label"},_ref$onChange),responsive&&React.createElement(_ref,null),0<units.length&&React.createElement("div",{className:"blockart-units",ref:_useState2},React.createElement("button",{className:"blockart-units-btn",onClick:function(){return setIsOpen(!isOpen)},"aria-expanded":isOpen},currentUnit),units&&1<units.length&&isOpen&&React.createElement("ul",{className:"blockart-units-menu","aria-hidden":!isOpen},units.filter(function(unit){return unit!==currentUnit}).map(function(unit){return React.createElement("li",{className:"blockart-unit",key:unit},React.createElement("button",{onClick:function(){return setSettings(unit,"unit")}},unit))}))),0===units.length&&_ref$defaultUnit&&React.createElement("div",{className:"blockart-units",ref:_useState2},React.createElement("button",{className:"blockart-units-btn",onClick:function(){return setIsOpen(!isOpen)},"aria-expanded":isOpen,"data-test":"one"},currentUnit))),React.createElement("div",{className:"blockart-control-body blockart-slider-body"},responsive?["desktop","tablet","mobile"].map(function(deviceKey){return deviceKey===deviceType&&React.createElement(external_wp_components_namespaceObject.RangeControl,_extends({key:deviceKey,value:currentValue,onChange:function(val){return setSettings(val,"value")}},inputAttrs,{className:"blockart-range",allowReset:!1}))}):React.createElement("div",{className:"blockart-slider-container"},React.createElement(external_wp_components_namespaceObject.RangeControl,_extends({value:currentValue,onChange:function(val){return setSettings(val,"value")}},inputAttrs,{className:"blockart-range",allowReset:!1})))))}),pop_over=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){var label=_ref.label,children=_ref.children,_ref=_ref.instanceId,_useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(!1),2),isOpen=_useState2[0],setIsOpen=_useState2[1],toggleRef=(0,external_wp_element_namespaceObject.useRef)();return React.createElement("div",{className:"blockart-control blockart-pop-over"},React.createElement("div",{className:"blockart-control-head blockart-pop-over-head"},label&&React.createElement("label",{htmlFor:"blockart-pop-over-".concat(_ref),className:"blockart-control-label blockart-pop-over-label"},label),React.createElement("button",{ref:toggleRef,id:"blockart-pop-over-".concat(_ref),onClick:function(){return setIsOpen(!isOpen)},className:"blockart-pop-over-toggle-button"},React.createElement(components_icon,{type:"controlIcon",name:"pencil",size:15}))),isOpen&&React.createElement(external_wp_components_namespaceObject.Popover,{position:"bottom center",onFocusOutside:function(e){e.relatedTarget!==toggleRef.current&&setIsOpen(!1)},focusOnMount:"container"},React.createElement("div",{className:classnames_default()("blockart-control-body","blockart-pop-over-body",{"is-open":isOpen})},children||"")))});function panel_createForOfIteratorHelper(o,allowArrayLike){var normalCompletion,didErr,err,i,it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(it)return didErr=!(normalCompletion=!0),{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}};if(Array.isArray(o)||(it=function(o,minLen){var n;if(o)return"string"==typeof o?panel_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?panel_arrayLikeToArray(o,minLen):void 0}(o))||allowArrayLike&&o&&"number"==typeof o.length)return it&&(o=it),i=0,{s:allowArrayLike=function(){},n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:allowArrayLike};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function panel_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}const panel=(0,external_wp_data_namespaceObject.withSelect)(function(select){return{block:select("core/block-editor").getSelectedBlock()}})(function(_ref){var children=_ref.children,title=_ref.title,_ref$block=_ref.block,_ref$block$name=_ref$block.name,_ref$block$name=void 0===_ref$block$name?"":_ref$block$name,_ref$block=_ref$block.attributes.clientId,_ref$block=void 0===_ref$block?"":_ref$block,_ref=_ref.initialOpen,_ref=void 0!==_ref&&_ref,panel=(0,external_wp_element_namespaceObject.useRef)(),id=_ref$block$name+"/"+_ref$block;return(0,external_wp_element_namespaceObject.useEffect)(function(){var _inspectorTabState$ge;(null==(_inspectorTabState$ge=inspectorTabState.get(id))?void 0:_inspectorTabState$ge.tab)===(null==(_inspectorTabState$ge=panel.current)||null==(_inspectorTabState$ge=_inspectorTabState$ge.closest("[data-inspector-tab]"))||null==(_inspectorTabState$ge=_inspectorTabState$ge.dataset)?void 0:_inspectorTabState$ge.inspectorTab)&&(null==(_inspectorTabState$ge=inspectorTabState.get(id))?void 0:_inspectorTabState$ge.panel)===title&&null!=(_inspectorTabState$ge=panel.current)&&null!=(_inspectorTabState$ge=_inspectorTabState$ge.querySelector(".components-panel__body-toggle"))&&_inspectorTabState$ge.click()},[]),React.createElement(external_wp_components_namespaceObject.Panel,{className:"blockart-panel",ref:panel},React.createElement(external_wp_components_namespaceObject.PanelBody,{className:"blockart-panel-body",title:null!=title?title:"Panel",onToggle:function(){var _parent$dataset,siblings=getSiblings(panel.current);if(null!=siblings&&siblings.length){var _step,_iterator=panel_createForOfIteratorHelper(siblings);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _body$classList,_sibling$querySelecto,sibling=_step.value,body=sibling.querySelector(".blockart-panel-body");null!=body&&null!=(_body$classList=body.classList)&&_body$classList.contains("is-opened")&&null!=(_sibling$querySelecto=sibling.querySelector(".components-panel__body-toggle"))&&_sibling$querySelecto.click()}}catch(err){_iterator.e(err)}finally{_iterator.f()}}siblings=null==(siblings=panel.current)?void 0:siblings.closest("[data-inspector-tab]");null!=siblings&&null!=(_parent$dataset=siblings.dataset)&&_parent$dataset.inspectorTab&&inspectorTabState.set(id,{tab:siblings.dataset.inspectorTab,panel:title})},initialOpen:_ref},children))}),dimensions=(0,external_wp_compose_namespaceObject.compose)([with_device_type,external_wp_compose_namespaceObject.withInstanceId])(function(_ref){function getValue(val){return 0<Object.keys(total).length?responsive?total[deviceType]&&(total[deviceType][val]||0===total[deviceType][val])?total[deviceType][val]:"":total[val]||0===total[val]?total[val]:"":""}function setSettings(val){var prop=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",val=(val=(val=(val=Number.isNaN(val)?Boolean(getValue("lock"))?void 0:0:val)<inputAttrs.min?inputAttrs.min:val)>inputAttrs.max?inputAttrs.max:val,Boolean(getValue("lock"))&&"unit"!==prop&&"lock"!==prop?{top:val,right:val,bottom:val,left:val}:_defineProperty({},prop,val));"unit"===prop&&(val.top=void 0,val.right=void 0,val.bottom=void 0,val.left=void 0),(val=Object.assign({},responsive?total[deviceType]||{}:total,val)).unit&&null!=total&&null!=(prop=total[deviceType])&&prop.unit||(val.unit=val.unit||defaultUnit),val.lock&&null!=total&&null!=(prop=total[deviceType])&&prop.lock||(val.lock=val.lock||!1),onChange(Object.assign({},total,responsive?_defineProperty({},deviceType,val):val)),setIsOpen(!1)}var _ref$value=_ref.value,total=void 0===_ref$value?{}:_ref$value,_ref$value=_ref.onChange,onChange=void 0===_ref$value?function(){}:_ref$value,_ref$value=_ref.responsive,responsive=void 0!==_ref$value&&_ref$value,_ref$value=_ref.label,_ref$units=_ref.units,_ref$units=void 0===_ref$units?[]:_ref$units,_ref$min=_ref.min,min=void 0===_ref$min?-1/0:_ref$min,_ref$min=_ref.max,max=void 0===_ref$min?1/0:_ref$min,_ref$min=_ref.step,step=void 0===_ref$min?.01:_ref$min,_ref$min=_ref.defaultUnit,defaultUnit=void 0===_ref$min?"px":_ref$min,_ref$min=_ref.type,type=void 0===_ref$min?"":_ref$min,_ref$min=_ref.instanceId,deviceType=_ref.deviceType,_ref=_ref.deviceSelector,_useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(!1),2),isOpen=_useState2[0],setIsOpen=_useState2[1],_useState2=(0,external_wp_element_namespaceObject.useRef)(),currentUnit=(use_click_outside(_useState2,function(){return setIsOpen(!1)}),(0,external_wp_element_namespaceObject.useMemo)(function(){return total?responsive?total[deviceType]&&total[deviceType].unit||defaultUnit:total.unit||defaultUnit:defaultUnit},[total,deviceType])),inputAttrs=(0,external_wp_element_namespaceObject.useMemo)(function(){var inputMin=min,inputMax=max,inputStep=step;return"%"!==currentUnit&&"vh"!==currentUnit&&"vw"!==currentUnit||(inputMin="margin"===type?-100:0,inputMax=100),"em"!==currentUnit&&"rem"!==currentUnit||(inputMin="margin"===type?-20:0,inputMax=20),"px"===currentUnit&&(inputMin="margin"===type?-inputMax:0,inputStep=1),{min:inputMin,max:inputMax,step:inputStep}}),prevLockVal=(0,external_wp_element_namespaceObject.useRef)(getValue("lock"));return(0,external_wp_element_namespaceObject.useEffect)(function(){if(prevLockVal.current!==getValue("lock")&&(prevLockVal.current=getValue("lock"),getValue("lock"))){if(responsive){var _allProp=[];if(total[deviceType])for(var _i2=0,_Object$keys2=Object.keys(DIMENSIONS_PROPERTIES);_i2<_Object$keys2.length;_i2++){var _prop=_Object$keys2[_i2];4===(_allProp=[].concat(_toConsumableArray(_allProp),[total[deviceType][_prop]||""])).length&&(_prop=_allProp.every(function(v){return""===v})?void 0:Math.max.apply(Math,_toConsumableArray(_allProp)),total[deviceType].top=_prop,total[deviceType].right=_prop,total[deviceType].bottom=_prop,total[deviceType].left=_prop)}}else for(var allProp=[],_i=0,_Object$keys=Object.keys(DIMENSIONS_PROPERTIES);_i<_Object$keys.length;_i++){var prop=_Object$keys[_i];4===(allProp=[].concat(_toConsumableArray(allProp),[total[prop]||""])).length&&(prop=allProp.every(function(v){return""===v})?void 0:Math.max.apply(Math,_toConsumableArray(allProp)),total.top=prop,total.right=prop,total.bottom=prop,total.left=prop)}onChange(Object.assign({},total))}},[getValue("lock")]),React.createElement("div",{className:classnames_default()("blockart-control","blockart-dimensions",{"blockart-responsive":responsive})},React.createElement("div",{className:"blockart-control-head blockart-dimensions-head"},_ref$value&&React.createElement("label",{htmlFor:"blockart-dimension-top-".concat(_ref$min),className:"blockart-control-label blockart-dimensions-label"},_ref$value),responsive&&React.createElement(_ref,null),_ref$units&&React.createElement("div",{className:"blockart-units",ref:_useState2},React.createElement("button",{className:"blockart-units-btn",onClick:function(){return setIsOpen(!isOpen)},"aria-expanded":isOpen},currentUnit),_ref$units&&1<_ref$units.length&&isOpen&&React.createElement("ul",{className:"blockart-units-menu","aria-hidden":!isOpen},_ref$units.filter(function(unit){return unit!==currentUnit}).map(function(unit){return React.createElement("li",{className:"blockart-unit",key:unit},React.createElement("button",{onClick:function(){return setSettings(unit,"unit")}},unit))})))),React.createElement("div",{className:"blockart-control-body blockart-dimension-body"},responsive?["desktop","tablet","mobile"].map(function(deviceKey){return deviceKey===deviceType&&React.createElement("div",{key:deviceKey,className:"blockart-dimensions-container"},Object.keys(DIMENSIONS_PROPERTIES).map(function(dimensionProp){return React.createElement(external_wp_components_namespaceObject.TextControl,{autoComplete:"off",key:dimensionProp,className:"blockart-dimension",label:DIMENSIONS_PROPERTIES[dimensionProp],value:getValue(dimensionProp),type:"number",onChange:function(val){return setSettings(parseFloat(val),dimensionProp)}})}),React.createElement("button",{className:classnames_default()("blockart-dimensions-lock",{"is-lock":Boolean(getValue("lock"))}),onClick:function(){return setSettings(!Boolean(getValue("lock")),"lock")}},React.createElement(components_icon,{type:"controlIcon",name:Boolean(getValue("lock"))?"lock":"un-link",size:16})))}):React.createElement("div",{className:"blockart-dimensions-container"},Object.keys(DIMENSIONS_PROPERTIES).map(function(dimensionProp){return React.createElement(external_wp_components_namespaceObject.TextControl,{autoComplete:"off",key:dimensionProp,className:"blockart-dimension",label:DIMENSIONS_PROPERTIES[dimensionProp],value:getValue(dimensionProp),type:"number",onChange:function(val){return setSettings(parseFloat(val),dimensionProp)}})}),React.createElement("button",{className:classnames_default()("blockart-dimensions-lock",{"is-lock":Boolean(getValue("lock"))}),onClick:function(){return setSettings(!Boolean(getValue("lock")),"lock")}},React.createElement(components_icon,{type:"controlIcon",name:Boolean(getValue("lock"))?"lock":"un-link",size:16})))))}),external_wp_blockEditor_namespaceObject=window.wp.blockEditor;var url_input_excluded=["value","label","onChange","newTab","noFollow","instanceId"];const url_input=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){function setSettings(type){type=_defineProperty({},type,"newTab"===type||"noFollow"===type?!value[type]:1<arguments.length&&void 0!==arguments[1]?arguments[1]:null),onChange(Object.assign({},value,type))}var value=_ref.value,_ref$label=_ref.label,_ref$label=void 0===_ref$label?(0,external_wp_i18n_namespaceObject.__)("URL","blockart"):_ref$label,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$onChange=_ref.newTab,_ref$onChange=void 0!==_ref$onChange&&_ref$onChange,_ref$noFollow=_ref.noFollow,_ref$noFollow=void 0!==_ref$noFollow&&_ref$noFollow,id=_ref.instanceId,_ref=_objectWithoutProperties(_ref,url_input_excluded);return React.createElement("div",{className:"blockart-control blockart-url-input"},React.createElement("div",{className:"blockart-control-head blockart-url-input-head"},React.createElement("label",{htmlFor:"blockart-url-input-".concat(id),className:"blockart-control-label blockart-control-label"},_ref$label)),React.createElement("div",{className:"blockart-control-body blockart-url-input-body"},React.createElement(external_wp_components_namespaceObject.BaseControl,{id:"blockart-url-input-".concat(id)},React.createElement(external_wp_blockEditor_namespaceObject.URLInput,_extends({value:null!=(_ref$label=null==value?void 0:value.url)?_ref$label:"",onChange:function(val){return setSettings("url",val)},autoFocus:!1},_ref))),_ref$onChange&&React.createElement(toggle,{checked:null!=(id=null==value?void 0:value.newTab)&&id,onChange:function(){return setSettings("newTab")},label:(0,external_wp_i18n_namespaceObject.__)("Open Link in a New Tab","blockart")}),_ref$noFollow&&React.createElement(toggle,{checked:null!=(_ref$label=null==value?void 0:value.noFollow)&&_ref$label,onChange:function(){return setSettings("noFollow")},label:(0,external_wp_i18n_namespaceObject.__)("Nofollow Link","blockart")})))}),fonts=[{f:"Default",v:["100","200","300","400","500","600","700"]},{f:"Abril Fatface",v:["regular"]},{f:"Almendra SC",v:["regular"]},{f:"Anton",v:["regular"]},{f:"Arvo",v:["regular","italic","700","700italic"]},{f:"Bebas Neue",v:["regular"]},{f:"Bitter",v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Coda Caption",v:["800"]},{f:"Creepster",v:["regular"]},{f:"Domine",v:["regular","500","600","700"]},{f:"Finger Paint",v:["regular"]},{f:"Fredoka One",v:["regular"]},{f:"Lato",v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"]},{f:"Lobster",v:["regular"]},{f:"Lora",v:["regular","500","600","700","italic","500italic","600italic","700italic"]},{f:"Montserrat",v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Nobile",v:["regular","italic","500","500italic","700","700italic"]},{f:"Nunito",v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Open Sans",v:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"]},{f:"Oswald",v:["200","300","regular","500","600","700"]},{f:"Pattaya",v:["regular"]},{f:"Peddana",v:["regular"]},{f:"Playfair Display",v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Poppins",v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Quicksand",v:["300","regular","500","600","700"]},{f:"Raleway",v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Roboto",v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"]},{f:"Rufina",v:["regular","700"]},{f:"Seaweed Script",v:["regular"]},{f:"Teko",v:["300","regular","500","600","700"]},{f:"Ultra",v:["regular"]},{f:"Zilla Slab",v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{f:"Noto Serif",v:["regular","700","700italic"]},{f:"Work Sans",v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Quattrocento",v:["regular","700"]},{f:"Cinzel Decorative",v:["regular","700","900"]},{f:"Be Vietnam Pro",v:["100","200","300","regular","500","600","700","800","900"]}];var __=wp.i18n.__;function components_typography(_ref){function setSetting(type,val){type=_defineProperty({},type,val),onChange(Object.assign({},value,type))}var family=(_ref$value=_ref.value).family,size=_ref$value.size,weight=_ref$value.weight,lineHeight=_ref$value.lineHeight,transform=_ref$value.transform,decoration=_ref$value.decoration,_ref$value=_ref$value.letterSpacing,value=void 0===(_ref$value2=_ref.value)?{}:_ref$value2,onChange=void 0===(_ref$value2=_ref.onChange)?function(){}:_ref$value2,_ref$value2=_ref.label,_ref=(0,external_wp_element_namespaceObject.useMemo)(function(){return fonts.map(function(font){return{value:font.f,label:font.f}})},[]),weightOptions=(0,external_wp_element_namespaceObject.useMemo)(function(){return family?fonts.filter(function(f){return family===f.f})[0].v.map(function(w){return"regular"===w&&(w=400),parseInt(w)}).filter(function(w,i,arr){return!Number.isNaN(w)&&arr.indexOf(w)===i}).map(function(w){return{label:w,value:w}}):[100,200,300,400,500,600,700].map(function(w){return{label:w,value:w}})},[family]);return(0,external_wp_element_namespaceObject.useEffect)(function(){weightOptions.some(function(w){return w.value===weight})||setSetting("weight",Object.keys(weightOptions).includes("400")||void 0===weight?400:weightOptions[0].value)},[weightOptions]),React.createElement("div",{className:"blockart-control blockart-typography"},React.createElement("div",{className:"blockart-control-head blockart-typography-head"},_ref$value2&&React.createElement("label",{htmlFor:"blockart-typography",className:"blockart-control-label blockart-typography-label"},_ref$value2)),React.createElement("div",{className:"blockart-control-body blockart-typography-body"},React.createElement(components_select,{label:__("Font Family","blockart"),onChange:function(val){return setSetting("family",val)},value:null!=family?family:"Default",options:_ref,search:!0}),React.createElement(slider,{value:size||{},onChange:function(val){return setSetting("size",val)},responsive:!0,min:0,max:100,inline:!0,units:["px","em","rem"],defaultUnit:"px",label:__("Size","blockart")}),React.createElement(components_select,{label:__("Weight","blockart"),onChange:function(val){return setSetting("weight",val)},value:null!=weight?weight:400,options:weightOptions}),React.createElement(slider,{value:lineHeight||{},onChange:function(val){return setSetting("lineHeight",val)},responsive:!0,min:0,max:100,inline:!0,units:["px","em","rem"],defaultUnit:"px",label:__("Line Height","blockart")}),React.createElement(pop_over,{label:__("Advanced Typography","blockart")},React.createElement(components_select,{label:__("Transformation","blockart"),onChange:function(val){return setSetting("transform",val)},value:null!=transform?transform:"",options:[{label:__("Default","blockart"),value:"default"},{label:__("Capitalize","blockart"),value:"capitalize"},{label:__("Uppercase","blockart"),value:"uppercase"},{label:__("Lowercase","blockart"),value:"lowercase"}]}),React.createElement(components_select,{label:__("Decoration","blockart"),onChange:function(val){return setSetting("decoration",val)},value:null!=decoration?decoration:"",options:[{label:__("Default","blockart"),value:"default"},{label:__("Overline","blockart"),value:"overline"},{label:__("Underline","blockart"),value:"underline"},{label:__("Line Through","blockart"),value:"line-through"}]}),React.createElement(slider,{value:null!=_ref$value?_ref$value:{},onChange:function(val){return setSetting("letterSpacing",val)},responsive:!0,min:0,max:100,inline:!0,units:["px","em","rem"],defaultUnit:"px",label:__("Letter Spacing","blockart")}))))}const components_size=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){var _ref$value=_ref.value,value=void 0===_ref$value?"":_ref$value,_ref$value=_ref.onChange,_onChange=void 0===_ref$value?function(){}:_ref$value,_ref$value=_ref.label,_ref$sizes=_ref.sizes,_ref$sizes=void 0===_ref$sizes?[{label:(0,external_wp_i18n_namespaceObject.__)("S","blockart"),value:"small"},{label:(0,external_wp_i18n_namespaceObject.__)("M","blockart"),value:"medium"},{label:(0,external_wp_i18n_namespaceObject.__)("L","blockart"),value:"large"}]:_ref$sizes,_ref$defaultKey=_ref.defaultKey,defaultKey=void 0===_ref$defaultKey?"size":_ref$defaultKey,_ref$defaultKey=_ref.custom,_ref$defaultKey=void 0!==_ref$defaultKey&&_ref$defaultKey,_ref$customValue=_ref.customValue,_ref$customValue=void 0===_ref$customValue?{}:_ref$customValue,_ref$customKey=_ref.customKey,customKey=void 0===_ref$customKey?"padding":_ref$customKey,_ref$customKey=_ref.customMax,_ref$customKey=void 0===_ref$customKey?500:_ref$customKey,_ref$customUnits=_ref.customUnits,_ref$customUnits=void 0===_ref$customUnits?["rem","em","px","%"]:_ref$customUnits,_ref$customMin=_ref.customMin,_ref$customMin=void 0===_ref$customMin?0:_ref$customMin,_ref$customLabel=_ref.customLabel,_ref$customLabel=void 0===_ref$customLabel?(0,external_wp_i18n_namespaceObject.__)("Padding","blockart"):_ref$customLabel,_ref$customDefaultUni=_ref.customDefaultUnit,_ref$customDefaultUni=void 0===_ref$customDefaultUni?"px":_ref$customDefaultUni,_ref=_ref.instanceId,_useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(!1),2),isOpen=_useState2[0],setIsOpen=_useState2[1],_useState2=(0,external_wp_element_namespaceObject.useRef)(),popoverToggleRef=(0,external_wp_element_namespaceObject.useRef)();return use_click_outside(_useState2,function(){return setIsOpen(!1)},popoverToggleRef),React.createElement("div",{className:"blockart-control blockart-size"},React.createElement("div",{className:"blockart-control-head blockart-size-head"},React.createElement("label",{htmlFor:"blockart-size-".concat(_ref),className:"blockart-control-label blockart-size-label"},_ref$value)),React.createElement("div",{className:"blockart-control-body blockart-size-body"},React.createElement("div",{className:"blockart-size-buttons"},0<_ref$sizes.length&&_ref$sizes.map(function(size,idx){return React.createElement("button",{key:idx,className:classnames_default()("blockart-size-button",{"is-active":value&&size.value===value}),onClick:function(){return _onChange(defaultKey,value===size.value?"":size.value)}},React.createElement("span",{className:"blockart-size-button-text"},size.label.toUpperCase()))}),_ref$defaultKey&&React.createElement("button",{ref:popoverToggleRef,className:classnames_default()("blockart-size-button","blockart-size-advance-button",{"is-active":value&&"custom"===value}),onClick:function(){setIsOpen(!isOpen),_onChange(defaultKey,"custom"===value?"":"custom")}},React.createElement(components_icon,{type:"controlIcon",name:"cog",size:20}))),value&&"custom"===value&&React.createElement("div",{ref:_useState2,className:"blockart-size-popover"},React.createElement(dimensions,{units:_ref$customUnits,value:_ref$customValue||{},label:_ref$customLabel,responsive:!0,min:_ref$customMin,max:_ref$customKey,defaultUnit:_ref$customDefaultUni,onChange:function(val){_onChange(customKey,val)}}))))}),components_media=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){var _ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$onChange=_ref.type,_ref$onChange=void 0===_ref$onChange?"image":_ref$onChange,_ref$value=_ref.value,value=void 0===_ref$value?{}:_ref$value,_ref$value=_ref.label,buttonString=null!=value&&value.url?(0,external_wp_i18n_namespaceObject.__)("Replace","blockart")+" "+("image"===_ref$onChange?"Image":"Video"):(0,external_wp_i18n_namespaceObject.__)("Add","blockart")+" "+("image"===_ref$onChange?"Image":"Video");return React.createElement("div",{className:"blockart-control blockart-media"},React.createElement("div",{className:"blockart-control-head blockart-media-head"},React.createElement("label",{htmlFor:"blockart-media-head"},_ref$value)),React.createElement("div",{className:"blockart-control-body blockart-media-body"},React.createElement(external_wp_blockEditor_namespaceObject.MediaUploadCheck,null,React.createElement(external_wp_blockEditor_namespaceObject.MediaUpload,{onSelect:function(media){var url,id,height,width;null!=media&&media.url&&(url=media.url,id=media.id,height=media.height,width=media.width,media=media.alt,onChange({url:url,id:id,height:height,width:width,alt:media}))},allowedTypes:[_ref$onChange],title:"Upload Image",render:function(_ref2){var open=_ref2.open;return React.createElement(React.Fragment,null,React.createElement("div",{className:"blockart-media-placeholder blockart-media-preview",onClick:open,onKeyDown:function(e){return"Enter"===e.key&&open},role:"button",tabIndex:0,title:buttonString},React.createElement("img",{src:(null==value?void 0:value.url)||_BLOCKART_.placeholderImage,alt:(0,external_wp_i18n_namespaceObject.__)("blockart preview image","blockart")})),React.createElement("button",{className:"blockart-media-button",onClick:open},React.createElement(components_icon,{type:"controlIcon",name:"image",size:20}),React.createElement("span",{className:"blockart-media-button-text"},buttonString)),value&&React.createElement("button",{className:"blockart-media-delete",onClick:function(){return onChange("")}},React.createElement(components_icon,{type:"controlIcon",name:"trash",size:20})))}}))))}),components_color=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){var label=_ref.label,value=_ref.value,_ref$onChange=_ref.onChange,_onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$onChange=_ref.instanceId,_ref=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(!1),2),isOpen=_ref[0],setIsOpen=_ref[1],toggleRef=(0,external_wp_element_namespaceObject.useRef)(),colorPickerRef=(0,external_wp_element_namespaceObject.useRef)(null);return React.createElement("div",{className:"blockart-control blockart-color"},React.createElement("div",{className:"blockart-control-head blockart-color-head"},label&&React.createElement("label",{htmlFor:"blockart-color-".concat(_ref$onChange),className:"blockart-control-label blockart-color-label"},label),React.createElement("div",{className:"blockart-color-buttons"},value&&React.createElement("button",{className:"blockart-color-clear-button",onClick:function(){return _onChange("")}},React.createElement(components_icon,{type:"controlIcon",name:"reset",size:20})),React.createElement("button",{id:"blockart-color-".concat(_ref$onChange),className:"blockart-color-toggle-button",onClick:function(){return setIsOpen(!isOpen)},ref:toggleRef},React.createElement("span",{className:classnames_default()("blockart-color-indicator",{"is-empty":!value}),style:{width:"24px",height:"24px",background:value||"repeating-conic-gradient(#999 0% 25%, #eee 0% 50%) center center / 8px 8px",display:"inline-block",borderRadius:"50%"}}),value&&React.createElement("span",{className:"blockart-color-text"},value)))),isOpen&&React.createElement(external_wp_components_namespaceObject.Popover,{position:"bottom center",onFocusOutside:function(e){e.relatedTarget!==toggleRef.current&&setIsOpen(!1)},focusOnMount:"container"},React.createElement("div",{className:"blockart-control-body blockart-color-body"},React.createElement("div",{className:"blockart-color-picker"},React.createElement("div",{className:"blockart-color-palette"},React.createElement(external_wp_blockEditor_namespaceObject.ColorPalette,{value:null!=value?value:"",onChange:function(color){var commitValues=((null==colorPickerRef?void 0:colorPickerRef.current)||!1).commitValues;color&&commitValues&&commitValues({hex:color,source:"hex"}),_onChange(color)},disableCustomColors:!0,clearable:!1,colors:[{name:(0,external_wp_i18n_namespaceObject.__)("Blue","blockart"),color:"#2871ff"},{name:(0,external_wp_i18n_namespaceObject.__)("Dark Golden","blockart"),color:"#e89623"},{name:(0,external_wp_i18n_namespaceObject.__)("Black","blockart"),color:"#000000"},{name:(0,external_wp_i18n_namespaceObject.__)("White","blockart"),color:"#ffffff"}]})),React.createElement(external_wp_components_namespaceObject.ColorPicker,_extends({color:null!=value?value:"",onChangeComplete:function(color){!function(val){val=1!==val.rgb.a?"rgba("+val.rgb.r+","+val.rgb.g+","+val.rgb.b+","+val.rgb.a+")":val.hex;_onChange(val)}(color)}},!_BLOCKART_.isWP59OrAbove&&{ref:colorPickerRef}))))))});var toggle_excluded=["checked","onChange","label","instanceId"];const toggle=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){var _ref$checked=_ref.checked,_ref$checked=void 0!==_ref$checked&&_ref$checked,_ref$onChange=_ref.onChange,_ref$onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$label=_ref.label,_ref$label=void 0===_ref$label?"":_ref$label,id=_ref.instanceId,_ref=_objectWithoutProperties(_ref,toggle_excluded);return React.createElement("div",{className:classnames_default()("blockart-control","blockart-toggle","blockart-inline",{"is-checked":_ref$checked})},React.createElement("div",{className:"blockart-toggle-head"},_ref$label&&React.createElement("label",{htmlFor:"blockart-toggle-".concat(id),className:"blockart-control-label blockart-toggle-label"},_ref$label)),React.createElement("div",{className:"blockart-control-body blockart-toggle-body"},React.createElement("input",_extends({id:"blockart-toggle-".concat(id),type:"checkbox",className:"blockart-toggle-checkbox",onChange:_ref$onChange},_ref)),React.createElement("span",{className:"blockart-toggle-track"}),React.createElement("span",{className:"blockart-toggle-thumb"})))});function box_shadow_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function box_shadow_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?box_shadow_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):box_shadow_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function box_shadow(_ref){function setSetting(type,val){type=_defineProperty({},type,val),onChange(box_shadow_objectSpread(box_shadow_objectSpread({},value),type))}var enable=(_ref$value=_ref.value).enable,color=_ref$value.color,verticalY=_ref$value.verticalY,horizontalX=_ref$value.horizontalX,blur=_ref$value.blur,spread=_ref$value.spread,_ref$value=_ref$value.position,_ref$value2=_ref.value,value=void 0===_ref$value2?{}:_ref$value2,onChange=void 0===(_ref$value2=_ref.onChange)?function(){}:_ref$value2;return React.createElement("div",{className:"blockart-control blockart-border"},React.createElement("div",{className:"blockart-control-body blockart-border-body"},React.createElement(toggle,{label:(0,external_wp_i18n_namespaceObject.__)("Box Shadow","blockart"),checked:enable||!1,onChange:function(){return setSetting("enable",!enable)}}),enable&&React.createElement(React.Fragment,null,React.createElement(components_color,{onChange:function(val){return setSetting("color",val)},value:color||"",label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart")}),React.createElement(slider,{min:-100,max:100,label:(0,external_wp_i18n_namespaceObject.__)("Horizontal-X","blockart"),value:horizontalX||0,onChange:function(val){return setSetting("horizontalX",val)},step:1}),React.createElement(slider,{min:-100,max:100,label:(0,external_wp_i18n_namespaceObject.__)("Horizontal-Y","blockart"),value:verticalY||0,onChange:function(val){return setSetting("verticalY",val)},step:1}),React.createElement(slider,{min:0,max:100,label:(0,external_wp_i18n_namespaceObject.__)("Blur","blockart"),value:blur||0,onChange:function(val){return setSetting("blur",val)},step:1}),React.createElement(slider,{min:0,max:100,label:(0,external_wp_i18n_namespaceObject.__)("Spread","blockart"),value:spread||0,onChange:function(val){return setSetting("spread",val)},step:1}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Position","blockart"),onChange:function(val){return setSetting("position",val)},value:_ref$value||"outline",options:[{label:(0,external_wp_i18n_namespaceObject.__)("Outline","blockart"),value:"outline"},{label:(0,external_wp_i18n_namespaceObject.__)("Inset","blockart"),value:"inset"}]}))))}function border_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function border_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?border_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):border_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function components_border(_ref){function setSetting(genre,val){genre=_defineProperty({},genre,val),onChange(border_objectSpread(border_objectSpread({},value),genre))}var type=(_ref$value=_ref.value).type,size=_ref$value.size,radius=_ref$value.radius,_ref$value=_ref$value.color,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){}:_ref$onChange,value=void 0===(_ref$onChange=_ref.value)?{}:_ref$onChange;return React.createElement("div",{className:"blockart-control blockart-border"},React.createElement("div",{className:"blockart-control-body blockart-border-body"},React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Type","blockart"),onChange:function(val){return setSetting("type",val)},value:type||"none",options:[{label:(0,external_wp_i18n_namespaceObject.__)("None","blockart"),value:"none"},{label:(0,external_wp_i18n_namespaceObject.__)("Solid","blockart"),value:"solid"},{label:(0,external_wp_i18n_namespaceObject.__)("Double","blockart"),value:"double"},{label:(0,external_wp_i18n_namespaceObject.__)("Dashed","blockart"),value:"dashed"},{label:(0,external_wp_i18n_namespaceObject.__)("Dotted","blockart"),value:"dotted"},{label:(0,external_wp_i18n_namespaceObject.__)("Groove","blockart"),value:"groove"}]}),void 0!==type&&"none"!==type&&React.createElement(React.Fragment,null,React.createElement(components_color,{onChange:function(val){return setSetting("color",val)},value:_ref$value||"",label:(0,external_wp_i18n_namespaceObject.__)("Border Color","blockart")}),React.createElement(dimensions,{label:(0,external_wp_i18n_namespaceObject.__)("Size","blockart"),value:size||{},responsive:!0,units:["px","rem","em"],defaultUnit:"px",min:0,onChange:function(val){return setSetting("size",val)},isLinked:!0})),React.createElement(dimensions,{label:(0,external_wp_i18n_namespaceObject.__)("Radius","blockart"),value:radius||{},responsive:!0,units:["px","em","%"],defaultUnit:"px",min:0,onChange:function(val){return setSetting("radius",val)},isLinked:!0})))}function components_gradient(_ref){function setSetting(type,val){type=_defineProperty({},type,val),onChange(Object.assign({},value,type))}var color1=(_ref$value=_ref.value).color1,location1=_ref$value.location1,color2=_ref$value.color2,location2=_ref$value.location2,gradientType=_ref$value.type,_ref$value=_ref$value.angle,value=_ref.value,onChange=void 0===(_ref=_ref.onChange)?function(){}:_ref;return React.createElement("div",{className:"blockart-control blockart-gradient"},React.createElement("div",{className:"blockart-control-body blockart-gradient-body"},React.createElement(components_color,{value:color1||"",label:"Color 1",onChange:function(val){return setSetting("color1",val)}}),React.createElement(slider,{value:location1||0,onChange:function(val){return setSetting("location1",val)},min:0,max:100,inline:!0,label:(0,external_wp_i18n_namespaceObject.__)("Location","blockart")}),React.createElement(components_color,{value:color2||"",label:"Color 2",onChange:function(val){return setSetting("color2",val)}}),React.createElement(slider,{value:location2||0,onChange:function(val){return setSetting("location2",val)},min:0,max:100,inline:!0,label:(0,external_wp_i18n_namespaceObject.__)("Location","blockart")}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Type","blockart"),value:gradientType||"linear",onChange:function(val){return setSetting("type",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Linear","blockart"),value:"linear"},{label:(0,external_wp_i18n_namespaceObject.__)("Radial","blockart"),value:"radial"}]}),React.createElement(slider,{value:_ref$value||0,onChange:function(val){return setSetting("angle",val)},min:0,max:365,inline:!0,label:(0,external_wp_i18n_namespaceObject.__)("Angle","blockart")})))}const external_wp_hooks_namespaceObject=window.wp.hooks;function background_image_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function background_image_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?background_image_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):background_image_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const background_image=with_device_type(function(_ref){function setSetting(type,val){type=_defineProperty({},type,val),onChange(background_image_objectSpread(background_image_objectSpread({},value),type))}function setCustomSize(val){onChange("desktop"===deviceType?Object.assign({},value,{customSizeDesktop:val}):"tablet"===deviceType?Object.assign({},value,{customSizeTablet:val}):Object.assign({},value,{customSizeMobile:val}))}var _ref$value=_ref.value,_ref$value$image=_ref$value.image,_ref$value$image=void 0===_ref$value$image?{}:_ref$value$image,_ref$value$position=_ref$value.position,_ref$value$position=void 0===_ref$value$position?{}:_ref$value$position,_ref$value$size=_ref$value.size,_ref$value$size=void 0===_ref$value$size?{}:_ref$value$size,_ref$value$repeat=_ref$value.repeat,_ref$value$repeat=void 0===_ref$value$repeat?{}:_ref$value$repeat,_ref$value$attachment=_ref$value.attachment,_ref$value$attachment=void 0===_ref$value$attachment?"scroll":_ref$value$attachment,_ref$value$customSize=_ref$value.customSizeDesktop,_ref$value$customSize=void 0===_ref$value$customSize?"":_ref$value$customSize,_ref$value$customSize2=_ref$value.customSizeTablet,_ref$value$customSize2=void 0===_ref$value$customSize2?"":_ref$value$customSize2,_ref$value=_ref$value.customSizeMobile,_ref$value=void 0===_ref$value?"":_ref$value,_ref$value2=_ref.value,value=void 0===_ref$value2?{}:_ref$value2,_ref$value2=_ref.onChange,onChange=void 0===_ref$value2?function(){}:_ref$value2,deviceType=_ref.deviceType;return React.createElement("div",{className:"blockart-control blockart-background-image"},React.createElement("div",{className:"blockart-control-body blockart-background-image-body"},React.createElement(components_media,{value:_ref$value$image,onChange:function(val){return setSetting("image",val)}}),(null==_ref$value$image?void 0:_ref$value$image.url)&&React.createElement(React.Fragment,null,React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Position","blockart"),value:_ref$value$position||{},onChange:function(val){return setSetting("position",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),value:"default"},{label:(0,external_wp_i18n_namespaceObject.__)("Left Top","blockart"),value:"left top"},{label:(0,external_wp_i18n_namespaceObject.__)("Left Center","blockart"),value:"left center"},{label:(0,external_wp_i18n_namespaceObject.__)("Left Bottom","blockart"),value:"left bottom"},{label:(0,external_wp_i18n_namespaceObject.__)("Right Top","blockart"),value:"right top"},{label:(0,external_wp_i18n_namespaceObject.__)("Right Center","blockart"),value:"right center"},{label:(0,external_wp_i18n_namespaceObject.__)("Right Bottom","blockart"),value:"right bottom"},{label:(0,external_wp_i18n_namespaceObject.__)("Center Top","blockart"),value:"center top"},{label:(0,external_wp_i18n_namespaceObject.__)("Center Center","blockart"),value:"center center"},{label:(0,external_wp_i18n_namespaceObject.__)("Center Bottom","blockart"),value:"center bottom"}],responsive:!0,placeholder:(0,external_wp_i18n_namespaceObject.__)("Default","blockart")}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Size","blockart"),value:_ref$value$size||{},onChange:function(val){return setSetting("size",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),value:"default"},{label:(0,external_wp_i18n_namespaceObject.__)("Cover","blockart"),value:"cover"},{label:(0,external_wp_i18n_namespaceObject.__)("Contain","blockart"),value:"contain"},{label:(0,external_wp_i18n_namespaceObject.__)("Auto","blockart"),value:"auto"},{label:(0,external_wp_i18n_namespaceObject.__)("Custom","blockart"),value:"custom"}],responsive:!0,placeholder:(0,external_wp_i18n_namespaceObject.__)("Default","blockart")}),_ref$value$size&&_ref$value$size[deviceType]&&"custom"===_ref$value$size[deviceType]&&React.createElement(slider,{value:"desktop"===deviceType?_ref$value$customSize||"":"tablet"===deviceType?_ref$value$customSize2||"":_ref$value||"",label:(0,external_wp_i18n_namespaceObject.__)("Width","blockart"),min:0,max:1e3,defaultUnit:"%",units:["px","%","em","vw"],onChange:setCustomSize}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Repeat","blockart"),value:_ref$value$repeat||{},onChange:function(val){return setSetting("repeat",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),value:"default"},{label:(0,external_wp_i18n_namespaceObject.__)("No Repeat","blockart"),value:"no-repeat"},{label:(0,external_wp_i18n_namespaceObject.__)("Repeat","blockart"),value:"repeat"},{label:(0,external_wp_i18n_namespaceObject.__)("Repeat Vertically","blockart"),value:"repeat-y"},{label:(0,external_wp_i18n_namespaceObject.__)("Repeat Horizontally","blockart"),value:"repeat-x"}],responsive:!0,placeholder:(0,external_wp_i18n_namespaceObject.__)("Default","blockart")}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Attachment","blockart"),value:_ref$value$attachment||"",onChange:function(val){return setSetting("attachment",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),value:"default"},{label:(0,external_wp_i18n_namespaceObject.__)("Scroll","blockart"),value:"scroll"},{label:(0,external_wp_i18n_namespaceObject.__)("Fixed","blockart"),value:"fixed"}],placeholder:(0,external_wp_i18n_namespaceObject.__)("Default","blockart")}))))});function background_video_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function background_video_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?background_video_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):background_video_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function background_video(_ref){function setSetting(type,val){type=_defineProperty({},type,val),onChange(background_video_objectSpread(background_video_objectSpread({},value),type))}var video=(_ref$value=_ref.value).video,loop=_ref$value.loop,mute=_ref$value.mute,image=_ref$value.image,position=_ref$value.position,size=_ref$value.size,repeat=_ref$value.repeat,_ref$value=_ref$value.attachment,_ref$value2=_ref.value,value=void 0===_ref$value2?{}:_ref$value2,onChange=void 0===(_ref$value2=_ref.onChange)?function(){}:_ref$value2;return React.createElement("div",{className:"blockart-control blockart-background-video"},React.createElement("div",{className:"blockart-control-body blockart-background-video-body"},React.createElement(components_media,{value:video||"",onChange:function(val){return setSetting("video",val)},label:(0,external_wp_i18n_namespaceObject.__)("Upload your Video","blockart"),type:"video"}),React.createElement(toggle,{label:(0,external_wp_i18n_namespaceObject.__)("Loop Video","blockart"),checked:loop||!1,onChange:function(){return setSetting("loop",!loop)}}),React.createElement(toggle,{label:(0,external_wp_i18n_namespaceObject.__)("Mute Video","blockart"),checked:mute||!1,onChange:function(){return setSetting("mute",!mute)}}),React.createElement(components_media,{value:image||"",onChange:function(val){return setSetting("image",val)},label:(0,external_wp_i18n_namespaceObject.__)("Background Image","blockart")}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Position","blockart"),value:position||"center center",onChange:function(val){return setSetting("position",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Left Top","blockart"),value:"left top"},{label:(0,external_wp_i18n_namespaceObject.__)("Left Center","blockart"),value:"left center"},{label:(0,external_wp_i18n_namespaceObject.__)("Left Bottom","blockart"),value:"left bottom"},{label:(0,external_wp_i18n_namespaceObject.__)("Right Top","blockart"),value:"right top"},{label:(0,external_wp_i18n_namespaceObject.__)("Right Center","blockart"),value:"right center"},{label:(0,external_wp_i18n_namespaceObject.__)("Right Bottom","blockart"),value:"right bottom"},{label:(0,external_wp_i18n_namespaceObject.__)("Center Top","blockart"),value:"center top"},{label:(0,external_wp_i18n_namespaceObject.__)("Center Center","blockart"),value:"center center"},{label:(0,external_wp_i18n_namespaceObject.__)("Center Bottom","blockart"),value:"center bottom"}]}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Size","blockart"),value:size||"auto",onChange:function(val){return setSetting("size",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Cover","blockart"),value:"cover"},{label:(0,external_wp_i18n_namespaceObject.__)("Contain","blockart"),value:"contain"},{label:(0,external_wp_i18n_namespaceObject.__)("Auto","blockart"),value:"auto"}]}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Repeat","blockart"),value:repeat||"repeat",onChange:function(val){return setSetting("repeat",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("No Repeat","blockart"),value:"no-repeat"},{label:(0,external_wp_i18n_namespaceObject.__)("Repeat","blockart"),value:"repeat"},{label:(0,external_wp_i18n_namespaceObject.__)("Repeat Vertically","blockart"),value:"repeat-y"},{label:(0,external_wp_i18n_namespaceObject.__)("Repeat Horizontally","blockart"),value:"repeat-x"}]}),React.createElement(components_select,{label:(0,external_wp_i18n_namespaceObject.__)("Attachment","blockart"),value:_ref$value||"scroll",onChange:function(val){return setSetting("attachment",val)},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Scroll","blockart"),value:"scroll"},{label:(0,external_wp_i18n_namespaceObject.__)("Fixed","blockart"),value:"fixed"}]})))}function background_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function background_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?background_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):background_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function components_background(_ref){function setSetting(genre,val){genre=_defineProperty({},genre,val),onChange(background_objectSpread(background_objectSpread({},value),genre))}var type=(_ref$value=_ref.value).type,color=_ref$value.color,gradient=_ref$value.gradient,image=_ref$value.image,_ref$value=_ref$value.video,value=void 0===(_ref$value2=_ref.value)?{}:_ref$value2,_ref$value2=void 0===(_ref$value2=_ref.label)?"":_ref$value2,onChange=void 0===(_ref=_ref.onChange)?function(){}:_ref,_ref=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.background.type",["color","image"]);return React.createElement("div",{className:"blockart-control blockart-background"},React.createElement("div",{className:"blockart-control-head blockart-background-head"},React.createElement("label",{htmlFor:"blockart-background",className:"blockart-control-label"},_ref$value2||""),React.createElement("div",{className:"blockart-background-types"},_ref.map(function(bgType){return React.createElement("button",{key:bgType,className:classnames_default()("blockart-background-type",{"is-active":(type||"")===bgType}),onClick:function(){return setSetting("type",bgType)}},React.createElement(components_icon,{type:"controlIcon",name:bgType,size:22}))}))),React.createElement("div",{className:"blockart-control-body blockart-background-body"},"color"===(type||"color")&&React.createElement(components_color,{label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),onChange:function(val){return setSetting("color",val)},value:color||""}),"gradient"===(type||"color")&&React.createElement(components_gradient,{onChange:function(val){return setSetting("gradient",val)},value:gradient||{}}),"image"===(type||"color")&&React.createElement(background_image,{onChange:function(val){return setSetting("image",val)},value:image||{}}),"video"===(type||"color")&&React.createElement(background_video,{onChange:function(val){return setSetting("video",val)},value:_ref$value||{}})))}function icon_selector_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function icon_selector_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?icon_selector_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):icon_selector_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function icon_selector(_ref){var enable=(_ref$value=_ref.value).enable,icon=_ref$value.icon,value=_ref.value,_onChange=void 0===(_ref$value=_ref.onChange)?function(){}:_ref$value,_ref$value=_ref.label,_ref=void 0===(_ref=_ref.search)||_ref,searchTerm=(_useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(""),2))[0],setSearchTerm=_useState2[1],_useState2=(0,external_wp_element_namespaceObject.useMemo)(function(){return frontendIcons.map(function(key){return{id:key,title:key.replace(/-/g," ").replace(/ o/g,"").replace(/(^\w|\s\w)/g,function(t){return t.toUpperCase()})}}).filter(function(_ref2){return _ref2.title.toLowerCase().includes(searchTerm.toLowerCase())})},[searchTerm]);return React.createElement("div",{className:"blockart-control blockart-icon-selector"},React.createElement("div",{className:"blockart-control-head blockart-icon-selector-head"},_ref$value&&React.createElement("label",{htmlFor:"blockart-icon-selector",className:"blockart-control-label blockart-icon-selector-label"},_ref$value),React.createElement(toggle,{checked:enable||!1,onChange:function(){return _onChange(icon_selector_objectSpread(icon_selector_objectSpread({},value),{},{enable:!enable}))}})),enable&&React.createElement("div",{className:"blockart-control blockart-icon-selector-body"},_ref&&React.createElement("input",{type:"text",value:searchTerm,placeholder:(0,external_wp_i18n_namespaceObject.__)("Search…","blockart"),onChange:function(e){return setSearchTerm(e.target.value)},autoComplete:"off"}),React.createElement("div",{className:"blockart-icon-list-icons"},0<(null==_useState2?void 0:_useState2.length)?_useState2.map(function(_ref3){var id=_ref3.id,_ref3=_ref3.title;return React.createElement("span",{onKeyDown:function(){},key:id,className:classnames_default()("blockart-icon-btn",{"is-active":icon===id}),role:"button",tabIndex:0,onClick:function(){return _onChange(icon_selector_objectSpread(icon_selector_objectSpread({},value),{},{icon:id}))},title:_ref3},React.createElement(components_icon,{type:"frontendIcon",name:id}))}):React.createElement("p",{className:"blockart-icon-list-no-icons",style:{gridColumn:"1/-1",margin:0}},(0,external_wp_i18n_namespaceObject.__)("Icons not found!","blockart")))))}function single_item_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function single_item_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?single_item_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):single_item_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const single_item=(0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withDispatch)(function(dispatch){return{insertBlocks:dispatch("core/block-editor").insertBlocks}})])(function(props){var _useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)({isImporting:!1,isImported:!1,error:!1}),2),state=_useState2[0],setState=_useState2[1],insertBlocks=props.insertBlocks,_useState2=props.name,id=props.id,image=props.image,props=props.type;return React.createElement("div",{className:classnames_default()("blockart-template",{"is-importing":state.isImporting})},React.createElement("div",{className:"blockart-template-media loading"},React.createElement("img",{onLoad:function(e){return e.currentTarget.parentElement.classList.remove("loading")},width:"290",height:"sections"===props?"150":"350",src:image.toString(),alt:_useState2})),React.createElement("div",{className:"blockart-template-info"},React.createElement("h4",null,_useState2),React.createElement("button",{onClick:function(){setState(single_item_objectSpread(single_item_objectSpread({},state),{},{isImporting:!0}));var args=new FormData;args.append("action","blockart_import_content"),args.append("security",_BLOCKART_.nonce),args.append("id",id),external_wp_apiFetch_default()({url:_BLOCKART_.ajaxUrl,method:"POST",credentials:"same-origin",body:args}).then(function(res){res.success?(window._BLOCKART_.mediaItems=res.data.media_items,insertBlocks((0,external_wp_blocks_namespaceObject.parse)(res.data.content)),setState(single_item_objectSpread(single_item_objectSpread({},state),{},{isImporting:!1,isImported:!0}))):setState(single_item_objectSpread(single_item_objectSpread({},state),{},{isImporting:!1,error:!0}))}).catch(function(){setState(single_item_objectSpread(single_item_objectSpread({},state),{},{isImporting:!1,error:!0}))})},style:{opacity:state.isImporting?1:void 0}},state.isImporting?(0,external_wp_i18n_namespaceObject.__)("Importing","blockart"):state.isImported?(0,external_wp_i18n_namespaceObject.__)("Imported","blockart"):state.error?(0,external_wp_i18n_namespaceObject.__)("Failed","blockart"):(0,external_wp_i18n_namespaceObject.__)("Import","blockart"))),state.isImporting&&React.createElement("div",{className:"blockart-template-overlay"},React.createElement(external_wp_components_namespaceObject.Spinner,null)))}),layout=with_library_data(function(_ref){var block=_ref.block,libraryData=_ref.libraryData,initLibraryData=_ref.initLibraryData,_ref=(Array.isArray(block)||(block=[block]),null!=(_ref=libraryData.get("sections"))?_ref:[]),_libraryData$get2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(null!=(_libraryData$get2=libraryData.get("status"))?_libraryData$get2:""),2),status=_libraryData$get2[0],setStatus=_libraryData$get2[1];return(0,external_wp_element_namespaceObject.useEffect)(function(){function update(){var _libraryData$get3;setStatus(null!=(_libraryData$get3=libraryData.get("status"))?_libraryData$get3:"")}return window.addEventListener("_blockart_library_data",update),function(){window.removeEventListener("_blockart_library_data",update)}}),React.createElement("div",{className:"blockart-layout"},React.createElement(external_wp_components_namespaceObject.Tooltip,{text:(0,external_wp_i18n_namespaceObject.__)("Refresh","blockart")},React.createElement("button",{onClick:function(){setStatus("fetching"),initLibraryData(!0)},className:"blockart-refresh-btn"},React.createElement(components_icon,{type:"controlIcon",name:"reset"}))),"success"===status?(_ref||[]).filter(function(section){return((null==section?void 0:section.included_blocks)||[]).some(function(i){return block.includes(i.value)})}).map(function(_ref2,idx){var id=_ref2.ID,name=_ref2.post_title,_ref2=_ref2.post_thumbnail;return React.createElement(single_item,{key:idx,id:id,image:_ref2,name:name,type:"sections"})}):""===status||"fetching"===status?React.createElement(external_wp_components_namespaceObject.Spinner,null):React.createElement("p",{style:{gridColumn:"1/-1"}},(0,external_wp_i18n_namespaceObject.__)("There is connection issue with wpblockart.com. This connection is required for importing templates and sections. Please contact your hosting provider to whitelist our server address wpblockart.com.","blockart")))}),input=(0,external_wp_compose_namespaceObject.withInstanceId)(function(_ref){var _ref$labelPosition=_ref.labelPosition,label=_ref.label,_ref$onChange=_ref.onChange,_onChange=void 0===_ref$onChange?function(){}:_ref$onChange,_ref$onChange=_ref.instanceId,value=_ref.value,_ref=_ref.type,_ref=void 0===_ref?"text":_ref;return React.createElement("div",{className:"blockart-control blockart-input blockart-input-".concat(void 0===_ref$labelPosition?"top":_ref$labelPosition)},label&&React.createElement("div",{className:"blockart-control-head"},React.createElement("label",{htmlFor:"blockart-input-".concat(_ref$onChange)},label)),React.createElement("div",{className:"blockart-control-body"},React.createElement(external_wp_components_namespaceObject.TextControl,{id:"blockart-input-".concat(_ref$onChange),value:null!=value?value:"",onChange:function(val){return _onChange(val)},type:_ref})))});function library_modal_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function library_modal_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?library_modal_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):library_modal_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const library_modal=(0,external_wp_compose_namespaceObject.compose)([with_library_data,(0,external_wp_data_namespaceObject.withDispatch)(function(dispatch){return{removeBlock:dispatch("core/block-editor").removeBlock}})])(function(props){function onModalClose(){closeModal(),setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{isModalOpen:!1})),isModalOnly&&removeBlock(blockId)}var _props$modalOnly=props.modalOnly,modalOnly=void 0!==_props$modalOnly&&_props$modalOnly,_props$modalOnly=props.hasModal,isOpen=void 0!==_props$modalOnly&&_props$modalOnly,closeModal=props.closeModal,blockId=props.blockId,removeBlock=props.removeBlock,libraryData=props.libraryData,initLibraryData=props.initLibraryData,props=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)({type:"sections",search:"",category:"",starterPackId:"",isModalOpen:!1,isModalOnly:!1,status:null!=(_props$modalOnly=libraryData.get("status"))?_props$modalOnly:""}),2),state=props[0],setState=props[1],contentRef=(0,external_wp_element_namespaceObject.useRef)(),data={sections:libraryData.get("sections"),templates:libraryData.get("templates"),"starter-packs":libraryData.get("starter-packs")},type=state.type,search=state.search,category=state.category,starterPackId=state.starterPackId,_props$modalOnly=state.isModalOpen,isModalOnly=state.isModalOnly,props=state.status,titles=((0,external_wp_element_namespaceObject.useEffect)(function(){function update(){setState(function(prev){return library_modal_objectSpread(library_modal_objectSpread({},prev),{},{status:null!=(prev=libraryData.get("status"))?prev:""})})}return window.addEventListener("_blockart_library_data",update),function(){window.removeEventListener("_blockart_library_data",update)}},[]),{sections:(0,external_wp_i18n_namespaceObject.__)("Sections","blockart"),"starter-packs":(0,external_wp_i18n_namespaceObject.__)("Starter Packs","blockart"),templates:(0,external_wp_i18n_namespaceObject.__)("Templates","blockart")}),currentCategories=(0,external_wp_element_namespaceObject.useMemo)(function(){return""!==starterPackId&&"starter-packs"===type?[]:((null==data?void 0:data[type])||[]).reduce(function(acc,_ref){_ref=_ref.category;return acc=[].concat(_toConsumableArray(acc),_toConsumableArray(_ref)).filter(function(c,idx,arr){return idx===arr.findIndex(function(a){return a.slug===c.slug})})},[]).sort(function(a,b){return a.name.toUpperCase()<b.name.toUpperCase()?-1:a.name.toUpperCase()>b.name.toUpperCase()?1:0}).map(function(_,index,arr){var _filter;return library_modal_objectSpread(library_modal_objectSpread({},arr[index]),{},{count:(null==(_filter=((null==data?void 0:data[type])||[]).filter(function(t){return t.category.some(function(tc){return tc.slug===arr[index].slug})}))?void 0:_filter.length)||0})})},[type,starterPackId,props]),currentContent=(0,external_wp_element_namespaceObject.useMemo)(function(){return((null==data?void 0:data[type])||[]).filter(function(t){return""===category||t.category.some(function(tc){return tc.slug===category})}).filter(function(t){return""===search||t.post_title.toLowerCase().includes(search)})},[type,category,search,props]);return(0,external_wp_element_namespaceObject.useEffect)(function(){isOpen&&contentRef.current&&(contentRef.current.scrollTop=0)},[search,category,type,starterPackId]),(0,external_wp_element_namespaceObject.useEffect)(function(){setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{isModalOnly:modalOnly,isModalOpen:isOpen}))},[]),_props$modalOnly?React.createElement(external_wp_components_namespaceObject.Modal,{__experimentalHideHeader:!0,className:"blockart-library-modal",overlayClassName:"blockart-library-modal-overlay",title:(0,external_wp_i18n_namespaceObject.__)("Blockart Library","blockart"),onRequestClose:onModalClose},React.createElement("div",{className:"blockart-library-modal-head"},React.createElement("div",{className:"blockart-library-modal-logo"},React.createElement("h2",null,"BlockArt")),React.createElement("div",{className:"blockart-library-modal-actions"},React.createElement("button",{onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{type:"sections",search:"",category:""}))},className:classnames_default()({active:"sections"===type})},(0,external_wp_i18n_namespaceObject.__)("Sections","blockart")),React.createElement("button",{onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{type:"starter-packs",search:"",category:""}))},className:classnames_default()({active:"starter-packs"===type})},(0,external_wp_i18n_namespaceObject.__)("Starter Packs","blockart")),React.createElement("button",{onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{type:"templates",search:"",category:""}))},className:classnames_default()({active:"templates"===type})},(0,external_wp_i18n_namespaceObject.__)("Templates","blockart"))),React.createElement("div",{className:"blockart-library-modal-close"},React.createElement("button",{onClick:onModalClose},React.createElement(components_icon,{type:"frontendIcon",name:"close"})))),React.createElement("div",{className:"blockart-library-modal-body"},React.createElement("div",{className:"blockart-library-modal-sidebar"},React.createElement("div",{className:"blockart-library-modal-search"},React.createElement("input",{type:"text",defaultValue:search,placeholder:(0,external_wp_i18n_namespaceObject.__)("Search Block","blockart"),onChange:function(e){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{search:e.currentTarget.value}))}}),React.createElement(components_icon,{type:"frontendIcon",name:"search-o"})),React.createElement("h3",null,(0,external_wp_i18n_namespaceObject.__)("CATEGORIES","blockart")),React.createElement("ul",{className:"blockart-library-modal-category-filter"},React.createElement("li",null,React.createElement("button",{disabled:"fetching"===props,className:classnames_default()({"is-active":""===category}),onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{category:""}))}},React.createElement("span",{className:"title"},(0,external_wp_i18n_namespaceObject.__)("All ","blockart")+titles[type]),React.createElement("span",{className:"count"},"success"===props&&null!=(_props$modalOnly=null==data||null==(_props$modalOnly=data[type])?void 0:_props$modalOnly.length)?_props$modalOnly:0))),"success"===props&&(currentCategories||[]).map(function(_ref2,idx){var slug=_ref2.slug,name=_ref2.name,_ref2=_ref2.count;return React.createElement("li",{key:idx},React.createElement("button",{className:classnames_default()({"is-active":slug===category}),onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{category:slug}))}},React.createElement("span",{className:"title"},name),React.createElement("span",{className:"count"},_ref2)))}))),React.createElement("div",{ref:contentRef,className:"blockart-library-modal-content"},React.createElement("div",{className:"blockart-library-modal-content-area"},React.createElement("div",{className:"blockart-library-modal-sub-header"},React.createElement("h3",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},""!==starterPackId&&"starter-packs"===type?React.createElement("button",{className:"blockart-library-modal-back-button",onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{starterPackId:""}))}},React.createElement(components_icon,{type:"frontendIcon",name:"arrow-left"})," ",(0,external_wp_i18n_namespaceObject.__)("Return","blockart")):React.createElement("span",null,(0,external_wp_i18n_namespaceObject.__)("All ","blockart")+titles[type]),React.createElement("button",{disabled:"fetching"===props,onClick:function(){setState(function(prev){return library_modal_objectSpread(library_modal_objectSpread({},prev),{},{status:"fetching"})}),initLibraryData(!0)}},(0,external_wp_i18n_namespaceObject.__)("Refresh","blockart")))),React.createElement("div",{className:classnames_default()("blockart-templates",{"has-layer":"starter-packs"===type&&""===starterPackId})},"success"===props?React.createElement(React.Fragment,null,("sections"===type||"templates"===type)&&(currentContent||[]).map(function(_ref3){var id=_ref3.ID,name=_ref3.post_title,_ref3=_ref3.post_thumbnail;return React.createElement(single_item,{key:id,name:name,id:id,image:_ref3,type:type})}),"starter-packs"===type&&(""!==starterPackId?(null!=(_props$modalOnly=data.templates)?_props$modalOnly:[]).filter(function(t){return parseInt(t.post_parent)===parseInt(starterPackId)}).filter(function(t){return""===search||t.post_title.toLowerCase().includes(search)}).map(function(_ref4){var id=_ref4.ID,name=_ref4.post_title,_ref4=_ref4.post_thumbnail;return React.createElement(single_item,{key:id,name:name,id:id,image:_ref4,type:"templates"})}):(currentContent||[]).map(function(_ref5){var id=_ref5.ID,name=_ref5.post_title,_ref5=_ref5.post_thumbnail;return React.createElement("div",{key:id,tabIndex:"0",onKeyDown:function(e){return"Enter"===e.key&&setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{starterPackId:id}))},role:"button",onClick:function(){return setState(library_modal_objectSpread(library_modal_objectSpread({},state),{},{starterPackId:id}))},className:"blockart-template"},React.createElement("div",{className:"blockart-template-media loading"},React.createElement("img",{width:"290",height:"350",src:_ref5,alt:name,className:"loading",onLoad:function(e){return e.currentTarget.parentElement.classList.remove("loading")}})),React.createElement("div",{className:"blockart-template-info"},React.createElement("h4",null,name)))})),0===(null==currentContent?void 0:currentContent.length)&&React.createElement("p",null,"No results")):"fetching"===props||""===props?React.createElement(external_wp_components_namespaceObject.Spinner,null):React.createElement("p",{style:{gridColumn:"1/-1"}},(0,external_wp_i18n_namespaceObject.__)("There is connection issue with wpblockart.com. This connection is required for importing templates and sections. Please contact your hosting provider to whitelist our server address wpblockart.com.","blockart"))))))):null}),tooltip=function(props){var _useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)(!1),2),open=_useState2[0],setOpen=_useState2[1],ref=(0,external_wp_element_namespaceObject.useRef)(),_useState2=props.children,_props$position=props.position,_props$position=void 0===_props$position?"bottom":_props$position,props=props.content;return(0,external_wp_element_namespaceObject.useEffect)(function(){var el=ref.current;if(el)return null!=el&&el.addEventListener("mouseenter",function(){return setOpen(!0)}),null!=el&&el.addEventListener("mouseleave",function(){return setOpen(!1)}),function(){null!=el&&el.removeEventListener("mouseenter",function(){return setOpen(!0)}),null!=el&&el.removeEventListener("mouseleave",function(){return setOpen(!1)})}},[]),props&&(0,external_wp_element_namespaceObject.isValidElement)(_useState2)?React.createElement("div",{style:{display:"inline-block"},ref:ref},_useState2,open&&React.createElement(external_wp_components_namespaceObject.Popover,{focusOnMount:!1,className:"blockart-tooltip components-tooltip",position:_props$position,onClose:function(){return setOpen(!1)},onFocusOutside:function(){return setOpen(!1)}},React.createElement("div",{className:"blockart-tooltip-content"},props))):_useState2};function toolbar_dropdown_control_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function toolbar_dropdown_control_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?toolbar_dropdown_control_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):toolbar_dropdown_control_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function toolbar_dropdown_control(_ref){var _ref$isCollapsed=void 0===(_ref$isCollapsed=_ref.isCollapsed)||_ref$isCollapsed,onChange=_ref.onChange,value=_ref.value,popoverProps=_ref.popoverProps,isToolbar=_ref.isToolbar,_ref$options=void 0===(_ref$options=_ref.options)?[]:_ref$options,_ref=_ref.label,_options$find=value?null==(_options$find=_ref$options.find(function(option){return option.value===value}))?void 0:_options$find.icon:null!=(_options$find=null==_ref$options||null==(_options$find=_ref$options[0])?void 0:_options$find.icon)?_options$find:null,UIComponent=isToolbar?external_wp_components_namespaceObject.ToolbarGroup:external_wp_components_namespaceObject.ToolbarDropdownMenu,isToolbar=isToolbar?{isCollapsed:_ref$isCollapsed}:{};return React.createElement(UIComponent,_extends({icon:_options$find,popoverProps:popoverProps,label:null!=_ref?_ref:void 0,controls:_ref$options.map(function(option){return toolbar_dropdown_control_objectSpread(toolbar_dropdown_control_objectSpread({},option),{},{isActive:option.value===value,onClick:function(){var next;next=option.value,onChange(next===value?void 0:next)}})})},isToolbar))}function BlockAdvanceSettings(_ref){var blockMargin=_ref.blockMargin,blockPadding=_ref.blockPadding,blockZIndex=_ref.blockZIndex,cssID=_ref.cssID,setAttributes=_ref.setAttributes;return React.createElement(React.Fragment,null,React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart"),initialOpen:!0},React.createElement(dimensions,{value:blockMargin||{},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Block Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:function(val){return setAttributes({blockMargin:val})},type:"margin"}),React.createElement(dimensions,{value:blockPadding||{},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Block Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:function(val){return setAttributes({blockPadding:val})}}),React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Z-Index","blockart"),value:blockZIndex||0,min:0,max:1e4,step:1,onChange:function(val){return setAttributes({blockZIndex:val})}}),React.createElement(input,{onChange:function(val){return setAttributes({cssID:val})},labelPosition:"side",label:(0,external_wp_i18n_namespaceObject.__)("CSS ID","blockart"),value:cssID||""})))}function BlockResponsiveSettings(_ref2){var hideOnDesktop=_ref2.hideOnDesktop,hideOnTablet=_ref2.hideOnTablet,hideOnMobile=_ref2.hideOnMobile,setAttributes=_ref2.setAttributes,_ref2$hasColReverse=void 0!==(_ref2$hasColReverse=_ref2.hasColReverse)&&_ref2$hasColReverse,colReverseOnTablet=_ref2.colReverseOnTablet,colReverseOnMobile=_ref2.colReverseOnMobile;return React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Responsive","blockart")},_ref2$hasColReverse&&React.createElement(React.Fragment,null,React.createElement("label",{className:"blockart-control-label",htmlFor:"blockart-column-reverse"},(0,external_wp_i18n_namespaceObject.__)("Column Reverse","blockart")),React.createElement(toggle,{checked:colReverseOnTablet||!1,onChange:function(){return setAttributes({colReverseOnTablet:!colReverseOnTablet})},label:(0,external_wp_i18n_namespaceObject.__)("Tablet","blockart")}),React.createElement(toggle,{checked:colReverseOnMobile||!1,onChange:function(){return setAttributes({colReverseOnMobile:!colReverseOnMobile})},label:(0,external_wp_i18n_namespaceObject.__)("Mobile","blockart")})),React.createElement("label",{className:"blockart-control-label",htmlFor:"blockart-responsive"},(0,external_wp_i18n_namespaceObject.__)("Responsive","blockart")),React.createElement(toggle,{checked:hideOnDesktop||!1,onChange:function(){return setAttributes({hideOnDesktop:!hideOnDesktop})},label:(0,external_wp_i18n_namespaceObject.__)("Hide on Desktop","blockart")}),React.createElement(toggle,{checked:hideOnTablet||!1,onChange:function(){return setAttributes({hideOnTablet:!hideOnTablet})},label:(0,external_wp_i18n_namespaceObject.__)("Hide on Tablet","blockart")}),React.createElement(toggle,{checked:hideOnMobile||!1,onChange:function(){return setAttributes({hideOnMobile:!hideOnMobile})},label:(0,external_wp_i18n_namespaceObject.__)("Hide on Mobile","blockart")}))}function BlockCSSSettings(_ref3){var className=_ref3.className,setAttributes=_ref3.setAttributes,_ref3$hasBlockCSS=void 0!==(_ref3$hasBlockCSS=_ref3.hasBlockCSS)&&_ref3$hasBlockCSS,_ref3=_ref3.blockCSS;return React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("CSS","blockart")},_ref3$hasBlockCSS&&React.createElement(input,{value:_ref3||"",label:(0,external_wp_i18n_namespaceObject.__)("Custom CSS","blockart"),onChange:function(val){return setAttributes({blockCSS:val})},labelPosition:"top"}),React.createElement(input,{value:className||"",label:(0,external_wp_i18n_namespaceObject.__)("Additional CSS Class(es)","blockart"),onChange:function(val){return setAttributes({className:val})},labelPosition:"top"}),React.createElement("p",null,(0,external_wp_i18n_namespaceObject.__)("Separate multiple classes with spaces.","blockart")))}node_namespaceObject={blockMargin:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:"{{WRAPPER}} { margin: {{VALUE}}; }"}]},blockPadding:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:"{{WRAPPER}} { padding: {{VALUE}}; }"}]},blockZIndex:{type:"number",style:[{selector:"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},cssID:{type:"string"},animation:{type:"string"},interaction:{type:"object"},position:{type:"object"},hideOnDesktop:{type:"boolean",style:[{selector:"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},hideOnTablet:{type:"boolean",style:[{selector:"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},hideOnMobile:{type:"boolean",style:[{selector:"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},colReverseOnTablet:{type:"boolean",style:[{selector:"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},colReverseOnMobile:{type:"boolean",style:[{selector:"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},blockCSS:{type:"string"},className:{type:"string"}},external_wp_apiFetch_namespaceObject=window.wp.primitives;const arrow_right=(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.Path,{d:"M14.3 6.7l-1.1 1.1 4 4H4v1.5h13.3l-4.1 4.4 1.1 1.1 5.8-6.3z"})),arrow_down=(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.Path,{d:"M16.2 13.2l-4 4V4h-1.5v13.3l-4.5-4.1-1 1.1 6.2 5.8 5.8-5.8-1-1.1z"})),justify_left=(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})),justify_center=(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"})),justify_right=(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})),justify_space_between=(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,external_wp_element_namespaceObject.createElement)(external_wp_apiFetch_namespaceObject.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"}));var edit_alignBottom=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),edit_alignCenter=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),edit_alignTop=React.createElement(external_wp_components_namespaceObject.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(external_wp_components_namespaceObject.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"}));function save(_ref){var clientId=(_ref=_ref.attributes).clientId,text=_ref.text,className=_ref.className,cssID=_ref.cssID,link=_ref.link,size=_ref.size,style=_ref.style,icon=_ref.icon,_ref=_ref.iconPosition,size=classnames_default()("blockart-button-link",size&&"is-".concat(size),style&&"is-style-".concat(style));return React.createElement("div",{id:null!=cssID?cssID:void 0,className:(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.button.classnames",classnames_default()("blockart-button blockart-button-".concat(clientId," "),className))},React.createElement(components_element,{tagName:"a",htmlAttrs:{className:size,href:link&&link.url?link.url:null,target:link&&link.newTab?"_blank":null,rel:link&&link.newTab?"noopener":null}},icon&&""!==icon.icon&&icon.enable&&"left"===_ref&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon})),React.createElement(external_wp_blockEditor_namespaceObject.RichText.Content,{value:text}),icon&&""!==icon.icon&&icon.enable&&"right"===_ref&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon}))))}const edit=(0,external_wp_compose_namespaceObject.compose)([classnames,nth])(function(props){var _props$attributes=props.attributes,clientId=_props$attributes.clientId,justification=_props$attributes.justification,verticalAlignment=_props$attributes.verticalAlignment,_props$attributes$ori=_props$attributes.orientation,_props$attributes$ori=void 0===_props$attributes$ori?"horizontal":_props$attributes$ori,flexGap=_props$attributes.flexGap,flexWrap=_props$attributes.flexWrap,blockMargin=_props$attributes.blockMargin,blockPadding=_props$attributes.blockPadding,blockZIndex=_props$attributes.blockZIndex,cssID=_props$attributes.cssID,hideOnDesktop=_props$attributes.hideOnDesktop,hideOnTablet=_props$attributes.hideOnTablet,hideOnMobile=_props$attributes.hideOnMobile,_props$attributes=_props$attributes.className,attributes=props.attributes,setAttributes=props.setAttributes,props=props.copyPasteStylesBlockControl,attributes=use_block_style({blockName:"buttons",clientId:clientId,attributes:attributes}),_classnames=classnames_default()("blockart-buttons blockart-buttons-".concat(clientId),(_defineProperty(_classnames={},"is-justification-".concat(justification),!!justification),_defineProperty(_classnames,"is-vertical-alignment-".concat(verticalAlignment),!!verticalAlignment&&"horizontal"===_props$attributes$ori),_defineProperty(_classnames,"is-".concat(_props$attributes$ori),!!_props$attributes$ori),_defineProperty(_classnames,"is-wrap",flexWrap),_classnames),_props$attributes),clientId=".blockart-buttons-".concat(clientId," .block-editor-block-list__layout{ gap: ").concat(null!=(clientId=null==flexGap?void 0:flexGap.value)?clientId:0).concat(null!=(clientId=null==flexGap?void 0:flexGap.unit)?clientId:"px","; }");return React.createElement(React.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},React.createElement(layout,{block:["button","buttons"]})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(advance_select,{label:(0,external_wp_i18n_namespaceObject.__)("Orientation","blockart"),value:_props$attributes$ori,onChange:function(value){return setAttributes({orientation:value})},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Horizontal","blockart"),value:"horizontal",icon:"arrow-right"},{label:(0,external_wp_i18n_namespaceObject.__)("Vertical","blockart"),value:"vertical",icon:"arrow-down"}]}),React.createElement(toggle,{checked:null!=flexWrap&&flexWrap,label:(0,external_wp_i18n_namespaceObject.__)("Wrap to multiple lines","blockart"),onChange:function(){return setAttributes({flexWrap:!flexWrap})}}),React.createElement(advance_select,{label:(0,external_wp_i18n_namespaceObject.__)("Justification","blockart"),value:justification,onChange:function(value){return setAttributes({justification:value})},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Justify items left","blockart"),value:"left",icon:"align-left"},{label:(0,external_wp_i18n_namespaceObject.__)("Justify items center","blockart"),value:"center",icon:"align-center"},{label:(0,external_wp_i18n_namespaceObject.__)("Justify items right","blockart"),value:"right",icon:"align-right"}].concat("horizontal"===_props$attributes$ori?[{label:(0,external_wp_i18n_namespaceObject.__)("Space between items","blockart"),value:"space-between",icon:"align-space-between"}]:[])}),"horizontal"===_props$attributes$ori&&React.createElement(advance_select,{label:(0,external_wp_i18n_namespaceObject.__)("Vertical Alignment","blockart"),value:verticalAlignment,onChange:function(value){return setAttributes({verticalAlignment:value})},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Align top","blockart"),value:"top",icon:"align-top"},{label:(0,external_wp_i18n_namespaceObject.__)("Align middle","blockart"),value:"center",icon:"align-middle"},{label:(0,external_wp_i18n_namespaceObject.__)("Align bottom","blockart"),value:"bottom",icon:"align-bottom"}]}),React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Gap","blockart"),value:flexGap,onChange:function(value){return setAttributes({flexGap:value})},min:0,max:100,step:1,units:["px","em","rem","%"]}))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(BlockAdvanceSettings,{blockMargin:blockMargin,blockPadding:blockPadding,blockZIndex:blockZIndex,cssID:cssID,setAttributes:setAttributes}),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_props$attributes,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,{group:"block"},React.createElement(toolbar_dropdown_control,{label:(0,external_wp_i18n_namespaceObject.__)("Change items orientation","blockart"),value:_props$attributes$ori,onChange:function(val){return setAttributes({orientation:val})},options:[{icon:arrow_right,title:(0,external_wp_i18n_namespaceObject.__)("Horizontal","blockart"),value:"horizontal"},{icon:arrow_down,title:(0,external_wp_i18n_namespaceObject.__)("Vertical","blockart"),value:"vertical"}]}),React.createElement(toolbar_dropdown_control,{label:(0,external_wp_i18n_namespaceObject.__)("Change items justification","blockart"),value:justification,onChange:function(val){return setAttributes({justification:val})},options:[{icon:justify_left,title:(0,external_wp_i18n_namespaceObject.__)("Justify items left","blockart"),value:"left"},{icon:justify_center,title:(0,external_wp_i18n_namespaceObject.__)("Justify items center","blockart"),value:"center"},{icon:justify_right,title:(0,external_wp_i18n_namespaceObject.__)("Justify items right","blockart"),value:"right"}].concat("horizontal"===_props$attributes$ori?[{icon:justify_space_between,title:(0,external_wp_i18n_namespaceObject.__)("Space between items","blockart"),value:"space-between"}]:[])}),"horizontal"===_props$attributes$ori&&React.createElement(toolbar_dropdown_control,{label:(0,external_wp_i18n_namespaceObject.__)("Change items alignment","blockart"),value:verticalAlignment,onChange:function(val){return setAttributes({verticalAlignment:val})},options:[{icon:edit_alignTop,title:(0,external_wp_i18n_namespaceObject._x)("Align top","Block vertical alignment setting","blockart"),value:"top"},{icon:edit_alignCenter,title:(0,external_wp_i18n_namespaceObject._x)("Align middle","Block vertical alignment setting","blockart"),value:"center"},{icon:edit_alignBottom,title:(0,external_wp_i18n_namespaceObject._x)("Align bottom","Block vertical alignment setting","blockart"),value:"bottom"}]})),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(props,null)),React.createElement(attributes,null),React.createElement("style",null,clientId),React.createElement("div",{className:_classnames},React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks,{allowedBlocks:["blockart/button-inner"],template:[["blockart/button-inner"]],templateLock:!1,templateInsertUpdatesSelection:!0})))}),button_edit=(0,external_wp_compose_namespaceObject.compose)([classnames,with_device_type,nth,(0,external_wp_data_namespaceObject.withSelect)(function(select,ownProps){var select=select("core/block-editor"),getBlockRootClientId=select.getBlockRootClientId,select=select.getBlockAttributes,getBlockRootClientId=getBlockRootClientId(ownProps.clientId);return{rootClientId:getBlockRootClientId,rootBlockAttributes:select(getBlockRootClientId)}}),(0,external_wp_data_namespaceObject.withDispatch)(function(dispatch){return{updateBlockAttributes:dispatch("core/block-editor").updateBlockAttributes}})])(function(props){var _props$attributes=props.attributes,clientId=_props$attributes.clientId,link=_props$attributes.link,text=_props$attributes.text,style=_props$attributes.style,size=_props$attributes.size,padding=_props$attributes.padding,typography=_props$attributes.typography,icon=_props$attributes.icon,iconPosition=_props$attributes.iconPosition,iconGap=_props$attributes.iconGap,iconSize=_props$attributes.iconSize,color1=_props$attributes.color1,color2=_props$attributes.color2,hoverColor1=_props$attributes.hoverColor1,hoverColor2=_props$attributes.hoverColor2,background1=_props$attributes.background1,background2=_props$attributes.background2,hoverBackground1=_props$attributes.hoverBackground1,hoverBackground2=_props$attributes.hoverBackground2,border1=_props$attributes.border1,hoverBorder1=_props$attributes.hoverBorder1,border2=_props$attributes.border2,hoverBorder2=_props$attributes.hoverBorder2,boxShadow=_props$attributes.boxShadow,boxShadowHover=_props$attributes.boxShadowHover,blockMargin=_props$attributes.blockMargin,blockPadding=_props$attributes.blockPadding,blockZIndex=_props$attributes.blockZIndex,cssID=_props$attributes.cssID,hideOnDesktop=_props$attributes.hideOnDesktop,hideOnTablet=_props$attributes.hideOnTablet,hideOnMobile=_props$attributes.hideOnMobile,_props$attributes=_props$attributes.className,setAttributes=props.setAttributes,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,deviceType=props.deviceType,updateBlockAttributes=props.updateBlockAttributes,_props$rootBlockAttri=props.rootBlockAttributes,_props$rootBlockAttri2=_props$rootBlockAttri.justification,_props$rootBlockAttri2=void 0===_props$rootBlockAttri2?void 0:_props$rootBlockAttri2,_props$rootBlockAttri3=_props$rootBlockAttri.verticalAlignment,_props$rootBlockAttri3=void 0===_props$rootBlockAttri3?void 0:_props$rootBlockAttri3,_props$rootBlockAttri=_props$rootBlockAttri.orientation,_props$rootBlockAttri=void 0===_props$rootBlockAttri?"horizontal":_props$rootBlockAttri,rootClientId=props.rootClientId,props=use_block_style({blockName:"button",clientId:clientId,attributes:props.attributes,deviceType:deviceType}),deviceType=classnames_default()("blockart-button-link",size&&("filled"===style||"outline"===style)&&"is-".concat(size),style&&"is-style-".concat(style));return React.createElement(React.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(url_input,{label:(0,external_wp_i18n_namespaceObject.__)("URL","blockart"),onChange:function(val){return setAttributes({link:val})},value:link,placeholder:"https://",newTab:!0})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},("filled"===style||"outline"===style)&&React.createElement(components_size,{label:(0,external_wp_i18n_namespaceObject.__)("Size","blockart"),onChange:function(key,val){return setAttributes(_defineProperty({},key,val))},value:size,defaultKey:"size",custom:!0,customKey:"padding",customValue:padding,customLabel:(0,external_wp_i18n_namespaceObject.__)("Padding","blockart"),customMin:0,customMax:100,customUnits:["px","rem","em","%"],customDefaultUnit:"px"}),React.createElement(advance_select,{value:style,onChange:function(val){return setAttributes({style:val})},label:(0,external_wp_i18n_namespaceObject.__)("Type","blockart"),hasLabel:!0,options:[{label:(0,external_wp_i18n_namespaceObject.__)("Fill","blockart"),value:"filled",icon:"filled"},{label:(0,external_wp_i18n_namespaceObject.__)("Outline","blockart"),value:"outline",icon:"outline"},{label:(0,external_wp_i18n_namespaceObject.__)("Plain","blockart"),value:"plain",icon:"plain"},{label:(0,external_wp_i18n_namespaceObject.__)("Link","blockart"),value:"link",icon:"link-o"}],cols:4})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Icons","blockart")},React.createElement(icon_selector,{label:(0,external_wp_i18n_namespaceObject.__)("Enable","blockart"),value:icon||{},onChange:function(val){return setAttributes({icon:val})}}),icon.enable&&React.createElement(React.Fragment,null,React.createElement(advance_select,{label:(0,external_wp_i18n_namespaceObject.__)("Position","blockart"),value:iconPosition,inline:!0,onChange:function(val){return setAttributes({iconPosition:val})},options:[{label:(0,external_wp_i18n_namespaceObject.__)("Left","blockart"),value:"left",icon:"align-left"},{label:(0,external_wp_i18n_namespaceObject.__)("Right","blockart"),value:"right",icon:"align-right"}]}),React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Size","blockart"),min:0,max:50,value:iconSize,onChange:function(val){return setAttributes({iconSize:val})},responsive:!0,units:["px","em","%"]}),React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Gap","blockart"),min:0,max:60,value:iconGap,onChange:function(val){return setAttributes({iconGap:val})},responsive:!0,units:["px","em","%"]}))),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Text","blockart")},React.createElement(components_typography,{value:typography,onChange:function(val){return setAttributes({typography:val})}})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Color","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_color,{onChange:function(val){return setAttributes("filled"===style?{color1:val}:{color2:val})},label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),value:"filled"===style?color1:color2}),style&&("outline"===style||"filled"===style)&&React.createElement(components_background,{value:"filled"===style?background1:background2,onChange:function(val){return setAttributes("filled"===style?{background1:val}:{background2:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_color,{onChange:function(val){return setAttributes("filled"===style?{hoverColor1:val}:{hoverColor2:val})},label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),value:"filled"===style?hoverColor1:hoverColor2}),style&&("outline"===style||"filled"===style)&&React.createElement(components_background,{value:"filled"===style?hoverBackground1:hoverBackground2,onChange:function(val){return setAttributes("filled"===style?{hoverBackground1:val}:{hoverBackground2:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})))),style&&("outline"===style||"filled"===style)&&React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Border","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_border,{value:"filled"===style?border1:border2,onChange:function(val){return setAttributes("filled"===style?{border1:val}:{border2:val})}}),React.createElement(box_shadow,{value:boxShadow,onChange:function(val){return setAttributes({boxShadow:val})}})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_border,{value:"filled"===style?hoverBorder1:hoverBorder2,onChange:function(val){return setAttributes("filled"===style?{hoverBorder1:val}:{hoverBorder2:val})}}),React.createElement(box_shadow,{value:boxShadowHover,onChange:function(val){return setAttributes({boxShadowHover:val})}}))))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(BlockAdvanceSettings,{blockMargin:blockMargin,blockPadding:blockPadding,blockZIndex:blockZIndex,cssID:cssID,setAttributes:setAttributes}),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_props$attributes,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,{group:"block"},React.createElement(toolbar_dropdown_control,{label:(0,external_wp_i18n_namespaceObject.__)("Change items orientation","blockart"),value:_props$rootBlockAttri,onChange:function(val){return updateBlockAttributes(rootClientId,{orientation:val})},options:[{icon:arrow_right,title:(0,external_wp_i18n_namespaceObject.__)("Horizontal","blockart"),value:"horizontal"},{icon:arrow_down,title:(0,external_wp_i18n_namespaceObject.__)("Vertical","blockart"),value:"vertical"}]}),React.createElement(toolbar_dropdown_control,{label:(0,external_wp_i18n_namespaceObject.__)("Change items justification","blockart"),value:_props$rootBlockAttri2,onChange:function(val){return updateBlockAttributes(rootClientId,{justification:val})},options:[{icon:justify_left,title:(0,external_wp_i18n_namespaceObject.__)("Justify items left","blockart"),value:"left"},{icon:justify_center,title:(0,external_wp_i18n_namespaceObject.__)("Justify items center","blockart"),value:"center"},{icon:justify_right,title:(0,external_wp_i18n_namespaceObject.__)("Justify items right","blockart"),value:"right"}].concat("vertical"!==_props$rootBlockAttri2?[{icon:justify_space_between,title:(0,external_wp_i18n_namespaceObject.__)("Space between items","blockart"),value:"space-between"}]:[])}),"vertical"!==_props$rootBlockAttri2&&React.createElement(toolbar_dropdown_control,{label:(0,external_wp_i18n_namespaceObject.__)("Change items alignment","blockart"),value:_props$rootBlockAttri3,onChange:function(val){return updateBlockAttributes(rootClientId,{verticalAlignment:val})},options:[{icon:edit_alignTop,title:(0,external_wp_i18n_namespaceObject._x)("Align top","Block vertical alignment setting","blockart"),value:"top"},{icon:edit_alignCenter,title:(0,external_wp_i18n_namespaceObject._x)("Align middle","Block vertical alignment setting","blockart"),value:"center"},{icon:edit_alignBottom,title:(0,external_wp_i18n_namespaceObject._x)("Align bottom","Block vertical alignment setting","blockart"),value:"bottom"}]})),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(React.Fragment,null,React.createElement(props,null),React.createElement("div",{id:cssID||null,className:(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.button.classnames",classnames_default()("blockart-button blockart-button-".concat(clientId),_props$attributes))},React.createElement("div",{className:deviceType},icon&&""!==icon.icon&&icon.enable&&"left"===iconPosition&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon})),React.createElement(external_wp_blockEditor_namespaceObject.RichText,{value:text,placeholder:(0,external_wp_i18n_namespaceObject.__)("Text Here…","blockart"),onChange:function(val){setAttributes({text:val})},allowedFormats:["core/bold","core/italic"]}),icon&&""!==icon.icon&&icon.enable&&"right"===iconPosition&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon}))))))});function attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}const button_attributes=function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({clientId:{type:"string"},link:{type:"object"},text:{type:"string"},style:{type:"string",default:"filled"},size:{type:"string",default:"large"},padding:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{condition:[{key:"size",relation:"==",value:"custom"},{key:"style",relation:"!=",value:"plain"},{key:"style",relation:"!=",value:"link"}],selector:"{{WRAPPER}} .blockart-button-link.is-custom { padding: {{VALUE}}; }"}]},typography:{type:"object",default:{typography:1},style:[{selector:"{{WRAPPER}} .blockart-button-link"}]},icon:{type:"object",default:{enable:!1,icon:""}},iconPosition:{type:"string",default:"right"},iconSize:{type:"object",style:[{condition:[{key:"icon",relation:"!=",value:""}],selector:"{{WRAPPER}} .blockart-button-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},iconGap:{type:"object",style:[{condition:[{key:"icon",relation:"!=",value:""},{key:"iconPosition",relation:"==",value:"left"}],selector:"{{WRAPPER}} .blockart-button-icon { margin-right: {{VALUE}}; }"},{condition:[{key:"icon",relation:"!=",value:""},{key:"iconPosition",relation:"==",value:"right"}],selector:"{{WRAPPER}} .blockart-button-icon { margin-left: {{VALUE}}; }"}]},color1:{type:"string",default:"#fff",style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link { color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},color2:{type:"string",default:"#2563EB",style:[{condition:[{key:"style",relation:"!=",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link{ color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},hoverColor1:{type:"string",default:"",style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},hoverColor2:{type:"string",default:"",style:[{condition:[{key:"style",relation:"!=",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},background1:{type:"object",default:{background:1,type:"color",color:"#2563eb"},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link"}]},background2:{type:"object",default:{background:1},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link.is-style-outline"}]},hoverBackground1:{type:"object",default:{background:1},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover"}]},hoverBackground2:{type:"object",default:{background:1},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link.is-style-outline:hover"}]},border1:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link"}]},hoverBorder1:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover"}]},border2:{type:"object",default:{border:1,color:"#2563EB",type:"solid",radius:{desktop:{top:2,right:2,bottom:2,left:2,unit:"px",lock:!0}},size:{desktop:{top:1,right:1,bottom:1,left:1,unit:"px",lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link"}]},hoverBorder2:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link:hover"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} .blockart-button-link"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} .blockart-button-link:hover"}]}},node_namespaceObject),block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/button-inner","title":"Button","description":"Redirect users to your important pages or websites by clicking button.","keywords":["button","icon"],"category":"blockart","textdomain":"blockart","parent":["blockart/button"],"supports":{"className":false,"customClassName":false,"reusable":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function button_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function button_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?button_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):button_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function buttons_save(_ref){var clientId=(_ref=_ref.attributes).clientId,className=_ref.className,justification=_ref.justification,verticalAlignment=_ref.verticalAlignment,orientation=_ref.orientation,_ref=_ref.flexWrap,justification=classnames_default()("blockart-buttons blockart-buttons-".concat(clientId),(_defineProperty(clientId={},"is-justification-".concat(justification),!!justification),_defineProperty(clientId,"is-vertical-alignment-".concat(verticalAlignment),!!verticalAlignment&&"horizontal"===orientation),_defineProperty(clientId,"is-".concat(orientation),!!orientation),_defineProperty(clientId,"is-wrap",_ref),clientId),className);return React.createElement("div",{className:justification},React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks.Content,null))}const buttons_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/button","title":"Buttons","description":"Redirect users to your important pages or websites by clicking button.","keywords":["button","icon"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"html":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function buttons_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}const buttons_attributes=function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?buttons_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):buttons_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({clientId:{type:"string"},justification:{type:"string"},verticalAlignment:{type:"string"},orientation:{type:"string",default:"horizontal"},flexWrap:{type:"boolean",default:!0},flexGap:{type:"object",default:{value:8,unit:"px"},style:[{selector:"{{WRAPPER}} { gap: {{VALUE}}; }"}]}},node_namespaceObject);function v1_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function v1_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v1_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):v1_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const v1={attributes:v1_objectSpread(v1_objectSpread({},button_attributes),{},{alignment:{type:"object"}}),supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:function(props){var props=props.attributes,clientId=props.clientId,text=props.text,className=props.className,cssID=props.cssID,link=props.link,size=props.size,style=props.style,icon=props.icon,props=props.iconPosition,size=classnames_default()("blockart-button-link",size&&"is-".concat(size),style&&"is-style-".concat(style));return React.createElement("div",{id:cssID||null,className:(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.button.classnames",classnames_default()("blockart-button blockart-button-".concat(clientId," "),className))},React.createElement(components_element,{tagName:"a",htmlAttrs:{className:size,href:link&&link.url?link.url:null,target:link&&link.newTab?"_blank":null,rel:link&&link.newTab?"noopener":null}},icon&&""!==icon.icon&&icon.enable&&"left"===props&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon,role:"img"})),React.createElement(external_wp_blockEditor_namespaceObject.RichText.Content,{value:text}),icon&&""!==icon.icon&&icon.enable&&"right"===props&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon,role:"img"}))))},migrate:function(attrs){var newInnerBlocks=[(0,external_wp_blocks_namespaceObject.createBlock)("blockart/button-inner",v1_objectSpread({},attrs))];return[{justification:null==attrs||null==(attrs=attrs.alignment)?void 0:attrs.desktop},newInnerBlocks]}};function v2_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function v2_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v2_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):v2_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const v2={attributes:v2_objectSpread(v2_objectSpread({},button_attributes),{},{alignment:{type:"object"}}),supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:function(props){var props=props.attributes,clientId=props.clientId,text=props.text,className=props.className,cssID=props.cssID,link=props.link,size=props.size,style=props.style,icon=props.icon,props=props.iconPosition,size=classnames_default()("blockart-button-link",size&&"is-".concat(size),style&&"is-style-".concat(style));return React.createElement("div",{id:cssID||null,className:(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.button.classnames",classnames_default()("blockart-button blockart-button-".concat(clientId," "),className))},React.createElement(components_element,{tagName:"a",htmlAttrs:{className:size,href:link&&link.url?link.url:null,target:link&&link.newTab?"_blank":null,rel:link&&link.newTab?"noopener":null}},icon&&""!==icon.icon&&icon.enable&&"left"===props&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon})),React.createElement(external_wp_blockEditor_namespaceObject.RichText.Content,{value:text}),icon&&""!==icon.icon&&icon.enable&&"right"===props&&React.createElement("span",{className:"blockart-button-icon"},React.createElement(components_icon,{type:"frontendIcon",name:icon.icon}))))},migrate:function(attrs){var newInnerBlocks=[(0,external_wp_blocks_namespaceObject.createBlock)("blockart/button-inner",v2_objectSpread({},attrs))];return[{justification:null==attrs||null==(attrs=attrs.alignment)?void 0:attrs.desktop},newInnerBlocks]}};function buttons_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function buttons_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?buttons_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):buttons_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function edit_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function edit_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?edit_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):edit_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function column_save(_ref){var clientId=(_ref=_ref.attributes).clientId,className=_ref.className,_ref=_ref.cssID,clientId=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.column.classnames",classnames_default()("blockart-column blockart-column-".concat(clientId),className));return React.createElement("div",{id:null!=_ref?_ref:void 0,className:clientId},React.createElement("div",{className:"blockart-column-inner"},React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks.Content,null)))}const column_edit=(0,external_wp_compose_namespaceObject.compose)([with_device_type,nth])(function(props){function addRemoveBlock(type){var getBlockIndex=(_select5=(0,external_wp_data_namespaceObject.select)("core/block-editor")).getBlockIndex,_select5=_select5.getBlocks,replaceInnerBlocks=(0,external_wp_data_namespaceObject.dispatch)("core/block-editor").replaceInnerBlocks,getBlockIndex=getBlockIndex(props.clientId,rootClientId),_select5=_toConsumableArray(_select5(rootClientId));"delete"===type?_select5.splice(getBlockIndex,1):_select5.splice(getBlockIndex+1,0,(0,external_wp_blocks_namespaceObject.createBlock)("blockart/column")),replaceInnerBlocks(rootClientId,_select5,!1)}var _useState2=slicedToArray_slicedToArray((0,external_wp_element_namespaceObject.useState)({colWidth:{desktop:0,tablet:0,mobile:0},nextColWidth:{desktop:0,tablet:0,mobile:0},prevColWidth:{desktop:0,tablet:0,mobile:0}}),2),state=_useState2[0],setState=_useState2[1],_useState2=props.attributes,clientId=_useState2.clientId,colWidth=_useState2.colWidth,background=_useState2.background,hoverBackground=_useState2.hoverBackground,border=_useState2.border,borderHover=_useState2.borderHover,boxShadow=_useState2.boxShadow,boxShadowHover=_useState2.boxShadowHover,blockMargin=_useState2.blockMargin,blockPadding=_useState2.blockPadding,blockZIndex=_useState2.blockZIndex,hideOnDesktop=_useState2.hideOnDesktop,hideOnTablet=_useState2.hideOnTablet,hideOnMobile=_useState2.hideOnMobile,cssID=_useState2.cssID,_useState2=_useState2.className,setAttributes=props.setAttributes,deviceType=props.deviceType,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,document=!_BLOCKART_.isWP59OrAbove||"widgets"===(null==(_window=window)?void 0:_window.pagenow)||"customize"===(null==(_window=window)?void 0:_window.pagenow)||"site-editor"!==(null==(_window=window)?void 0:_window.pagenow)&&"tablet"!==deviceType&&"mobile"!==deviceType?window.document:null==(_window=window.frames)||null==(_window=_window["editor-canvas"])?void 0:_window.document,_window=((0,external_wp_element_namespaceObject.useEffect)(function(){var id=props.clientId.substr(0,8);(!clientId||clientId!==id&&1<document.querySelectorAll(".blockart-column-".concat(clientId)).length)&&setAttributes({clientId:id}),updateColumnWidthAttribute()},[deviceType]),use_block_style({blockName:"column",clientId:clientId,attributes:props.attributes,deviceType:deviceType})),classNames=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.column.classnames",classnames_default()("blockart-column blockart-column-".concat(clientId),_useState2)),updateColumnWidthAttribute=function(){var currentColumn=document.getElementById("block-".concat(props.clientId)),rowWidth=currentColumn.closest(".blockart-section").clientWidth;currentColumn.style.width=colWidth[deviceType]+"%",setState(edit_objectSpread(edit_objectSpread({},state),{},{rowWidth:rowWidth,colWidth:edit_objectSpread({},colWidth)}))},_useSelect=(0,external_wp_data_namespaceObject.useSelect)(function(select){var select=select("core/block-editor"),getBlockOrder=select.getBlockOrder,getBlockRootClientId=select.getBlockRootClientId,getPreviousBlockClientId=select.getPreviousBlockClientId,getNextBlockClientId=select.getNextBlockClientId,select=select.getBlockParents,getBlockRootClientId=getBlockRootClientId(props.clientId);return{hasChildBlocks:0<getBlockOrder(props.clientId).length,rootClientId:getBlockRootClientId,columnsIds:getBlockOrder(getBlockRootClientId),nextBlockClientId:getNextBlockClientId(props.clientId),prevBlockClientId:getPreviousBlockClientId(props.clientId),parentBlocks:select(props.clientId)}},[props.clientId]),columnsIds=_useSelect.columnsIds,hasChildBlocks=_useSelect.hasChildBlocks,rootClientId=_useSelect.rootClientId,parentBlocks=_useSelect.parentBlocks,_useSelect=(0,external_wp_element_namespaceObject.useMemo)(function(){var allowedBlocks=(0,external_wp_blocks_namespaceObject.getBlockTypes)().map(function(_ref){return _ref.name});return allowedBlocks=5<=parentBlocks.length?allowedBlocks.filter(function(name){return"blockart/section"!==name}):allowedBlocks},[null==parentBlocks?void 0:parentBlocks.length]),prevColumnIds=(0,external_wp_element_namespaceObject.useRef)(columnsIds),updateColumns=((0,external_wp_element_namespaceObject.useEffect)(function(){0<columnsIds.length&&prevColumnIds.current.length!==columnsIds.length&&updateColumns(),prevColumnIds.current=columnsIds},[columnsIds]),function(){var _select4=(0,external_wp_data_namespaceObject.select)("core/block-editor"),getBlock=_select4.getBlock,_select4=_select4.getBlocks,updateBlockAttributes=(0,external_wp_data_namespaceObject.dispatch)("core/block-editor").updateBlockAttributes,getBlock=getBlock(rootClientId),columns=columnsIds.length,columnFixedWidth=parseFloat((100/columns).toFixed(3)),equalWidth=edit_objectSpread(edit_objectSpread({},state.colWidth),{desktop:columnFixedWidth,tablet:columnFixedWidth,mobile:columnFixedWidth});rootClientId&&getBlock&&(updateBlockAttributes(rootClientId,Object.assign(getBlock.attributes,{columns:columns})),_select4(rootClientId).forEach(function(block){updateBlockAttributes(block.clientId,Object.assign(block.attributes,{colWidth:edit_objectSpread({},equalWidth)}));block=document.getElementById("block-".concat(block.clientId));null!==block&&(block.style.width=equalWidth[deviceType]+"%")}))}),inlineStyle="desktop"!==deviceType?".blockart-section > .block-editor-inner-blocks > .block-editor-block-list__layout [data-type='blockart/column'] .components-resizable-box__container.has-show-handle .components-resizable-box__handle { display: none; }":"";return React.createElement(external_wp_element_namespaceObject.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Width","blockart"),onChange:function(val){var nextColumnBlockWidth,_select,getPreviousBlockClientId,getNextBlockClientId,updateBlockAttributes,currentColumn,siblingColumns,nextColumn,prevColumn,diffWidth;val=val,_select=(0,external_wp_data_namespaceObject.select)("core/block-editor"),getPreviousBlockClientId=_select.getPreviousBlockClientId,getNextBlockClientId=_select.getNextBlockClientId,_select=_select.getBlockAttributes,updateBlockAttributes=(0,external_wp_data_namespaceObject.dispatch)("core/block-editor").updateBlockAttributes,currentColumn=document.getElementById("block-".concat(props.clientId)),siblingColumns=getSiblings(currentColumn),nextColumn=currentColumn.nextElementSibling,prevColumn=currentColumn.previousElementSibling,diffWidth=parseFloat(val[deviceType])-parseFloat(colWidth[deviceType]),"desktop"===deviceType?0<siblingColumns.length&&(null!==nextColumn?(nextColumnBlockWidth=edit_objectSpread({},(getNextBlockClientId=_select(siblingColumns=getNextBlockClientId(props.clientId))).colWidth),0<=parseFloat(colWidth[deviceType])&&0<=parseFloat(nextColumnBlockWidth[deviceType])&&parseFloat(val[deviceType])<=parseFloat(nextColumnBlockWidth[deviceType])+parseFloat(colWidth[deviceType])&&(nextColumnBlockWidth[deviceType]=parseFloat(nextColumnBlockWidth[deviceType])-diffWidth,nextColumn.style.width=nextColumnBlockWidth[deviceType]+"%",currentColumn.style.width=val[deviceType]+"%",updateBlockAttributes(siblingColumns,Object.assign(getNextBlockClientId,{colWidth:edit_objectSpread({},nextColumnBlockWidth)})),setAttributes({colWidth:edit_objectSpread({},val)}))):null!==prevColumn&&(getNextBlockClientId=edit_objectSpread({},(siblingColumns=_select(nextColumn=getPreviousBlockClientId(props.clientId))).colWidth),0<=parseFloat(colWidth[deviceType])&&0<=parseFloat(getNextBlockClientId[deviceType])&&parseFloat(val[deviceType])<=parseFloat(getNextBlockClientId[deviceType])+parseFloat(colWidth[deviceType])&&(getNextBlockClientId[deviceType]=parseFloat(getNextBlockClientId[deviceType])-diffWidth,prevColumn.style.width=getNextBlockClientId[deviceType]+"%",currentColumn.style.width=val[deviceType]+"%",updateBlockAttributes(nextColumn,Object.assign(siblingColumns,{colWidth:edit_objectSpread({},getNextBlockClientId)})),setAttributes({colWidth:edit_objectSpread({},val)})))):(currentColumn.style.width=val[deviceType]+"%",setAttributes({colWidth:edit_objectSpread({},val)}))},value:colWidth,min:0,max:100,step:1,defaultUnit:"%",showUnit:!0,responsive:!0})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_background,{onChange:function(val){return setAttributes({background:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart"),bgTypes:["color","image"],value:background})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_background,{onChange:function(val){return setAttributes({hoverBackground:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart"),bgTypes:["color","image"],value:hoverBackground})))),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Border","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_border,{value:border,onChange:function(val){return setAttributes({border:val})}}),React.createElement(box_shadow,{value:boxShadow,onChange:function(val){return setAttributes({boxShadow:val})}})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_border,{value:borderHover,onChange:function(val){return setAttributes({borderHover:val})}}),React.createElement(box_shadow,{value:boxShadowHover,onChange:function(val){return setAttributes({boxShadowHover:val})}}))))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(BlockAdvanceSettings,{blockMargin:blockMargin,blockPadding:blockPadding,blockZIndex:blockZIndex,cssID:cssID,setAttributes:setAttributes}),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_useState2,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(external_wp_components_namespaceObject.Toolbar,null,columnsIds.length+1<=6&&React.createElement(external_wp_components_namespaceObject.Button,{label:(0,external_wp_i18n_namespaceObject.__)("Add Column","blockart"),onClick:function(){return addRemoveBlock("add")},icon:"plus"}),1<columnsIds.length&&React.createElement(external_wp_components_namespaceObject.Button,{label:(0,external_wp_i18n_namespaceObject.__)("Delete Column","blockart"),onClick:function(){return addRemoveBlock("delete")},icon:"trash"})),React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(_window,null),React.createElement(external_wp_components_namespaceObject.ResizableBox,{maxWidth:999999999,style:{},size:{},enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:function(){(0,props.toggleSelection)(!1),setState(edit_objectSpread(edit_objectSpread({},state),{},{absWidth:document.getElementById("block-".concat(props.clientId)).getBoundingClientRect().width}))},onResize:function(event,direction,elt,delta){return function(direction,delta){var currentColumn=document.getElementById("block-".concat(props.clientId)),nextColumn=currentColumn.nextElementSibling,delta=(state.absWidth+delta.width)/state.rowWidth*100,diffWidth=parseFloat(colWidth[deviceType])-delta,_select2=(0,external_wp_data_namespaceObject.select)("core/block-editor"),getNextBlockClientId=_select2.getNextBlockClientId,_select2=_select2.getBlock;currentColumn.querySelector(".components-resizable-box__container").style.width="auto","right"===direction&&null!==nextColumn&&(_select2=edit_objectSpread({},(direction=_select2(getNextBlockClientId(props.clientId))).attributes.colWidth),0<=parseFloat(colWidth[deviceType])&&0<=parseFloat(_select2[deviceType])&&delta<=parseFloat(_select2[deviceType])+parseFloat(colWidth[deviceType])&&(getNextBlockClientId=parseFloat(_select2[deviceType])+diffWidth,nextColumn.style.width=Math.abs(getNextBlockClientId).toFixed(2)+"%",direction.attributes.colWidth[deviceType]=parseFloat(getNextBlockClientId.toFixed(2)),currentColumn.style.width=delta.toFixed(2)+"%",setAttributes({colWidth:edit_objectSpread(edit_objectSpread({},colWidth),{},_defineProperty({},deviceType,parseFloat(delta.toFixed(2))))})))}(direction,delta)},onResizeStop:function(){return props.toggleSelection(!0)},className:"blockart-resizable"},React.createElement("style",null,inlineStyle),React.createElement("div",{id:cssID||null,className:classNames},React.createElement("div",{className:"blockart-column-inner"},React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks,{templateLock:!1,allowedBlocks:_useSelect,renderAppender:hasChildBlocks?void 0:function(){return React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender,null)}})))))});function column_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function column_attributes_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?column_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):column_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const column_attributes=column_attributes_objectSpread({clientId:{type:"string",default:""},colWidth:{type:"object",default:{desktop:50,tablet:100,mobile:100},style:[{selector:"{{WRAPPER}} { width: {{VALUE}}%; }"}]},background:{type:"object",default:{background:1},style:[{selector:"{{WRAPPER}} > .blockart-column-inner"}]},hoverBackground:{type:"object",default:{background:1},style:[{selector:"{{WRAPPER}}:hover > .blockart-column-inner"}]},border:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} > .blockart-column-inner"}]},borderHover:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}}:hover > .blockart-column-inner"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} > .blockart-column-inner"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}}:hover > .blockart-column-inner"}]}},column_attributes_objectSpread(column_attributes_objectSpread({},node_namespaceObject),{},{blockPadding:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:"{{WRAPPER}} > .blockart-column-inner { padding: {{VALUE}}; }"}]}})),column_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","textdomain":"blockart","title":"Column","description":"An advanced single column within section block.","parent":["blockart/section"],"category":"blockart","name":"blockart/column","supports":{"className":false,"customClassName":false,"inserter":false,"reusable":false,"html":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function column_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function column_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?column_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):column_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}var layouts=[{label:"100",columns:1,structure:{desktop:[100],tablet:[100],mobile:[100]}},{label:"50/50",columns:2,structure:{desktop:[50,50],tablet:[100,100],mobile:[100,100]}},{label:"34/66",columns:2,structure:{desktop:[34,66],tablet:[100,100],mobile:[100,100]}},{label:"66/34",columns:2,structure:{desktop:[66,34],tablet:[100,100],mobile:[100,100]}},{label:"33/33/33",columns:3,structure:{desktop:[33.33,33.33,33.34],tablet:[100,100,100],mobile:[100,100,100]}},{label:"25/50/25",columns:3,structure:{desktop:[25,50,25],tablet:[100,100,100],mobile:[100,100,100]}},{label:"25/25/50",columns:3,structure:{desktop:[25,25,50],tablet:[100,100,100],mobile:[100,100,100]}},{label:"50/25/25",columns:3,structure:{desktop:[50,25,25],tablet:[100,100,100],mobile:[100,100,100]}},{label:"25/25/25/25",columns:4,structure:{desktop:[25,25,25,25],tablet:[100,100,100,100],mobile:[100,100,100,100]}}],defaultLayout={desktop:[100],tablet:[100],mobile:[100]};function section_save(_ref){var clientId=(_ref=_ref.attributes).clientId,container=_ref.container,cssID=_ref.cssID,className=_ref.className,overlay=_ref.overlay,height=_ref.height,_ref=_ref.align,container=classnames_default()({"blockart-container":"contained"===container},{"blockart-container-fluid":"stretched"===container}),clientId=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.section.classnames",classnames_default()("blockart-section blockart-section-".concat(clientId),className,_ref&&"align".concat(_ref)));return React.createElement("div",{id:null!=cssID?cssID:void 0,className:clientId},overlay&&React.createElement("div",{className:"blockart-overlay"}),React.createElement("div",{className:container},React.createElement("div",{className:"blockart-section-inner".concat("fit-to-screen"===height?" blockart-height-fit-to-screen":"")},React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks.Content,null))))}const section_edit=(0,external_wp_compose_namespaceObject.compose)([with_device_type,nth])(function(props){var _props$attributes=props.attributes,uniqueId=_props$attributes.clientId,columns=_props$attributes.columns,hasModal=_props$attributes.hasModal,modalOnly=_props$attributes.modalOnly,childRow=_props$attributes.childRow,verticalAlignment=_props$attributes.verticalAlignment,container=_props$attributes.container,width=_props$attributes.width,columnGap=_props$attributes.columnGap,height=_props$attributes.height,minHeight=_props$attributes.minHeight,background=_props$attributes.background,hoverBackground=_props$attributes.hoverBackground,border=_props$attributes.border,borderHover=_props$attributes.borderHover,boxShadow=_props$attributes.boxShadow,boxShadowHover=_props$attributes.boxShadowHover,overlay=_props$attributes.overlay,overlayBackground=_props$attributes.overlayBackground,blockMargin=_props$attributes.blockMargin,blockPadding=_props$attributes.blockPadding,blockZIndex=_props$attributes.blockZIndex,cssID=_props$attributes.cssID,hideOnDesktop=_props$attributes.hideOnDesktop,hideOnTablet=_props$attributes.hideOnTablet,hideOnMobile=_props$attributes.hideOnMobile,className=_props$attributes.className,colReverseOnTablet=_props$attributes.colReverseOnTablet,colReverseOnMobile=_props$attributes.colReverseOnMobile,_props$attributes=_props$attributes.align,setAttributes=props.setAttributes,deviceType=props.deviceType,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,Style=((0,external_wp_element_namespaceObject.useEffect)(function(){var parentClientId=(0,(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlockRootClientId)(props.clientId),id=props.clientId.substr(0,8);(!uniqueId||uniqueId!==id&&1<document.querySelectorAll(".blockart-section-".concat(uniqueId)).length)&&setAttributes({clientId:id,childRow:!!parentClientId})},[]),use_block_style({blockName:"section",clientId:uniqueId,attributes:props.attributes,deviceType:deviceType})),childRow=classnames_default()({"blockart-container":"contained"===container||!childRow},{"blockart-container-fluid":"stretched"===container||childRow}),_props$attributes=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.section.classnames",classnames_default()("blockart-section blockart-section-".concat(uniqueId),className,_props$attributes&&"align".concat(_props$attributes)));return columns?React.createElement(external_wp_element_namespaceObject.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},React.createElement(layout,{block:"section"})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(components_select,{options:[{label:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),value:""},{label:(0,external_wp_i18n_namespaceObject.__)("Baseline","blockart"),value:"baseline"},{label:(0,external_wp_i18n_namespaceObject.__)("Top","blockart"),value:"flex-start"},{label:(0,external_wp_i18n_namespaceObject.__)("Middle","blockart"),value:"center"},{label:(0,external_wp_i18n_namespaceObject.__)("Bottom","blockart"),value:"flex-end"}],onChange:function(val){return setAttributes({verticalAlignment:val})},value:verticalAlignment,label:(0,external_wp_i18n_namespaceObject.__)("Vertical Alignment","blockart"),placeholder:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),responsive:!0,inline:!1}),React.createElement(components_select,{value:container,options:[{label:(0,external_wp_i18n_namespaceObject.__)("Contained","blockart"),value:"contained"},{label:(0,external_wp_i18n_namespaceObject.__)("Stretched","blockart"),value:"stretched"}],onChange:function(val){return setAttributes({container:val})},label:(0,external_wp_i18n_namespaceObject.__)("Container","blockart")}),"contained"===container&&React.createElement(slider,{onChange:function(val){return setAttributes({width:val})},label:(0,external_wp_i18n_namespaceObject.__)("Width","blockart"),units:["px"],responsive:!0,min:0,max:1920,value:width}),React.createElement(slider,{onChange:function(val){return setAttributes({columnGap:val})},label:(0,external_wp_i18n_namespaceObject.__)("Column Gap","blockart"),units:["px","em","%"],responsive:!0,min:0,max:100,value:columnGap}),React.createElement(components_select,{options:[{label:(0,external_wp_i18n_namespaceObject.__)("Min Height","blockart"),value:"min-height"},{label:(0,external_wp_i18n_namespaceObject.__)("Default","blockart"),value:"default"},{label:(0,external_wp_i18n_namespaceObject.__)("Fit To Screen","blockart"),value:"fit-to-screen"}],onChange:function(val){return setAttributes({height:val})},value:height,label:(0,external_wp_i18n_namespaceObject.__)("Height","blockart")}),"min-height"===height&&React.createElement(slider,{onChange:function(val){return setAttributes({minHeight:val})},label:(0,external_wp_i18n_namespaceObject.__)("Min Height","blockart"),units:["px","em","vh"],responsive:!0,min:0,max:1200,value:minHeight})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_background,{onChange:function(val){return setAttributes({background:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart"),bgTypes:["color","image"],value:background})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_background,{onChange:function(val){return setAttributes({background:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart"),bgTypes:["color","image"],value:hoverBackground})))),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Border","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_border,{value:border,onChange:function(val){return setAttributes({border:val})}}),React.createElement(box_shadow,{value:boxShadow,onChange:function(val){return setAttributes({boxShadow:val})}})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_border,{value:borderHover,onChange:function(val){return setAttributes({borderHover:val})}}),React.createElement(box_shadow,{value:boxShadowHover,onChange:function(val){return setAttributes({boxShadowHover:val})}})))),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Overlay","blockart")},React.createElement(toggle,{checked:overlay,onChange:function(){return setAttributes({overlay:!overlay})},label:(0,external_wp_i18n_namespaceObject.__)("Enable","blockart")}),overlay&&React.createElement(components_background,{onChange:function(val){return setAttributes({overlayBackground:val})},value:overlayBackground||{},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")}))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(BlockAdvanceSettings,{blockMargin:blockMargin,blockPadding:blockPadding,blockZIndex:blockZIndex,cssID:cssID,setAttributes:setAttributes}),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes,hasColReverse:!0,colReverseOnTablet:colReverseOnTablet,colReverseOnMobile:colReverseOnMobile}),React.createElement(BlockCSSSettings,{className:className,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(Style,null),React.createElement("div",{id:cssID||null,className:_props$attributes},React.createElement("style",null,(container="",columnGap&&columnGap[deviceType]&&(width=(columnGap[deviceType].value||0).toString()+columnGap[deviceType].unit||"px",container+=".blockart-section-".concat(uniqueId,' [data-type="blockart/column"] { padding-right: calc(').concat(width," / 2); padding-left: calc(").concat(width," / 2); }")),"tablet"!==deviceType&&"mobile"!==deviceType||(container+=".blockart-section-inner > .block-editor-inner-blocks > .block-editor-block-list__layout { flex-wrap: wrap; }"),verticalAlignment&&verticalAlignment[deviceType]&&(container+=".blockart-section-".concat(uniqueId," .blockart-section-inner > .block-editor-inner-blocks .block-editor-block-list__layout { align-items: ").concat(verticalAlignment[deviceType]," }")),container+=".blockart-section-inner {margin: unset !important}")),overlay&&React.createElement("div",{className:"blockart-overlay"}),React.createElement("div",{className:childRow},React.createElement("div",{className:"blockart-section-inner".concat("fit-to-screen"===height?" blockart-height-fit-to-screen":"")},React.createElement(external_wp_blockEditor_namespaceObject.InnerBlocks,{template:function(columns){return _toConsumableArray(Array(parseInt(columns))).map(function(data,index){return["blockart/column",{colWidth:{desktop:defaultLayout.desktop[index],tablet:defaultLayout.tablet[index],mobile:defaultLayout.mobile[index]}}]})}(columns),allowedBlocks:["blockart/column"],orientation:"horizontal",renderAppender:!1}))))):React.createElement(external_wp_element_namespaceObject.Fragment,null,React.createElement(external_wp_components_namespaceObject.Placeholder,{label:(0,external_wp_i18n_namespaceObject.__)("Choose Your Layout","blockart"),className:"blockart-section-preset"},React.createElement("div",{className:"blockart-section-preset-group"},layouts.map(function(_ref,idx){var label=_ref.label,columns=_ref.columns,structure=_ref.structure;return React.createElement(external_wp_components_namespaceObject.Tooltip,{key:idx,text:label},React.createElement("button",{className:"blockart-section-preset-btn",onClick:function(){setAttributes({columns:columns}),defaultLayout=structure}},structure.desktop.map(function(s,k){return React.createElement("i",{key:k,style:{width:s+"%"}})})))})),!_BLOCKART_.isNotPostEditor&&React.createElement("div",{className:"blockart-section-preset-import-btn"},React.createElement("button",{onClick:function(){return setAttributes({hasModal:!0})}},(0,external_wp_i18n_namespaceObject.__)("View Templates","blockart")))),hasModal&&React.createElement(library_modal,{closeModal:function(){return setAttributes({hasModal:!1})},hasModal:hasModal,modalOnly:modalOnly,blockId:props.clientId}))});function section_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function section_attributes_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?section_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):section_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const section_attributes=section_attributes_objectSpread({clientId:{type:"string"},hasModal:{type:"boolean",default:!1},modalOnly:{type:"boolean",default:!1},columns:{type:"number",default:""},childRow:{type:"boolean",default:!1},verticalAlignment:{type:"object",default:{desktop:""},style:[{selector:"{{WRAPPER}} > .blockart-container > .blockart-section-inner,{{WRAPPER}} > .blockart-container-fluid > .blockart-section-inner{ align-items: {{VALUE}}; }"}]},container:{type:"string",default:"contained"},inheritFromTheme:{type:"boolean",default:!1},width:{type:"object",default:{desktop:{value:1170,unit:"px"}},style:[{condition:[{key:"container",relation:"==",value:"contained"},{key:"inheritFromTheme",relation:"!=",value:!0}],selector:"{{WRAPPER}} > .blockart-container { max-width: {{VALUE}}; }"}]},columnGap:{type:"object",default:{desktop:{value:30,unit:"px"}},style:[{selector:"{{WRAPPER}} > .blockart-container > .blockart-section-inner > .blockart-column,{{WRAPPER}} > .blockart-container-fluid > .blockart-section-inner > .blockart-column{ padding-left: {{VALUE}};}{{WRAPPER}} > .blockart-container-fluid > .blockart-section-inner,{{WRAPPER}} > .blockart-container > .blockart-section-inner{ margin-left: -{{VALUE}};}"}]},height:{type:"string",default:"default"},minHeight:{type:"object",style:[{condition:[{key:"height",relation:"==",value:"min-height"}],selector:"{{WRAPPER}} > .blockart-container > .blockart-section-inner,{{WRAPPER}} > .blockart-container-fluid > .blockart-section-inner {min-height: {{VALUE}};}"}]},background:{type:"object",default:{background:1},style:[{selector:"{{WRAPPER}}"}]},hoverBackground:{type:"object",default:{background:1},style:[{selector:"{{WRAPPER}}:hover"}]},border:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}}"}]},borderHover:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}}:hover"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}}"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}}:hover"}]},overlay:{type:"boolean",default:!1},overlayBackground:{type:"object",default:{background:1,color:"rgba(37, 99, 235,0.3)"},style:[{condition:[{key:"overlay",relation:"==",value:!0}],selector:"{{WRAPPER}} > .blockart-overlay"}]}},section_attributes_objectSpread(section_attributes_objectSpread({},node_namespaceObject),{},{blockPadding:{type:"object",default:{dimension:1,desktop:{left:15,right:15,unit:"px"}},style:[{selector:"{{WRAPPER}} { padding: {{VALUE}}; }"}]}})),section_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/section","title":"Section","description":"Add Rows and Columns inside rows to create various layouts.","keywords":["section","column","layout"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"align":["center","wide","full"]},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function section_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function section_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?section_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):section_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function paragraph_edit_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function paragraph_edit_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?paragraph_edit_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):paragraph_edit_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function paragraph_save(_ref){var cssID=(_ref=_ref.attributes).cssID,clientId=_ref.clientId,className=_ref.className,_ref=_ref.text;return external_wp_blockEditor_namespaceObject.RichText.isEmpty(_ref)?"":(clientId=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.paragraph.classnames",classnames_default()("blockart-paragraph blockart-paragraph-".concat(clientId),className)),React.createElement("p",{id:null!=cssID?cssID:void 0,className:clientId},React.createElement(external_wp_blockEditor_namespaceObject.RichText.Content,{value:_ref})))}const paragraph_edit=(0,external_wp_compose_namespaceObject.compose)([classnames,with_device_type,nth])(function(props){var _props$attributes=props.attributes,clientId=_props$attributes.clientId,text=_props$attributes.text,color=_props$attributes.color,hoverColor=_props$attributes.hoverColor,background=_props$attributes.background,hoverBackground=_props$attributes.hoverBackground,alignment=_props$attributes.alignment,margin=_props$attributes.margin,typography=_props$attributes.typography,blockZIndex=_props$attributes.blockZIndex,blockPadding=_props$attributes.blockPadding,cssID=_props$attributes.cssID,hideOnDesktop=_props$attributes.hideOnDesktop,hideOnTablet=_props$attributes.hideOnTablet,hideOnMobile=_props$attributes.hideOnMobile,_props$attributes=_props$attributes.className,setAttributes=props.setAttributes,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,deviceType=props.deviceType,deviceType=use_block_style({blockName:"paragraph",clientId:clientId,attributes:props.attributes,deviceType:deviceType}),classNames=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.paragraph.classnames",classnames_default()("blockart-paragraph blockart-paragraph-".concat(clientId),_props$attributes));return React.createElement(external_wp_element_namespaceObject.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},React.createElement(layout,{block:"paragraph"})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(advance_select,{value:alignment,onChange:function(val){return setAttributes({alignment:val})},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Alignment","blockart"),options:[{label:(0,external_wp_i18n_namespaceObject.__)("Left","blockart"),value:"left",icon:"text-align-left"},{label:(0,external_wp_i18n_namespaceObject.__)("Center","blockart"),value:"center",icon:"text-align-center"},{label:(0,external_wp_i18n_namespaceObject.__)("Right","blockart"),value:"right",icon:"text-align-right"},{label:(0,external_wp_i18n_namespaceObject.__)("Justify","blockart"),value:"justify",icon:"text-align-justify"}]})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Text","blockart")},React.createElement(components_typography,{value:typography,onChange:function(val){return setAttributes({typography:val})}})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Spacing","blockart")},React.createElement(dimensions,{value:margin||{},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:function(val){return setAttributes({margin:val})},type:"margin"})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Color","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_color,{onChange:function(val){return setAttributes({color:val})},label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),value:color||""}),React.createElement(components_background,{value:background,onChange:function(val){return setAttributes({background:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_color,{onChange:function(val){return setAttributes({hoverColor:val})},label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),value:hoverColor||""}),React.createElement(components_background,{value:hoverBackground,onChange:function(val){return setAttributes({hoverBackground:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")}))))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart"),initialOpen:!0},React.createElement(dimensions,{value:blockPadding||{},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Block Padding","blockart"),min:0,max:500,defaultUnit:"px",units:["px","rem","em","%"],onChange:function(val){return setAttributes({blockPadding:val})}}),React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Z-Index","blockart"),value:blockZIndex||0,min:0,max:1e4,step:1,onChange:function(val){return setAttributes({blockZIndex:val})}}),React.createElement(input,{value:cssID||"",label:(0,external_wp_i18n_namespaceObject.__)("CSS ID","blockart"),onChange:function(val){return setAttributes({cssID:val})},labelPosition:"side"})),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_props$attributes,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(deviceType,null),React.createElement(external_wp_blockEditor_namespaceObject.RichText,{id:cssID||null,className:classNames,identifier:"content",tagName:"p",onSplit:function(value,isOriginal){(isOriginal||value)&&(newAttributes=paragraph_edit_objectSpread(paragraph_edit_objectSpread({},props.attributes),{},{text:value}));var newAttributes,value=(0,external_wp_blocks_namespaceObject.createBlock)("blockart/paragraph",newAttributes);return isOriginal&&(value.clientId=clientId),value},onMerge:props.mergeBlocks,onReplace:props.onReplace,onRemove:props.onRemove,"data-empty":!text,placeholder:(0,external_wp_i18n_namespaceObject.__)("This is Paragraph."),value:text,onChange:function(val){setAttributes({text:val})}}))});function paragraph_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}const paragraph_attributes=function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?paragraph_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):paragraph_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({clientId:{type:"string"},text:{type:"string"},alignment:{type:"object",style:[{selector:".blockart-paragraph{{WRAPPER}} {text-align: {{VALUE}}; }"}]},typography:{type:"object",default:{typography:1},style:[{selector:".blockart-paragraph{{WRAPPER}}"}]},color:{type:"string",style:[{selector:".blockart-paragraph{{WRAPPER}} {color: {{VALUE}}; }"}]},hoverColor:{type:"string",style:[{selector:".blockart-paragraph{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},background:{type:"object",default:{background:1},style:[{selector:".blockart-paragraph{{WRAPPER}}"}]},hoverBackground:{type:"object",default:{background:1},style:[{selector:".blockart-paragraph{{WRAPPER}}:hover"}]},margin:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:".blockart-paragraph{{WRAPPER}} { margin: {{VALUE}}; }"}]}},node_namespaceObject),paragraph_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/paragraph","title":"Paragraph","description":"Customize typography and style paragraphs with multiple setting options.","keywords":["paragraph","text"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function paragraph_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function paragraph_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?paragraph_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):paragraph_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function image_edit_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function image_edit_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?image_edit_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):image_edit_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function image_save(_ref){var cssID=(_ref=_ref.attributes).cssID,_ref$attributes$image=void 0===(_ref$attributes$image=_ref.image)?{}:_ref$attributes$image,clientId=_ref.clientId,className=_ref.className,_ref=_ref.link,clientId=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.image.classnames",classnames_default()("blockart-image blockart-image-".concat(clientId),className)),className=classnames_default()(_defineProperty({},"wp-image-".concat(null==_ref$attributes$image?void 0:_ref$attributes$image.id),!(null==_ref$attributes$image||!_ref$attributes$image.id))),_ref$attributes$image=React.createElement("img",{className:className||void 0,src:null==_ref$attributes$image?void 0:_ref$attributes$image.url,alt:null!=(className=null==_ref$attributes$image?void 0:_ref$attributes$image.alt)?className:"",height:null!=(className=null==_ref$attributes$image?void 0:_ref$attributes$image.height)?className:void 0,width:null!=(className=null==_ref$attributes$image?void 0:_ref$attributes$image.width)?className:void 0});return null!=_ref&&_ref.url&&(_ref$attributes$image=React.createElement(components_element,{tagName:"a",htmlAttrs:{href:_ref.url,target:null!=_ref&&_ref.newTab?"_blank":void 0,rel:null!=_ref&&_ref.rel?"noopener":void 0},children:_ref$attributes$image})),React.createElement("div",{id:null!=cssID?cssID:void 0,className:clientId||void 0},_ref$attributes$image)}const image_edit=(0,external_wp_compose_namespaceObject.compose)([external_wp_components_namespaceObject.withNotices,classnames,with_device_type,nth])(function(props){function onError(message){noticeOperations.removeAllNotices(),noticeOperations.createErrorNotice(message)}function onSelect(media){var u,i,h,w;null!=media&&media.url&&(u=media.url,i=media.id,h=media.height,w=media.width,media=media.alt,setAttributes({image:{url:u,id:i,height:h,width:w,alt:media}}))}function onSelectURL(u){setAttributes({image:{url:u,id:void 0,height:void 0,width:void 0,alt:void 0}})}var _props$attributes=props.attributes,clientId=_props$attributes.clientId,link=_props$attributes.link,_props$attributes$ima=_props$attributes.image,image=void 0===_props$attributes$ima?{}:_props$attributes$ima,_props$attributes$ima=_props$attributes.alignment,objectFit=_props$attributes.objectFit,border=_props$attributes.border,hoverBorder=_props$attributes.hoverBorder,boxShadow=_props$attributes.boxShadow,boxShadowHover=_props$attributes.boxShadowHover,blockMargin=_props$attributes.blockMargin,blockPadding=_props$attributes.blockPadding,blockZIndex=_props$attributes.blockZIndex,cssID=_props$attributes.cssID,width=_props$attributes.width,height=_props$attributes.height,maxWidth=_props$attributes.maxWidth,opacity=_props$attributes.opacity,hideOnDesktop=_props$attributes.hideOnDesktop,hideOnTablet=_props$attributes.hideOnTablet,hideOnMobile=_props$attributes.hideOnMobile,_props$attributes=_props$attributes.className,setAttributes=props.setAttributes,noticeUI=props.noticeUI,noticeOperations=props.noticeOperations,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,deviceType=props.deviceType,_image$id=null!=(_image$id=null==image?void 0:image.id)?_image$id:void 0,_image$url=null!=(_image$url=null==image?void 0:image.url)?_image$url:void 0,_image$alt=null!=(_image$alt=null==image?void 0:image.alt)?_image$alt:"",props=use_block_style({blockName:"image",clientId:clientId,attributes:props.attributes,deviceType:deviceType}),deviceType=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.image.classnames",classnames_default()("blockart-image blockart-image-".concat(clientId),_props$attributes));return React.createElement(React.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},React.createElement(layout,{block:"image"})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(advance_select,{value:_props$attributes$ima,onChange:function(val){return setAttributes({alignment:val})},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Alignment","blockart"),options:[{label:(0,external_wp_i18n_namespaceObject.__)("Left","blockart"),value:"left",icon:"align-left"},{label:(0,external_wp_i18n_namespaceObject.__)("Center","blockart"),value:"center",icon:"align-center"},{label:(0,external_wp_i18n_namespaceObject.__)("Right","blockart"),value:"right",icon:"align-right"}]}),React.createElement(components_media,{onChange:function(val){return setAttributes({image:val})},label:(0,external_wp_i18n_namespaceObject.__)("Image","blockart"),type:"image",value:image}),React.createElement(external_wp_components_namespaceObject.TextareaControl,{label:(0,external_wp_i18n_namespaceObject.__)("Alt text (alternative text)","blockart"),className:"blockart-control blockart-textarea",value:_image$alt,onChange:function(val){return setAttributes({image:image_edit_objectSpread(image_edit_objectSpread({},null!=image?image:{}),{},{alt:val})})},help:React.createElement(React.Fragment,null,React.createElement(external_wp_components_namespaceObject.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,external_wp_i18n_namespaceObject.__)("Describe the purpose of the image","blockart")),React.createElement("br",null),(0,external_wp_i18n_namespaceObject.__)("Leave empty if the image is purely decorative.","blockart"))}),React.createElement(url_input,{label:(0,external_wp_i18n_namespaceObject.__)("Link","blockart"),onChange:function(val){return setAttributes({link:val})},value:link,placeholder:"https://",newTab:!0})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Image","blockart")},React.createElement(slider,{onChange:function(val){return setAttributes({width:val})},label:(0,external_wp_i18n_namespaceObject.__)("Width","blockart"),units:["px","em","%"],responsive:!0,min:0,max:1920,value:width}),React.createElement(slider,{onChange:function(val){return setAttributes({maxWidth:val})},label:(0,external_wp_i18n_namespaceObject.__)("Max Width","blockart"),units:["px","em","%"],responsive:!0,min:0,max:1920,value:maxWidth}),React.createElement(slider,{onChange:function(val){return setAttributes({height:val})},label:(0,external_wp_i18n_namespaceObject.__)("Height","blockart"),units:["px","em","%"],responsive:!0,min:0,max:1e3,value:height}),React.createElement(components_select,{onChange:function(val){return setAttributes({objectFit:val})},value:objectFit,responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Object Fit","blockart"),options:[{label:(0,external_wp_i18n_namespaceObject.__)("Fill","blockart"),value:"fill"},{label:(0,external_wp_i18n_namespaceObject.__)("Cover","blockart"),value:"cover"},{label:(0,external_wp_i18n_namespaceObject.__)("Contain","blockart"),value:"contain"},{label:(0,external_wp_i18n_namespaceObject.__)("None","blockart"),value:"none"},{label:(0,external_wp_i18n_namespaceObject.__)("Scale Down","blockart"),value:"scale-down"}]}),React.createElement(slider,{onChange:function(val){return setAttributes({opacity:val})},label:(0,external_wp_i18n_namespaceObject.__)("Opacity","blockart"),responsive:!0,step:.1,min:0,max:1,value:opacity})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Border","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_border,{value:border,onChange:function(val){return setAttributes({border:val})}}),React.createElement(box_shadow,{value:boxShadow,onChange:function(val){return setAttributes({boxShadow:val})}})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_border,{value:hoverBorder,onChange:function(val){return setAttributes({hoverBorder:val})}}),React.createElement(box_shadow,{value:boxShadowHover,onChange:function(val){return setAttributes({boxShadowHover:val})}}))))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(BlockAdvanceSettings,{blockMargin:blockMargin,blockPadding:blockPadding,blockZIndex:blockZIndex,cssID:cssID,setAttributes:setAttributes}),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_props$attributes,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,{group:"other"},React.createElement(external_wp_blockEditor_namespaceObject.MediaReplaceFlow,{mediaId:_image$id,mediaURL:_image$url,allowedTypes:["image"],accept:"image/*",onSelect:onSelect,onSelectURL:onSelectURL,onError:onError})),React.createElement(props,null),React.createElement("div",{id:cssID||null,className:deviceType},_image$url?React.createElement("img",{src:_image$url,alt:null!=_image$alt?_image$alt:""}):React.createElement(external_wp_blockEditor_namespaceObject.MediaPlaceholder,{onSelect:onSelect,notices:noticeUI,onError:onError,accept:"image/*",allowedTypes:["image"],value:{src:_image$url,id:_image$id},onSelectURL:onSelectURL})))});function image_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}const image_attributes=function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?image_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):image_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({clientId:{type:"string"},link:{type:"object",default:{}},image:{type:"object",default:{}},alt1:{type:"string"},alt2:{type:"string"},alignment:{type:"object",style:[{selector:"{{WRAPPER}} {text-align: {{VALUE}}; }"}]},objectFit:{type:"object",default:{desktop:"fill"},style:[{selector:"{{WRAPPER}} img {object-fit: {{VALUE}}; }"}]},border:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} img"}]},hoverBorder:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} img:hover"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} img"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} img:hover"}]},width:{type:"object",style:[{selector:"{{WRAPPER}} img { width: {{VALUE}} }"}]},maxWidth:{type:"object",style:[{selector:"{{WRAPPER}} img { max-width: {{VALUE}} }"}]},height:{type:"object",style:[{selector:"{{WRAPPER}} img { height: {{VALUE}} }"}]},opacity:{type:"string",default:1,style:[{selector:"{{WRAPPER}} img { opacity: {{VALUE}} }"}]}},node_namespaceObject),image_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/image","title":"Image","description":"Visual communication with your visitor via images.","keywords":["image"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function deprecated_v1_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function deprecated_v1_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?deprecated_v1_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):deprecated_v1_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}const deprecated_v1={attributes:image_attributes,supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:function(props){var props=props.attributes,cssID=props.cssID,image=props.image,clientId=props.clientId,className=props.className,alt1=props.alt1,alt2=props.alt2,props=props.link,_image$local=null!=(_image$local=null!=(_image$local=null==image?void 0:image.local)?_image$local:null==image?void 0:image.external)?_image$local:_BLOCKART_.placeholderImage,image=null!=image&&image.local?null!=alt1?alt1:"":null!=alt2?alt2:"",alt1=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.image.classnames",classnames_default()("blockart-image blockart-image-".concat(clientId," "),className));return React.createElement("div",{id:cssID||null,className:alt1},props.url?React.createElement("a",{href:props.url,target:props.newTab?"_blank":null,rel:props.newTab?"noopener":null},React.createElement("img",{src:_image$local,alt:image})):React.createElement("img",{src:_image$local,alt:image}))},migrate:function(attributes){var _mediaItem$media_deta,mediaItem,image=attributes.image,newImageProps={};return"external"===(null==image?void 0:image.type)?null!=image&&image.external&&(newImageProps={width:void 0,height:void 0,url:image.external,id:void 0,alt:void 0}):"local"===(null==image?void 0:image.type)&&null!=image&&image.local&&(newImageProps={width:null==(mediaItem=_BLOCKART_.mediaItems.find(function(item){return item.source_url===image.local}))||null==(_mediaItem$media_deta=mediaItem.media_details)?void 0:_mediaItem$media_deta.width,height:null==mediaItem||null==(_mediaItem$media_deta=mediaItem.media_details)?void 0:_mediaItem$media_deta.height,url:null!=(_mediaItem$media_deta=null==mediaItem?void 0:mediaItem.source_url)?_mediaItem$media_deta:image.local,id:null==mediaItem?void 0:mediaItem.ID,alt:null==mediaItem?void 0:mediaItem.alt_text}),deprecated_v1_objectSpread(deprecated_v1_objectSpread({},attributes),{},{image:newImageProps})}};function image_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function image_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?image_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):image_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function heading_save(_ref){var markup=(_ref=_ref.attributes).markup,text=_ref.text,className=_ref.className,cssID=_ref.cssID,size=_ref.size,_ref=_ref.clientId,_ref=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.heading.classnames",classnames_default()("blockart-heading blockart-heading-".concat(_ref),size&&"is-".concat(size),className));return React.createElement(external_wp_blockEditor_namespaceObject.RichText.Content,{id:null!=cssID?cssID:void 0,className:_ref,tagName:markup,value:text})}const heading_edit=(0,external_wp_compose_namespaceObject.compose)([classnames,with_device_type,nth])(function(props){var _props$attributes=props.attributes,clientId=_props$attributes.clientId,markup=_props$attributes.markup,text=_props$attributes.text,color=_props$attributes.color,hoverColor=_props$attributes.hoverColor,margin=_props$attributes.margin,background=_props$attributes.background,hoverBackground=_props$attributes.hoverBackground,alignment=_props$attributes.alignment,size=_props$attributes.size,typography=_props$attributes.typography,border=_props$attributes.border,hoverBorder=_props$attributes.hoverBorder,boxShadow=_props$attributes.boxShadow,boxShadowHover=_props$attributes.boxShadowHover,blockPadding=_props$attributes.blockPadding,blockZIndex=_props$attributes.blockZIndex,cssID=_props$attributes.cssID,hideOnDesktop=_props$attributes.hideOnDesktop,hideOnTablet=_props$attributes.hideOnTablet,hideOnMobile=_props$attributes.hideOnMobile,_props$attributes=_props$attributes.className,setAttributes=props.setAttributes,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,deviceType=props.deviceType,props=use_block_style({blockName:"heading",clientId:clientId,attributes:props.attributes,deviceType:deviceType}),deviceType=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.heading.classnames",classnames_default()("blockart-heading blockart-heading-".concat(clientId),size&&"is-".concat(size),_props$attributes));return React.createElement(external_wp_element_namespaceObject.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},React.createElement(layout,{block:"heading"})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(advance_select,{value:alignment,onChange:function(val){return setAttributes({alignment:val})},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Alignment","blockart"),options:[{label:(0,external_wp_i18n_namespaceObject.__)("Text align left","blockart"),value:"left",icon:"text-align-left"},{label:(0,external_wp_i18n_namespaceObject.__)("Text align center","blockart"),value:"center",icon:"text-align-center"},{label:(0,external_wp_i18n_namespaceObject.__)("Text align right","blockart"),value:"right",icon:"text-align-right"},{label:(0,external_wp_i18n_namespaceObject.__)("Text align justify","blockart"),value:"justify",icon:"text-align-justify"}]}),React.createElement(components_size,{label:(0,external_wp_i18n_namespaceObject.__)("Size","blockart"),onChange:function(key,val){return setAttributes(_defineProperty({},key,val))},value:size||""}),React.createElement(components_select,{options:[{label:(0,external_wp_i18n_namespaceObject.__)("H1","blockart"),value:"h1"},{label:(0,external_wp_i18n_namespaceObject.__)("H2","blockart"),value:"h2"},{label:(0,external_wp_i18n_namespaceObject.__)("H3","blockart"),value:"h3"},{label:(0,external_wp_i18n_namespaceObject.__)("H4","blockart"),value:"h4"},{label:(0,external_wp_i18n_namespaceObject.__)("H5","blockart"),value:"h5"},{label:(0,external_wp_i18n_namespaceObject.__)("H6","blockart"),value:"h6"}],onChange:function(val){return setAttributes({markup:val})},value:markup,label:(0,external_wp_i18n_namespaceObject.__)("HTML Markup","blockart"),inline:!1})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Text","blockart")},React.createElement(components_typography,{value:typography,onChange:function(val){return setAttributes({typography:val})}})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Spacing","blockart")},React.createElement(dimensions,{value:margin||{},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:function(val){return setAttributes({margin:val})},type:"margin"})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Color","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_color,{onChange:function(val){return setAttributes({color:val})},label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),value:color||""}),React.createElement(components_background,{value:background,onChange:function(val){return setAttributes({background:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_color,{onChange:function(val){return setAttributes({hoverColor:val})},label:(0,external_wp_i18n_namespaceObject.__)("Color","blockart"),value:hoverColor||""}),React.createElement(components_background,{value:hoverBackground,onChange:function(val){return setAttributes({hoverBackground:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})))),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Border","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_border,{value:border,onChange:function(val){return setAttributes({border:val})}}),React.createElement(box_shadow,{value:boxShadow,onChange:function(val){return setAttributes({boxShadow:val})}})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_border,{value:hoverBorder,onChange:function(val){return setAttributes({hoverBorder:val})}}),React.createElement(box_shadow,{value:boxShadowHover,onChange:function(val){return setAttributes({boxShadowHover:val})}}))))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart"),initialOpen:!0},React.createElement(dimensions,{value:blockPadding||{},responsive:!0,label:(0,external_wp_i18n_namespaceObject.__)("Block Padding","blockart"),min:0,max:500,defaultUnit:"px",units:["px","rem","em","%"],onChange:function(val){return setAttributes({blockPadding:val})}}),React.createElement(slider,{label:(0,external_wp_i18n_namespaceObject.__)("Z-Index","blockart"),value:blockZIndex||0,min:0,max:1e4,step:1,onChange:function(val){return setAttributes({blockZIndex:val})}}),React.createElement(input,{value:cssID||"",label:(0,external_wp_i18n_namespaceObject.__)("CSS ID","blockart"),onChange:function(val){return setAttributes({cssID:val})},labelPosition:"side"})),React.createElement(BlockResponsiveSettings,{hideOnDesktop:hideOnDesktop,hideOnTablet:hideOnTablet,hideOnMobile:hideOnMobile,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_props$attributes,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(props,null),React.createElement(external_wp_blockEditor_namespaceObject.RichText,{id:cssID||null,className:deviceType,tagName:markup,placeholder:(0,external_wp_i18n_namespaceObject.__)("This is heading","blockart"),value:text,onChange:function(val){setAttributes({text:val})}}))});function heading_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}const heading_attributes=function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?heading_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):heading_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({clientId:{type:"string"},markup:{type:"string",default:"h2"},text:{type:"string"},color:{type:"string",style:[{selector:".blockart-heading{{WRAPPER}} {color: {{VALUE}}; }"}]},hoverColor:{type:"string",style:[{selector:".blockart-heading{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},background:{type:"object",default:{background:1},style:[{selector:".blockart-heading{{WRAPPER}}"}]},hoverBackground:{type:"object",default:{background:1},style:[{selector:".blockart-heading{{WRAPPER}}:hover"}]},alignment:{type:"object",style:[{selector:".blockart-heading{{WRAPPER}} {text-align: {{VALUE}}; }"}]},size:{type:"string"},typography:{type:"object",default:{typography:1,weight:500},style:[{selector:".blockart-heading{{WRAPPER}}"}]},border:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:".blockart-heading{{WRAPPER}}"}]},hoverBorder:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:".blockart-heading{{WRAPPER}}:hover"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:".blockart-heading{{WRAPPER}}"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:".blockart-heading{{WRAPPER}}:hover"}]},margin:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:".blockart-heading{{WRAPPER}} { margin: {{VALUE}}; }"}]}},node_namespaceObject),heading_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/heading","title":"Heading","description":"Create stylish title for each section with various markups from H1 to H6.","keywords":["heading","headline"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function heading_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function heading_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?heading_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):heading_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function spacing_save(_ref){var cssID=(_ref=_ref.attributes).cssID,clientId=_ref.clientId,_ref=_ref.className,clientId=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.spacing.classnames",classnames_default()("blockart-spacing blockart-spacing-".concat(clientId),_ref));return React.createElement("div",{id:null!=cssID?cssID:void 0,className:clientId},React.createElement("div",{className:"blockart-spacing-inner"}))}const spacing_edit=(0,external_wp_compose_namespaceObject.compose)([classnames,with_device_type,nth])(function(props){var _props$attributes=props.attributes,clientId=_props$attributes.clientId,height=_props$attributes.height,background=_props$attributes.background,hoverBackground=_props$attributes.hoverBackground,border=_props$attributes.border,hoverBorder=_props$attributes.hoverBorder,boxShadow=_props$attributes.boxShadow,boxShadowHover=_props$attributes.boxShadowHover,blockMargin=_props$attributes.blockMargin,blockPadding=_props$attributes.blockPadding,blockZIndex=_props$attributes.blockZIndex,cssID=_props$attributes.cssID,_props$attributes=_props$attributes.className,setAttributes=props.setAttributes,CopyPasteStylesBlockControl=props.copyPasteStylesBlockControl,deviceType=props.deviceType,classNames=(0,external_wp_hooks_namespaceObject.applyFilters)("blockart.spacing.classnames",classnames_default()("blockart-spacing blockart-spacing-".concat(clientId),_props$attributes)),clientId=use_block_style({blockName:"spacing",clientId:clientId,attributes:props.attributes,deviceType:deviceType});return React.createElement(external_wp_element_namespaceObject.Fragment,null,React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls,null,React.createElement(tab_panel,{root:!0},React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Layout","blockart")},React.createElement(layout,{block:"spacing"})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Settings","blockart")},React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("General","blockart"),initialOpen:!0},React.createElement(slider,{onChange:function(val){return setAttributes({height:val})},label:(0,external_wp_i18n_namespaceObject.__)("Height","blockart"),units:["px","em","vh"],responsive:!0,min:1,max:1e3,value:height})),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Color","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_background,{value:background,onChange:function(val){return setAttributes({background:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_background,{value:hoverBackground,onChange:function(val){return setAttributes({hoverBackground:val})},label:(0,external_wp_i18n_namespaceObject.__)("Background","blockart")})))),React.createElement(panel,{title:(0,external_wp_i18n_namespaceObject.__)("Border","blockart")},React.createElement(tab_panel,null,React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Normal","blockart")},React.createElement(components_border,{value:border,onChange:function(val){return setAttributes({border:val})}}),React.createElement(box_shadow,{value:boxShadow,onChange:function(val){return setAttributes({boxShadow:val})}})),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Hover","blockart")},React.createElement(components_border,{value:hoverBorder,onChange:function(val){return setAttributes({hoverBorder:val})}}),React.createElement(box_shadow,{value:boxShadowHover,onChange:function(val){return setAttributes({boxShadowHover:val})}}))))),React.createElement(tab,{tabTitle:(0,external_wp_i18n_namespaceObject.__)("Advanced","blockart")},React.createElement(BlockAdvanceSettings,{blockMargin:blockMargin,blockPadding:blockPadding,blockZIndex:blockZIndex,cssID:cssID,setAttributes:setAttributes}),React.createElement(BlockCSSSettings,{className:_props$attributes,setAttributes:setAttributes,hasBlockCSS:!1})))),React.createElement(external_wp_blockEditor_namespaceObject.BlockControls,null,React.createElement(CopyPasteStylesBlockControl,null)),React.createElement(clientId,null),React.createElement("div",{className:classNames},React.createElement("div",{className:"blockart-spacing-inner ".concat(props.isSelected&&"is-selected")})))});function spacing_attributes_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}const spacing_attributes=function(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?spacing_attributes_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):spacing_attributes_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}({clientId:{type:"string"},height:{type:"object",default:{desktop:{value:50,unit:"px"}},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner { height: {{VALUE}}; }"}]},background:{type:"object",default:{background:1},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner"}]},hoverBackground:{type:"object",default:{background:1},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner:hover"}]},border:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner"}]},hoverBorder:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner:hover"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} .blockart-spacing-inner:hover"}]}},node_namespaceObject),spacing_block_namespaceObject=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/spacing","title":"Spacing","description":"Give your designs room to breathe with white space.","keywords":["spacing","spacer","divider"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}');function spacing_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function spacing_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?spacing_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):spacing_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function auto_recover_blocks_ownKeys(object,enumerableOnly){var symbols,keys=Object.keys(object);return Object.getOwnPropertySymbols&&(symbols=Object.getOwnPropertySymbols(object),enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)),keys}function auto_recover_blocks_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?auto_recover_blocks_ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):auto_recover_blocks_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function getInvalidBlocks(blocks){return blocks.reduce(function(invalidBlocks,block){return!block.isValid&&block.name.includes("blockart")&&invalidBlocks.push(block),0<block.innerBlocks.length&&(0<(block=getInvalidBlocks(block.innerBlocks)).length&&(invalidBlocks=invalidBlocks.concat(block))),invalidBlocks},[])}function ImportButton(){return React.createElement(external_wp_components_namespaceObject.ToolbarButton,{className:"blockart-library-button",icon:React.createElement("svg",{width:20,height:20,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 22H2V2h20zM3 21h18V3H3z",fill:"#fff"}),React.createElement("path",{d:"M13.46 10l-1.39-5-1.39 5zm.92 3H9.77l-1 4.46V19h6.4v-1.52z",fill:"#fff",fillRule:"evenodd"})),onClick:function(){(0,(0,external_wp_data_namespaceObject.dispatch)("core/block-editor").insertBlocks)((0,external_wp_blocks_namespaceObject.createBlock)("blockart/section",{hasModal:!0,modalOnly:!0}))}},(0,external_wp_i18n_namespaceObject.__)("BlockArt Library","blockart"))}var subscribeOnceWhen=function(predicate,callback){var unsubscribe=(0,external_wp_data_namespaceObject.subscribe)(function(){predicate()&&(setTimeout(function(){callback()},500),unsubscribe())});return unsubscribe},isBlocksLoaded=function(){return 0<(0,(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlocks)().length},recoverBlocks=function(){var _window,_blocks,replaceBlock=(0,external_wp_data_namespaceObject.dispatch)("core/block-editor").replaceBlock;null!=(_blocks=_window="widgets"===(null==(_window=window)?void 0:_window.pagenow)||"customize"===(null==(_window=window)?void 0:_window.pagenow)?(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlocks().map(function(widgetArea){var innerBlocks=(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlocks(widgetArea.clientId);return auto_recover_blocks_objectSpread(auto_recover_blocks_objectSpread({},widgetArea),{},{innerBlocks:innerBlocks})}):(0,external_wp_data_namespaceObject.select)("core/block-editor").getBlocks())&&_blocks.length&&null!=(_blocks=getInvalidBlocks(_window))&&_blocks.length&&_blocks.forEach(function(oldBlock){name=(_ref=oldBlock).name,attributes=oldBlock.attributes,_ref=oldBlock.innerBlocks;var _ref,attributes,name=(0,external_wp_blocks_namespaceObject.createBlock)(name,attributes,_ref);name.isValid&&replaceBlock(oldBlock.clientId,name)})},isSavingCSS=!1,isSavingWidgetsCSS=!1,lib_syntax_namespaceObject=window.wp.domReady,scope_namespaceObject=__webpack_require__.n(lib_syntax_namespaceObject);function update_block_attributes_createForOfIteratorHelper(o,allowArrayLike){var normalCompletion,didErr,err,i,it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(it)return didErr=!(normalCompletion=!0),{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}};if(Array.isArray(o)||(it=function(o,minLen){var n;if(o)return"string"==typeof o?update_block_attributes_arrayLikeToArray(o,minLen):"Map"===(n="Object"===(n=Object.prototype.toString.call(o).slice(8,-1))&&o.constructor?o.constructor.name:n)||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?update_block_attributes_arrayLikeToArray(o,minLen):void 0}(o))||allowArrayLike&&o&&"number"==typeof o.length)return it&&(o=it),i=0,{s:allowArrayLike=function(){},n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:allowArrayLike};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function update_block_attributes_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var BACKGROUND_ATTRIBUTE_KEYS=["background","hoverBackground","background1","background2","hoverBackground1","hoverBackground2"];(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/column",column_objectSpread(column_objectSpread({},column_block_namespaceObject),{},{icon:React.createElement(components_icon,{className:"blockart-column-block",type:"blockIcon",name:"column",size:24}),attributes:column_attributes,edit:column_edit,save:column_save})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/section",section_objectSpread(section_objectSpread({},section_block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"section",size:24}),attributes:section_attributes,edit:section_edit,save:section_save})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/heading",heading_objectSpread(heading_objectSpread({},heading_block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"heading",size:24}),attributes:heading_attributes,edit:heading_edit,save:heading_save})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/paragraph",paragraph_objectSpread(paragraph_objectSpread({},paragraph_block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"paragraph",size:24}),attributes:paragraph_attributes,edit:paragraph_edit,save:paragraph_save})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/button-inner",button_objectSpread(button_objectSpread({},block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"button",size:24}),attributes:button_attributes,edit:button_edit,save:save})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/button",buttons_objectSpread(buttons_objectSpread({},buttons_block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"buttons",size:24}),attributes:buttons_attributes,edit:edit,save:buttons_save,deprecated:[v1,v2]})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/image",image_objectSpread(image_objectSpread({},image_block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"image",size:24}),attributes:image_attributes,edit:image_edit,save:image_save,deprecated:[deprecated_v1]})),(0,external_wp_blocks_namespaceObject.registerBlockType)("blockart/spacing",spacing_objectSpread(spacing_objectSpread({},spacing_block_namespaceObject),{},{icon:React.createElement(components_icon,{type:"blockIcon",name:"spacing",size:24}),attributes:spacing_attributes,edit:spacing_edit,save:spacing_save})),(0,external_wp_hooks_namespaceObject.addFilter)("blocks.getBlockAttributes","blockart/update-background-attribute",function(attrs,block){if(block.name.startsWith("blockart/")){var _step,_iterator=update_block_attributes_createForOfIteratorHelper(BACKGROUND_ATTRIBUTE_KEYS);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _attrs$key,_attrs$key$image,_attrs$key$image$imag,_attrs$key$image$imag2,_attrs$key$image$imag3,_attrs$key$image$imag4,_attrs$key$image$imag5,_attrs$key$image$imag6,_attrs$key$image$imag7,key=_step.value;null!=attrs&&null!=(_attrs$key=attrs[key])&&null!=(_attrs$key$image=_attrs$key.image)&&null!=(_attrs$key$image$imag=_attrs$key$image.image)&&_attrs$key$image$imag.type&&(attrs[key].image.image.url=(null!=(_attrs$key$image$imag2=null==(_attrs$key$image$imag3=attrs[key].image.image)?void 0:_attrs$key$image$imag3.local)?_attrs$key$image$imag2:"")||(null!=(_attrs$key$image$imag4=null==(_attrs$key$image$imag5=attrs[key].image.image)?void 0:_attrs$key$image$imag5.external)?_attrs$key$image$imag4:""),delete attrs[key].image.image.type,null!=(_attrs$key$image$imag6=attrs[key].image.image)&&delete _attrs$key$image$imag6.local,null!=(_attrs$key$image$imag7=attrs[key].image.image)&&delete _attrs$key$image$imag7.external)}}catch(err){_iterator.e(err)}finally{_iterator.f()}}return attrs}),scope_namespaceObject()(function(){var timeout,unsubscribe;"widgets"!==window.pagenow&&"customize"!==window.pagenow&&(unsubscribe=(timeout=null,external_wp_data_namespaceObject.subscribe)(function(){var wrapper,toolbar=document.querySelector(".edit-post-header-toolbar");toolbar&&((wrapper=document.createElement("div")).classList.add("blockart-library-button-wrapper"),toolbar.querySelector(".blockart-library-button-wrapper")||((0,external_wp_element_namespaceObject.render)(React.createElement(ImportButton,null),wrapper),toolbar.appendChild(wrapper)),timeout&&clearTimeout(timeout),timeout=setTimeout(function(){document.querySelector(".blockart-import-button-wrapper")&&unsubscribe()},0))}))}),(0,external_wp_blocks_namespaceObject.updateCategory)("blockart",{icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 22H2V2h20zM3 21h18V3H3z",fill:"#0369fc"}),React.createElement("path",{d:"M13.46 10l-1.39-5-1.39 5zm.92 3H9.77l-1 4.46V19h6.4v-1.52z",fill:"#005cff",fillRule:"evenodd"}))}),(0,external_wp_data_namespaceObject.subscribe)(function(){var isSavingPost,isAutosavingPost,_select;(0,external_wp_data_namespaceObject.select)("core/editor")&&(isSavingPost=(_select=(0,external_wp_data_namespaceObject.select)("core/editor")).isSavingPost,isAutosavingPost=_select.isAutosavingPost,!((_select=_select.isSavingNonPostEntityChanges)&&_select()||isSavingPost())||isAutosavingPost()||isSavingCSS||(isSavingCSS=!0,save_frontend_css().finally(function(){isSavingCSS=!1}))),null!=(_select=(0,external_wp_data_namespaceObject.select)("core/edit-widgets"))&&_select.isSavingWidgetAreas()&&!isSavingWidgetsCSS&&(isSavingWidgetsCSS=!0,save_frontend_css(!0).finally(function(){isSavingWidgetsCSS=!1}))}),"customize"===(null==(index_parse_namespaceObject=window)?void 0:index_parse_namespaceObject.pagenow)&&null!=(index_parse_namespaceObject=wp)&&index_parse_namespaceObject.customize&&wp.customize.bind("saved",function(){return save_frontend_css(!0)}),new Promise(function(resolve){subscribeOnceWhen(isBlocksLoaded,function(){recoverBlocks(),setTimeout(function(){return resolve()},200)})}).then(function(){})},4184:(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;
|
||
/*!
|
||
Copyright (c) 2018 Jed Watson.
|
||
Licensed under the MIT License (MIT), see
|
||
http://jedwatson.github.io/classnames
|
||
*/
|
||
!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(arg){var inner,argType=typeof arg;if("string"==argType||"number"==argType)classes.push(arg);else if(Array.isArray(arg))!arg.length||(inner=classNames.apply(null,arg))&&classes.push(inner);else if("object"==argType)if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?module.exports=classNames.default=classNames:void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,[]))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},8552:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(852)(__webpack_require__(5639),"DataView");module.exports=__webpack_require__},1989:(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__(1789),hashDelete=__webpack_require__(401),hashGet=__webpack_require__(7667),hashHas=__webpack_require__(1327),__webpack_require__=__webpack_require__(1866);function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=__webpack_require__,module.exports=Hash},8407:(module,__unused_webpack_exports,__webpack_require__)=>{var listCacheClear=__webpack_require__(7040),listCacheDelete=__webpack_require__(4125),listCacheGet=__webpack_require__(2117),listCacheHas=__webpack_require__(7518),__webpack_require__=__webpack_require__(4705);function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=__webpack_require__,module.exports=ListCache},7071:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(852)(__webpack_require__(5639),"Map");module.exports=__webpack_require__},3369:(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__(4785),mapCacheDelete=__webpack_require__(1285),mapCacheGet=__webpack_require__(6e3),mapCacheHas=__webpack_require__(9916),__webpack_require__=__webpack_require__(5265);function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=__webpack_require__,module.exports=MapCache},3818:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(852)(__webpack_require__(5639),"Promise");module.exports=__webpack_require__},8525:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(852)(__webpack_require__(5639),"Set");module.exports=__webpack_require__},8668:(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__(3369),setCacheAdd=__webpack_require__(619),__webpack_require__=__webpack_require__(2385);function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=__webpack_require__,module.exports=SetCache},6384:(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__(8407),stackClear=__webpack_require__(7465),stackDelete=__webpack_require__(3779),stackGet=__webpack_require__(7599),stackHas=__webpack_require__(4758),__webpack_require__=__webpack_require__(4309);function Stack(entries){entries=this.__data__=new ListCache(entries);this.size=entries.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=__webpack_require__,module.exports=Stack},2705:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(5639).Symbol;module.exports=__webpack_require__},1149:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(5639).Uint8Array;module.exports=__webpack_require__},577:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(852)(__webpack_require__(5639),"WeakMap");module.exports=__webpack_require__},4963:module=>{module.exports=function(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}},4636:(module,__unused_webpack_exports,__webpack_require__)=>{var baseTimes=__webpack_require__(2545),isArguments=__webpack_require__(5694),isArray=__webpack_require__(1469),isBuffer=__webpack_require__(4144),isIndex=__webpack_require__(5776),isTypedArray=__webpack_require__(6719),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function(value,inherited){var key,isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},2488:module=>{module.exports=function(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}},2908:module=>{module.exports=function(array,predicate){for(var index=-1,length=null==array?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}},8470:(module,__unused_webpack_exports,__webpack_require__)=>{var eq=__webpack_require__(7813);module.exports=function(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},8866:(module,__unused_webpack_exports,__webpack_require__)=>{var arrayPush=__webpack_require__(2488),isArray=__webpack_require__(1469);module.exports=function(object,keysFunc,symbolsFunc){return keysFunc=keysFunc(object),isArray(object)?keysFunc:arrayPush(keysFunc,symbolsFunc(object))}},4239:(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__(2705),getRawTag=__webpack_require__(9607),objectToString=__webpack_require__(2333),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":(symToStringTag&&symToStringTag in Object(value)?getRawTag:objectToString)(value)}},9454:(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__(4239),isObjectLike=__webpack_require__(7005);module.exports=function(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},939:(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__(2492),isObjectLike=__webpack_require__(7005);module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},2492:(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__(6384),equalArrays=__webpack_require__(7114),equalByTag=__webpack_require__(8351),equalObjects=__webpack_require__(6096),getTag=__webpack_require__(4160),isArray=__webpack_require__(1469),isBuffer=__webpack_require__(4144),isTypedArray=__webpack_require__(6719),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othIsArr=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othIsArr="[object Arguments]"==othIsArr?objectTag:othIsArr)==objectTag;if((othIsArr=objTag==othIsArr)&&isBuffer(object)){if(!isBuffer(other))return!1;objIsObj=!(objIsArr=!0)}if(othIsArr&&!objIsObj)return stack=stack||new Stack,objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){objIsArr=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),objTag=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsArr||objTag)return equalFunc(objIsArr?object.value():object,objTag?other.value():other,bitmask,customizer,stack=stack||new Stack)}return!!othIsArr&&(stack=stack||new Stack,equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},8458:(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__(3560),isMasked=__webpack_require__(5346),isObject=__webpack_require__(3218),toSource=__webpack_require__(346),reIsHostCtor=/^\[object .+?Constructor\]$/,__webpack_require__=Function.prototype,objectProto=Object.prototype,__webpack_require__=__webpack_require__.toString,objectProto=objectProto.hasOwnProperty,reIsNative=RegExp("^"+__webpack_require__.call(objectProto).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},8749:(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__(4239),isLength=__webpack_require__(1780),isObjectLike=__webpack_require__(7005),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},280:(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__(5726),nativeKeys=__webpack_require__(6916),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function(object){if(!isPrototype(object))return nativeKeys(object);var key,result=[];for(key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},2545:module=>{module.exports=function(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}},1717:module=>{module.exports=function(func){return function(value){return func(value)}}},4757:module=>{module.exports=function(cache,key){return cache.has(key)}},4429:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(5639)["__core-js_shared__"];module.exports=__webpack_require__},7114:(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__(8668),arraySome=__webpack_require__(2908),cacheHas=__webpack_require__(4757);module.exports=function(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&arrLength<othLength))return!1;var othLength=stack.get(array),othStacked=stack.get(other);if(othLength&&othStacked)return othLength==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var compared,arrValue=array[index],othValue=other[index];if(void 0!==(compared=customizer?isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack):compared)){if(compared)continue;result=!1;break}if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(arrValue!==othValue&&!equalFunc(arrValue,othValue,bitmask,customizer,stack)){result=!1;break}}return stack.delete(array),stack.delete(other),result}},8351:(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__(2705),Uint8Array=__webpack_require__(1149),eq=__webpack_require__(7813),equalArrays=__webpack_require__(7114),mapToArray=__webpack_require__(8776),setToArray=__webpack_require__(1814),__webpack_require__=Symbol?Symbol.prototype:void 0,symbolValueOf=__webpack_require__?__webpack_require__.valueOf:void 0;module.exports=function(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return object.byteLength==other.byteLength&&equalFunc(new Uint8Array(object),new Uint8Array(other))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":convert=convert||setToArray;if(object.size!=other.size&&!(1&bitmask))return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);stacked=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),stacked;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},6096:(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__(8234),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;for(var result=!0,skipCtor=(stack.set(object,other),stack.set(other,object),isPartial);++index<objLength;){var compared,objValue=object[key=objProps[index]],othValue=other[key];if(!(void 0===(compared=customizer?isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack):compared)?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor=skipCtor||"constructor"==key}return result&&!skipCtor&&(objStacked=object.constructor)!=(othStacked=other.constructor)&&"constructor"in object&&"constructor"in other&&!("function"==typeof objStacked&&objStacked instanceof objStacked&&"function"==typeof othStacked&&othStacked instanceof othStacked)&&(result=!1),stack.delete(object),stack.delete(other),result}},1957:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=__webpack_require__},8234:(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__(8866),getSymbols=__webpack_require__(9551),keys=__webpack_require__(3674);module.exports=function(object){return baseGetAllKeys(object,keys,getSymbols)}},5050:(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__(7019);module.exports=function(map,key){return map=map.__data__,isKeyable(key)?map["string"==typeof key?"string":"hash"]:map.map}},852:(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__(8458),getValue=__webpack_require__(7801);module.exports=function(object,key){return object=getValue(object,key),baseIsNative(object)?object:void 0}},9607:(module,__unused_webpack_exports,__webpack_require__)=>{var __webpack_require__=__webpack_require__(2705),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=__webpack_require__?__webpack_require__.toStringTag:void 0;module.exports=function(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{var unmasked=!(value[symToStringTag]=void 0)}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},9551:(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__(4963),__webpack_require__=__webpack_require__(479),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols;module.exports=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable.call(object,symbol)}))}:__webpack_require__},4160:(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__(8552),Map=__webpack_require__(7071),Promise=__webpack_require__(3818),Set=__webpack_require__(8525),WeakMap=__webpack_require__(577),baseGetTag=__webpack_require__(4239),toSource=__webpack_require__(346),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),__webpack_require__=baseGetTag;(DataView&&"[object DataView]"!=__webpack_require__(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=__webpack_require__(new Map)||Promise&&"[object Promise]"!=__webpack_require__(Promise.resolve())||Set&&"[object Set]"!=__webpack_require__(new Set)||WeakMap&&"[object WeakMap]"!=__webpack_require__(new WeakMap))&&(__webpack_require__=function(value){var result=baseGetTag(value),value="[object Object]"==result?value.constructor:void 0,value=value?toSource(value):"";if(value)switch(value){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=__webpack_require__},7801:module=>{module.exports=function(object,key){return null==object?void 0:object[key]}},1789:(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__(4536);module.exports=function(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},401:module=>{module.exports=function(key){return key=this.has(key)&&delete this.__data__[key],this.size-=key?1:0,key}},7667:(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__(4536),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function(key){var result,data=this.__data__;return nativeCreate?"__lodash_hash_undefined__"===(result=data[key])?void 0:result:hasOwnProperty.call(data,key)?data[key]:void 0}},1327:(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__(4536),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},1866:(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__(4536);module.exports=function(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},5776:module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&-1<value&&value%1==0&&value<length}},7019:module=>{module.exports=function(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},5346:(module,__unused_webpack_exports,__webpack_require__)=>{var __webpack_require__=__webpack_require__(4429),maskSrcKey=(__webpack_require__=/[^.]+$/.exec(__webpack_require__&&__webpack_require__.keys&&__webpack_require__.keys.IE_PROTO||""))?"Symbol(src)_1."+__webpack_require__:"";module.exports=function(func){return!!maskSrcKey&&maskSrcKey in func}},5726:module=>{var objectProto=Object.prototype;module.exports=function(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},7040:module=>{module.exports=function(){this.__data__=[],this.size=0}},4125:(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__(8470),splice=Array.prototype.splice;module.exports=function(key){var data=this.__data__;return!((key=assocIndexOf(data,key))<0)&&(key==data.length-1?data.pop():splice.call(data,key,1),--this.size,!0)}},2117:(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__(8470);module.exports=function(key){var data=this.__data__;return(key=assocIndexOf(data,key))<0?void 0:data[key][1]}},7518:(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__(8470);module.exports=function(key){return-1<assocIndexOf(this.__data__,key)}},4705:(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__(8470);module.exports=function(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},4785:(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__(1989),ListCache=__webpack_require__(8407),Map=__webpack_require__(7071);module.exports=function(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},1285:(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__(5050);module.exports=function(key){return key=getMapData(this,key).delete(key),this.size-=key?1:0,key}},6e3:(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__(5050);module.exports=function(key){return getMapData(this,key).get(key)}},9916:(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__(5050);module.exports=function(key){return getMapData(this,key).has(key)}},5265:(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__(5050);module.exports=function(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},8776:module=>{module.exports=function(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}},4536:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(852)(Object,"create");module.exports=__webpack_require__},6916:(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__=__webpack_require__(5569)(Object.keys,Object);module.exports=__webpack_require__},1167:(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var __webpack_require__=__webpack_require__(1957),exports=exports&&!exports.nodeType&&exports,freeModule=exports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===exports&&__webpack_require__.process,exports=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types?types:freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=exports},2333:module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function(value){return nativeObjectToString.call(value)}},5569:module=>{module.exports=function(func,transform){return function(arg){return func(transform(arg))}}},5639:(module,__unused_webpack_exports,__webpack_require__)=>{var __webpack_require__=__webpack_require__(1957),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,__webpack_require__=__webpack_require__||freeSelf||Function("return this")();module.exports=__webpack_require__},619:module=>{module.exports=function(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},2385:module=>{module.exports=function(value){return this.__data__.has(value)}},1814:module=>{module.exports=function(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}},7465:(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__(8407);module.exports=function(){this.__data__=new ListCache,this.size=0}},3779:module=>{module.exports=function(key){var data=this.__data__,key=data.delete(key);return this.size=data.size,key}},7599:module=>{module.exports=function(key){return this.__data__.get(key)}},4758:module=>{module.exports=function(key){return this.__data__.has(key)}},4309:(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__(8407),Map=__webpack_require__(7071),MapCache=__webpack_require__(3369);module.exports=function(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},346:module=>{var funcToString=Function.prototype.toString;module.exports=function(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},7813:module=>{module.exports=function(value,other){return value===other||value!=value&&other!=other}},5694:(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__(9454),isObjectLike=__webpack_require__(7005),__webpack_require__=Object.prototype,hasOwnProperty=__webpack_require__.hasOwnProperty,propertyIsEnumerable=__webpack_require__.propertyIsEnumerable,__webpack_require__=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=__webpack_require__},1469:module=>{var isArray=Array.isArray;module.exports=isArray},8612:(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__(3560),isLength=__webpack_require__(1780);module.exports=function(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},4144:(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__(5639),__webpack_require__=__webpack_require__(5062),exports=exports&&!exports.nodeType&&exports,freeModule=exports&&module&&!module.nodeType&&module,freeModule=freeModule&&freeModule.exports===exports?root.Buffer:void 0,exports=freeModule?freeModule.isBuffer:void 0;module.exports=exports||__webpack_require__},8446:(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__(939);module.exports=function(value,other){return baseIsEqual(value,other)}},3560:(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__(4239),isObject=__webpack_require__(3218);module.exports=function(value){return!!isObject(value)&&("[object Function]"==(value=baseGetTag(value))||"[object GeneratorFunction]"==value||"[object AsyncFunction]"==value||"[object Proxy]"==value)}},1780:module=>{module.exports=function(value){return"number"==typeof value&&-1<value&&value%1==0&&value<=9007199254740991}},3218:module=>{module.exports=function(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},7005:module=>{module.exports=function(value){return null!=value&&"object"==typeof value}},6719:(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__(8749),baseUnary=__webpack_require__(1717),__webpack_require__=__webpack_require__(1167),__webpack_require__=__webpack_require__&&__webpack_require__.isTypedArray,baseUnary=__webpack_require__?baseUnary(__webpack_require__):baseIsTypedArray;module.exports=baseUnary},3674:(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__(4636),baseKeys=__webpack_require__(280),isArrayLike=__webpack_require__(8612);module.exports=function(object){return(isArrayLike(object)?arrayLikeKeys:baseKeys)(object)}},479:module=>{module.exports=function(){return[]}},5062:module=>{module.exports=function(){return!1}},9921:(__unused_webpack_module,exports)=>{"use strict";var b="function"==typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,r=(b&&Symbol.for("react.suspense_list"),b?Symbol.for("react.memo"):60115),t=b?Symbol.for("react.lazy"):60116;
|
||
/** @license React v16.13.1
|
||
* react-is.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/b&&Symbol.for("react.block"),b&&Symbol.for("react.fundamental"),b&&Symbol.for("react.responder"),b&&Symbol.for("react.scope");function z(a){if("object"==typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}exports.isFragment=function(a){return z(a)===e},exports.isMemo=function(a){return z(a)===r}},9864:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__(9921)},3086:(__unused_webpack_module,exports,__webpack_require__)=>{var util=__webpack_require__(5305),has=Object.prototype.hasOwnProperty,hasNativeMap="undefined"!=typeof Map;function ArraySet(){this._array=[],this._set=hasNativeMap?new Map:Object.create(null)}ArraySet.fromArray=function(aArray,aAllowDuplicates){for(var set=new ArraySet,i=0,len=aArray.length;i<len;i++)set.add(aArray[i],aAllowDuplicates);return set},ArraySet.prototype.size=function(){return hasNativeMap?this._set.size:Object.getOwnPropertyNames(this._set).length},ArraySet.prototype.add=function(aStr,aAllowDuplicates){var sStr=hasNativeMap?aStr:util.toSetString(aStr),isDuplicate=hasNativeMap?this.has(aStr):has.call(this._set,sStr),idx=this._array.length;isDuplicate&&!aAllowDuplicates||this._array.push(aStr),isDuplicate||(hasNativeMap?this._set.set(aStr,idx):this._set[sStr]=idx)},ArraySet.prototype.has=function(aStr){return hasNativeMap?this._set.has(aStr):(aStr=util.toSetString(aStr),has.call(this._set,aStr))},ArraySet.prototype.indexOf=function(aStr){if(hasNativeMap){var idx=this._set.get(aStr);if(0<=idx)return idx}else{idx=util.toSetString(aStr);if(has.call(this._set,idx))return this._set[idx]}throw new Error('"'+aStr+'" is not in the set.')},ArraySet.prototype.at=function(aIdx){if(0<=aIdx&&aIdx<this._array.length)return this._array[aIdx];throw new Error("No element indexed by "+aIdx)},ArraySet.prototype.toArray=function(){return this._array.slice()},exports.I=ArraySet},4520:(__unused_webpack_module,exports,__webpack_require__)=>{var base64=__webpack_require__(3167);exports.encode=function(aValue){for(var digit,encoded="",vlq=function(aValue){return aValue<0?1+(-aValue<<1):aValue<<1}(aValue);digit=31&vlq,0<(vlq>>>=5)&&(digit|=32),encoded+=base64.encode(digit),0<vlq;);return encoded},exports.decode=function(aStr,aIndex,aOutParam){var continuation,digit,shifted,strLen=aStr.length,result=0,shift=0;do{if(strLen<=aIndex)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(digit=base64.decode(aStr.charCodeAt(aIndex++))))throw new Error("Invalid base64 digit: "+aStr.charAt(aIndex-1))}while(continuation=!!(32&digit),result+=(digit&=31)<<shift,shift+=5,continuation);aOutParam.value=(shifted=result>>1,1==(1&result)?-shifted:shifted),aOutParam.rest=aIndex}},3167:(__unused_webpack_module,exports)=>{var intToCharMap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");exports.encode=function(number){if(0<=number&&number<intToCharMap.length)return intToCharMap[number];throw new TypeError("Must be between 0 and 63: "+number)},exports.decode=function(charCode){return 65<=charCode&&charCode<=90?charCode-65:97<=charCode&&charCode<=122?charCode-97+26:48<=charCode&&charCode<=57?charCode-48+52:43==charCode?62:47==charCode?63:-1}},4688:(__unused_webpack_module,exports,__webpack_require__)=>{var util=__webpack_require__(5305);function MappingList(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function(aCallback,aThisArg){this._array.forEach(aCallback,aThisArg)},MappingList.prototype.add=function(aMapping){var mappingA,mappingB,lineA,lineB,columnA,columnB;mappingA=this._last,mappingB=aMapping,lineA=mappingA.generatedLine,lineB=mappingB.generatedLine,columnA=mappingA.generatedColumn,columnB=mappingB.generatedColumn,lineA<lineB||lineB==lineA&&columnA<=columnB||util.compareByGeneratedPositionsInflated(mappingA,mappingB)<=0?this._last=aMapping:this._sorted=!1,this._array.push(aMapping)},MappingList.prototype.toArray=function(){return this._sorted||(this._array.sort(util.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},exports.H=MappingList},4508:(__unused_webpack_module,exports,__webpack_require__)=>{var base64VLQ=__webpack_require__(4520),util=__webpack_require__(5305),ArraySet=__webpack_require__(3086).I,MappingList=__webpack_require__(4688).H;function SourceMapGenerator(aArgs){this._file=util.getArg(aArgs=aArgs||{},"file",null),this._sourceRoot=util.getArg(aArgs,"sourceRoot",null),this._skipValidation=util.getArg(aArgs,"skipValidation",!1),this._sources=new ArraySet,this._names=new ArraySet,this._mappings=new MappingList,this._sourcesContents=null}SourceMapGenerator.prototype._version=3,SourceMapGenerator.fromSourceMap=function(aSourceMapConsumer){var sourceRoot=aSourceMapConsumer.sourceRoot,generator=new SourceMapGenerator({file:aSourceMapConsumer.file,sourceRoot:sourceRoot});return aSourceMapConsumer.eachMapping(function(mapping){var newMapping={generated:{line:mapping.generatedLine,column:mapping.generatedColumn}};null!=mapping.source&&(newMapping.source=mapping.source,null!=sourceRoot&&(newMapping.source=util.relative(sourceRoot,newMapping.source)),newMapping.original={line:mapping.originalLine,column:mapping.originalColumn},null!=mapping.name&&(newMapping.name=mapping.name)),generator.addMapping(newMapping)}),aSourceMapConsumer.sources.forEach(function(sourceFile){var sourceRelative=sourceFile,sourceRelative=(null!==sourceRoot&&(sourceRelative=util.relative(sourceRoot,sourceFile)),generator._sources.has(sourceRelative)||generator._sources.add(sourceRelative),aSourceMapConsumer.sourceContentFor(sourceFile));null!=sourceRelative&&generator.setSourceContent(sourceFile,sourceRelative)}),generator},SourceMapGenerator.prototype.addMapping=function(aArgs){var generated=util.getArg(aArgs,"generated"),original=util.getArg(aArgs,"original",null),source=util.getArg(aArgs,"source",null),aArgs=util.getArg(aArgs,"name",null);this._skipValidation||this._validateMapping(generated,original,source,aArgs),null!=source&&(source=String(source),this._sources.has(source)||this._sources.add(source)),null!=aArgs&&(aArgs=String(aArgs),this._names.has(aArgs)||this._names.add(aArgs)),this._mappings.add({generatedLine:generated.line,generatedColumn:generated.column,originalLine:null!=original&&original.line,originalColumn:null!=original&&original.column,source:source,name:aArgs})},SourceMapGenerator.prototype.setSourceContent=function(aSourceFile,aSourceContent){null!=this._sourceRoot&&(aSourceFile=util.relative(this._sourceRoot,aSourceFile)),null!=aSourceContent?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[util.toSetString(aSourceFile)]=aSourceContent):this._sourcesContents&&(delete this._sourcesContents[util.toSetString(aSourceFile)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},SourceMapGenerator.prototype.applySourceMap=function(aSourceMapConsumer,aSourceFile,aSourceMapPath){var sourceFile=aSourceFile;if(null==aSourceFile){if(null==aSourceMapConsumer.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');sourceFile=aSourceMapConsumer.file}var sourceRoot=this._sourceRoot,newSources=(null!=sourceRoot&&(sourceFile=util.relative(sourceRoot,sourceFile)),new ArraySet),newNames=new ArraySet;this._mappings.unsortedForEach(function(mapping){mapping.source===sourceFile&&null!=mapping.originalLine&&null!=(original=aSourceMapConsumer.originalPositionFor({line:mapping.originalLine,column:mapping.originalColumn})).source&&(mapping.source=original.source,null!=aSourceMapPath&&(mapping.source=util.join(aSourceMapPath,mapping.source)),null!=sourceRoot&&(mapping.source=util.relative(sourceRoot,mapping.source)),mapping.originalLine=original.line,mapping.originalColumn=original.column,null!=original.name&&(mapping.name=original.name));var original=mapping.source,original=(null==original||newSources.has(original)||newSources.add(original),mapping.name);null==original||newNames.has(original)||newNames.add(original)},this),this._sources=newSources,this._names=newNames,aSourceMapConsumer.sources.forEach(function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&(null!=aSourceMapPath&&(sourceFile=util.join(aSourceMapPath,sourceFile)),null!=sourceRoot&&(sourceFile=util.relative(sourceRoot,sourceFile)),this.setSourceContent(sourceFile,content))},this)},SourceMapGenerator.prototype._validateMapping=function(aGenerated,aOriginal,aSource,aName){if(aOriginal&&"number"!=typeof aOriginal.line&&"number"!=typeof aOriginal.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&0<aGenerated.line&&0<=aGenerated.column)||aOriginal||aSource||aName)&&!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aOriginal&&"line"in aOriginal&&"column"in aOriginal&&0<aGenerated.line&&0<=aGenerated.column&&0<aOriginal.line&&0<=aOriginal.column&&aSource))throw new Error("Invalid mapping: "+JSON.stringify({generated:aGenerated,source:aSource,original:aOriginal,name:aName}))},SourceMapGenerator.prototype._serializeMappings=function(){for(var next,mapping,sourceIdx,previousGeneratedColumn=0,previousGeneratedLine=1,previousOriginalColumn=0,previousOriginalLine=0,previousName=0,previousSource=0,result="",mappings=this._mappings.toArray(),i=0,len=mappings.length;i<len;i++){if(next="",(mapping=mappings[i]).generatedLine!==previousGeneratedLine)for(previousGeneratedColumn=0;mapping.generatedLine!==previousGeneratedLine;)next+=";",previousGeneratedLine++;else if(0<i){if(!util.compareByGeneratedPositionsInflated(mapping,mappings[i-1]))continue;next+=","}next+=base64VLQ.encode(mapping.generatedColumn-previousGeneratedColumn),previousGeneratedColumn=mapping.generatedColumn,null!=mapping.source&&(sourceIdx=this._sources.indexOf(mapping.source),next+=base64VLQ.encode(sourceIdx-previousSource),previousSource=sourceIdx,next+=base64VLQ.encode(mapping.originalLine-1-previousOriginalLine),previousOriginalLine=mapping.originalLine-1,next+=base64VLQ.encode(mapping.originalColumn-previousOriginalColumn),previousOriginalColumn=mapping.originalColumn,null!=mapping.name&&(sourceIdx=this._names.indexOf(mapping.name),next+=base64VLQ.encode(sourceIdx-previousName),previousName=sourceIdx)),result+=next}return result},SourceMapGenerator.prototype._generateSourcesContent=function(aSources,aSourceRoot){return aSources.map(function(source){if(!this._sourcesContents)return null;null!=aSourceRoot&&(source=util.relative(aSourceRoot,source));source=util.toSetString(source);return Object.prototype.hasOwnProperty.call(this._sourcesContents,source)?this._sourcesContents[source]:null},this)},SourceMapGenerator.prototype.toJSON=function(){var map={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(map.file=this._file),null!=this._sourceRoot&&(map.sourceRoot=this._sourceRoot),this._sourcesContents&&(map.sourcesContent=this._generateSourcesContent(map.sources,map.sourceRoot)),map},SourceMapGenerator.prototype.toString=function(){return JSON.stringify(this.toJSON())},exports.h=SourceMapGenerator},5305:(__unused_webpack_module,exports)=>{exports.getArg=function(aArgs,aName,aDefaultValue){if(aName in aArgs)return aArgs[aName];if(3===arguments.length)return aDefaultValue;throw new Error('"'+aName+'" is a required argument.')};var urlRegexp=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,dataUrlRegexp=/^data:.+\,.+$/;function urlParse(aUrl){aUrl=aUrl.match(urlRegexp);return aUrl?{scheme:aUrl[1],auth:aUrl[2],host:aUrl[3],port:aUrl[4],path:aUrl[5]}:null}function urlGenerate(aParsedUrl){var url="";return aParsedUrl.scheme&&(url+=aParsedUrl.scheme+":"),url+="//",aParsedUrl.auth&&(url+=aParsedUrl.auth+"@"),aParsedUrl.host&&(url+=aParsedUrl.host),aParsedUrl.port&&(url+=":"+aParsedUrl.port),aParsedUrl.path&&(url+=aParsedUrl.path),url}exports.urlParse=urlParse,exports.urlGenerate=urlGenerate;f=function(aPath){var path=aPath,url=urlParse(aPath);if(url){if(!url.path)return aPath;path=url.path}for(var start,aPath=exports.isAbsolute(path),parts=[],i=0;;){if(start=i,-1===(i=path.indexOf("/",start))){parts.push(path.slice(start));break}for(parts.push(path.slice(start,i));i<path.length&&"/"===path[i];)i++}for(var part,up=0,i=parts.length-1;0<=i;i--)"."===(part=parts[i])?parts.splice(i,1):".."===part?up++:0<up&&(""===part?(parts.splice(i+1,up),up=0):(parts.splice(i,2),up--));return""===(path=parts.join("/"))&&(path=aPath?"/":"."),url?(url.path=path,urlGenerate(url)):path},cache=[];var f,cache,normalize=function(input){for(var temp,i=0;i<cache.length;i++)if(cache[i].input===input)return temp=cache[0],cache[0]=cache[i],cache[i]=temp,cache[0].result;var result=f(input);return cache.unshift({input:input,result:result}),32<cache.length&&cache.pop(),result};function join(aRoot,aPath){""===aRoot&&(aRoot=".");var aPathUrl=urlParse(aPath=""===aPath?".":aPath),aRootUrl=urlParse(aRoot);return aRootUrl&&(aRoot=aRootUrl.path||"/"),aPathUrl&&!aPathUrl.scheme?(aRootUrl&&(aPathUrl.scheme=aRootUrl.scheme),urlGenerate(aPathUrl)):aPathUrl||aPath.match(dataUrlRegexp)?aPath:!aRootUrl||aRootUrl.host||aRootUrl.path?(aPathUrl="/"===aPath.charAt(0)?aPath:normalize(aRoot.replace(/\/+$/,"")+"/"+aPath),aRootUrl?(aRootUrl.path=aPathUrl,urlGenerate(aRootUrl)):aPathUrl):(aRootUrl.host=aPath,urlGenerate(aRootUrl))}exports.normalize=normalize,exports.join=join,exports.isAbsolute=function(aPath){return"/"===aPath.charAt(0)||urlRegexp.test(aPath)},exports.relative=function(aRoot,aPath){aRoot=(aRoot=""===aRoot?".":aRoot).replace(/\/$/,"");for(var level=0;0!==aPath.indexOf(aRoot+"/");){var index=aRoot.lastIndexOf("/");if(index<0)return aPath;if((aRoot=aRoot.slice(0,index)).match(/^([^\/]+:\/)?\/*$/))return aPath;++level}return Array(level+1).join("../")+aPath.substr(aRoot.length+1)};var supportsNullProto=!("__proto__"in Object.create(null));function identity(s){return s}function isProtoString(s){if(s){var length=s.length;if(!(length<9)&&95===s.charCodeAt(length-1)&&95===s.charCodeAt(length-2)&&111===s.charCodeAt(length-3)&&116===s.charCodeAt(length-4)&&111===s.charCodeAt(length-5)&&114===s.charCodeAt(length-6)&&112===s.charCodeAt(length-7)&&95===s.charCodeAt(length-8)&&95===s.charCodeAt(length-9)){for(var i=length-10;0<=i;i--)if(36!==s.charCodeAt(i))return;return 1}}}function strcmp(aStr1,aStr2){return aStr1===aStr2?0:null===aStr1||null!==aStr2&&aStr2<aStr1?1:-1}exports.toSetString=supportsNullProto?identity:function(aStr){return isProtoString(aStr)?"$"+aStr:aStr},exports.fromSetString=supportsNullProto?identity:function(aStr){return isProtoString(aStr)?aStr.slice(1):aStr},exports.compareByOriginalPositions=function(mappingA,mappingB,onlyCompareOriginal){var cmp=strcmp(mappingA.source,mappingB.source);return 0!==cmp||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)||onlyCompareOriginal||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=mappingA.generatedLine-mappingB.generatedLine)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByOriginalPositionsNoSource=function(mappingA,mappingB,onlyCompareOriginal){var cmp=mappingA.originalLine-mappingB.originalLine;return 0!==cmp||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)||onlyCompareOriginal||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=mappingA.generatedLine-mappingB.generatedLine)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsDeflated=function(mappingA,mappingB,onlyCompareGenerated){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||onlyCompareGenerated||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsDeflatedNoLine=function(mappingA,mappingB,onlyCompareGenerated){var cmp=mappingA.generatedColumn-mappingB.generatedColumn;return 0!==cmp||onlyCompareGenerated||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsInflated=function(mappingA,mappingB){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.parseSourceMapInput=function(str){return JSON.parse(str.replace(/^\)]}'[^\n]*\n/,""))},exports.computeSourceURL=function(sourceRoot,sourceURL,sourceMapURL){if(sourceURL=sourceURL||"",sourceRoot&&("/"!==sourceRoot[sourceRoot.length-1]&&"/"!==sourceURL[0]&&(sourceRoot+="/"),sourceURL=sourceRoot+sourceURL),sourceMapURL){sourceRoot=urlParse(sourceMapURL);if(!sourceRoot)throw new Error("sourceMapURL could not be parsed");!sourceRoot.path||0<=(sourceMapURL=sourceRoot.path.lastIndexOf("/"))&&(sourceRoot.path=sourceRoot.path.substring(0,sourceMapURL+1)),sourceURL=join(urlGenerate(sourceRoot),sourceURL)}return normalize(sourceURL)}}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];return void 0!==cachedModule||(cachedModule=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}},__webpack_modules__[moduleId](cachedModule,cachedModule.exports,__webpack_require__),cachedModule.loaded=!0),cachedModule.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){for(var notFulfilled=1/0,i=0;i<deferred.length;i++){for(var r,[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||priority<=notFulfilled)&&Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));fulfilled&&(deferred.splice(i--,1),void 0!==(r=fn())&&(result=r))}return result}priority=priority||0;for(var i=deferred.length;0<i&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),installedChunks={346:0,812:0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId],webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,result,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);runtime&&(result=runtime(__webpack_require__))}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},(chunkLoadingGlobal=self.webpackChunkblockart_blocks=self.webpackChunkblockart_blocks||[]).forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal));var webpackJsonpCallback=__webpack_require__.O(void 0,[812],()=>__webpack_require__(1756));__webpack_require__.O(webpackJsonpCallback)})(); |