From 1f47892927fefa8c4c3c685a2b57f97e1feea7f2 Mon Sep 17 00:00:00 2001 From: Iftakharul Islam Ifat <88052038+iftakharul-islam@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:39:39 +0600 Subject: [PATCH 01/16] Add contributor --- assets/build/block.asset.php | 2 +- assets/build/block.js | 2 +- assets/build/blocks/Contributors/block.json | 361 ++++++++++ assets/build/blocks/Contributors/render.php | 385 ++++++++++ assets/build/index.asset.php | 2 +- assets/build/index.css | 111 +++ assets/build/style-block.css | 1 + assets/img/demo-avatar/avatar_1.png | Bin 0 -> 43910 bytes assets/img/demo-avatar/avatar_2.png | Bin 0 -> 47752 bytes includes/Assets.php | 1 + includes/Frontend.php | 3 +- src/blocks/Contributors/block.json | 334 +++++++++ .../Contributors/demo-avtar/avatar_1.png | Bin 0 -> 43910 bytes .../Contributors/demo-avtar/avatar_2.png | Bin 0 -> 47752 bytes src/blocks/Contributors/edit-old.js | 566 +++++++++++++++ src/blocks/Contributors/edit.js | 671 ++++++++++++++++++ src/blocks/Contributors/index.js | 16 + src/blocks/Contributors/render.php | 385 ++++++++++ src/blocks/Contributors/save.js | 11 + src/blocks/Contributors/style.scss | 172 +++++ src/blocks/components/BackgroundControl.js | 112 +++ src/blocks/components/BorderControl.js | 118 +++ src/blocks/components/DimensionControl.js | 62 ++ src/blocks/components/ShadowControl.js | 113 +++ src/blocks/components/SpacingControl.js | 90 +++ src/blocks/components/TabSystem.js | 61 ++ src/blocks/components/TypographyControl.js | 175 +++++ src/blocks/helpers/README.md | 120 ++++ src/blocks/helpers/block-helpers.js | 390 ++++++++++ src/blocks/helpers/block-styles.php | 312 ++++++++ src/blocks/helpers/index.js | 38 + src/blocks/index.js | 1 + webpack.config.js | 1 + wedocs.php | 23 + 34 files changed, 4635 insertions(+), 4 deletions(-) create mode 100644 assets/build/blocks/Contributors/block.json create mode 100644 assets/build/blocks/Contributors/render.php create mode 100644 assets/img/demo-avatar/avatar_1.png create mode 100644 assets/img/demo-avatar/avatar_2.png create mode 100644 src/blocks/Contributors/block.json create mode 100644 src/blocks/Contributors/demo-avtar/avatar_1.png create mode 100644 src/blocks/Contributors/demo-avtar/avatar_2.png create mode 100644 src/blocks/Contributors/edit-old.js create mode 100644 src/blocks/Contributors/edit.js create mode 100644 src/blocks/Contributors/index.js create mode 100644 src/blocks/Contributors/render.php create mode 100644 src/blocks/Contributors/save.js create mode 100644 src/blocks/Contributors/style.scss create mode 100644 src/blocks/components/BackgroundControl.js create mode 100644 src/blocks/components/BorderControl.js create mode 100644 src/blocks/components/DimensionControl.js create mode 100644 src/blocks/components/ShadowControl.js create mode 100644 src/blocks/components/SpacingControl.js create mode 100644 src/blocks/components/TabSystem.js create mode 100644 src/blocks/components/TypographyControl.js create mode 100644 src/blocks/helpers/README.md create mode 100644 src/blocks/helpers/block-helpers.js create mode 100644 src/blocks/helpers/block-styles.php create mode 100644 src/blocks/helpers/index.js diff --git a/assets/build/block.asset.php b/assets/build/block.asset.php index f6e52f74..3ab54296 100644 --- a/assets/build/block.asset.php +++ b/assets/build/block.asset.php @@ -1 +1 @@ - array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5c13835270f8b2070a23'); + array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '7723387275b5701243a5'); diff --git a/assets/build/block.js b/assets/build/block.js index d0bd3679..05c576f5 100644 --- a/assets/build/block.js +++ b/assets/build/block.js @@ -1 +1 @@ -(()=>{"use strict";var e,t={418:(e,t,o)=>{var l=o(609),a=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),n=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,o){var l,d={},s=null,c=null;for(l in void 0!==o&&(s=""+o),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)r.call(t,l)&&!i.hasOwnProperty(l)&&(d[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===d[l]&&(d[l]=t[l]);return{$$typeof:a,type:e,key:s,ref:c,props:d,_owner:n.current}}},706:(e,t,o)=>{e.exports=o(418)},445:(e,t,o)=>{var l=o(609);const a=window.wp.blocks,r=window.wp.i18n,n=window.wp.primitives;var i=o(706);const d=(0,i.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)(n.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})}),s=(0,i.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(n.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})}),c=window.wp.element,u=window.wp.blockEditor,p=window.wp.components,g=({label:e,value:t,unit:o,onValueChange:a,onUnitChange:n})=>(0,l.createElement)(p.Flex,null,(0,l.createElement)(p.FlexBlock,null,(0,l.createElement)(p.TextControl,{label:e,value:parseInt(t),onChange:e=>a(e)})),(0,l.createElement)(p.FlexItem,null,(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Unit","wedocs"),value:o,options:[{label:"px",value:"px"},{label:"%",value:"%"}],onChange:e=>n(e)}))),m=({selected:e,options:t,onChange:o})=>(0,l.createElement)(p.BaseControl,null,(0,l.createElement)("div",{className:"radio-image-control-options"},t.map((t=>(0,l.createElement)("div",{key:t.value,className:"radio-image-option"},(0,l.createElement)("input",{type:"radio",id:`radio-image-${t.value}`,value:t.value,checked:e===t.value,onChange:e=>o(e.target.value)}),(0,l.createElement)("label",{htmlFor:`radio-image-${t.value}`},t.icon&&(0,l.createElement)("i",{className:`dashicons ${t.icon}`}),t.img&&(0,l.createElement)("img",{src:t.img,alt:t.label}),t?.svg)))))),b={hideSearch:{type:"boolean",default:!1},searchWidth:{type:"number",default:50},widthUnit:{type:"string",default:"%"},placeholder:{type:"string",default:(0,r.__)("Search for a top or question","wedocs")},alignment:{type:"string",default:"right"},bgColor:{type:"string",default:"#FFFFFF"},hoverColor:{type:"string",default:"#FFFFFF"},padding:{type:"object",default:{top:14,left:22,right:22,bottom:14}},margin:{type:"object",default:{top:0,left:0,right:0,bottom:0}},borderColor:{type:"string",default:"#cccccc"},borderType:{type:"string",default:"solid"},borderWidth:{type:"number",default:1},borderRadius:{type:"number",default:30},iconColor:{type:"string",default:"#FFFFFF"},iconBgColor:{type:"string",default:"#3b82f6"},iconHoverColor:{type:"string",default:"#2563eb"},svgHoverColor:{type:"string",default:"#FFFFFF"},btnPadding:{type:"object",default:{top:24,left:26,right:26,bottom:24}},btnPosition:{type:"object",default:{top:0,right:0,bottom:10}},btnRadius:{type:"number",default:30}};(0,a.registerBlockType)("wedocs/wedocs-search",{attributes:b,save:({attributes:e})=>{const{margin:t,bgColor:o,padding:a,btnRadius:r,alignment:n,iconColor:i,widthUnit:d,hoverColor:s,borderType:p,hideSearch:g,btnPadding:m,searchWidth:b,btnPosition:h,placeholder:_,borderColor:v,borderWidth:C,iconBgColor:w,borderRadius:f,svgHoverColor:E,iconHoverColor:x}=e;if(g)return;const y={display:"flex",justifyContent:n},B={border:`${C}px ${p} ${v}`,paddingTop:a?.top,paddingLeft:a?.left,paddingRight:a?.right,borderRadius:`${f}px`,paddingBottom:a?.bottom,"--field-color":o,"--field-bg-color":s},S={top:h?.top,left:h?.left,right:h?.right,bottom:h?.bottom,height:"auto",paddingTop:m?.top,paddingLeft:m?.left,borderRadius:r,paddingRight:m?.right,paddingBottom:m?.bottom,"--field-icon-color":i,"--field-btn-bg-color":w,"--field-icon-hover-color":E,"--field-btn-bg-hover-color":x};return(0,l.createElement)(c.Fragment,null,(0,l.createElement)("form",{method:"get",role:"search",action:weDocsBlockVars?.siteUrl,...u.useBlockProps.save({className:"search-form wedocs-search-form"})},(0,l.createElement)("div",{style:y},(0,l.createElement)("div",{className:"wedocs-search-input",style:{width:b+d,marginTop:t?.top,marginLeft:t?.left,marginRight:t?.right,marginBottom:t?.bottom}},(0,l.createElement)("input",{name:"s",type:"search",style:B,className:"search-field",placeholder:_}),(0,l.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,l.createElement)("button",{type:"submit",style:S,className:"search-submit"},(0,l.createElement)("svg",{width:"15",height:"16",fill:"none"},(0,l.createElement)("path",{fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))))))},edit:({attributes:e,setAttributes:t})=>{const o=(0,u.useBlockProps)(),{margin:a,bgColor:n,padding:i,btnRadius:b,alignment:h,iconColor:_,widthUnit:v,hoverColor:C,borderType:w,hideSearch:f,btnPadding:E,searchWidth:x,btnPosition:y,placeholder:B,borderColor:S,borderWidth:k,iconBgColor:F,borderRadius:P,svgHoverColor:R,iconHoverColor:T}=e;console.log("editor panel:",n);const M=[{value:"left",label:(0,r.__)("Align left","wedocs"),svg:(0,l.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"left"===h?"#007cba":"#939494",strokeLinejoin:"round"},(0,l.createElement)("path",{d:"M8 9.462h12m-12 6h6m-10-9v12"}))},{value:"center",label:(0,r.__)("Align center","wedocs"),svg:(0,l.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"center"===h?"#007cba":"#939494",strokeLinejoin:"round"},(0,l.createElement)("path",{d:"M18 9.462H6m8.99 6h-6"}),(0,l.createElement)("path",{d:"M12 6.462v12"}))},{value:"right",label:(0,r.__)("Align right","wedocs"),svg:(0,l.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"right"===h?"#007cba":"#939494",strokeLinejoin:"round"},(0,l.createElement)("path",{d:"M16 9.462H4m12 6h-6m10-9v12"}))}],[N,D]=(0,c.useState)(!1),[O,$]=(0,c.useState)(!1),[L,A]=(0,c.useState)(!1),H={display:"flex",justifyContent:h},j={border:`${k}px ${w} ${S}`,paddingTop:i?.top,background:N?C:n,paddingLeft:i?.left,paddingRight:i?.right,borderRadius:`${P}px`,paddingBottom:i?.bottom},I={top:y?.top,left:y?.left,right:y?.right,bottom:y?.bottom,height:"auto",background:L?T:F,paddingTop:E?.top,paddingLeft:E?.left,borderRadius:b,paddingRight:E?.right,paddingBottom:E?.bottom},V=[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Double","wedocs"),value:"double"},{label:(0,r.__)("Groove","wedocs"),value:"groove"},{label:(0,r.__)("Ridge","wedocs"),value:"ridge"},{label:(0,r.__)("Inset","wedocs"),value:"inset"},{label:(0,r.__)("Outset","wedocs"),value:"outset"},{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Hidden","wedocs"),value:"hidden"}];return(0,l.createElement)(c.Fragment,null,(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(p.PanelBody,null,(0,l.createElement)(p.ToggleControl,{checked:f,className:"wedocs-search-toggle",label:(0,r.__)("Disable Block","wedocs"),onChange:e=>t({hideSearch:e})})),!f&&(0,l.createElement)(c.Fragment,null,(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Color Settings","wedocs"),icon:d,initialOpen:!1,className:"wedocs-search-color-settings"},(0,l.createElement)(u.PanelColorSettings,{colors:[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}],colorSettings:[{value:n,label:(0,r.__)("Field Background Color","wedocs"),onChange:e=>t({bgColor:e})},{value:C,label:(0,r.__)("Field Hover Color","wedocs"),onChange:e=>t({hoverColor:e})},{value:S,label:(0,r.__)("Border Color","wedocs"),onChange:e=>t({borderColor:e})},{value:_,label:(0,r.__)("Icon Color","wedocs"),onChange:e=>t({iconColor:e})},{value:F,label:(0,r.__)("Button Color","wedocs"),onChange:e=>t({iconBgColor:e})},{value:T,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>t({iconHoverColor:e})},{value:R,label:(0,r.__)("Icon Hover Color","wedocs"),onChange:e=>t({svgHoverColor:e})}]})),(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Search Bar Settings","wedocs"),icon:s},(0,l.createElement)(g,{unit:v,value:x,label:(0,r.__)("Field Width","wedocs"),onUnitChange:e=>t({widthUnit:e}),onValueChange:e=>t({searchWidth:e?parseInt(e):0})}),(0,l.createElement)(p.TextControl,{value:B,label:(0,r.__)("Placeholder","wedocs"),placeholder:(0,r.__)("Search bar placeholder","wedocs"),onChange:e=>t({placeholder:e})}),(0,l.createElement)("p",{style:{fontSize:11}},(0,r.__)("POSITION","wedocs")),(0,l.createElement)(m,{selected:h,options:M,onChange:e=>t({alignment:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"14px",left:"22px",right:"22px",bottom:"14px"},values:i,label:(0,r.__)("Field Padding","wedocs"),onChange:e=>t({padding:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",left:"0px",right:"0px",bottom:"0px"},values:a,label:(0,r.__)("Field Margin","wedocs"),onChange:e=>t({margin:e})}),(0,l.createElement)(p.RangeControl,{min:0,max:10,value:k,label:(0,r.__)("Border Width","wedocs"),onChange:e=>t({borderWidth:e})}),(0,l.createElement)(p.RangeControl,{min:0,max:100,value:P,label:(0,r.__)("Border Radius","wedocs"),onChange:e=>t({borderRadius:e})}),(0,l.createElement)(p.SelectControl,{value:w,options:V,label:(0,r.__)("Border Type","wedocs"),onChange:e=>t({borderType:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"24px",left:"26px",right:"26px",bottom:"24px"},values:E,label:(0,r.__)("Button Padding","wedocs"),onChange:e=>t({btnPadding:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",right:"0px",bottom:"10px"},values:y,label:(0,r.__)("Button Margin","wedocs"),onChange:e=>t({btnPosition:e})}),(0,l.createElement)(p.RangeControl,{min:0,max:100,value:b,label:(0,r.__)("Button Radius","wedocs"),onChange:e=>t({btnRadius:e})})))),(0,l.createElement)("div",{...o,style:H},(0,l.createElement)("div",{className:"wedocs-editor-search-input",style:{width:x+v,marginTop:a?.top,marginLeft:a?.left,marginRight:a?.right,marginBottom:a?.bottom}},(0,l.createElement)("input",{readOnly:!0,style:j,className:"search-field",placeholder:B,onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1)}),(0,l.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,l.createElement)("button",{type:"submit",style:I,className:"search-submit",onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1)},(0,l.createElement)("svg",{width:"15",height:"16",fill:"none",onMouseEnter:()=>$(!0),onMouseLeave:()=>$(!1)},(0,l.createElement)("path",{fill:O?R:_,fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))),f&&(0,l.createElement)("div",{className:"backdrop"})))},icon:(0,l.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z",fill:"#111827"})),title:(0,r.__)("weDocs - Searchbar","wedocs"),keywords:["Search","weDocs search bar","Bar"],category:"widgets",description:(0,r.__)("Simple search forms for easy user guidance for your documentation","wedocs")});const h=({attributes:e,setAttributes:t})=>{const o=e=>o=>{t({[e]:o})},a=((0,r.__)("Solid","wedocs"),(0,r.__)("Dashed","wedocs"),(0,r.__)("Dotted","wedocs"),(0,r.__)("None","wedocs"),[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Grid Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,l.createElement)("label",null,(0,r.__)("Colors","wedocs")),(0,l.createElement)(u.PanelColorSettings,{colors:a,colorSettings:[{value:e.docTitleColor,label:(0,r.__)("Doc Title Color","wedocs"),onChange:e=>o("docTitleColor")(e)},{value:e.docChildrenActiveColor,label:(0,r.__)("Doc Children Active Color","wedocs"),onChange:e=>o("docChildrenActiveColor")(e)},{value:e.borderColor,label:(0,r.__)("Border Color","wedocs"),onChange:e=>o("borderColor")(e)}]}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Padding","wedocs"),values:e.gridPadding,onChange:o("gridPadding")}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Margin","wedocs"),values:e.gridMargin,onChange:o("gridMargin")}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Border Type","wedocs"),value:e.borderType,options:[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("None","wedocs"),value:"none"}],onChange:e=>t({borderType:e})}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Border Width","wedocs"),value:e.borderWidth,options:[{label:"0px",value:"0px"},{label:"1px",value:"1px"},{label:"2px",value:"2px"},{label:"3px",value:"3px"},{label:"4px",value:"4px"},{label:"5px",value:"5px"}],onChange:e=>t({borderWidth:e})}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Border Radius","wedocs"),value:e.borderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({borderRadius:e})})),(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Button Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,l.createElement)("label",null,(0,r.__)("Button Colors","wedocs")),(0,l.createElement)(u.PanelColorSettings,{colors:a,colorSettings:[{value:e.buttonColor,label:(0,r.__)("Button Color","wedocs"),onChange:e=>o("buttonColor")(e)},{value:e.buttonHoverColor,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>o("buttonHoverColor")(e)},{value:e.buttonTextColor,label:(0,r.__)("Button Text Color","wedocs"),onChange:e=>o("buttonTextColor")(e)},{value:e.buttonHoverTextColor,label:(0,r.__)("Button Hover Text Color","wedocs"),onChange:e=>o("buttonHoverTextColor")(e)}]}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Padding","wedocs"),values:e.buttonPadding,onChange:o("buttonPadding")}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Margin","wedocs"),values:e.buttonMargin,onChange:o("buttonMargin")}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Button Border Radius","wedocs"),value:e.buttonBorderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({buttonBorderRadius:e})}),(0,l.createElement)("div",{className:"wedocs-color-control"},(0,l.createElement)("label",null,(0,r.__)("Button Text","wedocs")),(0,l.createElement)(p.TextControl,{value:e.buttonText,onChange:o("buttonText")}))))},_=JSON.parse('{"UU":"wedocs/wedocs-docs-grid"}');(0,a.registerBlockType)(_.UU,{edit:({attributes:e,setAttributes:t})=>{const o=(0,u.useBlockProps)(),{useSelect:a}=wp.data,[n,i]=(0,c.useState)(1),[d,g]=(0,c.useState)(!1),{hideDocGrid:m,docStyle:b,docsPerPage:_,excludeDocs:v,order:C,orderBy:w,sectionsPerDoc:f,articlesPerSection:E,showDocArticle:x,keepArticlesCollapsed:y,showViewDetails:B,gridPadding:S,gridMargin:k,docTitleColor:F,docChildrenActiveColor:P,borderType:R,borderRadius:T,borderWidth:M,borderColor:N,buttonBorderRadius:D,buttonPadding:O,buttonMargin:$,buttonColor:L,buttonHoverColor:A,buttonTextColor:H,buttonText:j,buttonHoverTextColor:I}=e,V=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],W=[{label:(0,r.__)("weDocs Order","wedocs"),value:"menu_order"},{label:(0,r.__)("ID","wedocs"),value:"id"},{label:(0,r.__)("Name","wedocs"),value:"title"}],z=[{label:(0,r.__)("Ascending","wedocs"),value:"asc"},{label:(0,r.__)("Descending","wedocs"),value:"desc"}],U=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],{pages:G,sections:Y,articles:Z}=a((e=>{const{getEntityRecords:t}=e("core"),o=t("postType","docs",{status:"publish",per_page:-1,parent:0,orderby:w,order:C}),l=o?t("postType","docs",{status:"publish",parent_in:o.map((e=>e.id)),per_page:-1}):null,a=l?t("postType","docs",{status:"publish",parent_in:l.map((e=>e.id)),per_page:-1}):null;return{pages:o,sections:l,articles:a}}),[w,C]),q=(e=>{if("all"===_)return e;const t=parseInt(_),o=(n-1)*t,l=o+t;return e.slice(o,l)})((()=>{if(!G||!Y||!Z)return[];let e=[...G];return v&&v.length>0&&(e=e.filter((e=>!v.includes(e.id.toString())))),e=e.map((e=>{let t=Y.filter((t=>t.parent===e.id));"all"!==f&&(t=t.slice(0,parseInt(f))),t=t.map((e=>{let t=Z.filter((t=>t.parent===e.id));return"all"!==E&&(t=t.slice(0,parseInt(E))),{...e,articles:t}}));const o=t.reduce(((e,t)=>e+t.articles.length),0);return{...e,sections:t,articleCount:o}})),e})()),J=G?G.reduce(((e,t)=>(e[t.id]=t.title.rendered,e)),{}):{},K=(G&&G.map((e=>({value:e.id.toString(),label:e.title.rendered}))),e=>o=>{t({[e]:o})}),Q=v?v.map((e=>J[e]||e)):[];return(0,l.createElement)(c.Fragment,null,(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Doc Grid Settings","wedocs"),icon:s,initialOpen:!1},(0,l.createElement)(p.SelectControl,{value:b,options:[{label:"1x1",value:"1x1"},{label:"1x2",value:"1x2"}],label:(0,r.__)("DOCS GRID COLUMN STYLE","wedocs"),onChange:K("docStyle")}),(0,l.createElement)(p.SelectControl,{value:_,options:V,label:(0,r.__)("Docs per page","wedocs"),onChange:K("docsPerPage")}),(0,l.createElement)(p.FormTokenField,{value:Q,suggestions:Object.values(J),label:(0,r.__)("Exclude Docs","wedocs"),onChange:e=>{const o=e.map((e=>{const t=Object.entries(J).find((([t,o])=>o===e));return t?t[0]:e}));t({excludeDocs:o})}}),(0,l.createElement)(p.SelectControl,{value:C,options:z,label:(0,r.__)("Order","wedocs"),onChange:K("order")}),(0,l.createElement)(p.SelectControl,{value:w,options:W,label:(0,r.__)("Order by","wedocs"),onChange:K("orderBy")}),(0,l.createElement)(p.SelectControl,{value:f,options:U,label:(0,r.__)("Sections per doc","wedocs"),onChange:K("sectionsPerDoc")}),(0,l.createElement)(p.SelectControl,{value:E,options:U,label:(0,r.__)("Articles per section","wedocs"),onChange:K("articlesPerSection")}),(0,l.createElement)(p.PanelRow,null,(0,l.createElement)(p.ToggleControl,{checked:x,label:(0,r.__)("Show Doc Article","wedocs"),onChange:K("showDocArticle")})),(0,l.createElement)(p.PanelRow,null,(0,l.createElement)(p.ToggleControl,{checked:y,label:(0,r.__)("Keep Article Collapsed","wedocs"),onChange:K("keepArticlesCollapsed")})),(0,l.createElement)(p.PanelRow,null,(0,l.createElement)(p.ToggleControl,{checked:B,label:(0,r.__)("Show View Details Button","wedocs"),onChange:K("showViewDetails")})))),(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(h,{attributes:e,setAttributes:t})),(0,l.createElement)("div",{...o},m?(0,l.createElement)("div",{className:"backdrop"}):(0,l.createElement)("div",{className:"wedocs-block-wrapper"},(0,l.createElement)("div",{className:`wedocs-docs-grid wedocs-docs-grid--${b}`},d?(0,l.createElement)(Spinner,null):q.map((e=>((e,t)=>(0,l.createElement)("div",{key:e.id,className:"wedocs-docs-grid__item",style:t.item},(0,l.createElement)("h3",{className:"wedocs-docs-grid__title",style:t.title},e.title.rendered),((e,t)=>e.sections?(0,l.createElement)("div",{className:"wedocs-docs-grid__sections "+(y?"is-collapsed":"")},e.sections.map((e=>(0,l.createElement)("div",{key:e.id,className:"wedocs-docs-grid__section"},(0,l.createElement)("h4",{className:"wedocs-docs-grid__section-title",style:{...t.title,display:"flex",justifyContent:"space-between",alignItems:"center"}},(0,l.createElement)("span",null,e.title.rendered),x&&e.articles&&e.articles.length>0&&(0,l.createElement)("svg",{fill:"none",viewBox:"0 0 24 24",width:"16",strokeWidth:"2",stroke:"#acb8c4",className:y?"":"active"},(0,l.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"}))),x&&!y&&e.articles&&(0,l.createElement)("ul",{className:"wedocs-docs-grid__articles"},e.articles.map((e=>(0,l.createElement)("li",{key:e.id,className:"wedocs-docs-grid__article",style:t.children},e.title.rendered))))))),0===e.sections.length&&(0,l.createElement)("span",{className:"inside"},(0,l.createElement)("svg",{fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},(0,l.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})),(0,r.__)("This document has no sections yet. Check back later or wait for the author to add content.","wedocs"))):null)(e,t),B&&(0,l.createElement)("div",{className:"wedocs-docs-grid__details"},(0,l.createElement)("span",{className:"wedocs-docs-grid__details-link",style:t.button},t.button.text))))(e,(()=>{const e=S?`${S.top} ${S.right} ${S.bottom} ${S.left}`:"",t=k?`${k.top} ${k.right} ${k.bottom} ${k.left}`:"",o=O?`${O.top} ${O.right} ${O.bottom} ${O.left}`:"",l=D||"8px",a=$?`${$.top} ${$.right} ${$.bottom} ${$.left}`:"";return{item:{padding:e,margin:t,borderStyle:R||"solid",borderWidth:M||"1px",borderColor:N||"rgba(0, 0, 0, 0.1)",borderRadius:T||"8px",backgroundColor:"#fff"},title:{color:F||"#1e1e1e"},children:{color:P||"#0073aa"},button:{padding:o,margin:a,backgroundColor:L||"#0073aa",color:H||"#ffffff",text:j||(0,r.__)("View Details","wedocs"),borderRadius:l||"8px","--hover-bg":A||"#005177","--hover-color":I||"#ffffff"}}})())))))))},save:()=>null})},609:e=>{e.exports=window.React}},o={};function l(e){var a=o[e];if(void 0!==a)return a.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,l),r.exports}l.m=t,e=[],l.O=(t,o,a,r)=>{if(!o){var n=1/0;for(c=0;c=r)&&Object.keys(l.O).every((e=>l.O[e](o[d])))?o.splice(d--,1):(i=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[o,a,r]},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={366:0,337:0};l.O.j=t=>0===e[t];var t=(t,o)=>{var a,r,n=o[0],i=o[1],d=o[2],s=0;if(n.some((t=>0!==e[t]))){for(a in i)l.o(i,a)&&(l.m[a]=i[a]);if(d)var c=d(l)}for(t&&t(o);sl(445)));a=l.O(a)})(); \ No newline at end of file +(()=>{"use strict";var e,t={418:(e,t,a)=>{var o=a(609),l=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),n=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,a){var o,d={},c=null,s=null;for(o in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)r.call(t,o)&&!i.hasOwnProperty(o)&&(d[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===d[o]&&(d[o]=t[o]);return{$$typeof:l,type:e,key:c,ref:s,props:d,_owner:n.current}}},706:(e,t,a)=>{e.exports=a(418)},931:(e,t,a)=>{var o=a(609);const l=window.wp.blocks,r=window.wp.i18n,n=window.wp.primitives;var i=a(706);const d=(0,i.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)(n.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})}),c=(0,i.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(n.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})}),s=window.wp.element,u=window.wp.blockEditor,p=window.wp.components,g=({label:e,value:t,unit:a,onValueChange:l,onUnitChange:n})=>(0,o.createElement)(p.Flex,null,(0,o.createElement)(p.FlexBlock,null,(0,o.createElement)(p.TextControl,{label:e,value:parseInt(t),onChange:e=>l(e)})),(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Unit","wedocs"),value:a,options:[{label:"px",value:"px"},{label:"%",value:"%"}],onChange:e=>n(e)}))),m=({selected:e,options:t,onChange:a})=>(0,o.createElement)(p.BaseControl,null,(0,o.createElement)("div",{className:"radio-image-control-options"},t.map((t=>(0,o.createElement)("div",{key:t.value,className:"radio-image-option"},(0,o.createElement)("input",{type:"radio",id:`radio-image-${t.value}`,value:t.value,checked:e===t.value,onChange:e=>a(e.target.value)}),(0,o.createElement)("label",{htmlFor:`radio-image-${t.value}`},t.icon&&(0,o.createElement)("i",{className:`dashicons ${t.icon}`}),t.img&&(0,o.createElement)("img",{src:t.img,alt:t.label}),t?.svg)))))),h={hideSearch:{type:"boolean",default:!1},searchWidth:{type:"number",default:50},widthUnit:{type:"string",default:"%"},placeholder:{type:"string",default:(0,r.__)("Search for a top or question","wedocs")},alignment:{type:"string",default:"right"},bgColor:{type:"string",default:"#FFFFFF"},hoverColor:{type:"string",default:"#FFFFFF"},padding:{type:"object",default:{top:14,left:22,right:22,bottom:14}},margin:{type:"object",default:{top:0,left:0,right:0,bottom:0}},borderColor:{type:"string",default:"#cccccc"},borderType:{type:"string",default:"solid"},borderWidth:{type:"number",default:1},borderRadius:{type:"number",default:30},iconColor:{type:"string",default:"#FFFFFF"},iconBgColor:{type:"string",default:"#3b82f6"},iconHoverColor:{type:"string",default:"#2563eb"},svgHoverColor:{type:"string",default:"#FFFFFF"},btnPadding:{type:"object",default:{top:24,left:26,right:26,bottom:24}},btnPosition:{type:"object",default:{top:0,right:0,bottom:10}},btnRadius:{type:"number",default:30}};(0,l.registerBlockType)("wedocs/wedocs-search",{attributes:h,save:({attributes:e})=>{const{margin:t,bgColor:a,padding:l,btnRadius:r,alignment:n,iconColor:i,widthUnit:d,hoverColor:c,borderType:p,hideSearch:g,btnPadding:m,searchWidth:h,btnPosition:b,placeholder:_,borderColor:v,borderWidth:C,iconBgColor:w,borderRadius:y,svgHoverColor:x,iconHoverColor:f}=e;if(g)return;const E={display:"flex",justifyContent:n},S={border:`${C}px ${p} ${v}`,paddingTop:l?.top,paddingLeft:l?.left,paddingRight:l?.right,borderRadius:`${y}px`,paddingBottom:l?.bottom,"--field-color":a,"--field-bg-color":c},T={top:b?.top,left:b?.left,right:b?.right,bottom:b?.bottom,height:"auto",paddingTop:m?.top,paddingLeft:m?.left,borderRadius:r,paddingRight:m?.right,paddingBottom:m?.bottom,"--field-icon-color":i,"--field-btn-bg-color":w,"--field-icon-hover-color":x,"--field-btn-bg-hover-color":f};return(0,o.createElement)(s.Fragment,null,(0,o.createElement)("form",{method:"get",role:"search",action:weDocsBlockVars?.siteUrl,...u.useBlockProps.save({className:"search-form wedocs-search-form"})},(0,o.createElement)("div",{style:E},(0,o.createElement)("div",{className:"wedocs-search-input",style:{width:h+d,marginTop:t?.top,marginLeft:t?.left,marginRight:t?.right,marginBottom:t?.bottom}},(0,o.createElement)("input",{name:"s",type:"search",style:S,className:"search-field",placeholder:_}),(0,o.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,o.createElement)("button",{type:"submit",style:T,className:"search-submit"},(0,o.createElement)("svg",{width:"15",height:"16",fill:"none"},(0,o.createElement)("path",{fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))))))},edit:({attributes:e,setAttributes:t})=>{const a=(0,u.useBlockProps)(),{margin:l,bgColor:n,padding:i,btnRadius:h,alignment:b,iconColor:_,widthUnit:v,hoverColor:C,borderType:w,hideSearch:y,btnPadding:x,searchWidth:f,btnPosition:E,placeholder:S,borderColor:T,borderWidth:B,iconBgColor:k,borderRadius:P,svgHoverColor:F,iconHoverColor:$}=e;console.log("editor panel:",n);const M=[{value:"left",label:(0,r.__)("Align left","wedocs"),svg:(0,o.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"left"===b?"#007cba":"#939494",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M8 9.462h12m-12 6h6m-10-9v12"}))},{value:"center",label:(0,r.__)("Align center","wedocs"),svg:(0,o.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"center"===b?"#007cba":"#939494",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M18 9.462H6m8.99 6h-6"}),(0,o.createElement)("path",{d:"M12 6.462v12"}))},{value:"right",label:(0,r.__)("Align right","wedocs"),svg:(0,o.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"right"===b?"#007cba":"#939494",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M16 9.462H4m12 6h-6m10-9v12"}))}],[R,D]=(0,s.useState)(!1),[H,V]=(0,s.useState)(!1),[W,O]=(0,s.useState)(!1),L={display:"flex",justifyContent:b},N={border:`${B}px ${w} ${T}`,paddingTop:i?.top,background:R?C:n,paddingLeft:i?.left,paddingRight:i?.right,borderRadius:`${P}px`,paddingBottom:i?.bottom},A={top:E?.top,left:E?.left,right:E?.right,bottom:E?.bottom,height:"auto",background:W?$:k,paddingTop:x?.top,paddingLeft:x?.left,borderRadius:h,paddingRight:x?.right,paddingBottom:x?.bottom},U=[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Double","wedocs"),value:"double"},{label:(0,r.__)("Groove","wedocs"),value:"groove"},{label:(0,r.__)("Ridge","wedocs"),value:"ridge"},{label:(0,r.__)("Inset","wedocs"),value:"inset"},{label:(0,r.__)("Outset","wedocs"),value:"outset"},{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Hidden","wedocs"),value:"hidden"}];return(0,o.createElement)(s.Fragment,null,(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(p.PanelBody,null,(0,o.createElement)(p.ToggleControl,{checked:y,className:"wedocs-search-toggle",label:(0,r.__)("Disable Block","wedocs"),onChange:e=>t({hideSearch:e})})),!y&&(0,o.createElement)(s.Fragment,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Color Settings","wedocs"),icon:d,initialOpen:!1,className:"wedocs-search-color-settings"},(0,o.createElement)(u.PanelColorSettings,{colors:[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}],colorSettings:[{value:n,label:(0,r.__)("Field Background Color","wedocs"),onChange:e=>t({bgColor:e})},{value:C,label:(0,r.__)("Field Hover Color","wedocs"),onChange:e=>t({hoverColor:e})},{value:T,label:(0,r.__)("Border Color","wedocs"),onChange:e=>t({borderColor:e})},{value:_,label:(0,r.__)("Icon Color","wedocs"),onChange:e=>t({iconColor:e})},{value:k,label:(0,r.__)("Button Color","wedocs"),onChange:e=>t({iconBgColor:e})},{value:$,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>t({iconHoverColor:e})},{value:F,label:(0,r.__)("Icon Hover Color","wedocs"),onChange:e=>t({svgHoverColor:e})}]})),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Search Bar Settings","wedocs"),icon:c},(0,o.createElement)(g,{unit:v,value:f,label:(0,r.__)("Field Width","wedocs"),onUnitChange:e=>t({widthUnit:e}),onValueChange:e=>t({searchWidth:e?parseInt(e):0})}),(0,o.createElement)(p.TextControl,{value:S,label:(0,r.__)("Placeholder","wedocs"),placeholder:(0,r.__)("Search bar placeholder","wedocs"),onChange:e=>t({placeholder:e})}),(0,o.createElement)("p",{style:{fontSize:11}},(0,r.__)("POSITION","wedocs")),(0,o.createElement)(m,{selected:b,options:M,onChange:e=>t({alignment:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"14px",left:"22px",right:"22px",bottom:"14px"},values:i,label:(0,r.__)("Field Padding","wedocs"),onChange:e=>t({padding:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",left:"0px",right:"0px",bottom:"0px"},values:l,label:(0,r.__)("Field Margin","wedocs"),onChange:e=>t({margin:e})}),(0,o.createElement)(p.RangeControl,{min:0,max:10,value:B,label:(0,r.__)("Border Width","wedocs"),onChange:e=>t({borderWidth:e})}),(0,o.createElement)(p.RangeControl,{min:0,max:100,value:P,label:(0,r.__)("Border Radius","wedocs"),onChange:e=>t({borderRadius:e})}),(0,o.createElement)(p.SelectControl,{value:w,options:U,label:(0,r.__)("Border Type","wedocs"),onChange:e=>t({borderType:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"24px",left:"26px",right:"26px",bottom:"24px"},values:x,label:(0,r.__)("Button Padding","wedocs"),onChange:e=>t({btnPadding:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",right:"0px",bottom:"10px"},values:E,label:(0,r.__)("Button Margin","wedocs"),onChange:e=>t({btnPosition:e})}),(0,o.createElement)(p.RangeControl,{min:0,max:100,value:h,label:(0,r.__)("Button Radius","wedocs"),onChange:e=>t({btnRadius:e})})))),(0,o.createElement)("div",{...a,style:L},(0,o.createElement)("div",{className:"wedocs-editor-search-input",style:{width:f+v,marginTop:l?.top,marginLeft:l?.left,marginRight:l?.right,marginBottom:l?.bottom}},(0,o.createElement)("input",{readOnly:!0,style:N,className:"search-field",placeholder:S,onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1)}),(0,o.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,o.createElement)("button",{type:"submit",style:A,className:"search-submit",onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1)},(0,o.createElement)("svg",{width:"15",height:"16",fill:"none",onMouseEnter:()=>V(!0),onMouseLeave:()=>V(!1)},(0,o.createElement)("path",{fill:H?F:_,fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))),y&&(0,o.createElement)("div",{className:"backdrop"})))},icon:(0,o.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z",fill:"#111827"})),title:(0,r.__)("weDocs - Searchbar","wedocs"),keywords:["Search","weDocs search bar","Bar"],category:"widgets",description:(0,r.__)("Simple search forms for easy user guidance for your documentation","wedocs")});const b=({attributes:e,setAttributes:t})=>{const a=e=>a=>{t({[e]:a})},l=((0,r.__)("Solid","wedocs"),(0,r.__)("Dashed","wedocs"),(0,r.__)("Dotted","wedocs"),(0,r.__)("None","wedocs"),[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Grid Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,o.createElement)("label",null,(0,r.__)("Colors","wedocs")),(0,o.createElement)(u.PanelColorSettings,{colors:l,colorSettings:[{value:e.docTitleColor,label:(0,r.__)("Doc Title Color","wedocs"),onChange:e=>a("docTitleColor")(e)},{value:e.docChildrenActiveColor,label:(0,r.__)("Doc Children Active Color","wedocs"),onChange:e=>a("docChildrenActiveColor")(e)},{value:e.borderColor,label:(0,r.__)("Border Color","wedocs"),onChange:e=>a("borderColor")(e)}]}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Padding","wedocs"),values:e.gridPadding,onChange:a("gridPadding")}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Margin","wedocs"),values:e.gridMargin,onChange:a("gridMargin")}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Type","wedocs"),value:e.borderType,options:[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("None","wedocs"),value:"none"}],onChange:e=>t({borderType:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Width","wedocs"),value:e.borderWidth,options:[{label:"0px",value:"0px"},{label:"1px",value:"1px"},{label:"2px",value:"2px"},{label:"3px",value:"3px"},{label:"4px",value:"4px"},{label:"5px",value:"5px"}],onChange:e=>t({borderWidth:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Radius","wedocs"),value:e.borderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({borderRadius:e})})),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Button Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,o.createElement)("label",null,(0,r.__)("Button Colors","wedocs")),(0,o.createElement)(u.PanelColorSettings,{colors:l,colorSettings:[{value:e.buttonColor,label:(0,r.__)("Button Color","wedocs"),onChange:e=>a("buttonColor")(e)},{value:e.buttonHoverColor,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>a("buttonHoverColor")(e)},{value:e.buttonTextColor,label:(0,r.__)("Button Text Color","wedocs"),onChange:e=>a("buttonTextColor")(e)},{value:e.buttonHoverTextColor,label:(0,r.__)("Button Hover Text Color","wedocs"),onChange:e=>a("buttonHoverTextColor")(e)}]}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Padding","wedocs"),values:e.buttonPadding,onChange:a("buttonPadding")}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Margin","wedocs"),values:e.buttonMargin,onChange:a("buttonMargin")}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Button Border Radius","wedocs"),value:e.buttonBorderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({buttonBorderRadius:e})}),(0,o.createElement)("div",{className:"wedocs-color-control"},(0,o.createElement)("label",null,(0,r.__)("Button Text","wedocs")),(0,o.createElement)(p.TextControl,{value:e.buttonText,onChange:a("buttonText")}))))},_=JSON.parse('{"UU":"wedocs/wedocs-docs-grid"}');(0,l.registerBlockType)(_.UU,{edit:({attributes:e,setAttributes:t})=>{const a=(0,u.useBlockProps)(),{useSelect:l}=wp.data,[n,i]=(0,s.useState)(1),[d,g]=(0,s.useState)(!1),{hideDocGrid:m,docStyle:h,docsPerPage:_,excludeDocs:v,order:C,orderBy:w,sectionsPerDoc:y,articlesPerSection:x,showDocArticle:f,keepArticlesCollapsed:E,showViewDetails:S,gridPadding:T,gridMargin:B,docTitleColor:k,docChildrenActiveColor:P,borderType:F,borderRadius:$,borderWidth:M,borderColor:R,buttonBorderRadius:D,buttonPadding:H,buttonMargin:V,buttonColor:W,buttonHoverColor:O,buttonTextColor:L,buttonText:N,buttonHoverTextColor:A}=e,U=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],I=[{label:(0,r.__)("weDocs Order","wedocs"),value:"menu_order"},{label:(0,r.__)("ID","wedocs"),value:"id"},{label:(0,r.__)("Name","wedocs"),value:"title"}],z=[{label:(0,r.__)("Ascending","wedocs"),value:"asc"},{label:(0,r.__)("Descending","wedocs"),value:"desc"}],G=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],{pages:j,sections:Y,articles:q}=l((e=>{const{getEntityRecords:t}=e("core"),a=t("postType","docs",{status:"publish",per_page:-1,parent:0,orderby:w,order:C}),o=a?t("postType","docs",{status:"publish",parent_in:a.map((e=>e.id)),per_page:-1}):null,l=o?t("postType","docs",{status:"publish",parent_in:o.map((e=>e.id)),per_page:-1}):null;return{pages:a,sections:o,articles:l}}),[w,C]),J=(e=>{if("all"===_)return e;const t=parseInt(_),a=(n-1)*t,o=a+t;return e.slice(a,o)})((()=>{if(!j||!Y||!q)return[];let e=[...j];return v&&v.length>0&&(e=e.filter((e=>!v.includes(e.id.toString())))),e=e.map((e=>{let t=Y.filter((t=>t.parent===e.id));"all"!==y&&(t=t.slice(0,parseInt(y))),t=t.map((e=>{let t=q.filter((t=>t.parent===e.id));return"all"!==x&&(t=t.slice(0,parseInt(x))),{...e,articles:t}}));const a=t.reduce(((e,t)=>e+t.articles.length),0);return{...e,sections:t,articleCount:a}})),e})()),Z=j?j.reduce(((e,t)=>(e[t.id]=t.title.rendered,e)),{}):{},K=(j&&j.map((e=>({value:e.id.toString(),label:e.title.rendered}))),e=>a=>{t({[e]:a})}),Q=v?v.map((e=>Z[e]||e)):[];return(0,o.createElement)(s.Fragment,null,(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Doc Grid Settings","wedocs"),icon:c,initialOpen:!1},(0,o.createElement)(p.SelectControl,{value:h,options:[{label:"1x1",value:"1x1"},{label:"1x2",value:"1x2"}],label:(0,r.__)("DOCS GRID COLUMN STYLE","wedocs"),onChange:K("docStyle")}),(0,o.createElement)(p.SelectControl,{value:_,options:U,label:(0,r.__)("Docs per page","wedocs"),onChange:K("docsPerPage")}),(0,o.createElement)(p.FormTokenField,{value:Q,suggestions:Object.values(Z),label:(0,r.__)("Exclude Docs","wedocs"),onChange:e=>{const a=e.map((e=>{const t=Object.entries(Z).find((([t,a])=>a===e));return t?t[0]:e}));t({excludeDocs:a})}}),(0,o.createElement)(p.SelectControl,{value:C,options:z,label:(0,r.__)("Order","wedocs"),onChange:K("order")}),(0,o.createElement)(p.SelectControl,{value:w,options:I,label:(0,r.__)("Order by","wedocs"),onChange:K("orderBy")}),(0,o.createElement)(p.SelectControl,{value:y,options:G,label:(0,r.__)("Sections per doc","wedocs"),onChange:K("sectionsPerDoc")}),(0,o.createElement)(p.SelectControl,{value:x,options:G,label:(0,r.__)("Articles per section","wedocs"),onChange:K("articlesPerSection")}),(0,o.createElement)(p.PanelRow,null,(0,o.createElement)(p.ToggleControl,{checked:f,label:(0,r.__)("Show Doc Article","wedocs"),onChange:K("showDocArticle")})),(0,o.createElement)(p.PanelRow,null,(0,o.createElement)(p.ToggleControl,{checked:E,label:(0,r.__)("Keep Article Collapsed","wedocs"),onChange:K("keepArticlesCollapsed")})),(0,o.createElement)(p.PanelRow,null,(0,o.createElement)(p.ToggleControl,{checked:S,label:(0,r.__)("Show View Details Button","wedocs"),onChange:K("showViewDetails")})))),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(b,{attributes:e,setAttributes:t})),(0,o.createElement)("div",{...a},m?(0,o.createElement)("div",{className:"backdrop"}):(0,o.createElement)("div",{className:"wedocs-block-wrapper"},(0,o.createElement)("div",{className:`wedocs-docs-grid wedocs-docs-grid--${h}`},d?(0,o.createElement)(Spinner,null):J.map((e=>((e,t)=>(0,o.createElement)("div",{key:e.id,className:"wedocs-docs-grid__item",style:t.item},(0,o.createElement)("h3",{className:"wedocs-docs-grid__title",style:t.title},e.title.rendered),((e,t)=>e.sections?(0,o.createElement)("div",{className:"wedocs-docs-grid__sections "+(E?"is-collapsed":"")},e.sections.map((e=>(0,o.createElement)("div",{key:e.id,className:"wedocs-docs-grid__section"},(0,o.createElement)("h4",{className:"wedocs-docs-grid__section-title",style:{...t.title,display:"flex",justifyContent:"space-between",alignItems:"center"}},(0,o.createElement)("span",null,e.title.rendered),f&&e.articles&&e.articles.length>0&&(0,o.createElement)("svg",{fill:"none",viewBox:"0 0 24 24",width:"16",strokeWidth:"2",stroke:"#acb8c4",className:E?"":"active"},(0,o.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"}))),f&&!E&&e.articles&&(0,o.createElement)("ul",{className:"wedocs-docs-grid__articles"},e.articles.map((e=>(0,o.createElement)("li",{key:e.id,className:"wedocs-docs-grid__article",style:t.children},e.title.rendered))))))),0===e.sections.length&&(0,o.createElement)("span",{className:"inside"},(0,o.createElement)("svg",{fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},(0,o.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})),(0,r.__)("This document has no sections yet. Check back later or wait for the author to add content.","wedocs"))):null)(e,t),S&&(0,o.createElement)("div",{className:"wedocs-docs-grid__details"},(0,o.createElement)("span",{className:"wedocs-docs-grid__details-link",style:t.button},t.button.text))))(e,(()=>{const e=T?`${T.top} ${T.right} ${T.bottom} ${T.left}`:"",t=B?`${B.top} ${B.right} ${B.bottom} ${B.left}`:"",a=H?`${H.top} ${H.right} ${H.bottom} ${H.left}`:"",o=D||"8px",l=V?`${V.top} ${V.right} ${V.bottom} ${V.left}`:"";return{item:{padding:e,margin:t,borderStyle:F||"solid",borderWidth:M||"1px",borderColor:R||"rgba(0, 0, 0, 0.1)",borderRadius:$||"8px",backgroundColor:"#fff"},title:{color:k||"#1e1e1e"},children:{color:P||"#0073aa"},button:{padding:a,margin:l,backgroundColor:W||"#0073aa",color:L||"#ffffff",text:N||(0,r.__)("View Details","wedocs"),borderRadius:o||"8px","--hover-bg":O||"#005177","--hover-color":A||"#ffffff"}}})())))))))},save:()=>null});const v=window.wp.data,C=window.wp.coreData,w=({children:e,defaultTab:t="setup"})=>{const[a,l]=(0,s.useState)(t),n=[{key:"setup",label:(0,r.__)("Setup","wedocs"),icon:"admin-settings"},{key:"style",label:(0,r.__)("Style","wedocs"),icon:"admin-appearance"}];return(0,o.createElement)("div",{className:"contributors-tab-system"},(0,o.createElement)("div",{style:{borderBottom:"1px solid #ddd",marginBottom:"16px",paddingBottom:"8px"}},(0,o.createElement)(p.ButtonGroup,null,n.map((e=>(0,o.createElement)(p.Button,{key:e.key,variant:a===e.key?"primary":"secondary",onClick:()=>l(e.key),style:{marginRight:"4px",display:"flex",alignItems:"center",gap:"4px"}},(0,o.createElement)("span",{className:`dashicons dashicons-${e.icon}`,style:{fontSize:"16px"}}),e.label))))),(0,o.createElement)("div",{className:"tab-content"},e.map(((e,t)=>{const l=0===t?"setup":"style";return(0,o.createElement)("div",{key:l,style:{display:a===l?"block":"none"}},e)}))))},y=({label:e,value:t={},onChange:a,colorValue:l,onColorChange:n,hoverColorValue:i,onHoverColorChange:d,showHoverColor:c=!0,showLineHeight:s=!0,showLetterSpacing:g=!0,showTextTransform:m=!0,showTextDecoration:h=!0})=>{const b=(e,o)=>{a({...t,[e]:o})};return(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Colors","wedocs"),colorSettings:[{value:l,onChange:n,label:(0,r.__)("Text Color","wedocs")},...c?[{value:i,onChange:d,label:(0,r.__)("Hover Color","wedocs")}]:[]]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Font Family","wedocs"),value:t.fontFamily||"default",options:[{label:(0,r.__)("Default","wedocs"),value:"default"},{label:"Arial",value:"Arial, sans-serif"},{label:"Georgia",value:"Georgia, serif"},{label:"Helvetica",value:"Helvetica, sans-serif"},{label:"Times New Roman",value:'"Times New Roman", serif'},{label:"Verdana",value:"Verdana, sans-serif"},{label:"Roboto",value:"Roboto, sans-serif"},{label:"Open Sans",value:'"Open Sans", sans-serif'},{label:"Lato",value:"Lato, sans-serif"},{label:"Montserrat",value:"Montserrat, sans-serif"}],onChange:e=>b("fontFamily","default"===e?void 0:e)}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Font Size","wedocs"),value:t.fontSize||"14px",onChange:e=>b("fontSize",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}]}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Font Weight","wedocs"),value:t.fontWeight||"400",options:[{label:(0,r.__)("100 - Thin","wedocs"),value:"100"},{label:(0,r.__)("200 - Extra Light","wedocs"),value:"200"},{label:(0,r.__)("300 - Light","wedocs"),value:"300"},{label:(0,r.__)("400 - Normal","wedocs"),value:"400"},{label:(0,r.__)("500 - Medium","wedocs"),value:"500"},{label:(0,r.__)("600 - Semi Bold","wedocs"),value:"600"},{label:(0,r.__)("700 - Bold","wedocs"),value:"700"},{label:(0,r.__)("800 - Extra Bold","wedocs"),value:"800"},{label:(0,r.__)("900 - Black","wedocs"),value:"900"}],onChange:e=>b("fontWeight",e)}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Font Style","wedocs"),value:t.fontStyle||"normal",options:[{label:(0,r.__)("Normal","wedocs"),value:"normal"},{label:(0,r.__)("Italic","wedocs"),value:"italic"},{label:(0,r.__)("Oblique","wedocs"),value:"oblique"}],onChange:e=>b("fontStyle",e)}),s&&(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Line Height","wedocs"),value:t.lineHeight||"normal",onChange:e=>b("lineHeight",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"",label:"unitless"}]}),g&&(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Letter Spacing","wedocs"),value:t.letterSpacing||"normal",onChange:e=>b("letterSpacing",e),units:[{value:"px",label:"px"},{value:"em",label:"em"}]}),m&&(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Text Transform","wedocs"),value:t.textTransform||"none",options:[{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Uppercase","wedocs"),value:"uppercase"},{label:(0,r.__)("Lowercase","wedocs"),value:"lowercase"},{label:(0,r.__)("Capitalize","wedocs"),value:"capitalize"}],onChange:e=>b("textTransform",e)}),h&&(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Text Decoration","wedocs"),value:t.textDecoration||"none",options:[{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Underline","wedocs"),value:"underline"},{label:(0,r.__)("Overline","wedocs"),value:"overline"},{label:(0,r.__)("Line Through","wedocs"),value:"line-through"}],onChange:e=>b("textDecoration",e)}))},x=({label:e,paddingValue:t={},onPaddingChange:a,marginValue:l={},onMarginChange:n,showPadding:i=!0,showMargin:d=!0,showGap:c=!1,gapValue:s,onGapChange:u})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},i&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Padding","wedocs"),values:t,onChange:a,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}],allowReset:!0,resetValues:{top:"0px",right:"0px",bottom:"0px",left:"0px"}}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4})),d&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Margin","wedocs"),values:l,onChange:n,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}],allowReset:!0,resetValues:{top:"0px",right:"0px",bottom:"0px",left:"0px"}}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4})),c&&(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Gap","wedocs"),value:s||"10px",onChange:u,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]})),f=({label:e,borderStyle:t="none",onBorderStyleChange:a,borderWidth:l={},onBorderWidthChange:n,borderColor:i,onBorderColorChange:d,borderRadius:c,onBorderRadiusChange:s,showIndividualSides:g=!0})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Style","wedocs"),value:t,options:[{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("Double","wedocs"),value:"double"},{label:(0,r.__)("Groove","wedocs"),value:"groove"},{label:(0,r.__)("Ridge","wedocs"),value:"ridge"},{label:(0,r.__)("Inset","wedocs"),value:"inset"},{label:(0,r.__)("Outset","wedocs"),value:"outset"}],onChange:a}),"none"!==t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),g?(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Border Width","wedocs"),values:l,onChange:n,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}],allowReset:!0,resetValues:{top:"1px",right:"1px",bottom:"1px",left:"1px"}}):(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Border Width","wedocs"),value:l.top||"1px",onChange:e=>n({top:e,right:e,bottom:e,left:e}),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Border Color","wedocs"),colorSettings:[{value:i,onChange:d,label:(0,r.__)("Color","wedocs")}]})),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Border Radius","wedocs"),value:c||"0px",onChange:s,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}]})),E=({label:e,backgroundType:t="classic",onBackgroundTypeChange:a,backgroundColor:l,onBackgroundColorChange:n,backgroundGradient:i,onBackgroundGradientChange:d,backgroundImage:c={},onBackgroundImageChange:s,showGradient:g=!0,showImage:m=!0})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(p.RadioControl,{label:(0,r.__)("Background Type","wedocs"),selected:t,options:[{label:(0,r.__)("Classic","wedocs"),value:"classic"},...g?[{label:(0,r.__)("Gradient","wedocs"),value:"gradient"}]:[]],onChange:a}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),"classic"===t&&(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Background Color","wedocs"),colorSettings:[{value:l,onChange:n,label:(0,r.__)("Color","wedocs")}]}),"gradient"===t&&g&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Gradient CSS","wedocs"),value:i||"",onChange:d,placeholder:"linear-gradient(45deg, #ff0000, #00ff00)",help:(0,r.__)("Enter CSS gradient value","wedocs")}),m&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)("div",null,(0,o.createElement)("h4",null,(0,r.__)("Background Image","wedocs")),(0,o.createElement)(u.MediaUploadCheck,null,(0,o.createElement)(u.MediaUpload,{onSelect:e=>s({url:e.url,alt:e.alt,id:e.id}),allowedTypes:["image"],value:c?.id,render:({open:e})=>(0,o.createElement)(p.Button,{onClick:e,variant:"secondary"},c?.url?(0,r.__)("Change Image","wedocs"):(0,r.__)("Select Image","wedocs"))})),c?.url&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:2,marginBottom:2}),(0,o.createElement)(p.Button,{onClick:()=>s({url:"",alt:"",id:""}),variant:"secondary",isDestructive:!0},(0,r.__)("Remove Image","wedocs")))))),S=({label:e,shadowValue:t={},onShadowChange:a,showToggle:l=!0})=>{var n;const i=(e,o)=>{a({...t,[e]:o})},d=null!==(n=t.enabled)&&void 0!==n&&n;return(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},l&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Enable Box Shadow","wedocs"),checked:d,onChange:e=>i("enabled",e)}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4})),(d||!l)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Horizontal Offset","wedocs"),value:t.horizontal||"0px",onChange:e=>i("horizontal",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Vertical Offset","wedocs"),value:t.vertical||"2px",onChange:e=>i("vertical",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Blur Radius","wedocs"),value:t.blur||"4px",onChange:e=>i("blur",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Spread Radius","wedocs"),value:t.spread||"0px",onChange:e=>i("spread",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Shadow Color","wedocs"),colorSettings:[{value:t.color||"rgba(0,0,0,0.1)",onChange:e=>i("color",e),label:(0,r.__)("Color","wedocs")}]})))},T=({label:e,widthValue:t,onWidthChange:a,heightValue:l,onHeightChange:n,showHeight:i=!0,linkValues:d=!1})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Width","wedocs"),value:t||"auto",onChange:e=>{a(e),d&&i&&n&&n(e)},units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"},{value:"auto",label:"auto"}]}),i&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Height","wedocs"),value:l||"auto",onChange:n,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"},{value:"auto",label:"auto"}]}))),B=JSON.parse('{"UU":"wedocs/contributors"}');(0,l.registerBlockType)(B.UU,{edit:e=>{const{attributes:t,setAttributes:a}=e,[l,n]=(0,s.useState)([]),[i,d]=(0,s.useState)(!1),[c,g]=(0,s.useState)([]),[m,h]=(0,s.useState)(!1),b=(0,u.useBlockProps)({className:`wedocs-contributors ${t.additionalCssClass}`,style:{backgroundColor:"classic"===t.backgroundType?t.backgroundColor:void 0,backgroundImage:"gradient"===t.backgroundType?t.backgroundGradient:t.backgroundImage?.url?`url(${t.backgroundImage.url})`:void 0,padding:`${t.padding.top} ${t.padding.right} ${t.padding.bottom} ${t.padding.left}`,margin:`${t.margin.top} ${t.margin.right} ${t.margin.bottom} ${t.margin.left}`,borderStyle:"none"!==t.borderStyle?t.borderStyle:void 0,borderWidth:"none"!==t.borderStyle?`${t.borderWidth.top} ${t.borderWidth.right} ${t.borderWidth.bottom} ${t.borderWidth.left}`:void 0,borderColor:"none"!==t.borderStyle?t.borderColor:void 0,borderRadius:t.borderRadius,boxShadow:t.boxShadow.enabled?`${t.boxShadow.horizontal} ${t.boxShadow.vertical} ${t.boxShadow.blur} ${t.boxShadow.spread} ${t.boxShadow.color}`:void 0}}),_=(0,v.useSelect)((e=>{const{getCurrentPostId:t,getCurrentPostType:a}=e("core/editor")||{};return t?e(C.store).getEntityRecord("postType",a(),t()):null}),[]);return(0,s.useEffect)((()=>{"manual"===t.contributorDisplayMode&&(d(!0),wp.apiFetch({path:"/wp/v2/users?per_page=100&context=edit"}).then((e=>{n(e),d(!1)})).catch((()=>{d(!1)})))}),[t.contributorDisplayMode]),(0,s.useEffect)((()=>{_&&(async()=>{h(!0);try{const e=[];switch(t.contributorDisplayMode){case"main_author":if(_.author){const t=await wp.apiFetch({path:`/wp/v2/users/${_.author}?context=edit`});t&&e.push(t)}break;case"manual":if(t.selectedContributors.length>0)for(const a of t.selectedContributors)try{const t=await wp.apiFetch({path:`/wp/v2/users/${a}?context=edit`});t&&e.push(t)}catch(e){console.warn(`Could not fetch user ${a}:`,e)}break;default:if(_.author){const t=await wp.apiFetch({path:`/wp/v2/users/${_.author}?context=edit`});t&&e.push(t)}if(_.id)try{const t=await wp.apiFetch({path:`/wp/v2/${_.type}/${_.id}/revisions?per_page=50`}),a=[_.author];for(const o of t)if(o.author&&!a.includes(o.author)){a.push(o.author);try{const t=await wp.apiFetch({path:`/wp/v2/users/${o.author}?context=edit`});t&&e.push(t)}catch(e){console.warn(`Could not fetch revision author ${o.author}:`,e)}}}catch(e){console.warn("Could not fetch revisions:",e)}}g(e)}catch(e){console.error("Error fetching contributors:",e),g([])}finally{h(!1)}})()}),[_,t.contributorDisplayMode,t.selectedContributors]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(w,{defaultTab:"setup"},(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("General Settings","wedocs"),initialOpen:!0},(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Show Title","wedocs"),checked:t.showTitle,onChange:e=>a({showTitle:e})}),t.showTitle&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Title","wedocs"),value:t.title,onChange:e=>a({title:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Contributor Display","wedocs"),value:t.contributorDisplayMode,options:[{label:(0,r.__)("Show all contributors","wedocs"),value:"all"},{label:(0,r.__)("Manually select contributors","wedocs"),value:"manual"},{label:(0,r.__)("Show only main author","wedocs"),value:"main_author"}],onChange:e=>a({contributorDisplayMode:e})}),"manual"===t.contributorDisplayMode&&(0,o.createElement)("div",null,(0,o.createElement)("h4",null,(0,r.__)("Select Contributors","wedocs")),i?(0,o.createElement)(p.Spinner,null):(0,o.createElement)("div",{style:{maxHeight:"200px",overflowY:"auto",border:"1px solid #ddd",padding:"10px"}},l.map((e=>(0,o.createElement)("label",{key:e.id,style:{display:"block",marginBottom:"5px"}},(0,o.createElement)("input",{type:"checkbox",checked:t.selectedContributors.includes(e.id),onChange:o=>{const l=o.target.checked?[...t.selectedContributors,e.id]:t.selectedContributors.filter((t=>t!==e.id));a({selectedContributors:l})},style:{marginRight:"8px"}}),e.name)))))),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Avatar Settings","wedocs"),initialOpen:!1},(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Show Avatar","wedocs"),checked:t.showAvatar,onChange:e=>a({showAvatar:e})}),t.showAvatar&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.RadioControl,{label:(0,r.__)("Avatar Type","wedocs"),selected:t.avatarType,options:[{label:(0,r.__)("User Avatar","wedocs"),value:"user_avatar"},{label:(0,r.__)("Common Icon","wedocs"),value:"common_icon"}],onChange:e=>a({avatarType:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Avatar Shape","wedocs"),value:t.avatarShape,options:[{label:(0,r.__)("Circle","wedocs"),value:"circle"},{label:(0,r.__)("Rounded","wedocs"),value:"rounded"},{label:(0,r.__)("Square","wedocs"),value:"square"}],onChange:e=>a({avatarShape:e})}),(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Hover Effect","wedocs"),checked:t.avatarHoverEffect,onChange:e=>a({avatarHoverEffect:e})}))),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Date Settings","wedocs"),initialOpen:!1},(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Show Last Updated Date","wedocs"),checked:t.showLastUpdated,onChange:e=>a({showLastUpdated:e})}),t.showLastUpdated&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.RadioControl,{label:(0,r.__)("Date Format","wedocs"),selected:t.dateFormat,options:[{label:(0,r.__)("WordPress Default","wedocs"),value:"wp_default"},{label:(0,r.__)("Custom Format","wedocs"),value:"custom"}],onChange:e=>a({dateFormat:e})}),"custom"===t.dateFormat&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Custom Date Format","wedocs"),value:t.customDateFormat,onChange:e=>a({customDateFormat:e}),help:(0,r.__)('Use PHP date format. E.g., F j, Y for "January 1, 2023"',"wedocs")}),(0,o.createElement)(p.TextControl,{label:(0,r.__)("Date Prefix Text","wedocs"),value:t.datePrefix,onChange:e=>a({datePrefix:e})}))),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Advanced","wedocs"),initialOpen:!1},(0,o.createElement)(p.TextControl,{label:(0,r.__)("Additional CSS Classes","wedocs"),value:t.additionalCssClass,onChange:e=>a({additionalCssClass:e}),help:(0,r.__)("Separate multiple classes with spaces","wedocs")}),(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Enable Schema Markup","wedocs"),checked:t.enableSchema,onChange:e=>a({enableSchema:e}),help:(0,r.__)("Output structured data for author and dateModified","wedocs")}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Avatar Link Behavior","wedocs"),value:t.linkBehavior,options:[{label:(0,r.__)("Link to user profile","wedocs"),value:"user_profile"},{label:(0,r.__)("No link","wedocs"),value:"no_link"},{label:(0,r.__)("Custom link","wedocs"),value:"custom_link"}],onChange:e=>a({linkBehavior:e})}),"custom_link"===t.linkBehavior&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Custom Link URL","wedocs"),value:t.customLinkUrl,onChange:e=>a({customLinkUrl:e}),placeholder:"https://example.com/author"}))),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(E,{label:(0,r.__)("Container Background","wedocs"),backgroundType:t.backgroundType,onBackgroundTypeChange:e=>a({backgroundType:e}),backgroundColor:t.backgroundColor,onBackgroundColorChange:e=>a({backgroundColor:e}),backgroundGradient:t.backgroundGradient,onBackgroundGradientChange:e=>a({backgroundGradient:e}),backgroundImage:t.backgroundImage,onBackgroundImageChange:e=>a({backgroundImage:e})}),(0,o.createElement)(x,{label:(0,r.__)("Container Spacing","wedocs"),paddingValue:t.padding,onPaddingChange:e=>a({padding:e}),marginValue:t.margin,onMarginChange:e=>a({margin:e}),showGap:!0,gapValue:t.contributorGap,onGapChange:e=>a({contributorGap:e})}),(0,o.createElement)(f,{label:(0,r.__)("Container Border","wedocs"),borderStyle:t.borderStyle,onBorderStyleChange:e=>a({borderStyle:e}),borderWidth:t.borderWidth,onBorderWidthChange:e=>a({borderWidth:e}),borderColor:t.borderColor,onBorderColorChange:e=>a({borderColor:e}),borderRadius:t.borderRadius,onBorderRadiusChange:e=>a({borderRadius:e})}),(0,o.createElement)(S,{label:(0,r.__)("Container Shadow","wedocs"),shadowValue:t.boxShadow,onShadowChange:e=>a({boxShadow:e})}),t.showTitle&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y,{label:(0,r.__)("Title Typography","wedocs"),value:t.contributorTitleTypography,onChange:e=>a({contributorTitleTypography:e}),colorValue:t.contributorTitleColor,onColorChange:e=>a({contributorTitleColor:e}),hoverColorValue:t.contributorTitleHoverColor,onHoverColorChange:e=>a({contributorTitleHoverColor:e})}),(0,o.createElement)(x,{label:(0,r.__)("Title Spacing","wedocs"),paddingValue:t.titlePadding,onPaddingChange:e=>a({titlePadding:e}),marginValue:t.titleMargin,onMarginChange:e=>a({titleMargin:e}),showGap:!1})),t.showAvatar&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(T,{label:(0,r.__)("Avatar Size","wedocs"),widthValue:t.avatarSize,onWidthChange:e=>a({avatarSize:e}),showHeight:!1}),(0,o.createElement)(x,{label:(0,r.__)("Avatar Spacing","wedocs"),paddingValue:t.avatarPadding,onPaddingChange:e=>a({avatarPadding:e}),marginValue:t.avatarMargin,onMarginChange:e=>a({avatarMargin:e}),showGap:!1}),(0,o.createElement)(f,{label:(0,r.__)("Avatar Border","wedocs"),borderStyle:t.avatarBorderStyle,onBorderStyleChange:e=>a({avatarBorderStyle:e}),borderWidth:t.avatarBorderWidth,onBorderWidthChange:e=>a({avatarBorderWidth:e}),borderColor:t.avatarBorderColor,onBorderColorChange:e=>a({avatarBorderColor:e}),borderRadius:t.avatarBorderRadius,onBorderRadiusChange:e=>a({avatarBorderRadius:e})}),(0,o.createElement)(S,{label:(0,r.__)("Avatar Shadow","wedocs"),shadowValue:t.avatarBoxShadow,onShadowChange:e=>a({avatarBoxShadow:e})})),(0,o.createElement)(y,{label:(0,r.__)("Name Typography","wedocs"),value:t.nameTypography,onChange:e=>a({nameTypography:e}),colorValue:t.nameColor,onColorChange:e=>a({nameColor:e}),hoverColorValue:t.nameHoverColor,onHoverColorChange:e=>a({nameHoverColor:e})}),(0,o.createElement)(x,{label:(0,r.__)("Name Spacing","wedocs"),paddingValue:t.namePadding,onPaddingChange:e=>a({namePadding:e}),marginValue:t.nameMargin,onMarginChange:e=>a({nameMargin:e}),showGap:!1}),t.showLastUpdated&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y,{label:(0,r.__)("Date Typography","wedocs"),value:t.dateTypography,onChange:e=>a({dateTypography:e}),colorValue:t.dateColor,onColorChange:e=>a({dateColor:e}),showHoverColor:!1}),(0,o.createElement)(x,{label:(0,r.__)("Date Spacing","wedocs"),paddingValue:t.datePadding,onPaddingChange:e=>a({datePadding:e}),marginValue:t.dateMargin,onMarginChange:e=>a({dateMargin:e}),showGap:!1}))))),(0,o.createElement)("div",{...b},(()=>{if(m)return(0,o.createElement)(p.Placeholder,{icon:"groups",label:(0,r.__)("Doc Contributors","wedocs")},(0,o.createElement)(p.Spinner,null),(0,o.createElement)("div",null,(0,r.__)("Loading contributors...","wedocs")));if("manual"===t.contributorDisplayMode&&0===t.selectedContributors.length)return(0,o.createElement)(p.Placeholder,{icon:"groups",label:(0,r.__)("Doc Contributors","wedocs"),instructions:(0,r.__)("Select contributors from the settings panel.","wedocs")});let e=c;e&&0!==e.length||(e=[{id:1,name:"Demo Author",avatar_urls:{48:weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_2.png"}}]);const a={width:t.avatarSize,height:t.avatarSize,borderRadius:"circle"===t.avatarShape?"50%":"rounded"===t.avatarShape?t.avatarBorderRadius:"0",borderStyle:"none"!==t.avatarBorderStyle?t.avatarBorderStyle:void 0,borderColor:"none"!==t.avatarBorderStyle?t.avatarBorderColor:void 0,borderWidth:"none"!==t.avatarBorderStyle?`${t.avatarBorderWidth?.top||"2px"} ${t.avatarBorderWidth?.right||"2px"} ${t.avatarBorderWidth?.bottom||"2px"} ${t.avatarBorderWidth?.left||"2px"}`:void 0,padding:`${t.avatarPadding?.top||"0px"} ${t.avatarPadding?.right||"0px"} ${t.avatarPadding?.bottom||"0px"} ${t.avatarPadding?.left||"0px"}`,margin:`${t.avatarMargin?.top||"0px"} ${t.avatarMargin?.right||"8px"} ${t.avatarMargin?.bottom||"0px"} ${t.avatarMargin?.left||"0px"}`,boxShadow:t.avatarBoxShadow?.enabled?`${t.avatarBoxShadow.horizontal} ${t.avatarBoxShadow.vertical} ${t.avatarBoxShadow.blur} ${t.avatarBoxShadow.spread} ${t.avatarBoxShadow.color}`:void 0},l={color:t.contributorTitleColor,fontSize:t.contributorTitleTypography.fontSize,fontWeight:t.contributorTitleTypography.fontWeight,fontStyle:t.contributorTitleTypography.fontStyle,fontFamily:"default"!==t.contributorTitleTypography.fontFamily?t.contributorTitleTypography.fontFamily:void 0,lineHeight:"normal"!==t.contributorTitleTypography.lineHeight?t.contributorTitleTypography.lineHeight:void 0,letterSpacing:"normal"!==t.contributorTitleTypography.letterSpacing?t.contributorTitleTypography.letterSpacing:void 0,textTransform:"none"!==t.contributorTitleTypography.textTransform?t.contributorTitleTypography.textTransform:void 0,textDecoration:"none"!==t.contributorTitleTypography.textDecoration?t.contributorTitleTypography.textDecoration:void 0,padding:`${t.titlePadding?.top||"0px"} ${t.titlePadding?.right||"0px"} ${t.titlePadding?.bottom||"10px"} ${t.titlePadding?.left||"0px"}`,margin:`${t.titleMargin?.top||"0px"} ${t.titleMargin?.right||"0px"} ${t.titleMargin?.bottom||"0px"} ${t.titleMargin?.left||"0px"}`},n={color:t.nameColor,fontSize:t.nameTypography.fontSize,fontWeight:t.nameTypography.fontWeight,fontStyle:t.nameTypography.fontStyle,fontFamily:"default"!==t.nameTypography.fontFamily?t.nameTypography.fontFamily:void 0,lineHeight:"normal"!==t.nameTypography.lineHeight?t.nameTypography.lineHeight:void 0,letterSpacing:"normal"!==t.nameTypography.letterSpacing?t.nameTypography.letterSpacing:void 0,textTransform:"none"!==t.nameTypography.textTransform?t.nameTypography.textTransform:void 0,textDecoration:"none"!==t.nameTypography.textDecoration?t.nameTypography.textDecoration:void 0,padding:`${t.namePadding?.top||"0px"} ${t.namePadding?.right||"0px"} ${t.namePadding?.bottom||"0px"} ${t.namePadding?.left||"0px"}`,margin:`${t.nameMargin?.top||"0px"} ${t.nameMargin?.right||"0px"} ${t.nameMargin?.bottom||"0px"} ${t.nameMargin?.left||"0px"}`},i={color:t.dateColor,fontSize:t.dateTypography.fontSize,fontWeight:t.dateTypography.fontWeight,fontStyle:t.dateTypography.fontStyle,fontFamily:"default"!==t.dateTypography.fontFamily?t.dateTypography.fontFamily:void 0,lineHeight:"normal"!==t.dateTypography.lineHeight?t.dateTypography.lineHeight:void 0,letterSpacing:"normal"!==t.dateTypography.letterSpacing?t.dateTypography.letterSpacing:void 0,textTransform:"none"!==t.dateTypography.textTransform?t.dateTypography.textTransform:void 0,textDecoration:"none"!==t.dateTypography.textDecoration?t.dateTypography.textDecoration:void 0,padding:`${t.datePadding?.top||"0px"} ${t.datePadding?.right||"0px"} ${t.datePadding?.bottom||"0px"} ${t.datePadding?.left||"0px"}`,margin:`${t.dateMargin?.top||"10px"} ${t.dateMargin?.right||"0px"} ${t.dateMargin?.bottom||"0px"} ${t.dateMargin?.left||"0px"}`};return(0,o.createElement)("div",null,t.showTitle&&(0,o.createElement)("h3",{style:l},t.title),(0,o.createElement)("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:t.contributorGap||"10px"}},t.showAvatar&&e.map((e=>{const l=e.name||e.display_name||"Unknown",r=e.id||e.ID||Math.random();let i=weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_1.png";if(e.avatar_urls&&(i=e.avatar_urls[48]||e.avatar_urls[96]||e.avatar_urls[24]),!i&&e.email)try{i=`https://www.gravatar.com/avatar/${btoa(e.email.toLowerCase().trim())}?s=48&d=identicon`}catch(e){i=weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_1.png"}return(0,o.createElement)("div",{key:r,style:{display:"flex",alignItems:"center"}},"user_avatar"===t.avatarType?(0,o.createElement)("img",{src:i,alt:l,style:a}):(0,o.createElement)("div",{style:{...a,backgroundColor:"#0073aa",display:"flex",alignItems:"center",justifyContent:"center"}},(0,o.createElement)("svg",{width:"16",height:"16",fill:"white",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}))),(0,o.createElement)("span",{style:n},l))}))),t.showLastUpdated&&(0,o.createElement)("div",{style:i},t.datePrefix," ",(new Date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})))})()))},save:()=>null})},609:e=>{e.exports=window.React}},a={};function o(e){var l=a[e];if(void 0!==l)return l.exports;var r=a[e]={exports:{}};return t[e](r,r.exports,o),r.exports}o.m=t,e=[],o.O=(t,a,l,r)=>{if(!a){var n=1/0;for(s=0;s=r)&&Object.keys(o.O).every((e=>o.O[e](a[d])))?a.splice(d--,1):(i=!1,r0&&e[s-1][2]>r;s--)e[s]=e[s-1];e[s]=[a,l,r]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={366:0,337:0};o.O.j=t=>0===e[t];var t=(t,a)=>{var l,r,n=a[0],i=a[1],d=a[2],c=0;if(n.some((t=>0!==e[t]))){for(l in i)o.o(i,l)&&(o.m[l]=i[l]);if(d)var s=d(o)}for(t&&t(a);co(931)));l=o.O(l)})(); \ No newline at end of file diff --git a/assets/build/blocks/Contributors/block.json b/assets/build/blocks/Contributors/block.json new file mode 100644 index 00000000..595ff782 --- /dev/null +++ b/assets/build/blocks/Contributors/block.json @@ -0,0 +1,361 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "wedocs/contributors", + "version": "1.0.0", + "title": "Doc Contributors", + "icon": "groups", + "category": "widgets", + "description": "Display the author(s)/contributors of a doc along with the last updated date.", + "supports": { + "html": false + }, + "editorScript": "file:./index.js", + "editorStyle": "file:./index.css", + "style": "file:./style-index.css", + "render": "file:./render.php", + "attributes": { + "showTitle": { + "type": "boolean", + "default": true + }, + "title": { + "type": "string", + "default": "Contributors" + }, + "titleColor": { + "type": "string", + "default": "#fff" + }, + "contributorDisplayMode": { + "type": "string", + "default": "all", + "enum": [ + "all", + "manual", + "main_author" + ] + }, + "selectedContributors": { + "type": "array", + "default": [] + }, + "showLastUpdated": { + "type": "boolean", + "default": true + }, + "dateFormat": { + "type": "string", + "default": "wp_default" + }, + "customDateFormat": { + "type": "string", + "default": "F j, Y" + }, + "datePrefix": { + "type": "string", + "default": "Updated on" + }, + "backgroundType": { + "type": "string", + "default": "classic", + "enum": [ + "classic", + "gradient" + ] + }, + "backgroundColor": { + "type": "string", + "default": "#f9f9f9" + }, + "backgroundGradient": { + "type": "string", + "default": "" + }, + "backgroundImage": { + "type": "object", + "default": { + "url": "", + "alt": "" + } + }, + "padding": { + "type": "object", + "default": { + "top": "15px", + "right": "15px", + "bottom": "15px", + "left": "15px" + } + }, + "margin": { + "type": "object", + "default": { + "top": "10px", + "right": "0px", + "bottom": "10px", + "left": "0px" + } + }, + "borderStyle": { + "type": "string", + "default": "solid", + "enum": [ + "none", + "solid", + "dashed", + "dotted" + ] + }, + "borderWidth": { + "type": "object", + "default": { + "top": "1px", + "right": "1px", + "bottom": "1px", + "left": "1px" + } + }, + "borderColor": { + "type": "string", + "default": "#dddddd" + }, + "borderRadius": { + "type": "string", + "default": "4px" + }, + "boxShadow": { + "type": "object", + "default": { + "enabled": false, + "horizontal": "0px", + "vertical": "2px", + "blur": "4px", + "spread": "0px", + "color": "rgba(0,0,0,0.1)" + } + }, + "showAvatar": { + "type": "boolean", + "default": true + }, + "avatarType": { + "type": "string", + "default": "user_avatar", + "enum": [ + "user_avatar", + "common_icon" + ] + }, + "avatarSize": { + "type": "string", + "default": "32px" + }, + "avatarShape": { + "type": "string", + "default": "circle", + "enum": [ + "circle", + "rounded", + "square" + ] + }, + "avatarBorderStyle": { + "type": "string", + "default": "none", + "enum": [ + "none", + "solid", + "dashed" + ] + }, + "avatarBorderColor": { + "type": "string", + "default": "#dddddd" + }, + "avatarBorderRadius": { + "type": "string", + "default": "50%" + }, + "avatarHoverEffect": { + "type": "boolean", + "default": false + }, + "nameColor": { + "type": "string", + "default": "#333333" + }, + "nameTypography": { + "type": "object", + "default": { + "fontSize": "14px", + "fontWeight": "600", + "fontStyle": "normal", + "lineHeight": "normal", + "letterSpacing": "normal", + "textTransform": "none", + "textDecoration": "none", + "fontFamily": "default" + } + }, + "nameHoverColor": { + "type": "string", + "default": "#0073aa" + }, + "contributorTitleColor": { + "type": "string", + "default": "#333333" + }, + "contributorTitleTypography": { + "type": "object", + "default": { + "fontSize": "16px", + "fontWeight": "600", + "fontStyle": "normal", + "lineHeight": "normal", + "letterSpacing": "normal", + "textTransform": "none", + "textDecoration": "none", + "fontFamily": "default" + } + }, + "contributorTitleHoverColor": { + "type": "string", + "default": "#0073aa" + }, + "dateColor": { + "type": "string", + "default": "#666666" + }, + "dateTypography": { + "type": "object", + "default": { + "fontSize": "12px", + "fontWeight": "400", + "fontStyle": "normal", + "lineHeight": "normal", + "letterSpacing": "normal", + "textTransform": "none", + "textDecoration": "none", + "fontFamily": "default" + } + }, + "additionalCssClass": { + "type": "string", + "default": "" + }, + "enableSchema": { + "type": "boolean", + "default": false + }, + "linkBehavior": { + "type": "string", + "default": "user_profile", + "enum": [ + "user_profile", + "no_link", + "custom_link" + ] + }, + "customLinkUrl": { + "type": "string", + "default": "" + }, + "avatarPadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "avatarMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "8px", + "bottom": "0px", + "left": "0px" + } + }, + "avatarBorderWidth": { + "type": "object", + "default": { + "top": "2px", + "right": "2px", + "bottom": "2px", + "left": "2px" + } + }, + "avatarBoxShadow": { + "type": "object", + "default": { + "enabled": false, + "horizontal": "0px", + "vertical": "2px", + "blur": "4px", + "spread": "0px", + "color": "rgba(0,0,0,0.1)" + } + }, + "namePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "nameMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "datePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "dateMargin": { + "type": "object", + "default": { + "top": "10px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "contributorGap": { + "type": "string", + "default": "10px" + }, + "titlePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "10px", + "left": "0px" + } + }, + "titleMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + } + } +} \ No newline at end of file diff --git a/assets/build/blocks/Contributors/render.php b/assets/build/blocks/Contributors/render.php new file mode 100644 index 00000000..51a281d4 --- /dev/null +++ b/assets/build/blocks/Contributors/render.php @@ -0,0 +1,385 @@ +post_type !== 'docs') { + // return ''; + // } + + // Extract attributes with defaults + $show_title = $attributes['showTitle'] ?? true; + $title = $attributes['title'] ?? 'Contributors'; + $contributor_display_mode = $attributes['contributorDisplayMode'] ?? 'all'; + $selected_contributors = $attributes['selectedContributors'] ?? []; + $show_last_updated = $attributes['showLastUpdated'] ?? true; + $date_format = $attributes['dateFormat'] ?? 'wp_default'; + $custom_date_format = $attributes['customDateFormat'] ?? 'F j, Y'; + $date_prefix = $attributes['datePrefix'] ?? 'Updated on'; + $show_avatar = $attributes['showAvatar'] ?? true; + $avatar_type = $attributes['avatarType'] ?? 'user_avatar'; + $avatar_size = $attributes['avatarSize'] ?? '32px'; + $avatar_shape = $attributes['avatarShape'] ?? 'circle'; + $avatar_border_style = $attributes['avatarBorderStyle'] ?? 'none'; + $avatar_border_color = $attributes['avatarBorderColor'] ?? '#dddddd'; + $avatar_hover_effect = $attributes['avatarHoverEffect'] ?? false; + $additional_css_class = $attributes['additionalCssClass'] ?? ''; + $enable_schema = $attributes['enableSchema'] ?? false; + $link_behavior = $attributes['linkBehavior'] ?? 'user_profile'; + $custom_link_url = $attributes['customLinkUrl'] ?? ''; + + // Typography attributes + $contributor_color = $attributes['contributorTitleColor'] ?? '#333333'; + $contributor_typography = $attributes['contributorTitleTypography'] ?? []; + $contributor_hover_color = $attributes['contributorTitleHoverColor'] ?? '#0073aa'; + $name_color = $attributes['nameColor'] ?? '#333333'; + $name_typography = $attributes['nameTypography'] ?? []; + $name_hover_color = $attributes['nameHoverColor'] ?? '#0073aa'; + $date_color = $attributes['dateColor'] ?? '#666666'; + $date_typography = $attributes['dateTypography'] ?? []; + + // Spacing attributes + $title_padding = $attributes['titlePadding'] ?? []; + $title_margin = $attributes['titleMargin'] ?? []; + $avatar_padding = $attributes['avatarPadding'] ?? []; + $avatar_margin = $attributes['avatarMargin'] ?? []; + $name_padding = $attributes['namePadding'] ?? []; + $name_margin = $attributes['nameMargin'] ?? []; + $date_padding = $attributes['datePadding'] ?? []; + $date_margin = $attributes['dateMargin'] ?? []; + $contributor_gap = $attributes['contributorGap'] ?? '10px'; + + // Build container styles using helper functions + $container_styles = []; + + // Background styles + $background_args = [ + 'type' => $attributes['backgroundType'] ?? 'classic', + 'color' => $attributes['backgroundColor'] ?? '', + 'gradient' => $attributes['backgroundGradient'] ?? '', + 'image' => $attributes['backgroundImage'] ?? [] + ]; + $container_styles = array_merge($container_styles, wedocs_build_background_styles( + $background_args['type'], + $background_args['color'], + $background_args['gradient'], + $background_args['image'] + )); + + // Container spacing + $container_styles = array_merge($container_styles, wedocs_build_spacing_styles( + $attributes['padding'] ?? [], + $attributes['margin'] ?? [] + )); + + // Container border + $container_styles = array_merge($container_styles, wedocs_build_border_styles( + $attributes['borderStyle'] ?? 'none', + $attributes['borderWidth'] ?? [], + $attributes['borderColor'] ?? '', + $attributes['borderRadius'] ?? '' + )); + + // Container shadow + $container_styles = array_merge($container_styles, wedocs_build_shadow_styles( + $attributes['boxShadow'] ?? [] + )); + + // Get contributors based on display mode + $contributors = []; + + switch ($contributor_display_mode) { + case 'main_author': + $author_id = get_post_field('post_author', $post->ID); + if ($author_id) { + $contributors[] = get_userdata($author_id); + } + break; + + case 'manual': + if (!empty($selected_contributors)) { + foreach ($selected_contributors as $user_id) { + $user = get_userdata($user_id); + if ($user) { + $contributors[] = $user; + } + } + } + break; + + case 'all': + default: + // Get all contributors who have edited the post + $author_id = get_post_field('post_author', $post->ID); + if ($author_id && ($author_user = get_userdata($author_id))) { + $contributors[] = $author_user; + } + + // Get additional contributors from post meta or revisions + if ($post) { + $revisions = wp_get_post_revisions($post->ID); + $contributor_ids = [$author_id]; + + foreach ($revisions as $revision) { + $revision_author = get_post_field('post_author', $revision->ID); + if (!in_array($revision_author, $contributor_ids)) { + $contributor_ids[] = $revision_author; + $user = get_userdata($revision_author); + if ($user) { + $contributors[] = $user; + } + } + } + } + break; + } + + // Filter out invalid contributors + $contributors = array_filter($contributors); + + if (empty($contributors)) { + // For demo purposes, add mock contributors if none found + $contributors = [ + (object) [ + 'ID' => 1, + 'display_name' => 'Demo Author', + 'user_email' => 'demo@example.com' + ] + ]; + } + + // Build avatar styles using helper functions + $avatar_base_styles = [ + 'width: ' . esc_attr($avatar_size), + 'height: ' . esc_attr($avatar_size), + 'object-fit: cover' + ]; + + // Avatar shape + switch ($avatar_shape) { + case 'circle': + $avatar_base_styles[] = 'border-radius: 50%'; + break; + case 'rounded': + $avatar_base_styles[] = 'border-radius: ' . esc_attr($attributes['avatarBorderRadius'] ?? '8px'); + break; + case 'square': + $avatar_base_styles[] = 'border-radius: 0'; + break; + } + + // Avatar border and spacing + $avatar_styles = array_merge($avatar_base_styles, wedocs_build_border_styles( + $avatar_border_style, + $attributes['avatarBorderWidth'] ?? [], + $avatar_border_color, + '' // Border radius already handled above + )); + + $avatar_styles = array_merge($avatar_styles, wedocs_build_spacing_styles( + $avatar_padding, + $avatar_margin + )); + + $avatar_styles = array_merge($avatar_styles, wedocs_build_shadow_styles( + $attributes['avatarBoxShadow'] ?? [] + )); + + // Build element styles using helper functions + $title_styles = wedocs_build_element_styles([ + 'color' => $contributor_color, + 'typography' => $contributor_typography, + 'spacing' => [ + 'padding' => $title_padding, + 'margin' => $title_margin + ] + ]); + + $name_styles = wedocs_build_element_styles([ + 'color' => $name_color, + 'typography' => $name_typography, + 'spacing' => [ + 'padding' => $name_padding, + 'margin' => $name_margin + ] + ]); + + $date_styles = wedocs_build_element_styles([ + 'color' => $date_color, + 'typography' => $date_typography, + 'spacing' => [ + 'padding' => $date_padding, + 'margin' => $date_margin + ] + ]); + + // Build CSS classes + $css_classes = ['wedocs-contributors']; + if (!empty($additional_css_class)) { + $css_classes[] = esc_attr($additional_css_class); + } + + // Generate unique block ID + $block_id = wedocs_generate_block_id('wedocs-contributors'); + + // Start building output + $output = '
'Person', + 'name' => $contributor->display_name, + 'url' => get_author_posts_url($contributor->ID) + ]; + } + if ($post) { + $schema_data['dateModified'] = get_the_modified_date('c', $post); + } + } + + // Title + if ($show_title) { + $title_css = wedocs_styles_to_css($title_styles); + $contributor_hover_style = '--contributor-hover-color: ' . esc_attr($contributor_hover_color); + + $output .= '

' . esc_html($title) . '

'; + } + + // Contributors container with gap + $container_gap_style = 'gap: ' . esc_attr($contributor_gap); + $output .= '
'; + + foreach ($contributors as $contributor) { + $output .= '
'; + + // Avatar + if ($show_avatar) { + $avatar_class = 'contributor-avatar'; + if ($avatar_hover_effect) { + $avatar_class .= ' avatar-hover'; + } + + $output .= '
'; + + if ($avatar_type === 'user_avatar') { + $avatar_url = get_avatar_url($contributor->ID, ['size' => 96]); + $output .= '' . esc_attr($contributor->display_name) . ''; + } else { + $icon_styles = array_merge($avatar_styles, [ + 'background-color: #0073aa', + 'display: flex', + 'align-items: center', + 'justify-content: center', + 'color: white' + ]); + + $output .= '
'; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= '
'; + } + + $output .= '
'; + } + + // Name + $name_css = wedocs_styles_to_css($name_styles); + $name_hover_style = '--name-hover-color: ' . esc_attr($name_hover_color); + + if ($link_behavior === 'user_profile') { + $output .= '' . esc_html($contributor->display_name) . ''; + } elseif ($link_behavior === 'custom_link' && !empty($custom_link_url)) { + $output .= '' . esc_html($contributor->display_name) . ''; + } else { + $output .= '' . esc_html($contributor->display_name) . ''; + } + + $output .= '
'; + } + + $output .= '
'; + + // Last updated date + if ($show_last_updated) { + $date_format_string = $date_format === 'custom' ? $custom_date_format : get_option('date_format'); + $last_modified = $post ? get_the_modified_date($date_format_string, $post) : date($date_format_string); + + $output .= '
'; + $output .= esc_html($date_prefix) . ' ' . esc_html($last_modified); + $output .= '
'; + } + + $output .= '
'; + + // Add schema markup + if ($enable_schema && !empty($schema_data)) { + $output .= ''; + } + + // Add CSS for hover effects and responsive design using helper + $responsive_rules = [ + 'desktop' => '', + 'tablet' => ' + .contributors-container { + flex-direction: column !important; + align-items: flex-start !important; + gap: 8px !important; + } + .contributor-item { + width: 100% !important; + } + ', + 'mobile' => ' + .contributors-container { + gap: 6px !important; + } + .contributor-avatar img, + .contributor-avatar .default-icon { + width: 28px !important; + height: 28px !important; + } + ', + 'accessibility' => ' + .contributor-avatar.avatar-hover:hover { + transform: none !important; + transition: none !important; + } + ' + ]; + + $responsive_css = wedocs_generate_responsive_css($block_id, $responsive_rules); + + $output .= ''; + + return $output; +} \ No newline at end of file diff --git a/assets/build/index.asset.php b/assets/build/index.asset.php index 438cd800..c61422ef 100644 --- a/assets/build/index.asset.php +++ b/assets/build/index.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '7fd38c9fb0b998c4cff7'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8b822292467f86e0ebc6'); diff --git a/assets/build/index.css b/assets/build/index.css index 2bf0fc96..336e94f3 100644 --- a/assets/build/index.css +++ b/assets/build/index.css @@ -1993,6 +1993,21 @@ select { -ms-overflow-style: none; scrollbar-width: none; } +.checkbox { + flex-shrink: 0; + --chkbg: var(--bc); + --chkfg: var(--b1); + height: 1.5rem; + width: 1.5rem; + cursor: pointer; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0.2; + border-radius: var(--rounded-btn, 0.5rem); +} .divider { display: flex; flex-direction: row; @@ -2096,6 +2111,13 @@ select { -webkit-mask-position: center; mask-position: center; } +.menu.horizontal { + display: inline-flex; + flex-direction: row; +} +.menu.horizontal :where(li) { + flex-direction: row; +} .menu > :where(li.disabled > *:not(ul):focus) { cursor: auto; } @@ -2476,6 +2498,33 @@ select { .carousel::-webkit-scrollbar { display: none; } +.checkbox:focus-visible { + outline: 2px solid hsl(var(--bc)); + outline-offset: 2px; +} +.checkbox:checked, + .checkbox[checked="true"], + .checkbox[aria-checked="true"] { + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + background-repeat: no-repeat; + animation: checkmark var(--animation-input, 0.2s) ease-in-out; + background-image: linear-gradient(-45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%); +} +.checkbox:indeterminate { + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + background-repeat: no-repeat; + animation: checkmark var(--animation-input, 0.2s) ease-in-out; + background-image: linear-gradient(90deg, transparent 80%, hsl(var(--chkbg)) 80%), linear-gradient(-90deg, transparent 80%, hsl(var(--chkbg)) 80%), linear-gradient(0deg, hsl(var(--chkbg)) 43%, hsl(var(--chkfg)) 43%, hsl(var(--chkfg)) 57%, hsl(var(--chkbg)) 57%); +} +.checkbox:disabled { + cursor: not-allowed; + border-color: transparent; + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + opacity: 0.2; +} @keyframes checkmark { 0% { @@ -2490,6 +2539,11 @@ select { background-position-y: 0; } } +[dir="rtl"] .checkbox:checked, + [dir="rtl"] .checkbox[checked="true"], + [dir="rtl"] .checkbox[aria-checked="true"] { + background-image: linear-gradient(45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(-45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%); +} .divider:before { background-color: hsl(var(--bc) / var(--tw-bg-opacity)); --tw-bg-opacity: 0.1; @@ -2542,6 +2596,14 @@ select { -webkit-mask-image: url("data:image/svg+xml,%3csvg width=%27200%27 height=%27200%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z%27/%3e%3c/svg%3e"); mask-image: url("data:image/svg+xml,%3csvg width=%27200%27 height=%27200%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z%27/%3e%3c/svg%3e"); } +.menu.horizontal > li.bordered > a, + .menu.horizontal > li.bordered > button, + .menu.horizontal > li.bordered > span { + border-left-width: 0px; + border-bottom-width: 4px; + --tw-border-opacity: 1; + border-color: hsl(var(--p) / var(--tw-border-opacity)); +} .menu :where(li:not(.menu-title):not(:empty)) > :where(:not(ul).active), .menu :where(li:not(.menu-title):not(:empty)) > :where(*:not(ul):active) { --tw-bg-opacity: 1; @@ -2936,6 +2998,36 @@ select { .prose :where(tbody tr, thead):not(:where([class~="not-prose"] *)) { border-bottom-color: hsl(var(--bc) / 20%); } +.artboard.phone-1.horizontal, + .artboard.phone-1.artboard-horizontal { + width: 568px; + height: 320px; +} +.artboard.phone-2.horizontal, + .artboard.phone-2.artboard-horizontal { + width: 667px; + height: 375px; +} +.artboard.phone-3.horizontal, + .artboard.phone-3.artboard-horizontal { + width: 736px; + height: 414px; +} +.artboard.phone-4.horizontal, + .artboard.phone-4.artboard-horizontal { + width: 812px; + height: 375px; +} +.artboard.phone-5.horizontal, + .artboard.phone-5.artboard-horizontal { + width: 896px; + height: 414px; +} +.artboard.phone-6.horizontal, + .artboard.phone-6.artboard-horizontal { + width: 1024px; + height: 320px; +} .btm-nav-xs>*:where(.active) { border-top-width: 1px; } @@ -4701,6 +4793,15 @@ select { .wedocs-document :is(.font-semibold) { font-weight: 600; } +.wedocs-document :is(.uppercase) { + text-transform: uppercase; +} +.wedocs-document :is(.lowercase) { + text-transform: lowercase; +} +.wedocs-document :is(.capitalize) { + text-transform: capitalize; +} .wedocs-document :is(.italic) { font-style: italic; } @@ -4843,6 +4944,12 @@ select { .wedocs-document :is(.underline) { text-decoration-line: underline; } +.wedocs-document :is(.overline) { + text-decoration-line: overline; +} +.wedocs-document :is(.line-through) { + text-decoration-line: line-through; +} .wedocs-document :is(.decoration-1) { text-decoration-thickness: 1px; } @@ -4959,6 +5066,10 @@ select { .wedocs-document :is(.ring-opacity-5) { --tw-ring-opacity: 0.05; } +.wedocs-document :is(.blur) { + --tw-blur: blur(8px); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} .wedocs-document :is(.grayscale) { --tw-grayscale: grayscale(100%); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); diff --git a/assets/build/style-block.css b/assets/build/style-block.css index 55638f71..179566b0 100644 --- a/assets/build/style-block.css +++ b/assets/build/style-block.css @@ -1,2 +1,3 @@ .wp-block-wedocs-wedocs-search{--field-color: #FFFFFF;--field-bg-color: #FFFFFF;--field-icon-color: #FFFFFF;--field-btn-bg-color: #3B82F6;--field-icon-hover-color: #FFFFFF;--field-btn-bg-hover-color: #2563EB}.wedocs-search-input,.wedocs-editor-search-input{width:50%;display:flex;overflow:hidden;position:relative}.wedocs-search-input .search-field,.wedocs-editor-search-input .search-field{margin:0;width:100%;height:48px;font-size:14px;background:#fff;padding:14px 22px;border-radius:100px;border:1px solid #dbdbdb}.wedocs-search-input .search-field::-moz-placeholder, .wedocs-editor-search-input .search-field::-moz-placeholder{color:#c5c5c5}.wedocs-search-input .search-field::placeholder,.wedocs-editor-search-input .search-field::placeholder{color:#c5c5c5}.wedocs-search-input .search-field:focus,.wedocs-editor-search-input .search-field:focus{outline:none;box-shadow:none;border:1px solid #dbdbdb}.wedocs-search-input .search-submit,.wedocs-editor-search-input .search-submit{top:0;right:0;border:0;margin:0;height:100%;display:flex;cursor:pointer;width:-moz-fit-content;width:fit-content;padding:14px 26px;position:absolute;align-items:center;border-radius:100px}.wedocs-search-input{margin-left:auto;margin-bottom:4%}.wedocs-search-toggle{margin-bottom:0 !important}.wedocs-search-toggle .components-h-stack{flex-direction:row-reverse}.wedocs-search-color-settings .block-editor-panel-color-gradient-settings{border-top:0;padding-left:0;padding-right:0}.wedocs-search-color-settings .block-editor-panel-color-gradient-settings .block-editor-tools-panel-color-gradient-settings__item.first{margin-top:0}.radio-image-control-options{display:flex;flex-direction:row;justify-content:space-between}.radio-image-control-options .radio-image-option{margin-right:10px}.radio-image-control-options .radio-image-option label{cursor:pointer;display:block}.radio-image-control-options .radio-image-option input[type=radio]{display:none}.radio-image-control-options .radio-image-option label i,.radio-image-control-options .radio-image-option label img{width:30px;height:30px;display:block;background-size:cover;background-position:center}.backdrop{top:0;left:0;z-index:0;width:100%;opacity:.5;height:100%;background:#fff;position:absolute}.wp-block-wedocs-wedocs-search .wedocs-search-input .search-field{background-color:var(--field-color) !important}.wp-block-wedocs-wedocs-search .wedocs-search-input .search-field:hover{background-color:var(--field-bg-color) !important}.wp-block-wedocs-wedocs-search .wedocs-search-input .search-submit{background-color:var(--field-btn-bg-color) !important}.wp-block-wedocs-wedocs-search .wedocs-search-input .search-submit svg path{fill:var(--field-icon-color) !important}.wp-block-wedocs-wedocs-search .wedocs-search-input .search-submit svg path:hover{fill:var(--field-icon-hover-color) !important}.wp-block-wedocs-wedocs-search .wedocs-search-input .search-submit:hover{background-color:var(--field-btn-bg-hover-color) !important}.wp-block-wedocs-wedocs-search:not(.wp-block){display:block} .wedocs-color-control{margin:1em 0}.wedocs-color-control label{display:block;margin-bottom:.5em}.wedocs-docs-pagination{margin:30px 0;text-align:center}.wedocs-docs-pagination ul{display:inline-flex;list-style:none;padding:0;margin:0;gap:5px}.wedocs-docs-pagination li{margin:0}.wedocs-docs-pagination button{display:inline-block;padding:8px 12px;border:1px solid var(--wedocs-pagination-border-color, #ddd);border-radius:var(--wedocs-border-radius, 4px);text-decoration:none;color:var(--wedocs-pagination-text-color, #333);background:var(--wedocs-pagination-background-color, #fff);cursor:pointer;transition:all .2s}.wedocs-docs-pagination button:hover{background:var(--wedocs-pagination-hover-color, #f5f5f5);color:var(--wedocs-pagination-text-hover-color, #0073aa)}.wedocs-docs-pagination button.is-active{background:var(--wedocs-pagination-hover-color, #f5f5f5);border-color:var(--wedocs-pagination-hover-color, #ccc)}.wedocs-block-wrapper{width:100%;max-width:1200px;margin:0 auto;padding:.5rem}.wedocs-preview-title{margin-bottom:1rem;font-size:1.1rem;color:var(--wedocs-text-secondary-color, #757575)}.wedocs-docs-grid{display:grid;gap:1.5rem;width:100%;margin:0;padding:0;list-style:none}.wedocs-docs-grid--1x1{grid-template-columns:1fr}.wedocs-docs-grid--1x2{grid-template-columns:repeat(2, 1fr)}@media(max-width: 768px){.wedocs-docs-grid--1x2{grid-template-columns:1fr}}.wedocs-docs-grid .inside{display:flex;color:#063250;font-size:18px;min-height:240px;list-style:none}.wedocs-docs-grid .inside svg{width:64px;height:24px;margin:2px .5rem 0 0}.wedocs-docs-grid__item{position:relative;background-color:#fff;transition:transform .2s,box-shadow .2s;list-style:none;padding:var(--wedocs-grid-padding, 1.5rem);margin:var(--wedocs-grid-margin, 0);border-width:var(--wedocs-border-width, 1px);border-style:var(--wedocs-border-type, solid);border-color:var(--wedocs-border-color, rgba(0, 0, 0, 0.1));border-radius:var(--wedocs-border-radius, 8px)}.wedocs-docs-grid__title{font-size:1.5rem;font-weight:800;color:var(--wedocs-doc-title-color, #1e1e1e);margin:0 0 .75rem;line-height:1.4}.wedocs-docs-grid__article-count{font-size:.875rem;color:var(--wedocs-text-secondary-color, #757575);margin:0}.wedocs-docs-grid__container{min-height:240px}.wedocs-docs-grid__sections{margin-top:1rem;padding:0}.wedocs-docs-grid__sections.is-collapsed .wedocs-docs-grid__articles{display:none}.wedocs-docs-grid__section-title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;justify-content:space-between;align-items:center}.wedocs-docs-grid__section-title a{pointer-events:auto;text-decoration:none}.wedocs-docs-grid__section-title a:hover{text-decoration:underline}.wedocs-docs-grid__section-title svg{transition:transform .3s ease;cursor:pointer;flex-shrink:0}.wedocs-docs-grid__section-title svg.active{transform:rotate(180deg)}.wedocs-docs-grid__articles{max-height:1000px;overflow:hidden;transition:max-height .3s ease-in-out}.wedocs-docs-grid__articles.collapsed{max-height:0}.wedocs-docs-grid__articles li{opacity:1;transition:opacity .2s ease-in-out}.wedocs-docs-grid__articles.collapsed li{opacity:0}.wedocs-docs-grid__section{margin-bottom:1rem}.wedocs-docs-grid__section-title{font-size:1rem;color:var(--wedocs-doc-title-color, #1e1e1e);margin:.5rem 0}.wedocs-docs-grid__articles{margin:.5rem 0 .5rem 1rem;padding:0}.wedocs-docs-grid__articles li{color:var(--wedocs-doc-children-active-color, #0073aa);font-size:.875rem;margin-bottom:.25rem;margin-left:1rem}.wedocs-docs-grid__articles li ::marker{content:"•";color:var(--wedocs-doc-children-active-color, #0073aa);margin-right:.5rem}.wedocs-docs-grid__details{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(0,0,0,.1)}.wedocs-docs-grid__details-link{display:inline-block;padding:var(--wedocs-button-padding, 8px 12px);margin:var(--wedocs-button-margin, 0);background-color:var(--wedocs-button-color, #0073aa);color:var(--wedocs-button-text-color, #fff);border-radius:var(--wedocs-border-radius, 4px);font-size:.875rem;cursor:pointer;transition:all .2s;text-decoration:none}.wedocs-docs-grid__details-link:hover{background-color:var(--wedocs-button-hover-color, #005177);color:var(--wedocs-button-hover-text-color, #fff)}.wp-block-wedocs-docs .wedocs-docs-grid__item{cursor:default}[dir=rtl] .wedocs-docs-grid__details-link::after{content:"←"}.wedocs-docs-pagination{margin:30px 0;text-align:center}.wedocs-docs-pagination .page-numbers{display:inline-flex;list-style:none;padding:0;margin:0;gap:5px}.wedocs-docs-pagination .page-numbers li{margin:0;display:inline-block}.wedocs-docs-pagination .page-numbers a,.wedocs-docs-pagination .page-numbers span{display:inline-block;padding:8px 12px;min-width:32px;margin:0 4px;border:1px solid var(--wedocs-pagination-border-color, #ddd);border-radius:var(--wedocs-border-radius, 4px);background-color:var(--wedocs-pagination-background-color, #fff);color:var(--wedocs-pagination-text-color, #333);text-decoration:none;font-family:inherit;font-size:14px;line-height:1.4;text-align:center;transition:all .2s ease;cursor:pointer}.wedocs-docs-pagination .page-numbers a:hover:not(.current),.wedocs-docs-pagination .page-numbers span:hover:not(.current){background-color:var(--wedocs-pagination-hover-color, #f5f5f5);color:var(--wedocs-pagination-text-hover-color, #0073aa);border-color:var(--wedocs-pagination-hover-color, #ccc)}.wedocs-docs-pagination .page-numbers .current{background-color:var(--wedocs-pagination-hover-color, #f5f5f5);border-color:var(--wedocs-pagination-hover-color, #ccc);color:var(--wedocs-pagination-text-hover-color, #0073aa);cursor:default}.wedocs-docs-pagination .page-numbers .dots{border:none;padding:8px;cursor:default}.wedocs-docs-pagination .page-numbers .dots:hover{background:none;color:inherit}.wedocs-docs-pagination__button{display:inline-block;padding:8px 12px;min-width:32px;margin:0 4px;border:1px solid var(--wedocs-pagination-border-color, #ddd);border-radius:var(--wedocs-border-radius, 4px);background-color:var(--wedocs-pagination-background-color, #fff);color:var(--wedocs-pagination-text-color, #333);text-decoration:none;font-family:inherit;font-size:14px;line-height:1.4;text-align:center;transition:all .2s ease;cursor:pointer}.wedocs-docs-pagination__button:hover:not(.is-active){background-color:var(--wedocs-pagination-hover-color, #f5f5f5) !important;color:var(--wedocs-pagination-text-hover-color, #0073aa) !important;border-color:var(--wedocs-pagination-hover-color, #ccc) !important}.wedocs-docs-pagination__button.is-active{background-color:var(--wedocs-pagination-hover-color, #f5f5f5);border-color:var(--wedocs-pagination-hover-color, #ccc);color:var(--wedocs-pagination-text-hover-color, #0073aa);cursor:default} +.contributors-tab-system .components-button-group{display:flex}.wedocs-contributors .contributors-container{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:10px}@media(max-width: 768px){.wedocs-contributors .contributors-container{flex-direction:column;align-items:flex-start;gap:8px}}.wedocs-contributors .contributors-container .contributor-item{display:flex;align-items:center;gap:8px}@media(max-width: 768px){.wedocs-contributors .contributors-container .contributor-item{width:100%}}.wedocs-contributors .contributors-container .contributor-item .contributor-avatar{display:flex;align-items:center;justify-content:center;transition:all .3s ease}.wedocs-contributors .contributors-container .contributor-item .contributor-avatar.avatar-hover:hover{transform:scale(1.1);box-shadow:0 2px 8px rgba(0,0,0,.15)}.wedocs-contributors .contributors-container .contributor-item .contributor-avatar img{display:block;-o-object-fit:cover;object-fit:cover}.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon{display:flex;align-items:center;justify-content:center;background-color:#0073aa;color:#fff}.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon svg{width:60%;height:60%;fill:currentColor}.wedocs-contributors .contributors-container .contributor-item .contributor-name{transition:color .3s ease;text-decoration:none}.wedocs-contributors .contributors-container .contributor-item .contributor-name:hover{text-decoration:underline}.wedocs-contributors .contributors-container .contributor-item .contributor-name.no-link{cursor:default}.wedocs-contributors .last-updated{margin-top:10px;font-style:italic}@media(max-width: 768px){.wedocs-contributors .last-updated{margin-top:8px;font-size:.9em}}.wedocs-contributors .contributors-title{margin:0 0 10px 0;font-weight:600;font-size:16px}@media(max-width: 480px){.wedocs-contributors .contributors-container{gap:6px}.wedocs-contributors .contributors-container .contributor-item{gap:6px}.wedocs-contributors .contributors-container .contributor-item .contributor-avatar img,.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon{width:28px !important;height:28px !important}.wedocs-contributors .contributors-container .contributor-item .contributor-name{font-size:.9em}.wedocs-contributors .last-updated{font-size:.8em}}@media(prefers-contrast: high){.wedocs-contributors .contributor-item .contributor-avatar{border:2px solid currentColor !important}.wedocs-contributors .contributor-item .contributor-name{text-decoration:underline}}@media(prefers-reduced-motion: reduce){.wedocs-contributors .contributor-avatar{transition:none !important}.wedocs-contributors .contributor-avatar.avatar-hover:hover{transform:none !important}.wedocs-contributors .contributor-name{transition:none !important}}@media(prefers-color-scheme: dark){.wedocs-contributors .contributor-item .contributor-avatar .default-icon{background-color:#4a90a4}}@media print{.wedocs-contributors .contributors-container{flex-direction:column;align-items:flex-start}.wedocs-contributors .contributor-item .contributor-avatar{display:none}} diff --git a/assets/img/demo-avatar/avatar_1.png b/assets/img/demo-avatar/avatar_1.png new file mode 100644 index 0000000000000000000000000000000000000000..62ddd48b26d053af6c30c459b1b918d2a58c0d50 GIT binary patch literal 43910 zcmX_oV|ZlG6K=SfB)iGPwl=nHCmS0ZTN4|bjcwc7*xJ~(ZD(WL`Tg&6?}zgoOrP$q zw@Y1BXTp9cNPa`WMSy^S_$DnSrVIfAc?Ul30bjsRs1f?XHxQ5@Wl0f;>Ph?)@Qs+M zrnH&7JOmB+8UO(qVhI8BUlZ_w3qBwqpmQN1puuOz|DNSS{l8x!?{cC4|MmTU4K?2C z#vmYsAf&~FRox-aec=4@G#Ve$lvXyq?DZe@jZ1jK<`795fZLFHa3Vf}|8BN#{DCqe z{*T8%sJx>YQ~*gZOv!4k@ldDDzlTjXiix+aw12CsdX`msQH62NcBD0<d<$*vL((oQM#p4Ilu~jq)Ni=+E!uGjC{CdS@)r<{WkULwmiV}vJ8b*&x96P%r6>N?YeAfAycch#tzD6m2rTE%PLrbfN@QY_D_O_Ln81M@z z0Q7k*%Gq>J2k3`|l3Q$SEMY;XpiUbk7zvk`r4W~Gic1$uPcDf|7KcHlq(BrL)&)AH z=l@8rR^fpd?InYc`O5gG!>@UBsuL;gQN?EvN2P{}c!@Yp0FZW_@|#$L(GIH3S?`Jz zV~QPj8l#9H@P0ShSal`|Wp?4GQw%b7!KlOLZ3jwhCr5#w2Q>fyMM-M77~CTkS4b;N z%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9jtYM2c(MLHR1> z%aL_wnn*p3f||8rG^KtE%E4FnN|7<(6m@u$<45;Fe8&|FuwvSN<0IO^PGj`}dD=W2 z>+GK)zbC)yP1d8yTakwvhU`9`WXSpA#civ*VVNwx!{+pZQUZo{f~HjMr=I+ z+6+1{A4xPU6d64hu&r@namnTuq~hOOe{GN zOP*t1@3&7#E3vy1_=NSi0HaR%Mb-i5hXZFf3bkWawx<0i7W~cH3`k2NuIPiv8oaJF^oZkxC<7G?qj{l)k5B21%jtxoO2pKPNg{i9B zuyt^UnWXYxdoMbec;JRLFSvc?GV?o%?9N_L+0W41WNMUMp+-z { + const { attributes, setAttributes, clientId } = props; + const [users, setUsers] = useState([]); + const [isLoadingUsers, setIsLoadingUsers] = useState(false); + + const blockProps = useBlockProps({ + className: `wedocs-contributors ${attributes.additionalCssClass}`, + style: { + backgroundColor: attributes.backgroundType === 'classic' ? attributes.backgroundColor : undefined, + backgroundImage: attributes.backgroundType === 'gradient' ? attributes.backgroundGradient : + (attributes.backgroundImage?.url ? `url(${attributes.backgroundImage.url})` : undefined), + padding: `${attributes.padding.top} ${attributes.padding.right} ${attributes.padding.bottom} ${attributes.padding.left}`, + margin: `${attributes.margin.top} ${attributes.margin.right} ${attributes.margin.bottom} ${attributes.margin.left}`, + borderStyle: attributes.borderStyle !== 'none' ? attributes.borderStyle : undefined, + borderWidth: attributes.borderStyle !== 'none' ? + `${attributes.borderWidth.top} ${attributes.borderWidth.right} ${attributes.borderWidth.bottom} ${attributes.borderWidth.left}` : undefined, + borderColor: attributes.borderStyle !== 'none' ? attributes.borderColor : undefined, + borderRadius: attributes.borderRadius, + boxShadow: attributes.boxShadow.enabled ? + `${attributes.boxShadow.horizontal} ${attributes.boxShadow.vertical} ${attributes.boxShadow.blur} ${attributes.boxShadow.spread} ${attributes.boxShadow.color}` : undefined + } + }); + + // Fetch users when component mounts or when manual selection mode is active + useEffect(() => { + if (attributes.contributorDisplayMode === 'manual') { + setIsLoadingUsers(true); + wp.apiFetch({ path: '/wp/v2/users?per_page=100&context=edit' }) + .then(users => { + setUsers(users); + setIsLoadingUsers(false); + }) + .catch(() => { + setIsLoadingUsers(false); + }); + } + }, [attributes.contributorDisplayMode]); + + const currentPost = useSelect((select) => { + const { getCurrentPostId, getCurrentPostType } = select('core/editor') || {}; + if (!getCurrentPostId) return null; + + return select(coreStore).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId()); + }, []); + + const renderPreview = () => { + if (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) { + return ( + + ); + } + + // Mock data for preview + const mockContributors = attributes.contributorDisplayMode === 'main_author' ? + [{ id: 1, name: 'John Doe', avatar_urls: { 48: 'https://via.placeholder.com/48' } }] : + [ + { id: 1, name: 'John Doe', avatar_urls: { 48: 'https://via.placeholder.com/48' } }, + { id: 2, name: 'Jane Smith', avatar_urls: { 48: 'https://via.placeholder.com/48' } } + ]; + + const avatarStyle = { + width: attributes.avatarSize, + height: attributes.avatarSize, + borderRadius: attributes.avatarShape === 'circle' ? '50%' : + (attributes.avatarShape === 'rounded' ? attributes.avatarBorderRadius : '0'), + borderStyle: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderStyle : undefined, + borderColor: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderColor : undefined, + borderWidth: attributes.avatarBorderStyle !== 'none' ? '2px' : undefined + }; + + const nameStyle = { + color: attributes.nameColor, + fontSize: attributes.nameTypography.fontSize, + fontWeight: attributes.nameTypography.fontWeight, + fontStyle: attributes.nameTypography.fontStyle + }; + const contributorTitleStyle = { + color: attributes.contributorTitleColor, + fontSize: attributes.contributorTitleTypography.fontSize, + fontWeight: attributes.contributorTitleTypography.fontWeight, + fontStyle: attributes.contributorTitleTypography.fontStyle + }; + + const dateStyle = { + color: attributes.dateColor, + fontSize: attributes.dateTypography.fontSize, + fontWeight: attributes.dateTypography.fontWeight, + fontStyle: attributes.dateTypography.fontStyle + }; + + return ( +

+ ); + }; + + return ( + <> + + {/* General Tab */} + + setAttributes({ showTitle: value })} + /> + + {attributes.showTitle && ( + setAttributes({ title: value })} + /> + )} + + setAttributes({ contributorDisplayMode: value })} + /> + + {attributes.contributorDisplayMode === 'manual' && ( +
+

{__('Select Contributors', 'wedocs')}

+ {isLoadingUsers ? ( + + ) : ( +
+ {users.map(user => ( + + ))} +
+ )} +
+ )} + + setAttributes({ showLastUpdated: value })} + /> + + {attributes.showLastUpdated && ( + <> + setAttributes({ dateFormat: value })} + /> + + {attributes.dateFormat === 'custom' && ( + setAttributes({ customDateFormat: value })} + help={__('Use PHP date format. E.g., F j, Y for "January 1, 2023"', 'wedocs')} + /> + )} + + setAttributes({ datePrefix: value })} + /> + + )} +
+ + {/* Styles Tab */} + + setAttributes({ backgroundType: value })} + /> + + {attributes.backgroundType === 'classic' ? ( + setAttributes({ backgroundColor: value }), + label: __('Color', 'wedocs') + } + ]} + /> + ) : ( + setAttributes({ backgroundGradient: value })} + help={__('Enter CSS gradient, e.g., linear-gradient(45deg, #ff0000, #00ff00)', 'wedocs')} + /> + )} + +
+

{__('Background Image', 'wedocs')}

+ + setAttributes({ + backgroundImage: { url: media.url, alt: media.alt } + })} + allowedTypes={['image']} + value={attributes.backgroundImage?.url} + render={({ open }) => ( + + )} + /> + + {attributes.backgroundImage?.url && ( + + )} +
+ + setAttributes({ padding: value })} + /> + + setAttributes({ margin: value })} + /> + + setAttributes({ borderStyle: value })} + /> + + {attributes.borderStyle !== 'none' && ( + <> + setAttributes({ borderWidth: value })} + /> + + setAttributes({ borderColor: value }), + label: __('Color', 'wedocs') + } + ]} + /> + + )} + + setAttributes({ borderRadius: value })} + /> +
+ + {/* Avatar Styles */} + + setAttributes({ showAvatar: value })} + /> + + {attributes.showAvatar && ( + <> + setAttributes({ avatarType: value })} + /> + + setAttributes({ avatarSize: value })} + /> + + setAttributes({ avatarShape: value })} + /> + + setAttributes({ avatarBorderStyle: value })} + /> + + {attributes.avatarBorderStyle !== 'none' && ( + setAttributes({ avatarBorderColor: value }), + label: __('Color', 'wedocs') + } + ]} + /> + )} + + setAttributes({ avatarHoverEffect: value })} + /> + + )} + + + {/* Typography */} + +

{__('Title Name', 'wedocs')}

+ setAttributes({ contributorTitleColor: value }), + label: __('Text Color', 'wedocs') + }, + { + value: attributes.contributorTitleHoverColor, + onChange: (value) => setAttributes({ contributorTitleHoverColor: value }), + label: __('Hover Color', 'wedocs') + } + ]} + /> +

{__('Contributor Name', 'wedocs')}

+ setAttributes({ nameColor: value }), + label: __('Text Color', 'wedocs') + }, + { + value: attributes.nameHoverColor, + onChange: (value) => setAttributes({ nameHoverColor: value }), + label: __('Hover Color', 'wedocs') + } + ]} + /> + + setAttributes({ + nameTypography: { ...attributes.nameTypography, fontSize: value } + })} + /> + + setAttributes({ + nameTypography: { ...attributes.nameTypography, fontWeight: value } + })} + /> + +

{__('Updated Date', 'wedocs')}

+ setAttributes({ dateColor: value }), + label: __('Color', 'wedocs') + } + ]} + /> + + setAttributes({ + dateTypography: { ...attributes.dateTypography, fontSize: value } + })} + /> +
+ + {/* Advanced Tab */} + + setAttributes({ additionalCssClass: value })} + help={__('Separate multiple classes with spaces', 'wedocs')} + /> + + setAttributes({ enableSchema: value })} + help={__('Output structured data for author and dateModified', 'wedocs')} + /> + + setAttributes({ linkBehavior: value })} + /> + + {attributes.linkBehavior === 'custom_link' && ( + setAttributes({ customLinkUrl: value })} + placeholder="https://example.com/author" + /> + )} + +
+ +
+ {renderPreview()} +
+ + ); +}; + +export default Edit; diff --git a/src/blocks/Contributors/edit.js b/src/blocks/Contributors/edit.js new file mode 100644 index 00000000..a74d9c9b --- /dev/null +++ b/src/blocks/Contributors/edit.js @@ -0,0 +1,671 @@ +import { __ } from '@wordpress/i18n'; +import { + useBlockProps, + InspectorControls +} from '@wordpress/block-editor'; +import { + PanelBody, + ToggleControl, + TextControl, + SelectControl, + RadioControl, + Placeholder, + Spinner +} from '@wordpress/components'; +import { useState, useEffect } from '@wordpress/element'; +import { useSelect } from '@wordpress/data'; +import { store as coreStore } from '@wordpress/core-data'; + +// Import our custom components +import TabSystem from '../components/TabSystem'; +import TypographyControl from '../components/TypographyControl'; +import SpacingControl from '../components/SpacingControl'; +import BorderControl from '../components/BorderControl'; +import BackgroundControl from '../components/BackgroundControl'; +import ShadowControl from '../components/ShadowControl'; +import DimensionControl from '../components/DimensionControl'; + + +const Edit = (props) => { + const { attributes, setAttributes } = props; + const [users, setUsers] = useState([]); + const [isLoadingUsers, setIsLoadingUsers] = useState(false); + const [actualContributors, setActualContributors] = useState([]); + const [isLoadingContributors, setIsLoadingContributors] = useState(false); + + const blockProps = useBlockProps({ + className: `wedocs-contributors ${attributes.additionalCssClass}`, + style: { + backgroundColor: attributes.backgroundType === 'classic' ? attributes.backgroundColor : undefined, + backgroundImage: attributes.backgroundType === 'gradient' ? attributes.backgroundGradient : + (attributes.backgroundImage?.url ? `url(${attributes.backgroundImage.url})` : undefined), + padding: `${attributes.padding.top} ${attributes.padding.right} ${attributes.padding.bottom} ${attributes.padding.left}`, + margin: `${attributes.margin.top} ${attributes.margin.right} ${attributes.margin.bottom} ${attributes.margin.left}`, + borderStyle: attributes.borderStyle !== 'none' ? attributes.borderStyle : undefined, + borderWidth: attributes.borderStyle !== 'none' ? + `${attributes.borderWidth.top} ${attributes.borderWidth.right} ${attributes.borderWidth.bottom} ${attributes.borderWidth.left}` : undefined, + borderColor: attributes.borderStyle !== 'none' ? attributes.borderColor : undefined, + borderRadius: attributes.borderRadius, + boxShadow: attributes.boxShadow.enabled ? + `${attributes.boxShadow.horizontal} ${attributes.boxShadow.vertical} ${attributes.boxShadow.blur} ${attributes.boxShadow.spread} ${attributes.boxShadow.color}` : undefined + } + }); + + // Get current post data + const currentPost = useSelect((select) => { + const { getCurrentPostId, getCurrentPostType } = select('core/editor') || {}; + if (!getCurrentPostId) return null; + + return select(coreStore).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId()); + }, []); + + // Fetch users when component mounts or when manual selection mode is active + useEffect(() => { + if (attributes.contributorDisplayMode === 'manual') { + setIsLoadingUsers(true); + wp.apiFetch({ path: '/wp/v2/users?per_page=100&context=edit' }) + .then(users => { + setUsers(users); + setIsLoadingUsers(false); + }) + .catch(() => { + setIsLoadingUsers(false); + }); + } + }, [attributes.contributorDisplayMode]); + + // Fetch actual contributors based on current post and display mode + useEffect(() => { + if (!currentPost) return; + + const fetchContributors = async () => { + setIsLoadingContributors(true); + try { + const contributors = []; + + switch (attributes.contributorDisplayMode) { + case 'main_author': + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + break; + + case 'manual': + if (attributes.selectedContributors.length > 0) { + for (const userId of attributes.selectedContributors) { + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${userId}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch user ${userId}:`, error); + } + } + } + break; + + case 'all': + default: + // Get post author + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + + // Get revisions if post is saved + if (currentPost.id) { + try { + const revisions = await wp.apiFetch({ + path: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50` + }); + + const contributorIds = [currentPost.author]; + for (const revision of revisions) { + if (revision.author && !contributorIds.includes(revision.author)) { + contributorIds.push(revision.author); + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${revision.author}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch revision author ${revision.author}:`, error); + } + } + } + } catch (error) { + console.warn('Could not fetch revisions:', error); + } + } + break; + } + + setActualContributors(contributors); + } catch (error) { + console.error('Error fetching contributors:', error); + setActualContributors([]); + } finally { + setIsLoadingContributors(false); + } + }; + + fetchContributors(); + }, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]); + + const renderPreview = () => { + // Show loading state + if (isLoadingContributors) { + return ( + + +
{__('Loading contributors...', 'wedocs')}
+
+ ); + } + + if (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) { + return ( + + ); + } + + // Use actual contributors or fallback to demo data + let displayContributors = actualContributors; + + if (!displayContributors || displayContributors.length === 0) { + // Fallback to demo data for new posts or when no contributors found + displayContributors = [ + { + id: 1, + name: 'Demo Author', + avatar_urls: { 48: weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_2.png" } + } + ]; + } + + const avatarStyle = { + width: attributes.avatarSize, + height: attributes.avatarSize, + borderRadius: attributes.avatarShape === 'circle' ? '50%' : + (attributes.avatarShape === 'rounded' ? attributes.avatarBorderRadius : '0'), + borderStyle: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderStyle : undefined, + borderColor: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderColor : undefined, + borderWidth: attributes.avatarBorderStyle !== 'none' ? + `${attributes.avatarBorderWidth?.top || '2px'} ${attributes.avatarBorderWidth?.right || '2px'} ${attributes.avatarBorderWidth?.bottom || '2px'} ${attributes.avatarBorderWidth?.left || '2px'}` : undefined, + padding: `${attributes.avatarPadding?.top || '0px'} ${attributes.avatarPadding?.right || '0px'} ${attributes.avatarPadding?.bottom || '0px'} ${attributes.avatarPadding?.left || '0px'}`, + margin: `${attributes.avatarMargin?.top || '0px'} ${attributes.avatarMargin?.right || '8px'} ${attributes.avatarMargin?.bottom || '0px'} ${attributes.avatarMargin?.left || '0px'}`, + boxShadow: attributes.avatarBoxShadow?.enabled ? + `${attributes.avatarBoxShadow.horizontal} ${attributes.avatarBoxShadow.vertical} ${attributes.avatarBoxShadow.blur} ${attributes.avatarBoxShadow.spread} ${attributes.avatarBoxShadow.color}` : undefined + }; + + const titleStyle = { + color: attributes.contributorTitleColor, + fontSize: attributes.contributorTitleTypography.fontSize, + fontWeight: attributes.contributorTitleTypography.fontWeight, + fontStyle: attributes.contributorTitleTypography.fontStyle, + fontFamily: attributes.contributorTitleTypography.fontFamily !== 'default' ? attributes.contributorTitleTypography.fontFamily : undefined, + lineHeight: attributes.contributorTitleTypography.lineHeight !== 'normal' ? attributes.contributorTitleTypography.lineHeight : undefined, + letterSpacing: attributes.contributorTitleTypography.letterSpacing !== 'normal' ? attributes.contributorTitleTypography.letterSpacing : undefined, + textTransform: attributes.contributorTitleTypography.textTransform !== 'none' ? attributes.contributorTitleTypography.textTransform : undefined, + textDecoration: attributes.contributorTitleTypography.textDecoration !== 'none' ? attributes.contributorTitleTypography.textDecoration : undefined, + padding: `${attributes.titlePadding?.top || '0px'} ${attributes.titlePadding?.right || '0px'} ${attributes.titlePadding?.bottom || '10px'} ${attributes.titlePadding?.left || '0px'}`, + margin: `${attributes.titleMargin?.top || '0px'} ${attributes.titleMargin?.right || '0px'} ${attributes.titleMargin?.bottom || '0px'} ${attributes.titleMargin?.left || '0px'}` + }; + + const nameStyle = { + color: attributes.nameColor, + fontSize: attributes.nameTypography.fontSize, + fontWeight: attributes.nameTypography.fontWeight, + fontStyle: attributes.nameTypography.fontStyle, + fontFamily: attributes.nameTypography.fontFamily !== 'default' ? attributes.nameTypography.fontFamily : undefined, + lineHeight: attributes.nameTypography.lineHeight !== 'normal' ? attributes.nameTypography.lineHeight : undefined, + letterSpacing: attributes.nameTypography.letterSpacing !== 'normal' ? attributes.nameTypography.letterSpacing : undefined, + textTransform: attributes.nameTypography.textTransform !== 'none' ? attributes.nameTypography.textTransform : undefined, + textDecoration: attributes.nameTypography.textDecoration !== 'none' ? attributes.nameTypography.textDecoration : undefined, + padding: `${attributes.namePadding?.top || '0px'} ${attributes.namePadding?.right || '0px'} ${attributes.namePadding?.bottom || '0px'} ${attributes.namePadding?.left || '0px'}`, + margin: `${attributes.nameMargin?.top || '0px'} ${attributes.nameMargin?.right || '0px'} ${attributes.nameMargin?.bottom || '0px'} ${attributes.nameMargin?.left || '0px'}` + }; + + const dateStyle = { + color: attributes.dateColor, + fontSize: attributes.dateTypography.fontSize, + fontWeight: attributes.dateTypography.fontWeight, + fontStyle: attributes.dateTypography.fontStyle, + fontFamily: attributes.dateTypography.fontFamily !== 'default' ? attributes.dateTypography.fontFamily : undefined, + lineHeight: attributes.dateTypography.lineHeight !== 'normal' ? attributes.dateTypography.lineHeight : undefined, + letterSpacing: attributes.dateTypography.letterSpacing !== 'normal' ? attributes.dateTypography.letterSpacing : undefined, + textTransform: attributes.dateTypography.textTransform !== 'none' ? attributes.dateTypography.textTransform : undefined, + textDecoration: attributes.dateTypography.textDecoration !== 'none' ? attributes.dateTypography.textDecoration : undefined, + padding: `${attributes.datePadding?.top || '0px'} ${attributes.datePadding?.right || '0px'} ${attributes.datePadding?.bottom || '0px'} ${attributes.datePadding?.left || '0px'}`, + margin: `${attributes.dateMargin?.top || '10px'} ${attributes.dateMargin?.right || '0px'} ${attributes.dateMargin?.bottom || '0px'} ${attributes.dateMargin?.left || '0px'}` + }; + + return ( +
+ {attributes.showTitle && ( +

+ {attributes.title} +

+ )} + +
+ {attributes.showAvatar && displayContributors.map(contributor => { + // Handle both API response format and demo format + const contributorName = contributor.name || contributor.display_name || 'Unknown'; + const contributorId = contributor.id || contributor.ID || Math.random(); + // Get avatar URL with fallbacks + let avatarUrl = weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_1.png" ; + + if (contributor.avatar_urls) { + avatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24]; + } + + // If no avatar URL and we have an email, use Gravatar + if (!avatarUrl && contributor.email) { + try { + const emailHash = btoa(contributor.email.toLowerCase().trim()); + avatarUrl = `https://www.gravatar.com/avatar/${emailHash}?s=48&d=identicon`; + } catch (e) { + avatarUrl = weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_1.png" ; + } + } + + return ( +
+ {attributes.avatarType === 'user_avatar' ? ( + {contributorName} + ) : ( +
+ + + +
+ )} + {contributorName} +
+ ); + })} +
+ + {attributes.showLastUpdated && ( +
+ {attributes.datePrefix} {new Date().toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric' + })} +
+ )} +
+ ); + }; + + const setupTabContent = () => ( + <> + {/* Basic Settings */} + + setAttributes({ showTitle: value })} + /> + + {attributes.showTitle && ( + setAttributes({ title: value })} + /> + )} + + setAttributes({ contributorDisplayMode: value })} + /> + + {attributes.contributorDisplayMode === 'manual' && ( +
+

{__('Select Contributors', 'wedocs')}

+ {isLoadingUsers ? ( + + ) : ( +
+ {users.map(user => ( + + ))} +
+ )} +
+ )} +
+ + {/* Avatar Settings */} + + setAttributes({ showAvatar: value })} + /> + + {attributes.showAvatar && ( + <> + setAttributes({ avatarType: value })} + /> + + setAttributes({ avatarShape: value })} + /> + + setAttributes({ avatarHoverEffect: value })} + /> + + )} + + + {/* Date Settings */} + + setAttributes({ showLastUpdated: value })} + /> + + {attributes.showLastUpdated && ( + <> + setAttributes({ dateFormat: value })} + /> + + {attributes.dateFormat === 'custom' && ( + setAttributes({ customDateFormat: value })} + help={__('Use PHP date format. E.g., F j, Y for "January 1, 2023"', 'wedocs')} + /> + )} + + setAttributes({ datePrefix: value })} + /> + + )} + + + {/* Advanced Settings */} + + setAttributes({ additionalCssClass: value })} + help={__('Separate multiple classes with spaces', 'wedocs')} + /> + + setAttributes({ enableSchema: value })} + help={__('Output structured data for author and dateModified', 'wedocs')} + /> + + setAttributes({ linkBehavior: value })} + /> + + {attributes.linkBehavior === 'custom_link' && ( + setAttributes({ customLinkUrl: value })} + placeholder="https://example.com/author" + /> + )} + + + ); + + const styleTabContent = () => ( + <> + {/* Container Styles */} + setAttributes({ backgroundType: value })} + backgroundColor={attributes.backgroundColor} + onBackgroundColorChange={(value) => setAttributes({ backgroundColor: value })} + backgroundGradient={attributes.backgroundGradient} + onBackgroundGradientChange={(value) => setAttributes({ backgroundGradient: value })} + backgroundImage={attributes.backgroundImage} + onBackgroundImageChange={(value) => setAttributes({ backgroundImage: value })} + /> + + setAttributes({ padding: value })} + marginValue={attributes.margin} + onMarginChange={(value) => setAttributes({ margin: value })} + showGap={true} + gapValue={attributes.contributorGap} + onGapChange={(value) => setAttributes({ contributorGap: value })} + /> + + setAttributes({ borderStyle: value })} + borderWidth={attributes.borderWidth} + onBorderWidthChange={(value) => setAttributes({ borderWidth: value })} + borderColor={attributes.borderColor} + onBorderColorChange={(value) => setAttributes({ borderColor: value })} + borderRadius={attributes.borderRadius} + onBorderRadiusChange={(value) => setAttributes({ borderRadius: value })} + /> + + setAttributes({ boxShadow: value })} + /> + + {/* Title Styles */} + {attributes.showTitle && ( + <> + setAttributes({ contributorTitleTypography: value })} + colorValue={attributes.contributorTitleColor} + onColorChange={(value) => setAttributes({ contributorTitleColor: value })} + hoverColorValue={attributes.contributorTitleHoverColor} + onHoverColorChange={(value) => setAttributes({ contributorTitleHoverColor: value })} + /> + + setAttributes({ titlePadding: value })} + marginValue={attributes.titleMargin} + onMarginChange={(value) => setAttributes({ titleMargin: value })} + showGap={false} + /> + + )} + + {/* Avatar Styles */} + {attributes.showAvatar && ( + <> + setAttributes({ avatarSize: value })} + showHeight={false} + /> + + setAttributes({ avatarPadding: value })} + marginValue={attributes.avatarMargin} + onMarginChange={(value) => setAttributes({ avatarMargin: value })} + showGap={false} + /> + + setAttributes({ avatarBorderStyle: value })} + borderWidth={attributes.avatarBorderWidth} + onBorderWidthChange={(value) => setAttributes({ avatarBorderWidth: value })} + borderColor={attributes.avatarBorderColor} + onBorderColorChange={(value) => setAttributes({ avatarBorderColor: value })} + borderRadius={attributes.avatarBorderRadius} + onBorderRadiusChange={(value) => setAttributes({ avatarBorderRadius: value })} + /> + + setAttributes({ avatarBoxShadow: value })} + /> + + )} + + {/* Name Styles */} + setAttributes({ nameTypography: value })} + colorValue={attributes.nameColor} + onColorChange={(value) => setAttributes({ nameColor: value })} + hoverColorValue={attributes.nameHoverColor} + onHoverColorChange={(value) => setAttributes({ nameHoverColor: value })} + /> + + setAttributes({ namePadding: value })} + marginValue={attributes.nameMargin} + onMarginChange={(value) => setAttributes({ nameMargin: value })} + showGap={false} + /> + + {/* Date Styles */} + {attributes.showLastUpdated && ( + <> + setAttributes({ dateTypography: value })} + colorValue={attributes.dateColor} + onColorChange={(value) => setAttributes({ dateColor: value })} + showHoverColor={false} + /> + + setAttributes({ datePadding: value })} + marginValue={attributes.dateMargin} + onMarginChange={(value) => setAttributes({ dateMargin: value })} + showGap={false} + /> + + )} + + ); + + return ( + <> + + + {setupTabContent()} + {styleTabContent()} + + + +
+ {renderPreview()} +
+ + ); +}; + +export default Edit; diff --git a/src/blocks/Contributors/index.js b/src/blocks/Contributors/index.js new file mode 100644 index 00000000..758b3fec --- /dev/null +++ b/src/blocks/Contributors/index.js @@ -0,0 +1,16 @@ +import { registerBlockType } from "@wordpress/blocks"; +import Edit from "./edit"; +import metadata from "./block.json"; +import "./style.scss"; + +registerBlockType(metadata.name, { + /** + * @see ./edit.js + */ + edit: Edit, + + /** + * @see ./save.js + */ + save: () => null, +}); \ No newline at end of file diff --git a/src/blocks/Contributors/render.php b/src/blocks/Contributors/render.php new file mode 100644 index 00000000..51a281d4 --- /dev/null +++ b/src/blocks/Contributors/render.php @@ -0,0 +1,385 @@ +post_type !== 'docs') { + // return ''; + // } + + // Extract attributes with defaults + $show_title = $attributes['showTitle'] ?? true; + $title = $attributes['title'] ?? 'Contributors'; + $contributor_display_mode = $attributes['contributorDisplayMode'] ?? 'all'; + $selected_contributors = $attributes['selectedContributors'] ?? []; + $show_last_updated = $attributes['showLastUpdated'] ?? true; + $date_format = $attributes['dateFormat'] ?? 'wp_default'; + $custom_date_format = $attributes['customDateFormat'] ?? 'F j, Y'; + $date_prefix = $attributes['datePrefix'] ?? 'Updated on'; + $show_avatar = $attributes['showAvatar'] ?? true; + $avatar_type = $attributes['avatarType'] ?? 'user_avatar'; + $avatar_size = $attributes['avatarSize'] ?? '32px'; + $avatar_shape = $attributes['avatarShape'] ?? 'circle'; + $avatar_border_style = $attributes['avatarBorderStyle'] ?? 'none'; + $avatar_border_color = $attributes['avatarBorderColor'] ?? '#dddddd'; + $avatar_hover_effect = $attributes['avatarHoverEffect'] ?? false; + $additional_css_class = $attributes['additionalCssClass'] ?? ''; + $enable_schema = $attributes['enableSchema'] ?? false; + $link_behavior = $attributes['linkBehavior'] ?? 'user_profile'; + $custom_link_url = $attributes['customLinkUrl'] ?? ''; + + // Typography attributes + $contributor_color = $attributes['contributorTitleColor'] ?? '#333333'; + $contributor_typography = $attributes['contributorTitleTypography'] ?? []; + $contributor_hover_color = $attributes['contributorTitleHoverColor'] ?? '#0073aa'; + $name_color = $attributes['nameColor'] ?? '#333333'; + $name_typography = $attributes['nameTypography'] ?? []; + $name_hover_color = $attributes['nameHoverColor'] ?? '#0073aa'; + $date_color = $attributes['dateColor'] ?? '#666666'; + $date_typography = $attributes['dateTypography'] ?? []; + + // Spacing attributes + $title_padding = $attributes['titlePadding'] ?? []; + $title_margin = $attributes['titleMargin'] ?? []; + $avatar_padding = $attributes['avatarPadding'] ?? []; + $avatar_margin = $attributes['avatarMargin'] ?? []; + $name_padding = $attributes['namePadding'] ?? []; + $name_margin = $attributes['nameMargin'] ?? []; + $date_padding = $attributes['datePadding'] ?? []; + $date_margin = $attributes['dateMargin'] ?? []; + $contributor_gap = $attributes['contributorGap'] ?? '10px'; + + // Build container styles using helper functions + $container_styles = []; + + // Background styles + $background_args = [ + 'type' => $attributes['backgroundType'] ?? 'classic', + 'color' => $attributes['backgroundColor'] ?? '', + 'gradient' => $attributes['backgroundGradient'] ?? '', + 'image' => $attributes['backgroundImage'] ?? [] + ]; + $container_styles = array_merge($container_styles, wedocs_build_background_styles( + $background_args['type'], + $background_args['color'], + $background_args['gradient'], + $background_args['image'] + )); + + // Container spacing + $container_styles = array_merge($container_styles, wedocs_build_spacing_styles( + $attributes['padding'] ?? [], + $attributes['margin'] ?? [] + )); + + // Container border + $container_styles = array_merge($container_styles, wedocs_build_border_styles( + $attributes['borderStyle'] ?? 'none', + $attributes['borderWidth'] ?? [], + $attributes['borderColor'] ?? '', + $attributes['borderRadius'] ?? '' + )); + + // Container shadow + $container_styles = array_merge($container_styles, wedocs_build_shadow_styles( + $attributes['boxShadow'] ?? [] + )); + + // Get contributors based on display mode + $contributors = []; + + switch ($contributor_display_mode) { + case 'main_author': + $author_id = get_post_field('post_author', $post->ID); + if ($author_id) { + $contributors[] = get_userdata($author_id); + } + break; + + case 'manual': + if (!empty($selected_contributors)) { + foreach ($selected_contributors as $user_id) { + $user = get_userdata($user_id); + if ($user) { + $contributors[] = $user; + } + } + } + break; + + case 'all': + default: + // Get all contributors who have edited the post + $author_id = get_post_field('post_author', $post->ID); + if ($author_id && ($author_user = get_userdata($author_id))) { + $contributors[] = $author_user; + } + + // Get additional contributors from post meta or revisions + if ($post) { + $revisions = wp_get_post_revisions($post->ID); + $contributor_ids = [$author_id]; + + foreach ($revisions as $revision) { + $revision_author = get_post_field('post_author', $revision->ID); + if (!in_array($revision_author, $contributor_ids)) { + $contributor_ids[] = $revision_author; + $user = get_userdata($revision_author); + if ($user) { + $contributors[] = $user; + } + } + } + } + break; + } + + // Filter out invalid contributors + $contributors = array_filter($contributors); + + if (empty($contributors)) { + // For demo purposes, add mock contributors if none found + $contributors = [ + (object) [ + 'ID' => 1, + 'display_name' => 'Demo Author', + 'user_email' => 'demo@example.com' + ] + ]; + } + + // Build avatar styles using helper functions + $avatar_base_styles = [ + 'width: ' . esc_attr($avatar_size), + 'height: ' . esc_attr($avatar_size), + 'object-fit: cover' + ]; + + // Avatar shape + switch ($avatar_shape) { + case 'circle': + $avatar_base_styles[] = 'border-radius: 50%'; + break; + case 'rounded': + $avatar_base_styles[] = 'border-radius: ' . esc_attr($attributes['avatarBorderRadius'] ?? '8px'); + break; + case 'square': + $avatar_base_styles[] = 'border-radius: 0'; + break; + } + + // Avatar border and spacing + $avatar_styles = array_merge($avatar_base_styles, wedocs_build_border_styles( + $avatar_border_style, + $attributes['avatarBorderWidth'] ?? [], + $avatar_border_color, + '' // Border radius already handled above + )); + + $avatar_styles = array_merge($avatar_styles, wedocs_build_spacing_styles( + $avatar_padding, + $avatar_margin + )); + + $avatar_styles = array_merge($avatar_styles, wedocs_build_shadow_styles( + $attributes['avatarBoxShadow'] ?? [] + )); + + // Build element styles using helper functions + $title_styles = wedocs_build_element_styles([ + 'color' => $contributor_color, + 'typography' => $contributor_typography, + 'spacing' => [ + 'padding' => $title_padding, + 'margin' => $title_margin + ] + ]); + + $name_styles = wedocs_build_element_styles([ + 'color' => $name_color, + 'typography' => $name_typography, + 'spacing' => [ + 'padding' => $name_padding, + 'margin' => $name_margin + ] + ]); + + $date_styles = wedocs_build_element_styles([ + 'color' => $date_color, + 'typography' => $date_typography, + 'spacing' => [ + 'padding' => $date_padding, + 'margin' => $date_margin + ] + ]); + + // Build CSS classes + $css_classes = ['wedocs-contributors']; + if (!empty($additional_css_class)) { + $css_classes[] = esc_attr($additional_css_class); + } + + // Generate unique block ID + $block_id = wedocs_generate_block_id('wedocs-contributors'); + + // Start building output + $output = '
'; + + // Add schema markup + if ($enable_schema && !empty($schema_data)) { + $output .= ''; + } + + // Add CSS for hover effects and responsive design using helper + $responsive_rules = [ + 'desktop' => '', + 'tablet' => ' + .contributors-container { + flex-direction: column !important; + align-items: flex-start !important; + gap: 8px !important; + } + .contributor-item { + width: 100% !important; + } + ', + 'mobile' => ' + .contributors-container { + gap: 6px !important; + } + .contributor-avatar img, + .contributor-avatar .default-icon { + width: 28px !important; + height: 28px !important; + } + ', + 'accessibility' => ' + .contributor-avatar.avatar-hover:hover { + transform: none !important; + transition: none !important; + } + ' + ]; + + $responsive_css = wedocs_generate_responsive_css($block_id, $responsive_rules); + + $output .= ''; + + return $output; +} \ No newline at end of file diff --git a/src/blocks/Contributors/save.js b/src/blocks/Contributors/save.js new file mode 100644 index 00000000..74eb4cf9 --- /dev/null +++ b/src/blocks/Contributors/save.js @@ -0,0 +1,11 @@ +import { useBlockProps } from '@wordpress/block-editor'; + +const Save = () => { + const blockProps = useBlockProps.save(); + + // Since this is a dynamic block that uses PHP rendering, + // we return null to let the server-side render function handle the output + return null; +}; + +export default Save; \ No newline at end of file diff --git a/src/blocks/Contributors/style.scss b/src/blocks/Contributors/style.scss new file mode 100644 index 00000000..dbc91434 --- /dev/null +++ b/src/blocks/Contributors/style.scss @@ -0,0 +1,172 @@ +/** + * Frontend styles for the Contributors block + */ +.contributors-tab-system{ + .components-button-group{ + display: flex; + } +} +.wedocs-contributors { + + .contributors-container { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 10px; + margin-bottom: 10px; + + @media (max-width: 768px) { + flex-direction: column; + align-items: flex-start; + gap: 8px; + } + + .contributor-item { + display: flex; + align-items: center; + gap: 8px; + + @media (max-width: 768px) { + width: 100%; + } + + .contributor-avatar { + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; + + &.avatar-hover:hover { + transform: scale(1.1); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); + } + + img { + display: block; + object-fit: cover; + } + + .default-icon { + display: flex; + align-items: center; + justify-content: center; + background-color: #0073aa; + color: white; + + svg { + width: 60%; + height: 60%; + fill: currentColor; + } + } + } + + .contributor-name { + transition: color 0.3s ease; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + + &.no-link { + cursor: default; + } + } + } + } + + .last-updated { + margin-top: 10px; + font-style: italic; + + @media (max-width: 768px) { + margin-top: 8px; + font-size: 0.9em; + } + } + + .contributors-title { + margin: 0 0 10px 0; + font-weight: 600; + font-size: 16px; + } + + // Responsive adjustments + @media (max-width: 480px) { + .contributors-container { + gap: 6px; + + .contributor-item { + gap: 6px; + + .contributor-avatar { + // Smaller avatars on mobile + img, .default-icon { + width: 28px !important; + height: 28px !important; + } + } + + .contributor-name { + font-size: 0.9em; + } + } + } + + .last-updated { + font-size: 0.8em; + } + } + + // High contrast mode support + @media (prefers-contrast: high) { + .contributor-item { + .contributor-avatar { + border: 2px solid currentColor !important; + } + + .contributor-name { + text-decoration: underline; + } + } + } + + // Reduced motion support + @media (prefers-reduced-motion: reduce) { + .contributor-avatar { + transition: none !important; + + &.avatar-hover:hover { + transform: none !important; + } + } + + .contributor-name { + transition: none !important; + } + } + + // Dark mode support (if theme supports it) + @media (prefers-color-scheme: dark) { + .contributor-item { + .contributor-avatar .default-icon { + background-color: #4a90a4; + } + } + } + + // Print styles + @media print { + .contributors-container { + flex-direction: column; + align-items: flex-start; + } + + .contributor-item { + .contributor-avatar { + display: none; // Hide avatars in print + } + } + } +} diff --git a/src/blocks/components/BackgroundControl.js b/src/blocks/components/BackgroundControl.js new file mode 100644 index 00000000..2dde484c --- /dev/null +++ b/src/blocks/components/BackgroundControl.js @@ -0,0 +1,112 @@ +import { __ } from '@wordpress/i18n'; +import { + PanelBody, + RadioControl, + TextControl, + Button, + __experimentalSpacer as Spacer +} from '@wordpress/components'; +import { + PanelColorSettings, + MediaUpload, + MediaUploadCheck +} from '@wordpress/block-editor'; + +const BackgroundControl = ({ + label, + backgroundType = 'classic', + onBackgroundTypeChange, + backgroundColor, + onBackgroundColorChange, + backgroundGradient, + onBackgroundGradientChange, + backgroundImage = {}, + onBackgroundImageChange, + showGradient = true, + showImage = true +}) => { + return ( + + {/* Background Type */} + + + + + {/* Classic Background */} + {backgroundType === 'classic' && ( + + )} + + {/* Gradient Background */} + {backgroundType === 'gradient' && showGradient && ( + + )} + + {/* Background Image */} + {showImage && ( + <> + +
+

{__('Background Image', 'wedocs')}

+ + onBackgroundImageChange({ + url: media.url, + alt: media.alt, + id: media.id + })} + allowedTypes={['image']} + value={backgroundImage?.id} + render={({ open }) => ( + + )} + /> + + {backgroundImage?.url && ( + <> + + + + )} +
+ + )} +
+ ); +}; + +export default BackgroundControl; \ No newline at end of file diff --git a/src/blocks/components/BorderControl.js b/src/blocks/components/BorderControl.js new file mode 100644 index 00000000..8a41f3e4 --- /dev/null +++ b/src/blocks/components/BorderControl.js @@ -0,0 +1,118 @@ +import { __ } from '@wordpress/i18n'; +import { + PanelBody, + SelectControl, + __experimentalUnitControl as UnitControl, + __experimentalBoxControl as BoxControl, + __experimentalSpacer as Spacer +} from '@wordpress/components'; +import { PanelColorSettings } from '@wordpress/block-editor'; + +const BorderControl = ({ + label, + borderStyle = 'none', + onBorderStyleChange, + borderWidth = {}, + onBorderWidthChange, + borderColor, + onBorderColorChange, + borderRadius, + onBorderRadiusChange, + showIndividualSides = true +}) => { + return ( + + {/* Border Style */} + + + {borderStyle !== 'none' && ( + <> + + + {/* Border Width */} + {showIndividualSides ? ( + + ) : ( + onBorderWidthChange({ + top: newValue, + right: newValue, + bottom: newValue, + left: newValue + })} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: 'rem', label: 'rem' } + ]} + /> + )} + + + + {/* Border Color */} + + + )} + + + + {/* Border Radius */} + + + ); +}; + +export default BorderControl; \ No newline at end of file diff --git a/src/blocks/components/DimensionControl.js b/src/blocks/components/DimensionControl.js new file mode 100644 index 00000000..2aef294d --- /dev/null +++ b/src/blocks/components/DimensionControl.js @@ -0,0 +1,62 @@ +import { __ } from '@wordpress/i18n'; +import { + PanelBody, + __experimentalUnitControl as UnitControl, + __experimentalSpacer as Spacer +} from '@wordpress/components'; + +const DimensionControl = ({ + label, + widthValue, + onWidthChange, + heightValue, + onHeightChange, + showHeight = true, + linkValues = false +}) => { + const handleWidthChange = (newValue) => { + onWidthChange(newValue); + if (linkValues && showHeight && onHeightChange) { + onHeightChange(newValue); + } + }; + + return ( + + {/* Width */} + + + {/* Height */} + {showHeight && ( + <> + + + + )} + + ); +}; + +export default DimensionControl; \ No newline at end of file diff --git a/src/blocks/components/ShadowControl.js b/src/blocks/components/ShadowControl.js new file mode 100644 index 00000000..04878ba5 --- /dev/null +++ b/src/blocks/components/ShadowControl.js @@ -0,0 +1,113 @@ +import { __ } from '@wordpress/i18n'; +import { + PanelBody, + ToggleControl, + __experimentalUnitControl as UnitControl, + __experimentalSpacer as Spacer +} from '@wordpress/components'; +import { PanelColorSettings } from '@wordpress/block-editor'; + +const ShadowControl = ({ + label, + shadowValue = {}, + onShadowChange, + showToggle = true +}) => { + const updateShadow = (key, newValue) => { + onShadowChange({ + ...shadowValue, + [key]: newValue + }); + }; + + const enabled = shadowValue.enabled ?? false; + + return ( + + {showToggle && ( + <> + updateShadow('enabled', value)} + /> + + + )} + + {(enabled || !showToggle) && ( + <> + {/* Horizontal Offset */} + updateShadow('horizontal', value)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: 'rem', label: 'rem' } + ]} + /> + + + + {/* Vertical Offset */} + updateShadow('vertical', value)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: 'rem', label: 'rem' } + ]} + /> + + + + {/* Blur Radius */} + updateShadow('blur', value)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: 'rem', label: 'rem' } + ]} + /> + + + + {/* Spread Radius */} + updateShadow('spread', value)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: 'rem', label: 'rem' } + ]} + /> + + + + {/* Shadow Color */} + updateShadow('color', value), + label: __('Color', 'wedocs') + } + ]} + /> + + )} + + ); +}; + +export default ShadowControl; \ No newline at end of file diff --git a/src/blocks/components/SpacingControl.js b/src/blocks/components/SpacingControl.js new file mode 100644 index 00000000..2acf526b --- /dev/null +++ b/src/blocks/components/SpacingControl.js @@ -0,0 +1,90 @@ +import { __ } from '@wordpress/i18n'; +import { + PanelBody, + __experimentalBoxControl as BoxControl, + __experimentalUnitControl as UnitControl, + __experimentalSpacer as Spacer +} from '@wordpress/components'; + +const SpacingControl = ({ + label, + paddingValue = {}, + onPaddingChange, + marginValue = {}, + onMarginChange, + showPadding = true, + showMargin = true, + showGap = false, + gapValue, + onGapChange +}) => { + return ( + + {/* Padding */} + {showPadding && ( + <> + + + + )} + + {/* Margin */} + {showMargin && ( + <> + + + + )} + + {/* Gap */} + {showGap && ( + + )} + + ); +}; + +export default SpacingControl; \ No newline at end of file diff --git a/src/blocks/components/TabSystem.js b/src/blocks/components/TabSystem.js new file mode 100644 index 00000000..fa6cea5d --- /dev/null +++ b/src/blocks/components/TabSystem.js @@ -0,0 +1,61 @@ +import { __ } from '@wordpress/i18n'; +import { useState } from '@wordpress/element'; +import { Button, ButtonGroup, __experimentalSpacer as Spacer } from '@wordpress/components'; + +const TabSystem = ({ children, defaultTab = 'setup' }) => { + const [activeTab, setActiveTab] = useState(defaultTab); + + const tabs = [ + { key: 'setup', label: __('Setup', 'wedocs'), icon: 'admin-settings' }, + { key: 'style', label: __('Style', 'wedocs'), icon: 'admin-appearance' } + ]; + + return ( +
+ {/* Tab Navigation */} +
+ + {tabs.map(tab => ( + + ))} + +
+ + {/* Tab Content */} +
+ {children.map((child, index) => { + const tabKey = index === 0 ? 'setup' : 'style'; + return ( +
+ {child} +
+ ); + })} +
+
+ ); +}; + +export default TabSystem; \ No newline at end of file diff --git a/src/blocks/components/TypographyControl.js b/src/blocks/components/TypographyControl.js new file mode 100644 index 00000000..cbe8f4cd --- /dev/null +++ b/src/blocks/components/TypographyControl.js @@ -0,0 +1,175 @@ +import { __ } from '@wordpress/i18n'; +import { + PanelBody, + SelectControl, + ToggleControl, + __experimentalUnitControl as UnitControl, + __experimentalSpacer as Spacer +} from '@wordpress/components'; +import { PanelColorSettings } from '@wordpress/block-editor'; + +const TypographyControl = ({ + label, + value = {}, + onChange, + colorValue, + onColorChange, + hoverColorValue, + onHoverColorChange, + showHoverColor = true, + showLineHeight = true, + showLetterSpacing = true, + showTextTransform = true, + showTextDecoration = true +}) => { + const updateTypography = (key, newValue) => { + onChange({ + ...value, + [key]: newValue + }); + }; + + return ( + + {/* Color Settings */} + + + + + {/* Font Family */} + updateTypography('fontFamily', newValue === 'default' ? undefined : newValue)} + /> + + {/* Font Size */} + updateTypography('fontSize', newValue)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: 'rem', label: 'rem' }, + { value: '%', label: '%' } + ]} + /> + + {/* Font Weight */} + updateTypography('fontWeight', newValue)} + /> + + {/* Font Style */} + updateTypography('fontStyle', newValue)} + /> + + {/* Line Height */} + {showLineHeight && ( + updateTypography('lineHeight', newValue)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' }, + { value: '', label: 'unitless' } + ]} + /> + )} + + {/* Letter Spacing */} + {showLetterSpacing && ( + updateTypography('letterSpacing', newValue)} + units={[ + { value: 'px', label: 'px' }, + { value: 'em', label: 'em' } + ]} + /> + )} + + {/* Text Transform */} + {showTextTransform && ( + updateTypography('textTransform', newValue)} + /> + )} + + {/* Text Decoration */} + {showTextDecoration && ( + updateTypography('textDecoration', newValue)} + /> + )} + + ); +}; + +export default TypographyControl; \ No newline at end of file diff --git a/src/blocks/helpers/README.md b/src/blocks/helpers/README.md new file mode 100644 index 00000000..5ad6fd12 --- /dev/null +++ b/src/blocks/helpers/README.md @@ -0,0 +1,120 @@ +# WeDocs Block Helpers + +This directory contains shared helper functions and utilities for WeDocs blocks. These helpers provide a consistent and maintainable approach to styling, responsive design, and functionality across all blocks. + +## Files + +### `block-styles.php` +PHP helper functions for server-side rendering: + +- `wedocs_build_typography_styles()` - Generate typography CSS from attributes +- `wedocs_build_spacing_styles()` - Generate padding/margin CSS +- `wedocs_build_border_styles()` - Generate border CSS +- `wedocs_build_shadow_styles()` - Generate box-shadow CSS +- `wedocs_build_background_styles()` - Generate background CSS +- `wedocs_build_element_styles()` - Complete element styling +- `wedocs_generate_block_id()` - Unique block ID generation +- `wedocs_styles_to_css()` - Convert styles array to CSS string +- `wedocs_generate_responsive_css()` - Generate responsive CSS rules +- `wedocs_sanitize_css_value()` - Validate and sanitize CSS values + +### `block-helpers.js` +JavaScript helper functions for editor and frontend: + +- `generateBlockStyles()` - Generate CSS styles from attributes +- `generateTypographyStyles()` - Typography style generation +- `generateSpacingStyles()` - Spacing style generation +- `generateElementStyles()` - Complete element styling +- `generateCustomProperties()` - CSS custom properties for theming +- `debounce()` - Performance optimization utility +- `isValidCSSValue()` - CSS value validation +- `convertToPx()` - Unit conversion utility +- `classNames()` - Class name merging utility +- `getBreakpoints()` - Responsive breakpoint values +- `isBreakpoint()` - Breakpoint matching utility + +### `index.js` +Main export file for easy imports + +## Usage + +### PHP Usage +```php +// Include the helpers file +require_once plugin_dir_path(__FILE__) . 'src/blocks/helpers/block-styles.php'; + +// Use helper functions in render callbacks +$title_styles = wedocs_build_element_styles([ + 'color' => $attributes['titleColor'], + 'typography' => $attributes['titleTypography'], + 'spacing' => [ + 'padding' => $attributes['titlePadding'], + 'margin' => $attributes['titleMargin'] + ] +]); + +$css = wedocs_styles_to_css($title_styles); +``` + +### JavaScript Usage +```javascript +// Import specific helpers +import { generateElementStyles, classNames } from '../helpers'; + +// Or import all helpers +import blockHelpers from '../helpers'; + +// Use in components +const elementStyles = generateElementStyles({ + color: attributes.nameColor, + typography: attributes.nameTypography, + spacing: { + padding: attributes.namePadding, + margin: attributes.nameMargin + } +}); +``` + +## Benefits + +1. **Consistency** - All blocks use the same styling logic +2. **Maintainability** - Updates in one place affect all blocks +3. **Performance** - Optimized functions reduce code duplication +4. **Scalability** - Easy to add new styling features +5. **Reliability** - Centralized validation and sanitization +6. **Responsiveness** - Built-in responsive design utilities + +## Adding New Helpers + +When adding new helper functions: + +1. Add PHP functions to `block-styles.php` +2. Add JavaScript functions to `block-helpers.js` +3. Export new functions in `index.js` +4. Update this README with usage examples +5. Follow existing naming conventions +6. Include proper documentation +7. Add validation and sanitization +8. Consider performance implications + +## Naming Conventions + +- PHP functions: `wedocs_[action]_[subject]()` +- JavaScript functions: `[action][Subject]()` +- Use descriptive names that clearly indicate purpose +- Group related functions together + +## Security Considerations + +All PHP helper functions include: +- Input validation with appropriate defaults +- Output escaping with `esc_attr()`, `esc_url()`, `esc_html()` +- CSS injection prevention +- WordPress coding standards compliance + +## Performance Considerations + +- Functions are optimized for minimal DOM manipulation +- CSS generation is efficient and cached where possible +- Responsive breakpoints use standard values +- Debouncing is available for expensive operations \ No newline at end of file diff --git a/src/blocks/helpers/block-helpers.js b/src/blocks/helpers/block-helpers.js new file mode 100644 index 00000000..2041b35b --- /dev/null +++ b/src/blocks/helpers/block-helpers.js @@ -0,0 +1,390 @@ +/** + * Shared helper functions for WeDocs blocks + * + * @package WeDocs + * @since 1.0.0 + */ + +/** + * Generate CSS styles object from block attributes + * + * @param {Object} attributes Block attributes + * @param {Object} options Options for style generation + * @returns {Object} CSS styles object + */ +export const generateBlockStyles = (attributes, options = {}) => { + const styles = {}; + + // Background styles + if (attributes.backgroundType === 'classic' && attributes.backgroundColor) { + styles.backgroundColor = attributes.backgroundColor; + } + + if (attributes.backgroundType === 'gradient' && attributes.backgroundGradient) { + styles.backgroundImage = attributes.backgroundGradient; + } + + if (attributes.backgroundImage?.url) { + styles.backgroundImage = `url(${attributes.backgroundImage.url})`; + styles.backgroundSize = 'cover'; + styles.backgroundPosition = 'center'; + } + + // Spacing + if (attributes.padding) { + const p = attributes.padding; + styles.padding = `${p.top} ${p.right} ${p.bottom} ${p.left}`; + } + + if (attributes.margin) { + const m = attributes.margin; + styles.margin = `${m.top} ${m.right} ${m.bottom} ${m.left}`; + } + + // Border + if (attributes.borderStyle && attributes.borderStyle !== 'none') { + styles.borderStyle = attributes.borderStyle; + + if (attributes.borderWidth) { + const bw = attributes.borderWidth; + styles.borderWidth = `${bw.top} ${bw.right} ${bw.bottom} ${bw.left}`; + } + + if (attributes.borderColor) { + styles.borderColor = attributes.borderColor; + } + } + + if (attributes.borderRadius) { + styles.borderRadius = attributes.borderRadius; + } + + // Box shadow + if (attributes.boxShadow?.enabled) { + const bs = attributes.boxShadow; + styles.boxShadow = `${bs.horizontal} ${bs.vertical} ${bs.blur} ${bs.spread} ${bs.color}`; + } + + return styles; +}; + +/** + * Generate typography styles from typography attributes + * + * @param {Object} typography Typography attributes + * @returns {Object} CSS typography styles + */ +export const generateTypographyStyles = (typography) => { + const styles = {}; + + if (typography.fontFamily && typography.fontFamily !== 'default') { + styles.fontFamily = typography.fontFamily; + } + + if (typography.fontSize) { + styles.fontSize = typography.fontSize; + } + + if (typography.fontWeight) { + styles.fontWeight = typography.fontWeight; + } + + if (typography.fontStyle) { + styles.fontStyle = typography.fontStyle; + } + + if (typography.lineHeight && typography.lineHeight !== 'normal') { + styles.lineHeight = typography.lineHeight; + } + + if (typography.letterSpacing && typography.letterSpacing !== 'normal') { + styles.letterSpacing = typography.letterSpacing; + } + + if (typography.textTransform && typography.textTransform !== 'none') { + styles.textTransform = typography.textTransform; + } + + if (typography.textDecoration && typography.textDecoration !== 'none') { + styles.textDecoration = typography.textDecoration; + } + + return styles; +}; + +/** + * Generate spacing styles from spacing attributes + * + * @param {Object} padding Padding attributes + * @param {Object} margin Margin attributes + * @returns {Object} CSS spacing styles + */ +export const generateSpacingStyles = (padding, margin) => { + const styles = {}; + + if (padding) { + styles.padding = `${padding.top || '0px'} ${padding.right || '0px'} ${padding.bottom || '0px'} ${padding.left || '0px'}`; + } + + if (margin) { + styles.margin = `${margin.top || '0px'} ${margin.right || '0px'} ${margin.bottom || '0px'} ${margin.left || '0px'}`; + } + + return styles; +}; + +/** + * Generate complete element styles + * + * @param {Object} options Style options + * @param {string} options.color Base color + * @param {Object} options.typography Typography attributes + * @param {Object} options.spacing Spacing attributes + * @param {Object} options.border Border attributes + * @param {Object} options.shadow Shadow attributes + * @param {Object} options.background Background attributes + * @param {Object} options.custom Custom CSS properties + * @returns {Object} Complete CSS styles object + */ +export const generateElementStyles = (options = {}) => { + let styles = {}; + + // Base color + if (options.color) { + styles.color = options.color; + } + + // Typography + if (options.typography) { + styles = { ...styles, ...generateTypographyStyles(options.typography) }; + } + + // Spacing + if (options.spacing) { + const spacingStyles = generateSpacingStyles( + options.spacing.padding, + options.spacing.margin + ); + styles = { ...styles, ...spacingStyles }; + } + + // Border + if (options.border) { + const border = options.border; + if (border.style && border.style !== 'none') { + styles.borderStyle = border.style; + + if (border.width) { + const bw = border.width; + styles.borderWidth = `${bw.top || '1px'} ${bw.right || '1px'} ${bw.bottom || '1px'} ${bw.left || '1px'}`; + } + + if (border.color) { + styles.borderColor = border.color; + } + } + + if (border.radius) { + styles.borderRadius = border.radius; + } + } + + // Shadow + if (options.shadow?.enabled) { + const bs = options.shadow; + styles.boxShadow = `${bs.horizontal || '0px'} ${bs.vertical || '2px'} ${bs.blur || '4px'} ${bs.spread || '0px'} ${bs.color || 'rgba(0,0,0,0.1)'}`; + } + + // Background + if (options.background) { + const bg = options.background; + if (bg.type === 'classic' && bg.color) { + styles.backgroundColor = bg.color; + } + + if (bg.type === 'gradient' && bg.gradient) { + styles.backgroundImage = bg.gradient; + } + + if (bg.image?.url) { + styles.backgroundImage = `url(${bg.image.url})`; + styles.backgroundSize = 'cover'; + styles.backgroundPosition = 'center'; + } + } + + // Custom styles + if (options.custom) { + styles = { ...styles, ...options.custom }; + } + + return styles; +}; + +/** + * Debounce function for performance optimization + * + * @param {Function} func Function to debounce + * @param {number} wait Wait time in milliseconds + * @returns {Function} Debounced function + */ +export const debounce = (func, wait) => { + let timeout; + return function executedFunction(...args) { + const later = () => { + clearTimeout(timeout); + func(...args); + }; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + }; +}; + +/** + * Validate CSS unit values + * + * @param {string} value CSS value to validate + * @param {Array} allowedUnits Array of allowed units + * @returns {boolean} Whether the value is valid + */ +export const isValidCSSValue = (value, allowedUnits = ['px', 'em', 'rem', '%', 'vh', 'vw']) => { + if (!value) return false; + + // Allow special values + const specialValues = ['auto', 'inherit', 'initial', 'unset', 'none', 'normal']; + if (specialValues.includes(value)) return true; + + // Check if value matches number + unit pattern + const regex = /^(-?\d*\.?\d+)([a-z%]+)?$/i; + const matches = value.match(regex); + + if (matches) { + const unit = matches[2] || 'px'; + return allowedUnits.includes(unit); + } + + return false; +}; + +/** + * Convert rem/em values to px for calculations + * + * @param {string} value CSS value with unit + * @param {number} baseFontSize Base font size in px (default: 16) + * @returns {number} Value in pixels + */ +export const convertToPx = (value, baseFontSize = 16) => { + if (!value) return 0; + + const regex = /^(-?\d*\.?\d+)([a-z%]+)?$/i; + const matches = value.match(regex); + + if (matches) { + const number = parseFloat(matches[1]); + const unit = matches[2] || 'px'; + + switch (unit) { + case 'rem': + return number * baseFontSize; + case 'em': + return number * baseFontSize; // Simplified, actual em depends on parent + case 'px': + return number; + case '%': + return number; // Percentage values depend on context + default: + return number; + } + } + + return 0; +}; + +/** + * Generate CSS custom properties for theming + * + * @param {Object} attributes Block attributes + * @param {string} prefix Prefix for custom properties + * @returns {Object} CSS custom properties object + */ +export const generateCustomProperties = (attributes, prefix = '--wedocs') => { + const customProps = {}; + + // Color properties + if (attributes.nameColor) { + customProps[`${prefix}-name-color`] = attributes.nameColor; + } + + if (attributes.nameHoverColor) { + customProps[`${prefix}-name-hover-color`] = attributes.nameHoverColor; + } + + if (attributes.contributorTitleColor) { + customProps[`${prefix}-title-color`] = attributes.contributorTitleColor; + } + + if (attributes.contributorTitleHoverColor) { + customProps[`${prefix}-title-hover-color`] = attributes.contributorTitleHoverColor; + } + + if (attributes.dateColor) { + customProps[`${prefix}-date-color`] = attributes.dateColor; + } + + // Spacing properties + if (attributes.contributorGap) { + customProps[`${prefix}-gap`] = attributes.contributorGap; + } + + if (attributes.avatarSize) { + customProps[`${prefix}-avatar-size`] = attributes.avatarSize; + } + + return customProps; +}; + +/** + * Merge class names utility + * + * @param {...string} classes Class names to merge + * @returns {string} Merged class names + */ +export const classNames = (...classes) => { + return classes.filter(Boolean).join(' '); +}; + +/** + * Get responsive breakpoints + * + * @returns {Object} Breakpoint values + */ +export const getBreakpoints = () => ({ + mobile: 480, + tablet: 768, + desktop: 1024, + wide: 1200 +}); + +/** + * Check if current viewport matches breakpoint + * + * @param {string} breakpoint Breakpoint name + * @returns {boolean} Whether viewport matches breakpoint + */ +export const isBreakpoint = (breakpoint) => { + const breakpoints = getBreakpoints(); + const width = window.innerWidth; + + switch (breakpoint) { + case 'mobile': + return width <= breakpoints.mobile; + case 'tablet': + return width > breakpoints.mobile && width <= breakpoints.tablet; + case 'desktop': + return width > breakpoints.tablet && width <= breakpoints.desktop; + case 'wide': + return width > breakpoints.desktop; + default: + return false; + } +}; \ No newline at end of file diff --git a/src/blocks/helpers/block-styles.php b/src/blocks/helpers/block-styles.php new file mode 100644 index 00000000..96453176 --- /dev/null +++ b/src/blocks/helpers/block-styles.php @@ -0,0 +1,312 @@ + 'render_wedocs_docs_grid' ) ); + + // Register the Contributors block + register_block_type( + plugin_dir_path(__FILE__) . 'assets/build/blocks/Contributors', + array( + 'render_callback' => 'render_wedocs_contributors_block' + ) + ); } /** @@ -311,3 +321,16 @@ function wedocs() { // kick it off wedocs(); + + +/** + * Dequeue wedocs-pro-frontend-css on non-docs post types + */ +function dequeue_wedocs_pro_frontend_css() { + // Check if we're not on a docs post type + if ( ! is_singular( 'docs' ) && ! is_post_type_archive( 'docs' ) && ! is_tax( array( 'doc_category', 'doc_tag' ) ) ) { + wp_dequeue_style( 'wedocs-pro-frontend-css' ); + wp_deregister_style( 'wedocs-pro-frontend-css' ); + } +} +add_action( 'wp_enqueue_scripts', 'dequeue_wedocs_pro_frontend_css', 20 ); From 39a0c775de7133262ec6a3af9acf32d92bf15ee2 Mon Sep 17 00:00:00 2001 From: Iftakharul Islam Ifat <88052038+iftakharul-islam@users.noreply.github.com> Date: Thu, 25 Sep 2025 19:42:07 +0600 Subject: [PATCH 02/16] Showing multiple authors --- assets/build/blocks/Contributors/render.php | 13 ++++++++++--- src/blocks/Contributors/render.php | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/assets/build/blocks/Contributors/render.php b/assets/build/blocks/Contributors/render.php index 51a281d4..e8c18979 100644 --- a/assets/build/blocks/Contributors/render.php +++ b/assets/build/blocks/Contributors/render.php @@ -97,10 +97,11 @@ function render_wedocs_contributors_block($attributes, $content, $block) { switch ($contributor_display_mode) { case 'main_author': - $author_id = get_post_field('post_author', $post->ID); + $author_id = get_post_field('wedocs_contributors', $post->ID); if ($author_id) { $contributors[] = get_userdata($author_id); } + break; case 'manual': @@ -117,7 +118,13 @@ function render_wedocs_contributors_block($attributes, $content, $block) { case 'all': default: // Get all contributors who have edited the post - $author_id = get_post_field('post_author', $post->ID); + $author_id = get_post_field('wedocs_contributors', $post->ID); + $authors = array_values($author_id); // return auhtors id. + foreach($authors as $author){ + $contributors[]= get_userdata($author); + } + + if ($author_id && ($author_user = get_userdata($author_id))) { $contributors[] = $author_user; } @@ -382,4 +389,4 @@ function render_wedocs_contributors_block($attributes, $content, $block) { '; return $output; -} \ No newline at end of file +} diff --git a/src/blocks/Contributors/render.php b/src/blocks/Contributors/render.php index 51a281d4..e8c18979 100644 --- a/src/blocks/Contributors/render.php +++ b/src/blocks/Contributors/render.php @@ -97,10 +97,11 @@ function render_wedocs_contributors_block($attributes, $content, $block) { switch ($contributor_display_mode) { case 'main_author': - $author_id = get_post_field('post_author', $post->ID); + $author_id = get_post_field('wedocs_contributors', $post->ID); if ($author_id) { $contributors[] = get_userdata($author_id); } + break; case 'manual': @@ -117,7 +118,13 @@ function render_wedocs_contributors_block($attributes, $content, $block) { case 'all': default: // Get all contributors who have edited the post - $author_id = get_post_field('post_author', $post->ID); + $author_id = get_post_field('wedocs_contributors', $post->ID); + $authors = array_values($author_id); // return auhtors id. + foreach($authors as $author){ + $contributors[]= get_userdata($author); + } + + if ($author_id && ($author_user = get_userdata($author_id))) { $contributors[] = $author_user; } @@ -382,4 +389,4 @@ function render_wedocs_contributors_block($attributes, $content, $block) { '; return $output; -} \ No newline at end of file +} From f970a6fed727d0b7ec8a743dc194d0e1d9ee972c Mon Sep 17 00:00:00 2001 From: Iftakharul Islam Ifat <88052038+iftakharul-islam@users.noreply.github.com> Date: Tue, 30 Sep 2025 17:27:10 +0600 Subject: [PATCH 03/16] WIP --- assets/build/block-rtl.css | 20 + assets/build/block.asset.php | 2 +- assets/build/block.css | 22 + assets/build/block.css.map | 1 + assets/build/block.js | 4722 +- assets/build/block.js.map | 1 + .../blocks/AdvanceContributors/block.json | 333 + .../AdvanceContributors/index.asset.php | 1 + .../build/blocks/AdvanceContributors/index.js | 3488 ++ .../blocks/AdvanceContributors/index.js.map | 1 + .../blocks/AdvanceContributors/render.php | 499 + .../AdvanceContributors/style-index-rtl.css | 137 + .../AdvanceContributors/style-index.css | 139 + .../AdvanceContributors/style-index.css.map | 1 + .../build/blocks/Contributors/index.asset.php | 1 + assets/build/blocks/Contributors/index.js | 1922 + assets/build/blocks/Contributors/index.js.map | 1 + .../blocks/Contributors/style-index-rtl.css | 137 + .../build/blocks/Contributors/style-index.css | 139 + .../blocks/Contributors/style-index.css.map | 1 + assets/build/blocks/DocsGrid/index.asset.php | 1 + assets/build/blocks/DocsGrid/index.js | 1172 + assets/build/blocks/DocsGrid/index.js.map | 1 + assets/build/blocks/DocsGrid/render.php | 565 +- .../build/blocks/DocsGrid/style-index-rtl.css | 298 + assets/build/blocks/DocsGrid/style-index.css | 300 + .../build/blocks/DocsGrid/style-index.css.map | 1 + .../build/blocks/TableOfContents/block.json | 159 + .../blocks/TableOfContents/index-rtl.css | 20 + .../blocks/TableOfContents/index.asset.php | 1 + assets/build/blocks/TableOfContents/index.css | 22 + .../blocks/TableOfContents/index.css.map | 1 + assets/build/blocks/TableOfContents/index.js | 1211 + .../build/blocks/TableOfContents/index.js.map | 1 + .../build/blocks/TableOfContents/render.php | 438 + .../TableOfContents/style-index-rtl.css | 122 + .../blocks/TableOfContents/style-index.css | 124 + .../TableOfContents/style-index.css.map | 1 + .../blocks/TableOfContents/view.asset.php | 1 + assets/build/blocks/TableOfContents/view.js | 266 + .../build/blocks/TableOfContents/view.js.map | 1 + .../build/block.json | 143 + .../build/index.asset.php | 1 + .../dynamic-table-of-contents/build/index.js | 1 + .../build/render.php | 215 + .../build/view.asset.php | 1 + .../dynamic-table-of-contents/build/view.js | 1 + .../dynamic-table-of-contents/src/block.json | 143 + .../src/index-rtl.css | 1 + .../src/index.asset.php | 1 + .../dynamic-table-of-contents/src/index.css | 1 + .../dynamic-table-of-contents/src/index.js | 1 + .../dynamic-table-of-contents/src/render.php | 313 + .../src/style-index-rtl.css | 1 + .../src/style-index.css | 1 + .../src/view.asset.php | 1 + .../dynamic-table-of-contents/src/view.js | 1 + assets/build/frontend-rtl.css | 1222 + assets/build/frontend.asset.php | 2 +- assets/build/frontend.css | 5 + assets/build/frontend.css.map | 1 + assets/build/frontend.js | 28 + assets/build/frontend.js.map | 1 + assets/build/index-rtl.css | 6004 +++ assets/build/index.asset.php | 2 +- assets/build/index.css | 2071 +- assets/build/index.css.map | 1 + assets/build/index.js | 38248 +++++++++++++++- assets/build/index.js.map | 1 + assets/build/print-rtl.css | 184 + assets/build/print.asset.php | 2 +- assets/build/print.css | 5 + assets/build/print.css.map | 1 + assets/build/print.js | 28 + assets/build/print.js.map | 1 + assets/build/store.asset.php | 2 +- assets/build/store.js | 1229 +- assets/build/store.js.map | 1 + assets/build/style-block-rtl.css | 137 + assets/build/style-block.css | 142 +- assets/build/style-block.css.map | 1 + includes/Assets.php | 10 +- package-lock.json | 18472 +++++--- package.json | 2 +- src/blocks/AdvanceContributors/block.json | 318 + .../demo-avtar/avatar_1.png | Bin 0 -> 43910 bytes .../demo-avtar/avatar_2.png | Bin 0 -> 47752 bytes src/blocks/AdvanceContributors/edit-old.js | 566 + src/blocks/AdvanceContributors/edit.js | 639 + src/blocks/AdvanceContributors/index.js | 16 + src/blocks/AdvanceContributors/render.php | 499 + src/blocks/AdvanceContributors/save.js | 11 + src/blocks/AdvanceContributors/style.scss | 172 + src/blocks/DocsGrid/render.php | 565 +- src/blocks/TableOfContents/ColorsControls.js | 351 + src/blocks/TableOfContents/Inspector.js | 228 + src/blocks/TableOfContents/block.json | 159 + .../TableOfContents/controls/ListItems.js | 27 + src/blocks/TableOfContents/edit.js | 198 + src/blocks/TableOfContents/editor.scss | 27 + src/blocks/TableOfContents/index.js | 35 + src/blocks/TableOfContents/render.php | 438 + src/blocks/TableOfContents/save.js | 3 + src/blocks/TableOfContents/style.scss | 151 + src/blocks/TableOfContents/view.js | 269 + .../commonControls/AlignmentControls.js | 224 + .../commonControls/BackgroundImageControls.js | 246 + .../commonControls/BorderAndShadowControls.js | 242 + src/blocks/commonControls/ColorsControls.js | 351 + .../commonControls/DimensionsControls.js | 263 + src/blocks/commonControls/DisplayControls.js | 102 + .../commonControls/TypographyControls.js | 276 + src/blocks/index.js | 1 + webpack.config.js | 6 +- wedocs.php | 34 +- xpackage-lock.json | 26383 +++++++++++ xxpackage-lock.json | 26383 +++++++++++ 117 files changed, 136055 insertions(+), 8031 deletions(-) create mode 100644 assets/build/block-rtl.css create mode 100644 assets/build/block.css create mode 100644 assets/build/block.css.map create mode 100644 assets/build/block.js.map create mode 100644 assets/build/blocks/AdvanceContributors/block.json create mode 100644 assets/build/blocks/AdvanceContributors/index.asset.php create mode 100644 assets/build/blocks/AdvanceContributors/index.js create mode 100644 assets/build/blocks/AdvanceContributors/index.js.map create mode 100644 assets/build/blocks/AdvanceContributors/render.php create mode 100644 assets/build/blocks/AdvanceContributors/style-index-rtl.css create mode 100644 assets/build/blocks/AdvanceContributors/style-index.css create mode 100644 assets/build/blocks/AdvanceContributors/style-index.css.map create mode 100644 assets/build/blocks/Contributors/index.asset.php create mode 100644 assets/build/blocks/Contributors/index.js create mode 100644 assets/build/blocks/Contributors/index.js.map create mode 100644 assets/build/blocks/Contributors/style-index-rtl.css create mode 100644 assets/build/blocks/Contributors/style-index.css create mode 100644 assets/build/blocks/Contributors/style-index.css.map create mode 100644 assets/build/blocks/DocsGrid/index.asset.php create mode 100644 assets/build/blocks/DocsGrid/index.js create mode 100644 assets/build/blocks/DocsGrid/index.js.map create mode 100644 assets/build/blocks/DocsGrid/style-index-rtl.css create mode 100644 assets/build/blocks/DocsGrid/style-index.css create mode 100644 assets/build/blocks/DocsGrid/style-index.css.map create mode 100644 assets/build/blocks/TableOfContents/block.json create mode 100644 assets/build/blocks/TableOfContents/index-rtl.css create mode 100644 assets/build/blocks/TableOfContents/index.asset.php create mode 100644 assets/build/blocks/TableOfContents/index.css create mode 100644 assets/build/blocks/TableOfContents/index.css.map create mode 100644 assets/build/blocks/TableOfContents/index.js create mode 100644 assets/build/blocks/TableOfContents/index.js.map create mode 100644 assets/build/blocks/TableOfContents/render.php create mode 100644 assets/build/blocks/TableOfContents/style-index-rtl.css create mode 100644 assets/build/blocks/TableOfContents/style-index.css create mode 100644 assets/build/blocks/TableOfContents/style-index.css.map create mode 100644 assets/build/blocks/TableOfContents/view.asset.php create mode 100644 assets/build/blocks/TableOfContents/view.js create mode 100644 assets/build/blocks/TableOfContents/view.js.map create mode 100644 assets/build/blocks/dynamic-table-of-contents/build/block.json create mode 100644 assets/build/blocks/dynamic-table-of-contents/build/index.asset.php create mode 100644 assets/build/blocks/dynamic-table-of-contents/build/index.js create mode 100644 assets/build/blocks/dynamic-table-of-contents/build/render.php create mode 100644 assets/build/blocks/dynamic-table-of-contents/build/view.asset.php create mode 100644 assets/build/blocks/dynamic-table-of-contents/build/view.js create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/block.json create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/index-rtl.css create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/index.asset.php create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/index.css create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/index.js create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/render.php create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/style-index-rtl.css create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/style-index.css create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/view.asset.php create mode 100644 assets/build/blocks/dynamic-table-of-contents/src/view.js create mode 100644 assets/build/frontend-rtl.css create mode 100644 assets/build/frontend.css.map create mode 100644 assets/build/frontend.js.map create mode 100644 assets/build/index-rtl.css create mode 100644 assets/build/index.css.map create mode 100644 assets/build/index.js.map create mode 100644 assets/build/print-rtl.css create mode 100644 assets/build/print.css.map create mode 100644 assets/build/print.js.map create mode 100644 assets/build/store.js.map create mode 100644 assets/build/style-block-rtl.css create mode 100644 assets/build/style-block.css.map create mode 100644 src/blocks/AdvanceContributors/block.json create mode 100644 src/blocks/AdvanceContributors/demo-avtar/avatar_1.png create mode 100644 src/blocks/AdvanceContributors/demo-avtar/avatar_2.png create mode 100644 src/blocks/AdvanceContributors/edit-old.js create mode 100644 src/blocks/AdvanceContributors/edit.js create mode 100644 src/blocks/AdvanceContributors/index.js create mode 100644 src/blocks/AdvanceContributors/render.php create mode 100644 src/blocks/AdvanceContributors/save.js create mode 100644 src/blocks/AdvanceContributors/style.scss create mode 100644 src/blocks/TableOfContents/ColorsControls.js create mode 100644 src/blocks/TableOfContents/Inspector.js create mode 100644 src/blocks/TableOfContents/block.json create mode 100644 src/blocks/TableOfContents/controls/ListItems.js create mode 100644 src/blocks/TableOfContents/edit.js create mode 100644 src/blocks/TableOfContents/editor.scss create mode 100644 src/blocks/TableOfContents/index.js create mode 100644 src/blocks/TableOfContents/render.php create mode 100644 src/blocks/TableOfContents/save.js create mode 100644 src/blocks/TableOfContents/style.scss create mode 100644 src/blocks/TableOfContents/view.js create mode 100644 src/blocks/commonControls/AlignmentControls.js create mode 100644 src/blocks/commonControls/BackgroundImageControls.js create mode 100644 src/blocks/commonControls/BorderAndShadowControls.js create mode 100644 src/blocks/commonControls/ColorsControls.js create mode 100644 src/blocks/commonControls/DimensionsControls.js create mode 100644 src/blocks/commonControls/DisplayControls.js create mode 100644 src/blocks/commonControls/TypographyControls.js create mode 100644 xpackage-lock.json create mode 100644 xxpackage-lock.json diff --git a/assets/build/block-rtl.css b/assets/build/block-rtl.css new file mode 100644 index 00000000..4f75b813 --- /dev/null +++ b/assets/build/block-rtl.css @@ -0,0 +1,20 @@ +/*!***************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/TableOfContents/editor.scss ***! + \***************************************************************************************************************************************************************************************************************************************************************/ +/** +* The following styles get applied inside the editor only. +*/ +.wp-block-wedocs-table-of-contents .toc-mobile-notice { + background-color: rgba(0, 115, 170, 0.1); + padding: 5px 10px; + border-radius: 3px; + border-right: 3px solid #0073aa; + color: #0073aa; + font-size: 12px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a { + cursor: default; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a:hover { + color: #0073aa; +} diff --git a/assets/build/block.asset.php b/assets/build/block.asset.php index 3ab54296..bd0d9dca 100644 --- a/assets/build/block.asset.php +++ b/assets/build/block.asset.php @@ -1 +1 @@ - array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '7723387275b5701243a5'); + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '7538b3e8f8a29fdf8862'); diff --git a/assets/build/block.css b/assets/build/block.css new file mode 100644 index 00000000..ab0044eb --- /dev/null +++ b/assets/build/block.css @@ -0,0 +1,22 @@ +/*!***************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/TableOfContents/editor.scss ***! + \***************************************************************************************************************************************************************************************************************************************************************/ +/** +* The following styles get applied inside the editor only. +*/ +.wp-block-wedocs-table-of-contents .toc-mobile-notice { + background-color: rgba(0, 115, 170, 0.1); + padding: 5px 10px; + border-radius: 3px; + border-left: 3px solid #0073aa; + color: #0073aa; + font-size: 12px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a { + cursor: default; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a:hover { + color: #0073aa; +} + +/*# sourceMappingURL=block.css.map*/ \ No newline at end of file diff --git a/assets/build/block.css.map b/assets/build/block.css.map new file mode 100644 index 00000000..5eea91ed --- /dev/null +++ b/assets/build/block.css.map @@ -0,0 +1 @@ +{"version":3,"file":"block.css","mappings":";;;AACE;;CAAA;AAKD;EACC;EACA;EACA;EACA;EACA;EACA;AAFF;AAOG;EACC;AALJ;AAOI;EACC;AALL,C","sources":["webpack://weDocs/./src/blocks/TableOfContents/editor.scss"],"sourcesContent":["\n /**\n * The following styles get applied inside the editor only.\n */\n\n.wp-block-wedocs-table-of-contents {\n\t.toc-mobile-notice {\n\t\tbackground-color: rgba(0, 115, 170, 0.1);\n\t\tpadding: 5px 10px;\n\t\tborder-radius: 3px;\n\t\tborder-left: 3px solid #0073aa;\n\t\tcolor: #0073aa;\n\t\tfont-size: 12px;\n\t}\n\n\t.toc-content {\n\t\t.toc-list {\n\t\t\tli a {\n\t\t\t\tcursor: default;\n\n\t\t\t\t&:hover {\n\t\t\t\t\tcolor: #0073aa;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/block.js b/assets/build/block.js index 05c576f5..14b3a6f5 100644 --- a/assets/build/block.js +++ b/assets/build/block.js @@ -1 +1,4721 @@ -(()=>{"use strict";var e,t={418:(e,t,a)=>{var o=a(609),l=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),n=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,a){var o,d={},c=null,s=null;for(o in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)r.call(t,o)&&!i.hasOwnProperty(o)&&(d[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===d[o]&&(d[o]=t[o]);return{$$typeof:l,type:e,key:c,ref:s,props:d,_owner:n.current}}},706:(e,t,a)=>{e.exports=a(418)},931:(e,t,a)=>{var o=a(609);const l=window.wp.blocks,r=window.wp.i18n,n=window.wp.primitives;var i=a(706);const d=(0,i.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)(n.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})}),c=(0,i.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(n.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})}),s=window.wp.element,u=window.wp.blockEditor,p=window.wp.components,g=({label:e,value:t,unit:a,onValueChange:l,onUnitChange:n})=>(0,o.createElement)(p.Flex,null,(0,o.createElement)(p.FlexBlock,null,(0,o.createElement)(p.TextControl,{label:e,value:parseInt(t),onChange:e=>l(e)})),(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Unit","wedocs"),value:a,options:[{label:"px",value:"px"},{label:"%",value:"%"}],onChange:e=>n(e)}))),m=({selected:e,options:t,onChange:a})=>(0,o.createElement)(p.BaseControl,null,(0,o.createElement)("div",{className:"radio-image-control-options"},t.map((t=>(0,o.createElement)("div",{key:t.value,className:"radio-image-option"},(0,o.createElement)("input",{type:"radio",id:`radio-image-${t.value}`,value:t.value,checked:e===t.value,onChange:e=>a(e.target.value)}),(0,o.createElement)("label",{htmlFor:`radio-image-${t.value}`},t.icon&&(0,o.createElement)("i",{className:`dashicons ${t.icon}`}),t.img&&(0,o.createElement)("img",{src:t.img,alt:t.label}),t?.svg)))))),h={hideSearch:{type:"boolean",default:!1},searchWidth:{type:"number",default:50},widthUnit:{type:"string",default:"%"},placeholder:{type:"string",default:(0,r.__)("Search for a top or question","wedocs")},alignment:{type:"string",default:"right"},bgColor:{type:"string",default:"#FFFFFF"},hoverColor:{type:"string",default:"#FFFFFF"},padding:{type:"object",default:{top:14,left:22,right:22,bottom:14}},margin:{type:"object",default:{top:0,left:0,right:0,bottom:0}},borderColor:{type:"string",default:"#cccccc"},borderType:{type:"string",default:"solid"},borderWidth:{type:"number",default:1},borderRadius:{type:"number",default:30},iconColor:{type:"string",default:"#FFFFFF"},iconBgColor:{type:"string",default:"#3b82f6"},iconHoverColor:{type:"string",default:"#2563eb"},svgHoverColor:{type:"string",default:"#FFFFFF"},btnPadding:{type:"object",default:{top:24,left:26,right:26,bottom:24}},btnPosition:{type:"object",default:{top:0,right:0,bottom:10}},btnRadius:{type:"number",default:30}};(0,l.registerBlockType)("wedocs/wedocs-search",{attributes:h,save:({attributes:e})=>{const{margin:t,bgColor:a,padding:l,btnRadius:r,alignment:n,iconColor:i,widthUnit:d,hoverColor:c,borderType:p,hideSearch:g,btnPadding:m,searchWidth:h,btnPosition:b,placeholder:_,borderColor:v,borderWidth:C,iconBgColor:w,borderRadius:y,svgHoverColor:x,iconHoverColor:f}=e;if(g)return;const E={display:"flex",justifyContent:n},S={border:`${C}px ${p} ${v}`,paddingTop:l?.top,paddingLeft:l?.left,paddingRight:l?.right,borderRadius:`${y}px`,paddingBottom:l?.bottom,"--field-color":a,"--field-bg-color":c},T={top:b?.top,left:b?.left,right:b?.right,bottom:b?.bottom,height:"auto",paddingTop:m?.top,paddingLeft:m?.left,borderRadius:r,paddingRight:m?.right,paddingBottom:m?.bottom,"--field-icon-color":i,"--field-btn-bg-color":w,"--field-icon-hover-color":x,"--field-btn-bg-hover-color":f};return(0,o.createElement)(s.Fragment,null,(0,o.createElement)("form",{method:"get",role:"search",action:weDocsBlockVars?.siteUrl,...u.useBlockProps.save({className:"search-form wedocs-search-form"})},(0,o.createElement)("div",{style:E},(0,o.createElement)("div",{className:"wedocs-search-input",style:{width:h+d,marginTop:t?.top,marginLeft:t?.left,marginRight:t?.right,marginBottom:t?.bottom}},(0,o.createElement)("input",{name:"s",type:"search",style:S,className:"search-field",placeholder:_}),(0,o.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,o.createElement)("button",{type:"submit",style:T,className:"search-submit"},(0,o.createElement)("svg",{width:"15",height:"16",fill:"none"},(0,o.createElement)("path",{fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))))))},edit:({attributes:e,setAttributes:t})=>{const a=(0,u.useBlockProps)(),{margin:l,bgColor:n,padding:i,btnRadius:h,alignment:b,iconColor:_,widthUnit:v,hoverColor:C,borderType:w,hideSearch:y,btnPadding:x,searchWidth:f,btnPosition:E,placeholder:S,borderColor:T,borderWidth:B,iconBgColor:k,borderRadius:P,svgHoverColor:F,iconHoverColor:$}=e;console.log("editor panel:",n);const M=[{value:"left",label:(0,r.__)("Align left","wedocs"),svg:(0,o.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"left"===b?"#007cba":"#939494",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M8 9.462h12m-12 6h6m-10-9v12"}))},{value:"center",label:(0,r.__)("Align center","wedocs"),svg:(0,o.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"center"===b?"#007cba":"#939494",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M18 9.462H6m8.99 6h-6"}),(0,o.createElement)("path",{d:"M12 6.462v12"}))},{value:"right",label:(0,r.__)("Align right","wedocs"),svg:(0,o.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"right"===b?"#007cba":"#939494",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M16 9.462H4m12 6h-6m10-9v12"}))}],[R,D]=(0,s.useState)(!1),[H,V]=(0,s.useState)(!1),[W,O]=(0,s.useState)(!1),L={display:"flex",justifyContent:b},N={border:`${B}px ${w} ${T}`,paddingTop:i?.top,background:R?C:n,paddingLeft:i?.left,paddingRight:i?.right,borderRadius:`${P}px`,paddingBottom:i?.bottom},A={top:E?.top,left:E?.left,right:E?.right,bottom:E?.bottom,height:"auto",background:W?$:k,paddingTop:x?.top,paddingLeft:x?.left,borderRadius:h,paddingRight:x?.right,paddingBottom:x?.bottom},U=[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Double","wedocs"),value:"double"},{label:(0,r.__)("Groove","wedocs"),value:"groove"},{label:(0,r.__)("Ridge","wedocs"),value:"ridge"},{label:(0,r.__)("Inset","wedocs"),value:"inset"},{label:(0,r.__)("Outset","wedocs"),value:"outset"},{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Hidden","wedocs"),value:"hidden"}];return(0,o.createElement)(s.Fragment,null,(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(p.PanelBody,null,(0,o.createElement)(p.ToggleControl,{checked:y,className:"wedocs-search-toggle",label:(0,r.__)("Disable Block","wedocs"),onChange:e=>t({hideSearch:e})})),!y&&(0,o.createElement)(s.Fragment,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Color Settings","wedocs"),icon:d,initialOpen:!1,className:"wedocs-search-color-settings"},(0,o.createElement)(u.PanelColorSettings,{colors:[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}],colorSettings:[{value:n,label:(0,r.__)("Field Background Color","wedocs"),onChange:e=>t({bgColor:e})},{value:C,label:(0,r.__)("Field Hover Color","wedocs"),onChange:e=>t({hoverColor:e})},{value:T,label:(0,r.__)("Border Color","wedocs"),onChange:e=>t({borderColor:e})},{value:_,label:(0,r.__)("Icon Color","wedocs"),onChange:e=>t({iconColor:e})},{value:k,label:(0,r.__)("Button Color","wedocs"),onChange:e=>t({iconBgColor:e})},{value:$,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>t({iconHoverColor:e})},{value:F,label:(0,r.__)("Icon Hover Color","wedocs"),onChange:e=>t({svgHoverColor:e})}]})),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Search Bar Settings","wedocs"),icon:c},(0,o.createElement)(g,{unit:v,value:f,label:(0,r.__)("Field Width","wedocs"),onUnitChange:e=>t({widthUnit:e}),onValueChange:e=>t({searchWidth:e?parseInt(e):0})}),(0,o.createElement)(p.TextControl,{value:S,label:(0,r.__)("Placeholder","wedocs"),placeholder:(0,r.__)("Search bar placeholder","wedocs"),onChange:e=>t({placeholder:e})}),(0,o.createElement)("p",{style:{fontSize:11}},(0,r.__)("POSITION","wedocs")),(0,o.createElement)(m,{selected:b,options:M,onChange:e=>t({alignment:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"14px",left:"22px",right:"22px",bottom:"14px"},values:i,label:(0,r.__)("Field Padding","wedocs"),onChange:e=>t({padding:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",left:"0px",right:"0px",bottom:"0px"},values:l,label:(0,r.__)("Field Margin","wedocs"),onChange:e=>t({margin:e})}),(0,o.createElement)(p.RangeControl,{min:0,max:10,value:B,label:(0,r.__)("Border Width","wedocs"),onChange:e=>t({borderWidth:e})}),(0,o.createElement)(p.RangeControl,{min:0,max:100,value:P,label:(0,r.__)("Border Radius","wedocs"),onChange:e=>t({borderRadius:e})}),(0,o.createElement)(p.SelectControl,{value:w,options:U,label:(0,r.__)("Border Type","wedocs"),onChange:e=>t({borderType:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"24px",left:"26px",right:"26px",bottom:"24px"},values:x,label:(0,r.__)("Button Padding","wedocs"),onChange:e=>t({btnPadding:e})}),(0,o.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",right:"0px",bottom:"10px"},values:E,label:(0,r.__)("Button Margin","wedocs"),onChange:e=>t({btnPosition:e})}),(0,o.createElement)(p.RangeControl,{min:0,max:100,value:h,label:(0,r.__)("Button Radius","wedocs"),onChange:e=>t({btnRadius:e})})))),(0,o.createElement)("div",{...a,style:L},(0,o.createElement)("div",{className:"wedocs-editor-search-input",style:{width:f+v,marginTop:l?.top,marginLeft:l?.left,marginRight:l?.right,marginBottom:l?.bottom}},(0,o.createElement)("input",{readOnly:!0,style:N,className:"search-field",placeholder:S,onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1)}),(0,o.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,o.createElement)("button",{type:"submit",style:A,className:"search-submit",onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1)},(0,o.createElement)("svg",{width:"15",height:"16",fill:"none",onMouseEnter:()=>V(!0),onMouseLeave:()=>V(!1)},(0,o.createElement)("path",{fill:H?F:_,fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))),y&&(0,o.createElement)("div",{className:"backdrop"})))},icon:(0,o.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z",fill:"#111827"})),title:(0,r.__)("weDocs - Searchbar","wedocs"),keywords:["Search","weDocs search bar","Bar"],category:"widgets",description:(0,r.__)("Simple search forms for easy user guidance for your documentation","wedocs")});const b=({attributes:e,setAttributes:t})=>{const a=e=>a=>{t({[e]:a})},l=((0,r.__)("Solid","wedocs"),(0,r.__)("Dashed","wedocs"),(0,r.__)("Dotted","wedocs"),(0,r.__)("None","wedocs"),[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Grid Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,o.createElement)("label",null,(0,r.__)("Colors","wedocs")),(0,o.createElement)(u.PanelColorSettings,{colors:l,colorSettings:[{value:e.docTitleColor,label:(0,r.__)("Doc Title Color","wedocs"),onChange:e=>a("docTitleColor")(e)},{value:e.docChildrenActiveColor,label:(0,r.__)("Doc Children Active Color","wedocs"),onChange:e=>a("docChildrenActiveColor")(e)},{value:e.borderColor,label:(0,r.__)("Border Color","wedocs"),onChange:e=>a("borderColor")(e)}]}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Padding","wedocs"),values:e.gridPadding,onChange:a("gridPadding")}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Margin","wedocs"),values:e.gridMargin,onChange:a("gridMargin")}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Type","wedocs"),value:e.borderType,options:[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("None","wedocs"),value:"none"}],onChange:e=>t({borderType:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Width","wedocs"),value:e.borderWidth,options:[{label:"0px",value:"0px"},{label:"1px",value:"1px"},{label:"2px",value:"2px"},{label:"3px",value:"3px"},{label:"4px",value:"4px"},{label:"5px",value:"5px"}],onChange:e=>t({borderWidth:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Radius","wedocs"),value:e.borderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({borderRadius:e})})),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Button Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,o.createElement)("label",null,(0,r.__)("Button Colors","wedocs")),(0,o.createElement)(u.PanelColorSettings,{colors:l,colorSettings:[{value:e.buttonColor,label:(0,r.__)("Button Color","wedocs"),onChange:e=>a("buttonColor")(e)},{value:e.buttonHoverColor,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>a("buttonHoverColor")(e)},{value:e.buttonTextColor,label:(0,r.__)("Button Text Color","wedocs"),onChange:e=>a("buttonTextColor")(e)},{value:e.buttonHoverTextColor,label:(0,r.__)("Button Hover Text Color","wedocs"),onChange:e=>a("buttonHoverTextColor")(e)}]}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Padding","wedocs"),values:e.buttonPadding,onChange:a("buttonPadding")}),(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Margin","wedocs"),values:e.buttonMargin,onChange:a("buttonMargin")}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Button Border Radius","wedocs"),value:e.buttonBorderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({buttonBorderRadius:e})}),(0,o.createElement)("div",{className:"wedocs-color-control"},(0,o.createElement)("label",null,(0,r.__)("Button Text","wedocs")),(0,o.createElement)(p.TextControl,{value:e.buttonText,onChange:a("buttonText")}))))},_=JSON.parse('{"UU":"wedocs/wedocs-docs-grid"}');(0,l.registerBlockType)(_.UU,{edit:({attributes:e,setAttributes:t})=>{const a=(0,u.useBlockProps)(),{useSelect:l}=wp.data,[n,i]=(0,s.useState)(1),[d,g]=(0,s.useState)(!1),{hideDocGrid:m,docStyle:h,docsPerPage:_,excludeDocs:v,order:C,orderBy:w,sectionsPerDoc:y,articlesPerSection:x,showDocArticle:f,keepArticlesCollapsed:E,showViewDetails:S,gridPadding:T,gridMargin:B,docTitleColor:k,docChildrenActiveColor:P,borderType:F,borderRadius:$,borderWidth:M,borderColor:R,buttonBorderRadius:D,buttonPadding:H,buttonMargin:V,buttonColor:W,buttonHoverColor:O,buttonTextColor:L,buttonText:N,buttonHoverTextColor:A}=e,U=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],I=[{label:(0,r.__)("weDocs Order","wedocs"),value:"menu_order"},{label:(0,r.__)("ID","wedocs"),value:"id"},{label:(0,r.__)("Name","wedocs"),value:"title"}],z=[{label:(0,r.__)("Ascending","wedocs"),value:"asc"},{label:(0,r.__)("Descending","wedocs"),value:"desc"}],G=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],{pages:j,sections:Y,articles:q}=l((e=>{const{getEntityRecords:t}=e("core"),a=t("postType","docs",{status:"publish",per_page:-1,parent:0,orderby:w,order:C}),o=a?t("postType","docs",{status:"publish",parent_in:a.map((e=>e.id)),per_page:-1}):null,l=o?t("postType","docs",{status:"publish",parent_in:o.map((e=>e.id)),per_page:-1}):null;return{pages:a,sections:o,articles:l}}),[w,C]),J=(e=>{if("all"===_)return e;const t=parseInt(_),a=(n-1)*t,o=a+t;return e.slice(a,o)})((()=>{if(!j||!Y||!q)return[];let e=[...j];return v&&v.length>0&&(e=e.filter((e=>!v.includes(e.id.toString())))),e=e.map((e=>{let t=Y.filter((t=>t.parent===e.id));"all"!==y&&(t=t.slice(0,parseInt(y))),t=t.map((e=>{let t=q.filter((t=>t.parent===e.id));return"all"!==x&&(t=t.slice(0,parseInt(x))),{...e,articles:t}}));const a=t.reduce(((e,t)=>e+t.articles.length),0);return{...e,sections:t,articleCount:a}})),e})()),Z=j?j.reduce(((e,t)=>(e[t.id]=t.title.rendered,e)),{}):{},K=(j&&j.map((e=>({value:e.id.toString(),label:e.title.rendered}))),e=>a=>{t({[e]:a})}),Q=v?v.map((e=>Z[e]||e)):[];return(0,o.createElement)(s.Fragment,null,(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Doc Grid Settings","wedocs"),icon:c,initialOpen:!1},(0,o.createElement)(p.SelectControl,{value:h,options:[{label:"1x1",value:"1x1"},{label:"1x2",value:"1x2"}],label:(0,r.__)("DOCS GRID COLUMN STYLE","wedocs"),onChange:K("docStyle")}),(0,o.createElement)(p.SelectControl,{value:_,options:U,label:(0,r.__)("Docs per page","wedocs"),onChange:K("docsPerPage")}),(0,o.createElement)(p.FormTokenField,{value:Q,suggestions:Object.values(Z),label:(0,r.__)("Exclude Docs","wedocs"),onChange:e=>{const a=e.map((e=>{const t=Object.entries(Z).find((([t,a])=>a===e));return t?t[0]:e}));t({excludeDocs:a})}}),(0,o.createElement)(p.SelectControl,{value:C,options:z,label:(0,r.__)("Order","wedocs"),onChange:K("order")}),(0,o.createElement)(p.SelectControl,{value:w,options:I,label:(0,r.__)("Order by","wedocs"),onChange:K("orderBy")}),(0,o.createElement)(p.SelectControl,{value:y,options:G,label:(0,r.__)("Sections per doc","wedocs"),onChange:K("sectionsPerDoc")}),(0,o.createElement)(p.SelectControl,{value:x,options:G,label:(0,r.__)("Articles per section","wedocs"),onChange:K("articlesPerSection")}),(0,o.createElement)(p.PanelRow,null,(0,o.createElement)(p.ToggleControl,{checked:f,label:(0,r.__)("Show Doc Article","wedocs"),onChange:K("showDocArticle")})),(0,o.createElement)(p.PanelRow,null,(0,o.createElement)(p.ToggleControl,{checked:E,label:(0,r.__)("Keep Article Collapsed","wedocs"),onChange:K("keepArticlesCollapsed")})),(0,o.createElement)(p.PanelRow,null,(0,o.createElement)(p.ToggleControl,{checked:S,label:(0,r.__)("Show View Details Button","wedocs"),onChange:K("showViewDetails")})))),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(b,{attributes:e,setAttributes:t})),(0,o.createElement)("div",{...a},m?(0,o.createElement)("div",{className:"backdrop"}):(0,o.createElement)("div",{className:"wedocs-block-wrapper"},(0,o.createElement)("div",{className:`wedocs-docs-grid wedocs-docs-grid--${h}`},d?(0,o.createElement)(Spinner,null):J.map((e=>((e,t)=>(0,o.createElement)("div",{key:e.id,className:"wedocs-docs-grid__item",style:t.item},(0,o.createElement)("h3",{className:"wedocs-docs-grid__title",style:t.title},e.title.rendered),((e,t)=>e.sections?(0,o.createElement)("div",{className:"wedocs-docs-grid__sections "+(E?"is-collapsed":"")},e.sections.map((e=>(0,o.createElement)("div",{key:e.id,className:"wedocs-docs-grid__section"},(0,o.createElement)("h4",{className:"wedocs-docs-grid__section-title",style:{...t.title,display:"flex",justifyContent:"space-between",alignItems:"center"}},(0,o.createElement)("span",null,e.title.rendered),f&&e.articles&&e.articles.length>0&&(0,o.createElement)("svg",{fill:"none",viewBox:"0 0 24 24",width:"16",strokeWidth:"2",stroke:"#acb8c4",className:E?"":"active"},(0,o.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"}))),f&&!E&&e.articles&&(0,o.createElement)("ul",{className:"wedocs-docs-grid__articles"},e.articles.map((e=>(0,o.createElement)("li",{key:e.id,className:"wedocs-docs-grid__article",style:t.children},e.title.rendered))))))),0===e.sections.length&&(0,o.createElement)("span",{className:"inside"},(0,o.createElement)("svg",{fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},(0,o.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})),(0,r.__)("This document has no sections yet. Check back later or wait for the author to add content.","wedocs"))):null)(e,t),S&&(0,o.createElement)("div",{className:"wedocs-docs-grid__details"},(0,o.createElement)("span",{className:"wedocs-docs-grid__details-link",style:t.button},t.button.text))))(e,(()=>{const e=T?`${T.top} ${T.right} ${T.bottom} ${T.left}`:"",t=B?`${B.top} ${B.right} ${B.bottom} ${B.left}`:"",a=H?`${H.top} ${H.right} ${H.bottom} ${H.left}`:"",o=D||"8px",l=V?`${V.top} ${V.right} ${V.bottom} ${V.left}`:"";return{item:{padding:e,margin:t,borderStyle:F||"solid",borderWidth:M||"1px",borderColor:R||"rgba(0, 0, 0, 0.1)",borderRadius:$||"8px",backgroundColor:"#fff"},title:{color:k||"#1e1e1e"},children:{color:P||"#0073aa"},button:{padding:a,margin:l,backgroundColor:W||"#0073aa",color:L||"#ffffff",text:N||(0,r.__)("View Details","wedocs"),borderRadius:o||"8px","--hover-bg":O||"#005177","--hover-color":A||"#ffffff"}}})())))))))},save:()=>null});const v=window.wp.data,C=window.wp.coreData,w=({children:e,defaultTab:t="setup"})=>{const[a,l]=(0,s.useState)(t),n=[{key:"setup",label:(0,r.__)("Setup","wedocs"),icon:"admin-settings"},{key:"style",label:(0,r.__)("Style","wedocs"),icon:"admin-appearance"}];return(0,o.createElement)("div",{className:"contributors-tab-system"},(0,o.createElement)("div",{style:{borderBottom:"1px solid #ddd",marginBottom:"16px",paddingBottom:"8px"}},(0,o.createElement)(p.ButtonGroup,null,n.map((e=>(0,o.createElement)(p.Button,{key:e.key,variant:a===e.key?"primary":"secondary",onClick:()=>l(e.key),style:{marginRight:"4px",display:"flex",alignItems:"center",gap:"4px"}},(0,o.createElement)("span",{className:`dashicons dashicons-${e.icon}`,style:{fontSize:"16px"}}),e.label))))),(0,o.createElement)("div",{className:"tab-content"},e.map(((e,t)=>{const l=0===t?"setup":"style";return(0,o.createElement)("div",{key:l,style:{display:a===l?"block":"none"}},e)}))))},y=({label:e,value:t={},onChange:a,colorValue:l,onColorChange:n,hoverColorValue:i,onHoverColorChange:d,showHoverColor:c=!0,showLineHeight:s=!0,showLetterSpacing:g=!0,showTextTransform:m=!0,showTextDecoration:h=!0})=>{const b=(e,o)=>{a({...t,[e]:o})};return(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Colors","wedocs"),colorSettings:[{value:l,onChange:n,label:(0,r.__)("Text Color","wedocs")},...c?[{value:i,onChange:d,label:(0,r.__)("Hover Color","wedocs")}]:[]]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Font Family","wedocs"),value:t.fontFamily||"default",options:[{label:(0,r.__)("Default","wedocs"),value:"default"},{label:"Arial",value:"Arial, sans-serif"},{label:"Georgia",value:"Georgia, serif"},{label:"Helvetica",value:"Helvetica, sans-serif"},{label:"Times New Roman",value:'"Times New Roman", serif'},{label:"Verdana",value:"Verdana, sans-serif"},{label:"Roboto",value:"Roboto, sans-serif"},{label:"Open Sans",value:'"Open Sans", sans-serif'},{label:"Lato",value:"Lato, sans-serif"},{label:"Montserrat",value:"Montserrat, sans-serif"}],onChange:e=>b("fontFamily","default"===e?void 0:e)}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Font Size","wedocs"),value:t.fontSize||"14px",onChange:e=>b("fontSize",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}]}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Font Weight","wedocs"),value:t.fontWeight||"400",options:[{label:(0,r.__)("100 - Thin","wedocs"),value:"100"},{label:(0,r.__)("200 - Extra Light","wedocs"),value:"200"},{label:(0,r.__)("300 - Light","wedocs"),value:"300"},{label:(0,r.__)("400 - Normal","wedocs"),value:"400"},{label:(0,r.__)("500 - Medium","wedocs"),value:"500"},{label:(0,r.__)("600 - Semi Bold","wedocs"),value:"600"},{label:(0,r.__)("700 - Bold","wedocs"),value:"700"},{label:(0,r.__)("800 - Extra Bold","wedocs"),value:"800"},{label:(0,r.__)("900 - Black","wedocs"),value:"900"}],onChange:e=>b("fontWeight",e)}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Font Style","wedocs"),value:t.fontStyle||"normal",options:[{label:(0,r.__)("Normal","wedocs"),value:"normal"},{label:(0,r.__)("Italic","wedocs"),value:"italic"},{label:(0,r.__)("Oblique","wedocs"),value:"oblique"}],onChange:e=>b("fontStyle",e)}),s&&(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Line Height","wedocs"),value:t.lineHeight||"normal",onChange:e=>b("lineHeight",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"",label:"unitless"}]}),g&&(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Letter Spacing","wedocs"),value:t.letterSpacing||"normal",onChange:e=>b("letterSpacing",e),units:[{value:"px",label:"px"},{value:"em",label:"em"}]}),m&&(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Text Transform","wedocs"),value:t.textTransform||"none",options:[{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Uppercase","wedocs"),value:"uppercase"},{label:(0,r.__)("Lowercase","wedocs"),value:"lowercase"},{label:(0,r.__)("Capitalize","wedocs"),value:"capitalize"}],onChange:e=>b("textTransform",e)}),h&&(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Text Decoration","wedocs"),value:t.textDecoration||"none",options:[{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Underline","wedocs"),value:"underline"},{label:(0,r.__)("Overline","wedocs"),value:"overline"},{label:(0,r.__)("Line Through","wedocs"),value:"line-through"}],onChange:e=>b("textDecoration",e)}))},x=({label:e,paddingValue:t={},onPaddingChange:a,marginValue:l={},onMarginChange:n,showPadding:i=!0,showMargin:d=!0,showGap:c=!1,gapValue:s,onGapChange:u})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},i&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Padding","wedocs"),values:t,onChange:a,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}],allowReset:!0,resetValues:{top:"0px",right:"0px",bottom:"0px",left:"0px"}}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4})),d&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Margin","wedocs"),values:l,onChange:n,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}],allowReset:!0,resetValues:{top:"0px",right:"0px",bottom:"0px",left:"0px"}}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4})),c&&(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Gap","wedocs"),value:s||"10px",onChange:u,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]})),f=({label:e,borderStyle:t="none",onBorderStyleChange:a,borderWidth:l={},onBorderWidthChange:n,borderColor:i,onBorderColorChange:d,borderRadius:c,onBorderRadiusChange:s,showIndividualSides:g=!0})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Border Style","wedocs"),value:t,options:[{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("Double","wedocs"),value:"double"},{label:(0,r.__)("Groove","wedocs"),value:"groove"},{label:(0,r.__)("Ridge","wedocs"),value:"ridge"},{label:(0,r.__)("Inset","wedocs"),value:"inset"},{label:(0,r.__)("Outset","wedocs"),value:"outset"}],onChange:a}),"none"!==t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),g?(0,o.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Border Width","wedocs"),values:l,onChange:n,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}],allowReset:!0,resetValues:{top:"1px",right:"1px",bottom:"1px",left:"1px"}}):(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Border Width","wedocs"),value:l.top||"1px",onChange:e=>n({top:e,right:e,bottom:e,left:e}),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Border Color","wedocs"),colorSettings:[{value:i,onChange:d,label:(0,r.__)("Color","wedocs")}]})),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Border Radius","wedocs"),value:c||"0px",onChange:s,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}]})),E=({label:e,backgroundType:t="classic",onBackgroundTypeChange:a,backgroundColor:l,onBackgroundColorChange:n,backgroundGradient:i,onBackgroundGradientChange:d,backgroundImage:c={},onBackgroundImageChange:s,showGradient:g=!0,showImage:m=!0})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(p.RadioControl,{label:(0,r.__)("Background Type","wedocs"),selected:t,options:[{label:(0,r.__)("Classic","wedocs"),value:"classic"},...g?[{label:(0,r.__)("Gradient","wedocs"),value:"gradient"}]:[]],onChange:a}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),"classic"===t&&(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Background Color","wedocs"),colorSettings:[{value:l,onChange:n,label:(0,r.__)("Color","wedocs")}]}),"gradient"===t&&g&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Gradient CSS","wedocs"),value:i||"",onChange:d,placeholder:"linear-gradient(45deg, #ff0000, #00ff00)",help:(0,r.__)("Enter CSS gradient value","wedocs")}),m&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)("div",null,(0,o.createElement)("h4",null,(0,r.__)("Background Image","wedocs")),(0,o.createElement)(u.MediaUploadCheck,null,(0,o.createElement)(u.MediaUpload,{onSelect:e=>s({url:e.url,alt:e.alt,id:e.id}),allowedTypes:["image"],value:c?.id,render:({open:e})=>(0,o.createElement)(p.Button,{onClick:e,variant:"secondary"},c?.url?(0,r.__)("Change Image","wedocs"):(0,r.__)("Select Image","wedocs"))})),c?.url&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:2,marginBottom:2}),(0,o.createElement)(p.Button,{onClick:()=>s({url:"",alt:"",id:""}),variant:"secondary",isDestructive:!0},(0,r.__)("Remove Image","wedocs")))))),S=({label:e,shadowValue:t={},onShadowChange:a,showToggle:l=!0})=>{var n;const i=(e,o)=>{a({...t,[e]:o})},d=null!==(n=t.enabled)&&void 0!==n&&n;return(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},l&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Enable Box Shadow","wedocs"),checked:d,onChange:e=>i("enabled",e)}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4})),(d||!l)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Horizontal Offset","wedocs"),value:t.horizontal||"0px",onChange:e=>i("horizontal",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Vertical Offset","wedocs"),value:t.vertical||"2px",onChange:e=>i("vertical",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Blur Radius","wedocs"),value:t.blur||"4px",onChange:e=>i("blur",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Spread Radius","wedocs"),value:t.spread||"0px",onChange:e=>i("spread",e),units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,o.createElement)(p.__experimentalSpacer,{marginTop:4,marginBottom:4}),(0,o.createElement)(u.PanelColorSettings,{title:(0,r.__)("Shadow Color","wedocs"),colorSettings:[{value:t.color||"rgba(0,0,0,0.1)",onChange:e=>i("color",e),label:(0,r.__)("Color","wedocs")}]})))},T=({label:e,widthValue:t,onWidthChange:a,heightValue:l,onHeightChange:n,showHeight:i=!0,linkValues:d=!1})=>(0,o.createElement)(p.PanelBody,{title:e,initialOpen:!1},(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Width","wedocs"),value:t||"auto",onChange:e=>{a(e),d&&i&&n&&n(e)},units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"},{value:"auto",label:"auto"}]}),i&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalSpacer,{marginTop:3,marginBottom:3}),(0,o.createElement)(p.__experimentalUnitControl,{label:(0,r.__)("Height","wedocs"),value:l||"auto",onChange:n,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"},{value:"auto",label:"auto"}]}))),B=JSON.parse('{"UU":"wedocs/contributors"}');(0,l.registerBlockType)(B.UU,{edit:e=>{const{attributes:t,setAttributes:a}=e,[l,n]=(0,s.useState)([]),[i,d]=(0,s.useState)(!1),[c,g]=(0,s.useState)([]),[m,h]=(0,s.useState)(!1),b=(0,u.useBlockProps)({className:`wedocs-contributors ${t.additionalCssClass}`,style:{backgroundColor:"classic"===t.backgroundType?t.backgroundColor:void 0,backgroundImage:"gradient"===t.backgroundType?t.backgroundGradient:t.backgroundImage?.url?`url(${t.backgroundImage.url})`:void 0,padding:`${t.padding.top} ${t.padding.right} ${t.padding.bottom} ${t.padding.left}`,margin:`${t.margin.top} ${t.margin.right} ${t.margin.bottom} ${t.margin.left}`,borderStyle:"none"!==t.borderStyle?t.borderStyle:void 0,borderWidth:"none"!==t.borderStyle?`${t.borderWidth.top} ${t.borderWidth.right} ${t.borderWidth.bottom} ${t.borderWidth.left}`:void 0,borderColor:"none"!==t.borderStyle?t.borderColor:void 0,borderRadius:t.borderRadius,boxShadow:t.boxShadow.enabled?`${t.boxShadow.horizontal} ${t.boxShadow.vertical} ${t.boxShadow.blur} ${t.boxShadow.spread} ${t.boxShadow.color}`:void 0}}),_=(0,v.useSelect)((e=>{const{getCurrentPostId:t,getCurrentPostType:a}=e("core/editor")||{};return t?e(C.store).getEntityRecord("postType",a(),t()):null}),[]);return(0,s.useEffect)((()=>{"manual"===t.contributorDisplayMode&&(d(!0),wp.apiFetch({path:"/wp/v2/users?per_page=100&context=edit"}).then((e=>{n(e),d(!1)})).catch((()=>{d(!1)})))}),[t.contributorDisplayMode]),(0,s.useEffect)((()=>{_&&(async()=>{h(!0);try{const e=[];switch(t.contributorDisplayMode){case"main_author":if(_.author){const t=await wp.apiFetch({path:`/wp/v2/users/${_.author}?context=edit`});t&&e.push(t)}break;case"manual":if(t.selectedContributors.length>0)for(const a of t.selectedContributors)try{const t=await wp.apiFetch({path:`/wp/v2/users/${a}?context=edit`});t&&e.push(t)}catch(e){console.warn(`Could not fetch user ${a}:`,e)}break;default:if(_.author){const t=await wp.apiFetch({path:`/wp/v2/users/${_.author}?context=edit`});t&&e.push(t)}if(_.id)try{const t=await wp.apiFetch({path:`/wp/v2/${_.type}/${_.id}/revisions?per_page=50`}),a=[_.author];for(const o of t)if(o.author&&!a.includes(o.author)){a.push(o.author);try{const t=await wp.apiFetch({path:`/wp/v2/users/${o.author}?context=edit`});t&&e.push(t)}catch(e){console.warn(`Could not fetch revision author ${o.author}:`,e)}}}catch(e){console.warn("Could not fetch revisions:",e)}}g(e)}catch(e){console.error("Error fetching contributors:",e),g([])}finally{h(!1)}})()}),[_,t.contributorDisplayMode,t.selectedContributors]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(w,{defaultTab:"setup"},(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.PanelBody,{title:(0,r.__)("General Settings","wedocs"),initialOpen:!0},(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Show Title","wedocs"),checked:t.showTitle,onChange:e=>a({showTitle:e})}),t.showTitle&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Title","wedocs"),value:t.title,onChange:e=>a({title:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Contributor Display","wedocs"),value:t.contributorDisplayMode,options:[{label:(0,r.__)("Show all contributors","wedocs"),value:"all"},{label:(0,r.__)("Manually select contributors","wedocs"),value:"manual"},{label:(0,r.__)("Show only main author","wedocs"),value:"main_author"}],onChange:e=>a({contributorDisplayMode:e})}),"manual"===t.contributorDisplayMode&&(0,o.createElement)("div",null,(0,o.createElement)("h4",null,(0,r.__)("Select Contributors","wedocs")),i?(0,o.createElement)(p.Spinner,null):(0,o.createElement)("div",{style:{maxHeight:"200px",overflowY:"auto",border:"1px solid #ddd",padding:"10px"}},l.map((e=>(0,o.createElement)("label",{key:e.id,style:{display:"block",marginBottom:"5px"}},(0,o.createElement)("input",{type:"checkbox",checked:t.selectedContributors.includes(e.id),onChange:o=>{const l=o.target.checked?[...t.selectedContributors,e.id]:t.selectedContributors.filter((t=>t!==e.id));a({selectedContributors:l})},style:{marginRight:"8px"}}),e.name)))))),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Avatar Settings","wedocs"),initialOpen:!1},(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Show Avatar","wedocs"),checked:t.showAvatar,onChange:e=>a({showAvatar:e})}),t.showAvatar&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.RadioControl,{label:(0,r.__)("Avatar Type","wedocs"),selected:t.avatarType,options:[{label:(0,r.__)("User Avatar","wedocs"),value:"user_avatar"},{label:(0,r.__)("Common Icon","wedocs"),value:"common_icon"}],onChange:e=>a({avatarType:e})}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Avatar Shape","wedocs"),value:t.avatarShape,options:[{label:(0,r.__)("Circle","wedocs"),value:"circle"},{label:(0,r.__)("Rounded","wedocs"),value:"rounded"},{label:(0,r.__)("Square","wedocs"),value:"square"}],onChange:e=>a({avatarShape:e})}),(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Hover Effect","wedocs"),checked:t.avatarHoverEffect,onChange:e=>a({avatarHoverEffect:e})}))),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Date Settings","wedocs"),initialOpen:!1},(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Show Last Updated Date","wedocs"),checked:t.showLastUpdated,onChange:e=>a({showLastUpdated:e})}),t.showLastUpdated&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.RadioControl,{label:(0,r.__)("Date Format","wedocs"),selected:t.dateFormat,options:[{label:(0,r.__)("WordPress Default","wedocs"),value:"wp_default"},{label:(0,r.__)("Custom Format","wedocs"),value:"custom"}],onChange:e=>a({dateFormat:e})}),"custom"===t.dateFormat&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Custom Date Format","wedocs"),value:t.customDateFormat,onChange:e=>a({customDateFormat:e}),help:(0,r.__)('Use PHP date format. E.g., F j, Y for "January 1, 2023"',"wedocs")}),(0,o.createElement)(p.TextControl,{label:(0,r.__)("Date Prefix Text","wedocs"),value:t.datePrefix,onChange:e=>a({datePrefix:e})}))),(0,o.createElement)(p.PanelBody,{title:(0,r.__)("Advanced","wedocs"),initialOpen:!1},(0,o.createElement)(p.TextControl,{label:(0,r.__)("Additional CSS Classes","wedocs"),value:t.additionalCssClass,onChange:e=>a({additionalCssClass:e}),help:(0,r.__)("Separate multiple classes with spaces","wedocs")}),(0,o.createElement)(p.ToggleControl,{label:(0,r.__)("Enable Schema Markup","wedocs"),checked:t.enableSchema,onChange:e=>a({enableSchema:e}),help:(0,r.__)("Output structured data for author and dateModified","wedocs")}),(0,o.createElement)(p.SelectControl,{label:(0,r.__)("Avatar Link Behavior","wedocs"),value:t.linkBehavior,options:[{label:(0,r.__)("Link to user profile","wedocs"),value:"user_profile"},{label:(0,r.__)("No link","wedocs"),value:"no_link"},{label:(0,r.__)("Custom link","wedocs"),value:"custom_link"}],onChange:e=>a({linkBehavior:e})}),"custom_link"===t.linkBehavior&&(0,o.createElement)(p.TextControl,{label:(0,r.__)("Custom Link URL","wedocs"),value:t.customLinkUrl,onChange:e=>a({customLinkUrl:e}),placeholder:"https://example.com/author"}))),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(E,{label:(0,r.__)("Container Background","wedocs"),backgroundType:t.backgroundType,onBackgroundTypeChange:e=>a({backgroundType:e}),backgroundColor:t.backgroundColor,onBackgroundColorChange:e=>a({backgroundColor:e}),backgroundGradient:t.backgroundGradient,onBackgroundGradientChange:e=>a({backgroundGradient:e}),backgroundImage:t.backgroundImage,onBackgroundImageChange:e=>a({backgroundImage:e})}),(0,o.createElement)(x,{label:(0,r.__)("Container Spacing","wedocs"),paddingValue:t.padding,onPaddingChange:e=>a({padding:e}),marginValue:t.margin,onMarginChange:e=>a({margin:e}),showGap:!0,gapValue:t.contributorGap,onGapChange:e=>a({contributorGap:e})}),(0,o.createElement)(f,{label:(0,r.__)("Container Border","wedocs"),borderStyle:t.borderStyle,onBorderStyleChange:e=>a({borderStyle:e}),borderWidth:t.borderWidth,onBorderWidthChange:e=>a({borderWidth:e}),borderColor:t.borderColor,onBorderColorChange:e=>a({borderColor:e}),borderRadius:t.borderRadius,onBorderRadiusChange:e=>a({borderRadius:e})}),(0,o.createElement)(S,{label:(0,r.__)("Container Shadow","wedocs"),shadowValue:t.boxShadow,onShadowChange:e=>a({boxShadow:e})}),t.showTitle&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y,{label:(0,r.__)("Title Typography","wedocs"),value:t.contributorTitleTypography,onChange:e=>a({contributorTitleTypography:e}),colorValue:t.contributorTitleColor,onColorChange:e=>a({contributorTitleColor:e}),hoverColorValue:t.contributorTitleHoverColor,onHoverColorChange:e=>a({contributorTitleHoverColor:e})}),(0,o.createElement)(x,{label:(0,r.__)("Title Spacing","wedocs"),paddingValue:t.titlePadding,onPaddingChange:e=>a({titlePadding:e}),marginValue:t.titleMargin,onMarginChange:e=>a({titleMargin:e}),showGap:!1})),t.showAvatar&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(T,{label:(0,r.__)("Avatar Size","wedocs"),widthValue:t.avatarSize,onWidthChange:e=>a({avatarSize:e}),showHeight:!1}),(0,o.createElement)(x,{label:(0,r.__)("Avatar Spacing","wedocs"),paddingValue:t.avatarPadding,onPaddingChange:e=>a({avatarPadding:e}),marginValue:t.avatarMargin,onMarginChange:e=>a({avatarMargin:e}),showGap:!1}),(0,o.createElement)(f,{label:(0,r.__)("Avatar Border","wedocs"),borderStyle:t.avatarBorderStyle,onBorderStyleChange:e=>a({avatarBorderStyle:e}),borderWidth:t.avatarBorderWidth,onBorderWidthChange:e=>a({avatarBorderWidth:e}),borderColor:t.avatarBorderColor,onBorderColorChange:e=>a({avatarBorderColor:e}),borderRadius:t.avatarBorderRadius,onBorderRadiusChange:e=>a({avatarBorderRadius:e})}),(0,o.createElement)(S,{label:(0,r.__)("Avatar Shadow","wedocs"),shadowValue:t.avatarBoxShadow,onShadowChange:e=>a({avatarBoxShadow:e})})),(0,o.createElement)(y,{label:(0,r.__)("Name Typography","wedocs"),value:t.nameTypography,onChange:e=>a({nameTypography:e}),colorValue:t.nameColor,onColorChange:e=>a({nameColor:e}),hoverColorValue:t.nameHoverColor,onHoverColorChange:e=>a({nameHoverColor:e})}),(0,o.createElement)(x,{label:(0,r.__)("Name Spacing","wedocs"),paddingValue:t.namePadding,onPaddingChange:e=>a({namePadding:e}),marginValue:t.nameMargin,onMarginChange:e=>a({nameMargin:e}),showGap:!1}),t.showLastUpdated&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y,{label:(0,r.__)("Date Typography","wedocs"),value:t.dateTypography,onChange:e=>a({dateTypography:e}),colorValue:t.dateColor,onColorChange:e=>a({dateColor:e}),showHoverColor:!1}),(0,o.createElement)(x,{label:(0,r.__)("Date Spacing","wedocs"),paddingValue:t.datePadding,onPaddingChange:e=>a({datePadding:e}),marginValue:t.dateMargin,onMarginChange:e=>a({dateMargin:e}),showGap:!1}))))),(0,o.createElement)("div",{...b},(()=>{if(m)return(0,o.createElement)(p.Placeholder,{icon:"groups",label:(0,r.__)("Doc Contributors","wedocs")},(0,o.createElement)(p.Spinner,null),(0,o.createElement)("div",null,(0,r.__)("Loading contributors...","wedocs")));if("manual"===t.contributorDisplayMode&&0===t.selectedContributors.length)return(0,o.createElement)(p.Placeholder,{icon:"groups",label:(0,r.__)("Doc Contributors","wedocs"),instructions:(0,r.__)("Select contributors from the settings panel.","wedocs")});let e=c;e&&0!==e.length||(e=[{id:1,name:"Demo Author",avatar_urls:{48:weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_2.png"}}]);const a={width:t.avatarSize,height:t.avatarSize,borderRadius:"circle"===t.avatarShape?"50%":"rounded"===t.avatarShape?t.avatarBorderRadius:"0",borderStyle:"none"!==t.avatarBorderStyle?t.avatarBorderStyle:void 0,borderColor:"none"!==t.avatarBorderStyle?t.avatarBorderColor:void 0,borderWidth:"none"!==t.avatarBorderStyle?`${t.avatarBorderWidth?.top||"2px"} ${t.avatarBorderWidth?.right||"2px"} ${t.avatarBorderWidth?.bottom||"2px"} ${t.avatarBorderWidth?.left||"2px"}`:void 0,padding:`${t.avatarPadding?.top||"0px"} ${t.avatarPadding?.right||"0px"} ${t.avatarPadding?.bottom||"0px"} ${t.avatarPadding?.left||"0px"}`,margin:`${t.avatarMargin?.top||"0px"} ${t.avatarMargin?.right||"8px"} ${t.avatarMargin?.bottom||"0px"} ${t.avatarMargin?.left||"0px"}`,boxShadow:t.avatarBoxShadow?.enabled?`${t.avatarBoxShadow.horizontal} ${t.avatarBoxShadow.vertical} ${t.avatarBoxShadow.blur} ${t.avatarBoxShadow.spread} ${t.avatarBoxShadow.color}`:void 0},l={color:t.contributorTitleColor,fontSize:t.contributorTitleTypography.fontSize,fontWeight:t.contributorTitleTypography.fontWeight,fontStyle:t.contributorTitleTypography.fontStyle,fontFamily:"default"!==t.contributorTitleTypography.fontFamily?t.contributorTitleTypography.fontFamily:void 0,lineHeight:"normal"!==t.contributorTitleTypography.lineHeight?t.contributorTitleTypography.lineHeight:void 0,letterSpacing:"normal"!==t.contributorTitleTypography.letterSpacing?t.contributorTitleTypography.letterSpacing:void 0,textTransform:"none"!==t.contributorTitleTypography.textTransform?t.contributorTitleTypography.textTransform:void 0,textDecoration:"none"!==t.contributorTitleTypography.textDecoration?t.contributorTitleTypography.textDecoration:void 0,padding:`${t.titlePadding?.top||"0px"} ${t.titlePadding?.right||"0px"} ${t.titlePadding?.bottom||"10px"} ${t.titlePadding?.left||"0px"}`,margin:`${t.titleMargin?.top||"0px"} ${t.titleMargin?.right||"0px"} ${t.titleMargin?.bottom||"0px"} ${t.titleMargin?.left||"0px"}`},n={color:t.nameColor,fontSize:t.nameTypography.fontSize,fontWeight:t.nameTypography.fontWeight,fontStyle:t.nameTypography.fontStyle,fontFamily:"default"!==t.nameTypography.fontFamily?t.nameTypography.fontFamily:void 0,lineHeight:"normal"!==t.nameTypography.lineHeight?t.nameTypography.lineHeight:void 0,letterSpacing:"normal"!==t.nameTypography.letterSpacing?t.nameTypography.letterSpacing:void 0,textTransform:"none"!==t.nameTypography.textTransform?t.nameTypography.textTransform:void 0,textDecoration:"none"!==t.nameTypography.textDecoration?t.nameTypography.textDecoration:void 0,padding:`${t.namePadding?.top||"0px"} ${t.namePadding?.right||"0px"} ${t.namePadding?.bottom||"0px"} ${t.namePadding?.left||"0px"}`,margin:`${t.nameMargin?.top||"0px"} ${t.nameMargin?.right||"0px"} ${t.nameMargin?.bottom||"0px"} ${t.nameMargin?.left||"0px"}`},i={color:t.dateColor,fontSize:t.dateTypography.fontSize,fontWeight:t.dateTypography.fontWeight,fontStyle:t.dateTypography.fontStyle,fontFamily:"default"!==t.dateTypography.fontFamily?t.dateTypography.fontFamily:void 0,lineHeight:"normal"!==t.dateTypography.lineHeight?t.dateTypography.lineHeight:void 0,letterSpacing:"normal"!==t.dateTypography.letterSpacing?t.dateTypography.letterSpacing:void 0,textTransform:"none"!==t.dateTypography.textTransform?t.dateTypography.textTransform:void 0,textDecoration:"none"!==t.dateTypography.textDecoration?t.dateTypography.textDecoration:void 0,padding:`${t.datePadding?.top||"0px"} ${t.datePadding?.right||"0px"} ${t.datePadding?.bottom||"0px"} ${t.datePadding?.left||"0px"}`,margin:`${t.dateMargin?.top||"10px"} ${t.dateMargin?.right||"0px"} ${t.dateMargin?.bottom||"0px"} ${t.dateMargin?.left||"0px"}`};return(0,o.createElement)("div",null,t.showTitle&&(0,o.createElement)("h3",{style:l},t.title),(0,o.createElement)("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:t.contributorGap||"10px"}},t.showAvatar&&e.map((e=>{const l=e.name||e.display_name||"Unknown",r=e.id||e.ID||Math.random();let i=weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_1.png";if(e.avatar_urls&&(i=e.avatar_urls[48]||e.avatar_urls[96]||e.avatar_urls[24]),!i&&e.email)try{i=`https://www.gravatar.com/avatar/${btoa(e.email.toLowerCase().trim())}?s=48&d=identicon`}catch(e){i=weDocsAdminScriptVars.assetsUrl+"/img/demo_avatar/avatar_1.png"}return(0,o.createElement)("div",{key:r,style:{display:"flex",alignItems:"center"}},"user_avatar"===t.avatarType?(0,o.createElement)("img",{src:i,alt:l,style:a}):(0,o.createElement)("div",{style:{...a,backgroundColor:"#0073aa",display:"flex",alignItems:"center",justifyContent:"center"}},(0,o.createElement)("svg",{width:"16",height:"16",fill:"white",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}))),(0,o.createElement)("span",{style:n},l))}))),t.showLastUpdated&&(0,o.createElement)("div",{style:i},t.datePrefix," ",(new Date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})))})()))},save:()=>null})},609:e=>{e.exports=window.React}},a={};function o(e){var l=a[e];if(void 0!==l)return l.exports;var r=a[e]={exports:{}};return t[e](r,r.exports,o),r.exports}o.m=t,e=[],o.O=(t,a,l,r)=>{if(!a){var n=1/0;for(s=0;s=r)&&Object.keys(o.O).every((e=>o.O[e](a[d])))?a.splice(d--,1):(i=!1,r0&&e[s-1][2]>r;s--)e[s]=e[s-1];e[s]=[a,l,r]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={366:0,337:0};o.O.j=t=>0===e[t];var t=(t,a)=>{var l,r,n=a[0],i=a[1],d=a[2],c=0;if(n.some((t=>0!==e[t]))){for(l in i)o.o(i,l)&&(o.m[l]=i[l]);if(d)var s=d(o)}for(t&&t(a);co(931)));l=o.O(l)})(); \ No newline at end of file +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/@wordpress/icons/build-module/library/cog.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/cog.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const cog = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + fillRule: "evenodd", + d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z", + clipRule: "evenodd" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cog); +//# sourceMappingURL=cog.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/shadow.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/shadow.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const shadow = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shadow); +//# sourceMappingURL=shadow.js.map + +/***/ }), + +/***/ "./src/block.js": +/*!**********************!*\ + !*** ./src/block.js ***! + \**********************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocks */ "./src/blocks/index.js"); + + +/***/ }), + +/***/ "./src/blocks/Contributors/block.json": +/*!********************************************!*\ + !*** ./src/blocks/Contributors/block.json ***! + \********************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/contributors","version":"1.0.0","title":"Doc Contributors","icon":"groups","category":"widgets","description":"Display the author(s)/contributors of a doc along with the last updated date.","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"showTitle":{"type":"boolean","default":true},"title":{"type":"string","default":"Contributors"},"titleColor":{"type":"string","default":"#fff"},"contributorDisplayMode":{"type":"string","default":"all","enum":["all","manual","main_author"]},"selectedContributors":{"type":"array","default":[]},"showLastUpdated":{"type":"boolean","default":true},"dateFormat":{"type":"string","default":"wp_default"},"customDateFormat":{"type":"string","default":"F j, Y"},"datePrefix":{"type":"string","default":"Updated on"},"backgroundType":{"type":"string","default":"classic","enum":["classic","gradient"]},"backgroundColor":{"type":"string","default":"#f9f9f9"},"backgroundGradient":{"type":"string","default":""},"backgroundImage":{"type":"object","default":{"url":"","alt":""}},"padding":{"type":"object","default":{"top":"15px","right":"15px","bottom":"15px","left":"15px"}},"margin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"10px","left":"0px"}},"borderStyle":{"type":"string","default":"solid","enum":["none","solid","dashed","dotted"]},"borderWidth":{"type":"object","default":{"top":"1px","right":"1px","bottom":"1px","left":"1px"}},"borderColor":{"type":"string","default":"#dddddd"},"borderRadius":{"type":"string","default":"4px"},"boxShadow":{"type":"object","default":{"enabled":false,"horizontal":"0px","vertical":"2px","blur":"4px","spread":"0px","color":"rgba(0,0,0,0.1)"}},"showAvatar":{"type":"boolean","default":true},"avatarType":{"type":"string","default":"user_avatar","enum":["user_avatar","common_icon"]},"avatarSize":{"type":"string","default":"32px"},"avatarShape":{"type":"string","default":"circle","enum":["circle","rounded","square"]},"avatarBorderStyle":{"type":"string","default":"none","enum":["none","solid","dashed"]},"avatarBorderColor":{"type":"string","default":"#dddddd"},"avatarBorderRadius":{"type":"string","default":"50%"},"avatarHoverEffect":{"type":"boolean","default":false},"nameColor":{"type":"string","default":"#333333"},"nameTypography":{"type":"object","default":{"fontSize":"14px","fontWeight":"600","fontStyle":"normal","lineHeight":"normal","letterSpacing":"normal","textTransform":"none","textDecoration":"none","fontFamily":"default"}},"nameHoverColor":{"type":"string","default":"#0073aa"},"contributorTitleColor":{"type":"string","default":"#333333"},"contributorTitleTypography":{"type":"object","default":{"fontSize":"16px","fontWeight":"600","fontStyle":"normal","lineHeight":"normal","letterSpacing":"normal","textTransform":"none","textDecoration":"none","fontFamily":"default"}},"contributorTitleHoverColor":{"type":"string","default":"#0073aa"},"dateColor":{"type":"string","default":"#666666"},"dateTypography":{"type":"object","default":{"fontSize":"12px","fontWeight":"400","fontStyle":"normal","lineHeight":"normal","letterSpacing":"normal","textTransform":"none","textDecoration":"none","fontFamily":"default"}},"additionalCssClass":{"type":"string","default":""},"enableSchema":{"type":"boolean","default":false},"linkBehavior":{"type":"string","default":"user_profile","enum":["user_profile","no_link","custom_link"]},"customLinkUrl":{"type":"string","default":""},"avatarPadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"avatarMargin":{"type":"object","default":{"top":"0px","right":"8px","bottom":"0px","left":"0px"}},"avatarBorderWidth":{"type":"object","default":{"top":"2px","right":"2px","bottom":"2px","left":"2px"}},"avatarBoxShadow":{"type":"object","default":{"enabled":false,"horizontal":"0px","vertical":"2px","blur":"4px","spread":"0px","color":"rgba(0,0,0,0.1)"}},"namePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"nameMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"datePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"dateMargin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"0px","left":"0px"}},"contributorGap":{"type":"string","default":"10px"},"titlePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"10px","left":"0px"}},"titleMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}}'); + +/***/ }), + +/***/ "./src/blocks/Contributors/edit.js": +/*!*****************************************!*\ + !*** ./src/blocks/Contributors/edit.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/core-data */ "@wordpress/core-data"); +/* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _components_TabSystem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/TabSystem */ "./src/blocks/components/TabSystem.js"); +/* harmony import */ var _components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components/TypographyControl */ "./src/blocks/components/TypographyControl.js"); +/* harmony import */ var _components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/SpacingControl */ "./src/blocks/components/SpacingControl.js"); +/* harmony import */ var _components_BorderControl__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/BorderControl */ "./src/blocks/components/BorderControl.js"); +/* harmony import */ var _components_BackgroundControl__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components/BackgroundControl */ "./src/blocks/components/BackgroundControl.js"); +/* harmony import */ var _components_ShadowControl__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../components/ShadowControl */ "./src/blocks/components/ShadowControl.js"); +/* harmony import */ var _components_DimensionControl__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../components/DimensionControl */ "./src/blocks/components/DimensionControl.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__); + + + + + + + +// Import our custom components + + + + + + + + +const Edit = props => { + const { + attributes, + setAttributes + } = props; + const [users, setUsers] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const [isLoadingUsers, setIsLoadingUsers] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const [actualContributors, setActualContributors] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const [isLoadingContributors, setIsLoadingContributors] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)({ + className: `wedocs-contributors ${attributes.additionalCssClass}`, + style: { + backgroundColor: attributes.backgroundType === 'classic' ? attributes.backgroundColor : undefined, + backgroundImage: attributes.backgroundType === 'gradient' ? attributes.backgroundGradient : attributes.backgroundImage?.url ? `url(${attributes.backgroundImage.url})` : undefined, + padding: `${attributes.padding.top} ${attributes.padding.right} ${attributes.padding.bottom} ${attributes.padding.left}`, + margin: `${attributes.margin.top} ${attributes.margin.right} ${attributes.margin.bottom} ${attributes.margin.left}`, + borderStyle: attributes.borderStyle !== 'none' ? attributes.borderStyle : undefined, + borderWidth: attributes.borderStyle !== 'none' ? `${attributes.borderWidth.top} ${attributes.borderWidth.right} ${attributes.borderWidth.bottom} ${attributes.borderWidth.left}` : undefined, + borderColor: attributes.borderStyle !== 'none' ? attributes.borderColor : undefined, + borderRadius: attributes.borderRadius, + boxShadow: attributes.boxShadow.enabled ? `${attributes.boxShadow.horizontal} ${attributes.boxShadow.vertical} ${attributes.boxShadow.blur} ${attributes.boxShadow.spread} ${attributes.boxShadow.color}` : undefined + } + }); + + // Get current post data + const currentPost = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_4__.useSelect)(select => { + const { + getCurrentPostId, + getCurrentPostType + } = select('core/editor') || {}; + if (!getCurrentPostId) return null; + return select(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__.store).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId()); + }, []); + + // Fetch users when component mounts or when manual selection mode is active + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (attributes.contributorDisplayMode === 'manual') { + setIsLoadingUsers(true); + wp.apiFetch({ + path: '/wp/v2/users?per_page=100&context=edit' + }).then(users => { + setUsers(users); + setIsLoadingUsers(false); + }).catch(() => { + setIsLoadingUsers(false); + }); + } + }, [attributes.contributorDisplayMode]); + + // Fetch actual contributors based on current post and display mode + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (!currentPost) return; + const fetchContributors = async () => { + setIsLoadingContributors(true); + try { + const contributors = []; + switch (attributes.contributorDisplayMode) { + case 'main_author': + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + break; + case 'manual': + if (attributes.selectedContributors.length > 0) { + for (const userId of attributes.selectedContributors) { + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${userId}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch user ${userId}:`, error); + } + } + } + break; + case 'all': + default: + // Get post author + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + + // Get revisions if post is saved + if (currentPost.id) { + try { + const revisions = await wp.apiFetch({ + path: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50` + }); + const contributorIds = [currentPost.author]; + for (const revision of revisions) { + if (revision.author && !contributorIds.includes(revision.author)) { + contributorIds.push(revision.author); + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${revision.author}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch revision author ${revision.author}:`, error); + } + } + } + } catch (error) { + console.warn('Could not fetch revisions:', error); + } + } + break; + } + setActualContributors(contributors); + } catch (error) { + console.error('Error fetching contributors:', error); + setActualContributors([]); + } finally { + setIsLoadingContributors(false); + } + }; + fetchContributors(); + }, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]); + const renderPreview = () => { + // Show loading state + if (isLoadingContributors) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Placeholder, { + icon: "groups", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Contributors', 'wedocs'), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Loading contributors...', 'wedocs') + })] + }); + } + if (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Placeholder, { + icon: "groups", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Contributors', 'wedocs'), + instructions: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select contributors from the settings panel.', 'wedocs') + }); + } + + // Use actual contributors or fallback to demo data + let displayContributors = actualContributors; + if (!displayContributors || displayContributors.length === 0) { + // Fallback to demo data for new posts or when no contributors found + displayContributors = [{ + id: 1, + name: 'Demo Author', + avatar_urls: { + 48: weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_2.png" + } + }]; + } + const avatarStyle = { + width: attributes.avatarSize, + height: attributes.avatarSize, + borderRadius: attributes.avatarShape === 'circle' ? '50%' : attributes.avatarShape === 'rounded' ? attributes.avatarBorderRadius : '0', + borderStyle: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderStyle : undefined, + borderColor: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderColor : undefined, + borderWidth: attributes.avatarBorderStyle !== 'none' ? `${attributes.avatarBorderWidth?.top || '2px'} ${attributes.avatarBorderWidth?.right || '2px'} ${attributes.avatarBorderWidth?.bottom || '2px'} ${attributes.avatarBorderWidth?.left || '2px'}` : undefined, + padding: `${attributes.avatarPadding?.top || '0px'} ${attributes.avatarPadding?.right || '0px'} ${attributes.avatarPadding?.bottom || '0px'} ${attributes.avatarPadding?.left || '0px'}`, + margin: `${attributes.avatarMargin?.top || '0px'} ${attributes.avatarMargin?.right || '8px'} ${attributes.avatarMargin?.bottom || '0px'} ${attributes.avatarMargin?.left || '0px'}`, + boxShadow: attributes.avatarBoxShadow?.enabled ? `${attributes.avatarBoxShadow.horizontal} ${attributes.avatarBoxShadow.vertical} ${attributes.avatarBoxShadow.blur} ${attributes.avatarBoxShadow.spread} ${attributes.avatarBoxShadow.color}` : undefined + }; + const titleStyle = { + color: attributes.contributorTitleColor, + fontSize: attributes.contributorTitleTypography.fontSize, + fontWeight: attributes.contributorTitleTypography.fontWeight, + fontStyle: attributes.contributorTitleTypography.fontStyle, + fontFamily: attributes.contributorTitleTypography.fontFamily !== 'default' ? attributes.contributorTitleTypography.fontFamily : undefined, + lineHeight: attributes.contributorTitleTypography.lineHeight !== 'normal' ? attributes.contributorTitleTypography.lineHeight : undefined, + letterSpacing: attributes.contributorTitleTypography.letterSpacing !== 'normal' ? attributes.contributorTitleTypography.letterSpacing : undefined, + textTransform: attributes.contributorTitleTypography.textTransform !== 'none' ? attributes.contributorTitleTypography.textTransform : undefined, + textDecoration: attributes.contributorTitleTypography.textDecoration !== 'none' ? attributes.contributorTitleTypography.textDecoration : undefined, + padding: `${attributes.titlePadding?.top || '0px'} ${attributes.titlePadding?.right || '0px'} ${attributes.titlePadding?.bottom || '10px'} ${attributes.titlePadding?.left || '0px'}`, + margin: `${attributes.titleMargin?.top || '0px'} ${attributes.titleMargin?.right || '0px'} ${attributes.titleMargin?.bottom || '0px'} ${attributes.titleMargin?.left || '0px'}` + }; + const nameStyle = { + color: attributes.nameColor, + fontSize: attributes.nameTypography.fontSize, + fontWeight: attributes.nameTypography.fontWeight, + fontStyle: attributes.nameTypography.fontStyle, + fontFamily: attributes.nameTypography.fontFamily !== 'default' ? attributes.nameTypography.fontFamily : undefined, + lineHeight: attributes.nameTypography.lineHeight !== 'normal' ? attributes.nameTypography.lineHeight : undefined, + letterSpacing: attributes.nameTypography.letterSpacing !== 'normal' ? attributes.nameTypography.letterSpacing : undefined, + textTransform: attributes.nameTypography.textTransform !== 'none' ? attributes.nameTypography.textTransform : undefined, + textDecoration: attributes.nameTypography.textDecoration !== 'none' ? attributes.nameTypography.textDecoration : undefined, + padding: `${attributes.namePadding?.top || '0px'} ${attributes.namePadding?.right || '0px'} ${attributes.namePadding?.bottom || '0px'} ${attributes.namePadding?.left || '0px'}`, + margin: `${attributes.nameMargin?.top || '0px'} ${attributes.nameMargin?.right || '0px'} ${attributes.nameMargin?.bottom || '0px'} ${attributes.nameMargin?.left || '0px'}` + }; + const dateStyle = { + color: attributes.dateColor, + fontSize: attributes.dateTypography.fontSize, + fontWeight: attributes.dateTypography.fontWeight, + fontStyle: attributes.dateTypography.fontStyle, + fontFamily: attributes.dateTypography.fontFamily !== 'default' ? attributes.dateTypography.fontFamily : undefined, + lineHeight: attributes.dateTypography.lineHeight !== 'normal' ? attributes.dateTypography.lineHeight : undefined, + letterSpacing: attributes.dateTypography.letterSpacing !== 'normal' ? attributes.dateTypography.letterSpacing : undefined, + textTransform: attributes.dateTypography.textTransform !== 'none' ? attributes.dateTypography.textTransform : undefined, + textDecoration: attributes.dateTypography.textDecoration !== 'none' ? attributes.dateTypography.textDecoration : undefined, + padding: `${attributes.datePadding?.top || '0px'} ${attributes.datePadding?.right || '0px'} ${attributes.datePadding?.bottom || '0px'} ${attributes.datePadding?.left || '0px'}`, + margin: `${attributes.dateMargin?.top || '10px'} ${attributes.dateMargin?.right || '0px'} ${attributes.dateMargin?.bottom || '0px'} ${attributes.dateMargin?.left || '0px'}` + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + children: [attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("h3", { + style: titleStyle, + children: attributes.title + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + style: { + display: 'flex', + alignItems: 'center', + flexWrap: 'wrap', + gap: attributes.contributorGap || '10px' + }, + children: attributes.showAvatar && displayContributors.map(contributor => { + // Handle both API response format and demo format + const contributorName = contributor.name || contributor.display_name || 'Unknown'; + const contributorId = contributor.id || contributor.ID || Math.random(); + // Get avatar URL with fallbacks + let avatarUrl = weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_1.png"; + if (contributor.avatar_urls) { + avatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24]; + } + + // If no avatar URL and we have an email, use Gravatar + if (!avatarUrl && contributor.email) { + try { + const emailHash = btoa(contributor.email.toLowerCase().trim()); + avatarUrl = `https://www.gravatar.com/avatar/${emailHash}?s=48&d=identicon`; + } catch (e) { + avatarUrl = weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_1.png"; + } + } + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center' + }, + children: [attributes.avatarType === 'user_avatar' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("img", { + src: avatarUrl, + alt: contributorName, + style: avatarStyle + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + style: { + ...avatarStyle, + backgroundColor: '#0073aa', + display: 'flex', + alignItems: 'center', + justifyContent: 'center' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("svg", { + width: "16", + height: "16", + fill: "white", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("path", { + d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span", { + style: nameStyle, + children: contributorName + })] + }, contributorId); + }) + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + style: dateStyle, + children: [attributes.datePrefix, " ", new Date().toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric' + })] + })] + }); + }; + const setupTabContent = () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('General Settings', 'wedocs'), + initialOpen: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Title', 'wedocs'), + checked: attributes.showTitle, + onChange: value => setAttributes({ + showTitle: value + }) + }), attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title', 'wedocs'), + value: attributes.title, + onChange: value => setAttributes({ + title: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Contributor Display', 'wedocs'), + value: attributes.contributorDisplayMode, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show all contributors', 'wedocs'), + value: 'all' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Manually select contributors', 'wedocs'), + value: 'manual' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show only main author', 'wedocs'), + value: 'main_author' + }], + onChange: value => setAttributes({ + contributorDisplayMode: value + }) + }), attributes.contributorDisplayMode === 'manual' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Contributors', 'wedocs') + }), isLoadingUsers ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + style: { + maxHeight: '200px', + overflowY: 'auto', + border: '1px solid #ddd', + padding: '10px' + }, + children: users.map(user => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("label", { + style: { + display: 'block', + marginBottom: '5px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("input", { + type: "checkbox", + checked: attributes.selectedContributors.includes(user.id), + onChange: e => { + const newSelected = e.target.checked ? [...attributes.selectedContributors, user.id] : attributes.selectedContributors.filter(id => id !== user.id); + setAttributes({ + selectedContributors: newSelected + }); + }, + style: { + marginRight: '8px' + } + }), user.name] + }, user.id)) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Settings', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Avatar', 'wedocs'), + checked: attributes.showAvatar, + onChange: value => setAttributes({ + showAvatar: value + }) + }), attributes.showAvatar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Type', 'wedocs'), + selected: attributes.avatarType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('User Avatar', 'wedocs'), + value: 'user_avatar' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Common Icon', 'wedocs'), + value: 'common_icon' + }], + onChange: value => setAttributes({ + avatarType: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Shape', 'wedocs'), + value: attributes.avatarShape, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Circle', 'wedocs'), + value: 'circle' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Rounded', 'wedocs'), + value: 'rounded' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Square', 'wedocs'), + value: 'square' + }], + onChange: value => setAttributes({ + avatarShape: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Effect', 'wedocs'), + checked: attributes.avatarHoverEffect, + onChange: value => setAttributes({ + avatarHoverEffect: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Settings', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Last Updated Date', 'wedocs'), + checked: attributes.showLastUpdated, + onChange: value => setAttributes({ + showLastUpdated: value + }) + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Format', 'wedocs'), + selected: attributes.dateFormat, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('WordPress Default', 'wedocs'), + value: 'wp_default' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Format', 'wedocs'), + value: 'custom' + }], + onChange: value => setAttributes({ + dateFormat: value + }) + }), attributes.dateFormat === 'custom' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Date Format', 'wedocs'), + value: attributes.customDateFormat, + onChange: value => setAttributes({ + customDateFormat: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Use PHP date format. E.g., F j, Y for "January 1, 2023"', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Prefix Text', 'wedocs'), + value: attributes.datePrefix, + onChange: value => setAttributes({ + datePrefix: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Advanced', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Additional CSS Classes', 'wedocs'), + value: attributes.additionalCssClass, + onChange: value => setAttributes({ + additionalCssClass: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Separate multiple classes with spaces', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enable Schema Markup', 'wedocs'), + checked: attributes.enableSchema, + onChange: value => setAttributes({ + enableSchema: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Output structured data for author and dateModified', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Link Behavior', 'wedocs'), + value: attributes.linkBehavior, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Link to user profile', 'wedocs'), + value: 'user_profile' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('No link', 'wedocs'), + value: 'no_link' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom link', 'wedocs'), + value: 'custom_link' + }], + onChange: value => setAttributes({ + linkBehavior: value + }) + }), attributes.linkBehavior === 'custom_link' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Link URL', 'wedocs'), + value: attributes.customLinkUrl, + onChange: value => setAttributes({ + customLinkUrl: value + }), + placeholder: "https://example.com/author" + })] + })] + }); + const styleTabContent = () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_BackgroundControl__WEBPACK_IMPORTED_MODULE_10__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Background', 'wedocs'), + backgroundType: attributes.backgroundType, + onBackgroundTypeChange: value => setAttributes({ + backgroundType: value + }), + backgroundColor: attributes.backgroundColor, + onBackgroundColorChange: value => setAttributes({ + backgroundColor: value + }), + backgroundGradient: attributes.backgroundGradient, + onBackgroundGradientChange: value => setAttributes({ + backgroundGradient: value + }), + backgroundImage: attributes.backgroundImage, + onBackgroundImageChange: value => setAttributes({ + backgroundImage: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Spacing', 'wedocs'), + paddingValue: attributes.padding, + onPaddingChange: value => setAttributes({ + padding: value + }), + marginValue: attributes.margin, + onMarginChange: value => setAttributes({ + margin: value + }), + showGap: true, + gapValue: attributes.contributorGap, + onGapChange: value => setAttributes({ + contributorGap: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_BorderControl__WEBPACK_IMPORTED_MODULE_9__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Border', 'wedocs'), + borderStyle: attributes.borderStyle, + onBorderStyleChange: value => setAttributes({ + borderStyle: value + }), + borderWidth: attributes.borderWidth, + onBorderWidthChange: value => setAttributes({ + borderWidth: value + }), + borderColor: attributes.borderColor, + onBorderColorChange: value => setAttributes({ + borderColor: value + }), + borderRadius: attributes.borderRadius, + onBorderRadiusChange: value => setAttributes({ + borderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_ShadowControl__WEBPACK_IMPORTED_MODULE_11__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Shadow', 'wedocs'), + shadowValue: attributes.boxShadow, + onShadowChange: value => setAttributes({ + boxShadow: value + }) + }), attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title Typography', 'wedocs'), + value: attributes.contributorTitleTypography, + onChange: value => setAttributes({ + contributorTitleTypography: value + }), + colorValue: attributes.contributorTitleColor, + onColorChange: value => setAttributes({ + contributorTitleColor: value + }), + hoverColorValue: attributes.contributorTitleHoverColor, + onHoverColorChange: value => setAttributes({ + contributorTitleHoverColor: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title Spacing', 'wedocs'), + paddingValue: attributes.titlePadding, + onPaddingChange: value => setAttributes({ + titlePadding: value + }), + marginValue: attributes.titleMargin, + onMarginChange: value => setAttributes({ + titleMargin: value + }), + showGap: false + })] + }), attributes.showAvatar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_DimensionControl__WEBPACK_IMPORTED_MODULE_12__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Size', 'wedocs'), + widthValue: attributes.avatarSize, + onWidthChange: value => setAttributes({ + avatarSize: value + }), + showHeight: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Spacing', 'wedocs'), + paddingValue: attributes.avatarPadding, + onPaddingChange: value => setAttributes({ + avatarPadding: value + }), + marginValue: attributes.avatarMargin, + onMarginChange: value => setAttributes({ + avatarMargin: value + }), + showGap: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_BorderControl__WEBPACK_IMPORTED_MODULE_9__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Border', 'wedocs'), + borderStyle: attributes.avatarBorderStyle, + onBorderStyleChange: value => setAttributes({ + avatarBorderStyle: value + }), + borderWidth: attributes.avatarBorderWidth, + onBorderWidthChange: value => setAttributes({ + avatarBorderWidth: value + }), + borderColor: attributes.avatarBorderColor, + onBorderColorChange: value => setAttributes({ + avatarBorderColor: value + }), + borderRadius: attributes.avatarBorderRadius, + onBorderRadiusChange: value => setAttributes({ + avatarBorderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_ShadowControl__WEBPACK_IMPORTED_MODULE_11__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Shadow', 'wedocs'), + shadowValue: attributes.avatarBoxShadow, + onShadowChange: value => setAttributes({ + avatarBoxShadow: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Name Typography', 'wedocs'), + value: attributes.nameTypography, + onChange: value => setAttributes({ + nameTypography: value + }), + colorValue: attributes.nameColor, + onColorChange: value => setAttributes({ + nameColor: value + }), + hoverColorValue: attributes.nameHoverColor, + onHoverColorChange: value => setAttributes({ + nameHoverColor: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Name Spacing', 'wedocs'), + paddingValue: attributes.namePadding, + onPaddingChange: value => setAttributes({ + namePadding: value + }), + marginValue: attributes.nameMargin, + onMarginChange: value => setAttributes({ + nameMargin: value + }), + showGap: false + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Typography', 'wedocs'), + value: attributes.dateTypography, + onChange: value => setAttributes({ + dateTypography: value + }), + colorValue: attributes.dateColor, + onColorChange: value => setAttributes({ + dateColor: value + }), + showHoverColor: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Spacing', 'wedocs'), + paddingValue: attributes.datePadding, + onPaddingChange: value => setAttributes({ + datePadding: value + }), + marginValue: attributes.dateMargin, + onMarginChange: value => setAttributes({ + dateMargin: value + }), + showGap: false + })] + })] + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_components_TabSystem__WEBPACK_IMPORTED_MODULE_6__["default"], { + defaultTab: "setup", + children: [setupTabContent(), styleTabContent()] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + ...blockProps, + children: renderPreview() + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/Contributors/index.js": +/*!******************************************!*\ + !*** ./src/blocks/Contributors/index.js ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./edit */ "./src/blocks/Contributors/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./src/blocks/Contributors/block.json"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/Contributors/style.scss"); + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_1__["default"], + /** + * @see ./save.js + */ + save: () => null +}); + +/***/ }), + +/***/ "./src/blocks/Contributors/style.scss": +/*!********************************************!*\ + !*** ./src/blocks/Contributors/style.scss ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/CustomControls/RadioImageControl.js": +/*!********************************************************!*\ + !*** ./src/blocks/CustomControls/RadioImageControl.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); + + +const RadioImageControl = ({ + selected, + options, + onChange +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.BaseControl, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { + className: "radio-image-control-options", + children: options.map(option => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { + className: "radio-image-option", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { + type: "radio", + id: `radio-image-${option.value}`, + value: option.value, + checked: selected === option.value, + onChange: e => onChange(e.target.value) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("label", { + htmlFor: `radio-image-${option.value}`, + children: [option.icon && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("i", { + className: `dashicons ${option.icon}` + }), option.img && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("img", { + src: option.img, + alt: option.label + }), option?.svg] + })] + }, option.value)) + }) + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RadioImageControl); + +/***/ }), + +/***/ "./src/blocks/CustomControls/UnitControl.js": +/*!**************************************************!*\ + !*** ./src/blocks/CustomControls/UnitControl.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const UnitControl = ({ + label, + value, + unit, + onValueChange, + onUnitChange +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Flex, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FlexBlock, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TextControl, { + label: label, + value: parseInt(value), + onChange: newValue => onValueChange(newValue) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Unit', 'wedocs'), + value: unit, + options: [{ + label: 'px', + value: 'px' + }, { + label: '%', + value: '%' + }], + onChange: newUnit => onUnitChange(newUnit) + }) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UnitControl); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/StyleControls.js": +/*!**********************************************!*\ + !*** ./src/blocks/DocsGrid/StyleControls.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +// Add these to your attributes in block.json + +const styleAttributes = { + gridPadding: { + type: "object", + default: { + top: "20px", + right: "20px", + bottom: "20px", + left: "20px" + } + }, + gridMargin: { + type: "object", + default: { + top: "0px", + right: "0px", + bottom: "0px", + left: "0px" + } + }, + docTitleColor: { + type: "string", + default: "#333333" + }, + docChildrenActiveColor: { + type: "string", + default: "#0073aa" + }, + borderType: { + type: "string", + default: "solid" + }, + borderWidth: { + type: "string", + default: "1px" + }, + borderColor: { + type: "string", + default: "#dddddd" + }, + borderRadius: { + type: "string", + default: "4px" + }, + buttonBorderRadius: { + type: "string", + default: "4px" + }, + buttonPadding: { + type: "object", + default: { + top: "10px", + right: "20px", + bottom: "10px", + left: "20px" + } + }, + buttonMargin: { + type: "object", + default: { + top: "10px", + right: "0px", + bottom: "0px", + left: "0px" + } + }, + buttonColor: { + type: "string", + default: "#0073aa" + }, + buttonHoverColor: { + type: "string", + default: "#005177" + }, + buttonTextColor: { + type: "string", + default: "#ffffff" + }, + buttonHoverTextColor: { + type: "string", + default: "#ffffff" + }, + paginationTextColor: { + type: "string", + default: "#333333" + }, + paginationTextHoverColor: { + type: "string", + default: "#0073aa" + }, + paginationBackgroundColor: { + type: "string", + default: "#ffffff" + }, + paginationHoverColor: { + type: "string", + default: "#f5f5f5" + } +}; +const StyleControls = ({ + attributes, + setAttributes +}) => { + const updateAttribute = attributeName => value => { + setAttributes({ + [attributeName]: value + }); + }; + const borderTypes = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }]; + const colors = [{ + name: 'Sweet', + color: '#F43F5E' + }, { + name: 'Orange', + color: '#F97316' + }, { + name: 'Yellow', + color: '#FACC15' + }, { + name: 'Purple', + color: '#8B5CF6' + }, { + name: 'Light Blue', + color: '#3B82F6' + }, { + name: 'Light Green', + color: '#10B981' + }]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Grid Styles', 'wedocs'), + icon: "admin-appearance", + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Colors', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: attributes.docTitleColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Title Color', 'wedocs'), + onChange: newBgColor => updateAttribute('docTitleColor')(newBgColor) + }, { + value: attributes.docChildrenActiveColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Children Active Color', 'wedocs'), + onChange: newBgColor => updateAttribute('docChildrenActiveColor')(newBgColor) + }, { + value: attributes.borderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('borderColor')(newBorderColor) + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Grid Padding', 'wedocs'), + values: attributes.gridPadding, + onChange: updateAttribute('gridPadding') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Grid Margin', 'wedocs'), + values: attributes.gridMargin, + onChange: updateAttribute('gridMargin') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Type', 'wedocs'), + value: attributes.borderType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }], + onChange: value => setAttributes({ + borderType: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + value: attributes.borderWidth, + options: [{ + label: '0px', + value: '0px' + }, { + label: '1px', + value: '1px' + }, { + label: '2px', + value: '2px' + }, { + label: '3px', + value: '3px' + }, { + label: '4px', + value: '4px' + }, { + label: '5px', + value: '5px' + }], + onChange: value => setAttributes({ + borderWidth: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'wedocs'), + value: attributes.borderRadius, + options: [{ + label: '0px', + value: '0px' + }, { + label: '4px', + value: '4px' + }, { + label: '8px', + value: '8px' + }, { + label: '12px', + value: '12px' + }, { + label: '16px', + value: '16px' + }, { + label: '20px', + value: '20px' + }], + onChange: value => setAttributes({ + borderRadius: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Styles', 'wedocs'), + icon: "admin-appearance", + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Colors', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: attributes.buttonColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Color', 'wedocs'), + onChange: newBgColor => updateAttribute('buttonColor')(newBgColor) + }, { + value: attributes.buttonHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Hover Color', 'wedocs'), + onChange: newBgColor => updateAttribute('buttonHoverColor')(newBgColor) + }, { + value: attributes.buttonTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Text Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('buttonTextColor')(newBorderColor) + }, { + value: attributes.buttonHoverTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Hover Text Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('buttonHoverTextColor')(newBorderColor) + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Padding', 'wedocs'), + values: attributes.buttonPadding, + onChange: updateAttribute('buttonPadding') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Margin', 'wedocs'), + values: attributes.buttonMargin, + onChange: updateAttribute('buttonMargin') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Border Radius', 'wedocs'), + value: attributes.buttonBorderRadius, + options: [{ + label: '0px', + value: '0px' + }, { + label: '4px', + value: '4px' + }, { + label: '8px', + value: '8px' + }, { + label: '12px', + value: '12px' + }, { + label: '16px', + value: '16px' + }, { + label: '20px', + value: '20px' + }], + onChange: value => setAttributes({ + buttonBorderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "wedocs-color-control", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Text', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TextControl, { + value: attributes.buttonText, + onChange: updateAttribute('buttonText') + })] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StyleControls); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/block.json": +/*!****************************************!*\ + !*** ./src/blocks/DocsGrid/block.json ***! + \****************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/wedocs-docs-grid","version":"1.0.0","title":"weDocs - Docs Grid","icon":"grid-view","category":"widgets","description":"Display all the docs in a grid view","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"docStyle":{"type":"string","default":"1x1"},"docsPerPage":{"type":"string","default":"all"},"excludeDocs":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"orderBy":{"type":"string","default":"menu_order"},"sectionsPerDoc":{"type":"string","default":"all"},"articlesPerSection":{"type":"string","default":"all"},"showDocArticle":{"type":"boolean","default":true},"keepArticlesCollapsed":{"type":"boolean","default":false},"showViewDetails":{"type":"boolean","default":true},"gridPadding":{"type":"object","default":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"gridMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"docTitleColor":{"type":"string","default":"#333333"},"docChildrenActiveColor":{"type":"string","default":"#0073aa"},"borderWidth":{"type":"string","default":"1px"},"borderColor":{"type":"string","default":"rgba(0, 0, 0, 0.1)"},"borderType":{"type":"string","default":"solid"},"borderRadius":{"type":"string","default":"4px"},"buttonBorderRadius":{"type":"string","default":"4px"},"buttonPadding":{"type":"object","default":{"top":"10px","right":"20px","bottom":"10px","left":"20px"}},"buttonMargin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"0px","left":"0px"}},"buttonColor":{"type":"string","default":"#0073aa"},"buttonHoverColor":{"type":"string","default":"#005177"},"buttonText":{"type":"string","default":"View Details"},"buttonTextColor":{"type":"string","default":"#ffffff"},"buttonHoverTextColor":{"type":"string","default":"#ffffff"},"paginationTextColor":{"type":"string","default":"#333333"},"paginationTextHoverColor":{"type":"string","default":"#0073aa"},"paginationBackgroundColor":{"type":"string","default":"#ffffff"},"paginationHoverColor":{"type":"string","default":"#f5f5f5"},"paginationBorderColor":{"type":"string","default":"#dddddd"}}}'); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/edit.js": +/*!*************************************!*\ + !*** ./src/blocks/DocsGrid/edit.js ***! + \*************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/cog.js"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _StyleControls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StyleControls */ "./src/blocks/DocsGrid/StyleControls.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__); + + + + + + + +const Edit = ({ + attributes, + setAttributes +}) => { + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)(); + const { + useSelect + } = wp.data; + const [currentPage, setCurrentPage] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(1); + const [loading, setLoading] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(false); + const { + hideDocGrid, + docStyle, + docsPerPage, + excludeDocs, + order, + orderBy, + sectionsPerDoc, + articlesPerSection, + showDocArticle, + keepArticlesCollapsed, + showViewDetails, + gridPadding, + gridMargin, + docTitleColor, + docChildrenActiveColor, + borderType, + borderRadius, + borderWidth, + borderColor, + buttonBorderRadius, + buttonPadding, + buttonMargin, + buttonColor, + buttonHoverColor, + buttonTextColor, + buttonText, + buttonHoverTextColor + } = attributes; + const applyStyles = () => { + const paddings = gridPadding ? `${gridPadding.top} ${gridPadding.right} ${gridPadding.bottom} ${gridPadding.left}` : ''; + const margins = gridMargin ? `${gridMargin.top} ${gridMargin.right} ${gridMargin.bottom} ${gridMargin.left}` : ''; + const btnPaddings = buttonPadding ? `${buttonPadding.top} ${buttonPadding.right} ${buttonPadding.bottom} ${buttonPadding.left}` : ''; + const btnradius = buttonBorderRadius || '8px'; + const btnMargins = buttonMargin ? `${buttonMargin.top} ${buttonMargin.right} ${buttonMargin.bottom} ${buttonMargin.left}` : ''; + return { + item: { + padding: paddings, + margin: margins, + borderStyle: borderType || 'solid', + borderWidth: borderWidth || '1px', + borderColor: borderColor || 'rgba(0, 0, 0, 0.1)', + borderRadius: borderRadius || '8px', + backgroundColor: '#fff' + }, + title: { + color: docTitleColor || '#1e1e1e' + }, + children: { + color: docChildrenActiveColor || '#0073aa' + }, + button: { + padding: btnPaddings, + margin: btnMargins, + backgroundColor: buttonColor || '#0073aa', + color: buttonTextColor || '#ffffff', + text: buttonText || (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('View Details', 'wedocs'), + borderRadius: btnradius || '8px', + '--hover-bg': buttonHoverColor || '#005177', + '--hover-color': buttonHoverTextColor || '#ffffff' + } + }; + }; + const renderGridItem = (doc, styles) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "wedocs-docs-grid__item", + style: styles.item, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h3", { + className: "wedocs-docs-grid__title", + style: styles.title, + children: doc.title.rendered + }), renderSections(doc, styles), showViewDetails && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "wedocs-docs-grid__details", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", { + className: "wedocs-docs-grid__details-link", + style: styles.button, + children: styles.button.text + }) + })] + }, doc.id); + const renderSections = (doc, styles) => { + if (!doc.sections) return null; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: `wedocs-docs-grid__sections ${keepArticlesCollapsed ? 'is-collapsed' : ''}`, + children: [doc.sections.map(section => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "wedocs-docs-grid__section", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("h4", { + className: "wedocs-docs-grid__section-title", + style: { + ...styles.title, + display: 'flex', + justifyContent: 'space-between', + alignItems: 'center' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", { + children: section.title.rendered + }), showDocArticle && section.articles && section.articles.length > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { + fill: "none", + viewBox: "0 0 24 24", + width: "16", + strokeWidth: "2", + stroke: "#acb8c4", + className: keepArticlesCollapsed ? '' : 'active', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { + strokeLinecap: "round", + strokeLinejoin: "round", + d: "M19.5 8.25l-7.5 7.5-7.5-7.5" + }) + })] + }), showDocArticle && !keepArticlesCollapsed && section.articles && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("ul", { + className: "wedocs-docs-grid__articles", + children: section.articles.map(article => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("li", { + className: "wedocs-docs-grid__article", + style: styles.children, + children: article.title.rendered + }, article.id)) + })] + }, section.id)), doc.sections.length === 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("span", { + className: "inside", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { + fill: "none", + viewBox: "0 0 24 24", + "stroke-width": "1.5", + stroke: "currentColor", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { + "stroke-linecap": "round", + "stroke-linejoin": "round", + d: "M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" + }) + }), (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('This document has no sections yet. Check back later or wait for the author to add content.', 'wedocs')] + })] + }); + }; + + // Control options + const docStyles = [{ + label: '1x1', + value: '1x1' + }, { + label: '1x2', + value: '1x2' + }]; + const docsPerPageOptions = [{ + label: 'All', + value: 'all' + }, ...Array.from({ + length: 10 + }, (_, i) => ({ + label: String(i + 1), + value: String(i + 1) + }))]; + const orderByOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('weDocs Order', 'wedocs'), + value: 'menu_order' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('ID', 'wedocs'), + value: 'id' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Name', 'wedocs'), + value: 'title' + }]; + const orderOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Ascending', 'wedocs'), + value: 'asc' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Descending', 'wedocs'), + value: 'desc' + }]; + const countOptions = [{ + label: 'All', + value: 'all' + }, ...Array.from({ + length: 10 + }, (_, i) => ({ + label: String(i + 1), + value: String(i + 1) + }))]; + // Get published docs + const { + pages, + sections, + articles + } = useSelect(select => { + const { + getEntityRecords + } = select('core'); + const docs = getEntityRecords('postType', 'docs', { + status: 'publish', + per_page: -1, + parent: 0, + orderby: orderBy, + order: order + }); + + // Get all sections (docs children) + const allSections = docs ? getEntityRecords('postType', 'docs', { + status: 'publish', + parent_in: docs.map(doc => doc.id), + per_page: -1 + }) : null; + + // Get all articles (sections children) + const allArticles = allSections ? getEntityRecords('postType', 'docs', { + status: 'publish', + parent_in: allSections.map(section => section.id), + per_page: -1 + }) : null; + return { + pages: docs, + sections: allSections, + articles: allArticles + }; + }, [orderBy, order]); + const processDocsData = () => { + if (!pages || !sections || !articles) return []; + + // Filter and sort docs based on settings + let processedDocs = [...pages]; + + // Apply exclude filter + if (excludeDocs && excludeDocs.length > 0) { + processedDocs = processedDocs.filter(doc => !excludeDocs.includes(doc.id.toString())); + } + + // Process each doc with its sections and articles + processedDocs = processedDocs.map(doc => { + // Get sections for this doc + let docSections = sections.filter(section => section.parent === doc.id); + + // Limit sections if specified + if (sectionsPerDoc !== 'all') { + docSections = docSections.slice(0, parseInt(sectionsPerDoc)); + } + + // Process sections with their articles + docSections = docSections.map(section => { + let sectionArticles = articles.filter(article => article.parent === section.id); + + // Limit articles if specified + if (articlesPerSection !== 'all') { + sectionArticles = sectionArticles.slice(0, parseInt(articlesPerSection)); + } + return { + ...section, + articles: sectionArticles + }; + }); + + // Calculate total articles for the doc + const totalArticles = docSections.reduce((total, section) => total + section.articles.length, 0); + return { + ...doc, + sections: docSections, + articleCount: totalArticles + }; + }); + return processedDocs; + }; + // Handle pagination + const getPagedDocs = docs => { + if (docsPerPage === 'all') return docs; + const perPage = parseInt(docsPerPage); + const start = (currentPage - 1) * perPage; + const end = start + perPage; + return docs.slice(start, end); + }; + + // Get final display docs + const getDisplayDocs = () => { + const processedDocs = processDocsData(); + return getPagedDocs(processedDocs); + }; + + // Pagination controls + const renderPagination = totalDocs => { + if (docsPerPage === 'all') return null; + const totalPages = Math.ceil(totalDocs.length / parseInt(docsPerPage)); + + // Create style objects for pagination buttons + const paginationBaseStyle = { + padding: '8px 12px', + margin: '0 4px', + backgroundColor: attributes.paginationBackgroundColor || '#fff', + color: attributes.paginationTextColor || '#333', + border: `1px solid ${attributes.paginationBorderColor || '#ddd'}`, + borderRadius: attributes.borderRadius || '4px', + cursor: 'pointer', + transition: 'all 0.2s ease', + textDecoration: 'none', + display: 'inline-block', + minWidth: '32px', + textAlign: 'center', + fontFamily: 'inherit', + fontSize: '14px', + lineHeight: '1.4' + }; + + // Active button style + const activeStyle = { + ...paginationBaseStyle, + backgroundColor: attributes.paginationHoverColor || '#f5f5f5', + borderColor: attributes.paginationHoverColor || '#ccc', + color: attributes.paginationTextHoverColor || '#0073aa' + }; + + // Hover styles will be handled by CSS custom properties + const customProperties = { + '--pagination-hover-bg': attributes.paginationHoverColor || '#f5f5f5', + '--pagination-hover-color': attributes.paginationTextHoverColor || '#0073aa', + '--pagination-hover-border': attributes.paginationHoverColor || '#ccc' + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "wedocs-docs-pagination", + style: { + margin: '30px 0', + textAlign: 'center', + ...customProperties + }, + children: [currentPage > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { + style: paginationBaseStyle, + onClick: () => setCurrentPage(currentPage - 1), + className: "wedocs-docs-pagination__button", + children: "\u2190" + }), Array.from({ + length: totalPages + }, (_, i) => { + const pageNum = i + 1; + const isCurrentPage = currentPage === pageNum; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { + style: isCurrentPage ? activeStyle : paginationBaseStyle, + className: `wedocs-docs-pagination__button ${isCurrentPage ? 'is-active' : ''}`, + onClick: () => setCurrentPage(pageNum), + children: pageNum + }, pageNum); + }), currentPage < totalPages && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { + style: paginationBaseStyle, + onClick: () => setCurrentPage(currentPage + 1), + className: "wedocs-docs-pagination__button", + children: "\u2192" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("style", { + children: ` + .wedocs-docs-pagination__button:hover:not(.is-active) { + background-color: var(--pagination-hover-bg) !important; + color: var(--pagination-hover-color) !important; + border-color: var(--pagination-hover-border) !important; + } + ` + })] + }); + }; + const displayDocs = getDisplayDocs(); + // Create a mapping of ID to title for suggestions + const docsMap = pages ? pages.reduce((acc, page) => { + acc[page.id] = page.title.rendered; + return acc; + }, {}) : {}; + + // Prepare docs options for FormTokenField + const docsOptions = pages ? pages.map(page => ({ + value: page.id.toString(), + label: page.title.rendered + })) : []; + + // Update handlers + const updateAttribute = attributeName => value => { + setAttributes({ + [attributeName]: value + }); + }; + + // Transform IDs to titles for FormTokenField display + const excludeDocsDisplay = excludeDocs ? excludeDocs.map(id => docsMap[id] || id) : []; + + // Handle token changes + const handleExcludeDocsChange = tokens => { + // Convert titles back to IDs + const newExcludeDocs = tokens.map(token => { + // Find the ID for this title + const found = Object.entries(docsMap).find(([id, title]) => title === token); + return found ? found[0] : token; + }); + setAttributes({ + excludeDocs: newExcludeDocs + }); + }; + const getGridClass = () => { + return `wedocs-docs-grid--${docStyle}`; + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Grid Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__["default"], + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: docStyle, + options: docStyles, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('DOCS GRID COLUMN STYLE', 'wedocs'), + onChange: updateAttribute('docStyle') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: docsPerPage, + options: docsPerPageOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Docs per page', 'wedocs'), + onChange: updateAttribute('docsPerPage') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.FormTokenField, { + value: excludeDocsDisplay, + suggestions: Object.values(docsMap), + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Exclude Docs', 'wedocs'), + onChange: handleExcludeDocsChange + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: order, + options: orderOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Order', 'wedocs'), + onChange: updateAttribute('order') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: orderBy, + options: orderByOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Order by', 'wedocs'), + onChange: updateAttribute('orderBy') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: sectionsPerDoc, + options: countOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Sections per doc', 'wedocs'), + onChange: updateAttribute('sectionsPerDoc') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: articlesPerSection, + options: countOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Articles per section', 'wedocs'), + onChange: updateAttribute('articlesPerSection') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: showDocArticle, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Doc Article', 'wedocs'), + onChange: updateAttribute('showDocArticle') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: keepArticlesCollapsed, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Keep Article Collapsed', 'wedocs'), + onChange: updateAttribute('keepArticlesCollapsed') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: showViewDetails, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show View Details Button', 'wedocs'), + onChange: updateAttribute('showViewDetails') + }) + })] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_StyleControls__WEBPACK_IMPORTED_MODULE_5__["default"], { + attributes: attributes, + setAttributes: setAttributes + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + ...blockProps, + children: hideDocGrid ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "backdrop" + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "wedocs-block-wrapper", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: `wedocs-docs-grid ${getGridClass()}`, + children: loading ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(Spinner, {}) : displayDocs.map(doc => renderGridItem(doc, applyStyles())) + }) + }) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/index.js": +/*!**************************************!*\ + !*** ./src/blocks/DocsGrid/index.js ***! + \**************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./edit */ "./src/blocks/DocsGrid/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./src/blocks/DocsGrid/block.json"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/DocsGrid/style.scss"); + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_1__["default"], + /** + * @see ./save.js + */ + save: () => null +}); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/style.scss": +/*!****************************************!*\ + !*** ./src/blocks/DocsGrid/style.scss ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/Search/attributes.js": +/*!*****************************************!*\ + !*** ./src/blocks/Search/attributes.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); + +const attributes = { + hideSearch: { + type: 'boolean', + default: false // Default value when the block is first inserted + }, + searchWidth: { + type: 'number', + default: 50 // Default width in pixels + }, + widthUnit: { + type: 'string', + default: '%' // Default unit in percent + }, + placeholder: { + type: 'string', + default: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Search for a top or question', 'wedocs') + }, + alignment: { + type: 'string', + default: 'right' + }, + bgColor: { + type: 'string', + default: '#FFFFFF' // Default background color + }, + hoverColor: { + type: 'string', + default: '#FFFFFF' // Default background color + }, + padding: { + type: 'object', + default: { + top: 14, + left: 22, + right: 22, + bottom: 14 + } // Default padding. + }, + margin: { + type: 'object', + default: { + top: 0, + left: 0, + right: 0, + bottom: 0 + } // Default padding. + }, + borderColor: { + type: 'string', + default: '#cccccc' // Default border color + }, + borderType: { + type: 'string', + default: 'solid' // Default border type + }, + borderWidth: { + type: 'number', + default: 1 // Default border width + }, + borderRadius: { + type: 'number', + default: 30 // Default border radius + }, + iconColor: { + type: 'string', + default: '#FFFFFF' // Default icon color + }, + iconBgColor: { + type: 'string', + default: '#3b82f6' // Default icon background color + }, + iconHoverColor: { + type: 'string', + default: '#2563eb' // Default icon hover color + }, + svgHoverColor: { + type: 'string', + default: '#FFFFFF' // Default icon hover color + }, + btnPadding: { + type: 'object', + default: { + top: 24, + left: 26, + right: 26, + bottom: 24 + } // Default padding. + }, + btnPosition: { + type: 'object', + default: { + top: 0, + right: 0, + bottom: 10 + } // Default padding. + }, + btnRadius: { + type: 'number', + default: 30 // Default border radius + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (attributes); + +/***/ }), + +/***/ "./src/blocks/Search/edit.js": +/*!***********************************!*\ + !*** ./src/blocks/Search/edit.js ***! + \***********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/cog.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/shadow.js"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _CustomControls_UnitControl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../CustomControls/UnitControl */ "./src/blocks/CustomControls/UnitControl.js"); +/* harmony import */ var _CustomControls_RadioImageControl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../CustomControls/RadioImageControl */ "./src/blocks/CustomControls/RadioImageControl.js"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__); + + + + + + + + + +const Edit = ({ + attributes, + setAttributes +}) => { + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.useBlockProps)(); + const { + margin, + bgColor, + padding, + btnRadius, + alignment, + iconColor, + widthUnit, + hoverColor, + borderType, + hideSearch, + btnPadding, + searchWidth, + btnPosition, + placeholder, + borderColor, + borderWidth, + iconBgColor, + borderRadius, + svgHoverColor, + iconHoverColor + } = attributes; + console.log('editor panel:', bgColor); + const alignmentOptions = [{ + value: 'left', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align left', 'wedocs'), + svg: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("svg", { + width: "24", + height: "25", + fill: "none", + strokeWidth: "2", + strokeLinecap: "round", + stroke: alignment === 'left' ? '#007cba' : '#939494', + strokeLinejoin: "round", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("path", { + d: "M8 9.462h12m-12 6h6m-10-9v12" + }) + }) + }, { + value: 'center', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align center', 'wedocs'), + svg: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("svg", { + width: "24", + height: "25", + fill: "none", + strokeWidth: "2", + strokeLinecap: "round", + stroke: alignment === 'center' ? '#007cba' : '#939494', + strokeLinejoin: "round", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("path", { + d: "M18 9.462H6m8.99 6h-6" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("path", { + d: "M12 6.462v12" + })] + }) + }, { + value: 'right', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align right', 'wedocs'), + svg: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("svg", { + width: "24", + height: "25", + fill: "none", + strokeWidth: "2", + strokeLinecap: "round", + stroke: alignment === 'right' ? '#007cba' : '#939494', + strokeLinejoin: "round", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("path", { + d: "M16 9.462H4m12 6h-6m10-9v12" + }) + }) + }]; + const [hover, setHover] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const [svgHover, setSvgHover] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const [iconHover, setIconHover] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const containerStyles = { + display: 'flex', + justifyContent: alignment + }; + const colors = [{ + name: 'Sweet', + color: '#F43F5E' + }, { + name: 'Orange', + color: '#F97316' + }, { + name: 'Yellow', + color: '#FACC15' + }, { + name: 'Purple', + color: '#8B5CF6' + }, { + name: 'Light Blue', + color: '#3B82F6' + }, { + name: 'Light Green', + color: '#10B981' + }]; + const inputStyles = { + border: `${borderWidth}px ${borderType} ${borderColor}`, + paddingTop: padding?.top, + background: hover ? hoverColor : bgColor, + paddingLeft: padding?.left, + paddingRight: padding?.right, + borderRadius: `${borderRadius}px`, + paddingBottom: padding?.bottom + }; + const searchStyles = { + top: btnPosition?.top, + left: btnPosition?.left, + right: btnPosition?.right, + bottom: btnPosition?.bottom, + height: 'auto', + background: iconHover ? iconHoverColor : iconBgColor, + paddingTop: btnPadding?.top, + paddingLeft: btnPadding?.left, + borderRadius: btnRadius, + paddingRight: btnPadding?.right, + paddingBottom: btnPadding?.bottom + }; + const borderOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Double', 'wedocs'), + value: 'double' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Groove', 'wedocs'), + value: 'groove' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Ridge', 'wedocs'), + value: 'ridge' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Inset', 'wedocs'), + value: 'inset' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Outset', 'wedocs'), + value: 'outset' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hidden', 'wedocs'), + value: 'hidden' + }]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InspectorControls, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.PanelBody, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.ToggleControl, { + checked: hideSearch, + className: 'wedocs-search-toggle', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Disable Block', 'wedocs'), + onChange: newHideSearch => setAttributes({ + hideSearch: newHideSearch + }) + }) + }), !hideSearch && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__["default"], + initialOpen: false, + className: `wedocs-search-color-settings`, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: bgColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Field Background Color', 'wedocs'), + onChange: newBgColor => setAttributes({ + bgColor: newBgColor + }) + }, { + value: hoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Field Hover Color', 'wedocs'), + onChange: newHoverColor => setAttributes({ + hoverColor: newHoverColor + }) + }, { + value: borderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'wedocs'), + onChange: newBorderColor => setAttributes({ + borderColor: newBorderColor + }) + }, { + value: iconColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Icon Color', 'wedocs'), + onChange: newIconColor => setAttributes({ + iconColor: newIconColor + }) + }, { + value: iconBgColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Color', 'wedocs'), + onChange: newIconBgColor => setAttributes({ + iconBgColor: newIconBgColor + }) + }, { + value: iconHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Hover Color', 'wedocs'), + onChange: newIconHoverColor => setAttributes({ + iconHoverColor: newIconHoverColor + }) + }, { + value: svgHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Icon Hover Color', 'wedocs'), + onChange: newSvgHoverColor => setAttributes({ + svgHoverColor: newSvgHoverColor + }) + }] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Search Bar Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__["default"], + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_CustomControls_UnitControl__WEBPACK_IMPORTED_MODULE_5__["default"], { + unit: widthUnit, + value: searchWidth, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Field Width', 'wedocs'), + onUnitChange: newWidthUnit => setAttributes({ + widthUnit: newWidthUnit + }), + onValueChange: newSearchWidth => setAttributes({ + searchWidth: newSearchWidth ? parseInt(newSearchWidth) : 0 + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.TextControl, { + value: placeholder, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Placeholder', 'wedocs'), + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Search bar placeholder', 'wedocs'), + onChange: newPlaceholder => setAttributes({ + placeholder: newPlaceholder + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("p", { + style: { + fontSize: 11 + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('POSITION', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_CustomControls_RadioImageControl__WEBPACK_IMPORTED_MODULE_6__["default"], { + selected: alignment, + options: alignmentOptions, + onChange: newAlignment => setAttributes({ + alignment: newAlignment + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.__experimentalBoxControl, { + resetValues: { + top: '14px', + left: '22px', + right: '22px', + bottom: '14px' + }, + values: padding, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Field Padding', 'wedocs'), + onChange: newPadding => setAttributes({ + padding: newPadding + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.__experimentalBoxControl, { + resetValues: { + top: '0px', + left: '0px', + right: '0px', + bottom: '0px' + }, + values: margin, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Field Margin', 'wedocs'), + onChange: newMargin => setAttributes({ + margin: newMargin + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.RangeControl, { + min: 0, + max: 10, + value: borderWidth, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + onChange: newBorderWidth => setAttributes({ + borderWidth: newBorderWidth + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.RangeControl, { + min: 0, + max: 100, + value: borderRadius, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'wedocs'), + onChange: newBorderRadius => setAttributes({ + borderRadius: newBorderRadius + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.SelectControl, { + value: borderType, + options: borderOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Type', 'wedocs'), + onChange: newBorderType => setAttributes({ + borderType: newBorderType + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.__experimentalBoxControl, { + resetValues: { + top: '24px', + left: '26px', + right: '26px', + bottom: '24px' + }, + values: btnPadding, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Padding', 'wedocs'), + onChange: newBtnPadding => setAttributes({ + btnPadding: newBtnPadding + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.__experimentalBoxControl, { + resetValues: { + top: '0px', + right: '0px', + bottom: '10px' + }, + values: btnPosition, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Margin', 'wedocs'), + onChange: newBtnPosition => setAttributes({ + btnPosition: newBtnPosition + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__.RangeControl, { + min: 0, + max: 100, + value: btnRadius, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Radius', 'wedocs'), + onChange: newBtnRadius => setAttributes({ + btnRadius: newBtnRadius + }) + })] + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + ...blockProps, + style: containerStyles, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + className: "wedocs-editor-search-input", + style: { + width: searchWidth + widthUnit, + marginTop: margin?.top, + marginLeft: margin?.left, + marginRight: margin?.right, + marginBottom: margin?.bottom + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("input", { + readOnly: true, + style: inputStyles, + className: "search-field", + placeholder: placeholder, + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("input", { + type: "hidden", + name: "post_type", + value: "docs" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { + type: "submit", + style: searchStyles, + className: "search-submit", + onMouseEnter: () => setIconHover(true), + onMouseLeave: () => setIconHover(false), + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("svg", { + width: "15", + height: "16", + fill: "none", + onMouseEnter: () => setSvgHover(true), + onMouseLeave: () => setSvgHover(false), + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("path", { + fill: svgHover ? svgHoverColor : iconColor, + fillRule: "evenodd", + d: "M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z" + }) + }) + })] + }), hideSearch && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "backdrop" + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/Search/index.js": +/*!************************************!*\ + !*** ./src/blocks/Search/index.js ***! + \************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/blocks/Search/edit.js"); +/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/blocks/Search/save.js"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/Search/style.scss"); +/* harmony import */ var _attributes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./attributes */ "./src/blocks/Search/attributes.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__); + + + + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('wedocs/wedocs-search', { + attributes: _attributes__WEBPACK_IMPORTED_MODULE_5__["default"], + save: _save__WEBPACK_IMPORTED_MODULE_3__["default"], + edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"], + icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { + width: "20", + height: "20", + viewBox: "0 0 20 20", + fill: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z", + fill: "#111827" + }) + }), + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('weDocs - Searchbar', 'wedocs'), + keywords: ['Search', 'weDocs search bar', 'Bar'], + category: 'widgets', + description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Simple search forms for easy user guidance for your documentation', 'wedocs') +}); + +/***/ }), + +/***/ "./src/blocks/Search/save.js": +/*!***********************************!*\ + !*** ./src/blocks/Search/save.js ***! + \***********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const Save = ({ + attributes +}) => { + const { + margin, + bgColor, + padding, + btnRadius, + alignment, + iconColor, + widthUnit, + hoverColor, + borderType, + hideSearch, + btnPadding, + searchWidth, + btnPosition, + placeholder, + borderColor, + borderWidth, + iconBgColor, + borderRadius, + svgHoverColor, + iconHoverColor + } = attributes; + if (hideSearch) { + return; + } + const containerStyles = { + display: 'flex', + justifyContent: alignment + }; + const inputStyles = { + border: `${borderWidth}px ${borderType} ${borderColor}`, + paddingTop: padding?.top, + paddingLeft: padding?.left, + paddingRight: padding?.right, + borderRadius: `${borderRadius}px`, + paddingBottom: padding?.bottom, + "--field-color": bgColor, + "--field-bg-color": hoverColor + }; + const searchStyles = { + top: btnPosition?.top, + left: btnPosition?.left, + right: btnPosition?.right, + bottom: btnPosition?.bottom, + height: 'auto', + paddingTop: btnPadding?.top, + paddingLeft: btnPadding?.left, + borderRadius: btnRadius, + paddingRight: btnPadding?.right, + paddingBottom: btnPadding?.bottom, + "--field-icon-color": iconColor, + "--field-btn-bg-color": iconBgColor, + "--field-icon-hover-color": svgHoverColor, + "--field-btn-bg-hover-color": iconHoverColor + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("form", { + method: "get", + role: "search", + action: weDocsBlockVars?.siteUrl, + ..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps.save({ + className: 'search-form wedocs-search-form' + }), + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div", { + style: containerStyles, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div", { + className: "wedocs-search-input", + style: { + width: searchWidth + widthUnit, + marginTop: margin?.top, + marginLeft: margin?.left, + marginRight: margin?.right, + marginBottom: margin?.bottom + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("input", { + name: "s", + type: "search", + style: inputStyles, + className: "search-field", + placeholder: placeholder + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("input", { + type: "hidden", + name: "post_type", + value: "docs" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("button", { + type: "submit", + style: searchStyles, + className: "search-submit", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("svg", { + width: "15", + height: "16", + fill: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", { + fillRule: "evenodd", + d: "M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z" + }) + }) + })] + }) + }) + }) + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Save); + +/***/ }), + +/***/ "./src/blocks/Search/style.scss": +/*!**************************************!*\ + !*** ./src/blocks/Search/style.scss ***! + \**************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/TableOfContents/ColorsControls.js": +/*!******************************************************!*\ + !*** ./src/blocks/TableOfContents/ColorsControls.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); +/* eslint-disable @wordpress/no-unsafe-wp-apis */ + + + + +const ColorsControls = ({ + attributes, + setAttributes, + device +}) => { + const { + colorsControls + } = attributes; + const currentColors = colorsControls[device] || {}; + + // Fetch theme colors and gradients + const { + themeColors, + themeGradients + } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useSelect)(select => { + const editorSettings = select('core/block-editor').getSettings(); + return { + themeColors: editorSettings.colors, + themeGradients: editorSettings.gradients + }; + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "block-responsive-colors-controls", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.textColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'block-responsive') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "medium", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.textColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + textColor: color + } + } + }) + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.backgroundColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background', 'block-responsive') + })] + }) + }), + renderContent: () => { + var _currentColors$backgr; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TabPanel, { + tabs: [{ + name: 'color', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.backgroundColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + backgroundColor: color + } + } + }) + }) + }) + }, { + name: 'gradient', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.GradientPicker, { + value: (_currentColors$backgr = currentColors.backgroundColor) !== null && _currentColors$backgr !== void 0 ? _currentColors$backgr : null, + gradients: [{ + gradients: themeGradients, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: gradient => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + backgroundColor: gradient + } + } + }) + }) + }) + }], + children: ({ + content + }) => content + }) + }); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalZStack, { + offset: -8, + isLayered: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.linkColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.linkHoverColor + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Link', 'block-responsive') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TabPanel, { + tabs: [{ + name: 'default', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Default', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.linkColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + linkColor: color + } + } + }) + }) + }) + }, { + name: 'hover-color', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.linkHoverColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + linkHoverColor: color + } + } + }) + }) + }) + }], + children: ({ + content + }) => content + }) + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Reset All', 'block-responsive'), + style: { + width: '100%', + justifyContent: 'center', + marginTop: '16px' + }, + onClick: () => { + setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + textColor: undefined, + backgroundColor: undefined, + linkColor: undefined, + linkHoverColor: undefined + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ColorsControls); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/Inspector.js": +/*!*************************************************!*\ + !*** ./src/blocks/TableOfContents/Inspector.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _controls_ListItems__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./controls/ListItems */ "./src/blocks/TableOfContents/controls/ListItems.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__); + + + + + +const Inspector = ({ + attributes, + setAttributes +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('General', 'dynamic-table-of-contents-block-wp'), + initialOpen: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Title', 'dynamic-table-of-contents-block-wp'), + value: tocTitle, + onChange: value => setAttributes({ + tocTitle: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + style: { + fontWeight: '600', + marginBottom: '8px', + display: 'block' + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Supported Heading Tags', 'dynamic-table-of-contents-block-wp') + }), ['h1', 'h2', 'h3', 'h4', 'h5'].map(heading => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.CheckboxControl, { + label: heading.toUpperCase(), + checked: supportedHeadings.includes(heading), + onChange: checked => { + const newHeadings = checked ? [...supportedHeadings, heading] : supportedHeadings.filter(h => h !== heading); + setAttributes({ + supportedHeadings: newHeadings + }); + } + }, heading))] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('List Hierarchy', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Indent subheadings to show hierarchy', 'dynamic-table-of-contents-block-wp'), + checked: showHierarchy, + onChange: value => setAttributes({ + showHierarchy: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('List Numbering', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show numbered list instead of bullets', 'dynamic-table-of-contents-block-wp'), + checked: showNumbering, + onChange: value => setAttributes({ + showNumbering: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Collapsible on Small Devices', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Make TOC collapsible on mobile devices', 'dynamic-table-of-contents-block-wp'), + checked: collapsibleOnMobile, + onChange: value => setAttributes({ + collapsibleOnMobile: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Smooth Scroll Behavior', 'dynamic-table-of-contents-block-wp'), + checked: smoothScroll, + onChange: value => setAttributes({ + smoothScroll: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Sticky Mode', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Keep TOC fixed while scrolling', 'dynamic-table-of-contents-block-wp'), + checked: stickyMode, + onChange: value => setAttributes({ + stickyMode: value + }) + })] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + group: "styles", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_controls_ListItems__WEBPACK_IMPORTED_MODULE_3__["default"], { + attributes: attributes, + setAttributes: setAttributes + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Style', 'dynamic-table-of-contents-block-wp'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Container', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: containerBackgroundColor, + onChange: value => setAttributes({ + containerBackgroundColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Width', 'dynamic-table-of-contents-block-wp'), + value: containerWidth, + onChange: value => setAttributes({ + containerWidth: value + }), + units: [{ + value: '%', + label: '%' + }, { + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Padding', 'dynamic-table-of-contents-block-wp'), + values: containerPadding, + onChange: value => setAttributes({ + containerPadding: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Margin', 'dynamic-table-of-contents-block-wp'), + values: containerMargin, + onChange: value => setAttributes({ + containerMargin: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Style', 'dynamic-table-of-contents-block-wp'), + value: containerBorderStyle, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'dynamic-table-of-contents-block-wp'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'dynamic-table-of-contents-block-wp'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'dynamic-table-of-contents-block-wp'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'dynamic-table-of-contents-block-wp'), + value: 'dotted' + }], + onChange: value => setAttributes({ + containerBorderStyle: value + }) + }), containerBorderStyle !== 'none' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'dynamic-table-of-contents-block-wp'), + value: containerBorderWidth, + onChange: value => setAttributes({ + containerBorderWidth: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: containerBorderColor, + onChange: value => setAttributes({ + containerBorderColor: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'dynamic-table-of-contents-block-wp'), + value: containerBorderRadius, + onChange: value => setAttributes({ + containerBorderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("hr", { + style: { + margin: '20px 0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Title', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: titleColor, + onChange: value => setAttributes({ + titleColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Size', 'dynamic-table-of-contents-block-wp'), + value: titleFontSize, + onChange: value => setAttributes({ + titleFontSize: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Weight', 'dynamic-table-of-contents-block-wp'), + value: titleFontWeight, + options: [{ + label: '300', + value: '300' + }, { + label: '400', + value: '400' + }, { + label: '500', + value: '500' + }, { + label: '600', + value: '600' + }, { + label: '700', + value: '700' + }, { + label: '800', + value: '800' + }], + onChange: value => setAttributes({ + titleFontWeight: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("hr", { + style: { + margin: '20px 0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC List', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: listColor, + onChange: value => setAttributes({ + listColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: listHoverColor, + onChange: value => setAttributes({ + listHoverColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Size', 'dynamic-table-of-contents-block-wp'), + value: listFontSize, + onChange: value => setAttributes({ + listFontSize: value + }) + })] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Inspector); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/block.json": +/*!***********************************************!*\ + !*** ./src/blocks/TableOfContents/block.json ***! + \***********************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/table-of-contents","version":"0.1.0","title":"Dynamic Table of Contents","category":"text","icon":"list-view","description":"Auto-generates a dynamic Table of Contents from selected heading levels with collapsible, numbered, and hierarchical list options.","example":{"attributes":{"tocTitle":"Table of Contents","supportedHeadings":["h2","h3"],"showHierarchy":true,"showNumbering":false}},"supports":{"html":false,"anchor":true,"color":{"background":true,"text":true,"link":true}},"attributes":{"blockId":{"type":"string","default":""},"colorsControls":{"type":"object","default":{"desktop":{"textColor":"#000000","backgroundColor":"#ffffff","linkColor":"#000000","linkHoverColor":"#000000"}}},"tocTitle":{"type":"string","default":"Table of Contents"},"supportedHeadings":{"type":"array","default":["h2","h3"]},"showHierarchy":{"type":"boolean","default":true},"showNumbering":{"type":"boolean","default":false},"collapsibleOnMobile":{"type":"boolean","default":true},"containerBackgroundColor":{"type":"string"},"containerWidth":{"type":"string","default":"100%"},"containerPadding":{"type":"object","default":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"containerMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"20px","left":"0px"}},"containerBorderStyle":{"type":"string","default":"solid"},"containerBorderWidth":{"type":"string","default":"1px"},"containerBorderColor":{"type":"string","default":"#e0e0e0"},"containerBorderRadius":{"type":"string","default":"5px"},"titleColor":{"type":"string"},"titleFontSize":{"type":"string","default":"18px"},"titleFontWeight":{"type":"string","default":"600"},"titlePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"15px","left":"0px"}},"listColor":{"type":"string"},"listHoverColor":{"type":"string"},"listFontSize":{"type":"string","default":"14px"},"smoothScroll":{"type":"boolean","default":true},"stickyMode":{"type":"boolean","default":false},"additionalCssClass":{"type":"string","default":""}},"textdomain":"wedocs","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","render":"file:./render.php"}'); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/controls/ListItems.js": +/*!**********************************************************!*\ + !*** ./src/blocks/TableOfContents/controls/ListItems.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const ListItems = ({ + attributes, + setAttributes +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('List Items', 'dynamic-table-of-contents-block-wp'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Container', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPicker, { + color: containerBackgroundColor, + onChange: value => setAttributes({ + containerBackgroundColor: value + }) + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItems); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/edit.js": +/*!********************************************!*\ + !*** ./src/blocks/TableOfContents/edit.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ Edit) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _ColorsControls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ColorsControls */ "./src/blocks/TableOfContents/ColorsControls.js"); +/* harmony import */ var _Inspector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Inspector */ "./src/blocks/TableOfContents/Inspector.js"); +/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./editor.scss */ "./src/blocks/TableOfContents/editor.scss"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__); +/** +* Retrieves the translation of text. +* +* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/ +*/ + + +/** + * React hook that is used to mark the block wrapper element. + * It provides all the necessary props like the class name. + * + * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops + */ + + +/** + * WordPress dependencies + */ + + + + + +/** + * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. + * Those files can contain any CSS code that gets applied to the editor. + * + * @see https://www.npmjs.com/package/@wordpress/scripts#using-css + */ + + +/** + * The edit function describes the structure of your block in the context of the + * editor. This represents what the editor will render when the block is used. + * + * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit + * + * @return {Element} Element to render. + */ + +function Edit({ + attributes, + setAttributes, + clientId +}) { + const { + blockId, + tocTitle, + supportedHeadings, + showHierarchy, + showNumbering, + collapsibleOnMobile, + containerBackgroundColor, + containerWidth, + containerPadding, + containerMargin, + containerBorderStyle, + containerBorderWidth, + containerBorderColor, + containerBorderRadius, + titleColor, + titleFontSize, + titleFontWeight, + titlePadding, + listColor, + listHoverColor, + listFontSize, + smoothScroll, + stickyMode, + additionalCssClass + } = attributes; + const [headings, setHeadings] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + + // Set unique block ID on first render + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (!blockId) { + setAttributes({ + blockId: `toc-${clientId}` + }); + } + }, [blockId, clientId, setAttributes]); + + // Mock headings for preview in editor + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + const mockHeadings = [{ + level: 2, + text: 'Introduction', + id: 'introduction' + }, { + level: 3, + text: 'Getting Started', + id: 'getting-started' + }, { + level: 3, + text: 'Basic Features', + id: 'basic-features' + }, { + level: 2, + text: 'Advanced Usage', + id: 'advanced-usage' + }, { + level: 3, + text: 'Configuration', + id: 'configuration' + }, { + level: 4, + text: 'Settings Panel', + id: 'settings-panel' + }, { + level: 2, + text: 'Conclusion', + id: 'conclusion' + }].filter(heading => supportedHeadings.includes(`h${heading.level}`)); + setHeadings(mockHeadings); + }, [supportedHeadings]); + const renderTocList = (headings, showHierarchy, showNumbering) => { + if (headings.length === 0) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-empty-state", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("p", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('No headings found. Add some headings to your content to see them here.', 'dynamic-table-of-contents-block-wp') + }) + }); + } + let counter = 1; + const counters = { + 2: 0, + 3: 0, + 4: 0, + 5: 0 + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("ul", { + className: `toc-list ${showHierarchy ? 'hierarchical' : 'flat'} ${showNumbering ? 'numbered' : 'bulleted'}`, + children: headings.map((heading, index) => { + if (showNumbering) { + if (showHierarchy) { + counters[heading.level]++; + // Reset lower level counters + for (let i = heading.level + 1; i <= 5; i++) { + counters[i] = 0; + } + } else { + counters[heading.level] = counter++; + } + } + const indent = showHierarchy ? (heading.level - 2) * 20 : 0; + const numberText = showNumbering ? showHierarchy ? Object.entries(counters).slice(0, heading.level - 1).map(([level, count]) => count > 0 ? count : '').filter(n => n).join('.') : counters[heading.level] : ''; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("li", { + style: { + marginLeft: `${indent}px` + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("a", { + href: `#${heading.id}`, + className: "toc-link", + children: [showNumbering && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("span", { + className: "toc-number", + children: [numberText, ". "] + }), heading.text] + }) + }, index); + }) + }); + }; + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)({ + className: `${additionalCssClass} ${stickyMode ? 'sticky-mode' : ''}`.trim(), + 'data-block-id': blockId, + style: { + "--list-item-sytle": containerBackgroundColor, + // backgroundColor: containerBackgroundColor, + width: containerWidth, + padding: containerPadding ? `${containerPadding.top} ${containerPadding.right} ${containerPadding.bottom} ${containerPadding.left}` : undefined, + margin: containerMargin ? `${containerMargin.top} ${containerMargin.right} ${containerMargin.bottom} ${containerMargin.left}` : undefined, + borderStyle: containerBorderStyle !== 'none' ? containerBorderStyle : undefined, + borderWidth: containerBorderStyle !== 'none' ? containerBorderWidth : undefined, + borderColor: containerBorderStyle !== 'none' ? containerBorderColor : undefined, + borderRadius: containerBorderRadius + } + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_Inspector__WEBPACK_IMPORTED_MODULE_6__["default"], { + attributes: attributes, + setAttributes: setAttributes + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + ...blockProps, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-title", + style: { + color: titleColor, + fontSize: titleFontSize, + fontWeight: titleFontWeight, + padding: titlePadding ? `${titlePadding.top} ${titlePadding.right} ${titlePadding.bottom} ${titlePadding.left}` : undefined + }, + children: tocTitle + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-content", + style: { + color: listColor, + fontSize: listFontSize + }, + children: renderTocList(headings, showHierarchy, showNumbering) + }), collapsibleOnMobile && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-mobile-notice", + style: { + marginTop: '10px', + fontSize: '12px', + opacity: 0.7 + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('(Collapsible on mobile devices)', 'dynamic-table-of-contents-block-wp') + })] + })] + }); +} + +/***/ }), + +/***/ "./src/blocks/TableOfContents/editor.scss": +/*!************************************************!*\ + !*** ./src/blocks/TableOfContents/editor.scss ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/TableOfContents/index.js": +/*!*********************************************!*\ + !*** ./src/blocks/TableOfContents/index.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/TableOfContents/style.scss"); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/blocks/TableOfContents/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./block.json */ "./src/blocks/TableOfContents/block.json"); +/** +* Registers a new block provided a unique name and an object defining its behavior. +* +* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ +*/ + + +/** + * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. + * All files containing `style` keyword are bundled together. The code used + * gets applied both to the front of your site and to the editor. + * + * @see https://www.npmjs.com/package/@wordpress/scripts#using-css + */ + + +/** + * Internal dependencies + */ + + + +/** + * Every block starts by registering a new block type definition. + * + * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ + */ +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_3__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"] +}); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/style.scss": +/*!***********************************************!*\ + !*** ./src/blocks/TableOfContents/style.scss ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/components/BackgroundControl.js": +/*!****************************************************!*\ + !*** ./src/blocks/components/BackgroundControl.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const BackgroundControl = ({ + label, + backgroundType = 'classic', + onBackgroundTypeChange, + backgroundColor, + onBackgroundColorChange, + backgroundGradient, + onBackgroundGradientChange, + backgroundImage = {}, + onBackgroundImageChange, + showGradient = true, + showImage = true +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Type', 'wedocs'), + selected: backgroundType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Classic', 'wedocs'), + value: 'classic' + }, ...(showGradient ? [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient', 'wedocs'), + value: 'gradient' + }] : [])], + onChange: onBackgroundTypeChange + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), backgroundType === 'classic' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Color', 'wedocs'), + colorSettings: [{ + value: backgroundColor, + onChange: onBackgroundColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + }] + }), backgroundType === 'gradient' && showGradient && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient CSS', 'wedocs'), + value: backgroundGradient || '', + onChange: onBackgroundGradientChange, + placeholder: "linear-gradient(45deg, #ff0000, #00ff00)", + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enter CSS gradient value', 'wedocs') + }), showImage && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Image', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.MediaUploadCheck, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.MediaUpload, { + onSelect: media => onBackgroundImageChange({ + url: media.url, + alt: media.alt, + id: media.id + }), + allowedTypes: ['image'], + value: backgroundImage?.id, + render: ({ + open + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + onClick: open, + variant: "secondary", + children: backgroundImage?.url ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Change Image', 'wedocs') : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Image', 'wedocs') + }) + }) + }), backgroundImage?.url && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 2, + marginBottom: 2 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + onClick: () => onBackgroundImageChange({ + url: '', + alt: '', + id: '' + }), + variant: "secondary", + isDestructive: true, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Remove Image', 'wedocs') + })] + })] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BackgroundControl); + +/***/ }), + +/***/ "./src/blocks/components/BorderControl.js": +/*!************************************************!*\ + !*** ./src/blocks/components/BorderControl.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const BorderControl = ({ + label, + borderStyle = 'none', + onBorderStyleChange, + borderWidth = {}, + onBorderWidthChange, + borderColor, + onBorderColorChange, + borderRadius, + onBorderRadiusChange, + showIndividualSides = true +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Style', 'wedocs'), + value: borderStyle, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Double', 'wedocs'), + value: 'double' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Groove', 'wedocs'), + value: 'groove' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Ridge', 'wedocs'), + value: 'ridge' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Inset', 'wedocs'), + value: 'inset' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Outset', 'wedocs'), + value: 'outset' + }], + onChange: onBorderStyleChange + }), borderStyle !== 'none' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), showIndividualSides ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + values: borderWidth, + onChange: onBorderWidthChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }], + allowReset: true, + resetValues: { + top: '1px', + right: '1px', + bottom: '1px', + left: '1px' + } + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + value: borderWidth.top || '1px', + onChange: newValue => onBorderWidthChange({ + top: newValue, + right: newValue, + bottom: newValue, + left: newValue + }), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'wedocs'), + colorSettings: [{ + value: borderColor, + onChange: onBorderColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + }] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'wedocs'), + value: borderRadius || '0px', + onChange: onBorderRadiusChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BorderControl); + +/***/ }), + +/***/ "./src/blocks/components/DimensionControl.js": +/*!***************************************************!*\ + !*** ./src/blocks/components/DimensionControl.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const DimensionControl = ({ + label, + widthValue, + onWidthChange, + heightValue, + onHeightChange, + showHeight = true, + linkValues = false +}) => { + const handleWidthChange = newValue => { + onWidthChange(newValue); + if (linkValues && showHeight && onHeightChange) { + onHeightChange(newValue); + } + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Width', 'wedocs'), + value: widthValue || 'auto', + onChange: handleWidthChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }, { + value: 'auto', + label: 'auto' + }] + }), showHeight && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Height', 'wedocs'), + value: heightValue || 'auto', + onChange: onHeightChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }, { + value: 'auto', + label: 'auto' + }] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DimensionControl); + +/***/ }), + +/***/ "./src/blocks/components/ShadowControl.js": +/*!************************************************!*\ + !*** ./src/blocks/components/ShadowControl.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const ShadowControl = ({ + label, + shadowValue = {}, + onShadowChange, + showToggle = true +}) => { + var _shadowValue$enabled; + const updateShadow = (key, newValue) => { + onShadowChange({ + ...shadowValue, + [key]: newValue + }); + }; + const enabled = (_shadowValue$enabled = shadowValue.enabled) !== null && _shadowValue$enabled !== void 0 ? _shadowValue$enabled : false; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [showToggle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enable Box Shadow', 'wedocs'), + checked: enabled, + onChange: value => updateShadow('enabled', value) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + })] + }), (enabled || !showToggle) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Horizontal Offset', 'wedocs'), + value: shadowValue.horizontal || '0px', + onChange: value => updateShadow('horizontal', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Vertical Offset', 'wedocs'), + value: shadowValue.vertical || '2px', + onChange: value => updateShadow('vertical', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Blur Radius', 'wedocs'), + value: shadowValue.blur || '4px', + onChange: value => updateShadow('blur', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Spread Radius', 'wedocs'), + value: shadowValue.spread || '0px', + onChange: value => updateShadow('spread', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Shadow Color', 'wedocs'), + colorSettings: [{ + value: shadowValue.color || 'rgba(0,0,0,0.1)', + onChange: value => updateShadow('color', value), + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + }] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ShadowControl); + +/***/ }), + +/***/ "./src/blocks/components/SpacingControl.js": +/*!*************************************************!*\ + !*** ./src/blocks/components/SpacingControl.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const SpacingControl = ({ + label, + paddingValue = {}, + onPaddingChange, + marginValue = {}, + onMarginChange, + showPadding = true, + showMargin = true, + showGap = false, + gapValue, + onGapChange +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [showPadding && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Padding', 'wedocs'), + values: paddingValue, + onChange: onPaddingChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }], + allowReset: true, + resetValues: { + top: '0px', + right: '0px', + bottom: '0px', + left: '0px' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + })] + }), showMargin && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Margin', 'wedocs'), + values: marginValue, + onChange: onMarginChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }], + allowReset: true, + resetValues: { + top: '0px', + right: '0px', + bottom: '0px', + left: '0px' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + })] + }), showGap && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gap', 'wedocs'), + value: gapValue || '10px', + onChange: onGapChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SpacingControl); + +/***/ }), + +/***/ "./src/blocks/components/TabSystem.js": +/*!********************************************!*\ + !*** ./src/blocks/components/TabSystem.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const TabSystem = ({ + children, + defaultTab = 'setup' +}) => { + const [activeTab, setActiveTab] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.useState)(defaultTab); + const tabs = [{ + key: 'setup', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Setup', 'wedocs'), + icon: 'admin-settings' + }, { + key: 'style', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Style', 'wedocs'), + icon: 'admin-appearance' + }]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "contributors-tab-system", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + style: { + borderBottom: '1px solid #ddd', + marginBottom: '16px', + paddingBottom: '8px' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ButtonGroup, { + children: tabs.map(tab => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { + variant: activeTab === tab.key ? 'primary' : 'secondary', + onClick: () => setActiveTab(tab.key), + style: { + marginRight: '4px', + display: 'flex', + alignItems: 'center', + gap: '4px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span", { + className: `dashicons dashicons-${tab.icon}`, + style: { + fontSize: '16px' + } + }), tab.label] + }, tab.key)) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "tab-content", + children: children.map((child, index) => { + const tabKey = index === 0 ? 'setup' : 'style'; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + style: { + display: activeTab === tabKey ? 'block' : 'none' + }, + children: child + }, tabKey); + }) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TabSystem); + +/***/ }), + +/***/ "./src/blocks/components/TypographyControl.js": +/*!****************************************************!*\ + !*** ./src/blocks/components/TypographyControl.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const TypographyControl = ({ + label, + value = {}, + onChange, + colorValue, + onColorChange, + hoverColorValue, + onHoverColorChange, + showHoverColor = true, + showLineHeight = true, + showLetterSpacing = true, + showTextTransform = true, + showTextDecoration = true +}) => { + const updateTypography = (key, newValue) => { + onChange({ + ...value, + [key]: newValue + }); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Colors', 'wedocs'), + colorSettings: [{ + value: colorValue, + onChange: onColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text Color', 'wedocs') + }, ...(showHoverColor ? [{ + value: hoverColorValue, + onChange: onHoverColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Color', 'wedocs') + }] : [])] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Family', 'wedocs'), + value: value.fontFamily || 'default', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Default', 'wedocs'), + value: 'default' + }, { + label: 'Arial', + value: 'Arial, sans-serif' + }, { + label: 'Georgia', + value: 'Georgia, serif' + }, { + label: 'Helvetica', + value: 'Helvetica, sans-serif' + }, { + label: 'Times New Roman', + value: '"Times New Roman", serif' + }, { + label: 'Verdana', + value: 'Verdana, sans-serif' + }, { + label: 'Roboto', + value: 'Roboto, sans-serif' + }, { + label: 'Open Sans', + value: '"Open Sans", sans-serif' + }, { + label: 'Lato', + value: 'Lato, sans-serif' + }, { + label: 'Montserrat', + value: 'Montserrat, sans-serif' + }], + onChange: newValue => updateTypography('fontFamily', newValue === 'default' ? undefined : newValue) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Size', 'wedocs'), + value: value.fontSize || '14px', + onChange: newValue => updateTypography('fontSize', newValue), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Weight', 'wedocs'), + value: value.fontWeight || '400', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('100 - Thin', 'wedocs'), + value: '100' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('200 - Extra Light', 'wedocs'), + value: '200' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('300 - Light', 'wedocs'), + value: '300' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('400 - Normal', 'wedocs'), + value: '400' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('500 - Medium', 'wedocs'), + value: '500' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('600 - Semi Bold', 'wedocs'), + value: '600' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('700 - Bold', 'wedocs'), + value: '700' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('800 - Extra Bold', 'wedocs'), + value: '800' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('900 - Black', 'wedocs'), + value: '900' + }], + onChange: newValue => updateTypography('fontWeight', newValue) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Style', 'wedocs'), + value: value.fontStyle || 'normal', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Normal', 'wedocs'), + value: 'normal' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Italic', 'wedocs'), + value: 'italic' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Oblique', 'wedocs'), + value: 'oblique' + }], + onChange: newValue => updateTypography('fontStyle', newValue) + }), showLineHeight && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Line Height', 'wedocs'), + value: value.lineHeight || 'normal', + onChange: newValue => updateTypography('lineHeight', newValue), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: '', + label: 'unitless' + }] + }), showLetterSpacing && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Letter Spacing', 'wedocs'), + value: value.letterSpacing || 'normal', + onChange: newValue => updateTypography('letterSpacing', newValue), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }] + }), showTextTransform && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text Transform', 'wedocs'), + value: value.textTransform || 'none', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Uppercase', 'wedocs'), + value: 'uppercase' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Lowercase', 'wedocs'), + value: 'lowercase' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Capitalize', 'wedocs'), + value: 'capitalize' + }], + onChange: newValue => updateTypography('textTransform', newValue) + }), showTextDecoration && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text Decoration', 'wedocs'), + value: value.textDecoration || 'none', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Underline', 'wedocs'), + value: 'underline' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Overline', 'wedocs'), + value: 'overline' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Line Through', 'wedocs'), + value: 'line-through' + }], + onChange: newValue => updateTypography('textDecoration', newValue) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TypographyControl); + +/***/ }), + +/***/ "./src/blocks/index.js": +/*!*****************************!*\ + !*** ./src/blocks/index.js ***! + \*****************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _Search__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Search */ "./src/blocks/Search/index.js"); +/* harmony import */ var _DocsGrid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DocsGrid */ "./src/blocks/DocsGrid/index.js"); +/* harmony import */ var _Contributors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Contributors */ "./src/blocks/Contributors/index.js"); +/* harmony import */ var _TableOfContents__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TableOfContents */ "./src/blocks/TableOfContents/index.js"); + + + + + +/***/ }), + +/***/ "@wordpress/block-editor": +/*!*************************************!*\ + !*** external ["wp","blockEditor"] ***! + \*************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blockEditor"]; + +/***/ }), + +/***/ "@wordpress/blocks": +/*!********************************!*\ + !*** external ["wp","blocks"] ***! + \********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blocks"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/core-data": +/*!**********************************!*\ + !*** external ["wp","coreData"] ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["coreData"]; + +/***/ }), + +/***/ "@wordpress/data": +/*!******************************!*\ + !*** external ["wp","data"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["data"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["i18n"]; + +/***/ }), + +/***/ "@wordpress/primitives": +/*!************************************!*\ + !*** external ["wp","primitives"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["primitives"]; + +/***/ }), + +/***/ "react/jsx-runtime": +/*!**********************************!*\ + !*** external "ReactJSXRuntime" ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["ReactJSXRuntime"]; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var [chunkIds, fn, priority] = deferred[i]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "block": 0, +/******/ "blocks/DocsGrid/style-index": 0, +/******/ "blocks/Contributors/style-index": 0, +/******/ "blocks/TableOfContents/style-index": 0, +/******/ "./style-block": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = globalThis["webpackChunkweDocs"] = globalThis["webpackChunkweDocs"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module depends on other loaded chunks and execution need to be delayed +/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["blocks/DocsGrid/style-index","blocks/Contributors/style-index","blocks/TableOfContents/style-index","./style-block"], () => (__webpack_require__("./src/block.js"))) +/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ +/******/ })() +; +//# sourceMappingURL=block.js.map \ No newline at end of file diff --git a/assets/build/block.js.map b/assets/build/block.js.map new file mode 100644 index 00000000..c201458a --- /dev/null +++ b/assets/build/block.js.map @@ -0,0 +1 @@ +{"version":3,"file":"block.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACkD;AACF;AAChD,yBAAyB,sDAAI,CAAC,sDAAG;AACjC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD,iEAAe,GAAG,EAAC;AACnB,+B;;;;;;;;;;;;;;;;;;ACfA;AACA;AACA;AACkD;AACF;AAChD,4BAA4B,sDAA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WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEpDA;UACA;UACA;UACA;UACA","sources":["webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/cog.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/shadow.js","webpack://weDocs/./src/blocks/Contributors/edit.js","webpack://weDocs/./src/blocks/Contributors/index.js","webpack://weDocs/./src/blocks/Contributors/style.scss","webpack://weDocs/./src/blocks/CustomControls/RadioImageControl.js","webpack://weDocs/./src/blocks/CustomControls/UnitControl.js","webpack://weDocs/./src/blocks/DocsGrid/StyleControls.js","webpack://weDocs/./src/blocks/DocsGrid/edit.js","webpack://weDocs/./src/blocks/DocsGrid/index.js","webpack://weDocs/./src/blocks/DocsGrid/style.scss","webpack://weDocs/./src/blocks/Search/attributes.js","webpack://weDocs/./src/blocks/Search/edit.js","webpack://weDocs/./src/blocks/Search/index.js","webpack://weDocs/./src/blocks/Search/save.js","webpack://weDocs/./src/blocks/Search/style.scss","webpack://weDocs/./src/blocks/TableOfContents/ColorsControls.js","webpack://weDocs/./src/blocks/TableOfContents/Inspector.js","webpack://weDocs/./src/blocks/TableOfContents/controls/ListItems.js","webpack://weDocs/./src/blocks/TableOfContents/edit.js","webpack://weDocs/./src/blocks/TableOfContents/editor.scss","webpack://weDocs/./src/blocks/TableOfContents/index.js","webpack://weDocs/./src/blocks/TableOfContents/style.scss","webpack://weDocs/./src/blocks/components/BackgroundControl.js","webpack://weDocs/./src/blocks/components/BorderControl.js","webpack://weDocs/./src/blocks/components/DimensionControl.js","webpack://weDocs/./src/blocks/components/ShadowControl.js","webpack://weDocs/./src/blocks/components/SpacingControl.js","webpack://weDocs/./src/blocks/components/TabSystem.js","webpack://weDocs/./src/blocks/components/TypographyControl.js","webpack://weDocs/./src/blocks/index.js","webpack://weDocs/external window [\"wp\",\"blockEditor\"]","webpack://weDocs/external window [\"wp\",\"blocks\"]","webpack://weDocs/external window [\"wp\",\"components\"]","webpack://weDocs/external window [\"wp\",\"coreData\"]","webpack://weDocs/external window [\"wp\",\"data\"]","webpack://weDocs/external window [\"wp\",\"element\"]","webpack://weDocs/external window [\"wp\",\"i18n\"]","webpack://weDocs/external window [\"wp\",\"primitives\"]","webpack://weDocs/external window \"ReactJSXRuntime\"","webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/chunk loaded","webpack://weDocs/webpack/runtime/compat get default export","webpack://weDocs/webpack/runtime/define property getters","webpack://weDocs/webpack/runtime/hasOwnProperty shorthand","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/webpack/runtime/jsonp chunk loading","webpack://weDocs/webpack/before-startup","webpack://weDocs/webpack/startup","webpack://weDocs/webpack/after-startup"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst cog = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n fillRule: \"evenodd\",\n d: \"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z\",\n clipRule: \"evenodd\"\n })\n});\nexport default cog;\n//# sourceMappingURL=cog.js.map","/**\n * WordPress dependencies\n */\nimport { Path, SVG } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst shadow = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z\"\n })\n});\nexport default shadow;\n//# sourceMappingURL=shadow.js.map","import { __ } from '@wordpress/i18n';\nimport {\n\tuseBlockProps,\n\tInspectorControls\n} from '@wordpress/block-editor';\nimport {\n\tPanelBody,\n\tToggleControl,\n\tTextControl,\n\tSelectControl,\n\tRadioControl,\n\tPlaceholder,\n\tSpinner\n} from '@wordpress/components';\nimport { useState, useEffect } from '@wordpress/element';\nimport { useSelect } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\n\n// Import our custom components\nimport TabSystem from '../components/TabSystem';\nimport TypographyControl from '../components/TypographyControl';\nimport SpacingControl from '../components/SpacingControl';\nimport BorderControl from '../components/BorderControl';\nimport BackgroundControl from '../components/BackgroundControl';\nimport ShadowControl from '../components/ShadowControl';\nimport DimensionControl from '../components/DimensionControl';\n\n\nconst Edit = (props) => {\n\tconst { attributes, setAttributes } = props;\n\tconst [users, setUsers] = useState([]);\n\tconst [isLoadingUsers, setIsLoadingUsers] = useState(false);\n\tconst [actualContributors, setActualContributors] = useState([]);\n\tconst [isLoadingContributors, setIsLoadingContributors] = useState(false);\n\n\tconst blockProps = useBlockProps({\n\t\tclassName: `wedocs-contributors ${attributes.additionalCssClass}`,\n\t\tstyle: {\n\t\t\tbackgroundColor: attributes.backgroundType === 'classic' ? attributes.backgroundColor : undefined,\n\t\t\tbackgroundImage: attributes.backgroundType === 'gradient' ? attributes.backgroundGradient :\n\t\t\t\t(attributes.backgroundImage?.url ? `url(${attributes.backgroundImage.url})` : undefined),\n\t\t\tpadding: `${attributes.padding.top} ${attributes.padding.right} ${attributes.padding.bottom} ${attributes.padding.left}`,\n\t\t\tmargin: `${attributes.margin.top} ${attributes.margin.right} ${attributes.margin.bottom} ${attributes.margin.left}`,\n\t\t\tborderStyle: attributes.borderStyle !== 'none' ? attributes.borderStyle : undefined,\n\t\t\tborderWidth: attributes.borderStyle !== 'none' ?\n\t\t\t\t`${attributes.borderWidth.top} ${attributes.borderWidth.right} ${attributes.borderWidth.bottom} ${attributes.borderWidth.left}` : undefined,\n\t\t\tborderColor: attributes.borderStyle !== 'none' ? attributes.borderColor : undefined,\n\t\t\tborderRadius: attributes.borderRadius,\n\t\t\tboxShadow: attributes.boxShadow.enabled ?\n\t\t\t\t`${attributes.boxShadow.horizontal} ${attributes.boxShadow.vertical} ${attributes.boxShadow.blur} ${attributes.boxShadow.spread} ${attributes.boxShadow.color}` : undefined\n\t\t}\n\t});\n\n\t// Get current post data\n\tconst currentPost = useSelect((select) => {\n\t\tconst { getCurrentPostId, getCurrentPostType } = select('core/editor') || {};\n\t\tif (!getCurrentPostId) return null;\n\n\t\treturn select(coreStore).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId());\n\t}, []);\n\n\t// Fetch users when component mounts or when manual selection mode is active\n\tuseEffect(() => {\n\t\tif (attributes.contributorDisplayMode === 'manual') {\n\t\t\tsetIsLoadingUsers(true);\n\t\t\twp.apiFetch({ path: '/wp/v2/users?per_page=100&context=edit' })\n\t\t\t\t.then(users => {\n\t\t\t\t\tsetUsers(users);\n\t\t\t\t\tsetIsLoadingUsers(false);\n\t\t\t\t})\n\t\t\t\t.catch(() => {\n\t\t\t\t\tsetIsLoadingUsers(false);\n\t\t\t\t});\n\t\t}\n\t}, [attributes.contributorDisplayMode]);\n\n\t// Fetch actual contributors based on current post and display mode\n\tuseEffect(() => {\n\t\tif (!currentPost) return;\n\n\t\tconst fetchContributors = async () => {\n\t\t\tsetIsLoadingContributors(true);\n\t\t\ttry {\n\t\t\t\tconst contributors = [];\n\n\t\t\t\tswitch (attributes.contributorDisplayMode) {\n\t\t\t\t\tcase 'main_author':\n\t\t\t\t\t\tif (currentPost.author) {\n\t\t\t\t\t\t\tconst authorUser = await wp.apiFetch({\n\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${currentPost.author}?context=edit`\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (authorUser) {\n\t\t\t\t\t\t\t\tcontributors.push(authorUser);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\tif (attributes.selectedContributors.length > 0) {\n\t\t\t\t\t\t\tfor (const userId of attributes.selectedContributors) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tconst user = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${userId}?context=edit`\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tif (user) {\n\t\t\t\t\t\t\t\t\t\tcontributors.push(user);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\t\tconsole.warn(`Could not fetch user ${userId}:`, error);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'all':\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// Get post author\n\t\t\t\t\t\tif (currentPost.author) {\n\t\t\t\t\t\t\tconst authorUser = await wp.apiFetch({\n\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${currentPost.author}?context=edit`\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (authorUser) {\n\t\t\t\t\t\t\t\tcontributors.push(authorUser);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Get revisions if post is saved\n\t\t\t\t\t\tif (currentPost.id) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst revisions = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\tpath: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50`\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\tconst contributorIds = [currentPost.author];\n\t\t\t\t\t\t\t\tfor (const revision of revisions) {\n\t\t\t\t\t\t\t\t\tif (revision.author && !contributorIds.includes(revision.author)) {\n\t\t\t\t\t\t\t\t\t\tcontributorIds.push(revision.author);\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tconst user = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${revision.author}?context=edit`\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\tif (user) {\n\t\t\t\t\t\t\t\t\t\t\t\tcontributors.push(user);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\t\t\t\tconsole.warn(`Could not fetch revision author ${revision.author}:`, error);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\tconsole.warn('Could not fetch revisions:', error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tsetActualContributors(contributors);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('Error fetching contributors:', error);\n\t\t\t\tsetActualContributors([]);\n\t\t\t} finally {\n\t\t\t\tsetIsLoadingContributors(false);\n\t\t\t}\n\t\t};\n\n\t\tfetchContributors();\n\t}, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]);\n\n\tconst renderPreview = () => {\n\t\t// Show loading state\n\t\tif (isLoadingContributors) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
{__('Loading contributors...', 'wedocs')}
\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\tif (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\t// Use actual contributors or fallback to demo data\n\t\tlet displayContributors = actualContributors;\n\n\t\tif (!displayContributors || displayContributors.length === 0) {\n\t\t\t// Fallback to demo data for new posts or when no contributors found\n\t\t\tdisplayContributors = [\n\t\t\t\t{\n\t\t\t\t\tid: 1,\n\t\t\t\t\tname: 'Demo Author',\n\t\t\t\t\tavatar_urls: { 48: weDocsAdminScriptVars.assetsUrl+\"/img/demo_avatar/avatar_2.png\" }\n\t\t\t\t}\n\t\t\t];\n\t\t}\n\n\t\tconst avatarStyle = {\n\t\t\twidth: attributes.avatarSize,\n\t\t\theight: attributes.avatarSize,\n\t\t\tborderRadius: attributes.avatarShape === 'circle' ? '50%' :\n\t\t\t\t(attributes.avatarShape === 'rounded' ? attributes.avatarBorderRadius : '0'),\n\t\t\tborderStyle: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderStyle : undefined,\n\t\t\tborderColor: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderColor : undefined,\n\t\t\tborderWidth: attributes.avatarBorderStyle !== 'none' ?\n\t\t\t\t`${attributes.avatarBorderWidth?.top || '2px'} ${attributes.avatarBorderWidth?.right || '2px'} ${attributes.avatarBorderWidth?.bottom || '2px'} ${attributes.avatarBorderWidth?.left || '2px'}` : undefined,\n\t\t\tpadding: `${attributes.avatarPadding?.top || '0px'} ${attributes.avatarPadding?.right || '0px'} ${attributes.avatarPadding?.bottom || '0px'} ${attributes.avatarPadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.avatarMargin?.top || '0px'} ${attributes.avatarMargin?.right || '8px'} ${attributes.avatarMargin?.bottom || '0px'} ${attributes.avatarMargin?.left || '0px'}`,\n\t\t\tboxShadow: attributes.avatarBoxShadow?.enabled ?\n\t\t\t\t`${attributes.avatarBoxShadow.horizontal} ${attributes.avatarBoxShadow.vertical} ${attributes.avatarBoxShadow.blur} ${attributes.avatarBoxShadow.spread} ${attributes.avatarBoxShadow.color}` : undefined\n\t\t};\n\n\t\tconst titleStyle = {\n\t\t\tcolor: attributes.contributorTitleColor,\n\t\t\tfontSize: attributes.contributorTitleTypography.fontSize,\n\t\t\tfontWeight: attributes.contributorTitleTypography.fontWeight,\n\t\t\tfontStyle: attributes.contributorTitleTypography.fontStyle,\n\t\t\tfontFamily: attributes.contributorTitleTypography.fontFamily !== 'default' ? attributes.contributorTitleTypography.fontFamily : undefined,\n\t\t\tlineHeight: attributes.contributorTitleTypography.lineHeight !== 'normal' ? attributes.contributorTitleTypography.lineHeight : undefined,\n\t\t\tletterSpacing: attributes.contributorTitleTypography.letterSpacing !== 'normal' ? attributes.contributorTitleTypography.letterSpacing : undefined,\n\t\t\ttextTransform: attributes.contributorTitleTypography.textTransform !== 'none' ? attributes.contributorTitleTypography.textTransform : undefined,\n\t\t\ttextDecoration: attributes.contributorTitleTypography.textDecoration !== 'none' ? attributes.contributorTitleTypography.textDecoration : undefined,\n\t\t\tpadding: `${attributes.titlePadding?.top || '0px'} ${attributes.titlePadding?.right || '0px'} ${attributes.titlePadding?.bottom || '10px'} ${attributes.titlePadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.titleMargin?.top || '0px'} ${attributes.titleMargin?.right || '0px'} ${attributes.titleMargin?.bottom || '0px'} ${attributes.titleMargin?.left || '0px'}`\n\t\t};\n\n\t\tconst nameStyle = {\n\t\t\tcolor: attributes.nameColor,\n\t\t\tfontSize: attributes.nameTypography.fontSize,\n\t\t\tfontWeight: attributes.nameTypography.fontWeight,\n\t\t\tfontStyle: attributes.nameTypography.fontStyle,\n\t\t\tfontFamily: attributes.nameTypography.fontFamily !== 'default' ? attributes.nameTypography.fontFamily : undefined,\n\t\t\tlineHeight: attributes.nameTypography.lineHeight !== 'normal' ? attributes.nameTypography.lineHeight : undefined,\n\t\t\tletterSpacing: attributes.nameTypography.letterSpacing !== 'normal' ? attributes.nameTypography.letterSpacing : undefined,\n\t\t\ttextTransform: attributes.nameTypography.textTransform !== 'none' ? attributes.nameTypography.textTransform : undefined,\n\t\t\ttextDecoration: attributes.nameTypography.textDecoration !== 'none' ? attributes.nameTypography.textDecoration : undefined,\n\t\t\tpadding: `${attributes.namePadding?.top || '0px'} ${attributes.namePadding?.right || '0px'} ${attributes.namePadding?.bottom || '0px'} ${attributes.namePadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.nameMargin?.top || '0px'} ${attributes.nameMargin?.right || '0px'} ${attributes.nameMargin?.bottom || '0px'} ${attributes.nameMargin?.left || '0px'}`\n\t\t};\n\n\t\tconst dateStyle = {\n\t\t\tcolor: attributes.dateColor,\n\t\t\tfontSize: attributes.dateTypography.fontSize,\n\t\t\tfontWeight: attributes.dateTypography.fontWeight,\n\t\t\tfontStyle: attributes.dateTypography.fontStyle,\n\t\t\tfontFamily: attributes.dateTypography.fontFamily !== 'default' ? attributes.dateTypography.fontFamily : undefined,\n\t\t\tlineHeight: attributes.dateTypography.lineHeight !== 'normal' ? attributes.dateTypography.lineHeight : undefined,\n\t\t\tletterSpacing: attributes.dateTypography.letterSpacing !== 'normal' ? attributes.dateTypography.letterSpacing : undefined,\n\t\t\ttextTransform: attributes.dateTypography.textTransform !== 'none' ? attributes.dateTypography.textTransform : undefined,\n\t\t\ttextDecoration: attributes.dateTypography.textDecoration !== 'none' ? attributes.dateTypography.textDecoration : undefined,\n\t\t\tpadding: `${attributes.datePadding?.top || '0px'} ${attributes.datePadding?.right || '0px'} ${attributes.datePadding?.bottom || '0px'} ${attributes.datePadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.dateMargin?.top || '10px'} ${attributes.dateMargin?.right || '0px'} ${attributes.dateMargin?.bottom || '0px'} ${attributes.dateMargin?.left || '0px'}`\n\t\t};\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{attributes.showTitle && (\n\t\t\t\t\t

\n\t\t\t\t\t\t{attributes.title}\n\t\t\t\t\t

\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t\t{attributes.showAvatar && displayContributors.map(contributor => {\n\t\t\t\t\t\t// Handle both API response format and demo format\n\t\t\t\t\t\tconst contributorName = contributor.name || contributor.display_name || 'Unknown';\n\t\t\t\t\t\tconst contributorId = contributor.id || contributor.ID || Math.random();\n\t\t\t\t\t\t// Get avatar URL with fallbacks\n\t\t\t\t\t\tlet avatarUrl = weDocsAdminScriptVars.assetsUrl+\"/img/demo_avatar/avatar_1.png\" ;\n\n\t\t\t\t\t\tif (contributor.avatar_urls) {\n\t\t\t\t\t\t\tavatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If no avatar URL and we have an email, use Gravatar\n\t\t\t\t\t\tif (!avatarUrl && contributor.email) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst emailHash = btoa(contributor.email.toLowerCase().trim());\n\t\t\t\t\t\t\t\tavatarUrl = `https://www.gravatar.com/avatar/${emailHash}?s=48&d=identicon`;\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\tavatarUrl = weDocsAdminScriptVars.assetsUrl+\"/img/demo_avatar/avatar_1.png\" ;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{attributes.avatarType === 'user_avatar' ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{contributorName}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
\n\n\t\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{attributes.datePrefix} {new Date().toLocaleDateString('en-US', {\n\t\t\t\t\t\t\tyear: 'numeric',\n\t\t\t\t\t\t\tmonth: 'long',\n\t\t\t\t\t\t\tday: 'numeric'\n\t\t\t\t\t\t})}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\t\t);\n\t};\n\n\tconst setupTabContent = () => (\n\t\t<>\n\t\t\t{/* Basic Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ showTitle: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.showTitle && (\n\t\t\t\t\t setAttributes({ title: value })}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t setAttributes({ contributorDisplayMode: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.contributorDisplayMode === 'manual' && (\n\t\t\t\t\t
\n\t\t\t\t\t\t

{__('Select Contributors', 'wedocs')}

\n\t\t\t\t\t\t{isLoadingUsers ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{users.map(user => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t{/* Avatar Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ showAvatar: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.showAvatar && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t setAttributes({ avatarType: value })}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t setAttributes({ avatarShape: value })}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t setAttributes({ avatarHoverEffect: value })}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\n\t\t\t{/* Date Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ showLastUpdated: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t setAttributes({ dateFormat: value })}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t{attributes.dateFormat === 'custom' && (\n\t\t\t\t\t\t\t setAttributes({ customDateFormat: value })}\n\t\t\t\t\t\t\t\thelp={__('Use PHP date format. E.g., F j, Y for \"January 1, 2023\"', 'wedocs')}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t setAttributes({ datePrefix: value })}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\n\t\t\t{/* Advanced Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ additionalCssClass: value })}\n\t\t\t\t\thelp={__('Separate multiple classes with spaces', 'wedocs')}\n\t\t\t\t/>\n\n\t\t\t\t setAttributes({ enableSchema: value })}\n\t\t\t\t\thelp={__('Output structured data for author and dateModified', 'wedocs')}\n\t\t\t\t/>\n\n\t\t\t\t setAttributes({ linkBehavior: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.linkBehavior === 'custom_link' && (\n\t\t\t\t\t setAttributes({ customLinkUrl: value })}\n\t\t\t\t\t\tplaceholder=\"https://example.com/author\"\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\n\t\t\n\t);\n\n\tconst styleTabContent = () => (\n\t\t<>\n\t\t\t{/* Container Styles */}\n\t\t\t setAttributes({ backgroundType: value })}\n\t\t\t\tbackgroundColor={attributes.backgroundColor}\n\t\t\t\tonBackgroundColorChange={(value) => setAttributes({ backgroundColor: value })}\n\t\t\t\tbackgroundGradient={attributes.backgroundGradient}\n\t\t\t\tonBackgroundGradientChange={(value) => setAttributes({ backgroundGradient: value })}\n\t\t\t\tbackgroundImage={attributes.backgroundImage}\n\t\t\t\tonBackgroundImageChange={(value) => setAttributes({ backgroundImage: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ padding: value })}\n\t\t\t\tmarginValue={attributes.margin}\n\t\t\t\tonMarginChange={(value) => setAttributes({ margin: value })}\n\t\t\t\tshowGap={true}\n\t\t\t\tgapValue={attributes.contributorGap}\n\t\t\t\tonGapChange={(value) => setAttributes({ contributorGap: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ borderStyle: value })}\n\t\t\t\tborderWidth={attributes.borderWidth}\n\t\t\t\tonBorderWidthChange={(value) => setAttributes({ borderWidth: value })}\n\t\t\t\tborderColor={attributes.borderColor}\n\t\t\t\tonBorderColorChange={(value) => setAttributes({ borderColor: value })}\n\t\t\t\tborderRadius={attributes.borderRadius}\n\t\t\t\tonBorderRadiusChange={(value) => setAttributes({ borderRadius: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ boxShadow: value })}\n\t\t\t/>\n\n\t\t\t{/* Title Styles */}\n\t\t\t{attributes.showTitle && (\n\t\t\t\t<>\n\t\t\t\t\t setAttributes({ contributorTitleTypography: value })}\n\t\t\t\t\t\tcolorValue={attributes.contributorTitleColor}\n\t\t\t\t\t\tonColorChange={(value) => setAttributes({ contributorTitleColor: value })}\n\t\t\t\t\t\thoverColorValue={attributes.contributorTitleHoverColor}\n\t\t\t\t\t\tonHoverColorChange={(value) => setAttributes({ contributorTitleHoverColor: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ titlePadding: value })}\n\t\t\t\t\t\tmarginValue={attributes.titleMargin}\n\t\t\t\t\t\tonMarginChange={(value) => setAttributes({ titleMargin: value })}\n\t\t\t\t\t\tshowGap={false}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Avatar Styles */}\n\t\t\t{attributes.showAvatar && (\n\t\t\t\t<>\n\t\t\t\t\t setAttributes({ avatarSize: value })}\n\t\t\t\t\t\tshowHeight={false}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ avatarPadding: value })}\n\t\t\t\t\t\tmarginValue={attributes.avatarMargin}\n\t\t\t\t\t\tonMarginChange={(value) => setAttributes({ avatarMargin: value })}\n\t\t\t\t\t\tshowGap={false}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ avatarBorderStyle: value })}\n\t\t\t\t\t\tborderWidth={attributes.avatarBorderWidth}\n\t\t\t\t\t\tonBorderWidthChange={(value) => setAttributes({ avatarBorderWidth: value })}\n\t\t\t\t\t\tborderColor={attributes.avatarBorderColor}\n\t\t\t\t\t\tonBorderColorChange={(value) => setAttributes({ avatarBorderColor: value })}\n\t\t\t\t\t\tborderRadius={attributes.avatarBorderRadius}\n\t\t\t\t\t\tonBorderRadiusChange={(value) => setAttributes({ avatarBorderRadius: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ avatarBoxShadow: value })}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Name Styles */}\n\t\t\t setAttributes({ nameTypography: value })}\n\t\t\t\tcolorValue={attributes.nameColor}\n\t\t\t\tonColorChange={(value) => setAttributes({ nameColor: value })}\n\t\t\t\thoverColorValue={attributes.nameHoverColor}\n\t\t\t\tonHoverColorChange={(value) => setAttributes({ nameHoverColor: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ namePadding: value })}\n\t\t\t\tmarginValue={attributes.nameMargin}\n\t\t\t\tonMarginChange={(value) => setAttributes({ nameMargin: value })}\n\t\t\t\tshowGap={false}\n\t\t\t/>\n\n\t\t\t{/* Date Styles */}\n\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t<>\n\t\t\t\t\t setAttributes({ dateTypography: value })}\n\t\t\t\t\t\tcolorValue={attributes.dateColor}\n\t\t\t\t\t\tonColorChange={(value) => setAttributes({ dateColor: value })}\n\t\t\t\t\t\tshowHoverColor={false}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ datePadding: value })}\n\t\t\t\t\t\tmarginValue={attributes.dateMargin}\n\t\t\t\t\t\tonMarginChange={(value) => setAttributes({ dateMargin: value })}\n\t\t\t\t\t\tshowGap={false}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{setupTabContent()}\n\t\t\t\t\t{styleTabContent()}\n\t\t\t\t\n\t\t\t\n\n\t\t\t
\n\t\t\t\t{renderPreview()}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default Edit;\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport Edit from \"./edit\";\nimport metadata from \"./block.json\";\nimport \"./style.scss\";\n\nregisterBlockType(metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave: () => null,\n});","// extracted by mini-css-extract-plugin\nexport {};","import { BaseControl } from '@wordpress/components';\n\nconst RadioImageControl = ({ selected, options, onChange }) => {\n return (\n \n
\n {options.map((option) => (\n
\n onChange(e.target.value)}\n />\n \n
\n ))}\n
\n
\n );\n};\n\nexport default RadioImageControl;\n","import { __ } from '@wordpress/i18n';\nimport { SelectControl, TextControl, Flex, FlexBlock, FlexItem } from '@wordpress/components';\n\nconst UnitControl = ( { label, value, unit, onValueChange, onUnitChange } ) => {\n return (\n \n \n onValueChange( newValue ) }\n />\n \n \n onUnitChange( newUnit ) }\n />\n \n \n );\n};\n\nexport default UnitControl;\n","import { __ } from '@wordpress/i18n';\nimport {\n PanelBody,\n __experimentalBoxControl as BoxControl,\n SelectControl,\n TextControl\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\n// Add these to your attributes in block.json\nconst styleAttributes = {\n gridPadding: {\n type: \"object\",\n default: {\n top: \"20px\",\n right: \"20px\",\n bottom: \"20px\",\n left: \"20px\"\n }\n },\n gridMargin: {\n type: \"object\",\n default: {\n top: \"0px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n },\n docTitleColor: {\n type: \"string\",\n default: \"#333333\"\n },\n docChildrenActiveColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n borderType: {\n type: \"string\",\n default: \"solid\"\n },\n borderWidth: {\n type: \"string\",\n default: \"1px\"\n },\n borderColor: {\n type: \"string\",\n default: \"#dddddd\"\n },\n borderRadius: {\n type: \"string\",\n default: \"4px\"\n },\n buttonBorderRadius: {\n type: \"string\",\n default: \"4px\"\n },\n buttonPadding: {\n type: \"object\",\n default: {\n top: \"10px\",\n right: \"20px\",\n bottom: \"10px\",\n left: \"20px\"\n }\n },\n buttonMargin: {\n type: \"object\",\n default: {\n top: \"10px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n },\n buttonColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n buttonHoverColor: {\n type: \"string\",\n default: \"#005177\"\n },\n buttonTextColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n buttonHoverTextColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n paginationTextColor: {\n type: \"string\",\n default: \"#333333\"\n },\n paginationTextHoverColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n paginationBackgroundColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n paginationHoverColor: {\n type: \"string\",\n default: \"#f5f5f5\"\n }\n};\n\nconst StyleControls = ({ attributes, setAttributes }) => {\n const updateAttribute = (attributeName) => (value) => {\n setAttributes({ [attributeName]: value });\n };\n\n const borderTypes = [\n { label: __('Solid', 'wedocs'), value: 'solid' },\n { label: __('Dashed', 'wedocs'), value: 'dashed' },\n { label: __('Dotted', 'wedocs'), value: 'dotted' },\n { label: __('None', 'wedocs'), value: 'none' }\n ];\n const colors = [\n { name: 'Sweet', color: '#F43F5E' },\n { name: 'Orange', color: '#F97316' },\n { name: 'Yellow', color: '#FACC15' },\n { name: 'Purple', color: '#8B5CF6' },\n { name: 'Light Blue', color: '#3B82F6' },\n { name: 'Light Green', color: '#10B981' },\n ];\n\n return (\n <>\n \n \n updateAttribute(\n 'docTitleColor')(newBgColor)\n },\n {\n value: attributes.docChildrenActiveColor,\n label: __('Doc Children Active Color', 'wedocs'),\n onChange: (newBgColor) => updateAttribute(\n 'docChildrenActiveColor')(newBgColor)\n },\n {\n value: attributes.borderColor,\n label: __('Border Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'borderColor')(newBorderColor)\n }\n ]}\n />\n \n \n setAttributes({ borderType: value })}\n />\n\n setAttributes({ borderWidth: value })}\n />\n setAttributes({ borderRadius: value })}\n />\n \n\n \n \n updateAttribute(\n 'buttonColor')(newBgColor)\n },\n {\n value: attributes.buttonHoverColor,\n label: __('Button Hover Color', 'wedocs'),\n onChange: (newBgColor) => updateAttribute(\n 'buttonHoverColor')(newBgColor)\n },\n {\n value: attributes.buttonTextColor,\n label: __('Button Text Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'buttonTextColor')(newBorderColor)\n },\n {\n value: attributes.buttonHoverTextColor,\n label: __('Button Hover Text Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'buttonHoverTextColor')(newBorderColor)\n }\n ]}\n />\n \n \n setAttributes(\n { buttonBorderRadius: value })}\n />\n
\n \n \n
\n \n\n {/**/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/**/}\n \n );\n};\n\nexport default StyleControls;\n","import { __ } from '@wordpress/i18n';\nimport { cog, grid } from '@wordpress/icons';\nimport { Fragment, useState } from '@wordpress/element';\nimport { useBlockProps, InspectorControls } from '@wordpress/block-editor';\nimport {\n PanelBody,\n SelectControl,\n ToggleControl,\n PanelRow,\n FormTokenField\n} from '@wordpress/components';\nimport StyleControls from './StyleControls';\n\nconst Edit = ({ attributes, setAttributes }) => {\n const blockProps = useBlockProps();\n const { useSelect } = wp.data;\n const [currentPage, setCurrentPage] = useState(1);\n const [loading, setLoading] = useState(false);\n\n const {\n hideDocGrid,\n docStyle,\n docsPerPage,\n excludeDocs,\n order,\n orderBy,\n sectionsPerDoc,\n articlesPerSection,\n showDocArticle,\n keepArticlesCollapsed,\n showViewDetails,\n gridPadding,\n gridMargin,\n docTitleColor,\n docChildrenActiveColor,\n borderType,\n borderRadius,\n borderWidth,\n borderColor,\n buttonBorderRadius,\n buttonPadding,\n buttonMargin,\n buttonColor,\n buttonHoverColor,\n buttonTextColor,\n buttonText,\n buttonHoverTextColor,\n } = attributes;\n\n const applyStyles = () => {\n const paddings = gridPadding ? `${gridPadding.top} ${gridPadding.right} ${gridPadding.bottom} ${gridPadding.left}` : '';\n const margins = gridMargin ? `${gridMargin.top} ${gridMargin.right} ${gridMargin.bottom} ${gridMargin.left}` : '';\n const btnPaddings = buttonPadding ? `${buttonPadding.top} ${buttonPadding.right} ${buttonPadding.bottom} ${buttonPadding.left}` : '';\n const btnradius = buttonBorderRadius || '8px';\n const btnMargins = buttonMargin ? `${buttonMargin.top} ${buttonMargin.right} ${buttonMargin.bottom} ${buttonMargin.left}` : '';\n\n return {\n item: {\n padding: paddings,\n margin: margins,\n borderStyle: borderType || 'solid',\n borderWidth: borderWidth || '1px',\n borderColor: borderColor || 'rgba(0, 0, 0, 0.1)',\n borderRadius: borderRadius || '8px',\n backgroundColor: '#fff'\n },\n title: {\n color: docTitleColor || '#1e1e1e'\n },\n children: {\n color: docChildrenActiveColor || '#0073aa'\n },\n button: {\n padding: btnPaddings,\n margin: btnMargins,\n backgroundColor: buttonColor || '#0073aa',\n color: buttonTextColor || '#ffffff',\n text: buttonText || __('View Details', 'wedocs'),\n borderRadius: btnradius || '8px',\n '--hover-bg': buttonHoverColor || '#005177',\n '--hover-color': buttonHoverTextColor || '#ffffff'\n }\n };\n };\n\n const renderGridItem = (doc, styles) => (\n \n \n {doc.title.rendered}\n \n {renderSections(doc, styles)}\n {showViewDetails && (\n
\n \n {styles.button.text}\n \n
\n )}\n \n );\n const renderSections = (doc, styles) => {\n if (!doc.sections) return null;\n\n return (\n
\n {doc.sections.map(section => (\n
\n \n {section.title.rendered}\n {showDocArticle && section.articles && section.articles.length > 0 && (\n \n \n \n )}\n \n {(showDocArticle && !keepArticlesCollapsed && section.articles) && (\n
    \n {section.articles.map(article => (\n \n {article.title.rendered}\n \n ))}\n
\n )}\n
\n ))}\n {doc.sections.length === 0 && (\n \n \n \n \n {__('This document has no sections yet. Check back later or wait for the author to add content.', 'wedocs')}\n \n )}\n
\n );\n };\n\n // Control options\n const docStyles = [\n { label: '1x1', value: '1x1' },\n { label: '1x2', value: '1x2' },\n ];\n\n const docsPerPageOptions = [\n { label: 'All', value: 'all' },\n ...Array.from({ length: 10 }, (_, i) => ({\n label: String(i + 1),\n value: String(i + 1)\n }))\n ];\n\n const orderByOptions = [\n { label: __('weDocs Order', 'wedocs'), value: 'menu_order' },\n { label: __('ID', 'wedocs'), value: 'id' },\n { label: __('Name', 'wedocs'), value: 'title' },\n ];\n const orderOptions = [\n { label: __('Ascending', 'wedocs'), value: 'asc' },\n { label: __('Descending', 'wedocs'), value: 'desc' },\n ];\n\n const countOptions = [\n { label: 'All', value: 'all' },\n ...Array.from({ length: 10 }, (_, i) => ({\n label: String(i + 1),\n value: String(i + 1)\n }))\n ];\n // Get published docs\n const { pages, sections, articles } = useSelect((select) => {\n const { getEntityRecords } = select('core');\n\n const docs = getEntityRecords('postType', 'docs', {\n status: 'publish',\n per_page: -1,\n parent: 0,\n orderby: orderBy,\n order: order\n });\n\n // Get all sections (docs children)\n const allSections = docs ? getEntityRecords('postType', 'docs', {\n status: 'publish',\n parent_in: docs.map(doc => doc.id),\n per_page: -1\n }) : null;\n\n // Get all articles (sections children)\n const allArticles = allSections ? getEntityRecords('postType', 'docs', {\n status: 'publish',\n parent_in: allSections.map(section => section.id),\n per_page: -1\n }) : null;\n\n return {\n pages: docs,\n sections: allSections,\n articles: allArticles\n };\n }, [orderBy, order]);\n\n const processDocsData = () => {\n if (!pages || !sections || !articles) return [];\n\n // Filter and sort docs based on settings\n let processedDocs = [...pages];\n\n // Apply exclude filter\n if (excludeDocs && excludeDocs.length > 0) {\n processedDocs = processedDocs.filter(doc =>\n !excludeDocs.includes(doc.id.toString())\n );\n }\n\n // Process each doc with its sections and articles\n processedDocs = processedDocs.map(doc => {\n // Get sections for this doc\n let docSections = sections.filter(section => section.parent === doc.id);\n\n // Limit sections if specified\n if (sectionsPerDoc !== 'all') {\n docSections = docSections.slice(0, parseInt(sectionsPerDoc));\n }\n\n // Process sections with their articles\n docSections = docSections.map(section => {\n let sectionArticles = articles.filter(article => article.parent === section.id);\n\n // Limit articles if specified\n if (articlesPerSection !== 'all') {\n sectionArticles = sectionArticles.slice(0, parseInt(articlesPerSection));\n }\n\n return {\n ...section,\n articles: sectionArticles\n };\n });\n\n // Calculate total articles for the doc\n const totalArticles = docSections.reduce((total, section) =>\n total + section.articles.length, 0\n );\n\n return {\n ...doc,\n sections: docSections,\n articleCount: totalArticles\n };\n });\n\n return processedDocs;\n };\n // Handle pagination\n const getPagedDocs = (docs) => {\n if ( docsPerPage === 'all') return docs;\n\n const perPage = parseInt(docsPerPage);\n const start = (currentPage - 1) * perPage;\n const end = start + perPage;\n\n return docs.slice(start, end);\n };\n\n // Get final display docs\n const getDisplayDocs = () => {\n const processedDocs = processDocsData();\n return getPagedDocs(processedDocs);\n };\n\n // Pagination controls\n const renderPagination = (totalDocs) => {\n if (docsPerPage === 'all') return null;\n\n const totalPages = Math.ceil(totalDocs.length / parseInt(docsPerPage));\n\n // Create style objects for pagination buttons\n const paginationBaseStyle = {\n padding: '8px 12px',\n margin: '0 4px',\n backgroundColor: attributes.paginationBackgroundColor || '#fff',\n color: attributes.paginationTextColor || '#333',\n border: `1px solid ${attributes.paginationBorderColor || '#ddd'}`,\n borderRadius: attributes.borderRadius || '4px',\n cursor: 'pointer',\n transition: 'all 0.2s ease',\n textDecoration: 'none',\n display: 'inline-block',\n minWidth: '32px',\n textAlign: 'center',\n fontFamily: 'inherit',\n fontSize: '14px',\n lineHeight: '1.4'\n };\n\n // Active button style\n const activeStyle = {\n ...paginationBaseStyle,\n backgroundColor: attributes.paginationHoverColor || '#f5f5f5',\n borderColor: attributes.paginationHoverColor || '#ccc',\n color: attributes.paginationTextHoverColor || '#0073aa'\n };\n\n // Hover styles will be handled by CSS custom properties\n const customProperties = {\n '--pagination-hover-bg': attributes.paginationHoverColor || '#f5f5f5',\n '--pagination-hover-color': attributes.paginationTextHoverColor || '#0073aa',\n '--pagination-hover-border': attributes.paginationHoverColor || '#ccc'\n };\n\n return (\n \n {/* Previous button */}\n {currentPage > 1 && (\n setCurrentPage(currentPage - 1)}\n className=\"wedocs-docs-pagination__button\"\n >\n ←\n \n )}\n\n {/* Page numbers */}\n {Array.from({ length: totalPages }, (_, i) => {\n const pageNum = i + 1;\n const isCurrentPage = currentPage === pageNum;\n\n return (\n setCurrentPage(pageNum)}\n >\n {pageNum}\n \n );\n })}\n\n {/* Next button */}\n {currentPage < totalPages && (\n setCurrentPage(currentPage + 1)}\n className=\"wedocs-docs-pagination__button\"\n >\n →\n \n )}\n\n \n \n );\n };\n\n const displayDocs = getDisplayDocs();\n // Create a mapping of ID to title for suggestions\n const docsMap = pages ? pages.reduce((acc, page) => {\n acc[page.id] = page.title.rendered;\n return acc;\n }, {}) : {};\n\n // Prepare docs options for FormTokenField\n const docsOptions = pages ? pages.map(page => ({\n value: page.id.toString(),\n label: page.title.rendered\n })) : [];\n\n // Update handlers\n const updateAttribute = (attributeName) => (value) => {\n setAttributes({ [attributeName]: value });\n };\n\n // Transform IDs to titles for FormTokenField display\n const excludeDocsDisplay = excludeDocs ? excludeDocs.map(id => docsMap[id] || id) : [];\n\n // Handle token changes\n const handleExcludeDocsChange = (tokens) => {\n // Convert titles back to IDs\n const newExcludeDocs = tokens.map(token => {\n // Find the ID for this title\n const found = Object.entries(docsMap).find(([id, title]) => title === token);\n return found ? found[0] : token;\n });\n\n setAttributes({ excludeDocs: newExcludeDocs });\n };\n\n const getGridClass = () => {\n return `wedocs-docs-grid--${docStyle}`;\n };\n\n return (\n \n \n \n \n\n \n\n \n \n \n\n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n\n
\n {hideDocGrid ? (\n
\n ) : (\n
\n
\n {loading ? (\n \n ) : (\n displayDocs.map((doc) => renderGridItem(doc, applyStyles()))\n )}\n
\n
\n )}\n
\n
\n );\n};\n\nexport default Edit;\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport Edit from \"./edit\";\nimport metadata from \"./block.json\";\nimport \"./style.scss\";\n\nregisterBlockType(metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave: () => null,\n});\n","// extracted by mini-css-extract-plugin\nexport {};","import { __ } from '@wordpress/i18n';\n\nconst attributes = {\n hideSearch: {\n type: 'boolean',\n default: false, // Default value when the block is first inserted\n },\n searchWidth: {\n type: 'number',\n default: 50, // Default width in pixels\n },\n widthUnit: {\n type: 'string',\n default: '%', // Default unit in percent\n },\n placeholder: {\n type: 'string',\n default: __( 'Search for a top or question', 'wedocs' ),\n },\n alignment: {\n type: 'string',\n default: 'right'\n },\n bgColor: {\n type: 'string',\n default: '#FFFFFF' // Default background color\n },\n hoverColor: {\n type: 'string',\n default: '#FFFFFF' // Default background color\n },\n padding: {\n type: 'object',\n default: {\n top: 14,\n left: 22,\n right: 22,\n bottom: 14,\n }, // Default padding.\n },\n margin: {\n type: 'object',\n default: {\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n }, // Default padding.\n },\n borderColor: {\n type: 'string',\n default: '#cccccc' // Default border color\n },\n borderType: {\n type: 'string',\n default: 'solid' // Default border type\n },\n borderWidth: {\n type: 'number',\n default: 1 // Default border width\n },\n borderRadius: {\n type: 'number',\n default: 30 // Default border radius\n },\n iconColor: {\n type: 'string',\n default: '#FFFFFF' // Default icon color\n },\n iconBgColor: {\n type: 'string',\n default: '#3b82f6' // Default icon background color\n },\n iconHoverColor: {\n type: 'string',\n default: '#2563eb' // Default icon hover color\n },\n svgHoverColor: {\n type: 'string',\n default: '#FFFFFF' // Default icon hover color\n },\n btnPadding: {\n type: 'object',\n default: {\n top: 24,\n left: 26,\n right: 26,\n bottom: 24,\n }, // Default padding.\n },\n btnPosition: {\n type: 'object',\n default: {\n top: 0,\n right: 0,\n bottom: 10,\n }, // Default padding.\n },\n btnRadius: {\n type: 'number',\n default: 30 // Default border radius\n },\n}\n\nexport default attributes;\n","import { __ } from '@wordpress/i18n';\nimport { cog, shadow } from '@wordpress/icons';\nimport { Fragment, useState } from '@wordpress/element';\nimport { useBlockProps } from '@wordpress/block-editor';\n\nimport UnitControl from '../CustomControls/UnitControl';\nimport RadioImageControl from '../CustomControls/RadioImageControl';\nimport { InspectorControls, PanelColorSettings } from '@wordpress/block-editor';\nimport {\n PanelBody,\n TextControl,\n RangeControl,\n SelectControl,\n ToggleControl,\n __experimentalBoxControl as BoxControl\n} from '@wordpress/components';\n\nconst Edit = ({ attributes, setAttributes }) => {\n const blockProps = useBlockProps();\n\n const {\n margin,\n bgColor,\n padding,\n btnRadius,\n alignment,\n iconColor,\n widthUnit,\n hoverColor,\n borderType,\n hideSearch,\n btnPadding,\n searchWidth,\n btnPosition,\n placeholder,\n borderColor,\n borderWidth,\n iconBgColor,\n borderRadius,\n svgHoverColor,\n iconHoverColor,\n } = attributes;\n\n console.log( 'editor panel:', bgColor );\n\n const alignmentOptions = [\n {\n value : 'left',\n label : __( 'Align left', 'wedocs' ),\n svg : \n \n \n },\n {\n value : 'center',\n label : __( 'Align center', 'wedocs' ),\n svg : \n \n \n \n },\n {\n value : 'right',\n label : __( 'Align right', 'wedocs' ),\n svg : \n \n \n },\n ];\n\n const [ hover, setHover ] = useState( false );\n const [ svgHover, setSvgHover ] = useState( false );\n const [ iconHover, setIconHover ] = useState( false );\n\n const containerStyles = {\n display : 'flex',\n justifyContent : alignment,\n };\n\n const colors = [\n { name: 'Sweet', color: '#F43F5E' },\n { name: 'Orange', color: '#F97316' },\n { name: 'Yellow', color: '#FACC15' },\n { name: 'Purple', color: '#8B5CF6' },\n { name: 'Light Blue', color: '#3B82F6' },\n { name: 'Light Green', color: '#10B981' },\n ];\n\n const inputStyles = {\n border : `${borderWidth}px ${borderType} ${borderColor}`,\n paddingTop : padding?.top,\n background : hover ? hoverColor : bgColor,\n paddingLeft : padding?.left,\n paddingRight : padding?.right,\n borderRadius : `${borderRadius}px`,\n paddingBottom : padding?.bottom,\n };\n\n const searchStyles = {\n top : btnPosition?.top,\n left : btnPosition?.left,\n right : btnPosition?.right,\n bottom : btnPosition?.bottom,\n height : 'auto',\n background : iconHover ? iconHoverColor : iconBgColor,\n paddingTop : btnPadding?.top,\n paddingLeft : btnPadding?.left,\n borderRadius : btnRadius,\n paddingRight : btnPadding?.right,\n paddingBottom : btnPadding?.bottom,\n };\n\n const borderOptions = [\n { label: __( 'Solid', 'wedocs' ), value: 'solid' },\n { label: __( 'Dotted', 'wedocs' ), value: 'dotted' },\n { label: __( 'Dashed', 'wedocs' ), value: 'dashed' },\n { label: __( 'Double', 'wedocs' ), value: 'double' },\n { label: __( 'Groove', 'wedocs' ), value: 'groove' },\n { label: __( 'Ridge', 'wedocs' ), value: 'ridge' },\n { label: __( 'Inset', 'wedocs' ), value: 'inset' },\n { label: __( 'Outset', 'wedocs' ), value: 'outset' },\n { label: __( 'None', 'wedocs' ), value: 'none' },\n { label: __( 'Hidden', 'wedocs' ), value: 'hidden' },\n ];\n\n return (\n \n \n \n setAttributes( { hideSearch: newHideSearch } ) }\n />\n \n { !hideSearch && (\n \n \n setAttributes( { bgColor: newBgColor } ),\n },\n {\n value : hoverColor,\n label : __( 'Field Hover Color', 'wedocs' ),\n onChange : ( newHoverColor ) => setAttributes( { hoverColor: newHoverColor } ),\n },\n {\n value : borderColor,\n label : __('Border Color', 'wedocs'),\n onChange : ( newBorderColor ) => setAttributes( { borderColor: newBorderColor } ),\n },\n {\n value : iconColor,\n label : __( 'Icon Color', 'wedocs' ),\n onChange : ( newIconColor ) => setAttributes( { iconColor: newIconColor } ),\n },\n {\n value : iconBgColor,\n label : __( 'Button Color', 'wedocs' ),\n onChange : ( newIconBgColor ) => setAttributes( { iconBgColor: newIconBgColor } ),\n },\n {\n value : iconHoverColor,\n label : __( 'Button Hover Color', 'wedocs' ),\n onChange : ( newIconHoverColor ) => setAttributes( { iconHoverColor: newIconHoverColor } ),\n },\n {\n value : svgHoverColor,\n label : __( 'Icon Hover Color', 'wedocs' ),\n onChange : ( newSvgHoverColor ) => setAttributes( { svgHoverColor: newSvgHoverColor } ),\n },\n ] }\n />\n \n \n setAttributes( { widthUnit: newWidthUnit } ) }\n onValueChange={ ( newSearchWidth ) => setAttributes( { searchWidth: newSearchWidth ? parseInt( newSearchWidth ) : 0 } ) }\n />\n setAttributes( { placeholder: newPlaceholder } ) }\n />\n

{ __( 'POSITION', 'wedocs' ) }

\n setAttributes( { alignment: newAlignment } ) }\n />\n setAttributes( { padding: newPadding } ) }\n />\n setAttributes( { margin: newMargin } ) }\n />\n setAttributes( { borderWidth: newBorderWidth } ) }\n />\n setAttributes( { borderRadius: newBorderRadius } ) }\n />\n setAttributes( { borderType: newBorderType } ) }\n />\n setAttributes( { btnPadding: newBtnPadding } ) }\n />\n setAttributes( { btnPosition: newBtnPosition } ) }\n />\n setAttributes( { btnRadius: newBtnRadius } ) }\n />\n
\n
\n ) }\n
\n
\n \n setHover( true ) }\n onMouseLeave={ () => setHover( false ) }\n />\n \n setIconHover( true ) }\n onMouseLeave={ () => setIconHover( false ) }\n >\n setSvgHover( true ) }\n onMouseLeave={ () => setSvgHover( false ) }\n >\n \n \n \n
\n { hideSearch &&
}\n \n
\n );\n}\n\nexport default Edit;\n","import { registerBlockType } from '@wordpress/blocks';\nimport { __ } from '@wordpress/i18n';\nimport Edit from './edit';\nimport Save from './save';\nimport './style.scss';\n\nimport attributes from './attributes';\n\nregisterBlockType( 'wedocs/wedocs-search', {\n attributes,\n save : Save,\n edit : Edit,\n icon : \n \n ,\n title : __( 'weDocs - Searchbar', 'wedocs' ),\n keywords : [ 'Search', 'weDocs search bar', 'Bar' ],\n category : 'widgets',\n description : __( 'Simple search forms for easy user guidance for your documentation', 'wedocs' ),\n});\n","import { Fragment } from '@wordpress/element';\nimport { useBlockProps } from '@wordpress/block-editor';\n\nconst Save = ({ attributes } ) => {\n const {\n margin,\n bgColor,\n padding,\n btnRadius,\n alignment,\n iconColor,\n widthUnit,\n hoverColor,\n borderType,\n hideSearch,\n btnPadding,\n searchWidth,\n btnPosition,\n placeholder,\n borderColor,\n borderWidth,\n iconBgColor,\n borderRadius,\n svgHoverColor,\n iconHoverColor,\n } = attributes;\n\n if (hideSearch) {\n return;\n }\n\n const containerStyles = {\n display: 'flex',\n justifyContent: alignment,\n };\n\n const inputStyles = {\n border : `${borderWidth}px ${borderType} ${borderColor}`,\n paddingTop : padding?.top,\n paddingLeft : padding?.left,\n paddingRight : padding?.right,\n borderRadius : `${borderRadius}px`,\n paddingBottom : padding?.bottom,\n \"--field-color\" : bgColor,\n \"--field-bg-color\" : hoverColor,\n };\n\n const searchStyles = {\n top : btnPosition?.top,\n left : btnPosition?.left,\n right : btnPosition?.right,\n bottom : btnPosition?.bottom,\n height : 'auto',\n paddingTop : btnPadding?.top,\n paddingLeft : btnPadding?.left,\n borderRadius : btnRadius,\n paddingRight : btnPadding?.right,\n paddingBottom : btnPadding?.bottom,\n \"--field-icon-color\" : iconColor,\n \"--field-btn-bg-color\" : iconBgColor,\n \"--field-icon-hover-color\" : svgHoverColor,\n \"--field-btn-bg-hover-color\" : iconHoverColor\n };\n\n return (\n \n \n
\n \n \n \n \n \n \n \n \n
\n \n \n
\n );\n}\n\nexport default Save;\n","// extracted by mini-css-extract-plugin\nexport {};","/* eslint-disable @wordpress/no-unsafe-wp-apis */\nimport { __ } from '@wordpress/i18n';\nimport {\n\tButton,\n\tColorIndicator,\n\tColorPalette,\n\tDropdown,\n\t__experimentalDropdownContentWrapper as DropdownContentWrapper,\n\tGradientPicker,\n\t__experimentalHStack as HStack,\n\tTabPanel,\n\t__experimentalText as Text,\n\t__experimentalZStack as ZStack,\n} from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\nconst ColorsControls = ({ attributes, setAttributes, device }) => {\n\tconst { colorsControls } = attributes;\n\tconst currentColors = colorsControls[device] || {};\n\n\t// Fetch theme colors and gradients\n\tconst { themeColors, themeGradients } = useSelect((select) => {\n\t\tconst editorSettings = select('core/block-editor').getSettings();\n\t\treturn {\n\t\t\tthemeColors: editorSettings.colors,\n\t\t\tthemeGradients: editorSettings.gradients,\n\t\t};\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t{/* Text Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{__('Color', 'block-responsive')}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\ttextColor: color,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\n\t\t\t\t{/* Background Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{__('Background', 'block-responsive')}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'gradient',\n\t\t\t\t\t\t\t\t\t\ttitle: __(\n\t\t\t\t\t\t\t\t\t\t\t'Gradient',\n\t\t\t\t\t\t\t\t\t\t\t'block-responsive'\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgradient,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ content }) => content}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\n\t\t\t\t{/* Link Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{__('Link', 'block-responsive')}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlinkColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'hover-color',\n\t\t\t\t\t\t\t\t\t\ttitle: __('Hover', 'block-responsive'),\n\t\t\t\t\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlinkHoverColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ content }) => content}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t\n\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\ttextColor: undefined,\n\t\t\t\t\t\t\t\tbackgroundColor: undefined,\n\t\t\t\t\t\t\t\tlinkColor: undefined,\n\t\t\t\t\t\t\t\tlinkHoverColor: undefined,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default ColorsControls;\n","import { __ } from '@wordpress/i18n';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport {\n PanelBody,\n TextControl,\n ToggleControl,\n SelectControl,\n CheckboxControl,\n ColorPicker,\n __experimentalBoxControl as BoxControl,\n __experimentalUnitControl as UnitControl,\n} from '@wordpress/components';\nimport ListItems from './controls/ListItems';\n\nconst Inspector = ({ attributes, setAttributes }) => {\n return (\n <>\n \n \n setAttributes({ tocTitle: value })}\n />\n\n
\n \n {['h1', 'h2', 'h3', 'h4', 'h5'].map(heading => (\n {\n const newHeadings = checked\n ? [...supportedHeadings, heading]\n : supportedHeadings.filter(h => h !== heading);\n setAttributes({ supportedHeadings: newHeadings });\n }}\n />\n ))}\n
\n\n setAttributes({ showHierarchy: value })}\n />\n\n setAttributes({ showNumbering: value })}\n />\n\n setAttributes({ collapsibleOnMobile: value })}\n />\n setAttributes({ smoothScroll: value })}\n />\n\n setAttributes({ stickyMode: value })}\n />\n
\n\n\n\n {/* \n\t\t\t\t\t setAttributes({ additionalCssClass: value })}\n\t\t\t\t\t\thelp={__('Space-separated CSS classes', 'dynamic-table-of-contents-block-wp')}\n\t\t\t\t\t/>\n\n\n\t\t\t\t */}\n
\n \n \n \n

{__('TOC Container', 'dynamic-table-of-contents-block-wp')}

\n\n
\n \n setAttributes({ containerBackgroundColor: value })}\n />\n
\n\n setAttributes({ containerWidth: value })}\n units={[\n { value: '%', label: '%' },\n { value: 'px', label: 'px' },\n { value: 'em', label: 'em' },\n { value: 'rem', label: 'rem' }\n ]}\n />\n\n setAttributes({ containerPadding: value })}\n />\n\n setAttributes({ containerMargin: value })}\n />\n\n setAttributes({ containerBorderStyle: value })}\n />\n\n {containerBorderStyle !== 'none' && (\n <>\n setAttributes({ containerBorderWidth: value })}\n />\n\n
\n \n setAttributes({ containerBorderColor: value })}\n />\n
\n \n )}\n\n setAttributes({ containerBorderRadius: value })}\n />\n\n
\n\n

{__('TOC Title', 'dynamic-table-of-contents-block-wp')}

\n\n
\n \n setAttributes({ titleColor: value })}\n />\n
\n\n setAttributes({ titleFontSize: value })}\n />\n\n setAttributes({ titleFontWeight: value })}\n />\n\n
\n\n

{__('TOC List', 'dynamic-table-of-contents-block-wp')}

\n\n
\n \n setAttributes({ listColor: value })}\n />\n
\n\n
\n \n setAttributes({ listHoverColor: value })}\n />\n
\n\n setAttributes({ listFontSize: value })}\n />\n
\n
\n \n );\n};\n\nexport default Inspector;\n","import { __ } from '@wordpress/i18n';\nimport {\n PanelBody,\n ColorPicker,\n} from '@wordpress/components';\n\nconst ListItems = ({ attributes, setAttributes }) => {\n return (\n \n

{__('TOC Container', 'dynamic-table-of-contents-block-wp')}

\n
\n \n setAttributes({ containerBackgroundColor: value })}\n />\n
\n {/* */}\n
\n );\n};\n\nexport default ListItems;\n","\n /**\n * Retrieves the translation of text.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * React hook that is used to mark the block wrapper element.\n * It provides all the necessary props like the class name.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops\n */\nimport { useBlockProps, InspectorControls } from '@wordpress/block-editor';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tPanelBody,\n\tTextControl,\n\tToggleControl,\n\tSelectControl,\n\tCheckboxControl,\n\tColorPicker,\n\tRangeControl,\n\t__experimentalBoxControl as BoxControl,\n\t__experimentalUnitControl as UnitControl\n} from '@wordpress/components';\nimport { useState, useEffect } from '@wordpress/element';\nimport { select } from '@wordpress/data';\nimport ColorsControls from './ColorsControls';\nimport Inspector from './Inspector';\n/**\n * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.\n * Those files can contain any CSS code that gets applied to the editor.\n *\n * @see https://www.npmjs.com/package/@wordpress/scripts#using-css\n */\nimport './editor.scss';\n\n/**\n * The edit function describes the structure of your block in the context of the\n * editor. This represents what the editor will render when the block is used.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit\n *\n * @return {Element} Element to render.\n */\nexport default function Edit({ attributes, setAttributes, clientId }) {\n\tconst {\n\t\tblockId,\n\t\ttocTitle,\n\t\tsupportedHeadings,\n\t\tshowHierarchy,\n\t\tshowNumbering,\n\t\tcollapsibleOnMobile,\n\t\tcontainerBackgroundColor,\n\t\tcontainerWidth,\n\t\tcontainerPadding,\n\t\tcontainerMargin,\n\t\tcontainerBorderStyle,\n\t\tcontainerBorderWidth,\n\t\tcontainerBorderColor,\n\t\tcontainerBorderRadius,\n\t\ttitleColor,\n\t\ttitleFontSize,\n\t\ttitleFontWeight,\n\t\ttitlePadding,\n\t\tlistColor,\n\t\tlistHoverColor,\n\t\tlistFontSize,\n\t\tsmoothScroll,\n\t\tstickyMode,\n\t\tadditionalCssClass\n\t} = attributes;\n\n\tconst [headings, setHeadings] = useState([]);\n\n\t// Set unique block ID on first render\n\tuseEffect(() => {\n\t\tif (!blockId) {\n\t\t\tsetAttributes({ blockId: `toc-${clientId}` });\n\t\t}\n\t}, [blockId, clientId, setAttributes]);\n\n\t// Mock headings for preview in editor\n\tuseEffect(() => {\n\t\tconst mockHeadings = [\n\t\t\t{ level: 2, text: 'Introduction', id: 'introduction' },\n\t\t\t{ level: 3, text: 'Getting Started', id: 'getting-started' },\n\t\t\t{ level: 3, text: 'Basic Features', id: 'basic-features' },\n\t\t\t{ level: 2, text: 'Advanced Usage', id: 'advanced-usage' },\n\t\t\t{ level: 3, text: 'Configuration', id: 'configuration' },\n\t\t\t{ level: 4, text: 'Settings Panel', id: 'settings-panel' },\n\t\t\t{ level: 2, text: 'Conclusion', id: 'conclusion' }\n\t\t].filter(heading => supportedHeadings.includes(`h${heading.level}`));\n\n\t\tsetHeadings(mockHeadings);\n\t}, [supportedHeadings]);\n\n\tconst renderTocList = (headings, showHierarchy, showNumbering) => {\n\t\tif (headings.length === 0) {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t

{__('No headings found. Add some headings to your content to see them here.', 'dynamic-table-of-contents-block-wp')}

\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\n\t\tlet counter = 1;\n\t\tconst counters = { 2: 0, 3: 0, 4: 0, 5: 0 };\n\n\t\treturn (\n\t\t\t
    \n\t\t\t\t{headings.map((heading, index) => {\n\t\t\t\t\tif (showNumbering) {\n\t\t\t\t\t\tif (showHierarchy) {\n\t\t\t\t\t\t\tcounters[heading.level]++;\n\t\t\t\t\t\t\t// Reset lower level counters\n\t\t\t\t\t\t\tfor (let i = heading.level + 1; i <= 5; i++) {\n\t\t\t\t\t\t\t\tcounters[i] = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcounters[heading.level] = counter++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst indent = showHierarchy ? (heading.level - 2) * 20 : 0;\n\t\t\t\t\tconst numberText = showNumbering ?\n\t\t\t\t\t\t(showHierarchy ?\n\t\t\t\t\t\t\tObject.entries(counters).slice(0, heading.level - 1).map(([level, count]) => count > 0 ? count : '').filter(n => n).join('.') :\n\t\t\t\t\t\t\tcounters[heading.level]\n\t\t\t\t\t\t) : '';\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{showNumbering && {numberText}. }\n\t\t\t\t\t\t\t\t{heading.text}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • \n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t
\n\t\t);\n\t};\n\n\tconst blockProps = useBlockProps({\n\t\tclassName: `${additionalCssClass} ${stickyMode ? 'sticky-mode' : ''}`.trim(),\n\t\t'data-block-id': blockId,\n\t\tstyle: {\n \"--list-item-sytle\": containerBackgroundColor,\n\t\t\t// backgroundColor: containerBackgroundColor,\n\t\t\twidth: containerWidth,\n\t\t\tpadding: containerPadding ? `${containerPadding.top} ${containerPadding.right} ${containerPadding.bottom} ${containerPadding.left}` : undefined,\n\t\t\tmargin: containerMargin ? `${containerMargin.top} ${containerMargin.right} ${containerMargin.bottom} ${containerMargin.left}` : undefined,\n\t\t\tborderStyle: containerBorderStyle !== 'none' ? containerBorderStyle : undefined,\n\t\t\tborderWidth: containerBorderStyle !== 'none' ? containerBorderWidth : undefined,\n\t\t\tborderColor: containerBorderStyle !== 'none' ? containerBorderColor : undefined,\n\t\t\tborderRadius: containerBorderRadius\n\t\t}\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{tocTitle}\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{renderTocList(headings, showHierarchy, showNumbering)}\n\t\t\t\t\n\t\t\t\t{collapsibleOnMobile && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{__('(Collapsible on mobile devices)', 'dynamic-table-of-contents-block-wp')}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\n\t\t\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","\n /**\n * Registers a new block provided a unique name and an object defining its behavior.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/\n */\nimport { registerBlockType } from '@wordpress/blocks';\n\n/**\n * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.\n * All files containing `style` keyword are bundled together. The code used\n * gets applied both to the front of your site and to the editor.\n *\n * @see https://www.npmjs.com/package/@wordpress/scripts#using-css\n */\nimport './style.scss';\n\n/**\n * Internal dependencies\n */\nimport Edit from './edit';\nimport metadata from './block.json';\n\n/**\n * Every block starts by registering a new block type definition.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/\n */\nregisterBlockType( metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n} );\n\t","// extracted by mini-css-extract-plugin\nexport {};","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tRadioControl,\n\tTextControl,\n\tButton,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport {\n\tPanelColorSettings,\n\tMediaUpload,\n\tMediaUploadCheck\n} from '@wordpress/block-editor';\n\nconst BackgroundControl = ({\n\tlabel,\n\tbackgroundType = 'classic',\n\tonBackgroundTypeChange,\n\tbackgroundColor,\n\tonBackgroundColorChange,\n\tbackgroundGradient,\n\tonBackgroundGradientChange,\n\tbackgroundImage = {},\n\tonBackgroundImageChange,\n\tshowGradient = true,\n\tshowImage = true\n}) => {\n\treturn (\n\t\t\n\t\t\t{/* Background Type */}\n\t\t\t\n\n\t\t\t\n\n\t\t\t{/* Classic Background */}\n\t\t\t{backgroundType === 'classic' && (\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Gradient Background */}\n\t\t\t{backgroundType === 'gradient' && showGradient && (\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Background Image */}\n\t\t\t{showImage && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t

{__('Background Image', 'wedocs')}

\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t onBackgroundImageChange({\n\t\t\t\t\t\t\t\t\turl: media.url,\n\t\t\t\t\t\t\t\t\talt: media.alt,\n\t\t\t\t\t\t\t\t\tid: media.id\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tallowedTypes={['image']}\n\t\t\t\t\t\t\t\tvalue={backgroundImage?.id}\n\t\t\t\t\t\t\t\trender={({ open }) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{backgroundImage?.url ? __('Change Image', 'wedocs') : __('Select Image', 'wedocs')}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t{backgroundImage?.url && (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t onBackgroundImageChange({ url: '', alt: '', id: '' })}\n\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\tisDestructive\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{__('Remove Image', 'wedocs')}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default BackgroundControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tSelectControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalBoxControl as BoxControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\nconst BorderControl = ({\n\tlabel,\n\tborderStyle = 'none',\n\tonBorderStyleChange,\n\tborderWidth = {},\n\tonBorderWidthChange,\n\tborderColor,\n\tonBorderColorChange,\n\tborderRadius,\n\tonBorderRadiusChange,\n\tshowIndividualSides = true\n}) => {\n\treturn (\n\t\t\n\t\t\t{/* Border Style */}\n\t\t\t\n\n\t\t\t{borderStyle !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Border Width */}\n\t\t\t\t\t{showIndividualSides ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t onBorderWidthChange({\n\t\t\t\t\t\t\t\ttop: newValue,\n\t\t\t\t\t\t\t\tright: newValue,\n\t\t\t\t\t\t\t\tbottom: newValue,\n\t\t\t\t\t\t\t\tleft: newValue\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Border Color */}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t\n\n\t\t\t{/* Border Radius */}\n\t\t\t\n\t\t\n\t);\n};\n\nexport default BorderControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\n\nconst DimensionControl = ({\n\tlabel,\n\twidthValue,\n\tonWidthChange,\n\theightValue,\n\tonHeightChange,\n\tshowHeight = true,\n\tlinkValues = false\n}) => {\n\tconst handleWidthChange = (newValue) => {\n\t\tonWidthChange(newValue);\n\t\tif (linkValues && showHeight && onHeightChange) {\n\t\t\tonHeightChange(newValue);\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{/* Width */}\n\t\t\t\n\n\t\t\t{/* Height */}\n\t\t\t{showHeight && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default DimensionControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tToggleControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\nconst ShadowControl = ({\n\tlabel,\n\tshadowValue = {},\n\tonShadowChange,\n\tshowToggle = true\n}) => {\n\tconst updateShadow = (key, newValue) => {\n\t\tonShadowChange({\n\t\t\t...shadowValue,\n\t\t\t[key]: newValue\n\t\t});\n\t};\n\n\tconst enabled = shadowValue.enabled ?? false;\n\n\treturn (\n\t\t\n\t\t\t{showToggle && (\n\t\t\t\t<>\n\t\t\t\t\t updateShadow('enabled', value)}\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{(enabled || !showToggle) && (\n\t\t\t\t<>\n\t\t\t\t\t{/* Horizontal Offset */}\n\t\t\t\t\t updateShadow('horizontal', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Vertical Offset */}\n\t\t\t\t\t updateShadow('vertical', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Blur Radius */}\n\t\t\t\t\t updateShadow('blur', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Spread Radius */}\n\t\t\t\t\t updateShadow('spread', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Shadow Color */}\n\t\t\t\t\t updateShadow('color', value),\n\t\t\t\t\t\t\t\tlabel: __('Color', 'wedocs')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ShadowControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\t__experimentalBoxControl as BoxControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\n\nconst SpacingControl = ({\n\tlabel,\n\tpaddingValue = {},\n\tonPaddingChange,\n\tmarginValue = {},\n\tonMarginChange,\n\tshowPadding = true,\n\tshowMargin = true,\n\tshowGap = false,\n\tgapValue,\n\tonGapChange\n}) => {\n\treturn (\n\t\t\n\t\t\t{/* Padding */}\n\t\t\t{showPadding && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Margin */}\n\t\t\t{showMargin && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Gap */}\n\t\t\t{showGap && (\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SpacingControl;","import { __ } from '@wordpress/i18n';\nimport { useState } from '@wordpress/element';\nimport { Button, ButtonGroup, __experimentalSpacer as Spacer } from '@wordpress/components';\n\nconst TabSystem = ({ children, defaultTab = 'setup' }) => {\n\tconst [activeTab, setActiveTab] = useState(defaultTab);\n\n\tconst tabs = [\n\t\t{ key: 'setup', label: __('Setup', 'wedocs'), icon: 'admin-settings' },\n\t\t{ key: 'style', label: __('Style', 'wedocs'), icon: 'admin-appearance' }\n\t];\n\n\treturn (\n\t\t
\n\t\t\t{/* Tab Navigation */}\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{tabs.map(tab => (\n\t\t\t\t\t\t setActiveTab(tab.key)}\n\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\tmarginRight: '4px',\n\t\t\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\t\t\talignItems: 'center',\n\t\t\t\t\t\t\t\tgap: '4px'\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{tab.label}\n\t\t\t\t\t\t\n\t\t\t\t\t))}\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{/* Tab Content */}\n\t\t\t
\n\t\t\t\t{children.map((child, index) => {\n\t\t\t\t\tconst tabKey = index === 0 ? 'setup' : 'style';\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{child}\n\t\t\t\t\t\t
\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default TabSystem;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tSelectControl,\n\tToggleControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\nconst TypographyControl = ({\n\tlabel,\n\tvalue = {},\n\tonChange,\n\tcolorValue,\n\tonColorChange,\n\thoverColorValue,\n\tonHoverColorChange,\n\tshowHoverColor = true,\n\tshowLineHeight = true,\n\tshowLetterSpacing = true,\n\tshowTextTransform = true,\n\tshowTextDecoration = true\n}) => {\n\tconst updateTypography = (key, newValue) => {\n\t\tonChange({\n\t\t\t...value,\n\t\t\t[key]: newValue\n\t\t});\n\t};\n\n\treturn (\n\t\t\n\t\t\t{/* Color Settings */}\n\t\t\t\n\n\t\t\t\n\n\t\t\t{/* Font Family */}\n\t\t\t updateTypography('fontFamily', newValue === 'default' ? undefined : newValue)}\n\t\t\t/>\n\n\t\t\t{/* Font Size */}\n\t\t\t updateTypography('fontSize', newValue)}\n\t\t\t\tunits={[\n\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t{ value: 'rem', label: 'rem' },\n\t\t\t\t\t{ value: '%', label: '%' }\n\t\t\t\t]}\n\t\t\t/>\n\n\t\t\t{/* Font Weight */}\n\t\t\t updateTypography('fontWeight', newValue)}\n\t\t\t/>\n\n\t\t\t{/* Font Style */}\n\t\t\t updateTypography('fontStyle', newValue)}\n\t\t\t/>\n\n\t\t\t{/* Line Height */}\n\t\t\t{showLineHeight && (\n\t\t\t\t updateTypography('lineHeight', newValue)}\n\t\t\t\t\tunits={[\n\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t{ value: '', label: 'unitless' }\n\t\t\t\t\t]}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{/* Letter Spacing */}\n\t\t\t{showLetterSpacing && (\n\t\t\t\t updateTypography('letterSpacing', newValue)}\n\t\t\t\t\tunits={[\n\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t{ value: 'em', label: 'em' }\n\t\t\t\t\t]}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{/* Text Transform */}\n\t\t\t{showTextTransform && (\n\t\t\t\t updateTypography('textTransform', newValue)}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{/* Text Decoration */}\n\t\t\t{showTextDecoration && (\n\t\t\t\t updateTypography('textDecoration', newValue)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default TypographyControl;","import './Search';\nimport './DocsGrid';\nimport './Contributors';\nimport './TableOfContents';\n","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"coreData\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","module.exports = window[\"ReactJSXRuntime\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"block\": 0,\n\t\"blocks/DocsGrid/style-index\": 0,\n\t\"blocks/Contributors/style-index\": 0,\n\t\"blocks/TableOfContents/style-index\": 0,\n\t\"./style-block\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkweDocs\"] = globalThis[\"webpackChunkweDocs\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"blocks/DocsGrid/style-index\",\"blocks/Contributors/style-index\",\"blocks/TableOfContents/style-index\",\"./style-block\"], () => (__webpack_require__(\"./src/block.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","InspectorControls","PanelBody","ToggleControl","TextControl","SelectControl","RadioControl","Placeholder","Spinner","useState","useEffect","useSelect","store","coreStore","TabSystem","TypographyControl","SpacingControl","BorderControl","BackgroundControl","ShadowControl","DimensionControl","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","Edit","props","attributes","setAttributes","users","setUsers","isLoadingUsers","setIsLoadingUsers","actualContributors","setActualContributors","isLoadingContributors","setIsLoadingContributors","blockProps","className","additionalCssClass","style","backgroundColor","backgroundType","undefined","backgroundImage","backgroundGradient","url","padding","top","right","bottom","left","margin","borderStyle","borderWidth","borderColor","borderRadius","boxShadow","enabled","horizontal","vertical","blur","spread","color","currentPost","select","getCurrentPostId","getCurrentPostType","getEntityRecord","contributorDisplayMode","wp","apiFetch","path","then","catch","fetchContributors","contributors","author","authorUser","push","selectedContributors","length","userId","user","error","console","warn","id","revisions","type","contributorIds","revision","includes","renderPreview","icon","label","children","instructions","displayContributors","name","avatar_urls","weDocsAdminScriptVars","assetsUrl","avatarStyle","width","avatarSize","height","avatarShape","avatarBorderRadius","avatarBorderStyle","avatarBorderColor","avatarBorderWidth","avatarPadding","avatarMargin","avatarBoxShadow","titleStyle","contributorTitleColor","fontSize","contributorTitleTypography","fontWeight","fontStyle","fontFamily","lineHeight","letterSpacing","textTransform","textDecoration","titlePadding","titleMargin","nameStyle","nameColor","nameTypography","namePadding","nameMargin","dateStyle","dateColor","dateTypography","datePadding","dateMargin","showTitle","title","display","alignItems","flexWrap","gap","contributorGap","showAvatar","map","contributor","contributorName","display_name","contributorId","ID","Math","random","avatarUrl","email","emailHash","btoa","toLowerCase","trim","e","avatarType","src","alt","justifyContent","fill","viewBox","d","showLastUpdated","datePrefix","Date","toLocaleDateString","year","month","day","setupTabContent","initialOpen","checked","onChange","value","options","maxHeight","overflowY","border","marginBottom","newSelected","target","filter","marginRight","selected","avatarHoverEffect","dateFormat","customDateFormat","help","enableSchema","linkBehavior","customLinkUrl","placeholder","styleTabContent","onBackgroundTypeChange","onBackgroundColorChange","onBackgroundGradientChange","onBackgroundImageChange","paddingValue","onPaddingChange","marginValue","onMarginChange","showGap","gapValue","onGapChange","onBorderStyleChange","onBorderWidthChange","onBorderColorChange","onBorderRadiusChange","shadowValue","onShadowChange","colorValue","onColorChange","hoverColorValue","contributorTitleHoverColor","onHoverColorChange","widthValue","onWidthChange","showHeight","nameHoverColor","showHoverColor","defaultTab","registerBlockType","metadata","edit","save","BaseControl","RadioImageControl","option","htmlFor","img","svg","Flex","FlexBlock","FlexItem","UnitControl","unit","onValueChange","onUnitChange","parseInt","newValue","newUnit","__experimentalBoxControl","BoxControl","PanelColorSettings","styleAttributes","gridPadding","default","gridMargin","docTitleColor","docChildrenActiveColor","borderType","buttonBorderRadius","buttonPadding","buttonMargin","buttonColor","buttonHoverColor","buttonTextColor","buttonHoverTextColor","paginationTextColor","paginationTextHoverColor","paginationBackgroundColor","paginationHoverColor","StyleControls","updateAttribute","attributeName","borderTypes","colors","colorSettings","newBgColor","newBorderColor","values","buttonText","cog","grid","PanelRow","FormTokenField","data","currentPage","setCurrentPage","loading","setLoading","hideDocGrid","docStyle","docsPerPage","excludeDocs","order","orderBy","sectionsPerDoc","articlesPerSection","showDocArticle","keepArticlesCollapsed","showViewDetails","applyStyles","paddings","margins","btnPaddings","btnradius","btnMargins","item","button","text","renderGridItem","doc","styles","rendered","renderSections","sections","section","articles","strokeWidth","stroke","strokeLinecap","strokeLinejoin","article","docStyles","docsPerPageOptions","Array","from","_","i","String","orderByOptions","orderOptions","countOptions","pages","getEntityRecords","docs","status","per_page","parent","orderby","allSections","parent_in","allArticles","processDocsData","processedDocs","toString","docSections","slice","sectionArticles","totalArticles","reduce","total","articleCount","getPagedDocs","perPage","start","end","getDisplayDocs","renderPagination","totalDocs","totalPages","ceil","paginationBaseStyle","paginationBorderColor","cursor","transition","minWidth","textAlign","activeStyle","customProperties","onClick","pageNum","isCurrentPage","displayDocs","docsMap","acc","page","docsOptions","excludeDocsDisplay","handleExcludeDocsChange","tokens","newExcludeDocs","token","found","Object","entries","find","getGridClass","suggestions","hideSearch","searchWidth","widthUnit","alignment","bgColor","hoverColor","iconColor","iconBgColor","iconHoverColor","svgHoverColor","btnPadding","btnPosition","btnRadius","shadow","RangeControl","log","alignmentOptions","hover","setHover","svgHover","setSvgHover","iconHover","setIconHover","containerStyles","inputStyles","paddingTop","background","paddingLeft","paddingRight","paddingBottom","searchStyles","borderOptions","newHideSearch","newHoverColor","newIconColor","newIconBgColor","newIconHoverColor","newSvgHoverColor","newWidthUnit","newSearchWidth","newPlaceholder","newAlignment","resetValues","newPadding","newMargin","min","max","newBorderWidth","newBorderRadius","newBorderType","newBtnPadding","newBtnPosition","newBtnRadius","marginTop","marginLeft","readOnly","onMouseEnter","onMouseLeave","fillRule","Save","clipRule","keywords","category","description","method","role","action","weDocsBlockVars","siteUrl","Button","ColorIndicator","ColorPalette","Dropdown","__experimentalDropdownContentWrapper","DropdownContentWrapper","GradientPicker","__experimentalHStack","HStack","TabPanel","__experimentalText","Text","__experimentalZStack","ZStack","ColorsControls","device","colorsControls","currentColors","themeColors","themeGradients","editorSettings","getSettings","gradients","popoverProps","placement","offset","shift","renderToggle","isOpen","onToggle","__next40pxDefaultSize","textColor","renderContent","paddingSize","enableAlpha","_currentColors$backgr","tabs","content","gradient","isLayered","linkColor","linkHoverColor","variant","isDestructive","CheckboxControl","ColorPicker","__experimentalUnitControl","ListItems","Inspector","tocTitle","heading","toUpperCase","supportedHeadings","newHeadings","h","showHierarchy","showNumbering","collapsibleOnMobile","smoothScroll","stickyMode","group","containerBackgroundColor","containerWidth","units","containerPadding","containerMargin","containerBorderStyle","containerBorderWidth","containerBorderColor","containerBorderRadius","titleColor","titleFontSize","titleFontWeight","listColor","listHoverColor","listFontSize","clientId","blockId","headings","setHeadings","mockHeadings","level","renderTocList","counter","counters","index","indent","numberText","count","n","join","href","opacity","__experimentalSpacer","Spacer","MediaUpload","MediaUploadCheck","showGradient","showImage","onSelect","media","allowedTypes","render","open","showIndividualSides","allowReset","heightValue","onHeightChange","linkValues","handleWidthChange","showToggle","_shadowValue$enabled","updateShadow","key","showPadding","showMargin","ButtonGroup","activeTab","setActiveTab","borderBottom","tab","child","tabKey","showLineHeight","showLetterSpacing","showTextTransform","showTextDecoration","updateTypography"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/AdvanceContributors/block.json b/assets/build/blocks/AdvanceContributors/block.json new file mode 100644 index 00000000..a49aedea --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/block.json @@ -0,0 +1,333 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "wedocs/contributors", + "version": "1.0.0", + "title": "Doc Contributors", + "icon": "groups", + "category": "widgets", + "description": "Display the author(s)/contributors of a doc along with the last updated date.", + "supports": { + "html": false + }, + "editorScript": "file:./index.js", + "editorStyle": "file:./index.css", + "style": "file:./style-index.css", + "render": "file:./render.php", + "attributes": { + "showTitle": { + "type": "boolean", + "default": true + }, + "title": { + "type": "string", + "default": "Contributors" + }, + "contributorDisplayMode": { + "type": "string", + "default": "all", + "enum": [ + "all", + "manual", + "main_author" + ] + }, + "selectedContributors": { + "type": "array", + "default": [] + }, + "showLastUpdated": { + "type": "boolean", + "default": true + }, + "dateFormat": { + "type": "string", + "default": "wp_default" + }, + "customDateFormat": { + "type": "string", + "default": "F j, Y" + }, + "datePrefix": { + "type": "string", + "default": "Updated on" + }, + "showAvatar": { + "type": "boolean", + "default": true + }, + "avatarType": { + "type": "string", + "default": "user_avatar", + "enum": [ + "user_avatar", + "common_icon" + ] + }, + "avatarShape": { + "type": "string", + "default": "circle", + "enum": [ + "circle", + "rounded", + "square" + ] + }, + "avatarHoverEffect": { + "type": "boolean", + "default": false + }, + "additionalCssClass": { + "type": "string", + "default": "" + }, + "enableSchema": { + "type": "boolean", + "default": false + }, + "linkBehavior": { + "type": "string", + "default": "user_profile", + "enum": [ + "user_profile", + "no_link", + "custom_link" + ] + }, + "customLinkUrl": { + "type": "string", + "default": "" + }, + "contributorGap": { + "type": "string", + "default": "10px" + }, + "typographyControls": { + "type": "object", + "default": { + "desktop": { + "fontFamily": null, + "fontSize": null, + "fontAppearance": null, + "lineHeight": null, + "letterSpacing": null, + "textDecoration": null, + "textTransform": null + }, + "tablet": { + "fontFamily": null, + "fontSize": null, + "fontAppearance": null, + "lineHeight": null, + "letterSpacing": null, + "textDecoration": null, + "textTransform": null + }, + "mobile": { + "fontFamily": null, + "fontSize": null, + "fontAppearance": null, + "lineHeight": null, + "letterSpacing": null, + "textDecoration": null, + "textTransform": null + } + } + }, + "colorsControls": { + "type": "object", + "default": { + "desktop": { + "textColor": "#333333", + "backgroundColor": "#f9f9f9", + "linkColor": "#0073aa", + "linkHoverColor": "#005177" + }, + "tablet": { + "textColor": null, + "backgroundColor": null, + "linkColor": null, + "linkHoverColor": null + }, + "mobile": { + "textColor": null, + "backgroundColor": null, + "linkColor": null, + "linkHoverColor": null + } + } + }, + "dimensionsControls": { + "type": "object", + "default": { + "desktop": { + "width": null, + "minWidth": null, + "maxWidth": null, + "height": null, + "minHeight": null, + "maxHeight": null, + "padding": { + "top": "15px", + "right": "15px", + "bottom": "15px", + "left": "15px" + }, + "margin": { + "top": "10px", + "right": "0px", + "bottom": "10px", + "left": "0px" + }, + "blockSpacing": { + "horizontal": null, + "vertical": null + } + }, + "tablet": { + "width": null, + "minWidth": null, + "maxWidth": null, + "height": null, + "minHeight": null, + "maxHeight": null, + "padding": null, + "margin": null, + "blockSpacing": null + }, + "mobile": { + "width": null, + "minWidth": null, + "maxWidth": null, + "height": null, + "minHeight": null, + "maxHeight": null, + "padding": null, + "margin": null, + "blockSpacing": null + } + } + }, + "alignmentControls": { + "type": "object", + "default": { + "desktop": { + "textAlign": null, + "alignItems": "center", + "justifyContent": "flex-start", + "direction": "row" + }, + "tablet": { + "textAlign": null, + "alignItems": null, + "justifyContent": null, + "direction": null + }, + "mobile": { + "textAlign": null, + "alignItems": null, + "justifyContent": null, + "direction": null + } + } + }, + "backgroundImageControls": { + "type": "object", + "default": { + "desktop": { + "bgUrl": null, + "bgId": null, + "bgFocalPoint": null, + "bgFixed": null, + "bgSize": "cover", + "bgWidth": "auto", + "bgRepeat": false + }, + "tablet": { + "bgUrl": null, + "bgId": null, + "bgFocalPoint": null, + "bgFixed": null, + "bgSize": null, + "bgWidth": null, + "bgRepeat": null + }, + "mobile": { + "bgUrl": null, + "bgId": null, + "bgFocalPoint": null, + "bgFixed": null, + "bgSize": null, + "bgWidth": null, + "bgRepeat": null + } + } + }, + "borderAndShadowControls": { + "type": "object", + "default": { + "desktop": { + "borderStyle": "solid", + "borderWidth": { + "top": "1px", + "right": "1px", + "bottom": "1px", + "left": "1px" + }, + "borderColor": "#dddddd", + "borderRadius": { + "topLeft": "4px", + "topRight": "4px", + "bottomLeft": "4px", + "bottomRight": "4px" + }, + "boxShadow": { + "enabled": false, + "horizontal": "0px", + "vertical": "2px", + "blur": "4px", + "spread": "0px", + "color": "rgba(0,0,0,0.1)" + } + }, + "tablet": { + "borderStyle": null, + "borderWidth": null, + "borderColor": null, + "borderRadius": null, + "boxShadow": null + }, + "mobile": { + "borderStyle": null, + "borderWidth": null, + "borderColor": null, + "borderRadius": null, + "boxShadow": null + } + } + }, + "displayControls": { + "type": "object", + "default": { + "desktop": { + "display": "block", + "visibility": "visible", + "overflow": "visible", + "zIndex": null + }, + "tablet": { + "display": null, + "visibility": null, + "overflow": null, + "zIndex": null + }, + "mobile": { + "display": null, + "visibility": null, + "overflow": null, + "zIndex": null + } + } + } + } +} \ No newline at end of file diff --git a/assets/build/blocks/AdvanceContributors/index.asset.php b/assets/build/blocks/AdvanceContributors/index.asset.php new file mode 100644 index 00000000..bf789f84 --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/index.asset.php @@ -0,0 +1 @@ + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '97793add38006e81f8ac'); diff --git a/assets/build/blocks/AdvanceContributors/index.js b/assets/build/blocks/AdvanceContributors/index.js new file mode 100644 index 00000000..417c5067 --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/index.js @@ -0,0 +1,3488 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/@wordpress/icons/build-module/library/align-center.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/align-center.js ***! + \****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const alignCenter = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (alignCenter); +//# sourceMappingURL=align-center.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/align-justify.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/align-justify.js ***! + \*****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const alignJustify = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (alignJustify); +//# sourceMappingURL=align-justify.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/align-left.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/align-left.js ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const alignLeft = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (alignLeft); +//# sourceMappingURL=align-left.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/align-right.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/align-right.js ***! + \***************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const alignRight = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (alignRight); +//# sourceMappingURL=align-right.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/arrow-down.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/arrow-down.js ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const arrowDown = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrowDown); +//# sourceMappingURL=arrow-down.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/arrow-left.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/arrow-left.js ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const arrowLeft = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrowLeft); +//# sourceMappingURL=arrow-left.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/arrow-right.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/arrow-right.js ***! + \***************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const arrowRight = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrowRight); +//# sourceMappingURL=arrow-right.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/arrow-up.js": +/*!************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/arrow-up.js ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const arrowUp = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrowUp); +//# sourceMappingURL=arrow-up.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/desktop.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/desktop.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const desktop = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (desktop); +//# sourceMappingURL=desktop.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/format-capitalize.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/format-capitalize.js ***! + \*********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const formatCapitalize = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formatCapitalize); +//# sourceMappingURL=format-capitalize.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/format-lowercase.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/format-lowercase.js ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const formatLowercase = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formatLowercase); +//# sourceMappingURL=format-lowercase.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js ***! + \************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const formatStrikethrough = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formatStrikethrough); +//# sourceMappingURL=format-strikethrough.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/format-underline.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/format-underline.js ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const formatUnderline = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formatUnderline); +//# sourceMappingURL=format-underline.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/format-uppercase.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/format-uppercase.js ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const formatUppercase = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formatUppercase); +//# sourceMappingURL=format-uppercase.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-bottom.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-bottom.js ***! + \******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyBottom = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyBottom); +//# sourceMappingURL=justify-bottom.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js ***! + \***************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyCenterVertical = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyCenterVertical); +//# sourceMappingURL=justify-center-vertical.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-center.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-center.js ***! + \******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyCenter = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyCenter); +//# sourceMappingURL=justify-center.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-left.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-left.js ***! + \****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyLeft = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M9 9v6h11V9H9zM4 20h1.5V4H4v16z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyLeft); +//# sourceMappingURL=justify-left.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-right.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-right.js ***! + \*****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyRight = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyRight); +//# sourceMappingURL=justify-right.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-space-between.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-space-between.js ***! + \*************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifySpaceBetween = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifySpaceBetween); +//# sourceMappingURL=justify-space-between.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js ***! + \****************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyStretchVertical = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyStretchVertical); +//# sourceMappingURL=justify-stretch-vertical.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/justify-top.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/justify-top.js ***! + \***************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const justifyTop = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M9 20h6V9H9v11zM4 4v1.5h16V4H4z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (justifyTop); +//# sourceMappingURL=justify-top.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/line-solid.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/line-solid.js ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const lineSolid = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M5 11.25h14v1.5H5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (lineSolid); +//# sourceMappingURL=line-solid.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/mobile.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/mobile.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const mobile = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mobile); +//# sourceMappingURL=mobile.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/seen.js": +/*!********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/seen.js ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const seen = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (seen); +//# sourceMappingURL=seen.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/shadow.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/shadow.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const shadow = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shadow); +//# sourceMappingURL=shadow.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/tablet.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/tablet.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const tablet = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tablet); +//# sourceMappingURL=tablet.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/unseen.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/unseen.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const unseen = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (unseen); +//# sourceMappingURL=unseen.js.map + +/***/ }), + +/***/ "./src/blocks/AdvanceContributors/block.json": +/*!***************************************************!*\ + !*** ./src/blocks/AdvanceContributors/block.json ***! + \***************************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/contributors","version":"1.0.0","title":"Doc Contributors","icon":"groups","category":"widgets","description":"Display the author(s)/contributors of a doc along with the last updated date.","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"showTitle":{"type":"boolean","default":true},"title":{"type":"string","default":"Contributors"},"contributorDisplayMode":{"type":"string","default":"all","enum":["all","manual","main_author"]},"selectedContributors":{"type":"array","default":[]},"showLastUpdated":{"type":"boolean","default":true},"dateFormat":{"type":"string","default":"wp_default"},"customDateFormat":{"type":"string","default":"F j, Y"},"datePrefix":{"type":"string","default":"Updated on"},"showAvatar":{"type":"boolean","default":true},"avatarType":{"type":"string","default":"user_avatar","enum":["user_avatar","common_icon"]},"avatarShape":{"type":"string","default":"circle","enum":["circle","rounded","square"]},"avatarHoverEffect":{"type":"boolean","default":false},"additionalCssClass":{"type":"string","default":""},"enableSchema":{"type":"boolean","default":false},"linkBehavior":{"type":"string","default":"user_profile","enum":["user_profile","no_link","custom_link"]},"customLinkUrl":{"type":"string","default":""},"contributorGap":{"type":"string","default":"10px"},"typographyControls":{"type":"object","default":{"desktop":{"fontFamily":null,"fontSize":null,"fontAppearance":null,"lineHeight":null,"letterSpacing":null,"textDecoration":null,"textTransform":null},"tablet":{"fontFamily":null,"fontSize":null,"fontAppearance":null,"lineHeight":null,"letterSpacing":null,"textDecoration":null,"textTransform":null},"mobile":{"fontFamily":null,"fontSize":null,"fontAppearance":null,"lineHeight":null,"letterSpacing":null,"textDecoration":null,"textTransform":null}}},"colorsControls":{"type":"object","default":{"desktop":{"textColor":"#333333","backgroundColor":"#f9f9f9","linkColor":"#0073aa","linkHoverColor":"#005177"},"tablet":{"textColor":null,"backgroundColor":null,"linkColor":null,"linkHoverColor":null},"mobile":{"textColor":null,"backgroundColor":null,"linkColor":null,"linkHoverColor":null}}},"dimensionsControls":{"type":"object","default":{"desktop":{"width":null,"minWidth":null,"maxWidth":null,"height":null,"minHeight":null,"maxHeight":null,"padding":{"top":"15px","right":"15px","bottom":"15px","left":"15px"},"margin":{"top":"10px","right":"0px","bottom":"10px","left":"0px"},"blockSpacing":{"horizontal":null,"vertical":null}},"tablet":{"width":null,"minWidth":null,"maxWidth":null,"height":null,"minHeight":null,"maxHeight":null,"padding":null,"margin":null,"blockSpacing":null},"mobile":{"width":null,"minWidth":null,"maxWidth":null,"height":null,"minHeight":null,"maxHeight":null,"padding":null,"margin":null,"blockSpacing":null}}},"alignmentControls":{"type":"object","default":{"desktop":{"textAlign":null,"alignItems":"center","justifyContent":"flex-start","direction":"row"},"tablet":{"textAlign":null,"alignItems":null,"justifyContent":null,"direction":null},"mobile":{"textAlign":null,"alignItems":null,"justifyContent":null,"direction":null}}},"backgroundImageControls":{"type":"object","default":{"desktop":{"bgUrl":null,"bgId":null,"bgFocalPoint":null,"bgFixed":null,"bgSize":"cover","bgWidth":"auto","bgRepeat":false},"tablet":{"bgUrl":null,"bgId":null,"bgFocalPoint":null,"bgFixed":null,"bgSize":null,"bgWidth":null,"bgRepeat":null},"mobile":{"bgUrl":null,"bgId":null,"bgFocalPoint":null,"bgFixed":null,"bgSize":null,"bgWidth":null,"bgRepeat":null}}},"borderAndShadowControls":{"type":"object","default":{"desktop":{"borderStyle":"solid","borderWidth":{"top":"1px","right":"1px","bottom":"1px","left":"1px"},"borderColor":"#dddddd","borderRadius":{"topLeft":"4px","topRight":"4px","bottomLeft":"4px","bottomRight":"4px"},"boxShadow":{"enabled":false,"horizontal":"0px","vertical":"2px","blur":"4px","spread":"0px","color":"rgba(0,0,0,0.1)"}},"tablet":{"borderStyle":null,"borderWidth":null,"borderColor":null,"borderRadius":null,"boxShadow":null},"mobile":{"borderStyle":null,"borderWidth":null,"borderColor":null,"borderRadius":null,"boxShadow":null}}},"displayControls":{"type":"object","default":{"desktop":{"display":"block","visibility":"visible","overflow":"visible","zIndex":null},"tablet":{"display":null,"visibility":null,"overflow":null,"zIndex":null},"mobile":{"display":null,"visibility":null,"overflow":null,"zIndex":null}}}}}'); + +/***/ }), + +/***/ "./src/blocks/AdvanceContributors/edit.js": +/*!************************************************!*\ + !*** ./src/blocks/AdvanceContributors/edit.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/core-data */ "@wordpress/core-data"); +/* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/desktop.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/mobile.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/tablet.js"); +/* harmony import */ var _commonControls_TypographyControls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../commonControls/TypographyControls */ "./src/blocks/commonControls/TypographyControls.js"); +/* harmony import */ var _commonControls_ColorsControls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../commonControls/ColorsControls */ "./src/blocks/commonControls/ColorsControls.js"); +/* harmony import */ var _commonControls_DimensionsControls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../commonControls/DimensionsControls */ "./src/blocks/commonControls/DimensionsControls.js"); +/* harmony import */ var _commonControls_AlignmentControls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../commonControls/AlignmentControls */ "./src/blocks/commonControls/AlignmentControls.js"); +/* harmony import */ var _commonControls_BackgroundImageControls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../commonControls/BackgroundImageControls */ "./src/blocks/commonControls/BackgroundImageControls.js"); +/* harmony import */ var _commonControls_BorderAndShadowControls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../commonControls/BorderAndShadowControls */ "./src/blocks/commonControls/BorderAndShadowControls.js"); +/* harmony import */ var _commonControls_DisplayControls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../commonControls/DisplayControls */ "./src/blocks/commonControls/DisplayControls.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__); + + + + + + + + +// Import common controls + + + + + + + + +const Edit = props => { + const { + attributes, + setAttributes + } = props; + const [users, setUsers] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const [isLoadingUsers, setIsLoadingUsers] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const [actualContributors, setActualContributors] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const [isLoadingContributors, setIsLoadingContributors] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const [currentDevice, setCurrentDevice] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)('desktop'); + + // Get current post data + const currentPost = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_4__.useSelect)(select => { + const { + getCurrentPostId, + getCurrentPostType + } = select('core/editor') || {}; + if (!getCurrentPostId) return null; + return select(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__.store).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId()); + }, []); + + // Device configuration + const devices = [{ + key: 'desktop', + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Desktop', 'wedocs') + }, { + key: 'tablet', + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__["default"], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Tablet', 'wedocs') + }, { + key: 'mobile', + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Mobile', 'wedocs') + }]; + + // Generate responsive styles for preview + const getResponsiveStyles = () => { + const currentTypography = attributes.typographyControls[currentDevice] || {}; + const currentColors = attributes.colorsControls[currentDevice] || {}; + const currentDimensions = attributes.dimensionsControls[currentDevice] || {}; + const currentAlignment = attributes.alignmentControls[currentDevice] || {}; + const currentBorderShadow = attributes.borderAndShadowControls[currentDevice] || {}; + const currentBackgroundImage = attributes.backgroundImageControls[currentDevice] || {}; + + // Build container styles + const containerStyles = { + // Typography + fontFamily: currentTypography.fontFamily || undefined, + fontSize: currentTypography.fontSize || undefined, + fontWeight: currentTypography.fontAppearance?.fontWeight || undefined, + fontStyle: currentTypography.fontAppearance?.fontStyle || undefined, + lineHeight: currentTypography.lineHeight || undefined, + letterSpacing: currentTypography.letterSpacing || undefined, + textDecoration: currentTypography.textDecoration || undefined, + textTransform: currentTypography.textTransform || undefined, + // Colors + color: currentColors.textColor || undefined, + backgroundColor: currentColors.backgroundColor || undefined, + // Dimensions + width: currentDimensions.width || undefined, + minWidth: currentDimensions.minWidth || undefined, + maxWidth: currentDimensions.maxWidth || undefined, + height: currentDimensions.height || undefined, + minHeight: currentDimensions.minHeight || undefined, + maxHeight: currentDimensions.maxHeight || undefined, + padding: currentDimensions.padding ? `${currentDimensions.padding.top || '0'} ${currentDimensions.padding.right || '0'} ${currentDimensions.padding.bottom || '0'} ${currentDimensions.padding.left || '0'}` : undefined, + margin: currentDimensions.margin ? `${currentDimensions.margin.top || '0'} ${currentDimensions.margin.right || '0'} ${currentDimensions.margin.bottom || '0'} ${currentDimensions.margin.left || '0'}` : undefined, + // Alignment + textAlign: currentAlignment.textAlign || undefined, + display: 'flex', + flexDirection: currentAlignment.direction || 'row', + alignItems: currentAlignment.alignItems || 'center', + justifyContent: currentAlignment.justifyContent || 'flex-start', + flexWrap: 'wrap', + gap: attributes.contributorGap || '10px', + // Border and Shadow + border: currentBorderShadow.border ? `${currentBorderShadow.border.width || '0'} ${currentBorderShadow.border.style || 'solid'} ${currentBorderShadow.border.color || 'transparent'}` : undefined, + borderRadius: currentBorderShadow.borderRadius ? `${currentBorderShadow.borderRadius.topLeft || '0'} ${currentBorderShadow.borderRadius.topRight || '0'} ${currentBorderShadow.borderRadius.bottomRight || '0'} ${currentBorderShadow.borderRadius.bottomLeft || '0'}` : undefined, + boxShadow: currentBorderShadow.boxShadow && currentBorderShadow.boxShadow.x ? `${currentBorderShadow.boxShadow.inset ? 'inset ' : ''}${currentBorderShadow.boxShadow.x || '0px'} ${currentBorderShadow.boxShadow.y || '0px'} ${currentBorderShadow.boxShadow.blur || '0px'} ${currentBorderShadow.boxShadow.spread || '0px'} ${currentBorderShadow.boxShadow.color || 'rgba(0,0,0,0.2)'}` : undefined, + // Background Image + backgroundImage: currentBackgroundImage.bgUrl ? `url(${currentBackgroundImage.bgUrl})` : undefined, + backgroundSize: currentBackgroundImage.bgSize || undefined, + backgroundPosition: currentBackgroundImage.bgFocalPoint ? `${currentBackgroundImage.bgFocalPoint.x * 100}% ${currentBackgroundImage.bgFocalPoint.y * 100}%` : undefined, + backgroundRepeat: currentBackgroundImage.bgRepeat ? 'repeat' : 'no-repeat', + backgroundAttachment: currentBackgroundImage.bgFixed ? 'fixed' : 'scroll' + }; + + // Remove undefined values + Object.keys(containerStyles).forEach(key => { + if (containerStyles[key] === undefined) { + delete containerStyles[key]; + } + }); + return containerStyles; + }; + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)({ + className: `wedocs-contributors ${attributes.additionalCssClass}`, + style: getResponsiveStyles() + }); + + // Fetch users when component mounts or when manual selection mode is active + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (attributes.contributorDisplayMode === 'manual') { + setIsLoadingUsers(true); + wp.apiFetch({ + path: '/wp/v2/users?per_page=100&context=edit' + }).then(users => { + setUsers(users); + setIsLoadingUsers(false); + }).catch(() => { + setIsLoadingUsers(false); + }); + } + }, [attributes.contributorDisplayMode]); + + // Fetch actual contributors based on current post and display mode + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (!currentPost) return; + const fetchContributors = async () => { + setIsLoadingContributors(true); + try { + const contributors = []; + switch (attributes.contributorDisplayMode) { + case 'main_author': + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + break; + case 'manual': + if (attributes.selectedContributors.length > 0) { + for (const userId of attributes.selectedContributors) { + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${userId}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch user ${userId}:`, error); + } + } + } + break; + case 'all': + default: + // Get post author + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + + // Get revisions if post is saved + if (currentPost.id) { + try { + const revisions = await wp.apiFetch({ + path: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50` + }); + const contributorIds = [currentPost.author]; + for (const revision of revisions) { + if (revision.author && !contributorIds.includes(revision.author)) { + contributorIds.push(revision.author); + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${revision.author}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch revision author ${revision.author}:`, error); + } + } + } + } catch (error) { + console.warn('Could not fetch revisions:', error); + } + } + break; + } + setActualContributors(contributors); + } catch (error) { + console.error('Error fetching contributors:', error); + setActualContributors([]); + } finally { + setIsLoadingContributors(false); + } + }; + fetchContributors(); + }, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]); + const renderPreview = () => { + // Show loading state + if (isLoadingContributors) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Placeholder, { + icon: "groups", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Contributors', 'wedocs'), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("div", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Loading contributors...', 'wedocs') + })] + }); + } + if (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Placeholder, { + icon: "groups", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Contributors', 'wedocs'), + instructions: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select contributors from the settings panel.', 'wedocs') + }); + } + + // Use actual contributors or fallback to demo data + let displayContributors = actualContributors; + if (!displayContributors || displayContributors.length === 0) { + // Fallback to demo data for new posts or when no contributors found + displayContributors = [{ + id: 1, + name: 'Demo Author', + avatar_urls: { + 48: weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_2.png" + } + }]; + } + const currentColors = attributes.colorsControls[currentDevice] || {}; + const linkColor = currentColors.linkColor || '#0073aa'; + const linkHoverColor = currentColors.linkHoverColor || '#005177'; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("div", { + children: [attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("h3", { + style: { + marginBottom: '10px' + }, + children: attributes.title + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("div", { + style: { + display: 'flex', + alignItems: 'center', + flexWrap: 'wrap', + gap: attributes.contributorGap || '10px' + }, + children: displayContributors.map(contributor => { + // Handle both API response format and demo format + const contributorName = contributor.name || contributor.display_name || 'Unknown'; + const contributorId = contributor.id || contributor.ID || Math.random(); + + // Get avatar URL with fallbacks + let avatarUrl = weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_1.png"; + if (contributor.avatar_urls) { + avatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24]; + } + + // Avatar styles + const avatarStyles = { + width: '32px', + height: '32px', + borderRadius: attributes.avatarShape === 'circle' ? '50%' : attributes.avatarShape === 'rounded' ? '8px' : '0', + marginRight: '8px', + objectFit: 'cover' + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center' + }, + children: [attributes.showAvatar && (attributes.avatarType === 'user_avatar' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("img", { + src: avatarUrl, + alt: contributorName, + style: avatarStyles + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("div", { + style: { + ...avatarStyles, + backgroundColor: '#0073aa', + display: 'flex', + alignItems: 'center', + justifyContent: 'center' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("svg", { + width: "16", + height: "16", + fill: "white", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("path", { + d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" + }) + }) + })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("span", { + style: { + color: linkColor, + cursor: 'pointer', + fontSize: '14px', + fontWeight: '600' + }, + children: contributorName + })] + }, contributorId); + }) + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("div", { + style: { + marginTop: '10px', + fontSize: '12px', + color: '#666666' + }, + children: [attributes.datePrefix, " ", new Date().toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric' + })] + })] + }); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('General Settings', 'wedocs'), + initialOpen: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Title', 'wedocs'), + checked: attributes.showTitle, + onChange: value => setAttributes({ + showTitle: value + }) + }), attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title', 'wedocs'), + value: attributes.title, + onChange: value => setAttributes({ + title: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Contributor Display', 'wedocs'), + value: attributes.contributorDisplayMode, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show all contributors', 'wedocs'), + value: 'all' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Manually select contributors', 'wedocs'), + value: 'manual' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show only main author', 'wedocs'), + value: 'main_author' + }], + onChange: value => setAttributes({ + contributorDisplayMode: value + }) + }), attributes.contributorDisplayMode === 'manual' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Contributors', 'wedocs') + }), isLoadingUsers ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("div", { + style: { + maxHeight: '200px', + overflowY: 'auto', + border: '1px solid #ddd', + padding: '10px' + }, + children: users.map(user => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("label", { + style: { + display: 'block', + marginBottom: '5px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("input", { + type: "checkbox", + checked: attributes.selectedContributors.includes(user.id), + onChange: e => { + const newSelected = e.target.checked ? [...attributes.selectedContributors, user.id] : attributes.selectedContributors.filter(id => id !== user.id); + setAttributes({ + selectedContributors: newSelected + }); + }, + style: { + marginRight: '8px' + } + }), user.name] + }, user.id)) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Settings', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Avatar', 'wedocs'), + checked: attributes.showAvatar, + onChange: value => setAttributes({ + showAvatar: value + }) + }), attributes.showAvatar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Type', 'wedocs'), + selected: attributes.avatarType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('User Avatar', 'wedocs'), + value: 'user_avatar' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Common Icon', 'wedocs'), + value: 'common_icon' + }], + onChange: value => setAttributes({ + avatarType: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Shape', 'wedocs'), + value: attributes.avatarShape, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Circle', 'wedocs'), + value: 'circle' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Rounded', 'wedocs'), + value: 'rounded' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Square', 'wedocs'), + value: 'square' + }], + onChange: value => setAttributes({ + avatarShape: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Effect', 'wedocs'), + checked: attributes.avatarHoverEffect, + onChange: value => setAttributes({ + avatarHoverEffect: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Settings', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Last Updated Date', 'wedocs'), + checked: attributes.showLastUpdated, + onChange: value => setAttributes({ + showLastUpdated: value + }) + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Format', 'wedocs'), + selected: attributes.dateFormat, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('WordPress Default', 'wedocs'), + value: 'wp_default' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Format', 'wedocs'), + value: 'custom' + }], + onChange: value => setAttributes({ + dateFormat: value + }) + }), attributes.dateFormat === 'custom' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Date Format', 'wedocs'), + value: attributes.customDateFormat, + onChange: value => setAttributes({ + customDateFormat: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Use PHP date format. E.g., F j, Y for "January 1, 2023"', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Prefix Text', 'wedocs'), + value: attributes.datePrefix, + onChange: value => setAttributes({ + datePrefix: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Advanced', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Additional CSS Classes', 'wedocs'), + value: attributes.additionalCssClass, + onChange: value => setAttributes({ + additionalCssClass: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Separate multiple classes with spaces', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enable Schema Markup', 'wedocs'), + checked: attributes.enableSchema, + onChange: value => setAttributes({ + enableSchema: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Output structured data for author and dateModified', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Link Behavior', 'wedocs'), + value: attributes.linkBehavior, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Link to user profile', 'wedocs'), + value: 'user_profile' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('No link', 'wedocs'), + value: 'no_link' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom link', 'wedocs'), + value: 'custom_link' + }], + onChange: value => setAttributes({ + linkBehavior: value + }) + }), attributes.linkBehavior === 'custom_link' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Link URL', 'wedocs'), + value: attributes.customLinkUrl, + onChange: value => setAttributes({ + customLinkUrl: value + }), + placeholder: "https://example.com/author" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Contributor Gap', 'wedocs'), + value: attributes.contributorGap, + onChange: value => setAttributes({ + contributorGap: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Space between contributors (e.g., 10px)', 'wedocs') + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Style Controls', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("div", { + style: { + marginBottom: '16px' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Device', 'wedocs'), + value: currentDevice, + onChange: setCurrentDevice, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: devices.map(device => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOption, { + value: device.key, + label: device.label, + icon: device.icon + }, device.key)) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TabPanel, { + tabs: [{ + name: 'typography', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Typography', 'wedocs') + }, { + name: 'colors', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Colors', 'wedocs') + }, { + name: 'dimensions', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dimensions', 'wedocs') + }, { + name: 'alignment', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Alignment', 'wedocs') + }, { + name: 'background', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background', 'wedocs') + }, { + name: 'border', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border & Shadow', 'wedocs') + }, { + name: 'display', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Display', 'wedocs') + }], + children: tab => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("div", { + style: { + paddingTop: '16px' + }, + children: [tab.name === 'typography' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_TypographyControls__WEBPACK_IMPORTED_MODULE_9__["default"], { + attributes: attributes, + setAttributes: setAttributes, + device: currentDevice + }), tab.name === 'colors' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_ColorsControls__WEBPACK_IMPORTED_MODULE_10__["default"], { + attributes: attributes, + setAttributes: setAttributes, + device: currentDevice + }), tab.name === 'dimensions' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_DimensionsControls__WEBPACK_IMPORTED_MODULE_11__["default"], { + attributes: attributes, + setAttributes: setAttributes, + device: currentDevice + }), tab.name === 'alignment' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_AlignmentControls__WEBPACK_IMPORTED_MODULE_12__["default"], { + attributes: attributes, + setAttributes: setAttributes, + device: currentDevice + }), tab.name === 'background' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_BackgroundImageControls__WEBPACK_IMPORTED_MODULE_13__["default"], { + attributes: attributes, + setAttributes: setAttributes, + device: currentDevice + }), tab.name === 'border' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_BorderAndShadowControls__WEBPACK_IMPORTED_MODULE_14__["default"], { + attributes: attributes, + setAttributes: setAttributes, + device: currentDevice + }), tab.name === 'display' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_commonControls_DisplayControls__WEBPACK_IMPORTED_MODULE_15__["default"], { + attributes: attributes, + setAttributes: setAttributes + })] + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)("div", { + ...blockProps, + children: renderPreview() + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/AdvanceContributors/index.js": +/*!*************************************************!*\ + !*** ./src/blocks/AdvanceContributors/index.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./edit */ "./src/blocks/AdvanceContributors/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./src/blocks/AdvanceContributors/block.json"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/AdvanceContributors/style.scss"); + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_1__["default"], + /** + * @see ./save.js + */ + save: () => null +}); + +/***/ }), + +/***/ "./src/blocks/AdvanceContributors/style.scss": +/*!***************************************************!*\ + !*** ./src/blocks/AdvanceContributors/style.scss ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/commonControls/AlignmentControls.js": +/*!********************************************************!*\ + !*** ./src/blocks/commonControls/AlignmentControls.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/align-center.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/align-justify.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/align-left.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/align-right.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/arrow-down.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/arrow-left.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/arrow-right.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/arrow-up.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-bottom.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-left.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-center.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-right.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-space-between.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/justify-top.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__); + + + + +const AlignmentControls = ({ + attributes, + setAttributes, + device +}) => { + const { + alignmentControls + } = attributes; + const currentAlignment = alignmentControls[device] || {}; + const handleDirectionAlignmentChange = value => { + setAttributes({ + alignmentControls: { + ...alignmentControls, + [device]: { + ...currentAlignment, + direction: value + } + } + }); + }; + const handleTextAlignmentChange = value => { + setAttributes({ + alignmentControls: { + ...alignmentControls, + [device]: { + ...currentAlignment, + textAlign: value + } + } + }); + }; + const handleHorizontalAlignmentChange = value => { + setAttributes({ + alignmentControls: { + ...alignmentControls, + [device]: { + ...currentAlignment, + justifyContent: value + } + } + }); + }; + const handleVerticalAlignmentChange = value => { + setAttributes({ + alignmentControls: { + ...alignmentControls, + [device]: { + ...currentAlignment, + alignItems: value + } + } + }); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Direction', 'wedocs'), + value: currentAlignment.direction || '', + onChange: handleDirectionAlignmentChange, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "row", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Row', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "column", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Column', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "row-reverse", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Row reverse', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "column-reverse", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Column reverse', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_9__["default"] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Horizontal', 'wedocs'), + value: currentAlignment.justifyContent || '', + onChange: handleHorizontalAlignmentChange, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "flex-start", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align items left', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "center", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align items center', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "flex-end", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align items right', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_14__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "space-between", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Space between', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_15__["default"] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Vertical', 'wedocs'), + value: currentAlignment.alignItems || '', + onChange: handleVerticalAlignmentChange, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "flex-start", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align items top', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_17__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "center", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align items middle', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_13__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "flex-end", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Align items bottom', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_10__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "space-between", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Space between', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_16__["default"] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text', 'wedocs'), + value: currentAlignment.textAlign || '', + onChange: handleTextAlignmentChange, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "left", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Left', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "center", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Center', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "right", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Right', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOptionIcon, { + value: "justify", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Justify', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__["default"] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Reset All', 'wedocs'), + style: { + width: '100%', + justifyContent: 'center' + }, + onClick: () => { + setAttributes({ + alignmentControls: { + ...alignmentControls, + [device]: { + ...currentAlignment, + textAlign: null, + alignItems: null, + justifyContent: null, + direction: null + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AlignmentControls); + +/***/ }), + +/***/ "./src/blocks/commonControls/BackgroundImageControls.js": +/*!**************************************************************!*\ + !*** ./src/blocks/commonControls/BackgroundImageControls.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const BackgroundImageControls = ({ + attributes, + setAttributes, + device +}) => { + const { + backgroundImageControls + } = attributes; + const currentBackgroundImage = backgroundImageControls[device] || {}; + const ALLOWED_MEDIA_TYPES = ['image']; + + // Handle focal point change + const handleFocalPointChange = newFocalPoint => { + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgFocalPoint: newFocalPoint + } + } + }); + }; + const handleBackgroundImageSizeChange = value => { + let newFocalPoint = currentBackgroundImage.bgFocalPoint || {}; + let newBgRepeat = currentBackgroundImage.bgRepeat || false; + + // Set focal point and repeat based on size + if (value === 'cover') { + newFocalPoint = null; + newBgRepeat = null; + } else if (value === 'contain') { + newFocalPoint = { + x: 0.5, + y: 0.5 + }; // 50% 50% + newBgRepeat = false; + } else if (value === 'tile') { + newFocalPoint = { + x: 0.5, + y: 0 + }; // 50% 0px + newBgRepeat = true; + } + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgSize: value, + bgFocalPoint: newFocalPoint, + bgRepeat: newBgRepeat + } + } + }); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "wedocs-background-image-controls", + style: { + display: 'flex', + flexDirection: 'column', + gap: '16px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__.MediaUploadCheck, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__.MediaUpload, { + onSelect: media => { + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgUrl: media.url, + bgId: media.id + } + } + }); + }, + allowedTypes: ALLOWED_MEDIA_TYPES, + value: currentBackgroundImage.bgId, + render: ({ + open + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: open, + style: { + width: '100%', + justifyContent: 'center', + border: '1px solid #ddd' + }, + children: currentBackgroundImage.bgUrl ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Change Background Image', 'wedocs') : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Add Background Image', 'wedocs') + }) + }) + }), currentBackgroundImage.bgUrl && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FocalPointPicker, { + __nextHasNoMarginBottom: true, + url: currentBackgroundImage.bgUrl || '', + value: currentBackgroundImage.bgFocalPoint || {}, + onDragStart: handleFocalPointChange, + onDrag: handleFocalPointChange, + onChange: handleFocalPointChange + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ToggleControl, { + __nextHasNoMarginBottom: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Fixed background', 'wedocs'), + checked: currentBackgroundImage.bgFixed || false, + onChange: value => { + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgFixed: value + } + } + }); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Size', 'wedocs'), + value: currentBackgroundImage.bgSize || 'cover', + onChange: handleBackgroundImageSizeChange, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOption, { + value: "cover", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cover', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOption, { + value: "contain", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Contain', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalToggleGroupControlOption, { + value: "tile", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Tile', 'wedocs') + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Flex, { + style: { + gap: '8px', + justifyContent: 'flex-start' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FlexItem, { + style: { + maxWidth: '100px' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + value: currentBackgroundImage.bgWidth || 'auto', + disabled: currentBackgroundImage.bgSize !== 'tile', + onChange: value => { + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgWidth: value + } + } + }); + }, + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Auto', 'wedocs') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ToggleControl, { + __nextHasNoMarginBottom: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Repeat', 'wedocs'), + disabled: !(currentBackgroundImage.bgSize === 'contain' || currentBackgroundImage.bgSize === 'tile'), + checked: currentBackgroundImage.bgRepeat || false, + onChange: value => { + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgRepeat: value + } + } + }); + } + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Reset All', 'wedocs'), + style: { + width: '100%', + justifyContent: 'center' + }, + onClick: () => { + setAttributes({ + backgroundImageControls: { + ...backgroundImageControls, + [device]: { + ...currentBackgroundImage, + bgUrl: null, + bgId: null, + bgFocalPoint: null, + bgFixed: null, + bgSize: null, + bgWidth: null, + bgRepeat: null + } + } + }); + } + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BackgroundImageControls); + +/***/ }), + +/***/ "./src/blocks/commonControls/BorderAndShadowControls.js": +/*!**************************************************************!*\ + !*** ./src/blocks/commonControls/BorderAndShadowControls.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/shadow.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__); + + + + + +const BorderAndShadowControls = ({ + attributes, + setAttributes, + device +}) => { + const { + borderAndShadowControls + } = attributes; + const currentBorderAndShadow = borderAndShadowControls[device] || {}; + const themeColors = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useSetting)('color.palette'); + + // Provide default values for border radius + const defaultBorderRadius = { + topLeft: undefined, + topRight: undefined, + bottomLeft: undefined, + bottomRight: undefined + }; + + // Default box shadow values + const defaultBoxShadow = { + x: '0px', + y: '0px', + blur: '0px', + spread: '0px', + color: 'rgba(0, 0, 0, 0.2)', + inset: false + }; + const currentBoxShadow = currentBorderAndShadow.boxShadow || defaultBoxShadow; + const handleShadowChange = (property, value) => { + setAttributes({ + borderAndShadowControls: { + ...borderAndShadowControls, + [device]: { + ...currentBorderAndShadow, + boxShadow: { + ...currentBoxShadow, + [property]: value + } + } + } + }); + }; + const handleInsetChange = value => { + handleShadowChange('inset', value === 'true'); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + className: "wedocs-border-and-shadow-controls", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.BorderBoxControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border', 'wedocs'), + value: currentBorderAndShadow.border, + popoverOffset: 36, + popoverPlacement: "left-start", + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'wedocs') + }], + enableAlpha: true, + onChange: value => { + setAttributes({ + borderAndShadowControls: { + ...borderAndShadowControls, + [device]: { + ...currentBorderAndShadow, + border: value + } + } + }); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.__experimentalBorderRadiusControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'wedocs'), + values: currentBorderAndShadow.borderRadius || defaultBorderRadius, + onChange: value => { + setAttributes({ + borderAndShadowControls: { + ...borderAndShadowControls, + [device]: { + ...currentBorderAndShadow, + borderRadius: value + } + } + }); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Dropdown, { + style: { + width: '100%', + borderTop: '1px solid #ddd', + borderTopLeftRadius: '2px', + borderTopRightRadius: '2px' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Icon, { + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Drop Shadow', 'wedocs') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalDropdownContentWrapper, { + style: { + width: '280px' + }, + paddingSize: "medium", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPalette, { + style: { + marginBottom: '8px' + }, + enableAlpha: true, + value: currentBoxShadow.color, + clearable: false, + onChange: color => handleShadowChange('color', color) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControl, { + value: currentBoxShadow.inset ? 'true' : 'false', + onChange: handleInsetChange, + isBlock: true, + __nextHasNoMarginBottom: true, + __next40pxDefaultSize: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOption, { + value: "false", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Outset', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOption, { + value: "true", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Inset', 'wedocs') + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + display: 'grid', + gridTemplateColumns: '1fr 1fr', + gap: '12px', + marginTop: '16px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('X Position', 'wedocs'), + value: currentBoxShadow.x || '0px', + onChange: value => handleShadowChange('x', value || '0px') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Y Position', 'wedocs'), + value: currentBoxShadow.y || '0px', + onChange: value => handleShadowChange('y', value || '0px') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Blur', 'wedocs'), + value: currentBoxShadow.blur || '0px', + onChange: value => handleShadowChange('blur', value || '0px'), + min: 0 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Spread', 'wedocs'), + value: currentBoxShadow.spread || '0px', + onChange: value => handleShadowChange('spread', value || '0px') + })] + })] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Reset All', 'wedocs'), + style: { + width: '100%', + justifyContent: 'center' + }, + onClick: () => { + setAttributes({ + borderAndShadowControls: { + ...borderAndShadowControls, + [device]: { + ...currentBorderAndShadow, + border: {}, + borderRadius: null, + boxShadow: {} + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BorderAndShadowControls); + +/***/ }), + +/***/ "./src/blocks/commonControls/ColorsControls.js": +/*!*****************************************************!*\ + !*** ./src/blocks/commonControls/ColorsControls.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); +/* eslint-disable @wordpress/no-unsafe-wp-apis */ + + + + +const ColorsControls = ({ + attributes, + setAttributes, + isTextColor = false, + isBackgroundColor = false, + isLinkColor = false +}) => { + const { + colorsControls + } = attributes; + const currentColors = colorsControls[device] || {}; + + // Fetch theme colors and gradients + const { + themeColors, + themeGradients + } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useSelect)(select => { + const editorSettings = select('core/block-editor').getSettings(); + return { + themeColors: editorSettings.colors, + themeGradients: editorSettings.gradients + }; + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "wedocs-colors-controls", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.textColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "medium", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.textColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'wedocs') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + textColor: color + } + } + }) + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.backgroundColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background', 'wedocs') + })] + }) + }), + renderContent: () => { + var _currentColors$backgr; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TabPanel, { + tabs: [{ + name: 'color', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-wedocs-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.backgroundColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'wedocs') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + backgroundColor: color + } + } + }) + }) + }) + }, { + name: 'gradient', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient', 'wedocs'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-wedocs-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.GradientPicker, { + value: (_currentColors$backgr = currentColors.backgroundColor) !== null && _currentColors$backgr !== void 0 ? _currentColors$backgr : null, + gradients: [{ + gradients: themeGradients, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'wedocs') + }], + onChange: gradient => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + backgroundColor: gradient + } + } + }) + }) + }) + }], + children: ({ + content + }) => content + }) + }); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalZStack, { + offset: -8, + isLayered: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.linkColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.linkHoverColor + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Link', 'wedocs') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TabPanel, { + tabs: [{ + name: 'default', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Default', 'wedocs'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-wedocs-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.linkColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'wedocs') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + linkColor: color + } + } + }) + }) + }) + }, { + name: 'hover-color', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover', 'wedocs'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-wedocs-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.linkHoverColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'wedocs') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + linkHoverColor: color + } + } + }) + }) + }) + }], + children: ({ + content + }) => content + }) + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Reset All', 'wedocs'), + style: { + width: '100%', + justifyContent: 'center', + marginTop: '16px' + }, + onClick: () => { + setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + textColor: undefined, + backgroundColor: undefined, + linkColor: undefined, + linkHoverColor: undefined + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ColorsControls); + +/***/ }), + +/***/ "./src/blocks/commonControls/DimensionsControls.js": +/*!*********************************************************!*\ + !*** ./src/blocks/commonControls/DimensionsControls.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const DimensionsControls = ({ + attributes, + setAttributes, + device +}) => { + const { + dimensionsControls + } = attributes; + const currentDimensions = dimensionsControls[device] || {}; + const handlePaddingChange = value => { + const newDimensionsControls = { + ...dimensionsControls, + [device]: { + ...currentDimensions, + padding: { + ...currentDimensions.padding, + ...value + } + } + }; + setAttributes({ + dimensionsControls: newDimensionsControls + }); + }; + const handleMarginChange = value => { + const newDimensionsControls = { + ...dimensionsControls, + [device]: { + ...currentDimensions, + margin: { + ...currentDimensions.margin, + ...value + } + } + }; + setAttributes({ + dimensionsControls: newDimensionsControls + }); + }; + const handleBlockSpacingChange = value => { + const newDimensionsControls = { + ...dimensionsControls, + [device]: { + ...currentDimensions, + blockSpacing: { + ...currentDimensions.blockSpacing, + ...value + } + } + }; + setAttributes({ + dimensionsControls: newDimensionsControls + }); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "wedocs-dimensions-control", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.__experimentalSpacingSizesControl, { + values: currentDimensions.padding || {}, + onChange: handlePaddingChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Padding', 'wedocs'), + minimumCustomValue: 0 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.__experimentalSpacingSizesControl, { + values: currentDimensions.margin || {}, + onChange: handleMarginChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Margin', 'wedocs'), + minimumCustomValue: -Infinity + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.__experimentalSpacingSizesControl, { + values: currentDimensions.blockSpacing || {}, + onChange: handleBlockSpacingChange, + sides: ['horizontal', 'vertical'], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Block Spacing', 'wedocs'), + minimumCustomValue: 0 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalVStack, { + spacing: 3, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalHStack, { + justify: "space-between", + alignment: "center", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("h3", { + style: { + fontSize: '11px', + fontWeight: '500', + lineHeight: '1.4', + margin: '0' + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Width', 'wedocs') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalHStack, { + spacing: 2, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Fixed', 'wedocs'), + value: currentDimensions.width || '', + onChange: value => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + width: value + } + } + }); + } + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Min', 'wedocs'), + value: currentDimensions.minWidth || '', + onChange: value => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + minWidth: value + } + } + }); + } + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Max', 'wedocs'), + value: currentDimensions.maxWidth || '', + onChange: value => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + maxWidth: value + } + } + }); + } + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalVStack, { + spacing: 3, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalHStack, { + justify: "space-between", + alignment: "center", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("h3", { + style: { + fontSize: '11px', + fontWeight: '500', + lineHeight: '1.4', + margin: '0' + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Height', 'wedocs') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalHStack, { + spacing: 2, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Fixed', 'wedocs'), + value: currentDimensions.height || '', + onChange: value => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + height: value + } + } + }); + } + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Min', 'wedocs'), + value: currentDimensions.minHeight || '', + onChange: value => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + minHeight: value + } + } + }); + } + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.__experimentalUnitControl, { + __next40pxDefaultSize: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Max', 'wedocs'), + value: currentDimensions.maxHeight || '', + onChange: value => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + maxHeight: value + } + } + }); + } + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Reset All', 'wedocs'), + style: { + width: '100%', + justifyContent: 'center' + }, + onClick: () => { + setAttributes({ + dimensionsControls: { + ...dimensionsControls, + [device]: { + ...currentDimensions, + width: null, + minWidth: null, + maxWidth: null, + height: null, + minHeight: null, + maxHeight: null, + padding: null, + margin: null, + blockSpacing: null + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DimensionsControls); + +/***/ }), + +/***/ "./src/blocks/commonControls/DisplayControls.js": +/*!******************************************************!*\ + !*** ./src/blocks/commonControls/DisplayControls.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/desktop.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/mobile.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/seen.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/unseen.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/tablet.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__); + + + + +const DisplayControls = ({ + attributes, + setAttributes +}) => { + // Configuration for each device type + const deviceConfig = [{ + key: 'mobile', + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__["default"], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hide on mobile', 'wedocs') + }, { + key: 'tablet', + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hide on tablet', 'wedocs') + }, { + key: 'desktop', + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__["default"], + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hide on desktop', 'wedocs') + }]; + + // Common styles + const cardStyle = { + padding: '4px 4px 4px 10px', + borderRadius: '2px', + borderColor: '#ddd' + }; + const flexItemStyle = { + display: 'flex', + alignItems: 'center', + gap: '4px', + flexGrow: 1, + borderRight: '1px solid #ddd' + }; + const labelStyle = { + fontSize: '12px', + fontWeight: '600', + lineHeight: '1.4', + display: 'block', + marginBottom: '16px', + padding: '0px' + }; + + // Handler for toggling device visibility + const toggleDeviceVisibility = deviceKey => { + setAttributes({ + displayControls: { + ...attributes.displayControls, + [deviceKey]: !attributes.displayControls[deviceKey] + } + }); + }; + + // Render individual device control card + const renderDeviceCard = ({ + key, + icon, + label + }) => { + const isHidden = attributes.displayControls[key]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Card, { + style: cardStyle, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Flex, { + gap: "0", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FlexItem, { + style: { + ...flexItemStyle, + opacity: isHidden ? 0.5 : 1 + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Icon, { + icon: icon, + size: 24, + style: { + flexShrink: 0 + } + }), label] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.FlexItem, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: () => toggleDeviceVisibility(key), + icon: isHidden ? _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"] : _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__["default"] + }) + })] + }) + }, key); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { + className: "wedocs-display-controls", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("p", { + style: { + ...labelStyle + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Display Options', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Flex, { + style: { + gap: '8px', + marginBottom: '16px', + height: 'auto' + }, + direction: "column", + children: deviceConfig.map(renderDeviceCard) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DisplayControls); + +/***/ }), + +/***/ "./src/blocks/commonControls/TypographyControls.js": +/*!*********************************************************!*\ + !*** ./src/blocks/commonControls/TypographyControls.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/format-capitalize.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/format-lowercase.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/format-underline.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/format-uppercase.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/line-solid.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__); + + + + + +const TypographyControls = ({ + attributes, + setAttributes, + device +}) => { + const { + typographyControls + } = attributes; + const currentTypography = typographyControls[device] || {}; + const fontSizes = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useSetting)('typography.fontSizes'); + const fontFamilies = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useSettings)('typography.fontFamilies'); + + // Combine both theme and custom fonts + const themeFonts = fontFamilies[0]?.theme || []; + const customFonts = fontFamilies[0]?.custom || []; + const validFontFamilies = [...themeFonts, ...customFonts]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { + style: { + display: 'flex', + flexDirection: 'column', + gap: '16px' + }, + children: [validFontFamilies.length > 0 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.__experimentalFontFamilyControl, { + __next40pxDefaultSize: true, + __nextHasNoMarginBottom: true, + fontFamilies: validFontFamilies, + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + fontFamily: value + } + } + }); + }, + value: currentTypography.fontFamily || '' + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { + className: "wedocs-font-control-disabled", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + __next40pxDefaultSize: true, + __nextHasNoMarginBottom: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font', 'wedocs'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Not supported in classic themes.', 'wedocs'), + value: 'default', + onChange: () => {}, + disabled: true, + options: [{ + disabled: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Default', 'wedocs'), + value: 'default' + }] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.FontSizePicker, { + __next40pxDefaultSize: true, + fontSizes: fontSizes, + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + fontSize: value + } + } + }); + }, + value: currentTypography.fontSize || '', + withSlider: true, + withReset: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Flex, { + style: { + gap: '16px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.FlexItem, { + isBlock: true, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.__experimentalFontAppearanceControl, { + __next40pxDefaultSize: true, + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + fontAppearance: value + } + } + }); + }, + value: currentTypography.fontAppearance || '' + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.FlexItem, { + isBlock: true, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.LineHeightControl, { + __next40pxDefaultSize: true, + __unstableInputWidth: "auto", + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + lineHeight: value + } + } + }); + }, + value: currentTypography.lineHeight || '' + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Flex, { + style: { + gap: '16px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.FlexItem, { + isBlock: true, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Letter spacing', 'wedocs'), + __next40pxDefaultSize: true, + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + letterSpacing: value + } + } + }); + }, + value: currentTypography.letterSpacing || '' + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.FlexItem, { + isBlock: true, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControl, { + isDeselectable: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Decoration', 'wedocs'), + value: currentTypography.textDecoration || '', + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + textDecoration: value + } + } + }); + }, + __next40pxDefaultSize: true, + __nextHasNoMarginBottom: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "none", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "underline", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Underline', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "line-through", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Strikethrough', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"] + })] + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControl, { + isDeselectable: true, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Letter case', 'wedocs'), + value: currentTypography.textTransform || '', + onChange: value => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...typographyControls[device], + textTransform: value + } + } + }); + }, + __next40pxDefaultSize: true, + __nextHasNoMarginBottom: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "none", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "uppercase", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Uppercase', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "lowercase", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Lowercase', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__["default"] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOptionIcon, { + value: "capitalize", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Capitalize', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__["default"] + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Reset All', 'wedocs'), + style: { + width: '100%', + justifyContent: 'center', + marginTop: '16px' + }, + onClick: () => { + setAttributes({ + typographyControls: { + ...typographyControls, + [device]: { + ...currentTypography, + fontFamily: null, + fontSize: null, + fontAppearance: null, + lineHeight: null, + letterSpacing: null, + textDecoration: null, + textTransform: null + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TypographyControls); + +/***/ }), + +/***/ "@wordpress/block-editor": +/*!*************************************!*\ + !*** external ["wp","blockEditor"] ***! + \*************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blockEditor"]; + +/***/ }), + +/***/ "@wordpress/blocks": +/*!********************************!*\ + !*** external ["wp","blocks"] ***! + \********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blocks"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/core-data": +/*!**********************************!*\ + !*** external ["wp","coreData"] ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["coreData"]; + +/***/ }), + +/***/ "@wordpress/data": +/*!******************************!*\ + !*** external ["wp","data"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["data"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["i18n"]; + +/***/ }), + +/***/ "@wordpress/primitives": +/*!************************************!*\ + !*** external ["wp","primitives"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["primitives"]; + +/***/ }), + +/***/ "react/jsx-runtime": +/*!**********************************!*\ + !*** external "ReactJSXRuntime" ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["ReactJSXRuntime"]; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var [chunkIds, fn, priority] = deferred[i]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "blocks/AdvanceContributors/index": 0, +/******/ "blocks/AdvanceContributors/style-index": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = globalThis["webpackChunkweDocs"] = globalThis["webpackChunkweDocs"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module depends on other loaded chunks and execution need to be delayed +/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["blocks/AdvanceContributors/style-index"], () => (__webpack_require__("./src/blocks/AdvanceContributors/index.js"))) +/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ +/******/ })() +; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/assets/build/blocks/AdvanceContributors/index.js.map b/assets/build/blocks/AdvanceContributors/index.js.map new file mode 100644 index 00000000..7ace1722 --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/AdvanceContributors/index.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACkD;AACF;AAChD,iCAAiC,sDAAI,CAAC,sDAAG;AACzC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,GAAG;AACH,CAAC;AACD,iEAAe,WAAW,EAAC;AAC3B,wC;;;;;;;;;;;;;;;;;;ACbA;AACA;AACA;AACkD;AACF;AAChD,kCAAkC,sDAAI,CAAC,sDAAG;AAC1C;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,GAAG;AACH,CAAC;AACD,iEAAe,YAAY,EAAC;AAC5B,yC;;;;;;;;;;;;;;;;;;ACbA;AACA;AACA;AACkD;AACF;AAChD,+BAA+B,sDAAI,CAAC,sDAAG;AACvC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,GAAG;AACH,CAAC;AACD,iEAAe,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WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/align-center.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/align-justify.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/align-left.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/align-right.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/arrow-down.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/arrow-left.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/arrow-right.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/arrow-up.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/desktop.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/format-capitalize.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/format-lowercase.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/format-underline.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/format-uppercase.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-bottom.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-center.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-left.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-right.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-space-between.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/justify-top.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/line-solid.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/mobile.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/seen.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/shadow.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/tablet.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/unseen.js","webpack://weDocs/./src/blocks/AdvanceContributors/edit.js","webpack://weDocs/./src/blocks/AdvanceContributors/index.js","webpack://weDocs/./src/blocks/AdvanceContributors/style.scss","webpack://weDocs/./src/blocks/commonControls/AlignmentControls.js","webpack://weDocs/./src/blocks/commonControls/BackgroundImageControls.js","webpack://weDocs/./src/blocks/commonControls/BorderAndShadowControls.js","webpack://weDocs/./src/blocks/commonControls/ColorsControls.js","webpack://weDocs/./src/blocks/commonControls/DimensionsControls.js","webpack://weDocs/./src/blocks/commonControls/DisplayControls.js","webpack://weDocs/./src/blocks/commonControls/TypographyControls.js","webpack://weDocs/external window [\"wp\",\"blockEditor\"]","webpack://weDocs/external window [\"wp\",\"blocks\"]","webpack://weDocs/external window [\"wp\",\"components\"]","webpack://weDocs/external window [\"wp\",\"coreData\"]","webpack://weDocs/external window [\"wp\",\"data\"]","webpack://weDocs/external window [\"wp\",\"element\"]","webpack://weDocs/external window [\"wp\",\"i18n\"]","webpack://weDocs/external window [\"wp\",\"primitives\"]","webpack://weDocs/external window \"ReactJSXRuntime\"","webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/chunk loaded","webpack://weDocs/webpack/runtime/compat get default export","webpack://weDocs/webpack/runtime/define property getters","webpack://weDocs/webpack/runtime/hasOwnProperty shorthand","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/webpack/runtime/jsonp chunk loading","webpack://weDocs/webpack/before-startup","webpack://weDocs/webpack/startup","webpack://weDocs/webpack/after-startup"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst alignCenter = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z\"\n })\n});\nexport default alignCenter;\n//# sourceMappingURL=align-center.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst alignJustify = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z\"\n })\n});\nexport default alignJustify;\n//# sourceMappingURL=align-justify.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst alignLeft = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z\"\n })\n});\nexport default alignLeft;\n//# sourceMappingURL=align-left.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst alignRight = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z\"\n })\n});\nexport default alignRight;\n//# sourceMappingURL=align-right.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst arrowDown = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z\"\n })\n});\nexport default arrowDown;\n//# sourceMappingURL=arrow-down.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst arrowLeft = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z\"\n })\n});\nexport default arrowLeft;\n//# sourceMappingURL=arrow-left.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst arrowRight = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z\"\n })\n});\nexport default arrowRight;\n//# sourceMappingURL=arrow-right.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst arrowUp = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z\"\n })\n});\nexport default arrowUp;\n//# sourceMappingURL=arrow-up.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst desktop = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z\"\n })\n});\nexport default desktop;\n//# sourceMappingURL=desktop.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst formatCapitalize = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z\"\n })\n});\nexport default formatCapitalize;\n//# sourceMappingURL=format-capitalize.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst formatLowercase = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z\"\n })\n});\nexport default formatLowercase;\n//# sourceMappingURL=format-lowercase.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst formatStrikethrough = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z\"\n })\n});\nexport default formatStrikethrough;\n//# sourceMappingURL=format-strikethrough.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst formatUnderline = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z\"\n })\n});\nexport default formatUnderline;\n//# sourceMappingURL=format-underline.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst formatUppercase = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z\"\n })\n});\nexport default formatUppercase;\n//# sourceMappingURL=format-uppercase.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyBottom = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z\"\n })\n});\nexport default justifyBottom;\n//# sourceMappingURL=justify-bottom.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyCenterVertical = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z\"\n })\n});\nexport default justifyCenterVertical;\n//# sourceMappingURL=justify-center-vertical.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyCenter = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z\"\n })\n});\nexport default justifyCenter;\n//# sourceMappingURL=justify-center.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyLeft = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M9 9v6h11V9H9zM4 20h1.5V4H4v16z\"\n })\n});\nexport default justifyLeft;\n//# sourceMappingURL=justify-left.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyRight = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z\"\n })\n});\nexport default justifyRight;\n//# sourceMappingURL=justify-right.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifySpaceBetween = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z\"\n })\n});\nexport default justifySpaceBetween;\n//# sourceMappingURL=justify-space-between.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyStretchVertical = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z\"\n })\n});\nexport default justifyStretchVertical;\n//# sourceMappingURL=justify-stretch-vertical.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst justifyTop = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M9 20h6V9H9v11zM4 4v1.5h16V4H4z\"\n })\n});\nexport default justifyTop;\n//# sourceMappingURL=justify-top.js.map","/**\n * WordPress dependencies\n */\nimport { Path, SVG } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst lineSolid = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M5 11.25h14v1.5H5z\"\n })\n});\nexport default lineSolid;\n//# sourceMappingURL=line-solid.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst mobile = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z\"\n })\n});\nexport default mobile;\n//# sourceMappingURL=mobile.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst seen = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z\"\n })\n});\nexport default seen;\n//# sourceMappingURL=seen.js.map","/**\n * WordPress dependencies\n */\nimport { Path, SVG } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst shadow = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z\"\n })\n});\nexport default shadow;\n//# sourceMappingURL=shadow.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst tablet = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z\"\n })\n});\nexport default tablet;\n//# sourceMappingURL=tablet.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst unseen = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z\"\n })\n});\nexport default unseen;\n//# sourceMappingURL=unseen.js.map","import { __ } from '@wordpress/i18n';\nimport {\n\tuseBlockProps,\n\tInspectorControls\n} from '@wordpress/block-editor';\nimport {\n\tPanelBody,\n\tToggleControl,\n\tTextControl,\n\tSelectControl,\n\tRadioControl,\n\tPlaceholder,\n\tSpinner,\n\tTabPanel,\n\tButton,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\n} from '@wordpress/components';\nimport { useState, useEffect } from '@wordpress/element';\nimport { useSelect } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { desktop, tablet, mobile } from '@wordpress/icons';\n\n// Import common controls\nimport TypographyControls from '../commonControls/TypographyControls';\nimport ColorsControls from '../commonControls/ColorsControls';\nimport DimensionsControls from '../commonControls/DimensionsControls';\nimport AlignmentControls from '../commonControls/AlignmentControls';\nimport BackgroundImageControls from '../commonControls/BackgroundImageControls';\nimport BorderAndShadowControls from '../commonControls/BorderAndShadowControls';\nimport DisplayControls from '../commonControls/DisplayControls';\n\nconst Edit = (props) => {\n\tconst { attributes, setAttributes } = props;\n\tconst [users, setUsers] = useState([]);\n\tconst [isLoadingUsers, setIsLoadingUsers] = useState(false);\n\tconst [actualContributors, setActualContributors] = useState([]);\n\tconst [isLoadingContributors, setIsLoadingContributors] = useState(false);\n\tconst [currentDevice, setCurrentDevice] = useState('desktop');\n\n\t// Get current post data\n\tconst currentPost = useSelect((select) => {\n\t\tconst { getCurrentPostId, getCurrentPostType } = select('core/editor') || {};\n\t\tif (!getCurrentPostId) return null;\n\n\t\treturn select(coreStore).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId());\n\t}, []);\n\n\t// Device configuration\n\tconst devices = [\n\t\t{ key: 'desktop', icon: desktop, label: __('Desktop', 'wedocs') },\n\t\t{ key: 'tablet', icon: tablet, label: __('Tablet', 'wedocs') },\n\t\t{ key: 'mobile', icon: mobile, label: __('Mobile', 'wedocs') },\n\t];\n\n\t// Generate responsive styles for preview\n\tconst getResponsiveStyles = () => {\n\t\tconst currentTypography = attributes.typographyControls[currentDevice] || {};\n\t\tconst currentColors = attributes.colorsControls[currentDevice] || {};\n\t\tconst currentDimensions = attributes.dimensionsControls[currentDevice] || {};\n\t\tconst currentAlignment = attributes.alignmentControls[currentDevice] || {};\n\t\tconst currentBorderShadow = attributes.borderAndShadowControls[currentDevice] || {};\n\t\tconst currentBackgroundImage = attributes.backgroundImageControls[currentDevice] || {};\n\n\t\t// Build container styles\n\t\tconst containerStyles = {\n\t\t\t// Typography\n\t\t\tfontFamily: currentTypography.fontFamily || undefined,\n\t\t\tfontSize: currentTypography.fontSize || undefined,\n\t\t\tfontWeight: currentTypography.fontAppearance?.fontWeight || undefined,\n\t\t\tfontStyle: currentTypography.fontAppearance?.fontStyle || undefined,\n\t\t\tlineHeight: currentTypography.lineHeight || undefined,\n\t\t\tletterSpacing: currentTypography.letterSpacing || undefined,\n\t\t\ttextDecoration: currentTypography.textDecoration || undefined,\n\t\t\ttextTransform: currentTypography.textTransform || undefined,\n\n\t\t\t// Colors\n\t\t\tcolor: currentColors.textColor || undefined,\n\t\t\tbackgroundColor: currentColors.backgroundColor || undefined,\n\n\t\t\t// Dimensions\n\t\t\twidth: currentDimensions.width || undefined,\n\t\t\tminWidth: currentDimensions.minWidth || undefined,\n\t\t\tmaxWidth: currentDimensions.maxWidth || undefined,\n\t\t\theight: currentDimensions.height || undefined,\n\t\t\tminHeight: currentDimensions.minHeight || undefined,\n\t\t\tmaxHeight: currentDimensions.maxHeight || undefined,\n\t\t\tpadding: currentDimensions.padding ? `${currentDimensions.padding.top || '0'} ${currentDimensions.padding.right || '0'} ${currentDimensions.padding.bottom || '0'} ${currentDimensions.padding.left || '0'}` : undefined,\n\t\t\tmargin: currentDimensions.margin ? `${currentDimensions.margin.top || '0'} ${currentDimensions.margin.right || '0'} ${currentDimensions.margin.bottom || '0'} ${currentDimensions.margin.left || '0'}` : undefined,\n\n\t\t\t// Alignment\n\t\t\ttextAlign: currentAlignment.textAlign || undefined,\n\t\t\tdisplay: 'flex',\n\t\t\tflexDirection: currentAlignment.direction || 'row',\n\t\t\talignItems: currentAlignment.alignItems || 'center',\n\t\t\tjustifyContent: currentAlignment.justifyContent || 'flex-start',\n\t\t\tflexWrap: 'wrap',\n\t\t\tgap: attributes.contributorGap || '10px',\n\n\t\t\t// Border and Shadow\n\t\t\tborder: currentBorderShadow.border ? `${currentBorderShadow.border.width || '0'} ${currentBorderShadow.border.style || 'solid'} ${currentBorderShadow.border.color || 'transparent'}` : undefined,\n\t\t\tborderRadius: currentBorderShadow.borderRadius ? `${currentBorderShadow.borderRadius.topLeft || '0'} ${currentBorderShadow.borderRadius.topRight || '0'} ${currentBorderShadow.borderRadius.bottomRight || '0'} ${currentBorderShadow.borderRadius.bottomLeft || '0'}` : undefined,\n\t\t\tboxShadow: currentBorderShadow.boxShadow && currentBorderShadow.boxShadow.x ? `${currentBorderShadow.boxShadow.inset ? 'inset ' : ''}${currentBorderShadow.boxShadow.x || '0px'} ${currentBorderShadow.boxShadow.y || '0px'} ${currentBorderShadow.boxShadow.blur || '0px'} ${currentBorderShadow.boxShadow.spread || '0px'} ${currentBorderShadow.boxShadow.color || 'rgba(0,0,0,0.2)'}` : undefined,\n\n\t\t\t// Background Image\n\t\t\tbackgroundImage: currentBackgroundImage.bgUrl ? `url(${currentBackgroundImage.bgUrl})` : undefined,\n\t\t\tbackgroundSize: currentBackgroundImage.bgSize || undefined,\n\t\t\tbackgroundPosition: currentBackgroundImage.bgFocalPoint ? `${currentBackgroundImage.bgFocalPoint.x * 100}% ${currentBackgroundImage.bgFocalPoint.y * 100}%` : undefined,\n\t\t\tbackgroundRepeat: currentBackgroundImage.bgRepeat ? 'repeat' : 'no-repeat',\n\t\t\tbackgroundAttachment: currentBackgroundImage.bgFixed ? 'fixed' : 'scroll',\n\t\t};\n\n\t\t// Remove undefined values\n\t\tObject.keys(containerStyles).forEach(key => {\n\t\t\tif (containerStyles[key] === undefined) {\n\t\t\t\tdelete containerStyles[key];\n\t\t\t}\n\t\t});\n\n\t\treturn containerStyles;\n\t};\n\n\tconst blockProps = useBlockProps({\n\t\tclassName: `wedocs-contributors ${attributes.additionalCssClass}`,\n\t\tstyle: getResponsiveStyles()\n\t});\n\n\t// Fetch users when component mounts or when manual selection mode is active\n\tuseEffect(() => {\n\t\tif (attributes.contributorDisplayMode === 'manual') {\n\t\t\tsetIsLoadingUsers(true);\n\t\t\twp.apiFetch({ path: '/wp/v2/users?per_page=100&context=edit' })\n\t\t\t\t.then(users => {\n\t\t\t\t\tsetUsers(users);\n\t\t\t\t\tsetIsLoadingUsers(false);\n\t\t\t\t})\n\t\t\t\t.catch(() => {\n\t\t\t\t\tsetIsLoadingUsers(false);\n\t\t\t\t});\n\t\t}\n\t}, [attributes.contributorDisplayMode]);\n\n\t// Fetch actual contributors based on current post and display mode\n\tuseEffect(() => {\n\t\tif (!currentPost) return;\n\n\t\tconst fetchContributors = async () => {\n\t\t\tsetIsLoadingContributors(true);\n\t\t\ttry {\n\t\t\t\tconst contributors = [];\n\n\t\t\t\tswitch (attributes.contributorDisplayMode) {\n\t\t\t\t\tcase 'main_author':\n\t\t\t\t\t\tif (currentPost.author) {\n\t\t\t\t\t\t\tconst authorUser = await wp.apiFetch({\n\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${currentPost.author}?context=edit`\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (authorUser) {\n\t\t\t\t\t\t\t\tcontributors.push(authorUser);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\tif (attributes.selectedContributors.length > 0) {\n\t\t\t\t\t\t\tfor (const userId of attributes.selectedContributors) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tconst user = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${userId}?context=edit`\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tif (user) {\n\t\t\t\t\t\t\t\t\t\tcontributors.push(user);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\t\tconsole.warn(`Could not fetch user ${userId}:`, error);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'all':\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// Get post author\n\t\t\t\t\t\tif (currentPost.author) {\n\t\t\t\t\t\t\tconst authorUser = await wp.apiFetch({\n\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${currentPost.author}?context=edit`\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (authorUser) {\n\t\t\t\t\t\t\t\tcontributors.push(authorUser);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Get revisions if post is saved\n\t\t\t\t\t\tif (currentPost.id) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst revisions = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\tpath: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50`\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\tconst contributorIds = [currentPost.author];\n\t\t\t\t\t\t\t\tfor (const revision of revisions) {\n\t\t\t\t\t\t\t\t\tif (revision.author && !contributorIds.includes(revision.author)) {\n\t\t\t\t\t\t\t\t\t\tcontributorIds.push(revision.author);\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tconst user = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${revision.author}?context=edit`\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\tif (user) {\n\t\t\t\t\t\t\t\t\t\t\t\tcontributors.push(user);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\t\t\t\tconsole.warn(`Could not fetch revision author ${revision.author}:`, error);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\tconsole.warn('Could not fetch revisions:', error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tsetActualContributors(contributors);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('Error fetching contributors:', error);\n\t\t\t\tsetActualContributors([]);\n\t\t\t} finally {\n\t\t\t\tsetIsLoadingContributors(false);\n\t\t\t}\n\t\t};\n\n\t\tfetchContributors();\n\t}, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]);\n\n\tconst renderPreview = () => {\n\t\t// Show loading state\n\t\tif (isLoadingContributors) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
{__('Loading contributors...', 'wedocs')}
\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\tif (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\t// Use actual contributors or fallback to demo data\n\t\tlet displayContributors = actualContributors;\n\n\t\tif (!displayContributors || displayContributors.length === 0) {\n\t\t\t// Fallback to demo data for new posts or when no contributors found\n\t\t\tdisplayContributors = [\n\t\t\t\t{\n\t\t\t\t\tid: 1,\n\t\t\t\t\tname: 'Demo Author',\n\t\t\t\t\tavatar_urls: { 48: weDocsAdminScriptVars.assetsUrl + \"/img/demo_avatar/avatar_2.png\" }\n\t\t\t\t}\n\t\t\t];\n\t\t}\n\n\t\tconst currentColors = attributes.colorsControls[currentDevice] || {};\n\t\tconst linkColor = currentColors.linkColor || '#0073aa';\n\t\tconst linkHoverColor = currentColors.linkHoverColor || '#005177';\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{attributes.showTitle && (\n\t\t\t\t\t

\n\t\t\t\t\t\t{attributes.title}\n\t\t\t\t\t

\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t\t{displayContributors.map(contributor => {\n\t\t\t\t\t\t// Handle both API response format and demo format\n\t\t\t\t\t\tconst contributorName = contributor.name || contributor.display_name || 'Unknown';\n\t\t\t\t\t\tconst contributorId = contributor.id || contributor.ID || Math.random();\n\n\t\t\t\t\t\t// Get avatar URL with fallbacks\n\t\t\t\t\t\tlet avatarUrl = weDocsAdminScriptVars.assetsUrl + \"/img/demo_avatar/avatar_1.png\";\n\n\t\t\t\t\t\tif (contributor.avatar_urls) {\n\t\t\t\t\t\t\tavatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Avatar styles\n\t\t\t\t\t\tconst avatarStyles = {\n\t\t\t\t\t\t\twidth: '32px',\n\t\t\t\t\t\t\theight: '32px',\n\t\t\t\t\t\t\tborderRadius: attributes.avatarShape === 'circle' ? '50%' :\n\t\t\t\t\t\t\t\t(attributes.avatarShape === 'rounded' ? '8px' : '0'),\n\t\t\t\t\t\t\tmarginRight: '8px',\n\t\t\t\t\t\t\tobjectFit: 'cover'\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{attributes.showAvatar && (\n\t\t\t\t\t\t\t\t\tattributes.avatarType === 'user_avatar' ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{contributorName}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
\n\n\t\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{attributes.datePrefix} {new Date().toLocaleDateString('en-US', {\n\t\t\t\t\t\t\tyear: 'numeric',\n\t\t\t\t\t\t\tmonth: 'long',\n\t\t\t\t\t\t\tday: 'numeric'\n\t\t\t\t\t\t})}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\t\t);\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t setAttributes({ showTitle: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{attributes.showTitle && (\n\t\t\t\t\t\t setAttributes({ title: value })}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t setAttributes({ contributorDisplayMode: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{attributes.contributorDisplayMode === 'manual' && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

{__('Select Contributors', 'wedocs')}

\n\t\t\t\t\t\t\t{isLoadingUsers ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{users.map(user => (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t
\n\n\t\t\t\t{/* Avatar Settings */}\n\t\t\t\t\n\t\t\t\t\t setAttributes({ showAvatar: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{attributes.showAvatar && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t setAttributes({ avatarType: value })}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t setAttributes({ avatarShape: value })}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t setAttributes({ avatarHoverEffect: value })}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\n\t\t\t\t{/* Date Settings */}\n\t\t\t\t\n\t\t\t\t\t setAttributes({ showLastUpdated: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t setAttributes({ dateFormat: value })}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t{attributes.dateFormat === 'custom' && (\n\t\t\t\t\t\t\t\t setAttributes({ customDateFormat: value })}\n\t\t\t\t\t\t\t\t\thelp={__('Use PHP date format. E.g., F j, Y for \"January 1, 2023\"', 'wedocs')}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t setAttributes({ datePrefix: value })}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\n\t\t\t\t{/* Advanced Settings */}\n\t\t\t\t\n\t\t\t\t\t setAttributes({ additionalCssClass: value })}\n\t\t\t\t\t\thelp={__('Separate multiple classes with spaces', 'wedocs')}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ enableSchema: value })}\n\t\t\t\t\t\thelp={__('Output structured data for author and dateModified', 'wedocs')}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ linkBehavior: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{attributes.linkBehavior === 'custom_link' && (\n\t\t\t\t\t\t setAttributes({ customLinkUrl: value })}\n\t\t\t\t\t\t\tplaceholder=\"https://example.com/author\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t setAttributes({ contributorGap: value })}\n\t\t\t\t\t\thelp={__('Space between contributors (e.g., 10px)', 'wedocs')}\n\t\t\t\t\t/>\n\t\t\t\t\n\n\t\t\t\t{/* Style Controls with Device Tabs */}\n\t\t\t\t\n\t\t\t\t\t{/* Device Selector */}\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{devices.map(device => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\t{/* Style Control Tabs */}\n\t\t\t\t\t\n\t\t\t\t\t\t{(tab) => (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{tab.name === 'typography' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{tab.name === 'colors' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{tab.name === 'dimensions' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{tab.name === 'alignment' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{tab.name === 'background' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{tab.name === 'border' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{tab.name === 'display' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t{renderPreview()}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default Edit;\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport Edit from \"./edit\";\nimport metadata from \"./block.json\";\nimport \"./style.scss\";\n\nregisterBlockType(metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave: () => null,\n});","// extracted by mini-css-extract-plugin\nexport {};","import { __ } from '@wordpress/i18n';\nimport {\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOptionIcon as ToggleGroupControlOptionIcon,\n\tButton,\n} from '@wordpress/components';\nimport {\n\talignLeft,\n\talignCenter,\n\talignRight,\n\talignJustify,\n\tjustifyTop,\n\tjustifyLeft,\n\tjustifyCenter,\n\tjustifyCenterVertical,\n\tjustifyRight,\n\tjustifyBottom,\n\tarrowRight,\n\tarrowDown,\n\tarrowLeft,\n\tarrowUp,\n\tjustifySpaceBetween,\n\tjustifyStretchVertical,\n} from '@wordpress/icons';\n\nconst AlignmentControls = ({ attributes, setAttributes, device }) => {\n\tconst { alignmentControls } = attributes;\n\tconst currentAlignment = alignmentControls[device] || {};\n\n\tconst handleDirectionAlignmentChange = (value) => {\n\t\tsetAttributes({\n\t\t\talignmentControls: {\n\t\t\t\t...alignmentControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentAlignment,\n\t\t\t\t\tdirection: value,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\tconst handleTextAlignmentChange = (value) => {\n\t\tsetAttributes({\n\t\t\talignmentControls: {\n\t\t\t\t...alignmentControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentAlignment,\n\t\t\t\t\ttextAlign: value,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\tconst handleHorizontalAlignmentChange = (value) => {\n\t\tsetAttributes({\n\t\t\talignmentControls: {\n\t\t\t\t...alignmentControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentAlignment,\n\t\t\t\t\tjustifyContent: value,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\tconst handleVerticalAlignmentChange = (value) => {\n\t\tsetAttributes({\n\t\t\talignmentControls: {\n\t\t\t\t...alignmentControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentAlignment,\n\t\t\t\t\talignItems: value,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\talignmentControls: {\n\t\t\t\t\t\t\t...alignmentControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentAlignment,\n\t\t\t\t\t\t\t\ttextAlign: null,\n\t\t\t\t\t\t\t\talignItems: null,\n\t\t\t\t\t\t\t\tjustifyContent: null,\n\t\t\t\t\t\t\t\tdirection: null,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default AlignmentControls;\n","import { MediaUpload, MediaUploadCheck } from '@wordpress/block-editor';\nimport {\n\tButton,\n\tFocalPointPicker,\n\tToggleControl,\n\t__experimentalUnitControl as UnitControl,\n\tFlex,\n\tFlexItem,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\n} from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nconst BackgroundImageControls = ({ attributes, setAttributes, device }) => {\n\tconst { backgroundImageControls } = attributes;\n\tconst currentBackgroundImage = backgroundImageControls[device] || {};\n\n\tconst ALLOWED_MEDIA_TYPES = ['image'];\n\n\t// Handle focal point change\n\tconst handleFocalPointChange = (newFocalPoint) => {\n\t\tsetAttributes({\n\t\t\tbackgroundImageControls: {\n\t\t\t\t...backgroundImageControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\tbgFocalPoint: newFocalPoint,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\tconst handleBackgroundImageSizeChange = (value) => {\n\t\tlet newFocalPoint = currentBackgroundImage.bgFocalPoint || {};\n\t\tlet newBgRepeat = currentBackgroundImage.bgRepeat || false;\n\n\t\t// Set focal point and repeat based on size\n\t\tif (value === 'cover') {\n\t\t\tnewFocalPoint = null;\n\t\t\tnewBgRepeat = null;\n\t\t} else if (value === 'contain') {\n\t\t\tnewFocalPoint = { x: 0.5, y: 0.5 }; // 50% 50%\n\t\t\tnewBgRepeat = false;\n\t\t} else if (value === 'tile') {\n\t\t\tnewFocalPoint = { x: 0.5, y: 0 }; // 50% 0px\n\t\t\tnewBgRepeat = true;\n\t\t}\n\n\t\tsetAttributes({\n\t\t\tbackgroundImageControls: {\n\t\t\t\t...backgroundImageControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\tbgSize: value,\n\t\t\t\t\tbgFocalPoint: newFocalPoint,\n\t\t\t\t\tbgRepeat: newBgRepeat,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t {\n\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\tbackgroundImageControls: {\n\t\t\t\t\t\t\t\t...backgroundImageControls,\n\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\t\t\t\t\tbgUrl: media.url,\n\t\t\t\t\t\t\t\t\tbgId: media.id,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\t\t\t\t\t}}\n\t\t\t\t\tallowedTypes={ALLOWED_MEDIA_TYPES}\n\t\t\t\t\tvalue={currentBackgroundImage.bgId}\n\t\t\t\t\trender={({ open }) => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{currentBackgroundImage.bgUrl\n\t\t\t\t\t\t\t\t? __(\n\t\t\t\t\t\t\t\t\t\t'Change Background Image',\n\t\t\t\t\t\t\t\t\t\t'wedocs'\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t: __(\n\t\t\t\t\t\t\t\t\t\t'Add Background Image',\n\t\t\t\t\t\t\t\t\t\t'wedocs'\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t\n\t\t\t{currentBackgroundImage.bgUrl && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\tbackgroundImageControls: {\n\t\t\t\t\t\t\t\t\t...backgroundImageControls,\n\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\t\t\t\t\t\tbgFixed: value,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\tbackgroundImageControls: {\n\t\t\t\t\t\t\t\t\t\t\t...backgroundImageControls,\n\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\t\t\t\t\t\t\t\tbgWidth: value,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tplaceholder={__('Auto', 'wedocs')}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\tbackgroundImageControls: {\n\t\t\t\t\t\t\t\t\t\t\t...backgroundImageControls,\n\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\t\t\t\t\t\t\t\tbgRepeat: value,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\tbackgroundImageControls: {\n\t\t\t\t\t\t\t\t\t...backgroundImageControls,\n\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t...currentBackgroundImage,\n\t\t\t\t\t\t\t\t\t\tbgUrl: null,\n\t\t\t\t\t\t\t\t\t\tbgId: null,\n\t\t\t\t\t\t\t\t\t\tbgFocalPoint: null,\n\t\t\t\t\t\t\t\t\t\tbgFixed: null,\n\t\t\t\t\t\t\t\t\t\tbgSize: null,\n\t\t\t\t\t\t\t\t\t\tbgWidth: null,\n\t\t\t\t\t\t\t\t\t\tbgRepeat: null,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default BackgroundImageControls;\n","import { __ } from '@wordpress/i18n';\nimport {\n\t__experimentalBorderRadiusControl as BorderRadiusControl,\n\tuseSetting,\n} from '@wordpress/block-editor';\nimport {\n\tBorderBoxControl,\n\tColorPalette,\n\tDropdown,\n\t__experimentalDropdownContentWrapper as DropdownContentWrapper,\n\t__experimentalHStack as HStack,\n\t__experimentalText as Text,\n\tButton,\n\tIcon,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\n\t__experimentalUnitControl as UnitControl,\n} from '@wordpress/components';\nimport { shadow } from '@wordpress/icons';\n\nconst BorderAndShadowControls = ({ attributes, setAttributes, device }) => {\n\tconst { borderAndShadowControls } = attributes;\n\tconst currentBorderAndShadow = borderAndShadowControls[device] || {};\n\tconst themeColors = useSetting('color.palette');\n\n\t// Provide default values for border radius\n\tconst defaultBorderRadius = {\n\t\ttopLeft: undefined,\n\t\ttopRight: undefined,\n\t\tbottomLeft: undefined,\n\t\tbottomRight: undefined,\n\t};\n\n\t// Default box shadow values\n\tconst defaultBoxShadow = {\n\t\tx: '0px',\n\t\ty: '0px',\n\t\tblur: '0px',\n\t\tspread: '0px',\n\t\tcolor: 'rgba(0, 0, 0, 0.2)',\n\t\tinset: false,\n\t};\n\n\tconst currentBoxShadow =\n\t\tcurrentBorderAndShadow.boxShadow || defaultBoxShadow;\n\n\tconst handleShadowChange = (property, value) => {\n\t\tsetAttributes({\n\t\t\tborderAndShadowControls: {\n\t\t\t\t...borderAndShadowControls,\n\t\t\t\t[device]: {\n\t\t\t\t\t...currentBorderAndShadow,\n\t\t\t\t\tboxShadow: {\n\t\t\t\t\t\t...currentBoxShadow,\n\t\t\t\t\t\t[property]: value,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t};\n\n\tconst handleInsetChange = (value) => {\n\t\thandleShadowChange('inset', value === 'true');\n\t};\n\n\treturn (\n\t\t
\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tborderAndShadowControls: {\n\t\t\t\t\t\t\t...borderAndShadowControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentBorderAndShadow,\n\t\t\t\t\t\t\t\tborder: value,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tborderAndShadowControls: {\n\t\t\t\t\t\t\t...borderAndShadowControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentBorderAndShadow,\n\t\t\t\t\t\t\t\tborderRadius: value,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{__('Drop Shadow', 'wedocs')}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\trenderContent={() => (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\thandleShadowChange('color', color)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t{/* Drop Shadow Unit Controls */}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\thandleShadowChange('x', value || '0px')\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\thandleShadowChange('y', value || '0px')\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\thandleShadowChange('blur', value || '0px')\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tmin={0}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\thandleShadowChange('spread', value || '0px')\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t/>\n\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tborderAndShadowControls: {\n\t\t\t\t\t\t\t...borderAndShadowControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentBorderAndShadow,\n\t\t\t\t\t\t\t\tborder: {},\n\t\t\t\t\t\t\t\tborderRadius: null,\n\t\t\t\t\t\t\t\tboxShadow: {},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default BorderAndShadowControls;\n","/* eslint-disable @wordpress/no-unsafe-wp-apis */\nimport { __ } from '@wordpress/i18n';\nimport {\n\tButton,\n\tColorIndicator,\n\tColorPalette,\n\tDropdown,\n\t__experimentalDropdownContentWrapper as DropdownContentWrapper,\n\tGradientPicker,\n\t__experimentalHStack as HStack,\n\tTabPanel,\n\t__experimentalText as Text,\n\t__experimentalZStack as ZStack,\n} from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\nconst ColorsControls = ({ attributes, setAttributes, isTextColor = false, isBackgroundColor = false, isLinkColor = false }) => {\n\tconst { colorsControls } = attributes;\n\tconst currentColors = colorsControls[device] || {};\n\n\t// Fetch theme colors and gradients\n\tconst { themeColors, themeGradients } = useSelect((select) => {\n\t\tconst editorSettings = select('core/block-editor').getSettings();\n\t\treturn {\n\t\t\tthemeColors: editorSettings.colors,\n\t\t\tthemeGradients: editorSettings.gradients,\n\t\t};\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t{/* Text Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{__('Color', 'wedocs')}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\ttextColor: color,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\n\t\t\t\t{/* Background Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{__('Background', 'wedocs')}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'gradient',\n\t\t\t\t\t\t\t\t\t\ttitle: __(\n\t\t\t\t\t\t\t\t\t\t\t'Gradient',\n\t\t\t\t\t\t\t\t\t\t\t'wedocs'\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgradient,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ content }) => content}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\n\t\t\t\t{/* Link Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{__('Link', 'wedocs')}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlinkColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'hover-color',\n\t\t\t\t\t\t\t\t\t\ttitle: __('Hover', 'wedocs'),\n\t\t\t\t\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlinkHoverColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ content }) => content}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t\n\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\ttextColor: undefined,\n\t\t\t\t\t\t\t\tbackgroundColor: undefined,\n\t\t\t\t\t\t\t\tlinkColor: undefined,\n\t\t\t\t\t\t\t\tlinkHoverColor: undefined,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default ColorsControls;\n","import {\n\t__experimentalUnitControl as UnitControl,\n\tButton,\n\tFlexItem,\n\t__experimentalHStack as HStack,\n\t__experimentalVStack as VStack,\n} from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { __experimentalSpacingSizesControl as SpacingSizesControl } from '@wordpress/block-editor';\n\nconst DimensionsControls = ({ attributes, setAttributes, device }) => {\n\tconst { dimensionsControls } = attributes;\n\tconst currentDimensions = dimensionsControls[device] || {};\n\n\tconst handlePaddingChange = (value) => {\n\t\tconst newDimensionsControls = {\n\t\t\t...dimensionsControls,\n\t\t\t[device]: {\n\t\t\t\t...currentDimensions,\n\t\t\t\tpadding: {\n\t\t\t\t\t...currentDimensions.padding,\n\t\t\t\t\t...value,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\n\t\tsetAttributes({ dimensionsControls: newDimensionsControls });\n\t};\n\n\tconst handleMarginChange = (value) => {\n\t\tconst newDimensionsControls = {\n\t\t\t...dimensionsControls,\n\t\t\t[device]: {\n\t\t\t\t...currentDimensions,\n\t\t\t\tmargin: {\n\t\t\t\t\t...currentDimensions.margin,\n\t\t\t\t\t...value,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\n\t\tsetAttributes({ dimensionsControls: newDimensionsControls });\n\t};\n\n\tconst handleBlockSpacingChange = (value) => {\n\t\tconst newDimensionsControls = {\n\t\t\t...dimensionsControls,\n\t\t\t[device]: {\n\t\t\t\t...currentDimensions,\n\t\t\t\tblockSpacing: {\n\t\t\t\t\t...currentDimensions.blockSpacing,\n\t\t\t\t\t...value,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\n\t\tsetAttributes({ dimensionsControls: newDimensionsControls });\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{__('Width', 'wedocs')}\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* Row and Column controls */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\t\t\t\twidth: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\t\t\t\tminWidth: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\t\t\t\tmaxWidth: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{__('Height', 'wedocs')}\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* Row and Column controls */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\t\t\t\theight: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\t\t\t\tminHeight: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\t\t\t\tmaxHeight: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tdimensionsControls: {\n\t\t\t\t\t\t\t...dimensionsControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentDimensions,\n\t\t\t\t\t\t\t\twidth: null,\n\t\t\t\t\t\t\t\tminWidth: null,\n\t\t\t\t\t\t\t\tmaxWidth: null,\n\t\t\t\t\t\t\t\theight: null,\n\t\t\t\t\t\t\t\tminHeight: null,\n\t\t\t\t\t\t\t\tmaxHeight: null,\n\t\t\t\t\t\t\t\tpadding: null,\n\t\t\t\t\t\t\t\tmargin: null,\n\t\t\t\t\t\t\t\tblockSpacing: null,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t
\n\t);\n};\n\nexport default DimensionsControls;\n","import { __ } from '@wordpress/i18n';\nimport { Button, Card, Flex, FlexItem, Icon } from '@wordpress/components';\nimport { desktop, tablet, mobile, seen, unseen } from '@wordpress/icons';\n\nconst DisplayControls = ({ attributes, setAttributes }) => {\n\t// Configuration for each device type\n\tconst deviceConfig = [\n\t\t{\n\t\t\tkey: 'mobile',\n\t\t\ticon: mobile,\n\t\t\tlabel: __('Hide on mobile', 'wedocs'),\n\t\t},\n\t\t{\n\t\t\tkey: 'tablet',\n\t\t\ticon: tablet,\n\t\t\tlabel: __('Hide on tablet', 'wedocs'),\n\t\t},\n\t\t{\n\t\t\tkey: 'desktop',\n\t\t\ticon: desktop,\n\t\t\tlabel: __('Hide on desktop', 'wedocs'),\n\t\t},\n\t];\n\n\t// Common styles\n\tconst cardStyle = {\n\t\tpadding: '4px 4px 4px 10px',\n\t\tborderRadius: '2px',\n\t\tborderColor: '#ddd',\n\t};\n\n\tconst flexItemStyle = {\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tgap: '4px',\n\t\tflexGrow: 1,\n\t\tborderRight: '1px solid #ddd',\n\t};\n\n\tconst labelStyle = {\n\t\tfontSize: '12px',\n\t\tfontWeight: '600',\n\t\tlineHeight: '1.4',\n\t\tdisplay: 'block',\n\t\tmarginBottom: '16px',\n\t\tpadding: '0px',\n\t};\n\n\t// Handler for toggling device visibility\n\tconst toggleDeviceVisibility = (deviceKey) => {\n\t\tsetAttributes({\n\t\t\tdisplayControls: {\n\t\t\t\t...attributes.displayControls,\n\t\t\t\t[deviceKey]: !attributes.displayControls[deviceKey],\n\t\t\t},\n\t\t});\n\t};\n\n\t// Render individual device control card\n\tconst renderDeviceCard = ({ key, icon, label }) => {\n\t\tconst isHidden = attributes.displayControls[key];\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{label}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t toggleDeviceVisibility(key)}\n\t\t\t\t\t\t\ticon={isHidden ? unseen : seen}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t};\n\n\treturn (\n\t\t
\n\t\t\t

\n\t\t\t\t{__('Display Options', 'wedocs')}\n\t\t\t

\n\t\t\t\n\t\t\t\t{deviceConfig.map(renderDeviceCard)}\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default DisplayControls;\n","import { __ } from '@wordpress/i18n';\nimport {\n\t__experimentalFontFamilyControl as FontFamilyControl,\n\tLineHeightControl,\n\tuseSetting,\n\tuseSettings,\n\tFontSizePicker,\n\t__experimentalFontAppearanceControl as FontAppearanceControl,\n} from '@wordpress/block-editor';\nimport {\n\tFlex,\n\tFlexItem,\n\tButton,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOptionIcon as ToggleGroupControlOptionIcon,\n\tSelectControl,\n} from '@wordpress/components';\nimport {\n\tlineSolid,\n\tformatUnderline,\n\tformatStrikethrough,\n\tformatUppercase,\n\tformatLowercase,\n\tformatCapitalize,\n} from '@wordpress/icons';\n\nconst TypographyControls = ({ attributes, setAttributes, device }) => {\n\tconst { typographyControls } = attributes;\n\tconst currentTypography = typographyControls[device] || {};\n\tconst fontSizes = useSetting('typography.fontSizes');\n\tconst fontFamilies = useSettings('typography.fontFamilies');\n\n\t// Combine both theme and custom fonts\n\tconst themeFonts = fontFamilies[0]?.theme || [];\n\tconst customFonts = fontFamilies[0]?.custom || [];\n\tconst validFontFamilies = [...themeFonts, ...customFonts];\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t{validFontFamilies.length > 0 ? (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\t\tfontFamily: value,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tvalue={currentTypography.fontFamily || ''}\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t
\n\t\t\t\t\t\t {}}\n\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisabled: true,\n\t\t\t\t\t\t\t\t\tlabel: __('Default', 'wedocs'),\n\t\t\t\t\t\t\t\t\tvalue: 'default',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t)}\n\n\t\t\t\t {\n\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\tfontSize: value,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\t\t\t\t\t}}\n\t\t\t\t\tvalue={currentTypography.fontSize || ''}\n\t\t\t\t\twithSlider\n\t\t\t\t\twithReset={false}\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\t\t\tfontAppearance: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={currentTypography.fontAppearance || ''}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\t\t\tlineHeight: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={currentTypography.lineHeight || ''}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\t\t\tletterSpacing: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={currentTypography.letterSpacing || ''}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\t\t\ttextDecoration: value,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t {\n\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t...typographyControls[device],\n\t\t\t\t\t\t\t\t\ttextTransform: value,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\t\t\t\t\t}}\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\ttypographyControls: {\n\t\t\t\t\t\t\t...typographyControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentTypography,\n\t\t\t\t\t\t\t\tfontFamily: null,\n\t\t\t\t\t\t\t\tfontSize: null,\n\t\t\t\t\t\t\t\tfontAppearance: null,\n\t\t\t\t\t\t\t\tlineHeight: null,\n\t\t\t\t\t\t\t\tletterSpacing: null,\n\t\t\t\t\t\t\t\ttextDecoration: null,\n\t\t\t\t\t\t\t\ttextTransform: null,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default TypographyControls;\n","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"coreData\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","module.exports = window[\"ReactJSXRuntime\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"blocks/AdvanceContributors/index\": 0,\n\t\"blocks/AdvanceContributors/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkweDocs\"] = globalThis[\"webpackChunkweDocs\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"blocks/AdvanceContributors/style-index\"], () => (__webpack_require__(\"./src/blocks/AdvanceContributors/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","InspectorControls","PanelBody","ToggleControl","TextControl","SelectControl","RadioControl","Placeholder","Spinner","TabPanel","Button","__experimentalToggleGroupControl","ToggleGroupControl","__experimentalToggleGroupControlOption","ToggleGroupControlOption","useState","useEffect","useSelect","store","coreStore","desktop","tablet","mobile","TypographyControls","ColorsControls","DimensionsControls","AlignmentControls","BackgroundImageControls","BorderAndShadowControls","DisplayControls","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","Edit","props","attributes","setAttributes","users","setUsers","isLoadingUsers","setIsLoadingUsers","actualContributors","setActualContributors","isLoadingContributors","setIsLoadingContributors","currentDevice","setCurrentDevice","currentPost","select","getCurrentPostId","getCurrentPostType","getEntityRecord","devices","key","icon","label","getResponsiveStyles","currentTypography","typographyControls","currentColors","colorsControls","currentDimensions","dimensionsControls","currentAlignment","alignmentControls","currentBorderShadow","borderAndShadowControls","currentBackgroundImage","backgroundImageControls","containerStyles","fontFamily","undefined","fontSize","fontWeight","fontAppearance","fontStyle","lineHeight","letterSpacing","textDecoration","textTransform","color","textColor","backgroundColor","width","minWidth","maxWidth","height","minHeight","maxHeight","padding","top","right","bottom","left","margin","textAlign","display","flexDirection","direction","alignItems","justifyContent","flexWrap","gap","contributorGap","border","style","borderRadius","topLeft","topRight","bottomRight","bottomLeft","boxShadow","x","inset","y","blur","spread","backgroundImage","bgUrl","backgroundSize","bgSize","backgroundPosition","bgFocalPoint","backgroundRepeat","bgRepeat","backgroundAttachment","bgFixed","Object","keys","forEach","blockProps","className","additionalCssClass","contributorDisplayMode","wp","apiFetch","path","then","catch","fetchContributors","contributors","author","authorUser","push","selectedContributors","length","userId","user","error","console","warn","id","revisions","type","contributorIds","revision","includes","renderPreview","children","instructions","displayContributors","name","avatar_urls","weDocsAdminScriptVars","assetsUrl","linkColor","linkHoverColor","showTitle","marginBottom","title","map","contributor","contributorName","display_name","contributorId","ID","Math","random","avatarUrl","avatarStyles","avatarShape","marginRight","objectFit","showAvatar","avatarType","src","alt","fill","viewBox","d","cursor","showLastUpdated","marginTop","datePrefix","Date","toLocaleDateString","year","month","day","initialOpen","checked","onChange","value","options","overflowY","e","newSelected","target","filter","selected","avatarHoverEffect","dateFormat","customDateFormat","help","enableSchema","linkBehavior","customLinkUrl","placeholder","isBlock","__nextHasNoMarginBottom","__next40pxDefaultSize","device","tabs","tab","paddingTop","registerBlockType","metadata","edit","save","__experimentalToggleGroupControlOptionIcon","ToggleGroupControlOptionIcon","alignLeft","alignCenter","alignRight","alignJustify","justifyTop","justifyLeft","justifyCenter","justifyCenterVertical","justifyRight","justifyBottom","arrowRight","arrowDown","arrowLeft","arrowUp","justifySpaceBetween","justifyStretchVertical","handleDirectionAlignmentChange","handleTextAlignmentChange","handleHorizontalAlignmentChange","handleVerticalAlignmentChange","variant","isDestructive","text","onClick","MediaUpload","MediaUploadCheck","FocalPointPicker","__experimentalUnitControl","UnitControl","Flex","FlexItem","ALLOWED_MEDIA_TYPES","handleFocalPointChange","newFocalPoint","handleBackgroundImageSizeChange","newBgRepeat","onSelect","media","url","bgId","allowedTypes","render","open","onDragStart","onDrag","bgWidth","disabled","__experimentalBorderRadiusControl","BorderRadiusControl","useSetting","BorderBoxControl","ColorPalette","Dropdown","__experimentalDropdownContentWrapper","DropdownContentWrapper","__experimentalHStack","HStack","__experimentalText","Text","Icon","shadow","currentBorderAndShadow","themeColors","defaultBorderRadius","defaultBoxShadow","currentBoxShadow","handleShadowChange","property","handleInsetChange","popoverOffset","popoverPlacement","colors","enableAlpha","values","borderTop","borderTopLeftRadius","borderTopRightRadius","popoverProps","placement","offset","shift","renderToggle","isOpen","onToggle","alignment","renderContent","paddingSize","clearable","gridTemplateColumns","min","ColorIndicator","GradientPicker","__experimentalZStack","ZStack","isTextColor","isBackgroundColor","isLinkColor","themeGradients","editorSettings","getSettings","gradients","colorValue","_currentColors$backgr","content","gradient","isLayered","__experimentalVStack","VStack","__experimentalSpacingSizesControl","SpacingSizesControl","handlePaddingChange","newDimensionsControls","handleMarginChange","handleBlockSpacingChange","blockSpacing","minimumCustomValue","Infinity","sides","spacing","justify","Card","seen","unseen","deviceConfig","cardStyle","borderColor","flexItemStyle","flexGrow","borderRight","labelStyle","toggleDeviceVisibility","deviceKey","displayControls","renderDeviceCard","isHidden","opacity","size","flexShrink","__experimentalFontFamilyControl","FontFamilyControl","LineHeightControl","useSettings","FontSizePicker","__experimentalFontAppearanceControl","FontAppearanceControl","lineSolid","formatUnderline","formatStrikethrough","formatUppercase","formatLowercase","formatCapitalize","fontSizes","fontFamilies","themeFonts","theme","customFonts","custom","validFontFamilies","withSlider","withReset","__unstableInputWidth","isDeselectable"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/AdvanceContributors/render.php b/assets/build/blocks/AdvanceContributors/render.php new file mode 100644 index 00000000..758a9009 --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/render.php @@ -0,0 +1,499 @@ +ID); + if ($author_id) { + $author_user = get_userdata($author_id); + if ($author_user) { + $contributors[] = $author_user; + } + } + break; + + case 'manual': + if (!empty($selected_contributors)) { + foreach ($selected_contributors as $user_id) { + $user = get_userdata($user_id); + if ($user) { + $contributors[] = $user; + } + } + } + break; + + case 'all': + default: + // Get post author + $author_id = get_post_field('post_author', $post->ID); + if ($author_id && ($author_user = get_userdata($author_id))) { + $contributors[] = $author_user; + } + + // Get additional contributors from revisions + if ($post) { + $revisions = wp_get_post_revisions($post->ID); + $contributor_ids = [$author_id]; + + foreach ($revisions as $revision) { + $revision_author = get_post_field('post_author', $revision->ID); + if (!in_array($revision_author, $contributor_ids)) { + $contributor_ids[] = $revision_author; + $user = get_userdata($revision_author); + if ($user) { + $contributors[] = $user; + } + } + } + } + break; + } + + // Filter out invalid contributors + $contributors = array_filter($contributors); + + if (empty($contributors)) { + // For demo purposes, add mock contributors if none found + $contributors = [ + (object) [ + 'ID' => 1, + 'display_name' => 'Demo Author', + 'user_email' => 'demo@example.com' + ] + ]; + } + + // Helper function to generate responsive CSS + function generate_responsive_css($block_id, $controls, $device_suffix = '') { + $css = ''; + + if (empty($controls)) { + return $css; + } + + $selector = '.' . $block_id . $device_suffix; + $rules = []; + + // Typography + if (isset($controls['fontFamily']) && $controls['fontFamily']) { + $rules[] = 'font-family: ' . esc_attr($controls['fontFamily']); + } + if (isset($controls['fontSize']) && $controls['fontSize']) { + $rules[] = 'font-size: ' . esc_attr($controls['fontSize']); + } + if (isset($controls['fontAppearance']['fontWeight']) && $controls['fontAppearance']['fontWeight']) { + $rules[] = 'font-weight: ' . esc_attr($controls['fontAppearance']['fontWeight']); + } + if (isset($controls['fontAppearance']['fontStyle']) && $controls['fontAppearance']['fontStyle']) { + $rules[] = 'font-style: ' . esc_attr($controls['fontAppearance']['fontStyle']); + } + if (isset($controls['lineHeight']) && $controls['lineHeight']) { + $rules[] = 'line-height: ' . esc_attr($controls['lineHeight']); + } + if (isset($controls['letterSpacing']) && $controls['letterSpacing']) { + $rules[] = 'letter-spacing: ' . esc_attr($controls['letterSpacing']); + } + if (isset($controls['textDecoration']) && $controls['textDecoration']) { + $rules[] = 'text-decoration: ' . esc_attr($controls['textDecoration']); + } + if (isset($controls['textTransform']) && $controls['textTransform']) { + $rules[] = 'text-transform: ' . esc_attr($controls['textTransform']); + } + + // Colors + if (isset($controls['textColor']) && $controls['textColor']) { + $rules[] = 'color: ' . esc_attr($controls['textColor']); + } + if (isset($controls['backgroundColor']) && $controls['backgroundColor']) { + $rules[] = 'background-color: ' . esc_attr($controls['backgroundColor']); + } + + // Dimensions + if (isset($controls['width']) && $controls['width']) { + $rules[] = 'width: ' . esc_attr($controls['width']); + } + if (isset($controls['minWidth']) && $controls['minWidth']) { + $rules[] = 'min-width: ' . esc_attr($controls['minWidth']); + } + if (isset($controls['maxWidth']) && $controls['maxWidth']) { + $rules[] = 'max-width: ' . esc_attr($controls['maxWidth']); + } + if (isset($controls['height']) && $controls['height']) { + $rules[] = 'height: ' . esc_attr($controls['height']); + } + if (isset($controls['minHeight']) && $controls['minHeight']) { + $rules[] = 'min-height: ' . esc_attr($controls['minHeight']); + } + if (isset($controls['maxHeight']) && $controls['maxHeight']) { + $rules[] = 'max-height: ' . esc_attr($controls['maxHeight']); + } + + // Padding + if (isset($controls['padding']) && is_array($controls['padding'])) { + $padding_values = []; + $padding_values[] = $controls['padding']['top'] ?? '0'; + $padding_values[] = $controls['padding']['right'] ?? '0'; + $padding_values[] = $controls['padding']['bottom'] ?? '0'; + $padding_values[] = $controls['padding']['left'] ?? '0'; + $rules[] = 'padding: ' . implode(' ', $padding_values); + } + + // Margin + if (isset($controls['margin']) && is_array($controls['margin'])) { + $margin_values = []; + $margin_values[] = $controls['margin']['top'] ?? '0'; + $margin_values[] = $controls['margin']['right'] ?? '0'; + $margin_values[] = $controls['margin']['bottom'] ?? '0'; + $margin_values[] = $controls['margin']['left'] ?? '0'; + $rules[] = 'margin: ' . implode(' ', $margin_values); + } + + // Alignment + if (isset($controls['textAlign']) && $controls['textAlign']) { + $rules[] = 'text-align: ' . esc_attr($controls['textAlign']); + } + if (isset($controls['alignItems']) && $controls['alignItems']) { + $rules[] = 'align-items: ' . esc_attr($controls['alignItems']); + } + if (isset($controls['justifyContent']) && $controls['justifyContent']) { + $rules[] = 'justify-content: ' . esc_attr($controls['justifyContent']); + } + if (isset($controls['direction']) && $controls['direction']) { + $rules[] = 'flex-direction: ' . esc_attr($controls['direction']); + } + + // Border + if (isset($controls['border']) && is_array($controls['border'])) { + $border = $controls['border']; + if (isset($border['width']) && isset($border['style']) && isset($border['color'])) { + $rules[] = 'border: ' . esc_attr($border['width']) . ' ' . esc_attr($border['style']) . ' ' . esc_attr($border['color']); + } + } + + // Border Radius + if (isset($controls['borderRadius']) && is_array($controls['borderRadius'])) { + $radius = $controls['borderRadius']; + $radius_values = []; + $radius_values[] = $radius['topLeft'] ?? '0'; + $radius_values[] = $radius['topRight'] ?? '0'; + $radius_values[] = $radius['bottomRight'] ?? '0'; + $radius_values[] = $radius['bottomLeft'] ?? '0'; + $rules[] = 'border-radius: ' . implode(' ', $radius_values); + } + + // Box Shadow + if (isset($controls['boxShadow']) && is_array($controls['boxShadow']) && isset($controls['boxShadow']['x'])) { + $shadow = $controls['boxShadow']; + $shadow_value = ''; + if (isset($shadow['inset']) && $shadow['inset']) { + $shadow_value .= 'inset '; + } + $shadow_value .= esc_attr($shadow['x']) . ' '; + $shadow_value .= esc_attr($shadow['y']) . ' '; + $shadow_value .= esc_attr($shadow['blur']) . ' '; + $shadow_value .= esc_attr($shadow['spread']) . ' '; + $shadow_value .= esc_attr($shadow['color']); + $rules[] = 'box-shadow: ' . $shadow_value; + } + + // Background Image + if (isset($controls['bgUrl']) && $controls['bgUrl']) { + $rules[] = 'background-image: url(' . esc_url($controls['bgUrl']) . ')'; + + if (isset($controls['bgSize']) && $controls['bgSize']) { + $rules[] = 'background-size: ' . esc_attr($controls['bgSize']); + } + + if (isset($controls['bgFocalPoint']) && is_array($controls['bgFocalPoint'])) { + $focal = $controls['bgFocalPoint']; + $rules[] = 'background-position: ' . ($focal['x'] * 100) . '% ' . ($focal['y'] * 100) . '%'; + } + + if (isset($controls['bgRepeat'])) { + $rules[] = 'background-repeat: ' . ($controls['bgRepeat'] ? 'repeat' : 'no-repeat'); + } + + if (isset($controls['bgFixed']) && $controls['bgFixed']) { + $rules[] = 'background-attachment: fixed'; + } + } + + // Display + if (isset($controls['display']) && $controls['display']) { + $rules[] = 'display: ' . esc_attr($controls['display']); + } + if (isset($controls['visibility']) && $controls['visibility']) { + $rules[] = 'visibility: ' . esc_attr($controls['visibility']); + } + if (isset($controls['overflow']) && $controls['overflow']) { + $rules[] = 'overflow: ' . esc_attr($controls['overflow']); + } + if (isset($controls['zIndex']) && $controls['zIndex']) { + $rules[] = 'z-index: ' . esc_attr($controls['zIndex']); + } + + if (!empty($rules)) { + $css .= $selector . ' { ' . implode('; ', $rules) . '; }'; + } + + return $css; + } + + // Generate CSS for all devices + $responsive_css = ''; + + // Merge all device controls for CSS generation + foreach (['desktop', 'tablet', 'mobile'] as $device) { + $device_controls = []; + + // Merge all control types for this device + if (isset($typography_controls[$device])) { + $device_controls = array_merge($device_controls, $typography_controls[$device]); + } + if (isset($colors_controls[$device])) { + $device_controls = array_merge($device_controls, $colors_controls[$device]); + } + if (isset($dimensions_controls[$device])) { + $device_controls = array_merge($device_controls, $dimensions_controls[$device]); + } + if (isset($alignment_controls[$device])) { + $device_controls = array_merge($device_controls, $alignment_controls[$device]); + } + if (isset($background_image_controls[$device])) { + $device_controls = array_merge($device_controls, $background_image_controls[$device]); + } + if (isset($border_shadow_controls[$device])) { + $device_controls = array_merge($device_controls, $border_shadow_controls[$device]); + } + if (isset($display_controls[$device])) { + $device_controls = array_merge($device_controls, $display_controls[$device]); + } + + // Generate CSS for this device + if ($device === 'desktop') { + $responsive_css .= generate_responsive_css($block_id, $device_controls); + } else if ($device === 'tablet') { + $responsive_css .= '@media (max-width: 1024px) { ' . generate_responsive_css($block_id, $device_controls) . ' }'; + } else if ($device === 'mobile') { + $responsive_css .= '@media (max-width: 768px) { ' . generate_responsive_css($block_id, $device_controls) . ' }'; + } + } + + // Build CSS classes + $css_classes = ['wedocs-contributors', $block_id]; + if (!empty($additional_css_class)) { + $css_classes[] = esc_attr($additional_css_class); + } + + // Handle display controls for hiding on devices + $display_classes = []; + if (isset($display_controls['desktop']) && $display_controls['desktop']) { + $display_classes[] = 'wedocs-hide-desktop'; + } + if (isset($display_controls['tablet']) && $display_controls['tablet']) { + $display_classes[] = 'wedocs-hide-tablet'; + } + if (isset($display_controls['mobile']) && $display_controls['mobile']) { + $display_classes[] = 'wedocs-hide-mobile'; + } + $css_classes = array_merge($css_classes, $display_classes); + + // Start building output + $output = '
'; + + // Schema markup + $schema_data = []; + if ($enable_schema) { + $schema_data['@context'] = 'https://schema.org'; + $schema_data['@type'] = 'Article'; + $schema_data['author'] = []; + foreach ($contributors as $contributor) { + $schema_data['author'][] = [ + '@type' => 'Person', + 'name' => $contributor->display_name, + 'url' => get_author_posts_url($contributor->ID) + ]; + } + if ($post) { + $schema_data['dateModified'] = get_the_modified_date('c', $post); + } + } + + // Title + if ($show_title) { + $output .= '
'; + $output .= '

' . esc_html($title) . '

'; + $output .= '
'; + } + + // Contributors container + $output .= '
'; + + foreach ($contributors as $contributor) { + $output .= '
'; + + // Avatar + if ($show_avatar) { + $avatar_class = 'contributor-avatar'; + if ($avatar_hover_effect) { + $avatar_class .= ' avatar-hover'; + } + + $avatar_styles = [ + 'width: 32px', + 'height: 32px', + 'object-fit: cover', + 'margin-right: 8px' + ]; + + // Avatar shape + switch ($avatar_shape) { + case 'circle': + $avatar_styles[] = 'border-radius: 50%'; + break; + case 'rounded': + $avatar_styles[] = 'border-radius: 8px'; + break; + case 'square': + $avatar_styles[] = 'border-radius: 0'; + break; + } + + $output .= '
'; + + if ($avatar_type === 'user_avatar') { + $avatar_url = get_avatar_url($contributor->ID, ['size' => 96]); + $output .= '' . esc_attr($contributor->display_name) . ''; + } else { + $icon_styles = array_merge($avatar_styles, [ + 'background-color: #0073aa', + 'display: flex', + 'align-items: center', + 'justify-content: center', + 'color: white' + ]); + + $output .= '
'; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= '
'; + } + + $output .= '
'; + } + + // Name + $name_styles = [ + 'font-size: 14px', + 'font-weight: 600', + 'text-decoration: none' + ]; + + if ($link_behavior === 'user_profile') { + $output .= '' . esc_html($contributor->display_name) . ''; + } elseif ($link_behavior === 'custom_link' && !empty($custom_link_url)) { + $output .= '' . esc_html($contributor->display_name) . ''; + } else { + $output .= '' . esc_html($contributor->display_name) . ''; + } + + $output .= '
'; + } + + $output .= '
'; + + // Last updated date + if ($show_last_updated) { + $date_format_string = $date_format === 'custom' ? $custom_date_format : get_option('date_format'); + $last_modified = $post ? get_the_modified_date($date_format_string, $post) : date($date_format_string); + + $output .= '
'; + $output .= esc_html($date_prefix) . ' ' . esc_html($last_modified); + $output .= '
'; + } + + $output .= '
'; + + // Add schema markup + if ($enable_schema && !empty($schema_data)) { + $output .= ''; + } + + // Add responsive CSS + if (!empty($responsive_css)) { + $output .= ''; + } + + return $output; +} +render_wedocs_advance_contributors_block( $attributes, $content, $block ); diff --git a/assets/build/blocks/AdvanceContributors/style-index-rtl.css b/assets/build/blocks/AdvanceContributors/style-index-rtl.css new file mode 100644 index 00000000..c44a069f --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/style-index-rtl.css @@ -0,0 +1,137 @@ +/*!******************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/AdvanceContributors/style.scss ***! + \******************************************************************************************************************************************************************************************************************************************************************/ +/** + * Frontend styles for the Contributors block + */ +.contributors-tab-system .components-button-group { + display: flex; +} + +.wedocs-contributors .contributors-container { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 10px; + margin-bottom: 10px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + gap: 8px; + } +} +.wedocs-contributors .contributors-container .contributor-item { + display: flex; + align-items: center; + gap: 8px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container .contributor-item { + width: 100%; + } +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar { + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar.avatar-hover:hover { + transform: scale(1.1); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar img { + display: block; + -o-object-fit: cover; + object-fit: cover; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + display: flex; + align-items: center; + justify-content: center; + background-color: #0073aa; + color: white; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon svg { + width: 60%; + height: 60%; + fill: currentColor; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name { + transition: color 0.3s ease; + text-decoration: none; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name:hover { + text-decoration: underline; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name.no-link { + cursor: default; +} +.wedocs-contributors .last-updated { + margin-top: 10px; + font-style: italic; +} +@media (max-width: 768px) { + .wedocs-contributors .last-updated { + margin-top: 8px; + font-size: 0.9em; + } +} +.wedocs-contributors .contributors-title { + margin: 0 0 10px 0; + font-weight: 600; + font-size: 16px; +} +@media (max-width: 480px) { + .wedocs-contributors .contributors-container { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-avatar img, .wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + width: 28px !important; + height: 28px !important; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-name { + font-size: 0.9em; + } + .wedocs-contributors .last-updated { + font-size: 0.8em; + } +} +@media (prefers-contrast: high) { + .wedocs-contributors .contributor-item .contributor-avatar { + border: 2px solid currentColor !important; + } + .wedocs-contributors .contributor-item .contributor-name { + text-decoration: underline; + } +} +@media (prefers-reduced-motion: reduce) { + .wedocs-contributors .contributor-avatar { + transition: none !important; + } + .wedocs-contributors .contributor-avatar.avatar-hover:hover { + transform: none !important; + } + .wedocs-contributors .contributor-name { + transition: none !important; + } +} +@media (prefers-color-scheme: dark) { + .wedocs-contributors .contributor-item .contributor-avatar .default-icon { + background-color: #4a90a4; + } +} +@media print { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + } + .wedocs-contributors .contributor-item .contributor-avatar { + display: none; + } +} diff --git a/assets/build/blocks/AdvanceContributors/style-index.css b/assets/build/blocks/AdvanceContributors/style-index.css new file mode 100644 index 00000000..c8f9ce68 --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/style-index.css @@ -0,0 +1,139 @@ +/*!******************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/AdvanceContributors/style.scss ***! + \******************************************************************************************************************************************************************************************************************************************************************/ +/** + * Frontend styles for the Contributors block + */ +.contributors-tab-system .components-button-group { + display: flex; +} + +.wedocs-contributors .contributors-container { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 10px; + margin-bottom: 10px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + gap: 8px; + } +} +.wedocs-contributors .contributors-container .contributor-item { + display: flex; + align-items: center; + gap: 8px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container .contributor-item { + width: 100%; + } +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar { + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar.avatar-hover:hover { + transform: scale(1.1); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar img { + display: block; + -o-object-fit: cover; + object-fit: cover; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + display: flex; + align-items: center; + justify-content: center; + background-color: #0073aa; + color: white; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon svg { + width: 60%; + height: 60%; + fill: currentColor; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name { + transition: color 0.3s ease; + text-decoration: none; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name:hover { + text-decoration: underline; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name.no-link { + cursor: default; +} +.wedocs-contributors .last-updated { + margin-top: 10px; + font-style: italic; +} +@media (max-width: 768px) { + .wedocs-contributors .last-updated { + margin-top: 8px; + font-size: 0.9em; + } +} +.wedocs-contributors .contributors-title { + margin: 0 0 10px 0; + font-weight: 600; + font-size: 16px; +} +@media (max-width: 480px) { + .wedocs-contributors .contributors-container { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-avatar img, .wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + width: 28px !important; + height: 28px !important; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-name { + font-size: 0.9em; + } + .wedocs-contributors .last-updated { + font-size: 0.8em; + } +} +@media (prefers-contrast: high) { + .wedocs-contributors .contributor-item .contributor-avatar { + border: 2px solid currentColor !important; + } + .wedocs-contributors .contributor-item .contributor-name { + text-decoration: underline; + } +} +@media (prefers-reduced-motion: reduce) { + .wedocs-contributors .contributor-avatar { + transition: none !important; + } + .wedocs-contributors .contributor-avatar.avatar-hover:hover { + transform: none !important; + } + .wedocs-contributors .contributor-name { + transition: none !important; + } +} +@media (prefers-color-scheme: dark) { + .wedocs-contributors .contributor-item .contributor-avatar .default-icon { + background-color: #4a90a4; + } +} +@media print { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + } + .wedocs-contributors .contributor-item .contributor-avatar { + display: none; + } +} + +/*# sourceMappingURL=style-index.css.map*/ \ No newline at end of file diff --git a/assets/build/blocks/AdvanceContributors/style-index.css.map b/assets/build/blocks/AdvanceContributors/style-index.css.map new file mode 100644 index 00000000..7d2c0637 --- /dev/null +++ b/assets/build/blocks/AdvanceContributors/style-index.css.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/AdvanceContributors/style-index.css","mappings":";;;AAAA;;EAAA;AAIC;EACO;AAAR;;AAKC;EACC;EACA;EACA;EACA;EACA;AAFF;AAIE;EAPD;IAQE;IACA;IACA;EADD;AACF;AAGE;EACC;EACA;EACA;AADH;AAGG;EALD;IAME;EAAF;AACF;AAEG;EACC;EACA;EACA;EACA;AAAJ;AAEI;EACC;EACA;AAAL;AAGI;EACC;EACA;KAAA;AADL;AAII;EACC;EACA;EACA;EACA;EACA;AAFL;AAIK;EACC;EACA;EACA;AAFN;AAOG;EACC;EACA;AALJ;AAOI;EACC;AALL;AAQI;EACC;AANL;AAYC;EACC;EACA;AAVF;AAYE;EAJD;IAKE;IACA;EATD;AACF;AAYC;EACC;EACA;EACA;AAVF;AAcC;EACC;IACC;EAZD;EAcC;IACC;EAZF;EAgBG;IACC;IACA;EAdJ;EAkBE;IACC;EAhBH;EAqBA;IACC;EAnBD;AACF;AAuBC;EAEE;IACC;EAtBF;EAyBC;IACC;EAvBF;AACF;AA4BC;EACC;IACC;EA1BD;EA4BC;IACC;EA1BF;EA8BA;IACC;EA5BD;AACF;AAgCC;EAEE;IACC;EA/BF;AACF;AAoCC;EACC;IACC;IACA;EAlCD;EAsCC;IACC;EApCF;AACF,C","sources":["webpack://weDocs/./src/blocks/AdvanceContributors/style.scss"],"sourcesContent":["/**\n * Frontend styles for the Contributors block\n */\n.contributors-tab-system{\n .components-button-group{\n display: flex;\n }\n}\n.wedocs-contributors {\n\n\t.contributors-container {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tflex-wrap: wrap;\n\t\tgap: 10px;\n\t\tmargin-bottom: 10px;\n\n\t\t@media (max-width: 768px) {\n\t\t\tflex-direction: column;\n\t\t\talign-items: flex-start;\n\t\t\tgap: 8px;\n\t\t}\n\n\t\t.contributor-item {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 8px;\n\n\t\t\t@media (max-width: 768px) {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t.contributor-avatar {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\ttransition: all 0.3s ease;\n\n\t\t\t\t&.avatar-hover:hover {\n\t\t\t\t\ttransform: scale(1.1);\n\t\t\t\t\tbox-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\t\t\t\t}\n\n\t\t\t\timg {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t\tobject-fit: cover;\n\t\t\t\t}\n\n\t\t\t\t.default-icon {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t\tbackground-color: #0073aa;\n\t\t\t\t\tcolor: white;\n\n\t\t\t\t\tsvg {\n\t\t\t\t\t\twidth: 60%;\n\t\t\t\t\t\theight: 60%;\n\t\t\t\t\t\tfill: currentColor;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.contributor-name {\n\t\t\t\ttransition: color 0.3s ease;\n\t\t\t\ttext-decoration: none;\n\n\t\t\t\t&:hover {\n\t\t\t\t\ttext-decoration: underline;\n\t\t\t\t}\n\n\t\t\t\t&.no-link {\n\t\t\t\t\tcursor: default;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.last-updated {\n\t\tmargin-top: 10px;\n\t\tfont-style: italic;\n\n\t\t@media (max-width: 768px) {\n\t\t\tmargin-top: 8px;\n\t\t\tfont-size: 0.9em;\n\t\t}\n\t}\n\n\t.contributors-title {\n\t\tmargin: 0 0 10px 0;\n\t\tfont-weight: 600;\n\t\tfont-size: 16px;\n\t}\n\n\t// Responsive adjustments\n\t@media (max-width: 480px) {\n\t\t.contributors-container {\n\t\t\tgap: 6px;\n\n\t\t\t.contributor-item {\n\t\t\t\tgap: 6px;\n\n\t\t\t\t.contributor-avatar {\n\t\t\t\t\t// Smaller avatars on mobile\n\t\t\t\t\timg, .default-icon {\n\t\t\t\t\t\twidth: 28px !important;\n\t\t\t\t\t\theight: 28px !important;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t.contributor-name {\n\t\t\t\t\tfont-size: 0.9em;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.last-updated {\n\t\t\tfont-size: 0.8em;\n\t\t}\n\t}\n\n\t// High contrast mode support\n\t@media (prefers-contrast: high) {\n\t\t.contributor-item {\n\t\t\t.contributor-avatar {\n\t\t\t\tborder: 2px solid currentColor !important;\n\t\t\t}\n\n\t\t\t.contributor-name {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Reduced motion support\n\t@media (prefers-reduced-motion: reduce) {\n\t\t.contributor-avatar {\n\t\t\ttransition: none !important;\n\n\t\t\t&.avatar-hover:hover {\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\t\t}\n\n\t\t.contributor-name {\n\t\t\ttransition: none !important;\n\t\t}\n\t}\n\n\t// Dark mode support (if theme supports it)\n\t@media (prefers-color-scheme: dark) {\n\t\t.contributor-item {\n\t\t\t.contributor-avatar .default-icon {\n\t\t\t\tbackground-color: #4a90a4;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Print styles\n\t@media print {\n\t\t.contributors-container {\n\t\t\tflex-direction: column;\n\t\t\talign-items: flex-start;\n\t\t}\n\n\t\t.contributor-item {\n\t\t\t.contributor-avatar {\n\t\t\t\tdisplay: none; // Hide avatars in print\n\t\t\t}\n\t\t}\n\t}\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/Contributors/index.asset.php b/assets/build/blocks/Contributors/index.asset.php new file mode 100644 index 00000000..e9570ce1 --- /dev/null +++ b/assets/build/blocks/Contributors/index.asset.php @@ -0,0 +1 @@ + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'b4051debe1e62dddf205'); diff --git a/assets/build/blocks/Contributors/index.js b/assets/build/blocks/Contributors/index.js new file mode 100644 index 00000000..fa889ab6 --- /dev/null +++ b/assets/build/blocks/Contributors/index.js @@ -0,0 +1,1922 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/blocks/Contributors/block.json": +/*!********************************************!*\ + !*** ./src/blocks/Contributors/block.json ***! + \********************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/contributors","version":"1.0.0","title":"Doc Contributors","icon":"groups","category":"widgets","description":"Display the author(s)/contributors of a doc along with the last updated date.","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"showTitle":{"type":"boolean","default":true},"title":{"type":"string","default":"Contributors"},"titleColor":{"type":"string","default":"#fff"},"contributorDisplayMode":{"type":"string","default":"all","enum":["all","manual","main_author"]},"selectedContributors":{"type":"array","default":[]},"showLastUpdated":{"type":"boolean","default":true},"dateFormat":{"type":"string","default":"wp_default"},"customDateFormat":{"type":"string","default":"F j, Y"},"datePrefix":{"type":"string","default":"Updated on"},"backgroundType":{"type":"string","default":"classic","enum":["classic","gradient"]},"backgroundColor":{"type":"string","default":"#f9f9f9"},"backgroundGradient":{"type":"string","default":""},"backgroundImage":{"type":"object","default":{"url":"","alt":""}},"padding":{"type":"object","default":{"top":"15px","right":"15px","bottom":"15px","left":"15px"}},"margin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"10px","left":"0px"}},"borderStyle":{"type":"string","default":"solid","enum":["none","solid","dashed","dotted"]},"borderWidth":{"type":"object","default":{"top":"1px","right":"1px","bottom":"1px","left":"1px"}},"borderColor":{"type":"string","default":"#dddddd"},"borderRadius":{"type":"string","default":"4px"},"boxShadow":{"type":"object","default":{"enabled":false,"horizontal":"0px","vertical":"2px","blur":"4px","spread":"0px","color":"rgba(0,0,0,0.1)"}},"showAvatar":{"type":"boolean","default":true},"avatarType":{"type":"string","default":"user_avatar","enum":["user_avatar","common_icon"]},"avatarSize":{"type":"string","default":"32px"},"avatarShape":{"type":"string","default":"circle","enum":["circle","rounded","square"]},"avatarBorderStyle":{"type":"string","default":"none","enum":["none","solid","dashed"]},"avatarBorderColor":{"type":"string","default":"#dddddd"},"avatarBorderRadius":{"type":"string","default":"50%"},"avatarHoverEffect":{"type":"boolean","default":false},"nameColor":{"type":"string","default":"#333333"},"nameTypography":{"type":"object","default":{"fontSize":"14px","fontWeight":"600","fontStyle":"normal","lineHeight":"normal","letterSpacing":"normal","textTransform":"none","textDecoration":"none","fontFamily":"default"}},"nameHoverColor":{"type":"string","default":"#0073aa"},"contributorTitleColor":{"type":"string","default":"#333333"},"contributorTitleTypography":{"type":"object","default":{"fontSize":"16px","fontWeight":"600","fontStyle":"normal","lineHeight":"normal","letterSpacing":"normal","textTransform":"none","textDecoration":"none","fontFamily":"default"}},"contributorTitleHoverColor":{"type":"string","default":"#0073aa"},"dateColor":{"type":"string","default":"#666666"},"dateTypography":{"type":"object","default":{"fontSize":"12px","fontWeight":"400","fontStyle":"normal","lineHeight":"normal","letterSpacing":"normal","textTransform":"none","textDecoration":"none","fontFamily":"default"}},"additionalCssClass":{"type":"string","default":""},"enableSchema":{"type":"boolean","default":false},"linkBehavior":{"type":"string","default":"user_profile","enum":["user_profile","no_link","custom_link"]},"customLinkUrl":{"type":"string","default":""},"avatarPadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"avatarMargin":{"type":"object","default":{"top":"0px","right":"8px","bottom":"0px","left":"0px"}},"avatarBorderWidth":{"type":"object","default":{"top":"2px","right":"2px","bottom":"2px","left":"2px"}},"avatarBoxShadow":{"type":"object","default":{"enabled":false,"horizontal":"0px","vertical":"2px","blur":"4px","spread":"0px","color":"rgba(0,0,0,0.1)"}},"namePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"nameMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"datePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"dateMargin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"0px","left":"0px"}},"contributorGap":{"type":"string","default":"10px"},"titlePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"10px","left":"0px"}},"titleMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}}'); + +/***/ }), + +/***/ "./src/blocks/Contributors/edit.js": +/*!*****************************************!*\ + !*** ./src/blocks/Contributors/edit.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/core-data */ "@wordpress/core-data"); +/* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _components_TabSystem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/TabSystem */ "./src/blocks/components/TabSystem.js"); +/* harmony import */ var _components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components/TypographyControl */ "./src/blocks/components/TypographyControl.js"); +/* harmony import */ var _components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/SpacingControl */ "./src/blocks/components/SpacingControl.js"); +/* harmony import */ var _components_BorderControl__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/BorderControl */ "./src/blocks/components/BorderControl.js"); +/* harmony import */ var _components_BackgroundControl__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components/BackgroundControl */ "./src/blocks/components/BackgroundControl.js"); +/* harmony import */ var _components_ShadowControl__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../components/ShadowControl */ "./src/blocks/components/ShadowControl.js"); +/* harmony import */ var _components_DimensionControl__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../components/DimensionControl */ "./src/blocks/components/DimensionControl.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__); + + + + + + + +// Import our custom components + + + + + + + + +const Edit = props => { + const { + attributes, + setAttributes + } = props; + const [users, setUsers] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const [isLoadingUsers, setIsLoadingUsers] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const [actualContributors, setActualContributors] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const [isLoadingContributors, setIsLoadingContributors] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)({ + className: `wedocs-contributors ${attributes.additionalCssClass}`, + style: { + backgroundColor: attributes.backgroundType === 'classic' ? attributes.backgroundColor : undefined, + backgroundImage: attributes.backgroundType === 'gradient' ? attributes.backgroundGradient : attributes.backgroundImage?.url ? `url(${attributes.backgroundImage.url})` : undefined, + padding: `${attributes.padding.top} ${attributes.padding.right} ${attributes.padding.bottom} ${attributes.padding.left}`, + margin: `${attributes.margin.top} ${attributes.margin.right} ${attributes.margin.bottom} ${attributes.margin.left}`, + borderStyle: attributes.borderStyle !== 'none' ? attributes.borderStyle : undefined, + borderWidth: attributes.borderStyle !== 'none' ? `${attributes.borderWidth.top} ${attributes.borderWidth.right} ${attributes.borderWidth.bottom} ${attributes.borderWidth.left}` : undefined, + borderColor: attributes.borderStyle !== 'none' ? attributes.borderColor : undefined, + borderRadius: attributes.borderRadius, + boxShadow: attributes.boxShadow.enabled ? `${attributes.boxShadow.horizontal} ${attributes.boxShadow.vertical} ${attributes.boxShadow.blur} ${attributes.boxShadow.spread} ${attributes.boxShadow.color}` : undefined + } + }); + + // Get current post data + const currentPost = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_4__.useSelect)(select => { + const { + getCurrentPostId, + getCurrentPostType + } = select('core/editor') || {}; + if (!getCurrentPostId) return null; + return select(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_5__.store).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId()); + }, []); + + // Fetch users when component mounts or when manual selection mode is active + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (attributes.contributorDisplayMode === 'manual') { + setIsLoadingUsers(true); + wp.apiFetch({ + path: '/wp/v2/users?per_page=100&context=edit' + }).then(users => { + setUsers(users); + setIsLoadingUsers(false); + }).catch(() => { + setIsLoadingUsers(false); + }); + } + }, [attributes.contributorDisplayMode]); + + // Fetch actual contributors based on current post and display mode + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (!currentPost) return; + const fetchContributors = async () => { + setIsLoadingContributors(true); + try { + const contributors = []; + switch (attributes.contributorDisplayMode) { + case 'main_author': + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + break; + case 'manual': + if (attributes.selectedContributors.length > 0) { + for (const userId of attributes.selectedContributors) { + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${userId}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch user ${userId}:`, error); + } + } + } + break; + case 'all': + default: + // Get post author + if (currentPost.author) { + const authorUser = await wp.apiFetch({ + path: `/wp/v2/users/${currentPost.author}?context=edit` + }); + if (authorUser) { + contributors.push(authorUser); + } + } + + // Get revisions if post is saved + if (currentPost.id) { + try { + const revisions = await wp.apiFetch({ + path: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50` + }); + const contributorIds = [currentPost.author]; + for (const revision of revisions) { + if (revision.author && !contributorIds.includes(revision.author)) { + contributorIds.push(revision.author); + try { + const user = await wp.apiFetch({ + path: `/wp/v2/users/${revision.author}?context=edit` + }); + if (user) { + contributors.push(user); + } + } catch (error) { + console.warn(`Could not fetch revision author ${revision.author}:`, error); + } + } + } + } catch (error) { + console.warn('Could not fetch revisions:', error); + } + } + break; + } + setActualContributors(contributors); + } catch (error) { + console.error('Error fetching contributors:', error); + setActualContributors([]); + } finally { + setIsLoadingContributors(false); + } + }; + fetchContributors(); + }, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]); + const renderPreview = () => { + // Show loading state + if (isLoadingContributors) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Placeholder, { + icon: "groups", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Contributors', 'wedocs'), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Loading contributors...', 'wedocs') + })] + }); + } + if (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Placeholder, { + icon: "groups", + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Contributors', 'wedocs'), + instructions: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select contributors from the settings panel.', 'wedocs') + }); + } + + // Use actual contributors or fallback to demo data + let displayContributors = actualContributors; + if (!displayContributors || displayContributors.length === 0) { + // Fallback to demo data for new posts or when no contributors found + displayContributors = [{ + id: 1, + name: 'Demo Author', + avatar_urls: { + 48: weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_2.png" + } + }]; + } + const avatarStyle = { + width: attributes.avatarSize, + height: attributes.avatarSize, + borderRadius: attributes.avatarShape === 'circle' ? '50%' : attributes.avatarShape === 'rounded' ? attributes.avatarBorderRadius : '0', + borderStyle: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderStyle : undefined, + borderColor: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderColor : undefined, + borderWidth: attributes.avatarBorderStyle !== 'none' ? `${attributes.avatarBorderWidth?.top || '2px'} ${attributes.avatarBorderWidth?.right || '2px'} ${attributes.avatarBorderWidth?.bottom || '2px'} ${attributes.avatarBorderWidth?.left || '2px'}` : undefined, + padding: `${attributes.avatarPadding?.top || '0px'} ${attributes.avatarPadding?.right || '0px'} ${attributes.avatarPadding?.bottom || '0px'} ${attributes.avatarPadding?.left || '0px'}`, + margin: `${attributes.avatarMargin?.top || '0px'} ${attributes.avatarMargin?.right || '8px'} ${attributes.avatarMargin?.bottom || '0px'} ${attributes.avatarMargin?.left || '0px'}`, + boxShadow: attributes.avatarBoxShadow?.enabled ? `${attributes.avatarBoxShadow.horizontal} ${attributes.avatarBoxShadow.vertical} ${attributes.avatarBoxShadow.blur} ${attributes.avatarBoxShadow.spread} ${attributes.avatarBoxShadow.color}` : undefined + }; + const titleStyle = { + color: attributes.contributorTitleColor, + fontSize: attributes.contributorTitleTypography.fontSize, + fontWeight: attributes.contributorTitleTypography.fontWeight, + fontStyle: attributes.contributorTitleTypography.fontStyle, + fontFamily: attributes.contributorTitleTypography.fontFamily !== 'default' ? attributes.contributorTitleTypography.fontFamily : undefined, + lineHeight: attributes.contributorTitleTypography.lineHeight !== 'normal' ? attributes.contributorTitleTypography.lineHeight : undefined, + letterSpacing: attributes.contributorTitleTypography.letterSpacing !== 'normal' ? attributes.contributorTitleTypography.letterSpacing : undefined, + textTransform: attributes.contributorTitleTypography.textTransform !== 'none' ? attributes.contributorTitleTypography.textTransform : undefined, + textDecoration: attributes.contributorTitleTypography.textDecoration !== 'none' ? attributes.contributorTitleTypography.textDecoration : undefined, + padding: `${attributes.titlePadding?.top || '0px'} ${attributes.titlePadding?.right || '0px'} ${attributes.titlePadding?.bottom || '10px'} ${attributes.titlePadding?.left || '0px'}`, + margin: `${attributes.titleMargin?.top || '0px'} ${attributes.titleMargin?.right || '0px'} ${attributes.titleMargin?.bottom || '0px'} ${attributes.titleMargin?.left || '0px'}` + }; + const nameStyle = { + color: attributes.nameColor, + fontSize: attributes.nameTypography.fontSize, + fontWeight: attributes.nameTypography.fontWeight, + fontStyle: attributes.nameTypography.fontStyle, + fontFamily: attributes.nameTypography.fontFamily !== 'default' ? attributes.nameTypography.fontFamily : undefined, + lineHeight: attributes.nameTypography.lineHeight !== 'normal' ? attributes.nameTypography.lineHeight : undefined, + letterSpacing: attributes.nameTypography.letterSpacing !== 'normal' ? attributes.nameTypography.letterSpacing : undefined, + textTransform: attributes.nameTypography.textTransform !== 'none' ? attributes.nameTypography.textTransform : undefined, + textDecoration: attributes.nameTypography.textDecoration !== 'none' ? attributes.nameTypography.textDecoration : undefined, + padding: `${attributes.namePadding?.top || '0px'} ${attributes.namePadding?.right || '0px'} ${attributes.namePadding?.bottom || '0px'} ${attributes.namePadding?.left || '0px'}`, + margin: `${attributes.nameMargin?.top || '0px'} ${attributes.nameMargin?.right || '0px'} ${attributes.nameMargin?.bottom || '0px'} ${attributes.nameMargin?.left || '0px'}` + }; + const dateStyle = { + color: attributes.dateColor, + fontSize: attributes.dateTypography.fontSize, + fontWeight: attributes.dateTypography.fontWeight, + fontStyle: attributes.dateTypography.fontStyle, + fontFamily: attributes.dateTypography.fontFamily !== 'default' ? attributes.dateTypography.fontFamily : undefined, + lineHeight: attributes.dateTypography.lineHeight !== 'normal' ? attributes.dateTypography.lineHeight : undefined, + letterSpacing: attributes.dateTypography.letterSpacing !== 'normal' ? attributes.dateTypography.letterSpacing : undefined, + textTransform: attributes.dateTypography.textTransform !== 'none' ? attributes.dateTypography.textTransform : undefined, + textDecoration: attributes.dateTypography.textDecoration !== 'none' ? attributes.dateTypography.textDecoration : undefined, + padding: `${attributes.datePadding?.top || '0px'} ${attributes.datePadding?.right || '0px'} ${attributes.datePadding?.bottom || '0px'} ${attributes.datePadding?.left || '0px'}`, + margin: `${attributes.dateMargin?.top || '10px'} ${attributes.dateMargin?.right || '0px'} ${attributes.dateMargin?.bottom || '0px'} ${attributes.dateMargin?.left || '0px'}` + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + children: [attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("h3", { + style: titleStyle, + children: attributes.title + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + style: { + display: 'flex', + alignItems: 'center', + flexWrap: 'wrap', + gap: attributes.contributorGap || '10px' + }, + children: attributes.showAvatar && displayContributors.map(contributor => { + // Handle both API response format and demo format + const contributorName = contributor.name || contributor.display_name || 'Unknown'; + const contributorId = contributor.id || contributor.ID || Math.random(); + // Get avatar URL with fallbacks + let avatarUrl = weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_1.png"; + if (contributor.avatar_urls) { + avatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24]; + } + + // If no avatar URL and we have an email, use Gravatar + if (!avatarUrl && contributor.email) { + try { + const emailHash = btoa(contributor.email.toLowerCase().trim()); + avatarUrl = `https://www.gravatar.com/avatar/${emailHash}?s=48&d=identicon`; + } catch (e) { + avatarUrl = weDocsAdminScriptVars.assetsUrl + "/img/demo_avatar/avatar_1.png"; + } + } + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center' + }, + children: [attributes.avatarType === 'user_avatar' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("img", { + src: avatarUrl, + alt: contributorName, + style: avatarStyle + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + style: { + ...avatarStyle, + backgroundColor: '#0073aa', + display: 'flex', + alignItems: 'center', + justifyContent: 'center' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("svg", { + width: "16", + height: "16", + fill: "white", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("path", { + d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("span", { + style: nameStyle, + children: contributorName + })] + }, contributorId); + }) + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + style: dateStyle, + children: [attributes.datePrefix, " ", new Date().toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric' + })] + })] + }); + }; + const setupTabContent = () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('General Settings', 'wedocs'), + initialOpen: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Title', 'wedocs'), + checked: attributes.showTitle, + onChange: value => setAttributes({ + showTitle: value + }) + }), attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title', 'wedocs'), + value: attributes.title, + onChange: value => setAttributes({ + title: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Contributor Display', 'wedocs'), + value: attributes.contributorDisplayMode, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show all contributors', 'wedocs'), + value: 'all' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Manually select contributors', 'wedocs'), + value: 'manual' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show only main author', 'wedocs'), + value: 'main_author' + }], + onChange: value => setAttributes({ + contributorDisplayMode: value + }) + }), attributes.contributorDisplayMode === 'manual' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Contributors', 'wedocs') + }), isLoadingUsers ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + style: { + maxHeight: '200px', + overflowY: 'auto', + border: '1px solid #ddd', + padding: '10px' + }, + children: users.map(user => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)("label", { + style: { + display: 'block', + marginBottom: '5px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("input", { + type: "checkbox", + checked: attributes.selectedContributors.includes(user.id), + onChange: e => { + const newSelected = e.target.checked ? [...attributes.selectedContributors, user.id] : attributes.selectedContributors.filter(id => id !== user.id); + setAttributes({ + selectedContributors: newSelected + }); + }, + style: { + marginRight: '8px' + } + }), user.name] + }, user.id)) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Settings', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Avatar', 'wedocs'), + checked: attributes.showAvatar, + onChange: value => setAttributes({ + showAvatar: value + }) + }), attributes.showAvatar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Type', 'wedocs'), + selected: attributes.avatarType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('User Avatar', 'wedocs'), + value: 'user_avatar' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Common Icon', 'wedocs'), + value: 'common_icon' + }], + onChange: value => setAttributes({ + avatarType: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Shape', 'wedocs'), + value: attributes.avatarShape, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Circle', 'wedocs'), + value: 'circle' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Rounded', 'wedocs'), + value: 'rounded' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Square', 'wedocs'), + value: 'square' + }], + onChange: value => setAttributes({ + avatarShape: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Effect', 'wedocs'), + checked: attributes.avatarHoverEffect, + onChange: value => setAttributes({ + avatarHoverEffect: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Settings', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Last Updated Date', 'wedocs'), + checked: attributes.showLastUpdated, + onChange: value => setAttributes({ + showLastUpdated: value + }) + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Format', 'wedocs'), + selected: attributes.dateFormat, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('WordPress Default', 'wedocs'), + value: 'wp_default' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Format', 'wedocs'), + value: 'custom' + }], + onChange: value => setAttributes({ + dateFormat: value + }) + }), attributes.dateFormat === 'custom' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Date Format', 'wedocs'), + value: attributes.customDateFormat, + onChange: value => setAttributes({ + customDateFormat: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Use PHP date format. E.g., F j, Y for "January 1, 2023"', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Prefix Text', 'wedocs'), + value: attributes.datePrefix, + onChange: value => setAttributes({ + datePrefix: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Advanced', 'wedocs'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Additional CSS Classes', 'wedocs'), + value: attributes.additionalCssClass, + onChange: value => setAttributes({ + additionalCssClass: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Separate multiple classes with spaces', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enable Schema Markup', 'wedocs'), + checked: attributes.enableSchema, + onChange: value => setAttributes({ + enableSchema: value + }), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Output structured data for author and dateModified', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Link Behavior', 'wedocs'), + value: attributes.linkBehavior, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Link to user profile', 'wedocs'), + value: 'user_profile' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('No link', 'wedocs'), + value: 'no_link' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom link', 'wedocs'), + value: 'custom_link' + }], + onChange: value => setAttributes({ + linkBehavior: value + }) + }), attributes.linkBehavior === 'custom_link' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Link URL', 'wedocs'), + value: attributes.customLinkUrl, + onChange: value => setAttributes({ + customLinkUrl: value + }), + placeholder: "https://example.com/author" + })] + })] + }); + const styleTabContent = () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_BackgroundControl__WEBPACK_IMPORTED_MODULE_10__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Background', 'wedocs'), + backgroundType: attributes.backgroundType, + onBackgroundTypeChange: value => setAttributes({ + backgroundType: value + }), + backgroundColor: attributes.backgroundColor, + onBackgroundColorChange: value => setAttributes({ + backgroundColor: value + }), + backgroundGradient: attributes.backgroundGradient, + onBackgroundGradientChange: value => setAttributes({ + backgroundGradient: value + }), + backgroundImage: attributes.backgroundImage, + onBackgroundImageChange: value => setAttributes({ + backgroundImage: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Spacing', 'wedocs'), + paddingValue: attributes.padding, + onPaddingChange: value => setAttributes({ + padding: value + }), + marginValue: attributes.margin, + onMarginChange: value => setAttributes({ + margin: value + }), + showGap: true, + gapValue: attributes.contributorGap, + onGapChange: value => setAttributes({ + contributorGap: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_BorderControl__WEBPACK_IMPORTED_MODULE_9__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Border', 'wedocs'), + borderStyle: attributes.borderStyle, + onBorderStyleChange: value => setAttributes({ + borderStyle: value + }), + borderWidth: attributes.borderWidth, + onBorderWidthChange: value => setAttributes({ + borderWidth: value + }), + borderColor: attributes.borderColor, + onBorderColorChange: value => setAttributes({ + borderColor: value + }), + borderRadius: attributes.borderRadius, + onBorderRadiusChange: value => setAttributes({ + borderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_ShadowControl__WEBPACK_IMPORTED_MODULE_11__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Container Shadow', 'wedocs'), + shadowValue: attributes.boxShadow, + onShadowChange: value => setAttributes({ + boxShadow: value + }) + }), attributes.showTitle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title Typography', 'wedocs'), + value: attributes.contributorTitleTypography, + onChange: value => setAttributes({ + contributorTitleTypography: value + }), + colorValue: attributes.contributorTitleColor, + onColorChange: value => setAttributes({ + contributorTitleColor: value + }), + hoverColorValue: attributes.contributorTitleHoverColor, + onHoverColorChange: value => setAttributes({ + contributorTitleHoverColor: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title Spacing', 'wedocs'), + paddingValue: attributes.titlePadding, + onPaddingChange: value => setAttributes({ + titlePadding: value + }), + marginValue: attributes.titleMargin, + onMarginChange: value => setAttributes({ + titleMargin: value + }), + showGap: false + })] + }), attributes.showAvatar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_DimensionControl__WEBPACK_IMPORTED_MODULE_12__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Size', 'wedocs'), + widthValue: attributes.avatarSize, + onWidthChange: value => setAttributes({ + avatarSize: value + }), + showHeight: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Spacing', 'wedocs'), + paddingValue: attributes.avatarPadding, + onPaddingChange: value => setAttributes({ + avatarPadding: value + }), + marginValue: attributes.avatarMargin, + onMarginChange: value => setAttributes({ + avatarMargin: value + }), + showGap: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_BorderControl__WEBPACK_IMPORTED_MODULE_9__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Border', 'wedocs'), + borderStyle: attributes.avatarBorderStyle, + onBorderStyleChange: value => setAttributes({ + avatarBorderStyle: value + }), + borderWidth: attributes.avatarBorderWidth, + onBorderWidthChange: value => setAttributes({ + avatarBorderWidth: value + }), + borderColor: attributes.avatarBorderColor, + onBorderColorChange: value => setAttributes({ + avatarBorderColor: value + }), + borderRadius: attributes.avatarBorderRadius, + onBorderRadiusChange: value => setAttributes({ + avatarBorderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_ShadowControl__WEBPACK_IMPORTED_MODULE_11__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Avatar Shadow', 'wedocs'), + shadowValue: attributes.avatarBoxShadow, + onShadowChange: value => setAttributes({ + avatarBoxShadow: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Name Typography', 'wedocs'), + value: attributes.nameTypography, + onChange: value => setAttributes({ + nameTypography: value + }), + colorValue: attributes.nameColor, + onColorChange: value => setAttributes({ + nameColor: value + }), + hoverColorValue: attributes.nameHoverColor, + onHoverColorChange: value => setAttributes({ + nameHoverColor: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Name Spacing', 'wedocs'), + paddingValue: attributes.namePadding, + onPaddingChange: value => setAttributes({ + namePadding: value + }), + marginValue: attributes.nameMargin, + onMarginChange: value => setAttributes({ + nameMargin: value + }), + showGap: false + }), attributes.showLastUpdated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_TypographyControl__WEBPACK_IMPORTED_MODULE_7__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Typography', 'wedocs'), + value: attributes.dateTypography, + onChange: value => setAttributes({ + dateTypography: value + }), + colorValue: attributes.dateColor, + onColorChange: value => setAttributes({ + dateColor: value + }), + showHoverColor: false + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_SpacingControl__WEBPACK_IMPORTED_MODULE_8__["default"], { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Date Spacing', 'wedocs'), + paddingValue: attributes.datePadding, + onPaddingChange: value => setAttributes({ + datePadding: value + }), + marginValue: attributes.dateMargin, + onMarginChange: value => setAttributes({ + dateMargin: value + }), + showGap: false + })] + })] + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_components_TabSystem__WEBPACK_IMPORTED_MODULE_6__["default"], { + defaultTab: "setup", + children: [setupTabContent(), styleTabContent()] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("div", { + ...blockProps, + children: renderPreview() + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/Contributors/index.js": +/*!******************************************!*\ + !*** ./src/blocks/Contributors/index.js ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./edit */ "./src/blocks/Contributors/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./src/blocks/Contributors/block.json"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/Contributors/style.scss"); + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_1__["default"], + /** + * @see ./save.js + */ + save: () => null +}); + +/***/ }), + +/***/ "./src/blocks/Contributors/style.scss": +/*!********************************************!*\ + !*** ./src/blocks/Contributors/style.scss ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/components/BackgroundControl.js": +/*!****************************************************!*\ + !*** ./src/blocks/components/BackgroundControl.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const BackgroundControl = ({ + label, + backgroundType = 'classic', + onBackgroundTypeChange, + backgroundColor, + onBackgroundColorChange, + backgroundGradient, + onBackgroundGradientChange, + backgroundImage = {}, + onBackgroundImageChange, + showGradient = true, + showImage = true +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.RadioControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Type', 'wedocs'), + selected: backgroundType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Classic', 'wedocs'), + value: 'classic' + }, ...(showGradient ? [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient', 'wedocs'), + value: 'gradient' + }] : [])], + onChange: onBackgroundTypeChange + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), backgroundType === 'classic' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Color', 'wedocs'), + colorSettings: [{ + value: backgroundColor, + onChange: onBackgroundColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + }] + }), backgroundType === 'gradient' && showGradient && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient CSS', 'wedocs'), + value: backgroundGradient || '', + onChange: onBackgroundGradientChange, + placeholder: "linear-gradient(45deg, #ff0000, #00ff00)", + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enter CSS gradient value', 'wedocs') + }), showImage && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Image', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.MediaUploadCheck, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.MediaUpload, { + onSelect: media => onBackgroundImageChange({ + url: media.url, + alt: media.alt, + id: media.id + }), + allowedTypes: ['image'], + value: backgroundImage?.id, + render: ({ + open + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + onClick: open, + variant: "secondary", + children: backgroundImage?.url ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Change Image', 'wedocs') : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Image', 'wedocs') + }) + }) + }), backgroundImage?.url && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 2, + marginBottom: 2 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + onClick: () => onBackgroundImageChange({ + url: '', + alt: '', + id: '' + }), + variant: "secondary", + isDestructive: true, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Remove Image', 'wedocs') + })] + })] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BackgroundControl); + +/***/ }), + +/***/ "./src/blocks/components/BorderControl.js": +/*!************************************************!*\ + !*** ./src/blocks/components/BorderControl.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const BorderControl = ({ + label, + borderStyle = 'none', + onBorderStyleChange, + borderWidth = {}, + onBorderWidthChange, + borderColor, + onBorderColorChange, + borderRadius, + onBorderRadiusChange, + showIndividualSides = true +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Style', 'wedocs'), + value: borderStyle, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Double', 'wedocs'), + value: 'double' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Groove', 'wedocs'), + value: 'groove' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Ridge', 'wedocs'), + value: 'ridge' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Inset', 'wedocs'), + value: 'inset' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Outset', 'wedocs'), + value: 'outset' + }], + onChange: onBorderStyleChange + }), borderStyle !== 'none' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), showIndividualSides ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + values: borderWidth, + onChange: onBorderWidthChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }], + allowReset: true, + resetValues: { + top: '1px', + right: '1px', + bottom: '1px', + left: '1px' + } + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + value: borderWidth.top || '1px', + onChange: newValue => onBorderWidthChange({ + top: newValue, + right: newValue, + bottom: newValue, + left: newValue + }), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'wedocs'), + colorSettings: [{ + value: borderColor, + onChange: onBorderColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + }] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'wedocs'), + value: borderRadius || '0px', + onChange: onBorderRadiusChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BorderControl); + +/***/ }), + +/***/ "./src/blocks/components/DimensionControl.js": +/*!***************************************************!*\ + !*** ./src/blocks/components/DimensionControl.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const DimensionControl = ({ + label, + widthValue, + onWidthChange, + heightValue, + onHeightChange, + showHeight = true, + linkValues = false +}) => { + const handleWidthChange = newValue => { + onWidthChange(newValue); + if (linkValues && showHeight && onHeightChange) { + onHeightChange(newValue); + } + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Width', 'wedocs'), + value: widthValue || 'auto', + onChange: handleWidthChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }, { + value: 'auto', + label: 'auto' + }] + }), showHeight && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Height', 'wedocs'), + value: heightValue || 'auto', + onChange: onHeightChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }, { + value: 'auto', + label: 'auto' + }] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DimensionControl); + +/***/ }), + +/***/ "./src/blocks/components/ShadowControl.js": +/*!************************************************!*\ + !*** ./src/blocks/components/ShadowControl.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const ShadowControl = ({ + label, + shadowValue = {}, + onShadowChange, + showToggle = true +}) => { + var _shadowValue$enabled; + const updateShadow = (key, newValue) => { + onShadowChange({ + ...shadowValue, + [key]: newValue + }); + }; + const enabled = (_shadowValue$enabled = shadowValue.enabled) !== null && _shadowValue$enabled !== void 0 ? _shadowValue$enabled : false; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [showToggle && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Enable Box Shadow', 'wedocs'), + checked: enabled, + onChange: value => updateShadow('enabled', value) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + })] + }), (enabled || !showToggle) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Horizontal Offset', 'wedocs'), + value: shadowValue.horizontal || '0px', + onChange: value => updateShadow('horizontal', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Vertical Offset', 'wedocs'), + value: shadowValue.vertical || '2px', + onChange: value => updateShadow('vertical', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Blur Radius', 'wedocs'), + value: shadowValue.blur || '4px', + onChange: value => updateShadow('blur', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 3, + marginBottom: 3 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Spread Radius', 'wedocs'), + value: shadowValue.spread || '0px', + onChange: value => updateShadow('spread', value), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Shadow Color', 'wedocs'), + colorSettings: [{ + value: shadowValue.color || 'rgba(0,0,0,0.1)', + onChange: value => updateShadow('color', value), + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'wedocs') + }] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ShadowControl); + +/***/ }), + +/***/ "./src/blocks/components/SpacingControl.js": +/*!*************************************************!*\ + !*** ./src/blocks/components/SpacingControl.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const SpacingControl = ({ + label, + paddingValue = {}, + onPaddingChange, + marginValue = {}, + onMarginChange, + showPadding = true, + showMargin = true, + showGap = false, + gapValue, + onGapChange +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [showPadding && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Padding', 'wedocs'), + values: paddingValue, + onChange: onPaddingChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }], + allowReset: true, + resetValues: { + top: '0px', + right: '0px', + bottom: '0px', + left: '0px' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + })] + }), showMargin && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Margin', 'wedocs'), + values: marginValue, + onChange: onMarginChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }], + allowReset: true, + resetValues: { + top: '0px', + right: '0px', + bottom: '0px', + left: '0px' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + })] + }), showGap && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gap', 'wedocs'), + value: gapValue || '10px', + onChange: onGapChange, + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SpacingControl); + +/***/ }), + +/***/ "./src/blocks/components/TabSystem.js": +/*!********************************************!*\ + !*** ./src/blocks/components/TabSystem.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const TabSystem = ({ + children, + defaultTab = 'setup' +}) => { + const [activeTab, setActiveTab] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.useState)(defaultTab); + const tabs = [{ + key: 'setup', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Setup', 'wedocs'), + icon: 'admin-settings' + }, { + key: 'style', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Style', 'wedocs'), + icon: 'admin-appearance' + }]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "contributors-tab-system", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + style: { + borderBottom: '1px solid #ddd', + marginBottom: '16px', + paddingBottom: '8px' + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ButtonGroup, { + children: tabs.map(tab => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { + variant: activeTab === tab.key ? 'primary' : 'secondary', + onClick: () => setActiveTab(tab.key), + style: { + marginRight: '4px', + display: 'flex', + alignItems: 'center', + gap: '4px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span", { + className: `dashicons dashicons-${tab.icon}`, + style: { + fontSize: '16px' + } + }), tab.label] + }, tab.key)) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "tab-content", + children: children.map((child, index) => { + const tabKey = index === 0 ? 'setup' : 'style'; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + style: { + display: activeTab === tabKey ? 'block' : 'none' + }, + children: child + }, tabKey); + }) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TabSystem); + +/***/ }), + +/***/ "./src/blocks/components/TypographyControl.js": +/*!****************************************************!*\ + !*** ./src/blocks/components/TypographyControl.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +const TypographyControl = ({ + label, + value = {}, + onChange, + colorValue, + onColorChange, + hoverColorValue, + onHoverColorChange, + showHoverColor = true, + showLineHeight = true, + showLetterSpacing = true, + showTextTransform = true, + showTextDecoration = true +}) => { + const updateTypography = (key, newValue) => { + onChange({ + ...value, + [key]: newValue + }); + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: label, + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Colors', 'wedocs'), + colorSettings: [{ + value: colorValue, + onChange: onColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text Color', 'wedocs') + }, ...(showHoverColor ? [{ + value: hoverColorValue, + onChange: onHoverColorChange, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Color', 'wedocs') + }] : [])] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalSpacer, { + marginTop: 4, + marginBottom: 4 + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Family', 'wedocs'), + value: value.fontFamily || 'default', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Default', 'wedocs'), + value: 'default' + }, { + label: 'Arial', + value: 'Arial, sans-serif' + }, { + label: 'Georgia', + value: 'Georgia, serif' + }, { + label: 'Helvetica', + value: 'Helvetica, sans-serif' + }, { + label: 'Times New Roman', + value: '"Times New Roman", serif' + }, { + label: 'Verdana', + value: 'Verdana, sans-serif' + }, { + label: 'Roboto', + value: 'Roboto, sans-serif' + }, { + label: 'Open Sans', + value: '"Open Sans", sans-serif' + }, { + label: 'Lato', + value: 'Lato, sans-serif' + }, { + label: 'Montserrat', + value: 'Montserrat, sans-serif' + }], + onChange: newValue => updateTypography('fontFamily', newValue === 'default' ? undefined : newValue) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Size', 'wedocs'), + value: value.fontSize || '14px', + onChange: newValue => updateTypography('fontSize', newValue), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }, { + value: '%', + label: '%' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Weight', 'wedocs'), + value: value.fontWeight || '400', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('100 - Thin', 'wedocs'), + value: '100' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('200 - Extra Light', 'wedocs'), + value: '200' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('300 - Light', 'wedocs'), + value: '300' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('400 - Normal', 'wedocs'), + value: '400' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('500 - Medium', 'wedocs'), + value: '500' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('600 - Semi Bold', 'wedocs'), + value: '600' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('700 - Bold', 'wedocs'), + value: '700' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('800 - Extra Bold', 'wedocs'), + value: '800' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('900 - Black', 'wedocs'), + value: '900' + }], + onChange: newValue => updateTypography('fontWeight', newValue) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Style', 'wedocs'), + value: value.fontStyle || 'normal', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Normal', 'wedocs'), + value: 'normal' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Italic', 'wedocs'), + value: 'italic' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Oblique', 'wedocs'), + value: 'oblique' + }], + onChange: newValue => updateTypography('fontStyle', newValue) + }), showLineHeight && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Line Height', 'wedocs'), + value: value.lineHeight || 'normal', + onChange: newValue => updateTypography('lineHeight', newValue), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: '', + label: 'unitless' + }] + }), showLetterSpacing && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Letter Spacing', 'wedocs'), + value: value.letterSpacing || 'normal', + onChange: newValue => updateTypography('letterSpacing', newValue), + units: [{ + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }] + }), showTextTransform && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text Transform', 'wedocs'), + value: value.textTransform || 'none', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Uppercase', 'wedocs'), + value: 'uppercase' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Lowercase', 'wedocs'), + value: 'lowercase' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Capitalize', 'wedocs'), + value: 'capitalize' + }], + onChange: newValue => updateTypography('textTransform', newValue) + }), showTextDecoration && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Text Decoration', 'wedocs'), + value: value.textDecoration || 'none', + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Underline', 'wedocs'), + value: 'underline' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Overline', 'wedocs'), + value: 'overline' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Line Through', 'wedocs'), + value: 'line-through' + }], + onChange: newValue => updateTypography('textDecoration', newValue) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TypographyControl); + +/***/ }), + +/***/ "@wordpress/block-editor": +/*!*************************************!*\ + !*** external ["wp","blockEditor"] ***! + \*************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blockEditor"]; + +/***/ }), + +/***/ "@wordpress/blocks": +/*!********************************!*\ + !*** external ["wp","blocks"] ***! + \********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blocks"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/core-data": +/*!**********************************!*\ + !*** external ["wp","coreData"] ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["coreData"]; + +/***/ }), + +/***/ "@wordpress/data": +/*!******************************!*\ + !*** external ["wp","data"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["data"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["i18n"]; + +/***/ }), + +/***/ "react/jsx-runtime": +/*!**********************************!*\ + !*** external "ReactJSXRuntime" ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["ReactJSXRuntime"]; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var [chunkIds, fn, priority] = deferred[i]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "blocks/Contributors/index": 0, +/******/ "blocks/Contributors/style-index": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = globalThis["webpackChunkweDocs"] = globalThis["webpackChunkweDocs"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module depends on other loaded chunks and execution need to be delayed +/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["blocks/Contributors/style-index"], () => (__webpack_require__("./src/blocks/Contributors/index.js"))) +/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ +/******/ })() +; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/assets/build/blocks/Contributors/index.js.map b/assets/build/blocks/Contributors/index.js.map new file mode 100644 index 00000000..b7b1418b --- /dev/null +++ b/assets/build/blocks/Contributors/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/Contributors/index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAqC;AAIJ;AASF;AAC0B;AACb;AACc;;AAE1D;AACgD;AACgB;AACN;AACF;AACQ;AACR;AACM;AAAA;AAG9D,MAAM4B,IAAI,GAAIC,KAAK,IAAK;EACvB,MAAM;IAAEC,UAAU;IAAEC;EAAc,CAAC,GAAGF,KAAK;EAC3C,MAAM,CAACG,KAAK,EAAEC,QAAQ,CAAC,GAAGvB,4DAAQ,CAAC,EAAE,CAAC;EACtC,MAAM,CAACwB,cAAc,EAAEC,iBAAiB,CAAC,GAAGzB,4DAAQ,CAAC,KAAK,CAAC;EAC3D,MAAM,CAAC0B,kBAAkB,EAAEC,qBAAqB,CAAC,GAAG3B,4DAAQ,CAAC,EAAE,CAAC;EAChE,MAAM,CAAC4B,qBAAqB,EAAEC,wBAAwB,CAAC,GAAG7B,4DAAQ,CAAC,KAAK,CAAC;EAEzE,MAAM8B,UAAU,GAAGvC,sEAAa,CAAC;IAChCwC,SAAS,EAAE,uBAAuBX,UAAU,CAACY,kBAAkB,EAAE;IACjEC,KAAK,EAAE;MACNC,eAAe,EAAEd,UAAU,CAACe,cAAc,KAAK,SAAS,GAAGf,UAAU,CAACc,eAAe,GAAGE,SAAS;MACjGC,eAAe,EAAEjB,UAAU,CAACe,cAAc,KAAK,UAAU,GAAGf,UAAU,CAACkB,kBAAkB,GACvFlB,UAAU,CAACiB,eAAe,EAAEE,GAAG,GAAG,OAAOnB,UAAU,CAACiB,eAAe,CAACE,GAAG,GAAG,GAAGH,SAAU;MACzFI,OAAO,EAAE,GAAGpB,UAAU,CAACoB,OAAO,CAACC,GAAG,IAAIrB,UAAU,CAACoB,OAAO,CAACE,KAAK,IAAItB,UAAU,CAACoB,OAAO,CAAC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WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://weDocs/./src/blocks/Contributors/edit.js","webpack://weDocs/./src/blocks/Contributors/index.js","webpack://weDocs/./src/blocks/Contributors/style.scss?8b21","webpack://weDocs/./src/blocks/components/BackgroundControl.js","webpack://weDocs/./src/blocks/components/BorderControl.js","webpack://weDocs/./src/blocks/components/DimensionControl.js","webpack://weDocs/./src/blocks/components/ShadowControl.js","webpack://weDocs/./src/blocks/components/SpacingControl.js","webpack://weDocs/./src/blocks/components/TabSystem.js","webpack://weDocs/./src/blocks/components/TypographyControl.js","webpack://weDocs/external window [\"wp\",\"blockEditor\"]","webpack://weDocs/external window [\"wp\",\"blocks\"]","webpack://weDocs/external window [\"wp\",\"components\"]","webpack://weDocs/external window [\"wp\",\"coreData\"]","webpack://weDocs/external window [\"wp\",\"data\"]","webpack://weDocs/external window [\"wp\",\"element\"]","webpack://weDocs/external window [\"wp\",\"i18n\"]","webpack://weDocs/external window \"ReactJSXRuntime\"","webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/chunk loaded","webpack://weDocs/webpack/runtime/compat get default export","webpack://weDocs/webpack/runtime/define property getters","webpack://weDocs/webpack/runtime/hasOwnProperty shorthand","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/webpack/runtime/jsonp chunk loading","webpack://weDocs/webpack/before-startup","webpack://weDocs/webpack/startup","webpack://weDocs/webpack/after-startup"],"sourcesContent":["import { __ } from '@wordpress/i18n';\nimport {\n\tuseBlockProps,\n\tInspectorControls\n} from '@wordpress/block-editor';\nimport {\n\tPanelBody,\n\tToggleControl,\n\tTextControl,\n\tSelectControl,\n\tRadioControl,\n\tPlaceholder,\n\tSpinner\n} from '@wordpress/components';\nimport { useState, useEffect } from '@wordpress/element';\nimport { useSelect } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\n\n// Import our custom components\nimport TabSystem from '../components/TabSystem';\nimport TypographyControl from '../components/TypographyControl';\nimport SpacingControl from '../components/SpacingControl';\nimport BorderControl from '../components/BorderControl';\nimport BackgroundControl from '../components/BackgroundControl';\nimport ShadowControl from '../components/ShadowControl';\nimport DimensionControl from '../components/DimensionControl';\n\n\nconst Edit = (props) => {\n\tconst { attributes, setAttributes } = props;\n\tconst [users, setUsers] = useState([]);\n\tconst [isLoadingUsers, setIsLoadingUsers] = useState(false);\n\tconst [actualContributors, setActualContributors] = useState([]);\n\tconst [isLoadingContributors, setIsLoadingContributors] = useState(false);\n\n\tconst blockProps = useBlockProps({\n\t\tclassName: `wedocs-contributors ${attributes.additionalCssClass}`,\n\t\tstyle: {\n\t\t\tbackgroundColor: attributes.backgroundType === 'classic' ? attributes.backgroundColor : undefined,\n\t\t\tbackgroundImage: attributes.backgroundType === 'gradient' ? attributes.backgroundGradient :\n\t\t\t\t(attributes.backgroundImage?.url ? `url(${attributes.backgroundImage.url})` : undefined),\n\t\t\tpadding: `${attributes.padding.top} ${attributes.padding.right} ${attributes.padding.bottom} ${attributes.padding.left}`,\n\t\t\tmargin: `${attributes.margin.top} ${attributes.margin.right} ${attributes.margin.bottom} ${attributes.margin.left}`,\n\t\t\tborderStyle: attributes.borderStyle !== 'none' ? attributes.borderStyle : undefined,\n\t\t\tborderWidth: attributes.borderStyle !== 'none' ?\n\t\t\t\t`${attributes.borderWidth.top} ${attributes.borderWidth.right} ${attributes.borderWidth.bottom} ${attributes.borderWidth.left}` : undefined,\n\t\t\tborderColor: attributes.borderStyle !== 'none' ? attributes.borderColor : undefined,\n\t\t\tborderRadius: attributes.borderRadius,\n\t\t\tboxShadow: attributes.boxShadow.enabled ?\n\t\t\t\t`${attributes.boxShadow.horizontal} ${attributes.boxShadow.vertical} ${attributes.boxShadow.blur} ${attributes.boxShadow.spread} ${attributes.boxShadow.color}` : undefined\n\t\t}\n\t});\n\n\t// Get current post data\n\tconst currentPost = useSelect((select) => {\n\t\tconst { getCurrentPostId, getCurrentPostType } = select('core/editor') || {};\n\t\tif (!getCurrentPostId) return null;\n\n\t\treturn select(coreStore).getEntityRecord('postType', getCurrentPostType(), getCurrentPostId());\n\t}, []);\n\n\t// Fetch users when component mounts or when manual selection mode is active\n\tuseEffect(() => {\n\t\tif (attributes.contributorDisplayMode === 'manual') {\n\t\t\tsetIsLoadingUsers(true);\n\t\t\twp.apiFetch({ path: '/wp/v2/users?per_page=100&context=edit' })\n\t\t\t\t.then(users => {\n\t\t\t\t\tsetUsers(users);\n\t\t\t\t\tsetIsLoadingUsers(false);\n\t\t\t\t})\n\t\t\t\t.catch(() => {\n\t\t\t\t\tsetIsLoadingUsers(false);\n\t\t\t\t});\n\t\t}\n\t}, [attributes.contributorDisplayMode]);\n\n\t// Fetch actual contributors based on current post and display mode\n\tuseEffect(() => {\n\t\tif (!currentPost) return;\n\n\t\tconst fetchContributors = async () => {\n\t\t\tsetIsLoadingContributors(true);\n\t\t\ttry {\n\t\t\t\tconst contributors = [];\n\n\t\t\t\tswitch (attributes.contributorDisplayMode) {\n\t\t\t\t\tcase 'main_author':\n\t\t\t\t\t\tif (currentPost.author) {\n\t\t\t\t\t\t\tconst authorUser = await wp.apiFetch({\n\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${currentPost.author}?context=edit`\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (authorUser) {\n\t\t\t\t\t\t\t\tcontributors.push(authorUser);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\tif (attributes.selectedContributors.length > 0) {\n\t\t\t\t\t\t\tfor (const userId of attributes.selectedContributors) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tconst user = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${userId}?context=edit`\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tif (user) {\n\t\t\t\t\t\t\t\t\t\tcontributors.push(user);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\t\tconsole.warn(`Could not fetch user ${userId}:`, error);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'all':\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// Get post author\n\t\t\t\t\t\tif (currentPost.author) {\n\t\t\t\t\t\t\tconst authorUser = await wp.apiFetch({\n\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${currentPost.author}?context=edit`\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (authorUser) {\n\t\t\t\t\t\t\t\tcontributors.push(authorUser);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Get revisions if post is saved\n\t\t\t\t\t\tif (currentPost.id) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst revisions = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\tpath: `/wp/v2/${currentPost.type}/${currentPost.id}/revisions?per_page=50`\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\tconst contributorIds = [currentPost.author];\n\t\t\t\t\t\t\t\tfor (const revision of revisions) {\n\t\t\t\t\t\t\t\t\tif (revision.author && !contributorIds.includes(revision.author)) {\n\t\t\t\t\t\t\t\t\t\tcontributorIds.push(revision.author);\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tconst user = await wp.apiFetch({\n\t\t\t\t\t\t\t\t\t\t\t\tpath: `/wp/v2/users/${revision.author}?context=edit`\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\tif (user) {\n\t\t\t\t\t\t\t\t\t\t\t\tcontributors.push(user);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\t\t\t\tconsole.warn(`Could not fetch revision author ${revision.author}:`, error);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\t\tconsole.warn('Could not fetch revisions:', error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tsetActualContributors(contributors);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('Error fetching contributors:', error);\n\t\t\t\tsetActualContributors([]);\n\t\t\t} finally {\n\t\t\t\tsetIsLoadingContributors(false);\n\t\t\t}\n\t\t};\n\n\t\tfetchContributors();\n\t}, [currentPost, attributes.contributorDisplayMode, attributes.selectedContributors]);\n\n\tconst renderPreview = () => {\n\t\t// Show loading state\n\t\tif (isLoadingContributors) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
{__('Loading contributors...', 'wedocs')}
\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\tif (attributes.contributorDisplayMode === 'manual' && attributes.selectedContributors.length === 0) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\t// Use actual contributors or fallback to demo data\n\t\tlet displayContributors = actualContributors;\n\n\t\tif (!displayContributors || displayContributors.length === 0) {\n\t\t\t// Fallback to demo data for new posts or when no contributors found\n\t\t\tdisplayContributors = [\n\t\t\t\t{\n\t\t\t\t\tid: 1,\n\t\t\t\t\tname: 'Demo Author',\n\t\t\t\t\tavatar_urls: { 48: weDocsAdminScriptVars.assetsUrl+\"/img/demo_avatar/avatar_2.png\" }\n\t\t\t\t}\n\t\t\t];\n\t\t}\n\n\t\tconst avatarStyle = {\n\t\t\twidth: attributes.avatarSize,\n\t\t\theight: attributes.avatarSize,\n\t\t\tborderRadius: attributes.avatarShape === 'circle' ? '50%' :\n\t\t\t\t(attributes.avatarShape === 'rounded' ? attributes.avatarBorderRadius : '0'),\n\t\t\tborderStyle: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderStyle : undefined,\n\t\t\tborderColor: attributes.avatarBorderStyle !== 'none' ? attributes.avatarBorderColor : undefined,\n\t\t\tborderWidth: attributes.avatarBorderStyle !== 'none' ?\n\t\t\t\t`${attributes.avatarBorderWidth?.top || '2px'} ${attributes.avatarBorderWidth?.right || '2px'} ${attributes.avatarBorderWidth?.bottom || '2px'} ${attributes.avatarBorderWidth?.left || '2px'}` : undefined,\n\t\t\tpadding: `${attributes.avatarPadding?.top || '0px'} ${attributes.avatarPadding?.right || '0px'} ${attributes.avatarPadding?.bottom || '0px'} ${attributes.avatarPadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.avatarMargin?.top || '0px'} ${attributes.avatarMargin?.right || '8px'} ${attributes.avatarMargin?.bottom || '0px'} ${attributes.avatarMargin?.left || '0px'}`,\n\t\t\tboxShadow: attributes.avatarBoxShadow?.enabled ?\n\t\t\t\t`${attributes.avatarBoxShadow.horizontal} ${attributes.avatarBoxShadow.vertical} ${attributes.avatarBoxShadow.blur} ${attributes.avatarBoxShadow.spread} ${attributes.avatarBoxShadow.color}` : undefined\n\t\t};\n\n\t\tconst titleStyle = {\n\t\t\tcolor: attributes.contributorTitleColor,\n\t\t\tfontSize: attributes.contributorTitleTypography.fontSize,\n\t\t\tfontWeight: attributes.contributorTitleTypography.fontWeight,\n\t\t\tfontStyle: attributes.contributorTitleTypography.fontStyle,\n\t\t\tfontFamily: attributes.contributorTitleTypography.fontFamily !== 'default' ? attributes.contributorTitleTypography.fontFamily : undefined,\n\t\t\tlineHeight: attributes.contributorTitleTypography.lineHeight !== 'normal' ? attributes.contributorTitleTypography.lineHeight : undefined,\n\t\t\tletterSpacing: attributes.contributorTitleTypography.letterSpacing !== 'normal' ? attributes.contributorTitleTypography.letterSpacing : undefined,\n\t\t\ttextTransform: attributes.contributorTitleTypography.textTransform !== 'none' ? attributes.contributorTitleTypography.textTransform : undefined,\n\t\t\ttextDecoration: attributes.contributorTitleTypography.textDecoration !== 'none' ? attributes.contributorTitleTypography.textDecoration : undefined,\n\t\t\tpadding: `${attributes.titlePadding?.top || '0px'} ${attributes.titlePadding?.right || '0px'} ${attributes.titlePadding?.bottom || '10px'} ${attributes.titlePadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.titleMargin?.top || '0px'} ${attributes.titleMargin?.right || '0px'} ${attributes.titleMargin?.bottom || '0px'} ${attributes.titleMargin?.left || '0px'}`\n\t\t};\n\n\t\tconst nameStyle = {\n\t\t\tcolor: attributes.nameColor,\n\t\t\tfontSize: attributes.nameTypography.fontSize,\n\t\t\tfontWeight: attributes.nameTypography.fontWeight,\n\t\t\tfontStyle: attributes.nameTypography.fontStyle,\n\t\t\tfontFamily: attributes.nameTypography.fontFamily !== 'default' ? attributes.nameTypography.fontFamily : undefined,\n\t\t\tlineHeight: attributes.nameTypography.lineHeight !== 'normal' ? attributes.nameTypography.lineHeight : undefined,\n\t\t\tletterSpacing: attributes.nameTypography.letterSpacing !== 'normal' ? attributes.nameTypography.letterSpacing : undefined,\n\t\t\ttextTransform: attributes.nameTypography.textTransform !== 'none' ? attributes.nameTypography.textTransform : undefined,\n\t\t\ttextDecoration: attributes.nameTypography.textDecoration !== 'none' ? attributes.nameTypography.textDecoration : undefined,\n\t\t\tpadding: `${attributes.namePadding?.top || '0px'} ${attributes.namePadding?.right || '0px'} ${attributes.namePadding?.bottom || '0px'} ${attributes.namePadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.nameMargin?.top || '0px'} ${attributes.nameMargin?.right || '0px'} ${attributes.nameMargin?.bottom || '0px'} ${attributes.nameMargin?.left || '0px'}`\n\t\t};\n\n\t\tconst dateStyle = {\n\t\t\tcolor: attributes.dateColor,\n\t\t\tfontSize: attributes.dateTypography.fontSize,\n\t\t\tfontWeight: attributes.dateTypography.fontWeight,\n\t\t\tfontStyle: attributes.dateTypography.fontStyle,\n\t\t\tfontFamily: attributes.dateTypography.fontFamily !== 'default' ? attributes.dateTypography.fontFamily : undefined,\n\t\t\tlineHeight: attributes.dateTypography.lineHeight !== 'normal' ? attributes.dateTypography.lineHeight : undefined,\n\t\t\tletterSpacing: attributes.dateTypography.letterSpacing !== 'normal' ? attributes.dateTypography.letterSpacing : undefined,\n\t\t\ttextTransform: attributes.dateTypography.textTransform !== 'none' ? attributes.dateTypography.textTransform : undefined,\n\t\t\ttextDecoration: attributes.dateTypography.textDecoration !== 'none' ? attributes.dateTypography.textDecoration : undefined,\n\t\t\tpadding: `${attributes.datePadding?.top || '0px'} ${attributes.datePadding?.right || '0px'} ${attributes.datePadding?.bottom || '0px'} ${attributes.datePadding?.left || '0px'}`,\n\t\t\tmargin: `${attributes.dateMargin?.top || '10px'} ${attributes.dateMargin?.right || '0px'} ${attributes.dateMargin?.bottom || '0px'} ${attributes.dateMargin?.left || '0px'}`\n\t\t};\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{attributes.showTitle && (\n\t\t\t\t\t

\n\t\t\t\t\t\t{attributes.title}\n\t\t\t\t\t

\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t\t{attributes.showAvatar && displayContributors.map(contributor => {\n\t\t\t\t\t\t// Handle both API response format and demo format\n\t\t\t\t\t\tconst contributorName = contributor.name || contributor.display_name || 'Unknown';\n\t\t\t\t\t\tconst contributorId = contributor.id || contributor.ID || Math.random();\n\t\t\t\t\t\t// Get avatar URL with fallbacks\n\t\t\t\t\t\tlet avatarUrl = weDocsAdminScriptVars.assetsUrl+\"/img/demo_avatar/avatar_1.png\" ;\n\n\t\t\t\t\t\tif (contributor.avatar_urls) {\n\t\t\t\t\t\t\tavatarUrl = contributor.avatar_urls[48] || contributor.avatar_urls[96] || contributor.avatar_urls[24];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If no avatar URL and we have an email, use Gravatar\n\t\t\t\t\t\tif (!avatarUrl && contributor.email) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst emailHash = btoa(contributor.email.toLowerCase().trim());\n\t\t\t\t\t\t\t\tavatarUrl = `https://www.gravatar.com/avatar/${emailHash}?s=48&d=identicon`;\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\tavatarUrl = weDocsAdminScriptVars.assetsUrl+\"/img/demo_avatar/avatar_1.png\" ;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{attributes.avatarType === 'user_avatar' ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{contributorName}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
\n\n\t\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{attributes.datePrefix} {new Date().toLocaleDateString('en-US', {\n\t\t\t\t\t\t\tyear: 'numeric',\n\t\t\t\t\t\t\tmonth: 'long',\n\t\t\t\t\t\t\tday: 'numeric'\n\t\t\t\t\t\t})}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\t\t);\n\t};\n\n\tconst setupTabContent = () => (\n\t\t<>\n\t\t\t{/* Basic Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ showTitle: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.showTitle && (\n\t\t\t\t\t setAttributes({ title: value })}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t setAttributes({ contributorDisplayMode: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.contributorDisplayMode === 'manual' && (\n\t\t\t\t\t
\n\t\t\t\t\t\t

{__('Select Contributors', 'wedocs')}

\n\t\t\t\t\t\t{isLoadingUsers ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{users.map(user => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t{/* Avatar Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ showAvatar: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.showAvatar && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t setAttributes({ avatarType: value })}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t setAttributes({ avatarShape: value })}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t setAttributes({ avatarHoverEffect: value })}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\n\t\t\t{/* Date Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ showLastUpdated: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t setAttributes({ dateFormat: value })}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t{attributes.dateFormat === 'custom' && (\n\t\t\t\t\t\t\t setAttributes({ customDateFormat: value })}\n\t\t\t\t\t\t\t\thelp={__('Use PHP date format. E.g., F j, Y for \"January 1, 2023\"', 'wedocs')}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t setAttributes({ datePrefix: value })}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\n\t\t\t{/* Advanced Settings */}\n\t\t\t\n\t\t\t\t setAttributes({ additionalCssClass: value })}\n\t\t\t\t\thelp={__('Separate multiple classes with spaces', 'wedocs')}\n\t\t\t\t/>\n\n\t\t\t\t setAttributes({ enableSchema: value })}\n\t\t\t\t\thelp={__('Output structured data for author and dateModified', 'wedocs')}\n\t\t\t\t/>\n\n\t\t\t\t setAttributes({ linkBehavior: value })}\n\t\t\t\t/>\n\n\t\t\t\t{attributes.linkBehavior === 'custom_link' && (\n\t\t\t\t\t setAttributes({ customLinkUrl: value })}\n\t\t\t\t\t\tplaceholder=\"https://example.com/author\"\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\n\t\t\n\t);\n\n\tconst styleTabContent = () => (\n\t\t<>\n\t\t\t{/* Container Styles */}\n\t\t\t setAttributes({ backgroundType: value })}\n\t\t\t\tbackgroundColor={attributes.backgroundColor}\n\t\t\t\tonBackgroundColorChange={(value) => setAttributes({ backgroundColor: value })}\n\t\t\t\tbackgroundGradient={attributes.backgroundGradient}\n\t\t\t\tonBackgroundGradientChange={(value) => setAttributes({ backgroundGradient: value })}\n\t\t\t\tbackgroundImage={attributes.backgroundImage}\n\t\t\t\tonBackgroundImageChange={(value) => setAttributes({ backgroundImage: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ padding: value })}\n\t\t\t\tmarginValue={attributes.margin}\n\t\t\t\tonMarginChange={(value) => setAttributes({ margin: value })}\n\t\t\t\tshowGap={true}\n\t\t\t\tgapValue={attributes.contributorGap}\n\t\t\t\tonGapChange={(value) => setAttributes({ contributorGap: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ borderStyle: value })}\n\t\t\t\tborderWidth={attributes.borderWidth}\n\t\t\t\tonBorderWidthChange={(value) => setAttributes({ borderWidth: value })}\n\t\t\t\tborderColor={attributes.borderColor}\n\t\t\t\tonBorderColorChange={(value) => setAttributes({ borderColor: value })}\n\t\t\t\tborderRadius={attributes.borderRadius}\n\t\t\t\tonBorderRadiusChange={(value) => setAttributes({ borderRadius: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ boxShadow: value })}\n\t\t\t/>\n\n\t\t\t{/* Title Styles */}\n\t\t\t{attributes.showTitle && (\n\t\t\t\t<>\n\t\t\t\t\t setAttributes({ contributorTitleTypography: value })}\n\t\t\t\t\t\tcolorValue={attributes.contributorTitleColor}\n\t\t\t\t\t\tonColorChange={(value) => setAttributes({ contributorTitleColor: value })}\n\t\t\t\t\t\thoverColorValue={attributes.contributorTitleHoverColor}\n\t\t\t\t\t\tonHoverColorChange={(value) => setAttributes({ contributorTitleHoverColor: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ titlePadding: value })}\n\t\t\t\t\t\tmarginValue={attributes.titleMargin}\n\t\t\t\t\t\tonMarginChange={(value) => setAttributes({ titleMargin: value })}\n\t\t\t\t\t\tshowGap={false}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Avatar Styles */}\n\t\t\t{attributes.showAvatar && (\n\t\t\t\t<>\n\t\t\t\t\t setAttributes({ avatarSize: value })}\n\t\t\t\t\t\tshowHeight={false}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ avatarPadding: value })}\n\t\t\t\t\t\tmarginValue={attributes.avatarMargin}\n\t\t\t\t\t\tonMarginChange={(value) => setAttributes({ avatarMargin: value })}\n\t\t\t\t\t\tshowGap={false}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ avatarBorderStyle: value })}\n\t\t\t\t\t\tborderWidth={attributes.avatarBorderWidth}\n\t\t\t\t\t\tonBorderWidthChange={(value) => setAttributes({ avatarBorderWidth: value })}\n\t\t\t\t\t\tborderColor={attributes.avatarBorderColor}\n\t\t\t\t\t\tonBorderColorChange={(value) => setAttributes({ avatarBorderColor: value })}\n\t\t\t\t\t\tborderRadius={attributes.avatarBorderRadius}\n\t\t\t\t\t\tonBorderRadiusChange={(value) => setAttributes({ avatarBorderRadius: value })}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ avatarBoxShadow: value })}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Name Styles */}\n\t\t\t setAttributes({ nameTypography: value })}\n\t\t\t\tcolorValue={attributes.nameColor}\n\t\t\t\tonColorChange={(value) => setAttributes({ nameColor: value })}\n\t\t\t\thoverColorValue={attributes.nameHoverColor}\n\t\t\t\tonHoverColorChange={(value) => setAttributes({ nameHoverColor: value })}\n\t\t\t/>\n\n\t\t\t setAttributes({ namePadding: value })}\n\t\t\t\tmarginValue={attributes.nameMargin}\n\t\t\t\tonMarginChange={(value) => setAttributes({ nameMargin: value })}\n\t\t\t\tshowGap={false}\n\t\t\t/>\n\n\t\t\t{/* Date Styles */}\n\t\t\t{attributes.showLastUpdated && (\n\t\t\t\t<>\n\t\t\t\t\t setAttributes({ dateTypography: value })}\n\t\t\t\t\t\tcolorValue={attributes.dateColor}\n\t\t\t\t\t\tonColorChange={(value) => setAttributes({ dateColor: value })}\n\t\t\t\t\t\tshowHoverColor={false}\n\t\t\t\t\t/>\n\n\t\t\t\t\t setAttributes({ datePadding: value })}\n\t\t\t\t\t\tmarginValue={attributes.dateMargin}\n\t\t\t\t\t\tonMarginChange={(value) => setAttributes({ dateMargin: value })}\n\t\t\t\t\t\tshowGap={false}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{setupTabContent()}\n\t\t\t\t\t{styleTabContent()}\n\t\t\t\t\n\t\t\t\n\n\t\t\t
\n\t\t\t\t{renderPreview()}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default Edit;\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport Edit from \"./edit\";\nimport metadata from \"./block.json\";\nimport \"./style.scss\";\n\nregisterBlockType(metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave: () => null,\n});","// extracted by mini-css-extract-plugin\nexport {};","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tRadioControl,\n\tTextControl,\n\tButton,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport {\n\tPanelColorSettings,\n\tMediaUpload,\n\tMediaUploadCheck\n} from '@wordpress/block-editor';\n\nconst BackgroundControl = ({\n\tlabel,\n\tbackgroundType = 'classic',\n\tonBackgroundTypeChange,\n\tbackgroundColor,\n\tonBackgroundColorChange,\n\tbackgroundGradient,\n\tonBackgroundGradientChange,\n\tbackgroundImage = {},\n\tonBackgroundImageChange,\n\tshowGradient = true,\n\tshowImage = true\n}) => {\n\treturn (\n\t\t\n\t\t\t{/* Background Type */}\n\t\t\t\n\n\t\t\t\n\n\t\t\t{/* Classic Background */}\n\t\t\t{backgroundType === 'classic' && (\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Gradient Background */}\n\t\t\t{backgroundType === 'gradient' && showGradient && (\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Background Image */}\n\t\t\t{showImage && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t

{__('Background Image', 'wedocs')}

\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t onBackgroundImageChange({\n\t\t\t\t\t\t\t\t\turl: media.url,\n\t\t\t\t\t\t\t\t\talt: media.alt,\n\t\t\t\t\t\t\t\t\tid: media.id\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tallowedTypes={['image']}\n\t\t\t\t\t\t\t\tvalue={backgroundImage?.id}\n\t\t\t\t\t\t\t\trender={({ open }) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{backgroundImage?.url ? __('Change Image', 'wedocs') : __('Select Image', 'wedocs')}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t{backgroundImage?.url && (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t onBackgroundImageChange({ url: '', alt: '', id: '' })}\n\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\tisDestructive\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{__('Remove Image', 'wedocs')}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default BackgroundControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tSelectControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalBoxControl as BoxControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\nconst BorderControl = ({\n\tlabel,\n\tborderStyle = 'none',\n\tonBorderStyleChange,\n\tborderWidth = {},\n\tonBorderWidthChange,\n\tborderColor,\n\tonBorderColorChange,\n\tborderRadius,\n\tonBorderRadiusChange,\n\tshowIndividualSides = true\n}) => {\n\treturn (\n\t\t\n\t\t\t{/* Border Style */}\n\t\t\t\n\n\t\t\t{borderStyle !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Border Width */}\n\t\t\t\t\t{showIndividualSides ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t onBorderWidthChange({\n\t\t\t\t\t\t\t\ttop: newValue,\n\t\t\t\t\t\t\t\tright: newValue,\n\t\t\t\t\t\t\t\tbottom: newValue,\n\t\t\t\t\t\t\t\tleft: newValue\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Border Color */}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t\n\n\t\t\t{/* Border Radius */}\n\t\t\t\n\t\t\n\t);\n};\n\nexport default BorderControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\n\nconst DimensionControl = ({\n\tlabel,\n\twidthValue,\n\tonWidthChange,\n\theightValue,\n\tonHeightChange,\n\tshowHeight = true,\n\tlinkValues = false\n}) => {\n\tconst handleWidthChange = (newValue) => {\n\t\tonWidthChange(newValue);\n\t\tif (linkValues && showHeight && onHeightChange) {\n\t\t\tonHeightChange(newValue);\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{/* Width */}\n\t\t\t\n\n\t\t\t{/* Height */}\n\t\t\t{showHeight && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default DimensionControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tToggleControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\nconst ShadowControl = ({\n\tlabel,\n\tshadowValue = {},\n\tonShadowChange,\n\tshowToggle = true\n}) => {\n\tconst updateShadow = (key, newValue) => {\n\t\tonShadowChange({\n\t\t\t...shadowValue,\n\t\t\t[key]: newValue\n\t\t});\n\t};\n\n\tconst enabled = shadowValue.enabled ?? false;\n\n\treturn (\n\t\t\n\t\t\t{showToggle && (\n\t\t\t\t<>\n\t\t\t\t\t updateShadow('enabled', value)}\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{(enabled || !showToggle) && (\n\t\t\t\t<>\n\t\t\t\t\t{/* Horizontal Offset */}\n\t\t\t\t\t updateShadow('horizontal', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Vertical Offset */}\n\t\t\t\t\t updateShadow('vertical', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Blur Radius */}\n\t\t\t\t\t updateShadow('blur', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Spread Radius */}\n\t\t\t\t\t updateShadow('spread', value)}\n\t\t\t\t\t\tunits={[\n\t\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t\t{ value: 'rem', label: 'rem' }\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\n\t\t\t\t\t{/* Shadow Color */}\n\t\t\t\t\t updateShadow('color', value),\n\t\t\t\t\t\t\t\tlabel: __('Color', 'wedocs')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ShadowControl;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\t__experimentalBoxControl as BoxControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\n\nconst SpacingControl = ({\n\tlabel,\n\tpaddingValue = {},\n\tonPaddingChange,\n\tmarginValue = {},\n\tonMarginChange,\n\tshowPadding = true,\n\tshowMargin = true,\n\tshowGap = false,\n\tgapValue,\n\tonGapChange\n}) => {\n\treturn (\n\t\t\n\t\t\t{/* Padding */}\n\t\t\t{showPadding && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Margin */}\n\t\t\t{showMargin && (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{/* Gap */}\n\t\t\t{showGap && (\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SpacingControl;","import { __ } from '@wordpress/i18n';\nimport { useState } from '@wordpress/element';\nimport { Button, ButtonGroup, __experimentalSpacer as Spacer } from '@wordpress/components';\n\nconst TabSystem = ({ children, defaultTab = 'setup' }) => {\n\tconst [activeTab, setActiveTab] = useState(defaultTab);\n\n\tconst tabs = [\n\t\t{ key: 'setup', label: __('Setup', 'wedocs'), icon: 'admin-settings' },\n\t\t{ key: 'style', label: __('Style', 'wedocs'), icon: 'admin-appearance' }\n\t];\n\n\treturn (\n\t\t
\n\t\t\t{/* Tab Navigation */}\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{tabs.map(tab => (\n\t\t\t\t\t\t setActiveTab(tab.key)}\n\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\tmarginRight: '4px',\n\t\t\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\t\t\talignItems: 'center',\n\t\t\t\t\t\t\t\tgap: '4px'\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{tab.label}\n\t\t\t\t\t\t\n\t\t\t\t\t))}\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{/* Tab Content */}\n\t\t\t
\n\t\t\t\t{children.map((child, index) => {\n\t\t\t\t\tconst tabKey = index === 0 ? 'setup' : 'style';\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{child}\n\t\t\t\t\t\t
\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default TabSystem;","import { __ } from '@wordpress/i18n';\nimport {\n\tPanelBody,\n\tSelectControl,\n\tToggleControl,\n\t__experimentalUnitControl as UnitControl,\n\t__experimentalSpacer as Spacer\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\nconst TypographyControl = ({\n\tlabel,\n\tvalue = {},\n\tonChange,\n\tcolorValue,\n\tonColorChange,\n\thoverColorValue,\n\tonHoverColorChange,\n\tshowHoverColor = true,\n\tshowLineHeight = true,\n\tshowLetterSpacing = true,\n\tshowTextTransform = true,\n\tshowTextDecoration = true\n}) => {\n\tconst updateTypography = (key, newValue) => {\n\t\tonChange({\n\t\t\t...value,\n\t\t\t[key]: newValue\n\t\t});\n\t};\n\n\treturn (\n\t\t\n\t\t\t{/* Color Settings */}\n\t\t\t\n\n\t\t\t\n\n\t\t\t{/* Font Family */}\n\t\t\t updateTypography('fontFamily', newValue === 'default' ? undefined : newValue)}\n\t\t\t/>\n\n\t\t\t{/* Font Size */}\n\t\t\t updateTypography('fontSize', newValue)}\n\t\t\t\tunits={[\n\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t{ value: 'rem', label: 'rem' },\n\t\t\t\t\t{ value: '%', label: '%' }\n\t\t\t\t]}\n\t\t\t/>\n\n\t\t\t{/* Font Weight */}\n\t\t\t updateTypography('fontWeight', newValue)}\n\t\t\t/>\n\n\t\t\t{/* Font Style */}\n\t\t\t updateTypography('fontStyle', newValue)}\n\t\t\t/>\n\n\t\t\t{/* Line Height */}\n\t\t\t{showLineHeight && (\n\t\t\t\t updateTypography('lineHeight', newValue)}\n\t\t\t\t\tunits={[\n\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t{ value: 'em', label: 'em' },\n\t\t\t\t\t\t{ value: '', label: 'unitless' }\n\t\t\t\t\t]}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{/* Letter Spacing */}\n\t\t\t{showLetterSpacing && (\n\t\t\t\t updateTypography('letterSpacing', newValue)}\n\t\t\t\t\tunits={[\n\t\t\t\t\t\t{ value: 'px', label: 'px' },\n\t\t\t\t\t\t{ value: 'em', label: 'em' }\n\t\t\t\t\t]}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{/* Text Transform */}\n\t\t\t{showTextTransform && (\n\t\t\t\t updateTypography('textTransform', newValue)}\n\t\t\t\t/>\n\t\t\t)}\n\n\t\t\t{/* Text Decoration */}\n\t\t\t{showTextDecoration && (\n\t\t\t\t updateTypography('textDecoration', newValue)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default TypographyControl;","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"coreData\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"ReactJSXRuntime\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"blocks/Contributors/index\": 0,\n\t\"blocks/Contributors/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkweDocs\"] = globalThis[\"webpackChunkweDocs\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"blocks/Contributors/style-index\"], () => (__webpack_require__(\"./src/blocks/Contributors/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","InspectorControls","PanelBody","ToggleControl","TextControl","SelectControl","RadioControl","Placeholder","Spinner","useState","useEffect","useSelect","store","coreStore","TabSystem","TypographyControl","SpacingControl","BorderControl","BackgroundControl","ShadowControl","DimensionControl","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","Edit","props","attributes","setAttributes","users","setUsers","isLoadingUsers","setIsLoadingUsers","actualContributors","setActualContributors","isLoadingContributors","setIsLoadingContributors","blockProps","className","additionalCssClass","style","backgroundColor","backgroundType","undefined","backgroundImage","backgroundGradient","url","padding","top","right","bottom","left","margin","borderStyle","borderWidth","borderColor","borderRadius","boxShadow","enabled","horizontal","vertical","blur","spread","color","currentPost","select","getCurrentPostId","getCurrentPostType","getEntityRecord","contributorDisplayMode","wp","apiFetch","path","then","catch","fetchContributors","contributors","author","authorUser","push","selectedContributors","length","userId","user","error","console","warn","id","revisions","type","contributorIds","revision","includes","renderPreview","icon","label","children","instructions","displayContributors","name","avatar_urls","weDocsAdminScriptVars","assetsUrl","avatarStyle","width","avatarSize","height","avatarShape","avatarBorderRadius","avatarBorderStyle","avatarBorderColor","avatarBorderWidth","avatarPadding","avatarMargin","avatarBoxShadow","titleStyle","contributorTitleColor","fontSize","contributorTitleTypography","fontWeight","fontStyle","fontFamily","lineHeight","letterSpacing","textTransform","textDecoration","titlePadding","titleMargin","nameStyle","nameColor","nameTypography","namePadding","nameMargin","dateStyle","dateColor","dateTypography","datePadding","dateMargin","showTitle","title","display","alignItems","flexWrap","gap","contributorGap","showAvatar","map","contributor","contributorName","display_name","contributorId","ID","Math","random","avatarUrl","email","emailHash","btoa","toLowerCase","trim","e","avatarType","src","alt","justifyContent","fill","viewBox","d","showLastUpdated","datePrefix","Date","toLocaleDateString","year","month","day","setupTabContent","initialOpen","checked","onChange","value","options","maxHeight","overflowY","border","marginBottom","newSelected","target","filter","marginRight","selected","avatarHoverEffect","dateFormat","customDateFormat","help","enableSchema","linkBehavior","customLinkUrl","placeholder","styleTabContent","onBackgroundTypeChange","onBackgroundColorChange","onBackgroundGradientChange","onBackgroundImageChange","paddingValue","onPaddingChange","marginValue","onMarginChange","showGap","gapValue","onGapChange","onBorderStyleChange","onBorderWidthChange","onBorderColorChange","onBorderRadiusChange","shadowValue","onShadowChange","colorValue","onColorChange","hoverColorValue","contributorTitleHoverColor","onHoverColorChange","widthValue","onWidthChange","showHeight","nameHoverColor","showHoverColor","defaultTab","registerBlockType","metadata","edit","save","Button","__experimentalSpacer","Spacer","PanelColorSettings","MediaUpload","MediaUploadCheck","showGradient","showImage","marginTop","colorSettings","onSelect","media","allowedTypes","render","open","onClick","variant","isDestructive","__experimentalUnitControl","UnitControl","__experimentalBoxControl","BoxControl","showIndividualSides","values","units","allowReset","resetValues","newValue","heightValue","onHeightChange","linkValues","handleWidthChange","showToggle","_shadowValue$enabled","updateShadow","key","showPadding","showMargin","ButtonGroup","activeTab","setActiveTab","tabs","borderBottom","paddingBottom","tab","child","index","tabKey","showLineHeight","showLetterSpacing","showTextTransform","showTextDecoration","updateTypography"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/Contributors/style-index-rtl.css b/assets/build/blocks/Contributors/style-index-rtl.css new file mode 100644 index 00000000..11792124 --- /dev/null +++ b/assets/build/blocks/Contributors/style-index-rtl.css @@ -0,0 +1,137 @@ +/*!***********************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/Contributors/style.scss ***! + \***********************************************************************************************************************************************************************************************************************************************************/ +/** + * Frontend styles for the Contributors block + */ +.contributors-tab-system .components-button-group { + display: flex; +} + +.wedocs-contributors .contributors-container { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 10px; + margin-bottom: 10px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + gap: 8px; + } +} +.wedocs-contributors .contributors-container .contributor-item { + display: flex; + align-items: center; + gap: 8px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container .contributor-item { + width: 100%; + } +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar { + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar.avatar-hover:hover { + transform: scale(1.1); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar img { + display: block; + -o-object-fit: cover; + object-fit: cover; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + display: flex; + align-items: center; + justify-content: center; + background-color: #0073aa; + color: white; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon svg { + width: 60%; + height: 60%; + fill: currentColor; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name { + transition: color 0.3s ease; + text-decoration: none; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name:hover { + text-decoration: underline; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name.no-link { + cursor: default; +} +.wedocs-contributors .last-updated { + margin-top: 10px; + font-style: italic; +} +@media (max-width: 768px) { + .wedocs-contributors .last-updated { + margin-top: 8px; + font-size: 0.9em; + } +} +.wedocs-contributors .contributors-title { + margin: 0 0 10px 0; + font-weight: 600; + font-size: 16px; +} +@media (max-width: 480px) { + .wedocs-contributors .contributors-container { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-avatar img, .wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + width: 28px !important; + height: 28px !important; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-name { + font-size: 0.9em; + } + .wedocs-contributors .last-updated { + font-size: 0.8em; + } +} +@media (prefers-contrast: high) { + .wedocs-contributors .contributor-item .contributor-avatar { + border: 2px solid currentColor !important; + } + .wedocs-contributors .contributor-item .contributor-name { + text-decoration: underline; + } +} +@media (prefers-reduced-motion: reduce) { + .wedocs-contributors .contributor-avatar { + transition: none !important; + } + .wedocs-contributors .contributor-avatar.avatar-hover:hover { + transform: none !important; + } + .wedocs-contributors .contributor-name { + transition: none !important; + } +} +@media (prefers-color-scheme: dark) { + .wedocs-contributors .contributor-item .contributor-avatar .default-icon { + background-color: #4a90a4; + } +} +@media print { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + } + .wedocs-contributors .contributor-item .contributor-avatar { + display: none; + } +} diff --git a/assets/build/blocks/Contributors/style-index.css b/assets/build/blocks/Contributors/style-index.css new file mode 100644 index 00000000..176a3a90 --- /dev/null +++ b/assets/build/blocks/Contributors/style-index.css @@ -0,0 +1,139 @@ +/*!***********************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/Contributors/style.scss ***! + \***********************************************************************************************************************************************************************************************************************************************************/ +/** + * Frontend styles for the Contributors block + */ +.contributors-tab-system .components-button-group { + display: flex; +} + +.wedocs-contributors .contributors-container { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 10px; + margin-bottom: 10px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + gap: 8px; + } +} +.wedocs-contributors .contributors-container .contributor-item { + display: flex; + align-items: center; + gap: 8px; +} +@media (max-width: 768px) { + .wedocs-contributors .contributors-container .contributor-item { + width: 100%; + } +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar { + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar.avatar-hover:hover { + transform: scale(1.1); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar img { + display: block; + -o-object-fit: cover; + object-fit: cover; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + display: flex; + align-items: center; + justify-content: center; + background-color: #0073aa; + color: white; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon svg { + width: 60%; + height: 60%; + fill: currentColor; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name { + transition: color 0.3s ease; + text-decoration: none; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name:hover { + text-decoration: underline; +} +.wedocs-contributors .contributors-container .contributor-item .contributor-name.no-link { + cursor: default; +} +.wedocs-contributors .last-updated { + margin-top: 10px; + font-style: italic; +} +@media (max-width: 768px) { + .wedocs-contributors .last-updated { + margin-top: 8px; + font-size: 0.9em; + } +} +.wedocs-contributors .contributors-title { + margin: 0 0 10px 0; + font-weight: 600; + font-size: 16px; +} +@media (max-width: 480px) { + .wedocs-contributors .contributors-container { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item { + gap: 6px; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-avatar img, .wedocs-contributors .contributors-container .contributor-item .contributor-avatar .default-icon { + width: 28px !important; + height: 28px !important; + } + .wedocs-contributors .contributors-container .contributor-item .contributor-name { + font-size: 0.9em; + } + .wedocs-contributors .last-updated { + font-size: 0.8em; + } +} +@media (prefers-contrast: high) { + .wedocs-contributors .contributor-item .contributor-avatar { + border: 2px solid currentColor !important; + } + .wedocs-contributors .contributor-item .contributor-name { + text-decoration: underline; + } +} +@media (prefers-reduced-motion: reduce) { + .wedocs-contributors .contributor-avatar { + transition: none !important; + } + .wedocs-contributors .contributor-avatar.avatar-hover:hover { + transform: none !important; + } + .wedocs-contributors .contributor-name { + transition: none !important; + } +} +@media (prefers-color-scheme: dark) { + .wedocs-contributors .contributor-item .contributor-avatar .default-icon { + background-color: #4a90a4; + } +} +@media print { + .wedocs-contributors .contributors-container { + flex-direction: column; + align-items: flex-start; + } + .wedocs-contributors .contributor-item .contributor-avatar { + display: none; + } +} + +/*# sourceMappingURL=style-index.css.map*/ \ No newline at end of file diff --git a/assets/build/blocks/Contributors/style-index.css.map b/assets/build/blocks/Contributors/style-index.css.map new file mode 100644 index 00000000..a5a2f306 --- /dev/null +++ b/assets/build/blocks/Contributors/style-index.css.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/Contributors/style-index.css","mappings":";;;AAAA;;EAAA;AAIC;EACO;AAAR;;AAKC;EACC;EACA;EACA;EACA;EACA;AAFF;AAIE;EAPD;IAQE;IACA;IACA;EADD;AACF;AAGE;EACC;EACA;EACA;AADH;AAGG;EALD;IAME;EAAF;AACF;AAEG;EACC;EACA;EACA;EACA;AAAJ;AAEI;EACC;EACA;AAAL;AAGI;EACC;EACA;KAAA;AADL;AAII;EACC;EACA;EACA;EACA;EACA;AAFL;AAIK;EACC;EACA;EACA;AAFN;AAOG;EACC;EACA;AALJ;AAOI;EACC;AALL;AAQI;EACC;AANL;AAYC;EACC;EACA;AAVF;AAYE;EAJD;IAKE;IACA;EATD;AACF;AAYC;EACC;EACA;EACA;AAVF;AAcC;EACC;IACC;EAZD;EAcC;IACC;EAZF;EAgBG;IACC;IACA;EAdJ;EAkBE;IACC;EAhBH;EAqBA;IACC;EAnBD;AACF;AAuBC;EAEE;IACC;EAtBF;EAyBC;IACC;EAvBF;AACF;AA4BC;EACC;IACC;EA1BD;EA4BC;IACC;EA1BF;EA8BA;IACC;EA5BD;AACF;AAgCC;EAEE;IACC;EA/BF;AACF;AAoCC;EACC;IACC;IACA;EAlCD;EAsCC;IACC;EApCF;AACF,C","sources":["webpack://weDocs/./src/blocks/Contributors/style.scss"],"sourcesContent":["/**\n * Frontend styles for the Contributors block\n */\n.contributors-tab-system{\n .components-button-group{\n display: flex;\n }\n}\n.wedocs-contributors {\n\n\t.contributors-container {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tflex-wrap: wrap;\n\t\tgap: 10px;\n\t\tmargin-bottom: 10px;\n\n\t\t@media (max-width: 768px) {\n\t\t\tflex-direction: column;\n\t\t\talign-items: flex-start;\n\t\t\tgap: 8px;\n\t\t}\n\n\t\t.contributor-item {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 8px;\n\n\t\t\t@media (max-width: 768px) {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t.contributor-avatar {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\ttransition: all 0.3s ease;\n\n\t\t\t\t&.avatar-hover:hover {\n\t\t\t\t\ttransform: scale(1.1);\n\t\t\t\t\tbox-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n\t\t\t\t}\n\n\t\t\t\timg {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t\tobject-fit: cover;\n\t\t\t\t}\n\n\t\t\t\t.default-icon {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t\tbackground-color: #0073aa;\n\t\t\t\t\tcolor: white;\n\n\t\t\t\t\tsvg {\n\t\t\t\t\t\twidth: 60%;\n\t\t\t\t\t\theight: 60%;\n\t\t\t\t\t\tfill: currentColor;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.contributor-name {\n\t\t\t\ttransition: color 0.3s ease;\n\t\t\t\ttext-decoration: none;\n\n\t\t\t\t&:hover {\n\t\t\t\t\ttext-decoration: underline;\n\t\t\t\t}\n\n\t\t\t\t&.no-link {\n\t\t\t\t\tcursor: default;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.last-updated {\n\t\tmargin-top: 10px;\n\t\tfont-style: italic;\n\n\t\t@media (max-width: 768px) {\n\t\t\tmargin-top: 8px;\n\t\t\tfont-size: 0.9em;\n\t\t}\n\t}\n\n\t.contributors-title {\n\t\tmargin: 0 0 10px 0;\n\t\tfont-weight: 600;\n\t\tfont-size: 16px;\n\t}\n\n\t// Responsive adjustments\n\t@media (max-width: 480px) {\n\t\t.contributors-container {\n\t\t\tgap: 6px;\n\n\t\t\t.contributor-item {\n\t\t\t\tgap: 6px;\n\n\t\t\t\t.contributor-avatar {\n\t\t\t\t\t// Smaller avatars on mobile\n\t\t\t\t\timg, .default-icon {\n\t\t\t\t\t\twidth: 28px !important;\n\t\t\t\t\t\theight: 28px !important;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t.contributor-name {\n\t\t\t\t\tfont-size: 0.9em;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.last-updated {\n\t\t\tfont-size: 0.8em;\n\t\t}\n\t}\n\n\t// High contrast mode support\n\t@media (prefers-contrast: high) {\n\t\t.contributor-item {\n\t\t\t.contributor-avatar {\n\t\t\t\tborder: 2px solid currentColor !important;\n\t\t\t}\n\n\t\t\t.contributor-name {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Reduced motion support\n\t@media (prefers-reduced-motion: reduce) {\n\t\t.contributor-avatar {\n\t\t\ttransition: none !important;\n\n\t\t\t&.avatar-hover:hover {\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\t\t}\n\n\t\t.contributor-name {\n\t\t\ttransition: none !important;\n\t\t}\n\t}\n\n\t// Dark mode support (if theme supports it)\n\t@media (prefers-color-scheme: dark) {\n\t\t.contributor-item {\n\t\t\t.contributor-avatar .default-icon {\n\t\t\t\tbackground-color: #4a90a4;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Print styles\n\t@media print {\n\t\t.contributors-container {\n\t\t\tflex-direction: column;\n\t\t\talign-items: flex-start;\n\t\t}\n\n\t\t.contributor-item {\n\t\t\t.contributor-avatar {\n\t\t\t\tdisplay: none; // Hide avatars in print\n\t\t\t}\n\t\t}\n\t}\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/DocsGrid/index.asset.php b/assets/build/blocks/DocsGrid/index.asset.php new file mode 100644 index 00000000..9a32d169 --- /dev/null +++ b/assets/build/blocks/DocsGrid/index.asset.php @@ -0,0 +1 @@ + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'c2ad1e7060a95f9ac780'); diff --git a/assets/build/blocks/DocsGrid/index.js b/assets/build/blocks/DocsGrid/index.js new file mode 100644 index 00000000..11225b7d --- /dev/null +++ b/assets/build/blocks/DocsGrid/index.js @@ -0,0 +1,1172 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/@wordpress/icons/build-module/library/cog.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/cog.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); +/** + * WordPress dependencies + */ + + +const cog = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + fillRule: "evenodd", + d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z", + clipRule: "evenodd" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cog); +//# sourceMappingURL=cog.js.map + +/***/ }), + +/***/ "./src/blocks/DocsGrid/StyleControls.js": +/*!**********************************************!*\ + !*** ./src/blocks/DocsGrid/StyleControls.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); + + + + +// Add these to your attributes in block.json + +const styleAttributes = { + gridPadding: { + type: "object", + default: { + top: "20px", + right: "20px", + bottom: "20px", + left: "20px" + } + }, + gridMargin: { + type: "object", + default: { + top: "0px", + right: "0px", + bottom: "0px", + left: "0px" + } + }, + docTitleColor: { + type: "string", + default: "#333333" + }, + docChildrenActiveColor: { + type: "string", + default: "#0073aa" + }, + borderType: { + type: "string", + default: "solid" + }, + borderWidth: { + type: "string", + default: "1px" + }, + borderColor: { + type: "string", + default: "#dddddd" + }, + borderRadius: { + type: "string", + default: "4px" + }, + buttonBorderRadius: { + type: "string", + default: "4px" + }, + buttonPadding: { + type: "object", + default: { + top: "10px", + right: "20px", + bottom: "10px", + left: "20px" + } + }, + buttonMargin: { + type: "object", + default: { + top: "10px", + right: "0px", + bottom: "0px", + left: "0px" + } + }, + buttonColor: { + type: "string", + default: "#0073aa" + }, + buttonHoverColor: { + type: "string", + default: "#005177" + }, + buttonTextColor: { + type: "string", + default: "#ffffff" + }, + buttonHoverTextColor: { + type: "string", + default: "#ffffff" + }, + paginationTextColor: { + type: "string", + default: "#333333" + }, + paginationTextHoverColor: { + type: "string", + default: "#0073aa" + }, + paginationBackgroundColor: { + type: "string", + default: "#ffffff" + }, + paginationHoverColor: { + type: "string", + default: "#f5f5f5" + } +}; +const StyleControls = ({ + attributes, + setAttributes +}) => { + const updateAttribute = attributeName => value => { + setAttributes({ + [attributeName]: value + }); + }; + const borderTypes = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }]; + const colors = [{ + name: 'Sweet', + color: '#F43F5E' + }, { + name: 'Orange', + color: '#F97316' + }, { + name: 'Yellow', + color: '#FACC15' + }, { + name: 'Purple', + color: '#8B5CF6' + }, { + name: 'Light Blue', + color: '#3B82F6' + }, { + name: 'Light Green', + color: '#10B981' + }]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Grid Styles', 'wedocs'), + icon: "admin-appearance", + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Colors', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: attributes.docTitleColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Title Color', 'wedocs'), + onChange: newBgColor => updateAttribute('docTitleColor')(newBgColor) + }, { + value: attributes.docChildrenActiveColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Children Active Color', 'wedocs'), + onChange: newBgColor => updateAttribute('docChildrenActiveColor')(newBgColor) + }, { + value: attributes.borderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('borderColor')(newBorderColor) + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Grid Padding', 'wedocs'), + values: attributes.gridPadding, + onChange: updateAttribute('gridPadding') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Grid Margin', 'wedocs'), + values: attributes.gridMargin, + onChange: updateAttribute('gridMargin') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Type', 'wedocs'), + value: attributes.borderType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'wedocs'), + value: 'none' + }], + onChange: value => setAttributes({ + borderType: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'wedocs'), + value: attributes.borderWidth, + options: [{ + label: '0px', + value: '0px' + }, { + label: '1px', + value: '1px' + }, { + label: '2px', + value: '2px' + }, { + label: '3px', + value: '3px' + }, { + label: '4px', + value: '4px' + }, { + label: '5px', + value: '5px' + }], + onChange: value => setAttributes({ + borderWidth: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'wedocs'), + value: attributes.borderRadius, + options: [{ + label: '0px', + value: '0px' + }, { + label: '4px', + value: '4px' + }, { + label: '8px', + value: '8px' + }, { + label: '12px', + value: '12px' + }, { + label: '16px', + value: '16px' + }, { + label: '20px', + value: '20px' + }], + onChange: value => setAttributes({ + borderRadius: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Styles', 'wedocs'), + icon: "admin-appearance", + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Colors', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: attributes.buttonColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Color', 'wedocs'), + onChange: newBgColor => updateAttribute('buttonColor')(newBgColor) + }, { + value: attributes.buttonHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Hover Color', 'wedocs'), + onChange: newBgColor => updateAttribute('buttonHoverColor')(newBgColor) + }, { + value: attributes.buttonTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Text Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('buttonTextColor')(newBorderColor) + }, { + value: attributes.buttonHoverTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Hover Text Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('buttonHoverTextColor')(newBorderColor) + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Padding', 'wedocs'), + values: attributes.buttonPadding, + onChange: updateAttribute('buttonPadding') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Margin', 'wedocs'), + values: attributes.buttonMargin, + onChange: updateAttribute('buttonMargin') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Border Radius', 'wedocs'), + value: attributes.buttonBorderRadius, + options: [{ + label: '0px', + value: '0px' + }, { + label: '4px', + value: '4px' + }, { + label: '8px', + value: '8px' + }, { + label: '12px', + value: '12px' + }, { + label: '16px', + value: '16px' + }, { + label: '20px', + value: '20px' + }], + onChange: value => setAttributes({ + buttonBorderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "wedocs-color-control", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Button Text', 'wedocs') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TextControl, { + value: attributes.buttonText, + onChange: updateAttribute('buttonText') + })] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StyleControls); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/block.json": +/*!****************************************!*\ + !*** ./src/blocks/DocsGrid/block.json ***! + \****************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/wedocs-docs-grid","version":"1.0.0","title":"weDocs - Docs Grid","icon":"grid-view","category":"widgets","description":"Display all the docs in a grid view","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"docStyle":{"type":"string","default":"1x1"},"docsPerPage":{"type":"string","default":"all"},"excludeDocs":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"orderBy":{"type":"string","default":"menu_order"},"sectionsPerDoc":{"type":"string","default":"all"},"articlesPerSection":{"type":"string","default":"all"},"showDocArticle":{"type":"boolean","default":true},"keepArticlesCollapsed":{"type":"boolean","default":false},"showViewDetails":{"type":"boolean","default":true},"gridPadding":{"type":"object","default":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"gridMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"docTitleColor":{"type":"string","default":"#333333"},"docChildrenActiveColor":{"type":"string","default":"#0073aa"},"borderWidth":{"type":"string","default":"1px"},"borderColor":{"type":"string","default":"rgba(0, 0, 0, 0.1)"},"borderType":{"type":"string","default":"solid"},"borderRadius":{"type":"string","default":"4px"},"buttonBorderRadius":{"type":"string","default":"4px"},"buttonPadding":{"type":"object","default":{"top":"10px","right":"20px","bottom":"10px","left":"20px"}},"buttonMargin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"0px","left":"0px"}},"buttonColor":{"type":"string","default":"#0073aa"},"buttonHoverColor":{"type":"string","default":"#005177"},"buttonText":{"type":"string","default":"View Details"},"buttonTextColor":{"type":"string","default":"#ffffff"},"buttonHoverTextColor":{"type":"string","default":"#ffffff"},"paginationTextColor":{"type":"string","default":"#333333"},"paginationTextHoverColor":{"type":"string","default":"#0073aa"},"paginationBackgroundColor":{"type":"string","default":"#ffffff"},"paginationHoverColor":{"type":"string","default":"#f5f5f5"},"paginationBorderColor":{"type":"string","default":"#dddddd"}}}'); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/edit.js": +/*!*************************************!*\ + !*** ./src/blocks/DocsGrid/edit.js ***! + \*************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/cog.js"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _StyleControls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StyleControls */ "./src/blocks/DocsGrid/StyleControls.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__); + + + + + + + +const Edit = ({ + attributes, + setAttributes +}) => { + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)(); + const { + useSelect + } = wp.data; + const [currentPage, setCurrentPage] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(1); + const [loading, setLoading] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(false); + const { + hideDocGrid, + docStyle, + docsPerPage, + excludeDocs, + order, + orderBy, + sectionsPerDoc, + articlesPerSection, + showDocArticle, + keepArticlesCollapsed, + showViewDetails, + gridPadding, + gridMargin, + docTitleColor, + docChildrenActiveColor, + borderType, + borderRadius, + borderWidth, + borderColor, + buttonBorderRadius, + buttonPadding, + buttonMargin, + buttonColor, + buttonHoverColor, + buttonTextColor, + buttonText, + buttonHoverTextColor + } = attributes; + const applyStyles = () => { + const paddings = gridPadding ? `${gridPadding.top} ${gridPadding.right} ${gridPadding.bottom} ${gridPadding.left}` : ''; + const margins = gridMargin ? `${gridMargin.top} ${gridMargin.right} ${gridMargin.bottom} ${gridMargin.left}` : ''; + const btnPaddings = buttonPadding ? `${buttonPadding.top} ${buttonPadding.right} ${buttonPadding.bottom} ${buttonPadding.left}` : ''; + const btnradius = buttonBorderRadius || '8px'; + const btnMargins = buttonMargin ? `${buttonMargin.top} ${buttonMargin.right} ${buttonMargin.bottom} ${buttonMargin.left}` : ''; + return { + item: { + padding: paddings, + margin: margins, + borderStyle: borderType || 'solid', + borderWidth: borderWidth || '1px', + borderColor: borderColor || 'rgba(0, 0, 0, 0.1)', + borderRadius: borderRadius || '8px', + backgroundColor: '#fff' + }, + title: { + color: docTitleColor || '#1e1e1e' + }, + children: { + color: docChildrenActiveColor || '#0073aa' + }, + button: { + padding: btnPaddings, + margin: btnMargins, + backgroundColor: buttonColor || '#0073aa', + color: buttonTextColor || '#ffffff', + text: buttonText || (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('View Details', 'wedocs'), + borderRadius: btnradius || '8px', + '--hover-bg': buttonHoverColor || '#005177', + '--hover-color': buttonHoverTextColor || '#ffffff' + } + }; + }; + const renderGridItem = (doc, styles) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "wedocs-docs-grid__item", + style: styles.item, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h3", { + className: "wedocs-docs-grid__title", + style: styles.title, + children: doc.title.rendered + }), renderSections(doc, styles), showViewDetails && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "wedocs-docs-grid__details", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", { + className: "wedocs-docs-grid__details-link", + style: styles.button, + children: styles.button.text + }) + })] + }, doc.id); + const renderSections = (doc, styles) => { + if (!doc.sections) return null; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: `wedocs-docs-grid__sections ${keepArticlesCollapsed ? 'is-collapsed' : ''}`, + children: [doc.sections.map(section => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "wedocs-docs-grid__section", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("h4", { + className: "wedocs-docs-grid__section-title", + style: { + ...styles.title, + display: 'flex', + justifyContent: 'space-between', + alignItems: 'center' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", { + children: section.title.rendered + }), showDocArticle && section.articles && section.articles.length > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { + fill: "none", + viewBox: "0 0 24 24", + width: "16", + strokeWidth: "2", + stroke: "#acb8c4", + className: keepArticlesCollapsed ? '' : 'active', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { + strokeLinecap: "round", + strokeLinejoin: "round", + d: "M19.5 8.25l-7.5 7.5-7.5-7.5" + }) + })] + }), showDocArticle && !keepArticlesCollapsed && section.articles && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("ul", { + className: "wedocs-docs-grid__articles", + children: section.articles.map(article => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("li", { + className: "wedocs-docs-grid__article", + style: styles.children, + children: article.title.rendered + }, article.id)) + })] + }, section.id)), doc.sections.length === 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("span", { + className: "inside", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { + fill: "none", + viewBox: "0 0 24 24", + "stroke-width": "1.5", + stroke: "currentColor", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { + "stroke-linecap": "round", + "stroke-linejoin": "round", + d: "M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" + }) + }), (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('This document has no sections yet. Check back later or wait for the author to add content.', 'wedocs')] + })] + }); + }; + + // Control options + const docStyles = [{ + label: '1x1', + value: '1x1' + }, { + label: '1x2', + value: '1x2' + }]; + const docsPerPageOptions = [{ + label: 'All', + value: 'all' + }, ...Array.from({ + length: 10 + }, (_, i) => ({ + label: String(i + 1), + value: String(i + 1) + }))]; + const orderByOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('weDocs Order', 'wedocs'), + value: 'menu_order' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('ID', 'wedocs'), + value: 'id' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Name', 'wedocs'), + value: 'title' + }]; + const orderOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Ascending', 'wedocs'), + value: 'asc' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Descending', 'wedocs'), + value: 'desc' + }]; + const countOptions = [{ + label: 'All', + value: 'all' + }, ...Array.from({ + length: 10 + }, (_, i) => ({ + label: String(i + 1), + value: String(i + 1) + }))]; + // Get published docs + const { + pages, + sections, + articles + } = useSelect(select => { + const { + getEntityRecords + } = select('core'); + const docs = getEntityRecords('postType', 'docs', { + status: 'publish', + per_page: -1, + parent: 0, + orderby: orderBy, + order: order + }); + + // Get all sections (docs children) + const allSections = docs ? getEntityRecords('postType', 'docs', { + status: 'publish', + parent_in: docs.map(doc => doc.id), + per_page: -1 + }) : null; + + // Get all articles (sections children) + const allArticles = allSections ? getEntityRecords('postType', 'docs', { + status: 'publish', + parent_in: allSections.map(section => section.id), + per_page: -1 + }) : null; + return { + pages: docs, + sections: allSections, + articles: allArticles + }; + }, [orderBy, order]); + const processDocsData = () => { + if (!pages || !sections || !articles) return []; + + // Filter and sort docs based on settings + let processedDocs = [...pages]; + + // Apply exclude filter + if (excludeDocs && excludeDocs.length > 0) { + processedDocs = processedDocs.filter(doc => !excludeDocs.includes(doc.id.toString())); + } + + // Process each doc with its sections and articles + processedDocs = processedDocs.map(doc => { + // Get sections for this doc + let docSections = sections.filter(section => section.parent === doc.id); + + // Limit sections if specified + if (sectionsPerDoc !== 'all') { + docSections = docSections.slice(0, parseInt(sectionsPerDoc)); + } + + // Process sections with their articles + docSections = docSections.map(section => { + let sectionArticles = articles.filter(article => article.parent === section.id); + + // Limit articles if specified + if (articlesPerSection !== 'all') { + sectionArticles = sectionArticles.slice(0, parseInt(articlesPerSection)); + } + return { + ...section, + articles: sectionArticles + }; + }); + + // Calculate total articles for the doc + const totalArticles = docSections.reduce((total, section) => total + section.articles.length, 0); + return { + ...doc, + sections: docSections, + articleCount: totalArticles + }; + }); + return processedDocs; + }; + // Handle pagination + const getPagedDocs = docs => { + if (docsPerPage === 'all') return docs; + const perPage = parseInt(docsPerPage); + const start = (currentPage - 1) * perPage; + const end = start + perPage; + return docs.slice(start, end); + }; + + // Get final display docs + const getDisplayDocs = () => { + const processedDocs = processDocsData(); + return getPagedDocs(processedDocs); + }; + + // Pagination controls + const renderPagination = totalDocs => { + if (docsPerPage === 'all') return null; + const totalPages = Math.ceil(totalDocs.length / parseInt(docsPerPage)); + + // Create style objects for pagination buttons + const paginationBaseStyle = { + padding: '8px 12px', + margin: '0 4px', + backgroundColor: attributes.paginationBackgroundColor || '#fff', + color: attributes.paginationTextColor || '#333', + border: `1px solid ${attributes.paginationBorderColor || '#ddd'}`, + borderRadius: attributes.borderRadius || '4px', + cursor: 'pointer', + transition: 'all 0.2s ease', + textDecoration: 'none', + display: 'inline-block', + minWidth: '32px', + textAlign: 'center', + fontFamily: 'inherit', + fontSize: '14px', + lineHeight: '1.4' + }; + + // Active button style + const activeStyle = { + ...paginationBaseStyle, + backgroundColor: attributes.paginationHoverColor || '#f5f5f5', + borderColor: attributes.paginationHoverColor || '#ccc', + color: attributes.paginationTextHoverColor || '#0073aa' + }; + + // Hover styles will be handled by CSS custom properties + const customProperties = { + '--pagination-hover-bg': attributes.paginationHoverColor || '#f5f5f5', + '--pagination-hover-color': attributes.paginationTextHoverColor || '#0073aa', + '--pagination-hover-border': attributes.paginationHoverColor || '#ccc' + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "wedocs-docs-pagination", + style: { + margin: '30px 0', + textAlign: 'center', + ...customProperties + }, + children: [currentPage > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { + style: paginationBaseStyle, + onClick: () => setCurrentPage(currentPage - 1), + className: "wedocs-docs-pagination__button", + children: "\u2190" + }), Array.from({ + length: totalPages + }, (_, i) => { + const pageNum = i + 1; + const isCurrentPage = currentPage === pageNum; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { + style: isCurrentPage ? activeStyle : paginationBaseStyle, + className: `wedocs-docs-pagination__button ${isCurrentPage ? 'is-active' : ''}`, + onClick: () => setCurrentPage(pageNum), + children: pageNum + }, pageNum); + }), currentPage < totalPages && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { + style: paginationBaseStyle, + onClick: () => setCurrentPage(currentPage + 1), + className: "wedocs-docs-pagination__button", + children: "\u2192" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("style", { + children: ` + .wedocs-docs-pagination__button:hover:not(.is-active) { + background-color: var(--pagination-hover-bg) !important; + color: var(--pagination-hover-color) !important; + border-color: var(--pagination-hover-border) !important; + } + ` + })] + }); + }; + const displayDocs = getDisplayDocs(); + // Create a mapping of ID to title for suggestions + const docsMap = pages ? pages.reduce((acc, page) => { + acc[page.id] = page.title.rendered; + return acc; + }, {}) : {}; + + // Prepare docs options for FormTokenField + const docsOptions = pages ? pages.map(page => ({ + value: page.id.toString(), + label: page.title.rendered + })) : []; + + // Update handlers + const updateAttribute = attributeName => value => { + setAttributes({ + [attributeName]: value + }); + }; + + // Transform IDs to titles for FormTokenField display + const excludeDocsDisplay = excludeDocs ? excludeDocs.map(id => docsMap[id] || id) : []; + + // Handle token changes + const handleExcludeDocsChange = tokens => { + // Convert titles back to IDs + const newExcludeDocs = tokens.map(token => { + // Find the ID for this title + const found = Object.entries(docsMap).find(([id, title]) => title === token); + return found ? found[0] : token; + }); + setAttributes({ + excludeDocs: newExcludeDocs + }); + }; + const getGridClass = () => { + return `wedocs-docs-grid--${docStyle}`; + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Doc Grid Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__["default"], + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: docStyle, + options: docStyles, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('DOCS GRID COLUMN STYLE', 'wedocs'), + onChange: updateAttribute('docStyle') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: docsPerPage, + options: docsPerPageOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Docs per page', 'wedocs'), + onChange: updateAttribute('docsPerPage') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.FormTokenField, { + value: excludeDocsDisplay, + suggestions: Object.values(docsMap), + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Exclude Docs', 'wedocs'), + onChange: handleExcludeDocsChange + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: order, + options: orderOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Order', 'wedocs'), + onChange: updateAttribute('order') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: orderBy, + options: orderByOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Order by', 'wedocs'), + onChange: updateAttribute('orderBy') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: sectionsPerDoc, + options: countOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Sections per doc', 'wedocs'), + onChange: updateAttribute('sectionsPerDoc') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: articlesPerSection, + options: countOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Articles per section', 'wedocs'), + onChange: updateAttribute('articlesPerSection') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: showDocArticle, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show Doc Article', 'wedocs'), + onChange: updateAttribute('showDocArticle') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: keepArticlesCollapsed, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Keep Article Collapsed', 'wedocs'), + onChange: updateAttribute('keepArticlesCollapsed') + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: showViewDetails, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show View Details Button', 'wedocs'), + onChange: updateAttribute('showViewDetails') + }) + })] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_StyleControls__WEBPACK_IMPORTED_MODULE_5__["default"], { + attributes: attributes, + setAttributes: setAttributes + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + ...blockProps, + children: hideDocGrid ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "backdrop" + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "wedocs-block-wrapper", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: `wedocs-docs-grid ${getGridClass()}`, + children: loading ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(Spinner, {}) : displayDocs.map(doc => renderGridItem(doc, applyStyles())) + }) + }) + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/index.js": +/*!**************************************!*\ + !*** ./src/blocks/DocsGrid/index.js ***! + \**************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./edit */ "./src/blocks/DocsGrid/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./src/blocks/DocsGrid/block.json"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/DocsGrid/style.scss"); + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_1__["default"], + /** + * @see ./save.js + */ + save: () => null +}); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/style.scss": +/*!****************************************!*\ + !*** ./src/blocks/DocsGrid/style.scss ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "@wordpress/block-editor": +/*!*************************************!*\ + !*** external ["wp","blockEditor"] ***! + \*************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blockEditor"]; + +/***/ }), + +/***/ "@wordpress/blocks": +/*!********************************!*\ + !*** external ["wp","blocks"] ***! + \********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blocks"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["i18n"]; + +/***/ }), + +/***/ "@wordpress/primitives": +/*!************************************!*\ + !*** external ["wp","primitives"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["primitives"]; + +/***/ }), + +/***/ "react/jsx-runtime": +/*!**********************************!*\ + !*** external "ReactJSXRuntime" ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["ReactJSXRuntime"]; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var [chunkIds, fn, priority] = deferred[i]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "blocks/DocsGrid/index": 0, +/******/ "blocks/DocsGrid/style-index": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = globalThis["webpackChunkweDocs"] = globalThis["webpackChunkweDocs"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module depends on other loaded chunks and execution need to be delayed +/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["blocks/DocsGrid/style-index"], () => (__webpack_require__("./src/blocks/DocsGrid/index.js"))) +/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ +/******/ })() +; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/assets/build/blocks/DocsGrid/index.js.map b/assets/build/blocks/DocsGrid/index.js.map new file mode 100644 index 00000000..84e32335 --- /dev/null +++ b/assets/build/blocks/DocsGrid/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/DocsGrid/index.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACkD;AACF;AAChD,yBAAyB,sDAAI,CAAC,sDAAG;AACjC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD,iEAAe,GAAG,EAAC;AACnB,+B;;;;;;;;;;;;;;;;;;;;;;ACfqC;AAMN;AAC8B;;AAE7D;AAAA;AACA,MAAMa,eAAe,GAAG;EACpBC,WAAW,EAAE;IACTC,IAAI,EAAE,QAAQ;IACdC,OAAO,EAAE;MACLC,GAAG,EAAE,MAAM;MACXC,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,MAAM;MACdC,IAAI,EAAE;IACV;EACJ,CAAC;EACDC,UAAU,EAAE;IACRN,IAAI,EAAE,QAAQ;IACdC,OAAO,EAAE;MACLC,GAAG,EAAE,KAAK;MACVC,KAAK,EAAE,KAAK;MACZC,MAA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EA,CAAA,KAAM;AACb,CAAC,CAAC,C;;;;;;;;;;;ACfF;;;;;;;;;;;ACAA,6C;;;;;;;;;;ACAA,wC;;;;;;;;;;ACAA,4C;;;;;;;;;;ACAA,yC;;;;;;;;;;ACAA,sC;;;;;;;;;;ACAA,4C;;;;;;;;;;ACAA,2C;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/cog.js","webpack://weDocs/./src/blocks/DocsGrid/StyleControls.js","webpack://weDocs/./src/blocks/DocsGrid/edit.js","webpack://weDocs/./src/blocks/DocsGrid/index.js","webpack://weDocs/./src/blocks/DocsGrid/style.scss?c485","webpack://weDocs/external window [\"wp\",\"blockEditor\"]","webpack://weDocs/external window [\"wp\",\"blocks\"]","webpack://weDocs/external window [\"wp\",\"components\"]","webpack://weDocs/external window [\"wp\",\"element\"]","webpack://weDocs/external window [\"wp\",\"i18n\"]","webpack://weDocs/external window [\"wp\",\"primitives\"]","webpack://weDocs/external window \"ReactJSXRuntime\"","webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/chunk loaded","webpack://weDocs/webpack/runtime/compat get default export","webpack://weDocs/webpack/runtime/define property getters","webpack://weDocs/webpack/runtime/hasOwnProperty shorthand","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/webpack/runtime/jsonp chunk loading","webpack://weDocs/webpack/before-startup","webpack://weDocs/webpack/startup","webpack://weDocs/webpack/after-startup"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst cog = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n fillRule: \"evenodd\",\n d: \"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z\",\n clipRule: \"evenodd\"\n })\n});\nexport default cog;\n//# sourceMappingURL=cog.js.map","import { __ } from '@wordpress/i18n';\nimport {\n PanelBody,\n __experimentalBoxControl as BoxControl,\n SelectControl,\n TextControl\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\n// Add these to your attributes in block.json\nconst styleAttributes = {\n gridPadding: {\n type: \"object\",\n default: {\n top: \"20px\",\n right: \"20px\",\n bottom: \"20px\",\n left: \"20px\"\n }\n },\n gridMargin: {\n type: \"object\",\n default: {\n top: \"0px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n },\n docTitleColor: {\n type: \"string\",\n default: \"#333333\"\n },\n docChildrenActiveColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n borderType: {\n type: \"string\",\n default: \"solid\"\n },\n borderWidth: {\n type: \"string\",\n default: \"1px\"\n },\n borderColor: {\n type: \"string\",\n default: \"#dddddd\"\n },\n borderRadius: {\n type: \"string\",\n default: \"4px\"\n },\n buttonBorderRadius: {\n type: \"string\",\n default: \"4px\"\n },\n buttonPadding: {\n type: \"object\",\n default: {\n top: \"10px\",\n right: \"20px\",\n bottom: \"10px\",\n left: \"20px\"\n }\n },\n buttonMargin: {\n type: \"object\",\n default: {\n top: \"10px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n },\n buttonColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n buttonHoverColor: {\n type: \"string\",\n default: \"#005177\"\n },\n buttonTextColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n buttonHoverTextColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n paginationTextColor: {\n type: \"string\",\n default: \"#333333\"\n },\n paginationTextHoverColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n paginationBackgroundColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n paginationHoverColor: {\n type: \"string\",\n default: \"#f5f5f5\"\n }\n};\n\nconst StyleControls = ({ attributes, setAttributes }) => {\n const updateAttribute = (attributeName) => (value) => {\n setAttributes({ [attributeName]: value });\n };\n\n const borderTypes = [\n { label: __('Solid', 'wedocs'), value: 'solid' },\n { label: __('Dashed', 'wedocs'), value: 'dashed' },\n { label: __('Dotted', 'wedocs'), value: 'dotted' },\n { label: __('None', 'wedocs'), value: 'none' }\n ];\n const colors = [\n { name: 'Sweet', color: '#F43F5E' },\n { name: 'Orange', color: '#F97316' },\n { name: 'Yellow', color: '#FACC15' },\n { name: 'Purple', color: '#8B5CF6' },\n { name: 'Light Blue', color: '#3B82F6' },\n { name: 'Light Green', color: '#10B981' },\n ];\n\n return (\n <>\n \n \n updateAttribute(\n 'docTitleColor')(newBgColor)\n },\n {\n value: attributes.docChildrenActiveColor,\n label: __('Doc Children Active Color', 'wedocs'),\n onChange: (newBgColor) => updateAttribute(\n 'docChildrenActiveColor')(newBgColor)\n },\n {\n value: attributes.borderColor,\n label: __('Border Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'borderColor')(newBorderColor)\n }\n ]}\n />\n \n \n setAttributes({ borderType: value })}\n />\n\n setAttributes({ borderWidth: value })}\n />\n setAttributes({ borderRadius: value })}\n />\n \n\n \n \n updateAttribute(\n 'buttonColor')(newBgColor)\n },\n {\n value: attributes.buttonHoverColor,\n label: __('Button Hover Color', 'wedocs'),\n onChange: (newBgColor) => updateAttribute(\n 'buttonHoverColor')(newBgColor)\n },\n {\n value: attributes.buttonTextColor,\n label: __('Button Text Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'buttonTextColor')(newBorderColor)\n },\n {\n value: attributes.buttonHoverTextColor,\n label: __('Button Hover Text Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'buttonHoverTextColor')(newBorderColor)\n }\n ]}\n />\n \n \n setAttributes(\n { buttonBorderRadius: value })}\n />\n
\n \n \n
\n \n\n {/**/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/**/}\n \n );\n};\n\nexport default StyleControls;\n","import { __ } from '@wordpress/i18n';\nimport { cog, grid } from '@wordpress/icons';\nimport { Fragment, useState } from '@wordpress/element';\nimport { useBlockProps, InspectorControls } from '@wordpress/block-editor';\nimport {\n PanelBody,\n SelectControl,\n ToggleControl,\n PanelRow,\n FormTokenField\n} from '@wordpress/components';\nimport StyleControls from './StyleControls';\n\nconst Edit = ({ attributes, setAttributes }) => {\n const blockProps = useBlockProps();\n const { useSelect } = wp.data;\n const [currentPage, setCurrentPage] = useState(1);\n const [loading, setLoading] = useState(false);\n\n const {\n hideDocGrid,\n docStyle,\n docsPerPage,\n excludeDocs,\n order,\n orderBy,\n sectionsPerDoc,\n articlesPerSection,\n showDocArticle,\n keepArticlesCollapsed,\n showViewDetails,\n gridPadding,\n gridMargin,\n docTitleColor,\n docChildrenActiveColor,\n borderType,\n borderRadius,\n borderWidth,\n borderColor,\n buttonBorderRadius,\n buttonPadding,\n buttonMargin,\n buttonColor,\n buttonHoverColor,\n buttonTextColor,\n buttonText,\n buttonHoverTextColor,\n } = attributes;\n\n const applyStyles = () => {\n const paddings = gridPadding ? `${gridPadding.top} ${gridPadding.right} ${gridPadding.bottom} ${gridPadding.left}` : '';\n const margins = gridMargin ? `${gridMargin.top} ${gridMargin.right} ${gridMargin.bottom} ${gridMargin.left}` : '';\n const btnPaddings = buttonPadding ? `${buttonPadding.top} ${buttonPadding.right} ${buttonPadding.bottom} ${buttonPadding.left}` : '';\n const btnradius = buttonBorderRadius || '8px';\n const btnMargins = buttonMargin ? `${buttonMargin.top} ${buttonMargin.right} ${buttonMargin.bottom} ${buttonMargin.left}` : '';\n\n return {\n item: {\n padding: paddings,\n margin: margins,\n borderStyle: borderType || 'solid',\n borderWidth: borderWidth || '1px',\n borderColor: borderColor || 'rgba(0, 0, 0, 0.1)',\n borderRadius: borderRadius || '8px',\n backgroundColor: '#fff'\n },\n title: {\n color: docTitleColor || '#1e1e1e'\n },\n children: {\n color: docChildrenActiveColor || '#0073aa'\n },\n button: {\n padding: btnPaddings,\n margin: btnMargins,\n backgroundColor: buttonColor || '#0073aa',\n color: buttonTextColor || '#ffffff',\n text: buttonText || __('View Details', 'wedocs'),\n borderRadius: btnradius || '8px',\n '--hover-bg': buttonHoverColor || '#005177',\n '--hover-color': buttonHoverTextColor || '#ffffff'\n }\n };\n };\n\n const renderGridItem = (doc, styles) => (\n \n \n {doc.title.rendered}\n \n {renderSections(doc, styles)}\n {showViewDetails && (\n
\n \n {styles.button.text}\n \n
\n )}\n \n );\n const renderSections = (doc, styles) => {\n if (!doc.sections) return null;\n\n return (\n
\n {doc.sections.map(section => (\n
\n \n {section.title.rendered}\n {showDocArticle && section.articles && section.articles.length > 0 && (\n \n \n \n )}\n \n {(showDocArticle && !keepArticlesCollapsed && section.articles) && (\n
    \n {section.articles.map(article => (\n \n {article.title.rendered}\n \n ))}\n
\n )}\n
\n ))}\n {doc.sections.length === 0 && (\n \n \n \n \n {__('This document has no sections yet. Check back later or wait for the author to add content.', 'wedocs')}\n \n )}\n
\n );\n };\n\n // Control options\n const docStyles = [\n { label: '1x1', value: '1x1' },\n { label: '1x2', value: '1x2' },\n ];\n\n const docsPerPageOptions = [\n { label: 'All', value: 'all' },\n ...Array.from({ length: 10 }, (_, i) => ({\n label: String(i + 1),\n value: String(i + 1)\n }))\n ];\n\n const orderByOptions = [\n { label: __('weDocs Order', 'wedocs'), value: 'menu_order' },\n { label: __('ID', 'wedocs'), value: 'id' },\n { label: __('Name', 'wedocs'), value: 'title' },\n ];\n const orderOptions = [\n { label: __('Ascending', 'wedocs'), value: 'asc' },\n { label: __('Descending', 'wedocs'), value: 'desc' },\n ];\n\n const countOptions = [\n { label: 'All', value: 'all' },\n ...Array.from({ length: 10 }, (_, i) => ({\n label: String(i + 1),\n value: String(i + 1)\n }))\n ];\n // Get published docs\n const { pages, sections, articles } = useSelect((select) => {\n const { getEntityRecords } = select('core');\n\n const docs = getEntityRecords('postType', 'docs', {\n status: 'publish',\n per_page: -1,\n parent: 0,\n orderby: orderBy,\n order: order\n });\n\n // Get all sections (docs children)\n const allSections = docs ? getEntityRecords('postType', 'docs', {\n status: 'publish',\n parent_in: docs.map(doc => doc.id),\n per_page: -1\n }) : null;\n\n // Get all articles (sections children)\n const allArticles = allSections ? getEntityRecords('postType', 'docs', {\n status: 'publish',\n parent_in: allSections.map(section => section.id),\n per_page: -1\n }) : null;\n\n return {\n pages: docs,\n sections: allSections,\n articles: allArticles\n };\n }, [orderBy, order]);\n\n const processDocsData = () => {\n if (!pages || !sections || !articles) return [];\n\n // Filter and sort docs based on settings\n let processedDocs = [...pages];\n\n // Apply exclude filter\n if (excludeDocs && excludeDocs.length > 0) {\n processedDocs = processedDocs.filter(doc =>\n !excludeDocs.includes(doc.id.toString())\n );\n }\n\n // Process each doc with its sections and articles\n processedDocs = processedDocs.map(doc => {\n // Get sections for this doc\n let docSections = sections.filter(section => section.parent === doc.id);\n\n // Limit sections if specified\n if (sectionsPerDoc !== 'all') {\n docSections = docSections.slice(0, parseInt(sectionsPerDoc));\n }\n\n // Process sections with their articles\n docSections = docSections.map(section => {\n let sectionArticles = articles.filter(article => article.parent === section.id);\n\n // Limit articles if specified\n if (articlesPerSection !== 'all') {\n sectionArticles = sectionArticles.slice(0, parseInt(articlesPerSection));\n }\n\n return {\n ...section,\n articles: sectionArticles\n };\n });\n\n // Calculate total articles for the doc\n const totalArticles = docSections.reduce((total, section) =>\n total + section.articles.length, 0\n );\n\n return {\n ...doc,\n sections: docSections,\n articleCount: totalArticles\n };\n });\n\n return processedDocs;\n };\n // Handle pagination\n const getPagedDocs = (docs) => {\n if ( docsPerPage === 'all') return docs;\n\n const perPage = parseInt(docsPerPage);\n const start = (currentPage - 1) * perPage;\n const end = start + perPage;\n\n return docs.slice(start, end);\n };\n\n // Get final display docs\n const getDisplayDocs = () => {\n const processedDocs = processDocsData();\n return getPagedDocs(processedDocs);\n };\n\n // Pagination controls\n const renderPagination = (totalDocs) => {\n if (docsPerPage === 'all') return null;\n\n const totalPages = Math.ceil(totalDocs.length / parseInt(docsPerPage));\n\n // Create style objects for pagination buttons\n const paginationBaseStyle = {\n padding: '8px 12px',\n margin: '0 4px',\n backgroundColor: attributes.paginationBackgroundColor || '#fff',\n color: attributes.paginationTextColor || '#333',\n border: `1px solid ${attributes.paginationBorderColor || '#ddd'}`,\n borderRadius: attributes.borderRadius || '4px',\n cursor: 'pointer',\n transition: 'all 0.2s ease',\n textDecoration: 'none',\n display: 'inline-block',\n minWidth: '32px',\n textAlign: 'center',\n fontFamily: 'inherit',\n fontSize: '14px',\n lineHeight: '1.4'\n };\n\n // Active button style\n const activeStyle = {\n ...paginationBaseStyle,\n backgroundColor: attributes.paginationHoverColor || '#f5f5f5',\n borderColor: attributes.paginationHoverColor || '#ccc',\n color: attributes.paginationTextHoverColor || '#0073aa'\n };\n\n // Hover styles will be handled by CSS custom properties\n const customProperties = {\n '--pagination-hover-bg': attributes.paginationHoverColor || '#f5f5f5',\n '--pagination-hover-color': attributes.paginationTextHoverColor || '#0073aa',\n '--pagination-hover-border': attributes.paginationHoverColor || '#ccc'\n };\n\n return (\n \n {/* Previous button */}\n {currentPage > 1 && (\n setCurrentPage(currentPage - 1)}\n className=\"wedocs-docs-pagination__button\"\n >\n ←\n \n )}\n\n {/* Page numbers */}\n {Array.from({ length: totalPages }, (_, i) => {\n const pageNum = i + 1;\n const isCurrentPage = currentPage === pageNum;\n\n return (\n setCurrentPage(pageNum)}\n >\n {pageNum}\n \n );\n })}\n\n {/* Next button */}\n {currentPage < totalPages && (\n setCurrentPage(currentPage + 1)}\n className=\"wedocs-docs-pagination__button\"\n >\n →\n \n )}\n\n \n \n );\n };\n\n const displayDocs = getDisplayDocs();\n // Create a mapping of ID to title for suggestions\n const docsMap = pages ? pages.reduce((acc, page) => {\n acc[page.id] = page.title.rendered;\n return acc;\n }, {}) : {};\n\n // Prepare docs options for FormTokenField\n const docsOptions = pages ? pages.map(page => ({\n value: page.id.toString(),\n label: page.title.rendered\n })) : [];\n\n // Update handlers\n const updateAttribute = (attributeName) => (value) => {\n setAttributes({ [attributeName]: value });\n };\n\n // Transform IDs to titles for FormTokenField display\n const excludeDocsDisplay = excludeDocs ? excludeDocs.map(id => docsMap[id] || id) : [];\n\n // Handle token changes\n const handleExcludeDocsChange = (tokens) => {\n // Convert titles back to IDs\n const newExcludeDocs = tokens.map(token => {\n // Find the ID for this title\n const found = Object.entries(docsMap).find(([id, title]) => title === token);\n return found ? found[0] : token;\n });\n\n setAttributes({ excludeDocs: newExcludeDocs });\n };\n\n const getGridClass = () => {\n return `wedocs-docs-grid--${docStyle}`;\n };\n\n return (\n \n \n \n \n\n \n\n \n \n \n\n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n\n
\n {hideDocGrid ? (\n
\n ) : (\n
\n
\n {loading ? (\n \n ) : (\n displayDocs.map((doc) => renderGridItem(doc, applyStyles()))\n )}\n
\n
\n )}\n
\n
\n );\n};\n\nexport default Edit;\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport Edit from \"./edit\";\nimport metadata from \"./block.json\";\nimport \"./style.scss\";\n\nregisterBlockType(metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave: () => null,\n});\n","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","module.exports = window[\"ReactJSXRuntime\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"blocks/DocsGrid/index\": 0,\n\t\"blocks/DocsGrid/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkweDocs\"] = globalThis[\"webpackChunkweDocs\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"blocks/DocsGrid/style-index\"], () => (__webpack_require__(\"./src/blocks/DocsGrid/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","PanelBody","__experimentalBoxControl","BoxControl","SelectControl","TextControl","PanelColorSettings","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","styleAttributes","gridPadding","type","default","top","right","bottom","left","gridMargin","docTitleColor","docChildrenActiveColor","borderType","borderWidth","borderColor","borderRadius","buttonBorderRadius","buttonPadding","buttonMargin","buttonColor","buttonHoverColor","buttonTextColor","buttonHoverTextColor","paginationTextColor","paginationTextHoverColor","paginationBackgroundColor","paginationHoverColor","StyleControls","attributes","setAttributes","updateAttribute","attributeName","value","borderTypes","label","colors","name","color","children","title","icon","initialOpen","colorSettings","onChange","newBgColor","newBorderColor","values","options","className","buttonText","cog","grid","useState","useBlockProps","InspectorControls","ToggleControl","PanelRow","FormTokenField","Edit","blockProps","useSelect","wp","data","currentPage","setCurrentPage","loading","setLoading","hideDocGrid","docStyle","docsPerPage","excludeDocs","order","orderBy","sectionsPerDoc","articlesPerSection","showDocArticle","keepArticlesCollapsed","showViewDetails","applyStyles","paddings","margins","btnPaddings","btnradius","btnMargins","item","padding","margin","borderStyle","backgroundColor","button","text","renderGridItem","doc","styles","style","rendered","renderSections","id","sections","map","section","display","justifyContent","alignItems","articles","length","fill","viewBox","width","strokeWidth","stroke","strokeLinecap","strokeLinejoin","d","article","docStyles","docsPerPageOptions","Array","from","_","i","String","orderByOptions","orderOptions","countOptions","pages","select","getEntityRecords","docs","status","per_page","parent","orderby","allSections","parent_in","allArticles","processDocsData","processedDocs","filter","includes","toString","docSections","slice","parseInt","sectionArticles","totalArticles","reduce","total","articleCount","getPagedDocs","perPage","start","end","getDisplayDocs","renderPagination","totalDocs","totalPages","Math","ceil","paginationBaseStyle","border","paginationBorderColor","cursor","transition","textDecoration","minWidth","textAlign","fontFamily","fontSize","lineHeight","activeStyle","customProperties","onClick","pageNum","isCurrentPage","displayDocs","docsMap","acc","page","docsOptions","excludeDocsDisplay","handleExcludeDocsChange","tokens","newExcludeDocs","token","found","Object","entries","find","getGridClass","suggestions","checked","Spinner","registerBlockType","metadata","edit","save"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/DocsGrid/render.php b/assets/build/blocks/DocsGrid/render.php index 6aaadd02..1a835b66 100644 --- a/assets/build/blocks/DocsGrid/render.php +++ b/assets/build/blocks/DocsGrid/render.php @@ -7,313 +7,318 @@ * @return string Rendered block content */ -function get_pagination_style_tag($attributes) { - $background_color = $attributes['paginationBackgroundColor'] ?? '#fff'; - $text_color = $attributes['paginationTextColor'] ?? '#333'; - $border_color = $attributes['paginationBorderColor'] ?? '#ddd'; - $hover_color = $attributes['paginationHoverColor'] ?? '#f5f5f5'; - $text_hover_color = $attributes['paginationTextHoverColor'] ?? '#0073aa'; - $border_radius = $attributes['borderRadius'] ?? '4px'; + if ( ! function_exists( 'get_pagination_style_tag' ) ) { + function get_pagination_style_tag($attributes) { + $background_color = $attributes['paginationBackgroundColor'] ?? '#fff'; + $text_color = $attributes['paginationTextColor'] ?? '#333'; + $border_color = $attributes['paginationBorderColor'] ?? '#ddd'; + $hover_color = $attributes['paginationHoverColor'] ?? '#f5f5f5'; + $text_hover_color = $attributes['paginationTextHoverColor'] ?? '#0073aa'; + $border_radius = $attributes['borderRadius'] ?? '4px'; - return sprintf( - '', - esc_attr($background_color), - esc_attr($text_color), - esc_attr($border_color), - esc_attr($hover_color), - esc_attr($text_hover_color), - esc_attr($border_radius) - ); + return sprintf( + '', + esc_attr($background_color), + esc_attr($text_color), + esc_attr($border_color), + esc_attr($hover_color), + esc_attr($text_hover_color), + esc_attr($border_radius) + ); + } } -function render_wedocs_docs_grid($attributes) { - // Extract attributes with defaults - $doc_style = $attributes['docStyle'] ?? '1x1'; - $docs_per_page = $attributes['docsPerPage'] ?? 'all'; - $exclude_docs = $attributes['excludeDocs'] ?? []; - $order = $attributes['order'] ?? 'ASC'; - $order_by = $attributes['orderBy'] ?? 'menu_order'; - $sections_per_doc = $attributes['sectionsPerDoc'] ?? 'all'; - $articles_per_section = $attributes['articlesPerSection'] ?? 'all'; - $show_doc_article = $attributes['showDocArticle'] ?? true; - $keep_articles_collapsed = $attributes['keepArticlesCollapsed'] ?? false; - $show_view_details = $attributes['showViewDetails'] ?? true; - // Extract style attributes - $grid_padding = $attributes['gridPadding'] ?? null; - $grid_margin = $attributes['gridMargin'] ?? null; - $border_type = $attributes['borderType'] ?? 'solid'; - $border_radius = $attributes['borderRadius'] ?? '8px'; - $border_width = $attributes['borderWidth'] ?? '1px'; - $border_color = $attributes['borderColor'] ?? 'rgba(0, 0, 0, 0.1)'; - $doc_title_color = $attributes['docTitleColor'] ?? '#1e1e1e'; - $doc_children_active_color = $attributes['docChildrenActiveColor'] ?? '#0073aa'; - $button_color = $attributes['buttonColor'] ?? '#0073aa'; - $button_text = $attributes['buttonText'] ?? __('View Details', 'wedocs'); - $button_text_color = $attributes['buttonTextColor'] ?? '#ffffff'; - $button_hover_color = $attributes['buttonHoverColor'] ?? '#005177'; - $button_hover_text_color = $attributes['buttonHoverTextColor'] ?? '#ffffff'; - $button_padding = $attributes['buttonPadding'] ?? null; - $button_radius = $attributes['buttonBorderRadius'] ?? '4px'; - $button_margin = $attributes['buttonMargin'] ?? null; +if ( ! function_exists( 'render_wedocs_docs_grid' ) ) { + function render_wedocs_docs_grid($attributes) { + // Extract attributes with defaults + $doc_style = $attributes['docStyle'] ?? '1x1'; + $docs_per_page = $attributes['docsPerPage'] ?? 'all'; + $exclude_docs = $attributes['excludeDocs'] ?? []; + $order = $attributes['order'] ?? 'ASC'; + $order_by = $attributes['orderBy'] ?? 'menu_order'; + $sections_per_doc = $attributes['sectionsPerDoc'] ?? 'all'; + $articles_per_section = $attributes['articlesPerSection'] ?? 'all'; + $show_doc_article = $attributes['showDocArticle'] ?? true; + $keep_articles_collapsed = $attributes['keepArticlesCollapsed'] ?? false; + $show_view_details = $attributes['showViewDetails'] ?? true; - // Format padding and margin styles - $padding_style = ''; - if ($grid_padding) { - $padding_style = sprintf( - 'padding: %s %s %s %s;', - esc_attr($grid_padding['top'] ?? '1.5rem'), - esc_attr($grid_padding['right'] ?? '1.5rem'), - esc_attr($grid_padding['bottom'] ?? '1.5rem'), - esc_attr($grid_padding['left'] ?? '1.5rem') - ); - } + // Extract style attributes + $grid_padding = $attributes['gridPadding'] ?? null; + $grid_margin = $attributes['gridMargin'] ?? null; + $border_type = $attributes['borderType'] ?? 'solid'; + $border_radius = $attributes['borderRadius'] ?? '8px'; + $border_width = $attributes['borderWidth'] ?? '1px'; + $border_color = $attributes['borderColor'] ?? 'rgba(0, 0, 0, 0.1)'; + $doc_title_color = $attributes['docTitleColor'] ?? '#1e1e1e'; + $doc_children_active_color = $attributes['docChildrenActiveColor'] ?? '#0073aa'; + $button_color = $attributes['buttonColor'] ?? '#0073aa'; + $button_text = $attributes['buttonText'] ?? __('View Details', 'wedocs'); + $button_text_color = $attributes['buttonTextColor'] ?? '#ffffff'; + $button_hover_color = $attributes['buttonHoverColor'] ?? '#005177'; + $button_hover_text_color = $attributes['buttonHoverTextColor'] ?? '#ffffff'; + $button_padding = $attributes['buttonPadding'] ?? null; + $button_radius = $attributes['buttonBorderRadius'] ?? '4px'; + $button_margin = $attributes['buttonMargin'] ?? null; + + // Format padding and margin styles + $padding_style = ''; + if ($grid_padding) { + $padding_style = sprintf( + 'padding: %s %s %s %s;', + esc_attr($grid_padding['top'] ?? '1.5rem'), + esc_attr($grid_padding['right'] ?? '1.5rem'), + esc_attr($grid_padding['bottom'] ?? '1.5rem'), + esc_attr($grid_padding['left'] ?? '1.5rem') + ); + } + + $margin_style = ''; + if ($grid_margin) { + $margin_style = sprintf( + 'margin: %s %s %s %s;', + esc_attr($grid_margin['top'] ?? '0'), + esc_attr($grid_margin['right'] ?? '0'), + esc_attr($grid_margin['bottom'] ?? '0'), + esc_attr($grid_margin['left'] ?? '0') + ); + } - $margin_style = ''; - if ($grid_margin) { - $margin_style = sprintf( - 'margin: %s %s %s %s;', - esc_attr($grid_margin['top'] ?? '0'), - esc_attr($grid_margin['right'] ?? '0'), - esc_attr($grid_margin['bottom'] ?? '0'), - esc_attr($grid_margin['left'] ?? '0') + // Format button padding and margin + $button_padding_style = ''; + if ($button_padding) { + $button_padding_style = sprintf( + 'padding: %s %s %s %s;', + esc_attr($button_padding['top'] ?? '8px'), + esc_attr($button_padding['right'] ?? '12px'), + esc_attr($button_padding['bottom'] ?? '8px'), + esc_attr($button_padding['left'] ?? '12px') + ); + } + + $button_margin_style = ''; + if ($button_margin) { + $button_margin_style = sprintf( + 'margin: %s %s %s %s;', + esc_attr($button_margin['top'] ?? '0'), + esc_attr($button_margin['right'] ?? '0'), + esc_attr($button_margin['bottom'] ?? '0'), + esc_attr($button_margin['left'] ?? '0') + ); + } + + // Create inline styles for grid items + $grid_item_style = sprintf( + 'border: %s %s %s; border-radius: %s; %s %s', + esc_attr($border_width), + esc_attr($border_type), + esc_attr($border_color), + esc_attr($border_radius), + $padding_style, + $margin_style ); - } - // Format button padding and margin - $button_padding_style = ''; - if ($button_padding) { - $button_padding_style = sprintf( - 'padding: %s %s %s %s;', - esc_attr($button_padding['top'] ?? '8px'), - esc_attr($button_padding['right'] ?? '12px'), - esc_attr($button_padding['bottom'] ?? '8px'), - esc_attr($button_padding['left'] ?? '12px') + $title_style = sprintf('color: %s;', esc_attr($doc_title_color)); + $children_style = sprintf('color: %s;', esc_attr($doc_children_active_color)); + $button_style = sprintf( + 'background-color: %s; color: %s; border-radius: %s; %s %s', + esc_attr($button_color), + esc_attr($button_text_color), + esc_attr($button_radius), + $button_padding_style, + $button_margin_style ); - } - $button_margin_style = ''; - if ($button_margin) { - $button_margin_style = sprintf( - 'margin: %s %s %s %s;', - esc_attr($button_margin['top'] ?? '0'), - esc_attr($button_margin['right'] ?? '0'), - esc_attr($button_margin['bottom'] ?? '0'), - esc_attr($button_margin['left'] ?? '0') + // Add dynamic styles for hover states + $hover_styles = sprintf( + '', + esc_attr($button_hover_color), + esc_attr($button_hover_text_color) ); - } - // Create inline styles for grid items - $grid_item_style = sprintf( - 'border: %s %s %s; border-radius: %s; %s %s', - esc_attr($border_width), - esc_attr($border_type), - esc_attr($border_color), - esc_attr($border_radius), - $padding_style, - $margin_style - ); + // Get current page for pagination + $current_page = (get_query_var('paged')) ? get_query_var('paged') : 1; - $title_style = sprintf('color: %s;', esc_attr($doc_title_color)); - $children_style = sprintf('color: %s;', esc_attr($doc_children_active_color)); - $button_style = sprintf( - 'background-color: %s; color: %s; border-radius: %s; %s %s', - esc_attr($button_color), - esc_attr($button_text_color), - esc_attr($button_radius), - $button_padding_style, - $button_margin_style - ); + // Set up the main docs query + $args = array( + 'post_type' => 'docs', + 'post_status' => 'publish', + 'post_parent' => 0, + 'orderby' => $order_by, + 'order' => $order, + 'post__not_in' => array_map('intval', $exclude_docs) + ); - // Add dynamic styles for hover states - $hover_styles = sprintf( - '', - esc_attr($button_hover_color), - esc_attr($button_hover_text_color) - ); - - // Get current page for pagination - $current_page = (get_query_var('paged')) ? get_query_var('paged') : 1; - - // Set up the main docs query - $args = array( - 'post_type' => 'docs', - 'post_status' => 'publish', - 'post_parent' => 0, - 'orderby' => $order_by, - 'order' => $order, - 'post__not_in' => array_map('intval', $exclude_docs) - ); - - // Handle pagination - if ($docs_per_page !== 'all') { - $args['posts_per_page'] = intval($docs_per_page); - $args['paged'] = $current_page; - } else { - $args['posts_per_page'] = '-1'; - $args['paged'] = 1; - } - // Query docs with pagination - $docs_query = new WP_Query($args); - $docs = $docs_query->posts; - $total_pages = $docs_query->max_num_pages; - $toggle_script = << -SCRIPT; - // Start output buffering - ob_start(); + + SCRIPT; + // Start output buffering + ob_start(); - echo $toggle_script; - // Output hover styles - echo $hover_styles; - ?> -
-
- 'docs', - 'post_status' => 'publish', - 'post_parent' => $doc->ID, - 'orderby' => 'menu_order', - 'order' => 'ASC', - 'posts_per_page' => $sections_per_doc === 'all' ? -1 : intval($sections_per_doc) - ); + echo $toggle_script; + // Output hover styles + echo $hover_styles; + ?> +
+
+ 'docs', + 'post_status' => 'publish', + 'post_parent' => $doc->ID, + 'orderby' => 'menu_order', + 'order' => 'ASC', + 'posts_per_page' => $sections_per_doc === 'all' ? -1 : intval($sections_per_doc) + ); - $sections = get_posts($sections_query_args); - $total_articles = 0; - ?> + $sections = get_posts($sections_query_args); + $total_articles = 0; + ?> -
-

- - post_title); ?> - -

+
+

+ + post_title); ?> + +

- -
- 'docs', - 'post_status' => 'publish', - 'post_parent' => $section->ID, - 'orderby' => 'menu_order', - 'order' => 'ASC', - 'posts_per_page' => $articles_per_section === 'all' ? -1 : intval($articles_per_section) - ); + +
+ 'docs', + 'post_status' => 'publish', + 'post_parent' => $section->ID, + 'orderby' => 'menu_order', + 'order' => 'ASC', + 'posts_per_page' => $articles_per_section === 'all' ? -1 : intval($articles_per_section) + ); - $articles = get_posts($articles_query_args); - ?> -
-
-

- - - post_title); ?> - - + $articles = get_posts($articles_query_args); + ?> +
+
+

+ + + post_title); ?> + + + + + + + +

- - - + -

- - - +
-
- -
- - - - - - - - - -
- - - +
- -
- + + + + + + + + + +
+ + + +
+ +
+ +
-
- array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '70a68e02e13cb937dfd4'); diff --git a/assets/build/blocks/TableOfContents/index.css b/assets/build/blocks/TableOfContents/index.css new file mode 100644 index 00000000..35b8b4c1 --- /dev/null +++ b/assets/build/blocks/TableOfContents/index.css @@ -0,0 +1,22 @@ +/*!***************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/TableOfContents/editor.scss ***! + \***************************************************************************************************************************************************************************************************************************************************************/ +/** +* The following styles get applied inside the editor only. +*/ +.wp-block-wedocs-table-of-contents .toc-mobile-notice { + background-color: rgba(0, 115, 170, 0.1); + padding: 5px 10px; + border-radius: 3px; + border-left: 3px solid #0073aa; + color: #0073aa; + font-size: 12px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a { + cursor: default; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a:hover { + color: #0073aa; +} + +/*# sourceMappingURL=index.css.map*/ \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/index.css.map b/assets/build/blocks/TableOfContents/index.css.map new file mode 100644 index 00000000..af3c70e0 --- /dev/null +++ b/assets/build/blocks/TableOfContents/index.css.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/TableOfContents/index.css","mappings":";;;AACE;;CAAA;AAKD;EACC;EACA;EACA;EACA;EACA;EACA;AAFF;AAOG;EACC;AALJ;AAOI;EACC;AALL,C","sources":["webpack://weDocs/./src/blocks/TableOfContents/editor.scss"],"sourcesContent":["\n /**\n * The following styles get applied inside the editor only.\n */\n\n.wp-block-wedocs-table-of-contents {\n\t.toc-mobile-notice {\n\t\tbackground-color: rgba(0, 115, 170, 0.1);\n\t\tpadding: 5px 10px;\n\t\tborder-radius: 3px;\n\t\tborder-left: 3px solid #0073aa;\n\t\tcolor: #0073aa;\n\t\tfont-size: 12px;\n\t}\n\n\t.toc-content {\n\t\t.toc-list {\n\t\t\tli a {\n\t\t\t\tcursor: default;\n\n\t\t\t\t&:hover {\n\t\t\t\t\tcolor: #0073aa;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/index.js b/assets/build/blocks/TableOfContents/index.js new file mode 100644 index 00000000..f5f627f6 --- /dev/null +++ b/assets/build/blocks/TableOfContents/index.js @@ -0,0 +1,1211 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/blocks/TableOfContents/ColorsControls.js": +/*!******************************************************!*\ + !*** ./src/blocks/TableOfContents/ColorsControls.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); +/* eslint-disable @wordpress/no-unsafe-wp-apis */ + + + + +const ColorsControls = ({ + attributes, + setAttributes, + device +}) => { + const { + colorsControls + } = attributes; + const currentColors = colorsControls[device] || {}; + + // Fetch theme colors and gradients + const { + themeColors, + themeGradients + } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useSelect)(select => { + const editorSettings = select('core/block-editor').getSettings(); + return { + themeColors: editorSettings.colors, + themeGradients: editorSettings.gradients + }; + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { + className: "block-responsive-colors-controls", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.textColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'block-responsive') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "medium", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.textColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + textColor: color + } + } + }) + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.backgroundColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background', 'block-responsive') + })] + }) + }), + renderContent: () => { + var _currentColors$backgr; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TabPanel, { + tabs: [{ + name: 'color', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.backgroundColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + backgroundColor: color + } + } + }) + }) + }) + }, { + name: 'gradient', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Gradient', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.GradientPicker, { + value: (_currentColors$backgr = currentColors.backgroundColor) !== null && _currentColors$backgr !== void 0 ? _currentColors$backgr : null, + gradients: [{ + gradients: themeGradients, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: gradient => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + backgroundColor: gradient + } + } + }) + }) + }) + }], + children: ({ + content + }) => content + }) + }); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { + style: { + width: '100%' + }, + popoverProps: { + placement: 'left-start', + offset: 36, + shift: true + }, + renderToggle: ({ + isOpen, + onToggle + }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + onClick: onToggle, + "aria-expanded": isOpen, + style: { + width: '100%' + }, + className: isOpen && 'is-open', + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalHStack, { + alignment: "left", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalZStack, { + offset: -8, + isLayered: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.linkColor + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { + colorValue: currentColors.linkHoverColor + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalText, { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Link', 'block-responsive') + })] + }) + }), + renderContent: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.__experimentalDropdownContentWrapper, { + style: { + width: '260px' + }, + paddingSize: "none", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TabPanel, { + tabs: [{ + name: 'default', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Default', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.linkColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + linkColor: color + } + } + }) + }) + }) + }, { + name: 'hover-color', + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover', 'block-responsive'), + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { + className: "block-editor-block-responsive-dropdown-tab-content", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { + enableAlpha: true, + value: currentColors.linkHoverColor, + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Theme', 'block-responsive') + }], + onChange: color => setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + linkHoverColor: color + } + } + }) + }) + }) + }], + children: ({ + content + }) => content + }) + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, { + __next40pxDefaultSize: true, + variant: "secondary", + isDestructive: true, + text: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Reset All', 'block-responsive'), + style: { + width: '100%', + justifyContent: 'center', + marginTop: '16px' + }, + onClick: () => { + setAttributes({ + colorsControls: { + ...colorsControls, + [device]: { + ...currentColors, + textColor: undefined, + backgroundColor: undefined, + linkColor: undefined, + linkHoverColor: undefined + } + } + }); + } + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ColorsControls); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/Inspector.js": +/*!*************************************************!*\ + !*** ./src/blocks/TableOfContents/Inspector.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _controls_ListItems__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./controls/ListItems */ "./src/blocks/TableOfContents/controls/ListItems.js"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__); + + + + + +const Inspector = ({ + attributes, + setAttributes +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('General', 'dynamic-table-of-contents-block-wp'), + initialOpen: true, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Title', 'dynamic-table-of-contents-block-wp'), + value: tocTitle, + onChange: value => setAttributes({ + tocTitle: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + style: { + fontWeight: '600', + marginBottom: '8px', + display: 'block' + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Supported Heading Tags', 'dynamic-table-of-contents-block-wp') + }), ['h1', 'h2', 'h3', 'h4', 'h5'].map(heading => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.CheckboxControl, { + label: heading.toUpperCase(), + checked: supportedHeadings.includes(heading), + onChange: checked => { + const newHeadings = checked ? [...supportedHeadings, heading] : supportedHeadings.filter(h => h !== heading); + setAttributes({ + supportedHeadings: newHeadings + }); + } + }, heading))] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('List Hierarchy', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Indent subheadings to show hierarchy', 'dynamic-table-of-contents-block-wp'), + checked: showHierarchy, + onChange: value => setAttributes({ + showHierarchy: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('List Numbering', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Show numbered list instead of bullets', 'dynamic-table-of-contents-block-wp'), + checked: showNumbering, + onChange: value => setAttributes({ + showNumbering: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Collapsible on Small Devices', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Make TOC collapsible on mobile devices', 'dynamic-table-of-contents-block-wp'), + checked: collapsibleOnMobile, + onChange: value => setAttributes({ + collapsibleOnMobile: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Smooth Scroll Behavior', 'dynamic-table-of-contents-block-wp'), + checked: smoothScroll, + onChange: value => setAttributes({ + smoothScroll: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Sticky Mode', 'dynamic-table-of-contents-block-wp'), + help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Keep TOC fixed while scrolling', 'dynamic-table-of-contents-block-wp'), + checked: stickyMode, + onChange: value => setAttributes({ + stickyMode: value + }) + })] + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { + group: "styles", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_controls_ListItems__WEBPACK_IMPORTED_MODULE_3__["default"], { + attributes: attributes, + setAttributes: setAttributes + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Style', 'dynamic-table-of-contents-block-wp'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Container', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: containerBackgroundColor, + onChange: value => setAttributes({ + containerBackgroundColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Width', 'dynamic-table-of-contents-block-wp'), + value: containerWidth, + onChange: value => setAttributes({ + containerWidth: value + }), + units: [{ + value: '%', + label: '%' + }, { + value: 'px', + label: 'px' + }, { + value: 'em', + label: 'em' + }, { + value: 'rem', + label: 'rem' + }] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Padding', 'dynamic-table-of-contents-block-wp'), + values: containerPadding, + onChange: value => setAttributes({ + containerPadding: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Margin', 'dynamic-table-of-contents-block-wp'), + values: containerMargin, + onChange: value => setAttributes({ + containerMargin: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Style', 'dynamic-table-of-contents-block-wp'), + value: containerBorderStyle, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('None', 'dynamic-table-of-contents-block-wp'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Solid', 'dynamic-table-of-contents-block-wp'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dashed', 'dynamic-table-of-contents-block-wp'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Dotted', 'dynamic-table-of-contents-block-wp'), + value: 'dotted' + }], + onChange: value => setAttributes({ + containerBorderStyle: value + }) + }), containerBorderStyle !== 'none' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Width', 'dynamic-table-of-contents-block-wp'), + value: containerBorderWidth, + onChange: value => setAttributes({ + containerBorderWidth: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: containerBorderColor, + onChange: value => setAttributes({ + containerBorderColor: value + }) + })] + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Border Radius', 'dynamic-table-of-contents-block-wp'), + value: containerBorderRadius, + onChange: value => setAttributes({ + containerBorderRadius: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("hr", { + style: { + margin: '20px 0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Title', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: titleColor, + onChange: value => setAttributes({ + titleColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Size', 'dynamic-table-of-contents-block-wp'), + value: titleFontSize, + onChange: value => setAttributes({ + titleFontSize: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Weight', 'dynamic-table-of-contents-block-wp'), + value: titleFontWeight, + options: [{ + label: '300', + value: '300' + }, { + label: '400', + value: '400' + }, { + label: '500', + value: '500' + }, { + label: '600', + value: '600' + }, { + label: '700', + value: '700' + }, { + label: '800', + value: '800' + }], + onChange: value => setAttributes({ + titleFontWeight: value + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("hr", { + style: { + margin: '20px 0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC List', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: listColor, + onChange: value => setAttributes({ + listColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Hover Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ColorPicker, { + color: listHoverColor, + onChange: value => setAttributes({ + listHoverColor: value + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalUnitControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Font Size', 'dynamic-table-of-contents-block-wp'), + value: listFontSize, + onChange: value => setAttributes({ + listFontSize: value + }) + })] + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Inspector); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/block.json": +/*!***********************************************!*\ + !*** ./src/blocks/TableOfContents/block.json ***! + \***********************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/table-of-contents","version":"0.1.0","title":"Dynamic Table of Contents","category":"text","icon":"list-view","description":"Auto-generates a dynamic Table of Contents from selected heading levels with collapsible, numbered, and hierarchical list options.","example":{"attributes":{"tocTitle":"Table of Contents","supportedHeadings":["h2","h3"],"showHierarchy":true,"showNumbering":false}},"supports":{"html":false,"anchor":true,"color":{"background":true,"text":true,"link":true}},"attributes":{"blockId":{"type":"string","default":""},"colorsControls":{"type":"object","default":{"desktop":{"textColor":"#000000","backgroundColor":"#ffffff","linkColor":"#000000","linkHoverColor":"#000000"}}},"tocTitle":{"type":"string","default":"Table of Contents"},"supportedHeadings":{"type":"array","default":["h2","h3"]},"showHierarchy":{"type":"boolean","default":true},"showNumbering":{"type":"boolean","default":false},"collapsibleOnMobile":{"type":"boolean","default":true},"containerBackgroundColor":{"type":"string"},"containerWidth":{"type":"string","default":"100%"},"containerPadding":{"type":"object","default":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"containerMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"20px","left":"0px"}},"containerBorderStyle":{"type":"string","default":"solid"},"containerBorderWidth":{"type":"string","default":"1px"},"containerBorderColor":{"type":"string","default":"#e0e0e0"},"containerBorderRadius":{"type":"string","default":"5px"},"titleColor":{"type":"string"},"titleFontSize":{"type":"string","default":"18px"},"titleFontWeight":{"type":"string","default":"600"},"titlePadding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"15px","left":"0px"}},"listColor":{"type":"string"},"listHoverColor":{"type":"string"},"listFontSize":{"type":"string","default":"14px"},"smoothScroll":{"type":"boolean","default":true},"stickyMode":{"type":"boolean","default":false},"additionalCssClass":{"type":"string","default":""}},"textdomain":"wedocs","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","render":"file:./render.php"}'); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/controls/ListItems.js": +/*!**********************************************************!*\ + !*** ./src/blocks/TableOfContents/controls/ListItems.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); + + + +const ListItems = ({ + attributes, + setAttributes +}) => { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('List Items', 'dynamic-table-of-contents-block-wp'), + initialOpen: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h4", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('TOC Container', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div", { + style: { + marginBottom: '20px' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("label", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Background Color', 'dynamic-table-of-contents-block-wp') + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPicker, { + color: containerBackgroundColor, + onChange: value => setAttributes({ + containerBackgroundColor: value + }) + })] + })] + }); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItems); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/edit.js": +/*!********************************************!*\ + !*** ./src/blocks/TableOfContents/edit.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ Edit) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _ColorsControls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ColorsControls */ "./src/blocks/TableOfContents/ColorsControls.js"); +/* harmony import */ var _Inspector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Inspector */ "./src/blocks/TableOfContents/Inspector.js"); +/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./editor.scss */ "./src/blocks/TableOfContents/editor.scss"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__); +/** +* Retrieves the translation of text. +* +* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/ +*/ + + +/** + * React hook that is used to mark the block wrapper element. + * It provides all the necessary props like the class name. + * + * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops + */ + + +/** + * WordPress dependencies + */ + + + + + +/** + * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. + * Those files can contain any CSS code that gets applied to the editor. + * + * @see https://www.npmjs.com/package/@wordpress/scripts#using-css + */ + + +/** + * The edit function describes the structure of your block in the context of the + * editor. This represents what the editor will render when the block is used. + * + * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit + * + * @return {Element} Element to render. + */ + +function Edit({ + attributes, + setAttributes, + clientId +}) { + const { + blockId, + tocTitle, + supportedHeadings, + showHierarchy, + showNumbering, + collapsibleOnMobile, + containerBackgroundColor, + containerWidth, + containerPadding, + containerMargin, + containerBorderStyle, + containerBorderWidth, + containerBorderColor, + containerBorderRadius, + titleColor, + titleFontSize, + titleFontWeight, + titlePadding, + listColor, + listHoverColor, + listFontSize, + smoothScroll, + stickyMode, + additionalCssClass + } = attributes; + const [headings, setHeadings] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + + // Set unique block ID on first render + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (!blockId) { + setAttributes({ + blockId: `toc-${clientId}` + }); + } + }, [blockId, clientId, setAttributes]); + + // Mock headings for preview in editor + (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + const mockHeadings = [{ + level: 2, + text: 'Introduction', + id: 'introduction' + }, { + level: 3, + text: 'Getting Started', + id: 'getting-started' + }, { + level: 3, + text: 'Basic Features', + id: 'basic-features' + }, { + level: 2, + text: 'Advanced Usage', + id: 'advanced-usage' + }, { + level: 3, + text: 'Configuration', + id: 'configuration' + }, { + level: 4, + text: 'Settings Panel', + id: 'settings-panel' + }, { + level: 2, + text: 'Conclusion', + id: 'conclusion' + }].filter(heading => supportedHeadings.includes(`h${heading.level}`)); + setHeadings(mockHeadings); + }, [supportedHeadings]); + const renderTocList = (headings, showHierarchy, showNumbering) => { + if (headings.length === 0) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-empty-state", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("p", { + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('No headings found. Add some headings to your content to see them here.', 'dynamic-table-of-contents-block-wp') + }) + }); + } + let counter = 1; + const counters = { + 2: 0, + 3: 0, + 4: 0, + 5: 0 + }; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("ul", { + className: `toc-list ${showHierarchy ? 'hierarchical' : 'flat'} ${showNumbering ? 'numbered' : 'bulleted'}`, + children: headings.map((heading, index) => { + if (showNumbering) { + if (showHierarchy) { + counters[heading.level]++; + // Reset lower level counters + for (let i = heading.level + 1; i <= 5; i++) { + counters[i] = 0; + } + } else { + counters[heading.level] = counter++; + } + } + const indent = showHierarchy ? (heading.level - 2) * 20 : 0; + const numberText = showNumbering ? showHierarchy ? Object.entries(counters).slice(0, heading.level - 1).map(([level, count]) => count > 0 ? count : '').filter(n => n).join('.') : counters[heading.level] : ''; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("li", { + style: { + marginLeft: `${indent}px` + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("a", { + href: `#${heading.id}`, + className: "toc-link", + children: [showNumbering && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("span", { + className: "toc-number", + children: [numberText, ". "] + }), heading.text] + }) + }, index); + }) + }); + }; + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)({ + className: `${additionalCssClass} ${stickyMode ? 'sticky-mode' : ''}`.trim(), + 'data-block-id': blockId, + style: { + "--list-item-sytle": containerBackgroundColor, + // backgroundColor: containerBackgroundColor, + width: containerWidth, + padding: containerPadding ? `${containerPadding.top} ${containerPadding.right} ${containerPadding.bottom} ${containerPadding.left}` : undefined, + margin: containerMargin ? `${containerMargin.top} ${containerMargin.right} ${containerMargin.bottom} ${containerMargin.left}` : undefined, + borderStyle: containerBorderStyle !== 'none' ? containerBorderStyle : undefined, + borderWidth: containerBorderStyle !== 'none' ? containerBorderWidth : undefined, + borderColor: containerBorderStyle !== 'none' ? containerBorderColor : undefined, + borderRadius: containerBorderRadius + } + }); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_Inspector__WEBPACK_IMPORTED_MODULE_6__["default"], { + attributes: attributes, + setAttributes: setAttributes + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + ...blockProps, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-title", + style: { + color: titleColor, + fontSize: titleFontSize, + fontWeight: titleFontWeight, + padding: titlePadding ? `${titlePadding.top} ${titlePadding.right} ${titlePadding.bottom} ${titlePadding.left}` : undefined + }, + children: tocTitle + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-content", + style: { + color: listColor, + fontSize: listFontSize + }, + children: renderTocList(headings, showHierarchy, showNumbering) + }), collapsibleOnMobile && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + className: "toc-mobile-notice", + style: { + marginTop: '10px', + fontSize: '12px', + opacity: 0.7 + }, + children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('(Collapsible on mobile devices)', 'dynamic-table-of-contents-block-wp') + })] + })] + }); +} + +/***/ }), + +/***/ "./src/blocks/TableOfContents/editor.scss": +/*!************************************************!*\ + !*** ./src/blocks/TableOfContents/editor.scss ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/TableOfContents/index.js": +/*!*********************************************!*\ + !*** ./src/blocks/TableOfContents/index.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/TableOfContents/style.scss"); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/blocks/TableOfContents/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./block.json */ "./src/blocks/TableOfContents/block.json"); +/** +* Registers a new block provided a unique name and an object defining its behavior. +* +* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ +*/ + + +/** + * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. + * All files containing `style` keyword are bundled together. The code used + * gets applied both to the front of your site and to the editor. + * + * @see https://www.npmjs.com/package/@wordpress/scripts#using-css + */ + + +/** + * Internal dependencies + */ + + + +/** + * Every block starts by registering a new block type definition. + * + * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ + */ +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_3__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"] +}); + +/***/ }), + +/***/ "./src/blocks/TableOfContents/style.scss": +/*!***********************************************!*\ + !*** ./src/blocks/TableOfContents/style.scss ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "@wordpress/block-editor": +/*!*************************************!*\ + !*** external ["wp","blockEditor"] ***! + \*************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blockEditor"]; + +/***/ }), + +/***/ "@wordpress/blocks": +/*!********************************!*\ + !*** external ["wp","blocks"] ***! + \********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blocks"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/data": +/*!******************************!*\ + !*** external ["wp","data"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["data"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["i18n"]; + +/***/ }), + +/***/ "react/jsx-runtime": +/*!**********************************!*\ + !*** external "ReactJSXRuntime" ***! + \**********************************/ +/***/ ((module) => { + +module.exports = window["ReactJSXRuntime"]; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var [chunkIds, fn, priority] = deferred[i]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "blocks/TableOfContents/index": 0, +/******/ "blocks/TableOfContents/style-index": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = globalThis["webpackChunkweDocs"] = globalThis["webpackChunkweDocs"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module depends on other loaded chunks and execution need to be delayed +/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["blocks/TableOfContents/style-index"], () => (__webpack_require__("./src/blocks/TableOfContents/index.js"))) +/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ +/******/ })() +; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/index.js.map b/assets/build/blocks/TableOfContents/index.js.map new file mode 100644 index 00000000..b87bf9c9 --- /dev/null +++ b/assets/build/blocks/TableOfContents/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/TableOfContents/index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AACqC;AAYN;AACa;AAAA;AAE5C,MAAMsB,cAAc,GAAGA,CAAC;EAAEC,UAAU;EAAEC,aAAa;EAAEC;AAAO,CAAC,KAAK;EACjE,MAAM;IAAEC;EAAe,CAAC,GAAGH,UAAU;EACrC,MAAMI,aAAa,GAAGD,cAAc,CAACD,MAAM,CAAC,IAAI,CAAC,CAAC;;EAElD;EACA,MAAM;IAAEG,WAAW;IAAEC;EAAe,CAAC,GAAGd,0DAAS,CAAEe,MAAM,IAAK;IAC7D,MAAMC,cAAc,GAAGD,MAAM,CAAC,mBAAmB,CAAC,CAACE,WAAW,CAAC,CAAC;IAChE,OAAO;MACNJ,WAAW,EAAEG,cAAc,CAACE,MAAM;MAClCJ,cAAc,EAAEE,cAAc,CAACG;IAChC,CAAC;EACF,CAAC,CAAC;EAEF,oBACCf,uDAAA,CAAAE,uDAAA;IAAAc,QAAA,gBACChB,uDAAA;MAAKiB,SAAS,EAAC,kCAAkC;MAAAD,QAAA,gBAEhDlB,sDAAA,CAACb,2DAAQ;QACRiC,KAAK,EAAE;UAAEC,KAAK,EAAE;QAAO,CAAE;QACzBC,YAAY,EAAE;UACbC,SAAS,EAAE,YAAY;UACvBC,MAAM,EAAE,EAAE;UACVC,KAAK,EAAE;QACR,CAAE;QACFC,YAAY,EAAEA,CAAC;UAAEC,MAAM;UAAEC;QAAS,CAAC,kBAClC5B,sDAA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ACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://weDocs/./src/blocks/TableOfContents/ColorsControls.js","webpack://weDocs/./src/blocks/TableOfContents/Inspector.js","webpack://weDocs/./src/blocks/TableOfContents/controls/ListItems.js","webpack://weDocs/./src/blocks/TableOfContents/edit.js","webpack://weDocs/./src/blocks/TableOfContents/editor.scss","webpack://weDocs/./src/blocks/TableOfContents/index.js","webpack://weDocs/./src/blocks/TableOfContents/style.scss","webpack://weDocs/external window [\"wp\",\"blockEditor\"]","webpack://weDocs/external window [\"wp\",\"blocks\"]","webpack://weDocs/external window [\"wp\",\"components\"]","webpack://weDocs/external window [\"wp\",\"data\"]","webpack://weDocs/external window [\"wp\",\"element\"]","webpack://weDocs/external window [\"wp\",\"i18n\"]","webpack://weDocs/external window \"ReactJSXRuntime\"","webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/chunk loaded","webpack://weDocs/webpack/runtime/compat get default export","webpack://weDocs/webpack/runtime/define property getters","webpack://weDocs/webpack/runtime/hasOwnProperty shorthand","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/webpack/runtime/jsonp chunk loading","webpack://weDocs/webpack/before-startup","webpack://weDocs/webpack/startup","webpack://weDocs/webpack/after-startup"],"sourcesContent":["/* eslint-disable @wordpress/no-unsafe-wp-apis */\nimport { __ } from '@wordpress/i18n';\nimport {\n\tButton,\n\tColorIndicator,\n\tColorPalette,\n\tDropdown,\n\t__experimentalDropdownContentWrapper as DropdownContentWrapper,\n\tGradientPicker,\n\t__experimentalHStack as HStack,\n\tTabPanel,\n\t__experimentalText as Text,\n\t__experimentalZStack as ZStack,\n} from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\nconst ColorsControls = ({ attributes, setAttributes, device }) => {\n\tconst { colorsControls } = attributes;\n\tconst currentColors = colorsControls[device] || {};\n\n\t// Fetch theme colors and gradients\n\tconst { themeColors, themeGradients } = useSelect((select) => {\n\t\tconst editorSettings = select('core/block-editor').getSettings();\n\t\treturn {\n\t\t\tthemeColors: editorSettings.colors,\n\t\t\tthemeGradients: editorSettings.gradients,\n\t\t};\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t{/* Text Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{__('Color', 'block-responsive')}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\ttextColor: color,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\n\t\t\t\t{/* Background Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{__('Background', 'block-responsive')}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'gradient',\n\t\t\t\t\t\t\t\t\t\ttitle: __(\n\t\t\t\t\t\t\t\t\t\t\t'Gradient',\n\t\t\t\t\t\t\t\t\t\t\t'block-responsive'\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgradient,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ content }) => content}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\n\t\t\t\t{/* Link Color Control */}\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{__('Link', 'block-responsive')}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\trenderContent={() => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlinkColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'hover-color',\n\t\t\t\t\t\t\t\t\t\ttitle: __('Hover', 'block-responsive'),\n\t\t\t\t\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlinkHoverColor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ content }) => content}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t\n\n\t\t\t {\n\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\tcolorsControls: {\n\t\t\t\t\t\t\t...colorsControls,\n\t\t\t\t\t\t\t[device]: {\n\t\t\t\t\t\t\t\t...currentColors,\n\t\t\t\t\t\t\t\ttextColor: undefined,\n\t\t\t\t\t\t\t\tbackgroundColor: undefined,\n\t\t\t\t\t\t\t\tlinkColor: undefined,\n\t\t\t\t\t\t\t\tlinkHoverColor: undefined,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default ColorsControls;\n","import { __ } from '@wordpress/i18n';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport {\n PanelBody,\n TextControl,\n ToggleControl,\n SelectControl,\n CheckboxControl,\n ColorPicker,\n __experimentalBoxControl as BoxControl,\n __experimentalUnitControl as UnitControl,\n} from '@wordpress/components';\nimport ListItems from './controls/ListItems';\n\nconst Inspector = ({ attributes, setAttributes }) => {\n return (\n <>\n \n \n setAttributes({ tocTitle: value })}\n />\n\n
\n \n {['h1', 'h2', 'h3', 'h4', 'h5'].map(heading => (\n {\n const newHeadings = checked\n ? [...supportedHeadings, heading]\n : supportedHeadings.filter(h => h !== heading);\n setAttributes({ supportedHeadings: newHeadings });\n }}\n />\n ))}\n
\n\n setAttributes({ showHierarchy: value })}\n />\n\n setAttributes({ showNumbering: value })}\n />\n\n setAttributes({ collapsibleOnMobile: value })}\n />\n setAttributes({ smoothScroll: value })}\n />\n\n setAttributes({ stickyMode: value })}\n />\n
\n\n\n\n {/* \n\t\t\t\t\t setAttributes({ additionalCssClass: value })}\n\t\t\t\t\t\thelp={__('Space-separated CSS classes', 'dynamic-table-of-contents-block-wp')}\n\t\t\t\t\t/>\n\n\n\t\t\t\t */}\n
\n \n \n \n

{__('TOC Container', 'dynamic-table-of-contents-block-wp')}

\n\n
\n \n setAttributes({ containerBackgroundColor: value })}\n />\n
\n\n setAttributes({ containerWidth: value })}\n units={[\n { value: '%', label: '%' },\n { value: 'px', label: 'px' },\n { value: 'em', label: 'em' },\n { value: 'rem', label: 'rem' }\n ]}\n />\n\n setAttributes({ containerPadding: value })}\n />\n\n setAttributes({ containerMargin: value })}\n />\n\n setAttributes({ containerBorderStyle: value })}\n />\n\n {containerBorderStyle !== 'none' && (\n <>\n setAttributes({ containerBorderWidth: value })}\n />\n\n
\n \n setAttributes({ containerBorderColor: value })}\n />\n
\n \n )}\n\n setAttributes({ containerBorderRadius: value })}\n />\n\n
\n\n

{__('TOC Title', 'dynamic-table-of-contents-block-wp')}

\n\n
\n \n setAttributes({ titleColor: value })}\n />\n
\n\n setAttributes({ titleFontSize: value })}\n />\n\n setAttributes({ titleFontWeight: value })}\n />\n\n
\n\n

{__('TOC List', 'dynamic-table-of-contents-block-wp')}

\n\n
\n \n setAttributes({ listColor: value })}\n />\n
\n\n
\n \n setAttributes({ listHoverColor: value })}\n />\n
\n\n setAttributes({ listFontSize: value })}\n />\n
\n
\n \n );\n};\n\nexport default Inspector;\n","import { __ } from '@wordpress/i18n';\nimport {\n PanelBody,\n ColorPicker,\n} from '@wordpress/components';\n\nconst ListItems = ({ attributes, setAttributes }) => {\n return (\n \n

{__('TOC Container', 'dynamic-table-of-contents-block-wp')}

\n
\n \n setAttributes({ containerBackgroundColor: value })}\n />\n
\n {/* */}\n
\n );\n};\n\nexport default ListItems;\n","\n /**\n * Retrieves the translation of text.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * React hook that is used to mark the block wrapper element.\n * It provides all the necessary props like the class name.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops\n */\nimport { useBlockProps, InspectorControls } from '@wordpress/block-editor';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tPanelBody,\n\tTextControl,\n\tToggleControl,\n\tSelectControl,\n\tCheckboxControl,\n\tColorPicker,\n\tRangeControl,\n\t__experimentalBoxControl as BoxControl,\n\t__experimentalUnitControl as UnitControl\n} from '@wordpress/components';\nimport { useState, useEffect } from '@wordpress/element';\nimport { select } from '@wordpress/data';\nimport ColorsControls from './ColorsControls';\nimport Inspector from './Inspector';\n/**\n * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.\n * Those files can contain any CSS code that gets applied to the editor.\n *\n * @see https://www.npmjs.com/package/@wordpress/scripts#using-css\n */\nimport './editor.scss';\n\n/**\n * The edit function describes the structure of your block in the context of the\n * editor. This represents what the editor will render when the block is used.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit\n *\n * @return {Element} Element to render.\n */\nexport default function Edit({ attributes, setAttributes, clientId }) {\n\tconst {\n\t\tblockId,\n\t\ttocTitle,\n\t\tsupportedHeadings,\n\t\tshowHierarchy,\n\t\tshowNumbering,\n\t\tcollapsibleOnMobile,\n\t\tcontainerBackgroundColor,\n\t\tcontainerWidth,\n\t\tcontainerPadding,\n\t\tcontainerMargin,\n\t\tcontainerBorderStyle,\n\t\tcontainerBorderWidth,\n\t\tcontainerBorderColor,\n\t\tcontainerBorderRadius,\n\t\ttitleColor,\n\t\ttitleFontSize,\n\t\ttitleFontWeight,\n\t\ttitlePadding,\n\t\tlistColor,\n\t\tlistHoverColor,\n\t\tlistFontSize,\n\t\tsmoothScroll,\n\t\tstickyMode,\n\t\tadditionalCssClass\n\t} = attributes;\n\n\tconst [headings, setHeadings] = useState([]);\n\n\t// Set unique block ID on first render\n\tuseEffect(() => {\n\t\tif (!blockId) {\n\t\t\tsetAttributes({ blockId: `toc-${clientId}` });\n\t\t}\n\t}, [blockId, clientId, setAttributes]);\n\n\t// Mock headings for preview in editor\n\tuseEffect(() => {\n\t\tconst mockHeadings = [\n\t\t\t{ level: 2, text: 'Introduction', id: 'introduction' },\n\t\t\t{ level: 3, text: 'Getting Started', id: 'getting-started' },\n\t\t\t{ level: 3, text: 'Basic Features', id: 'basic-features' },\n\t\t\t{ level: 2, text: 'Advanced Usage', id: 'advanced-usage' },\n\t\t\t{ level: 3, text: 'Configuration', id: 'configuration' },\n\t\t\t{ level: 4, text: 'Settings Panel', id: 'settings-panel' },\n\t\t\t{ level: 2, text: 'Conclusion', id: 'conclusion' }\n\t\t].filter(heading => supportedHeadings.includes(`h${heading.level}`));\n\n\t\tsetHeadings(mockHeadings);\n\t}, [supportedHeadings]);\n\n\tconst renderTocList = (headings, showHierarchy, showNumbering) => {\n\t\tif (headings.length === 0) {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t

{__('No headings found. Add some headings to your content to see them here.', 'dynamic-table-of-contents-block-wp')}

\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\n\t\tlet counter = 1;\n\t\tconst counters = { 2: 0, 3: 0, 4: 0, 5: 0 };\n\n\t\treturn (\n\t\t\t
    \n\t\t\t\t{headings.map((heading, index) => {\n\t\t\t\t\tif (showNumbering) {\n\t\t\t\t\t\tif (showHierarchy) {\n\t\t\t\t\t\t\tcounters[heading.level]++;\n\t\t\t\t\t\t\t// Reset lower level counters\n\t\t\t\t\t\t\tfor (let i = heading.level + 1; i <= 5; i++) {\n\t\t\t\t\t\t\t\tcounters[i] = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcounters[heading.level] = counter++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst indent = showHierarchy ? (heading.level - 2) * 20 : 0;\n\t\t\t\t\tconst numberText = showNumbering ?\n\t\t\t\t\t\t(showHierarchy ?\n\t\t\t\t\t\t\tObject.entries(counters).slice(0, heading.level - 1).map(([level, count]) => count > 0 ? count : '').filter(n => n).join('.') :\n\t\t\t\t\t\t\tcounters[heading.level]\n\t\t\t\t\t\t) : '';\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{showNumbering && {numberText}. }\n\t\t\t\t\t\t\t\t{heading.text}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • \n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t
\n\t\t);\n\t};\n\n\tconst blockProps = useBlockProps({\n\t\tclassName: `${additionalCssClass} ${stickyMode ? 'sticky-mode' : ''}`.trim(),\n\t\t'data-block-id': blockId,\n\t\tstyle: {\n \"--list-item-sytle\": containerBackgroundColor,\n\t\t\t// backgroundColor: containerBackgroundColor,\n\t\t\twidth: containerWidth,\n\t\t\tpadding: containerPadding ? `${containerPadding.top} ${containerPadding.right} ${containerPadding.bottom} ${containerPadding.left}` : undefined,\n\t\t\tmargin: containerMargin ? `${containerMargin.top} ${containerMargin.right} ${containerMargin.bottom} ${containerMargin.left}` : undefined,\n\t\t\tborderStyle: containerBorderStyle !== 'none' ? containerBorderStyle : undefined,\n\t\t\tborderWidth: containerBorderStyle !== 'none' ? containerBorderWidth : undefined,\n\t\t\tborderColor: containerBorderStyle !== 'none' ? containerBorderColor : undefined,\n\t\t\tborderRadius: containerBorderRadius\n\t\t}\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{tocTitle}\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{renderTocList(headings, showHierarchy, showNumbering)}\n\t\t\t\t\n\t\t\t\t{collapsibleOnMobile && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{__('(Collapsible on mobile devices)', 'dynamic-table-of-contents-block-wp')}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\n\t\t\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","\n /**\n * Registers a new block provided a unique name and an object defining its behavior.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/\n */\nimport { registerBlockType } from '@wordpress/blocks';\n\n/**\n * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.\n * All files containing `style` keyword are bundled together. The code used\n * gets applied both to the front of your site and to the editor.\n *\n * @see https://www.npmjs.com/package/@wordpress/scripts#using-css\n */\nimport './style.scss';\n\n/**\n * Internal dependencies\n */\nimport Edit from './edit';\nimport metadata from './block.json';\n\n/**\n * Every block starts by registering a new block type definition.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/\n */\nregisterBlockType( metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n} );\n\t","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"ReactJSXRuntime\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"blocks/TableOfContents/index\": 0,\n\t\"blocks/TableOfContents/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkweDocs\"] = globalThis[\"webpackChunkweDocs\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"blocks/TableOfContents/style-index\"], () => (__webpack_require__(\"./src/blocks/TableOfContents/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","Button","ColorIndicator","ColorPalette","Dropdown","__experimentalDropdownContentWrapper","DropdownContentWrapper","GradientPicker","__experimentalHStack","HStack","TabPanel","__experimentalText","Text","__experimentalZStack","ZStack","useSelect","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","ColorsControls","attributes","setAttributes","device","colorsControls","currentColors","themeColors","themeGradients","select","editorSettings","getSettings","colors","gradients","children","className","style","width","popoverProps","placement","offset","shift","renderToggle","isOpen","onToggle","__next40pxDefaultSize","onClick","alignment","colorValue","textColor","renderContent","paddingSize","enableAlpha","value","name","onChange","color","backgroundColor","_currentColors$backgr","tabs","title","content","gradient","isLayered","linkColor","linkHoverColor","variant","isDestructive","text","justifyContent","marginTop","undefined","InspectorControls","PanelBody","TextControl","ToggleControl","SelectControl","CheckboxControl","ColorPicker","__experimentalBoxControl","BoxControl","__experimentalUnitControl","UnitControl","ListItems","Inspector","initialOpen","label","tocTitle","marginBottom","fontWeight","display","map","heading","toUpperCase","checked","supportedHeadings","includes","newHeadings","filter","h","help","showHierarchy","showNumbering","collapsibleOnMobile","smoothScroll","stickyMode","group","containerBackgroundColor","containerWidth","units","values","containerPadding","containerMargin","containerBorderStyle","options","containerBorderWidth","containerBorderColor","containerBorderRadius","margin","titleColor","titleFontSize","titleFontWeight","listColor","listHoverColor","listFontSize","useBlockProps","RangeControl","useState","useEffect","Edit","clientId","blockId","titlePadding","additionalCssClass","headings","setHeadings","mockHeadings","level","id","renderTocList","length","counter","counters","index","i","indent","numberText","Object","entries","slice","count","n","join","marginLeft","href","blockProps","trim","padding","top","right","bottom","left","borderStyle","borderWidth","borderColor","borderRadius","fontSize","opacity","registerBlockType","metadata","edit"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/render.php b/assets/build/blocks/TableOfContents/render.php new file mode 100644 index 00000000..7de8267d --- /dev/null +++ b/assets/build/blocks/TableOfContents/render.php @@ -0,0 +1,438 @@ +post_content ); + $styles = ''; + + foreach ( $blocks as $block ) { + if ( 'wedocs/table-of-contents' === $block['blockName'] ) { + $attributes = $block['attrs'] ?? array(); + $block_id = $attributes['blockId'] ?? ''; + + if ( ! empty( $block_id ) ) { + $styles .= wedocs_generate_toc_styles( $attributes, $block_id ); + } + } + } + + if ( ! empty( $styles ) ) { + echo ''; + } + } +add_action( 'wp_head', 'wedocs_dynamic_table_of_contents_inline_styles' ); +} +/** + * Generate CSS styles from block attributes + */ +if ( ! function_exists( 'wedocs_generate_toc_styles' ) ) { + function wedocs_generate_toc_styles( $attributes, $block_id ) { + $styles = ''; + $selector = '.wp-block-wedocs-table-of-contents[data-block-id="' . esc_attr( $block_id ) . '"]'; + + // Container styles + if ( isset( $attributes['containerBackgroundColor'] ) ) { + $styles .= $selector . ' { background-color: ' . esc_attr( $attributes['containerBackgroundColor'] ) . '; }'; + } + if ( isset( $attributes['containerWidth'] ) ) { + $styles .= $selector . ' { width: ' . esc_attr( $attributes['containerWidth'] ) . '; }'; + } + if ( isset( $attributes['containerPadding'] ) ) { + $padding = $attributes['containerPadding']; + $styles .= $selector . ' { padding: ' . esc_attr( $padding['top'] ?? '0' ) . ' ' . esc_attr( $padding['right'] ?? '0' ) . ' ' . esc_attr( $padding['bottom'] ?? '0' ) . ' ' . esc_attr( $padding['left'] ?? '0' ) . '; }'; + } + if ( isset( $attributes['containerMargin'] ) ) { + $margin = $attributes['containerMargin']; + $styles .= $selector . ' { margin: ' . esc_attr( $margin['top'] ?? '0' ) . ' ' . esc_attr( $margin['right'] ?? '0' ) . ' ' . esc_attr( $margin['bottom'] ?? '0' ) . ' ' . esc_attr( $margin['left'] ?? '0' ) . '; }'; + } + if ( isset( $attributes['containerBorderStyle'] ) && $attributes['containerBorderStyle'] !== 'none' ) { + $styles .= $selector . ' { border-style: ' . esc_attr( $attributes['containerBorderStyle'] ) . '; }'; + if ( isset( $attributes['containerBorderWidth'] ) ) { + $styles .= $selector . ' { border-width: ' . esc_attr( $attributes['containerBorderWidth'] ) . '; }'; + } + if ( isset( $attributes['containerBorderColor'] ) ) { + $styles .= $selector . ' { border-color: ' . esc_attr( $attributes['containerBorderColor'] ) . '; }'; + } + } + if ( isset( $attributes['containerBorderRadius'] ) ) { + $styles .= $selector . ' { border-radius: ' . esc_attr( $attributes['containerBorderRadius'] ) . '; }'; + } + + // Title styles + if ( isset( $attributes['titleColor'] ) ) { + $styles .= $selector . ' .toc-title { color: ' . esc_attr( $attributes['titleColor'] ) . '; }'; + } + if ( isset( $attributes['titleFontSize'] ) ) { + $styles .= $selector . ' .toc-title { font-size: ' . esc_attr( $attributes['titleFontSize'] ) . '; }'; + } + if ( isset( $attributes['titleFontWeight'] ) ) { + $styles .= $selector . ' .toc-title { font-weight: ' . esc_attr( $attributes['titleFontWeight'] ) . '; }'; + } + + // List styles + if ( isset( $attributes['listColor'] ) ) { + $styles .= $selector . ' .toc-list a { color: ' . esc_attr( $attributes['listColor'] ) . '; }'; + } + if ( isset( $attributes['listHoverColor'] ) ) { + $styles .= $selector . ' .toc-list a:hover { color: ' . esc_attr( $attributes['listHoverColor'] ) . '; }'; + } + if ( isset( $attributes['listFontSize'] ) ) { + $styles .= $selector . ' .toc-list { font-size: ' . esc_attr( $attributes['listFontSize'] ) . '; }'; + } + + return $styles; + } +} + + + +// Get block attributes with proper defaults +$block_id = isset($attributes['blockId']) ? sanitize_text_field($attributes['blockId']) : 'toc-' . uniqid(); +$toc_title = isset($attributes['tocTitle']) ? sanitize_text_field($attributes['tocTitle']) : 'Table of Contents'; +$supported_headings = isset($attributes['supportedHeadings']) && is_array($attributes['supportedHeadings']) ? $attributes['supportedHeadings'] : ['h2', 'h3']; +$show_hierarchy = isset($attributes['showHierarchy']) ? (bool) $attributes['showHierarchy'] : true; +$show_numbering = isset($attributes['showNumbering']) ? (bool) $attributes['showNumbering'] : false; +$collapsible_on_mobile = isset($attributes['collapsibleOnMobile']) ? (bool) $attributes['collapsibleOnMobile'] : true; +$smooth_scroll = isset($attributes['smoothScroll']) ? (bool) $attributes['smoothScroll'] : true; +$sticky_mode = isset($attributes['stickyMode']) ? (bool) $attributes['stickyMode'] : false; +$additional_css_class = isset($attributes['additionalCssClass']) ? sanitize_text_field($attributes['additionalCssClass']) : ''; + +// Build CSS classes +$css_classes = ['wp-block-wedocs-table-of-contents']; +if (!empty($additional_css_class)) { + $css_classes[] = esc_attr($additional_css_class); +} +if ($sticky_mode) { + $css_classes[] = 'sticky-mode'; +} +if ($collapsible_on_mobile) { + $css_classes[] = 'collapsible-mobile'; +} +if ($smooth_scroll) { + $css_classes[] = 'smooth-scroll'; +} + +// Get block wrapper attributes +$wrapper_attributes = get_block_wrapper_attributes([ + 'class' => implode(' ', $css_classes), + 'data-block-id' => esc_attr($block_id), + 'data-supported-headings' => esc_attr(wp_json_encode($supported_headings)), + 'data-show-hierarchy' => $show_hierarchy ? 'true' : 'false', + 'data-show-numbering' => $show_numbering ? 'true' : 'false', + 'data-smooth-scroll' => $smooth_scroll ? 'true' : 'false' +]); + +// Apply inline styles +$inline_styles = ''; +if (!empty($attributes['containerBackgroundColor'])) { + $inline_styles .= 'background-color: ' . esc_attr($attributes['containerBackgroundColor']) . ';'; +} +if (!empty($attributes['containerWidth'])) { + $inline_styles .= 'width: ' . esc_attr($attributes['containerWidth']) . ';'; +} + +// Generate TOC content server-side for better SEO +if ( ! function_exists( 'wedocs_generate_toc_content_safe' ) ) { + function wedocs_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering) { + try { + global $post; + + if (!$post || empty($post->post_content)) { + return '

' . esc_html__('No content available.', 'dynamic-table-of-contents-block-wp') . '

'; + } + + // Parse content for headings + $content = $post->post_content; + $headings = wedocs_extract_headings_from_content_safe($content, $supported_headings); + + if (empty($headings)) { + return '

' . esc_html__('No headings found. The table of contents will be generated automatically when you add headings to your content.', 'dynamic-table-of-contents-block-wp') . '

'; + } + + return wedocs_render_toc_list_safe($headings, $show_hierarchy, $show_numbering); + } catch (Exception $e) { + return '

' . esc_html__('Error generating table of contents.', 'dynamic-table-of-contents-block-wp') . '

'; + } + } +} + +if ( ! function_exists( 'wedocs_extract_headings_from_content_safe' ) ) { + function wedocs_extract_headings_from_content_safe($content, $supported_headings) { + $headings = []; + + if (empty($content) || !is_array($supported_headings)) { + return $headings; + } + + // Convert h-tags to lowercase for pattern matching + $supported_tags = array_map('strtolower', $supported_headings); + $pattern = '/<(' . implode('|', $supported_tags) . ')(?:[^>]*(?:\s+id=["\']([^"\'][^"\']*)["\'\'])?[^>]*)>(.*?)<\/\1>/i'; + + if (preg_match_all($pattern, $content, $matches, PREG_SET_ORDER)) { + $used_ids = []; + + foreach ($matches as $match) { + if (count($match) < 4) continue; + + $tag = strtolower($match[1]); + $level = (int) substr($tag, 1); + $existing_id = isset($match[2]) && !empty(trim($match[2])) ? trim($match[2]) : ''; + $text = wp_strip_all_tags($match[3]); + $text = trim($text); + + if (empty($text)) continue; + + $id = !empty($existing_id) ? $existing_id : sanitize_title($text); + + // Ensure unique IDs + $original_id = $id; + $counter = 1; + while (in_array($id, $used_ids)) { + $id = $original_id . '-' . $counter; + $counter++; + } + $used_ids[] = $id; + + $headings[] = [ + 'level' => $level, + 'text' => $text, + 'id' => $id + ]; + } + } + + return $headings; + } +} + +if ( ! function_exists( 'wedocs_render_toc_list_safe' ) ) { + function wedocs_render_toc_list_safe($headings, $show_hierarchy, $show_numbering) { + if (empty($headings) || !is_array($headings)) { + return ''; + } + + $css_classes = ['toc-list']; + $css_classes[] = $show_hierarchy ? 'hierarchical' : 'flat'; + $css_classes[] = $show_numbering ? 'numbered' : 'bulleted'; + + $html = '
    '; + + $counters = [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0]; + $global_counter = 1; + + foreach ($headings as $heading) { + if (!is_array($heading) || !isset($heading['level'], $heading['text'], $heading['id'])) { + continue; + } + + $level = (int) $heading['level']; + $text = sanitize_text_field($heading['text']); + $id = sanitize_text_field($heading['id']); + + if ($level < 1 || $level > 6 || empty($text) || empty($id)) { + continue; + } + + // Update counters + if ($show_numbering) { + if ($show_hierarchy) { + $counters[$level]++; + // Reset lower level counters + for ($i = $level + 1; $i <= 5; $i++) { + $counters[$i] = 0; + } + } else { + $counters[$level] = $global_counter++; + } + } + + // Calculate indent + $indent = $show_hierarchy ? max(0, ($level - 2) * 20) : 0; + + // Generate number text + $number_text = ''; + if ($show_numbering) { + if ($show_hierarchy) { + $numbers = []; + for ($i = 2; $i <= $level; $i++) { + if (isset($counters[$i]) && $counters[$i] > 0) { + $numbers[] = $counters[$i]; + } + } + $number_text = !empty($numbers) ? implode('.', $numbers) . '. ' : ''; + } else { + $number_text = (isset($counters[$level]) ? $counters[$level] : 0) . '. '; + } + } + + $html .= '
  • '; + $html .= ''; + if ($show_numbering && !empty($number_text)) { + $html .= '' . esc_html($number_text) . ''; + } + $html .= esc_html($text); + $html .= '
  • '; + } + + $html .= '
'; + + return $html; + } +} + +if ( ! function_exists( 'render_wedocs_table_of_contents_block' ) ) { + /** + * Modern WordPress block render callback + * This function is automatically called by WordPress when the block.json has "render": "file:./render.php" + */ + function render_wedocs_table_of_contents_block($attributes, $content, $block) { + // Extract attributes with defaults + $toc_title = $attributes['tocTitle'] ?? 'Table of Contents'; + $supported_headings = $attributes['supportedHeadings'] ?? ['h2', 'h3']; + $show_hierarchy = $attributes['showHierarchy'] ?? true; + $show_numbering = $attributes['showNumbering'] ?? false; + $collapsible_on_mobile = $attributes['collapsibleOnMobile'] ?? true; + $container_background_color = $attributes['containerBackgroundColor'] ?? ''; + $container_width = $attributes['containerWidth'] ?? '100%'; + $container_padding = $attributes['containerPadding'] ?? ['top' => '20px', 'right' => '20px', 'bottom' => '20px', 'left' => '20px']; + $container_margin = $attributes['containerMargin'] ?? ['top' => '0px', 'right' => '0px', 'bottom' => '20px', 'left' => '0px']; + $container_border_style = $attributes['containerBorderStyle'] ?? 'solid'; + $container_border_width = $attributes['containerBorderWidth'] ?? '1px'; + $container_border_color = $attributes['containerBorderColor'] ?? '#e0e0e0'; + $container_border_radius = $attributes['containerBorderRadius'] ?? '5px'; + $title_color = $attributes['titleColor'] ?? ''; + $title_font_size = $attributes['titleFontSize'] ?? '18px'; + $title_font_weight = $attributes['titleFontWeight'] ?? '600'; + $title_padding = $attributes['titlePadding'] ?? ['top' => '0px', 'right' => '0px', 'bottom' => '15px', 'left' => '0px']; + $list_color = $attributes['listColor'] ?? ''; + $list_hover_color = $attributes['listHoverColor'] ?? ''; + $list_font_size = $attributes['listFontSize'] ?? '14px'; + $smooth_scroll = $attributes['smoothScroll'] ?? true; + $sticky_mode = $attributes['stickyMode'] ?? false; + $additional_css_class = $attributes['additionalCssClass'] ?? ''; + + // Build wrapper attributes + $wrapper_attributes = 'class="wp-block-wedocs-table-of-contents'; + if ($collapsible_on_mobile) { + $wrapper_attributes .= ' toc-mobile-collapsible'; + } + if ($sticky_mode) { + $wrapper_attributes .= ' toc-sticky'; + } + if (!empty($additional_css_class)) { + $wrapper_attributes .= ' ' . esc_attr($additional_css_class); + } + $wrapper_attributes .= '"'; + + // Build inline styles + $inline_styles = ''; + if (!empty($container_background_color)) { + $inline_styles .= 'background-color: ' . esc_attr($container_background_color) . '; '; + } + $inline_styles .= 'width: ' . esc_attr($container_width) . '; '; + $inline_styles .= 'padding: ' . esc_attr($container_padding['top']) . ' ' . esc_attr($container_padding['right']) . ' ' . esc_attr($container_padding['bottom']) . ' ' . esc_attr($container_padding['left']) . '; '; + $inline_styles .= 'margin: ' . esc_attr($container_margin['top']) . ' ' . esc_attr($container_margin['right']) . ' ' . esc_attr($container_margin['bottom']) . ' ' . esc_attr($container_margin['left']) . '; '; + $inline_styles .= 'border: ' . esc_attr($container_border_width) . ' ' . esc_attr($container_border_style) . ' ' . esc_attr($container_border_color) . '; '; + $inline_styles .= 'border-radius: ' . esc_attr($container_border_radius) . '; '; + + $toc_content = wedocs_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering); + + ob_start(); + ?> +
> +
+ +
+
+ +
+
+ '20px', 'right' => '20px', 'bottom' => '20px', 'left' => '20px']; + $container_margin = $attributes['containerMargin'] ?? ['top' => '0px', 'right' => '0px', 'bottom' => '20px', 'left' => '0px']; + $container_border_style = $attributes['containerBorderStyle'] ?? 'solid'; + $container_border_width = $attributes['containerBorderWidth'] ?? '1px'; + $container_border_color = $attributes['containerBorderColor'] ?? '#e0e0e0'; + $container_border_radius = $attributes['containerBorderRadius'] ?? '5px'; + $title_color = $attributes['titleColor'] ?? ''; + $title_font_size = $attributes['titleFontSize'] ?? '18px'; + $title_font_weight = $attributes['titleFontWeight'] ?? '600'; + $title_padding = $attributes['titlePadding'] ?? ['top' => '0px', 'right' => '0px', 'bottom' => '15px', 'left' => '0px']; + $list_color = $attributes['listColor'] ?? ''; + $list_hover_color = $attributes['listHoverColor'] ?? ''; + $list_font_size = $attributes['listFontSize'] ?? '14px'; + $smooth_scroll = $attributes['smoothScroll'] ?? true; + $sticky_mode = $attributes['stickyMode'] ?? false; + $additional_css_class = $attributes['additionalCssClass'] ?? ''; + + // Build wrapper attributes + $wrapper_attributes = 'class="wp-block-wedocs-table-of-contents'; + if ($collapsible_on_mobile) { + $wrapper_attributes .= ' toc-mobile-collapsible'; + } + if ($sticky_mode) { + $wrapper_attributes .= ' toc-sticky'; + } + if (!empty($additional_css_class)) { + $wrapper_attributes .= ' ' . esc_attr($additional_css_class); + } + $wrapper_attributes .= '"'; + + // Build inline styles + $inline_styles = ''; + if (!empty($container_background_color)) { + $inline_styles .= 'background-color: ' . esc_attr($container_background_color) . '; '; + } + $inline_styles .= 'width: ' . esc_attr($container_width) . '; '; + $inline_styles .= 'padding: ' . esc_attr($container_padding['top']) . ' ' . esc_attr($container_padding['right']) . ' ' . esc_attr($container_padding['bottom']) . ' ' . esc_attr($container_padding['left']) . '; '; + $inline_styles .= 'margin: ' . esc_attr($container_margin['top']) . ' ' . esc_attr($container_margin['right']) . ' ' . esc_attr($container_margin['bottom']) . ' ' . esc_attr($container_margin['left']) . '; '; + $inline_styles .= 'border: ' . esc_attr($container_border_width) . ' ' . esc_attr($container_border_style) . ' ' . esc_attr($container_border_color) . '; '; + $inline_styles .= 'border-radius: ' . esc_attr($container_border_radius) . '; '; + + $toc_content = wedocs_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering); + + ?> +
> +
+ +
+
+ +
+
diff --git a/assets/build/blocks/TableOfContents/style-index-rtl.css b/assets/build/blocks/TableOfContents/style-index-rtl.css new file mode 100644 index 00000000..228d6c40 --- /dev/null +++ b/assets/build/blocks/TableOfContents/style-index-rtl.css @@ -0,0 +1,122 @@ +/*!**************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/TableOfContents/style.scss ***! + \**************************************************************************************************************************************************************************************************************************************************************/ +@charset "UTF-8"; +/** +* The following styles get applied both on the front of your site +* and in the editor. +*/ +.wp-block-wedocs-table-of-contents { + background-color: #f9f9f9; + border: 1px solid #e0e0e0; + border-radius: 5px; + padding: 20px; + margin-bottom: 20px; + max-width: 100%; +} +.wp-block-wedocs-table-of-contents .toc-title { + font-size: 18px; + font-weight: 600; + margin: 0 0 15px 0; + padding: 0; + color: inherit; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list { + margin: 0; + padding: 0; + list-style: none; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.numbered { + counter-reset: toc-counter; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.numbered li { + counter-increment: toc-counter; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.bulleted li { + position: relative; + padding-right: 20px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.bulleted li:before { + content: "•"; + position: absolute; + right: 0; + color: inherit; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li { + margin: 8px 0; + line-height: 1.5; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a { + text-decoration: none; + color: var(--list-item-sytle, inherit); + display: inline-block; + transition: color 0.2s ease; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a:hover { + text-decoration: underline; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a.active { + font-weight: 600; + border-right: 3px solid #0073aa; + padding-right: 10px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li .toc-number { + font-weight: 600; + margin-left: 5px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-empty-state { + color: #666; + font-style: italic; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-empty-state p { + margin: 0; +} +.wp-block-wedocs-table-of-contents.sticky-mode { + position: sticky; + top: 20px; + z-index: 10; + max-height: 80vh; + overflow-y: auto; +} +.wp-block-wedocs-table-of-contents.sticky-mode .toc-content { + max-height: calc(80vh - 100px); + overflow-y: auto; +} +@media (max-width: 768px) { + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-title { + cursor: pointer; + position: relative; + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-title:after { + content: "▼"; + float: left; + transition: transform 0.2s ease; + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-title.collapsed:after { + transform: rotate(90deg); + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-content { + max-height: 1000px; + overflow: hidden; + transition: max-height 0.3s ease; + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-content.collapsed { + max-height: 0; + } +} + +html.smooth-scroll { + scroll-behavior: smooth; +} + +.toc-loading .toc-content { + opacity: 0.5; +} +.toc-loading .toc-content:after { + content: "Loading headings..."; + display: block; + text-align: center; + margin-top: 20px; + font-style: italic; + color: #666; +} diff --git a/assets/build/blocks/TableOfContents/style-index.css b/assets/build/blocks/TableOfContents/style-index.css new file mode 100644 index 00000000..1800a9a6 --- /dev/null +++ b/assets/build/blocks/TableOfContents/style-index.css @@ -0,0 +1,124 @@ +/*!**************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/TableOfContents/style.scss ***! + \**************************************************************************************************************************************************************************************************************************************************************/ +@charset "UTF-8"; +/** +* The following styles get applied both on the front of your site +* and in the editor. +*/ +.wp-block-wedocs-table-of-contents { + background-color: #f9f9f9; + border: 1px solid #e0e0e0; + border-radius: 5px; + padding: 20px; + margin-bottom: 20px; + max-width: 100%; +} +.wp-block-wedocs-table-of-contents .toc-title { + font-size: 18px; + font-weight: 600; + margin: 0 0 15px 0; + padding: 0; + color: inherit; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list { + margin: 0; + padding: 0; + list-style: none; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.numbered { + counter-reset: toc-counter; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.numbered li { + counter-increment: toc-counter; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.bulleted li { + position: relative; + padding-left: 20px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list.bulleted li:before { + content: "•"; + position: absolute; + left: 0; + color: inherit; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li { + margin: 8px 0; + line-height: 1.5; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a { + text-decoration: none; + color: var(--list-item-sytle, inherit); + display: inline-block; + transition: color 0.2s ease; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a:hover { + text-decoration: underline; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li a.active { + font-weight: 600; + border-left: 3px solid #0073aa; + padding-left: 10px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-list li .toc-number { + font-weight: 600; + margin-right: 5px; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-empty-state { + color: #666; + font-style: italic; +} +.wp-block-wedocs-table-of-contents .toc-content .toc-empty-state p { + margin: 0; +} +.wp-block-wedocs-table-of-contents.sticky-mode { + position: sticky; + top: 20px; + z-index: 10; + max-height: 80vh; + overflow-y: auto; +} +.wp-block-wedocs-table-of-contents.sticky-mode .toc-content { + max-height: calc(80vh - 100px); + overflow-y: auto; +} +@media (max-width: 768px) { + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-title { + cursor: pointer; + position: relative; + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-title:after { + content: "▼"; + float: right; + transition: transform 0.2s ease; + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-title.collapsed:after { + transform: rotate(-90deg); + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-content { + max-height: 1000px; + overflow: hidden; + transition: max-height 0.3s ease; + } + .wp-block-wedocs-table-of-contents.collapsible-mobile .toc-content.collapsed { + max-height: 0; + } +} + +html.smooth-scroll { + scroll-behavior: smooth; +} + +.toc-loading .toc-content { + opacity: 0.5; +} +.toc-loading .toc-content:after { + content: "Loading headings..."; + display: block; + text-align: center; + margin-top: 20px; + font-style: italic; + color: #666; +} + +/*# sourceMappingURL=style-index.css.map*/ \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/style-index.css.map b/assets/build/blocks/TableOfContents/style-index.css.map new file mode 100644 index 00000000..f131365d --- /dev/null +++ b/assets/build/blocks/TableOfContents/style-index.css.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/TableOfContents/style-index.css","mappings":";;;AAAA,gBAAgB;AACd;;;CAAA;AAKF;EACC;EACA;EACA;EACA;EACA;EACA;AAAD;AAEC;EACC;EACA;EACA;EACA;EACA;AAAF;AAIE;EACC;EACA;EACA;AAFH;AAIG;EACC;AAFJ;AAII;EACC;AAFL;AAMG;EACC;EACA;AAJJ;AAMI;EACC;EACA;EACA;EACA;AAJL;AAQG;EACC;EACA;AANJ;AAQI;EACC;EACA;EACA;EACA;AANL;AAQK;EACC;AANN;AASK;EACC;EACA;EACA;AAPN;AAWI;EACC;EACA;AATL;AAcE;EACC;EACA;AAZH;AAcG;EACC;AAZJ;AAkBC;EACC;EACA;EACA;EACA;EACA;AAhBF;AAkBE;EACC;EACA;AAhBH;AAqBC;EAEE;IACC;IACA;EApBF;EAsBE;IACC;IACA;IACA;EApBH;EAuBE;IACC;EArBH;EAyBC;IACC;IACA;IACA;EAvBF;EAyBE;IACC;EAvBH;AACF;;AA8BA;EACC;AA3BD;;AAgCC;EACC;AA7BF;AA+BE;EACC;EACA;EACA;EACA;EACA;EACA;AA7BH,C","sources":["webpack://weDocs/./src/blocks/TableOfContents/style.scss"],"sourcesContent":["\n /**\n * The following styles get applied both on the front of your site\n * and in the editor.\n */\n\n.wp-block-wedocs-table-of-contents {\n\tbackground-color: #f9f9f9;\n\tborder: 1px solid #e0e0e0;\n\tborder-radius: 5px;\n\tpadding: 20px;\n\tmargin-bottom: 20px;\n\tmax-width: 100%;\n\n\t.toc-title {\n\t\tfont-size: 18px;\n\t\tfont-weight: 600;\n\t\tmargin: 0 0 15px 0;\n\t\tpadding: 0;\n\t\tcolor: inherit;\n\t}\n\n\t.toc-content {\n\t\t.toc-list {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tlist-style: none;\n\n\t\t\t&.numbered {\n\t\t\t\tcounter-reset: toc-counter;\n\n\t\t\t\tli {\n\t\t\t\t\tcounter-increment: toc-counter;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.bulleted li {\n\t\t\t\tposition: relative;\n\t\t\t\tpadding-left: 20px;\n\n\t\t\t\t&:before {\n\t\t\t\t\tcontent: \"•\";\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tleft: 0;\n\t\t\t\t\tcolor: inherit;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tli {\n\t\t\t\tmargin: 8px 0;\n\t\t\t\tline-height: 1.5;\n\n\t\t\t\ta {\n\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\tcolor: var(--list-item-sytle, inherit);\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\ttransition: color 0.2s ease;\n\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\ttext-decoration: underline;\n\t\t\t\t\t}\n\n\t\t\t\t\t&.active {\n\t\t\t\t\t\tfont-weight: 600;\n\t\t\t\t\t\tborder-left: 3px solid #0073aa;\n\t\t\t\t\t\tpadding-left: 10px;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t.toc-number {\n\t\t\t\t\tfont-weight: 600;\n\t\t\t\t\tmargin-right: 5px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.toc-empty-state {\n\t\t\tcolor: #666;\n\t\t\tfont-style: italic;\n\n\t\t\tp {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Sticky mode\n\t&.sticky-mode {\n\t\tposition: sticky;\n\t\ttop: 20px;\n\t\tz-index: 10;\n\t\tmax-height: 80vh;\n\t\toverflow-y: auto;\n\n\t\t.toc-content {\n\t\t\tmax-height: calc(80vh - 100px);\n\t\t\toverflow-y: auto;\n\t\t}\n\t}\n\n\t// Mobile collapsible\n\t@media (max-width: 768px) {\n\t\t&.collapsible-mobile {\n\t\t\t.toc-title {\n\t\t\t\tcursor: pointer;\n\t\t\t\tposition: relative;\n\n\t\t\t\t&:after {\n\t\t\t\t\tcontent: \"▼\";\n\t\t\t\t\tfloat: right;\n\t\t\t\t\ttransition: transform 0.2s ease;\n\t\t\t\t}\n\n\t\t\t\t&.collapsed:after {\n\t\t\t\t\ttransform: rotate(-90deg);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.toc-content {\n\t\t\t\tmax-height: 1000px;\n\t\t\t\toverflow: hidden;\n\t\t\t\ttransition: max-height 0.3s ease;\n\n\t\t\t\t&.collapsed {\n\t\t\t\t\tmax-height: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n// Smooth scroll\nhtml.smooth-scroll {\n\tscroll-behavior: smooth;\n}\n\n// Loading state\n.toc-loading {\n\t.toc-content {\n\t\topacity: 0.5;\n\n\t\t&:after {\n\t\t\tcontent: \"Loading headings...\";\n\t\t\tdisplay: block;\n\t\t\ttext-align: center;\n\t\t\tmargin-top: 20px;\n\t\t\tfont-style: italic;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/view.asset.php b/assets/build/blocks/TableOfContents/view.asset.php new file mode 100644 index 00000000..03acb89c --- /dev/null +++ b/assets/build/blocks/TableOfContents/view.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'a359527a4c30d41692c3'); diff --git a/assets/build/blocks/TableOfContents/view.js b/assets/build/blocks/TableOfContents/view.js new file mode 100644 index 00000000..493b07d1 --- /dev/null +++ b/assets/build/blocks/TableOfContents/view.js @@ -0,0 +1,266 @@ +/******/ (() => { // webpackBootstrap +/*!********************************************!*\ + !*** ./src/blocks/TableOfContents/view.js ***! + \********************************************/ +/** +* Frontend JavaScript for Dynamic Table of Contents block +*/ + +document.addEventListener('DOMContentLoaded', function () { + const tocBlocks = document.querySelectorAll('.wp-block-wedocs-table-of-contents'); + tocBlocks.forEach(function (tocBlock) { + const tocContent = tocBlock.querySelector('.toc-content'); + const tocList = tocBlock.querySelector('.toc-list'); + const tocTitle = tocBlock.querySelector('.toc-title'); + + // Get block attributes from data attributes or classes + const smoothScroll = tocBlock.classList.contains('smooth-scroll') || tocBlock.dataset.smoothScroll === 'true'; + const collapsibleOnMobile = tocBlock.classList.contains('collapsible-mobile') || window.innerWidth <= 768; + + // Enable smooth scrolling if requested + if (smoothScroll) { + document.documentElement.classList.add('smooth-scroll'); + } + + // Generate TOC from page headings + generateTOC(tocBlock); + + // Setup mobile collapsible behavior + if (collapsibleOnMobile && window.innerWidth <= 768) { + setupMobileCollapsible(tocBlock); + } + + // Setup scroll spy for active highlighting + setupScrollSpy(tocBlock); + + // Setup smooth scrolling for TOC links + setupSmoothScrolling(tocBlock, smoothScroll); + }); + + /** + * Generate TOC from page headings + */ + function generateTOC(tocBlock) { + const supportedHeadings = getSupportedHeadings(tocBlock); + const showHierarchy = tocBlock.dataset.showHierarchy !== 'false'; + const showNumbering = tocBlock.dataset.showNumbering === 'true'; + + // Find all headings in the page content + const contentArea = document.querySelector('.entry-content, .post-content, main, .content') || document.body; + const headingSelector = supportedHeadings.map(h => h.toLowerCase()).join(', '); + const headings = contentArea.querySelectorAll(headingSelector); + if (headings.length === 0) { + const tocContent = tocBlock.querySelector('.toc-content'); + tocContent.innerHTML = '

No headings found in the content.

'; + return; + } + + // Generate TOC HTML + const tocHTML = generateTOCHTML(headings, supportedHeadings, showHierarchy, showNumbering); + const tocContent = tocBlock.querySelector('.toc-content'); + tocContent.innerHTML = tocHTML; + + // Add IDs to headings if they don't have them + headings.forEach(function (heading, index) { + if (!heading.id) { + heading.id = 'toc-heading-' + index; + } + }); + } + + /** + * Get supported heading levels from block attributes + */ + function getSupportedHeadings(tocBlock) { + const supportedAttr = tocBlock.dataset.supportedHeadings; + if (supportedAttr) { + try { + return JSON.parse(supportedAttr); + } catch (e) { + console.warn('Invalid supportedHeadings data:', supportedAttr); + } + } + return ['H2', 'H3']; // Default + } + + /** + * Generate TOC HTML from headings + */ + function generateTOCHTML(headings, supportedHeadings, showHierarchy, showNumbering) { + let html = '
    '; + const counters = { + 1: 0, + 2: 0, + 3: 0, + 4: 0, + 5: 0 + }; + let globalCounter = 1; + headings.forEach(function (heading) { + const level = parseInt(heading.tagName.charAt(1)); + const text = heading.textContent.trim(); + const id = heading.id || 'toc-heading-' + Array.from(headings).indexOf(heading); + + // Update counters + if (showNumbering) { + if (showHierarchy) { + counters[level]++; + // Reset lower level counters + for (let i = level + 1; i <= 5; i++) { + counters[i] = 0; + } + } else { + counters[level] = globalCounter++; + } + } + + // Calculate indent for hierarchy + const indent = showHierarchy ? (level - 2) * 20 : 0; + + // Generate number text + let numberText = ''; + if (showNumbering) { + if (showHierarchy) { + const numbers = []; + for (let i = 2; i <= level; i++) { + if (counters[i] > 0) { + numbers.push(counters[i]); + } + } + numberText = numbers.join('.') + '. '; + } else { + numberText = counters[level] + '. '; + } + } + html += '
  • '; + html += ''; + if (showNumbering) { + html += '' + numberText + ''; + } + html += text; + html += '
  • '; + }); + html += '
'; + return html; + } + + /** + * Setup mobile collapsible behavior + */ + function setupMobileCollapsible(tocBlock) { + tocBlock.classList.add('collapsible-mobile'); + const title = tocBlock.querySelector('.toc-title'); + const content = tocBlock.querySelector('.toc-content'); + if (title && content) { + title.addEventListener('click', function () { + title.classList.toggle('collapsed'); + content.classList.toggle('collapsed'); + }); + } + } + + /** + * Setup scroll spy for active highlighting + */ + function setupScrollSpy(tocBlock) { + const links = tocBlock.querySelectorAll('.toc-link'); + const headings = Array.from(links).map(function (link) { + const id = link.getAttribute('href').substring(1); + return document.getElementById(id); + }).filter(Boolean); + if (headings.length === 0) return; + function updateActiveLink() { + const scrollPos = window.scrollY + 100; // Offset for better UX + let activeHeading = null; + + // Find the active heading + headings.forEach(function (heading) { + if (heading.offsetTop <= scrollPos) { + activeHeading = heading; + } + }); + + // Update active states + links.forEach(function (link) { + link.classList.remove('active'); + if (activeHeading && link.getAttribute('href') === '#' + activeHeading.id) { + link.classList.add('active'); + } + }); + } + + // Throttle scroll events + let ticking = false; + window.addEventListener('scroll', function () { + if (!ticking) { + requestAnimationFrame(function () { + updateActiveLink(); + ticking = false; + }); + ticking = true; + } + }); + + // Initial update + updateActiveLink(); + } + + /** + * Setup smooth scrolling for TOC links + */ + function setupSmoothScrolling(tocBlock, smoothScroll) { + const links = tocBlock.querySelectorAll('.toc-link'); + links.forEach(function (link) { + link.addEventListener('click', function (e) { + e.preventDefault(); + const targetId = link.getAttribute('href').substring(1); + const targetElement = document.getElementById(targetId); + if (targetElement) { + const offsetTop = targetElement.offsetTop - 80; // Account for sticky headers + + if (smoothScroll && 'scrollBehavior' in document.documentElement.style) { + window.scrollTo({ + top: offsetTop, + behavior: 'smooth' + }); + } else { + // Fallback smooth scroll + animateScrollTo(offsetTop, 600); + } + } + }); + }); + } + + /** + * Fallback smooth scroll animation + */ + function animateScrollTo(to, duration) { + const start = window.scrollY; + const change = to - start; + const startTime = performance.now(); + function animateScroll(currentTime) { + const elapsed = currentTime - startTime; + const progress = Math.min(elapsed / duration, 1); + const ease = easeInOutQuad(progress); + window.scrollTo(0, start + change * ease); + if (progress < 1) { + requestAnimationFrame(animateScroll); + } + } + requestAnimationFrame(animateScroll); + } + + /** + * Easing function for smooth animation + */ + function easeInOutQuad(t) { + return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t; + } +}); +/******/ })() +; +//# sourceMappingURL=view.js.map \ No newline at end of file diff --git a/assets/build/blocks/TableOfContents/view.js.map b/assets/build/blocks/TableOfContents/view.js.map new file mode 100644 index 00000000..76c70ce9 --- /dev/null +++ b/assets/build/blocks/TableOfContents/view.js.map @@ -0,0 +1 @@ +{"version":3,"file":"blocks/TableOfContents/view.js","mappings":";;;;AACE;AACF;AACA;;AAEAA,QAAQ,CAACC,gBAAgB,CAAC,kBAAkB,EAAE,YAAW;EACxD,MAAMC,SAAS,GAAGF,QAAQ,CAACG,gBAAgB,CAAC,oCAAoC,CAAC;EAEjFD,SAAS,CAACE,OAAO,CAAC,UAASC,QAAQ,EAAE;IACpC,MAAMC,UAAU,GAAGD,QAAQ,CAACE,aAAa,CAAC,cAAc,CAAC;IACzD,MAAMC,OAAO,GAAGH,QAAQ,CAACE,aAAa,CAAC,WAAW,CAAC;IACnD,MAAME,QAAQ,GAAGJ,QAAQ,CAACE,aAAa,CAAC,YAAY,CAAC;;IAErD;IACA,MAAMG,YAAY,GAAGL,QAAQ,CAACM,SAAS,CAACC,QAAQ,CAAC,eAAe,CAAC,IAAIP,QAAQ,CAACQ,OAAO,CAACH,YAAY,KAAK,MAAM;IAC7G,MAAMI,mBAAmB,GAAGT,QAAQ,CAACM,SAAS,CAACC,QAAQ,CAAC,oBAAoB,CAAC,IAAIG,MAAM,CAACC,UAAU,IAAI,GAAG;;IAEzG;IACA,IAAIN,YAAY,EAAE;MACjBV,QAAQ,CAACiB,eAAe,CAACN,SAAS,CAACO,GAAG,CAAC,eAAe,CAAC;IACxD;;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,CAAC,CAAC,GAAG,CAAC,GAAGA,CAAC,IAAIA,CAAC;EAClD;AACD,CAAC,CAAC,C","sources":["webpack://weDocs/./src/blocks/TableOfContents/view.js"],"sourcesContent":["\n /**\n * Frontend JavaScript for Dynamic Table of Contents block\n */\n\ndocument.addEventListener('DOMContentLoaded', function() {\n\tconst tocBlocks = document.querySelectorAll('.wp-block-wedocs-table-of-contents');\n\n\ttocBlocks.forEach(function(tocBlock) {\n\t\tconst tocContent = tocBlock.querySelector('.toc-content');\n\t\tconst tocList = tocBlock.querySelector('.toc-list');\n\t\tconst tocTitle = tocBlock.querySelector('.toc-title');\n\n\t\t// Get block attributes from data attributes or classes\n\t\tconst smoothScroll = tocBlock.classList.contains('smooth-scroll') || tocBlock.dataset.smoothScroll === 'true';\n\t\tconst collapsibleOnMobile = tocBlock.classList.contains('collapsible-mobile') || window.innerWidth <= 768;\n\n\t\t// Enable smooth scrolling if requested\n\t\tif (smoothScroll) {\n\t\t\tdocument.documentElement.classList.add('smooth-scroll');\n\t\t}\n\n\t\t// Generate TOC from page headings\n\t\tgenerateTOC(tocBlock);\n\n\t\t// Setup mobile collapsible behavior\n\t\tif (collapsibleOnMobile && window.innerWidth <= 768) {\n\t\t\tsetupMobileCollapsible(tocBlock);\n\t\t}\n\n\t\t// Setup scroll spy for active highlighting\n\t\tsetupScrollSpy(tocBlock);\n\n\t\t// Setup smooth scrolling for TOC links\n\t\tsetupSmoothScrolling(tocBlock, smoothScroll);\n\t});\n\n\t/**\n\t * Generate TOC from page headings\n\t */\n\tfunction generateTOC(tocBlock) {\n\t\tconst supportedHeadings = getSupportedHeadings(tocBlock);\n\t\tconst showHierarchy = tocBlock.dataset.showHierarchy !== 'false';\n\t\tconst showNumbering = tocBlock.dataset.showNumbering === 'true';\n\n\t\t// Find all headings in the page content\n\t\tconst contentArea = document.querySelector('.entry-content, .post-content, main, .content') || document.body;\n\t\tconst headingSelector = supportedHeadings.map(h => h.toLowerCase()).join(', ');\n\t\tconst headings = contentArea.querySelectorAll(headingSelector);\n\n\t\tif (headings.length === 0) {\n\t\t\tconst tocContent = tocBlock.querySelector('.toc-content');\n\t\t\ttocContent.innerHTML = '

No headings found in the content.

';\n\t\t\treturn;\n\t\t}\n\n\t\t// Generate TOC HTML\n\t\tconst tocHTML = generateTOCHTML(headings, supportedHeadings, showHierarchy, showNumbering);\n\t\tconst tocContent = tocBlock.querySelector('.toc-content');\n\t\ttocContent.innerHTML = tocHTML;\n\n\t\t// Add IDs to headings if they don't have them\n\t\theadings.forEach(function(heading, index) {\n\t\t\tif (!heading.id) {\n\t\t\t\theading.id = 'toc-heading-' + index;\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Get supported heading levels from block attributes\n\t */\n\tfunction getSupportedHeadings(tocBlock) {\n\t\tconst supportedAttr = tocBlock.dataset.supportedHeadings;\n\t\tif (supportedAttr) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(supportedAttr);\n\t\t\t} catch (e) {\n\t\t\t\tconsole.warn('Invalid supportedHeadings data:', supportedAttr);\n\t\t\t}\n\t\t}\n\t\treturn ['H2', 'H3']; // Default\n\t}\n\n\t/**\n\t * Generate TOC HTML from headings\n\t */\n\tfunction generateTOCHTML(headings, supportedHeadings, showHierarchy, showNumbering) {\n\t\tlet html = '';\n\t\treturn html;\n\t}\n\n\t/**\n\t * Setup mobile collapsible behavior\n\t */\n\tfunction setupMobileCollapsible(tocBlock) {\n\t\ttocBlock.classList.add('collapsible-mobile');\n\t\tconst title = tocBlock.querySelector('.toc-title');\n\t\tconst content = tocBlock.querySelector('.toc-content');\n\n\t\tif (title && content) {\n\t\t\ttitle.addEventListener('click', function() {\n\t\t\t\ttitle.classList.toggle('collapsed');\n\t\t\t\tcontent.classList.toggle('collapsed');\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * Setup scroll spy for active highlighting\n\t */\n\tfunction setupScrollSpy(tocBlock) {\n\t\tconst links = tocBlock.querySelectorAll('.toc-link');\n\t\tconst headings = Array.from(links).map(function(link) {\n\t\t\tconst id = link.getAttribute('href').substring(1);\n\t\t\treturn document.getElementById(id);\n\t\t}).filter(Boolean);\n\n\t\tif (headings.length === 0) return;\n\n\t\tfunction updateActiveLink() {\n\t\t\tconst scrollPos = window.scrollY + 100; // Offset for better UX\n\t\t\tlet activeHeading = null;\n\n\t\t\t// Find the active heading\n\t\t\theadings.forEach(function(heading) {\n\t\t\t\tif (heading.offsetTop <= scrollPos) {\n\t\t\t\t\tactiveHeading = heading;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Update active states\n\t\t\tlinks.forEach(function(link) {\n\t\t\t\tlink.classList.remove('active');\n\t\t\t\tif (activeHeading && link.getAttribute('href') === '#' + activeHeading.id) {\n\t\t\t\t\tlink.classList.add('active');\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t// Throttle scroll events\n\t\tlet ticking = false;\n\t\twindow.addEventListener('scroll', function() {\n\t\t\tif (!ticking) {\n\t\t\t\trequestAnimationFrame(function() {\n\t\t\t\t\tupdateActiveLink();\n\t\t\t\t\tticking = false;\n\t\t\t\t});\n\t\t\t\tticking = true;\n\t\t\t}\n\t\t});\n\n\t\t// Initial update\n\t\tupdateActiveLink();\n\t}\n\n\t/**\n\t * Setup smooth scrolling for TOC links\n\t */\n\tfunction setupSmoothScrolling(tocBlock, smoothScroll) {\n\t\tconst links = tocBlock.querySelectorAll('.toc-link');\n\n\t\tlinks.forEach(function(link) {\n\t\t\tlink.addEventListener('click', function(e) {\n\t\t\t\te.preventDefault();\n\t\t\t\tconst targetId = link.getAttribute('href').substring(1);\n\t\t\t\tconst targetElement = document.getElementById(targetId);\n\n\t\t\t\tif (targetElement) {\n\t\t\t\t\tconst offsetTop = targetElement.offsetTop - 80; // Account for sticky headers\n\n\t\t\t\t\tif (smoothScroll && 'scrollBehavior' in document.documentElement.style) {\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t\ttop: offsetTop,\n\t\t\t\t\t\t\tbehavior: 'smooth'\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Fallback smooth scroll\n\t\t\t\t\t\tanimateScrollTo(offsetTop, 600);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Fallback smooth scroll animation\n\t */\n\tfunction animateScrollTo(to, duration) {\n\t\tconst start = window.scrollY;\n\t\tconst change = to - start;\n\t\tconst startTime = performance.now();\n\n\t\tfunction animateScroll(currentTime) {\n\t\t\tconst elapsed = currentTime - startTime;\n\t\t\tconst progress = Math.min(elapsed / duration, 1);\n\t\t\tconst ease = easeInOutQuad(progress);\n\n\t\t\twindow.scrollTo(0, start + change * ease);\n\n\t\t\tif (progress < 1) {\n\t\t\t\trequestAnimationFrame(animateScroll);\n\t\t\t}\n\t\t}\n\n\t\trequestAnimationFrame(animateScroll);\n\t}\n\n\t/**\n\t * Easing function for smooth animation\n\t */\n\tfunction easeInOutQuad(t) {\n\t\treturn t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;\n\t}\n});\n"],"names":["document","addEventListener","tocBlocks","querySelectorAll","forEach","tocBlock","tocContent","querySelector","tocList","tocTitle","smoothScroll","classList","contains","dataset","collapsibleOnMobile","window","innerWidth","documentElement","add","generateTOC","setupMobileCollapsible","setupScrollSpy","setupSmoothScrolling","supportedHeadings","getSupportedHeadings","showHierarchy","showNumbering","contentArea","body","headingSelector","map","h","toLowerCase","join","headings","length","innerHTML","tocHTML","generateTOCHTML","heading","index","id","supportedAttr","JSON","parse","e","console","warn","html","counters","globalCounter","level","parseInt","tagName","charAt","text","textContent","trim","Array","from","indexOf","i","indent","numberText","numbers","push","title","content","toggle","links","link","getAttribute","substring","getElementById","filter","Boolean","updateActiveLink","scrollPos","scrollY","activeHeading","offsetTop","remove","ticking","requestAnimationFrame","preventDefault","targetId","targetElement","style","scrollTo","top","behavior","animateScrollTo","to","duration","start","change","startTime","performance","now","animateScroll","currentTime","elapsed","progress","Math","min","ease","easeInOutQuad","t"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/build/block.json b/assets/build/blocks/dynamic-table-of-contents/build/block.json new file mode 100644 index 00000000..01980140 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/build/block.json @@ -0,0 +1,143 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "telex/block-dynamic-table-of-contents", + "version": "0.1.0", + "title": "Dynamic Table of Contents", + "category": "text", + "icon": "list-view", + "description": "Auto-generates a dynamic Table of Contents from selected heading levels with collapsible, numbered, and hierarchical list options.", + "example": { + "attributes": { + "tocTitle": "Table of Contents", + "supportedHeadings": [ + "h2", + "h3" + ], + "showHierarchy": true, + "showNumbering": false + } + }, + "supports": { + "html": false, + "anchor": true + }, + "attributes": { + "blockId": { + "type": "string", + "default": "" + }, + "tocTitle": { + "type": "string", + "default": "Table of Contents" + }, + "supportedHeadings": { + "type": "array", + "default": [ + "h2", + "h3" + ] + }, + "showHierarchy": { + "type": "boolean", + "default": true + }, + "showNumbering": { + "type": "boolean", + "default": false + }, + "collapsibleOnMobile": { + "type": "boolean", + "default": true + }, + "containerBackgroundColor": { + "type": "string" + }, + "containerWidth": { + "type": "string", + "default": "100%" + }, + "containerPadding": { + "type": "object", + "default": { + "top": "20px", + "right": "20px", + "bottom": "20px", + "left": "20px" + } + }, + "containerMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "20px", + "left": "0px" + } + }, + "containerBorderStyle": { + "type": "string", + "default": "solid" + }, + "containerBorderWidth": { + "type": "string", + "default": "1px" + }, + "containerBorderColor": { + "type": "string", + "default": "#e0e0e0" + }, + "containerBorderRadius": { + "type": "string", + "default": "5px" + }, + "titleColor": { + "type": "string" + }, + "titleFontSize": { + "type": "string", + "default": "18px" + }, + "titleFontWeight": { + "type": "string", + "default": "600" + }, + "titlePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "15px", + "left": "0px" + } + }, + "listColor": { + "type": "string" + }, + "listHoverColor": { + "type": "string" + }, + "listFontSize": { + "type": "string", + "default": "14px" + }, + "smoothScroll": { + "type": "boolean", + "default": true + }, + "stickyMode": { + "type": "boolean", + "default": false + }, + "additionalCssClass": { + "type": "string", + "default": "" + } + }, + "textdomain": "dynamic-table-of-contents-block-wp", + "editorScript": "file:./index.js", + "editorStyle": "file:./index.css", + "style": "file:./style-index.css", + "viewScript": "file:./view.js", + "render": "file:./render.php" +} \ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/build/index.asset.php b/assets/build/blocks/dynamic-table-of-contents/build/index.asset.php new file mode 100644 index 00000000..8fc3eb3a --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/build/index.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'a32dc4cc199ecda134e5'); diff --git a/assets/build/blocks/dynamic-table-of-contents/build/index.js b/assets/build/blocks/dynamic-table-of-contents/build/index.js new file mode 100644 index 00000000..30ad7c15 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/build/index.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,o={792:()=>{const e=window.wp.blocks,o=window.wp.i18n,l=window.wp.blockEditor,t=window.wp.components,n=window.wp.element,a=(window.wp.data,window.ReactJSXRuntime),i=JSON.parse('{"UU":"telex/block-dynamic-table-of-contents"}');(0,e.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:i,clientId:c}){const{blockId:s,tocTitle:r,supportedHeadings:d,showHierarchy:b,showNumbering:h,collapsibleOnMobile:p,containerBackgroundColor:m,containerWidth:_,containerPadding:g,containerMargin:x,containerBorderStyle:u,containerBorderWidth:f,containerBorderColor:C,containerBorderRadius:v,titleColor:y,titleFontSize:k,titleFontWeight:w,titlePadding:j,listColor:S,listHoverColor:B,listFontSize:O,smoothScroll:T,stickyMode:$,additionalCssClass:P}=e,[N,F]=(0,n.useState)([]);(0,n.useEffect)(()=>{s||i({blockId:`toc-${c}`})},[s,c,i]),(0,n.useEffect)(()=>{const e=[{level:2,text:"Introduction",id:"introduction"},{level:3,text:"Getting Started",id:"getting-started"},{level:3,text:"Basic Features",id:"basic-features"},{level:2,text:"Advanced Usage",id:"advanced-usage"},{level:3,text:"Configuration",id:"configuration"},{level:4,text:"Settings Panel",id:"settings-panel"},{level:2,text:"Conclusion",id:"conclusion"}].filter(e=>d.includes(`h${e.level}`));F(e)},[d]);const W=(0,l.useBlockProps)({className:`${P} ${$?"sticky-mode":""}`.trim(),"data-block-id":s,style:{backgroundColor:m,width:_,padding:g?`${g.top} ${g.right} ${g.bottom} ${g.left}`:void 0,margin:x?`${x.top} ${x.right} ${x.bottom} ${x.left}`:void 0,borderStyle:"none"!==u?u:void 0,borderWidth:"none"!==u?f:void 0,borderColor:"none"!==u?C:void 0,borderRadius:v}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l.InspectorControls,{children:[(0,a.jsxs)(t.PanelBody,{title:(0,o.__)("General","dynamic-table-of-contents-block-wp"),initialOpen:!0,children:[(0,a.jsx)(t.TextControl,{label:(0,o.__)("TOC Title","dynamic-table-of-contents-block-wp"),value:r,onChange:e=>i({tocTitle:e})}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{style:{fontWeight:"600",marginBottom:"8px",display:"block"},children:(0,o.__)("Supported Heading Tags","dynamic-table-of-contents-block-wp")}),["h1","h2","h3","h4","h5"].map(e=>(0,a.jsx)(t.CheckboxControl,{label:e.toUpperCase(),checked:d.includes(e),onChange:o=>{const l=o?[...d,e]:d.filter(o=>o!==e);i({supportedHeadings:l})}},e))]}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("List Hierarchy","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Indent subheadings to show hierarchy","dynamic-table-of-contents-block-wp"),checked:b,onChange:e=>i({showHierarchy:e})}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("List Numbering","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Show numbered list instead of bullets","dynamic-table-of-contents-block-wp"),checked:h,onChange:e=>i({showNumbering:e})}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("Collapsible on Small Devices","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Make TOC collapsible on mobile devices","dynamic-table-of-contents-block-wp"),checked:p,onChange:e=>i({collapsibleOnMobile:e})})]}),(0,a.jsxs)(t.PanelBody,{title:(0,o.__)("Style","dynamic-table-of-contents-block-wp"),initialOpen:!1,children:[(0,a.jsx)("h4",{children:(0,o.__)("TOC Container","dynamic-table-of-contents-block-wp")}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Background Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:m,onChange:e=>i({containerBackgroundColor:e})})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Width","dynamic-table-of-contents-block-wp"),value:_,onChange:e=>i({containerWidth:e}),units:[{value:"%",label:"%"},{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,a.jsx)(t.__experimentalBoxControl,{label:(0,o.__)("Padding","dynamic-table-of-contents-block-wp"),values:g,onChange:e=>i({containerPadding:e})}),(0,a.jsx)(t.__experimentalBoxControl,{label:(0,o.__)("Margin","dynamic-table-of-contents-block-wp"),values:x,onChange:e=>i({containerMargin:e})}),(0,a.jsx)(t.SelectControl,{label:(0,o.__)("Border Style","dynamic-table-of-contents-block-wp"),value:u,options:[{label:(0,o.__)("None","dynamic-table-of-contents-block-wp"),value:"none"},{label:(0,o.__)("Solid","dynamic-table-of-contents-block-wp"),value:"solid"},{label:(0,o.__)("Dashed","dynamic-table-of-contents-block-wp"),value:"dashed"},{label:(0,o.__)("Dotted","dynamic-table-of-contents-block-wp"),value:"dotted"}],onChange:e=>i({containerBorderStyle:e})}),"none"!==u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Border Width","dynamic-table-of-contents-block-wp"),value:f,onChange:e=>i({containerBorderWidth:e})}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Border Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:C,onChange:e=>i({containerBorderColor:e})})]})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Border Radius","dynamic-table-of-contents-block-wp"),value:v,onChange:e=>i({containerBorderRadius:e})}),(0,a.jsx)("hr",{style:{margin:"20px 0"}}),(0,a.jsx)("h4",{children:(0,o.__)("TOC Title","dynamic-table-of-contents-block-wp")}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:y,onChange:e=>i({titleColor:e})})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Font Size","dynamic-table-of-contents-block-wp"),value:k,onChange:e=>i({titleFontSize:e})}),(0,a.jsx)(t.SelectControl,{label:(0,o.__)("Font Weight","dynamic-table-of-contents-block-wp"),value:w,options:[{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"}],onChange:e=>i({titleFontWeight:e})}),(0,a.jsx)("hr",{style:{margin:"20px 0"}}),(0,a.jsx)("h4",{children:(0,o.__)("TOC List","dynamic-table-of-contents-block-wp")}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:S,onChange:e=>i({listColor:e})})]}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Hover Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:B,onChange:e=>i({listHoverColor:e})})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Font Size","dynamic-table-of-contents-block-wp"),value:O,onChange:e=>i({listFontSize:e})})]}),(0,a.jsxs)(t.PanelBody,{title:(0,o.__)("Advanced","dynamic-table-of-contents-block-wp"),initialOpen:!1,children:[(0,a.jsx)(t.TextControl,{label:(0,o.__)("Additional CSS class(es)","dynamic-table-of-contents-block-wp"),value:P,onChange:e=>i({additionalCssClass:e}),help:(0,o.__)("Space-separated CSS classes","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("Smooth Scroll Behavior","dynamic-table-of-contents-block-wp"),checked:T,onChange:e=>i({smoothScroll:e})}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("Sticky Mode","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Keep TOC fixed while scrolling","dynamic-table-of-contents-block-wp"),checked:$,onChange:e=>i({stickyMode:e})})]})]}),(0,a.jsxs)("div",{...W,children:[(0,a.jsx)("div",{className:"toc-title",style:{color:y,fontSize:k,fontWeight:w,padding:j?`${j.top} ${j.right} ${j.bottom} ${j.left}`:void 0},children:r}),(0,a.jsx)("div",{className:"toc-content",style:{color:S,fontSize:O},children:((e,l,t)=>{if(0===e.length)return(0,a.jsx)("div",{className:"toc-empty-state",children:(0,a.jsx)("p",{children:(0,o.__)("No headings found. Add some headings to your content to see them here.","dynamic-table-of-contents-block-wp")})});let n=1;const i={2:0,3:0,4:0,5:0};return(0,a.jsx)("ul",{className:`toc-list ${l?"hierarchical":"flat"} ${t?"numbered":"bulleted"}`,children:e.map((e,o)=>{if(t)if(l){i[e.level]++;for(let o=e.level+1;o<=5;o++)i[o]=0}else i[e.level]=n++;const c=l?20*(e.level-2):0,s=t?l?Object.entries(i).slice(0,e.level-1).map(([e,o])=>o>0?o:"").filter(e=>e).join("."):i[e.level]:"";return(0,a.jsx)("li",{style:{marginLeft:`${c}px`},children:(0,a.jsxs)("a",{href:`#${e.id}`,className:"toc-link",children:[t&&(0,a.jsxs)("span",{className:"toc-number",children:[s,". "]}),e.text]})},o)})})})(N,b,h)}),p&&(0,a.jsx)("div",{className:"toc-mobile-notice",style:{marginTop:"10px",fontSize:"12px",opacity:.7},children:(0,o.__)("(Collapsible on mobile devices)","dynamic-table-of-contents-block-wp")})]})]})}})}},l={};function t(e){var n=l[e];if(void 0!==n)return n.exports;var a=l[e]={exports:{}};return o[e](a,a.exports,t),a.exports}t.m=o,e=[],t.O=(o,l,n,a)=>{if(!l){var i=1/0;for(d=0;d=a)&&Object.keys(t.O).every(e=>t.O[e](l[s]))?l.splice(s--,1):(c=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[l,n,a]},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={57:0,350:0};t.O.j=o=>0===e[o];var o=(o,l)=>{var n,a,[i,c,s]=l,r=0;if(i.some(o=>0!==e[o])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);if(s)var d=s(t)}for(o&&o(l);rt(792));n=t.O(n)})(); \ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/build/render.php b/assets/build/blocks/dynamic-table-of-contents/build/render.php new file mode 100644 index 00000000..ee3f76b6 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/build/render.php @@ -0,0 +1,215 @@ + implode(' ', $css_classes), + 'data-block-id' => esc_attr($block_id), + 'data-supported-headings' => esc_attr(wp_json_encode($supported_headings)), + 'data-show-hierarchy' => $show_hierarchy ? 'true' : 'false', + 'data-show-numbering' => $show_numbering ? 'true' : 'false', + 'data-smooth-scroll' => $smooth_scroll ? 'true' : 'false' +]); + +// Apply inline styles +$inline_styles = ''; +if (!empty($attributes['containerBackgroundColor'])) { + $inline_styles .= 'background-color: ' . esc_attr($attributes['containerBackgroundColor']) . ';'; +} +if (!empty($attributes['containerWidth'])) { + $inline_styles .= 'width: ' . esc_attr($attributes['containerWidth']) . ';'; +} + +// Generate TOC content server-side for better SEO +if ( ! function_exists( 'telex_generate_toc_content_safe' ) ) { + function telex_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering) { + try { + global $post; + + if (!$post || empty($post->post_content)) { + return '

' . esc_html__('No content available.', 'dynamic-table-of-contents-block-wp') . '

'; + } + + // Parse content for headings + $content = $post->post_content; + $headings = telex_extract_headings_from_content_safe($content, $supported_headings); + + if (empty($headings)) { + return '

' . esc_html__('No headings found. The table of contents will be generated automatically when you add headings to your content.', 'dynamic-table-of-contents-block-wp') . '

'; + } + + return telex_render_toc_list_safe($headings, $show_hierarchy, $show_numbering); + } catch (Exception $e) { + return '

' . esc_html__('Error generating table of contents.', 'dynamic-table-of-contents-block-wp') . '

'; + } + } +} + +if ( ! function_exists( 'telex_extract_headings_from_content_safe' ) ) { + function telex_extract_headings_from_content_safe($content, $supported_headings) { + $headings = []; + + if (empty($content) || !is_array($supported_headings)) { + return $headings; + } + + // Convert h-tags to lowercase for pattern matching + $supported_tags = array_map('strtolower', $supported_headings); + $pattern = '/<(' . implode('|', $supported_tags) . ')(?:[^>]*(?:\s+id=["\']([^"\'][^"\']*)["\'\'])?[^>]*)>(.*?)<\/\1>/i'; + + if (preg_match_all($pattern, $content, $matches, PREG_SET_ORDER)) { + $used_ids = []; + + foreach ($matches as $match) { + if (count($match) < 4) continue; + + $tag = strtolower($match[1]); + $level = (int) substr($tag, 1); + $existing_id = isset($match[2]) && !empty(trim($match[2])) ? trim($match[2]) : ''; + $text = wp_strip_all_tags($match[3]); + $text = trim($text); + + if (empty($text)) continue; + + $id = !empty($existing_id) ? $existing_id : sanitize_title($text); + + // Ensure unique IDs + $original_id = $id; + $counter = 1; + while (in_array($id, $used_ids)) { + $id = $original_id . '-' . $counter; + $counter++; + } + $used_ids[] = $id; + + $headings[] = [ + 'level' => $level, + 'text' => $text, + 'id' => $id + ]; + } + } + + return $headings; + } +} + +if ( ! function_exists( 'telex_render_toc_list_safe' ) ) { + function telex_render_toc_list_safe($headings, $show_hierarchy, $show_numbering) { + if (empty($headings) || !is_array($headings)) { + return ''; + } + + $css_classes = ['toc-list']; + $css_classes[] = $show_hierarchy ? 'hierarchical' : 'flat'; + $css_classes[] = $show_numbering ? 'numbered' : 'bulleted'; + + $html = '
    '; + + $counters = [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0]; + $global_counter = 1; + + foreach ($headings as $heading) { + if (!is_array($heading) || !isset($heading['level'], $heading['text'], $heading['id'])) { + continue; + } + + $level = (int) $heading['level']; + $text = sanitize_text_field($heading['text']); + $id = sanitize_text_field($heading['id']); + + if ($level < 1 || $level > 6 || empty($text) || empty($id)) { + continue; + } + + // Update counters + if ($show_numbering) { + if ($show_hierarchy) { + $counters[$level]++; + // Reset lower level counters + for ($i = $level + 1; $i <= 5; $i++) { + $counters[$i] = 0; + } + } else { + $counters[$level] = $global_counter++; + } + } + + // Calculate indent + $indent = $show_hierarchy ? max(0, ($level - 2) * 20) : 0; + + // Generate number text + $number_text = ''; + if ($show_numbering) { + if ($show_hierarchy) { + $numbers = []; + for ($i = 2; $i <= $level; $i++) { + if (isset($counters[$i]) && $counters[$i] > 0) { + $numbers[] = $counters[$i]; + } + } + $number_text = !empty($numbers) ? implode('.', $numbers) . '. ' : ''; + } else { + $number_text = (isset($counters[$level]) ? $counters[$level] : 0) . '. '; + } + } + + $html .= '
  • '; + $html .= ''; + if ($show_numbering && !empty($number_text)) { + $html .= '' . esc_html($number_text) . ''; + } + $html .= esc_html($text); + $html .= '
  • '; + } + + $html .= '
'; + + return $html; + } +} + +$toc_content = telex_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering); +?> + +
> +
+ +
+
+ +
+
\ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/build/view.asset.php b/assets/build/blocks/dynamic-table-of-contents/build/view.asset.php new file mode 100644 index 00000000..443c3674 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/build/view.asset.php @@ -0,0 +1 @@ + array(), 'version' => '36026af43ca736cce535'); diff --git a/assets/build/blocks/dynamic-table-of-contents/build/view.js b/assets/build/blocks/dynamic-table-of-contents/build/view.js new file mode 100644 index 00000000..0c5cab11 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/build/view.js @@ -0,0 +1 @@ +document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wp-block-telex-block-dynamic-table-of-contents").forEach(function(t){t.querySelector(".toc-content"),t.querySelector(".toc-list"),t.querySelector(".toc-title");const e=t.classList.contains("smooth-scroll")||"true"===t.dataset.smoothScroll,n=t.classList.contains("collapsible-mobile")||window.innerWidth<=768;e&&document.documentElement.classList.add("smooth-scroll"),function(t){const e=function(t){const e=t.dataset.supportedHeadings;if(e)try{return JSON.parse(e)}catch(t){console.warn("Invalid supportedHeadings data:",e)}return["H2","H3"]}(t),n="false"!==t.dataset.showHierarchy,o="true"===t.dataset.showNumbering,c=document.querySelector(".entry-content, .post-content, main, .content")||document.body,i=e.map(t=>t.toLowerCase()).join(", "),l=c.querySelectorAll(i);if(0===l.length)return void(t.querySelector(".toc-content").innerHTML='

No headings found in the content.

');const r=function(t,e,n,o){let c='",c}(l,0,n,o);t.querySelector(".toc-content").innerHTML=r,l.forEach(function(t,e){t.id||(t.id="toc-heading-"+e)})}(t),n&&window.innerWidth<=768&&function(t){t.classList.add("collapsible-mobile");const e=t.querySelector(".toc-title"),n=t.querySelector(".toc-content");e&&n&&e.addEventListener("click",function(){e.classList.toggle("collapsed"),n.classList.toggle("collapsed")})}(t),function(t){const e=t.querySelectorAll(".toc-link"),n=Array.from(e).map(function(t){const e=t.getAttribute("href").substring(1);return document.getElementById(e)}).filter(Boolean);if(0===n.length)return;function o(){const t=window.scrollY+100;let o=null;n.forEach(function(e){e.offsetTop<=t&&(o=e)}),e.forEach(function(t){t.classList.remove("active"),o&&t.getAttribute("href")==="#"+o.id&&t.classList.add("active")})}let c=!1;window.addEventListener("scroll",function(){c||(requestAnimationFrame(function(){o(),c=!1}),c=!0)}),o()}(t),function(t,e){t.querySelectorAll(".toc-link").forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();const o=t.getAttribute("href").substring(1),c=document.getElementById(o);if(c){const t=c.offsetTop-80;e&&"scrollBehavior"in document.documentElement.style?window.scrollTo({top:t,behavior:"smooth"}):function(t){const e=window.scrollY,n=t-e,o=performance.now();requestAnimationFrame(function t(c){const i=c-o,l=Math.min(i/600,1),r=(s=l)<.5?2*s*s:(4-2*s)*s-1;var s;window.scrollTo(0,e+n*r),l<1&&requestAnimationFrame(t)})}(t)}})})}(t,e)})}); \ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/src/block.json b/assets/build/blocks/dynamic-table-of-contents/src/block.json new file mode 100644 index 00000000..8183d562 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/block.json @@ -0,0 +1,143 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "wedocs/block-dynamic-table-of-contents", + "version": "0.1.0", + "title": "Dynamic Table of Contents", + "category": "text", + "icon": "list-view", + "description": "Auto-generates a dynamic Table of Contents from selected heading levels with collapsible, numbered, and hierarchical list options.", + "example": { + "attributes": { + "tocTitle": "Table of Contents", + "supportedHeadings": [ + "h2", + "h3" + ], + "showHierarchy": true, + "showNumbering": false + } + }, + "supports": { + "html": false, + "anchor": true + }, + "attributes": { + "blockId": { + "type": "string", + "default": "" + }, + "tocTitle": { + "type": "string", + "default": "Table of Contents" + }, + "supportedHeadings": { + "type": "array", + "default": [ + "h2", + "h3" + ] + }, + "showHierarchy": { + "type": "boolean", + "default": true + }, + "showNumbering": { + "type": "boolean", + "default": false + }, + "collapsibleOnMobile": { + "type": "boolean", + "default": true + }, + "containerBackgroundColor": { + "type": "string" + }, + "containerWidth": { + "type": "string", + "default": "100%" + }, + "containerPadding": { + "type": "object", + "default": { + "top": "20px", + "right": "20px", + "bottom": "20px", + "left": "20px" + } + }, + "containerMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "20px", + "left": "0px" + } + }, + "containerBorderStyle": { + "type": "string", + "default": "solid" + }, + "containerBorderWidth": { + "type": "string", + "default": "1px" + }, + "containerBorderColor": { + "type": "string", + "default": "#e0e0e0" + }, + "containerBorderRadius": { + "type": "string", + "default": "5px" + }, + "titleColor": { + "type": "string" + }, + "titleFontSize": { + "type": "string", + "default": "18px" + }, + "titleFontWeight": { + "type": "string", + "default": "600" + }, + "titlePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "15px", + "left": "0px" + } + }, + "listColor": { + "type": "string" + }, + "listHoverColor": { + "type": "string" + }, + "listFontSize": { + "type": "string", + "default": "14px" + }, + "smoothScroll": { + "type": "boolean", + "default": true + }, + "stickyMode": { + "type": "boolean", + "default": false + }, + "additionalCssClass": { + "type": "string", + "default": "" + } + }, + "textdomain": "dynamic-table-of-contents-block-wp", + "editorScript": "file:./index.js", + "editorStyle": "file:./index.css", + "style": "file:./style-index.css", + "viewScript": "file:./view.js", + "render": "file:./render.php" +} \ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/src/index-rtl.css b/assets/build/blocks/dynamic-table-of-contents/src/index-rtl.css new file mode 100644 index 00000000..66f595c9 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/index-rtl.css @@ -0,0 +1 @@ +.wp-block-wedocs-block-dynamic-table-of-contents .toc-mobile-notice{background-color:rgba(0,115,170,.1);padding:5px 10px;border-radius:3px;border-right:3px solid #0073aa;color:#0073aa;font-size:12px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a{cursor:default}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a:hover{color:#0073aa} diff --git a/assets/build/blocks/dynamic-table-of-contents/src/index.asset.php b/assets/build/blocks/dynamic-table-of-contents/src/index.asset.php new file mode 100644 index 00000000..6517c1ef --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/index.asset.php @@ -0,0 +1 @@ + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '2d0608114032541a6316'); diff --git a/assets/build/blocks/dynamic-table-of-contents/src/index.css b/assets/build/blocks/dynamic-table-of-contents/src/index.css new file mode 100644 index 00000000..4c5ff0a3 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/index.css @@ -0,0 +1 @@ +.wp-block-wedocs-block-dynamic-table-of-contents .toc-mobile-notice{background-color:rgba(0,115,170,.1);padding:5px 10px;border-radius:3px;border-left:3px solid #0073aa;color:#0073aa;font-size:12px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a{cursor:default}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a:hover{color:#0073aa} diff --git a/assets/build/blocks/dynamic-table-of-contents/src/index.js b/assets/build/blocks/dynamic-table-of-contents/src/index.js new file mode 100644 index 00000000..bec055a7 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/index.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,o={5174:()=>{const e=window.wp.blocks,o=window.wp.i18n,l=window.wp.blockEditor,t=window.wp.components,n=window.wp.element,a=(window.wp.data,window.ReactJSXRuntime),i=JSON.parse('{"UU":"wedocs/block-dynamic-table-of-contents"}');(0,e.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:i,clientId:c}){const{blockId:s,tocTitle:r,supportedHeadings:d,showHierarchy:b,showNumbering:h,collapsibleOnMobile:p,containerBackgroundColor:m,containerWidth:g,containerPadding:x,containerMargin:_,containerBorderStyle:u,containerBorderWidth:C,containerBorderColor:v,containerBorderRadius:f,titleColor:y,titleFontSize:k,titleFontWeight:w,titlePadding:j,listColor:S,listHoverColor:B,listFontSize:O,smoothScroll:T,stickyMode:$,additionalCssClass:P}=e,[N,F]=(0,n.useState)([]);(0,n.useEffect)(()=>{s||i({blockId:`toc-${c}`})},[s,c,i]),(0,n.useEffect)(()=>{const e=[{level:2,text:"Introduction",id:"introduction"},{level:3,text:"Getting Started",id:"getting-started"},{level:3,text:"Basic Features",id:"basic-features"},{level:2,text:"Advanced Usage",id:"advanced-usage"},{level:3,text:"Configuration",id:"configuration"},{level:4,text:"Settings Panel",id:"settings-panel"},{level:2,text:"Conclusion",id:"conclusion"}].filter(e=>d.includes(`h${e.level}`));F(e)},[d]);const W=(0,l.useBlockProps)({className:`${P} ${$?"sticky-mode":""}`.trim(),"data-block-id":s,style:{backgroundColor:m,width:g,padding:x?`${x.top} ${x.right} ${x.bottom} ${x.left}`:void 0,margin:_?`${_.top} ${_.right} ${_.bottom} ${_.left}`:void 0,borderStyle:"none"!==u?u:void 0,borderWidth:"none"!==u?C:void 0,borderColor:"none"!==u?v:void 0,borderRadius:f}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l.InspectorControls,{children:[(0,a.jsxs)(t.PanelBody,{title:(0,o.__)("General","dynamic-table-of-contents-block-wp"),initialOpen:!0,children:[(0,a.jsx)(t.TextControl,{label:(0,o.__)("TOC Title","dynamic-table-of-contents-block-wp"),value:r,onChange:e=>i({tocTitle:e})}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{style:{fontWeight:"600",marginBottom:"8px",display:"block"},children:(0,o.__)("Supported Heading Tags","dynamic-table-of-contents-block-wp")}),["h1","h2","h3","h4","h5"].map(e=>(0,a.jsx)(t.CheckboxControl,{label:e.toUpperCase(),checked:d.includes(e),onChange:o=>{const l=o?[...d,e]:d.filter(o=>o!==e);i({supportedHeadings:l})}},e))]}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("List Hierarchy","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Indent subheadings to show hierarchy","dynamic-table-of-contents-block-wp"),checked:b,onChange:e=>i({showHierarchy:e})}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("List Numbering","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Show numbered list instead of bullets","dynamic-table-of-contents-block-wp"),checked:h,onChange:e=>i({showNumbering:e})}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("Collapsible on Small Devices","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Make TOC collapsible on mobile devices","dynamic-table-of-contents-block-wp"),checked:p,onChange:e=>i({collapsibleOnMobile:e})})]}),(0,a.jsxs)(t.PanelBody,{title:(0,o.__)("Style","dynamic-table-of-contents-block-wp"),initialOpen:!1,children:[(0,a.jsx)("h4",{children:(0,o.__)("TOC Container","dynamic-table-of-contents-block-wp")}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Background Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:m,onChange:e=>i({containerBackgroundColor:e})})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Width","dynamic-table-of-contents-block-wp"),value:g,onChange:e=>i({containerWidth:e}),units:[{value:"%",label:"%"},{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"}]}),(0,a.jsx)(t.__experimentalBoxControl,{label:(0,o.__)("Padding","dynamic-table-of-contents-block-wp"),values:x,onChange:e=>i({containerPadding:e})}),(0,a.jsx)(t.__experimentalBoxControl,{label:(0,o.__)("Margin","dynamic-table-of-contents-block-wp"),values:_,onChange:e=>i({containerMargin:e})}),(0,a.jsx)(t.SelectControl,{label:(0,o.__)("Border Style","dynamic-table-of-contents-block-wp"),value:u,options:[{label:(0,o.__)("None","dynamic-table-of-contents-block-wp"),value:"none"},{label:(0,o.__)("Solid","dynamic-table-of-contents-block-wp"),value:"solid"},{label:(0,o.__)("Dashed","dynamic-table-of-contents-block-wp"),value:"dashed"},{label:(0,o.__)("Dotted","dynamic-table-of-contents-block-wp"),value:"dotted"}],onChange:e=>i({containerBorderStyle:e})}),"none"!==u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Border Width","dynamic-table-of-contents-block-wp"),value:C,onChange:e=>i({containerBorderWidth:e})}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Border Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:v,onChange:e=>i({containerBorderColor:e})})]})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Border Radius","dynamic-table-of-contents-block-wp"),value:f,onChange:e=>i({containerBorderRadius:e})}),(0,a.jsx)("hr",{style:{margin:"20px 0"}}),(0,a.jsx)("h4",{children:(0,o.__)("TOC Title","dynamic-table-of-contents-block-wp")}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:y,onChange:e=>i({titleColor:e})})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Font Size","dynamic-table-of-contents-block-wp"),value:k,onChange:e=>i({titleFontSize:e})}),(0,a.jsx)(t.SelectControl,{label:(0,o.__)("Font Weight","dynamic-table-of-contents-block-wp"),value:w,options:[{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"}],onChange:e=>i({titleFontWeight:e})}),(0,a.jsx)("hr",{style:{margin:"20px 0"}}),(0,a.jsx)("h4",{children:(0,o.__)("TOC List","dynamic-table-of-contents-block-wp")}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:S,onChange:e=>i({listColor:e})})]}),(0,a.jsxs)("div",{style:{marginBottom:"20px"},children:[(0,a.jsx)("label",{children:(0,o.__)("Hover Color","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ColorPicker,{color:B,onChange:e=>i({listHoverColor:e})})]}),(0,a.jsx)(t.__experimentalUnitControl,{label:(0,o.__)("Font Size","dynamic-table-of-contents-block-wp"),value:O,onChange:e=>i({listFontSize:e})})]}),(0,a.jsxs)(t.PanelBody,{title:(0,o.__)("Advanced","dynamic-table-of-contents-block-wp"),initialOpen:!1,children:[(0,a.jsx)(t.TextControl,{label:(0,o.__)("Additional CSS class(es)","dynamic-table-of-contents-block-wp"),value:P,onChange:e=>i({additionalCssClass:e}),help:(0,o.__)("Space-separated CSS classes","dynamic-table-of-contents-block-wp")}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("Smooth Scroll Behavior","dynamic-table-of-contents-block-wp"),checked:T,onChange:e=>i({smoothScroll:e})}),(0,a.jsx)(t.ToggleControl,{label:(0,o.__)("Sticky Mode","dynamic-table-of-contents-block-wp"),help:(0,o.__)("Keep TOC fixed while scrolling","dynamic-table-of-contents-block-wp"),checked:$,onChange:e=>i({stickyMode:e})})]})]}),(0,a.jsxs)("div",{...W,children:[(0,a.jsx)("div",{className:"toc-title",style:{color:y,fontSize:k,fontWeight:w,padding:j?`${j.top} ${j.right} ${j.bottom} ${j.left}`:void 0},children:r}),(0,a.jsx)("div",{className:"toc-content",style:{color:S,fontSize:O},children:((e,l,t)=>{if(0===e.length)return(0,a.jsx)("div",{className:"toc-empty-state",children:(0,a.jsx)("p",{children:(0,o.__)("No headings found. Add some headings to your content to see them here.","dynamic-table-of-contents-block-wp")})});let n=1;const i={2:0,3:0,4:0,5:0};return(0,a.jsx)("ul",{className:`toc-list ${l?"hierarchical":"flat"} ${t?"numbered":"bulleted"}`,children:e.map((e,o)=>{if(t)if(l){i[e.level]++;for(let o=e.level+1;o<=5;o++)i[o]=0}else i[e.level]=n++;const c=l?20*(e.level-2):0,s=t?l?Object.entries(i).slice(0,e.level-1).map(([e,o])=>o>0?o:"").filter(e=>e).join("."):i[e.level]:"";return(0,a.jsx)("li",{style:{marginLeft:`${c}px`},children:(0,a.jsxs)("a",{href:`#${e.id}`,className:"toc-link",children:[t&&(0,a.jsxs)("span",{className:"toc-number",children:[s,". "]}),e.text]})},o)})})})(N,b,h)}),p&&(0,a.jsx)("div",{className:"toc-mobile-notice",style:{marginTop:"10px",fontSize:"12px",opacity:.7},children:(0,o.__)("(Collapsible on mobile devices)","dynamic-table-of-contents-block-wp")})]})]})}})}},l={};function t(e){var n=l[e];if(void 0!==n)return n.exports;var a=l[e]={exports:{}};return o[e](a,a.exports,t),a.exports}t.m=o,e=[],t.O=(o,l,n,a)=>{if(!l){var i=1/0;for(d=0;d=a)&&Object.keys(t.O).every(e=>t.O[e](l[s]))?l.splice(s--,1):(c=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[l,n,a]},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={147:0,347:0};t.O.j=o=>0===e[o];var o=(o,l)=>{var n,a,[i,c,s]=l,r=0;if(i.some(o=>0!==e[o])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);if(s)var d=s(t)}for(o&&o(l);rt(5174));n=t.O(n)})(); \ No newline at end of file diff --git a/assets/build/blocks/dynamic-table-of-contents/src/render.php b/assets/build/blocks/dynamic-table-of-contents/src/render.php new file mode 100644 index 00000000..6701123d --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/render.php @@ -0,0 +1,313 @@ +post_content ); + $styles = ''; + + foreach ( $blocks as $block ) { + if ( 'wedocs/block-dynamic-table-of-contents' === $block['blockName'] ) { + $attributes = $block['attrs'] ?? array(); + $block_id = $attributes['blockId'] ?? ''; + + if ( ! empty( $block_id ) ) { + $styles .= wedocs_generate_toc_styles( $attributes, $block_id ); + } + } + } + + if ( ! empty( $styles ) ) { + echo ''; + } + } +add_action( 'wp_head', 'wedocs_dynamic_table_of_contents_inline_styles' ); +} +/** + * Generate CSS styles from block attributes + */ +if ( ! function_exists( 'wedocs_generate_toc_styles' ) ) { + function wedocs_generate_toc_styles( $attributes, $block_id ) { + $styles = ''; + $selector = '.wp-block-wedocs-block-dynamic-table-of-contents[data-block-id="' . esc_attr( $block_id ) . '"]'; + + // Container styles + if ( isset( $attributes['containerBackgroundColor'] ) ) { + $styles .= $selector . ' { background-color: ' . esc_attr( $attributes['containerBackgroundColor'] ) . '; }'; + } + if ( isset( $attributes['containerWidth'] ) ) { + $styles .= $selector . ' { width: ' . esc_attr( $attributes['containerWidth'] ) . '; }'; + } + if ( isset( $attributes['containerPadding'] ) ) { + $padding = $attributes['containerPadding']; + $styles .= $selector . ' { padding: ' . esc_attr( $padding['top'] ?? '0' ) . ' ' . esc_attr( $padding['right'] ?? '0' ) . ' ' . esc_attr( $padding['bottom'] ?? '0' ) . ' ' . esc_attr( $padding['left'] ?? '0' ) . '; }'; + } + if ( isset( $attributes['containerMargin'] ) ) { + $margin = $attributes['containerMargin']; + $styles .= $selector . ' { margin: ' . esc_attr( $margin['top'] ?? '0' ) . ' ' . esc_attr( $margin['right'] ?? '0' ) . ' ' . esc_attr( $margin['bottom'] ?? '0' ) . ' ' . esc_attr( $margin['left'] ?? '0' ) . '; }'; + } + if ( isset( $attributes['containerBorderStyle'] ) && $attributes['containerBorderStyle'] !== 'none' ) { + $styles .= $selector . ' { border-style: ' . esc_attr( $attributes['containerBorderStyle'] ) . '; }'; + if ( isset( $attributes['containerBorderWidth'] ) ) { + $styles .= $selector . ' { border-width: ' . esc_attr( $attributes['containerBorderWidth'] ) . '; }'; + } + if ( isset( $attributes['containerBorderColor'] ) ) { + $styles .= $selector . ' { border-color: ' . esc_attr( $attributes['containerBorderColor'] ) . '; }'; + } + } + if ( isset( $attributes['containerBorderRadius'] ) ) { + $styles .= $selector . ' { border-radius: ' . esc_attr( $attributes['containerBorderRadius'] ) . '; }'; + } + + // Title styles + if ( isset( $attributes['titleColor'] ) ) { + $styles .= $selector . ' .toc-title { color: ' . esc_attr( $attributes['titleColor'] ) . '; }'; + } + if ( isset( $attributes['titleFontSize'] ) ) { + $styles .= $selector . ' .toc-title { font-size: ' . esc_attr( $attributes['titleFontSize'] ) . '; }'; + } + if ( isset( $attributes['titleFontWeight'] ) ) { + $styles .= $selector . ' .toc-title { font-weight: ' . esc_attr( $attributes['titleFontWeight'] ) . '; }'; + } + + // List styles + if ( isset( $attributes['listColor'] ) ) { + $styles .= $selector . ' .toc-list a { color: ' . esc_attr( $attributes['listColor'] ) . '; }'; + } + if ( isset( $attributes['listHoverColor'] ) ) { + $styles .= $selector . ' .toc-list a:hover { color: ' . esc_attr( $attributes['listHoverColor'] ) . '; }'; + } + if ( isset( $attributes['listFontSize'] ) ) { + $styles .= $selector . ' .toc-list { font-size: ' . esc_attr( $attributes['listFontSize'] ) . '; }'; + } + + return $styles; + } +} + + + +// Get block attributes with proper defaults +$block_id = isset($attributes['blockId']) ? sanitize_text_field($attributes['blockId']) : 'toc-' . uniqid(); +$toc_title = isset($attributes['tocTitle']) ? sanitize_text_field($attributes['tocTitle']) : 'Table of Contents'; +$supported_headings = isset($attributes['supportedHeadings']) && is_array($attributes['supportedHeadings']) ? $attributes['supportedHeadings'] : ['h2', 'h3']; +$show_hierarchy = isset($attributes['showHierarchy']) ? (bool) $attributes['showHierarchy'] : true; +$show_numbering = isset($attributes['showNumbering']) ? (bool) $attributes['showNumbering'] : false; +$collapsible_on_mobile = isset($attributes['collapsibleOnMobile']) ? (bool) $attributes['collapsibleOnMobile'] : true; +$smooth_scroll = isset($attributes['smoothScroll']) ? (bool) $attributes['smoothScroll'] : true; +$sticky_mode = isset($attributes['stickyMode']) ? (bool) $attributes['stickyMode'] : false; +$additional_css_class = isset($attributes['additionalCssClass']) ? sanitize_text_field($attributes['additionalCssClass']) : ''; + +// Build CSS classes +$css_classes = ['wp-block-wedocs-block-dynamic-table-of-contents']; +if (!empty($additional_css_class)) { + $css_classes[] = esc_attr($additional_css_class); +} +if ($sticky_mode) { + $css_classes[] = 'sticky-mode'; +} +if ($collapsible_on_mobile) { + $css_classes[] = 'collapsible-mobile'; +} +if ($smooth_scroll) { + $css_classes[] = 'smooth-scroll'; +} + +// Get block wrapper attributes +$wrapper_attributes = get_block_wrapper_attributes([ + 'class' => implode(' ', $css_classes), + 'data-block-id' => esc_attr($block_id), + 'data-supported-headings' => esc_attr(wp_json_encode($supported_headings)), + 'data-show-hierarchy' => $show_hierarchy ? 'true' : 'false', + 'data-show-numbering' => $show_numbering ? 'true' : 'false', + 'data-smooth-scroll' => $smooth_scroll ? 'true' : 'false' +]); + +// Apply inline styles +$inline_styles = ''; +if (!empty($attributes['containerBackgroundColor'])) { + $inline_styles .= 'background-color: ' . esc_attr($attributes['containerBackgroundColor']) . ';'; +} +if (!empty($attributes['containerWidth'])) { + $inline_styles .= 'width: ' . esc_attr($attributes['containerWidth']) . ';'; +} + +// Generate TOC content server-side for better SEO +if ( ! function_exists( 'wedocs_generate_toc_content_safe' ) ) { + function wedocs_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering) { + try { + global $post; + + if (!$post || empty($post->post_content)) { + return '

' . esc_html__('No content available.', 'dynamic-table-of-contents-block-wp') . '

'; + } + + // Parse content for headings + $content = $post->post_content; + $headings = wedocs_extract_headings_from_content_safe($content, $supported_headings); + + if (empty($headings)) { + return '

' . esc_html__('No headings found. The table of contents will be generated automatically when you add headings to your content.', 'dynamic-table-of-contents-block-wp') . '

'; + } + + return wedocs_render_toc_list_safe($headings, $show_hierarchy, $show_numbering); + } catch (Exception $e) { + return '

' . esc_html__('Error generating table of contents.', 'dynamic-table-of-contents-block-wp') . '

'; + } + } +} + +if ( ! function_exists( 'wedocs_extract_headings_from_content_safe' ) ) { + function wedocs_extract_headings_from_content_safe($content, $supported_headings) { + $headings = []; + + if (empty($content) || !is_array($supported_headings)) { + return $headings; + } + + // Convert h-tags to lowercase for pattern matching + $supported_tags = array_map('strtolower', $supported_headings); + $pattern = '/<(' . implode('|', $supported_tags) . ')(?:[^>]*(?:\s+id=["\']([^"\'][^"\']*)["\'\'])?[^>]*)>(.*?)<\/\1>/i'; + + if (preg_match_all($pattern, $content, $matches, PREG_SET_ORDER)) { + $used_ids = []; + + foreach ($matches as $match) { + if (count($match) < 4) continue; + + $tag = strtolower($match[1]); + $level = (int) substr($tag, 1); + $existing_id = isset($match[2]) && !empty(trim($match[2])) ? trim($match[2]) : ''; + $text = wp_strip_all_tags($match[3]); + $text = trim($text); + + if (empty($text)) continue; + + $id = !empty($existing_id) ? $existing_id : sanitize_title($text); + + // Ensure unique IDs + $original_id = $id; + $counter = 1; + while (in_array($id, $used_ids)) { + $id = $original_id . '-' . $counter; + $counter++; + } + $used_ids[] = $id; + + $headings[] = [ + 'level' => $level, + 'text' => $text, + 'id' => $id + ]; + } + } + + return $headings; + } +} + +if ( ! function_exists( 'wedocs_render_toc_list_safe' ) ) { + function wedocs_render_toc_list_safe($headings, $show_hierarchy, $show_numbering) { + if (empty($headings) || !is_array($headings)) { + return ''; + } + + $css_classes = ['toc-list']; + $css_classes[] = $show_hierarchy ? 'hierarchical' : 'flat'; + $css_classes[] = $show_numbering ? 'numbered' : 'bulleted'; + + $html = '
    '; + + $counters = [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0]; + $global_counter = 1; + + foreach ($headings as $heading) { + if (!is_array($heading) || !isset($heading['level'], $heading['text'], $heading['id'])) { + continue; + } + + $level = (int) $heading['level']; + $text = sanitize_text_field($heading['text']); + $id = sanitize_text_field($heading['id']); + + if ($level < 1 || $level > 6 || empty($text) || empty($id)) { + continue; + } + + // Update counters + if ($show_numbering) { + if ($show_hierarchy) { + $counters[$level]++; + // Reset lower level counters + for ($i = $level + 1; $i <= 5; $i++) { + $counters[$i] = 0; + } + } else { + $counters[$level] = $global_counter++; + } + } + + // Calculate indent + $indent = $show_hierarchy ? max(0, ($level - 2) * 20) : 0; + + // Generate number text + $number_text = ''; + if ($show_numbering) { + if ($show_hierarchy) { + $numbers = []; + for ($i = 2; $i <= $level; $i++) { + if (isset($counters[$i]) && $counters[$i] > 0) { + $numbers[] = $counters[$i]; + } + } + $number_text = !empty($numbers) ? implode('.', $numbers) . '. ' : ''; + } else { + $number_text = (isset($counters[$level]) ? $counters[$level] : 0) . '. '; + } + } + + $html .= '
  • '; + $html .= ''; + if ($show_numbering && !empty($number_text)) { + $html .= '' . esc_html($number_text) . ''; + } + $html .= esc_html($text); + $html .= '
  • '; + } + + $html .= '
'; + + return $html; + } +} + +$toc_content = wedocs_generate_toc_content_safe($supported_headings, $show_hierarchy, $show_numbering); +?> + +
> +
+ +
+
+ +
+
diff --git a/assets/build/blocks/dynamic-table-of-contents/src/style-index-rtl.css b/assets/build/blocks/dynamic-table-of-contents/src/style-index-rtl.css new file mode 100644 index 00000000..f64bcaf0 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/style-index-rtl.css @@ -0,0 +1 @@ +.wp-block-wedocs-block-dynamic-table-of-contents{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:5px;padding:20px;margin-bottom:20px;max-width:100%}.wp-block-wedocs-block-dynamic-table-of-contents .toc-title{font-size:18px;font-weight:600;margin:0 0 15px 0;padding:0;color:inherit}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list{margin:0;padding:0;list-style:none}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.numbered{counter-reset:toc-counter}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.numbered li{counter-increment:toc-counter}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.bulleted li{position:relative;padding-right:20px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.bulleted li:before{content:"•";position:absolute;right:0;color:inherit}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li{margin:8px 0;line-height:1.5}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a{text-decoration:none;color:inherit;display:inline-block;transition:color .2s ease}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a:hover{text-decoration:underline}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a.active{font-weight:600;border-right:3px solid #0073aa;padding-right:10px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li .toc-number{font-weight:600;margin-left:5px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-empty-state{color:#666;font-style:italic}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-empty-state p{margin:0}.wp-block-wedocs-block-dynamic-table-of-contents.sticky-mode{position:sticky;top:20px;z-index:10;max-height:80vh;overflow-y:auto}.wp-block-wedocs-block-dynamic-table-of-contents.sticky-mode .toc-content{max-height:calc(80vh - 100px);overflow-y:auto}@media(max-width: 768px){.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-title{cursor:pointer;position:relative}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-title:after{content:"▼";float:left;transition:transform .2s ease}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-title.collapsed:after{transform:rotate(90deg)}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-content{max-height:1000px;overflow:hidden;transition:max-height .3s ease}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-content.collapsed{max-height:0}}html.smooth-scroll{scroll-behavior:smooth}.toc-loading .toc-content{opacity:.5}.toc-loading .toc-content:after{content:"Loading headings...";display:block;text-align:center;margin-top:20px;font-style:italic;color:#666} diff --git a/assets/build/blocks/dynamic-table-of-contents/src/style-index.css b/assets/build/blocks/dynamic-table-of-contents/src/style-index.css new file mode 100644 index 00000000..8b1c1cd7 --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/style-index.css @@ -0,0 +1 @@ +.wp-block-wedocs-block-dynamic-table-of-contents{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:5px;padding:20px;margin-bottom:20px;max-width:100%}.wp-block-wedocs-block-dynamic-table-of-contents .toc-title{font-size:18px;font-weight:600;margin:0 0 15px 0;padding:0;color:inherit}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list{margin:0;padding:0;list-style:none}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.numbered{counter-reset:toc-counter}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.numbered li{counter-increment:toc-counter}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.bulleted li{position:relative;padding-left:20px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list.bulleted li:before{content:"•";position:absolute;left:0;color:inherit}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li{margin:8px 0;line-height:1.5}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a{text-decoration:none;color:inherit;display:inline-block;transition:color .2s ease}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a:hover{text-decoration:underline}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li a.active{font-weight:600;border-left:3px solid #0073aa;padding-left:10px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-list li .toc-number{font-weight:600;margin-right:5px}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-empty-state{color:#666;font-style:italic}.wp-block-wedocs-block-dynamic-table-of-contents .toc-content .toc-empty-state p{margin:0}.wp-block-wedocs-block-dynamic-table-of-contents.sticky-mode{position:sticky;top:20px;z-index:10;max-height:80vh;overflow-y:auto}.wp-block-wedocs-block-dynamic-table-of-contents.sticky-mode .toc-content{max-height:calc(80vh - 100px);overflow-y:auto}@media(max-width: 768px){.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-title{cursor:pointer;position:relative}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-title:after{content:"▼";float:right;transition:transform .2s ease}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-title.collapsed:after{transform:rotate(-90deg)}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-content{max-height:1000px;overflow:hidden;transition:max-height .3s ease}.wp-block-wedocs-block-dynamic-table-of-contents.collapsible-mobile .toc-content.collapsed{max-height:0}}html.smooth-scroll{scroll-behavior:smooth}.toc-loading .toc-content{opacity:.5}.toc-loading .toc-content:after{content:"Loading headings...";display:block;text-align:center;margin-top:20px;font-style:italic;color:#666} diff --git a/assets/build/blocks/dynamic-table-of-contents/src/view.asset.php b/assets/build/blocks/dynamic-table-of-contents/src/view.asset.php new file mode 100644 index 00000000..d769143f --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/view.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'de76f6d0c8836a438deb'); diff --git a/assets/build/blocks/dynamic-table-of-contents/src/view.js b/assets/build/blocks/dynamic-table-of-contents/src/view.js new file mode 100644 index 00000000..2377bfaf --- /dev/null +++ b/assets/build/blocks/dynamic-table-of-contents/src/view.js @@ -0,0 +1 @@ +document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wp-block-wedocs-block-dynamic-table-of-contents").forEach(function(t){t.querySelector(".toc-content"),t.querySelector(".toc-list"),t.querySelector(".toc-title");const e=t.classList.contains("smooth-scroll")||"true"===t.dataset.smoothScroll,n=t.classList.contains("collapsible-mobile")||window.innerWidth<=768;e&&document.documentElement.classList.add("smooth-scroll"),function(t){const e=function(t){const e=t.dataset.supportedHeadings;if(e)try{return JSON.parse(e)}catch(t){console.warn("Invalid supportedHeadings data:",e)}return["H2","H3"]}(t),n="false"!==t.dataset.showHierarchy,o="true"===t.dataset.showNumbering,c=document.querySelector(".entry-content, .post-content, main, .content")||document.body,i=e.map(t=>t.toLowerCase()).join(", "),l=c.querySelectorAll(i);if(0===l.length)return void(t.querySelector(".toc-content").innerHTML='

No headings found in the content.

');const r=function(t,e,n,o){let c='",c}(l,0,n,o);t.querySelector(".toc-content").innerHTML=r,l.forEach(function(t,e){t.id||(t.id="toc-heading-"+e)})}(t),n&&window.innerWidth<=768&&function(t){t.classList.add("collapsible-mobile");const e=t.querySelector(".toc-title"),n=t.querySelector(".toc-content");e&&n&&e.addEventListener("click",function(){e.classList.toggle("collapsed"),n.classList.toggle("collapsed")})}(t),function(t){const e=t.querySelectorAll(".toc-link"),n=Array.from(e).map(function(t){const e=t.getAttribute("href").substring(1);return document.getElementById(e)}).filter(Boolean);if(0===n.length)return;function o(){const t=window.scrollY+100;let o=null;n.forEach(function(e){e.offsetTop<=t&&(o=e)}),e.forEach(function(t){t.classList.remove("active"),o&&t.getAttribute("href")==="#"+o.id&&t.classList.add("active")})}let c=!1;window.addEventListener("scroll",function(){c||(requestAnimationFrame(function(){o(),c=!1}),c=!0)}),o()}(t),function(t,e){t.querySelectorAll(".toc-link").forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();const o=t.getAttribute("href").substring(1),c=document.getElementById(o);if(c){const t=c.offsetTop-80;e&&"scrollBehavior"in document.documentElement.style?window.scrollTo({top:t,behavior:"smooth"}):function(t){const e=window.scrollY,n=t-e,o=performance.now();requestAnimationFrame(function t(c){const i=c-o,l=Math.min(i/600,1),r=(s=l)<.5?2*s*s:(4-2*s)*s-1;var s;window.scrollTo(0,e+n*r),l<1&&requestAnimationFrame(t)})}(t)}})})}(t,e)})}); \ No newline at end of file diff --git a/assets/build/frontend-rtl.css b/assets/build/frontend-rtl.css new file mode 100644 index 00000000..1855d0cd --- /dev/null +++ b/assets/build/frontend-rtl.css @@ -0,0 +1,1222 @@ +/*!************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js!./src/assets/less/frontend.less ***! + \************************************************************************************************************************/ +@font-face { + font-family: 'wedocs'; + src: url(fonts/wedocs.0e4fd4b5.ttf) format('truetype'), url(fonts/wedocs.29ec52e7.woff) format('woff'), url(5f4138884ca3828fa2ff.svg) format('svg'); + font-weight: normal; + font-style: normal; + font-display: block; +} +[class^='wedocs-icon-'], +[class*=' wedocs-icon-'] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'wedocs' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.wedocs-icon-close:before { + content: '\f00d'; +} +.wedocs-icon-remove:before { + content: '\f00d'; +} +.wedocs-icon-times:before { + content: '\f00d'; +} +.wedocs-icon-home:before { + content: '\f015'; +} +.wedocs-icon-refresh:before { + content: '\f021'; +} +.wedocs-icon-print:before { + content: '\f02f'; +} +.wedocs-icon-folder-open:before { + content: '\f07c'; +} +.wedocs-icon-envelope:before { + content: '\f0e0'; +} +.wedocs-icon-file-text-o:before { + content: '\f0f6'; +} +.wedocs-icon-angle-left:before { + content: '\f104'; +} +.wedocs-icon-angle-right:before { + content: '\f105'; +} +.wedocs-icon-angle-up:before { + content: '\f106'; +} +.wedocs-icon-angle-down:before { + content: '\f107'; +} +.wedocs-icon-smile-o:before { + content: '\f118'; +} +.wedocs-icon-frown-o:before { + content: '\f119'; +} +#wedocs-single-doc-search-modal { + top: 0; + right: 0; + z-index: 200; + width: 100vw; + cursor: auto; + display: none; + height: 100vh; + position: fixed; + flex-direction: column; + background-color: #0000004D; +} +#wedocs-single-doc-search-modal .doc-search-container { + padding: 12vh; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal { + width: 100%; + display: flex; + min-height: 0; + margin: 0 auto; + background: #F8FAFC; + max-width: 47.375rem; + border-radius: 0.5rem; + flex-direction: column; + box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header { + z-index: 1; + flex: none; + display: flex; + position: relative; + align-items: center; + padding: 0 1rem; + border-bottom: 1px solid #D9D9D9; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form { + min-width: 0; + display: flex; + flex: 1 1 auto; + align-items: center; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-magnifier-label { + flex: none; + display: flex; + width: 1.5rem; + height: 1.5rem; + align-items: center; + justify-content: center; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-field { + width: 100%; + display: flex; + position: relative; + align-items: center; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-field #doc-search-input { + border: 0; + flex: auto; + min-width: 0; + height: 3.5rem; + color: #0f172a; + font-size: 1rem; + appearance: none; + background: #0000; + margin-left: 1rem; + margin-right: 0.75rem; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-field #doc-search-input:focus { + outline: none; + box-shadow: none; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-field .search-clean { + width: 20px; + left: 30px; + height: 20px; + display: none; + cursor: pointer; + position: absolute; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-cancel { + flex: none; + display: flex; + width: 1.75rem; + height: 1.5rem; + color: #334155; + font-size: 10px; + appearance: none; + font-weight: 700; + background: #fff; + align-items: center; + padding: 0.5rem 1rem; + border-radius: 0.375rem; + justify-content: center; + border: 1px solid #d4dde6; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits { + padding: 1rem; + overflow: scroll; + max-height: 600px; + text-align: center; + color: #94a3b8; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits .doc-empty-search { + padding: 3rem 0; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list { + gap: 10px; + margin: 0; + padding: 0; + display: grid; + list-style: none; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result { + padding: 1rem; + display: block; + position: relative; + font-size: 0.875rem; + border-radius: 0.5rem; + text-decoration: none; + background-color: #fff; + box-shadow: -2px 0px 10px 0px #003F9E1A; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container { + display: flex; + align-items: center; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-icon { + width: 2.5rem; + display: flex; + height: 2.5rem; + align-self: start; + margin-left: 1rem; + border-radius: 50%; + align-items: center; + justify-content: center; + box-shadow: 0 0 #0000, 0 0 0 calc(1px + 0px) #0f172a0d, 0 1px 2px 0 #0000000d; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper { + z-index: 1; + flex: auto; + max-width: 630px; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper hr { + background: #E9E9E9; + margin: 0.5rem 0 0.75rem; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .doc-search-hit-title { + color: #374151; + overflow: hidden; + font-weight: 600; + text-align: right; + line-height: 1.25rem; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .wd-docs-navigation { + gap: 24px; + display: flex; + align-items: center; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .wd-docs-navigation .parent-doc-nav, +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .wd-docs-navigation .section-doc-nav { + gap: 10px; + display: flex; + color: #6B7280; + text-align: right; + font-weight: 600; + align-items: center; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .wd-docs-navigation .parent-doc-nav .doc-search-hit-path, +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .wd-docs-navigation .section-doc-nav .doc-search-hit-path { + font-weight: 600; + padding: 0 0.6rem; + font-size: 0.75rem; + line-height: 1.5rem; + border-radius: 999px; + align-self: flex-start; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .parent-doc-nav, +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .section-doc-nav, +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .doc-search-hit-title { + color: #fff !important; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .doc-search-hit-path { + color: #374151; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .doc-search-hit-icon, +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .doc-search-hit-path { + background: #fff !important; +} +#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result:hover .doc-search-hit-select-icon { + stroke: #fff; +} +#wedocs-single-doc-search-modal.active { + display: flex; +} +.wedocs-single-search-input { + position: relative; + margin: 0 0 15px 0; + border-bottom: 1px solid #eee; +} +.wedocs-single-search-input .short-key, +.wedocs-single-search-input .search-field, +.wedocs-single-search-input .search-submit { + border: 0; + cursor: pointer; + margin: 0 0 15px 0; +} +.wedocs-single-search-input .search-field { + width: 96%; + height: 42px; + font-size: 16px; + background: white; + border-radius: 8px; + border: 1px solid #dbdbdb; + padding: 10px 45px 10px 22px; +} +.wedocs-single-search-input .search-field::placeholder { + color: #6B7280; + line-height: 1; +} +.wedocs-single-search-input .search-field:focus { + outline: none; + box-shadow: none; +} +.wedocs-single-search-input .search-submit { + top: 0; + right: 0; + position: absolute; + padding: 11px 16px; + background: transparent; +} +.wedocs-single-search-input .short-key { + top: 0; + left: 12px; + color: #9caabd; + font-size: 14px; + font-weight: 600; + padding: 10px 16px; + position: absolute; + background: transparent; +} +body.single.single-docs .content-area { + width: 100%; +} +.screen-reader-text { + clip: rect(1px, 1px, 1px, 1px); + overflow: hidden; + position: absolute !important; + height: 1px; + width: 1px; +} +.wedocs-overflow-hidden { + overflow: hidden; +} +.wedocs-single-wrap { + width: 100%; + display: -ms-flex; + display: -webkit-flex; + display: flex; +} +.wedocs-single-wrap:before, +.wedocs-single-wrap:after { + content: " "; + display: table; +} +.wedocs-single-wrap:after { + clear: both; +} +.wedocs-single-wrap .wedocs-sidebar { + width: 25%; +} +.wedocs-single-wrap .wedocs-sidebar h3.widget-title { + font-weight: bold; + margin: 0 0 15px 0; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list { + padding: 0; + list-style: none; + margin: 0 0 0 12px; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li > a:before { + content: '\f07c'; + margin-left: 10px; + font-family: 'wedocs'; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-open > a > .wedocs-caret, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed > a > .wedocs-caret { + float: left; + line-height: inherit; + padding: 0 10px; + border: 1px solid #eee; + border-radius: 3px; + color: #eee; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-open > a > .wedocs-caret:hover, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed > a > .wedocs-caret:hover { + border-color: #000; + color: #000; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-open > a > .wedocs-caret::before, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed > a > .wedocs-caret::before { + font-family: 'wedocs' !important; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-open > a > .wedocs-caret:before { + content: '\f106'; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed > a > .wedocs-caret:before { + content: '\f107'; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed ul.children { + display: none; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li a { + display: flex; + text-decoration: none; + padding: 8px 20px 8px 10px; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li a .wedocs-caret { + margin-right: auto; + align-self: center; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children { + list-style: none; + margin: 15px 26px 15px 0; + padding: 0; + border: none; + border-right: 1px solid #ddd; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children a { + color: #333333; + font-weight: normal; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.current_page_item > a > .wedocs-caret:hover, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.current_page_parent > a > .wedocs-caret:hover { + border-color: #fff; + color: #fff; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_parent > a, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_item > a, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_ancestor > a { + background: #3B82F6; + color: #fff; + border-radius: 5px; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_parent > a .wedocs-caret, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_item > a .wedocs-caret, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_ancestor > a .wedocs-caret { + color: #fff; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_parent li.current_page_item > a, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_item li.current_page_item > a, +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_ancestor li.current_page_item > a { + border-right: 2px solid #3B82F6; + color: #191919; + font-weight: bold; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list .children .tailwind { + border-right: 1px solid #06b6d4; +} +.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list .tailwind .wedocs-caret { + border-color: #06b6d4; + color: #06b6d4; +} +.wedocs-single-wrap .wedocs-single-content { + width: 75%; + border-right: 1px solid #eee; + padding-right: 25px; +} +.wedocs-single-wrap .wedocs-single-content ol.wedocs-breadcrumb { + text-wrap: pretty; + margin-bottom: 30px; + list-style: none; + margin-right: 0; + padding-right: 0; +} +.wedocs-single-wrap .wedocs-single-content ol.wedocs-breadcrumb li { + display: inline; +} +.wedocs-single-wrap .wedocs-single-content ol.wedocs-breadcrumb li.delimiter { + color: #999; + margin: 0 2px; +} +.wedocs-single-wrap .wedocs-single-content ol.wedocs-breadcrumb a { + text-decoration: none; +} +.wedocs-single-wrap .wedocs-single-content article { + position: relative; +} +.wedocs-single-wrap .wedocs-single-content article a.wedocs-print-article { + position: absolute; + left: 0; + top: 0; + color: #777; +} +.wedocs-single-wrap .wedocs-single-content article a.wedocs-print-article:hover { + color: #555; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content { + width: 100% !important; + float: none !important; + display: block; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content a.anchorjs-link { + text-decoration: none; + box-shadow: none !important; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content img { + max-width: 100%; + border: 1px solid #eee; + margin-top: 20px; + margin-bottom: 30px; + padding: 25px; + height: auto; + background: #F9F9F9; + display: block; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content pre { + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + display: block; + padding: 8.5px; + margin: 0 0 9px; + word-break: break-all; + word-wrap: break-word; + white-space: pre; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content dl { + margin-bottom: 1em; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content dl dt { + float: right; + display: inline-block; + font-weight: 400; + text-align: center; + padding: 4px 9px; + margin-bottom: 1em; + font-size: 18px; + line-height: 1.2em; + border-radius: 50px; + color: #fff; + background: #3197d1; + vertical-align: baseline; + white-space: nowrap; + font-size: 15px; + min-width: 9px; + position: relative; + top: 2px; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content dl dd { + padding-top: 3px; + margin: 0 45px 5px 0; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content dl dd:before, +.wedocs-single-wrap .wedocs-single-content article .entry-content dl dd:after { + display: table; + content: ""; + line-height: 0; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content dl dd:after { + clear: both; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content .wedocs-callout { + border-right: 5px solid; + color: #333; + font-size: 14px; + margin-bottom: 2em; + padding: 16px 20px 16px 25px; + background: #f1f1f1; + border-color: #cfcfcf; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content .wedocs-callout.callout-yellow { + background: #fffcd5; + border-color: #e7dca4; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content .wedocs-callout.callout-blue { + background: #e8f4ff; + border-color: #bed1e6; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content .wedocs-callout.callout-green { + background: #e5fadc; + border-color: #bbdaaf; +} +.wedocs-single-wrap .wedocs-single-content article .entry-content .wedocs-callout.callout-red { + background: #fde8e8; + border-color: #e7aaaa; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer { + width: 100%; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer:before, +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer:after { + content: " "; + display: table; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer:after { + clear: both; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer .help-icon, +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer .help-button, +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer .wedocs-article-author { + display: none; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer .wedocs-help-link a { + border-bottom: 1px dotted #C5C5C5; + text-decoration: none; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer .wedocs-help-link a:hover { + text-decoration: none; + border-bottom: 1px dotted #999; +} +.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer time { + font-weight: normal; + font-style: italic; +} +.wedocs-single-wrap .wedocs-single-content .wedocs-comments-wrap { + overflow: hidden; + position: relative; +} +.wedocs-single-wrap ul.doc-nav-list > li > a.on:before { + content: '\f07c'; + margin-left: 10px; + font-family: 'wedocs'; +} +.wedocs-doc-nav { + width: 100%; + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; + margin: 20px 0 30px 0; + padding: 25px 0; +} +.wedocs-doc-nav:before, +.wedocs-doc-nav:after { + content: " "; + display: table; +} +.wedocs-doc-nav:after { + clear: both; +} +.wedocs-doc-nav .nav-previous { + float: right; + width: 50%; +} +.wedocs-doc-nav .nav-next { + float: left; + width: 50%; + text-align: left; +} +.wedocs-shortcode-wrap:before, +.wedocs-shortcode-wrap:after { + content: " "; + display: table; +} +.wedocs-shortcode-wrap:after { + clear: both; +} +.wedocs-shortcode-wrap .wedocs-search-input { + width: 50%; + display: flex; + margin-right: auto; + position: relative; + margin-bottom: 4%; +} +.wedocs-shortcode-wrap .wedocs-search-input .search-field { + margin: 0; + width: 100%; + height: 48px; + font-size: 14px; + background: white; + padding: 14px 22px; + border-radius: 100px; + border: 1px solid #dbdbdb; +} +.wedocs-shortcode-wrap .wedocs-search-input .search-field::placeholder { + color: #C5C5C5; +} +.wedocs-shortcode-wrap .wedocs-search-input .search-field:focus { + outline: none; + box-shadow: none; + border: 1px solid #dbdbdb; +} +.wedocs-shortcode-wrap .wedocs-search-input .search-submit { + top: 0; + left: 0; + border: 0; + margin: 0; + height: 100%; + display: flex; + cursor: pointer; + width: fit-content; + padding: 14px 26px; + position: absolute; + align-items: center; + border-radius: 100px; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list { + margin: 0; + padding: 0; + list-style: none; + width: 100%; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list:before, +.wedocs-shortcode-wrap ul.wedocs-docs-list:after { + content: " "; + display: table; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list:after { + clear: both; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single { + margin: 0; + margin-bottom: 4%; + padding: 22px 30px; + position: relative; + border-radius: 10px; + padding-bottom: 37px; + box-sizing: border-box; + border: 1px solid #e5e5e5; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); +} +.wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single h3 { + margin: 0; + font-size: 24px; + font-weight: 800; + line-height: 1.4; + margin-bottom: 16px; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single .inside { + height: 290px; + overflow-y: scroll; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single .inside span { + display: flex; + color: #063250; + font-size: 18px; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single .inside span svg { + width: 64px; + height: 24px; + margin: 2px 0 0 0.5rem; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list li.wedocs-docs-single .divider { + margin-top: 20px; + margin-bottom: 38px; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections { + margin: 0; + padding: 0; + list-style-type: none; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections > li { + margin: 0; + display: flex; + align-items: center; + justify-content: space-between; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections > li > svg { + width: 16px; + cursor: pointer; + margin-right: 10px; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections > li > svg.active { + transform: rotate(-180deg); +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections ul.children { + margin: 6px 0; + padding-right: 24px; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections ul.children > li { + list-style: circle; + line-height: 1.5; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list ul.wedocs-doc-sections ul.children:not(.active) { + display: none; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list.col-2 > li { + float: right; + width: 48%; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list.col-2 > li:nth-child(2n + 1) { + clear: both; + margin-left: 4%; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li { + float: right; + width: 31%; + margin-left: 3%; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li:nth-child(3n + 1) { + clear: both; +} +.wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li:nth-child(3n + 3) { + margin-left: 0; +} +.wedocs-shortcode-wrap.pro ul.wedocs-search-input { + background: #3B82F6; +} +.wedocs-shortcode-wrap.pro ul.wedocs-search-input .search-field:focus { + border-color: #3c82f6; +} +.wedocs-shortcode-wrap.pro ul.wedocs-docs-list li.wedocs-docs-single h3 a { + text-decoration: none; +} +.wedocs-shortcode-wrap.pro ul.wedocs-docs-list li.wedocs-docs-single h3 a:not(:hover) { + color: #000; +} +.wedocs-shortcode-wrap.pro ul.wedocs-docs-list li.wedocs-docs-single .wedocs-doc-link { + display: inline-block; + font-size: 16px; + font-weight: 500; +} +.wedocs-shortcode-wrap.pro ul.wedocs-docs-list li.wedocs-docs-single .wedocs-doc-link a { + color: white; + line-height: 30px; + background: #3B82F6; + border-radius: 10px; + padding: 13.5px 20px; + text-decoration: none; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections > li a { + display: flex; + font-size: 18px; + line-height: 1.5; + text-decoration: none; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections > li a:not(:hover) { + color: #063250; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections > li a.icon-view:before { + color: #ACB8C4; + font-size: 16px; + content: '\f07c'; + margin-left: 18px; + font-family: 'wedocs'; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections ul.children > li { + font-size: 16px; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections ul.children > li a { + text-decoration: none; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections ul.children > li a:not(:hover) { + color: #64748B; +} +.wedocs-shortcode-wrap.pro ul.wedocs-doc-sections ul.children.has-icon { + padding: 0; + margin-right: 36px !important; +} +footer.entry-footer.wedocs-entry-footer { + display: flex; + margin-top: 10px; + align-items: center; + margin-bottom: 30px; +} +footer.entry-footer.wedocs-entry-footer:before, +footer.entry-footer.wedocs-entry-footer:after { + content: " "; + display: table; +} +footer.entry-footer.wedocs-entry-footer:after { + clear: both; +} +footer.entry-footer.wedocs-entry-footer .help-content { + flex: 1; + width: 40%; + padding: 20px; + background: white; + margin-left: 16px; + border-radius: 10px; + border: 1px solid #E9E9E9; +} +footer.entry-footer.wedocs-entry-footer .help-content .help-panel { + display: flex; + align-items: center; +} +footer.entry-footer.wedocs-entry-footer .help-content .help-panel .help-icon { + height: 56px; + padding: 15px; + margin-left: 16px; + background: #F1EAFF; + border-radius: 100%; +} +footer.entry-footer.wedocs-entry-footer .help-content .help-panel .wedocs-help-link a { + border-bottom: 1px dotted #C5C5C5; + text-decoration: none; +} +footer.entry-footer.wedocs-entry-footer .help-content .help-panel .wedocs-help-link a .wedocs-article-author { + display: none; +} +footer.entry-footer.wedocs-entry-footer .help-content .help-panel .wedocs-help-link a time { + font-weight: normal; + font-style: italic; +} +footer.entry-footer.wedocs-entry-footer .help-content .help-panel .wedocs-help-link a:hover { + text-decoration: none; + border-bottom: 1px dotted #999; +} +footer.entry-footer.wedocs-entry-footer .feedback-content { + width: 60%; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap { + text-align: center; + line-height: 72px; + font-size: 18px; + color: #4A6474; + border: 1px solid #E9E9E9; + border-radius: 10px; + background: white; + padding: 12px 20px; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap:before, +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap:after { + content: " "; + display: table; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap:after { + clear: both; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap .vote-link-wrap { + margin-right: 12px; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a { + text-decoration: none; + line-height: 150%; + border-radius: 10px; + padding: 5px 15px; + align-items: center; + display: inline-flex; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a .count { + background-color: #0E8A4F; + border-radius: 50%; + color: #fff; + width: 16px; + height: 16px; + font-size: 11px; + font-weight: normal; + text-align: center; + display: inline-block; + margin-right: 5px; + line-height: 150%; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a:hover { + text-decoration: none; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.positive { + font-weight: 500; + background: #3BB67B; + color: white !important; + border: 1px solid #26aa5e; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.positive:hover { + background-color: #229955; + color: #fff; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.positive:hover .count { + background: #166534; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.negative { + margin-left: 12px; + border: 1px solid #DBDBDB; + background: white; + color: #4A6474 !important; + font-weight: 500; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.negative .count { + background: #DBDBDB; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.negative:hover { + color: #fff !important; + background-color: #ef4444; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.negative:hover .count { + background: #b91c1c; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-alert { + border: 1px solid transparent; + margin-right: 24px; + line-height: 96px; + border-radius: 10px; + padding: 0 28px; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-alert.wedocs-alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-alert.wedocs-alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +footer.entry-footer.wedocs-entry-footer.on { + display: block; +} +footer.entry-footer.wedocs-entry-footer.on .help-content, +footer.entry-footer.wedocs-entry-footer.on .feedback-content { + width: 100%; +} +footer.entry-footer.wedocs-entry-footer.on .help-content .wedocs-feedback-wrap, +footer.entry-footer.wedocs-entry-footer.on .feedback-content .wedocs-feedback-wrap { + margin: 0; + margin-top: 18px; + text-align: center; +} +footer.entry-footer.wedocs-entry-footer.on .help-content .wedocs-alert, +footer.entry-footer.wedocs-entry-footer.on .feedback-content .wedocs-alert { + margin: 0; + margin-top: 24px; +} +footer.entry-footer.wedocs-entry-footer.on .help-content { + padding: 20px 30px; +} +footer.entry-footer.wedocs-entry-footer.on .help-content .help-icon { + margin-left: 25px; +} +footer.entry-footer.wedocs-entry-footer.on .help-content .help-button { + margin-right: auto; +} +footer.entry-footer.wedocs-entry-footer.on .help-content .help-button #wedocs-stuck-modal { + background: #3B82F6; + color: white !important; + font-weight: 600; + font-size: 18px; + text-decoration: none; + padding: 11px 21px; + border-radius: 10px; +} +.wedocs-modal-backdrop { + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + z-index: 9985; + background-color: #000; + opacity: 0.5; + display: none; +} +.wedocs-contact-modal { + position: fixed; + top: 10%; + right: 50%; + z-index: 9990; + width: 560px; + margin-right: -280px; + background-color: #fff; + border-radius: 3px; + outline: 0; + display: none; +} +.wedocs-contact-modal .wedocs-modal-close { + position: absolute; + display: block; + z-index: 9997; + top: 0; + left: 0; + text-decoration: none; + background: #eee; + padding: 5px 15px 5px 15px; + color: #666; + font-size: 15px; +} +.wedocs-contact-modal .wedocs-modal-close:hover { + color: #333; + background: #ccc; +} +.wedocs-contact-modal .wedocs-modal-header, +.wedocs-contact-modal .wedocs-modal-body { + padding: 0 50px; +} +.wedocs-contact-modal .wedocs-modal-header { + padding: 20px 0; + text-align: center; +} +.wedocs-contact-modal .wedocs-modal-header h3 { + margin-top: 0; + color: #111827; + font-weight: 800; + font-size: 2.25em; + line-height: 1.1111111; + margin-bottom: 0.8888889em; +} +.wedocs-contact-modal .wedocs-modal-body { + padding-bottom: 40px; +} +.wedocs-contact-modal .wedocs-modal-body .wedocs-alert { + text-align: center; +} +.wedocs-contact-modal .wedocs-modal-body #wedocs-modal-errors .wedocs-alert { + margin-bottom: 20px; +} +.wedocs-contact-modal .wedocs-modal-body .wedocs-form-row { + margin-bottom: 10px; +} +.wedocs-contact-modal .wedocs-modal-body .wedocs-form-row label { + padding-bottom: 5px; + display: block; +} +.wedocs-contact-modal .wedocs-modal-body .wedocs-form-action { + margin-top: 10px; +} +.wedocs-contact-modal input[type='text'], +.wedocs-contact-modal input[type='email'], +.wedocs-contact-modal textarea { + background: #f7f7f7; + background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); + border: 1px solid #d1d1d1; + border-radius: 2px; + color: #686868; + padding: 0.625em 0.4375em; + width: 100%; +} +.wedocs-contact-modal input[type='text']:focus, +.wedocs-contact-modal input[type='email']:focus, +.wedocs-contact-modal textarea:focus { + background-color: #fff; + border-color: #007acc; + color: #1a1a1a; + outline: 0; +} +.wedocs-contact-modal input[disabled] { + cursor: default; + opacity: 0.5; +} +.wedocs-icon-spin { + -webkit-animation: wedocs-spin 2s infinite linear; + animation: wedocs-spin 2s infinite linear; +} +@-webkit-keyframes wedocs-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(-359deg); + transform: rotate(-359deg); + } +} +@keyframes wedocs-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(-359deg); + transform: rotate(-359deg); + } +} +@media screen and (max-width: 1024px) { + .feedback-content .wedocs-feedback-wrap { + line-height: 46px; + } + .feedback-content .wedocs-feedback-wrap .vote-link-wrap { + display: block; + } +} +@media screen and (max-width: 768px) { + .wedocs-single-wrap { + display: flex; + } + .wedocs-single-wrap .wedocs-sidebar, + .wedocs-single-wrap .wedocs-single-content { + width: 100%; + } + .wedocs-single-wrap .wedocs-single-content { + padding-right: 0; + border-right: 0; + } + .wedocs-single-wrap .prose { + width: 100%; + max-width: 100%; + } + .wedocs-single-wrap .right-sidebar h3.widget-title strong { + font-size: 16px; + margin-right: 8px; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li, + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-2 > li { + width: 48%; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li:nth-child(3n+1) { + clear: none; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li:nth-child(2n+1) { + clear: both; + margin-left: 2%; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li:nth-child(2n+2) { + margin-left: 0; + } + footer.entry-footer.wedocs-entry-footer .help-content .wedocs-help-link { + font-size: 13px; + } + footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap { + line-height: 56px; + } + footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap .vote-link-wrap { + margin: 0; + } +} +@media screen and (max-width: 425px) { + .wedocs-hide-mobile { + display: none; + } + .wedocs-single-wrap { + display: block; + padding: 0 30px; + } + .wedocs-single-wrap .wedocs-single-content footer.entry-footer.wedocs-entry-footer time { + float: none; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li, + .wedocs-shortcode-wrap ul.wedocs-docs-list.col-2 > li { + width: 100%; + float: none; + margin-left: 0; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list .wedocs-docs-single { + padding: 26px 18px; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list .wedocs-docs-single .inside { + height: 240px; + } + .wedocs-shortcode-wrap ul.wedocs-docs-list .wedocs-docs-single .inside span { + font-size: 14px; + } + .wedocs-shortcode-wrap .wedocs-search-input .search-field { + height: 36px; + font-size: 11px; + padding: 10px 12px; + } + .wedocs-shortcode-wrap .wedocs-search-input .search-submit { + padding: 10px 14px; + } + .feedback-content { + width: 100% !important; + } + .feedback-content .wedocs-feedback-wrap { + font-size: 14px !important; + line-height: 40px !important; + } + .feedback-content .wedocs-feedback-wrap .vote-link-wrap { + display: block; + margin: 0; + } +} + diff --git a/assets/build/frontend.asset.php b/assets/build/frontend.asset.php index b0a7654c..0bf6b50f 100644 --- a/assets/build/frontend.asset.php +++ b/assets/build/frontend.asset.php @@ -1 +1 @@ - array(), 'version' => '9452b96fb7f339eb0d86'); + array(), 'version' => 'a96f5027a9e5ee10057c'); diff --git a/assets/build/frontend.css b/assets/build/frontend.css index cbf7fe6e..9c3653ac 100644 --- a/assets/build/frontend.css +++ b/assets/build/frontend.css @@ -1,3 +1,6 @@ +/*!************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js!./src/assets/less/frontend.less ***! + \************************************************************************************************************************/ @font-face { font-family: 'wedocs'; src: url(fonts/wedocs.0e4fd4b5.ttf) format('truetype'), url(fonts/wedocs.29ec52e7.woff) format('woff'), url(5f4138884ca3828fa2ff.svg) format('svg'); @@ -1217,3 +1220,5 @@ footer.entry-footer.wedocs-entry-footer.on .help-content .help-button #wedocs-st } } + +/*# sourceMappingURL=frontend.css.map*/ \ No newline at end of file diff --git a/assets/build/frontend.css.map b/assets/build/frontend.css.map new file mode 100644 index 00000000..0255df82 --- /dev/null +++ b/assets/build/frontend.css.map @@ -0,0 +1 @@ +{"version":3,"file":"frontend.css","mappings":";;;AAAA;EACI;EACA;EAEA;EACA;EACA;ACAJ;ADGA;;ECAE,+EAA+E;EDG7E;EACA;EACA;EACA;EACA;EACA;EACA;ECDF,sCAAsC;EDIpC;EACA;ACFJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ADKA;EACI;ACHJ;ACjEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ADmEJ;AC7EA;EAaQ;ADmER;AChFA;EAgBY;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AD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ACA;EACA;AAyUZ;AAlaA;EA8FQ;EACA;AAuUR;AAnUA;EACI;EACA;AAqUJ;AAlUA;EACI;IACI;IACA;EAoUN;EAlUE;IACI;IACA;EAoUN;AACF;AAlUA;EACI;IACI;IACA;EAoUN;EAlUE;IACI;IACA;EAoUN;AACF;AI/lCA;EACI;IAEQ;EJgmCV;EIlmCE;IAKY;EJgmCd;AACF;AI3lCA;EACI;IACI;EJ6lCN;EI9lCE;;IAKQ;EJ6lCV;EIlmCE;IASQ;IACA;EJ4lCV;EItmCE;IAcQ;IACA;EJ2lCV;EI1mCE;IAqBgB;IACA;EJwlClB;EIhlCU;;IAEI;EJklCd;EI/kCU;IACI;EJilCd;EI9kCU;IACI;IACA;EJglCd;EI7kCU;IACI;EJ+kCd;EIzkCE;IAGY;EJykCd;EI5kCE;IASY;EJskCd;EI/kCE;IAYgB;EJskClB;AACF;AIhkCA;EAEI;IACI;EJikCN;EI9jCE;IACI;IACA;EJgkCN;EIlkCE;IAOgB;EJ8jClB;EItjCU;;IAEI;IACA;IACA;EJwjCd;EI9jCE;IAUY;EJujCd;EIjkCE;IAagB;EJujClB;EIpkCE;IAgBoB;EJujCtB;EIvkCE;IAwBY;IACA;IACA;EJkjCd;EI5kCE;IA8BY;EJijCd;EI5iCE;IACI;EJ8iCN;EI/iCE;IAIQ;IACA;EJ8iCV;EInjCE;IAQY;IACA;EJ8iCd;AACF","sources":["webpack://weDocs/./src/assets/less/fonts.less","webpack://weDocs/./src/assets/less/frontend.less","webpack://weDocs/./src/assets/less/search-modal.less","webpack://weDocs/./src/assets/less/variables.less","webpack://weDocs/./src/assets/less/doc-article.less","webpack://weDocs/./src/assets/less/responsive.less"],"sourcesContent":["@font-face {\n font-family: 'wedocs';\n src: url('../../../assets/fonts/wedocs.ttf') format('truetype'), url('../../../assets/fonts/wedocs.woff') format('woff'),\n url('../../../assets/fonts/wedocs.svg') format('svg');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^='wedocs-icon-'],\n[class*=' wedocs-icon-'] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: 'wedocs' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.wedocs-icon-close:before {\n content: '\\f00d';\n}\n.wedocs-icon-remove:before {\n content: '\\f00d';\n}\n.wedocs-icon-times:before {\n content: '\\f00d';\n}\n.wedocs-icon-home:before {\n content: '\\f015';\n}\n.wedocs-icon-refresh:before {\n content: '\\f021';\n}\n.wedocs-icon-print:before {\n content: '\\f02f';\n}\n.wedocs-icon-folder-open:before {\n content: '\\f07c';\n}\n.wedocs-icon-envelope:before {\n content: '\\f0e0';\n}\n.wedocs-icon-file-text-o:before {\n content: '\\f0f6';\n}\n.wedocs-icon-angle-left:before {\n content: '\\f104';\n}\n.wedocs-icon-angle-right:before {\n content: '\\f105';\n}\n.wedocs-icon-angle-up:before {\n content: '\\f106';\n}\n.wedocs-icon-angle-down:before {\n content: '\\f107';\n}\n.wedocs-icon-smile-o:before {\n content: '\\f118';\n}\n.wedocs-icon-frown-o:before {\n content: '\\f119';\n}\n","@import 'src/assets/less/variables';\n@import 'src/assets/less/fonts';\n@import 'src/assets/less/search-modal.less';\n\nbody.single.single-docs .content-area {\n width: 100%;\n}\n\n.screen-reader-text {\n clip: rect(1px, 1px, 1px, 1px);\n overflow: hidden;\n position: absolute !important;\n height: 1px;\n width: 1px;\n}\n\n.wedocs-overflow-hidden {\n overflow: hidden;\n}\n\n.wedocs-single-wrap {\n width: 100%;\n display: -ms-flex;\n display: -webkit-flex;\n display: flex;\n .clearfix();\n\n .wedocs-sidebar {\n width: 25%;\n\n h3.widget-title {\n font-weight: bold;\n margin: 0 0 15px 0;\n }\n\n ul.doc-nav-list {\n padding: 0;\n list-style: none;\n margin: 0 12px 0 0;\n\n > li > a:before {\n content: '\\f07c';\n margin-right: 10px;\n font-family: 'wedocs';\n }\n\n li {\n &.wd-state-open > a > .wedocs-caret,\n &.wd-state-closed > a > .wedocs-caret {\n float: right;\n line-height: inherit;\n padding: 0 10px;\n border: 1px solid @borderColor;\n border-radius: 3px;\n color: @borderColor;\n\n &:hover {\n border-color: #000;\n color: #000;\n }\n\n &::before {\n font-family: 'wedocs' !important;\n }\n }\n\n &.wd-state-open > a > .wedocs-caret {\n &:before {\n content: '\\f106';\n }\n }\n\n &.wd-state-closed > a > .wedocs-caret {\n &:before {\n content: '\\f107';\n }\n }\n\n &.wd-state-closed ul.children {\n display: none;\n }\n\n a {\n display: flex;\n text-decoration: none;\n padding: 8px 10px 8px 20px;\n\n .wedocs-caret {\n margin-left: auto;\n align-self: center;\n }\n }\n\n ul.children {\n list-style: none;\n margin: 15px 0 15px 26px;\n padding: 0;\n border: none;\n border-left: 1px solid #ddd;\n\n a {\n color: #333333;\n font-weight: normal;\n }\n }\n\n &.current_page_item > a > .wedocs-caret,\n &.current_page_parent > a > .wedocs-caret {\n &:hover {\n border-color: #fff;\n color: #fff;\n }\n }\n }\n\n > li.current_page_parent,\n > li.current_page_item,\n > li.current_page_ancestor {\n > a {\n background: @mainColor;\n color: #fff;\n border-radius: 5px;\n\n .wedocs-caret {\n color: #fff;\n }\n }\n\n li.current_page_item > a {\n border-left: 2px solid @mainColor;\n color: #191919;\n font-weight: bold;\n }\n }\n\n .children {\n .tailwind {\n border-left: 1px solid rgb(6, 182, 212);\n }\n }\n\n .tailwind {\n .wedocs-caret {\n border-color: rgb(6, 182, 212);\n color: rgb(6, 182, 212);\n }\n }\n }\n }\n\n .wedocs-single-content {\n width: 75%;\n border-left: 1px solid @borderColor;\n padding-left: 25px;\n\n ol.wedocs-breadcrumb {\n text-wrap: pretty;\n margin-bottom: 30px;\n list-style: none;\n margin-left: 0;\n padding-left: 0;\n\n li {\n display: inline;\n\n &.delimiter {\n color: #999;\n margin: 0 2px;\n }\n }\n\n a {\n text-decoration: none;\n }\n }\n\n article {\n position: relative;\n\n @import 'src/assets/less/doc-article';\n }\n\n .wedocs-comments-wrap {\n overflow: hidden;\n position: relative;\n }\n }\n\n ul.doc-nav-list {\n > li > a.on {\n &:before {\n content: '\\f07c';\n margin-right: 10px;\n font-family: 'wedocs';\n }\n }\n }\n}\n\n.wedocs-doc-nav {\n .clearfix();\n\n width: 100%;\n border-top: 1px solid @borderColor;\n border-bottom: 1px solid @borderColor;\n margin: 20px 0 30px 0;\n padding: 25px 0;\n\n .nav-previous {\n float: left;\n width: 50%;\n }\n\n .nav-next {\n float: right;\n width: 50%;\n text-align: right;\n }\n}\n\n.wedocs-shortcode-wrap {\n .clearfix();\n\n .wedocs-search-input {\n width: 50%;\n display: flex;\n margin-left: auto;\n position: relative;\n margin-bottom: 4%;\n\n .search-field {\n margin: 0;\n width: 100%;\n height: 48px;\n font-size: 14px;\n background: white;\n padding: 14px 22px;\n border-radius: 100px;\n border: 1px solid #dbdbdb;\n\n &::placeholder {\n color: #C5C5C5;\n }\n\n &:focus {\n outline: none;\n box-shadow: none;\n border: 1px solid #dbdbdb;\n }\n }\n\n .search-submit {\n top: 0;\n right: 0;\n border: 0;\n margin: 0;\n height: 100%;\n display: flex;\n cursor: pointer;\n width: fit-content;\n padding: 14px 26px;\n position: absolute;\n align-items: center;\n border-radius: 100px;\n }\n }\n\n ul.wedocs-docs-list {\n .clearfix();\n margin: 0;\n padding: 0;\n list-style: none;\n width: 100%;\n\n li.wedocs-docs-single {\n margin: 0;\n margin-bottom: 4%;\n padding: 22px 30px;\n position: relative;\n border-radius: 10px;\n padding-bottom: 37px;\n box-sizing: border-box;\n border: 1px solid #e5e5e5;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n\n h3 {\n margin: 0;\n font-size: 24px;\n font-weight: 800;\n line-height: 1.4;\n margin-bottom: 16px;\n }\n\n .inside {\n height: 290px;\n overflow-y: scroll;\n\n span {\n display: flex;\n color: #063250;\n font-size: 18px;\n\n svg {\n width: 64px;\n height: 24px;\n margin: 2px 0.5rem 0 0;\n }\n }\n }\n\n .divider {\n margin-top: 20px;\n margin-bottom: 38px;\n }\n }\n\n ul.wedocs-doc-sections {\n margin: 0;\n padding: 0;\n list-style-type: none;\n\n > li {\n margin: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n > svg {\n width: 16px;\n cursor: pointer;\n margin-left: 10px;\n\n &.active {\n transform: rotate(180deg);\n }\n }\n }\n\n ul.children {\n margin: 6px 0;\n padding-left: 24px;\n\n > li {\n list-style: circle;\n line-height: 1.5;\n }\n\n &:not(.active) {\n display: none;\n }\n }\n }\n\n &.col-2 > li {\n float: left;\n width: 48%;\n\n &:nth-child(2n + 1) {\n clear: both;\n margin-right: 4%;\n }\n }\n\n &.col-3 > li {\n float: left;\n width: 31%;\n margin-right: 3%;\n\n &:nth-child(3n + 1) {\n clear: both;\n }\n\n &:nth-child(3n + 3) {\n margin-right: 0;\n }\n }\n }\n\n &.pro {\n ul.wedocs-search-input {\n background: #3B82F6;\n\n .search-field {\n &:focus {\n border-color: #3c82f6;\n }\n }\n }\n\n ul.wedocs-docs-list {\n li.wedocs-docs-single {\n h3 {\n a {\n text-decoration: none;\n\n &:not(:hover) {\n color: #000;\n }\n }\n }\n\n .wedocs-doc-link {\n display: inline-block;\n font-size: 16px;\n font-weight: 500;\n\n a {\n color: white;\n line-height: 30px;\n background: #3B82F6;\n border-radius: 10px;\n padding: 13.5px 20px;\n text-decoration: none;\n }\n }\n }\n }\n\n ul.wedocs-doc-sections {\n > li {\n a {\n display: flex;\n font-size: 18px;\n line-height: 1.5;\n text-decoration: none;\n\n &:not(:hover) {\n color: #063250;\n }\n\n &.icon-view:before {\n color: #ACB8C4;\n font-size: 16px;\n content: '\\f07c';\n margin-right: 18px;\n font-family: 'wedocs';\n }\n }\n }\n\n ul.children {\n > li {\n font-size: 16px;\n\n a {\n text-decoration: none;\n\n &:not(:hover) {\n color: #64748B;\n }\n }\n }\n\n &.has-icon {\n padding: 0;\n margin-left: 36px !important;\n }\n }\n }\n }\n}\n\nfooter.entry-footer.wedocs-entry-footer {\n .clearfix();\n\n display: flex;\n margin-top: 10px;\n align-items: center;\n margin-bottom: 30px;\n\n .help-content {\n flex: 1;\n width: 40%;\n padding: 20px;\n background: white;\n margin-right: 16px;\n border-radius: 10px;\n border: 1px solid #E9E9E9;\n\n .help-panel {\n display: flex;\n align-items: center;\n\n .help-icon {\n height: 56px;\n padding: 15px;\n margin-right: 16px;\n background: #F1EAFF;\n border-radius: 100%;\n }\n\n .wedocs-help-link a {\n border-bottom: 1px dotted #C5C5C5;\n text-decoration: none;\n\n .wedocs-article-author {\n display: none;\n }\n\n time {\n font-weight: normal;\n font-style: italic;\n }\n\n &:hover {\n text-decoration: none;\n border-bottom: 1px dotted #999;\n }\n }\n }\n }\n\n .feedback-content {\n width: 60%;\n\n .wedocs-feedback-wrap {\n .clearfix();\n\n text-align: center;\n line-height: 72px;\n font-size: 18px;\n color: #4A6474;\n border: 1px solid #E9E9E9;\n border-radius: 10px;\n background: white;\n padding: 12px 20px;\n\n .vote-link-wrap {\n margin-left: 12px;\n }\n\n a {\n text-decoration: none;\n line-height: 150%;\n border-radius: 10px;\n padding: 5px 15px;\n align-items: center;\n display: inline-flex;\n\n .count {\n background-color: #0E8A4F;\n border-radius: 50%;\n color: #fff;\n width: 16px;\n height: 16px;\n font-size: 11px;\n font-weight: normal;\n text-align: center;\n display: inline-block;\n margin-left: 5px;\n line-height: 150%;\n }\n\n &:hover {\n text-decoration: none;\n }\n }\n\n a.positive {\n font-weight: 500;\n background: #3BB67B;\n color: white !important;\n border: 1px solid darken(#27ae60, 1%);\n\n &:hover {\n background-color: darken(#27ae60, 5%);\n color: #fff;\n\n .count {\n background: #166534;\n }\n }\n }\n\n a.negative {\n margin-right: 12px;\n border: 1px solid #DBDBDB;\n background: white;\n color: #4A6474 !important;\n font-weight: 500;\n\n .count {\n background: #DBDBDB;\n }\n\n &:hover {\n color: #fff !important;\n background-color: #ef4444;\n\n .count {\n background: #b91c1c;\n }\n }\n }\n }\n\n .wedocs-alert {\n border: 1px solid transparent;\n margin-left: 24px;\n line-height: 96px;\n border-radius: 10px;\n padding: 0 28px;\n\n &.wedocs-alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n }\n\n &.wedocs-alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n }\n }\n }\n\n &.on {\n display: block;\n\n .help-content,\n .feedback-content {\n width: 100%;\n\n .wedocs-feedback-wrap {\n margin: 0;\n margin-top: 18px;\n text-align: center;\n }\n\n .wedocs-alert {\n margin: 0;\n margin-top: 24px;\n }\n }\n\n .help-content {\n padding: 20px 30px;\n\n .help-icon {\n margin-right: 25px;\n }\n\n .help-button {\n margin-left: auto;\n\n #wedocs-stuck-modal {\n background: #3B82F6;\n color: white !important;\n font-weight: 600;\n font-size: 18px;\n text-decoration: none;\n padding: 11px 21px;\n border-radius: 10px;\n }\n }\n }\n }\n}\n\n.wedocs-modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9985;\n background-color: #000;\n opacity: 0.5;\n display: none;\n}\n\n.wedocs-contact-modal {\n position: fixed;\n top: 10%;\n left: 50%;\n z-index: 9990;\n width: 560px;\n margin-left: -280px;\n background-color: #fff;\n border-radius: 3px;\n outline: 0;\n display: none;\n\n .wedocs-modal-close {\n position: absolute;\n display: block;\n z-index: 9997;\n top: 0;\n right: 0;\n text-decoration: none;\n background: #eee;\n padding: 5px 15px 5px 15px;\n color: #666;\n font-size: 15px;\n\n &:hover {\n color: #333;\n background: #ccc;\n }\n }\n\n .wedocs-modal-header,\n .wedocs-modal-body {\n padding: 0 50px;\n }\n\n .wedocs-modal-header {\n padding: 20px 0;\n text-align: center;\n\n h3 {\n margin-top: 0;\n color: #111827;\n font-weight: 800;\n font-size: 2.25em;\n line-height: 1.1111111;\n margin-bottom: 0.8888889em;\n }\n }\n\n .wedocs-modal-body {\n padding-bottom: 40px;\n\n .wedocs-alert {\n text-align: center;\n }\n\n #wedocs-modal-errors .wedocs-alert {\n margin-bottom: 20px;\n }\n\n .wedocs-form-row {\n margin-bottom: 10px;\n\n label {\n padding-bottom: 5px;\n display: block;\n }\n }\n\n .wedocs-form-action {\n margin-top: 10px;\n }\n }\n\n input[type='text'],\n input[type='email'],\n textarea {\n background: #f7f7f7;\n background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));\n border: 1px solid #d1d1d1;\n border-radius: 2px;\n color: #686868;\n padding: 0.625em 0.4375em;\n width: 100%;\n\n &:focus {\n background-color: #fff;\n border-color: #007acc;\n color: #1a1a1a;\n outline: 0;\n }\n }\n\n input[disabled] {\n cursor: default;\n opacity: 0.5;\n }\n}\n\n.wedocs-icon-spin {\n -webkit-animation: wedocs-spin 2s infinite linear;\n animation: wedocs-spin 2s infinite linear;\n}\n\n@-webkit-keyframes wedocs-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n@keyframes wedocs-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@import 'src/assets/less/responsive';\n","#wedocs-single-doc-search-modal {\n top: 0;\n left: 0;\n z-index: 200;\n width: 100vw;\n cursor: auto;\n display: none;\n height: 100vh;\n position: fixed;\n flex-direction: column;\n background-color: #0000004D;\n\n .doc-search-container {\n padding: 12vh;\n\n .doc-search-modal {\n width: 100%;\n display: flex;\n min-height: 0;\n margin: 0 auto;\n background: #F8FAFC;\n max-width: 47.375rem;\n border-radius: 0.5rem;\n flex-direction: column;\n box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;\n\n .modal-header {\n z-index: 1;\n flex: none;\n display: flex;\n position: relative;\n align-items: center;\n padding: 0 1rem;\n border-bottom: 1px solid #D9D9D9;\n\n .doc-search-form {\n min-width: 0;\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n\n .doc-search-magnifier-label {\n flex: none;\n display: flex;\n width: 1.5rem;\n height: 1.5rem;\n align-items: center;\n justify-content: center;\n }\n\n .doc-search-field {\n width: 100%;\n display: flex;\n position: relative;\n align-items: center;\n\n #doc-search-input {\n border: 0;\n flex: auto;\n min-width: 0;\n height: 3.5rem;\n color: #0f172a;\n font-size: 1rem;\n appearance: none;\n background: #0000;\n margin-right: 1rem;\n margin-left: 0.75rem;\n\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n\n .search-clean {\n width: 20px;\n right: 30px;\n height: 20px;\n display: none;\n cursor: pointer;\n position: absolute;\n }\n }\n }\n\n .doc-search-cancel {\n flex: none;\n display: flex;\n width: 1.75rem;\n height: 1.5rem;\n color: #334155;\n font-size: 10px;\n appearance: none;\n font-weight: 700;\n background: #fff;\n align-items: center;\n padding: 0.5rem 1rem;\n border-radius: 0.375rem;\n justify-content: center;\n border: 1px solid #d4dde6;\n }\n }\n\n .modal-body {\n .doc-search-dropdown-container {\n .doc-search-hits {\n padding: 1rem;\n overflow: scroll;\n max-height: 600px;\n text-align: center;\n color: rgb(148 163 184/1);\n\n .doc-empty-search {\n padding: 3rem 0;\n }\n\n #doc-search-list {\n gap: 10px;\n margin: 0;\n padding: 0;\n display: grid;\n list-style: none;\n\n .doc-search-hit {\n .doc-search-hit-result {\n padding: 1rem;\n display: block;\n position: relative;\n font-size: .875rem;\n border-radius: 0.5rem;\n text-decoration: none;\n background-color: #fff;\n box-shadow: 2px 0px 10px 0px #003F9E1A;\n\n .doc-search-hit-container {\n display: flex;\n align-items: center;\n\n .doc-search-hit-icon {\n width: 2.5rem;\n display: flex;\n height: 2.5rem;\n align-self: start;\n margin-right: 1rem;\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n //background-color: #D9EBFF;\n box-shadow: 0 0 #0000,0 0 0 calc(1px + 0px) #0f172a0d,0 1px 2px 0 #0000000d;\n }\n\n .doc-search-hit-content-wrapper {\n z-index: 1;\n flex: auto;\n max-width: 630px;\n\n hr {\n background: #E9E9E9;\n margin: .5rem 0 .75rem;\n }\n\n .doc-search-hit-title {\n color: #374151;\n overflow: hidden;\n font-weight: 600;\n text-align: left;\n line-height: 1.25rem;\n }\n\n .wd-docs-navigation {\n gap: 24px;\n display: flex;\n align-items: center;\n\n .parent-doc-nav,\n .section-doc-nav {\n gap: 10px;\n display: flex;\n color: #6B7280;\n text-align: left;\n font-weight: 600;\n align-items: center;\n\n .doc-search-hit-path {\n font-weight: 600;\n padding: 0 0.6rem;\n font-size: 0.75rem;\n //background: #EFF5FF;\n line-height: 1.5rem;\n border-radius: 999px;\n align-self: flex-start;\n }\n }\n }\n }\n }\n\n &:hover {\n //background: #3b82f6;\n\n .parent-doc-nav,\n .section-doc-nav,\n .doc-search-hit-title {\n color: #fff !important;\n }\n\n .doc-search-hit-path {\n color: #374151;\n }\n\n .doc-search-hit-icon,\n .doc-search-hit-path {\n background: #fff !important;\n }\n\n .doc-search-hit-select-icon {\n stroke: #fff;\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n\n &.active {\n display: flex;\n }\n}\n\n.wedocs-single-search-input {\n position: relative;\n margin: 0 0 15px 0;\n border-bottom: 1px solid @borderColor;\n\n .short-key,\n .search-field,\n .search-submit {\n border: 0;\n cursor: pointer;\n margin: 0 0 15px 0;\n }\n\n .search-field {\n width: 96%;\n height: 42px;\n font-size: 16px;\n background: white;\n border-radius: 8px;\n border: 1px solid #dbdbdb;\n padding: 10px 22px 10px 45px;\n\n &::placeholder {\n color: #6B7280;\n line-height: 1;\n }\n\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n\n .search-submit {\n top: 0;\n left: 0;\n position: absolute;\n padding: 11px 16px;\n background: transparent;\n }\n\n .short-key {\n top: 0;\n right: 12px;\n color: #9caabd;\n font-size: 14px;\n font-weight: 600;\n padding: 10px 16px;\n position: absolute;\n background: transparent;\n }\n}\n","@mainColor: #3B82F6;\n@borderColor: #eee;\n\n.clearfix() {\n &:before,\n &:after {\n content: \" \"; // 1\n display: table; // 2\n }\n\n &:after {\n clear: both;\n }\n}\n","\na.wedocs-print-article {\n position: absolute;\n right: 0;\n top: 0;\n color: #777;\n\n &:hover {\n color: #555;\n }\n}\n\n.entry-content {\n width: 100% !important;\n float: none !important;\n display: block;\n\n a.anchorjs-link {\n text-decoration: none;\n box-shadow: none !important;\n }\n\n img {\n max-width: 100%;\n border: 1px solid @borderColor;\n margin-top: 20px;\n margin-bottom: 30px;\n padding: 25px;\n height: auto;\n background: #F9F9F9;\n display: block;\n }\n\n pre {\n font-family: Monaco,Menlo,Consolas,\"Courier New\",monospace;\n display: block;\n padding: 8.5px;\n margin: 0 0 9px;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre;\n white-space: pre-wrap;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border: 1px solid rgba(0,0,0,.15);\n -webkit-border-radius: 4px;\n -moz-border-radius: 4px;\n border-radius: 4px;\n }\n\n dl {\n margin-bottom: 1em;\n\n dt {\n float: left;\n display: inline-block;\n font-weight: 400;\n text-align: center;\n padding: 4px 9px;\n margin-bottom: 1em;\n font-size: 18px;\n line-height: 1.2em;\n border-radius: 50px;\n color: #fff;\n background: #3197d1;\n vertical-align: baseline;\n white-space: nowrap;\n font-size: 15px;\n min-width: 9px;\n position: relative;\n top: 2px;\n }\n\n dd {\n padding-top: 3px;\n margin: 0 0 5px 45px;\n\n &:before,\n &:after {\n display: table;\n content: \"\";\n line-height: 0;\n }\n\n &:after {\n clear: both;\n }\n }\n }\n\n .wedocs-callout {\n border-left: 5px solid;\n color: #333;\n font-size: 14px;\n margin-bottom: 2em;\n padding: 16px 25px 16px 20px;\n background: #f1f1f1;\n border-color: #cfcfcf;\n\n &.callout-yellow {\n background: #fffcd5;\n border-color: #e7dca4;\n }\n\n &.callout-blue {\n background: #e8f4ff;\n border-color: #bed1e6;\n }\n\n &.callout-green {\n background: #e5fadc;\n border-color: #bbdaaf;\n }\n\n &.callout-red {\n background: #fde8e8;\n border-color: #e7aaaa;\n }\n\n }\n}\n\nfooter.entry-footer.wedocs-entry-footer {\n .clearfix();\n width: 100%;\n\n .help-icon,\n .help-button,\n .wedocs-article-author {\n display: none;\n }\n\n .wedocs-help-link a {\n border-bottom: 1px dotted #C5C5C5;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n border-bottom: 1px dotted #999;\n }\n }\n\n time {\n font-weight: normal;\n font-style: italic;\n }\n}\n","@media screen and (max-width: 1024px) {\n .feedback-content {\n .wedocs-feedback-wrap {\n line-height: 46px;\n\n .vote-link-wrap {\n display: block;\n }\n }\n }\n}\n\n@media screen and (max-width: 768px) {\n .wedocs-single-wrap {\n display: flex;\n\n .wedocs-sidebar,\n .wedocs-single-content {\n width: 100%;\n }\n\n .wedocs-single-content {\n padding-left: 0;\n border-left: 0;\n }\n\n .prose {\n width: 100%;\n max-width: 100%;\n }\n\n .right-sidebar {\n h3.widget-title {\n strong {\n font-size: 16px;\n margin-left: 8px;\n }\n }\n }\n }\n\n .wedocs-shortcode-wrap {\n ul.wedocs-docs-list {\n &.col-3 > li,\n &.col-2 > li {\n width: 48%;\n }\n\n &.col-3 > li:nth-child(3n+1) {\n clear: none;\n }\n\n &.col-3 > li:nth-child(2n+1) {\n clear: both;\n margin-right: 2%;\n }\n\n &.col-3 > li:nth-child(2n+2) {\n margin-right: 0;\n }\n\n }\n }\n\n footer.entry-footer.wedocs-entry-footer {\n .help-content {\n .wedocs-help-link {\n font-size: 13px;\n }\n }\n\n .feedback-content {\n .wedocs-feedback-wrap {\n line-height: 56px;\n\n .vote-link-wrap {\n margin: 0;\n }\n }\n }\n }\n}\n\n@media screen and (max-width: 425px) {\n\n .wedocs-hide-mobile {\n display: none;\n }\n\n .wedocs-single-wrap {\n display: block;\n padding: 0 30px;\n\n .wedocs-single-content {\n footer.entry-footer.wedocs-entry-footer {\n time {\n float: none;\n }\n }\n }\n }\n\n .wedocs-shortcode-wrap {\n ul.wedocs-docs-list {\n &.col-3 > li,\n &.col-2 > li {\n width: 100%;\n float: none;\n margin-right: 0;\n }\n\n .wedocs-docs-single {\n padding: 26px 18px;\n\n .inside {\n height: 240px;\n\n span {\n font-size: 14px;\n }\n }\n }\n }\n\n .wedocs-search-input {\n .search-field {\n height: 36px;\n font-size: 11px;\n padding: 10px 12px;\n }\n\n .search-submit {\n padding: 10px 14px;\n }\n }\n }\n\n .feedback-content {\n width: 100% !important;\n\n .wedocs-feedback-wrap {\n font-size: 14px !important;\n line-height: 40px !important;\n\n .vote-link-wrap {\n display: block;\n margin: 0;\n }\n }\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/frontend.js b/assets/build/frontend.js index e69de29b..d59e973c 100644 --- a/assets/build/frontend.js +++ b/assets/build/frontend.js @@ -0,0 +1,28 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ // The require scope +/******/ var __webpack_require__ = {}; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +/*!***************************************!*\ + !*** ./src/assets/less/frontend.less ***! + \***************************************/ +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + +/******/ })() +; +//# sourceMappingURL=frontend.js.map \ No newline at end of file diff --git a/assets/build/frontend.js.map b/assets/build/frontend.js.map new file mode 100644 index 00000000..b65e9d05 --- /dev/null +++ b/assets/build/frontend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"frontend.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;ACNA","sources":["webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/./src/assets/less/frontend.less?1fe0"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/index-rtl.css b/assets/build/index-rtl.css new file mode 100644 index 00000000..584f31ee --- /dev/null +++ b/assets/build/index-rtl.css @@ -0,0 +1,6004 @@ +/*!******************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/assets/css/index.css ***! + \******************************************************************************************************************************************************************************/ +*, ::before, ::after { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +}/* +! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com +*//* +1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) +2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) +*/ + +*, +::before, +::after { + box-sizing: border-box; /* 1 */ + border-width: 0; /* 2 */ + border-style: solid; /* 2 */ + border-color: #e5e7eb; /* 2 */ +} + +::before, +::after { + --tw-content: ''; +} + +/* +1. Use a consistent sensible line-height in all browsers. +2. Prevent adjustments of font size after orientation changes in iOS. +3. Use a more readable tab size. +4. Use the user's configured `sans` font-family by default. +5. Use the user's configured `sans` font-feature-settings by default. +6. Use the user's configured `sans` font-variation-settings by default. +7. Disable tap highlights on iOS +*/ + +html, +:host { + line-height: 1.5; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + -moz-tab-size: 4; /* 3 */ + -o-tab-size: 4; + tab-size: 4; /* 3 */ + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ + font-feature-settings: normal; /* 5 */ + font-variation-settings: normal; /* 6 */ + -webkit-tap-highlight-color: transparent; /* 7 */ +} + +/* +1. Remove the margin in all browsers. +2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. +*/ + +body { + margin: 0; /* 1 */ + line-height: inherit; /* 2 */ +} + +/* +1. Add the correct height in Firefox. +2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) +3. Ensure horizontal rules are visible by default. +*/ + +hr { + height: 0; /* 1 */ + color: inherit; /* 2 */ + border-top-width: 1px; /* 3 */ +} + +/* +Add the correct text decoration in Chrome, Edge, and Safari. +*/ + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; +} + +/* +Remove the default font size and weight for headings. +*/ + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: inherit; +} + +/* +Reset links to optimize for opt-in styling instead of opt-out. +*/ + +a { + color: inherit; + text-decoration: inherit; +} + +/* +Add the correct font weight in Edge and Safari. +*/ + +b, +strong { + font-weight: bolder; +} + +/* +1. Use the user's configured `mono` font-family by default. +2. Use the user's configured `mono` font-feature-settings by default. +3. Use the user's configured `mono` font-variation-settings by default. +4. Correct the odd `em` font sizing in all browsers. +*/ + +code, +kbd, +samp, +pre { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ + font-feature-settings: normal; /* 2 */ + font-variation-settings: normal; /* 3 */ + font-size: 1em; /* 4 */ +} + +/* +Add the correct font size in all browsers. +*/ + +small { + font-size: 80%; +} + +/* +Prevent `sub` and `sup` elements from affecting the line height in all browsers. +*/ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* +1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) +2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) +3. Remove gaps between table borders by default. +*/ + +table { + text-indent: 0; /* 1 */ + border-color: inherit; /* 2 */ + border-collapse: collapse; /* 3 */ +} + +/* +1. Change the font styles in all browsers. +2. Remove the margin in Firefox and Safari. +3. Remove default padding in all browsers. +*/ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-feature-settings: inherit; /* 1 */ + font-variation-settings: inherit; /* 1 */ + font-size: 100%; /* 1 */ + font-weight: inherit; /* 1 */ + line-height: inherit; /* 1 */ + letter-spacing: inherit; /* 1 */ + color: inherit; /* 1 */ + margin: 0; /* 2 */ + padding: 0; /* 3 */ +} + +/* +Remove the inheritance of text transform in Edge and Firefox. +*/ + +button, +select { + text-transform: none; +} + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Remove default button styles. +*/ + +button, +input:where([type='button']), +input:where([type='reset']), +input:where([type='submit']) { + -webkit-appearance: button; /* 1 */ + background-color: transparent; /* 2 */ + background-image: none; /* 2 */ +} + +/* +Use the modern Firefox focus style for all focusable elements. +*/ + +:-moz-focusring { + outline: auto; +} + +/* +Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) +*/ + +:-moz-ui-invalid { + box-shadow: none; +} + +/* +Add the correct vertical alignment in Chrome and Firefox. +*/ + +progress { + vertical-align: baseline; +} + +/* +Correct the cursor style of increment and decrement buttons in Safari. +*/ + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto; +} + +/* +1. Correct the odd appearance in Chrome and Safari. +2. Correct the outline style in Safari. +*/ + +[type='search'] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/* +Remove the inner padding in Chrome and Safari on macOS. +*/ + +::-webkit-search-decoration { + -webkit-appearance: none; +} + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Change font properties to `inherit` in Safari. +*/ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* +Add the correct display in Chrome and Safari. +*/ + +summary { + display: list-item; +} + +/* +Removes the default spacing and border for appropriate elements. +*/ + +blockquote, +dl, +dd, +h1, +h2, +h3, +h4, +h5, +h6, +hr, +figure, +p, +pre { + margin: 0; +} + +fieldset { + margin: 0; + padding: 0; +} + +legend { + padding: 0; +} + +ol, +ul, +menu { + list-style: none; + margin: 0; + padding: 0; +} + +/* +Reset default styling for dialogs. +*/ +dialog { + padding: 0; +} + +/* +Prevent resizing textareas horizontally by default. +*/ + +textarea { + resize: vertical; +} + +/* +1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) +2. Set the default placeholder color to the user's configured gray 400 color. +*/ + +input::-moz-placeholder, textarea::-moz-placeholder { + opacity: 1; /* 1 */ + color: #9ca3af; /* 2 */ +} + +input::placeholder, +textarea::placeholder { + opacity: 1; /* 1 */ + color: #9ca3af; /* 2 */ +} + +/* +Set the default cursor for buttons. +*/ + +button, +[role="button"] { + cursor: pointer; +} + +/* +Make sure disabled buttons don't get the pointer cursor. +*/ +:disabled { + cursor: default; +} + +/* +1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) +2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) + This can trigger a poorly considered lint error in some tools but is included by design. +*/ + +img, +svg, +video, +canvas, +audio, +iframe, +embed, +object { + display: block; /* 1 */ + vertical-align: middle; /* 2 */ +} + +/* +Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) +*/ + +img, +video { + max-width: 100%; + height: auto; +} + +/* Make elements with the HTML hidden attribute stay hidden by default */ +[hidden]:where(:not([hidden="until-found"])) { + display: none; +} + +:root, +[data-theme] { + background-color: hsla(var(--b1) / var(--tw-bg-opacity, 1)); + color: hsla(var(--bc) / var(--tw-text-opacity, 1)); +} + +html { + -webkit-tap-highlight-color: transparent; +} + +:root { + color-scheme: light; + --pf: 258.89 94.378% 40.941%; + --sf: 314 100% 37.647%; + --af: 174 60% 40.784%; + --nf: 219 14.085% 22.275%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 258.89 94.378% 51.176%; + --pc: 0 0% 100%; + --s: 314 100% 47.059%; + --sc: 0 0% 100%; + --a: 174 60% 50.98%; + --ac: 174.71 43.59% 15.294%; + --n: 219 14.085% 27.843%; + --nc: 0 0% 100%; + --b1: 0 0% 100%; + --b2: 0 0% 94.902%; + --b3: 180 1.9608% 90%; + --bc: 215 27.907% 16.863%; +} + +@media (prefers-color-scheme: dark) { + + :root { + color-scheme: dark; + --pf: 262.35 80.315% 40.157%; + --sf: 315.75 70.196% 40%; + --af: 174.69 70.335% 32.784%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 262.35 80.315% 50.196%; + --pc: 0 0% 100%; + --s: 315.75 70.196% 50%; + --sc: 0 0% 100%; + --a: 174.69 70.335% 40.98%; + --ac: 0 0% 100%; + --n: 218.18 18.033% 11.961%; + --nf: 222.86 17.073% 8.0392%; + --nc: 220 13.376% 69.216%; + --b1: 220 17.647% 20%; + --b2: 220 17.241% 17.059%; + --b3: 218.57 17.949% 15.294%; + --bc: 220 13.376% 69.216%; + } +} + +[data-theme=light] { + color-scheme: light; + --pf: 258.89 94.378% 40.941%; + --sf: 314 100% 37.647%; + --af: 174 60% 40.784%; + --nf: 219 14.085% 22.275%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 258.89 94.378% 51.176%; + --pc: 0 0% 100%; + --s: 314 100% 47.059%; + --sc: 0 0% 100%; + --a: 174 60% 50.98%; + --ac: 174.71 43.59% 15.294%; + --n: 219 14.085% 27.843%; + --nc: 0 0% 100%; + --b1: 0 0% 100%; + --b2: 0 0% 94.902%; + --b3: 180 1.9608% 90%; + --bc: 215 27.907% 16.863%; +} + +[data-theme=dark] { + color-scheme: dark; + --pf: 262.35 80.315% 40.157%; + --sf: 315.75 70.196% 40%; + --af: 174.69 70.335% 32.784%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 262.35 80.315% 50.196%; + --pc: 0 0% 100%; + --s: 315.75 70.196% 50%; + --sc: 0 0% 100%; + --a: 174.69 70.335% 40.98%; + --ac: 0 0% 100%; + --n: 218.18 18.033% 11.961%; + --nf: 222.86 17.073% 8.0392%; + --nc: 220 13.376% 69.216%; + --b1: 220 17.647% 20%; + --b2: 220 17.241% 17.059%; + --b3: 218.57 17.949% 15.294%; + --bc: 220 13.376% 69.216%; +} + +[data-theme=cupcake] { + color-scheme: light; + --pf: 183.03 47.368% 47.216%; + --sf: 338.25 71.429% 62.431%; + --af: 39 84.112% 46.431%; + --nf: 280 46.479% 11.137%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --pc: 183.03 100% 11.804%; + --sc: 338.25 100% 15.608%; + --ac: 39 100% 11.608%; + --nc: 280 82.688% 82.784%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --p: 183.03 47.368% 59.02%; + --s: 338.25 71.429% 78.039%; + --a: 39 84.112% 58.039%; + --n: 280 46.479% 13.922%; + --b1: 24 33.333% 97.059%; + --b2: 26.667 21.951% 91.961%; + --b3: 22.5 14.286% 89.02%; + --bc: 280 46.479% 13.922%; + --rounded-btn: 1.9rem; + --tab-border: 2px; + --tab-radius: .5rem; +} + +[data-theme=bumblebee] { + color-scheme: light; + --pf: 41.124 74.167% 42.353%; + --sf: 49.901 94.393% 46.431%; + --af: 240 33.333% 11.294%; + --nf: 240 33.333% 11.294%; + --b2: 0 0% 90%; + --b3: 0 0% 81%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --bc: 0 0% 20%; + --ac: 240 60.274% 82.824%; + --nc: 240 60.274% 82.824%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 41.124 74.167% 52.941%; + --pc: 240 33.333% 14.118%; + --s: 49.901 94.393% 58.039%; + --sc: 240 33.333% 14.118%; + --a: 240 33.333% 14.118%; + --n: 240 33.333% 14.118%; + --b1: 0 0% 100%; +} + +[data-theme=emerald] { + color-scheme: light; + --pf: 141.18 50% 48%; + --sf: 218.88 96.078% 48%; + --af: 9.8901 81.25% 44.863%; + --nf: 219.23 20.312% 20.078%; + --b2: 0 0% 90%; + --b3: 0 0% 81%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --btn-text-case: uppercase; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 141.18 50% 60%; + --pc: 151.11 28.421% 18.627%; + --s: 218.88 96.078% 60%; + --sc: 210 20% 98.039%; + --a: 9.8901 81.25% 56.078%; + --ac: 210 20% 98.039%; + --n: 219.23 20.312% 25.098%; + --nc: 210 20% 98.039%; + --b1: 0 0% 100%; + --bc: 219.23 20.312% 25.098%; + --animation-btn: 0; + --animation-input: 0; + --btn-focus-scale: 1; +} + +[data-theme=corporate] { + color-scheme: light; + --pf: 229.09 95.652% 51.137%; + --sf: 214.91 26.316% 47.216%; + --af: 154.2 49.02% 48%; + --nf: 233.33 27.273% 10.353%; + --b2: 0 0% 90%; + --b3: 0 0% 81%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --pc: 229.09 100% 92.784%; + --sc: 214.91 100% 11.804%; + --ac: 154.2 100% 12%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --btn-text-case: uppercase; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 229.09 95.652% 63.922%; + --s: 214.91 26.316% 59.02%; + --a: 154.2 49.02% 60%; + --n: 233.33 27.273% 12.941%; + --nc: 210 38.462% 94.902%; + --b1: 0 0% 100%; + --bc: 233.33 27.273% 12.941%; + --rounded-box: 0.25rem; + --rounded-btn: .125rem; + --rounded-badge: .125rem; + --animation-btn: 0; + --animation-input: 0; + --btn-focus-scale: 1; +} + +[data-theme=synthwave] { + color-scheme: dark; + --pf: 320.73 69.62% 55.216%; + --sf: 197.03 86.592% 51.922%; + --af: 48 89.041% 45.647%; + --nf: 253.22 60.825% 15.216%; + --b2: 253.85 59.091% 23.294%; + --b3: 253.85 59.091% 20.965%; + --pc: 320.73 100% 13.804%; + --sc: 197.03 100% 12.98%; + --ac: 48 100% 11.412%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 320.73 69.62% 69.02%; + --s: 197.03 86.592% 64.902%; + --a: 48 89.041% 57.059%; + --n: 253.22 60.825% 19.02%; + --nc: 260 60% 98.039%; + --b1: 253.85 59.091% 25.882%; + --bc: 260 60% 98.039%; + --in: 199.13 86.957% 63.922%; + --inc: 257.45 63.218% 17.059%; + --su: 168.1 74.233% 68.039%; + --suc: 257.45 63.218% 17.059%; + --wa: 48 89.041% 57.059%; + --wac: 257.45 63.218% 17.059%; + --er: 351.85 73.636% 56.863%; + --erc: 260 60% 98.039%; +} + +[data-theme=retro] { + color-scheme: light; + --pf: 2.6667 73.77% 60.863%; + --sf: 144.62 27.273% 57.569%; + --af: 49.024 67.213% 60.863%; + --nf: 41.667 16.822% 33.569%; + --inc: 221.21 100% 90.667%; + --suc: 142.13 100% 87.255%; + --wac: 32.133 100% 8.7451%; + --erc: 0 100% 90.118%; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 2.6667 73.77% 76.078%; + --pc: 345 5.2632% 14.902%; + --s: 144.62 27.273% 71.961%; + --sc: 345 5.2632% 14.902%; + --a: 49.024 67.213% 76.078%; + --ac: 345 5.2632% 14.902%; + --n: 41.667 16.822% 41.961%; + --nc: 45 47.059% 80%; + --b1: 45 47.059% 80%; + --b2: 45.283 37.063% 71.961%; + --b3: 42.188 35.955% 65.098%; + --bc: 345 5.2632% 14.902%; + --in: 221.21 83.193% 53.333%; + --su: 142.13 76.216% 36.275%; + --wa: 32.133 94.619% 43.725%; + --er: 0 72.222% 50.588%; + --rounded-box: 0.4rem; + --rounded-btn: 0.4rem; + --rounded-badge: 0.4rem; +} + +[data-theme=cyberpunk] { + color-scheme: light; + --pf: 344.78 100% 58.353%; + --sf: 195.12 80.392% 56%; + --af: 276 74.324% 56.784%; + --nf: 57.273 100% 10.353%; + --b2: 56 100% 45%; + --b3: 56 100% 40.5%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --bc: 56 100% 10%; + --pc: 344.78 100% 14.588%; + --sc: 195.12 100% 14%; + --ac: 276 100% 14.196%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace; + --p: 344.78 100% 72.941%; + --s: 195.12 80.392% 70%; + --a: 276 74.324% 70.98%; + --n: 57.273 100% 12.941%; + --nc: 56 100% 50%; + --b1: 56 100% 50%; + --rounded-box: 0; + --rounded-btn: 0; + --rounded-badge: 0; + --tab-radius: 0; +} + +[data-theme=valentine] { + color-scheme: light; + --pf: 353.23 73.81% 53.647%; + --sf: 254.12 86.441% 61.49%; + --af: 181.41 55.556% 56%; + --nf: 336 42.857% 38.431%; + --b2: 318.46 46.429% 80.118%; + --b3: 318.46 46.429% 72.106%; + --pc: 353.23 100% 13.412%; + --sc: 254.12 100% 15.373%; + --ac: 181.41 100% 14%; + --inc: 221.21 100% 90.667%; + --suc: 142.13 100% 87.255%; + --wac: 32.133 100% 8.7451%; + --erc: 0 100% 90.118%; + --rounded-box: 1rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 353.23 73.81% 67.059%; + --s: 254.12 86.441% 76.863%; + --a: 181.41 55.556% 70%; + --n: 336 42.857% 48.039%; + --nc: 318.46 46.429% 89.02%; + --b1: 318.46 46.429% 89.02%; + --bc: 343.64 38.462% 28.039%; + --in: 221.21 83.193% 53.333%; + --su: 142.13 76.216% 36.275%; + --wa: 32.133 94.619% 43.725%; + --er: 0 72.222% 50.588%; + --rounded-btn: 1.9rem; +} + +[data-theme=halloween] { + color-scheme: dark; + --pf: 31.927 89.344% 41.725%; + --sf: 271.22 45.794% 33.569%; + --af: 91.071 100% 26.353%; + --nf: 180 3.5714% 8.7843%; + --b2: 0 0% 11.647%; + --b3: 0 0% 10.482%; + --bc: 0 0% 82.588%; + --sc: 271.22 100% 88.392%; + --ac: 91.071 100% 6.5882%; + --nc: 180 4.8458% 82.196%; + --inc: 221.21 100% 90.667%; + --suc: 142.13 100% 87.255%; + --wac: 32.133 100% 8.7451%; + --erc: 0 100% 90.118%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 31.927 89.344% 52.157%; + --pc: 180 7.3171% 8.0392%; + --s: 271.22 45.794% 41.961%; + --a: 91.071 100% 32.941%; + --n: 180 3.5714% 10.98%; + --b1: 0 0% 12.941%; + --in: 221.21 83.193% 53.333%; + --su: 142.13 76.216% 36.275%; + --wa: 32.133 94.619% 43.725%; + --er: 0 72.222% 50.588%; +} + +[data-theme=garden] { + color-scheme: light; + --pf: 138.86 15.982% 34.353%; + --sf: 96.923 37.143% 74.51%; + --af: 0 67.742% 75.137%; + --nf: 0 3.9106% 28.078%; + --b2: 0 4.3478% 81.882%; + --b3: 0 4.3478% 73.694%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --pc: 138.86 100% 88.588%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 138.86 15.982% 42.941%; + --s: 96.923 37.143% 93.137%; + --sc: 96 32.468% 15.098%; + --a: 0 67.742% 93.922%; + --ac: 0 21.951% 16.078%; + --n: 0 3.9106% 35.098%; + --nc: 0 4.3478% 90.98%; + --b1: 0 4.3478% 90.98%; + --bc: 0 3.2258% 6.0784%; +} + +[data-theme=forest] { + color-scheme: dark; + --pf: 141.04 71.963% 33.569%; + --sf: 140.98 74.694% 38.431%; + --af: 35.148 68.98% 41.569%; + --nf: 0 9.6774% 4.8627%; + --b2: 0 12.195% 7.2353%; + --b3: 0 12.195% 6.5118%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --bc: 0 11.727% 81.608%; + --sc: 140.98 100% 9.6078%; + --ac: 35.148 100% 10.392%; + --nc: 0 6.8894% 81.216%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 141.04 71.963% 41.961%; + --pc: 140.66 100% 88.039%; + --s: 140.98 74.694% 48.039%; + --a: 35.148 68.98% 51.961%; + --n: 0 9.6774% 6.0784%; + --b1: 0 12.195% 8.0392%; + --rounded-btn: 1.9rem; +} + +[data-theme=aqua] { + color-scheme: dark; + --pf: 181.79 92.857% 39.529%; + --sf: 274.41 30.909% 45.49%; + --af: 47.059 100% 64%; + --nf: 205.4 53.725% 40%; + --b2: 218.61 52.511% 38.647%; + --b3: 218.61 52.511% 34.782%; + --bc: 218.61 100% 88.588%; + --sc: 274.41 100% 91.373%; + --ac: 47.059 100% 16%; + --nc: 205.4 100% 90%; + --inc: 221.21 100% 90.667%; + --suc: 142.13 100% 87.255%; + --wac: 32.133 100% 8.7451%; + --erc: 0 100% 90.118%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 181.79 92.857% 49.412%; + --pc: 181.41 100% 16.667%; + --s: 274.41 30.909% 56.863%; + --a: 47.059 100% 80%; + --n: 205.4 53.725% 50%; + --b1: 218.61 52.511% 42.941%; + --in: 221.21 83.193% 53.333%; + --su: 142.13 76.216% 36.275%; + --wa: 32.133 94.619% 43.725%; + --er: 0 72.222% 50.588%; +} + +[data-theme=lofi] { + color-scheme: light; + --pf: 0 0% 4.0784%; + --sf: 0 1.9608% 8%; + --af: 0 0% 11.922%; + --nf: 0 0% 0%; + --btn-text-case: uppercase; + --border-btn: 1px; + --tab-border: 1px; + --p: 0 0% 5.098%; + --pc: 0 0% 100%; + --s: 0 1.9608% 10%; + --sc: 0 0% 100%; + --a: 0 0% 14.902%; + --ac: 0 0% 100%; + --n: 0 0% 0%; + --nc: 0 0% 100%; + --b1: 0 0% 100%; + --b2: 0 0% 94.902%; + --b3: 0 1.9608% 90%; + --bc: 0 0% 0%; + --in: 212.35 100% 47.647%; + --inc: 0 0% 100%; + --su: 136.84 72.152% 46.471%; + --suc: 0 0% 100%; + --wa: 4.5614 100% 66.471%; + --wac: 0 0% 100%; + --er: 325.05 77.6% 49.02%; + --erc: 0 0% 100%; + --rounded-box: 0.25rem; + --rounded-btn: 0.125rem; + --rounded-badge: 0.125rem; + --animation-btn: 0; + --animation-input: 0; + --btn-focus-scale: 1; + --tab-radius: 0; +} + +[data-theme=pastel] { + color-scheme: light; + --pf: 283.64 21.569% 64%; + --sf: 351.63 70.492% 70.431%; + --af: 158.49 54.639% 64.784%; + --nf: 198.62 43.719% 48.784%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --bc: 0 0% 20%; + --pc: 283.64 59.314% 16%; + --sc: 351.63 100% 17.608%; + --ac: 158.49 100% 16.196%; + --nc: 198.62 100% 12.196%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 283.64 21.569% 80%; + --s: 351.63 70.492% 88.039%; + --a: 158.49 54.639% 80.98%; + --n: 198.62 43.719% 60.98%; + --b1: 0 0% 100%; + --b2: 210 20% 98.039%; + --b3: 216 12.195% 83.922%; + --rounded-btn: 1.9rem; +} + +[data-theme=fantasy] { + color-scheme: light; + --pf: 296.04 82.813% 20.078%; + --sf: 200 100% 29.647%; + --af: 30.894 94.378% 40.941%; + --nf: 215 27.907% 13.49%; + --b2: 0 0% 90%; + --b3: 0 0% 81%; + --in: 198 93% 60%; + --su: 158 64% 52%; + --wa: 43 96% 56%; + --er: 0 91% 71%; + --pc: 296.04 100% 85.02%; + --sc: 200 100% 87.412%; + --ac: 30.894 100% 10.235%; + --nc: 215 62.264% 83.373%; + --inc: 198 100% 12%; + --suc: 158 100% 10%; + --wac: 43 100% 11%; + --erc: 0 100% 14%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 296.04 82.813% 25.098%; + --s: 200 100% 37.059%; + --a: 30.894 94.378% 51.176%; + --n: 215 27.907% 16.863%; + --b1: 0 0% 100%; + --bc: 215 27.907% 16.863%; +} + +[data-theme=wireframe] { + color-scheme: light; + --pf: 0 0% 57.725%; + --sf: 0 0% 57.725%; + --af: 0 0% 57.725%; + --nf: 0 0% 73.725%; + --bc: 0 0% 20%; + --pc: 0 0% 14.431%; + --sc: 0 0% 14.431%; + --ac: 0 0% 14.431%; + --nc: 0 0% 18.431%; + --inc: 240 100% 90%; + --suc: 120 100% 85.02%; + --wac: 60 100% 10%; + --erc: 0 100% 90%; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + font-family: Chalkboard,comic sans ms,"sanssecondaryerif"; + --p: 0 0% 72.157%; + --s: 0 0% 72.157%; + --a: 0 0% 72.157%; + --n: 0 0% 92.157%; + --b1: 0 0% 100%; + --b2: 0 0% 93.333%; + --b3: 0 0% 86.667%; + --in: 240 100% 50%; + --su: 120 100% 25.098%; + --wa: 60 30.196% 50%; + --er: 0 100% 50%; + --rounded-box: 0.2rem; + --rounded-btn: 0.2rem; + --rounded-badge: 0.2rem; + --tab-radius: 0.2rem; +} + +[data-theme=black] { + color-scheme: dark; + --pf: 0 1.9608% 16%; + --sf: 0 1.9608% 16%; + --af: 0 1.9608% 16%; + --bc: 0 0% 80%; + --pc: 0 5.3922% 84%; + --sc: 0 5.3922% 84%; + --ac: 0 5.3922% 84%; + --nc: 0 2.5404% 83.02%; + --inc: 240 100% 90%; + --suc: 120 100% 85.02%; + --wac: 60 100% 10%; + --erc: 0 100% 90%; + --border-btn: 1px; + --tab-border: 1px; + --p: 0 1.9608% 20%; + --s: 0 1.9608% 20%; + --a: 0 1.9608% 20%; + --b1: 0 0% 0%; + --b2: 0 0% 5.098%; + --b3: 0 1.9608% 10%; + --n: 0 1.2987% 15.098%; + --nf: 0 1.9608% 20%; + --in: 240 100% 50%; + --su: 120 100% 25.098%; + --wa: 60 100% 50%; + --er: 0 100% 50%; + --rounded-box: 0; + --rounded-btn: 0; + --rounded-badge: 0; + --animation-btn: 0; + --animation-input: 0; + --btn-text-case: lowercase; + --btn-focus-scale: 1; + --tab-radius: 0; +} + +[data-theme=luxury] { + color-scheme: dark; + --pf: 0 0% 80%; + --sf: 218.4 54.348% 14.431%; + --af: 318.62 21.805% 20.863%; + --nf: 270 4.3478% 7.2157%; + --pc: 0 0% 20%; + --sc: 218.4 100% 83.608%; + --ac: 318.62 84.615% 85.216%; + --inc: 202.35 100% 14%; + --suc: 89.007 100% 10.392%; + --wac: 53.906 100% 12.706%; + --erc: 0 100% 14.353%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 0 0% 100%; + --s: 218.4 54.348% 18.039%; + --a: 318.62 21.805% 26.078%; + --n: 270 4.3478% 9.0196%; + --nc: 37.083 67.29% 58.039%; + --b1: 240 10% 3.9216%; + --b2: 270 4.3478% 9.0196%; + --b3: 270 2.1739% 18.039%; + --bc: 37.083 67.29% 58.039%; + --in: 202.35 100% 70%; + --su: 89.007 61.633% 51.961%; + --wa: 53.906 68.817% 63.529%; + --er: 0 100% 71.765%; +} + +[data-theme=dracula] { + color-scheme: dark; + --pf: 325.52 100% 58.98%; + --sf: 264.71 89.474% 62.118%; + --af: 31.02 100% 56.941%; + --nf: 229.57 15.033% 24%; + --b2: 231.43 14.894% 16.588%; + --b3: 231.43 14.894% 14.929%; + --pc: 325.52 100% 14.745%; + --sc: 264.71 100% 15.529%; + --ac: 31.02 100% 14.235%; + --nc: 229.57 70.868% 86%; + --inc: 190.53 100% 15.373%; + --suc: 135.18 100% 12.941%; + --wac: 64.909 100% 15.294%; + --erc: 0 100% 93.333%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 325.52 100% 73.725%; + --s: 264.71 89.474% 77.647%; + --a: 31.02 100% 71.176%; + --n: 229.57 15.033% 30%; + --b1: 231.43 14.894% 18.431%; + --bc: 60 30% 96.078%; + --in: 190.53 96.61% 76.863%; + --su: 135.18 94.444% 64.706%; + --wa: 64.909 91.667% 76.471%; + --er: 0 100% 66.667%; +} + +[data-theme=cmyk] { + color-scheme: light; + --pf: 202.72 83.251% 48.157%; + --sf: 335.25 77.67% 47.686%; + --af: 56.195 100% 47.843%; + --nf: 0 0% 8.1569%; + --b2: 0 0% 90%; + --b3: 0 0% 81%; + --bc: 0 0% 20%; + --pc: 202.72 100% 12.039%; + --sc: 335.25 100% 91.922%; + --ac: 56.195 100% 11.961%; + --nc: 0 0% 82.039%; + --inc: 192.2 100% 10.431%; + --suc: 291.06 100% 87.608%; + --wac: 25.027 100% 11.333%; + --erc: 3.956 100% 91.137%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 202.72 83.251% 60.196%; + --s: 335.25 77.67% 59.608%; + --a: 56.195 100% 59.804%; + --n: 0 0% 10.196%; + --b1: 0 0% 100%; + --in: 192.2 48.361% 52.157%; + --su: 291.06 48.454% 38.039%; + --wa: 25.027 84.615% 56.667%; + --er: 3.956 80.531% 55.686%; +} + +[data-theme=autumn] { + color-scheme: light; + --pf: 344.23 95.804% 22.431%; + --sf: 0.44444 63.38% 46.588%; + --af: 27.477 56.021% 50.039%; + --nf: 22.105 17.117% 34.824%; + --b2: 0 0% 85.059%; + --b3: 0 0% 76.553%; + --bc: 0 0% 18.902%; + --pc: 344.23 100% 85.608%; + --sc: 0.44444 100% 91.647%; + --ac: 27.477 100% 12.51%; + --nc: 22.105 100% 88.706%; + --inc: 186.94 100% 9.9216%; + --suc: 164.59 100% 8.6275%; + --wac: 30.141 100% 9.9216%; + --erc: 353.6 100% 89.765%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 344.23 95.804% 28.039%; + --s: 0.44444 63.38% 58.235%; + --a: 27.477 56.021% 62.549%; + --n: 22.105 17.117% 43.529%; + --b1: 0 0% 94.51%; + --in: 186.94 47.826% 49.608%; + --su: 164.59 33.636% 43.137%; + --wa: 30.141 84.19% 49.608%; + --er: 353.6 79.116% 48.824%; +} + +[data-theme=business] { + color-scheme: dark; + --pf: 210 64.103% 24.471%; + --sf: 200 12.931% 43.608%; + --af: 12.515 79.512% 47.843%; + --nf: 212.73 13.58% 12.706%; + --b2: 0 0% 11.294%; + --b3: 0 0% 10.165%; + --bc: 0 0% 82.51%; + --pc: 210 100% 86.118%; + --sc: 200 100% 10.902%; + --ac: 12.515 100% 11.961%; + --nc: 212.73 28.205% 83.176%; + --inc: 199.15 100% 88.353%; + --suc: 144 100% 11.137%; + --wac: 39.231 100% 12.078%; + --erc: 6.3415 100% 88.667%; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 210 64.103% 30.588%; + --s: 200 12.931% 54.51%; + --a: 12.515 79.512% 59.804%; + --n: 212.73 13.58% 15.882%; + --b1: 0 0% 12.549%; + --in: 199.15 100% 41.765%; + --su: 144 30.973% 55.686%; + --wa: 39.231 64.356% 60.392%; + --er: 6.3415 55.656% 43.333%; + --rounded-box: 0.25rem; + --rounded-btn: .125rem; + --rounded-badge: .125rem; +} + +[data-theme=acid] { + color-scheme: light; + --pf: 302.59 100% 40%; + --sf: 27.294 100% 40%; + --af: 72 98.425% 40.157%; + --nf: 238.42 43.182% 13.804%; + --b2: 0 0% 88.235%; + --b3: 0 0% 79.412%; + --bc: 0 0% 19.608%; + --pc: 302.59 100% 90%; + --sc: 27.294 100% 10%; + --ac: 72 100% 10.039%; + --nc: 238.42 99.052% 83.451%; + --inc: 209.85 100% 11.569%; + --suc: 148.87 100% 11.608%; + --wac: 52.574 100% 11.451%; + --erc: 0.78261 100% 89.02%; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 302.59 100% 50%; + --s: 27.294 100% 50%; + --a: 72 98.425% 50.196%; + --n: 238.42 43.182% 17.255%; + --b1: 0 0% 98.039%; + --in: 209.85 91.628% 57.843%; + --su: 148.87 49.533% 58.039%; + --wa: 52.574 92.661% 57.255%; + --er: 0.78261 100% 45.098%; + --rounded-box: 1.25rem; + --rounded-btn: 1rem; + --rounded-badge: 1rem; +} + +[data-theme=lemonade] { + color-scheme: light; + --pf: 88.8 96.154% 24.471%; + --sf: 60 80.952% 43.765%; + --af: 62.553 79.661% 70.745%; + --nf: 238.42 43.182% 13.804%; + --b2: 0 0% 90%; + --b3: 0 0% 81%; + --bc: 0 0% 20%; + --pc: 88.8 100% 86.118%; + --sc: 60 100% 10.941%; + --ac: 62.553 100% 17.686%; + --nc: 238.42 99.052% 83.451%; + --inc: 191.61 79.118% 16.902%; + --suc: 74.458 100% 15.725%; + --wac: 50.182 100% 15.059%; + --erc: 0.98361 100% 16.588%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 88.8 96.154% 30.588%; + --s: 60 80.952% 54.706%; + --a: 62.553 79.661% 88.431%; + --n: 238.42 43.182% 17.255%; + --b1: 0 0% 100%; + --in: 191.61 39.241% 84.51%; + --su: 74.458 76.147% 78.627%; + --wa: 50.182 87.302% 75.294%; + --er: 0.98361 70.115% 82.941%; +} + +[data-theme=night] { + color-scheme: dark; + --pf: 198.44 93.204% 47.686%; + --sf: 234.45 89.474% 59.137%; + --af: 328.85 85.621% 56%; + --b2: 222.22 47.368% 10.059%; + --b3: 222.22 47.368% 9.0529%; + --bc: 222.22 65.563% 82.235%; + --pc: 198.44 100% 11.922%; + --sc: 234.45 100% 14.784%; + --ac: 328.85 100% 14%; + --nc: 217.24 75.772% 83.49%; + --inc: 198.46 100% 9.6078%; + --suc: 172.46 100% 10.078%; + --wac: 40.61 100% 12.706%; + --erc: 350.94 100% 14.235%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 198.44 93.204% 59.608%; + --s: 234.45 89.474% 73.922%; + --a: 328.85 85.621% 70%; + --n: 217.24 32.584% 17.451%; + --nf: 217.06 30.357% 21.961%; + --b1: 222.22 47.368% 11.176%; + --in: 198.46 90.204% 48.039%; + --su: 172.46 66.008% 50.392%; + --wa: 40.61 88.172% 63.529%; + --er: 350.94 94.558% 71.176%; +} + +[data-theme=coffee] { + color-scheme: dark; + --pf: 29.583 66.667% 46.118%; + --sf: 182.4 24.752% 15.843%; + --af: 194.19 74.4% 19.608%; + --nf: 300 20% 4.7059%; + --b2: 306 18.519% 9.5294%; + --b3: 306 18.519% 8.5765%; + --pc: 29.583 100% 11.529%; + --sc: 182.4 67.237% 83.961%; + --ac: 194.19 100% 84.902%; + --nc: 300 13.75% 81.176%; + --inc: 171.15 100% 13.451%; + --suc: 92.5 100% 12.471%; + --wac: 43.125 100% 13.725%; + --erc: 9.7561 100% 14.941%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 29.583 66.667% 57.647%; + --s: 182.4 24.752% 19.804%; + --a: 194.19 74.4% 24.51%; + --n: 300 20% 5.8824%; + --b1: 306 18.519% 10.588%; + --bc: 36.667 8.3333% 42.353%; + --in: 171.15 36.527% 67.255%; + --su: 92.5 25% 62.353%; + --wa: 43.125 100% 68.627%; + --er: 9.7561 95.349% 74.706%; +} + +[data-theme=winter] { + color-scheme: light; + --pf: 211.79 100% 40.627%; + --sf: 246.92 47.273% 34.51%; + --af: 310.41 49.388% 41.569%; + --nf: 217.02 92.157% 8%; + --pc: 211.79 100% 90.157%; + --sc: 246.92 100% 88.627%; + --ac: 310.41 100% 90.392%; + --nc: 217.02 100% 82%; + --inc: 191.54 100% 15.608%; + --suc: 181.5 100% 13.255%; + --wac: 32.308 100% 16.706%; + --erc: 0 100% 14.431%; + --rounded-box: 1rem; + --rounded-btn: 0.5rem; + --rounded-badge: 1.9rem; + --animation-btn: 0.25s; + --animation-input: .2s; + --btn-text-case: uppercase; + --btn-focus-scale: 0.95; + --border-btn: 1px; + --tab-border: 1px; + --tab-radius: 0.5rem; + --p: 211.79 100% 50.784%; + --s: 246.92 47.273% 43.137%; + --a: 310.41 49.388% 51.961%; + --n: 217.02 92.157% 10%; + --b1: 0 0% 100%; + --b2: 216.92 100% 97.451%; + --b3: 218.82 43.59% 92.353%; + --bc: 214.29 30.061% 31.961%; + --in: 191.54 92.857% 78.039%; + --su: 181.5 46.512% 66.275%; + --wa: 32.308 61.905% 83.529%; + --er: 0 63.38% 72.157%; +} + +[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #6b7280; + border-width: 1px; + border-radius: 0px; + padding-top: 0.5rem; + padding-left: 0.75rem; + padding-bottom: 0.5rem; + padding-right: 0.75rem; + font-size: 1rem; + line-height: 1.5rem; + --tw-shadow: 0 0 #0000; +} + +[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus { + outline: 2px solid transparent; + outline-offset: 2px; + --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #2563eb; + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + border-color: #2563eb; +} + +input::-moz-placeholder, textarea::-moz-placeholder { + color: #6b7280; + opacity: 1; +} + +input::placeholder,textarea::placeholder { + color: #6b7280; + opacity: 1; +} + +::-webkit-datetime-edit-fields-wrapper { + padding: 0; +} + +::-webkit-date-and-time-value { + min-height: 1.5em; + text-align: inherit; +} + +::-webkit-datetime-edit { + display: inline-flex; +} + +::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field { + padding-top: 0; + padding-bottom: 0; +} + +select { + background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e"); + background-position: left 0.5rem center; + background-repeat: no-repeat; + background-size: 1.5em 1.5em; + padding-left: 2.5rem; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; +} + +[multiple],[size]:where(select:not([size="1"])) { + background-image: initial; + background-position: initial; + background-repeat: unset; + background-size: initial; + padding-left: 0.75rem; + -webkit-print-color-adjust: unset; + print-color-adjust: unset; +} + +[type='checkbox'],[type='radio'] { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + padding: 0; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + display: inline-block; + vertical-align: middle; + background-origin: border-box; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + flex-shrink: 0; + height: 1rem; + width: 1rem; + color: #2563eb; + background-color: #fff; + border-color: #6b7280; + border-width: 1px; + --tw-shadow: 0 0 #0000; +} + +[type='checkbox'] { + border-radius: 0px; +} + +[type='radio'] { + border-radius: 100%; +} + +[type='checkbox']:focus,[type='radio']:focus { + outline: 2px solid transparent; + outline-offset: 2px; + --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); + --tw-ring-offset-width: 2px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #2563eb; + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); +} + +[type='checkbox']:checked,[type='radio']:checked { + border-color: transparent; + background-color: currentColor; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; +} + +[type='checkbox']:checked { + background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e"); +} + +@media (forced-colors: active) { + + [type='checkbox']:checked { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + +[type='radio']:checked { + background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3ccircle cx=%278%27 cy=%278%27 r=%273%27/%3e%3c/svg%3e"); +} + +@media (forced-colors: active) { + + [type='radio']:checked { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + +[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus { + border-color: transparent; + background-color: currentColor; +} + +[type='checkbox']:indeterminate { + background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 16 16%27%3e%3cpath stroke=%27white%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M4 8h8%27/%3e%3c/svg%3e"); + border-color: transparent; + background-color: currentColor; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; +} + +@media (forced-colors: active) { + + [type='checkbox']:indeterminate { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + +[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus { + border-color: transparent; + background-color: currentColor; +} + +[type='file'] { + background: unset; + border-color: inherit; + border-width: 0; + border-radius: 0; + padding: 0; + font-size: unset; + line-height: inherit; +} + +[type='file']:focus { + outline: 1px solid ButtonText; + outline: 1px auto -webkit-focus-ring-color; +} +.container { + width: 100%; +} +@media (min-width: 640px) { + + .container { + max-width: 640px; + } +} +@media (min-width: 768px) { + + .container { + max-width: 768px; + } +} +@media (min-width: 1024px) { + + .container { + max-width: 1024px; + } +} +@media (min-width: 1280px) { + + .container { + max-width: 1280px; + } +} +@media (min-width: 1536px) { + + .container { + max-width: 1536px; + } +} +.avatar { + position: relative; + display: inline-flex; +} +.avatar > div { + display: block; + aspect-ratio: 1 / 1; + overflow: hidden; +} +.avatar img { + height: 100%; + width: 100%; + -o-object-fit: cover; + object-fit: cover; +} +.avatar.placeholder > div { + display: flex; + align-items: center; + justify-content: center; +} +.breadcrumbs { + max-width: 100%; + overflow-x: auto; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} +.breadcrumbs > ul,.breadcrumbs > ol { + display: flex; + align-items: center; + white-space: nowrap; + min-height: -moz-min-content; + min-height: min-content; +} +.breadcrumbs > ul > li, .breadcrumbs > ol > li { + display: flex; + align-items: center; +} +.breadcrumbs > ul > li > a, .breadcrumbs > ol > li > a { + display: flex; + cursor: pointer; + align-items: center; +} +.breadcrumbs > ul > li > a:hover, .breadcrumbs > ol > li > a:hover { + text-decoration-line: underline; +} +.btn.\!loading, + .btn.\!loading:hover { + pointer-events: none !important; +} +.btn.loading, + .btn.loading:hover { + pointer-events: none; +} +.btn.\!loading, + .btn.\!loading:hover { + pointer-events: none !important; +} +.btn.\!loading:before { + margin-left: 0.5rem !important; + height: 1rem !important; + width: 1rem !important; + border-radius: 9999px !important; + border-width: 2px !important; + animation: spin 2s linear infinite !important; + content: "" !important; + border-top-color: transparent !important; + border-right-color: transparent !important; + border-bottom-color: currentColor !important; + border-left-color: currentColor !important; +} +.btn.loading:before { + margin-left: 0.5rem; + height: 1rem; + width: 1rem; + border-radius: 9999px; + border-width: 2px; + animation: spin 2s linear infinite; + content: ""; + border-top-color: transparent; + border-right-color: transparent; + border-bottom-color: currentColor; + border-left-color: currentColor; +} +@media (prefers-reduced-motion: reduce) { + + .btn.\!loading:before { + animation: spin 10s linear infinite !important; + } + + .btn.loading:before { + animation: spin 10s linear infinite; + } +} +@keyframes spin { + + from { + transform: rotate(0deg); + } + + to { + transform: rotate(-360deg); + } +} +.card { + position: relative; + display: flex; + flex-direction: column; + border-radius: var(--rounded-box, 1rem); +} +.card:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} +.card figure { + display: flex; + align-items: center; + justify-content: center; +} +.card.image-full { + display: grid; +} +.card.image-full:before { + position: relative; + content: ""; + z-index: 10; + --tw-bg-opacity: 1; + background-color: hsl(var(--n) / var(--tw-bg-opacity)); + opacity: 0.75; + border-radius: var(--rounded-box, 1rem); +} +.card.image-full:before, + .card.image-full > * { + grid-column-start: 1; + grid-row-start: 1; +} +.card.image-full > figure img { + height: 100%; + -o-object-fit: cover; + object-fit: cover; +} +.card.image-full > .card-body { + position: relative; + z-index: 20; + --tw-text-opacity: 1; + color: hsl(var(--nc) / var(--tw-text-opacity)); +} +.carousel { + display: flex; + overflow-x: scroll; + scroll-snap-type: x mandatory; + scroll-behavior: smooth; + -ms-overflow-style: none; + scrollbar-width: none; +} +.checkbox { + flex-shrink: 0; + --chkbg: var(--bc); + --chkfg: var(--b1); + height: 1.5rem; + width: 1.5rem; + cursor: pointer; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0.2; + border-radius: var(--rounded-btn, 0.5rem); +} +.divider { + display: flex; + flex-direction: row; + align-items: center; + align-self: stretch; + margin-top: 1rem; + margin-bottom: 1rem; + height: 1rem; + white-space: nowrap; +} +.divider:before, + .divider:after { + content: ""; + flex-grow: 1; + height: 0.125rem; + width: 100%; +} +.footer { + display: grid; + width: 100%; + grid-auto-flow: row; + place-items: start; + row-gap: 2.5rem; + -moz-column-gap: 1rem; + column-gap: 1rem; + font-size: 0.875rem; + line-height: 1.25rem; +} +.footer > * { + display: grid; + place-items: start; + gap: 0.5rem; +} +@media (min-width: 48rem) { + + .footer { + grid-auto-flow: column; + } + + .footer-center { + grid-auto-flow: row dense; + } +} +.label { + display: flex; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + align-items: center; + justify-content: space-between; + padding-right: 0.25rem; + padding-left: 0.25rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} +.indicator { + position: relative; + display: inline-flex; + width: -moz-max-content; + width: max-content; +} +.indicator :where(.indicator-item) { + z-index: 1; + position: absolute; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + white-space: nowrap; +} +.input { + flex-shrink: 1; + height: 3rem; + padding-right: 1rem; + padding-left: 1rem; + font-size: 1rem; + line-height: 2; + line-height: 1.5rem; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0; + --tw-bg-opacity: 1; + background-color: hsl(var(--b1) / var(--tw-bg-opacity)); + border-radius: var(--rounded-btn, 0.5rem); +} +.input-group > .input { + isolation: isolate; +} +.input-group > *, + .input-group > .input, + .input-group > .textarea, + .input-group > .select { + border-radius: 0px; +} +.link { + cursor: pointer; + text-decoration-line: underline; +} +.mask { + -webkit-mask-size: contain; + mask-size: contain; + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-position: center; + mask-position: center; +} +.menu.horizontal { + display: inline-flex; + flex-direction: row; +} +.menu.horizontal :where(li) { + flex-direction: row; +} +.menu > :where(li.disabled > *:not(ul):focus) { + cursor: auto; +} +.modal { + pointer-events: none; + visibility: hidden; + position: fixed; + inset: 0px; + display: flex; + justify-content: center; + opacity: 0; + z-index: 999; + background-color: hsl(var(--nf, var(--n)) / var(--tw-bg-opacity)); + --tw-bg-opacity: 0.4; + transition-duration: 200ms; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-property: transform, opacity, visibility; + overflow-y: hidden; + overscroll-behavior: contain; +} +:where(.modal) { + align-items: center; +} +.modal-open, +.modal:target, +.modal-toggle:checked + .modal { + pointer-events: auto; + visibility: visible; + opacity: 1; +} +.progress { + position: relative; + width: 100%; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + overflow: hidden; + height: 0.5rem; + border-radius: var(--rounded-box, 1rem); +} +.radio { + flex-shrink: 0; + --chkbg: var(--bc); + height: 1.5rem; + width: 1.5rem; + cursor: pointer; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: 9999px; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0.2; +} +.select { + display: inline-flex; + flex-shrink: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + height: 3rem; + padding-right: 1rem; + padding-left: 2.5rem; + font-size: 0.875rem; + line-height: 1.25rem; + line-height: 2; + min-height: 3rem; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0; + --tw-bg-opacity: 1; + background-color: hsl(var(--b1) / var(--tw-bg-opacity)); + font-weight: 600; + border-radius: var(--rounded-btn, 0.5rem); + background-image: linear-gradient(-45deg, transparent 50%, currentColor 50%), linear-gradient(-135deg, currentColor 50%, transparent 50%); + background-position: calc(100% - (100% - 20px)) calc(1px + 50%), calc(100% - (100% - 16px)) calc(1px + 50%); + background-size: 4px 4px, 4px 4px; + background-repeat: no-repeat; +} +.select[multiple] { + height: auto; +} +.tabs { + display: flex; + flex-wrap: wrap; + align-items: flex-end; +} +.\!tab { + position: relative !important; + display: inline-flex !important; + cursor: pointer !important; + -webkit-user-select: none !important; + -moz-user-select: none !important; + user-select: none !important; + flex-wrap: wrap !important; + align-items: center !important; + justify-content: center !important; + text-align: center !important; + height: 2rem !important; + font-size: 0.875rem !important; + line-height: 1.25rem !important; + line-height: 2 !important; + --tab-padding: 1rem !important; + --tw-text-opacity: 0.5 !important; + --tab-color: hsla(var(--bc) / var(--tw-text-opacity, 1)) !important; + --tab-bg: hsla(var(--b1) / var(--tw-bg-opacity, 1)) !important; + --tab-border-color: hsla(var(--b3) / var(--tw-bg-opacity, 1)) !important; + color: var(--tab-color) !important; + padding-right: var(--tab-padding, 1rem) !important; + padding-left: var(--tab-padding, 1rem) !important; +} +.tab { + position: relative; + display: inline-flex; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + flex-wrap: wrap; + align-items: center; + justify-content: center; + text-align: center; + height: 2rem; + font-size: 0.875rem; + line-height: 1.25rem; + line-height: 2; + --tab-padding: 1rem; + --tw-text-opacity: 0.5; + --tab-color: hsla(var(--bc) / var(--tw-text-opacity, 1)); + --tab-bg: hsla(var(--b1) / var(--tw-bg-opacity, 1)); + --tab-border-color: hsla(var(--b3) / var(--tw-bg-opacity, 1)); + color: var(--tab-color); + padding-right: var(--tab-padding, 1rem); + padding-left: var(--tab-padding, 1rem); +} +.table { + position: relative; + text-align: right; +} +.table th:first-child { + position: sticky; + right: 0px; + z-index: 11; +} +.textarea { + flex-shrink: 1; + min-height: 3rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-right: 1rem; + padding-left: 1rem; + font-size: 0.875rem; + line-height: 1.25rem; + line-height: 2; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0; + --tw-bg-opacity: 1; + background-color: hsl(var(--b1) / var(--tw-bg-opacity)); + border-radius: var(--rounded-btn, 0.5rem); +} +.toast { + position: fixed; + display: flex; + min-width: -moz-fit-content; + min-width: fit-content; + flex-direction: column; + gap: 0.5rem; + padding: 1rem; +} +.toggle { + flex-shrink: 0; + --tglbg: hsl(var(--b1)); + --handleoffset: 1.5rem; + --handleoffsetcalculator: calc(var(--handleoffset) * -1); + --togglehandleborder: 0 0; + height: 1.5rem; + width: 3rem; + cursor: pointer; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0.2; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + --tw-bg-opacity: 0.5; + transition-duration: 300ms; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + border-radius: var(--rounded-badge, 1.9rem); + transition: background, box-shadow var(--animation-input, 0.2s) ease-in-out; + box-shadow: var(--handleoffsetcalculator) 0 0 2px var(--tglbg) inset, 0 0 0 2px var(--tglbg) inset, var(--togglehandleborder); +} +.tooltip { + position: relative; + display: inline-block; + --tooltip-offset: calc(100% + 1px + var(--tooltip-tail, 0px)); + text-align: center; + --tooltip-tail: 3px; + --tooltip-color: hsl(var(--n)); + --tooltip-text-color: hsl(var(--nc)); + --tooltip-tail-offset: calc(100% + 1px - var(--tooltip-tail)); +} +.tooltip:before { + position: absolute; + pointer-events: none; + z-index: 999; + content: var(--tw-content); + --tw-content: attr(data-tip); + max-width: 20rem; + border-radius: 0.25rem; + padding-right: 0.5rem; + padding-left: 0.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; + font-size: 0.875rem; + line-height: 1.25rem; + background-color: var(--tooltip-color); + color: var(--tooltip-text-color); + width: -moz-max-content; + width: max-content; +} +.tooltip:before, .tooltip-top:before { + transform: translateX(50%); + top: auto; + right: 50%; + left: auto; + bottom: var(--tooltip-offset); +} +.avatar-group :where(.avatar) { + overflow: hidden; + border-radius: 9999px; + border-width: 4px; + --tw-border-opacity: 1; + border-color: hsl(var(--b1) / var(--tw-border-opacity)); +} +.btn-outline .badge.outline { + --tw-border-opacity: 1; + border-color: hsl(var(--nf, var(--n)) / var(--tw-border-opacity)); + background-color: transparent; +} +.btn-outline:hover .badge.outline { + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--nc) / var(--tw-text-opacity)); +} +.btn-outline.btn-primary:hover .badge.outline { + --tw-border-opacity: 1; + border-color: hsl(var(--pc) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--pf, var(--p)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--pc) / var(--tw-text-opacity)); +} +.btn-outline.btn-secondary:hover .badge.outline { + --tw-border-opacity: 1; + border-color: hsl(var(--sc) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--sf, var(--s)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--sc) / var(--tw-text-opacity)); +} +.btn-outline.btn-accent:hover .badge.outline { + --tw-border-opacity: 1; + border-color: hsl(var(--ac) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--af, var(--a)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--ac) / var(--tw-text-opacity)); +} +.btm-nav>*:where(.active) { + border-top-width: 2px; + --tw-bg-opacity: 1; + background-color: hsl(var(--b1) / var(--tw-bg-opacity)); +} +.btm-nav>*.disabled, + .btm-nav>*.disabled:hover, + .btm-nav>*[disabled], + .btm-nav>*[disabled]:hover { + pointer-events: none; + --tw-border-opacity: 0; + background-color: hsl(var(--n) / var(--tw-bg-opacity)); + --tw-bg-opacity: 0.1; + color: hsl(var(--bc) / var(--tw-text-opacity)); + --tw-text-opacity: 0.2; +} +.btm-nav>* .label { + font-size: 1rem; + line-height: 1.5rem; +} +.breadcrumbs > ul > li > a:focus, .breadcrumbs > ol > li > a:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} +.breadcrumbs > ul > li > a:focus-visible, .breadcrumbs > ol > li > a:focus-visible { + outline: 2px solid currentColor; + outline-offset: 2px; +} +.breadcrumbs > ul > li + *:before, .breadcrumbs > ol > li + *:before { + content: ""; + margin-right: 0.5rem; + margin-left: 0.75rem; + display: block; + height: 0.375rem; + width: 0.375rem; + --tw-rotate: 45deg; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + opacity: 0.4; + border-top: 1px solid; + border-left: 1px solid; + background-color: transparent; +} +[dir="rtl"] .breadcrumbs > ul > li + *:before, +[dir="rtl"] .breadcrumbs > ol > li + *:before { + --tw-rotate: -135deg; +} +.btn.\!loading.btn-square:before, + .btn.\!loading.btn-circle:before { + margin-left: 0px !important; +} +.btn.loading.btn-square:before, + .btn.loading.btn-circle:before { + margin-left: 0px; +} +.btn.\!loading.btn-square:before, + .btn.\!loading.btn-circle:before { + margin-left: 0px !important; +} +.btn.\!loading.btn-xl:before, + .btn.\!loading.btn-lg:before { + height: 1.25rem !important; + width: 1.25rem !important; +} +.btn.loading.btn-xl:before, + .btn.loading.btn-lg:before { + height: 1.25rem; + width: 1.25rem; +} +.btn.\!loading.btn-xl:before, + .btn.\!loading.btn-lg:before { + height: 1.25rem !important; + width: 1.25rem !important; +} +.btn.\!loading.btn-sm:before, + .btn.\!loading.btn-xs:before { + height: 0.75rem !important; + width: 0.75rem !important; +} +.btn.loading.btn-sm:before, + .btn.loading.btn-xs:before { + height: 0.75rem; + width: 0.75rem; +} +.btn.\!loading.btn-sm:before, + .btn.\!loading.btn-xs:before { + height: 0.75rem !important; + width: 0.75rem !important; +} +@keyframes button-pop { + + 0% { + transform: scale(var(--btn-focus-scale, 0.95)); + } + + 40% { + transform: scale(1.02); + } + + 100% { + transform: scale(1); + } +} +.card :where(figure:first-child) { + overflow: hidden; + border-start-start-radius: inherit; + border-start-end-radius: inherit; + border-end-start-radius: unset; + border-end-end-radius: unset; +} +.card :where(figure:last-child) { + overflow: hidden; + border-start-start-radius: unset; + border-start-end-radius: unset; + border-end-start-radius: inherit; + border-end-end-radius: inherit; +} +.card:focus-visible { + outline: 2px solid currentColor; + outline-offset: 2px; +} +.card.bordered { + border-width: 1px; + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); +} +.card.compact .card-body { + padding: 1rem; + font-size: 0.875rem; + line-height: 1.25rem; +} +.card.image-full :where(figure) { + overflow: hidden; + border-radius: inherit; +} +.carousel::-webkit-scrollbar { + display: none; +} +.checkbox:focus-visible { + outline: 2px solid hsl(var(--bc)); + outline-offset: 2px; +} +.checkbox:checked, + .checkbox[checked="true"], + .checkbox[aria-checked="true"] { + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + background-repeat: no-repeat; + animation: checkmark var(--animation-input, 0.2s) ease-in-out; + background-image: linear-gradient(45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(-45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%); +} +.checkbox:indeterminate { + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + background-repeat: no-repeat; + animation: checkmark var(--animation-input, 0.2s) ease-in-out; + background-image: linear-gradient(-90deg, transparent 80%, hsl(var(--chkbg)) 80%), linear-gradient(90deg, transparent 80%, hsl(var(--chkbg)) 80%), linear-gradient(0deg, hsl(var(--chkbg)) 43%, hsl(var(--chkfg)) 43%, hsl(var(--chkfg)) 57%, hsl(var(--chkbg)) 57%); +} +.checkbox:disabled { + cursor: not-allowed; + border-color: transparent; + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + opacity: 0.2; +} +@keyframes checkmark { + + 0% { + background-position-y: 5px; + } + + 50% { + background-position-y: -2px; + } + + 100% { + background-position-y: 0; + } +} +[dir="rtl"] .checkbox:checked, + [dir="rtl"] .checkbox[checked="true"], + [dir="rtl"] .checkbox[aria-checked="true"] { + background-image: linear-gradient(-45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%); +} +.divider:before { + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + --tw-bg-opacity: 0.1; +} +.divider:after { + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + --tw-bg-opacity: 0.1; +} +.divider:not(:empty) { + gap: 1rem; +} +.label a:hover { + --tw-text-opacity: 1; + color: hsl(var(--bc) / var(--tw-text-opacity)); +} +.input[list]::-webkit-calendar-picker-indicator { + line-height: 1em; +} +.input:focus { + outline: 2px solid hsla(var(--bc) / 0.2); + outline-offset: 2px; +} +.input-disabled, + .input[disabled] { + cursor: not-allowed; + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity)); + --tw-text-opacity: 0.2; +} +.input-disabled::-moz-placeholder, .input[disabled]::-moz-placeholder { + color: hsl(var(--bc) / var(--tw-placeholder-opacity)); + --tw-placeholder-opacity: 0.2; +} +.input-disabled::placeholder, + .input[disabled]::placeholder { + color: hsl(var(--bc) / var(--tw-placeholder-opacity)); + --tw-placeholder-opacity: 0.2; +} +.link:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} +.link:focus-visible { + outline: 2px solid currentColor; + outline-offset: 2px; +} +.mask-squircle { + -webkit-mask-image: url("data:image/svg+xml,%3csvg width=%27200%27 height=%27200%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z%27/%3e%3c/svg%3e"); + mask-image: url("data:image/svg+xml,%3csvg width=%27200%27 height=%27200%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z%27/%3e%3c/svg%3e"); +} +.menu.horizontal > li.bordered > a, + .menu.horizontal > li.bordered > button, + .menu.horizontal > li.bordered > span { + border-right-width: 0px; + border-bottom-width: 4px; + --tw-border-opacity: 1; + border-color: hsl(var(--p) / var(--tw-border-opacity)); +} +.menu :where(li:not(.menu-title):not(:empty)) > :where(:not(ul).active), + .menu :where(li:not(.menu-title):not(:empty)) > :where(*:not(ul):active) { + --tw-bg-opacity: 1; + background-color: hsl(var(--p) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--pc) / var(--tw-text-opacity)); +} +.menu li.disabled > * { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + color: hsl(var(--bc) / var(--tw-text-opacity)); + --tw-text-opacity: 0.2; +} +.menu li.disabled > *:hover { + background-color: transparent; +} +.mockup-phone .display { + overflow: hidden; + border-radius: 40px; + margin-top: -25px; +} +.modal-open .modal-box, +.modal-toggle:checked + .modal .modal-box, +.modal:target .modal-box { + --tw-translate-y: 0px; + --tw-scale-x: 1; + --tw-scale-y: 1; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.progress::-moz-progress-bar { + --tw-bg-opacity: 1; + background-color: hsl(var(--n) / var(--tw-bg-opacity)); +} +.progress:indeterminate::after { + --tw-bg-opacity: 1; + background-color: hsl(var(--n) / var(--tw-bg-opacity)); + content: ""; + position: absolute; + top: 0px; + bottom: 0px; + right: -40%; + width: 33.333333%; + border-radius: var(--rounded-box, 1rem); + animation: progress-loading 5s infinite ease-in-out; +} +.progress::-webkit-progress-bar { + background-color: hsl(var(--n) / var(--tw-bg-opacity)); + --tw-bg-opacity: 0.2; + border-radius: var(--rounded-box, 1rem); +} +.progress::-webkit-progress-value { + --tw-bg-opacity: 1; + background-color: hsl(var(--nf, var(--n)) / var(--tw-bg-opacity)); + border-radius: var(--rounded-box, 1rem); +} +@keyframes progress-loading { + + 50% { + right: 107%; + } +} +.radio:focus-visible { + outline: 2px solid hsl(var(--bc)); + outline-offset: 2px; +} +.radio:checked, + .radio[aria-checked=true] { + --tw-bg-opacity: 1; + background-color: hsl(var(--bc) / var(--tw-bg-opacity)); + animation: radiomark var(--animation-input, 0.2s) ease-in-out; + box-shadow: 0 0 0 4px hsl(var(--b1)) inset, 0 0 0 4px hsl(var(--b1)) inset; +} +.radio:disabled { + cursor: not-allowed; + opacity: 0.2; +} +@keyframes radiomark { + + 0% { + box-shadow: 0 0 0 12px hsl(var(--b1)) inset, 0 0 0 12px hsl(var(--b1)) inset; + } + + 50% { + box-shadow: 0 0 0 3px hsl(var(--b1)) inset, 0 0 0 3px hsl(var(--b1)) inset; + } + + 100% { + box-shadow: 0 0 0 4px hsl(var(--b1)) inset, 0 0 0 4px hsl(var(--b1)) inset; + } +} +@keyframes rating-pop { + + 0% { + transform: translateY(-0.125em); + } + + 40% { + transform: translateY(-0.125em); + } + + 100% { + transform: translateY(0); + } +} +.select:focus { + outline: 2px solid hsla(var(--bc) / 0.2); + outline-offset: 2px; +} +.select-disabled, + .select[disabled] { + cursor: not-allowed; + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity)); + --tw-text-opacity: 0.2; +} +.select-disabled::-moz-placeholder, .select[disabled]::-moz-placeholder { + color: hsl(var(--bc) / var(--tw-placeholder-opacity)); + --tw-placeholder-opacity: 0.2; +} +.select-disabled::placeholder, + .select[disabled]::placeholder { + color: hsl(var(--bc) / var(--tw-placeholder-opacity)); + --tw-placeholder-opacity: 0.2; +} +.select-multiple, + .select[multiple], + .select[size].select:not([size="1"]) { + background-image: none; + padding-left: 1rem; +} +[dir="rtl"] .select { + background-position: calc(100% - (0% + 12px)) calc(1px + 50%), calc(100% - (0% + 16px)) calc(1px + 50%); +} +.\!tab:hover { + --tw-text-opacity: 1 !important; +} +.tab:hover { + --tw-text-opacity: 1; +} +.\!tab.tab-active:not(.tab-disabled):not([disabled]) { + border-color: hsl(var(--bc) / var(--tw-border-opacity)) !important; + --tw-border-opacity: 1 !important; + --tw-text-opacity: 1 !important; +} +.tab.tab-active:not(.tab-disabled):not([disabled]) { + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 1; + --tw-text-opacity: 1; +} +.\!tab:focus { + outline: 2px solid transparent !important; + outline-offset: 2px !important; +} +.tab:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} +.\!tab:focus-visible { + outline: 2px solid currentColor !important; + outline-offset: -3px !important; +} +.tab:focus-visible { + outline: 2px solid currentColor; + outline-offset: -3px; +} +.\!tab:focus-visible.tab-lifted { + border-bottom-left-radius: var(--tab-radius, 0.5rem) !important; + border-bottom-right-radius: var(--tab-radius, 0.5rem) !important; +} +.tab:focus-visible.tab-lifted { + border-bottom-left-radius: var(--tab-radius, 0.5rem); + border-bottom-right-radius: var(--tab-radius, 0.5rem); +} + + .\!tab[disabled], + .\!tab[disabled]:hover { + cursor: not-allowed !important; + color: hsl(var(--bc) / var(--tw-text-opacity)) !important; + --tw-text-opacity: 0.2 !important; +} +.tab-disabled, + .tab-disabled:hover, + .tab[disabled], + .tab[disabled]:hover { + cursor: not-allowed; + color: hsl(var(--bc) / var(--tw-text-opacity)); + --tw-text-opacity: 0.2; +} + + .\!tab[disabled], + .\!tab[disabled]:hover { + cursor: not-allowed !important; + color: hsl(var(--bc) / var(--tw-text-opacity)) !important; + --tw-text-opacity: 0.2 !important; +} +.tabs-boxed .\!tab { + border-radius: var(--rounded-btn, 0.5rem) !important; +} +.tabs-boxed .tab { + border-radius: var(--rounded-btn, 0.5rem); +} +.table :where(th, td) { + white-space: nowrap; + padding: 1rem; + vertical-align: middle; +} +.table tr.active th, + .table tr.active td, + .table tr.active:nth-child(even) th, + .table tr.active:nth-child(even) td { + --tw-bg-opacity: 1; + background-color: hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity)); +} +.table tr.hover:hover th, + .table tr.hover:hover td, + .table tr.hover:nth-child(even):hover th, + .table tr.hover:nth-child(even):hover td { + --tw-bg-opacity: 1; + background-color: hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity)); +} +.table:where(:not(.table-zebra)) :where(thead, tbody, tfoot) :where(tr:not(:last-child) :where(th, td)) { + border-bottom-width: 1px; + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); +} +.table :where(thead, tfoot) :where(th, td) { + --tw-bg-opacity: 1; + background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity)); + font-size: 0.75rem; + line-height: 1rem; + font-weight: 700; + text-transform: uppercase; +} +.table :where(tbody th, tbody td) { + --tw-bg-opacity: 1; + background-color: hsl(var(--b1) / var(--tw-bg-opacity)); +} +:where(.table *:first-child) :where(*:first-child) :where(th, td):first-child { + border-top-right-radius: var(--rounded-box, 1rem); +} +:where(.table *:first-child) :where(*:first-child) :where(th, td):last-child { + border-top-left-radius: var(--rounded-box, 1rem); +} +:where(.table *:last-child) :where(*:last-child) :where(th, td):first-child { + border-bottom-right-radius: var(--rounded-box, 1rem); +} +:where(.table *:last-child) :where(*:last-child) :where(th, td):last-child { + border-bottom-left-radius: var(--rounded-box, 1rem); +} +.textarea:focus { + outline: 2px solid hsla(var(--bc) / 0.2); + outline-offset: 2px; +} +.textarea-disabled, + .textarea[disabled] { + cursor: not-allowed; + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity)); + --tw-text-opacity: 0.2; +} +.textarea-disabled::-moz-placeholder, .textarea[disabled]::-moz-placeholder { + color: hsl(var(--bc) / var(--tw-placeholder-opacity)); + --tw-placeholder-opacity: 0.2; +} +.textarea-disabled::placeholder, + .textarea[disabled]::placeholder { + color: hsl(var(--bc) / var(--tw-placeholder-opacity)); + --tw-placeholder-opacity: 0.2; +} +.toast>* { + animation: toast-pop 0.25s ease-out; +} +@keyframes toast-pop { + + 0% { + transform: scale(0.9); + opacity: 0; + } + + 100% { + transform: scale(1); + opacity: 1; + } +} +[dir="rtl"] .toggle { + --handleoffsetcalculator: calc(var(--handleoffset) * 1); +} +.toggle:focus-visible { + outline: 2px solid hsl(var(--bc)); + outline-offset: 2px; +} +.toggle:checked, + .toggle[checked="true"], + .toggle[aria-checked=true] { + --handleoffsetcalculator: var(--handleoffset); + --tw-border-opacity: 1; + --tw-bg-opacity: 1; +} +[dir="rtl"] .toggle:checked, [dir="rtl"] .toggle[checked="true"], [dir="rtl"] .toggle[aria-checked=true] { + --handleoffsetcalculator: calc(var(--handleoffset) * -1); +} +.toggle:indeterminate { + --tw-border-opacity: 1; + --tw-bg-opacity: 1; + box-shadow: calc(-1*(var(--handleoffset) / 2)) 0 0 2px var(--tglbg) inset, calc(-1*(var(--handleoffset) / -2)) 0 0 2px var(--tglbg) inset, 0 0 0 2px var(--tglbg) inset; +} +[dir="rtl"] .toggle:indeterminate { + box-shadow: calc(-1*(var(--handleoffset) / 2)) 0 0 2px var(--tglbg) inset, calc(-1*(var(--handleoffset) / -2)) 0 0 2px var(--tglbg) inset, 0 0 0 2px var(--tglbg) inset; +} +.toggle:disabled { + cursor: not-allowed; + --tw-border-opacity: 1; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + background-color: transparent; + opacity: 0.3; + --togglehandleborder: 0 0 0 3px hsl(var(--bc)) inset, var(--handleoffsetcalculator) 0 0 3px hsl(var(--bc)) inset; +} +.tooltip:before, +.tooltip:after { + opacity: 0; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-delay: 100ms; + transition-duration: 200ms; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); +} +.tooltip:after { + position: absolute; + content: ""; + border-style: solid; + border-width: var(--tooltip-tail, 0); + width: 0; + height: 0; + display: block; +} +.tooltip.tooltip-open:before, +.tooltip.tooltip-open:after, +.tooltip:hover:before, +.tooltip:hover:after { + opacity: 1; + transition-delay: 75ms; +} +.tooltip:not([data-tip]):hover:before, +.tooltip:not([data-tip]):hover:after { + visibility: hidden; + opacity: 0; +} +.tooltip:after, .tooltip-top:after { + transform: translateX(50%); + border-color: var(--tooltip-color) transparent transparent transparent; + top: auto; + right: 50%; + left: auto; + bottom: var(--tooltip-tail-offset); +} +:root .prose { + --tw-prose-body: hsla(var(--bc)/.8); + --tw-prose-headings: hsl(var(--bc)); + --tw-prose-lead: hsl(var(--bc)); + --tw-prose-links: hsl(var(--bc)); + --tw-prose-bold: hsl(var(--bc)); + --tw-prose-counters: hsl(var(--bc)); + --tw-prose-bullets: hsla(var(--bc)/.5); + --tw-prose-hr: hsla(var(--bc)/.2); + --tw-prose-quotes: hsl(var(--bc)); + --tw-prose-quote-borders: hsla(var(--bc)/.2); + --tw-prose-captions: hsla(var(--bc)/.5); + --tw-prose-code: hsl(var(--bc)); + --tw-prose-pre-code: hsl(var(--nc)); + --tw-prose-pre-bg: hsl(var(--n)); + --tw-prose-th-borders: hsla(var(--bc)/.5); + --tw-prose-td-borders: hsla(var(--bc)/.2); +} +.prose :where(code):not(:where([class~="not-prose"] *)) { + padding: 2px 8px; + border-radius: var(--rounded-badge); +} +.prose code:after, + .prose code:before { + content: none; +} +.prose pre code { + border-radius: 0; + padding: 0; +} +.prose :where(tbody tr, thead):not(:where([class~="not-prose"] *)) { + border-bottom-color: hsl(var(--bc) / 20%); +} +.artboard.phone-1.horizontal, + .artboard.phone-1.artboard-horizontal { + width: 568px; + height: 320px; +} +.artboard.phone-2.horizontal, + .artboard.phone-2.artboard-horizontal { + width: 667px; + height: 375px; +} +.artboard.phone-3.horizontal, + .artboard.phone-3.artboard-horizontal { + width: 736px; + height: 414px; +} +.artboard.phone-4.horizontal, + .artboard.phone-4.artboard-horizontal { + width: 812px; + height: 375px; +} +.artboard.phone-5.horizontal, + .artboard.phone-5.artboard-horizontal { + width: 896px; + height: 414px; +} +.artboard.phone-6.horizontal, + .artboard.phone-6.artboard-horizontal { + width: 1024px; + height: 320px; +} +.btm-nav-xs>*:where(.active) { + border-top-width: 1px; +} +.btm-nav-sm>*:where(.active) { + border-top-width: 2px; +} +.btm-nav-md>*:where(.active) { + border-top-width: 2px; +} +.btm-nav-lg>*:where(.active) { + border-top-width: 4px; +} +.indicator :where(.indicator-item) { + left: 0px; + right: auto; + top: 0px; + bottom: auto; + --tw-translate-x: 50%; + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.indicator :where(.indicator-item.indicator-start) { + left: auto; + right: 0px; + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.indicator :where(.indicator-item.indicator-center) { + left: 50%; + right: 50%; + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.indicator :where(.indicator-item.indicator-end) { + left: 0px; + right: auto; + --tw-translate-x: 50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.indicator :where(.indicator-item.indicator-bottom) { + top: auto; + bottom: 0px; + --tw-translate-y: 50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.indicator :where(.indicator-item.indicator-middle) { + top: 50%; + bottom: 50%; + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.indicator :where(.indicator-item.indicator-top) { + top: 0px; + bottom: auto; + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +:where(.toast) { + left: 0px; + right: auto; + top: auto; + bottom: 0px; + --tw-translate-x: 0px; + --tw-translate-y: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.toast:where(.toast-start) { + left: auto; + right: 0px; + --tw-translate-x: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.toast:where(.toast-center) { + left: 50%; + right: 50%; + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.toast:where(.toast-end) { + left: 0px; + right: auto; + --tw-translate-x: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.toast:where(.toast-bottom) { + top: auto; + bottom: 0px; + --tw-translate-y: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.toast:where(.toast-middle) { + top: 50%; + bottom: auto; + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.toast:where(.toast-top) { + top: 0px; + bottom: auto; + --tw-translate-y: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.avatar.online:before { + content: ""; + position: absolute; + z-index: 10; + display: block; + border-radius: 9999px; + --tw-bg-opacity: 1; + background-color: hsl(var(--su) / var(--tw-bg-opacity)); + width: 15%; + height: 15%; + top: 7%; + left: 7%; + box-shadow: 0 0 0 2px hsl(var(--b1)); +} +.avatar.offline:before { + content: ""; + position: absolute; + z-index: 10; + display: block; + border-radius: 9999px; + --tw-bg-opacity: 1; + background-color: hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity)); + width: 15%; + height: 15%; + top: 7%; + left: 7%; + box-shadow: 0 0 0 2px hsl(var(--b1)); +} +.wedocs-document .pointer-events-none { + pointer-events: none; +} +.wedocs-document .visible { + visibility: visible; +} +.wedocs-document .invisible { + visibility: hidden; +} +.wedocs-document .fixed { + position: fixed; +} +.wedocs-document .absolute { + position: absolute; +} +.wedocs-document .relative { + position: relative; +} +.wedocs-document .sticky { + position: sticky; +} +.wedocs-document .-inset-px { + inset: -1px; +} +.wedocs-document .inset-0 { + inset: 0px; +} +.wedocs-document .inset-y-0 { + top: 0px; + bottom: 0px; +} +.wedocs-document .-right-1 { + left: -0.25rem; +} +.wedocs-document .-right-3\.5 { + left: -0.875rem; +} +.wedocs-document .-top-1 { + top: -0.25rem; +} +.wedocs-document .left-0 { + right: 0px; +} +.wedocs-document .left-1\/2 { + right: 50%; +} +.wedocs-document .left-\[50\%\] { + right: 50%; +} +.wedocs-document .right-0 { + left: 0px; +} +.wedocs-document .right-10 { + left: 2.5rem; +} +.wedocs-document .right-2\.5 { + left: 0.625rem; +} +.wedocs-document .right-9 { + left: 2.25rem; +} +.wedocs-document .top-0 { + top: 0px; +} +.wedocs-document .top-1\/2 { + top: 50%; +} +.wedocs-document .top-10 { + top: 2.5rem; +} +.wedocs-document .top-2\.5 { + top: 0.625rem; +} +.wedocs-document .isolate { + isolation: isolate; +} +.wedocs-document .\!z-\[9999\] { + z-index: 9999 !important; +} +.wedocs-document .z-0 { + z-index: 0; +} +.wedocs-document .z-10 { + z-index: 10; +} +.wedocs-document .z-40 { + z-index: 40; +} +.wedocs-document .z-50 { + z-index: 50; +} +.wedocs-document .z-\[0\] { + z-index: 0; +} +.wedocs-document .z-\[100\] { + z-index: 100; +} +.wedocs-document .z-\[1\] { + z-index: 1; +} +.wedocs-document .z-\[2000\] { + z-index: 2000; +} +.wedocs-document .z-\[50\] { + z-index: 50; +} +.wedocs-document .z-\[90\] { + z-index: 90; +} +.wedocs-document .z-\[9980\] { + z-index: 9980; +} +.wedocs-document .z-\[99999\] { + z-index: 99999; +} +.wedocs-document .z-\[9999\] { + z-index: 9999; +} +.wedocs-document .col-span-1 { + grid-column: span 1 / span 1; +} +.wedocs-document .col-span-12 { + grid-column: span 12 / span 12; +} +.wedocs-document .col-span-4 { + grid-column: span 4 / span 4; +} +.wedocs-document .float-left { + float: right; +} +.wedocs-document .m-0 { + margin: 0px; +} +.wedocs-document .-mx-1 { + margin-right: -0.25rem; + margin-left: -0.25rem; +} +.wedocs-document .mx-1 { + margin-right: 0.25rem; + margin-left: 0.25rem; +} +.wedocs-document .mx-auto { + margin-right: auto; + margin-left: auto; +} +.wedocs-document .my-1 { + margin-top: 0.25rem; + margin-bottom: 0.25rem; +} +.wedocs-document .my-1\.5 { + margin-top: 0.375rem; + margin-bottom: 0.375rem; +} +.wedocs-document .my-24 { + margin-top: 6rem; + margin-bottom: 6rem; +} +.wedocs-document .my-3\.5 { + margin-top: 0.875rem; + margin-bottom: 0.875rem; +} +.wedocs-document .my-5 { + margin-top: 1.25rem; + margin-bottom: 1.25rem; +} +.wedocs-document .my-6 { + margin-top: 1.5rem; + margin-bottom: 1.5rem; +} +.wedocs-document .my-7 { + margin-top: 1.75rem; + margin-bottom: 1.75rem; +} +.wedocs-document .\!-mt-\[0\.5px\] { + margin-top: -0.5px !important; +} +.wedocs-document .\!mb-0\.5 { + margin-bottom: 0.125rem !important; +} +.wedocs-document .\!ml-1 { + margin-right: 0.25rem !important; +} +.wedocs-document .\!ml-4 { + margin-right: 1rem !important; +} +.wedocs-document .\!ml-5 { + margin-right: 1.25rem !important; +} +.wedocs-document .\!ml-\[-26px\] { + margin-right: -26px !important; +} +.wedocs-document .\!mr-2 { + margin-left: 0.5rem !important; +} +.wedocs-document .\!mt-1 { + margin-top: 0.25rem !important; +} +.wedocs-document .\!mt-14 { + margin-top: 3.5rem !important; +} +.wedocs-document .-ml-0\.5 { + margin-right: -0.125rem; +} +.wedocs-document .-ml-1 { + margin-right: -0.25rem; +} +.wedocs-document .-mt-0\.5 { + margin-top: -0.125rem; +} +.wedocs-document .-mt-1 { + margin-top: -0.25rem; +} +.wedocs-document .-mt-3 { + margin-top: -0.75rem; +} +.wedocs-document .-mt-5 { + margin-top: -1.25rem; +} +.wedocs-document .-mt-\[15px\] { + margin-top: -15px; +} +.wedocs-document .-mt-\[17px\] { + margin-top: -17px; +} +.wedocs-document .-mt-\[1px\] { + margin-top: -1px; +} +.wedocs-document .-mt-\[3px\] { + margin-top: -3px; +} +.wedocs-document .-mt-px { + margin-top: -1px; +} +.wedocs-document .mb-0 { + margin-bottom: 0px; +} +.wedocs-document .mb-0\.5 { + margin-bottom: 0.125rem; +} +.wedocs-document .mb-1\.5 { + margin-bottom: 0.375rem; +} +.wedocs-document .mb-10 { + margin-bottom: 2.5rem; +} +.wedocs-document .mb-16 { + margin-bottom: 4rem; +} +.wedocs-document .mb-2 { + margin-bottom: 0.5rem; +} +.wedocs-document .mb-2\.5 { + margin-bottom: 0.625rem; +} +.wedocs-document .mb-3 { + margin-bottom: 0.75rem; +} +.wedocs-document .mb-3\.5 { + margin-bottom: 0.875rem; +} +.wedocs-document .mb-4 { + margin-bottom: 1rem; +} +.wedocs-document .mb-5 { + margin-bottom: 1.25rem; +} +.wedocs-document .mb-6 { + margin-bottom: 1.5rem; +} +.wedocs-document .mb-7 { + margin-bottom: 1.75rem; +} +.wedocs-document .mb-8 { + margin-bottom: 2rem; +} +.wedocs-document .mb-\[60px\] { + margin-bottom: 60px; +} +.wedocs-document .ml-1 { + margin-right: 0.25rem; +} +.wedocs-document .ml-1\.5 { + margin-right: 0.375rem; +} +.wedocs-document .ml-2 { + margin-right: 0.5rem; +} +.wedocs-document .ml-2\.5 { + margin-right: 0.625rem; +} +.wedocs-document .ml-3 { + margin-right: 0.75rem; +} +.wedocs-document .ml-4 { + margin-right: 1rem; +} +.wedocs-document .ml-5 { + margin-right: 1.25rem; +} +.wedocs-document .ml-6 { + margin-right: 1.5rem; +} +.wedocs-document .ml-8 { + margin-right: 2rem; +} +.wedocs-document .ml-9 { + margin-right: 2.25rem; +} +.wedocs-document .ml-auto { + margin-right: auto; +} +.wedocs-document .mr-0\.5 { + margin-left: 0.125rem; +} +.wedocs-document .mr-1 { + margin-left: 0.25rem; +} +.wedocs-document .mr-2 { + margin-left: 0.5rem; +} +.wedocs-document .mr-2\.5 { + margin-left: 0.625rem; +} +.wedocs-document .mr-3 { + margin-left: 0.75rem; +} +.wedocs-document .mr-3\.5 { + margin-left: 0.875rem; +} +.wedocs-document .mr-4 { + margin-left: 1rem; +} +.wedocs-document .mr-5 { + margin-left: 1.25rem; +} +.wedocs-document .mr-6 { + margin-left: 1.5rem; +} +.wedocs-document .mr-\[20px\] { + margin-left: 20px; +} +.wedocs-document .mr-auto { + margin-left: auto; +} +.wedocs-document .mt-0\.5 { + margin-top: 0.125rem; +} +.wedocs-document .mt-1 { + margin-top: 0.25rem; +} +.wedocs-document .mt-1\.5 { + margin-top: 0.375rem; +} +.wedocs-document .mt-10 { + margin-top: 2.5rem; +} +.wedocs-document .mt-14 { + margin-top: 3.5rem; +} +.wedocs-document .mt-2 { + margin-top: 0.5rem; +} +.wedocs-document .mt-2\.5 { + margin-top: 0.625rem; +} +.wedocs-document .mt-3 { + margin-top: 0.75rem; +} +.wedocs-document .mt-4 { + margin-top: 1rem; +} +.wedocs-document .mt-5 { + margin-top: 1.25rem; +} +.wedocs-document .mt-6 { + margin-top: 1.5rem; +} +.wedocs-document .mt-7 { + margin-top: 1.75rem; +} +.wedocs-document .mt-8 { + margin-top: 2rem; +} +.wedocs-document .mt-\[-2px\] { + margin-top: -2px; +} +.wedocs-document .mt-\[13px\] { + margin-top: 13px; +} +.wedocs-document .mt-\[15px\] { + margin-top: 15px; +} +.wedocs-document .mt-\[1px\] { + margin-top: 1px; +} +.wedocs-document .mt-\[70px\] { + margin-top: 70px; +} +.wedocs-document .box-border { + box-sizing: border-box; +} +.wedocs-document .box-content { + box-sizing: content-box; +} +.wedocs-document .block { + display: block; +} +.wedocs-document .inline-block { + display: inline-block; +} +.wedocs-document .inline { + display: inline; +} +.wedocs-document .\!flex { + display: flex !important; +} +.wedocs-document .flex { + display: flex; +} +.wedocs-document .inline-flex { + display: inline-flex; +} +.wedocs-document .table { + display: table; +} +.wedocs-document .grid { + display: grid; +} +.wedocs-document .contents { + display: contents; +} +.wedocs-document .hidden { + display: none; +} +.wedocs-document .h-1\.5 { + height: 0.375rem; +} +.wedocs-document .h-10 { + height: 2.5rem; +} +.wedocs-document .h-11 { + height: 2.75rem; +} +.wedocs-document .h-12 { + height: 3rem; +} +.wedocs-document .h-16 { + height: 4rem; +} +.wedocs-document .h-2 { + height: 0.5rem; +} +.wedocs-document .h-20 { + height: 5rem; +} +.wedocs-document .h-24 { + height: 6rem; +} +.wedocs-document .h-3 { + height: 0.75rem; +} +.wedocs-document .h-3\.5 { + height: 0.875rem; +} +.wedocs-document .h-4 { + height: 1rem; +} +.wedocs-document .h-48 { + height: 12rem; +} +.wedocs-document .h-5 { + height: 1.25rem; +} +.wedocs-document .h-6 { + height: 1.5rem; +} +.wedocs-document .h-7 { + height: 1.75rem; +} +.wedocs-document .h-8 { + height: 2rem; +} +.wedocs-document .h-80 { + height: 20rem; +} +.wedocs-document .h-\[100\%\] { + height: 100%; +} +.wedocs-document .h-\[135px\] { + height: 135px; +} +.wedocs-document .h-\[180px\] { + height: 180px; +} +.wedocs-document .h-\[4\.5rem\] { + height: 4.5rem; +} +.wedocs-document .h-\[407px\] { + height: 407px; +} +.wedocs-document .h-\[50px\] { + height: 50px; +} +.wedocs-document .h-\[75vh\] { + height: 75vh; +} +.wedocs-document .h-\[80vh\] { + height: 80vh; +} +.wedocs-document .h-fit { + height: -moz-fit-content; + height: fit-content; +} +.wedocs-document .h-full { + height: 100%; +} +.wedocs-document .h-px { + height: 1px; +} +.wedocs-document .max-h-5 { + max-height: 1.25rem; +} +.wedocs-document .max-h-60 { + max-height: 15rem; +} +.wedocs-document .min-h-\[200px\] { + min-height: 200px; +} +.wedocs-document .min-h-\[439px\] { + min-height: 439px; +} +.wedocs-document .min-h-\[500px\] { + min-height: 500px; +} +.wedocs-document .min-h-full { + min-height: 100%; +} +.wedocs-document .\!w-\[381px\] { + width: 381px !important; +} +.wedocs-document .\!w-\[600px\] { + width: 600px !important; +} +.wedocs-document .\!w-full { + width: 100% !important; +} +.wedocs-document .w-0 { + width: 0px; +} +.wedocs-document .w-10 { + width: 2.5rem; +} +.wedocs-document .w-12 { + width: 3rem; +} +.wedocs-document .w-16 { + width: 4rem; +} +.wedocs-document .w-2 { + width: 0.5rem; +} +.wedocs-document .w-24 { + width: 6rem; +} +.wedocs-document .w-3 { + width: 0.75rem; +} +.wedocs-document .w-3\.5 { + width: 0.875rem; +} +.wedocs-document .w-32 { + width: 8rem; +} +.wedocs-document .w-4 { + width: 1rem; +} +.wedocs-document .w-40 { + width: 10rem; +} +.wedocs-document .w-44 { + width: 11rem; +} +.wedocs-document .w-5 { + width: 1.25rem; +} +.wedocs-document .w-52 { + width: 13rem; +} +.wedocs-document .w-56 { + width: 14rem; +} +.wedocs-document .w-6 { + width: 1.5rem; +} +.wedocs-document .w-64 { + width: 16rem; +} +.wedocs-document .w-7 { + width: 1.75rem; +} +.wedocs-document .w-8 { + width: 2rem; +} +.wedocs-document .w-80 { + width: 20rem; +} +.wedocs-document .w-9 { + width: 2.25rem; +} +.wedocs-document .w-\[108px\] { + width: 108px; +} +.wedocs-document .w-\[160px\] { + width: 160px; +} +.wedocs-document .w-\[26rem\] { + width: 26rem; +} +.wedocs-document .w-\[270px\] { + width: 270px; +} +.wedocs-document .w-\[310px\] { + width: 310px; +} +.wedocs-document .w-\[340px\] { + width: 340px; +} +.wedocs-document .w-\[5\%\] { + width: 5%; +} +.wedocs-document .w-\[500px\] { + width: 500px; +} +.wedocs-document .w-\[512px\] { + width: 512px; +} +.wedocs-document .w-\[600px\] { + width: 600px; +} +.wedocs-document .w-\[72px\] { + width: 72px; +} +.wedocs-document .w-\[800px\] { + width: 800px; +} +.wedocs-document .w-\[900px\] { + width: 900px; +} +.wedocs-document .w-auto { + width: auto; +} +.wedocs-document .w-fit { + width: -moz-fit-content; + width: fit-content; +} +.wedocs-document .w-full { + width: 100%; +} +.wedocs-document .min-w-0 { + min-width: 0px; +} +.wedocs-document .min-w-\[122px\] { + min-width: 122px; +} +.wedocs-document .min-w-\[136px\] { + min-width: 136px; +} +.wedocs-document .min-w-\[150px\] { + min-width: 150px; +} +.wedocs-document .max-w-5 { + max-width: 1.25rem; +} +.wedocs-document .max-w-\[1008px\] { + max-width: 1008px; +} +.wedocs-document .max-w-\[490px\] { + max-width: 490px; +} +.wedocs-document .max-w-md { + max-width: 28rem; +} +.wedocs-document .max-w-none { + max-width: none; +} +.wedocs-document .flex-1 { + flex: 1 1 0%; +} +.wedocs-document .flex-\[1\.25\] { + flex: 1.25; +} +.wedocs-document .flex-\[3\] { + flex: 3; +} +.wedocs-document .flex-none { + flex: none; +} +.wedocs-document .flex-shrink { + flex-shrink: 1; +} +.wedocs-document .flex-shrink-0 { + flex-shrink: 0; +} +.wedocs-document .border-collapse { + border-collapse: collapse; +} +.wedocs-document .-translate-x-1\/2 { + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .-translate-y-1\/2 { + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .translate-x-0 { + --tw-translate-x: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .translate-x-5 { + --tw-translate-x: 1.25rem; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .translate-y-\[4\%\] { + --tw-translate-y: 4%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .rotate-90 { + --tw-rotate: 90deg; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .scale-100 { + --tw-scale-x: 1; + --tw-scale-y: 1; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .scale-95 { + --tw-scale-x: .95; + --tw-scale-y: .95; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +.wedocs-document .transform { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} +@keyframes pulse { + + 50% { + opacity: .5; + } +} +.wedocs-document .animate-pulse { + animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; +} +.wedocs-document .cursor-grab { + cursor: grab; +} +.wedocs-document .cursor-pointer { + cursor: pointer; +} +.wedocs-document .select-none { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.wedocs-document .auto-cols-\[1fr\] { + grid-auto-columns: 1fr; +} +.wedocs-document .grid-flow-col { + grid-auto-flow: column; +} +.wedocs-document .auto-rows-max { + grid-auto-rows: max-content; +} +.wedocs-document .grid-cols-1 { + grid-template-columns: repeat(1, minmax(0, 1fr)); +} +.wedocs-document .grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); +} +.wedocs-document .grid-cols-4 { + grid-template-columns: repeat(4, minmax(0, 1fr)); +} +.wedocs-document .flex-col { + flex-direction: column; +} +.wedocs-document .flex-wrap { + flex-wrap: wrap; +} +.wedocs-document .place-content-center { + place-content: center; +} +.wedocs-document .items-start { + align-items: flex-start; +} +.wedocs-document .items-end { + align-items: flex-end; +} +.wedocs-document .items-center { + align-items: center; +} +.wedocs-document .justify-end { + justify-content: flex-end; +} +.wedocs-document .justify-center { + justify-content: center; +} +.wedocs-document .justify-between { + justify-content: space-between; +} +.wedocs-document .\!gap-6 { + gap: 1.5rem !important; +} +.wedocs-document .gap-0 { + gap: 0px; +} +.wedocs-document .gap-1 { + gap: 0.25rem; +} +.wedocs-document .gap-10 { + gap: 2.5rem; +} +.wedocs-document .gap-2 { + gap: 0.5rem; +} +.wedocs-document .gap-2\.5 { + gap: 0.625rem; +} +.wedocs-document .gap-24 { + gap: 6rem; +} +.wedocs-document .gap-3 { + gap: 0.75rem; +} +.wedocs-document .gap-4 { + gap: 1rem; +} +.wedocs-document .gap-5 { + gap: 1.25rem; +} +.wedocs-document .gap-7 { + gap: 1.75rem; +} +.wedocs-document :is(.-space-x-2 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(-0.5rem * var(--tw-space-x-reverse)); + margin-right: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-1 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(0.25rem * var(--tw-space-x-reverse)); + margin-right: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-10 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(2.5rem * var(--tw-space-x-reverse)); + margin-right: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-2 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(0.5rem * var(--tw-space-x-reverse)); + margin-right: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-2\.5 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(0.625rem * var(--tw-space-x-reverse)); + margin-right: calc(0.625rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-3 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(0.75rem * var(--tw-space-x-reverse)); + margin-right: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-3\.5 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(0.875rem * var(--tw-space-x-reverse)); + margin-right: calc(0.875rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-4 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(1rem * var(--tw-space-x-reverse)); + margin-right: calc(1rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-5 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(1.25rem * var(--tw-space-x-reverse)); + margin-right: calc(1.25rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-6 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(1.5rem * var(--tw-space-x-reverse)); + margin-right: calc(1.5rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-x-8 > :not([hidden]) ~ :not([hidden])) { + --tw-space-x-reverse: 0; + margin-left: calc(2rem * var(--tw-space-x-reverse)); + margin-right: calc(2rem * calc(1 - var(--tw-space-x-reverse))); +} +.wedocs-document :is(.space-y-0\.5 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.125rem * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.space-y-1 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.space-y-3\.5 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(0.875rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.875rem * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.space-y-4 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1rem * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.space-y-5 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1.25rem * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.space-y-6 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.space-y-\[22px\] > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(22px * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(22px * var(--tw-space-y-reverse)); +} +.wedocs-document :is(.divide-x > :not([hidden]) ~ :not([hidden])) { + --tw-divide-x-reverse: 0; + border-left-width: calc(1px * var(--tw-divide-x-reverse)); + border-right-width: calc(1px * calc(1 - var(--tw-divide-x-reverse))); +} +.wedocs-document :is(.divide-gray-200 > :not([hidden]) ~ :not([hidden])) { + --tw-divide-opacity: 1; + border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1)); +} +.wedocs-document .self-center { + align-self: center; +} +.wedocs-document .overflow-auto { + overflow: auto; +} +.wedocs-document .overflow-hidden { + overflow: hidden; +} +.wedocs-document .overflow-visible { + overflow: visible; +} +.wedocs-document .overflow-y-auto { + overflow-y: auto; +} +.wedocs-document .truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.wedocs-document .whitespace-break-spaces { + white-space: break-spaces; +} +.wedocs-document .text-wrap { + text-wrap: wrap; +} +.wedocs-document .\!rounded-md { + border-radius: 0.375rem !important; +} +.wedocs-document .rounded { + border-radius: 0.25rem; +} +.wedocs-document .rounded-2xl { + border-radius: 1rem; +} +.wedocs-document .rounded-\[10px\] { + border-radius: 10px; +} +.wedocs-document .rounded-\[42px\] { + border-radius: 42px; +} +.wedocs-document .rounded-\[55px\] { + border-radius: 55px; +} +.wedocs-document .rounded-full { + border-radius: 9999px; +} +.wedocs-document .rounded-lg { + border-radius: 0.5rem; +} +.wedocs-document .rounded-md { + border-radius: 0.375rem; +} +.wedocs-document .rounded-r-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; +} +.wedocs-document .rounded-br-none { + border-bottom-left-radius: 0px; +} +.wedocs-document .rounded-tr-none { + border-top-left-radius: 0px; +} +.wedocs-document .\!border-0 { + border-width: 0px !important; +} +.wedocs-document .border { + border-width: 1px; +} +.wedocs-document .border-0 { + border-width: 0px; +} +.wedocs-document .border-2 { + border-width: 2px; +} +.wedocs-document .border-b { + border-bottom-width: 1px; +} +.wedocs-document .border-l-4 { + border-right-width: 4px; +} +.wedocs-document .border-t { + border-top-width: 1px; +} +.wedocs-document .\!border-\[\#8c8f94\] { + --tw-border-opacity: 1 !important; + border-color: rgb(140 143 148 / var(--tw-border-opacity, 1)) !important; +} +.wedocs-document .\!border-gray-300 { + --tw-border-opacity: 1 !important; + border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)) !important; +} +.wedocs-document .\!border-red-500 { + --tw-border-opacity: 1 !important; + border-color: rgb(239 68 68 / var(--tw-border-opacity, 1)) !important; +} +.wedocs-document .\!border-transparent { + border-color: transparent !important; +} +.wedocs-document .border-\[\#D1D5DB\] { + --tw-border-opacity: 1; + border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-\[\#D9D9D9\] { + --tw-border-opacity: 1; + border-color: rgb(217 217 217 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-\[\#DBDBDB\] { + --tw-border-opacity: 1; + border-color: rgb(219 219 219 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-\[\#E2E2E2\] { + --tw-border-opacity: 1; + border-color: rgb(226 226 226 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-\[\#E5E7EB\] { + --tw-border-opacity: 1; + border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-\[\#FBBF24\] { + --tw-border-opacity: 1; + border-color: rgb(251 191 36 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-gray-200 { + --tw-border-opacity: 1; + border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-gray-300 { + --tw-border-opacity: 1; + border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-gray-400 { + --tw-border-opacity: 1; + border-color: rgb(156 163 175 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-indigo-600 { + --tw-border-opacity: 1; + border-color: rgb(79 70 229 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-transparent { + border-color: transparent; +} +.wedocs-document .border-yellow-400 { + --tw-border-opacity: 1; + border-color: rgb(250 204 21 / var(--tw-border-opacity, 1)); +} +.wedocs-document .border-t-\[\#DBDBDB\] { + --tw-border-opacity: 1; + border-top-color: rgb(219 219 219 / var(--tw-border-opacity, 1)); +} +.wedocs-document .\!bg-\[\#007f69\] { + --tw-bg-opacity: 1 !important; + background-color: rgb(0 127 105 / var(--tw-bg-opacity, 1)) !important; +} +.wedocs-document .\!bg-\[\#909091\] { + --tw-bg-opacity: 1 !important; + background-color: rgb(144 144 145 / var(--tw-bg-opacity, 1)) !important; +} +.wedocs-document .\!bg-gray-200 { + --tw-bg-opacity: 1 !important; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)) !important; +} +.wedocs-document .\!bg-transparent { + background-color: transparent !important; +} +.wedocs-document .\!bg-white { + --tw-bg-opacity: 1 !important; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important; +} +.wedocs-document .bg-\[\#00000080\] { + background-color: #00000080; +} +.wedocs-document .bg-\[\#00A1E4\] { + --tw-bg-opacity: 1; + background-color: rgb(0 161 228 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#06B6D4\] { + --tw-bg-opacity: 1; + background-color: rgb(6 182 212 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#139f84\] { + --tw-bg-opacity: 1; + background-color: rgb(19 159 132 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#4F46E5\] { + --tw-bg-opacity: 1; + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#94a3b8\] { + --tw-bg-opacity: 1; + background-color: rgb(148 163 184 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#E2E8F0\] { + --tw-bg-opacity: 1; + background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#E3E5E7\] { + --tw-bg-opacity: 1; + background-color: rgb(227 229 231 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#E7E6FF\] { + --tw-bg-opacity: 1; + background-color: rgb(231 230 255 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#F3F4F6\] { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#FF9000\] { + --tw-bg-opacity: 1; + background-color: rgb(255 144 0 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#cbd5e1\] { + --tw-bg-opacity: 1; + background-color: rgb(203 213 225 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-\[\#ff9000\] { + --tw-bg-opacity: 1; + background-color: rgb(255 144 0 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-black { + --tw-bg-opacity: 1; + background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-gray-100 { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-gray-200 { + --tw-bg-opacity: 1; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-gray-400 { + --tw-bg-opacity: 1; + background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-gray-50 { + --tw-bg-opacity: 1; + background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-indigo-600 { + --tw-bg-opacity: 1; + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-indigo-700 { + --tw-bg-opacity: 1; + background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-red-100 { + --tw-bg-opacity: 1; + background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-red-600 { + --tw-bg-opacity: 1; + background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-slate-200 { + --tw-bg-opacity: 1; + background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-yellow-50 { + --tw-bg-opacity: 1; + background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1)); +} +.wedocs-document .bg-opacity-25 { + --tw-bg-opacity: 0.25; +} +.wedocs-document .fill-gray-500 { + fill: #6b7280; +} +.wedocs-document .stroke-\[\#6b7280\] { + stroke: #6b7280; +} +.wedocs-document .stroke-gray-300 { + stroke: #d1d5db; +} +.wedocs-document .stroke-gray-400 { + stroke: #9ca3af; +} +.wedocs-document .stroke-gray-500 { + stroke: #6b7280; +} +.wedocs-document .p-0 { + padding: 0px; +} +.wedocs-document .p-1\.5 { + padding: 0.375rem; +} +.wedocs-document .p-12 { + padding: 3rem; +} +.wedocs-document .p-3 { + padding: 0.75rem; +} +.wedocs-document .p-4 { + padding: 1rem; +} +.wedocs-document .p-5 { + padding: 1.25rem; +} +.wedocs-document .p-6 { + padding: 1.5rem; +} +.wedocs-document .\!px-0 { + padding-right: 0px !important; + padding-left: 0px !important; +} +.wedocs-document .\!px-3 { + padding-right: 0.75rem !important; + padding-left: 0.75rem !important; +} +.wedocs-document .\!px-4 { + padding-right: 1rem !important; + padding-left: 1rem !important; +} +.wedocs-document .\!py-0 { + padding-top: 0px !important; + padding-bottom: 0px !important; +} +.wedocs-document .\!py-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; +} +.wedocs-document .\!py-1\.5 { + padding-top: 0.375rem !important; + padding-bottom: 0.375rem !important; +} +.wedocs-document .\!py-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; +} +.wedocs-document .px-0\.5 { + padding-right: 0.125rem; + padding-left: 0.125rem; +} +.wedocs-document .px-1\.5 { + padding-right: 0.375rem; + padding-left: 0.375rem; +} +.wedocs-document .px-12 { + padding-right: 3rem; + padding-left: 3rem; +} +.wedocs-document .px-16 { + padding-right: 4rem; + padding-left: 4rem; +} +.wedocs-document .px-2 { + padding-right: 0.5rem; + padding-left: 0.5rem; +} +.wedocs-document .px-2\.5 { + padding-right: 0.625rem; + padding-left: 0.625rem; +} +.wedocs-document .px-20 { + padding-right: 5rem; + padding-left: 5rem; +} +.wedocs-document .px-3 { + padding-right: 0.75rem; + padding-left: 0.75rem; +} +.wedocs-document .px-3\.5 { + padding-right: 0.875rem; + padding-left: 0.875rem; +} +.wedocs-document .px-36 { + padding-right: 9rem; + padding-left: 9rem; +} +.wedocs-document .px-4 { + padding-right: 1rem; + padding-left: 1rem; +} +.wedocs-document .px-5 { + padding-right: 1.25rem; + padding-left: 1.25rem; +} +.wedocs-document .px-6 { + padding-right: 1.5rem; + padding-left: 1.5rem; +} +.wedocs-document .px-8 { + padding-right: 2rem; + padding-left: 2rem; +} +.wedocs-document .px-9 { + padding-right: 2.25rem; + padding-left: 2.25rem; +} +.wedocs-document .px-\[5px\] { + padding-right: 5px; + padding-left: 5px; +} +.wedocs-document .px-\[70px\] { + padding-right: 70px; + padding-left: 70px; +} +.wedocs-document .py-0\.5 { + padding-top: 0.125rem; + padding-bottom: 0.125rem; +} +.wedocs-document .py-1 { + padding-top: 0.25rem; + padding-bottom: 0.25rem; +} +.wedocs-document .py-1\.5 { + padding-top: 0.375rem; + padding-bottom: 0.375rem; +} +.wedocs-document .py-10 { + padding-top: 2.5rem; + padding-bottom: 2.5rem; +} +.wedocs-document .py-12 { + padding-top: 3rem; + padding-bottom: 3rem; +} +.wedocs-document .py-2 { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} +.wedocs-document .py-2\.5 { + padding-top: 0.625rem; + padding-bottom: 0.625rem; +} +.wedocs-document .py-3 { + padding-top: 0.75rem; + padding-bottom: 0.75rem; +} +.wedocs-document .py-3\.5 { + padding-top: 0.875rem; + padding-bottom: 0.875rem; +} +.wedocs-document .py-4 { + padding-top: 1rem; + padding-bottom: 1rem; +} +.wedocs-document .py-5 { + padding-top: 1.25rem; + padding-bottom: 1.25rem; +} +.wedocs-document .py-6 { + padding-top: 1.5rem; + padding-bottom: 1.5rem; +} +.wedocs-document .py-8 { + padding-top: 2rem; + padding-bottom: 2rem; +} +.wedocs-document .py-\[18px\] { + padding-top: 18px; + padding-bottom: 18px; +} +.wedocs-document .py-\[3px\] { + padding-top: 3px; + padding-bottom: 3px; +} +.wedocs-document .\!pl-3 { + padding-right: 0.75rem !important; +} +.wedocs-document .\!pl-4 { + padding-right: 1rem !important; +} +.wedocs-document .\!pr-10 { + padding-left: 2.5rem !important; +} +.wedocs-document .pb-0\.5 { + padding-bottom: 0.125rem; +} +.wedocs-document .pb-10 { + padding-bottom: 2.5rem; +} +.wedocs-document .pb-12 { + padding-bottom: 3rem; +} +.wedocs-document .pb-20 { + padding-bottom: 5rem; +} +.wedocs-document .pb-6 { + padding-bottom: 1.5rem; +} +.wedocs-document .pb-7 { + padding-bottom: 1.75rem; +} +.wedocs-document .pl-2\.5 { + padding-right: 0.625rem; +} +.wedocs-document .pl-3 { + padding-right: 0.75rem; +} +.wedocs-document .pl-4 { + padding-right: 1rem; +} +.wedocs-document .pl-6 { + padding-right: 1.5rem; +} +.wedocs-document .pr-0 { + padding-left: 0px; +} +.wedocs-document .pr-10 { + padding-left: 2.5rem; +} +.wedocs-document .pr-14 { + padding-left: 3.5rem; +} +.wedocs-document .pr-16 { + padding-left: 4rem; +} +.wedocs-document .pr-2 { + padding-left: 0.5rem; +} +.wedocs-document .pr-3 { + padding-left: 0.75rem; +} +.wedocs-document .pr-3\.5 { + padding-left: 0.875rem; +} +.wedocs-document .pr-4 { + padding-left: 1rem; +} +.wedocs-document .pr-5 { + padding-left: 1.25rem; +} +.wedocs-document .pr-8 { + padding-left: 2rem; +} +.wedocs-document .pr-9 { + padding-left: 2.25rem; +} +.wedocs-document .pr-\[5px\] { + padding-left: 5px; +} +.wedocs-document .pt-0 { + padding-top: 0px; +} +.wedocs-document .pt-16 { + padding-top: 4rem; +} +.wedocs-document .pt-2\.5 { + padding-top: 0.625rem; +} +.wedocs-document .pt-3 { + padding-top: 0.75rem; +} +.wedocs-document .pt-5 { + padding-top: 1.25rem; +} +.wedocs-document .pt-6 { + padding-top: 1.5rem; +} +.wedocs-document .pt-7 { + padding-top: 1.75rem; +} +.wedocs-document .pt-\[1px\] { + padding-top: 1px; +} +.wedocs-document .text-left { + text-align: right; +} +.wedocs-document .text-center { + text-align: center; +} +.wedocs-document .text-right { + text-align: left; +} +.wedocs-document .align-middle { + vertical-align: middle; +} +.wedocs-document .\!text-base { + font-size: 1rem !important; + line-height: 1.5rem !important; +} +.wedocs-document .text-2xl { + font-size: 1.5rem; + line-height: 2rem; +} +.wedocs-document .text-3xl { + font-size: 1.875rem; + line-height: 2.25rem; +} +.wedocs-document .text-\[10px\] { + font-size: 10px; +} +.wedocs-document .text-\[11px\] { + font-size: 11px; +} +.wedocs-document .text-\[13px\] { + font-size: 13px; +} +.wedocs-document .text-base { + font-size: 1rem; + line-height: 1.5rem; +} +.wedocs-document .text-lg { + font-size: 1.125rem; + line-height: 1.75rem; +} +.wedocs-document .text-sm { + font-size: 0.875rem; + line-height: 1.25rem; +} +.wedocs-document .text-xl { + font-size: 1.25rem; + line-height: 1.75rem; +} +.wedocs-document .text-xs { + font-size: 0.75rem; + line-height: 1rem; +} +.wedocs-document .\!font-medium { + font-weight: 500 !important; +} +.wedocs-document .\!font-normal { + font-weight: 400 !important; +} +.wedocs-document .font-\[600\] { + font-weight: 600; +} +.wedocs-document .font-bold { + font-weight: 700; +} +.wedocs-document .font-extrabold { + font-weight: 800; +} +.wedocs-document .font-medium { + font-weight: 500; +} +.wedocs-document .font-normal { + font-weight: 400; +} +.wedocs-document .font-semibold { + font-weight: 600; +} +.wedocs-document .uppercase { + text-transform: uppercase; +} +.wedocs-document .lowercase { + text-transform: lowercase; +} +.wedocs-document .capitalize { + text-transform: capitalize; +} +.wedocs-document .italic { + font-style: italic; +} +.wedocs-document .\!leading-5 { + line-height: 1.25rem !important; +} +.wedocs-document .leading-3 { + line-height: .75rem; +} +.wedocs-document .leading-4 { + line-height: 1rem; +} +.wedocs-document .leading-5 { + line-height: 1.25rem; +} +.wedocs-document .leading-6 { + line-height: 1.5rem; +} +.wedocs-document .leading-7 { + line-height: 1.75rem; +} +.wedocs-document .leading-8 { + line-height: 2rem; +} +.wedocs-document .leading-\[13\.31px\] { + line-height: 13.31px; +} +.wedocs-document .leading-\[3rem\] { + line-height: 3rem; +} +.wedocs-document .leading-none { + line-height: 1; +} +.wedocs-document .leading-normal { + line-height: 1.5; +} +.wedocs-document .tracking-wider { + letter-spacing: 0.05em; +} +.wedocs-document .\!text-black { + --tw-text-opacity: 1 !important; + color: rgb(0 0 0 / var(--tw-text-opacity, 1)) !important; +} +.wedocs-document .text-\[\#0043FF\] { + --tw-text-opacity: 1; + color: rgb(0 67 255 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#111827\] { + --tw-text-opacity: 1; + color: rgb(17 24 39 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#333333\] { + --tw-text-opacity: 1; + color: rgb(51 51 51 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#3B3F4A\] { + --tw-text-opacity: 1; + color: rgb(59 63 74 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#656668\] { + --tw-text-opacity: 1; + color: rgb(101 102 104 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#666B79\] { + --tw-text-opacity: 1; + color: rgb(102 107 121 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#6B7280\] { + --tw-text-opacity: 1; + color: rgb(107 114 128 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#92400E\] { + --tw-text-opacity: 1; + color: rgb(146 64 14 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#969696\] { + --tw-text-opacity: 1; + color: rgb(150 150 150 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#B4BBD6\] { + --tw-text-opacity: 1; + color: rgb(180 187 214 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#d1d5db\] { + --tw-text-opacity: 1; + color: rgb(209 213 219 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-\[\#ff9000\] { + --tw-text-opacity: 1; + color: rgb(255 144 0 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-black { + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-gray-400 { + --tw-text-opacity: 1; + color: rgb(156 163 175 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-gray-500 { + --tw-text-opacity: 1; + color: rgb(107 114 128 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-gray-600 { + --tw-text-opacity: 1; + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-gray-700 { + --tw-text-opacity: 1; + color: rgb(55 65 81 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-gray-800 { + --tw-text-opacity: 1; + color: rgb(31 41 55 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-gray-900 { + --tw-text-opacity: 1; + color: rgb(17 24 39 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-indigo-600 { + --tw-text-opacity: 1; + color: rgb(79 70 229 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-indigo-700 { + --tw-text-opacity: 1; + color: rgb(67 56 202 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-red-500 { + --tw-text-opacity: 1; + color: rgb(239 68 68 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-red-600 { + --tw-text-opacity: 1; + color: rgb(220 38 38 / var(--tw-text-opacity, 1)); +} +.wedocs-document .text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} +.wedocs-document .underline { + text-decoration-line: underline; +} +.wedocs-document .overline { + text-decoration-line: overline; +} +.wedocs-document .line-through { + text-decoration-line: line-through; +} +.wedocs-document .decoration-1 { + text-decoration-thickness: 1px; +} +.wedocs-document .underline-offset-2 { + text-underline-offset: 2px; +} +.wedocs-document .antialiased { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.wedocs-document .placeholder-\[\#333333\]::-moz-placeholder { + --tw-placeholder-opacity: 1; + color: rgb(51 51 51 / var(--tw-placeholder-opacity, 1)); +} +.wedocs-document .placeholder-\[\#333333\]::placeholder { + --tw-placeholder-opacity: 1; + color: rgb(51 51 51 / var(--tw-placeholder-opacity, 1)); +} +.wedocs-document .placeholder-\[\#BDBDBD\]::-moz-placeholder { + --tw-placeholder-opacity: 1; + color: rgb(189 189 189 / var(--tw-placeholder-opacity, 1)); +} +.wedocs-document .placeholder-\[\#BDBDBD\]::placeholder { + --tw-placeholder-opacity: 1; + color: rgb(189 189 189 / var(--tw-placeholder-opacity, 1)); +} +.wedocs-document .placeholder-gray-400::-moz-placeholder { + --tw-placeholder-opacity: 1; + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); +} +.wedocs-document .placeholder-gray-400::placeholder { + --tw-placeholder-opacity: 1; + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); +} +.wedocs-document .opacity-0 { + opacity: 0; +} +.wedocs-document .opacity-100 { + opacity: 1; +} +.wedocs-document .opacity-50 { + opacity: 0.5; +} +.wedocs-document .\!shadow-none { + --tw-shadow: 0 0 #0000 !important; + --tw-shadow-colored: 0 0 #0000 !important; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important; +} +.wedocs-document .shadow { + --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} +.wedocs-document .shadow-lg { + --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} +.wedocs-document .shadow-sm { + --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); + --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} +.wedocs-document .shadow-xl { + --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} +.wedocs-document .shadow-gray-100 { + --tw-shadow-color: #f3f4f6; + --tw-shadow: var(--tw-shadow-colored); +} +.wedocs-document .shadow-gray-800\/30 { + --tw-shadow-color: rgb(31 41 55 / 0.3); + --tw-shadow: var(--tw-shadow-colored); +} +.wedocs-document .outline-none { + outline: 2px solid transparent; + outline-offset: 2px; +} +.wedocs-document .outline { + outline-style: solid; +} +.wedocs-document .outline-0 { + outline-width: 0px; +} +.wedocs-document .ring-0 { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} +.wedocs-document .ring-1 { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} +.wedocs-document .ring-2 { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} +.wedocs-document .ring-black { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1)); +} +.wedocs-document .ring-indigo-600 { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity, 1)); +} +.wedocs-document .ring-white { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1)); +} +.wedocs-document .ring-opacity-5 { + --tw-ring-opacity: 0.05; +} +.wedocs-document .blur { + --tw-blur: blur(8px); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} +.wedocs-document .grayscale { + --tw-grayscale: grayscale(100%); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} +.wedocs-document .filter { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} +.wedocs-document .transition { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} +.wedocs-document .transition-all { + transition-property: all; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} +.wedocs-document .transition-colors { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} +.wedocs-document .transition-transform { + transition-property: transform; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} +.wedocs-document .duration-100 { + transition-duration: 100ms; +} +.wedocs-document .duration-200 { + transition-duration: 200ms; +} +.wedocs-document .duration-300 { + transition-duration: 300ms; +} +.wedocs-document .ease-in { + transition-timing-function: cubic-bezier(0.4, 0, 1, 1); +} +.wedocs-document .ease-in-out { + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); +} +.wedocs-document .ease-out { + transition-timing-function: cubic-bezier(0, 0, 0.2, 1); +} + +/* wp-generator */ +/* write or paste your code here */ +html.wp-toolbar { + background-color: #f0f0f1; +} + +#wpcontent { + padding: 0 25px; +} + +.wrap { + margin-left: 0; +} + +#adminmenu .wp-menu-image img { + margin: 0 auto; +} + +.docs-section-listing.wrap { + margin: 0; +} + +.modal-body .diamond-img { + background: linear-gradient(-220.03deg, #fff3dd 39.57%, #ffe3ad 97.5%); +} + +.modal-body .carousel.carousel-slider { + padding-bottom: 40px; +} + +.HW_visible { + position: absolute; + margin-top: 2px; +} + +@media screen and (max-width: 782px) { + #wpcontent { + padding: 0 25px !important; + } +} + +@media screen and (max-width: 768px) { + .settings-description { + max-width: 305px; + } + + .palette-options-container { + gap: 32px; + } + + .settings-palette-options { + width: 272px; + } +} + +@media screen and (max-width: 1024px) { + .palette-preview-container { + width: 320px; + } + + .preview-header .tabs .tab { + padding: 8px; + } + + .preview-header .tabs { + margin-bottom: 12px; + } + + .preview-header { + height: 160px; + } + + .listing-docs .doc-search { + min-height: 28px; + } + + .listing-docs .search-panel { + width: 256px; + margin-bottom: 16px; + } + + .explore-docs .doc-section { + width: 290px; + } +} + +@media screen and (min-width: 1024px) and (max-width: 1100px) { + .pro-sub-settings { + margin-right: 1.5rem; + } + + .settings-description { + max-width: 240px; + } + + .palette-options-container { + gap: 16px; + } + + .settings-palette-options { + width: 232px; + } + + .palette-first-color { + width: 16px; + } + + .settings-tab .pro-settings { + width: 54px; + } + + .settings-sub-tab svg { + width: 24px; + } +} + +.wedocs-document .before\:absolute::before { + content: var(--tw-content); + position: absolute; +} + +.wedocs-document .before\:-right-\[1px\]::before { + content: var(--tw-content); + left: -1px; +} + +.wedocs-document .before\:-top-2\.5::before { + content: var(--tw-content); + top: -0.625rem; +} + +.wedocs-document .before\:-top-4::before { + content: var(--tw-content); + top: -1rem; +} + +.wedocs-document .before\:-top-6::before { + content: var(--tw-content); + top: -1.5rem; +} + +.wedocs-document .before\:left-0::before { + content: var(--tw-content); + right: 0px; +} + +.wedocs-document .before\:mt-3::before { + content: var(--tw-content); + margin-top: 0.75rem; +} + +.wedocs-document .before\:\!hidden::before { + content: var(--tw-content); + display: none !important; +} + +.wedocs-document .before\:h-2\.5::before { + content: var(--tw-content); + height: 0.625rem; +} + +.wedocs-document .before\:h-3::before { + content: var(--tw-content); + height: 0.75rem; +} + +.wedocs-document .before\:h-4::before { + content: var(--tw-content); + height: 1rem; +} + +.wedocs-document .before\:w-\[70\%\]::before { + content: var(--tw-content); + width: 70%; +} + +.wedocs-document .before\:w-full::before { + content: var(--tw-content); + width: 100%; +} + +.wedocs-document .before\:max-w-xl::before { + content: var(--tw-content); + max-width: 36rem; +} + +.wedocs-document .before\:\!bg-transparent::before { + content: var(--tw-content); + background-color: transparent !important; +} + +.wedocs-document .before\:content-\[\'\'\]::before { + --tw-content: ''; + content: var(--tw-content); +} + +.wedocs-document .after\:absolute::after { + content: var(--tw-content); + position: absolute; +} + +.wedocs-document .after\:left-1\/2::after { + content: var(--tw-content); + right: 50%; +} + +.wedocs-document .after\:right-4::after { + content: var(--tw-content); + left: 1rem; +} + +.wedocs-document .after\:right-\[1\.4rem\]::after { + content: var(--tw-content); + left: 1.4rem; +} + +.wedocs-document .after\:right-\[22px\]::after { + content: var(--tw-content); + left: 22px; +} + +.wedocs-document .after\:top-0\.5::after { + content: var(--tw-content); + top: 0.125rem; +} + +.wedocs-document .after\:top-\[-7px\]::after { + content: var(--tw-content); + top: -7px; +} + +.wedocs-document .after\:z-\[-1\]::after { + content: var(--tw-content); + z-index: -1; +} + +.wedocs-document .after\:h-4::after { + content: var(--tw-content); + height: 1rem; +} + +.wedocs-document .after\:h-\[13px\]::after { + content: var(--tw-content); + height: 13px; +} + +.wedocs-document .after\:w-4::after { + content: var(--tw-content); + width: 1rem; +} + +.wedocs-document .after\:w-\[13px\]::after { + content: var(--tw-content); + width: 13px; +} + +.wedocs-document .after\:-translate-x-1\/2::after { + content: var(--tw-content); + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.wedocs-document .after\:-translate-y-1\/2::after { + content: var(--tw-content); + --tw-translate-y: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.wedocs-document .after\:\!rotate-45::after { + content: var(--tw-content); + --tw-rotate: 45deg !important; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important; +} + +.wedocs-document .after\:rotate-\[45deg\]::after { + content: var(--tw-content); + --tw-rotate: 45deg; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.wedocs-document .after\:rounded-sm::after { + content: var(--tw-content); + border-radius: 0.125rem; +} + +.wedocs-document .after\:border::after { + content: var(--tw-content); + border-width: 1px; +} + +.wedocs-document .after\:border-b-0::after { + content: var(--tw-content); + border-bottom-width: 0px; +} + +.wedocs-document .after\:border-r-0::after { + content: var(--tw-content); + border-left-width: 0px; +} + +.wedocs-document .after\:border-\[\#DBDBDB\]::after { + content: var(--tw-content); + --tw-border-opacity: 1; + border-color: rgb(219 219 219 / var(--tw-border-opacity, 1)); +} + +.wedocs-document .after\:bg-black::after { + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .after\:bg-white::after { + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .after\:content-\[\'\'\]::after { + --tw-content: ''; + content: var(--tw-content); +} + +.wedocs-document .last\:mb-0:last-child { + margin-bottom: 0px; +} + +.wedocs-document .checked\:\!border-transparent:checked { + border-color: transparent !important; +} + +.wedocs-document .checked\:\!bg-indigo-600:checked { + --tw-bg-opacity: 1 !important; + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)) !important; +} + +.wedocs-document .hover\:block:hover { + display: block; +} + +.wedocs-document .hover\:cursor-pointer:hover { + cursor: pointer; +} + +.wedocs-document .hover\:bg-\[\#F9FAFB\]:hover { + --tw-bg-opacity: 1; + background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-\[\#cf7500\]:hover { + --tw-bg-opacity: 1; + background-color: rgb(207 117 0 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-gray-100:hover { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-gray-200:hover { + --tw-bg-opacity: 1; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-gray-50:hover { + --tw-bg-opacity: 1; + background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-indigo-600:hover { + --tw-bg-opacity: 1; + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-indigo-700:hover { + --tw-bg-opacity: 1; + background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-indigo-800:hover { + --tw-bg-opacity: 1; + background-color: rgb(55 48 163 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-red-700:hover { + --tw-bg-opacity: 1; + background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:bg-slate-300:hover { + --tw-bg-opacity: 1; + background-color: rgb(203 213 225 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .hover\:fill-\[\#cf7500\]:hover { + fill: #cf7500; +} + +.wedocs-document .hover\:stroke-indigo-700:hover { + stroke: #4338ca; +} + +.wedocs-document .hover\:stroke-red-700:hover { + stroke: #b91c1c; +} + +.wedocs-document .hover\:\!text-indigo-800:hover { + --tw-text-opacity: 1 !important; + color: rgb(55 48 163 / var(--tw-text-opacity, 1)) !important; +} + +.wedocs-document .hover\:text-black:hover { + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .hover\:text-gray-600:hover { + --tw-text-opacity: 1; + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .hover\:text-gray-900:hover { + --tw-text-opacity: 1; + color: rgb(17 24 39 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .hover\:text-indigo-700:hover { + --tw-text-opacity: 1; + color: rgb(67 56 202 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .hover\:text-white:hover { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .hover\:underline:hover { + text-decoration-line: underline; +} + +.wedocs-document .hover\:opacity-100:hover { + opacity: 1; +} + +.wedocs-document .focus\:\!border-indigo-300:focus { + --tw-border-opacity: 1 !important; + border-color: rgb(165 180 252 / var(--tw-border-opacity, 1)) !important; +} + +.wedocs-document .focus\:border-blue-500:focus { + --tw-border-opacity: 1; + border-color: rgb(59 130 246 / var(--tw-border-opacity, 1)); +} + +.wedocs-document .focus\:border-indigo-500:focus { + --tw-border-opacity: 1; + border-color: rgb(99 102 241 / var(--tw-border-opacity, 1)); +} + +.wedocs-document .focus\:border-red-500:focus { + --tw-border-opacity: 1; + border-color: rgb(239 68 68 / var(--tw-border-opacity, 1)); +} + +.wedocs-document .focus\:text-white:focus { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .focus\:\!shadow-none:focus { + --tw-shadow: 0 0 #0000 !important; + --tw-shadow-colored: 0 0 #0000 !important; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important; +} + +.wedocs-document .focus\:shadow-none:focus { + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.wedocs-document .focus\:\!shadow-transparent:focus { + --tw-shadow-color: transparent !important; + --tw-shadow: var(--tw-shadow-colored) !important; +} + +.wedocs-document .focus\:outline-none:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} + +.wedocs-document .focus\:outline-0:focus { + outline-width: 0px; +} + +.wedocs-document .focus\:ring-0:focus { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +.wedocs-document .focus\:ring-1:focus { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +.wedocs-document .focus\:ring-2:focus { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +.wedocs-document .focus\:ring-blue-500:focus { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)); +} + +.wedocs-document .focus\:ring-indigo-500:focus { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1)); +} + +.wedocs-document .focus\:ring-indigo-600:focus { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity, 1)); +} + +.wedocs-document .focus\:ring-red-500:focus { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1)); +} + +.wedocs-document .focus\:ring-offset-2:focus { + --tw-ring-offset-width: 2px; +} + +.wedocs-document .disabled\:bg-\[\#F2F2F2\]:disabled { + --tw-bg-opacity: 1; + background-color: rgb(242 242 242 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .disabled\:opacity-75:disabled { + opacity: 0.75; +} + +.wedocs-document .disabled\:shadow-none:disabled { + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.wedocs-document .disabled\:hover\:bg-indigo-600:hover:disabled { + --tw-bg-opacity: 1; + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document :is(.group:hover .group-hover\:block) { + display: block; +} + +.wedocs-document :is(.group:hover .group-hover\:inline-flex) { + display: inline-flex; +} + +.wedocs-document :is(.group:hover .group-hover\:bg-\[\#00A1E4\]) { + --tw-bg-opacity: 1; + background-color: rgb(0 161 228 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document :is(.group:hover .group-hover\:\!stroke-indigo-700) { + stroke: #4338ca !important; +} + +.wedocs-document :is(.group:hover .group-hover\:stroke-indigo-700) { + stroke: #4338ca; +} + +.wedocs-document :is(.group:hover .group-hover\:text-\[\#00A1E4\]) { + --tw-text-opacity: 1; + color: rgb(0 161 228 / var(--tw-text-opacity, 1)); +} + +.wedocs-document :is(.group:hover .group-hover\:text-black) { + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); +} + +.wedocs-document :is(.group:hover .group-hover\:underline) { + text-decoration-line: underline; +} + +.wedocs-document .aria-selected\:bg-gray-100[aria-selected="true"] { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .aria-selected\:bg-indigo-700[aria-selected="true"] { + --tw-bg-opacity: 1; + background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1)); +} + +.wedocs-document .aria-selected\:text-gray-600[aria-selected="true"] { + --tw-text-opacity: 1; + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); +} + +.wedocs-document .aria-selected\:text-white[aria-selected="true"] { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} + +@media (min-width: 640px) { + + .wedocs-document .sm\:mx-0 { + margin-right: 0px; + margin-left: 0px; + } + + .wedocs-document .sm\:ml-4 { + margin-right: 1rem; + } + + .wedocs-document .sm\:ml-5 { + margin-right: 1.25rem; + } + + .wedocs-document .sm\:mt-0 { + margin-top: 0px; + } + + .wedocs-document .sm\:flex { + display: flex; + } + + .wedocs-document .sm\:h-10 { + height: 2.5rem; + } + + .wedocs-document .sm\:w-10 { + width: 2.5rem; + } + + .wedocs-document .sm\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .wedocs-document .sm\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .wedocs-document .sm\:items-start { + align-items: flex-start; + } + + .wedocs-document .sm\:items-center { + align-items: center; + } + + .wedocs-document .sm\:justify-end { + justify-content: flex-end; + } + + .wedocs-document .sm\:justify-center { + justify-content: center; + } + + .wedocs-document .sm\:justify-between { + justify-content: space-between; + } + + .wedocs-document .sm\:gap-x-4 { + -moz-column-gap: 1rem; + column-gap: 1rem; + } + + .wedocs-document .sm\:overflow-hidden { + overflow: hidden; + } + + .wedocs-document .sm\:rounded-md { + border-radius: 0.375rem; + } + + .wedocs-document .sm\:p-6 { + padding: 1.5rem; + } + + .wedocs-document .sm\:px-0 { + padding-right: 0px; + padding-left: 0px; + } + + .wedocs-document .sm\:px-6 { + padding-right: 1.5rem; + padding-left: 1.5rem; + } + + .wedocs-document .sm\:px-8 { + padding-right: 2rem; + padding-left: 2rem; + } + + .wedocs-document .sm\:py-4 { + padding-top: 1rem; + padding-bottom: 1rem; + } + + .wedocs-document .sm\:pl-16 { + padding-right: 4rem; + } + + .wedocs-document .sm\:pl-6 { + padding-right: 1.5rem; + } + + .wedocs-document .sm\:text-left { + text-align: right; + } + + .wedocs-document .sm\:text-base { + font-size: 1rem; + line-height: 1.5rem; + } + + .wedocs-document .sm\:text-sm { + font-size: 0.875rem; + line-height: 1.25rem; + } +} + +@media (min-width: 768px) { + + .wedocs-document .md\:mb-6 { + margin-bottom: 1.5rem; + } + + .wedocs-document .md\:min-w-\[300px\] { + min-width: 300px; + } +} + +@media (min-width: 1024px) { + + .wedocs-document .lg\:col-span-3 { + grid-column: span 3 / span 3; + } + + .wedocs-document .lg\:col-span-9 { + grid-column: span 9 / span 9; + } + + .wedocs-document .lg\:grid { + display: grid; + } + + .wedocs-document .lg\:grid-cols-12 { + grid-template-columns: repeat(12, minmax(0, 1fr)); + } + + .wedocs-document .lg\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .wedocs-document .lg\:gap-x-6 { + -moz-column-gap: 1.5rem; + column-gap: 1.5rem; + } + + .wedocs-document .lg\:px-0 { + padding-right: 0px; + padding-left: 0px; + } + + .wedocs-document .lg\:py-0 { + padding-top: 0px; + padding-bottom: 0px; + } +} + +@media (min-width: 1536px) { + + .wedocs-document .\32xl\:grid-cols-4 { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } +} + +@media (prefers-color-scheme: dark) { + + .wedocs-document .dark\:border-gray-500 { + --tw-border-opacity: 1; + border-color: rgb(107 114 128 / var(--tw-border-opacity, 1)); + } + + .wedocs-document .dark\:\!bg-gray-200 { + --tw-bg-opacity: 1 !important; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)) !important; + } + + .wedocs-document .dark\:bg-gray-600 { + --tw-bg-opacity: 1; + background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); + } + + .wedocs-document .dark\:text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); + } + + .wedocs-document .dark\:placeholder-gray-400::-moz-placeholder { + --tw-placeholder-opacity: 1; + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); + } + + .wedocs-document .dark\:placeholder-gray-400::placeholder { + --tw-placeholder-opacity: 1; + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); + } +} + +/*!************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css ***! + \************************************************************************************************************************************************************************************************************************/ +.carousel .control-arrow,.carousel.carousel-slider .control-arrow{transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{right:0}.carousel .control-prev.control-arrow:before{border-left:8px solid #fff}.carousel .control-next.control-arrow{left:0}.carousel .control-next.control-arrow:before{border-right:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{transition:all .15s ease-in;transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{transition:border .15s ease-in;display:inline-block;margin-left:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{transition:all .5s ease-in-out;position:absolute;bottom:40px;right:50%;margin-right:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:-1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;left:0;padding:5px;font-size:10px;text-shadow:-1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1} + diff --git a/assets/build/index.asset.php b/assets/build/index.asset.php index c61422ef..447963ed 100644 --- a/assets/build/index.asset.php +++ b/assets/build/index.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8b822292467f86e0ebc6'); + array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'f46b5ef83e20ed87ea05'); diff --git a/assets/build/index.css b/assets/build/index.css index 336e94f3..cbb82a62 100644 --- a/assets/build/index.css +++ b/assets/build/index.css @@ -1,5 +1,114 @@ -/* -! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com +/*!******************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/assets/css/index.css ***! + \******************************************************************************************************************************************************************************/ +*, ::before, ::after { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +}/* +! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com *//* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) @@ -26,17 +135,20 @@ 4. Use the user's configured `sans` font-family by default. 5. Use the user's configured `sans` font-feature-settings by default. 6. Use the user's configured `sans` font-variation-settings by default. +7. Disable tap highlights on iOS */ -html { +html, +:host { line-height: 1.5; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ -moz-tab-size: 4; /* 3 */ -o-tab-size: 4; tab-size: 4; /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ font-feature-settings: normal; /* 5 */ font-variation-settings: normal; /* 6 */ + -webkit-tap-highlight-color: transparent; /* 7 */ } /* @@ -103,8 +215,10 @@ strong { } /* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. +1. Use the user's configured `mono` font-family by default. +2. Use the user's configured `mono` font-feature-settings by default. +3. Use the user's configured `mono` font-variation-settings by default. +4. Correct the odd `em` font sizing in all browsers. */ code, @@ -112,7 +226,9 @@ kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ - font-size: 1em; /* 2 */ + font-feature-settings: normal; /* 2 */ + font-variation-settings: normal; /* 3 */ + font-size: 1em; /* 4 */ } /* @@ -172,6 +288,7 @@ textarea { font-size: 100%; /* 1 */ font-weight: inherit; /* 1 */ line-height: inherit; /* 1 */ + letter-spacing: inherit; /* 1 */ color: inherit; /* 1 */ margin: 0; /* 2 */ padding: 0; /* 3 */ @@ -192,9 +309,9 @@ select { */ button, -[type='button'], -[type='reset'], -[type='submit'] { +input:where([type='button']), +input:where([type='reset']), +input:where([type='submit']) { -webkit-appearance: button; /* 1 */ background-color: transparent; /* 2 */ background-image: none; /* 2 */ @@ -382,7 +499,7 @@ video { } /* Make elements with the HTML hidden attribute stay hidden by default */ -[hidden] { +[hidden]:where(:not([hidden="until-found"])) { display: none; } @@ -1712,10 +1829,28 @@ select { background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e"); } +@media (forced-colors: active) { + + [type='checkbox']:checked { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + [type='radio']:checked { background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3ccircle cx=%278%27 cy=%278%27 r=%273%27/%3e%3c/svg%3e"); } +@media (forced-colors: active) { + + [type='radio']:checked { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + [type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus { border-color: transparent; background-color: currentColor; @@ -1730,6 +1865,15 @@ select { background-repeat: no-repeat; } +@media (forced-colors: active) { + + [type='checkbox']:indeterminate { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus { border-color: transparent; background-color: currentColor; @@ -1749,106 +1893,6 @@ select { outline: 1px solid ButtonText; outline: 1px auto -webkit-focus-ring-color; } - -*, ::before, ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} .container { width: 100%; } @@ -1985,6 +2029,49 @@ select { transform: rotate(360deg); } } +.card { + position: relative; + display: flex; + flex-direction: column; + border-radius: var(--rounded-box, 1rem); +} +.card:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} +.card figure { + display: flex; + align-items: center; + justify-content: center; +} +.card.image-full { + display: grid; +} +.card.image-full:before { + position: relative; + content: ""; + z-index: 10; + --tw-bg-opacity: 1; + background-color: hsl(var(--n) / var(--tw-bg-opacity)); + opacity: 0.75; + border-radius: var(--rounded-box, 1rem); +} +.card.image-full:before, + .card.image-full > * { + grid-column-start: 1; + grid-row-start: 1; +} +.card.image-full > figure img { + height: 100%; + -o-object-fit: cover; + object-fit: cover; +} +.card.image-full > .card-body { + position: relative; + z-index: 20; + --tw-text-opacity: 1; + color: hsl(var(--nc) / var(--tw-text-opacity)); +} .carousel { display: flex; overflow-x: scroll; @@ -2495,6 +2582,38 @@ select { transform: scale(1); } } +.card :where(figure:first-child) { + overflow: hidden; + border-start-start-radius: inherit; + border-start-end-radius: inherit; + border-end-start-radius: unset; + border-end-end-radius: unset; +} +.card :where(figure:last-child) { + overflow: hidden; + border-start-start-radius: unset; + border-start-end-radius: unset; + border-end-start-radius: inherit; + border-end-end-radius: inherit; +} +.card:focus-visible { + outline: 2px solid currentColor; + outline-offset: 2px; +} +.card.bordered { + border-width: 1px; + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); +} +.card.compact .card-body { + padding: 1rem; + font-size: 0.875rem; + line-height: 1.25rem; +} +.card.image-full :where(figure) { + overflow: hidden; + border-radius: inherit; +} .carousel::-webkit-scrollbar { display: none; } @@ -2929,9 +3048,7 @@ select { .tooltip:before, .tooltip:after { opacity: 0; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; transition-delay: 100ms; transition-duration: 200ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); @@ -3158,772 +3275,747 @@ select { right: 7%; box-shadow: 0 0 0 2px hsl(var(--b1)); } -.wedocs-document :is(.pointer-events-none) { +.wedocs-document .pointer-events-none { pointer-events: none; } -.wedocs-document :is(.invisible) { +.wedocs-document .visible { + visibility: visible; +} +.wedocs-document .invisible { visibility: hidden; } -.wedocs-document :is(.fixed) { +.wedocs-document .fixed { position: fixed; } -.wedocs-document :is(.absolute) { +.wedocs-document .absolute { position: absolute; } -.wedocs-document :is(.relative) { +.wedocs-document .relative { position: relative; } -.wedocs-document :is(.-inset-px) { +.wedocs-document .sticky { + position: sticky; +} +.wedocs-document .-inset-px { inset: -1px; } -.wedocs-document :is(.inset-0) { +.wedocs-document .inset-0 { inset: 0px; } -.wedocs-document :is(.inset-y-0) { +.wedocs-document .inset-y-0 { top: 0px; bottom: 0px; } -.wedocs-document :is(.-right-1) { +.wedocs-document .-right-1 { right: -0.25rem; } -.wedocs-document :is(.-right-3) { - right: -0.75rem; -} -.wedocs-document :is(.-right-3\.5) { +.wedocs-document .-right-3\.5 { right: -0.875rem; } -.wedocs-document :is(.-top-1) { +.wedocs-document .-top-1 { top: -0.25rem; } -.wedocs-document :is(.left-0) { +.wedocs-document .left-0 { left: 0px; } -.wedocs-document :is(.left-1\/2) { +.wedocs-document .left-1\/2 { left: 50%; } -.wedocs-document :is(.left-\[50\%\]) { +.wedocs-document .left-\[50\%\] { left: 50%; } -.wedocs-document :is(.right-0) { +.wedocs-document .right-0 { right: 0px; } -.wedocs-document :is(.right-10) { +.wedocs-document .right-10 { right: 2.5rem; } -.wedocs-document :is(.right-2) { - right: 0.5rem; -} -.wedocs-document :is(.right-2\.5) { +.wedocs-document .right-2\.5 { right: 0.625rem; } -.wedocs-document :is(.right-9) { +.wedocs-document .right-9 { right: 2.25rem; } -.wedocs-document :is(.top-0) { +.wedocs-document .top-0 { top: 0px; } -.wedocs-document :is(.top-1\/2) { +.wedocs-document .top-1\/2 { top: 50%; } -.wedocs-document :is(.top-10) { +.wedocs-document .top-10 { top: 2.5rem; } -.wedocs-document :is(.top-2) { - top: 0.5rem; -} -.wedocs-document :is(.top-2\.5) { +.wedocs-document .top-2\.5 { top: 0.625rem; } -.wedocs-document :is(.isolate) { +.wedocs-document .isolate { isolation: isolate; } -.wedocs-document :is(.\!z-\[9999\]) { +.wedocs-document .\!z-\[9999\] { z-index: 9999 !important; } -.wedocs-document :is(.z-0) { +.wedocs-document .z-0 { z-index: 0; } -.wedocs-document :is(.z-10) { +.wedocs-document .z-10 { z-index: 10; } -.wedocs-document :is(.z-40) { +.wedocs-document .z-40 { z-index: 40; } -.wedocs-document :is(.z-50) { +.wedocs-document .z-50 { z-index: 50; } -.wedocs-document :is(.z-\[0\]) { +.wedocs-document .z-\[0\] { z-index: 0; } -.wedocs-document :is(.z-\[100\]) { +.wedocs-document .z-\[100\] { z-index: 100; } -.wedocs-document :is(.z-\[1\]) { +.wedocs-document .z-\[1\] { z-index: 1; } -.wedocs-document :is(.z-\[2000\]) { +.wedocs-document .z-\[2000\] { z-index: 2000; } -.wedocs-document :is(.z-\[50\]) { +.wedocs-document .z-\[50\] { z-index: 50; } -.wedocs-document :is(.z-\[90\]) { +.wedocs-document .z-\[90\] { z-index: 90; } -.wedocs-document :is(.z-\[9980\]) { +.wedocs-document .z-\[9980\] { z-index: 9980; } -.wedocs-document :is(.z-\[99999\]) { +.wedocs-document .z-\[99999\] { z-index: 99999; } -.wedocs-document :is(.z-\[9999\]) { +.wedocs-document .z-\[9999\] { z-index: 9999; } -.wedocs-document :is(.col-span-1) { +.wedocs-document .col-span-1 { grid-column: span 1 / span 1; } -.wedocs-document :is(.col-span-12) { +.wedocs-document .col-span-12 { grid-column: span 12 / span 12; } -.wedocs-document :is(.col-span-4) { +.wedocs-document .col-span-4 { grid-column: span 4 / span 4; } -.wedocs-document :is(.float-left) { +.wedocs-document .float-left { float: left; } -.wedocs-document :is(.m-0) { +.wedocs-document .m-0 { margin: 0px; } -.wedocs-document :is(.-mx-1) { +.wedocs-document .-mx-1 { margin-left: -0.25rem; margin-right: -0.25rem; } -.wedocs-document :is(.mx-1) { +.wedocs-document .mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; } -.wedocs-document :is(.mx-auto) { +.wedocs-document .mx-auto { margin-left: auto; margin-right: auto; } -.wedocs-document :is(.my-1) { +.wedocs-document .my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; } -.wedocs-document :is(.my-1\.5) { +.wedocs-document .my-1\.5 { margin-top: 0.375rem; margin-bottom: 0.375rem; } -.wedocs-document :is(.my-24) { +.wedocs-document .my-24 { margin-top: 6rem; margin-bottom: 6rem; } -.wedocs-document :is(.my-3) { - margin-top: 0.75rem; - margin-bottom: 0.75rem; -} -.wedocs-document :is(.my-3\.5) { +.wedocs-document .my-3\.5 { margin-top: 0.875rem; margin-bottom: 0.875rem; } -.wedocs-document :is(.my-5) { +.wedocs-document .my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; } -.wedocs-document :is(.my-6) { +.wedocs-document .my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; } -.wedocs-document :is(.my-7) { +.wedocs-document .my-7 { margin-top: 1.75rem; margin-bottom: 1.75rem; } -.wedocs-document :is(.\!-mt-\[0\.5px\]) { +.wedocs-document .\!-mt-\[0\.5px\] { margin-top: -0.5px !important; } -.wedocs-document :is(.\!mb-0) { - margin-bottom: 0px !important; -} -.wedocs-document :is(.\!mb-0\.5) { +.wedocs-document .\!mb-0\.5 { margin-bottom: 0.125rem !important; } -.wedocs-document :is(.\!ml-1) { +.wedocs-document .\!ml-1 { margin-left: 0.25rem !important; } -.wedocs-document :is(.\!ml-4) { +.wedocs-document .\!ml-4 { margin-left: 1rem !important; } -.wedocs-document :is(.\!ml-5) { +.wedocs-document .\!ml-5 { margin-left: 1.25rem !important; } -.wedocs-document :is(.\!ml-\[-26px\]) { +.wedocs-document .\!ml-\[-26px\] { margin-left: -26px !important; } -.wedocs-document :is(.\!mr-2) { +.wedocs-document .\!mr-2 { margin-right: 0.5rem !important; } -.wedocs-document :is(.\!mt-1) { +.wedocs-document .\!mt-1 { margin-top: 0.25rem !important; } -.wedocs-document :is(.\!mt-14) { +.wedocs-document .\!mt-14 { margin-top: 3.5rem !important; } -.wedocs-document :is(.-ml-0) { - margin-left: -0px; -} -.wedocs-document :is(.-ml-0\.5) { +.wedocs-document .-ml-0\.5 { margin-left: -0.125rem; } -.wedocs-document :is(.-ml-1) { +.wedocs-document .-ml-1 { margin-left: -0.25rem; } -.wedocs-document :is(.-mt-0) { - margin-top: -0px; -} -.wedocs-document :is(.-mt-0\.5) { +.wedocs-document .-mt-0\.5 { margin-top: -0.125rem; } -.wedocs-document :is(.-mt-1) { +.wedocs-document .-mt-1 { margin-top: -0.25rem; } -.wedocs-document :is(.-mt-3) { +.wedocs-document .-mt-3 { margin-top: -0.75rem; } -.wedocs-document :is(.-mt-5) { +.wedocs-document .-mt-5 { margin-top: -1.25rem; } -.wedocs-document :is(.-mt-\[15px\]) { +.wedocs-document .-mt-\[15px\] { margin-top: -15px; } -.wedocs-document :is(.-mt-\[17px\]) { +.wedocs-document .-mt-\[17px\] { margin-top: -17px; } -.wedocs-document :is(.-mt-\[1px\]) { +.wedocs-document .-mt-\[1px\] { margin-top: -1px; } -.wedocs-document :is(.-mt-\[3px\]) { +.wedocs-document .-mt-\[3px\] { margin-top: -3px; } -.wedocs-document :is(.-mt-px) { +.wedocs-document .-mt-px { margin-top: -1px; } -.wedocs-document :is(.mb-0) { +.wedocs-document .mb-0 { margin-bottom: 0px; } -.wedocs-document :is(.mb-0\.5) { +.wedocs-document .mb-0\.5 { margin-bottom: 0.125rem; } -.wedocs-document :is(.mb-1) { - margin-bottom: 0.25rem; -} -.wedocs-document :is(.mb-1\.5) { +.wedocs-document .mb-1\.5 { margin-bottom: 0.375rem; } -.wedocs-document :is(.mb-10) { +.wedocs-document .mb-10 { margin-bottom: 2.5rem; } -.wedocs-document :is(.mb-16) { +.wedocs-document .mb-16 { margin-bottom: 4rem; } -.wedocs-document :is(.mb-2) { +.wedocs-document .mb-2 { margin-bottom: 0.5rem; } -.wedocs-document :is(.mb-2\.5) { +.wedocs-document .mb-2\.5 { margin-bottom: 0.625rem; } -.wedocs-document :is(.mb-3) { +.wedocs-document .mb-3 { margin-bottom: 0.75rem; } -.wedocs-document :is(.mb-3\.5) { +.wedocs-document .mb-3\.5 { margin-bottom: 0.875rem; } -.wedocs-document :is(.mb-4) { +.wedocs-document .mb-4 { margin-bottom: 1rem; } -.wedocs-document :is(.mb-5) { +.wedocs-document .mb-5 { margin-bottom: 1.25rem; } -.wedocs-document :is(.mb-6) { +.wedocs-document .mb-6 { margin-bottom: 1.5rem; } -.wedocs-document :is(.mb-7) { +.wedocs-document .mb-7 { margin-bottom: 1.75rem; } -.wedocs-document :is(.mb-8) { +.wedocs-document .mb-8 { margin-bottom: 2rem; } -.wedocs-document :is(.mb-\[60px\]) { +.wedocs-document .mb-\[60px\] { margin-bottom: 60px; } -.wedocs-document :is(.ml-1) { +.wedocs-document .ml-1 { margin-left: 0.25rem; } -.wedocs-document :is(.ml-1\.5) { +.wedocs-document .ml-1\.5 { margin-left: 0.375rem; } -.wedocs-document :is(.ml-2) { +.wedocs-document .ml-2 { margin-left: 0.5rem; } -.wedocs-document :is(.ml-2\.5) { +.wedocs-document .ml-2\.5 { margin-left: 0.625rem; } -.wedocs-document :is(.ml-3) { +.wedocs-document .ml-3 { margin-left: 0.75rem; } -.wedocs-document :is(.ml-4) { +.wedocs-document .ml-4 { margin-left: 1rem; } -.wedocs-document :is(.ml-5) { +.wedocs-document .ml-5 { margin-left: 1.25rem; } -.wedocs-document :is(.ml-6) { +.wedocs-document .ml-6 { margin-left: 1.5rem; } -.wedocs-document :is(.ml-8) { +.wedocs-document .ml-8 { margin-left: 2rem; } -.wedocs-document :is(.ml-9) { +.wedocs-document .ml-9 { margin-left: 2.25rem; } -.wedocs-document :is(.ml-auto) { +.wedocs-document .ml-auto { margin-left: auto; } -.wedocs-document :is(.mr-0) { - margin-right: 0px; -} -.wedocs-document :is(.mr-0\.5) { +.wedocs-document .mr-0\.5 { margin-right: 0.125rem; } -.wedocs-document :is(.mr-1) { +.wedocs-document .mr-1 { margin-right: 0.25rem; } -.wedocs-document :is(.mr-2) { +.wedocs-document .mr-2 { margin-right: 0.5rem; } -.wedocs-document :is(.mr-2\.5) { +.wedocs-document .mr-2\.5 { margin-right: 0.625rem; } -.wedocs-document :is(.mr-3) { +.wedocs-document .mr-3 { margin-right: 0.75rem; } -.wedocs-document :is(.mr-3\.5) { +.wedocs-document .mr-3\.5 { margin-right: 0.875rem; } -.wedocs-document :is(.mr-4) { +.wedocs-document .mr-4 { margin-right: 1rem; } -.wedocs-document :is(.mr-5) { +.wedocs-document .mr-5 { margin-right: 1.25rem; } -.wedocs-document :is(.mr-6) { +.wedocs-document .mr-6 { margin-right: 1.5rem; } -.wedocs-document :is(.mr-\[20px\]) { +.wedocs-document .mr-\[20px\] { margin-right: 20px; } -.wedocs-document :is(.mr-auto) { +.wedocs-document .mr-auto { margin-right: auto; } -.wedocs-document :is(.mt-0) { - margin-top: 0px; -} -.wedocs-document :is(.mt-0\.5) { +.wedocs-document .mt-0\.5 { margin-top: 0.125rem; } -.wedocs-document :is(.mt-1) { +.wedocs-document .mt-1 { margin-top: 0.25rem; } -.wedocs-document :is(.mt-1\.5) { +.wedocs-document .mt-1\.5 { margin-top: 0.375rem; } -.wedocs-document :is(.mt-10) { +.wedocs-document .mt-10 { margin-top: 2.5rem; } -.wedocs-document :is(.mt-14) { +.wedocs-document .mt-14 { margin-top: 3.5rem; } -.wedocs-document :is(.mt-2) { +.wedocs-document .mt-2 { margin-top: 0.5rem; } -.wedocs-document :is(.mt-2\.5) { +.wedocs-document .mt-2\.5 { margin-top: 0.625rem; } -.wedocs-document :is(.mt-3) { +.wedocs-document .mt-3 { margin-top: 0.75rem; } -.wedocs-document :is(.mt-4) { +.wedocs-document .mt-4 { margin-top: 1rem; } -.wedocs-document :is(.mt-5) { +.wedocs-document .mt-5 { margin-top: 1.25rem; } -.wedocs-document :is(.mt-6) { +.wedocs-document .mt-6 { margin-top: 1.5rem; } -.wedocs-document :is(.mt-7) { +.wedocs-document .mt-7 { margin-top: 1.75rem; } -.wedocs-document :is(.mt-8) { +.wedocs-document .mt-8 { margin-top: 2rem; } -.wedocs-document :is(.mt-\[-2px\]) { +.wedocs-document .mt-\[-2px\] { margin-top: -2px; } -.wedocs-document :is(.mt-\[13px\]) { +.wedocs-document .mt-\[13px\] { margin-top: 13px; } -.wedocs-document :is(.mt-\[15px\]) { +.wedocs-document .mt-\[15px\] { margin-top: 15px; } -.wedocs-document :is(.mt-\[1px\]) { +.wedocs-document .mt-\[1px\] { margin-top: 1px; } -.wedocs-document :is(.mt-\[70px\]) { +.wedocs-document .mt-\[70px\] { margin-top: 70px; } -.wedocs-document :is(.box-border) { +.wedocs-document .box-border { box-sizing: border-box; } -.wedocs-document :is(.box-content) { +.wedocs-document .box-content { box-sizing: content-box; } -.wedocs-document :is(.block) { +.wedocs-document .block { display: block; } -.wedocs-document :is(.inline-block) { +.wedocs-document .inline-block { display: inline-block; } -.wedocs-document :is(.inline) { +.wedocs-document .inline { display: inline; } -.wedocs-document :is(.\!flex) { +.wedocs-document .\!flex { display: flex !important; } -.wedocs-document :is(.flex) { +.wedocs-document .flex { display: flex; } -.wedocs-document :is(.inline-flex) { +.wedocs-document .inline-flex { display: inline-flex; } -.wedocs-document :is(.table) { +.wedocs-document .table { display: table; } -.wedocs-document :is(.grid) { +.wedocs-document .grid { display: grid; } -.wedocs-document :is(.contents) { +.wedocs-document .contents { display: contents; } -.wedocs-document :is(.hidden) { +.wedocs-document .hidden { display: none; } -.wedocs-document :is(.h-1) { - height: 0.25rem; -} -.wedocs-document :is(.h-1\.5) { +.wedocs-document .h-1\.5 { height: 0.375rem; } -.wedocs-document :is(.h-10) { +.wedocs-document .h-10 { height: 2.5rem; } -.wedocs-document :is(.h-11) { +.wedocs-document .h-11 { height: 2.75rem; } -.wedocs-document :is(.h-12) { +.wedocs-document .h-12 { height: 3rem; } -.wedocs-document :is(.h-16) { +.wedocs-document .h-16 { height: 4rem; } -.wedocs-document :is(.h-2) { +.wedocs-document .h-2 { height: 0.5rem; } -.wedocs-document :is(.h-20) { +.wedocs-document .h-20 { height: 5rem; } -.wedocs-document :is(.h-24) { +.wedocs-document .h-24 { height: 6rem; } -.wedocs-document :is(.h-3) { +.wedocs-document .h-3 { height: 0.75rem; } -.wedocs-document :is(.h-3\.5) { +.wedocs-document .h-3\.5 { height: 0.875rem; } -.wedocs-document :is(.h-4) { +.wedocs-document .h-4 { height: 1rem; } -.wedocs-document :is(.h-48) { +.wedocs-document .h-48 { height: 12rem; } -.wedocs-document :is(.h-5) { +.wedocs-document .h-5 { height: 1.25rem; } -.wedocs-document :is(.h-6) { +.wedocs-document .h-6 { height: 1.5rem; } -.wedocs-document :is(.h-7) { +.wedocs-document .h-7 { height: 1.75rem; } -.wedocs-document :is(.h-8) { +.wedocs-document .h-8 { height: 2rem; } -.wedocs-document :is(.h-80) { +.wedocs-document .h-80 { height: 20rem; } -.wedocs-document :is(.h-\[100\%\]) { +.wedocs-document .h-\[100\%\] { height: 100%; } -.wedocs-document :is(.h-\[135px\]) { +.wedocs-document .h-\[135px\] { height: 135px; } -.wedocs-document :is(.h-\[180px\]) { +.wedocs-document .h-\[180px\] { height: 180px; } -.wedocs-document :is(.h-\[4\.5rem\]) { +.wedocs-document .h-\[4\.5rem\] { height: 4.5rem; } -.wedocs-document :is(.h-\[407px\]) { +.wedocs-document .h-\[407px\] { height: 407px; } -.wedocs-document :is(.h-\[50px\]) { +.wedocs-document .h-\[50px\] { height: 50px; } -.wedocs-document :is(.h-\[75vh\]) { +.wedocs-document .h-\[75vh\] { height: 75vh; } -.wedocs-document :is(.h-\[80vh\]) { +.wedocs-document .h-\[80vh\] { height: 80vh; } -.wedocs-document :is(.h-fit) { +.wedocs-document .h-fit { height: -moz-fit-content; height: fit-content; } -.wedocs-document :is(.h-full) { +.wedocs-document .h-full { height: 100%; } -.wedocs-document :is(.h-px) { +.wedocs-document .h-px { height: 1px; } -.wedocs-document :is(.max-h-5) { +.wedocs-document .max-h-5 { max-height: 1.25rem; } -.wedocs-document :is(.max-h-60) { +.wedocs-document .max-h-60 { max-height: 15rem; } -.wedocs-document :is(.min-h-\[200px\]) { +.wedocs-document .min-h-\[200px\] { min-height: 200px; } -.wedocs-document :is(.min-h-\[439px\]) { +.wedocs-document .min-h-\[439px\] { min-height: 439px; } -.wedocs-document :is(.min-h-\[500px\]) { +.wedocs-document .min-h-\[500px\] { min-height: 500px; } -.wedocs-document :is(.min-h-full) { +.wedocs-document .min-h-full { min-height: 100%; } -.wedocs-document :is(.\!w-\[381px\]) { +.wedocs-document .\!w-\[381px\] { width: 381px !important; } -.wedocs-document :is(.\!w-\[600px\]) { +.wedocs-document .\!w-\[600px\] { width: 600px !important; } -.wedocs-document :is(.\!w-full) { +.wedocs-document .\!w-full { width: 100% !important; } -.wedocs-document :is(.w-0) { +.wedocs-document .w-0 { width: 0px; } -.wedocs-document :is(.w-10) { +.wedocs-document .w-10 { width: 2.5rem; } -.wedocs-document :is(.w-12) { +.wedocs-document .w-12 { width: 3rem; } -.wedocs-document :is(.w-16) { +.wedocs-document .w-16 { width: 4rem; } -.wedocs-document :is(.w-2) { +.wedocs-document .w-2 { width: 0.5rem; } -.wedocs-document :is(.w-24) { +.wedocs-document .w-24 { width: 6rem; } -.wedocs-document :is(.w-3) { +.wedocs-document .w-3 { width: 0.75rem; } -.wedocs-document :is(.w-3\.5) { +.wedocs-document .w-3\.5 { width: 0.875rem; } -.wedocs-document :is(.w-32) { +.wedocs-document .w-32 { width: 8rem; } -.wedocs-document :is(.w-4) { +.wedocs-document .w-4 { width: 1rem; } -.wedocs-document :is(.w-40) { +.wedocs-document .w-40 { width: 10rem; } -.wedocs-document :is(.w-44) { +.wedocs-document .w-44 { width: 11rem; } -.wedocs-document :is(.w-5) { +.wedocs-document .w-5 { width: 1.25rem; } -.wedocs-document :is(.w-52) { +.wedocs-document .w-52 { width: 13rem; } -.wedocs-document :is(.w-56) { +.wedocs-document .w-56 { width: 14rem; } -.wedocs-document :is(.w-6) { +.wedocs-document .w-6 { width: 1.5rem; } -.wedocs-document :is(.w-64) { +.wedocs-document .w-64 { width: 16rem; } -.wedocs-document :is(.w-7) { +.wedocs-document .w-7 { width: 1.75rem; } -.wedocs-document :is(.w-8) { +.wedocs-document .w-8 { width: 2rem; } -.wedocs-document :is(.w-80) { +.wedocs-document .w-80 { width: 20rem; } -.wedocs-document :is(.w-9) { +.wedocs-document .w-9 { width: 2.25rem; } -.wedocs-document :is(.w-\[108px\]) { +.wedocs-document .w-\[108px\] { width: 108px; } -.wedocs-document :is(.w-\[160px\]) { +.wedocs-document .w-\[160px\] { width: 160px; } -.wedocs-document :is(.w-\[26rem\]) { +.wedocs-document .w-\[26rem\] { width: 26rem; } -.wedocs-document :is(.w-\[270px\]) { +.wedocs-document .w-\[270px\] { width: 270px; } -.wedocs-document :is(.w-\[310px\]) { +.wedocs-document .w-\[310px\] { width: 310px; } -.wedocs-document :is(.w-\[340px\]) { +.wedocs-document .w-\[340px\] { width: 340px; } -.wedocs-document :is(.w-\[5\%\]) { +.wedocs-document .w-\[5\%\] { width: 5%; } -.wedocs-document :is(.w-\[500px\]) { +.wedocs-document .w-\[500px\] { width: 500px; } -.wedocs-document :is(.w-\[512px\]) { +.wedocs-document .w-\[512px\] { width: 512px; } -.wedocs-document :is(.w-\[600px\]) { +.wedocs-document .w-\[600px\] { width: 600px; } -.wedocs-document :is(.w-\[72px\]) { +.wedocs-document .w-\[72px\] { width: 72px; } -.wedocs-document :is(.w-\[800px\]) { +.wedocs-document .w-\[800px\] { width: 800px; } -.wedocs-document :is(.w-\[900px\]) { +.wedocs-document .w-\[900px\] { width: 900px; } -.wedocs-document :is(.w-auto) { +.wedocs-document .w-auto { width: auto; } -.wedocs-document :is(.w-fit) { +.wedocs-document .w-fit { width: -moz-fit-content; width: fit-content; } -.wedocs-document :is(.w-full) { +.wedocs-document .w-full { width: 100%; } -.wedocs-document :is(.min-w-0) { +.wedocs-document .min-w-0 { min-width: 0px; } -.wedocs-document :is(.min-w-\[122px\]) { +.wedocs-document .min-w-\[122px\] { min-width: 122px; } -.wedocs-document :is(.min-w-\[136px\]) { +.wedocs-document .min-w-\[136px\] { min-width: 136px; } -.wedocs-document :is(.min-w-\[150px\]) { +.wedocs-document .min-w-\[150px\] { min-width: 150px; } -.wedocs-document :is(.max-w-\[1008px\]) { +.wedocs-document .max-w-5 { + max-width: 1.25rem; +} +.wedocs-document .max-w-\[1008px\] { max-width: 1008px; } -.wedocs-document :is(.max-w-\[490px\]) { +.wedocs-document .max-w-\[490px\] { max-width: 490px; } -.wedocs-document :is(.max-w-md) { +.wedocs-document .max-w-md { max-width: 28rem; } -.wedocs-document :is(.max-w-none) { +.wedocs-document .max-w-none { max-width: none; } -.wedocs-document :is(.flex-1) { +.wedocs-document .flex-1 { flex: 1 1 0%; } -.wedocs-document :is(.flex-\[1\.25\]) { +.wedocs-document .flex-\[1\.25\] { flex: 1.25; } -.wedocs-document :is(.flex-\[3\]) { +.wedocs-document .flex-\[3\] { flex: 3; } -.wedocs-document :is(.flex-none) { +.wedocs-document .flex-none { flex: none; } -.wedocs-document :is(.flex-shrink) { +.wedocs-document .flex-shrink { flex-shrink: 1; } -.wedocs-document :is(.flex-shrink-0) { +.wedocs-document .flex-shrink-0 { flex-shrink: 0; } -.wedocs-document :is(.border-collapse) { +.wedocs-document .border-collapse { border-collapse: collapse; } -.wedocs-document :is(.-translate-x-1\/2) { +.wedocs-document .-translate-x-1\/2 { --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.-translate-y-1\/2) { +.wedocs-document .-translate-y-1\/2 { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.translate-x-0) { +.wedocs-document .translate-x-0 { --tw-translate-x: 0px; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.translate-x-5) { +.wedocs-document .translate-x-5 { --tw-translate-x: 1.25rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.translate-y-\[4\%\]) { +.wedocs-document .translate-y-\[4\%\] { --tw-translate-y: 4%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.rotate-90) { +.wedocs-document .rotate-90 { --tw-rotate: 90deg; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.scale-100) { +.wedocs-document .scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.scale-95) { +.wedocs-document .scale-95 { --tw-scale-x: .95; --tw-scale-y: .95; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.transform) { +.wedocs-document .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } @keyframes pulse { @@ -3932,96 +4024,96 @@ select { opacity: .5; } } -.wedocs-document :is(.animate-pulse) { +.wedocs-document .animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } -.wedocs-document :is(.cursor-grab) { +.wedocs-document .cursor-grab { cursor: grab; } -.wedocs-document :is(.cursor-pointer) { +.wedocs-document .cursor-pointer { cursor: pointer; } -.wedocs-document :is(.select-none) { +.wedocs-document .select-none { -webkit-user-select: none; -moz-user-select: none; user-select: none; } -.wedocs-document :is(.auto-cols-\[1fr\]) { +.wedocs-document .auto-cols-\[1fr\] { grid-auto-columns: 1fr; } -.wedocs-document :is(.grid-flow-col) { +.wedocs-document .grid-flow-col { grid-auto-flow: column; } -.wedocs-document :is(.auto-rows-max) { +.wedocs-document .auto-rows-max { grid-auto-rows: max-content; } -.wedocs-document :is(.grid-cols-1) { +.wedocs-document .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } -.wedocs-document :is(.grid-cols-3) { +.wedocs-document .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } -.wedocs-document :is(.grid-cols-4) { +.wedocs-document .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } -.wedocs-document :is(.flex-col) { +.wedocs-document .flex-col { flex-direction: column; } -.wedocs-document :is(.flex-wrap) { +.wedocs-document .flex-wrap { flex-wrap: wrap; } -.wedocs-document :is(.place-content-center) { +.wedocs-document .place-content-center { place-content: center; } -.wedocs-document :is(.items-start) { +.wedocs-document .items-start { align-items: flex-start; } -.wedocs-document :is(.items-end) { +.wedocs-document .items-end { align-items: flex-end; } -.wedocs-document :is(.items-center) { +.wedocs-document .items-center { align-items: center; } -.wedocs-document :is(.justify-end) { +.wedocs-document .justify-end { justify-content: flex-end; } -.wedocs-document :is(.justify-center) { +.wedocs-document .justify-center { justify-content: center; } -.wedocs-document :is(.justify-between) { +.wedocs-document .justify-between { justify-content: space-between; } -.wedocs-document :is(.\!gap-6) { +.wedocs-document .\!gap-6 { gap: 1.5rem !important; } -.wedocs-document :is(.gap-0) { +.wedocs-document .gap-0 { gap: 0px; } -.wedocs-document :is(.gap-1) { +.wedocs-document .gap-1 { gap: 0.25rem; } -.wedocs-document :is(.gap-10) { +.wedocs-document .gap-10 { gap: 2.5rem; } -.wedocs-document :is(.gap-2) { +.wedocs-document .gap-2 { gap: 0.5rem; } -.wedocs-document :is(.gap-2\.5) { +.wedocs-document .gap-2\.5 { gap: 0.625rem; } -.wedocs-document :is(.gap-24) { +.wedocs-document .gap-24 { gap: 6rem; } -.wedocs-document :is(.gap-3) { +.wedocs-document .gap-3 { gap: 0.75rem; } -.wedocs-document :is(.gap-4) { +.wedocs-document .gap-4 { gap: 1rem; } -.wedocs-document :is(.gap-5) { +.wedocs-document .gap-5 { gap: 1.25rem; } -.wedocs-document :is(.gap-7) { +.wedocs-document .gap-7 { gap: 1.75rem; } .wedocs-document :is(.-space-x-2 > :not([hidden]) ~ :not([hidden])) { @@ -4079,11 +4171,6 @@ select { margin-right: calc(2rem * var(--tw-space-x-reverse)); margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse))); } -.wedocs-document :is(.space-y-0 > :not([hidden]) ~ :not([hidden])) { - --tw-space-y-reverse: 0; - margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0px * var(--tw-space-y-reverse)); -} .wedocs-document :is(.space-y-0\.5 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse))); @@ -4094,11 +4181,6 @@ select { margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); } -.wedocs-document :is(.space-y-3 > :not([hidden]) ~ :not([hidden])) { - --tw-space-y-reverse: 0; - margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); -} .wedocs-document :is(.space-y-3\.5 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(0.875rem * calc(1 - var(--tw-space-y-reverse))); @@ -4131,990 +4213,967 @@ select { } .wedocs-document :is(.divide-gray-200 > :not([hidden]) ~ :not([hidden])) { --tw-divide-opacity: 1; - border-color: rgb(229 231 235 / var(--tw-divide-opacity)); + border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1)); } -.wedocs-document :is(.self-center) { +.wedocs-document .self-center { align-self: center; } -.wedocs-document :is(.overflow-auto) { +.wedocs-document .overflow-auto { overflow: auto; } -.wedocs-document :is(.overflow-hidden) { +.wedocs-document .overflow-hidden { overflow: hidden; } -.wedocs-document :is(.overflow-visible) { +.wedocs-document .overflow-visible { overflow: visible; } -.wedocs-document :is(.overflow-y-auto) { +.wedocs-document .overflow-y-auto { overflow-y: auto; } -.wedocs-document :is(.truncate) { +.wedocs-document .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -.wedocs-document :is(.whitespace-break-spaces) { +.wedocs-document .whitespace-break-spaces { white-space: break-spaces; } -.wedocs-document :is(.\!rounded-md) { +.wedocs-document .text-wrap { + text-wrap: wrap; +} +.wedocs-document .\!rounded-md { border-radius: 0.375rem !important; } -.wedocs-document :is(.rounded) { +.wedocs-document .rounded { border-radius: 0.25rem; } -.wedocs-document :is(.rounded-2xl) { +.wedocs-document .rounded-2xl { border-radius: 1rem; } -.wedocs-document :is(.rounded-\[10px\]) { +.wedocs-document .rounded-\[10px\] { border-radius: 10px; } -.wedocs-document :is(.rounded-\[42px\]) { +.wedocs-document .rounded-\[42px\] { border-radius: 42px; } -.wedocs-document :is(.rounded-\[55px\]) { +.wedocs-document .rounded-\[55px\] { border-radius: 55px; } -.wedocs-document :is(.rounded-full) { +.wedocs-document .rounded-full { border-radius: 9999px; } -.wedocs-document :is(.rounded-lg) { +.wedocs-document .rounded-lg { border-radius: 0.5rem; } -.wedocs-document :is(.rounded-md) { +.wedocs-document .rounded-md { border-radius: 0.375rem; } -.wedocs-document :is(.rounded-r-md) { +.wedocs-document .rounded-r-md { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; } -.wedocs-document :is(.rounded-br-none) { +.wedocs-document .rounded-br-none { border-bottom-right-radius: 0px; } -.wedocs-document :is(.rounded-tr-none) { +.wedocs-document .rounded-tr-none { border-top-right-radius: 0px; } -.wedocs-document :is(.\!border-0) { +.wedocs-document .\!border-0 { border-width: 0px !important; } -.wedocs-document :is(.border) { +.wedocs-document .border { border-width: 1px; } -.wedocs-document :is(.border-0) { +.wedocs-document .border-0 { border-width: 0px; } -.wedocs-document :is(.border-2) { +.wedocs-document .border-2 { border-width: 2px; } -.wedocs-document :is(.border-b) { +.wedocs-document .border-b { border-bottom-width: 1px; } -.wedocs-document :is(.border-l-4) { +.wedocs-document .border-l-4 { border-left-width: 4px; } -.wedocs-document :is(.border-t) { +.wedocs-document .border-t { border-top-width: 1px; } -.wedocs-document :is(.\!border-\[\#8c8f94\]) { +.wedocs-document .\!border-\[\#8c8f94\] { --tw-border-opacity: 1 !important; - border-color: rgb(140 143 148 / var(--tw-border-opacity)) !important; + border-color: rgb(140 143 148 / var(--tw-border-opacity, 1)) !important; } -.wedocs-document :is(.\!border-gray-300) { +.wedocs-document .\!border-gray-300 { --tw-border-opacity: 1 !important; - border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important; + border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)) !important; } -.wedocs-document :is(.\!border-red-500) { +.wedocs-document .\!border-red-500 { --tw-border-opacity: 1 !important; - border-color: rgb(239 68 68 / var(--tw-border-opacity)) !important; + border-color: rgb(239 68 68 / var(--tw-border-opacity, 1)) !important; } -.wedocs-document :is(.\!border-transparent) { +.wedocs-document .\!border-transparent { border-color: transparent !important; } -.wedocs-document :is(.border-\[\#D1D5DB\]) { +.wedocs-document .border-\[\#D1D5DB\] { --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); + border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-\[\#D9D9D9\]) { +.wedocs-document .border-\[\#D9D9D9\] { --tw-border-opacity: 1; - border-color: rgb(217 217 217 / var(--tw-border-opacity)); + border-color: rgb(217 217 217 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-\[\#DBDBDB\]) { +.wedocs-document .border-\[\#DBDBDB\] { --tw-border-opacity: 1; - border-color: rgb(219 219 219 / var(--tw-border-opacity)); + border-color: rgb(219 219 219 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-\[\#E2E2E2\]) { +.wedocs-document .border-\[\#E2E2E2\] { --tw-border-opacity: 1; - border-color: rgb(226 226 226 / var(--tw-border-opacity)); + border-color: rgb(226 226 226 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-\[\#E5E7EB\]) { +.wedocs-document .border-\[\#E5E7EB\] { --tw-border-opacity: 1; - border-color: rgb(229 231 235 / var(--tw-border-opacity)); + border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-\[\#FBBF24\]) { +.wedocs-document .border-\[\#FBBF24\] { --tw-border-opacity: 1; - border-color: rgb(251 191 36 / var(--tw-border-opacity)); + border-color: rgb(251 191 36 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-gray-200) { +.wedocs-document .border-gray-200 { --tw-border-opacity: 1; - border-color: rgb(229 231 235 / var(--tw-border-opacity)); + border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-gray-300) { +.wedocs-document .border-gray-300 { --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); + border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-gray-400) { +.wedocs-document .border-gray-400 { --tw-border-opacity: 1; - border-color: rgb(156 163 175 / var(--tw-border-opacity)); + border-color: rgb(156 163 175 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-indigo-600) { +.wedocs-document .border-indigo-600 { --tw-border-opacity: 1; - border-color: rgb(79 70 229 / var(--tw-border-opacity)); + border-color: rgb(79 70 229 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-transparent) { +.wedocs-document .border-transparent { border-color: transparent; } -.wedocs-document :is(.border-yellow-400) { +.wedocs-document .border-yellow-400 { --tw-border-opacity: 1; - border-color: rgb(250 204 21 / var(--tw-border-opacity)); + border-color: rgb(250 204 21 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.border-t-\[\#DBDBDB\]) { +.wedocs-document .border-t-\[\#DBDBDB\] { --tw-border-opacity: 1; - border-top-color: rgb(219 219 219 / var(--tw-border-opacity)); + border-top-color: rgb(219 219 219 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.\!bg-\[\#007f69\]) { +.wedocs-document .\!bg-\[\#007f69\] { --tw-bg-opacity: 1 !important; - background-color: rgb(0 127 105 / var(--tw-bg-opacity)) !important; + background-color: rgb(0 127 105 / var(--tw-bg-opacity, 1)) !important; } -.wedocs-document :is(.\!bg-\[\#909091\]) { +.wedocs-document .\!bg-\[\#909091\] { --tw-bg-opacity: 1 !important; - background-color: rgb(144 144 145 / var(--tw-bg-opacity)) !important; + background-color: rgb(144 144 145 / var(--tw-bg-opacity, 1)) !important; } -.wedocs-document :is(.\!bg-gray-200) { +.wedocs-document .\!bg-gray-200 { --tw-bg-opacity: 1 !important; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)) !important; } -.wedocs-document :is(.\!bg-transparent) { +.wedocs-document .\!bg-transparent { background-color: transparent !important; } -.wedocs-document :is(.\!bg-white) { +.wedocs-document .\!bg-white { --tw-bg-opacity: 1 !important; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important; } -.wedocs-document :is(.bg-\[\#00000080\]) { +.wedocs-document .bg-\[\#00000080\] { background-color: #00000080; } -.wedocs-document :is(.bg-\[\#00A1E4\]) { +.wedocs-document .bg-\[\#00A1E4\] { --tw-bg-opacity: 1; - background-color: rgb(0 161 228 / var(--tw-bg-opacity)); + background-color: rgb(0 161 228 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#06B6D4\]) { +.wedocs-document .bg-\[\#06B6D4\] { --tw-bg-opacity: 1; - background-color: rgb(6 182 212 / var(--tw-bg-opacity)); + background-color: rgb(6 182 212 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#139f84\]) { +.wedocs-document .bg-\[\#139f84\] { --tw-bg-opacity: 1; - background-color: rgb(19 159 132 / var(--tw-bg-opacity)); + background-color: rgb(19 159 132 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#4F46E5\]) { +.wedocs-document .bg-\[\#4F46E5\] { --tw-bg-opacity: 1; - background-color: rgb(79 70 229 / var(--tw-bg-opacity)); + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#94a3b8\]) { +.wedocs-document .bg-\[\#94a3b8\] { --tw-bg-opacity: 1; - background-color: rgb(148 163 184 / var(--tw-bg-opacity)); + background-color: rgb(148 163 184 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#E2E8F0\]) { +.wedocs-document .bg-\[\#E2E8F0\] { --tw-bg-opacity: 1; - background-color: rgb(226 232 240 / var(--tw-bg-opacity)); + background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#E3E5E7\]) { +.wedocs-document .bg-\[\#E3E5E7\] { --tw-bg-opacity: 1; - background-color: rgb(227 229 231 / var(--tw-bg-opacity)); + background-color: rgb(227 229 231 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#E7E6FF\]) { +.wedocs-document .bg-\[\#E7E6FF\] { --tw-bg-opacity: 1; - background-color: rgb(231 230 255 / var(--tw-bg-opacity)); + background-color: rgb(231 230 255 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#F3F4F6\]) { +.wedocs-document .bg-\[\#F3F4F6\] { --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#FF9000\]) { +.wedocs-document .bg-\[\#FF9000\] { --tw-bg-opacity: 1; - background-color: rgb(255 144 0 / var(--tw-bg-opacity)); + background-color: rgb(255 144 0 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#cbd5e1\]) { +.wedocs-document .bg-\[\#cbd5e1\] { --tw-bg-opacity: 1; - background-color: rgb(203 213 225 / var(--tw-bg-opacity)); + background-color: rgb(203 213 225 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-\[\#ff9000\]) { +.wedocs-document .bg-\[\#ff9000\] { --tw-bg-opacity: 1; - background-color: rgb(255 144 0 / var(--tw-bg-opacity)); + background-color: rgb(255 144 0 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-black) { +.wedocs-document .bg-black { --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); + background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-gray-100) { +.wedocs-document .bg-gray-100 { --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-gray-200) { +.wedocs-document .bg-gray-200 { --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-gray-400) { +.wedocs-document .bg-gray-400 { --tw-bg-opacity: 1; - background-color: rgb(156 163 175 / var(--tw-bg-opacity)); + background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-gray-50) { +.wedocs-document .bg-gray-50 { --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); + background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-indigo-600) { +.wedocs-document .bg-indigo-600 { --tw-bg-opacity: 1; - background-color: rgb(79 70 229 / var(--tw-bg-opacity)); + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-indigo-700) { +.wedocs-document .bg-indigo-700 { --tw-bg-opacity: 1; - background-color: rgb(67 56 202 / var(--tw-bg-opacity)); + background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-red-100) { +.wedocs-document .bg-red-100 { --tw-bg-opacity: 1; - background-color: rgb(254 226 226 / var(--tw-bg-opacity)); + background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-red-600) { +.wedocs-document .bg-red-600 { --tw-bg-opacity: 1; - background-color: rgb(220 38 38 / var(--tw-bg-opacity)); + background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-slate-200) { +.wedocs-document .bg-slate-200 { --tw-bg-opacity: 1; - background-color: rgb(226 232 240 / var(--tw-bg-opacity)); + background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-white) { +.wedocs-document .bg-white { --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-yellow-50) { +.wedocs-document .bg-yellow-50 { --tw-bg-opacity: 1; - background-color: rgb(254 252 232 / var(--tw-bg-opacity)); + background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.bg-opacity-25) { +.wedocs-document .bg-opacity-25 { --tw-bg-opacity: 0.25; } -.wedocs-document :is(.fill-gray-500) { +.wedocs-document .fill-gray-500 { fill: #6b7280; } -.wedocs-document :is(.stroke-\[\#6b7280\]) { +.wedocs-document .stroke-\[\#6b7280\] { stroke: #6b7280; } -.wedocs-document :is(.stroke-gray-300) { +.wedocs-document .stroke-gray-300 { stroke: #d1d5db; } -.wedocs-document :is(.stroke-gray-400) { +.wedocs-document .stroke-gray-400 { stroke: #9ca3af; } -.wedocs-document :is(.stroke-gray-500) { +.wedocs-document .stroke-gray-500 { stroke: #6b7280; } -.wedocs-document :is(.p-0) { +.wedocs-document .p-0 { padding: 0px; } -.wedocs-document :is(.p-1) { - padding: 0.25rem; -} -.wedocs-document :is(.p-1\.5) { +.wedocs-document .p-1\.5 { padding: 0.375rem; } -.wedocs-document :is(.p-12) { +.wedocs-document .p-12 { padding: 3rem; } -.wedocs-document :is(.p-3) { +.wedocs-document .p-3 { padding: 0.75rem; } -.wedocs-document :is(.p-4) { +.wedocs-document .p-4 { padding: 1rem; } -.wedocs-document :is(.p-5) { +.wedocs-document .p-5 { padding: 1.25rem; } -.wedocs-document :is(.p-6) { +.wedocs-document .p-6 { padding: 1.5rem; } -.wedocs-document :is(.\!px-0) { +.wedocs-document .\!px-0 { padding-left: 0px !important; padding-right: 0px !important; } -.wedocs-document :is(.\!px-3) { +.wedocs-document .\!px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; } -.wedocs-document :is(.\!px-4) { +.wedocs-document .\!px-4 { padding-left: 1rem !important; padding-right: 1rem !important; } -.wedocs-document :is(.\!py-0) { +.wedocs-document .\!py-0 { padding-top: 0px !important; padding-bottom: 0px !important; } -.wedocs-document :is(.\!py-1) { +.wedocs-document .\!py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } -.wedocs-document :is(.\!py-1\.5) { +.wedocs-document .\!py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; } -.wedocs-document :is(.\!py-2) { +.wedocs-document .\!py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } -.wedocs-document :is(.px-0) { - padding-left: 0px; - padding-right: 0px; -} -.wedocs-document :is(.px-0\.5) { +.wedocs-document .px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; } -.wedocs-document :is(.px-1) { - padding-left: 0.25rem; - padding-right: 0.25rem; -} -.wedocs-document :is(.px-1\.5) { +.wedocs-document .px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; } -.wedocs-document :is(.px-12) { +.wedocs-document .px-12 { padding-left: 3rem; padding-right: 3rem; } -.wedocs-document :is(.px-16) { +.wedocs-document .px-16 { padding-left: 4rem; padding-right: 4rem; } -.wedocs-document :is(.px-2) { +.wedocs-document .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; } -.wedocs-document :is(.px-2\.5) { +.wedocs-document .px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; } -.wedocs-document :is(.px-20) { +.wedocs-document .px-20 { padding-left: 5rem; padding-right: 5rem; } -.wedocs-document :is(.px-3) { +.wedocs-document .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } -.wedocs-document :is(.px-3\.5) { +.wedocs-document .px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; } -.wedocs-document :is(.px-36) { +.wedocs-document .px-36 { padding-left: 9rem; padding-right: 9rem; } -.wedocs-document :is(.px-4) { +.wedocs-document .px-4 { padding-left: 1rem; padding-right: 1rem; } -.wedocs-document :is(.px-5) { +.wedocs-document .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } -.wedocs-document :is(.px-6) { +.wedocs-document .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } -.wedocs-document :is(.px-8) { +.wedocs-document .px-8 { padding-left: 2rem; padding-right: 2rem; } -.wedocs-document :is(.px-9) { +.wedocs-document .px-9 { padding-left: 2.25rem; padding-right: 2.25rem; } -.wedocs-document :is(.px-\[5px\]) { +.wedocs-document .px-\[5px\] { padding-left: 5px; padding-right: 5px; } -.wedocs-document :is(.px-\[70px\]) { +.wedocs-document .px-\[70px\] { padding-left: 70px; padding-right: 70px; } -.wedocs-document :is(.py-0) { - padding-top: 0px; - padding-bottom: 0px; -} -.wedocs-document :is(.py-0\.5) { +.wedocs-document .py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; } -.wedocs-document :is(.py-1) { +.wedocs-document .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; } -.wedocs-document :is(.py-1\.5) { +.wedocs-document .py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; } -.wedocs-document :is(.py-10) { +.wedocs-document .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; } -.wedocs-document :is(.py-12) { +.wedocs-document .py-12 { padding-top: 3rem; padding-bottom: 3rem; } -.wedocs-document :is(.py-2) { +.wedocs-document .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } -.wedocs-document :is(.py-2\.5) { +.wedocs-document .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; } -.wedocs-document :is(.py-3) { +.wedocs-document .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } -.wedocs-document :is(.py-3\.5) { +.wedocs-document .py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; } -.wedocs-document :is(.py-4) { +.wedocs-document .py-4 { padding-top: 1rem; padding-bottom: 1rem; } -.wedocs-document :is(.py-5) { +.wedocs-document .py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; } -.wedocs-document :is(.py-6) { +.wedocs-document .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; } -.wedocs-document :is(.py-8) { +.wedocs-document .py-8 { padding-top: 2rem; padding-bottom: 2rem; } -.wedocs-document :is(.py-\[18px\]) { +.wedocs-document .py-\[18px\] { padding-top: 18px; padding-bottom: 18px; } -.wedocs-document :is(.py-\[3px\]) { +.wedocs-document .py-\[3px\] { padding-top: 3px; padding-bottom: 3px; } -.wedocs-document :is(.\!pl-3) { +.wedocs-document .\!pl-3 { padding-left: 0.75rem !important; } -.wedocs-document :is(.\!pl-4) { +.wedocs-document .\!pl-4 { padding-left: 1rem !important; } -.wedocs-document :is(.\!pr-10) { +.wedocs-document .\!pr-10 { padding-right: 2.5rem !important; } -.wedocs-document :is(.pb-0) { - padding-bottom: 0px; -} -.wedocs-document :is(.pb-0\.5) { +.wedocs-document .pb-0\.5 { padding-bottom: 0.125rem; } -.wedocs-document :is(.pb-10) { +.wedocs-document .pb-10 { padding-bottom: 2.5rem; } -.wedocs-document :is(.pb-12) { +.wedocs-document .pb-12 { padding-bottom: 3rem; } -.wedocs-document :is(.pb-20) { +.wedocs-document .pb-20 { padding-bottom: 5rem; } -.wedocs-document :is(.pb-6) { +.wedocs-document .pb-6 { padding-bottom: 1.5rem; } -.wedocs-document :is(.pb-7) { +.wedocs-document .pb-7 { padding-bottom: 1.75rem; } -.wedocs-document :is(.pl-2) { - padding-left: 0.5rem; -} -.wedocs-document :is(.pl-2\.5) { +.wedocs-document .pl-2\.5 { padding-left: 0.625rem; } -.wedocs-document :is(.pl-3) { +.wedocs-document .pl-3 { padding-left: 0.75rem; } -.wedocs-document :is(.pl-4) { +.wedocs-document .pl-4 { padding-left: 1rem; } -.wedocs-document :is(.pl-6) { +.wedocs-document .pl-6 { padding-left: 1.5rem; } -.wedocs-document :is(.pr-0) { +.wedocs-document .pr-0 { padding-right: 0px; } -.wedocs-document :is(.pr-10) { +.wedocs-document .pr-10 { padding-right: 2.5rem; } -.wedocs-document :is(.pr-14) { +.wedocs-document .pr-14 { padding-right: 3.5rem; } -.wedocs-document :is(.pr-16) { +.wedocs-document .pr-16 { padding-right: 4rem; } -.wedocs-document :is(.pr-2) { +.wedocs-document .pr-2 { padding-right: 0.5rem; } -.wedocs-document :is(.pr-3) { +.wedocs-document .pr-3 { padding-right: 0.75rem; } -.wedocs-document :is(.pr-3\.5) { +.wedocs-document .pr-3\.5 { padding-right: 0.875rem; } -.wedocs-document :is(.pr-4) { +.wedocs-document .pr-4 { padding-right: 1rem; } -.wedocs-document :is(.pr-5) { +.wedocs-document .pr-5 { padding-right: 1.25rem; } -.wedocs-document :is(.pr-8) { +.wedocs-document .pr-8 { padding-right: 2rem; } -.wedocs-document :is(.pr-9) { +.wedocs-document .pr-9 { padding-right: 2.25rem; } -.wedocs-document :is(.pr-\[5px\]) { +.wedocs-document .pr-\[5px\] { padding-right: 5px; } -.wedocs-document :is(.pt-0) { +.wedocs-document .pt-0 { padding-top: 0px; } -.wedocs-document :is(.pt-16) { +.wedocs-document .pt-16 { padding-top: 4rem; } -.wedocs-document :is(.pt-2) { - padding-top: 0.5rem; -} -.wedocs-document :is(.pt-2\.5) { +.wedocs-document .pt-2\.5 { padding-top: 0.625rem; } -.wedocs-document :is(.pt-3) { +.wedocs-document .pt-3 { padding-top: 0.75rem; } -.wedocs-document :is(.pt-5) { +.wedocs-document .pt-5 { padding-top: 1.25rem; } -.wedocs-document :is(.pt-6) { +.wedocs-document .pt-6 { padding-top: 1.5rem; } -.wedocs-document :is(.pt-7) { +.wedocs-document .pt-7 { padding-top: 1.75rem; } -.wedocs-document :is(.pt-\[1px\]) { +.wedocs-document .pt-\[1px\] { padding-top: 1px; } -.wedocs-document :is(.text-left) { +.wedocs-document .text-left { text-align: left; } -.wedocs-document :is(.text-center) { +.wedocs-document .text-center { text-align: center; } -.wedocs-document :is(.text-right) { +.wedocs-document .text-right { text-align: right; } -.wedocs-document :is(.align-middle) { +.wedocs-document .align-middle { vertical-align: middle; } -.wedocs-document :is(.\!text-base) { +.wedocs-document .\!text-base { font-size: 1rem !important; line-height: 1.5rem !important; } -.wedocs-document :is(.text-2xl) { +.wedocs-document .text-2xl { font-size: 1.5rem; line-height: 2rem; } -.wedocs-document :is(.text-3xl) { +.wedocs-document .text-3xl { font-size: 1.875rem; line-height: 2.25rem; } -.wedocs-document :is(.text-\[10px\]) { +.wedocs-document .text-\[10px\] { font-size: 10px; } -.wedocs-document :is(.text-\[11px\]) { +.wedocs-document .text-\[11px\] { font-size: 11px; } -.wedocs-document :is(.text-\[13px\]) { +.wedocs-document .text-\[13px\] { font-size: 13px; } -.wedocs-document :is(.text-base) { +.wedocs-document .text-base { font-size: 1rem; line-height: 1.5rem; } -.wedocs-document :is(.text-lg) { +.wedocs-document .text-lg { font-size: 1.125rem; line-height: 1.75rem; } -.wedocs-document :is(.text-sm) { +.wedocs-document .text-sm { font-size: 0.875rem; line-height: 1.25rem; } -.wedocs-document :is(.text-xl) { +.wedocs-document .text-xl { font-size: 1.25rem; line-height: 1.75rem; } -.wedocs-document :is(.text-xs) { +.wedocs-document .text-xs { font-size: 0.75rem; line-height: 1rem; } -.wedocs-document :is(.\!font-medium) { +.wedocs-document .\!font-medium { font-weight: 500 !important; } -.wedocs-document :is(.\!font-normal) { +.wedocs-document .\!font-normal { font-weight: 400 !important; } -.wedocs-document :is(.font-\[600\]) { +.wedocs-document .font-\[600\] { font-weight: 600; } -.wedocs-document :is(.font-bold) { +.wedocs-document .font-bold { font-weight: 700; } -.wedocs-document :is(.font-extrabold) { +.wedocs-document .font-extrabold { font-weight: 800; } -.wedocs-document :is(.font-medium) { +.wedocs-document .font-medium { font-weight: 500; } -.wedocs-document :is(.font-normal) { +.wedocs-document .font-normal { font-weight: 400; } -.wedocs-document :is(.font-semibold) { +.wedocs-document .font-semibold { font-weight: 600; } -.wedocs-document :is(.uppercase) { +.wedocs-document .uppercase { text-transform: uppercase; } -.wedocs-document :is(.lowercase) { +.wedocs-document .lowercase { text-transform: lowercase; } -.wedocs-document :is(.capitalize) { +.wedocs-document .capitalize { text-transform: capitalize; } -.wedocs-document :is(.italic) { +.wedocs-document .italic { font-style: italic; } -.wedocs-document :is(.\!leading-5) { +.wedocs-document .\!leading-5 { line-height: 1.25rem !important; } -.wedocs-document :is(.leading-3) { +.wedocs-document .leading-3 { line-height: .75rem; } -.wedocs-document :is(.leading-4) { +.wedocs-document .leading-4 { line-height: 1rem; } -.wedocs-document :is(.leading-5) { +.wedocs-document .leading-5 { line-height: 1.25rem; } -.wedocs-document :is(.leading-6) { +.wedocs-document .leading-6 { line-height: 1.5rem; } -.wedocs-document :is(.leading-7) { +.wedocs-document .leading-7 { line-height: 1.75rem; } -.wedocs-document :is(.leading-8) { +.wedocs-document .leading-8 { line-height: 2rem; } -.wedocs-document :is(.leading-\[13\.31px\]) { +.wedocs-document .leading-\[13\.31px\] { line-height: 13.31px; } -.wedocs-document :is(.leading-\[3rem\]) { +.wedocs-document .leading-\[3rem\] { line-height: 3rem; } -.wedocs-document :is(.leading-none) { +.wedocs-document .leading-none { line-height: 1; } -.wedocs-document :is(.leading-normal) { +.wedocs-document .leading-normal { line-height: 1.5; } -.wedocs-document :is(.tracking-wider) { +.wedocs-document .tracking-wider { letter-spacing: 0.05em; } -.wedocs-document :is(.\!text-black) { +.wedocs-document .\!text-black { --tw-text-opacity: 1 !important; - color: rgb(0 0 0 / var(--tw-text-opacity)) !important; + color: rgb(0 0 0 / var(--tw-text-opacity, 1)) !important; } -.wedocs-document :is(.text-\[\#0043FF\]) { +.wedocs-document .text-\[\#0043FF\] { --tw-text-opacity: 1; - color: rgb(0 67 255 / var(--tw-text-opacity)); + color: rgb(0 67 255 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#111827\]) { +.wedocs-document .text-\[\#111827\] { --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); + color: rgb(17 24 39 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#333333\]) { +.wedocs-document .text-\[\#333333\] { --tw-text-opacity: 1; - color: rgb(51 51 51 / var(--tw-text-opacity)); + color: rgb(51 51 51 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#3B3F4A\]) { +.wedocs-document .text-\[\#3B3F4A\] { --tw-text-opacity: 1; - color: rgb(59 63 74 / var(--tw-text-opacity)); + color: rgb(59 63 74 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#656668\]) { +.wedocs-document .text-\[\#656668\] { --tw-text-opacity: 1; - color: rgb(101 102 104 / var(--tw-text-opacity)); + color: rgb(101 102 104 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#666B79\]) { +.wedocs-document .text-\[\#666B79\] { --tw-text-opacity: 1; - color: rgb(102 107 121 / var(--tw-text-opacity)); + color: rgb(102 107 121 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#6B7280\]) { +.wedocs-document .text-\[\#6B7280\] { --tw-text-opacity: 1; - color: rgb(107 114 128 / var(--tw-text-opacity)); + color: rgb(107 114 128 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#92400E\]) { +.wedocs-document .text-\[\#92400E\] { --tw-text-opacity: 1; - color: rgb(146 64 14 / var(--tw-text-opacity)); + color: rgb(146 64 14 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#969696\]) { +.wedocs-document .text-\[\#969696\] { --tw-text-opacity: 1; - color: rgb(150 150 150 / var(--tw-text-opacity)); + color: rgb(150 150 150 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#B4BBD6\]) { +.wedocs-document .text-\[\#B4BBD6\] { --tw-text-opacity: 1; - color: rgb(180 187 214 / var(--tw-text-opacity)); + color: rgb(180 187 214 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#d1d5db\]) { +.wedocs-document .text-\[\#d1d5db\] { --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); + color: rgb(209 213 219 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-\[\#ff9000\]) { +.wedocs-document .text-\[\#ff9000\] { --tw-text-opacity: 1; - color: rgb(255 144 0 / var(--tw-text-opacity)); + color: rgb(255 144 0 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-black) { +.wedocs-document .text-black { --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-gray-400) { +.wedocs-document .text-gray-400 { --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); + color: rgb(156 163 175 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-gray-500) { +.wedocs-document .text-gray-500 { --tw-text-opacity: 1; - color: rgb(107 114 128 / var(--tw-text-opacity)); + color: rgb(107 114 128 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-gray-600) { +.wedocs-document .text-gray-600 { --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-gray-700) { +.wedocs-document .text-gray-700 { --tw-text-opacity: 1; - color: rgb(55 65 81 / var(--tw-text-opacity)); + color: rgb(55 65 81 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-gray-800) { +.wedocs-document .text-gray-800 { --tw-text-opacity: 1; - color: rgb(31 41 55 / var(--tw-text-opacity)); + color: rgb(31 41 55 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-gray-900) { +.wedocs-document .text-gray-900 { --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); + color: rgb(17 24 39 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-indigo-600) { +.wedocs-document .text-indigo-600 { --tw-text-opacity: 1; - color: rgb(79 70 229 / var(--tw-text-opacity)); + color: rgb(79 70 229 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-indigo-700) { +.wedocs-document .text-indigo-700 { --tw-text-opacity: 1; - color: rgb(67 56 202 / var(--tw-text-opacity)); + color: rgb(67 56 202 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-red-500) { +.wedocs-document .text-red-500 { --tw-text-opacity: 1; - color: rgb(239 68 68 / var(--tw-text-opacity)); + color: rgb(239 68 68 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-red-600) { +.wedocs-document .text-red-600 { --tw-text-opacity: 1; - color: rgb(220 38 38 / var(--tw-text-opacity)); + color: rgb(220 38 38 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.text-white) { +.wedocs-document .text-white { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.underline) { +.wedocs-document .underline { text-decoration-line: underline; } -.wedocs-document :is(.overline) { +.wedocs-document .overline { text-decoration-line: overline; } -.wedocs-document :is(.line-through) { +.wedocs-document .line-through { text-decoration-line: line-through; } -.wedocs-document :is(.decoration-1) { +.wedocs-document .decoration-1 { text-decoration-thickness: 1px; } -.wedocs-document :is(.underline-offset-2) { +.wedocs-document .underline-offset-2 { text-underline-offset: 2px; } -.wedocs-document :is(.antialiased) { +.wedocs-document .antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -.wedocs-document :is(.placeholder-\[\#333333\])::-moz-placeholder { +.wedocs-document .placeholder-\[\#333333\]::-moz-placeholder { --tw-placeholder-opacity: 1; - color: rgb(51 51 51 / var(--tw-placeholder-opacity)); + color: rgb(51 51 51 / var(--tw-placeholder-opacity, 1)); } -.wedocs-document :is(.placeholder-\[\#333333\])::placeholder { +.wedocs-document .placeholder-\[\#333333\]::placeholder { --tw-placeholder-opacity: 1; - color: rgb(51 51 51 / var(--tw-placeholder-opacity)); + color: rgb(51 51 51 / var(--tw-placeholder-opacity, 1)); } -.wedocs-document :is(.placeholder-\[\#BDBDBD\])::-moz-placeholder { +.wedocs-document .placeholder-\[\#BDBDBD\]::-moz-placeholder { --tw-placeholder-opacity: 1; - color: rgb(189 189 189 / var(--tw-placeholder-opacity)); + color: rgb(189 189 189 / var(--tw-placeholder-opacity, 1)); } -.wedocs-document :is(.placeholder-\[\#BDBDBD\])::placeholder { +.wedocs-document .placeholder-\[\#BDBDBD\]::placeholder { --tw-placeholder-opacity: 1; - color: rgb(189 189 189 / var(--tw-placeholder-opacity)); + color: rgb(189 189 189 / var(--tw-placeholder-opacity, 1)); } -.wedocs-document :is(.placeholder-gray-400)::-moz-placeholder { +.wedocs-document .placeholder-gray-400::-moz-placeholder { --tw-placeholder-opacity: 1; - color: rgb(156 163 175 / var(--tw-placeholder-opacity)); + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); } -.wedocs-document :is(.placeholder-gray-400)::placeholder { +.wedocs-document .placeholder-gray-400::placeholder { --tw-placeholder-opacity: 1; - color: rgb(156 163 175 / var(--tw-placeholder-opacity)); + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); } -.wedocs-document :is(.opacity-0) { +.wedocs-document .opacity-0 { opacity: 0; } -.wedocs-document :is(.opacity-100) { +.wedocs-document .opacity-100 { opacity: 1; } -.wedocs-document :is(.opacity-50) { +.wedocs-document .opacity-50 { opacity: 0.5; } -.wedocs-document :is(.\!shadow-none) { +.wedocs-document .\!shadow-none { --tw-shadow: 0 0 #0000 !important; --tw-shadow-colored: 0 0 #0000 !important; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important; } -.wedocs-document :is(.shadow) { +.wedocs-document .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.wedocs-document :is(.shadow-lg) { +.wedocs-document .shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.wedocs-document :is(.shadow-sm) { +.wedocs-document .shadow-sm { --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.wedocs-document :is(.shadow-xl) { +.wedocs-document .shadow-xl { --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.wedocs-document :is(.shadow-gray-100) { +.wedocs-document .shadow-gray-100 { --tw-shadow-color: #f3f4f6; --tw-shadow: var(--tw-shadow-colored); } -.wedocs-document :is(.shadow-gray-800\/30) { +.wedocs-document .shadow-gray-800\/30 { --tw-shadow-color: rgb(31 41 55 / 0.3); --tw-shadow: var(--tw-shadow-colored); } -.wedocs-document :is(.outline-none) { +.wedocs-document .outline-none { outline: 2px solid transparent; outline-offset: 2px; } -.wedocs-document :is(.outline) { +.wedocs-document .outline { outline-style: solid; } -.wedocs-document :is(.outline-0) { +.wedocs-document .outline-0 { outline-width: 0px; } -.wedocs-document :is(.ring-0) { +.wedocs-document .ring-0 { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.wedocs-document :is(.ring-1) { +.wedocs-document .ring-1 { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.wedocs-document :is(.ring-2) { +.wedocs-document .ring-2 { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.wedocs-document :is(.ring-black) { +.wedocs-document .ring-black { --tw-ring-opacity: 1; - --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.ring-indigo-600) { +.wedocs-document .ring-indigo-600 { --tw-ring-opacity: 1; - --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.ring-white) { +.wedocs-document .ring-white { --tw-ring-opacity: 1; - --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.ring-opacity-5) { +.wedocs-document .ring-opacity-5 { --tw-ring-opacity: 0.05; } -.wedocs-document :is(.blur) { +.wedocs-document .blur { --tw-blur: blur(8px); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } -.wedocs-document :is(.grayscale) { +.wedocs-document .grayscale { --tw-grayscale: grayscale(100%); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } -.wedocs-document :is(.filter) { +.wedocs-document .filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } -.wedocs-document :is(.transition) { - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; +.wedocs-document .transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.wedocs-document :is(.transition-all) { +.wedocs-document .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.wedocs-document :is(.transition-colors) { +.wedocs-document .transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.wedocs-document :is(.transition-transform) { +.wedocs-document .transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.wedocs-document :is(.duration-100) { +.wedocs-document .duration-100 { transition-duration: 100ms; } -.wedocs-document :is(.duration-200) { +.wedocs-document .duration-200 { transition-duration: 200ms; } -.wedocs-document :is(.duration-300) { +.wedocs-document .duration-300 { transition-duration: 300ms; } -.wedocs-document :is(.ease-in) { +.wedocs-document .ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); } -.wedocs-document :is(.ease-in-out) { +.wedocs-document .ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } -.wedocs-document :is(.ease-out) { +.wedocs-document .ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } @@ -5234,460 +5293,445 @@ html.wp-toolbar { } } -.wedocs-document :is(.before\:absolute)::before { +.wedocs-document .before\:absolute::before { content: var(--tw-content); position: absolute; } -.wedocs-document :is(.before\:-right-\[1px\])::before { +.wedocs-document .before\:-right-\[1px\]::before { content: var(--tw-content); right: -1px; } -.wedocs-document :is(.before\:-top-2)::before { - content: var(--tw-content); - top: -0.5rem; -} - -.wedocs-document :is(.before\:-top-2\.5)::before { +.wedocs-document .before\:-top-2\.5::before { content: var(--tw-content); top: -0.625rem; } -.wedocs-document :is(.before\:-top-4)::before { +.wedocs-document .before\:-top-4::before { content: var(--tw-content); top: -1rem; } -.wedocs-document :is(.before\:-top-6)::before { +.wedocs-document .before\:-top-6::before { content: var(--tw-content); top: -1.5rem; } -.wedocs-document :is(.before\:left-0)::before { +.wedocs-document .before\:left-0::before { content: var(--tw-content); left: 0px; } -.wedocs-document :is(.before\:mt-3)::before { +.wedocs-document .before\:mt-3::before { content: var(--tw-content); margin-top: 0.75rem; } -.wedocs-document :is(.before\:\!hidden)::before { +.wedocs-document .before\:\!hidden::before { content: var(--tw-content); display: none !important; } -.wedocs-document :is(.before\:h-2)::before { - content: var(--tw-content); - height: 0.5rem; -} - -.wedocs-document :is(.before\:h-2\.5)::before { +.wedocs-document .before\:h-2\.5::before { content: var(--tw-content); height: 0.625rem; } -.wedocs-document :is(.before\:h-3)::before { +.wedocs-document .before\:h-3::before { content: var(--tw-content); height: 0.75rem; } -.wedocs-document :is(.before\:h-4)::before { +.wedocs-document .before\:h-4::before { content: var(--tw-content); height: 1rem; } -.wedocs-document :is(.before\:w-\[70\%\])::before { +.wedocs-document .before\:w-\[70\%\]::before { content: var(--tw-content); width: 70%; } -.wedocs-document :is(.before\:w-full)::before { +.wedocs-document .before\:w-full::before { content: var(--tw-content); width: 100%; } -.wedocs-document :is(.before\:max-w-xl)::before { +.wedocs-document .before\:max-w-xl::before { content: var(--tw-content); max-width: 36rem; } -.wedocs-document :is(.before\:\!bg-transparent)::before { +.wedocs-document .before\:\!bg-transparent::before { content: var(--tw-content); background-color: transparent !important; } -.wedocs-document :is(.before\:content-\[\'\'\])::before { +.wedocs-document .before\:content-\[\'\'\]::before { --tw-content: ''; content: var(--tw-content); } -.wedocs-document :is(.after\:absolute)::after { +.wedocs-document .after\:absolute::after { content: var(--tw-content); position: absolute; } -.wedocs-document :is(.after\:left-1\/2)::after { +.wedocs-document .after\:left-1\/2::after { content: var(--tw-content); left: 50%; } -.wedocs-document :is(.after\:right-4)::after { +.wedocs-document .after\:right-4::after { content: var(--tw-content); right: 1rem; } -.wedocs-document :is(.after\:right-\[1\.4rem\])::after { +.wedocs-document .after\:right-\[1\.4rem\]::after { content: var(--tw-content); right: 1.4rem; } -.wedocs-document :is(.after\:right-\[22px\])::after { +.wedocs-document .after\:right-\[22px\]::after { content: var(--tw-content); right: 22px; } -.wedocs-document :is(.after\:top-0)::after { - content: var(--tw-content); - top: 0px; -} - -.wedocs-document :is(.after\:top-0\.5)::after { +.wedocs-document .after\:top-0\.5::after { content: var(--tw-content); top: 0.125rem; } -.wedocs-document :is(.after\:top-\[-7px\])::after { +.wedocs-document .after\:top-\[-7px\]::after { content: var(--tw-content); top: -7px; } -.wedocs-document :is(.after\:z-\[-1\])::after { +.wedocs-document .after\:z-\[-1\]::after { content: var(--tw-content); z-index: -1; } -.wedocs-document :is(.after\:h-4)::after { +.wedocs-document .after\:h-4::after { content: var(--tw-content); height: 1rem; } -.wedocs-document :is(.after\:h-\[13px\])::after { +.wedocs-document .after\:h-\[13px\]::after { content: var(--tw-content); height: 13px; } -.wedocs-document :is(.after\:w-4)::after { +.wedocs-document .after\:w-4::after { content: var(--tw-content); width: 1rem; } -.wedocs-document :is(.after\:w-\[13px\])::after { +.wedocs-document .after\:w-\[13px\]::after { content: var(--tw-content); width: 13px; } -.wedocs-document :is(.after\:-translate-x-1\/2)::after { +.wedocs-document .after\:-translate-x-1\/2::after { content: var(--tw-content); --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.after\:-translate-y-1\/2)::after { +.wedocs-document .after\:-translate-y-1\/2::after { content: var(--tw-content); --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.after\:\!rotate-45)::after { +.wedocs-document .after\:\!rotate-45::after { content: var(--tw-content); --tw-rotate: 45deg !important; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important; } -.wedocs-document :is(.after\:rotate-\[45deg\])::after { +.wedocs-document .after\:rotate-\[45deg\]::after { content: var(--tw-content); --tw-rotate: 45deg; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.wedocs-document :is(.after\:rounded-sm)::after { +.wedocs-document .after\:rounded-sm::after { content: var(--tw-content); border-radius: 0.125rem; } -.wedocs-document :is(.after\:border)::after { +.wedocs-document .after\:border::after { content: var(--tw-content); border-width: 1px; } -.wedocs-document :is(.after\:border-b-0)::after { +.wedocs-document .after\:border-b-0::after { content: var(--tw-content); border-bottom-width: 0px; } -.wedocs-document :is(.after\:border-r-0)::after { +.wedocs-document .after\:border-r-0::after { content: var(--tw-content); border-right-width: 0px; } -.wedocs-document :is(.after\:border-\[\#DBDBDB\])::after { +.wedocs-document .after\:border-\[\#DBDBDB\]::after { content: var(--tw-content); --tw-border-opacity: 1; - border-color: rgb(219 219 219 / var(--tw-border-opacity)); + border-color: rgb(219 219 219 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.after\:bg-black)::after { +.wedocs-document .after\:bg-black::after { content: var(--tw-content); --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); + background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.after\:bg-white)::after { +.wedocs-document .after\:bg-white::after { content: var(--tw-content); --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.after\:content-\[\'\'\])::after { +.wedocs-document .after\:content-\[\'\'\]::after { --tw-content: ''; content: var(--tw-content); } -.wedocs-document :is(.last\:mb-0:last-child) { +.wedocs-document .last\:mb-0:last-child { margin-bottom: 0px; } -.wedocs-document :is(.checked\:\!border-transparent:checked) { +.wedocs-document .checked\:\!border-transparent:checked { border-color: transparent !important; } -.wedocs-document :is(.checked\:\!bg-indigo-600:checked) { +.wedocs-document .checked\:\!bg-indigo-600:checked { --tw-bg-opacity: 1 !important; - background-color: rgb(79 70 229 / var(--tw-bg-opacity)) !important; + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)) !important; } -.wedocs-document :is(.hover\:block:hover) { +.wedocs-document .hover\:block:hover { display: block; } -.wedocs-document :is(.hover\:cursor-pointer:hover) { +.wedocs-document .hover\:cursor-pointer:hover { cursor: pointer; } -.wedocs-document :is(.hover\:bg-\[\#F9FAFB\]:hover) { +.wedocs-document .hover\:bg-\[\#F9FAFB\]:hover { --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); + background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-\[\#cf7500\]:hover) { +.wedocs-document .hover\:bg-\[\#cf7500\]:hover { --tw-bg-opacity: 1; - background-color: rgb(207 117 0 / var(--tw-bg-opacity)); + background-color: rgb(207 117 0 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-gray-100:hover) { +.wedocs-document .hover\:bg-gray-100:hover { --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-gray-200:hover) { +.wedocs-document .hover\:bg-gray-200:hover { --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-gray-50:hover) { +.wedocs-document .hover\:bg-gray-50:hover { --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); + background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-indigo-600:hover) { +.wedocs-document .hover\:bg-indigo-600:hover { --tw-bg-opacity: 1; - background-color: rgb(79 70 229 / var(--tw-bg-opacity)); + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-indigo-700:hover) { +.wedocs-document .hover\:bg-indigo-700:hover { --tw-bg-opacity: 1; - background-color: rgb(67 56 202 / var(--tw-bg-opacity)); + background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-indigo-800:hover) { +.wedocs-document .hover\:bg-indigo-800:hover { --tw-bg-opacity: 1; - background-color: rgb(55 48 163 / var(--tw-bg-opacity)); + background-color: rgb(55 48 163 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-red-700:hover) { +.wedocs-document .hover\:bg-red-700:hover { --tw-bg-opacity: 1; - background-color: rgb(185 28 28 / var(--tw-bg-opacity)); + background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:bg-slate-300:hover) { +.wedocs-document .hover\:bg-slate-300:hover { --tw-bg-opacity: 1; - background-color: rgb(203 213 225 / var(--tw-bg-opacity)); + background-color: rgb(203 213 225 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.hover\:fill-\[\#cf7500\]:hover) { +.wedocs-document .hover\:fill-\[\#cf7500\]:hover { fill: #cf7500; } -.wedocs-document :is(.hover\:stroke-indigo-700:hover) { +.wedocs-document .hover\:stroke-indigo-700:hover { stroke: #4338ca; } -.wedocs-document :is(.hover\:stroke-red-700:hover) { +.wedocs-document .hover\:stroke-red-700:hover { stroke: #b91c1c; } -.wedocs-document :is(.hover\:\!text-indigo-800:hover) { +.wedocs-document .hover\:\!text-indigo-800:hover { --tw-text-opacity: 1 !important; - color: rgb(55 48 163 / var(--tw-text-opacity)) !important; + color: rgb(55 48 163 / var(--tw-text-opacity, 1)) !important; } -.wedocs-document :is(.hover\:text-black:hover) { +.wedocs-document .hover\:text-black:hover { --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.hover\:text-gray-600:hover) { +.wedocs-document .hover\:text-gray-600:hover { --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.hover\:text-gray-900:hover) { +.wedocs-document .hover\:text-gray-900:hover { --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); + color: rgb(17 24 39 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.hover\:text-indigo-700:hover) { +.wedocs-document .hover\:text-indigo-700:hover { --tw-text-opacity: 1; - color: rgb(67 56 202 / var(--tw-text-opacity)); + color: rgb(67 56 202 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.hover\:text-white:hover) { +.wedocs-document .hover\:text-white:hover { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.hover\:underline:hover) { +.wedocs-document .hover\:underline:hover { text-decoration-line: underline; } -.wedocs-document :is(.hover\:opacity-100:hover) { +.wedocs-document .hover\:opacity-100:hover { opacity: 1; } -.wedocs-document :is(.focus\:\!border-indigo-300:focus) { +.wedocs-document .focus\:\!border-indigo-300:focus { --tw-border-opacity: 1 !important; - border-color: rgb(165 180 252 / var(--tw-border-opacity)) !important; + border-color: rgb(165 180 252 / var(--tw-border-opacity, 1)) !important; } -.wedocs-document :is(.focus\:border-blue-500:focus) { +.wedocs-document .focus\:border-blue-500:focus { --tw-border-opacity: 1; - border-color: rgb(59 130 246 / var(--tw-border-opacity)); + border-color: rgb(59 130 246 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.focus\:border-indigo-500:focus) { +.wedocs-document .focus\:border-indigo-500:focus { --tw-border-opacity: 1; - border-color: rgb(99 102 241 / var(--tw-border-opacity)); + border-color: rgb(99 102 241 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.focus\:border-red-500:focus) { +.wedocs-document .focus\:border-red-500:focus { --tw-border-opacity: 1; - border-color: rgb(239 68 68 / var(--tw-border-opacity)); + border-color: rgb(239 68 68 / var(--tw-border-opacity, 1)); } -.wedocs-document :is(.focus\:text-white:focus) { +.wedocs-document .focus\:text-white:focus { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.focus\:\!shadow-none:focus) { +.wedocs-document .focus\:\!shadow-none:focus { --tw-shadow: 0 0 #0000 !important; --tw-shadow-colored: 0 0 #0000 !important; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important; } -.wedocs-document :is(.focus\:shadow-none:focus) { +.wedocs-document .focus\:shadow-none:focus { --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.wedocs-document :is(.focus\:\!shadow-transparent:focus) { +.wedocs-document .focus\:\!shadow-transparent:focus { --tw-shadow-color: transparent !important; --tw-shadow: var(--tw-shadow-colored) !important; } -.wedocs-document :is(.focus\:outline-none:focus) { +.wedocs-document .focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; } -.wedocs-document :is(.focus\:outline-0:focus) { +.wedocs-document .focus\:outline-0:focus { outline-width: 0px; } -.wedocs-document :is(.focus\:ring-0:focus) { +.wedocs-document .focus\:ring-0:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.wedocs-document :is(.focus\:ring-1:focus) { +.wedocs-document .focus\:ring-1:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.wedocs-document :is(.focus\:ring-2:focus) { +.wedocs-document .focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.wedocs-document :is(.focus\:ring-blue-500:focus) { +.wedocs-document .focus\:ring-blue-500:focus { --tw-ring-opacity: 1; - --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.focus\:ring-indigo-500:focus) { +.wedocs-document .focus\:ring-indigo-500:focus { --tw-ring-opacity: 1; - --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.focus\:ring-indigo-600:focus) { +.wedocs-document .focus\:ring-indigo-600:focus { --tw-ring-opacity: 1; - --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.focus\:ring-red-500:focus) { +.wedocs-document .focus\:ring-red-500:focus { --tw-ring-opacity: 1; - --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1)); } -.wedocs-document :is(.focus\:ring-offset-2:focus) { +.wedocs-document .focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; } -.wedocs-document :is(.disabled\:bg-\[\#F2F2F2\]:disabled) { +.wedocs-document .disabled\:bg-\[\#F2F2F2\]:disabled { --tw-bg-opacity: 1; - background-color: rgb(242 242 242 / var(--tw-bg-opacity)); + background-color: rgb(242 242 242 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.disabled\:opacity-75:disabled) { +.wedocs-document .disabled\:opacity-75:disabled { opacity: 0.75; } -.wedocs-document :is(.disabled\:shadow-none:disabled) { +.wedocs-document .disabled\:shadow-none:disabled { --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.wedocs-document :is(.disabled\:hover\:bg-indigo-600:hover:disabled) { +.wedocs-document .disabled\:hover\:bg-indigo-600:hover:disabled { --tw-bg-opacity: 1; - background-color: rgb(79 70 229 / var(--tw-bg-opacity)); + background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1)); } .wedocs-document :is(.group:hover .group-hover\:block) { @@ -5700,7 +5744,7 @@ html.wp-toolbar { .wedocs-document :is(.group:hover .group-hover\:bg-\[\#00A1E4\]) { --tw-bg-opacity: 1; - background-color: rgb(0 161 228 / var(--tw-bg-opacity)); + background-color: rgb(0 161 228 / var(--tw-bg-opacity, 1)); } .wedocs-document :is(.group:hover .group-hover\:\!stroke-indigo-700) { @@ -5713,185 +5757,152 @@ html.wp-toolbar { .wedocs-document :is(.group:hover .group-hover\:text-\[\#00A1E4\]) { --tw-text-opacity: 1; - color: rgb(0 161 228 / var(--tw-text-opacity)); + color: rgb(0 161 228 / var(--tw-text-opacity, 1)); } .wedocs-document :is(.group:hover .group-hover\:text-black) { --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); } .wedocs-document :is(.group:hover .group-hover\:underline) { text-decoration-line: underline; } -.wedocs-document :is(.aria-selected\:bg-gray-100[aria-selected="true"]) { +.wedocs-document .aria-selected\:bg-gray-100[aria-selected="true"] { --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.aria-selected\:bg-indigo-700[aria-selected="true"]) { +.wedocs-document .aria-selected\:bg-indigo-700[aria-selected="true"] { --tw-bg-opacity: 1; - background-color: rgb(67 56 202 / var(--tw-bg-opacity)); + background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1)); } -.wedocs-document :is(.aria-selected\:text-gray-600[aria-selected="true"]) { +.wedocs-document .aria-selected\:text-gray-600[aria-selected="true"] { --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); } -.wedocs-document :is(.aria-selected\:text-white[aria-selected="true"]) { +.wedocs-document .aria-selected\:text-white[aria-selected="true"] { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -@media (prefers-color-scheme: dark) { - - .wedocs-document :is(.dark\:border-gray-500) { - --tw-border-opacity: 1; - border-color: rgb(107 114 128 / var(--tw-border-opacity)); - } - - .wedocs-document :is(.dark\:\!bg-gray-200) { - --tw-bg-opacity: 1 !important; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important; - } - - .wedocs-document :is(.dark\:bg-gray-600) { - --tw-bg-opacity: 1; - background-color: rgb(75 85 99 / var(--tw-bg-opacity)); - } - - .wedocs-document :is(.dark\:text-white) { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); - } - - .wedocs-document :is(.dark\:placeholder-gray-400)::-moz-placeholder { - --tw-placeholder-opacity: 1; - color: rgb(156 163 175 / var(--tw-placeholder-opacity)); - } - - .wedocs-document :is(.dark\:placeholder-gray-400)::placeholder { - --tw-placeholder-opacity: 1; - color: rgb(156 163 175 / var(--tw-placeholder-opacity)); - } + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); } @media (min-width: 640px) { - .wedocs-document :is(.sm\:mx-0) { + .wedocs-document .sm\:mx-0 { margin-left: 0px; margin-right: 0px; } - .wedocs-document :is(.sm\:ml-4) { + .wedocs-document .sm\:ml-4 { margin-left: 1rem; } - .wedocs-document :is(.sm\:ml-5) { + .wedocs-document .sm\:ml-5 { margin-left: 1.25rem; } - .wedocs-document :is(.sm\:mt-0) { + .wedocs-document .sm\:mt-0 { margin-top: 0px; } - .wedocs-document :is(.sm\:flex) { + .wedocs-document .sm\:flex { display: flex; } - .wedocs-document :is(.sm\:h-10) { + .wedocs-document .sm\:h-10 { height: 2.5rem; } - .wedocs-document :is(.sm\:w-10) { + .wedocs-document .sm\:w-10 { width: 2.5rem; } - .wedocs-document :is(.sm\:grid-cols-2) { + .wedocs-document .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } - .wedocs-document :is(.sm\:grid-cols-3) { + .wedocs-document .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } - .wedocs-document :is(.sm\:items-start) { + .wedocs-document .sm\:items-start { align-items: flex-start; } - .wedocs-document :is(.sm\:items-center) { + .wedocs-document .sm\:items-center { align-items: center; } - .wedocs-document :is(.sm\:justify-end) { + .wedocs-document .sm\:justify-end { justify-content: flex-end; } - .wedocs-document :is(.sm\:justify-center) { + .wedocs-document .sm\:justify-center { justify-content: center; } - .wedocs-document :is(.sm\:justify-between) { + .wedocs-document .sm\:justify-between { justify-content: space-between; } - .wedocs-document :is(.sm\:gap-x-4) { + .wedocs-document .sm\:gap-x-4 { -moz-column-gap: 1rem; column-gap: 1rem; } - .wedocs-document :is(.sm\:overflow-hidden) { + .wedocs-document .sm\:overflow-hidden { overflow: hidden; } - .wedocs-document :is(.sm\:rounded-md) { + .wedocs-document .sm\:rounded-md { border-radius: 0.375rem; } - .wedocs-document :is(.sm\:p-6) { + .wedocs-document .sm\:p-6 { padding: 1.5rem; } - .wedocs-document :is(.sm\:px-0) { + .wedocs-document .sm\:px-0 { padding-left: 0px; padding-right: 0px; } - .wedocs-document :is(.sm\:px-6) { + .wedocs-document .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } - .wedocs-document :is(.sm\:px-8) { + .wedocs-document .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; } - .wedocs-document :is(.sm\:py-4) { + .wedocs-document .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; } - .wedocs-document :is(.sm\:pl-16) { + .wedocs-document .sm\:pl-16 { padding-left: 4rem; } - .wedocs-document :is(.sm\:pl-6) { + .wedocs-document .sm\:pl-6 { padding-left: 1.5rem; } - .wedocs-document :is(.sm\:text-left) { + .wedocs-document .sm\:text-left { text-align: left; } - .wedocs-document :is(.sm\:text-base) { + .wedocs-document .sm\:text-base { font-size: 1rem; line-height: 1.5rem; } - .wedocs-document :is(.sm\:text-sm) { + .wedocs-document .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; } @@ -5899,48 +5910,48 @@ html.wp-toolbar { @media (min-width: 768px) { - .wedocs-document :is(.md\:mb-6) { + .wedocs-document .md\:mb-6 { margin-bottom: 1.5rem; } - .wedocs-document :is(.md\:min-w-\[300px\]) { + .wedocs-document .md\:min-w-\[300px\] { min-width: 300px; } } @media (min-width: 1024px) { - .wedocs-document :is(.lg\:col-span-3) { + .wedocs-document .lg\:col-span-3 { grid-column: span 3 / span 3; } - .wedocs-document :is(.lg\:col-span-9) { + .wedocs-document .lg\:col-span-9 { grid-column: span 9 / span 9; } - .wedocs-document :is(.lg\:grid) { + .wedocs-document .lg\:grid { display: grid; } - .wedocs-document :is(.lg\:grid-cols-12) { + .wedocs-document .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); } - .wedocs-document :is(.lg\:grid-cols-3) { + .wedocs-document .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } - .wedocs-document :is(.lg\:gap-x-6) { + .wedocs-document .lg\:gap-x-6 { -moz-column-gap: 1.5rem; column-gap: 1.5rem; } - .wedocs-document :is(.lg\:px-0) { + .wedocs-document .lg\:px-0 { padding-left: 0px; padding-right: 0px; } - .wedocs-document :is(.lg\:py-0) { + .wedocs-document .lg\:py-0 { padding-top: 0px; padding-bottom: 0px; } @@ -5948,10 +5959,48 @@ html.wp-toolbar { @media (min-width: 1536px) { - .wedocs-document :is(.\32xl\:grid-cols-4) { + .wedocs-document .\32xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } } +@media (prefers-color-scheme: dark) { + + .wedocs-document .dark\:border-gray-500 { + --tw-border-opacity: 1; + border-color: rgb(107 114 128 / var(--tw-border-opacity, 1)); + } + + .wedocs-document .dark\:\!bg-gray-200 { + --tw-bg-opacity: 1 !important; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)) !important; + } + + .wedocs-document .dark\:bg-gray-600 { + --tw-bg-opacity: 1; + background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); + } + + .wedocs-document .dark\:text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); + } + + .wedocs-document .dark\:placeholder-gray-400::-moz-placeholder { + --tw-placeholder-opacity: 1; + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); + } + + .wedocs-document .dark\:placeholder-gray-400::placeholder { + --tw-placeholder-opacity: 1; + color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); + } +} + +/*!************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css ***! + \************************************************************************************************************************************************************************************************************************/ .carousel .control-arrow,.carousel.carousel-slider .control-arrow{transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{transition:all .15s ease-in;transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{transition:border .15s ease-in;display:inline-block;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1} + +/*# sourceMappingURL=index.css.map*/ \ No newline at end of file diff --git a/assets/build/index.css.map b/assets/build/index.css.map new file mode 100644 index 00000000..488b865f --- /dev/null +++ b/assets/build/index.css.map @@ -0,0 +1 @@ +{"version":3,"file":"index.css","mappings":";;;AAAA;EAAA,wBAAc;EAAd,wBAAc;EAAd,mBAAc;EAAd,mBAAc;EAAd,cAAc;EAAd,cAAc;EAAd,cAAc;EAAd,eAAc;EAAd,eAAc;EAAd,aAAc;EAAd,aAAc;EAAd,kBAAc;EAAd,sCAAc;EA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,mCAAmC,CAAC,wBAAwB,iBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,0BAA0B,wBAAwB,QAAQ,CAAC,CAAC,6BAAiL,+BAA+B,CAAC,UAAU,CAAC,wBAAwB,CAAC,sCAAsC,CAAC,eAAe,CAAC,iBAAiB,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,oBAAoB,CAAC,YAAY,CAAC,yEAAyE,SAAS,CAAC,yBAAyB,CAAC,2BAA2B,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,uCAAuC,CAAC,UAAU,CAAC,+BAA+B,SAAS","sources":["webpack://weDocs/./src/assets/css/index.css","webpack://weDocs/./node_modules/react-responsive-carousel/lib/styles/carousel.min.css"],"sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/* wp-generator */\n/* write or paste your code here */\nhtml.wp-toolbar {\n background-color: #f0f0f1;\n}\n\n#wpcontent {\n padding: 0 25px;\n}\n\n.wrap {\n margin-right: 0;\n}\n\n#adminmenu .wp-menu-image img {\n margin: 0 auto;\n}\n\n.docs-section-listing.wrap {\n margin: 0;\n}\n\n.modal-body .diamond-img {\n background: linear-gradient(220.03deg, #fff3dd 39.57%, #ffe3ad 97.5%);\n}\n\n.modal-body .carousel.carousel-slider {\n padding-bottom: 40px;\n}\n\n.HW_visible {\n position: absolute;\n margin-top: 2px;\n}\n\n@media screen and (max-width: 782px) {\n #wpcontent {\n padding: 0 25px !important;\n }\n}\n\n@media screen and (max-width: 768px) {\n .settings-description {\n max-width: 305px;\n }\n\n .palette-options-container {\n gap: 32px;\n }\n\n .settings-palette-options {\n width: 272px;\n }\n}\n\n@media screen and (max-width: 1024px) {\n .palette-preview-container {\n width: 320px;\n }\n\n .preview-header .tabs .tab {\n padding: 8px;\n }\n\n .preview-header .tabs {\n margin-bottom: 12px;\n }\n\n .preview-header {\n height: 160px;\n }\n\n .listing-docs .doc-search {\n min-height: 28px;\n }\n\n .listing-docs .search-panel {\n width: 256px;\n margin-bottom: 16px;\n }\n\n .explore-docs .doc-section {\n width: 290px;\n }\n}\n\n@media screen and (min-width: 1024px) and (max-width: 1100px) {\n .pro-sub-settings {\n margin-left: 1.5rem;\n }\n\n .settings-description {\n max-width: 240px;\n }\n\n .palette-options-container {\n gap: 16px;\n }\n\n .settings-palette-options {\n width: 232px;\n }\n\n .palette-first-color {\n width: 16px;\n }\n\n .settings-tab .pro-settings {\n width: 54px;\n }\n\n .settings-sub-tab svg {\n width: 24px;\n }\n}\n",".carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;-webkit-transition:height .15s ease-in;-moz-transition:height .15s ease-in;-ms-transition:height .15s ease-in;-o-transition:height .15s ease-in;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{-webkit-flex-direction:column;flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{-webkit-transition:all .35s ease-in-out;-moz-transition:all .35s ease-in-out;-ms-transition:all .35s ease-in-out;-o-transition:all .35s ease-in-out;transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;-webkit-transition:opacity .35s ease-in-out;-moz-transition:opacity .35s ease-in-out;-ms-transition:opacity .35s ease-in-out;-o-transition:opacity .35s ease-in-out;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/index.js b/assets/build/index.js index cc49f2e2..06bc4ad2 100644 --- a/assets/build/index.js +++ b/assets/build/index.js @@ -1,7 +1,38241 @@ -(()=>{var e,t,r={902:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(143);const a={docs:[],pages:[],parents:[],loading:!1,sorting:!1,userDocIds:[],helpfulDocs:[],needSorting:!1,restrictedArticleList:[]},o={setDocs:e=>({type:"SET_DOCS",docs:e}),setDoc:e=>({type:"SET_DOC",doc:e}),setParentDocs:e=>({type:"SET_PARENT_DOCS",parents:e}),setPages:e=>({type:"SET_PAGES",pages:e}),setLoading:e=>({type:"SET_LOADING",loading:e}),setSortingStatus:e=>({type:"SET_SORTING_STATUS",sorting:e}),setNeedSortingStatus:e=>({type:"SET_NEED_SORTING_STATUS",needSorting:e}),setUserDocIds:e=>({type:"SET_USER_DOC_IDS",userDocIds:e}),setUserDocId:e=>({type:"SET_USER_DOC_ID",userDocId:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",path:e}),setHelpfulDocs:e=>({type:"SET_HELPFUL_DOCS",helpfulDocs:e}),createDocsToAPI:e=>({type:"UPDATE_TO_API",path:"/wp/v2/docs",data:e}),removeDoc:e=>({type:"REMOVE_DOC",docId:e}),setRestrictedArticles:e=>({type:"SET_RESTRICTED_ARTICLES",restrictedArticleList:e}),setRestrictedArticle:e=>({type:"SET_RESTRICTED_ARTICLE",restrictedArticle:e}),*createDoc(e){const t=yield o.createDocsToAPI(e);return yield o.setUserDocId(t.id),yield o.setDoc(t),t},*updateDoc(e,t){const r=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft":"")),n="/wp/v2/docs/"+e;yield{type:"UPDATE_TO_API",path:n,data:t};const a=yield o.fetchFromAPI(r),s=a.filter((e=>!e.parent)),i=s?.sort(((e,t)=>e.menu_order-t.menu_order));return yield o.setParentDocs(i),o.setDocs(a)},*updateDocs(e){yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/update_docs_status",data:e};const t=yield o.fetchFromAPI("/wp/v2/docs?per_page=-1&status=publish,draft,private"),r=t.filter((e=>!e.parent)),n=r?.sort(((e,t)=>e.menu_order-t.menu_order));return yield o.setParentDocs(n),o.setDocs(t)},*updateNeedSortingStatus(e){yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/need_sorting_status",data:e};const t=yield o.fetchFromAPI("/wp/v2/docs/need_sorting_status");return o.setNeedSortingStatus(t)},*updateSortingStatus(e){yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/sorting_status",data:e};const t=yield o.fetchFromAPI("/wp/v2/docs/sorting_status");return yield o.setNeedSortingStatus(t),o.setSortingStatus(t)},*updateDocMeta(e,t){const r="/wp/v2/docs/"+e+"/meta",n=yield{type:"UPDATE_TO_API",path:r,data:t};return yield o.setRestrictedArticle({id:e,value:n}),n},*deleteDoc(e){const t="/wp/v2/docs/"+e;return yield{type:"DELETE_TO_API",path:t},o.removeDoc(e)},*updateParentDocs(){const e=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft":"")),t=yield o.fetchFromAPI(e),r=t.filter((e=>!e.parent)),n=r?.sort(((e,t)=>e.menu_order-t.menu_order));return yield o.setParentDocs(n),o.setDocs(t)},*sendMessage(e){return yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/message",data:e}},*dismissPromoNotice(e){return yield o.dismissPromoNoticeAPI(e)},dismissPromoNoticeAPI:e=>({type:"UPDATE_TO_API",path:"/wp/v2/docs/hide-promotion-notice",data:{option_name:e}})},s=o,i={getDocs:e=>{const{docs:t}=e;return t},getParentDocs:e=>{const{parents:t}=e;return t},getDoc:(e,t)=>{const{docs:r}=e;return r.find((e=>e.id===t))},getPages:e=>{const{pages:t}=e;return t},getLoading:e=>{const{loading:t}=e;return t},getSortingStatus:e=>{const{sorting:t}=e;return t},getNeedSortingStatus:e=>{const{needSorting:t}=e;return t},getUserDocIds:e=>{const{userDocIds:t}=e;return t},getSectionsDocs:(e,t)=>{const{docs:r}=e,n=r.filter((e=>e.parent===t)),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a},getDocArticles:(e,t)=>{const{docs:r}=e,n=r.filter((e=>e.parent===t)),a=[];n.forEach((e=>{const t=r.filter((t=>t.parent===e.id));a.push(...t)}));const o=a?.sort(((e,t)=>e.menu_order-t.menu_order));return o},getSectionArticles:(e,t)=>{const{docs:r}=e,n=r.filter((e=>e.parent===t)),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a},getArticleChildrens:(e,t)=>{const{docs:r}=e,n=r?.filter((e=>e.parent===t))?.reverse(),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a},getHelpfulDocs:e=>{const{helpfulDocs:t}=e;return t},getRestrictedArticles(e){const{restrictedArticleList:t}=e;return t},getRestrictedArticle(e,t){const{restrictedArticleList:r}=e;return r.find((e=>e.id===t))}},l=i;var c=r(455),d=r.n(c);const u={FETCH_FROM_API:e=>d()({path:e.path}),UPDATE_TO_API:e=>d()({path:e.path,data:e.data,method:"POST"}),DELETE_TO_API:e=>d()({path:e.path,method:"DELETE"})},m=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft":"")),p={*getDocs(){yield s.setLoading(!0);const e=yield s.fetchFromAPI(m);yield s.setDocs(e);const t=e.filter((e=>!e.parent)),r=t?.sort(((e,t)=>e.menu_order-t.menu_order));return yield s.setParentDocs(r),s.setLoading(!1)},*getDoc(e){yield s.setLoading(!0);let t="/wp/v2/docs/"+e;const r=yield s.fetchFromAPI(t);return yield s.setDoc(r),s.setLoading(!1)},*getPages(){const e=yield s.fetchFromAPI("/wp/v2/pages");return s.setPages(e)},*getSortingStatus(){const e=yield s.fetchFromAPI("/wp/v2/docs/sorting_status");return s.setSortingStatus(e)},*getNeedSortingStatus(){const e=yield s.fetchFromAPI("/wp/v2/docs/need_sorting_status");return s.setNeedSortingStatus(e)},*getUserDocIds(){const e=yield s.fetchFromAPI("/wp/v2/docs/users/ids");return s.setUserDocIds(e)},*getHelpfulDocs(){const e=yield s.fetchFromAPI(m);yield s.setDocs(e);const t=yield s.fetchFromAPI("/wp/v2/docs/helpfulness"),r=e.sort(((e,r)=>t.indexOf(e.id)-t.indexOf(r.id))).filter((e=>t?.includes(e?.id)));yield s.setHelpfulDocs(r)},*getRestrictedArticles(){const e=yield s.fetchFromAPI("/wp/v2/docs/meta?key=wedocs_restrict_admin_article_access");return yield s.setRestrictedArticles(e)},*getRestrictedArticle(e,t){const{restrictedArticleList:r}=e;return r.find((e=>e.id===t))}},f=p,h=(0,n.createReduxStore)("wedocs/docs",{reducer:(e=a,t)=>{switch(t.type){case"SET_DOCS":return{...e,docs:[...t.docs]};case"SET_DOC":const r={...e,docs:[...e.docs,t.doc]},n=!e.parents.some((e=>e?.id===t?.doc?.id));return!t.doc.parent&&n&&(r.parents=[{...t.doc},...e.parents]),r;case"SET_USER_DOC_IDS":return{...e,userDocIds:[...e.userDocIds,...t.userDocIds]};case"SET_USER_DOC_ID":return{...e,userDocIds:[...e.userDocIds,t.userDocId]};case"SET_PAGES":return{...e,pages:[...t.pages]};case"SET_PARENT_DOCS":return{...e,parents:[...t.parents]};case"SET_LOADING":return{...e,loading:t.loading};case"SET_SORTING_STATUS":return{...e,sorting:t.sorting};case"SET_NEED_SORTING_STATUS":return{...e,needSorting:t.needSorting};case"SET_HELPFUL_DOCS":return{...e,helpfulDocs:t.helpfulDocs};case"REMOVE_DOC":return{...e,docs:[...e.docs?.filter((e=>e.id!==t.docId))],parents:[...e.parents?.filter((e=>e.id!==t.docId))]};case"SET_RESTRICTED_ARTICLES":return{...e,restrictedArticleList:[...t.restrictedArticleList]};case"SET_RESTRICTED_ARTICLE":return{...e,restrictedArticleList:[...e.restrictedArticleList,{...t.restrictedArticle}]};default:return e}},selectors:l,actions:s,resolvers:f,controls:u})},768:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(143);const a={roles:{},settings:{general:{docs_home:"",email:"on",email_to:"",helpful:"on",comments:"off",print:"on",enable_search:"on",collapse_articles:"off"},permission:{global_permission:["administrator","editor"],role_wise_permission:["administrator"]},assistant:{assist_enable:"on",integrate_ai:{ai_enabled:"off",sync_data:"off",ai_response:{}},explore:{explore_enable:"on"},message:{messaging_enable:"on",turnstile_site_key:""},placement:{order:["integrate_ai","explore","message"]},preference:{color_settings:{preview_colors:{widgetBg:{r:99,g:102,b:241,a:1},activeTabBg:{r:255,g:255,b:255,a:1},activeTabFont:{r:55,g:65,b:81,a:1},inactiveTabBg:{r:67,g:56,b:202,a:1},inactiveTabFont:{r:199,g:210,b:254,a:1},tabTitleFont:{r:255,g:255,b:255,a:1},tabDescriptionFont:{r:199,g:210,b:254,a:1},breadcrumbColor:{r:67,g:56,b:202,a:1},bubbleBg:{r:87,g:116,b:241,a:1},bubbleIcon:{r:255,g:255,b:255,a:1}}}}},layout:{column:"2",nav_icon:"on",right_bar:"on",template:"default",active_text:{r:59,g:130,b:246,a:1},active_nav_bg:{r:59,g:130,b:246,a:1},active_nav_text:{r:255,g:255,b:255,a:1}}},loading:!1,saving:!1,needUpgrade:!1},o={getSettings(e){const{settings:t}=e;return t},getSettingsOption(e,t){const{settings:r}=e;return r[t]},getGeneralSettingsOption(e,t){const{settings:r}=e;return r?.general?.[t]},getPermissionSettingsOption(e,t){const{settings:r}=e;return r?.permission?.[t]},getAssistantSettingsOption(e,t){const{settings:r}=e;return r?.assistant?.[t]},getRoles(e){const{roles:t}=e;return t},getLoading(e){const{loading:t}=e;return t},getUpgradeInfo(e){const{needUpgrade:t}=e;return t},getSaving(e){const{saving:t}=e;return t},getTurnstileSiteKey(e){const{settings:t}=e;return t?.assistant?.message?.turnstile_site_key},getPromoNotice(e){const{promoNotice:t}=e;return t}},s=o,i={setSettings:e=>({type:"SET_SETTINGS",settings:e}),setSettingsOption:(e,t)=>({type:"SET_SETTINGS_OPTION",option:e,value:t}),setLoading:e=>({type:"SET_LOADING",loading:e}),setUpgradeInfo:e=>({type:"SET_UPGRADE_INFO",needUpgrade:e}),setPromoNotice:e=>({type:"SET_PROMO_NOTICE",promoNotice:e}),setMigrateInfo:e=>({type:"SET_MIGRATE_INFO",needMigrate:e}),setSaving:e=>({type:"SET_SAVING",saving:e}),setRoles:e=>({type:"SET_ROLES",roles:e}),setTurnstileSiteKey:e=>({type:"SET_TURNSTILE_SITE_KEY",siteKey:e}),*updateSettings(e){const t=yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/settings",data:e};return yield i.setSettings(t.data),t.data},*wedocsUpgrade(e){const t=yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/upgrade",data:e};return yield i.setUpgradeInfo(!1),t},*makeUpdateDone(){return yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/upgrade/done"}}},l=i,c={*getSettings(){yield l.setLoading(!0);const e=yield{type:"FETCH_SETTINGS"};return yield l.setSettings(e),l.setLoading(!1)},*getUpgradeInfo(){yield l.setLoading(!0);const e=yield{type:"FETCH_UPGRADE_INFO"};return yield l.setUpgradeInfo(e),l.setLoading(!1)},*getRoles(){yield l.setLoading(!0);const e=yield{type:"FETCH_ROLES"};return yield l.setRoles(e),l.setLoading(!1)},*getTurnstileSiteKey(){yield l.setLoading(!0);const e=yield{type:"FETCH_SITE_KEY"};return yield l.setTurnstileSiteKey(e),l.setLoading(!1)},*getPromoNotice(){yield l.setLoading(!0);const e=yield{type:"FETCH_PROMO_NOTICE"};return yield l.setPromoNotice(e),l.setLoading(!1)}},d=c;var u=r(455),m=r.n(u);const p=wp.hooks.applyFilters("wedocs_pro_loaded",!1),f={FETCH_SETTINGS:()=>m()({path:"/wp/v2/docs/settings?data=wedocs_settings"}),FETCH_ROLES:()=>m()({path:"/wp/v2/docs/users"}),FETCH_UPGRADE_INFO:()=>m()({path:"/wp/v2/docs/upgrade"}),FETCH_SITE_KEY:()=>m()({path:"/wp/v2/docs/settings/turnstile-site-key"}),UPDATE_TO_API:e=>m()({path:e.path,data:e.data,method:"POST"}),FETCH_PROMO_NOTICE:()=>p?null:m()({path:"/wp/v2/docs/promotion-notice"})},h=(0,n.createReduxStore)("wedocs/settings",{reducer:(e=a,t)=>{switch(t.type){case"SET_SETTINGS":return{...e,settings:{...e.settings,...t.settings}};case"SET_LOADING":return{...e,loading:t.loading};case"SET_ROLES":return{...e,roles:t.roles};case"SET_SETTINGS_OPTION":return{...e,settings:{...e.settings,[t.option]:t.value}};case"SET_UPGRADE_INFO":return{...e,needUpgrade:t.needUpgrade};case"SET_PROMO_NOTICE":return{...e,promoNotice:t.promoNotice};case"SET_SAVING":return{...e,saving:t.saving};case"SET_TURNSTILE_SITE_KEY":return{...e,settings:{...e.settings,assistant:{...e.settings.assistant,message:{...e.settings.assistant.message,turnstile_site_key:t.siteKey}}}};default:return e}},selectors:s,actions:l,resolvers:d,controls:f})},648:(e,t,r)=>{"use strict";var n=r(143),a=r(902),o=r(768);(0,n.register)(a.A),(0,n.register)(o.A)},485:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,u={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,p=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,h={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},g={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],v=String.fromCharCode,x={}.hasOwnProperty,y=function(e,t){return x.call(e,t)},E=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=y(e,r)?e[r]:t[r];return n},k=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&A("character reference outside the permissible Unicode range"),"�"):y(b,e)?(t&&A("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r65535&&(r+=v((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=v(e))},N=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},D=function(e,t){(t=E(t,D.options)).strict&&p.test(e)&&A("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,a=t.allowUnsafeSymbols,u=t.decimal?S:N,m=function(e){return u(e.charCodeAt(0))};return r?(e=e.replace(s,(function(e){return n&&y(c,e)?"&"+c[e]+";":m(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,(function(e){return"&"+c[e]+";"})))):n?(a||(e=e.replace(d,(function(e){return"&"+c[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,(function(e){return"&"+c[e]+";"}))):a||(e=e.replace(d,m)),e.replace(o,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return u(1024*(t-55296)+r-56320+65536)})).replace(i,m)};D.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var C=function(e,t){var r=(t=E(t,C.options)).strict;return r&&m.test(e)&&A("malformed character reference"),e.replace(f,(function(e,n,a,o,s,i,l,c,d){var u,m,p,f,b,w;return n?h[b=n]:a?(b=a,(w=o)&&t.isAttributeValue?(r&&"="==w&&A("`&` did not start a character reference"),e):(r&&A("named character reference was not terminated by a semicolon"),g[b]+(w||""))):s?(p=s,m=i,r&&!m&&A("character reference was not terminated by a semicolon"),u=parseInt(p,10),k(u,r)):l?(f=l,m=c,r&&!m&&A("character reference was not terminated by a semicolon"),u=parseInt(f,16),k(u,r)):(r&&A("named character reference was not terminated by a semicolon"),e)}))};C.options={isAttributeValue:!1,strict:!1};var I={version:"1.2.0",encode:D,decode:C,escape:function(e){return e.replace(d,(function(e){return u[e]}))},unescape:C};void 0===(n=function(){return I}.call(t,r,t,e))||(e.exports=n)}()},694:(e,t,r)=>{"use strict";var n=r(925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},556:(e,t,r)=>{e.exports=r(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},410:function(e,t,r){var n,a,o;a=[t,r(206)],n=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,n=(r=t)&&r.__esModule?r:{default:r};e.default=n.default},void 0===(o=n.apply(t,a))||(e.exports=o)},206:function(e,t,r){var n,a,o;a=[t,r(609),r(556)],n=function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=c;var n=o(t),a=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return l?e:e.capture}function u(e){if("touches"in e){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}return{x:e.screenX,y:e.screenY}}var m=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=Array(r),a=0;at&&this.props.onSwipeRight(1,e),this.movePosition.deltaY<-t?this.props.onSwipeUp(1,e):this.movePosition.deltaY>t&&this.props.onSwipeDown(1,e)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(e){this.swiper=e,this.props.innerRef(e)}},{key:"render",value:function(){var e=this.props,t=(e.tagName,e.className),r=e.style,a=e.children,o=(e.allowMouseEvents,e.onSwipeUp,e.onSwipeDown,e.onSwipeLeft,e.onSwipeRight,e.onSwipeStart,e.onSwipeMove,e.onSwipeEnd,e.innerRef,e.tolerance,function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return n.default.createElement(this.props.tagName,s({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:t,style:r},o),a)}}]),t}(t.Component);m.displayName="ReactSwipe",m.propTypes={tagName:a.default.string,className:a.default.string,style:a.default.object,children:a.default.node,allowMouseEvents:a.default.bool,onSwipeUp:a.default.func,onSwipeDown:a.default.func,onSwipeLeft:a.default.func,onSwipeRight:a.default.func,onSwipeStart:a.default.func,onSwipeMove:a.default.func,onSwipeEnd:a.default.func,innerRef:a.default.func,tolerance:a.default.number.isRequired},m.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=m},void 0===(o=n.apply(t,a))||(e.exports=o)},845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e,t,r){var n=0===e?e:e+t;return"translate3d("+("horizontal"===r?[n,0,0]:[0,n,0]).join(",")+")"}},613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fadeAnimationHandler=t.slideStopSwipingHandler=t.slideSwipeAnimationHandler=t.slideAnimationHandler=void 0;var n,a=r(609),o=(n=r(845))&&n.__esModule?n:{default:n},s=r(929);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;tc))return i<0?e.centerMode&&e.centerSlidePercentage&&"horizontal"===e.axis?r.itemListStyle=(0,s.setPosition)(-(c+2)*e.centerSlidePercentage-(100-e.centerSlidePercentage)/2,e.axis):r.itemListStyle=(0,s.setPosition)(100*-(c+2),e.axis):i>c&&(r.itemListStyle=(0,s.setPosition)(0,e.axis)),r;var d=(0,s.getPosition)(n,e),u=(0,o.default)(d,"%",e.axis),m=e.transitionTime+"ms";return r.itemListStyle={WebkitTransform:u,msTransform:u,OTransform:u,transform:u},t.swiping||(r.itemListStyle=l(l({},r.itemListStyle),{},{WebkitTransitionDuration:m,MozTransitionDuration:m,OTransitionDuration:m,transitionDuration:m,msTransitionDuration:m})),r},t.slideSwipeAnimationHandler=function(e,t,r,n){var o={},i="horizontal"===t.axis,l=a.Children.count(t.children),c=(0,s.getPosition)(r.selectedItem,t),d=t.infiniteLoop?(0,s.getPosition)(l-1,t)-100:(0,s.getPosition)(l-1,t),u=i?e.x:e.y,m=u;0===c&&u>0&&(m=0),c===d&&u<0&&(m=0);var p=c+100/(r.itemSize/m),f=Math.abs(u)>t.swipeScrollTolerance;return t.infiniteLoop&&f&&(0===r.selectedItem&&p>-100?p-=100*l:r.selectedItem===l-1&&p<100*-l&&(p+=100*l)),(!t.preventMovementUntilSwipeScrollTolerance||f||r.swipeMovementStarted)&&(r.swipeMovementStarted||n({swipeMovementStarted:!0}),o.itemListStyle=(0,s.setPosition)(p,t.axis)),f&&!r.cancelClick&&n({cancelClick:!0}),o},t.slideStopSwipingHandler=function(e,t){var r=(0,s.getPosition)(t.selectedItem,e);return{itemListStyle:(0,s.setPosition)(r,e.axis)}},t.fadeAnimationHandler=function(e,t){var r=e.transitionTime+"ms",n="ease-in-out",a={position:"absolute",display:"block",zIndex:-2,minHeight:"100%",opacity:0,top:0,right:0,left:0,bottom:0,transitionTimingFunction:n,msTransitionTimingFunction:n,MozTransitionTimingFunction:n,WebkitTransitionTimingFunction:n,OTransitionTimingFunction:n};return t.swiping||(a=l(l({},a),{},{WebkitTransitionDuration:r,MozTransitionDuration:r,OTransitionDuration:r,transitionDuration:r,msTransitionDuration:r})),{slideStyle:a,selectedStyle:l(l({},a),{},{opacity:1,position:"relative"}),prevStyle:l({},a)}}},504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(r(609)),a=u(r(410)),o=u(r(775)),s=u(r(292)),i=u(r(960)),l=u(r(69)),c=r(929),d=r(613);function u(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(){return f=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:1;t.moveTo(t.state.selectedItem-("number"==typeof e?e:1))})),y(v(t),"increment",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;t.moveTo(t.state.selectedItem+("number"==typeof e?e:1))})),y(v(t),"moveTo",(function(e){if("number"==typeof e){var r=n.Children.count(t.props.children)-1;e<0&&(e=t.props.infiniteLoop?r:0),e>r&&(e=t.props.infiniteLoop?0:r),t.selectItem({selectedItem:e}),t.state.autoPlay&&!1===t.state.isMouseEntered&&t.resetAutoPlay()}})),y(v(t),"onClickNext",(function(){t.increment(1)})),y(v(t),"onClickPrev",(function(){t.decrement(1)})),y(v(t),"onSwipeForward",(function(){t.increment(1),t.props.emulateTouch&&t.setState({cancelClick:!0})})),y(v(t),"onSwipeBackwards",(function(){t.decrement(1),t.props.emulateTouch&&t.setState({cancelClick:!0})})),y(v(t),"changeItem",(function(e){return function(r){(0,c.isKeyboardEvent)(r)&&"Enter"!==r.key||t.moveTo(e)}})),y(v(t),"selectItem",(function(e){t.setState(g({previousItem:t.state.selectedItem},e),(function(){t.setState(t.animationHandler(t.props,t.state))})),t.handleOnChange(e.selectedItem,n.Children.toArray(t.props.children)[e.selectedItem])})),y(v(t),"getInitialImage",(function(){var e=t.props.selectedItem,r=t.itemsRef&&t.itemsRef[e];return(r&&r.getElementsByTagName("img")||[])[0]})),y(v(t),"getVariableItemHeight",(function(e){var r=t.itemsRef&&t.itemsRef[e];if(t.state.hasMount&&r&&r.children.length){var n=r.children[0].getElementsByTagName("img")||[];if(n.length>0){var a=n[0];a.complete||a.addEventListener("load",(function e(){t.forceUpdate(),a.removeEventListener("load",e)}))}var o=(n[0]||r.children[0]).clientHeight;return o>0?o:null}return null}));var r={initialized:!1,previousItem:e.selectedItem,selectedItem:e.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:e.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1,itemListStyle:{},slideStyle:{},selectedStyle:{},prevStyle:{}};return t.animationHandler="function"==typeof e.animationHandler&&e.animationHandler||"fade"===e.animationHandler&&d.fadeAnimationHandler||d.slideAnimationHandler,t.state=g(g({},r),t.animationHandler(e,r)),t}return t=E,(r=[{key:"componentDidMount",value:function(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function(e,t){e.children||!this.props.children||this.state.initialized||this.setupCarousel(),!e.autoFocus&&this.props.autoFocus&&this.forceFocus(),t.swiping&&!this.state.swiping&&this.setState(g({},this.props.stopSwipingHandler(this.props,this.state))),e.selectedItem===this.props.selectedItem&&e.centerMode===this.props.centerMode||(this.updateSizes(),this.moveTo(this.props.selectedItem)),e.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function(){this.destroyCarousel()}},{key:"setupCarousel",value:function(){var e=this;this.bindEvents(),this.state.autoPlay&&n.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},(function(){var t=e.getInitialImage();t&&!t.complete?t.addEventListener("load",e.setMountState):e.setMountState()}))}},{key:"destroyCarousel",value:function(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function(){this.autoPlay();var e=this.carouselWrapperRef;this.props.stopOnHover&&e&&(e.addEventListener("mouseenter",this.stopOnHover),e.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function(){this.clearAutoPlay();var e=this.carouselWrapperRef;this.props.stopOnHover&&e&&(e.removeEventListener("mouseenter",this.stopOnHover),e.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function(){(0,l.default)().addEventListener("resize",this.updateSizes),(0,l.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,i.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function(){(0,l.default)().removeEventListener("resize",this.updateSizes),(0,l.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var e=this.getInitialImage();e&&e.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,i.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function(){var e;null===(e=this.carouselWrapperRef)||void 0===e||e.focus()}},{key:"renderItems",value:function(e){var t=this;return this.props.children?n.Children.map(this.props.children,(function(r,a){var s=a===t.state.selectedItem,i=a===t.state.previousItem,l=s&&t.state.selectedStyle||i&&t.state.prevStyle||t.state.slideStyle||{};t.props.centerMode&&"horizontal"===t.props.axis&&(l=g(g({},l),{},{minWidth:t.props.centerSlidePercentage+"%"})),t.state.swiping&&t.state.swipeMovementStarted&&(l=g(g({},l),{},{pointerEvents:"none"}));var c={ref:function(e){return t.setItemsRef(e,a)},key:"itemKey"+a+(e?"clone":""),className:o.default.ITEM(!0,a===t.state.selectedItem,a===t.state.previousItem),onClick:t.handleClickItem.bind(t,a,r),style:l};return n.default.createElement("li",c,t.props.renderItem(r,{isSelected:a===t.state.selectedItem,isPrevious:a===t.state.previousItem}))})):[]}},{key:"renderControls",value:function(){var e=this,t=this.props,r=t.showIndicators,a=t.labels,o=t.renderIndicator,s=t.children;return r?n.default.createElement("ul",{className:"control-dots"},n.Children.map(s,(function(t,r){return o&&o(e.changeItem(r),r===e.state.selectedItem,r,a.item)}))):null}},{key:"renderStatus",value:function(){return this.props.showStatus?n.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,n.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function(){return this.props.showThumbs&&this.props.children&&0!==n.Children.count(this.props.children)?n.default.createElement(s.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels,emulateTouch:this.props.emulateTouch},this.props.renderThumbs(this.props.children)):null}},{key:"render",value:function(){var e=this;if(!this.props.children||0===n.Children.count(this.props.children))return null;var t=this.props.swipeable&&n.Children.count(this.props.children)>1,r="horizontal"===this.props.axis,s=this.props.showArrows&&n.Children.count(this.props.children)>1,i=s&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,l=s&&(this.state.selectedItem{},929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setPosition=t.getPosition=t.isKeyboardEvent=t.defaultStatusFormatter=t.noop=void 0;var n,a=r(609),o=(n=r(845))&&n.__esModule?n:{default:n};t.noop=function(){},t.defaultStatusFormatter=function(e,t){return"".concat(e," of ").concat(t)},t.isKeyboardEvent=function(e){return!!e&&e.hasOwnProperty("key")},t.getPosition=function(e,t){if(t.infiniteLoop&&++e,0===e)return 0;var r=a.Children.count(t.children);if(t.centerMode&&"horizontal"===t.axis){var n=-e*t.centerSlidePercentage,o=r-1;return e&&(e!==o||t.infiniteLoop)?n+=(100-t.centerSlidePercentage)/2:e===o&&(n+=100-t.centerSlidePercentage),n}return 100*-e},t.setPosition=function(e,t){var r={};return["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach((function(n){r[n]=(0,o.default)(e,"%",t)})),r}},292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(r(609)),a=c(r(775)),o=r(0),s=c(r(845)),i=c(r(410)),l=c(r(69));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function m(){return m=Object.assign||function(e){for(var t=1;t0&&(r=0),o===100*-Math.max(a-t.state.visibleItems,0)/t.state.visibleItems&&r<0&&(r=0);var i=o+100/(t.itemsWrapperRef.clientWidth/r);return t.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach((function(e){t.itemsListRef.style[e]=(0,s.default)(i,"%",t.props.axis)})),!0})),b(h(t),"slideRight",(function(e){t.moveTo(t.state.firstItem-("number"==typeof e?e:1))})),b(h(t),"slideLeft",(function(e){t.moveTo(t.state.firstItem+("number"==typeof e?e:1))})),b(h(t),"moveTo",(function(e){e=(e=e<0?0:e)>=t.state.lastPosition?t.state.lastPosition:e,t.setState({firstItem:e})})),t.state={selectedItem:e.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},t}return t=v,(r=[{key:"componentDidMount",value:function(){this.setupThumbs()}},{key:"componentDidUpdate",value:function(e){this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem,firstItem:this.getFirstItem(this.props.selectedItem)}),this.props.children!==e.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function(){this.destroyThumbs()}},{key:"setupThumbs",value:function(){(0,l.default)().addEventListener("resize",this.updateSizes),(0,l.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function(){(0,l.default)().removeEventListener("resize",this.updateSizes),(0,l.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function(e){var t=e;return e>=this.state.lastPosition&&(t=this.state.lastPosition),e1,o=this.state.showArrows&&this.state.firstItem>0,l=this.state.showArrows&&this.state.firstItem{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(485))&&n.__esModule?n:{default:n},o={ROOT:function(e){return(0,a.default)(function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({"carousel-root":!0},e||"",!!e))},CAROUSEL:function(e){return(0,a.default)({carousel:!0,"carousel-slider":e})},WRAPPER:function(e,t){return(0,a.default)({"thumbs-wrapper":!e,"slider-wrapper":e,"axis-horizontal":"horizontal"===t,"axis-vertical":"horizontal"!==t})},SLIDER:function(e,t){return(0,a.default)({thumbs:!e,slider:e,animated:!t})},ITEM:function(e,t,r){return(0,a.default)({thumb:!e,slide:e,selected:t,previous:r})},ARROW_PREV:function(e){return(0,a.default)({"control-arrow control-prev":!0,"control-disabled":e})},ARROW_NEXT:function(e){return(0,a.default)({"control-arrow control-next":!0,"control-disabled":e})},DOT:function(e){return(0,a.default)({dot:!0,selected:e})}};t.default=o},0:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.outerWidth=void 0,t.outerWidth=function(e){var t=e.offsetWidth,r=getComputedStyle(e);return t+(parseInt(r.marginLeft)+parseInt(r.marginRight))}},428:(e,t,r)=>{"use strict";Object.defineProperty(t,"FN",{enumerable:!0,get:function(){return n.default}});var n=a(r(504));r(994),a(r(292));function a(e){return e&&e.__esModule?e:{default:e}}},960:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return document}},69:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return window}},465:function(e){e.exports=function(){"use strict";function e(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,r(e,t,"get"))}function t(e,t,n){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,r(e,t,"set"),n),n}function r(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function n(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}const a={},o=e=>new Promise((t=>{if(!e)return t();const r=window.scrollX,n=window.scrollY;a.restoreFocusTimeout=setTimeout((()=>{a.previousActiveElement instanceof HTMLElement?(a.previousActiveElement.focus(),a.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),window.scrollTo(r,n)})),s="swal2-",i=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce(((e,t)=>(e[t]=s+t,e)),{}),l=["success","warning","info","question","error"].reduce(((e,t)=>(e[t]=s+t,e)),{}),c="SweetAlert2:",d=e=>e.charAt(0).toUpperCase()+e.slice(1),u=e=>{console.warn("".concat(c," ").concat("object"==typeof e?e.join(" "):e))},m=e=>{console.error("".concat(c," ").concat(e))},p=[],f=(e,t)=>{var r;r='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),p.includes(r)||(p.push(r),u(r))},h=e=>"function"==typeof e?e():e,g=e=>e&&"function"==typeof e.toPromise,b=e=>g(e)?e.toPromise():Promise.resolve(e),w=e=>e&&Promise.resolve(e)===e,v=()=>document.body.querySelector(".".concat(i.container)),x=e=>{const t=v();return t?t.querySelector(e):null},y=e=>x(".".concat(e)),E=()=>y(i.popup),k=()=>y(i.icon),N=()=>y(i.title),S=()=>y(i["html-container"]),A=()=>y(i.image),D=()=>y(i["progress-steps"]),C=()=>y(i["validation-message"]),I=()=>x(".".concat(i.actions," .").concat(i.confirm)),L=()=>x(".".concat(i.actions," .").concat(i.cancel)),T=()=>x(".".concat(i.actions," .").concat(i.deny)),M=()=>x(".".concat(i.loader)),R=()=>y(i.actions),_=()=>y(i.footer),O=()=>y(i["timer-progress-bar"]),B=()=>y(i.close),P=()=>{const e=E();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),r=Array.from(t).sort(((e,t)=>{const r=parseInt(e.getAttribute("tabindex")||"0"),n=parseInt(t.getAttribute("tabindex")||"0");return r>n?1:r"-1"!==e.getAttribute("tabindex")));return[...new Set(r.concat(a))].filter((e=>ee(e)))},j=()=>q(document.body,i.shown)&&!q(document.body,i["toast-shown"])&&!q(document.body,i["no-backdrop"]),z=()=>{const e=E();return!!e&&q(e,i.toast)},F=(e,t)=>{if(e.textContent="",t){const r=(new DOMParser).parseFromString(t,"text/html"),n=r.querySelector("head");n&&Array.from(n.childNodes).forEach((t=>{e.appendChild(t)}));const a=r.querySelector("body");a&&Array.from(a.childNodes).forEach((t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},q=(e,t)=>{if(!t)return!1;const r=t.split(/\s+/);for(let t=0;t{if(((e,t)=>{Array.from(e.classList).forEach((r=>{Object.values(i).includes(r)||Object.values(l).includes(r)||Object.values(t.showClass||{}).includes(r)||e.classList.remove(r)}))})(e,t),t.customClass&&t.customClass[r]){if("string"!=typeof t.customClass[r]&&!t.customClass[r].forEach)return void u("Invalid type of customClass.".concat(r,'! Expected string or iterable object, got "').concat(typeof t.customClass[r],'"'));G(e,t.customClass[r])}},U=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(i.popup," > .").concat(i[t]));case"checkbox":return e.querySelector(".".concat(i.popup," > .").concat(i.checkbox," input"));case"radio":return e.querySelector(".".concat(i.popup," > .").concat(i.radio," input:checked"))||e.querySelector(".".concat(i.popup," > .").concat(i.radio," input:first-child"));case"range":return e.querySelector(".".concat(i.popup," > .").concat(i.range," input"));default:return e.querySelector(".".concat(i.popup," > .").concat(i.input))}},W=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},V=(e,t,r)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{r?e.classList.add(t):e.classList.remove(t)})):r?e.classList.add(t):e.classList.remove(t)})))},G=(e,t)=>{V(e,t,!0)},Z=(e,t)=>{V(e,t,!1)},Y=(e,t)=>{const r=Array.from(e.children);for(let e=0;e{r==="".concat(parseInt(r))&&(r=parseInt(r)),r||0===parseInt(r)?e.style[t]="number"==typeof r?"".concat(r,"px"):r:e.style.removeProperty(t)},Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},X=e=>{e&&(e.style.display="none")},K=(e,t,r,n)=>{const a=e.querySelector(t);a&&(a.style[r]=n)},$=function(e,t){t?Q(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):X(e)},ee=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),te=e=>!!(e.scrollHeight>e.clientHeight),re=e=>{const t=window.getComputedStyle(e),r=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return r>0||n>0},ne=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=O();r&&ee(r)&&(t&&(r.style.transition="none",r.style.width="100%"),setTimeout((()=>{r.style.transition="width ".concat(e/1e3,"s linear"),r.style.width="0%"}),10))},ae=()=>"undefined"==typeof window||"undefined"==typeof document,oe='\n
\n \n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),se=()=>{a.currentInstance.resetValidationMessage()},ie=e=>{const t=(()=>{const e=v();return!!e&&(e.remove(),Z([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0)})();if(ae())return void m("SweetAlert2 requires document to initialize");const r=document.createElement("div");r.className=i.container,t&&G(r,i["no-transition"]),F(r,oe);const n="string"==typeof(a=e.target)?document.querySelector(a):a;var a;n.appendChild(r),(e=>{const t=E();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&G(v(),i.rtl)})(n),(()=>{const e=E(),t=Y(e,i.input),r=Y(e,i.file),n=e.querySelector(".".concat(i.range," input")),a=e.querySelector(".".concat(i.range," output")),o=Y(e,i.select),s=e.querySelector(".".concat(i.checkbox," input")),l=Y(e,i.textarea);t.oninput=se,r.onchange=se,o.onchange=se,s.onchange=se,l.oninput=se,n.oninput=()=>{se(),a.value=n.value},n.onchange=()=>{se(),a.value=n.value}})()},le=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?ce(e,t):e&&F(t,e)},ce=(e,t)=>{e.jquery?de(t,e):F(t,e.toString())},de=(e,t)=>{if(e.textContent="",0 in t)for(let r=0;r in t;r++)e.appendChild(t[r].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},ue=(()=>{if(ae())return!1;const e=document.createElement("div");return void 0!==e.style.webkitAnimation?"webkitAnimationEnd":void 0!==e.style.animation&&"animationend"})(),me=(e,t)=>{const r=R(),n=M();r&&n&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?Q(r):X(r),H(r,t,"actions"),function(e,t,r){const n=I(),a=T(),o=L();n&&a&&o&&(pe(n,"confirm",r),pe(a,"deny",r),pe(o,"cancel",r),function(e,t,r,n){n.buttonsStyling?(G([e,t,r],i.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,G(e,i["default-outline"])),n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,G(t,i["default-outline"])),n.cancelButtonColor&&(r.style.backgroundColor=n.cancelButtonColor,G(r,i["default-outline"]))):Z([e,t,r],i.styled)}(n,a,o,r),r.reverseButtons&&(r.toast?(e.insertBefore(o,n),e.insertBefore(a,n)):(e.insertBefore(o,t),e.insertBefore(a,t),e.insertBefore(n,t))))}(r,n,t),F(n,t.loaderHtml||""),H(n,t,"loader"))};function pe(e,t,r){const n=d(t);$(e,r["show".concat(n,"Button")],"inline-block"),F(e,r["".concat(t,"ButtonText")]||""),e.setAttribute("aria-label",r["".concat(t,"ButtonAriaLabel")]||""),e.className=i[t],H(e,r,"".concat(t,"Button"))}const fe=(e,t)=>{const r=v();r&&(function(e,t){"string"==typeof t?e.style.background=t:t||G([document.documentElement,document.body],i["no-backdrop"])}(r,t.backdrop),function(e,t){t&&(t in i?G(e,i[t]):(u('The "position" parameter is not valid, defaulting to "center"'),G(e,i.center)))}(r,t.position),function(e,t){t&&G(e,i["grow-".concat(t)])}(r,t.grow),H(r,t,"container"))};var he={innerParams:new WeakMap,domCache:new WeakMap};const ge=["input","file","range","select","radio","checkbox","textarea"],be=e=>{if(!e.input)return;if(!Ne[e.input])return void m('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Ee(e.input),r=Ne[e.input](t,e);Q(t),e.inputAutoFocus&&setTimeout((()=>{W(r)}))},we=(e,t)=>{const r=U(E(),e);if(r){(e=>{for(let t=0;t{const t=Ee(e.input);"object"==typeof e.customClass&&G(t,e.customClass.input)},xe=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},ye=(e,t,r)=>{if(r.inputLabel){const n=document.createElement("label"),a=i["input-label"];n.setAttribute("for",e.id),n.className=a,"object"==typeof r.customClass&&G(n,r.customClass.inputLabel),n.innerText=r.inputLabel,t.insertAdjacentElement("beforebegin",n)}},Ee=e=>Y(E(),i[e]||i.input),ke=(e,t)=>{["string","number"].includes(typeof t)?e.value="".concat(t):w(t)||u('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t,'"'))},Ne={};Ne.text=Ne.email=Ne.password=Ne.number=Ne.tel=Ne.url=(e,t)=>(ke(e,t.inputValue),ye(e,e,t),xe(e,t),e.type=t.input,e),Ne.file=(e,t)=>(ye(e,e,t),xe(e,t),e),Ne.range=(e,t)=>{const r=e.querySelector("input"),n=e.querySelector("output");return ke(r,t.inputValue),r.type=t.input,ke(n,t.inputValue),ye(r,e,t),e},Ne.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const r=document.createElement("option");F(r,t.inputPlaceholder),r.value="",r.disabled=!0,r.selected=!0,e.appendChild(r)}return ye(e,e,t),e},Ne.radio=e=>(e.textContent="",e),Ne.checkbox=(e,t)=>{const r=U(E(),"checkbox");r.value="1",r.checked=Boolean(t.inputValue);const n=e.querySelector("span");return F(n,t.inputPlaceholder),r},Ne.textarea=(e,t)=>{ke(e,t.inputValue),xe(e,t),ye(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const r=parseInt(window.getComputedStyle(E()).width);new MutationObserver((()=>{if(!document.body.contains(e))return;const n=e.offsetWidth+(a=e,parseInt(window.getComputedStyle(a).marginLeft)+parseInt(window.getComputedStyle(a).marginRight));var a;n>r?E().style.width="".concat(n,"px"):J(E(),"width",t.width)})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const Se=(e,t)=>{const r=S();r&&(H(r,t,"htmlContainer"),t.html?(le(t.html,r),Q(r,"block")):t.text?(r.textContent=t.text,Q(r,"block")):X(r),((e,t)=>{const r=E();if(!r)return;const n=he.innerParams.get(e),a=!n||t.input!==n.input;ge.forEach((e=>{const n=Y(r,i[e]);n&&(we(e,t.inputAttributes),n.className=i[e],a&&X(n))})),t.input&&(a&&be(t),ve(t))})(e,t))},Ae=(e,t)=>{for(const[r,n]of Object.entries(l))t.icon!==r&&Z(e,n);G(e,t.icon&&l[t.icon]),Ie(e,t),De(),H(e,t,"icon")},De=()=>{const e=E();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color"),r=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e{if(!t.icon&&!t.iconHtml)return;let r=e.innerHTML,n="";t.iconHtml?n=Le(t.iconHtml):"success"===t.icon?(n='\n
    \n \n
    \n
    \n',r=r.replace(/ style=".*?"/g,"")):"error"===t.icon?n='\n \n \n \n \n':t.icon&&(n=Le({question:"?",warning:"!",info:"i"}[t.icon])),r.trim()!==n.trim()&&F(e,n)},Ie=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const r of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])K(e,r,"backgroundColor",t.iconColor);K(e,".swal2-success-ring","borderColor",t.iconColor)}},Le=e=>'
    ').concat(e,"
    "),Te=(e,t)=>{const r=t.showClass||{};e.className="".concat(i.popup," ").concat(ee(e)?r.popup:""),t.toast?(G([document.documentElement,document.body],i["toast-shown"]),G(e,i.toast)):G(e,i.modal),H(e,t,"popup"),"string"==typeof t.customClass&&G(e,t.customClass),t.icon&&G(e,i["icon-".concat(t.icon)])},Me=e=>{const t=document.createElement("li");return G(t,i["progress-step"]),F(t,e),t},Re=e=>{const t=document.createElement("li");return G(t,i["progress-step-line"]),e.progressStepsDistance&&J(t,"width",e.progressStepsDistance),t},_e=(e,t)=>{((e,t)=>{const r=v(),n=E();if(r&&n){if(t.toast){J(r,"width",t.width),n.style.width="100%";const e=M();e&&n.insertBefore(e,k())}else J(n,"width",t.width);J(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),X(C()),Te(n,t)}})(0,t),fe(0,t),((e,t)=>{const r=D();if(!r)return;const{progressSteps:n,currentProgressStep:a}=t;n&&0!==n.length&&void 0!==a?(Q(r),r.textContent="",a>=n.length&&u("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.forEach(((e,o)=>{const s=Me(e);if(r.appendChild(s),o===a&&G(s,i["active-progress-step"]),o!==n.length-1){const e=Re(t);r.appendChild(e)}}))):X(r)})(0,t),((e,t)=>{const r=he.innerParams.get(e),n=k();if(n){if(r&&t.icon===r.icon)return Ce(n,t),void Ae(n,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(l).indexOf(t.icon))return m('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),void X(n);Q(n),Ce(n,t),Ae(n,t),G(n,t.showClass&&t.showClass.icon)}else X(n)}})(e,t),((e,t)=>{const r=A();r&&(t.imageUrl?(Q(r,""),r.setAttribute("src",t.imageUrl),r.setAttribute("alt",t.imageAlt||""),J(r,"width",t.imageWidth),J(r,"height",t.imageHeight),r.className=i.image,H(r,t,"image")):X(r))})(0,t),((e,t)=>{const r=N();r&&($(r,t.title||t.titleText,"block"),t.title&&le(t.title,r),t.titleText&&(r.innerText=t.titleText),H(r,t,"title"))})(0,t),((e,t)=>{const r=B();r&&(F(r,t.closeButtonHtml||""),H(r,t,"closeButton"),$(r,t.showCloseButton),r.setAttribute("aria-label",t.closeButtonAriaLabel||""))})(0,t),Se(e,t),me(0,t),((e,t)=>{const r=_();r&&($(r,t.footer,"block"),t.footer&&le(t.footer,r),H(r,t,"footer"))})(0,t);const r=E();"function"==typeof t.didRender&&r&&t.didRender(r)},Oe=()=>{var e;return null===(e=I())||void 0===e?void 0:e.click()},Be=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Pe=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},je=(e,t)=>{var r;const n=P();if(n.length)return(e+=t)===n.length?e=0:-1===e&&(e=n.length-1),void n[e].focus();null===(r=E())||void 0===r||r.focus()},ze=["ArrowRight","ArrowDown"],Fe=["ArrowLeft","ArrowUp"],qe=(e,t,r)=>{e&&(t.isComposing||229===t.keyCode||(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?He(t,e):"Tab"===t.key?Ue(t):[...ze,...Fe].includes(t.key)?We(t.key):"Escape"===t.key&&Ve(t,e,r)))},He=(e,t)=>{if(!h(t.allowEnterKey))return;const r=U(E(),t.input);if(e.target&&r&&e.target instanceof HTMLElement&&e.target.outerHTML===r.outerHTML){if(["textarea","file"].includes(t.input))return;Oe(),e.preventDefault()}},Ue=e=>{const t=e.target,r=P();let n=-1;for(let e=0;e{const t=R(),r=I(),n=T(),a=L();if(!(t&&r&&n&&a))return;const o=[r,n,a];if(document.activeElement instanceof HTMLElement&&!o.includes(document.activeElement))return;const s=ze.includes(e)?"nextElementSibling":"previousElementSibling";let i=document.activeElement;if(i){for(let e=0;e{h(t.allowEscapeKey)&&(e.preventDefault(),r(Be.esc))};var Ge={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Ze=()=>{Array.from(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Ye="undefined"!=typeof window&&!!window.GestureEvent,Je=()=>{const e=v();if(!e)return;let t;e.ontouchstart=e=>{t=Qe(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},Qe=e=>{const t=e.target,r=v(),n=S();return!(!r||!n||Xe(e)||Ke(e)||t!==r&&(te(r)||!(t instanceof HTMLElement)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||te(n)&&n.contains(t)))},Xe=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,Ke=e=>e.touches&&e.touches.length>1;let $e=null;const et=e=>{null===$e&&(document.body.scrollHeight>window.innerHeight||"scroll"===e)&&($e=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat($e+(()=>{const e=document.createElement("div");e.className=i["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))};function tt(e,t,r,n){z()?ct(e,n):(o(r).then((()=>ct(e,n))),Pe(a)),Ye?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),j()&&(null!==$e&&(document.body.style.paddingRight="".concat($e,"px"),$e=null),(()=>{if(q(document.body,i.iosfix)){const e=parseInt(document.body.style.top,10);Z(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Ze()),Z([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function rt(e){e=st(e);const t=Ge.swalPromiseResolve.get(this),r=nt(this);this.isAwaitingPromise?e.isDismissed||(ot(this),t(e)):r&&t(e)}const nt=e=>{const t=E();if(!t)return!1;const r=he.innerParams.get(e);if(!r||q(t,r.hideClass.popup))return!1;Z(t,r.showClass.popup),G(t,r.hideClass.popup);const n=v();return Z(n,r.showClass.backdrop),G(n,r.hideClass.backdrop),it(e,t,r),!0};function at(e){const t=Ge.swalPromiseReject.get(this);ot(this),t&&t(e)}const ot=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,he.innerParams.get(e)||e._destroy())},st=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),it=(e,t,r)=>{const n=v(),a=ue&&re(t);"function"==typeof r.willClose&&r.willClose(t),a?lt(e,t,n,r.returnFocus,r.didClose):tt(e,n,r.returnFocus,r.didClose)},lt=(e,t,r,n,o)=>{ue&&(a.swalCloseEventFinishedCallback=tt.bind(null,e,r,n,o),t.addEventListener(ue,(function(e){e.target===t&&(a.swalCloseEventFinishedCallback(),delete a.swalCloseEventFinishedCallback)})))},ct=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},dt=e=>{let t=E();if(t||new qr,t=E(),!t)return;const r=M();z()?X(k()):ut(t,e),Q(r),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},ut=(e,t)=>{const r=R(),n=M();r&&n&&(!t&&ee(I())&&(t=I()),Q(r),t&&(X(t),n.setAttribute("data-button-to-replace",t.className),r.insertBefore(n,t)),G([e,r],i.loading))},mt=e=>e.checked?1:0,pt=e=>e.checked?e.value:null,ft=e=>e.files&&e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,ht=(e,t)=>{const r=E();if(!r)return;const n=e=>{"select"===t.input?function(e,t,r){const n=Y(e,i.select);if(!n)return;const a=(e,t,n)=>{const a=document.createElement("option");a.value=n,F(a,t),a.selected=wt(n,r.inputValue),e.appendChild(a)};t.forEach((e=>{const t=e[0],r=e[1];if(Array.isArray(r)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,n.appendChild(e),r.forEach((t=>a(e,t[1],t[0])))}else a(n,r,t)})),n.focus()}(r,bt(e),t):"radio"===t.input&&function(e,t,r){const n=Y(e,i.radio);if(!n)return;t.forEach((e=>{const t=e[0],a=e[1],o=document.createElement("input"),s=document.createElement("label");o.type="radio",o.name=i.radio,o.value=t,wt(t,r.inputValue)&&(o.checked=!0);const l=document.createElement("span");F(l,a),l.className=i.label,s.appendChild(o),s.appendChild(l),n.appendChild(s)}));const a=n.querySelectorAll("input");a.length&&a[0].focus()}(r,bt(e),t)};g(t.inputOptions)||w(t.inputOptions)?(dt(I()),b(t.inputOptions).then((t=>{e.hideLoading(),n(t)}))):"object"==typeof t.inputOptions?n(t.inputOptions):m("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},gt=(e,t)=>{const r=e.getInput();r&&(X(r),b(t.inputValue).then((n=>{r.value="number"===t.input?"".concat(parseFloat(n)||0):"".concat(n),Q(r),r.focus(),e.hideLoading()})).catch((t=>{m("Error in inputValue promise: ".concat(t)),r.value="",Q(r),r.focus(),e.hideLoading()})))};const bt=e=>{const t=[];return e instanceof Map?e.forEach(((e,r)=>{let n=e;"object"==typeof n&&(n=bt(n)),t.push([r,n])})):Object.keys(e).forEach((r=>{let n=e[r];"object"==typeof n&&(n=bt(n)),t.push([r,n])})),t},wt=(e,t)=>!!t&&t.toString()===e.toString(),vt=(e,t)=>{const r=he.innerParams.get(e);if(!r.input)return void m('The "input" parameter is needed to be set when using returnInputValueOn'.concat(d(t)));const n=e.getInput(),a=((e,t)=>{const r=e.getInput();if(!r)return null;switch(t.input){case"checkbox":return mt(r);case"radio":return pt(r);case"file":return ft(r);default:return t.inputAutoTrim?r.value.trim():r.value}})(e,r);r.inputValidator?xt(e,a,t):n&&!n.checkValidity()?(e.enableButtons(),e.showValidationMessage(r.validationMessage)):"deny"===t?yt(e,a):Nt(e,a)},xt=(e,t,r)=>{const n=he.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>b(n.inputValidator(t,n.validationMessage)))).then((n=>{e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):"deny"===r?yt(e,t):Nt(e,t)}))},yt=(e,t)=>{const r=he.innerParams.get(e||void 0);r.showLoaderOnDeny&&dt(T()),r.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then((()=>b(r.preDeny(t,r.validationMessage)))).then((r=>{!1===r?(e.hideLoading(),ot(e)):e.close({isDenied:!0,value:void 0===r?t:r})})).catch((t=>kt(e||void 0,t)))):e.close({isDenied:!0,value:t})},Et=(e,t)=>{e.close({isConfirmed:!0,value:t})},kt=(e,t)=>{e.rejectPromise(t)},Nt=(e,t)=>{const r=he.innerParams.get(e||void 0);r.showLoaderOnConfirm&&dt(),r.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then((()=>b(r.preConfirm(t,r.validationMessage)))).then((r=>{ee(C())||!1===r?(e.hideLoading(),ot(e)):Et(e,void 0===r?t:r)})).catch((t=>kt(e||void 0,t)))):Et(e,t)};function St(){const e=he.innerParams.get(this);if(!e)return;const t=he.domCache.get(this);X(t.loader),z()?e.icon&&Q(k()):At(t),Z([t.popup,t.actions],i.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const At=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?Q(t[0],"inline-block"):!ee(I())&&!ee(T())&&!ee(L())&&X(e.actions)};function Dt(){const e=he.innerParams.get(this),t=he.domCache.get(this);return t?U(t.popup,e.input):null}function Ct(e,t,r){const n=he.domCache.get(e);t.forEach((e=>{n[e].disabled=r}))}function It(e,t){const r=E();if(r&&e)if("radio"===e.type){const e=r.querySelectorAll('[name="'.concat(i.radio,'"]'));for(let r=0;rObject.prototype.hasOwnProperty.call(Bt,e),qt=e=>-1!==Pt.indexOf(e),Ht=e=>jt[e],Ut=e=>{Ft(e)||u('Unknown parameter "'.concat(e,'"'))},Wt=e=>{zt.includes(e)&&u('The parameter "'.concat(e,'" is incompatible with toasts'))},Vt=e=>{const t=Ht(e);t&&f(e,t)};function Gt(e){const t=E(),r=he.innerParams.get(this);if(!t||q(t,r.hideClass.popup))return void u("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const n=Zt(e),a=Object.assign({},r,n);_e(this,a),he.innerParams.set(this,a),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const Zt=e=>{const t={};return Object.keys(e).forEach((r=>{qt(r)?t[r]=e[r]:u("Invalid parameter to update: ".concat(r))})),t};function Yt(){const e=he.domCache.get(this),t=he.innerParams.get(this);t?(e.popup&&a.swalCloseEventFinishedCallback&&(a.swalCloseEventFinishedCallback(),delete a.swalCloseEventFinishedCallback),"function"==typeof t.didDestroy&&t.didDestroy(),Jt(this)):Qt(this)}const Jt=e=>{Qt(e),delete e.params,delete a.keydownHandler,delete a.keydownTarget,delete a.currentInstance},Qt=e=>{e.isAwaitingPromise?(Xt(he,e),e.isAwaitingPromise=!0):(Xt(Ge,e),Xt(he,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Xt=(e,t)=>{for(const r in e)e[r].delete(t)};var Kt=Object.freeze({__proto__:null,_destroy:Yt,close:rt,closeModal:rt,closePopup:rt,closeToast:rt,disableButtons:Tt,disableInput:Rt,disableLoading:St,enableButtons:Lt,enableInput:Mt,getInput:Dt,handleAwaitingPromise:ot,hideLoading:St,rejectPromise:at,resetValidationMessage:Ot,showValidationMessage:_t,update:Gt});const $t=(e,t,r)=>{t.popup.onclick=()=>{e&&(er(e)||e.timer||e.input)||r(Be.close)}},er=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let tr=!1;const rr=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(tr=!0)}}},nr=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||t.target instanceof HTMLElement&&e.popup.contains(t.target))&&(tr=!0)}}},ar=(e,t,r)=>{t.container.onclick=n=>{tr?tr=!1:n.target===t.container&&h(e.allowOutsideClick)&&r(Be.backdrop)}},or=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const sr=()=>{if(a.timeout)return(()=>{const e=O();if(!e)return;const t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const r=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width="".concat(r,"%")})(),a.timeout.stop()},ir=()=>{if(a.timeout){const e=a.timeout.start();return ne(e),e}};let lr=!1;const cr={};const dr=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in cr){const r=t.getAttribute(e);if(r)return void cr[e].fire({template:r})}};var ur=Object.freeze({__proto__:null,argsToParams:e=>{const t={};return"object"!=typeof e[0]||or(e[0])?["title","html","icon"].forEach(((r,n)=>{const a=e[n];"string"==typeof a||or(a)?t[r]=a:void 0!==a&&m("Unexpected type of ".concat(r,'! Expected "string" or "Element", got ').concat(typeof a))})):Object.assign(t,e[0]),t},bindClickHandler:function(){cr[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,lr||(document.body.addEventListener("click",dr),lr=!0)},clickCancel:()=>{var e;return null===(e=L())||void 0===e?void 0:e.click()},clickConfirm:Oe,clickDeny:()=>{var e;return null===(e=T())||void 0===e?void 0:e.click()},enableLoading:dt,fire:function(){for(var e=arguments.length,t=new Array(e),r=0;ry(i["icon-content"]),getImage:A,getInputLabel:()=>y(i["input-label"]),getLoader:M,getPopup:E,getProgressSteps:D,getTimerLeft:()=>a.timeout&&a.timeout.getTimerLeft(),getTimerProgressBar:O,getTitle:N,getValidationMessage:C,increaseTimer:e=>{if(a.timeout){const t=a.timeout.increase(e);return ne(t,!0),t}},isDeprecatedParameter:Ht,isLoading:()=>{const e=E();return!!e&&e.hasAttribute("data-loading")},isTimerRunning:()=>!(!a.timeout||!a.timeout.isRunning()),isUpdatableParameter:qt,isValidParameter:Ft,isVisible:()=>ee(E()),mixin:function(e){return class extends(this){_main(t,r){return super._main(t,Object.assign({},e,r))}}},resumeTimer:ir,showLoading:dt,stopTimer:sr,toggleTimer:()=>{const e=a.timeout;return e&&(e.running?sr():ir())}});class mr{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const pr=["swal-title","swal-html","swal-footer"],fr=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach((e=>{Er(e,["name","value"]);const r=e.getAttribute("name"),n=e.getAttribute("value");t[r]="boolean"==typeof Bt[r]?"false"!==n:"object"==typeof Bt[r]?JSON.parse(n):n})),t},hr=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((e=>{const r=e.getAttribute("name"),n=e.getAttribute("value");t[r]=new Function("return ".concat(n))()})),t},gr=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach((e=>{Er(e,["type","color","aria-label"]);const r=e.getAttribute("type");t["".concat(r,"ButtonText")]=e.innerHTML,t["show".concat(d(r),"Button")]=!0,e.hasAttribute("color")&&(t["".concat(r,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t["".concat(r,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),t},br=e=>{const t={},r=e.querySelector("swal-image");return r&&(Er(r,["src","width","height","alt"]),r.hasAttribute("src")&&(t.imageUrl=r.getAttribute("src")),r.hasAttribute("width")&&(t.imageWidth=r.getAttribute("width")),r.hasAttribute("height")&&(t.imageHeight=r.getAttribute("height")),r.hasAttribute("alt")&&(t.imageAlt=r.getAttribute("alt"))),t},wr=e=>{const t={},r=e.querySelector("swal-icon");return r&&(Er(r,["type","color"]),r.hasAttribute("type")&&(t.icon=r.getAttribute("type")),r.hasAttribute("color")&&(t.iconColor=r.getAttribute("color")),t.iconHtml=r.innerHTML),t},vr=e=>{const t={},r=e.querySelector("swal-input");r&&(Er(r,["type","label","placeholder","value"]),t.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(t.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(t.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(t.inputValue=r.getAttribute("value")));const n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach((e=>{Er(e,["value"]);const r=e.getAttribute("value"),n=e.innerHTML;t.inputOptions[r]=n}))),t},xr=(e,t)=>{const r={};for(const n in t){const a=t[n],o=e.querySelector(a);o&&(Er(o,[]),r[a.replace(/^swal-/,"")]=o.innerHTML.trim())}return r},yr=e=>{const t=pr.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((e=>{const r=e.tagName.toLowerCase();t.includes(r)||u("Unrecognized element <".concat(r,">"))}))},Er=(e,t)=>{Array.from(e.attributes).forEach((r=>{-1===t.indexOf(r.name)&&u(['Unrecognized attribute "'.concat(r.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))},kr=e=>{const t=v(),r=E();"function"==typeof e.willOpen&&e.willOpen(r);const n=window.getComputedStyle(document.body).overflowY;Dr(t,r,e),setTimeout((()=>{Sr(t,r)}),10),j()&&(Ar(t,e.scrollbarPadding,n),Array.from(document.body.children).forEach((e=>{e===v()||e.contains(v())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")||""),e.setAttribute("aria-hidden","true"))}))),z()||a.previousActiveElement||(a.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(r))),Z(t,i["no-transition"])},Nr=e=>{const t=E();if(e.target!==t||!ue)return;const r=v();t.removeEventListener(ue,Nr),r.style.overflowY="auto"},Sr=(e,t)=>{ue&&re(t)?(e.style.overflowY="hidden",t.addEventListener(ue,Nr)):e.style.overflowY="auto"},Ar=(e,t,r)=>{(()=>{if(Ye&&!q(document.body,i.iosfix)){const e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),G(document.body,i.iosfix),Je()}})(),t&&"hidden"!==r&&et(r),setTimeout((()=>{e.scrollTop=0}))},Dr=(e,t,r)=>{G(e,r.showClass.backdrop),t.style.setProperty("opacity","0","important"),Q(t,"grid"),setTimeout((()=>{G(t,r.showClass.popup),t.style.removeProperty("opacity")}),10),G([document.documentElement,document.body],i.shown),r.heightAuto&&r.backdrop&&!r.toast&&G([document.documentElement,document.body],i["height-auto"])};var Cr=(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),Ir=(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL");function Lr(e){(function(e){e.inputValidator||("email"===e.input&&(e.inputValidator=Cr),"url"===e.input&&(e.inputValidator=Ir))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&u("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(u('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("
    ")),ie(e)}let Tr;var Mr=new WeakMap;class Rr{constructor(){if(n(this,Mr,{writable:!0,value:void 0}),"undefined"==typeof window)return;Tr=this;for(var e=arguments.length,r=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!1===e.backdrop&&e.allowOutsideClick&&u('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)Ut(t),e.toast&&Wt(t),Vt(t)})(Object.assign({},t,e)),a.currentInstance&&(a.currentInstance._destroy(),j()&&Ze()),a.currentInstance=Tr;const r=Or(e,t);Lr(r),Object.freeze(r),a.timeout&&(a.timeout.stop(),delete a.timeout),clearTimeout(a.restoreFocusTimeout);const n=Br(Tr);return _e(Tr,r),he.innerParams.set(Tr,r),_r(Tr,n,r)}then(t){return e(this,Mr).then(t)}finally(t){return e(this,Mr).finally(t)}}const _r=(e,t,r)=>new Promise(((n,o)=>{const s=t=>{e.close({isDismissed:!0,dismiss:t})};Ge.swalPromiseResolve.set(e,n),Ge.swalPromiseReject.set(e,o),t.confirmButton.onclick=()=>{(e=>{const t=he.innerParams.get(e);e.disableButtons(),t.input?vt(e,"confirm"):Nt(e,!0)})(e)},t.denyButton.onclick=()=>{(e=>{const t=he.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?vt(e,"deny"):yt(e,!1)})(e)},t.cancelButton.onclick=()=>{((e,t)=>{e.disableButtons(),t(Be.cancel)})(e,s)},t.closeButton.onclick=()=>{s(Be.close)},((e,t,r)=>{e.toast?$t(e,t,r):(rr(t),nr(t),ar(e,t,r))})(r,t,s),((e,t,r)=>{Pe(e),t.toast||(e.keydownHandler=e=>qe(t,e,r),e.keydownTarget=t.keydownListenerCapture?window:E(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)})(a,r,s),((e,t)=>{"select"===t.input||"radio"===t.input?ht(e,t):["text","email","number","tel","textarea"].some((e=>e===t.input))&&(g(t.inputValue)||w(t.inputValue))&&(dt(I()),gt(e,t))})(e,r),kr(r),Pr(a,r,s),jr(t,r),setTimeout((()=>{t.container.scrollTop=0}))})),Or=(e,t)=>{const r=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const r=t.content;return yr(r),Object.assign(fr(r),hr(r),gr(r),br(r),wr(r),vr(r),xr(r,pr))})(e),n=Object.assign({},Bt,t,r,e);return n.showClass=Object.assign({},Bt.showClass,n.showClass),n.hideClass=Object.assign({},Bt.hideClass,n.hideClass),n},Br=e=>{const t={popup:E(),container:v(),actions:R(),confirmButton:I(),denyButton:T(),cancelButton:L(),loader:M(),closeButton:B(),validationMessage:C(),progressSteps:D()};return he.domCache.set(e,t),t},Pr=(e,t,r)=>{const n=O();X(n),t.timer&&(e.timeout=new mr((()=>{r("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(Q(n),H(n,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ne(t.timer)}))))},jr=(e,t)=>{t.toast||(h(t.allowEnterKey)?zr(e,t)||je(-1,1):Fr())},zr=(e,t)=>t.focusDeny&&ee(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ee(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ee(e.confirmButton)||(e.confirmButton.focus(),0)),Fr=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/864e5>3&&setTimeout((()=>{document.body.style.pointerEvents="none";const e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((()=>{e.play().catch((()=>{}))}),2500)}),500):localStorage.setItem("swal-initiation","".concat(e))}Rr.prototype.disableButtons=Tt,Rr.prototype.enableButtons=Lt,Rr.prototype.getInput=Dt,Rr.prototype.disableInput=Rt,Rr.prototype.enableInput=Mt,Rr.prototype.hideLoading=St,Rr.prototype.disableLoading=St,Rr.prototype.showValidationMessage=_t,Rr.prototype.resetValidationMessage=Ot,Rr.prototype.close=rt,Rr.prototype.closePopup=rt,Rr.prototype.closeModal=rt,Rr.prototype.closeToast=rt,Rr.prototype.rejectPromise=at,Rr.prototype.update=Gt,Rr.prototype._destroy=Yt,Object.assign(Rr,ur),Object.keys(Kt).forEach((e=>{Rr[e]=function(){return Tr&&Tr[e]?Tr[e](...arguments):null}})),Rr.DismissReason=Be,Rr.version="11.7.31";const qr=Rr;return qr.default=qr,qr}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var r=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(r),r.styleSheet)r.styleSheet.disabled||(r.styleSheet.cssText=t);else try{r.innerHTML=t}catch(e){r.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')},609:e=>{"use strict";e.exports=window.React},455:e=>{"use strict";e.exports=window.wp.apiFetch},143:e=>{"use strict";e.exports=window.wp.data}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>r[e]));return s.default=()=>r,a.d(o,s),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{"use strict";var e=a(609),t=a.t(e,2),r=a.n(e);a(648);const n=({children:t})=>(0,e.createElement)("div",{className:"pro-docs"},t);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function f(e,t,r,n){void 0===n&&(n={});let{window:a=document.defaultView,v5Compat:c=!1}=n,p=a.history,f=s.Pop,h=null,g=b();function b(){return(p.state||{idx:null}).idx}function w(){f=s.Pop;let e=b(),t=null==e?null:e-g;g=e,h&&h({action:f,location:x.location,delta:t})}function v(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:m(e);return l(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==g&&(g=0,p.replaceState(o({},p.state,{idx:g}),""));let x={get action(){return f},get location(){return e(a,p)},listen(e){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(i,w),h=e,()=>{a.removeEventListener(i,w),h=null}},createHref:e=>t(a,e),createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f=s.Push;let n=u(x.location,e,t);r&&r(n,e),g=b()+1;let o=d(n,g),i=x.createHref(n);try{p.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(i)}c&&h&&h({action:f,location:x.location,delta:1})},replace:function(e,t){f=s.Replace;let n=u(x.location,e,t);r&&r(n,e),g=b();let a=d(n,g),o=x.createHref(n);p.replaceState(a,"",o),c&&h&&h({action:f,location:x.location,delta:0})},go:e=>p.go(e)};return x}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const g=new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(((e,a)=>{let s=[...r,a],i="string"==typeof e.id?e.id:s.join("-");if(l(!0!==e.index||!e.children,"Cannot specify children on an index route"),l(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=o({},e,t(e),{id:i});return n[i]=r,r}{let r=o({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=b(e.children,t,s,n)),r}}))}function w(e,t,r){void 0===r&&(r="/");let n=M(("string"==typeof t?p(t):t).pathname||"/",r);if(null==n)return null;let a=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let e=0;null==o&&e{let s={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(l(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(n.length));let i=B([n,s.relativePath]),c=r.concat(s);e.children&&e.children.length>0&&(l(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,c,i)),(null!=e.path||e.index)&&t.push({path:i,score:C(i,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of x(e.path))a(e,t,r);else a(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===n.length)return a?[o,""]:[o];let s=x(n.join("/")),i=[];return i.push(...s.map((e=>""===e?o:[o,e].join("/")))),a&&i.push(...s),i.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:\w+$/,E=3,k=2,N=1,S=10,A=-2,D=e=>"*"===e;function C(e,t){let r=e.split("/"),n=r.length;return r.some(D)&&(n+=A),t&&(n+=k),r.filter((e=>!D(e))).reduce(((e,t)=>e+(y.test(t)?E:""===t?N:S)),n)}function I(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let e=0;e(n.push(t),"/([^\\/]+)")));return e.endsWith("*")?(n.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],s=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=i[r]||"";s=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return c(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(i[r]||"",t),e}),{}),pathname:o,pathnameBase:s,pattern:e}}function T(e){try{return decodeURI(e)}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function R(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function _(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function O(e,t,r,n){let a;void 0===n&&(n=!1),"string"==typeof e?a=p(e):(a=o({},e),l(!a.pathname||!a.pathname.includes("?"),R("?","pathname","search",a)),l(!a.pathname||!a.pathname.includes("#"),R("#","pathname","hash",a)),l(!a.search||!a.search.includes("#"),R("#","search","hash",a)));let s,i=""===e||""===a.pathname,c=i?"/":a.pathname;if(n||null==c)s=r;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}s=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:a=""}="string"==typeof e?p(e):e,o=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:o,search:j(n),hash:z(a)}}(a,s),u=c&&"/"!==c&&c.endsWith("/"),m=(i||"."===c)&&r.endsWith("/");return d.pathname.endsWith("/")||!u&&!m||(d.pathname+="/"),d}const B=e=>e.join("/").replace(/\/\/+/g,"/"),P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),j=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",z=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class F{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function q(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const H=["post","put","patch","delete"],U=new Set(H),W=["get",...H],V=new Set(W),G=new Set([301,302,303,307,308]),Z=new Set([307,308]),Y={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Q={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},X=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});function $(e,t,r,n,a,o,s){let i,l;if(null!=o&&"path"!==s){i=[];for(let e of t)if(i.push(e),e.route.id===o){l=e;break}}else i=t,l=t[t.length-1];let c=O(a||".",_(i).map((e=>e.pathnameBase)),M(e.pathname,r)||e.pathname,"path"===s);return null==a&&(c.search=e.search,c.hash=e.hash),null!=a&&""!==a&&"."!==a||!l||!l.route.index||Ee(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n&&"/"!==r&&(c.pathname="/"===c.pathname?r:B([r,c.pathname])),m(c)}function ee(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&(a=n.formMethod,!V.has(a.toLowerCase())))return{path:r,error:pe(405,{method:n.formMethod})};var a;let o,s,i=()=>({path:r,error:pe(400,{type:"invalid-body"})}),c=n.formMethod||"get",d=e?c.toUpperCase():c.toLowerCase(),u=he(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!ve(d))return i();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:d,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!ve(d))return i();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:d,formAction:u,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return i()}}}if(l("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=ie(n.formData),s=n.formData;else if(n.body instanceof FormData)o=ie(n.body),s=n.body;else if(n.body instanceof URLSearchParams)o=n.body,s=le(o);else if(null==n.body)o=new URLSearchParams,s=new FormData;else try{o=new URLSearchParams(n.body),s=le(o)}catch(e){return i()}let f={formMethod:d,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(ve(f.formMethod))return{path:r,submission:f};let h=p(r);return t&&h.search&&Ee(h.search)&&o.append("index",""),h.search="?"+o,{path:m(h),submission:f}}function te(e,t,r,n,a,s,i,l,c,d,u,m,p,f){let h=f?Object.values(f)[0]:p?Object.values(p)[0]:void 0,g=e.createURL(t.location),b=e.createURL(a),v=f?Object.keys(f)[0]:void 0,x=function(e,t){let r=e;if(t){let n=e.findIndex((e=>e.route.id===t));n>=0&&(r=e.slice(0,n))}return r}(r,v).filter(((e,r)=>{if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,r){let n=!t||r.route.id!==t.route.id,a=void 0===e[r.route.id];return n||a}(t.loaderData,t.matches[r],e)||i.some((t=>t===e.route.id)))return!0;let a=t.matches[r],l=e;return ne(e,o({currentUrl:g,currentParams:a.params,nextUrl:b,nextParams:l.params},n,{actionResult:h,defaultShouldRevalidate:s||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||re(a,l)}))})),y=[];return c.forEach(((e,a)=>{if(!r.some((t=>t.route.id===e.routeId)))return;let i=w(u,e.path,m);if(!i)return void y.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(a),p=ke(i,e.path),f=!1;f=!d.has(a)&&(!!l.includes(a)||(c&&"idle"!==c.state&&void 0===c.data?s:ne(p,o({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:h,defaultShouldRevalidate:s})))),f&&y.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:p,controller:new AbortController})})),[x,y]}function re(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ne(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}async function ae(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];l(a,"No route found in manifest");let s={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;c(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||g.has(e)||(s[e]=n[e])}Object.assign(a,s),Object.assign(a,o({},t(a),{lazy:void 0}))}async function oe(e,t,r,n,a,o,s,i){let c,d,u;void 0===i&&(i={});let m=e=>{let n,a=new Promise(((e,t)=>n=t));return u=()=>n(),t.signal.addEventListener("abort",u),Promise.race([e({request:t,params:r.params,context:i.requestContext}),a])};try{let n=r.route[e];if(r.route.lazy)if(n){let e,t=await Promise.all([m(n).catch((t=>{e=t})),ae(r.route,o,a)]);if(e)throw e;d=t[0]}else{if(await ae(r.route,o,a),n=r.route[e],!n){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw pe(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:h.data,data:void 0}}d=await m(n)}else{if(!n){let e=new URL(t.url);throw pe(404,{pathname:e.pathname+e.search})}d=await m(n)}l(void 0!==d,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){c=h.error,d=e}finally{u&&t.signal.removeEventListener("abort",u)}if(null!=(p=d)&&"number"==typeof p.status&&"string"==typeof p.statusText&&"object"==typeof p.headers&&void 0!==p.body){let e,a=d.status;if(G.has(a)){let e=d.headers.get("Location");if(l(e,"Redirects returned/thrown from loaders/actions must have a Location header"),X.test(e)){if(!i.isStaticRequest){let r=new URL(t.url),n=e.startsWith("//")?new URL(r.protocol+e):new URL(e),a=null!=M(n.pathname,s);n.origin===r.origin&&a&&(e=n.pathname+n.search+n.hash)}}else e=$(new URL(t.url),n.slice(0,n.indexOf(r)+1),s,!0,e);if(i.isStaticRequest)throw d.headers.set("Location",e),d;return{type:h.redirect,status:a,location:e,revalidate:null!==d.headers.get("X-Remix-Revalidate"),reloadDocument:null!==d.headers.get("X-Remix-Reload-Document")}}if(i.isRouteRequest)throw{type:c===h.error?h.error:h.data,response:d};let o=d.headers.get("Content-Type");return e=o&&/\bapplication\/json\b/.test(o)?await d.json():await d.text(),c===h.error?{type:c,error:new F(a,d.statusText,e),headers:d.headers}:{type:h.data,data:e,statusCode:d.status,headers:d.headers}}var p,f,g;return c===h.error?{type:c,error:d}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(d)?{type:h.deferred,deferredData:d,statusCode:null==(f=d.init)?void 0:f.status,headers:(null==(g=d.init)?void 0:g.headers)&&new Headers(d.init.headers)}:{type:h.data,data:d}}function se(e,t,r,n){let a=e.createURL(he(t)).toString(),o={signal:r};if(n&&ve(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=ie(n.formData):o.body=n.formData}return new Request(a,o)}function ie(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function le(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ce(e,t,r,n,a,s,i,c){let{loaderData:d,errors:u}=function(e,t,r,n,a){let o,s={},i=null,c=!1,d={};return r.forEach(((r,u)=>{let m=t[u].route.id;if(l(!we(r),"Cannot handle redirect results in processLoaderData"),be(r)){let t=ue(e,m),a=r.error;n&&(a=Object.values(n)[0],n=void 0),i=i||{},null==i[t.route.id]&&(i[t.route.id]=a),s[m]=void 0,c||(c=!0,o=q(r.error)?r.error.status:500),r.headers&&(d[m]=r.headers)}else ge(r)?(a.set(m,r.deferredData),s[m]=r.deferredData.data):s[m]=r.data,null==r.statusCode||200===r.statusCode||c||(o=r.statusCode),r.headers&&(d[m]=r.headers)})),n&&(i=n,s[Object.keys(n)[0]]=void 0),{loaderData:s,errors:i,statusCode:o||200,loaderHeaders:d}}(t,r,n,a,c);for(let t=0;te.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function me(e){let t=e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function pe(e,t){let{pathname:r,routeId:n,method:a,type:o}=void 0===t?{}:t,s="Unknown Server Error",i="Unknown @remix-run/router error";return 400===e?(s="Bad Request",a&&r&&n?i="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?i="defer() is not supported in actions":"invalid-body"===o&&(i="Unable to encode submission body")):403===e?(s="Forbidden",i='Route "'+n+'" does not match URL "'+r+'"'):404===e?(s="Not Found",i='No route matches URL "'+r+'"'):405===e&&(s="Method Not Allowed",a&&r&&n?i="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(i='Invalid request method "'+a.toUpperCase()+'"')),new F(e||500,s,new Error(i),!0)}function fe(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(we(r))return{result:r,idx:t}}}function he(e){return m(o({},"string"==typeof e?p(e):e,{hash:""}))}function ge(e){return e.type===h.deferred}function be(e){return e.type===h.error}function we(e){return(e&&e.type)===h.redirect}function ve(e){return U.has(e.toLowerCase())}async function xe(e,t,r,n,a,o){for(let s=0;se.route.id===c.route.id)),u=null!=d&&!re(d,c)&&void 0!==(o&&o[c.route.id]);if(ge(i)&&(a||u)){let e=n[s];l(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await ye(i,e,a).then((e=>{e&&(r[s]=e||r[s])}))}}}async function ye(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:h.data,data:e.deferredData.unwrappedData}}catch(e){return{type:h.error,error:e}}return{type:h.data,data:e.deferredData.data}}}function Ee(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function ke(e,t){let r="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&Ee(r||""))return e[e.length-1];let n=_(e);return n[n.length-1]}function Ne(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:s}=e;if(t&&r&&n)return null!=a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a}:null!=o?{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0}:void 0!==s?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:s,text:void 0}:void 0}function Se(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ae(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function De(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),e.useCallback((function(e,a){void 0===a&&(a={}),n.current&&("number"==typeof e?t.navigate(e):t.navigate(e,Ce({fromRouteId:r},a)))}),[t,r])}():function(){Oe()||l(!1);let t=e.useContext(Ie),{basename:r,navigator:n}=e.useContext(Te),{matches:a}=e.useContext(Re),{pathname:o}=Be(),s=JSON.stringify(_(a).map((e=>e.pathnameBase))),i=e.useRef(!1);return Pe((()=>{i.current=!0})),e.useCallback((function(e,a){if(void 0===a&&(a={}),!i.current)return;if("number"==typeof e)return void n.go(e);let l=O(e,JSON.parse(s),o,"path"===a.relative);null==t&&"/"!==r&&(l.pathname="/"===l.pathname?r:B([r,l.pathname])),(a.replace?n.replace:n.push)(l,a.state,a)}),[r,n,s,o,t])}()}function ze(){let{matches:t}=e.useContext(Re),r=t[t.length-1];return r?r.params:{}}function Fe(t,r){let{relative:n}=void 0===r?{}:r,{matches:a}=e.useContext(Re),{pathname:o}=Be(),s=JSON.stringify(_(a).map((e=>e.pathnameBase)));return e.useMemo((()=>O(t,JSON.parse(s),o,"path"===n)),[t,s,o,n])}function qe(t,r,n){Oe()||l(!1);let{navigator:a}=e.useContext(Te),{matches:o}=e.useContext(Re),i=o[o.length-1],c=i?i.params:{},d=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let u,m=Be();if(r){var f;let e="string"==typeof r?p(r):r;"/"===d||(null==(f=e.pathname)?void 0:f.startsWith(d))||l(!1),u=e}else u=m;let h=u.pathname||"/",g=w(t,{pathname:"/"===d?h:h.slice(d.length)||"/"}),b=function(t,r,n){var a;if(void 0===r&&(r=[]),void 0===n&&(n=null),null==t){var o;if(null==(o=n)||!o.errors)return null;t=n.matches}let s=t,i=null==(a=n)?void 0:a.errors;if(null!=i){let e=s.findIndex((e=>e.route.id&&(null==i?void 0:i[e.route.id])));e>=0||l(!1),s=s.slice(0,Math.min(s.length,e+1))}return s.reduceRight(((t,a,o)=>{let l=a.route.id?null==i?void 0:i[a.route.id]:null,c=null;n&&(c=a.route.errorElement||Ue);let d=r.concat(s.slice(0,o+1)),u=()=>{let r;return r=l?c:a.route.Component?e.createElement(a.route.Component,null):a.route.element?a.route.element:t,e.createElement(Ve,{match:a,routeContext:{outlet:t,matches:d,isDataRoute:null!=n},children:r})};return n&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?e.createElement(We,{location:n.location,revalidation:n.revalidation,component:c,error:l,children:u(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):u()}),null)}(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:B([d,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:B([d,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,n);return r&&b?e.createElement(Me.Provider,{value:{location:Ce({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:s.Pop}},b):b}function He(){let t=function(){var t;let r=e.useContext(_e),n=function(){let t=e.useContext(Le);return t||l(!1),t}(Ze.UseRouteError),a=Ye(Ze.UseRouteError);return r||(null==(t=n.errors)?void 0:t[a])}(),r=q(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},r),n?e.createElement("pre",{style:a},n):null,null)}const Ue=e.createElement(He,null);class We extends e.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?e.createElement(Re.Provider,{value:this.props.routeContext},e.createElement(_e.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ve(t){let{routeContext:r,match:n,children:a}=t,o=e.useContext(Ie);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),e.createElement(Re.Provider,{value:r},a)}var Ge=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ge||{}),Ze=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ze||{});function Ye(t){let r=function(){let t=e.useContext(Re);return t||l(!1),t}(),n=r.matches[r.matches.length-1];return n.route.id||l(!1),n.route.id}const Je=e.startTransition;function Qe(t){let{fallbackElement:r,router:n,future:a}=t,[o,s]=e.useState(n.state),{v7_startTransition:i}=a||{},l=e.useCallback((e=>{i&&Je?Je((()=>s(e))):s(e)}),[s,i]);e.useLayoutEffect((()=>n.subscribe(l)),[n,l]);let c=e.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),d=n.basename||"/",u=e.useMemo((()=>({router:n,navigator:c,static:!1,basename:d})),[n,c,d]);return e.createElement(e.Fragment,null,e.createElement(Ie.Provider,{value:u},e.createElement(Le.Provider,{value:o},e.createElement($e,{basename:d,location:o.location,navigationType:o.historyAction,navigator:c},o.initialized?e.createElement(Xe,{routes:n.routes,state:o}):r))),null)}function Xe(e){let{routes:t,state:r}=e;return qe(t,void 0,r)}function Ke(e){l(!1)}function $e(t){let{basename:r="/",children:n=null,location:a,navigationType:o=s.Pop,navigator:i,static:c=!1}=t;Oe()&&l(!1);let d=r.replace(/^\/*/,"/"),u=e.useMemo((()=>({basename:d,navigator:i,static:c})),[d,i,c]);"string"==typeof a&&(a=p(a));let{pathname:m="/",search:f="",hash:h="",state:g=null,key:b="default"}=a,w=e.useMemo((()=>{let e=M(m,d);return null==e?null:{location:{pathname:e,search:f,hash:h,state:g,key:b},navigationType:o}}),[d,m,f,h,g,b,o]);return null==w?null:e.createElement(Te.Provider,{value:u},e.createElement(Me.Provider,{children:n,value:w}))}function et(t,r){void 0===r&&(r=[]);let n=[];return e.Children.forEach(t,((t,a)=>{if(!e.isValidElement(t))return;let o=[...r,a];if(t.type===e.Fragment)return void n.push.apply(n,et(t.props.children,o));t.type!==Ke&&l(!1),t.props.index&&t.props.children&&l(!1);let s={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(s.children=et(t.props.children,o)),n.push(s)})),n}function tt(t){let r={hasErrorBoundary:null!=t.ErrorBoundary||null!=t.errorElement};return t.Component&&Object.assign(r,{element:e.createElement(t.Component),Component:void 0}),t.ErrorBoundary&&Object.assign(r,{errorElement:e.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),r}function rt(){return rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t{})),e.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const nt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function at(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=rt({},t,{errors:ot(t.errors)})),t}function ot(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new F(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=new Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}e.startTransition;const st="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,it=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,lt=e.forwardRef((function(t,r){let n,{onClick:a,relative:o,reloadDocument:s,replace:i,state:c,target:d,to:u,preventScrollReset:p}=t,f=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(t,nt),{basename:h}=e.useContext(Te),g=!1;if("string"==typeof u&&it.test(u)&&(n=u,st))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),r=M(t.pathname,h);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:g=!0}catch(e){}let b=function(t,r){let{relative:n}=void 0===r?{}:r;Oe()||l(!1);let{basename:a,navigator:o}=e.useContext(Te),{hash:s,pathname:i,search:c}=Fe(t,{relative:n}),d=i;return"/"!==a&&(d="/"===i?a:B([a,i])),o.createHref({pathname:d,search:c,hash:s})}(u,{relative:o}),w=function(t,r){let{target:n,replace:a,state:o,preventScrollReset:s,relative:i}=void 0===r?{}:r,l=je(),c=Be(),d=Fe(t,{relative:i});return e.useCallback((e=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(e,n)){e.preventDefault();let r=void 0!==a?a:m(c)===m(d);l(t,{replace:r,state:o,preventScrollReset:s,relative:i})}}),[c,l,d,a,o,n,t,s,i])}(u,{replace:i,state:c,target:d,preventScrollReset:p,relative:o});return e.createElement("a",rt({},f,{href:n||b,onClick:g||s?a:function(e){a&&a(e),e.defaultPrevented||w(e)},ref:r,target:d}))}));var ct,dt;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(ct||(ct={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(dt||(dt={}));var ut=a(143),mt=a(902);const pt=function(e,t=60){const r=e?.substr(0,t);return r?.length>=t?`${r}...`:r},ft=window.wp.i18n;var ht=a(67),gt=a.n(ht);const bt=window.wp.element,wt=({doc:t})=>{if(!t)return;const r=(0,ut.useSelect)((e=>e(mt.A).getLoading()),[]);return(0,e.createElement)("div",{className:"docs-heading flex justify-between items-center mb-3.5"},(0,e.createElement)("div",{className:"section-heading flex items-center"},(0,e.createElement)("h1",{className:"flex items-center font-medium text-[#111827] text-xl space-x-3 relative z-0"},r?(0,e.createElement)("div",{className:"flex items-center group space-x-4"},(0,e.createElement)("span",{className:"animate-pulse bg-[#94a3b8] rounded h-4 w-56 border-b hover:bg-gray-50"}),(0,e.createElement)("span",{className:"animate-pulse bg-[#cbd5e1] rounded h-4 w-6 border-b hover:bg-gray-50"}),(0,e.createElement)("span",{className:"animate-pulse bg-[#cbd5e1] rounded h-4 w-6 border-b hover:bg-gray-50"})):(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",href:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:"flex tooltip cursor-pointer items-center group hover:text-black !shadow-none before:max-w-xl z-[90] mr-1","data-tip":gt()?.decode((0,ft.__)(t?.title?.rendered?t?.title?.rendered:"","wedocs"))},(0,e.createElement)("span",{className:"group-hover:underline mr-5",dangerouslySetInnerHTML:{__html:pt(t?.title?.rendered,75)}}),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{width:"18",height:"18",fill:"none",className:"group",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",className:"stroke-gray-400 group-hover:stroke-indigo-700",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",className:"group tooltip cursor-pointer",href:t?.link,"data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("svg",{className:"stroke-gray-400 group-hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),"draft"===t?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 !ml-4"},(0,ft.__)("Draft","wedocs"))))))};function vt(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}function xt(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,xt),n}var yt,Et=((yt=Et||{})[yt.None=0]="None",yt[yt.RenderStrategy=1]="RenderStrategy",yt[yt.Static=2]="Static",yt),kt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(kt||{});function Nt({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:s}){let i=At(t,e);if(o)return St(i,r,n,s);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=i;if(e)return St(t,r,n,s)}if(1&l){let{unmount:e=!0,...t}=i;return xt(e?0:1,{0:()=>null,1:()=>St({...t,hidden:!0,style:{display:"none"}},r,n,s)})}return St(i,r,n,s)}function St(t,r={},n,a){let{as:o=n,children:s,refName:i="ref",...l}=It(t,["unmount","static"]),c=void 0!==t.ref?{[i]:t.ref}:{},d="function"==typeof s?s(r):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(r));let u={};if(r){let e=!1,t=[];for(let[n,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(n);e&&(u["data-headlessui-state"]=t.join(" "))}if(o===e.Fragment&&Object.keys(Ct(l)).length>0){if(!(0,e.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let t=d.props,r="function"==typeof(null==t?void 0:t.className)?(...e)=>vt(null==t?void 0:t.className(...e),l.className):vt(null==t?void 0:t.className,l.className),n=r?{className:r}:{};return(0,e.cloneElement)(d,Object.assign({},At(d.props,Ct(It(l,["ref"]))),u,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(d.ref,c.ref),n))}return(0,e.createElement)(o,Object.assign({},It(l,["ref"]),o!==e.Fragment&&c,o!==e.Fragment&&u),d)}function At(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function Dt(t){var r;return Object.assign((0,e.forwardRef)(t),{displayName:null!=(r=t.displayName)?r:t.name})}function Ct(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function It(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let Lt=(0,e.createContext)(null);Lt.displayName="OpenClosedContext";var Tt=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Tt||{});function Mt(){return(0,e.useContext)(Lt)}function Rt({value:t,children:r}){return e.createElement(Lt.Provider,{value:t},r)}var _t=Object.defineProperty,Ot=(e,t,r)=>(((e,t,r)=>{t in e?_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Bt=new class{constructor(){Ot(this,"current",this.detect()),Ot(this,"handoffState","pending"),Ot(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},Pt=(t,r)=>{Bt.isServer?(0,e.useEffect)(t,r):(0,e.useLayoutEffect)(t,r)};function jt(){let t=(0,e.useRef)(!1);return Pt((()=>(t.current=!0,()=>{t.current=!1})),[]),t}function zt(t){let r=(0,e.useRef)(t);return Pt((()=>{r.current=t}),[t]),r}function Ft(){let r=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in t&&t.useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[n,a]=e.useState(Bt.isHandoffComplete);return n&&!1===Bt.isHandoffComplete&&a(!1),e.useEffect((()=>{!0!==n&&a(!0)}),[n]),e.useEffect((()=>Bt.handoff()),[]),!r&&n}let qt=function(t){let r=zt(t);return e.useCallback(((...e)=>r.current(...e)),[r])},Ht=Symbol();function Ut(...t){let r=(0,e.useRef)(t);(0,e.useEffect)((()=>{r.current=t}),[t]);let n=qt((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return t.every((e=>null==e||(null==e?void 0:e[Ht])))?void 0:n}function Wt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Vt(){let e=[],t={addEventListener:(e,r,n,a)=>(e.addEventListener(r,n,a),t.add((()=>e.removeEventListener(r,n,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return Wt((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=Vt();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Gt(e,...t){e&&t.length>0&&e.classList.add(...t)}function Zt(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Yt(){let[t]=(0,e.useState)(Vt);return(0,e.useEffect)((()=>()=>t.dispose()),[t]),t}function Jt({immediate:e,container:t,direction:r,classes:n,onStart:a,onStop:o}){let s=jt(),i=Yt(),l=zt(r);Pt((()=>{e&&(l.current="enter")}),[e]),Pt((()=>{let e=Vt();i.add(e.dispose);let r=t.current;if(r&&"idle"!==l.current&&s.current)return e.dispose(),a.current(l.current),e.add(function(e,t,r,n){let a=r?"enter":"leave",o=Vt(),s=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let i=xt(a,{enter:()=>t.enter,leave:()=>t.leave}),l=xt(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=xt(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Zt(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Gt(e,...t.base,...i,...c),o.nextFrame((()=>{Zt(e,...t.base,...i,...c),Gt(e,...t.base,...i,...l),function(e,t){let r=Vt();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:a}=getComputedStyle(e),[o,s]=[n,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),i=o+s;if(0!==i){r.group((r=>{r.setTimeout((()=>{t(),r.dispose()}),i),r.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&r.dispose()}))}));let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(Zt(e,...t.base,...i),Gt(e,...t.base,...t.entered),s())))})),o.dispose}(r,n.current,"enter"===l.current,(()=>{e.dispose(),o.current(l.current)}))),e.dispose}),[r])}function Qt(t=0){let[r,n]=(0,e.useState)(t),a=jt(),o=(0,e.useCallback)((e=>{a.current&&n((t=>t|e))}),[r,a]),s=(0,e.useCallback)((e=>Boolean(r&e)),[r]),i=(0,e.useCallback)((e=>{a.current&&n((t=>t&~e))}),[n,a]),l=(0,e.useCallback)((e=>{a.current&&n((t=>t^e))}),[n]);return{flags:r,addFlag:o,hasFlag:s,removeFlag:i,toggleFlag:l}}function Xt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let Kt=(0,e.createContext)(null);Kt.displayName="TransitionContext";var $t=(e=>(e.Visible="visible",e.Hidden="hidden",e))($t||{});let er=(0,e.createContext)(null);function tr(e){return"children"in e?tr(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function rr(t,r){let n=zt(t),a=(0,e.useRef)([]),o=jt(),s=Yt(),i=qt(((e,t=kt.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&(xt(t,{[kt.Unmount](){a.current.splice(r,1)},[kt.Hidden](){a.current[r].state="hidden"}}),s.microTask((()=>{var e;!tr(a)&&o.current&&(null==(e=n.current)||e.call(n))})))})),l=qt((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>i(e,kt.Unmount)})),c=(0,e.useRef)([]),d=(0,e.useRef)(Promise.resolve()),u=(0,e.useRef)({enter:[],leave:[],idle:[]}),m=qt(((e,t,n)=>{c.current.splice(0),r&&(r.chains.current[t]=r.chains.current[t].filter((([t])=>t!==e))),null==r||r.chains.current[t].push([e,new Promise((e=>{c.current.push(e)}))]),null==r||r.chains.current[t].push([e,new Promise((e=>{Promise.all(u.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?d.current=d.current.then((()=>null==r?void 0:r.wait.current)).then((()=>n(t))):n(t)})),p=qt(((e,t,r)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>r(t)))}));return(0,e.useMemo)((()=>({children:a,register:l,unregister:i,onStart:m,onStop:p,wait:d,chains:u})),[l,i,a,m,p,u,d])}function nr(){}er.displayName="NestingContext";let ar=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function or(e){var t;let r={};for(let n of ar)r[n]=null!=(t=e[n])?t:nr;return r}let sr=Et.RenderStrategy,ir=Dt((function(t,r){let{show:n,appear:a=!1,unmount:o=!0,...s}=t,i=(0,e.useRef)(null),l=Ut(i,r);Ft();let c=Mt();if(void 0===n&&null!==c&&(n=(c&Tt.Open)===Tt.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[d,u]=(0,e.useState)(n?"visible":"hidden"),m=rr((()=>{u("hidden")})),[p,f]=(0,e.useState)(!0),h=(0,e.useRef)([n]);Pt((()=>{!1!==p&&h.current[h.current.length-1]!==n&&(h.current.push(n),f(!1))}),[h,n]);let g=(0,e.useMemo)((()=>({show:n,appear:a,initial:p})),[n,a,p]);(0,e.useEffect)((()=>{if(n)u("visible");else if(tr(m)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[n,m]);let b={unmount:o},w=qt((()=>{var e;p&&f(!1),null==(e=t.beforeEnter)||e.call(t)})),v=qt((()=>{var e;p&&f(!1),null==(e=t.beforeLeave)||e.call(t)}));return e.createElement(er.Provider,{value:m},e.createElement(Kt.Provider,{value:g},Nt({ourProps:{...b,as:e.Fragment,children:e.createElement(lr,{ref:l,...b,...s,beforeEnter:w,beforeLeave:v})},theirProps:{},defaultTag:e.Fragment,features:sr,visible:"visible"===d,name:"Transition"})))})),lr=Dt((function(t,r){var n,a;let{beforeEnter:o,afterEnter:s,beforeLeave:i,afterLeave:l,enter:c,enterFrom:d,enterTo:u,entered:m,leave:p,leaveFrom:f,leaveTo:h,...g}=t,b=(0,e.useRef)(null),w=Ut(b,r),v=null==(n=g.unmount)||n?kt.Unmount:kt.Hidden,{show:x,appear:y,initial:E}=function(){let t=(0,e.useContext)(Kt);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),[k,N]=(0,e.useState)(x?"visible":"hidden"),S=function(){let t=(0,e.useContext)(er);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),{register:A,unregister:D}=S;(0,e.useEffect)((()=>A(b)),[A,b]),(0,e.useEffect)((()=>{if(v===kt.Hidden&&b.current)return x&&"visible"!==k?void N("visible"):xt(k,{hidden:()=>D(b),visible:()=>A(b)})}),[k,b,A,D,x,v]);let C=zt({base:Xt(g.className),enter:Xt(c),enterFrom:Xt(d),enterTo:Xt(u),entered:Xt(m),leave:Xt(p),leaveFrom:Xt(f),leaveTo:Xt(h)}),I=function(t){let r=(0,e.useRef)(or(t));return(0,e.useEffect)((()=>{r.current=or(t)}),[t]),r}({beforeEnter:o,afterEnter:s,beforeLeave:i,afterLeave:l}),L=Ft();(0,e.useEffect)((()=>{if(L&&"visible"===k&&null===b.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[b,k,L]);let T=y&&x&&E,M=!L||E&&!y?"idle":x?"enter":"leave",R=Qt(0),_=qt((e=>xt(e,{enter:()=>{R.addFlag(Tt.Opening),I.current.beforeEnter()},leave:()=>{R.addFlag(Tt.Closing),I.current.beforeLeave()},idle:()=>{}}))),O=qt((e=>xt(e,{enter:()=>{R.removeFlag(Tt.Opening),I.current.afterEnter()},leave:()=>{R.removeFlag(Tt.Closing),I.current.afterLeave()},idle:()=>{}}))),B=rr((()=>{N("hidden"),D(b)}),S);Jt({immediate:T,container:b,classes:C,direction:M,onStart:zt((e=>{B.onStart(b,e,_)})),onStop:zt((e=>{B.onStop(b,e,O),"leave"===e&&!tr(B)&&(N("hidden"),D(b))}))});let P=g,j={ref:w};return T?P={...P,className:vt(g.className,...C.current.enter,...C.current.enterFrom)}:(P.className=vt(g.className,null==(a=b.current)?void 0:a.className),""===P.className&&delete P.className),e.createElement(er.Provider,{value:B},e.createElement(Rt,{value:xt(k,{visible:Tt.Open,hidden:Tt.Closed})|R.flags},Nt({ourProps:j,theirProps:P,defaultTag:"div",features:sr,visible:"visible"===k,name:"Transition.Child"})))})),cr=Dt((function(t,r){let n=null!==(0,e.useContext)(Kt),a=null!==Mt();return e.createElement(e.Fragment,null,!n&&a?e.createElement(ir,{ref:r,...t}):e.createElement(lr,{ref:r,...t}))})),dr=Object.assign(ir,{Child:cr,Root:ir});var ur,mr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(mr||{});function pr(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}let fr=null!=(ur=e.useId)?ur:function(){let t=Ft(),[r,n]=e.useState(t?()=>Bt.nextId():null);return Pt((()=>{null===r&&n(Bt.nextId())}),[r]),null!=r?""+r:void 0};var hr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(hr||{});let gr=Dt((function(e,t){let{features:r=1,...n}=e;return Nt({ourProps:{ref:t,"aria-hidden":!(2&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}},theirProps:n,slot:{},defaultTag:"div",name:"Hidden"})}));function br(e){return Bt.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let wr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var vr,xr,yr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(yr||{}),Er=((xr=Er||{})[xr.Error=0]="Error",xr[xr.Overflow=1]="Overflow",xr[xr.Success=2]="Success",xr[xr.Underflow=3]="Underflow",xr),kr=((vr=kr||{})[vr.Previous=-1]="Previous",vr[vr.Next=1]="Next",vr);var Nr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Nr||{});function Sr(e,t=0){var r;return e!==(null==(r=br(e))?void 0:r.body)&&xt(t,{0:()=>e.matches(wr),1(){let t=e;for(;null!==t;){if(t.matches(wr))return!0;t=t.parentElement}return!1}})}var Ar=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ar||{});function Dr(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let Cr=["textarea","input"].join(",");function Ir(e,t=e=>e){return e.slice().sort(((e,r)=>{let n=t(e),a=t(r);if(null===n||null===a)return 0;let o=n.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Lr(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?Ir(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(wr)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:o.activeElement;let i,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},u=0,m=s.length;do{if(u>=m||u+m<=0)return 0;let e=c+u;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}i=s[e],null==i||i.focus(d),u+=l}while(i!==o.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,Cr))&&r}(i)&&i.select(),2}function Tr(t,r,n){let a=zt(r);(0,e.useEffect)((()=>{function e(e){a.current(e)}return window.addEventListener(t,e,n),()=>window.removeEventListener(t,e,n)}),[t,n])}var Mr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Mr||{});function Rr(...t){return(0,e.useMemo)((()=>br(...t)),[...t])}function _r(t,r,n,a){let o=zt(n);(0,e.useEffect)((()=>{function e(e){o.current(e)}return(t=null!=t?t:window).addEventListener(r,e,a),()=>t.removeEventListener(r,e,a)}),[t,r,a])}function Or(t,r){let n=(0,e.useRef)([]),a=qt(t);(0,e.useEffect)((()=>{let e=[...n.current];for(let[t,o]of r.entries())if(n.current[t]!==o){let t=a(r,e);return n.current=r,t}}),[a,...r])}function Br(t){let r=qt(t),n=(0,e.useRef)(!1);(0,e.useEffect)((()=>(n.current=!1,()=>{n.current=!0,Wt((()=>{n.current&&r()}))})),[r])}function Pr(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}var jr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(jr||{});let zr=Dt((function(t,r){let n=(0,e.useRef)(null),a=Ut(n,r),{initialFocus:o,containers:s,features:i=30,...l}=t;Ft()||(i=1);let c=Rr(n);!function({ownerDocument:t},r){let n=function(t=!0){let r=(0,e.useRef)(qr.slice());return Or((([e],[t])=>{!0===t&&!1===e&&Wt((()=>{r.current.splice(0)})),!1===t&&!0===e&&(r.current=qr.slice())}),[t,qr,r]),qt((()=>{var e;return null!=(e=r.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);Or((()=>{r||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&Dr(n())}),[r]),Br((()=>{r&&Dr(n())}))}({ownerDocument:c},Boolean(16&i));let d=function({ownerDocument:t,container:r,initialFocus:n},a){let o=(0,e.useRef)(null),s=jt();return Or((()=>{if(!a)return;let e=r.current;e&&Wt((()=>{if(!s.current)return;let r=null==t?void 0:t.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(o.current=r)}else if(e.contains(r))return void(o.current=r);null!=n&&n.current?Dr(n.current):Lr(e,yr.First)===Er.Error&&console.warn("There are no focusable elements inside the "),o.current=null==t?void 0:t.activeElement}))}),[a]),o}({ownerDocument:c,container:n,initialFocus:o},Boolean(2&i));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){let o=jt();_r(null==e?void 0:e.defaultView,"focus",(e=>{if(!a||!o.current)return;let s=Pr(r);t.current instanceof HTMLElement&&s.add(t.current);let i=n.current;if(!i)return;let l=e.target;l&&l instanceof HTMLElement?Hr(s,l)?(n.current=l,Dr(l)):(e.preventDefault(),e.stopPropagation(),Dr(i)):Dr(n.current)}),!0)}({ownerDocument:c,container:n,containers:s,previousActiveElement:d},Boolean(8&i));let u=function(){let t=(0,e.useRef)(0);return Tr("keydown",(e=>{"Tab"===e.key&&(t.current=e.shiftKey?1:0)}),!0),t}(),m=qt((e=>{let t=n.current;t&&xt(u.current,{[Mr.Forwards]:()=>{Lr(t,yr.First,{skipElements:[e.relatedTarget]})},[Mr.Backwards]:()=>{Lr(t,yr.Last,{skipElements:[e.relatedTarget]})}})})),p=Yt(),f=(0,e.useRef)(!1),h={ref:a,onKeyDown(e){"Tab"==e.key&&(f.current=!0,p.requestAnimationFrame((()=>{f.current=!1})))},onBlur(e){let t=Pr(s);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Hr(t,r)||(f.current?Lr(n.current,xt(u.current,{[Mr.Forwards]:()=>yr.Next,[Mr.Backwards]:()=>yr.Previous})|yr.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Dr(e.target)))}};return e.createElement(e.Fragment,null,Boolean(4&i)&&e.createElement(gr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:hr.Focusable}),Nt({ourProps:h,theirProps:l,defaultTag:"div",name:"FocusTrap"}),Boolean(4&i)&&e.createElement(gr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:hr.Focusable}))})),Fr=Object.assign(zr,{features:jr}),qr=[];function Hr(e,t){for(let r of e)if(r.contains(t))return!0;return!1}!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&qr[0]!==e.target&&(qr.unshift(e.target),qr=qr.filter((e=>null!=e&&e.isConnected)),qr.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();const Ur=window.ReactDOM;let Wr=(0,e.createContext)(!1);function Vr(){return(0,e.useContext)(Wr)}function Gr(t){return e.createElement(Wr.Provider,{value:t.force},t.children)}let Zr=e.Fragment,Yr=e.Fragment,Jr=(0,e.createContext)(null),Qr=(0,e.createContext)(null),Xr=Dt((function(t,r){let n=t,a=(0,e.useRef)(null),o=Ut(function(e,t=!0){return Object.assign(e,{[Ht]:t})}((e=>{a.current=e})),r),s=Rr(a),i=function(t){let r=Vr(),n=(0,e.useContext)(Jr),a=Rr(t),[o,s]=(0,e.useState)((()=>{if(!r&&null!==n||Bt.isServer)return null;let e=null==a?void 0:a.getElementById("headlessui-portal-root");if(e)return e;if(null===a)return null;let t=a.createElement("div");return t.setAttribute("id","headlessui-portal-root"),a.body.appendChild(t)}));return(0,e.useEffect)((()=>{null!==o&&(null!=a&&a.body.contains(o)||null==a||a.body.appendChild(o))}),[o,a]),(0,e.useEffect)((()=>{r||null!==n&&s(n.current)}),[n,s,r]),o}(a),[l]=(0,e.useState)((()=>{var e;return Bt.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),c=(0,e.useContext)(Qr),d=Ft();return Pt((()=>{!i||!l||i.contains(l)||(l.setAttribute("data-headlessui-portal",""),i.appendChild(l))}),[i,l]),Pt((()=>{if(l&&c)return c.register(l)}),[c,l]),Br((()=>{var e;!i||!l||(l instanceof Node&&i.contains(l)&&i.removeChild(l),i.childNodes.length<=0&&(null==(e=i.parentElement)||e.removeChild(i)))})),d&&i&&l?(0,Ur.createPortal)(Nt({ourProps:{ref:o},theirProps:n,defaultTag:Zr,name:"Portal"}),l):null})),Kr=Dt((function(t,r){let{target:n,...a}=t,o={ref:Ut(r)};return e.createElement(Jr.Provider,{value:n},Nt({ourProps:o,theirProps:a,defaultTag:Yr,name:"Popover.Group"}))})),$r=Object.assign(Xr,{Group:Kr}),en=(0,e.createContext)(null);function tn(){let t=(0,e.useContext)(en);if(null===t){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,tn),e}return t}function rn(){let[t,r]=(0,e.useState)([]);return[t.length>0?t.join(" "):void 0,(0,e.useMemo)((()=>function(t){let n=qt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),a=(0,e.useMemo)((()=>({register:n,slot:t.slot,name:t.name,props:t.props})),[n,t.slot,t.name,t.props]);return e.createElement(en.Provider,{value:a},t.children)}),[r])]}let nn=Dt((function(e,t){let r=fr(),{id:n=`headlessui-description-${r}`,...a}=e,o=tn(),s=Ut(t);return Pt((()=>o.register(n)),[n,o.register]),Nt({ourProps:{ref:s,...o.props,id:n},theirProps:a,slot:o.slot||{},defaultTag:"p",name:o.name||"Description"})})),an=Object.assign(nn,{}),on=(0,e.createContext)((()=>{}));on.displayName="StackContext";var sn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(sn||{});function ln({children:t,onUpdate:r,type:n,element:a,enabled:o}){let s=(0,e.useContext)(on),i=qt(((...e)=>{null==r||r(...e),s(...e)}));return Pt((()=>{let e=void 0===o||!0===o;return e&&i(0,n,a),()=>{e&&i(1,n,a)}}),[i,n,a,o]),e.createElement(on.Provider,{value:i},t)}function cn(t,r,n){let a=zt(r);(0,e.useEffect)((()=>{function e(e){a.current(e)}return document.addEventListener(t,e,n),()=>document.removeEventListener(t,e,n)}),[t,n])}function dn(t,r,n=!0){let a=(0,e.useRef)(!1);function o(e,n){if(!a.current||e.defaultPrevented)return;let o=n(e);if(null===o||!o.getRootNode().contains(o)||!o.isConnected)return;let s=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of s){if(null===t)continue;let r=t instanceof HTMLElement?t:t.current;if(null!=r&&r.contains(o)||e.composed&&e.composedPath().includes(r))return}return!Sr(o,Nr.Loose)&&-1!==o.tabIndex&&e.preventDefault(),r(e,o)}(0,e.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let s=(0,e.useRef)(null);cn("pointerdown",(e=>{var t,r;a.current&&(s.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),cn("mousedown",(e=>{var t,r;a.current&&(s.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),cn("click",(e=>{s.current&&(o(e,(()=>s.current)),s.current=null)}),!0),cn("touchend",(e=>o(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),Tr("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}const un="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:mn,useEffect:pn,useLayoutEffect:fn,useDebugValue:hn}=t;function gn(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!un(r,e)}catch{return!0}}const bn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,r){return t()}:function(e,t,r){const n=t(),[{inst:a},o]=mn({inst:{value:n,getSnapshot:t}});return fn((()=>{a.value=n,a.getSnapshot=t,gn(a)&&o({inst:a})}),[e,n,t]),pn((()=>(gn(a)&&o({inst:a}),e((()=>{gn(a)&&o({inst:a})})))),[e]),hn(n),n},wn="useSyncExternalStore"in t?(e=>e.useSyncExternalStore)(t):bn;function vn(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,a=n.clientWidth-n.offsetWidth,o=e-a;r.style(n,"paddingRight",`${o}px`)}}}function xn(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function yn(){if(!xn())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:n}){function a(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}r.microTask((()=>{if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=Vt();e.style(t.documentElement,"scroll-behavior","auto"),r.add((()=>r.microTask((()=>e.dispose()))))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let n=null;r.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:o}=new URL(r.href),s=t.querySelector(o);s&&!a(s)&&(n=s)}catch{}}),!0),r.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!a(e.target)&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+e),n&&n.isConnected&&(n.scrollIntoView({block:"nearest"}),n=null)}))}))}}}function En(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let kn=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...a){let o=t[e].call(r,...a);o&&(r=o,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:Vt(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:En(r)},a=[yn(),vn(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(n))),a.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});kn.subscribe((()=>{let e=kn.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&kn.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&kn.dispatch("TEARDOWN",r)}}));let Nn=new Map,Sn=new Map;function An(e,t=!0){Pt((()=>{var r;if(!t)return;let n="function"==typeof e?e():e.current;if(!n)return;let a=null!=(r=Sn.get(n))?r:0;return Sn.set(n,a+1),0!==a||(Nn.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0),function(){var e;if(!n)return;let t=null!=(e=Sn.get(n))?e:1;if(1===t?Sn.delete(n):Sn.set(n,t-1),1!==t)return;let r=Nn.get(n);r&&(null===r["aria-hidden"]?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",r["aria-hidden"]),n.inert=r.inert,Nn.delete(n))}}),[e,t])}var Dn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Dn||{}),Cn=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Cn||{});let In={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Ln=(0,e.createContext)(null);function Tn(t){let r=(0,e.useContext)(Ln);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Tn),e}return r}function Mn(e,t){return xt(t.type,In,e,t)}Ln.displayName="DialogContext";let Rn=Et.RenderStrategy|Et.Static,On=Dt((function(t,r){var n;let a=fr(),{id:o=`headlessui-dialog-${a}`,open:s,onClose:i,initialFocus:l,__demoMode:c=!1,...d}=t,[u,m]=(0,e.useState)(0),p=Mt();void 0===s&&null!==p&&(s=(p&Tt.Open)===Tt.Open);let f=(0,e.useRef)(null),h=Ut(f,r),g=Rr(f),b=t.hasOwnProperty("open")||null!==p,w=t.hasOwnProperty("onClose");if(!b&&!w)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!b)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!w)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof s)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);if("function"!=typeof i)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);let v=s?0:1,[x,y]=(0,e.useReducer)(Mn,{titleId:null,descriptionId:null,panelRef:(0,e.createRef)()}),E=qt((()=>i(!1))),k=qt((e=>y({type:0,id:e}))),N=!!Ft()&&!c&&0===v,S=u>1,A=null!==(0,e.useContext)(Ln),[D,C]=function(){let t=(0,e.useContext)(Qr),r=(0,e.useRef)([]),n=qt((e=>(r.current.push(e),t&&t.register(e),()=>a(e)))),a=qt((e=>{let n=r.current.indexOf(e);-1!==n&&r.current.splice(n,1),t&&t.unregister(e)})),o=(0,e.useMemo)((()=>({register:n,unregister:a,portals:r})),[n,a,r]);return[r,(0,e.useMemo)((()=>function({children:t}){return e.createElement(Qr.Provider,{value:o},t)}),[o])]}(),{resolveContainers:I,mainTreeNodeRef:L,MainTreeNode:T}=function({defaultContainers:t=[],portals:r,mainTreeNodeRef:n}={}){var a;let o=(0,e.useRef)(null!=(a=null==n?void 0:n.current)?a:null),s=Rr(o),i=qt((()=>{var e;let n=[];for(let e of t)null!==e&&(e instanceof HTMLElement?n.push(e):"current"in e&&e.current instanceof HTMLElement&&n.push(e.current));if(null!=r&&r.current)for(let e of r.current)n.push(e);for(let t of null!=(e=null==s?void 0:s.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(o.current)||n.some((e=>t.contains(e)))||n.push(t));return n}));return{resolveContainers:i,contains:qt((e=>i().some((t=>t.contains(e))))),mainTreeNodeRef:o,MainTreeNode:(0,e.useMemo)((()=>function(){return null!=n?null:e.createElement(gr,{features:hr.Hidden,ref:o})}),[o,n])}}({portals:D,defaultContainers:[null!=(n=x.panelRef.current)?n:f.current]}),M=S?"parent":"leaf",R=null!==p&&(p&Tt.Closing)===Tt.Closing,_=!A&&!R&&N,O=(0,e.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==g?void 0:g.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(L.current)&&e instanceof HTMLElement)))?t:null}),[L]);An(O,_);let B=!!S||N,P=(0,e.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==g?void 0:g.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(L.current)&&e instanceof HTMLElement)))?t:null}),[L]);An(P,B),dn(I,E,!(!N||S));let j=!(S||0!==v);_r(null==g?void 0:g.defaultView,"keydown",(e=>{j&&(e.defaultPrevented||e.key===mr.Escape&&(e.preventDefault(),e.stopPropagation(),E()))})),function(e,t,r=()=>[document.body]){!function(e,t,r){let n=function(e){return wn(e.subscribe,e.getSnapshot,e.getSnapshot)}(kn),a=e?n.get(e):void 0,o=!!a&&a.count>0;Pt((()=>{if(e&&t)return kn.dispatch("PUSH",e,r),()=>kn.dispatch("POP",e,r)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}(g,!(R||0!==v||A),I),(0,e.useEffect)((()=>{if(0!==v||!f.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&E()}}));return e.observe(f.current),()=>e.disconnect()}),[v,f,E]);let[z,F]=rn(),q=(0,e.useMemo)((()=>[{dialogState:v,close:E,setTitleId:k},x]),[v,x,E,k]),H=(0,e.useMemo)((()=>({open:0===v})),[v]),U={ref:h,id:o,role:"dialog","aria-modal":0===v||void 0,"aria-labelledby":x.titleId,"aria-describedby":z};return e.createElement(ln,{type:"Dialog",enabled:0===v,element:f,onUpdate:qt(((e,t)=>{"Dialog"===t&&xt(e,{[sn.Add]:()=>m((e=>e+1)),[sn.Remove]:()=>m((e=>e-1))})}))},e.createElement(Gr,{force:!0},e.createElement($r,null,e.createElement(Ln.Provider,{value:q},e.createElement($r.Group,{target:f},e.createElement(Gr,{force:!1},e.createElement(F,{slot:H,name:"Dialog.Description"},e.createElement(Fr,{initialFocus:l,containers:I,features:N?xt(M,{parent:Fr.features.RestoreFocus,leaf:Fr.features.All&~Fr.features.FocusLock}):Fr.features.None},e.createElement(C,null,Nt({ourProps:U,theirProps:d,slot:H,defaultTag:"div",features:Rn,visible:0===v,name:"Dialog"}))))))))),e.createElement(T,null))})),Bn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-backdrop-${n}`,...o}=t,[{dialogState:s},i]=Tn("Dialog.Backdrop"),l=Ut(r);(0,e.useEffect)((()=>{if(null===i.panelRef.current)throw new Error("A component is being used, but a component is missing.")}),[i.panelRef]);let c=(0,e.useMemo)((()=>({open:0===s})),[s]);return e.createElement(Gr,{force:!0},e.createElement($r,null,Nt({ourProps:{ref:l,id:a,"aria-hidden":!0},theirProps:o,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))})),Pn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-panel-${n}`,...o}=t,[{dialogState:s},i]=Tn("Dialog.Panel"),l=Ut(r,i.panelRef),c=(0,e.useMemo)((()=>({open:0===s})),[s]);return Nt({ourProps:{ref:l,id:a,onClick:qt((e=>{e.stopPropagation()}))},theirProps:o,slot:c,defaultTag:"div",name:"Dialog.Panel"})})),jn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-overlay-${n}`,...o}=t,[{dialogState:s,close:i}]=Tn("Dialog.Overlay");return Nt({ourProps:{ref:Ut(r),id:a,"aria-hidden":!0,onClick:qt((e=>{if(e.target===e.currentTarget){if(pr(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),i()}}))},theirProps:o,slot:(0,e.useMemo)((()=>({open:0===s})),[s]),defaultTag:"div",name:"Dialog.Overlay"})})),zn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-title-${n}`,...o}=t,[{dialogState:s,setTitleId:i}]=Tn("Dialog.Title"),l=Ut(r);(0,e.useEffect)((()=>(i(a),()=>i(null))),[a,i]);let c=(0,e.useMemo)((()=>({open:0===s})),[s]);return Nt({ourProps:{ref:l,id:a},theirProps:o,slot:c,defaultTag:"h2",name:"Dialog.Title"})})),Fn=Object.assign(On,{Backdrop:Bn,Panel:Pn,Overlay:jn,Title:zn,Description:an});var qn=a(465),Hn=a.n(qn);const Un=({classes:t,children:r,docId:n,type:a})=>{const[o,s]=(0,bt.useState)(!1),[i,l]=(0,bt.useState)(!1);return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{onClick:()=>{s(!0)},className:t},r),(0,e.createElement)(dr,{appear:!0,show:o,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:()=>s(!1)},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-[512px] transform overflow-hidden rounded-2xl bg-white py-6 px-9 align-middle shadow-xl transition-all"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"18",fill:"none",className:"text-red-600"},(0,e.createElement)("path",{d:"M10 7v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L11.732 2C10.962.667 9.037.667 8.268 2L1.339 14c-.77 1.333.192 3 1.732 3z",stroke:"#dc2626",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-medium text-gray-900 mb-2"},(0,ft.__)("Are you sure you want to delete this ","wedocs")+a+"?"),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Deleting it means it will be permanently lost, and you won't be able to retrieve it again.","wedocs")),(0,e.createElement)("div",{className:"mt-6 space-x-3.5 text-right"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:()=>s(!1)},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("button",{className:"bg-red-600 hover:bg-red-700 text-white font-medium text-base py-2 px-5 rounded-md",onClick:()=>{const e=a.charAt(0).toUpperCase()+a.slice(1);l(!0),(0,ut.dispatch)("wedocs/docs").deleteDoc(n).then((t=>{Hn().fire({title:e+(0,ft.__)(" deleted!","wedocs"),text:e+(0,ft.__)(" has been deleted successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3,customClass:{container:"!z-[9999]"}}),s(!1)})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3,customClass:{container:"!z-[9999]"}})})).finally((()=>l(!1)))},disabled:i},i?(0,ft.__)("Removing...","wedocs"):(0,ft.__)("I'm sure","wedocs"))))))))))))},Wn=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),Vn=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M10 3a.75.75 0 01.55.24l3.25 3.5a.75.75 0 11-1.1 1.02L10 4.852 7.3 7.76a.75.75 0 01-1.1-1.02l3.25-3.5A.75.75 0 0110 3zm-3.76 9.2a.75.75 0 011.06.04l2.7 2.908 2.7-2.908a.75.75 0 111.1 1.02l-3.25 3.5a.75.75 0 01-1.1 0l-3.25-3.5a.75.75 0 01.04-1.06z",clipRule:"evenodd"}))})),Gn=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z",clipRule:"evenodd"}))}));function Zn(t,r){let[n,a]=(0,e.useState)(t),o=zt(t);return Pt((()=>a(o.current)),[o,a,...r]),n}function Yn(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Jn(t,r){let[n,a]=(0,e.useState)((()=>Yn(t)));return Pt((()=>{a(Yn(t))}),[t.type,t.as]),Pt((()=>{n||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&a("button")}),[n,r]),n}function Qn({container:t,accept:r,walk:n,enabled:a=!0}){let o=(0,e.useRef)(r),s=(0,e.useRef)(n);(0,e.useEffect)((()=>{o.current=r,s.current=n}),[r,n]),Pt((()=>{if(!t||!a)return;let e=br(t);if(!e)return;let r=o.current,n=s.current,i=Object.assign((e=>r(e)),{acceptNode:r}),l=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)n(l.currentNode)}),[t,a,o,s])}var Xn=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Xn||{});function Kn(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1,o=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==a&&n.length-r-1>=a||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=a||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?n:o}function $n(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))ta(r,ea(t,n),a);return r}function ea(e,t){return e?e+"["+t+"]":t}function ta(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())ta(e,ea(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):$n(r,t,e)}function ra(e){var t,r;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(r=n.requestSubmit)||r.call(n)}}function na(t,r,n){let[a,o]=(0,e.useState)(n),s=void 0!==t,i=(0,e.useRef)(s),l=(0,e.useRef)(!1),c=(0,e.useRef)(!1);return!s||i.current||l.current?!s&&i.current&&!c.current&&(c.current=!0,i.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,i.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?t:a,qt((e=>(s||o(e),null==r?void 0:r(e))))]}function aa(e){return[e.screenX,e.screenY]}function oa(){let t=(0,e.useRef)([-1,-1]);return{wasMoved(e){let r=aa(e);return(t.current[0]!==r[0]||t.current[1]!==r[1])&&(t.current=r,!0)},update(e){t.current=aa(e)}}}var sa=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(sa||{}),ia=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ia||{}),la=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(la||{}),ca=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(ca||{});function da(e,t=e=>e){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,n=Ir(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),a=r?n.indexOf(r):null;return-1===a&&(a=null),{options:n,activeOptionIndex:a}}let ua={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let r=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,n=e.options.findIndex((e=>t(e.dataRef.current.value)));-1!==n&&(r=n)}return{...e,comboboxState:0,activeOptionIndex:r}},2(e,t){var r,n,a,o;if(null!=(r=e.dataRef.current)&&r.disabled||null!=(n=e.dataRef.current)&&n.optionsRef.current&&(null==(a=e.dataRef.current)||!a.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let s=da(e);if(null===s.activeOptionIndex){let e=s.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(s.activeOptionIndex=e)}let i=Kn(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...s,activeOptionIndex:i,activationTrigger:null!=(o=t.trigger)?o:1}},3:(e,t)=>{var r,n;let a={id:t.id,dataRef:t.dataRef},o=da(e,(e=>[...e,a]));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(a));let s={...e,...o,activationTrigger:1};return null!=(n=e.dataRef.current)&&n.__demoMode&&void 0===e.dataRef.current.value&&(s.activeOptionIndex=0),s},4:(e,t)=>{let r=da(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},ma=(0,e.createContext)(null);function pa(t){let r=(0,e.useContext)(ma);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,pa),e}return r}ma.displayName="ComboboxActionsContext";let fa=(0,e.createContext)(null);function ha(t){let r=(0,e.useContext)(fa);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,ha),e}return r}function ga(e,t){return xt(t.type,ua,e,t)}fa.displayName="ComboboxDataContext";let ba=e.Fragment,wa=Et.RenderStrategy|Et.Static,va=Dt((function(t,r){let{value:n,defaultValue:a,onChange:o,form:s,name:i,by:l=(e,t)=>e===t,disabled:c=!1,__demoMode:d=!1,nullable:u=!1,multiple:m=!1,...p}=t,[f=(m?[]:void 0),h]=na(n,o,a),[g,b]=(0,e.useReducer)(ga,{dataRef:(0,e.createRef)(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),w=(0,e.useRef)(!1),v=(0,e.useRef)({static:!1,hold:!1}),x=(0,e.useRef)(null),y=(0,e.useRef)(null),E=(0,e.useRef)(null),k=(0,e.useRef)(null),N=qt("string"==typeof l?(e,t)=>{let r=l;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:l),S=(0,e.useCallback)((e=>xt(A.mode,{1:()=>f.some((t=>N(t,e))),0:()=>N(f,e)})),[f]),A=(0,e.useMemo)((()=>({...g,optionsPropsRef:v,labelRef:x,inputRef:y,buttonRef:E,optionsRef:k,value:f,defaultValue:a,disabled:c,mode:m?1:0,get activeOptionIndex(){if(w.current&&null===g.activeOptionIndex&&g.options.length>0){let e=g.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return g.activeOptionIndex},compare:N,isSelected:S,nullable:u,__demoMode:d})),[f,a,c,m,u,d,g]),D=(0,e.useRef)(null!==A.activeOptionIndex?A.options[A.activeOptionIndex]:null);(0,e.useEffect)((()=>{let e=null!==A.activeOptionIndex?A.options[A.activeOptionIndex]:null;D.current!==e&&(D.current=e)})),Pt((()=>{g.dataRef.current=A}),[A]),dn([A.buttonRef,A.inputRef,A.optionsRef],(()=>P.closeCombobox()),0===A.comboboxState);let C=(0,e.useMemo)((()=>({open:0===A.comboboxState,disabled:c,activeIndex:A.activeOptionIndex,activeOption:null===A.activeOptionIndex?null:A.options[A.activeOptionIndex].dataRef.current.value,value:f})),[A,c,f]),I=qt((e=>{let t=A.options.find((t=>t.id===e));t&&B(t.dataRef.current.value)})),L=qt((()=>{if(null!==A.activeOptionIndex){let{dataRef:e,id:t}=A.options[A.activeOptionIndex];B(e.current.value),P.goToOption(Xn.Specific,t)}})),T=qt((()=>{b({type:0}),w.current=!0})),M=qt((()=>{b({type:1}),w.current=!1})),R=qt(((e,t,r)=>(w.current=!1,e===Xn.Specific?b({type:2,focus:Xn.Specific,id:t,trigger:r}):b({type:2,focus:e,trigger:r})))),_=qt(((e,t)=>(b({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=D.current)?void 0:t.id)===e&&(w.current=!0),b({type:4,id:e})}))),O=qt((e=>(b({type:5,id:e}),()=>b({type:5,id:null})))),B=qt((e=>xt(A.mode,{0:()=>null==h?void 0:h(e),1(){let t=A.value.slice(),r=t.findIndex((t=>N(t,e)));return-1===r?t.push(e):t.splice(r,1),null==h?void 0:h(t)}}))),P=(0,e.useMemo)((()=>({onChange:B,registerOption:_,registerLabel:O,goToOption:R,closeCombobox:M,openCombobox:T,selectActiveOption:L,selectOption:I})),[]),j=null===r?{}:{ref:r},z=(0,e.useRef)(null),F=Yt();return(0,e.useEffect)((()=>{z.current&&void 0!==a&&F.addEventListener(z.current,"reset",(()=>{null==h||h(a)}))}),[z,h]),e.createElement(ma.Provider,{value:P},e.createElement(fa.Provider,{value:A},e.createElement(Rt,{value:xt(A.comboboxState,{0:Tt.Open,1:Tt.Closed})},null!=i&&null!=f&&$n({[i]:f}).map((([t,r],n)=>e.createElement(gr,{features:hr.Hidden,ref:0===n?e=>{var t;z.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ct({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,name:t,value:r})}))),Nt({ourProps:j,theirProps:p,slot:C,defaultTag:ba,name:"Combobox"}))))})),xa=Dt((function(t,r){var n;let a=ha("Combobox.Button"),o=pa("Combobox.Button"),s=Ut(a.buttonRef,r),i=fr(),{id:l=`headlessui-combobox-button-${i}`,...c}=t,d=Yt(),u=qt((e=>{switch(e.key){case mr.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&o.openCombobox(),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case mr.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&(o.openCombobox(),d.nextFrame((()=>{a.value||o.goToOption(Xn.Last)}))),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case mr.Escape:return 0!==a.comboboxState?void 0:(e.preventDefault(),a.optionsRef.current&&!a.optionsPropsRef.current.static&&e.stopPropagation(),o.closeCombobox(),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),m=qt((e=>{if(pr(e.currentTarget))return e.preventDefault();0===a.comboboxState?o.closeCombobox():(e.preventDefault(),o.openCombobox()),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),p=Zn((()=>{if(a.labelId)return[a.labelId,l].join(" ")}),[a.labelId,l]),f=(0,e.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value})),[a]);return Nt({ourProps:{ref:s,id:l,type:Jn(t,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=a.optionsRef.current)?void 0:n.id,"aria-expanded":0===a.comboboxState,"aria-labelledby":p,disabled:a.disabled,onClick:m,onKeyDown:u},theirProps:c,slot:f,defaultTag:"button",name:"Combobox.Button"})})),ya=Dt((function(t,r){var n,a,o,s;let i=fr(),{id:l=`headlessui-combobox-input-${i}`,onChange:c,displayValue:d,type:u="text",...m}=t,p=ha("Combobox.Input"),f=pa("Combobox.Input"),h=Ut(p.inputRef,r),g=Rr(p.inputRef),b=(0,e.useRef)(!1),w=Yt(),v=qt((()=>{f.onChange(null),p.optionsRef.current&&(p.optionsRef.current.scrollTop=0),f.goToOption(Xn.Nothing)}));var x;Or((([e,t],[r,n])=>{if(b.current)return;let a=p.inputRef.current;a&&((0===n&&1===t||e!==r)&&(a.value=e),requestAnimationFrame((()=>{if(b.current||!a||(null==g?void 0:g.activeElement)!==a)return;let{selectionStart:e,selectionEnd:t}=a;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&a.setSelectionRange(a.value.length,a.value.length)})))}),["function"==typeof d&&void 0!==p.value?null!=(x=d(p.value))?x:"":"string"==typeof p.value?p.value:"",p.comboboxState,g]),Or((([e],[t])=>{if(0===e&&1===t){if(b.current)return;let e=p.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:n,selectionDirection:a}=e;e.value="",e.value=t,null!==a?e.setSelectionRange(r,n,a):e.setSelectionRange(r,n)}}),[p.comboboxState]);let y=(0,e.useRef)(!1),E=qt((()=>{y.current=!0})),k=qt((()=>{w.nextFrame((()=>{y.current=!1}))})),N=qt((e=>{switch(b.current=!0,e.key){case mr.Enter:if(b.current=!1,0!==p.comboboxState||y.current)return;if(e.preventDefault(),e.stopPropagation(),null===p.activeOptionIndex)return void f.closeCombobox();f.selectActiveOption(),0===p.mode&&f.closeCombobox();break;case mr.ArrowDown:return b.current=!1,e.preventDefault(),e.stopPropagation(),xt(p.comboboxState,{0:()=>{f.goToOption(Xn.Next)},1:()=>{f.openCombobox()}});case mr.ArrowUp:return b.current=!1,e.preventDefault(),e.stopPropagation(),xt(p.comboboxState,{0:()=>{f.goToOption(Xn.Previous)},1:()=>{f.openCombobox(),w.nextFrame((()=>{p.value||f.goToOption(Xn.Last)}))}});case mr.Home:if(e.shiftKey)break;return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.First);case mr.PageUp:return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.First);case mr.End:if(e.shiftKey)break;return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.Last);case mr.PageDown:return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.Last);case mr.Escape:return b.current=!1,0!==p.comboboxState?void 0:(e.preventDefault(),p.optionsRef.current&&!p.optionsPropsRef.current.static&&e.stopPropagation(),p.nullable&&0===p.mode&&null===p.value&&v(),f.closeCombobox());case mr.Tab:if(b.current=!1,0!==p.comboboxState)return;0===p.mode&&f.selectActiveOption(),f.closeCombobox()}})),S=qt((e=>{null==c||c(e),p.nullable&&0===p.mode&&""===e.target.value&&v(),f.openCombobox()})),A=qt((()=>{b.current=!1})),D=Zn((()=>{if(p.labelId)return[p.labelId].join(" ")}),[p.labelId]),C=(0,e.useMemo)((()=>({open:0===p.comboboxState,disabled:p.disabled})),[p]);return Nt({ourProps:{ref:h,id:l,role:"combobox",type:u,"aria-controls":null==(n=p.optionsRef.current)?void 0:n.id,"aria-expanded":0===p.comboboxState,"aria-activedescendant":null===p.activeOptionIndex||null==(a=p.options[p.activeOptionIndex])?void 0:a.id,"aria-labelledby":D,"aria-autocomplete":"list",defaultValue:null!=(s=null!=(o=t.defaultValue)?o:void 0!==p.defaultValue?null==d?void 0:d(p.defaultValue):null)?s:p.defaultValue,disabled:p.disabled,onCompositionStart:E,onCompositionEnd:k,onKeyDown:N,onChange:S,onBlur:A},theirProps:m,slot:C,defaultTag:"input",name:"Combobox.Input"})})),Ea=Dt((function(t,r){let n=fr(),{id:a=`headlessui-combobox-label-${n}`,...o}=t,s=ha("Combobox.Label"),i=pa("Combobox.Label"),l=Ut(s.labelRef,r);Pt((()=>i.registerLabel(a)),[a]);let c=qt((()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})})),d=(0,e.useMemo)((()=>({open:0===s.comboboxState,disabled:s.disabled})),[s]);return Nt({ourProps:{ref:l,id:a,onClick:c},theirProps:o,slot:d,defaultTag:"label",name:"Combobox.Label"})})),ka=Dt((function(t,r){let n=fr(),{id:a=`headlessui-combobox-options-${n}`,hold:o=!1,...s}=t,i=ha("Combobox.Options"),l=Ut(i.optionsRef,r),c=Mt(),d=null!==c?(c&Tt.Open)===Tt.Open:0===i.comboboxState;Pt((()=>{var e;i.optionsPropsRef.current.static=null!=(e=t.static)&&e}),[i.optionsPropsRef,t.static]),Pt((()=>{i.optionsPropsRef.current.hold=o}),[i.optionsPropsRef,o]),Qn({container:i.optionsRef.current,enabled:0===i.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let u=Zn((()=>{var e,t;return null!=(t=i.labelId)?t:null==(e=i.buttonRef.current)?void 0:e.id}),[i.labelId,i.buttonRef.current]),m=(0,e.useMemo)((()=>({open:0===i.comboboxState})),[i]);return Nt({ourProps:{"aria-labelledby":u,role:"listbox","aria-multiselectable":1===i.mode||void 0,id:a,ref:l},theirProps:s,slot:m,defaultTag:"ul",features:wa,visible:d,name:"Combobox.Options"})})),Na=Dt((function(t,r){var n,a;let o=fr(),{id:s=`headlessui-combobox-option-${o}`,disabled:i=!1,value:l,...c}=t,d=ha("Combobox.Option"),u=pa("Combobox.Option"),m=null!==d.activeOptionIndex&&d.options[d.activeOptionIndex].id===s,p=d.isSelected(l),f=(0,e.useRef)(null),h=zt({disabled:i,value:l,domRef:f,textValue:null==(a=null==(n=f.current)?void 0:n.textContent)?void 0:a.toLowerCase()}),g=Ut(r,f),b=qt((()=>u.selectOption(s)));Pt((()=>u.registerOption(s,h)),[h,s]);let w=(0,e.useRef)(!d.__demoMode);Pt((()=>{if(!d.__demoMode)return;let e=Vt();return e.requestAnimationFrame((()=>{w.current=!0})),e.dispose}),[]),Pt((()=>{if(0!==d.comboboxState||!m||!w.current||0===d.activationTrigger)return;let e=Vt();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[f,m,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let v=qt((e=>{if(i)return e.preventDefault();b(),0===d.mode&&u.closeCombobox(),xn()||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame((()=>{var e;return null==(e=d.inputRef.current)?void 0:e.focus()}))})),x=qt((()=>{if(i)return u.goToOption(Xn.Nothing);u.goToOption(Xn.Specific,s)})),y=oa(),E=qt((e=>y.update(e))),k=qt((e=>{y.wasMoved(e)&&(i||m||u.goToOption(Xn.Specific,s,0))})),N=qt((e=>{y.wasMoved(e)&&(i||m&&(d.optionsPropsRef.current.hold||u.goToOption(Xn.Nothing)))})),S=(0,e.useMemo)((()=>({active:m,selected:p,disabled:i})),[m,p,i]);return Nt({ourProps:{id:s,ref:g,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":p,disabled:void 0,onClick:v,onFocus:x,onPointerEnter:E,onMouseEnter:E,onPointerMove:k,onMouseMove:k,onPointerLeave:N,onMouseLeave:N},theirProps:c,slot:S,defaultTag:"li",name:"Combobox.Option"})})),Sa=Object.assign(va,{Input:ya,Button:xa,Label:Ea,Options:ka,Option:Na});const Aa=({type:t,docId:r,sections:n,isFormError:a,defaultSection:o,selectSectionId:s})=>{const{id:i}=ze(),l=(...e)=>e.filter(Boolean).join(" "),c=n.map((e=>({id:e.id,name:e?.title?.rendered}))),[d,u]=(0,bt.useState)({title:{raw:""},parent:parseInt(r||i),status:"publish"}),[m,p]=(0,bt.useState)(o||""),[f,h]=(0,bt.useState)(""),g=""===f?c:c.filter((e=>e?.name.toLowerCase().includes(f.toLowerCase())));return(0,bt.useEffect)((()=>{u({...d,menu_order:n?.length})}),[n]),(0,e.createElement)(Sa,{as:"div",value:m,onChange:p},(0,e.createElement)("div",{className:"relative mb-5"},(0,e.createElement)(Sa.Input,{placeholder:t&&"article"===t?(0,ft.__)("Type an article name","wedocs"):(0,ft.__)("Type a section name","wedocs"),required:!0,className:(a?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",onChange:e=>{h(e.target.value),u({...d,title:{raw:e.target.value}})},displayValue:e=>gt().decode(e)}),a?(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"})):(0,e.createElement)(Sa.Button,{className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"},(0,e.createElement)(Vn,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})),(0,e.createElement)(Sa.Options,{className:"absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white text-base text-left shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},g&&g.length>0&&g.map((t=>(0,e.createElement)(Sa.Option,{key:t.id,value:t.name,className:({active:e})=>l("relative cursor-pointer select-none py-2.5 pl-3 pr-9 mb-0",e?"bg-indigo-600 text-white":"text-gray-900"),onClick:()=>{return e=t.id,void s(e);var e}},(({active:r,selected:n})=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:l("block truncate",n&&"font-semibold"),dangerouslySetInnerHTML:{__html:t?.name}}),n&&(0,e.createElement)("span",{className:l("absolute inset-y-0 right-0 flex items-center pr-4",r?"text-white":"text-indigo-600")},(0,e.createElement)(Gn,{className:"h-5 w-5","aria-hidden":"true"}))))))),(0,e.createElement)(Sa.Option,{className:"flex items-center bg-gray-100 relative cursor-pointer text-base text-indigo-600 mb-0 select-none py-2 pl-3 pr-9",value:d?.title?.raw,onClick:()=>{""!==d?.title?.raw&&(0,ut.dispatch)(mt.A).createDoc(d).then((e=>{s(e.id),u({...d,title:{raw:""}})})).catch((e=>{}))}},f?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"dashicons dashicons-plus text-xs mt-1.5"}),f):(0,e.createElement)(e.Fragment,null,t&&"article"===t?(0,ft.__)("Type to write the name of new article","wedocs"):(0,ft.__)("Type to write the name of new section","wedocs"))))))},Da=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))})),Ca=(e=0)=>weDocsAdminVars?.hasManageCap,Ia=e=>{(0,bt.useEffect)((()=>{document.addEventListener("keypress",(t=>{if("Enter"===t?.key&&e?.current)return e?.current?.click()}))}),[])},La=({type:t,docId:r,article:n,children:a,sections:o,className:s,defaultSection:i,setShowArticles:l})=>{const c=(0,bt.useRef)(null),[d,u]=(0,bt.useState)(!1),[m,p]=(0,bt.useState)(i?.id||""),[f,h]=(0,bt.useState)(n),[g,b]=(0,bt.useState)({title:!1,sectionId:!1}),w=(0,ut.useSelect)((e=>e(mt.A).getSectionArticles(parseInt(m))),[]),[v,x]=(0,bt.useState)(""),[y,E]=(0,bt.useState)(!1),k=()=>{u(!1)},N=e=>{h({...f,status:e})};return(0,bt.useEffect)((()=>{h({...f,parent:m}),b({...g,sectionId:!1})}),[m]),(0,bt.useEffect)((()=>{h({...f,menu_order:w?.length})}),[w]),Ia(c),(0,bt.useEffect)((()=>{gt().decode(f?.title?.rendered||"")&&x(gt().decode(f?.title?.rendered||""))}),[f?.title?.rendered]),(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),u(!0)},className:s},a),(0,e.createElement)(dr,{appear:!0,show:d,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:k},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full max-w-md transform rounded-2xl bg-white py-8 px-9 text-center align-middle shadow-xl transition-all overflow-visible"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-bold text-gray-900 mb-2"},(0,ft.__)("Quickly edit important info of the article","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Edit article details easily","wedocs")),(0,e.createElement)("div",{className:"relative mt-6 mb-4"},(0,e.createElement)("input",{type:"text",name:"doc_title",id:"doc-title",placeholder:(0,ft.__)("Type an article name","wedocs"),required:!0,className:(g.title?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:v,onChange:e=>{x(e.target.value),h({...f,title:{raw:e.target.value}}),b({...g,title:0===e.target.value.length})}}),g.title&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"relative mb-4"},(0,e.createElement)("input",{type:"text",name:"doc_slug",id:"doc-slug",placeholder:(0,ft.__)("Enter your slug here","wedocs"),required:!0,className:(g.slug?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:f?.slug,onChange:e=>{h({...f,slug:e.target.value}),b({...g,slug:0===e.target.value.length})}}),g.slug&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),(0,e.createElement)(Aa,{type:t,docId:r,sections:o,selectSectionId:p,isFormError:g.sectionId,defaultSection:i?.title?.rendered}),(0,e.createElement)("div",{className:"mt-6 flex items-center justify-center space-x-3.5"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:k},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("div",{className:"doc-publish-btn group relative"},(0,e.createElement)("button",{className:"inline-flex justify-between items-center cursor-pointer bg-indigo-600 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md min-w-[122px]",ref:c,disabled:y,onClick:()=>{""!==f.title.raw?""!==f.slug?m?(E(!0),(0,ut.dispatch)(mt.A).updateDoc(n?.id,{slug:f?.slug,title:f?.title?.raw,parent:m?parseInt(m):"",status:f?.status}).then((()=>{p(i?.id||""),l&&l(!0),Hn().fire({title:"draft"===f?.status?(0,ft.__)("Article has been drafted!","wedocs"):(0,ft.__)("Article has been published!","wedocs"),text:"draft"===f?.status?(0,ft.__)("The article has been drafted successfully","wedocs"):(0,ft.__)("The article has been published successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3}),k()})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>E(!1)))):b({...g,sectionId:!0}):b({...g,slug:!0}):b({...g,title:!0})}},(0,e.createElement)(bt.Fragment,null,"draft"===f?.status?(0,ft.__)("Draft","wedocs"):(0,ft.sprintf)((0,ft.__)("Updat%s","wedocs"),y?"ing...":"e"),(0,e.createElement)(Da,{className:"h-5 w-5 text-white mt-[1px]","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"action-menus",className:"hidden cursor-pointer w-44 z-40 bg-white border border-[#DBDBDB] absolute z-10 shadow right-0 py-1 rounded-md mt-0.5 group-hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-[70%] before:-right-[1px] after:h-[13px] before:h-3 before:mt-3 after:top-[-7px] before:-top-6 after:right-[1.4rem] after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0"},(0,e.createElement)("span",{onClick:()=>N("draft"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Update and Draft","wedocs")),(0,e.createElement)("span",{onClick:()=>N("publish"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Update and Publish","wedocs"))))))))))))},Ta=({doc:t,type:r,section:n,sections:a,setShowArticles:o})=>{const s=Ca(),i=wp.hooks.applyFilters("wedocs_admin_documentation_action_menu_width","w-[270px]"),l=wp.hooks.applyFilters("wedocs_admin_article_action_menu_width","w-[310px]"),[c,d]=(0,bt.useState)(!1);return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("div",{className:"documentation-ellipsis-actions relative",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1)},(0,e.createElement)("span",{className:"dashicons dashicons-ellipsis d-block cursor-pointer text-sm rotate-90 text-gray-500"}),(0,e.createElement)("div",{id:"action-menus",className:`${"article"===r?l:i} ${c?"block":"hidden"} z-40 bg-white border border-[#DBDBDB] absolute shadow -right-3.5 py-1 rounded-md mt-2.5 hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-full after:h-[13px] before:h-2.5 after:top-[-7px] before:-top-2.5 after:right-4 after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0`},s&&"article"===r&&(0,e.createElement)(La,{article:t,sections:a,defaultSection:n,setShowArticles:o,className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none w-full"},(0,ft.__)("Quick Edit","wedocs")),(0,e.createElement)("a",{href:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,target:"_blank",className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none",rel:"noreferrer"},(0,ft.__)("Edit","wedocs")),(0,e.createElement)("a",{target:"_blank",href:t?.link,rel:"noreferrer",className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("View","wedocs")),(0,e.createElement)("span",{onClick:()=>{(0,ut.dispatch)("wedocs/docs").updateDoc(t?.id,{status:"draft"===t?.status?"publish":"draft"}).then((({docs:e})=>{Hn().fire({icon:"success",toast:!0,title:(0,ft.__)(`${"doc"===r?"Doc":"Article"} ${"draft"===t?.status?"Published":"Drafted"} Successfully!`,"wedocs"),timer:2e3,position:"bottom-end",showConfirmButton:!1,text:(0,ft.__)(`${"doc"===r?"Your documentation":"Your article"} has been successfully ${"draft"===t?.status?"published":"drafted"}`,"wedocs")})})).catch((e=>console.log(e)))},className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},"draft"===t?.status?(0,ft.__)("Publish Now","wedocs"):(0,ft.__)("Switch to Draft","wedocs")),wp.hooks.applyFilters("wedocs_admin_article_restriction_action","",t?.id,r),(0,e.createElement)(Un,{type:r,docId:t?.id,classes:"w-full group flex items-center py-2 px-4 text-sm font-medium text-red-500 hover:bg-indigo-700 hover:text-white"},(0,ft.__)("Delete","wedocs")))))},Ma="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Ra(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function _a(e){return"nodeType"in e}function Oa(e){var t,r;return e?Ra(e)?e:_a(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function Ba(e){const{Document:t}=Oa(e);return e instanceof t}function Pa(e){return!Ra(e)&&e instanceof Oa(e).HTMLElement}function ja(e){return e?Ra(e)?e.document:_a(e)?Ba(e)?e:Pa(e)?e.ownerDocument:document:document:document}const za=Ma?e.useLayoutEffect:e.useEffect;function Fa(t){const r=(0,e.useRef)(t);return za((()=>{r.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n{n.current!==t&&(n.current=t)}),r),n}function Ha(t,r){const n=(0,e.useRef)();return(0,e.useMemo)((()=>{const e=t(n.current);return n.current=e,e}),[...r])}function Ua(t){const r=Fa(t),n=(0,e.useRef)(null),a=(0,e.useCallback)((e=>{e!==n.current&&(null==r||r(e,n.current)),n.current=e}),[]);return[n,a]}function Wa(t){const r=(0,e.useRef)();return(0,e.useEffect)((()=>{r.current=t}),[t]),r.current}let Va={};function Ga(t,r){return(0,e.useMemo)((()=>{if(r)return r;const e=null==Va[t]?0:Va[t]+1;return Va[t]=e,t+"-"+e}),[t,r])}function Za(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{const n=Object.entries(r);for(const[r,a]of n){const n=t[r];null!=n&&(t[r]=n+e*a)}return t}),{...t})}}const Ya=Za(1),Ja=Za(-1);function Qa(e){if(!e)return!1;const{KeyboardEvent:t}=Oa(e.target);return t&&e instanceof t}function Xa(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=Oa(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const Ka=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[Ka.Translate.toString(e),Ka.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),$a="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function eo(e){return e.matches($a)?e:e.querySelector($a)}const to={display:"none"};function ro(e){let{id:t,value:n}=e;return r().createElement("div",{id:t,style:to},n)}const no={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function ao(e){let{id:t,announcement:n}=e;return r().createElement("div",{id:t,style:no,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const oo=(0,e.createContext)(null),so={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},io={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function lo(t){let{announcements:n=io,container:a,hiddenTextDescribedById:o,screenReaderInstructions:s=so}=t;const{announce:i,announcement:l}=function(){const[t,r]=(0,e.useState)("");return{announce:(0,e.useCallback)((e=>{null!=e&&r(e)}),[]),announcement:t}}(),c=Ga("DndLiveRegion"),[d,u]=(0,e.useState)(!1);if((0,e.useEffect)((()=>{u(!0)}),[]),function(t){const r=(0,e.useContext)(oo);(0,e.useEffect)((()=>{if(!r)throw new Error("useDndMonitor must be used within a children of ");return r(t)}),[t,r])}((0,e.useMemo)((()=>({onDragStart(e){let{active:t}=e;i(n.onDragStart({active:t}))},onDragMove(e){let{active:t,over:r}=e;n.onDragMove&&i(n.onDragMove({active:t,over:r}))},onDragOver(e){let{active:t,over:r}=e;i(n.onDragOver({active:t,over:r}))},onDragEnd(e){let{active:t,over:r}=e;i(n.onDragEnd({active:t,over:r}))},onDragCancel(e){let{active:t,over:r}=e;i(n.onDragCancel({active:t,over:r}))}})),[i,n])),!d)return null;const m=r().createElement(r().Fragment,null,r().createElement(ro,{id:o,value:s.draggable}),r().createElement(ao,{id:c,announcement:l}));return a?(0,Ur.createPortal)(m,a):m}var co;function uo(){}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(co||(co={}));const mo=Object.freeze({x:0,y:0});function po(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function fo(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function ho(e,t,r){return void 0===t&&(t=e.left),void 0===r&&(r=e.top),{x:t+.5*e.width,y:r+.5*e.height}}const go=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=ho(t,t.left,t.top),o=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=(s=ho(n),i=a,Math.sqrt(Math.pow(s.x-i.x,2)+Math.pow(s.y-i.y,2)));o.push({id:t,data:{droppableContainer:e,value:r}})}}var s,i;return o.sort(po)};function bo(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),s=a-n,i=o-r;if(n{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=[];for(const e of n){const{id:n}=e,o=r.get(n);if(o){const r=bo(o,t);r>0&&a.push({id:n,data:{droppableContainer:e,value:r}})}}return a.sort(fo)};function vo(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:mo}function xo(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const yo=xo(1);const Eo={ignoreTransform:!1};function ko(e,t){void 0===t&&(t=Eo);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:n}=Oa(e).getComputedStyle(e);t&&(r=function(e,t,r){const n=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!n)return e;const{scaleX:a,scaleY:o,x:s,y:i}=n,l=e.left-s-(1-a)*parseFloat(r),c=e.top-i-(1-o)*parseFloat(r.slice(r.indexOf(" ")+1)),d=a?e.width/a:e.width,u=o?e.height/o:e.height;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l}}(r,t,n))}const{top:n,left:a,width:o,height:s,bottom:i,right:l}=r;return{top:n,left:a,width:o,height:s,bottom:i,right:l}}function No(e){return ko(e,{ignoreTransform:!0})}function So(e,t){const r=[];return e?function n(a){if(null!=t&&r.length>=t)return r;if(!a)return r;if(Ba(a)&&null!=a.scrollingElement&&!r.includes(a.scrollingElement))return r.push(a.scrollingElement),r;if(!Pa(a)||function(e){return e instanceof Oa(e).SVGElement}(a))return r;if(r.includes(a))return r;const o=Oa(e).getComputedStyle(a);return a!==e&&function(e,t){void 0===t&&(t=Oa(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const n=t[e];return"string"==typeof n&&r.test(n)}))}(a,o)&&r.push(a),function(e,t){return void 0===t&&(t=Oa(e).getComputedStyle(e)),"fixed"===t.position}(a,o)?r:n(a.parentNode)}(e):r}function Ao(e){const[t]=So(e,1);return null!=t?t:null}function Do(e){return Ma&&e?Ra(e)?e:_a(e)?Ba(e)||e===ja(e).scrollingElement?window:Pa(e)?e:null:null:null}function Co(e){return Ra(e)?e.scrollX:e.scrollLeft}function Io(e){return Ra(e)?e.scrollY:e.scrollTop}function Lo(e){return{x:Co(e),y:Io(e)}}var To;function Mo(e){return!(!Ma||!e)&&e===document.scrollingElement}function Ro(e){const t={x:0,y:0},r=Mo(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(To||(To={}));const _o={x:.2,y:.2};function Oo(e,t,r,n,a){let{top:o,left:s,right:i,bottom:l}=r;void 0===n&&(n=10),void 0===a&&(a=_o);const{isTop:c,isBottom:d,isLeft:u,isRight:m}=Ro(e),p={x:0,y:0},f={x:0,y:0},h=t.height*a.y,g=t.width*a.x;return!c&&o<=t.top+h?(p.y=To.Backward,f.y=n*Math.abs((t.top+h-o)/h)):!d&&l>=t.bottom-h&&(p.y=To.Forward,f.y=n*Math.abs((t.bottom-h-l)/h)),!m&&i>=t.right-g?(p.x=To.Forward,f.x=n*Math.abs((t.right-g-i)/g)):!u&&s<=t.left+g&&(p.x=To.Backward,f.x=n*Math.abs((t.left+g-s)/g)),{direction:p,speed:f}}function Bo(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:n,bottom:a}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:a,width:e.clientWidth,height:e.clientHeight}}function Po(e){return e.reduce(((e,t)=>Ya(e,Lo(t))),mo)}const jo=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+Co(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+Io(t)),0)}]];class zo{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=So(t),n=Po(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,a]of jo)for(const o of t)Object.defineProperty(this,o,{get:()=>{const t=a(r),s=n[e]-t;return this.rect[o]+s},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Fo{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var n;null==(n=this.target)||n.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function qo(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t&&n>t.y}var Ho,Uo,Wo;function Vo(e){e.preventDefault()}function Go(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Ho||(Ho={})),(Wo=Uo||(Uo={})).Space="Space",Wo.Down="ArrowDown",Wo.Right="ArrowRight",Wo.Left="ArrowLeft",Wo.Up="ArrowUp",Wo.Esc="Escape",Wo.Enter="Enter";const Zo={start:[Uo.Space,Uo.Enter],cancel:[Uo.Esc],end:[Uo.Space,Uo.Enter]},Yo=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Uo.Right:return{...r,x:r.x+25};case Uo.Left:return{...r,x:r.x-25};case Uo.Down:return{...r,y:r.y+25};case Uo.Up:return{...r,y:r.y-25}}};class Jo{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Fo(ja(t)),this.windowListeners=new Fo(Oa(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ho.Resize,this.handleCancel),this.windowListeners.add(Ho.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Ho.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&function(e,t){if(void 0===t&&(t=ko),!e)return;const{top:r,left:n,bottom:a,right:o}=t(e);Ao(e)&&(a<=0||o<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(r),t(mo)}handleKeyDown(e){if(Qa(e)){const{active:t,context:r,options:n}=this.props,{keyboardCodes:a=Zo,coordinateGetter:o=Yo,scrollBehavior:s="smooth"}=n,{code:i}=e;if(a.end.includes(i))return void this.handleEnd(e);if(a.cancel.includes(i))return void this.handleCancel(e);const{collisionRect:l}=r.current,c=l?{x:l.left,y:l.top}:mo;this.referenceCoordinates||(this.referenceCoordinates=c);const d=o(e,{active:t,context:r.current,currentCoordinates:c});if(d){const t=Ja(d,c),n={x:0,y:0},{scrollableAncestors:a}=r.current;for(const r of a){const a=e.code,{isTop:o,isRight:i,isLeft:l,isBottom:c,maxScroll:u,minScroll:m}=Ro(r),p=Bo(r),f={x:Math.min(a===Uo.Right?p.right-p.width/2:p.right,Math.max(a===Uo.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(a===Uo.Down?p.bottom-p.height/2:p.bottom,Math.max(a===Uo.Down?p.top:p.top+p.height/2,d.y))},h=a===Uo.Right&&!i||a===Uo.Left&&!l,g=a===Uo.Down&&!c||a===Uo.Up&&!o;if(h&&f.x!==d.x){const e=r.scrollLeft+t.x,o=a===Uo.Right&&e<=u.x||a===Uo.Left&&e>=m.x;if(o&&!t.y)return void r.scrollTo({left:e,behavior:s});n.x=o?r.scrollLeft-e:a===Uo.Right?r.scrollLeft-u.x:r.scrollLeft-m.x,n.x&&r.scrollBy({left:-n.x,behavior:s});break}if(g&&f.y!==d.y){const e=r.scrollTop+t.y,o=a===Uo.Down&&e<=u.y||a===Uo.Up&&e>=m.y;if(o&&!t.x)return void r.scrollTo({top:e,behavior:s});n.y=o?r.scrollTop-e:a===Uo.Down?r.scrollTop-u.y:r.scrollTop-m.y,n.y&&r.scrollBy({top:-n.y,behavior:s});break}}this.handleMove(e,Ya(Ja(d,this.referenceCoordinates),n))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function Qo(e){return Boolean(e&&"distance"in e)}function Xo(e){return Boolean(e&&"delay"in e)}Jo.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=Zo,onActivation:a}=t,{active:o}=r;const{code:s}=e.nativeEvent;if(n.start.includes(s)){const t=o.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==a||a({event:e.nativeEvent}),0))}return!1}}];class Ko{constructor(e,t,r){var n;void 0===r&&(r=function(e){const{EventTarget:t}=Oa(e);return e instanceof t?e:ja(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:a}=e,{target:o}=a;this.props=e,this.events=t,this.document=ja(o),this.documentListeners=new Fo(this.document),this.listeners=new Fo(r),this.windowListeners=new Fo(Oa(o)),this.initialCoordinates=null!=(n=Xa(a))?n:mo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Ho.Resize,this.handleCancel),this.windowListeners.add(Ho.DragStart,Vo),this.windowListeners.add(Ho.VisibilityChange,this.handleCancel),this.windowListeners.add(Ho.ContextMenu,Vo),this.documentListeners.add(Ho.Keydown,this.handleKeydown),t){if(Qo(t))return;if(Xo(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Ho.Click,Go,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ho.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:n,props:a}=this,{onMove:o,options:{activationConstraint:s}}=a;if(!n)return;const i=null!=(t=Xa(e))?t:mo,l=Ja(n,i);if(!r&&s){if(Xo(s))return qo(l,s.tolerance)?this.handleCancel():void 0;if(Qo(s))return null!=s.tolerance&&qo(l,s.tolerance)?this.handleCancel():qo(l,s.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),o(i)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===Uo.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const $o={move:{name:"pointermove"},end:{name:"pointerup"}};class es extends Ko{constructor(e){const{event:t}=e,r=ja(t.target);super(e,$o,r)}}es.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!(!r.isPrimary||0!==r.button||(null==n||n({event:r}),0))}}];const ts={move:{name:"mousemove"},end:{name:"mouseup"}};var rs;!function(e){e[e.RightClick=2]="RightClick"}(rs||(rs={})),class extends Ko{constructor(e){super(e,ts,ja(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button!==rs.RightClick&&(null==n||n({event:r}),!0)}}];const ns={move:{name:"touchmove"},end:{name:"touchend"}};var as,os;(class extends Ko{constructor(e){super(e,ns)}static setup(){return window.addEventListener(ns.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ns.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:a}=r;return!(a.length>1||(null==n||n({event:r}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(as||(as={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(os||(os={}));const ss={x:{[To.Backward]:!1,[To.Forward]:!1},y:{[To.Backward]:!1,[To.Forward]:!1}};var is,ls;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(is||(is={})),function(e){e.Optimized="optimized"}(ls||(ls={}));const cs=new Map;function ds(e,t){return Ha((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function us(t){let{callback:r,disabled:n}=t;const a=Fa(r),o=(0,e.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(a)}),[n]);return(0,e.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}function ms(e){return new zo(ko(e),e)}function ps(t,r,n){void 0===r&&(r=ms);const[a,o]=(0,e.useReducer)((function(e){if(!t)return null;var a;if(!1===t.isConnected)return null!=(a=null!=e?e:n)?a:null;const o=r(t);return JSON.stringify(e)===JSON.stringify(o)?e:o}),null),s=function(t){let{callback:r,disabled:n}=t;const a=Fa(r),o=(0,e.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(a)}),[a,n]);return(0,e.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}({callback(e){if(t)for(const r of e){const{type:e,target:n}=r;if("childList"===e&&n instanceof HTMLElement&&n.contains(t)){o();break}}}}),i=us({callback:o});return za((()=>{o(),t?(null==i||i.observe(t),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==i||i.disconnect(),null==s||s.disconnect())}),[t]),a}const fs=[];function hs(t,r){void 0===r&&(r=[]);const n=(0,e.useRef)(null);return(0,e.useEffect)((()=>{n.current=null}),r),(0,e.useEffect)((()=>{const e=t!==mo;e&&!n.current&&(n.current=t),!e&&n.current&&(n.current=null)}),[t]),n.current?Ja(t,n.current):mo}function gs(t){return(0,e.useMemo)((()=>t?function(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}(t):null),[t])}const bs=[];const ws=[{sensor:es,options:{}},{sensor:Jo,options:{}}],vs={current:{}},xs={draggable:{measure:No},droppable:{measure:No,strategy:is.WhileDragging,frequency:ls.Optimized},dragOverlay:{measure:ko}};class ys extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const Es={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ys,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:uo},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:xs,measureDroppableContainers:uo,windowRect:null,measuringScheduled:!1},ks={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:uo,draggableNodes:new Map,over:null,measureDroppableContainers:uo},Ns=(0,e.createContext)(ks),Ss=(0,e.createContext)(Es);function As(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ys}}}function Ds(e,t){switch(t.type){case co.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case co.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case co.DragEnd:case co.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case co.RegisterDroppable:{const{element:r}=t,{id:n}=r,a=new ys(e.droppable.containers);return a.set(n,r),{...e,droppable:{...e.droppable,containers:a}}}case co.SetDroppableDisabled:{const{id:r,key:n,disabled:a}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const s=new ys(e.droppable.containers);return s.set(r,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:s}}}case co.UnregisterDroppable:{const{id:r,key:n}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new ys(e.droppable.containers);return o.delete(r),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function Cs(t){let{disabled:r}=t;const{active:n,activatorEvent:a,draggableNodes:o}=(0,e.useContext)(Ns),s=Wa(a),i=Wa(null==n?void 0:n.id);return(0,e.useEffect)((()=>{if(!r&&!a&&s&&null!=i){if(!Qa(s))return;if(document.activeElement===s.target)return;const e=o.get(i);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=eo(e);if(t){t.focus();break}}}))}}),[a,r,o,i,s]),null}const Is=(0,e.createContext)({...mo,scaleX:1,scaleY:1});var Ls;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ls||(Ls={}));const Ts=(0,e.memo)((function(t){var n,a,o,s;let{id:i,accessibility:l,autoScroll:c=!0,children:d,sensors:u=ws,collisionDetection:m=wo,measuring:p,modifiers:f,...h}=t;const g=(0,e.useReducer)(Ds,void 0,As),[b,w]=g,[v,x]=function(){const[t]=(0,e.useState)((()=>new Set)),r=(0,e.useCallback)((e=>(t.add(e),()=>t.delete(e))),[t]);return[(0,e.useCallback)((e=>{let{type:r,event:n}=e;t.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,n)}))}),[t]),r]}(),[y,E]=(0,e.useState)(Ls.Uninitialized),k=y===Ls.Initialized,{draggable:{active:N,nodes:S,translate:A},droppable:{containers:D}}=b,C=N?S.get(N):null,I=(0,e.useRef)({initial:null,translated:null}),L=(0,e.useMemo)((()=>{var e;return null!=N?{id:N,data:null!=(e=null==C?void 0:C.data)?e:vs,rect:I}:null}),[N,C]),T=(0,e.useRef)(null),[M,R]=(0,e.useState)(null),[_,O]=(0,e.useState)(null),B=qa(h,Object.values(h)),P=Ga("DndDescribedBy",i),j=(0,e.useMemo)((()=>D.getEnabled()),[D]),z=(F=p,(0,e.useMemo)((()=>({draggable:{...xs.draggable,...null==F?void 0:F.draggable},droppable:{...xs.droppable,...null==F?void 0:F.droppable},dragOverlay:{...xs.dragOverlay,...null==F?void 0:F.dragOverlay}})),[null==F?void 0:F.draggable,null==F?void 0:F.droppable,null==F?void 0:F.dragOverlay]));var F;const{droppableRects:q,measureDroppableContainers:H,measuringScheduled:U}=function(t,r){let{dragging:n,dependencies:a,config:o}=r;const[s,i]=(0,e.useState)(null),{frequency:l,measure:c,strategy:d}=o,u=(0,e.useRef)(t),m=function(){switch(d){case is.Always:return!1;case is.BeforeDragging:return n;default:return!n}}(),p=qa(m),f=(0,e.useCallback)((function(e){void 0===e&&(e=[]),p.current||i((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[p]),h=(0,e.useRef)(null),g=Ha((e=>{if(m&&!n)return cs;if(!e||e===cs||u.current!==t||null!=s){const e=new Map;for(let r of t){if(!r)continue;if(s&&s.length>0&&!s.includes(r.id)&&r.rect.current){e.set(r.id,r.rect.current);continue}const t=r.node.current,n=t?new zo(c(t),t):null;r.rect.current=n,n&&e.set(r.id,n)}return e}return e}),[t,s,n,m,c]);return(0,e.useEffect)((()=>{u.current=t}),[t]),(0,e.useEffect)((()=>{m||f()}),[n,m]),(0,e.useEffect)((()=>{s&&s.length>0&&i(null)}),[JSON.stringify(s)]),(0,e.useEffect)((()=>{m||"number"!=typeof l||null!==h.current||(h.current=setTimeout((()=>{f(),h.current=null}),l))}),[l,m,f,...a]),{droppableRects:g,measureDroppableContainers:f,measuringScheduled:null!=s}}(j,{dragging:k,dependencies:[A.x,A.y],config:z.droppable}),W=function(e,t){const r=null!==t?e.get(t):void 0,n=r?r.node.current:null;return Ha((e=>{var r;return null===t?null:null!=(r=null!=n?n:e)?r:null}),[n,t])}(S,N),V=(0,e.useMemo)((()=>_?Xa(_):null),[_]),G=function(){const e=!1===(null==M?void 0:M.autoScrollEnabled),t="object"==typeof c?!1===c.enabled:!1===c,r=k&&!e&&!t;return"object"==typeof c?{...c,enabled:r}:{enabled:r}}(),Z=function(e,t){return ds(e,t)}(W,z.draggable.measure);!function(t){let{activeNode:r,measure:n,initialRect:a,config:o=!0}=t;const s=(0,e.useRef)(!1),{x:i,y:l}="boolean"==typeof o?{x:o,y:o}:o;za((()=>{if(!i&&!l||!r)return void(s.current=!1);if(s.current||!a)return;const e=null==r?void 0:r.node.current;if(!e||!1===e.isConnected)return;const t=vo(n(e),a);if(i||(t.x=0),l||(t.y=0),s.current=!0,Math.abs(t.x)>0||Math.abs(t.y)>0){const r=Ao(e);r&&r.scrollBy({top:t.y,left:t.x})}}),[r,i,l,a,n])}({activeNode:N?S.get(N):null,config:G.layoutShiftCompensation,initialRect:Z,measure:z.draggable.measure});const Y=ps(W,z.draggable.measure,Z),J=ps(W?W.parentElement:null),Q=(0,e.useRef)({activatorEvent:null,active:null,activeNode:W,collisionRect:null,collisions:null,droppableRects:q,draggableNodes:S,draggingNode:null,draggingNodeRect:null,droppableContainers:D,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),X=D.getNodeFor(null==(n=Q.current.over)?void 0:n.id),K=function(t){let{measure:r}=t;const[n,a]=(0,e.useState)(null),o=us({callback:(0,e.useCallback)((e=>{for(const{target:t}of e)if(Pa(t)){a((e=>{const n=r(t);return e?{...e,width:n.width,height:n.height}:n}));break}}),[r])}),s=(0,e.useCallback)((e=>{const t=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Pa(t)?t:e}(e);null==o||o.disconnect(),t&&(null==o||o.observe(t)),a(t?r(t):null)}),[r,o]),[i,l]=Ua(s);return(0,e.useMemo)((()=>({nodeRef:i,rect:n,setRef:l})),[n,i,l])}({measure:z.dragOverlay.measure}),$=null!=(a=K.nodeRef.current)?a:W,ee=k?null!=(o=K.rect)?o:Y:null,te=Boolean(K.nodeRef.current&&K.rect),re=vo(ne=te?null:Y,ds(ne));var ne;const ae=gs($?Oa($):null),oe=function(t){const r=(0,e.useRef)(t),n=Ha((e=>t?e&&e!==fs&&t&&r.current&&t.parentNode===r.current.parentNode?e:So(t):fs),[t]);return(0,e.useEffect)((()=>{r.current=t}),[t]),n}(k?null!=X?X:W:null),se=function(t,r){void 0===r&&(r=ko);const[n]=t,a=gs(n?Oa(n):null),[o,s]=(0,e.useReducer)((function(){return t.length?t.map((e=>Mo(e)?a:new zo(r(e),e))):bs}),bs),i=us({callback:s});return t.length>0&&o===bs&&s(),za((()=>{t.length?t.forEach((e=>null==i?void 0:i.observe(e))):(null==i||i.disconnect(),s())}),[t]),o}(oe),ie=function(e,t){let{transform:r,...n}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...n})),r):r}(f,{transform:{x:A.x-re.x,y:A.y-re.y,scaleX:1,scaleY:1},activatorEvent:_,active:L,activeNodeRect:Y,containerNodeRect:J,draggingNodeRect:ee,over:Q.current.over,overlayNodeRect:K.rect,scrollableAncestors:oe,scrollableAncestorRects:se,windowRect:ae}),le=V?Ya(V,A):null,ce=function(t){const[r,n]=(0,e.useState)(null),a=(0,e.useRef)(t),o=(0,e.useCallback)((e=>{const t=Do(e.target);t&&n((e=>e?(e.set(t,Lo(t)),new Map(e)):null))}),[]);return(0,e.useEffect)((()=>{const e=a.current;if(t!==e){r(e);const s=t.map((e=>{const t=Do(e);return t?(t.addEventListener("scroll",o,{passive:!0}),[t,Lo(t)]):null})).filter((e=>null!=e));n(s.length?new Map(s):null),a.current=t}return()=>{r(t),r(e)};function r(e){e.forEach((e=>{const t=Do(e);null==t||t.removeEventListener("scroll",o)}))}}),[o,t]),(0,e.useMemo)((()=>t.length?r?Array.from(r.values()).reduce(((e,t)=>Ya(e,t)),mo):Po(t):mo),[t,r])}(oe),de=hs(ce),ue=hs(ce,[Y]),me=Ya(ie,de),pe=ee?yo(ee,ie):null,fe=L&&pe?m({active:L,collisionRect:pe,droppableRects:q,droppableContainers:j,pointerCoordinates:le}):null,he=function(e){if(!e||0===e.length)return null;const[t]=e;return t.id}(fe),[ge,be]=(0,e.useState)(null),we=function(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}(te?ie:Ya(ie,ue),null!=(s=null==ge?void 0:ge.rect)?s:null,Y),ve=(0,e.useCallback)(((e,t)=>{let{sensor:r,options:n}=t;if(null==T.current)return;const a=S.get(T.current);if(!a)return;const o=e.nativeEvent,s=new r({active:T.current,activeNode:a,event:o,options:n,context:Q,onStart(e){const t=T.current;if(null==t)return;const r=S.get(t);if(!r)return;const{onDragStart:n}=B.current,a={active:{id:t,data:r.data,rect:I}};(0,Ur.unstable_batchedUpdates)((()=>{null==n||n(a),E(Ls.Initializing),w({type:co.DragStart,initialCoordinates:e,active:t}),v({type:"onDragStart",event:a})}))},onMove(e){w({type:co.DragMove,coordinates:e})},onEnd:i(co.DragEnd),onCancel:i(co.DragCancel)});function i(e){return async function(){const{active:t,collisions:r,over:n,scrollAdjustedTranslate:a}=Q.current;let s=null;if(t&&a){const{cancelDrop:i}=B.current;s={activatorEvent:o,active:t,collisions:r,delta:a,over:n},e===co.DragEnd&&"function"==typeof i&&await Promise.resolve(i(s))&&(e=co.DragCancel)}T.current=null,(0,Ur.unstable_batchedUpdates)((()=>{w({type:e}),E(Ls.Uninitialized),be(null),R(null),O(null);const t=e===co.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=B.current[t];null==e||e(s),v({type:t,event:s})}}))}}(0,Ur.unstable_batchedUpdates)((()=>{R(s),O(e.nativeEvent)}))}),[S]),xe=(0,e.useCallback)(((e,t)=>(r,n)=>{const a=r.nativeEvent,o=S.get(n);if(null!==T.current||!o||a.dndKit||a.defaultPrevented)return;const s={active:o};!0===e(r,t.options,s)&&(a.dndKit={capturedBy:t.sensor},T.current=n,ve(r,t))}),[S,ve]),ye=function(t,r){return(0,e.useMemo)((()=>t.reduce(((e,t)=>{const{sensor:n}=t;return[...e,...n.activators.map((e=>({eventName:e.eventName,handler:r(e.handler,t)})))]}),[])),[t,r])}(u,xe);!function(t){(0,e.useEffect)((()=>{if(!Ma)return;const e=t.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const t of e)null==t||t()}}),t.map((e=>{let{sensor:t}=e;return t})))}(u),za((()=>{Y&&y===Ls.Initializing&&E(Ls.Initialized)}),[Y,y]),(0,e.useEffect)((()=>{const{onDragMove:e}=B.current,{active:t,activatorEvent:r,collisions:n,over:a}=Q.current;if(!t||!r)return;const o={active:t,activatorEvent:r,collisions:n,delta:{x:me.x,y:me.y},over:a};(0,Ur.unstable_batchedUpdates)((()=>{null==e||e(o),v({type:"onDragMove",event:o})}))}),[me.x,me.y]),(0,e.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:n,scrollAdjustedTranslate:a}=Q.current;if(!e||null==T.current||!t||!a)return;const{onDragOver:o}=B.current,s=n.get(he),i=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,l={active:e,activatorEvent:t,collisions:r,delta:{x:a.x,y:a.y},over:i};(0,Ur.unstable_batchedUpdates)((()=>{be(i),null==o||o(l),v({type:"onDragOver",event:l})}))}),[he]),za((()=>{Q.current={activatorEvent:_,active:L,activeNode:W,collisionRect:pe,collisions:fe,droppableRects:q,draggableNodes:S,draggingNode:$,draggingNodeRect:ee,droppableContainers:D,over:ge,scrollableAncestors:oe,scrollAdjustedTranslate:me},I.current={initial:ee,translated:pe}}),[L,W,fe,pe,S,$,ee,q,D,ge,oe,me]),function(t){let{acceleration:r,activator:n=as.Pointer,canScroll:a,draggingRect:o,enabled:s,interval:i=5,order:l=os.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:u,delta:m,threshold:p}=t;const f=function(e){let{delta:t,disabled:r}=e;const n=Wa(t);return Ha((e=>{if(r||!n||!e)return ss;const a=Math.sign(t.x-n.x),o=Math.sign(t.y-n.y);return{x:{[To.Backward]:e.x[To.Backward]||-1===a,[To.Forward]:e.x[To.Forward]||1===a},y:{[To.Backward]:e.y[To.Backward]||-1===o,[To.Forward]:e.y[To.Forward]||1===o}}}),[r,t,n])}({delta:m,disabled:!s}),[h,g]=function(){const t=(0,e.useRef)(null);return[(0,e.useCallback)(((e,r)=>{t.current=setInterval(e,r)}),[]),(0,e.useCallback)((()=>{null!==t.current&&(clearInterval(t.current),t.current=null)}),[])]}(),b=(0,e.useRef)({x:0,y:0}),w=(0,e.useRef)({x:0,y:0}),v=(0,e.useMemo)((()=>{switch(n){case as.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case as.DraggableRect:return o}}),[n,o,c]),x=(0,e.useRef)(null),y=(0,e.useCallback)((()=>{const e=x.current;if(!e)return;const t=b.current.x*w.current.x,r=b.current.y*w.current.y;e.scrollBy(t,r)}),[]),E=(0,e.useMemo)((()=>l===os.TreeOrder?[...d].reverse():d),[l,d]);(0,e.useEffect)((()=>{if(s&&d.length&&v){for(const e of E){if(!1===(null==a?void 0:a(e)))continue;const t=d.indexOf(e),n=u[t];if(!n)continue;const{direction:o,speed:s}=Oo(e,n,v,r,p);for(const e of["x","y"])f[e][o[e]]||(s[e]=0,o[e]=0);if(s.x>0||s.y>0)return g(),x.current=e,h(y,i),b.current=s,void(w.current=o)}b.current={x:0,y:0},w.current={x:0,y:0},g()}else g()}),[r,y,a,g,s,i,JSON.stringify(v),JSON.stringify(f),h,d,E,u,JSON.stringify(p)])}({...G,delta:A,draggingRect:pe,pointerCoordinates:le,scrollableAncestors:oe,scrollableAncestorRects:se});const Ee=(0,e.useMemo)((()=>({active:L,activeNode:W,activeNodeRect:Y,activatorEvent:_,collisions:fe,containerNodeRect:J,dragOverlay:K,draggableNodes:S,droppableContainers:D,droppableRects:q,over:ge,measureDroppableContainers:H,scrollableAncestors:oe,scrollableAncestorRects:se,measuringConfiguration:z,measuringScheduled:U,windowRect:ae})),[L,W,Y,_,fe,J,K,S,D,q,ge,H,oe,se,z,U,ae]),ke=(0,e.useMemo)((()=>({activatorEvent:_,activators:ye,active:L,activeNodeRect:Y,ariaDescribedById:{draggable:P},dispatch:w,draggableNodes:S,over:ge,measureDroppableContainers:H})),[_,ye,L,Y,w,P,S,ge,H]);return r().createElement(oo.Provider,{value:x},r().createElement(Ns.Provider,{value:ke},r().createElement(Ss.Provider,{value:Ee},r().createElement(Is.Provider,{value:we},d)),r().createElement(Cs,{disabled:!1===(null==l?void 0:l.restoreFocus)})),r().createElement(lo,{...l,hiddenTextDescribedById:P}))})),Ms=(0,e.createContext)(null),Rs="button";const _s={timeout:25};function Os(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function Bs(e,t){return e.reduce(((e,r,n)=>{const a=t.get(r);return a&&(e[n]=a),e}),Array(e.length))}function Ps(e){return null!==e&&e>=0}const js=e=>{let{rects:t,activeIndex:r,overIndex:n,index:a}=e;const o=Os(t,n,r),s=t[a],i=o[a];return i&&s?{x:i.left-s.left,y:i.top-s.top,scaleX:i.width/s.width,scaleY:i.height/s.height}:null},zs={scaleX:1,scaleY:1},Fs=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:a,rects:o,overIndex:s}=e;const i=null!=(t=o[r])?t:n;if(!i)return null;if(a===r){const e=o[s];return e?{x:0,y:rr&&a<=s?{x:0,y:-i.height-l,...zs}:a=s?{x:0,y:i.height+l,...zs}:{x:0,y:0,...zs}},qs="Sortable",Hs=r().createContext({activeIndex:-1,containerId:qs,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:js,disabled:{draggable:!1,droppable:!1}});function Us(t){let{children:n,id:a,items:o,strategy:s=js,disabled:i=!1}=t;const{active:l,dragOverlay:c,droppableRects:d,over:u,measureDroppableContainers:m}=(0,e.useContext)(Ss),p=Ga(qs,a),f=Boolean(null!==c.rect),h=(0,e.useMemo)((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),g=null!=l,b=l?h.indexOf(l.id):-1,w=u?h.indexOf(u.id):-1,v=(0,e.useRef)(h),x=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{x&&g&&m(h)}),[x,h,g,m]),(0,e.useEffect)((()=>{v.current=h}),[h]);const k=(0,e.useMemo)((()=>({activeIndex:b,containerId:p,disabled:E,disableTransforms:y,items:h,overIndex:w,useDragOverlay:f,sortedRects:Bs(h,d),strategy:s})),[b,p,E.draggable,E.droppable,y,h,w,d,f,s]);return r().createElement(Hs.Provider,{value:k},n)}const Ws=e=>{let{id:t,items:r,activeIndex:n,overIndex:a}=e;return Os(r,n,a).indexOf(t)},Vs=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:a,items:o,newIndex:s,previousItems:i,previousContainerId:l,transition:c}=e;return!(!c||!n||i!==o&&a===s||!r&&(s===a||t!==l))},Gs={duration:200,easing:"ease"},Zs="transform",Ys=Ka.Transition.toString({property:Zs,duration:0,easing:"linear"}),Js={roleDescription:"sortable"};function Qs(t){let{animateLayoutChanges:r=Vs,attributes:n,disabled:a,data:o,getNewIndex:s=Ws,id:i,strategy:l,resizeObserverConfig:c,transition:d=Gs}=t;const{items:u,containerId:m,activeIndex:p,disabled:f,disableTransforms:h,sortedRects:g,overIndex:b,useDragOverlay:w,strategy:v}=(0,e.useContext)(Hs),x=function(e,t){var r,n;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n:t.droppable}}(a,f),y=u.indexOf(i),E=(0,e.useMemo)((()=>({sortable:{containerId:m,index:y,items:u},...o})),[m,o,y,u]),k=(0,e.useMemo)((()=>u.slice(u.indexOf(i))),[u,i]),{rect:N,node:S,isOver:A,setNodeRef:D}=function(t){let{data:r,disabled:n=!1,id:a,resizeObserverConfig:o}=t;const s=Ga("Droppable"),{active:i,dispatch:l,over:c,measureDroppableContainers:d}=(0,e.useContext)(Ns),u=(0,e.useRef)({disabled:n}),m=(0,e.useRef)(!1),p=(0,e.useRef)(null),f=(0,e.useRef)(null),{disabled:h,updateMeasurementsFor:g,timeout:b}={..._s,...o},w=qa(null!=g?g:a),v=us({callback:(0,e.useCallback)((()=>{m.current?(null!=f.current&&clearTimeout(f.current),f.current=setTimeout((()=>{d(Array.isArray(w.current)?w.current:[w.current]),f.current=null}),b)):m.current=!0}),[b]),disabled:h||!i}),x=(0,e.useCallback)(((e,t)=>{v&&(t&&(v.unobserve(t),m.current=!1),e&&v.observe(e))}),[v]),[y,E]=Ua(x),k=qa(r);return(0,e.useEffect)((()=>{v&&y.current&&(v.disconnect(),m.current=!1,v.observe(y.current))}),[y,v]),za((()=>(l({type:co.RegisterDroppable,element:{id:a,key:s,disabled:n,node:y,rect:p,data:k}}),()=>l({type:co.UnregisterDroppable,key:s,id:a}))),[a]),(0,e.useEffect)((()=>{n!==u.current.disabled&&(l({type:co.SetDroppableDisabled,id:a,key:s,disabled:n}),u.current.disabled=n)}),[a,s,n,l]),{active:i,rect:p,isOver:(null==c?void 0:c.id)===a,node:y,over:c,setNodeRef:E}}({id:i,data:E,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:k,...c}}),{active:C,activatorEvent:I,activeNodeRect:L,attributes:T,setNodeRef:M,listeners:R,isDragging:_,over:O,setActivatorNodeRef:B,transform:P}=function(t){let{id:r,data:n,disabled:a=!1,attributes:o}=t;const s=Ga("Droppable"),{activators:i,activatorEvent:l,active:c,activeNodeRect:d,ariaDescribedById:u,draggableNodes:m,over:p}=(0,e.useContext)(Ns),{role:f=Rs,roleDescription:h="draggable",tabIndex:g=0}=null!=o?o:{},b=(null==c?void 0:c.id)===r,w=(0,e.useContext)(b?Is:Ms),[v,x]=Ua(),[y,E]=Ua(),k=function(t,r){return(0,e.useMemo)((()=>t.reduce(((e,t)=>{let{eventName:n,handler:a}=t;return e[n]=e=>{a(e,r)},e}),{})),[t,r])}(i,r),N=qa(n);return za((()=>(m.set(r,{id:r,key:s,node:v,activatorNode:y,data:N}),()=>{const e=m.get(r);e&&e.key===s&&m.delete(r)})),[m,r]),{active:c,activatorEvent:l,activeNodeRect:d,attributes:(0,e.useMemo)((()=>({role:f,tabIndex:g,"aria-disabled":a,"aria-pressed":!(!b||f!==Rs)||void 0,"aria-roledescription":h,"aria-describedby":u.draggable})),[a,f,g,b,h,u.draggable]),isDragging:b,listeners:a?void 0:k,node:v,over:p,setNodeRef:x,setActivatorNodeRef:E,transform:w}}({id:i,data:E,attributes:{...Js,...n},disabled:x.draggable}),j=function(){for(var t=arguments.length,r=new Array(t),n=0;ne=>{r.forEach((t=>t(e)))}),r)}(D,M),z=Boolean(C),F=z&&!h&&Ps(p)&&Ps(b),q=!w&&_,H=q&&F?P:null,U=F?null!=H?H:(null!=l?l:v)({rects:g,activeNodeRect:L,activeIndex:p,overIndex:b,index:y}):null,W=Ps(p)&&Ps(b)?s({id:i,items:u,activeIndex:p,overIndex:b}):y,V=null==C?void 0:C.id,G=(0,e.useRef)({activeId:V,items:u,newIndex:W,containerId:m}),Z=u!==G.current.items,Y=r({active:C,containerId:m,isDragging:_,isSorting:z,id:i,index:y,items:u,newIndex:G.current.newIndex,previousItems:G.current.items,previousContainerId:G.current.containerId,transition:d,wasDragging:null!=G.current.activeId}),J=function(t){let{disabled:r,index:n,node:a,rect:o}=t;const[s,i]=(0,e.useState)(null),l=(0,e.useRef)(n);return za((()=>{if(!r&&n!==l.current&&a.current){const e=o.current;if(e){const t=ko(a.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&i(r)}}n!==l.current&&(l.current=n)}),[r,n,a,o]),(0,e.useEffect)((()=>{s&&i(null)}),[s]),s}({disabled:!Y,index:y,node:S,rect:N});return(0,e.useEffect)((()=>{z&&G.current.newIndex!==W&&(G.current.newIndex=W),m!==G.current.containerId&&(G.current.containerId=m),u!==G.current.items&&(G.current.items=u)}),[z,W,m,u]),(0,e.useEffect)((()=>{if(V===G.current.activeId)return;if(V&&!G.current.activeId)return void(G.current.activeId=V);const e=setTimeout((()=>{G.current.activeId=V}),50);return()=>clearTimeout(e)}),[V]),{active:C,activeIndex:p,attributes:T,data:E,rect:N,index:y,newIndex:W,items:u,isOver:A,isSorting:z,isDragging:_,listeners:R,node:S,overIndex:b,over:O,setNodeRef:j,setActivatorNodeRef:B,setDroppableNodeRef:D,setDraggableNodeRef:M,transform:null!=J?J:U,transition:J||Z&&G.current.newIndex===y?Ys:q&&!Qa(I)||!d?void 0:z||Y?Ka.Transition.toString({...d,property:Zs}):void 0}}Uo.Down,Uo.Right,Uo.Up,Uo.Left;const Xs=({article:t,section:r,sections:n,setShowArticles:a,isAllowComments:o})=>{const{modified:s,comment_count:i}=t,l=wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id);return r?(0,e.createElement)("div",{key:r?.id,className:"flex items-center bg-white border-b border-[#D9D9D9] py-4"},(0,e.createElement)("div",{className:"flex items-center w-full group"},(0,e.createElement)("div",{className:"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("div",{className:"flex items-center pr-5"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"21",fill:"none",className:"w-auto pr-3.5"},(0,e.createElement)("path",{strokeWidth:"2",stroke:"#6b7280",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"})),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:(Boolean(parseInt(l))?"":"mr-4")+" flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},(0,e.createElement)("div",{className:"tooltip mr-6 cursor-pointer before:max-w-xl flex items-center flex-shrink-0 text-base font-medium text-gray-700 !shadow-none z-[9999]","data-tip":gt().decode((0,ft.__)(t?.title?.rendered,"wedocs"))},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:pt(t?.title?.rendered)}})),"draft"===t?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 mr-5"},(0,ft.__)("Draft","wedocs")),!Boolean(parseInt(l))&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(La,{type:"article",article:t,sections:n,docId:r?.parent,defaultSection:r,setShowArticles:a,className:"hidden group-hover:block mr-4"},(0,e.createElement)("span",{className:"tooltip cursor-pointer","data-tip":(0,ft.__)("Quick Edit","wedocs")},(0,e.createElement)("svg",{width:"22",fill:"none",height:"22",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor",className:"tooltip cursor-pointer stroke-gray-300 hover:stroke-indigo-700 -mt-[3px]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center mr-0.5","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("a",{target:"_blank",className:"hidden group-hover:block !shadow-none",rel:"noreferrer",href:t?.link},(0,e.createElement)("svg",{className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))))),(0,e.createElement)("div",{className:"flex items-center gap-5 flex-shrink-0 mt-4 sm:mt-0 sm:ml-5"},(0,e.createElement)("div",{className:"flex items-center gap-10"},wp?.hooks?.applyFilters("wedocs_article_privacy_action",[],t?.id),("on"===o||!Boolean(o))&&(0,e.createElement)("div",{className:"article-comments flex gap-2 items-center"},(0,e.createElement)("svg",{width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M6 9.01904H6.01M10 9.01904H10.01M14 9.01904H14.01M19 9.01904C19 13.4373 14.9706 17.019 10 17.019C8.46073 17.019 7.01172 16.6756 5.74467 16.0701L1 17.019L2.39499 13.2991C1.51156 12.0614 1 10.5933 1 9.01904C1 4.60077 5.02944 1.01904 10 1.01904C14.9706 1.01904 19 4.60077 19 9.01904Z",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,e.createElement)("p",{className:"comments-counter font-medium text-sm text-[#6B7280]"},i)),wp?.hooks?.applyFilters("wedocs_article_contributors","",t?.id),(0,e.createElement)("div",{className:"article-updated-date w-44 text-sm text-[#969696]"},(0,ft.sprintf)((0,ft.__)("Updated on %s","wedocs"),(()=>{const e=new Date(s);return e?.toLocaleDateString("en-US",{day:"numeric",month:"short",year:"numeric"})})))))),(0,e.createElement)("div",{className:"ml-8 flex-shrink-0 w-5 h-5"},!Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))&&(0,e.createElement)(Ta,{type:"article",doc:t,section:r,sections:n,setShowArticles:a})))):null},Ks=({sections:t,className:r,children:n,defaultSection:a,docId:o,setShowArticles:s})=>{const i=(0,bt.useRef)(null),[l,c]=(0,bt.useState)(!1),[d,u]=(0,bt.useState)(a?.id||""),[m,p]=(0,bt.useState)({title:{raw:""},parent:d?parseInt(d):"",status:"publish"}),[f,h]=(0,bt.useState)({title:!1,sectionId:!1}),g=(0,ut.useSelect)((e=>e(mt.A).getSectionArticles(parseInt(d))),[]),[b,w]=(0,bt.useState)(!1),v=()=>{c(!1)},x=e=>{p({...m,status:e})};return(0,bt.useEffect)((()=>{p({...m,parent:d}),h({...f,sectionId:!1})}),[d]),(0,bt.useEffect)((()=>{p({...m,menu_order:g?.length})}),[g]),Ia(i),(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{type:"button",onClick:e=>{e.stopPropagation(),c(!0)},className:r},n),(0,e.createElement)(dr,{appear:!0,show:l,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:v},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full max-w-md transform rounded-2xl bg-white py-6 px-9 text-center align-middle shadow-xl transition-all overflow-visible"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-bold text-gray-900 mb-2"},(0,ft.__)("Enter your article title","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Describe what the article is about","wedocs")),(0,e.createElement)("div",{className:"relative mt-6 mb-4"},(0,e.createElement)("input",{type:"text",name:"doc_title",id:"doc-title",placeholder:(0,ft.__)("Type an article name","wedocs"),required:!0,className:(f.title?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:m?.title?.raw,onChange:e=>{p({...m,title:{raw:e.target.value}}),h({...f,title:0===e.target.value.length})}}),f.title&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),void 0===a&&(0,e.createElement)(Aa,{sections:t,selectSectionId:u,defaultSection:a?.title?.rendered,isFormError:f.sectionId,docId:o}),(0,e.createElement)("div",{className:"mt-6 flex items-center justify-center space-x-3.5"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:v},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("div",{className:"doc-publish-btn group relative"},(0,e.createElement)("button",{className:"inline-flex justify-between items-center cursor-pointer bg-indigo-600 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md min-w-[122px]",ref:i,disabled:b,onClick:()=>{""!==m.title.raw?d?(w(!0),(0,ut.dispatch)(mt.A).createDoc(m).then((e=>{p({...m,title:{raw:""}}),u(a?.id||""),s&&s(!0),Hn().fire({title:(0,ft.__)("New article added!","wedocs"),text:(0,ft.__)("New article has been added successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3}),v()})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>w(!1)))):h({...f,sectionId:!0}):h({...f,title:!0})}},(0,e.createElement)(bt.Fragment,null,"publish"===m?.status?(0,ft.__)("Publish","wedocs"):(0,ft.__)("Draft","wedocs"),b?(0,ft.__)("ing...","wedocs"):"",(0,e.createElement)(Da,{className:"h-5 w-5 text-white mt-[1px]","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"action-menus",className:"hidden cursor-pointer w-44 z-40 bg-white border border-[#DBDBDB] absolute z-10 shadow right-0 py-1 rounded-md mt-0.5 group-hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-[70%] before:-right-[1px] after:h-[13px] before:h-3 before:mt-3 after:top-[-7px] before:-top-6 after:right-[1.4rem] after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0"},(0,e.createElement)("span",{onClick:()=>x("draft"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Draft","wedocs")),(0,e.createElement)("span",{onClick:()=>x("publish"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Publish","wedocs"))))))))))))},$s=({article:t,articles:r,isAdmin:n,section:a,sections:o,searchValue:s,setShowArticles:i,isAllowComments:l})=>{const{attributes:c,listeners:d,setNodeRef:u,transform:m,transition:p,isDragging:f}=Qs({id:t?.id}),h={transform:Ka?.Transform?.toString(m),zIndex:f?9999:100,position:f?"relative":"",transition:p},{modified:g,comment_count:b}=t,w=(0,ut.useSelect)((e=>e(mt.A).getArticleChildrens(parseInt(t?.id))),[]),v=w?.filter((e=>e?.title?.rendered?.toLowerCase().includes(s.toLowerCase()))),x=wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id);return a?(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("div",{className:"flex items-center !bg-white border-b border-[#D9D9D9] py-4",style:h,...c,ref:u},(0,e.createElement)("div",{className:"pr-3.5 py-0.5 cursor-grab"},(0,e.createElement)("svg",{width:"20",height:"21",fill:"none",...d,xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.5 7.498c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 8.573 8.5 7.498zm0 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 15.467 8.5 14.392zm3-6.894c0-1.075.871-1.947 1.947-1.947s1.947.872 1.947 1.947-.872 1.947-1.947 1.947S11.5 8.573 11.5 7.498zm3.893 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.871 1.947 1.947 1.947 1.947-.872 1.947-1.947z",fill:"#d9d9d9"}))),(0,e.createElement)("div",{className:"flex items-center w-full group"},(0,e.createElement)("div",{className:"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("div",{className:"flex items-center pr-5"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"21",fill:"none",className:"w-auto pr-3.5"},(0,e.createElement)("path",{strokeWidth:"2",stroke:"#6b7280",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"})),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:"flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},(0,e.createElement)("div",{className:"tooltip mr-6 cursor-pointer before:max-w-xl flex items-center flex-shrink-0 text-base font-medium text-gray-700 !shadow-none z-[9999]","data-tip":gt().decode((0,ft.__)(t?.title?.rendered,"wedocs"))},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:pt(t?.title?.rendered)}}))),"draft"===t?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 mr-5"},(0,ft.__)("Draft","wedocs")),(0,e.createElement)(Ks,{sections:r,className:"mr-4",defaultSection:t},(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center justify-center w-3.5 h-3.5","data-tip":(0,ft.__)("Create","wedocs")},(0,e.createElement)("span",{className:"flex items-center dashicons dashicons-plus-alt2 hidden group-hover:inline-flex text-2xl font-medium text-[#d1d5db] hover:text-indigo-700"}))),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:(Boolean(parseInt(x))?"":"mr-4")+" flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},!Boolean(parseInt(x))&&(0,e.createElement)(bt.Fragment,null,(0,e.createElement)(La,{article:t,sections:o,className:"hidden group-hover:block mr-4",defaultSection:a,setShowArticles:i},(0,e.createElement)("span",{className:"tooltip cursor-pointer","data-tip":(0,ft.__)("Quick Edit","wedocs")},(0,e.createElement)("svg",{width:"22",fill:"none",height:"22",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor",className:"tooltip cursor-pointer stroke-gray-300 hover:stroke-indigo-700 -mt-[3px]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center mr-0.5","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("a",{target:"_blank",className:"hidden group-hover:block !shadow-none",rel:"noreferrer",href:t?.link},(0,e.createElement)("svg",{className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))))),(0,e.createElement)("div",{className:"flex items-center gap-5 flex-shrink-0 mt-4 sm:mt-0 sm:ml-5"},(0,e.createElement)("div",{className:"flex items-center gap-0"},wp?.hooks?.applyFilters("wedocs_article_privacy_action",[],t?.id),("on"===l||!Boolean(l))&&(0,e.createElement)("div",{className:"article-comments flex gap-2 items-center"},(0,e.createElement)("svg",{width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M6 9.01904H6.01M10 9.01904H10.01M14 9.01904H14.01M19 9.01904C19 13.4373 14.9706 17.019 10 17.019C8.46073 17.019 7.01172 16.6756 5.74467 16.0701L1 17.019L2.39499 13.2991C1.51156 12.0614 1 10.5933 1 9.01904C1 4.60077 5.02944 1.01904 10 1.01904C14.9706 1.01904 19 4.60077 19 9.01904Z",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,e.createElement)("p",{className:"comments-counter font-medium text-sm text-[#6B7280]"},b)),wp?.hooks?.applyFilters("wedocs_article_contributors","",t?.id),(0,e.createElement)("div",{className:"article-updated-date w-44 text-sm text-[#969696]"},(0,ft.sprintf)((0,ft.__)("Updated on %s","wedocs"),(()=>{const e=new Date(g);return e?.toLocaleDateString("en-US",{day:"numeric",month:"short",year:"numeric"})})))))),(0,e.createElement)("div",{className:"ml-8 flex-shrink-0 w-5 h-5"},!Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))&&(0,e.createElement)(Ta,{type:"article",doc:t,section:a,sections:o,setShowArticles:i})))),!f&&v?.length>0&&(0,e.createElement)("div",{style:h,className:"my-1 article-children pl-4 sm:pl-16 bg-white"},v?.map((n=>(0,e.createElement)(Xs,{section:t,sections:r,key:n.id,article:n,setShowArticles:i,isAllowComments:l}))))):null},ei=({setItems:t,children:r,setNeedSortingStatus:n})=>{const a=function(){for(var t=arguments.length,r=new Array(t),n=0;n[...r].filter((e=>null!=e))),[...r])}((o=es,s={activationConstraint:{delay:150,tolerance:5}},(0,e.useMemo)((()=>({sensor:o,options:null!=s?s:{}})),[o,s])));var o,s;return(0,e.createElement)(Ts,{sensors:a,collisionDetection:go,onDragEnd:e=>{const{active:r,over:a}=e;r?.id!==a?.id&&t((e=>{const t=e.find((e=>e?.id===r?.id)),o=e.find((e=>e?.id===a?.id)),s=e.indexOf(t),i=e.indexOf(o),l=Os(e,s,i);return l&&(0,ut.dispatch)(mt.A)?.updateNeedSortingStatus({need_sortable_status:!0})?.then((e=>{n(e?.needSorting)})),l}))},class:"z-10"},r)};var ti=a(768);const ri=({docs:t,section:r,sections:n,searchValue:a})=>{const o=weDocsAdminVars?.hasManageCap,{id:s,title:i}=r,[l,c]=(0,bt.useState)(s===n?.[0]?.id),{attributes:d,listeners:u,setNodeRef:m,transform:p,transition:f,isDragging:h}=Qs({id:r.id}),g={transform:Ka?.Transform?.toString(p),zIndex:h?9999:0,position:h?"relative":"",transition:f},b=(0,ut.useSelect)((e=>e(mt.A).getSectionArticles(parseInt(s))),[]),w=(0,ut.useSelect)((e=>e(mt.A).getSortingStatus()),[]),v=(0,ut.useSelect)((e=>e(mt.A).getNeedSortingStatus()),[]),x=b?.filter((e=>{let r=e?.title?.rendered?.toLowerCase().includes(a.toLowerCase());return r||t?.map((t=>{if(t?.parent!==e?.id)return;let n=t?.title?.rendered?.toLowerCase().includes(a.toLowerCase());return n?r=n:void 0})),r}))||[],[y,E]=(0,bt.useState)([]),[k,N]=(0,bt.useState)(v);(0,bt.useEffect)((()=>{E([...x])}),[b,a]),(0,bt.useEffect)((()=>{k&&(0,ut.dispatch)(mt.A).updateSortingStatus({sortable_status:w,documentations:y}).then((e=>N(e?.sorting))).catch((e=>{}))}),[k]);const S=(0,ut.useSelect)((e=>e(ti.A).getSettings()),[]),{general:{comments:A}}=S;return(0,e.createElement)("div",{className:"space-y-4 mb-3",style:g,...d},(0,e.createElement)("div",{className:"bg-white shadow sm:rounded-md"},(0,e.createElement)("div",{className:"doc-section cursor-pointer px-4 py-5 sm:px-6"},(0,e.createElement)("div",{className:"flex items-center group",onClick:()=>c(!l)},(0,e.createElement)("div",{className:"pr-3.5 py-0.5 cursor-grab"},(0,e.createElement)("svg",{width:"20",height:"21",fill:"none",...u,ref:m,xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"#d9d9d9",fillRule:"evenodd",d:"M8.5 7.498c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 8.573 8.5 7.498zm0 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 15.467 8.5 14.392zm3-6.894c0-1.075.871-1.947 1.947-1.947s1.947.872 1.947 1.947-.872 1.947-1.947 1.947S11.5 8.573 11.5 7.498zm3.893 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.871 1.947 1.947 1.947 1.947-.872 1.947-1.947z"}))),(0,e.createElement)("div",{className:"flex items-center w-full"},(0,e.createElement)("div",{className:"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("div",{className:"flex items-center text-sm pr-5"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-auto pr-3.5",width:"20",height:"17",fill:"none"},(0,e.createElement)("path",{d:"M1 3.945v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-6l-2-2H3a2 2 0 0 0-2 2z",stroke:"#6b7280",strokeWidth:"2",strokeLinejoin:"round"})),(0,e.createElement)("a",{target:"_blank",href:`${weDocsAdminVars.adminUrl}post.php?post=${s}&action=edit`,className:"tooltip cursor-pointer before:max-w-xl flex items-center flex-shrink-0 text-base font-medium text-black !shadow-none z-[9980]","data-tip":gt().decode((0,ft.__)(i?.rendered,"wedocs")),rel:"noreferrer"},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:pt(i?.rendered)}}))),(0,e.createElement)("div",{className:(l?"bg-[#00A1E4]":"bg-gray-400")+" article-counter grid place-content-center text-white font-medium text-sm w-7 h-7 group-hover:bg-[#00A1E4] rounded-full"},x.length),"draft"===r?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 !ml-5"},(0,ft.__)("Draft","wedocs")),(0,e.createElement)(Ks,{sections:n,className:"ml-6 mr-1",defaultSection:r,setShowArticles:c},(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center justify-center w-3.5 h-3.5","data-tip":(0,ft.__)("Create","wedocs")},(0,e.createElement)("span",{className:"flex items-center dashicons dashicons-plus-alt2 hidden group-hover:inline-flex text-2xl font-medium text-[#d1d5db] hover:text-indigo-700"}))),(0,e.createElement)("a",{target:"_blank",className:"ml-4 hidden group-hover:block !shadow-none",rel:"noreferrer",href:`${weDocsAdminVars.adminUrl}post.php?post=${s}&action=edit`},(0,e.createElement)("span",{className:"tooltip cursor-pointer","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",className:"tooltip cursor-pointer stroke-gray-300 hover:stroke-indigo-700"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",href:r?.link,className:"flex items-center flex-shrink-0 text-base font-medium text-black !shadow-none ml-4"},(0,e.createElement)("span",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("svg",{className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),(0,e.createElement)(Un,{docId:r.id,type:"section",classes:"ml-4 hidden group-hover:block"},(0,e.createElement)("span",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("Delete","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-5 h-5 stroke-gray-300 hover:stroke-red-700"},(0,e.createElement)("path",{strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})))))),y&&y.length>0&&(0,e.createElement)("div",{className:"ml-5 flex-shrink-0"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:(l?"rotate-90 transform":"")+" group-hover:text-[#00A1E4] h-5 w-5 text-gray-400"},(0,e.createElement)("path",{d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"}))))),l&&!Boolean(h)&&(0,e.createElement)("div",{className:"mt-3 section-article pl-4 sm:pl-6"},y?.length>0?(0,e.createElement)(ei,{setItems:E,setNeedSortingStatus:N},(0,e.createElement)(Us,{items:y,strategy:Fs},y?.map((t=>(0,e.createElement)($s,{key:t.id,article:t,isAdmin:o,section:r,articles:y,sections:n,searchValue:a,setShowArticles:c,isAllowComments:A}))))):null,(0,e.createElement)(Ks,{sections:n,defaultSection:r,setShowArticles:c,className:"py-2.5 px-4 mt-7 mb-2 h-fit inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 text-sm text-white hover:text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},(0,e.createElement)("span",{className:"dashicons dashicons-plus-alt2 w-3.5 h-3.5 mr-3 text-base flex items-center"}),(0,ft.__)("Add article","wedocs"))))))},ni=()=>(0,e.createElement)(lt,{to:"/",className:"inline-flex group items-center text-gray-700 hover:text-indigo-700 focus:shadow-none !font-medium !text-base"},(0,e.createElement)("svg",{width:"35",height:"10",viewBox:"0 0 20 10",fill:"none",className:"pr-3 group-hover:!stroke-indigo-700 stroke-gray-500",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M5 9L1 5M1 5L5 1M1 5L19 5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,ft.__)("All Docs","wedocs"));window.backDocPage=ni;const ai=ni,oi=({parent:t,order:r,className:n,children:a})=>{const o=(0,bt.useRef)(null),[s,i]=(0,bt.useState)(!1),[l,c]=(0,bt.useState)({title:{raw:""},parent:parseInt(t),status:"publish"}),[d,u]=(0,bt.useState)(!1),[m,p]=(0,bt.useState)(!1),f=()=>{i(!1)},h=e=>{c({...l,status:e})};return(0,bt.useEffect)((()=>{c({...l,menu_order:r})}),[r]),Ia(o),(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{onClick:()=>{i(!0)},className:n},a),(0,e.createElement)(dr,{appear:!0,show:s,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:f},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full max-w-md transform overflow-visible rounded-2xl bg-white py-6 px-9 text-center align-middle shadow-xl transition-all"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-bold text-gray-900 mb-2"},(0,ft.__)("Enter your section title","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Use concise section titles for better navigation","wedocs"),(0,e.createElement)("br",null),(0,ft.__)("E.g., Getting Started","wedocs")),(0,e.createElement)("div",{className:"relative mt-4 mb-5"},(0,e.createElement)("input",{type:"text",name:"doc_title",id:"doc-title",placeholder:(0,ft.__)("Type a section name","wedocs"),required:!0,className:(d?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:l.title.raw,onChange:e=>{c({...l,title:{raw:e.target.value}}),u(0===e.target.value.length)}}),d&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-6 flex items-center justify-center space-x-3.5"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:f},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("div",{className:"doc-publish-btn group relative"},(0,e.createElement)("button",{className:"inline-flex justify-between items-center cursor-pointer bg-indigo-600 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md min-w-[122px]",ref:o,disabled:m,onClick:()=>{""!==l.title.raw?(p(!0),(0,ut.dispatch)(mt.A).createDoc(l).then((e=>{c({...l,title:{...l.title,raw:""}}),Hn().fire({title:(0,ft.__)("New section added!","wedocs"),text:(0,ft.__)("New section has been added successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3}),f()})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>p(!1)))):u(!0)}},(0,e.createElement)(bt.Fragment,null,"publish"===l?.status?(0,ft.__)("Publish","wedocs"):(0,ft.__)("Draft","wedocs"),m?(0,ft.__)("ing...","wedocs"):"",(0,e.createElement)(Da,{className:"h-5 w-5 text-white mt-[1px]","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"action-menus",className:"hidden cursor-pointer w-44 z-40 bg-white border border-[#DBDBDB] absolute z-10 shadow right-0 py-1 rounded-md mt-0.5 group-hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-[70%] before:-right-[1px] after:h-[13px] before:h-3 before:mt-3 after:top-[-7px] before:-top-6 after:right-[1.4rem] after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0"},(0,e.createElement)("span",{onClick:()=>h("draft"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Draft","wedocs")),(0,e.createElement)("span",{onClick:()=>h("publish"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Publish","wedocs"))))))))))))},si=({sections:t})=>{const{id:r}=ze(),n=wp.hooks.applyFilters("wedocs_show_documentation_actions",!0);return(0,e.createElement)(e.Fragment,null,n&&(0,e.createElement)("div",{className:"doc-listing-buttons space-x-3.5 mt-10"},(0,e.createElement)(oi,{parent:r,order:t?.length,className:"py-2.5 px-4 h-fit inline-flex items-center rounded-md border border-gray-300 bg-white text-gray-700 hover:text-white hover:bg-indigo-600 px-4 text-sm shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},(0,e.createElement)("span",{className:"dashicons dashicons-plus-alt2 w-3.5 h-3.5 mr-3 text-base flex items-center"}),(0,ft.__)("Add section","wedocs")),(0,e.createElement)(Ks,{sections:t,className:"py-2.5 px-4 h-fit inline-flex items-center rounded-md border border-gray-300 bg-white text-gray-700 hover:text-white hover:bg-indigo-600 px-4 text-sm shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},(0,e.createElement)("span",{className:"dashicons dashicons-plus-alt2 w-3.5 h-3.5 mr-3 text-base flex items-center"}),(0,ft.__)("Add article","wedocs"))))},ii=()=>(0,e.createElement)(e.Fragment,null,[0,1,2,3,4].map(((t,r)=>(0,e.createElement)("div",{key:r,className:"space-y-4 mb-3 animate-pulse bg-white border-b rounded-md hover:bg-gray-50"},(0,e.createElement)("div",{className:"bg-white shadow sm:rounded-md"},(0,e.createElement)("div",{className:"doc-section cursor-pointer px-4 py-6 sm:px-6 flex justify-between"},(0,e.createElement)("div",{className:"flex items-center group space-x-10 mt-0.5"},(0,e.createElement)("div",{className:"flex justify-center space-x-2"},(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}),(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}),(0,e.createElement)("span",{className:"ml-2 animate-pulse bg-slate-200 rounded h-4 w-52 border-b hover:bg-slate-300"}),(0,e.createElement)("div",{className:"article-counter grid place-content-center text-white font-medium text-sm h-4 w-6 bg-[#00A1E4] rounded"})),(0,e.createElement)("div",{className:"flex items-center group space-x-2"},(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}),(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}))),(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}))))))),li=({handleChange:t,searchValue:r,listing:n})=>((0,bt.useEffect)((()=>{const e=document.createElement("script");return e.src="https://cdn.headwayapp.co/widget.js",e.async=!0,document.body.appendChild(e),e.onload=()=>{window.Headway.init({selector:"#HW_badge_container",account:"7kzePx"})},()=>document.body.removeChild(e)}),[]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{id:"HW_badge_container",onClick:()=>{window.Headway.show()},className:"flex items-center justify-center tooltip ml-auto"}),(0,e.createElement)("div",{className:"flex items-center space-x-4 text-xl"},(0,e.createElement)("a",{target:"_blank",href:"https://wedocs.canny.io/ideas",className:"hover:!text-indigo-800 focus:shadow-none"},(0,ft.__)("💡 Feedback","wedocs")),(0,e.createElement)("div",{className:"relative rounded-md shadow-sm ml-auto"},(0,e.createElement)("input",{type:"text",placeholder:(0,ft.sprintf)((0,ft.__)("Search by %s","wedocs"),n?(0,ft.__)("article name","wedocs"):(0,ft.__)("document name","wedocs")),value:r,onChange:t,className:"w-80 h-10 text-sm focus:!border-indigo-300 !pl-4 !rounded-md !border-gray-300"}),r&&r.length>0&&(0,e.createElement)("div",{onClick:e=>t(e,!0),className:"cursor-pointer absolute inset-y-0 right-9 flex items-center pr-3"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,className:"w-5 h-5 stroke-[#6b7280]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-4"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,className:"w-6 h-6 stroke-[#6b7280]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}))))))),ci=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"}))})),di=({className:t,children:r})=>{const[n,a]=(0,bt.useState)(!1),{need_upgrade:o,status:s}=(0,ut.useSelect)((e=>e(ti.A).getUpgradeInfo()),[]);return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{disabled:"running"===s,onClick:()=>a(!0),className:t},r),(0,e.createElement)(dr,{appear:!0,show:n,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:()=>a(!1)},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-[512px] transform overflow-hidden rounded-2xl bg-white py-6 px-9 align-middle shadow-xl transition-all"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-[#E7E6FF] sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)("svg",{width:"19",height:"19",fill:"none"},(0,e.createElement)("path",{d:"M13.085 4.491c0 1.928-1.542 3.491-3.443 3.491S6.199 6.419 6.199 4.491 7.741 1 9.642 1s3.443 1.563 3.443 3.491z",stroke:"#4f46e5",strokeWidth:"2",strokeLinejoin:"round"}),(0,e.createElement)("mask",{id:"A",fill:"#fff"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.997 16.756a3.45 3.45 0 0 0 2.983-.995 3.57 3.57 0 0 0 0-4.996 3.45 3.45 0 0 0-4.927 0 3.56 3.56 0 0 0-.981 3.026L10.05 15.84c-.123.124-.192.293-.192.469v2.03c0 .366.293.662.653.662h2.002a.65.65 0 0 0 .462-.194l2.022-2.05zm-.045-1.36c-.225-.061-.465.004-.63.171l-2.079 2.108h-1.079v-1.094l2.079-2.108a.67.67 0 0 0 .169-.638c-.193-.737-.006-1.556.564-2.135a2.16 2.16 0 0 1 3.081 0c.85.863.85 2.262 0 3.124a2.16 2.16 0 0 1-2.105.572z"})),(0,e.createElement)("g",{fill:"#4f46e5"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.997 16.756a3.45 3.45 0 0 0 2.983-.995 3.57 3.57 0 0 0 0-4.996 3.45 3.45 0 0 0-4.927 0 3.56 3.56 0 0 0-.981 3.026L10.05 15.84c-.123.124-.192.293-.192.469v2.03c0 .366.293.662.653.662h2.002a.65.65 0 0 0 .462-.194l2.022-2.05zm-.045-1.36c-.225-.061-.465.004-.63.171l-2.079 2.108h-1.079v-1.094l2.079-2.108a.67.67 0 0 0 .169-.638c-.193-.737-.006-1.556.564-2.135a2.16 2.16 0 0 1 3.081 0c.85.863.85 2.262 0 3.124a2.16 2.16 0 0 1-2.105.572z"}),(0,e.createElement)("path",{d:"M14.997 16.756l.591-3.882-1.98-.302-1.407 1.426 2.796 2.757zm2.983-5.991l-2.797 2.757.002.002 2.795-2.758zm-5.909 3.026l2.795 2.758 1.376-1.395-.287-1.938-3.885.575zM10.05 15.84l-2.795-2.758h-.001l2.796 2.758zm4.902-.443l-1.028 3.79.006.002 1.022-3.792zm-2.709 2.28v3.927h1.643l1.153-1.17-2.796-2.757zm-1.079 0H7.237v3.927h3.927v-3.927zm0-1.094l-2.796-2.758-1.131 1.147v1.611h3.927zm2.248-2.747l-3.799.996.001.005 3.797-1.001zm3.645-2.135l2.797-2.756-.003-.003-2.795 2.759zm-2.651 8.938c2.255.343 4.644-.369 6.37-2.12l-5.592-5.515a.48.48 0 0 1 .404-.13l-1.182 7.764zm6.37-2.12a7.5 7.5 0 0 0-.001-10.512l-5.59 5.517c-.081-.082-.112-.184-.112-.261a.38.38 0 0 1 .111-.259l5.592 5.515zm.001-10.51a7.38 7.38 0 0 0-10.52-.001l5.592 5.515c-.177.18-.486.181-.666-.001l5.594-5.513zm-10.52-.001c-1.722 1.746-2.4 4.13-2.07 6.358l7.769-1.15c.013.086-.01.208-.107.307l-5.592-5.515zm-.981 3.025l-2.022 2.049 5.591 5.516 2.022-2.049-5.591-5.516zm-2.022 2.05c-.853.865-1.323 2.027-1.323 3.226h7.854a3.26 3.26 0 0 1-.939 2.289l-5.592-5.515zm-1.323 3.226v2.03h7.854v-2.03H5.931zm0 2.03c0 2.483 1.999 4.589 4.58 4.589v-7.854a3.27 3.27 0 0 1 3.274 3.265H5.931zm4.58 4.589h2.002v-7.854h-2.002v7.854zm2.002 0c1.232 0 2.403-.497 3.258-1.364l-5.592-5.515a3.28 3.28 0 0 1 2.334-.975v7.854zm3.258-1.364l2.022-2.05-5.592-5.515-2.022 2.05 5.592 5.515zm.208-9.957c-1.603-.435-3.302.036-4.453 1.204l5.592 5.515a3.28 3.28 0 0 1-3.194.861l2.056-7.58zm-4.453 1.204l-2.079 2.108 5.592 5.515 2.079-2.108-5.592-5.515zm.717.939h-1.079v7.854h1.079v-7.854zm2.848 3.927v-1.094H7.237v1.094h7.854zm-1.131 1.664l2.079-2.108-5.592-5.515-2.079 2.108 5.592 5.515zm2.079-2.108c1.146-1.162 1.582-2.837 1.17-4.397l-7.594 2.003a3.26 3.26 0 0 1 .832-3.121l5.592 5.515zm1.172-4.392c.14.533.014 1.16-.438 1.619l-5.592-5.515a6.16 6.16 0 0 0-1.567 5.888l7.597-1.992zm-.438 1.619a1.77 1.77 0 0 1-2.51.001l5.589-5.518c-2.387-2.418-6.283-2.42-8.671.001l5.592 5.515zm-2.513-.002c-.655-.665-.658-1.722.001-2.39l5.592 5.515a6.16 6.16 0 0 0 .002-8.637l-5.595 5.512zm.001-2.39c.46-.466 1.125-.62 1.713-.462l-2.044 7.583c2.042.55 4.323.017 5.924-1.606l-5.592-5.515z",mask:"url(#A)"})),(0,e.createElement)("mask",{id:"B",fill:"#fff"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.85 13.939a.97.97 0 0 1 0-1.353c.368-.373.966-.373 1.335 0a.97.97 0 0 1 0 1.353c-.368.373-.966.373-1.335 0z"})),(0,e.createElement)("g",{fill:"#4f46e5"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.85 13.939a.97.97 0 0 1 0-1.353c.368-.373.966-.373 1.335 0a.97.97 0 0 1 0 1.353c-.368.373-.966.373-1.335 0z"}),(0,e.createElement)("path",{d:"M17.646 11.182a2.96 2.96 0 0 1 0 4.161l-5.592-5.515c-1.876 1.902-1.876 4.966 0 6.868l5.592-5.515zm0 4.161c-1.17 1.186-3.088 1.186-4.257 0l5.592-5.515c-1.906-1.933-5.021-1.933-6.927 0l5.592 5.515zm-4.257 0a2.96 2.96 0 0 1 0-4.161l5.592 5.515c1.876-1.903 1.876-4.966 0-6.868l-5.592 5.515zm0-4.161c1.17-1.186 3.088-1.186 4.257 0l-5.592 5.515c1.906 1.933 5.021 1.933 6.927 0l-5.592-5.515z",mask:"url(#B)"})),(0,e.createElement)("path",{d:"M8.214 17.482H2a1 1 0 0 1-1-1v-1.278c0-.11.016-.219.061-.319.551-1.227 3.026-3.41 9.179-3.41",stroke:"#4f46e5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-medium text-gray-900 mb-2"},(0,ft.__)("Are you sure?","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("We recommend backing up your database before upgrading to ensure your data is safe. Are you sure you want to run the upgrade now?","wedocs")),(0,e.createElement)("div",{className:"mt-6 space-x-3.5 text-right"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:()=>a(!1)},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("button",{className:"bg-indigo-700 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md",onClick:()=>{(0,ut.dispatch)(ti.A).wedocsUpgrade({upgrade:o}).then((e=>{a(!1)})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})}))}},(0,ft.__)("I'm sure","wedocs"))))))))))))},ui=({status:t})=>{const[r,n]=(0,bt.useState)(!0);return(0,e.createElement)(e.Fragment,null,r&&(0,e.createElement)("div",{className:"border-l-4 border-indigo-600 rounded-md bg-white p-4 mb-7"},(0,e.createElement)("div",{className:"flex space-x-8"},(0,e.createElement)("div",{className:"flex flex-shrink-0 relative items-center"},(0,e.createElement)(ci,{className:"h-5 w-5 mt-0.5 text-indigo-600 bg-white absolute -right-1 -top-1 rounded-full z-[1]","aria-hidden":"true"}),(0,e.createElement)("div",{className:"avatar"},(0,e.createElement)("div",{className:"w-24 h-24 mask mask-squircle"},(0,e.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczp2PSJodHRwczovL3ZlY3RhLmlvL25hbm8iIHdpZHRoPSIyNTciIGhlaWdodD0iMjU3Ii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PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IksiIHgxPSI3NS4xODYiIHkxPSI5MC40MTgiIHgyPSI4NC43MzUiIHkyPSI4MC44NjkiIHhsaW5rOmhyZWY9IiNNIj48c3RvcCBzdG9wLWNvbG9yPSIjNTk2ZWZkIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjYzhiZGZmIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IkwiIHgxPSI1NC44NzIiIHkxPSIyMDUuNDc4IiB4Mj0iNjYuNDkxIiB5Mj0iMTkzLjg1OSIgeGxpbms6aHJlZj0iI00iPjxzdG9wIHN0b3AtY29sb3I9IiMxNmNmODkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNhZGU2OTYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iTSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiLz48L2RlZnM+PC9zdmc+Cg==",alt:(0,ft.__)("Wedocs Logo","wedocs")})))),(0,e.createElement)("div",{className:"ml-3 w-full"},(0,e.createElement)("div",{className:"flex justify-between items-center"},(0,e.createElement)("h3",{className:"text-base font-semibold"},(0,ft.__)("weDocs Data Update Required","wedocs")),(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:()=>n(!1),fill:"#4F46E5",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",className:"w-6 h-6 text-white cursor-pointer"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))),(0,e.createElement)("div",{className:"mt-2 text-base"},(0,e.createElement)("p",null,(0,ft.__)("A database upgrade is required. If you don't upgrade, you may experience unexpected behaviour while using weDocs.","wedocs"))),(0,e.createElement)("div",{className:"mt-4"},(0,e.createElement)("div",{className:"-mx-1 -mt-1 flex"},(0,e.createElement)(di,{className:"px-2 py-1.5 h-fit inline-flex items-center rounded-md border border-transparent bg-indigo-600 ease-in-out duration-200 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 disabled:opacity-75 disabled:hover:bg-indigo-600"},(0,ft.__)("Updat"+("running"===t?"ing...":"e"),"wedocs"))))))))},mi=()=>(0,e.createElement)("div",{className:"w-full mt-7"},(0,e.createElement)("div",{className:"shadow sm:overflow-hidden sm:rounded-md"},(0,e.createElement)("div",{className:"space-y-6 h-[80vh] flex justify-center align-center bg-white px-4 py-5 sm:p-6"},(0,e.createElement)("div",{className:"w-[600px] text-center self-center mt-1 px-6 py-12"},(0,e.createElement)("h2",{className:"mb-6"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"252",height:"95",fill:"none",className:"mx-auto mb-6"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M89.147 94.491h44.489c19.042-.023 34.469-15.284 34.492-34.115V34.63C168.105 15.8 152.674.542 133.636.516h-9.997C104.597.538 89.169 15.8 89.147 34.63v59.86zm44.489-9.419H98.671V34.634c.019-13.63 11.187-24.677 24.968-24.692h9.997c13.781.019 24.948 11.062 24.967 24.692V60.38c-.015 13.63-11.183 24.673-24.967 24.692z",fill:"#4f46e5"}),(0,e.createElement)("path",{d:"M112.286 59.238h27.347c.086 0 .154.068.154.155v6.651c0 .087-.068.155-.154.155h-27.347c-.087 0-.155-.068-.155-.155v-6.651c0-.087.072-.155.155-.155zm0-14.035h32.694c.087 0 .155.068.155.155v6.651c0 .087-.068.155-.155.155h-32.694c-.087 0-.155-.068-.155-.155v-6.651c0-.083.072-.155.155-.155zm0-14.039h18.052c.087 0 .155.068.155.155v6.651c0 .087-.068.155-.155.155h-18.052c-.087 0-.155-.068-.155-.155v-6.651c0-.083.072-.155.155-.155z",fill:"#000"}),(0,e.createElement)("path",{d:"M47.358 94.491V75.017H6.311c-3.46 0-6.265-2.805-6.265-6.265v-2.641c0-1.161.322-2.298.932-3.285C13.27 42.932 27.016 21.727 39.774 3.206A6.24 6.24 0 0 1 44.917.51h8.021c3.46 0 6.265 2.805 6.265 6.265v57.757H73v10.486H59.202v19.474H47.358zM12.429 64.597h34.996v-53.21h-.808c-10.903 15.761-23.622 35.17-34.188 52.429v.782zm213.884 29.894V75.017h-41.047c-3.46 0-6.265-2.805-6.265-6.265v-2.641a6.25 6.25 0 0 1 .932-3.285c12.292-19.895 26.039-41.099 38.796-59.621A6.24 6.24 0 0 1 223.872.51h8.021c3.46 0 6.265 2.805 6.265 6.265v57.757h13.796v10.486h-13.796v19.474h-11.845zm-34.928-29.894h34.995v-53.21h-.807c-10.903 15.761-23.622 35.17-34.188 52.429v.782z",fill:"#4f46e5"})),(0,e.createElement)("p",{className:"text-[#3B3F4A] font-bold text-2xl mx-auto mb-2"},(0,ft.__)("There’s Nothing here...","wedocs")),(0,e.createElement)("p",{className:"text-[#666B79] text-lg mx-auto"},(0,ft.__)("...maybe the page you’re looking for is not found or never existed.","wedocs"))))))),pi=()=>{const[t,r]=(0,bt.useState)(!1),n=(0,ut.useSelect)((e=>e(ti.A).getPromoNotice()),[]);return n?t?null:(0,e.createElement)("div",{className:"notice notice-success wedocs-notice flex p-0 relative",id:"wedocs-promotion-notice"},(0,e.createElement)("div",{className:"wedocs-logo-wrapper flex mr-[20px]"},(0,e.createElement)("img",{src:n.logo_url,alt:"weDocs Icon",className:"max-w-none"})),(0,e.createElement)("div",{className:"wedocs-notice-content-wrapper pr-[5px]"},(0,e.createElement)("h3",{className:"text-lg font-semibold mt-4 mb-2"},n.title),(0,e.createElement)("p",null,(0,e.createElement)("b",{className:"text-#3c434a font-[600]"},n.content)),(0,e.createElement)("a",{href:n.action_url,className:"button button-primary"},n.action_title)),(0,e.createElement)("button",{type:"button",className:"notice-dismiss",onClick:()=>{r(!0),(0,ut.dispatch)(mt.A).dismissPromoNotice(n.key).then((e=>{e.success&&((0,ut.dispatch)("wedocs/settings").invalidateResolution("getPromoNotice"),(0,ut.select)(ti.A).getPromoNotice())}))}},(0,e.createElement)("span",{className:"screen-reader-text"},(0,ft.__)("Dismiss this notice","wedocs")))):null},fi=()=>{const{id:t}=ze(),r=(0,ut.useSelect)((e=>e(mt.A).getDocs()),[]),n=r?.find((e=>e?.id===parseInt(t))),a=(0,ut.useSelect)((e=>e(mt.A).getSectionsDocs(parseInt(t))),[]),o=(0,ut.useSelect)((e=>e(mt.A).getLoading()),[]),s=(0,ut.useSelect)((e=>e(mt.A).getSortingStatus()),[]),i=(0,ut.useSelect)((e=>e(mt.A).getNeedSortingStatus()),[]),[l,c]=(0,bt.useState)(""),[d,u]=(0,bt.useState)(i),m=(0,ut.useSelect)((e=>e(mt.A).getDocArticles(parseInt(t))),[]),p=m?.filter((e=>{let t=e?.title?.rendered?.toLowerCase().includes(l.toLowerCase());return t||r?.map((r=>{if(r?.parent!==e?.id)return;let n=r?.title?.rendered?.toLowerCase().includes(l.toLowerCase());return n?t=n:void 0})),t})),{need_upgrade:f,status:h}=(0,ut.useSelect)((e=>e(ti.A).getUpgradeInfo()),[]),g=a?.filter((e=>{const t=[];return p?.forEach((e=>t.includes(e.parent)?"":t.push(e.parent))),t.includes(e.id)?e:e?.title?.rendered?.toLowerCase().includes(l.toLowerCase())}))||[],[b,w]=(0,bt.useState)([]);(0,bt.useEffect)((()=>{w([...g])}),[a,l]);const v=wp.hooks.applyFilters("wedocs_show_documentation_actions",!0),x=(0,ut.useSelect)((e=>e("wedocs/docs").getUserDocIds()),[]),y=Ca(),E=wp.hooks.applyFilters("wedocs_validate_listing_params",!0,x,y,t);return"done"===h&&(0,ut.dispatch)(ti.A).makeUpdateDone().then((e=>{e&&Hn().fire({icon:"success",text:(0,ft.__)("weDocs database has been updated successfully","wedocs"),title:(0,ft.__)("Database Updated!","wedocs"),toast:!0,timer:3e3,position:"bottom-end",showConfirmButton:!1})})).catch((e=>{})),(0,bt.useEffect)((()=>{d&&(0,ut.dispatch)(mt.A).updateSortingStatus({sortable_status:s,documentations:b}).then((e=>u(e?.sorting))).catch((e=>{}))}),[d]),(0,e.createElement)(bt.Fragment,null,E?(0,e.createElement)("div",{className:"docs-section-listing wrap py-5"},!o&&v&&f&&(0,e.createElement)(ui,{status:h}),(0,e.createElement)("div",{className:"flex items-center justify-between mb-7"},(0,e.createElement)(ai,null),(0,e.createElement)(li,{listing:!0,searchValue:l,handleChange:(e,t=!1)=>{c(t?"":e.target.value)}})),(0,e.createElement)(pi,null),(0,e.createElement)(wt,{doc:n}),o&&(0,e.createElement)(ii,null),!o&&(0,e.createElement)(bt.Fragment,null,b.length>0?(0,e.createElement)(ei,{setItems:w,setNeedSortingStatus:u},(0,e.createElement)(Us,{items:b,strategy:Fs},b?.map((t=>(0,e.createElement)(ri,{docs:r,key:t.id,section:t,sections:b,searchValue:l}))))):(0,e.createElement)("div",{className:"space-y-4 mb-3"},(0,e.createElement)("div",{className:"bg-white shadow sm:rounded-md"},(0,e.createElement)("div",{className:"flex items-center cursor-pointer text-base px-4 py-5 sm:px-6"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6 mr-2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})),(0,ft.__)("No section or article found for this documentation","wedocs"))))),(0,e.createElement)(si,{sections:b})):(0,e.createElement)(mi,null))};function hi({onFocus:t}){let[r,n]=(0,e.useState)(!0),a=jt();return r?e.createElement(gr,{as:"button",type:"button",features:hr.Focusable,onFocus:e=>{e.preventDefault();let r,o=50;r=requestAnimationFrame((function e(){if(o--<=0)r&&cancelAnimationFrame(r);else if(t()){if(cancelAnimationFrame(r),!a.current)return;n(!1)}else r=requestAnimationFrame(e)}))}}):null}const gi=e.createContext(null);function bi({children:t}){let r=e.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let a=null!=(r=n.get(t))?r:0;return n.set(t,a+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return e.createElement(gi.Provider,{value:r},t)}function wi(t){let r=e.useContext(gi);if(!r)throw new Error("You must wrap your component in a ");let n=function(){var t,r,n;let a=null!=(n=null==(r=null==(t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:t.ReactCurrentOwner)?void 0:r.current)?n:null;if(!a)return Symbol();let o=[],s=a;for(;s;)o.push(s.index),s=s.return;return"$."+o.join(".")}(),[a,o]=r.current.get(t,n);return e.useEffect((()=>o),[]),a}var vi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(vi||{}),xi=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(xi||{}),yi=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(yi||{});let Ei={0(e,t){var r;let n=Ir(e.tabs,(e=>e.current)),a=Ir(e.panels,(e=>e.current)),o=n.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),s={...e,tabs:n,panels:a};if(t.index<0||t.index>n.length-1){let r=xt(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>xt(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===o.length)return s;let a=xt(r,{0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])});return{...s,selectedIndex:-1===a?e.selectedIndex:a}}let i=n.slice(0,t.index),l=[...n.slice(t.index),...i].find((e=>o.includes(e)));if(!l)return s;let c=null!=(r=n.indexOf(l))?r:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...s,selectedIndex:c}},1(e,t){var r;if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],a=Ir([...e.tabs,t.tab],(e=>e.current)),o=null!=(r=a.indexOf(n))?r:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:Ir([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},ki=(0,e.createContext)(null);function Ni(t){let r=(0,e.useContext)(ki);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Ni),e}return r}ki.displayName="TabsDataContext";let Si=(0,e.createContext)(null);function Ai(t){let r=(0,e.useContext)(Si);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Ai),e}return r}function Di(e,t){return xt(t.type,Ei,e,t)}Si.displayName="TabsActionsContext";let Ci=e.Fragment,Ii=Et.RenderStrategy|Et.Static,Li=Dt((function(t,r){var n,a;let o=fr(),{id:s=`headlessui-tabs-tab-${o}`,...i}=t,{orientation:l,activation:c,selectedIndex:d,tabs:u,panels:m}=Ni("Tab"),p=Ai("Tab"),f=Ni("Tab"),h=(0,e.useRef)(null),g=Ut(h,r);Pt((()=>p.registerTab(h)),[p,h]);let b=wi("tabs"),w=u.indexOf(h);-1===w&&(w=b);let v=w===d,x=qt((e=>{var t;let r=e();if(r===Er.Success&&"auto"===c){let e=null==(t=br(h))?void 0:t.activeElement,r=f.tabs.findIndex((t=>t.current===e));-1!==r&&p.change(r)}return r})),y=qt((e=>{let t=u.map((e=>e.current)).filter(Boolean);if(e.key===mr.Space||e.key===mr.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(w);switch(e.key){case mr.Home:case mr.PageUp:return e.preventDefault(),e.stopPropagation(),x((()=>Lr(t,yr.First)));case mr.End:case mr.PageDown:return e.preventDefault(),e.stopPropagation(),x((()=>Lr(t,yr.Last)))}return x((()=>xt(l,{vertical:()=>e.key===mr.ArrowUp?Lr(t,yr.Previous|yr.WrapAround):e.key===mr.ArrowDown?Lr(t,yr.Next|yr.WrapAround):Er.Error,horizontal:()=>e.key===mr.ArrowLeft?Lr(t,yr.Previous|yr.WrapAround):e.key===mr.ArrowRight?Lr(t,yr.Next|yr.WrapAround):Er.Error})))===Er.Success?e.preventDefault():void 0})),E=(0,e.useRef)(!1),k=qt((()=>{var e;E.current||(E.current=!0,null==(e=h.current)||e.focus({preventScroll:!0}),p.change(w),Wt((()=>{E.current=!1})))})),N=qt((e=>{e.preventDefault()})),S=(0,e.useMemo)((()=>({selected:v})),[v]);return Nt({ourProps:{ref:g,onKeyDown:y,onMouseDown:N,onClick:k,id:s,role:"tab",type:Jn(t,h),"aria-controls":null==(a=null==(n=m[w])?void 0:n.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:i,slot:S,defaultTag:"button",name:"Tabs.Tab"})})),Ti=Dt((function(t,r){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:s,selectedIndex:i=null,...l}=t;const c=a?"vertical":"horizontal",d=o?"manual":"auto";let u=null!==i,m=Ut(r),[p,f]=(0,e.useReducer)(Di,{selectedIndex:null!=i?i:n,tabs:[],panels:[]}),h=(0,e.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),g=zt(s||(()=>{})),b=zt(p.tabs),w=(0,e.useMemo)((()=>({orientation:c,activation:d,...p})),[c,d,p]),v=qt((e=>(f({type:1,tab:e}),()=>f({type:2,tab:e})))),x=qt((e=>(f({type:3,panel:e}),()=>f({type:4,panel:e})))),y=qt((e=>{E.current!==e&&g.current(e),u||f({type:0,index:e})})),E=zt(u?t.selectedIndex:p.selectedIndex),k=(0,e.useMemo)((()=>({registerTab:v,registerPanel:x,change:y})),[]);Pt((()=>{f({type:0,index:null!=i?i:n})}),[i]),Pt((()=>{if(void 0===E.current||p.tabs.length<=0)return;let e=Ir(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&y(e.indexOf(p.tabs[E.current]))}));let N={ref:m};return e.createElement(bi,null,e.createElement(Si.Provider,{value:k},e.createElement(ki.Provider,{value:w},w.tabs.length<=0&&e.createElement(hi,{onFocus:()=>{var e,t;for(let r of b.current)if(0===(null==(e=r.current)?void 0:e.tabIndex))return null==(t=r.current)||t.focus(),!0;return!1}}),Nt({ourProps:N,theirProps:l,slot:h,defaultTag:Ci,name:"Tabs"}))))})),Mi=Dt((function(e,t){let{orientation:r,selectedIndex:n}=Ni("Tab.List");return Nt({ourProps:{ref:Ut(t),role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})})),Ri=Dt((function(t,r){let{selectedIndex:n}=Ni("Tab.Panels");return Nt({ourProps:{ref:Ut(r)},theirProps:t,slot:(0,e.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),_i=Dt((function(t,r){var n,a,o,s;let i=fr(),{id:l=`headlessui-tabs-panel-${i}`,tabIndex:c=0,...d}=t,{selectedIndex:u,tabs:m,panels:p}=Ni("Tab.Panel"),f=Ai("Tab.Panel"),h=(0,e.useRef)(null),g=Ut(h,r);Pt((()=>f.registerPanel(h)),[f,h]);let b=wi("panels"),w=p.indexOf(h);-1===w&&(w=b);let v=w===u,x=(0,e.useMemo)((()=>({selected:v})),[v]),y={ref:g,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(n=m[w])?void 0:n.current)?void 0:a.id,tabIndex:v?c:-1};return v||null!=(o=d.unmount)&&!o||null!=(s=d.static)&&s?Nt({ourProps:y,theirProps:d,slot:x,defaultTag:"div",features:Ii,visible:v,name:"Tabs.Panel"}):e.createElement(gr,{as:"span",...y})})),Oi=Object.assign(Li,{Group:Ti,List:Mi,Panels:Ri,Panel:_i});const Bi=({classes:t,showPopup:r,children:n})=>(0,e.createElement)(e.Fragment,null,n?(0,e.createElement)("span",{onClick:r},n):(0,e.createElement)("a",{target:"_blank",href:"//wedocs.co/",onClick:r,className:`upgrade-button text-white hover:text-white focus:text-white focus:ring-0 px-4 py-2.5 inline-flex items-center rounded-md bg-[#ff9000] hover:bg-[#cf7500] font-semibold text-sm gap-2.5 ${t||""}`},(0,ft.__)("Upgrade to PRO ","wedocs"),(0,e.createElement)("svg",{className:"crown-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",fill:"#fff",height:"15"},(0,e.createElement)("path",{d:"M19.213 4.116c.003.054-.001.108-.015.162l-1.234 6.255a.56.56 0 0 1-.541.413l-7.402.036h-.003-7.402c-.257 0-.482-.171-.544-.414L.839 4.295a.53.53 0 0 1-.015-.166C.347 3.983 0 3.548 0 3.036c0-.632.528-1.145 1.178-1.145s1.178.514 1.178 1.145a1.13 1.13 0 0 1-.43.884L3.47 5.434c.39.383.932.602 1.486.602.655 0 1.28-.303 1.673-.81l2.538-3.272c-.213-.207-.345-.494-.345-.809C8.822.514 9.351 0 10 0s1.178.514 1.178 1.145c0 .306-.125.584-.327.79l.002.003 2.52 3.281c.393.512 1.02.818 1.677.818a2.11 2.11 0 0 0 1.481-.597l1.554-1.512c-.268-.21-.44-.531-.44-.892 0-.632.528-1.145 1.177-1.145S20 2.405 20 3.036c0 .498-.329.922-.787 1.079zm-1.369 8.575c0-.301-.251-.545-.561-.545H2.779c-.31 0-.561.244-.561.545V14c0 .301.251.546.561.546h14.505c.31 0 .561-.244.561-.546v-1.309z"})))),Pi=({classes:t})=>{const r=[(0,ft.__)("Role-based permission management","wedocs"),(0,ft.__)("Auto & manual content arrangement","wedocs"),(0,ft.__)("Customizable doc & messaging tab","wedocs"),(0,ft.__)("Pre-built & custom colors","wedocs"),(0,ft.__)("Assistant widget and A.I. Powered Chatbot","wedocs")];return(0,e.createElement)("div",{className:`${t} pro-badge-tooltip w-[270px] z-[2000] py-8 px-6 bg-black left-[50%] text-left absolute -translate-x-1/2 translate-y-[4%] rounded-md text-center after:content-[''] before:content[''] before:absolute before:w-full before:h-4 before:left-0 before:-top-4 after:w-4 after:h-4 after:left-1/2 after:top-0.5 after:rounded-sm after:absolute after:-translate-x-1/2 after:-translate-y-1/2 after:rotate-[45deg] after:bg-black`},(0,e.createElement)("h3",{className:"tooltip-header text-white text-sm mb-4 leading-3 font-semibold"},(0,ft.__)("Available in Pro. Unlock & enjoy:","wedocs")),r&&(0,e.createElement)("ul",{className:"text-left mb-7"},r?.map(((t,r)=>(0,e.createElement)("li",{key:r,className:"flex items-center text-sm space-x-2.5 font-normal leading-6 whitespace-break-spaces"},(0,e.createElement)("span",{className:"tooltip-check"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"8",fill:"#139F84"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z"}))),(0,e.createElement)("span",null,t))))),(0,e.createElement)(Bi,null))},ji=({classes:t})=>{const[r,n]=(0,bt.useState)(!1);return(0,e.createElement)("span",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),className:`pro-badge cursor-pointer relative text-white text-[10px] py-[3px] px-[5px] leading-none ml-1.5 ${t||""}`},(0,e.createElement)("svg",{className:"crown-icon hover:fill-[#cf7500]",xmlns:"http://www.w3.org/2000/svg",width:"20",fill:"#ff9000",height:"15"},(0,e.createElement)("path",{d:"M19.213 4.116c.003.054-.001.108-.015.162l-1.234 6.255a.56.56 0 0 1-.541.413l-7.402.036h-.003-7.402c-.257 0-.482-.171-.544-.414L.839 4.295a.53.53 0 0 1-.015-.166C.347 3.983 0 3.548 0 3.036c0-.632.528-1.145 1.178-1.145s1.178.514 1.178 1.145a1.13 1.13 0 0 1-.43.884L3.47 5.434c.39.383.932.602 1.486.602.655 0 1.28-.303 1.673-.81l2.538-3.272c-.213-.207-.345-.494-.345-.809C8.822.514 9.351 0 10 0s1.178.514 1.178 1.145c0 .306-.125.584-.327.79l.002.003 2.52 3.281c.393.512 1.02.818 1.677.818a2.11 2.11 0 0 0 1.481-.597l1.554-1.512c-.268-.21-.44-.531-.44-.892 0-.632.528-1.145 1.177-1.145S20 2.405 20 3.036c0 .498-.329.922-.787 1.079zm-1.369 8.575c0-.301-.251-.545-.561-.545H2.779c-.31 0-.561.244-.561.545V14c0 .301.251.546.561.546h14.505c.31 0 .561-.244.561-.546v-1.309z"})),(0,e.createElement)(Pi,{classes:r?"block":"hidden"}))},zi=()=>{let t={general:{text:(0,ft.__)("General","wedocs"),icon:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",stroke:"#6b7280",strokeWidth:"2",strokeLinejoin:"round",className:"-ml-1 mr-4"},(0,e.createElement)("path",{d:"M8.325 2.317c.426-1.756 2.924-1.756 3.351 0 .275 1.135 1.575 1.673 2.572 1.066 1.543-.94 3.31.826 2.369 2.369-.608.997-.069 2.297 1.066 2.572 1.756.426 1.756 2.924 0 3.351-1.135.275-1.673 1.575-1.065 2.572.94 1.543-.826 3.31-2.369 2.369-.997-.608-2.297-.069-2.572 1.066-.426 1.756-2.924 1.756-3.351 0-.275-1.135-1.575-1.673-2.572-1.065-1.543.94-3.31-.826-2.369-2.369.608-.997.069-2.297-1.066-2.572-1.756-.426-1.756-2.924 0-3.351 1.135-.275 1.673-1.575 1.066-2.572-.94-1.543.826-3.31 2.369-2.369.997.608 2.297.069 2.572-1.066z"}),(0,e.createElement)("path",{d:"M13 10a3 3 0 1 1-6 0 3 3 0 1 1 6 0z"}))}};const[r,n]=(0,bt.useState)(!0);return t=wp.hooks.applyFilters("wedocs_settings_menu",t),(0,e.createElement)(bt.Fragment,null,Object.entries(t).map(((t,a)=>(0,e.createElement)(bt.Fragment,{key:a},t[1]?.disabled?(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("div",{onClick:()=>n(!r),className:"disable-tab-item settings-tab w-full focus:outline-0 !text-black aria-selected:text-gray-600 aria-selected:bg-gray-100 hover:text-gray-600 hover:bg-gray-100 group rounded-md px-5 py-3 flex items-center text-sm font-medium cursor-pointer"},t[1]?.icon,(0,e.createElement)("span",{className:"truncate"},t[1]?.text),t[1]?.pro&&(0,e.createElement)(ji,null),(0,e.createElement)("svg",{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"#6b7280",className:"w-5 h-5 ml-auto"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"}))),t[1]?.subtabs&&t[1]?.subtabs?.map(((t,n)=>(0,e.createElement)(Oi,{key:n,disabled:t?.disabled,className:(r?"":"hidden")+" settings-sub-tab w-full focus:outline-0 !text-black aria-selected:text-gray-600 aria-selected:bg-gray-100 hover:text-gray-600 hover:bg-gray-100 group rounded-md px-5 py-3 flex items-center text-sm font-medium"},(0,e.createElement)("div",{className:"pro-sub-settings ml-9 flex items-center w-full"},t?.icon,(0,e.createElement)("span",{className:"truncate"},t?.text),t?.pro&&(0,e.createElement)(ji,null)))))):(0,e.createElement)(Oi,{className:"settings-tab w-full focus:outline-0 !text-black aria-selected:text-gray-600 aria-selected:bg-gray-100 hover:text-gray-600 hover:bg-gray-100 group rounded-md px-5 py-3 flex items-center text-sm font-medium cursor-pointer"},t[1]?.icon,(0,e.createElement)("span",{className:"truncate"},(0,ft.__)(t[1]?.text,"wedocs")),t[1]?.pro&&(0,e.createElement)(ji,null))))))},Fi=({settingsSaveHandler:t,saving:r})=>(0,e.createElement)("div",{className:"flex justify-end mt-5 p-5 pr-0"},(0,e.createElement)("button",{type:"button",onClick:t,className:(r?"opacity-50":"opacity-100")+" min-w-[136px] inline-flex shadow shadow-lg shadow-gray-800/30 items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},r?(0,ft.__)("Saving...","wedocs"):(0,ft.__)("Save Settings","wedocs")));let qi=(0,e.createContext)(null);function Hi(){let t=(0,e.useContext)(qi);if(null===t){let e=new Error("You used a
    'Person', + 'name' => $contributor->display_name, + 'url' => get_author_posts_url($contributor->ID) + ]; + } + if ($post) { + $schema_data['dateModified'] = get_the_modified_date('c', $post); + } + } + + // Title + if ($show_title) { + $title_css = wedocs_styles_to_css($title_styles); + $contributor_hover_style = '--contributor-hover-color: ' . esc_attr($contributor_hover_color); + + $output .= '

    ' . esc_html($title) . '

    '; + } + + // Contributors container with gap + $container_gap_style = 'gap: ' . esc_attr($contributor_gap); + $output .= '
    '; + + // Last updated date + if ($show_last_updated) { + $date_format_string = $date_format === 'custom' ? $custom_date_format : get_option('date_format'); + $last_modified = $post ? get_the_modified_date($date_format_string, $post) : date($date_format_string); + + $output .= '
    '; + $output .= esc_html($date_prefix) . ' ' . esc_html($last_modified); + $output .= '
    '; + } + + $output .= '

    <Srx7E!btHNW5 z%64K&L2kwZTX55k7atl-{A{p`5A8=^*ZfapFO-GHWeH&C%^sGy&(AGukfMYk?8Bfe zf&zfim?q;}vCUi%%^gG7@RkR`>2nrcS9OD0>%FnVO8zOXoF1awrUY$$Vocvmd?Wbb z3-gnrdDaq)Om~w1B#iqQn*)@G1km zv{>?~IQ{eFLj+@`DpKWS3ON}6i(Y3aPDfaSjy>Ep0#oV7GaG^jOq=*4g}9$?bY%Nf zu`m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?{PtwYv?j=Zg2Wo#6eIMCl%O{$6n=TJ0Vue+cm?R1ibJ zB#z(U-ubbNfr!BVn{+;l@CH2~KL;A4w|=iy_fq-BADx%kEUL(DS||;9*zPRPD{VnA zSm)oFLaSU5Ymz%M;aYC1 z0-b6wVO@k)FiRQXr<}qzr{;!P8HISEbR^?U0cMNvIP@Ft?inaVO%gC&LSdQBf{!XB zfq%uG?4HrZ^;|YgM)7A26_XOtVne{?hX^ebH8<_n=$q}976BebT^iWbd6zb}?=+xe%NM^NM9jtYM2c(MLHR1> z%aL_wnn*p3f||8rG^KtE%E4FnN|7<(6m@u$<45;Fe8&|FuwvSN<0IO^PGj`}dD=W2 z>+GK)zbC)yP1d8yTakwvhU`9`WXSpA#civ*VVNwx!{+pZQUZo{f~HjMr=I+ z+6+1{A4xPU6d64hu&r@namnTuq~hOOe{GN zOP*t1@3&7#E3vy1_=NSi0HaR%Mb-i5hXZFf3bkWawx<0i7W~cH3`k2NuIPiv8oaJF^oZkxC<7G?qj{l)k5B21%jtxoO2pKPNg{i9B zuyt^UnWXYxdoMbec;JRLFSvc?GV?o%?9N_L+0W41WNMUMp+-z admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'wedocs-ajax' ), + 'assetsUrl' => WEDOCS_ASSETS, ), ); diff --git a/includes/Frontend.php b/includes/Frontend.php index 14abb696..4862fcb7 100644 --- a/includes/Frontend.php +++ b/includes/Frontend.php @@ -36,7 +36,7 @@ public function __construct() { add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_single_scripts' ], 9 ); // override the theme template - add_filter( 'template_include', [ $this, 'template_loader' ], 20 ); + // add_filter( 'template_include', [ $this, 'template_loader' ], 20 ); $this->init_classes(); } @@ -78,6 +78,7 @@ public function register_scripts() { wp_localize_script( 'wedocs-scripts', 'weDocs_Vars', [ 'nonce' => wp_create_nonce( 'wedocs-ajax' ), 'style' => WEDOCS_ASSETS . '/build/print.css?v=10', + 'assetsUrl' => WEDOCS_ASSETS, 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'powered' => sprintf( '© %s, %d. %s
    %s', get_bloginfo( 'name' ), date( 'Y' ), __( 'Powered by weDocs plugin for WordPress', 'wedocs' ), home_url() ), 'isSingleDoc' => is_singular( 'docs' ), diff --git a/src/blocks/Contributors/block.json b/src/blocks/Contributors/block.json new file mode 100644 index 00000000..5615fb93 --- /dev/null +++ b/src/blocks/Contributors/block.json @@ -0,0 +1,334 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "wedocs/contributors", + "version": "1.0.0", + "title": "Doc Contributors", + "icon": "groups", + "category": "widgets", + "description": "Display the author(s)/contributors of a doc along with the last updated date.", + "supports": { + "html": false + }, + "editorScript": "file:./index.js", + "editorStyle": "file:./index.css", + "style": "file:./style-index.css", + "render": "file:./render.php", + "attributes": { + "showTitle": { + "type": "boolean", + "default": true + }, + "title": { + "type": "string", + "default": "Contributors" + }, + "titleColor": { + "type": "string", + "default": "#fff" + }, + "contributorDisplayMode": { + "type": "string", + "default": "all", + "enum": ["all", "manual", "main_author"] + }, + "selectedContributors": { + "type": "array", + "default": [] + }, + "showLastUpdated": { + "type": "boolean", + "default": true + }, + "dateFormat": { + "type": "string", + "default": "wp_default" + }, + "customDateFormat": { + "type": "string", + "default": "F j, Y" + }, + "datePrefix": { + "type": "string", + "default": "Updated on" + }, + "backgroundType": { + "type": "string", + "default": "classic", + "enum": ["classic", "gradient"] + }, + "backgroundColor": { + "type": "string", + "default": "#f9f9f9" + }, + "backgroundGradient": { + "type": "string", + "default": "" + }, + "backgroundImage": { + "type": "object", + "default": { + "url": "", + "alt": "" + } + }, + "padding": { + "type": "object", + "default": { + "top": "15px", + "right": "15px", + "bottom": "15px", + "left": "15px" + } + }, + "margin": { + "type": "object", + "default": { + "top": "10px", + "right": "0px", + "bottom": "10px", + "left": "0px" + } + }, + "borderStyle": { + "type": "string", + "default": "solid", + "enum": ["none", "solid", "dashed", "dotted"] + }, + "borderWidth": { + "type": "object", + "default": { + "top": "1px", + "right": "1px", + "bottom": "1px", + "left": "1px" + } + }, + "borderColor": { + "type": "string", + "default": "#dddddd" + }, + "borderRadius": { + "type": "string", + "default": "4px" + }, + "boxShadow": { + "type": "object", + "default": { + "enabled": false, + "horizontal": "0px", + "vertical": "2px", + "blur": "4px", + "spread": "0px", + "color": "rgba(0,0,0,0.1)" + } + }, + "showAvatar": { + "type": "boolean", + "default": true + }, + "avatarType": { + "type": "string", + "default": "user_avatar", + "enum": ["user_avatar", "common_icon"] + }, + "avatarSize": { + "type": "string", + "default": "32px" + }, + "avatarShape": { + "type": "string", + "default": "circle", + "enum": ["circle", "rounded", "square"] + }, + "avatarBorderStyle": { + "type": "string", + "default": "none", + "enum": ["none", "solid", "dashed"] + }, + "avatarBorderColor": { + "type": "string", + "default": "#dddddd" + }, + "avatarBorderRadius": { + "type": "string", + "default": "50%" + }, + "avatarHoverEffect": { + "type": "boolean", + "default": false + }, + "nameColor": { + "type": "string", + "default": "#333333" + }, + "nameTypography": { + "type": "object", + "default": { + "fontSize": "14px", + "fontWeight": "600", + "fontStyle": "normal", + "lineHeight": "normal", + "letterSpacing": "normal", + "textTransform": "none", + "textDecoration": "none", + "fontFamily": "default" + } + }, + "nameHoverColor": { + "type": "string", + "default": "#0073aa" + }, + "contributorTitleColor": { + "type": "string", + "default": "#333333" + }, + "contributorTitleTypography": { + "type": "object", + "default": { + "fontSize": "16px", + "fontWeight": "600", + "fontStyle": "normal", + "lineHeight": "normal", + "letterSpacing": "normal", + "textTransform": "none", + "textDecoration": "none", + "fontFamily": "default" + } + }, + "contributorTitleHoverColor": { + "type": "string", + "default": "#0073aa" + }, + "dateColor": { + "type": "string", + "default": "#666666" + }, + "dateTypography": { + "type": "object", + "default": { + "fontSize": "12px", + "fontWeight": "400", + "fontStyle": "normal", + "lineHeight": "normal", + "letterSpacing": "normal", + "textTransform": "none", + "textDecoration": "none", + "fontFamily": "default" + } + }, + "additionalCssClass": { + "type": "string", + "default": "" + }, + "enableSchema": { + "type": "boolean", + "default": false + }, + "linkBehavior": { + "type": "string", + "default": "user_profile", + "enum": ["user_profile", "no_link", "custom_link"] + }, + "customLinkUrl": { + "type": "string", + "default": "" + }, + "avatarPadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "avatarMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "8px", + "bottom": "0px", + "left": "0px" + } + }, + "avatarBorderWidth": { + "type": "object", + "default": { + "top": "2px", + "right": "2px", + "bottom": "2px", + "left": "2px" + } + }, + "avatarBoxShadow": { + "type": "object", + "default": { + "enabled": false, + "horizontal": "0px", + "vertical": "2px", + "blur": "4px", + "spread": "0px", + "color": "rgba(0,0,0,0.1)" + } + }, + "namePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "nameMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "datePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "dateMargin": { + "type": "object", + "default": { + "top": "10px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + }, + "contributorGap": { + "type": "string", + "default": "10px" + }, + "titlePadding": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "10px", + "left": "0px" + } + }, + "titleMargin": { + "type": "object", + "default": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + } + } + } +} diff --git a/src/blocks/Contributors/demo-avtar/avatar_1.png b/src/blocks/Contributors/demo-avtar/avatar_1.png new file mode 100644 index 0000000000000000000000000000000000000000..62ddd48b26d053af6c30c459b1b918d2a58c0d50 GIT binary patch literal 43910 zcmX_oV|ZlG6K=SfB)iGPwl=nHCmS0ZTN4|bjcwc7*xJ~(ZD(WL`Tg&6?}zgoOrP$q zw@Y1BXTp9cNPa`WMSy^S_$DnSrVIfAc?Ul30bjsRs1f?XHxQ5@Wl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