PageSourceSearch

https://constructor.tech/assets/ch-BubMenu-DDXlIOkD.js

js constructor.tech collected 2026-09-24 11:17:07 UTC 1,416 bytes, 1 lines download raw bytes

1import{B as l}from"./ch-BaseMenu-7U6DK-JU.js";import m from"./ch-BaseDropdown-DtkgocjI.js";import{_ as u,o as t,c as o,k as f,F as w,e as r,t as _,b as p,n as h,h as b,r as d}from"./app-index-CXQob2hh.js";const B={name:"BubMenu",components:{BaseDropdown:m,BaseMenu:l},data(){return{showDropdown:!1,items:{},updated:!1}},props:{item:{type:Object,required:!0}},created(){const s=this.item?.field_block?.data?.items||{};this.items={0:{title:this.item?.field_title}};let n=1;for(const[,e]of Object.entries(s))this.items[n++]=e},mounted(){typeof window>"u"||(window.addEventListener("resize",this.getDropdown),this.getDropdown())},beforeUnmount(){typeof window>"u"||window.removeEventListener("resize",this.getDropdown)},methods:{getDropdown(){if(typeof window>"u"){this.showDropdown=!1;return}this.showDropdown=window.innerWidth<1024}}},k={class:"container"},D={key:0,class:"bub-secondary-menu"},y={class:"bub-menu-title"};function v(s,n,e,g,i,M){const a=d("BaseDropdown"),c=d("BaseMenu");return t(),o("div",k,[i.showDropdown?(t(),o("div",D,[f(a,{options:i.items},null,8,["options"])])):(t(),o(w,{key:1},[r("div",y,[r("h2",null,_(e.item.field_title),1)]),e.item.field_block&&e.item.field_block.data?(t(),p(c,{key:0,class:h(["bub-secondary-menu",e.item.field_block.class]),items:e.item?.field_block?.data?.items??{},level:"0"},null,8,["items","class"])):b("",!0)],64))])}const E=u(B,[["render",v]]);export{E as default};

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.