????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.80.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/buyeaa.com/wp-content/plugins/woocommerce/assets/client/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/buyeaa.com/wp-content/plugins/woocommerce/assets/client/blocks/legacy-template.js
(()=>{var e,o,t,c={7977:(e,o,t)=>{"use strict";var c={};t.r(c),t.d(c,{blockifyConfig:()=>re,getDescription:()=>ce,isConversionPossible:()=>te});var r={};t.r(r),t.d(r,{blockifyConfig:()=>ne,getDescription:()=>ae,isConversionPossible:()=>se});var l={};t.r(l),t.d(l,{blockifyConfig:()=>we,getDescription:()=>pe,getSkeleton:()=>ue,isConversionPossible:()=>me});const i=window.wp.blocks,s=window.wc.wcSettings,a=(0,s.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),n=a.pluginUrl+"assets/images/",m=(a.pluginUrl,s.STORE_PAGES.shop,s.STORE_PAGES.checkout,s.STORE_PAGES.checkout,s.STORE_PAGES.privacy,s.STORE_PAGES.privacy,s.STORE_PAGES.terms,s.STORE_PAGES.terms,s.STORE_PAGES.cart,s.STORE_PAGES.cart,s.STORE_PAGES.myaccount?.permalink?s.STORE_PAGES.myaccount.permalink:(0,s.getSetting)("wpLoginUrl","/wp-login.php"),(0,s.getSetting)("localPickupEnabled",!1),(0,s.getSetting)("shippingMethodsExist",!1),(0,s.getSetting)("shippingEnabled",!0),(0,s.getSetting)("countries",{})),d=(0,s.getSetting)("countryData",{}),p={...Object.fromEntries(Object.keys(d).filter((e=>!0===d[e].allowBilling)).map((e=>[e,m[e]||""]))),...Object.fromEntries(Object.keys(d).filter((e=>!0===d[e].allowShipping)).map((e=>[e,m[e]||""])))},u=(Object.fromEntries(Object.keys(p).map((e=>[e,d[e].states||{}]))),Object.fromEntries(Object.keys(p).map((e=>[e,d[e].locale||{}]))),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]}),w=((0,s.getSetting)("addressFieldsLocations",u).address,(0,s.getSetting)("addressFieldsLocations",u).contact,(0,s.getSetting)("addressFieldsLocations",u).order,(0,s.getSetting)("additionalOrderFields",{}),(0,s.getSetting)("additionalContactFields",{}),(0,s.getSetting)("additionalAddressFields",{}),window.wp.blockEditor),h=window.wp.components;var g=t(7723),k=t(4530),_=t(8471);const b=window.wp.data;var f=t(6087);const y=window.wp.notices,B=window.wp.coreData;t(2801),t(5101);const x="woocommerce/legacy-template",v="single-product",j="product-catalog",S="product-taxonomy",P="product-search-results",C="order-confirmation",T="archive-product",O={"single-product":{type:v,title:(0,g.__)("Product (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product page.","woocommerce"),placeholder:"single-product"},"archive-product":{type:j,title:(0,g.__)("Product Grid (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product grid page. ","woocommerce"),placeholder:T},"taxonomy-product_cat":{type:S,title:(0,g.__)("Product Category (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product category page.","woocommerce"),placeholder:T},"taxonomy-product_tag":{type:S,title:(0,g.__)("Product Tag (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product tag page.","woocommerce"),placeholder:T},"taxonomy-product_attribute":{type:S,title:(0,g.__)("Product Attribute (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product attribute page.","woocommerce"),placeholder:T},"taxonomy-product":{type:S,title:(0,g.__)("Product's Custom Taxonomy (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product's custom taxonomy page.","woocommerce"),placeholder:T},"product-search-results":{type:P,title:(0,g.__)("Product Search Results (Classic)","woocommerce"),description:(0,g.__)("Displays the PHP product search results.","woocommerce"),placeholder:T},"checkout-header":{type:"checkout-header",title:(0,g.__)("Checkout Header","woocommerce"),placeholder:"checkout-header"},"order-confirmation":{type:C,title:(0,g.__)("Order Confirmation Block","woocommerce"),placeholder:"fallback"}};function N(e,o){const t=Object.keys(o);let c=null;for(let r=0;t.length>r;r++){const l=o[e.substr(0,t[r].length)];if(l){c=l;break}}return c}const I=(e,o)=>{const t="core/query-title",c=((0,i.getBlockType)(t)?.variations||[]).find((({name:o})=>o===e));if(!c)return null;const{attributes:r}=c,l={...r,...o,showPrefix:!1};return(0,i.createBlock)(t,l)},E=(e,o)=>{const t="core/group",c=((0,i.getBlockType)(t)?.variations||[]).find((({name:e})=>"group-row"===e));if(!c)return null;const{attributes:r}=c,l={...r,...o,layout:{...r.layout,justifyContent:"space-between"}};return(0,i.createBlock)(t,l,e)},A=JSON.parse('{"name":"woocommerce/product-collection"}');let D=function(e){return e.GRID="flex",e.STACK="list",e}({}),L=function(e){return e.FILL="fill",e.FIXED="fixed",e}({}),R=function(e){return e.SINGLE="single",e.THUMBNAIL="thumbnail",e}({});const H=`${A.name}/product-title`,G=(0,s.getSetting)("stockStatusOptions",[]),M={perPage:9,pages:0,offset:0,postType:"product",order:"asc",orderBy:"title",search:"",exclude:[],inherit:!1,taxQuery:{},isProductCollectionBlock:!0,featured:!1,woocommerceOnSale:!1,woocommerceStockStatus:(0,s.getSetting)("hideOutOfStockItems",!1)?Object.keys(function(e,o){const{[o]:t,...c}=e;return c}(G,"outofstock")):Object.keys(G),woocommerceAttributes:[],woocommerceHandPickedProducts:[],timeFrame:void 0,priceRange:void 0,filterable:!1,relatedBy:{categories:!0,tags:!0}},z={query:M,tagName:"div",displayLayout:{type:D.GRID,columns:3,shrinkColumns:!0},dimensions:{widthType:L.FILL},queryContextIncludes:["collection"],forcePageReload:!1},F=["woocommerce/product-template",{},[["woocommerce/product-image",{imageSizing:R.THUMBNAIL}],["core/post-title",{textAlign:"center",level:2,fontSize:"medium",style:{spacing:{margin:{bottom:"0.75rem",top:"0"}},typography:{lineHeight:"1.4"}},isLink:!0,__woocommerceNamespace:H}],["woocommerce/product-price",{textAlign:"center",fontSize:"small"}],["woocommerce/product-button",{textAlign:"center",fontSize:"small"}]]],U=[F,["core/query-pagination",{layout:{type:"flex",justifyContent:"center"}}],["woocommerce/product-collection-no-results"]],q=e=>(0,i.createBlock)("woocommerce/product-collection",{...z,...e,query:{...M,inherit:!0}},(0,i.createBlocksFromInnerBlocksTemplate)(U)),W=(e,o=!1)=>[(0,i.createBlock)("woocommerce/breadcrumbs",e),I("archive-title",e),o?(0,i.createBlock)("core/term-description",e):null,(0,i.createBlock)("woocommerce/store-notices",e),E([(0,i.createBlock)("woocommerce/product-results-count"),(0,i.createBlock)("woocommerce/catalog-sorting")],e),q(e)].filter(Boolean),Y=()=>!0,$=(e,o)=>o?(e=>(0,g.sprintf)(/* translators: %s is the template title */ /* translators: %s is the template title */
(0,g.__)("Transform this template into multiple blocks so you can add, remove, reorder, and customize your %s template.","woocommerce"),e))(e):(e=>(0,g.sprintf)(/* translators: %s is the template title */ /* translators: %s is the template title */
(0,g.__)("This block serves as a placeholder for your %s. It will display the actual product image, title, price in your store. You can move this placeholder around and add more blocks around to customize the template.","woocommerce"),e))(e),J=()=>(0,g.__)("Transform into blocks","woocommerce"),V={isConversionPossible:Y,getDescription:$,blockifyConfig:{getButtonLabel:J,onClickCallback:({clientId:e,attributes:o,getBlocks:t,replaceBlock:c,selectBlock:r})=>{c(e,W(o));const l=t().find((e=>"core/group"===e.name&&e.innerBlocks.some((e=>"woocommerce/store-notices"===e.name))));l&&r(l.clientId)},getBlockifiedTemplate:W}},X={isConversionPossible:Y,getDescription:$,blockifyConfig:{getButtonLabel:J,onClickCallback:({clientId:e,attributes:o,getBlocks:t,replaceBlock:c,selectBlock:r})=>{c(e,W(o,!0));const l=t().find((e=>"core/group"===e.name&&e.innerBlocks.some((e=>"woocommerce/store-notices"===e.name))));l&&r(l.clientId)},getBlockifiedTemplate:e=>W(e,!0)}},K=JSON.parse('{"title":"Product Title","description":"Display the title of a product."}');var Q=t(8992),Z=t(790);const ee="woocommerce/product-query/product-title";!function(e,{blockDescription:o,blockIcon:t,blockTitle:c,variationName:r,scope:l}){(0,i.registerBlockVariation)(e,{description:o,name:r,title:c,isActive:e=>e.__woocommerceNamespace===r,icon:{src:t},attributes:{__woocommerceNamespace:r},scope:l})}("core/post-title",{blockDescription:K.description,blockIcon:(0,Z.jsx)(h.Icon,{icon:Q.A}),blockTitle:K.title,variationName:ee,scope:["block"]});const oe=()=>[(0,i.createBlock)("woocommerce/breadcrumbs"),(0,i.createBlock)("woocommerce/store-notices"),(0,i.createBlock)("core/columns",{align:"wide"},[(0,i.createBlock)("core/column",{type:"constrained",justifyContent:"right",width:"512px"},[(0,i.createBlock)("woocommerce/product-image-gallery")]),(0,i.createBlock)("core/column",{},[(0,i.createBlock)("core/post-title",{__woocommerceNamespace:ee,level:1}),(0,i.createBlock)("woocommerce/product-rating"),(0,i.createBlock)("woocommerce/product-price",{fontSize:"large"}),(0,i.createBlock)("woocommerce/product-summary",{isDescendentOfSingleProductTemplate:!0}),(0,i.createBlock)("woocommerce/add-to-cart-form"),(0,i.createBlock)("woocommerce/product-meta")])]),(0,i.createBlock)("woocommerce/product-details",{align:"wide",className:"is-style-minimal"}),(0,i.createBlock)("core/heading",{align:"wide",level:2,content:(0,g.__)("Related Products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}),(0,i.createBlock)("woocommerce/product-collection",{...z,query:{...M,perPage:5,pages:1,woocommerceStockStatus:["instock","onbackorder"],filterable:!1},displayLayout:{type:"flex",columns:5,shrinkColumns:!0},collection:"woocommerce/product-collection/related",hideControls:["inherit"],align:"wide"},(0,i.createBlocksFromInnerBlocksTemplate)([F]))].filter(Boolean),te=()=>!0,ce=(e,o)=>o?(e=>(0,g.sprintf)(/* translators: %s is the template title */ /* translators: %s is the template title */
(0,g.__)("Transform this template into multiple blocks so you can add, remove, reorder, and customize your %s template.","woocommerce"),e))(e):(e=>(0,g.sprintf)(/* translators: %s is the template title */ /* translators: %s is the template title */
(0,g.__)("This block serves as a placeholder for your %s. It will display the actual product image, title, price in your store. You can move this placeholder around and add more blocks around to customize the template.","woocommerce"),e))(e),re={getButtonLabel:()=>(0,g.__)("Transform into blocks","woocommerce"),onClickCallback:({clientId:e,getBlocks:o,replaceBlock:t,selectBlock:c})=>{t(e,oe());const r=o().find((e=>"core/group"===e.name&&e.innerBlocks.some((e=>"woocommerce/breadcrumbs"===e.name))));r&&c(r.clientId)},getBlockifiedTemplate:oe},le=e=>{const o=((e,o)=>{const t=[(0,i.createBlock)("core/paragraph",{content:(0,g.__)("No products were found matching your selection.","woocommerce")}),(0,i.createBlock)("core/search",{buttonPosition:"button-outside",buttonText:(0,g.__)("Search","woocommerce"),buttonUseIcon:!1,showLabel:!1,placeholder:(0,g.__)("Search products…","woocommerce"),query:{post_type:"product"}})],c="woocommerce/product-collection-no-results",r=e.findIndex((e=>e[0]===c)),l={...e[r][1]||{},...o},s=[c,l,t];return[...e.slice(0,r),s,...e.slice(r+1)]})(U,e);return(0,i.createBlock)("woocommerce/product-collection",{...z,...e,query:{...M,inherit:!0}},(0,i.createBlocksFromInnerBlocksTemplate)(o))},ie=e=>[I("search-title",e),(0,i.createBlock)("woocommerce/store-notices",e),E([(0,i.createBlock)("woocommerce/product-results-count"),(0,i.createBlock)("woocommerce/catalog-sorting")],e),le(e)].filter(Boolean),se=()=>!0,ae=(e,o)=>o?(e=>(0,g.sprintf)(/* translators: %s is the template title */ /* translators: %s is the template title */
(0,g.__)("Transform this template into multiple blocks so you can add, remove, reorder, and customize your %s template.","woocommerce"),e))(e):(e=>(0,g.sprintf)(/* translators: %s is the template title */ /* translators: %s is the template title */
(0,g.__)("This block serves as a placeholder for your %s. It will display the actual product image, title, price in your store. You can move this placeholder around and add more blocks around to customize the template.","woocommerce"),e))(e),ne={getButtonLabel:()=>(0,g.__)("Transform into blocks","woocommerce"),onClickCallback:({clientId:e,attributes:o,getBlocks:t,replaceBlock:c,selectBlock:r})=>{c(e,ie(o));const l=t().find((e=>"core/group"===e.name&&e.innerBlocks.some((e=>"woocommerce/store-notices"===e.name))));l&&r(l.clientId)},getBlockifiedTemplate:ie},me=()=>!0,de=e=>[(0,i.createBlock)("woocommerce/order-confirmation-status",{...e,fontSize:"large"}),(0,i.createBlock)("woocommerce/order-confirmation-summary",e),(0,i.createBlock)("woocommerce/order-confirmation-totals-wrapper",e),(0,i.createBlock)("woocommerce/order-confirmation-downloads-wrapper",e),(0,i.createBlock)("core/columns",{...e,className:"wc-block-order-confirmation-address-wrapper"},[(0,i.createBlock)("core/column",e,[(0,i.createBlock)("woocommerce/order-confirmation-shipping-wrapper",e)]),(0,i.createBlock)("core/column",e,[(0,i.createBlock)("woocommerce/order-confirmation-billing-wrapper",e)])]),(0,i.createBlock)("woocommerce/order-confirmation-additional-fields-wrapper",e),(0,i.createBlock)("woocommerce/order-confirmation-additional-information",e)].filter(Boolean),pe=()=>(0,g.__)("This block represents the classic template used to display the order confirmation. The actual rendered template may appear different from this placeholder.","woocommerce"),ue=()=>(0,Z.jsx)("div",{className:"woocommerce-page",children:(0,Z.jsxs)("div",{className:"woocommerce-order",children:[(0,Z.jsx)("h1",{children:(0,g.__)("Order received","woocommerce")}),(0,Z.jsx)("p",{className:"woocommerce-notice woocommerce-notice--success woocommerce-thankyou-order-confirmation",children:(0,g.__)("Thank you. Your order has been received.","woocommerce")}),(0,Z.jsxs)("ul",{className:"woocommerce-order-overview woocommerce-thankyou-order-details order_details",children:[(0,Z.jsxs)("li",{className:"woocommerce-order-overview__order order",children:[(0,g.__)("Order number","woocommerce"),":"," ",(0,Z.jsx)("strong",{children:"123"})]}),(0,Z.jsxs)("li",{className:"woocommerce-order-overview__date date",children:[(0,g.__)("Date","woocommerce"),":"," ",(0,Z.jsx)("strong",{children:"May 25, 2023"})]}),(0,Z.jsxs)("li",{className:"woocommerce-order-overview__email email",children:[(0,g.__)("Email","woocommerce"),":"," ",(0,Z.jsx)("strong",{children:"[email protected]"})]}),(0,Z.jsxs)("li",{className:"woocommerce-order-overview__total total",children:[(0,g.__)("Total","woocommerce"),":"," ",(0,Z.jsx)("strong",{children:"$20.00"})]})]}),(0,Z.jsxs)("section",{className:"woocommerce-order-details",children:[(0,Z.jsx)("h2",{className:"woocommerce-order-details__title",children:(0,g.__)("Order details","woocommerce")}),(0,Z.jsxs)("table",{className:"woocommerce-table woocommerce-table--order-details shop_table order_details",children:[(0,Z.jsx)("thead",{children:(0,Z.jsxs)("tr",{children:[(0,Z.jsx)("th",{className:"woocommerce-table__product-name product-name",children:(0,g.__)("Product","woocommerce")}),(0,Z.jsx)("th",{className:"woocommerce-table__product-table product-total",children:(0,g.__)("Total","woocommerce")})]})}),(0,Z.jsx)("tbody",{children:(0,Z.jsxs)("tr",{className:"woocommerce-table__line-item order_item",children:[(0,Z.jsxs)("td",{className:"woocommerce-table__product-name product-name",children:["Sample Product"," ",(0,Z.jsx)("strong",{className:"product-quantity",children:"× 2"})," "]}),(0,Z.jsx)("td",{className:"woocommerce-table__product-total product-total",children:"$20.00"})]})}),(0,Z.jsxs)("tfoot",{children:[(0,Z.jsxs)("tr",{children:[(0,Z.jsxs)("th",{scope:"row",children:[(0,g.__)("Subtotal","woocommerce"),":"]}),(0,Z.jsx)("td",{children:"$20.00"})]}),(0,Z.jsxs)("tr",{children:[(0,Z.jsxs)("th",{scope:"row",children:[(0,g.__)("Total","woocommerce"),":"]}),(0,Z.jsx)("td",{children:"$20.00"})]})]})]})]}),(0,Z.jsx)("section",{className:"woocommerce-customer-details",children:(0,Z.jsxs)("section",{className:"woocommerce-columns woocommerce-columns--2 woocommerce-columns--addresses col2-set addresses",children:[(0,Z.jsxs)("div",{className:"woocommerce-column woocommerce-column--1 woocommerce-column--billing-address col-1",children:[(0,Z.jsx)("h2",{className:"woocommerce-column__title",children:(0,g.__)("Billing address","woocommerce")}),(0,Z.jsxs)("address",{children:["123 Main St",(0,Z.jsx)("br",{}),"New York, NY 10001",(0,Z.jsx)("br",{}),"United States (US)"]})]}),(0,Z.jsxs)("div",{className:"woocommerce-column woocommerce-column--2 woocommerce-column--shipping-address col-2",children:[(0,Z.jsx)("h2",{className:"woocommerce-column__title",children:(0,g.__)("Shipping address","woocommerce")}),(0,Z.jsxs)("address",{children:["123 Main St",(0,Z.jsx)("br",{}),"New York, NY 10001",(0,Z.jsx)("br",{}),"United States (US)"]})]})]})})]})}),we={getButtonLabel:()=>(0,g.__)("Transform into blocks","woocommerce"),onClickCallback:({clientId:e,attributes:o,getBlocks:t,replaceBlock:c,selectBlock:r})=>{c(e,de(o));const l=t().find((e=>"core/group"===e.name&&e.innerBlocks.some((e=>"woocommerce/store-notices"===e.name))));l&&r(l.clientId)},getBlockifiedTemplate:de},he={[j]:V,[S]:X,[v]:c,[P]:r,[C]:l,fallback:{isConversionPossible:()=>!1,getBlockifiedTemplate:()=>[],getDescription:()=>"",onClickCallback:()=>{}}},ge=({blockifyConfig:e,clientId:o,attributes:t})=>{const{getButtonLabel:c,onClickCallback:r,getBlockifiedTemplate:l}=e,[s,a]=(0,f.useState)(!1),{replaceBlock:n,selectBlock:m,replaceBlocks:d}=(0,b.useDispatch)(w.store),{getBlocks:p}=(0,b.useSelect)((e=>({getBlocks:e(w.store).getBlocks})),[]),{createInfoNotice:u}=(0,b.useDispatch)(y.store);return(0,Z.jsx)("div",{className:"wp-block-woocommerce-classic-template__placeholder-migration-button-container",children:(0,Z.jsx)(h.Button,{variant:"primary",onClick:()=>{r({clientId:o,getBlocks:p,attributes:t,replaceBlock:n,selectBlock:m}),u((0,g.__)("Template transformed into blocks!","woocommerce"),{actions:[{label:(0,g.__)("Undo","woocommerce"),onClick:()=>{const e=p().reduce(((e,o)=>"core/template-part"===o.name?e:[...e,o.clientId]),[]);d(e,(0,i.createBlock)("core/group",{layout:{inherit:!0,type:"constrained"}},[(0,i.createBlock)("woocommerce/legacy-template",{template:t.template})]))}}],type:"snackbar"})},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),text:c?c():"",children:s&&(0,Z.jsx)(h.Popover,{resize:!1,placement:"right-end",children:(0,Z.jsx)("div",{style:{minWidth:"250px",width:"250px",maxWidth:"250px",minHeight:"300px",height:"300px",maxHeight:"300px",cursor:"pointer"},children:(0,Z.jsx)(w.BlockPreview,{blocks:l({...t,isPreview:!0}),viewportWidth:1200,additionalStyles:[{css:"body { padding: 20px !important; height: fit-content !important; overflow:hidden}"}]})})})})})},ke=({clientId:e,attributes:o,setAttributes:t})=>{var c,r,l;const i=(0,w.useBlockProps)(),{editedPostId:s}=(0,b.useSelect)((e=>({editedPostId:e("core/edit-site").getEditedPostId()})),[]),a=(0,B.useEntityRecord)("postType","wp_template",s),m=N(o.template,O),d=null!==(c=a.record?.title.rendered?.toLowerCase())&&void 0!==c?c:o.template,p=null!==(r=m?.placeholder)&&void 0!==r?r:"fallback",u=null!==(l=m?.type)&&void 0!==l?l:"fallback";(0,f.useEffect)((()=>{var e;return t({template:o.template,align:null!==(e=o.align)&&void 0!==e?e:"wide"})}),[o.align,o.template,t]);const{isConversionPossible:k,getDescription:_,getSkeleton:y,blockifyConfig:x}=he[u],v=y?y():(0,Z.jsx)("img",{className:"wp-block-woocommerce-classic-template__placeholder-image",src:`${n}template-placeholders/${p}.svg`,alt:d}),j=k(),S=_(d,j);return(0,Z.jsx)("div",{...i,children:(0,Z.jsxs)(h.Placeholder,{className:"wp-block-woocommerce-classic-template__placeholder",children:[(0,Z.jsx)("div",{className:"wp-block-woocommerce-classic-template__placeholder-wireframe",children:v}),(0,Z.jsxs)("div",{className:"wp-block-woocommerce-classic-template__placeholder-copy",children:[(0,Z.jsxs)("div",{className:"wp-block-woocommerce-classic-template__placeholder-copy__icon-container",children:[(0,Z.jsx)("h1",{children:(0,g.__)("WooCommerce","woocommerce")}),(0,Z.jsx)("span",{children:(0,g.__)("Classic Template Placeholder","woocommerce")})]}),(0,Z.jsx)("p",{dangerouslySetInnerHTML:{__html:S}}),(0,Z.jsx)("p",{children:(0,g.__)("You cannot edit the content of this block. However, you can move it and place other blocks around it.","woocommerce")}),j&&x&&(0,Z.jsx)(ge,{clientId:e,blockifyConfig:x,attributes:o})]})]})})};let _e=null,be=!1,fe=!1;const ye=({template:e,inserter:o})=>{be&&(0,i.unregisterBlockType)(x),fe=o,be=!0,(({template:e,inserter:o})=>{(0,i.registerBlockType)(x,{title:e&&O[e]?O[e].title:(0,g.__)("WooCommerce Classic Template","woocommerce"),icon:(0,Z.jsx)(k.A,{icon:_.A,className:"wc-block-editor-components-block-icon"}),category:"woocommerce",apiVersion:3,keywords:[(0,g.__)("WooCommerce","woocommerce")],description:e&&O[e]?O[e].description:(0,g.__)("Renders classic WooCommerce PHP templates.","woocommerce"),supports:{interactivity:{clientNavigation:!1},align:["wide","full"],html:!1,multiple:!1,reusable:!1,inserter:o},attributes:{template:{type:"string",default:"any"},align:{type:"string",default:"wide"}},edit:({attributes:o,clientId:t,setAttributes:c})=>{const r=null!=e?e:o.template;return(0,Z.jsx)(ke,{attributes:{...o,template:r},setAttributes:c,clientId:t})},save:()=>null})})({template:e,inserter:o})};(0,b.subscribe)((()=>{const e=(0,b.select)(w.store)?.getBlockCount(),o=(0,b.select)("core/editor")?.getEditedPostSlug(),t=e&&e>0?o:null;if(be&&_e===t)return;if(_e=t,!t)return void(be||ye({template:t,inserter:!1}));const c=!!N(t,O);c||!fe?!c||fe?c&&function(e,o){const t=N(o,O);return e?.title!==t?.title}((0,i.getBlockType)(x),t)&&ye({template:t,inserter:!0}):ye({template:t,inserter:!0}):ye({template:t,inserter:!1})}),"core/blocks-editor")},2801:()=>{},5101:()=>{},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives}},r={};function l(e){var o=r[e];if(void 0!==o)return o.exports;var t=r[e]={exports:{}};return c[e].call(t.exports,t,t.exports,l),t.exports}l.m=c,e=[],l.O=(o,t,c,r)=>{if(!t){var i=1/0;for(m=0;m<e.length;m++){for(var[t,c,r]=e[m],s=!0,a=0;a<t.length;a++)(!1&r||i>=r)&&Object.keys(l.O).every((e=>l.O[e](t[a])))?t.splice(a--,1):(s=!1,r<i&&(i=r));if(s){e.splice(m--,1);var n=c();void 0!==n&&(o=n)}}return o}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[t,c,r]},l.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return l.d(o,{a:o}),o},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var r=Object.create(null);l.r(r);var i={};o=o||[null,t({}),t([]),t(t)];for(var s=2&c&&e;"object"==typeof s&&!~o.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((o=>i[o]=()=>e[o]));return i.default=()=>e,l.d(r,i),r},l.d=(e,o)=>{for(var t in o)l.o(o,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},l.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.j=2733,(()=>{var e={2733:0};l.O.j=o=>0===e[o];var o=(o,t)=>{var c,r,[i,s,a]=t,n=0;if(i.some((o=>0!==e[o]))){for(c in s)l.o(s,c)&&(l.m[c]=s[c]);if(a)var m=a(l)}for(o&&o(t);n<i.length;n++)r=i[n],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(m)},t=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))})();var i=l.O(void 0,[94],(()=>l(7977)));i=l.O(i),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["legacy-template"]=i})();

Youez - 2016 - github.com/yon3zu
LinuXploit