PageSourceSearch

https://motionrc.com/_nuxt/Bo5bWmai.js

js motionrc.com collected 2026-09-24 11:49:32 UTC 1,412 bytes, 1 lines download raw bytes

1import{bj as w,bl as H,bk as t,bK as y,bm as u,bG as T,bF as f}from"./CKrlm23X.js";const q=()=>{const{$sdk:o}=w(),{locale:n}=H(),s=w(),r=t(`website-menu-${n.value}`,()=>[]),c=t(`menu-header-text-${n.value}`,()=>""),l=t(`menu-header-mobile-text-${n.value}`,()=>""),i=t(`footer-highlights-${n.value}`,()=>[]),a=t("announcement-text",()=>""),m=t("announcement-text-url",()=>""),b=e=>{r.value=e==null?void 0:e.websiteMenu.websiteMenu,c.value=e==null?void 0:e.websiteMenu.menuHeaderText,l.value=e==null?void 0:e.websiteMenu.menuHeaderMobileText,i.value=e==null?void 0:e.websiteMenu.footerHighlights};y(n,()=>{v()});const v=async()=>{try{const{data:e,status:M}=await f(`website-menu-request-${n.value}`,()=>o().odoo.query({queryName:T.GetWebsiteMenuQuery},{}),{getCachedData(g){var x,h;return(h=(x=s==null?void 0:s.payload)==null?void 0:x.data)==null?void 0:h[g]}});y(M,()=>{M.value==="success"&&b(e.value)}),b(e.value)}catch(e){console.error(e)}};return{loadWebsiteMenu:v,getWebsiteMenuAnnouncement:async()=>{try{const e=await o().odoo.query({queryName:T.GetWebsiteMenuAnnouncement},{});a.value=e==null?void 0:e.websiteMenu.announcementText,m.value=e==null?void 0:e.websiteMenu.announcementTextUrl}catch{}},websiteMenu:u(()=>r.value),menuHeaderText:u(()=>c.value),menuHeaderMobileText:u(()=>l.value),footerHighlights:u(()=>i.value),announcementText:u(()=>a.value),announcementTextUrl:u(()=>m.value)}};export{q as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.