.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 ( <>
Maths Words not Squiggles (MWNS) takes very seriously your privacy and our obligations under the Privacy Act 1988 (Cth). Any personal information you provide to us will be managed carefully. We have a range of procedures in place to help protect your privacy.<\/p>\n
At Maths Words not Squiggles we conduct our operations in accordance with the Australian Privacy Principles. These are standards that set out the principles governing information handling practices for our organisation.<\/p>\n
The purpose for which we collect the information is to give effect to the particular interaction you have with MWNS. That might be, for example, when you participate in a competition we run, for publicity or promotion for developing the business relationship between you and MWNS. We may use your personal information to let you know about future promotions or other things we think may be of interest to you or to get your feedback. If we use your personal information for direct marketing purposes, we will give you the opportunity to opt out of receiving any further marketing material. We do not share or sell the personal information that you have given to us with other companies, associates and affiliates. We may also use your personal information for related purposes that you would reasonably expect. We take particular care with any sensitive information that we may have (if any).<\/p>\n
There may be circumstances where the law requires us to disclose the information, or where disclosure is required to prevent a risk to health or safety or for law enforcement purposes.<\/p>\n
We have internal security measures in place to help protect personal information from misuse, modification, unauthorised access, or disclosure. We have a security system in place to deal with the physical security of our premises and the personal information kept at our premises. We have procedures in place to maintain a secure computer\/ electronic system. We take reasonable steps to ensure that work areas are secure, and information on databases is protected by passwords and accessed only for legitimate purposes. All our staff are made aware of their obligations under the privacy principles to make your privacy a priority in dealing with personal information.<\/p>\n
We take reasonable steps to ensure the information we collect, use and disclose is accurate, complete and up to date.<\/p>\n
When we no longer need your personal information we have procedures in place to either destroy it in a secure manner or to permanently de-identify the information.<\/p>\n
MWNS does not currently send personal information covered by this Privacy Policy to any other country.<\/p>\n
If you join one of our centres we may collect your name, address, suburb, state, postcode, email address, date of birth, gender and telephone number. If you log in via a social media platform such as Twitter, Facebook or Google+, we may also collect your user ID details for that platform, and any information you have permitted them to share with us.<\/p>\n
You might also provide personal information to Maths Words not Squiggles:<\/p>\n
The type of information we collect will very much depend on what you give us. It might be your name, address, telephone number, email address, work contacts, photographs, interests, hobbies and any other personal details you wish to provide. We do not try to collect sensitive information.<\/p>\n
Non-personal information and data may be automatically collected through the standard operation of MWNS Internet servers or through the use of cookies. If you do not want information collected through the use of cookies, you should use your browser\u2019s cookie disabling feature. You should note, however, that if cookies are disabled certain features may not be available. The use of cookies on the Websites enables us to deliver and maintain customised options when you make return visits to the site.<\/p>\n
There may be times when we ask for personal information from you and you do not wish to provide it. This is your choice but it may mean, for example, that we cannot enter your details for a competition or provide you with a particular service that you want.<\/p>\n
We would appreciate it if you could let us know when personal information you have supplied to us needs to be updated or is no longer valid. Where that information relates to your membership of our parent portal, you may do this by editing it in your account information. In other cases, you may do this by contacting us as set out below.<\/p>\n
We maintain records of personal information we have collected. You can gain access to the personal information held by MWNS about you in two ways. If you attend one of our centres, most information held by MWNS about you can be viewed and changed directly by you by logging into our parent portal using your username and password and reviewing your account information. Except in some limited circumstances such as where the information is commercially sensitive, any other information held by MWNS about you is available by contacting our Principal. Contact details for the Principal can be found at our contact page.<\/p>\n
You can submit a request for access to your personal information to the Principal. We will process a request for access as quickly as possible. We reserve the right to impose a reasonable charge for processing and collating personal information, where appropriate and permitted under the Privacy Act 1988.<\/p>\n
If you inform us that the information we hold is incorrect we will, if appropriate, amend those records.<\/p>\n