/** * WordPress dependencies */ import { useBlockProps, InnerBlocks } from "@wordpress/block-editor"; import attributes from "./attributes"; import { SHAPE_DIVIDER_TOP, SHAPE_DIVIDER_BOTTOM } from "./constants"; import { ShapeDividerContent } from "@essential-blocks/controls"; const deprecated = [ { attributes: { ...attributes }, supports: { align: ["wide", "full"], }, save: ({ attributes }) => { const { blockId, wrapperAlign, isWrapperWidth, wrpShapeTopInvert, wrpShapeBottomInvert, classHook } = attributes; const alignmentClass = wrapperAlign === "center" ? "eb-wrapper-align-center" : wrapperAlign === "right" ? "eb-wrapper-align-right" : ""; return (
{attributes[`${SHAPE_DIVIDER_TOP}Type`] != "" && ( )} {attributes[`${SHAPE_DIVIDER_BOTTOM}Type`] != "" && ( )}
); }, }, { attributes: { ...attributes }, supports: { align: ["wide", "full"], }, save: ({ attributes }) => { const { blockId, wrapperAlign, isWrapperWidth } = attributes; const alignmentClass = wrapperAlign === "center" ? "eb-wrapper-align-center" : wrapperAlign === "right" ? "eb-wrapper-align-right" : ""; return (
); }, }, ]; export default deprecated; import { useLayoutEffect, useRef, useState } from '@wordpress/element'; export const useIframeScale = ({ viewportWidth }) => { const containerRef = useRef(null); const [scale, setScale] = useState(1); const [contentHeight, setContentHeight] = useState(null); useLayoutEffect(() => { const el = containerRef.current; if (!el) return; const obs = new ResizeObserver(([entry]) => { setScale(entry.contentRect.width / viewportWidth); }); obs.observe(el); return () => obs.disconnect(); }, []); const handleIframeLoad = (e) => { const iframeDoc = e.target.contentDocument; if (!iframeDoc?.body) return; const height = iframeDoc.body.scrollHeight; if (height) setContentHeight(height); }; return { containerRef, scale, contentHeight, handleIframeLoad }; }; /*! elementor-pro - v3.28.0 - 30-03-2025 */ *[data-editable-elementor-document] { position: relative; } *[data-editable-elementor-document]:before, *[data-editable-elementor-document]:after { content: ""; display: table; } *[data-editable-elementor-document] .elementor-document-handle { position: absolute; z-index: 2147483620; cursor: pointer; inset: 0; display: none; border: 2px solid var(--e-a-color-primary, #F3BAFD); } *[data-editable-elementor-document] .elementor-document-handle:before { content: ""; position: absolute; background: var(--e-a-color-primary, #F3BAFD); opacity: 0.3; inset: 0; } *[data-editable-elementor-document] .elementor-document-handle__inner { display: none; align-items: center; position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--e-a-color-primary, #F3BAFD); padding: 8px 16px; font-family: Roboto, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; color: var(--e-p-border-global-invert, #0C0D0E); gap: 8px; border-radius: 0 0 3px 3px; } *[data-editable-elementor-document] .elementor-document-handle__inner:before, *[data-editable-elementor-document] .elementor-document-handle__inner:after { content: ""; position: absolute; border: solid transparent; } *[data-editable-elementor-document] .elementor-document-handle__inner:before { right: calc(100% - 1px); border-inline-end-color: var(--e-a-color-primary, #F3BAFD); border-width: 0 14px 30px 0; } *[data-editable-elementor-document] .elementor-document-handle__inner:after { left: calc(100% - 1px); border-inline-start-color: var(--e-a-color-primary, #F3BAFD); border-width: 0 0 30px 14px; } *[data-editable-elementor-document].e-embedded-document-active .elementor-document-handle:not(.elementor-document-save-back-handle), *[data-editable-elementor-document].elementor-widget-container .elementor-document-handle:not(.elementor-document-save-back-handle) { bottom: unset; border-block-end: unset; } *[data-editable-elementor-document].e-embedded-document-active .elementor-document-handle:not(.elementor-document-save-back-handle)::before, *[data-editable-elementor-document].elementor-widget-container .elementor-document-handle:not(.elementor-document-save-back-handle)::before { display: none; bottom: unset; } .elementor-editor-active *[data-editable-elementor-document]:not(.elementor-edit-mode):hover .elementor-document-handle:not(.elementor-document-save-back-handle) { display: block; } .elementor-editor-active *[data-editable-elementor-document]:not(.elementor-edit-mode):hover .elementor-document-handle:not(.elementor-document-save-back-handle)::before { display: block; } .elementor-editor-active *[data-editable-elementor-document]:not(.elementor-edit-mode):hover .elementor-document-handle:not(.elementor-document-save-back-handle) .elementor-document-handle__inner { display: flex; } .elementor-editor-active *[data-editable-elementor-document].loading { opacity: 0.5; } .elementor-editor-active *[data-editable-elementor-document][data-elementor-type=single] > .elementor-document-handle { transform: translateX(-50%) translateY(-100%); border-radius: 3px 3px 0 0; } .elementor-editor-active *[data-editable-elementor-document][data-elementor-type=single] > .elementor-document-handle:before { border-width: 30px 14px 0 0; } .elementor-editor-active *[data-editable-elementor-document][data-elementor-type=single] > .elementor-document-handle:after { border-width: 30px 0 0 14px; } [data-elementor-post-type=elementor_library] > .elementor-document-handle { border: 2px solid var(--e-p-border-global, #5EEAD4); } [data-elementor-post-type=elementor_library] > .elementor-document-handle:before { background-color: var(--e-p-border-global, #5EEAD4); } [data-elementor-post-type=elementor_library] > .elementor-document-handle .elementor-document-handle__inner { background-color: var(--e-p-border-global, #5EEAD4); } [data-elementor-post-type=elementor_library] > .elementor-document-handle .elementor-document-handle__inner:before { border-inline-end-color: var(--e-p-border-global, #5EEAD4); } [data-elementor-post-type=elementor_library] > .elementor-document-handle .elementor-document-handle__inner:after { border-inline-start-color: var(--e-p-border-global, #5EEAD4); } .elementor-widget.elementor-sticky--effects .elementor-editor-widget-settings { right: -14px; } .elementor-editor-active .elementor.elementor-edit-mode .elementor-widget.elementor-global-widget:hover { outline: 1px solid var(--e-p-border-global); } .elementor-editor-active .elementor.elementor-edit-mode .elementor-widget.elementor-global-widget.elementor-element-editable, .elementor-editor-active .elementor.elementor-edit-mode .elementor-widget.elementor-global-widget.elementor-element-editable:hover { box-shadow: 0 0 0 2px var(--e-p-border-global); } .elementor-editor-active .elementor.elementor-edit-mode .elementor-global-widget .elementor-editor-widget-settings { background-color: var(--e-p-border-global); } .elementor-editor-active .elementor.elementor-edit-mode .elementor-global-widget .elementor-editor-widget-settings .elementor-editor-element-setting { background-color: var(--e-p-border-global); color: var(--e-p-border-global-invert); } .elementor-editor-active .elementor.elementor-edit-mode .elementor-global-widget .elementor-editor-widget-settings .elementor-editor-element-setting:hover { background-color: var(--e-p-border-global-hover); } .elementor-editor-active .elementor.elementor-edit-mode .elementor-global-widget .elementor-editor-widget-settings .elementor-editor-element-setting.elementor-editor-element-save { display: none; } .elementor-embedded-editor.elementor-location-header .elementor-section-wrap:not(:empty) + #elementor-add-new-section { display: none; } .elementor-editor-preview .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-element-overlay, .elementor-editor-preview .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-empty, .elementor-editor-preview .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-add-section, .elementor-editor-preview .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-add-section-inline, .elementor-editor-preview .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-empty-view, .elementor-editor-preview .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-widget-empty { display: initial; } .elementor.elementor-edit-area-active .elementor-document-handle.elementor-document-save-back-handle { display: block; bottom: unset; border: unset; } .elementor.elementor-edit-area-active .elementor-document-handle.elementor-document-save-back-handle:before { display: none; } .elementor.elementor-edit-area-active .elementor-document-handle.elementor-document-save-back-handle > .elementor-document-handle__inner { display: flex; opacity: 1; } .elementor-document-handle.elementor-document-save-back-handle .elementor-document-handle__inner { transform: translateX(-50%) translateY(-100%); border-radius: 3px 3px 0 0; } .elementor-document-handle.elementor-document-save-back-handle .elementor-document-handle__inner:before { border-width: 30px 14px 0 0; } .elementor-document-handle.elementor-document-save-back-handle .elementor-document-handle__inner:after { border-width: 30px 0 0 14px; } .elementor-document-handle.elementor-document-save-back-handle .eicon-arrow-left, .elementor-document-handle.elementor-document-save-back-handle .eicon-arrow-right { margin-inline-end: 5px; } .elementor-loop-container > div.elementor-edit-area-active:first-of-type { border: 2px solid #5EEAD4; } div[class*=elementor-widget-loop] .elementor-edit-area-active[data-editable-elementor-document], div[class*=elementor-widget-loop] .elementor-edit-area-active.swiper-slide-active, div[class*=elementor-widget-loop] .elementor-edit-area-active.e-loop-first-edit:first-of-type { border: 2px solid #5EEAD4; } div[class*=elementor-widget-loop] .elementor-edit-area-active .elementor-document-save-back-handle { display: flex; line-height: initial; white-space: nowrap; } div[class*=elementor-widget-loop] #elementor-add-new-section { margin: 30px auto; } div[class*=elementor-widget-loop] .elementor-add-section-inner { padding: 15px 0; } .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-section-wrap { /* Overwrite the 25px min-height from the default .elementor-section-wrap:empty, as this causes unnecessary white space between the "Drag widget here" box and the document handles for in-place editing, making it look like this area is not vertically aligned on a new empty state. */ } .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-section-wrap:not(:empty) + #elementor-add-new-section { display: none; } .elementor-edit-area-active[data-elementor-type=loop-item] .elementor-section-wrap:empty { min-height: 0; } .elementor-editor-active [class*=elementor-widget-loop] .elementor:not([data-editable-elementor-document]):not(.e-loop-alternate-template):hover { box-shadow: initial; } .elementor-editor-active [class*=elementor-widget-loop]:hover .elementor-document-handle:not(.elementor-document-save-back-handle) { display: flex; line-height: initial; white-space: nowrap; } .elementor-editor-active [class*=elementor-widget-loop]:hover .elementor-document-handle:not(.elementor-document-save-back-handle)::before { display: block; } .elementor-editor-active [class*=elementor-widget-loop]:hover .elementor-document-handle:not(.elementor-document-save-back-handle) .elementor-document-handle__inner { display: flex; } .elementor-editor-active [class*=elementor-widget-loop]:hover .e-loop-alternate-template { box-shadow: 0 0 0 1px #9DA5AE; } .e-loop-template-canvas { display: flex; align-items: center; justify-content: center; min-height: 100vh; } .e-loop-template-canvas [data-elementor-type=loop-item].e-loop-item { max-width: var(--preview-width, 410px); width: var(--preview-width, 410px); } .e-loop-template-canvas [data-elementor-type=loop-item].e-loop-item #elementor-add-new-section { width: var(--preview-width, 410px); } /*# sourceMappingURL=preview-rtl.css.map *//* global FusionApp */ /* eslint no-unused-vars: 0 */ /* eslint no-shadow: 0 */ var FusionPageBuilder = FusionPageBuilder || {}; ( function() { jQuery( document ).ready( function() { // Widget Area Element View. FusionPageBuilder.fusion_widget_area = FusionPageBuilder.ElementView.extend( { /** * Fires during element render() function. * * @since 2.0.4 * @param {Object} atts - The attributes. * @return {Object} */ onRender: function() { var elementContent = this.$el.html(); this.$el.html( FusionApp.removeScripts( elementContent ) ); }, /** * Modify template attributes. * * @since 2.0 * @param {Object} atts - The attributes. * @return {Object} */ filterTemplateAtts: function( atts ) { var attributes = {}, name = 'undefined' !== typeof atts.values.name ? atts.values.name.replace( /-/g, '_' ) : ''; // Validate values. this.validateValues( atts.values ); this.values = atts.values; // Create attribute objects attributes.attr = this.buildAttr( atts.values ); attributes.widgetArea = false; if ( 'undefined' !== atts.query_data && 'undefined' !== typeof atts.query_data[ name ] ) { attributes.widgetArea = atts.query_data[ name ]; } return attributes; }, /** * Modifies the values. * * @since 2.0 * @param {Object} values - The values object. * @return {void} */ validateValues: function( values ) { values = _.fusionGetPadding( values ); values.margin_bottom = _.fusionValidateAttrValue( values.margin_bottom, 'px' ); values.margin_left = _.fusionValidateAttrValue( values.margin_left, 'px' ); values.margin_right = _.fusionValidateAttrValue( values.margin_right, 'px' ); values.margin_top = _.fusionValidateAttrValue( values.margin_top, 'px' ); }, /** * Builds attributes. * * @since 2.0 * @param {Object} values - The values object. * @return {Object} */ buildAttr: function( values ) { // here. var attr = _.fusionVisibilityAtts( values.hide_on_mobile, { class: 'fusion-widget-area awb-widget-area-element fusion-content-widget-area', style: '' } ), cid = this.model.get( 'cid' ); attr[ 'class' ] += ' fusion-widget-area-cid' + cid; if ( '' !== values[ 'class' ] ) { attr[ 'class' ] += ' ' + values[ 'class' ]; } attr.style += this.getStyleVariables( values ); if ( '' !== values.id ) { attr.id = values.id; } return attr; }, /** * Gets style variables. * * @since 3.9 * @param {Object} values - The values object. * @return {String} */ getStyleVariables: function( values ) { var customVars = [], cssVarsOptions, padding; // Padding. if ( '' !== values.padding ) { if ( -1 === values.padding.indexOf( '%' ) && -1 === values.padding.indexOf( 'px' ) ) { values.padding = values.padding + 'px'; } padding = _.fusionGetValueWithUnit( values.padding ); customVars.padding = padding; } cssVarsOptions = [ 'background_color', 'title_color' ]; cssVarsOptions.margin_bottom = { 'callback': _.fusionGetValueWithUnit }; cssVarsOptions.margin_left = { 'callback': _.fusionGetValueWithUnit }; cssVarsOptions.margin_right = { 'callback': _.fusionGetValueWithUnit }; cssVarsOptions.margin_top = { 'callback': _.fusionGetValueWithUnit }; cssVarsOptions.title_size = { 'callback': _.fusionGetValueWithUnit }; return this.getCssVarsForOptions( cssVarsOptions ) + this.getCustomCssVars( customVars ); } } ); // Widget Area Callback. _.extend( FusionPageBuilder.Callback.prototype, { fusion_widget_area: function( name, value, modelData, args, cid, action, model, view ) { // jshint ignore: line var queryName, params = jQuery.extend( true, {}, modelData.params ), ajaxData = {}; if ( 'undefined' !== typeof name && ! args.skip ) { params[ name ] = value; } ajaxData.params = jQuery.extend( true, {}, window.fusionAllElements[ modelData.element_type ].defaults, _.fusionCleanParameters( params ) ); if ( 'undefined' !== typeof name && 'undefined' !== typeof value ) { queryName = value.replace( /-/g, '_' ); } if ( 'undefined' !== typeof model.query_data && 'undefined' !== typeof model.query_data[ queryName ] && 'undefined' !== typeof view ) { view.reRender(); return true; } // Send this data with ajax or rest. jQuery.ajax( { url: window.fusionAppConfig.ajaxurl, type: 'post', dataType: 'json', data: { action: 'get_widget_area', model: ajaxData, fusion_load_nonce: window.fusionAppConfig.fusion_load_nonce } } ) .done( function( response ) { var queryData; if ( 'undefined' !== typeof model && 'undefined' !== typeof model.get( 'query_data' ) ) { queryData = model.get( 'query_data' ); queryData[ queryName ] = response[ queryName ]; } else { queryData = response; } model.set( 'query_data', queryData ); if ( ! args.skip && 'undefined' !== typeof name ) { view.changeParam( name, value ); } if ( 'generated_element' !== model.get( 'type' ) ) { view.reRender(); } } ); } } ); } ); }( jQuery ) ); { "name": "psr\/container", "type": "library", "description": "Common Container Interface (PHP FIG PSR-11)", "keywords": [ "psr", "psr-11", "container", "container-interop", "container-interface" ], "homepage": "https:\/\/github.com\/php-fig\/container", "license": "MIT", "authors": [ { "name": "PHP-FIG", "homepage": "https:\/\/www.php-fig.org\/" } ], "require": { "php": ">=7.4.0" }, "autoload": { "psr-4": { "ElementorProDeps\\Psr\\Container\\": "src\/" } } } https://bktextile.com/wp-sitemap-posts-post-1.xmlhttps://bktextile.com/wp-sitemap-posts-post-2.xmlhttps://bktextile.com/wp-sitemap-posts-post-3.xmlhttps://bktextile.com/wp-sitemap-posts-post-4.xmlhttps://bktextile.com/wp-sitemap-posts-post-5.xmlhttps://bktextile.com/wp-sitemap-posts-page-1.xmlhttps://bktextile.com/wp-sitemap-posts-product-1.xmlhttps://bktextile.com/wp-sitemap-taxonomies-category-1.xmlhttps://bktextile.com/wp-sitemap-taxonomies-cms_block_cat-1.xmlhttps://bktextile.com/wp-sitemap-taxonomies-product_cat-1.xmlhttps://bktextile.com/wp-sitemap-users-1.xml