(self.webpackChunkfancy_animations_src=self.webpackChunkfancy_animations_src||[]).push([[328],{4:function(e,n,t){"use strict";t(56);var i=t(513),a=t(284),s=t(841),o=t(218),r=t(685),c=t(116),l=t(725),u=t(429),m=t(851),p=t(99),d=t(277),h=t(197);const f=(0,s.Q_)("wordpressNotice",(()=>{const e=(0,p.iH)([]);return{notices:e,add:function(n){let t=(0,h.x0)(10);return e.value.unshift({id:t,timestamp:Date.now(),...n}),t},remove:function(n){e.value=e.value.filter((e=>e.id!==n))}}})),g=["innerHTML"],_=["onClick"],v={class:"screen-reader-text"};var y={__name:"WordpressNotice",setup(e){const n=f(),{notices:t}=(0,s.Jk)(n);return(e,i)=>((0,m.wg)(),(0,m.j4)(a.W3,{name:"notice"},{default:(0,m.w5)((()=>[((0,m.wg)(!0),(0,m.iD)(m.HY,null,(0,m.Ko)((0,p.SU)(t),(t=>((0,m.wg)(),(0,m.iD)("div",{key:t.id,class:(0,d.C_)([`notice notice-${t.type} is-dismissible`,"my:10"])},[(0,m._)("div",{innerHTML:t.message},null,8,g),(0,m._)("button",{type:"button",onClick:e=>(0,p.SU)(n).remove(t.id),class:"notice-dismiss"},[(0,m._)("span",v,(0,d.zw)(e.__("Dismiss this notice.","yabe-ukiyo")),1)],8,_)],2)))),128))])),_:1}))}};var b=(0,t(357).Z)(y,[["__scopeId","data-v-4e6945b6"]]);const w=(0,m._)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"},null,-1),k=(0,m._)("link",{href:"https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap",rel:"stylesheet"},null,-1),A={class:"fancy-options"},L={class:"fba-section fba-section--light"},P=(0,m._)("div",{class:"fba-container fba-header"},[(0,m._)("h1",null,"Fancy Animations Settings"),(0,m._)("p",null,[(0,m.Uk)("Here you will be able to configure the global options, don't forget to see the documentation in: "),(0,m._)("a",{href:"https://fancyanimations.com/docs/install-the-plugin-and-activate-the-license/",target:"_blank"},"DOCs")])],-1),C={class:"fba-notice-pool"},S=(0,m._)("hr",{class:"wp-header-end"},null,-1);var D={__name:"App",setup(e){const n=f();return fancyAnimations.license.is_activated||n.add({type:"error",message:'You need to activate your license to use the Fancy Animations plugin, please go to the <a href="#/settings">settings page</a> and activate your license.'}),(e,n)=>{const t=(0,m.up)("router-view");return(0,m.wg)(),(0,m.iD)(m.HY,null,[w,k,(0,m._)("div",A,[(0,m._)("div",L,[P,(0,m._)("div",C,[S,(0,m.Wm)(b)])]),(0,m.Wm)(t)])],64)}}},H=t(23);const Z=fancyAnimations.license.is_activated?[{path:"/",name:"home",redirect:{name:"dashboard"}},{path:"/dashboard",name:"dashboard",component:()=>Promise.all([t.e(338),t.e(489)]).then(t.bind(t,489))}]:[{path:"/",name:"home",redirect:{name:"settings"}}];var O=(0,H.p7)({history:(0,H.PO)(`${fancyAnimations.web_history}#/`),scrollBehavior(e,n,t){return t||{left:0,top:0}},routes:[...Z,{path:"/settings",name:"settings",component:()=>Promise.all([t.e(338),t.e(427),t.e(794)]).then(t.bind(t,794))},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"home"}}]});t(226);const W=(0,s.WB)(),B=(0,a.ri)(D);B.config.globalProperties.__=i.__,B.config.globalProperties._n=i._n,B.config.globalProperties.sprintf=i.gB,B.config.globalProperties.fancyAnimations=window.fancyAnimations,B.config.globalProperties.$listeners="",B.config.globalProperties.$lightvue={ripple:!0,version:3},B.use(W).use(O),B.component("inline-svg",o.Z).component("LvButton",r.Z).component("LvInput",c.Z).component("LvColorpicker",l.Z).component("LvOverlayPanel",u.Z),B.mount("#fancy-animations-app")},226:function(e,n,t){"use strict";t.r(n),document.querySelectorAll('#adminmenu li a[href="admin.php?page=fancy_animations"]').forEach((e=>{e.href+="#/"}));const i=document.querySelectorAll("#adminmenu li.current, #adminmenu li.current ~ li"),a=window.location.hash;i.forEach((e=>{e.classList.remove("current");const n=e.querySelector("a");null!==n&&(n.hash===a||"#/dashboard"===a&&"#/"===n.hash)&&e.classList.add("current"),e.addEventListener("click",(()=>{i.forEach((e=>{e.classList.remove("current")})),e.classList.add("current")}))}))},56:function(e,n,t){t.p=window.fancyAnimations.assets.url}},function(e){e.O(0,[851,66],(function(){return n=4,e(e.s=n);var n}));e.O()}]);