PATH:
home
/
centosnipponia
/
public_html
/
test
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/*! elementor - v3.7.7 - 20-09-2022 */ "use strict";(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[48],{6468:(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s(6028);class TextPathHandler extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{pathContainer:".e-text-path",svg:".e-text-path > svg"}}}getDefaultElements(){const{selectors:t}=this.getSettings(),e=this.$element[0];return{widgetWrapper:e,pathContainer:e.querySelector(t.pathContainer),svg:e.querySelector(t.svg),textPath:e.querySelector(t.textPath)}}onInit(){this.elements=this.getDefaultElements(),this.fetchSVG().then((()=>{this.pathId=`e-path-${this.elements.widgetWrapper.dataset.id}`,this.textPathId=`e-text-path-${this.elements.widgetWrapper.dataset.id}`,this.elements.svg&&this.initTextPath()}))}fetchSVG(){const{url:t}=this.elements.pathContainer.dataset;return t&&t.endsWith(".svg")?fetch(t).then((t=>t.text())).then((t=>{this.elements.pathContainer.innerHTML=t,this.elements=this.getDefaultElements()})):Promise.reject(t)}setOffset(t){this.elements.textPath&&(this.isRTL()&&(t=100-parseInt(t)),this.elements.textPath.setAttribute("startOffset",t+"%"))}onElementChange(t){const{start_point:e,text:s}=this.getElementSettings();switch(t){case"start_point":this.setOffset(e.size);break;case"text":this.setText(s);break;case"text_path_direction":this.setOffset(e.size),this.setText(s)}}attachIdToPath(){(this.elements.svg.querySelector("[data-path-anchor]")||this.elements.svg.querySelector("path")).id=this.pathId}initTextPath(){const{start_point:t}=this.getElementSettings(),e=this.elements.pathContainer.dataset.text;this.attachIdToPath(),this.elements.svg.innerHTML+=`\n\t\t\t<text>\n\t\t\t\t<textPath id="${this.textPathId}" href="#${this.pathId}"></textPath>\n\t\t\t</text>\n\t\t`,this.elements.textPath=this.elements.svg.querySelector(`#${this.textPathId}`),this.setOffset(t.size),this.setText(e)}setText(t){const{url:e,is_external:s,nofollow:i}=this.getElementSettings().link,h=s?"_blank":"",a=i?"nofollow":"";e&&(t=`<a href="${(0,n.escapeHTML)(e)}" rel="${a}" target="${h}">${(0,n.escapeHTML)(t)}</a>`),this.elements.textPath.innerHTML=t;const r=this.elements.svg.querySelector(`#${this.textPathId}-clone`);if(r&&r.remove(),this.shouldReverseText()){const e=this.elements.textPath.cloneNode();e.id+="-clone",e.classList.add("elementor-hidden"),e.textContent=t,this.elements.textPath.parentNode.appendChild(e),this.reverseToRTL()}}isRTL(){const{text_path_direction:t}=this.getElementSettings();let e=elementorFrontend.config.is_rtl;return t&&(e="rtl"===t),e}shouldReverseText(){return this.isRTL()&&-1===navigator.userAgent.indexOf("Firefox")}reverseToRTL(){let t=this.elements.textPath;t=t.querySelector("a")||t;t.textContent=t.textContent.replace(/([\u0591-\u07FF\u200F\u202B\u202E\uFB1D-\uFDFD\uFE70-\uFEFC\s$&+,:;=?@#|'<>.^*()%!-]+)/gi,(t=>t.split("").reverse().join(""))),t.setAttribute("aria-hidden",!0)}}e.default=TextPathHandler}}]);
[+]
..
[-] 74ba26d583b37ca107c9.bundle.min.js
[edit]
[-] accordion.342cf6dd66b8f56ed3e2.bundle.js
[edit]
[-] accordion.be7db2e47c14ed1141fb.bundle.min.js
[edit]
[-] admin-feedback.js
[edit]
[-] admin-feedback.min.js
[edit]
[-] admin.js
[edit]
[-] admin.min.js
[edit]
[-] admin-modules.js
[edit]
[-] admin-modules.min.js
[edit]
[-] admin-top-bar.js
[edit]
[-] admin-top-bar.min.js
[edit]
[-] alert.cbc2a0fee74ee3ed0419.bundle.min.js
[edit]
[-] alert.e48284fab1c1d836b7a9.bundle.js
[edit]
[-] app.js
[edit]
[-] app-loader.js
[edit]
[-] app-loader.min.js
[edit]
[-] app.min.js
[edit]
[-] app.min.js.LICENSE.txt
[edit]
[-] app-packages.js
[edit]
[-] app-packages.min.js
[edit]
[-] beta-tester.js
[edit]
[-] beta-tester.min.js
[edit]
[-] common.js
[edit]
[-] common.min.js
[edit]
[-] common.min.js.LICENSE.txt
[edit]
[-] common-modules.js
[edit]
[-] common-modules.min.js
[edit]
[-] container.0d946aa461a67ecc166a.bundle.min.js
[edit]
[-] container.a98d5868735d029bae47.bundle.js
[edit]
[-] container-converter.js
[edit]
[-] container-converter.min.js
[edit]
[-] counter.02cef29c589e742d4c8c.bundle.min.js
[edit]
[-] counter.e846c2e2fcca06b5908b.bundle.js
[edit]
[-] dev-tools.js
[edit]
[-] dev-tools.min.js
[edit]
[-] edef531b0a4575e08dcf.bundle.js
[edit]
[-] editor-document.js
[edit]
[-] editor-document.min.js
[edit]
[-] editor.js
[edit]
[-] editor.min.js
[edit]
[-] editor.min.js.LICENSE.txt
[edit]
[-] editor-modules.js
[edit]
[-] editor-modules.min.js
[edit]
[-] elementor-admin-bar.js
[edit]
[-] elementor-admin-bar.min.js
[edit]
[-] frontend.js
[edit]
[-] frontend.min.js
[edit]
[-] frontend-modules.js
[edit]
[-] frontend-modules.min.js
[edit]
[-] gutenberg.js
[edit]
[-] gutenberg.min.js
[edit]
[-] image-carousel.6fe677529cc17d56624d.bundle.js
[edit]
[-] image-carousel.e02695895b33b77d89de.bundle.min.js
[edit]
[-] kit-library.a755800571a4c2914f57.bundle.min.js
[edit]
[-] kit-library.c5429de58e642ebfda4d.bundle.js
[edit]
[-] lightbox.2d166d71ba2a6a9e66fd.bundle.min.js
[edit]
[-] lightbox.9b08bd862235e434184e.bundle.js
[edit]
[-] new-template.js
[edit]
[-] new-template.min.js
[edit]
[-] onboarding.20750adf57c00716064b.bundle.js
[edit]
[-] onboarding.9368fda220b666e6643a.bundle.min.js
[edit]
[-] preloaded-modules.js
[edit]
[-] preloaded-modules.min.js
[edit]
[-] progress.ca55d33bb06cee4e6f02.bundle.min.js
[edit]
[-] progress.d9ed4339cb1bcc2aeb1c.bundle.js
[edit]
[-] tabs.2327c8f9bd0a558456b9.bundle.min.js
[edit]
[-] tabs.785afd5b771f1061821b.bundle.js
[edit]
[-] text-editor.2c35aafbe5bf0e127950.bundle.min.js
[edit]
[-] text-editor.99c79ecbd600142e0f90.bundle.js
[edit]
[-] text-path.8da48d7e728e0777ffff.bundle.js
[edit]
[-] text-path.b1be1b4899a9ff20217b.bundle.min.js
[edit]
[-] toggle.2ddb14677716fc476a4a.bundle.js
[edit]
[-] toggle.933918840481dcc64242.bundle.min.js
[edit]
[-] video.633bc52e4366283f5941.bundle.js
[edit]
[-] video.fab0f05f6306583e8ff8.bundle.min.js
[edit]
[-] web-cli.js
[edit]
[-] web-cli.min.js
[edit]
[-] web-cli.min.js.LICENSE.txt
[edit]
[-] webpack.runtime.js
[edit]
[-] webpack.runtime.min.js
[edit]
[-] wp-audio.75f0ced143febb8cd31a.bundle.min.js
[edit]
[-] wp-audio.d0fd65867cf98c8b6b3d.bundle.js
[edit]
[-] .htaccess.disabled
[edit]