.e-contact-buttons-var-7{--e-contact-buttons-chat-button-padding-block-end:16px;--e-contact-buttons-chat-button-padding-block-start:16px;--e-contact-buttons-chat-button-padding-inline-end:20px;--e-contact-buttons-chat-button-padding-inline-start:20px;--e-contact-buttons-chat-button-gap:8px;--e-contact-buttons-horizontal-offset:0;--e-contact-buttons-vertical-offset:0}.e-contact-buttons-var-7.has-h-alignment-end .e-contact-buttons__chat-button-container,.e-contact-buttons-var-7.has-h-alignment-start .e-contact-buttons__chat-button-container{padding-inline:0}@media (max-width:ELEMENTOR_SCREEN_MOBILE_MAX){.e-contact-buttons-var-7.has-mobile-full-width{width:100%}.e-contact-buttons-var-7.has-mobile-full-width .e-contact-buttons__chat-button-container{width:100%;max-width:100%}.e-contact-buttons-var-7.has-mobile-full-width .e-contact-buttons__chat-button{width:100%}}.e-contact-buttons-var-7 .e-contact-buttons__chat-button,.e-contact-buttons-var-7 .e-contact-buttons__chat-button:not([href]):not([tabindex]),.e-contact-buttons-var-7 .e-contact-buttons__chat-button[type=button]{border-radius:0;color:var(--e-contact-buttons-button-icon);display:inline-flex;font-size:18px;font-weight:500;gap:var(--e-contact-buttons-chat-button-gap);height:-moz-fit-content;height:fit-content;line-height:28px;padding-block-end:var(--e-contact-buttons-chat-button-padding-block-end);padding-block-start:var(--e-contact-buttons-chat-button-padding-block-start);padding-inline-end:var(--e-contact-buttons-chat-button-padding-inline-end);padding-inline-start:var(--e-contact-buttons-chat-button-padding-inline-start);width:-moz-fit-content;width:fit-content}.e-contact-buttons-var-7 .e-contact-buttons__chat-button:not([href]):not([tabindex]) svg,.e-contact-buttons-var-7 .e-contact-buttons__chat-button[type=button] svg,.e-contact-buttons-var-7 .e-contact-buttons__chat-button svg{height:1em;width:1em}.e-contact-buttons-var-7 .e-contact-buttons__chat-button:focus,.e-contact-buttons-var-7 .e-contact-buttons__chat-button:hover,.e-contact-buttons-var-7 .e-contact-buttons__chat-button:not([href]):not([tabindex]):focus,.e-contact-buttons-var-7 .e-contact-buttons__chat-button:not([href]):not([tabindex]):hover,.e-contact-buttons-var-7 .e-contact-buttons__chat-button[type=button]:focus,.e-contact-buttons-var-7 .e-contact-buttons__chat-button[type=button]:hover{color:var(--e-contact-buttons-button-icon-hover)}import React, { useEffect } from 'react'; import { PhotoIcon, TrashIcon } from '@heroicons/react/24/outline'; import { __ } from '@wordpress/i18n'; import { addFilter } from '@wordpress/hooks'; import { RangeControl } from '@wordpress/components'; import { MediaUpload } from '@wordpress/media-utils'; import { useStateValue } from '../../store/store'; import { getDataUri, sendPostMessage } from '../../utils/functions'; import { initialState } from '../../store/reducer'; // import ToggleSwitch from '../../components/toggle-switch'; const SiteLogo = () => { const replaceMediaUpload = () => MediaUpload; const [ { siteLogo }, dispatch ] = useStateValue(); // const [ showTitle, setShowTitle ] = useState( true ), // toggleTitle = () => setShowTitle( ( prev ) => ! prev ); addFilter( 'editor.MediaUpload', 'core/edit-post/components/media-upload/replace-media-upload', replaceMediaUpload ); const onSelectImage = ( media ) => { const mediaData = { id: media.id, url: media.url, width: siteLogo.width, }; if ( window.location.protocol === 'http:' ) { getDataUri( media.url, function ( data ) { mediaData.dataUri = data; updateValues( mediaData ); } ); } else { updateValues( mediaData ); } }; const dispatchPostMessage = ( action, data ) => { sendPostMessage( { param: action, data, }, 'astra-starter-templates-preview' ); }; const updateValues = ( data ) => { dispatch( { type: 'set', siteLogo: data, } ); dispatchPostMessage( 'siteLogo', data ); }; const removeImage = () => { updateValues( initialState.siteLogo ); }; const onWidthChange = ( width ) => { const newLogoOptions = { ...siteLogo, width, }; dispatch( { type: 'set', siteLogo: newLogoOptions, } ); dispatchPostMessage( 'siteLogo', newLogoOptions ); }; // const handleOnChangeToggleTitle = () => { // dispatchPostMessage( 'siteTitle', ! showTitle ); // toggleTitle(); // }; useEffect( () => { if ( !! astraSitesVars?.isRTLEnabled ) { const rangeControl = document.querySelector( '.components-range-control__wrapper' ); if ( rangeControl === null ) { return; } // Range control slider styling for RTL. const currentValue = rangeControl.children[ 3 ].style.left; rangeControl.children[ 3 ].style.marginRight = '-10px'; rangeControl.children[ 3 ].style.removeProperty( 'margin-left' ); rangeControl.children[ 3 ].style.right = currentValue; rangeControl.children[ 4 ].style.removeProperty( 'transform' ); rangeControl.children[ 4 ].style.removeProperty( 'left' ); rangeControl.children[ 4 ].style.right = currentValue; rangeControl.children[ 4 ].style.transform = 'translateX(50%)'; } } ); return ( <>
Content<\/p>\n
\u0645\u0639 \u062a\u0637\u0628\u064a\u0642 1xBet \u0644\u0644\u062c\u0648\u0627\u0644\u060c \u064a\u0645\u0643\u0646 \u0644\u0644\u0639\u0645\u0644\u0627\u0621 \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0629 \u0628\u0633\u0631\u0639\u0629 \u0648\u0633\u0647\u0648\u0644\u0629 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u062a\u0646\u0648\u0639\u0629 \u0645\u0646 \u0627\u0644\u0623\u062d\u062f\u0627\u062b. 1xBet \u0647\u0648 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0627\u0644\u0631\u0633\u0645\u064a \u0644\u0645\u0646\u0635\u0629 \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0629 \u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629 \u0627\u0644\u062a\u064a \u062a\u062d\u0645\u0644 \u0646\u0641\u0633 \u0627\u0644\u0627\u0633\u0645. \u0628\u0639\u062f \u0627\u0644\u062a\u0633\u062c\u064a\u0644 \u0639\u0644\u0649 \u0627\u0644\u0645\u0646\u0635\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0623\u0648 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641\u0643\u060c \u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0628\u062f\u0621 \u0641\u064a \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0629 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0629 \u0648\u0627\u0633\u0639\u0629 \u0645\u0646 \u0627\u0644\u0623\u062d\u062f\u0627\u062b. \u0643\u0644 \u064a\u0648\u0645\u060c \u064a\u062a\u0648\u0641\u0631 \u0623\u0643\u062b\u0631 \u0645\u0646 1000 \u062d\u062f\u062b \u0645\u062e\u062a\u0644\u0641 \u0645\u0646 \u0627\u0644\u0645\u0633\u0627\u0628\u0642\u0627\u062a \u0627\u0644\u0643\u0628\u0631\u0649 \u0641\u064a \u062c\u0645\u064a\u0639 \u0623\u0646\u062d\u0627\u0621 \u0627\u0644\u0639\u0627\u0644\u0645 \u0644\u0644\u0645\u0631\u0627\u0647\u0646\u0629 \u0641\u064a \u0646\u0641\u0633 \u0627\u0644\u064a\u0648\u0645 \u0648\u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0629 \u0627\u0644\u0645\u0633\u062a\u0642\u0628\u0644\u064a\u0629. \u0643\u0645\u0627 \u0623\u0646 \u062a\u0648\u0641\u0631 \u062a\u0646\u0632\u064a\u0644 \u062a\u0637\u0628\u064a\u0642 \u0627\u0644\u0647\u0627\u062a\u0641 \u0627\u0644\u0645\u062d\u0645\u0648\u0644 1xbet \u0644\u0623\u062c\u0647\u0632\u0629 Android \u0648iOS \u064a\u062c\u0639\u0644 \u0627\u0644\u0644\u0639\u0628 \u0633\u0644\u0633\u064b\u0627 \u0644\u0644\u0627\u0639\u0628\u064a\u0646.<\/p>\n
\u062a\u0639\u062f \u0647\u0630\u0647 \u0627\u0644\u0645\u0643\u0627\u0641\u0622\u062a \u0627\u0644\u062a\u0631\u062d\u064a\u0628\u064a\u0629 \u0634\u0627\u0626\u0639\u0629 \u062c\u062f\u064b\u0627 \u0641\u064a \u0647\u0630\u0647 \u0627\u0644\u0623\u0646\u0648\u0627\u0639 \u0645\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a\u060c \u0648\u0633\u064a\u062a\u0639\u064a\u0646 \u0639\u0644\u064a\u0643 \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0629 \u0639\u0644\u064a\u0647\u0627 \u0648\u0627\u0644\u0641\u0648\u0632 \u0628\u0647\u0627 \u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u0631\u064a\u062f \u0623\u0646 \u062a\u062a\u0645\u0643\u0646 \u0645\u0646 \u0633\u062d\u0628 \u0627\u0644\u0623\u0645\u0648\u0627\u0644. \u0644\u0627\u060c \u062a\u0637\u0628\u064a\u0642 1xBet \u0644\u0640 iPhone \u064a\u062a\u0637\u0627\u0628\u0642 \u062a\u0645\u0627\u0645\u064b\u0627 \u0645\u0639 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0623\u0635\u0644\u064a\u0629 \u0644\u0644\u0645\u0648\u0642\u0639. \u0644\u062a\u062b\u0628\u064a\u062a 1xBet \u0628\u0646\u062c\u0627\u062d \u0639\u0644\u0649 iOS\u060c \u0645\u0646 \u0627\u0644\u0636\u0631\u0648\u0631\u064a \u062a\u062d\u062f\u064a\u062b \u0627\u0644\u0646\u0638\u0627\u0645 \u0627\u0644\u062a\u0634\u063a\u064a\u0644\u064a \u0625\u0644\u0649 \u0625\u0635\u062f\u0627\u0631 \u0644\u0627 \u064a\u0642\u0644 \u0639\u0646 iOS 12\u060c \u0648\u0643\u0630\u0644\u0643 \u0627\u0644\u062a\u0623\u0643\u062f \u0645\u0646 \u0648\u062c\u0648\u062f \u0645\u0633\u0627\u062d\u0629 \u062e\u0627\u0644\u064a\u0629 \u0641\u064a \u0630\u0627\u0643\u0631\u0629 \u0627\u0644\u062c\u0647\u0627\u0632 \u0644\u0627 \u062a\u0642\u0644 \u0639\u0646 1 \u062c\u064a\u062c\u0627\u0628\u0627\u064a\u062a. \u064a\u0645\u0643\u0646 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 1xBet \u0645\u0628\u0627\u0634\u0631\u0629 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0627\u0644\u0636\u063a\u0637 \u0639\u0644\u0649 \u0627\u0644\u0631\u0627\u0628\u0637\u060c \u0645\u0645\u0627 \u064a\u0633\u0647\u0644 \u0627\u0644\u0639\u0645\u0644\u064a\u0629 \u0648\u064a\u062c\u0639\u0644\u0647\u0627 \u0645\u062a\u0627\u062d\u0629 \u062d\u062a\u0649 \u0644\u0644\u0623\u062c\u0647\u0632\u0629 \u0627\u0644\u0642\u062f\u064a\u0645\u0629.<\/p>\n