PageSourceSearch

https://www.childrensalon.com/build/website/5653.6ea5804d.js

js childrensalon.com collected 2026-10-03 19:41:29 UTC 3,266 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkchildrensalon=self.rspackChunkchildrensalon||[]).push([[5653],{23172(e,t,i){i.r(t),i.d(t,{default:()=>p});var n=i(35987),a=i(42314),s=i(58358),l=i(69277),r=i(73483);class o extends a.uA{componentDidMount(){if(!this.linkRef.current)throw Error("Tab link doesn`t have ref");(0,s.XO)(this.linkRef.current,"select_content",()=>({content_id:"AQ-Tabs",content_type:"size_link",event_label:"".concat(this.props.defaultTitle,"_").concat(this.props.defaultUrlLabel)}))}render(e){return(0,n.Y)("a",{ref:this.linkRef,"data-custom-event":"select_content",href:e.url,className:"link_kJvSO","aria-label":e.urlLabel,children:e.urlLabel})}constructor(...e){super(...e),function(e,t,i){t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}(this,"linkRef",(0,a._3)())}}class c extends a.uA{componentDidMount(){if(!this.tabRef.current)throw Error("Tab button doesn`t have ref");(0,s.XO)(this.tabRef.current,"select_content",()=>({content_id:"AQ-Tabs",content_type:"navigation",event_label:this.props.title}))}render(e){return(0,n.FD)("span",{ref:this.tabRef,className:(0,l.A)("btn_oGZJ3",{active_Om1dT:e.isActive}),"data-label":e.defaultTitle,"data-custom-event":"select_content","data-group-ids":e.groupIds,onClick:e.onClick,children:[(0,n.Y)("span",{className:"btnText_GhXkr",children:e.title}),e.isActive?(0,n.Y)("svg",{"data-cs":"svgLoader",children:(0,n.Y)("use",{href:"#svgs-close2"})}):null]})}constructor(...e){super(...e),function(e,t,i){t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}(this,"tabRef",(0,a._3)())}}i(38119);var d=i(2405);function u(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}let b="LPTabsModuleViewed";class p extends a.uA{componentDidMount(){d.A.getEnvironment().then(e=>{e.isPreviewMode&&this.setState({isPreviewMode:e.isPreviewMode})});let e=this.props.data.tabs.findIndex(e=>e.isPreselected);!(e>0)||r.A.get(b,!0)||(r.A.set(b,!0,!0),this.onTabClick(e))}render(e,t){let{children:i,data:{tabs:a}}=e;return(0,n.FD)("div",{className:(0,l.A)("block_QnYX8","lp-fixed"),children:[(0,n.Y)("div",{className:(0,l.A)("buttons_ZAM1e",{"j-all-events":t.isPreviewMode}),children:null==a?void 0:a.map((e,i)=>t.isPreviewMode||!e.isDefault?(0,n.Y)(c,{...e,isActive:t.activeTab===i,onClick:()=>this.onTabClick(i)},e.uuid):null)}),(0,n.Y)("div",{className:"tabs_MCpCk",children:null==a?void 0:a.map((e,i)=>e.links.length?(0,n.Y)("div",{className:(0,l.A)("tab_kquqk",{"no-display":t.activeTab!==i}),children:e.links.map(t=>(0,n.Y)(o,{...t,defaultTitle:e.defaultTitle},t.urlLabel))},e.uuid):null)}),i]})}onTabClick(e){let t=this.state.activeTab===e?0:e;this.setActiveTab(t)}setActiveTab(e){this.setState({activeTab:e}),(0,s.gD)("[landing-page-group]").forEach(e=>{let t=e.getAttribute("landing-page-group");t&&this.tabsGroupIdsList.includes(t)&&(0,s.iQ)(e,"no-display")}),this.props.data.tabs[e].groupIds.forEach(e=>{let[t]=(0,s.gD)('[landing-page-group="'.concat(e,'"]'));(0,s.vy)(t,"no-display"),(0,s.hZ)(t,"openGroup")})}constructor(...e){super(...e),u(this,"state",{activeTab:0,isPreviewMode:null}),u(this,"tabsGroupIdsList",this.props.data.tabs.reduce((e,t)=>[...e,...t.groupIds],[]))}}}}]);

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.