PageSourceSearch

https://www.easyrock.com.ph/_next/static/chunks/pages/page/contact-us-91396bbce8851d04.js

js easyrock.com.ph collected 2026-10-02 21:45:07 UTC 9,956 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8662],{371:function(e,a,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/page/contact-us",function(){return s(3342)}])},4569:function(e,a,s){"use strict";var t=s(1549),r=s(4229),n=s(1774),i=s.n(n);a.Z=function(e){let{children:a}=e,s="sidebar-wrapper-ad";return(0,t.jsx)("div",{className:i().container,children:(0,t.jsx)("div",{className:i().wrapper,children:(0,t.jsxs)("div",{className:i().content,children:[(0,t.jsx)(r.P,{id:"div-gpt-ad-1737448386118-0",cmd:()=>{let e=googletag.defineSlot("/421864608/ER_Innity_Desktop_Mrec",[300,250],"div-gpt-ad-1737448386118-0");if(null!==e)return e.addService(googletag.pubads()),googletag.pubads().enableSingleRequest(),googletag.enableServices(),gptAdSlots.push(e),googletag.display("div-gpt-ad-1737448386118-0"),()=>googletag.destroySlots([e])}}),a,(0,t.jsx)(r.P,{id:s,cmd:()=>{let e=googletag.defineSlot("/21622890900,421864608/PH_easyrock.com.ph_pc_all_right1_300x600//160x600//120x600//300x250//336x280",[[300,250],[300,600],[160,600],[336,280],[120,600]],s);if(null!==e){let a=googletag.sizeMapping().addSize([728,300],[[300,600],[120,600],[336,280],[160,600],[300,250]]).addSize([0,0],[]).build();return e.defineSizeMapping(a).addService(googletag.pubads()).setConfig({collapseDiv:!0}),gptAdSlots.push(e),googletag.pubads().enableSingleRequest(),googletag.enableServices(),()=>googletag.destroySlots([e])}}})]})})})}},6638:function(e,a,s){"use strict";var t=s(1549),r=s(3096),n=s(4194),i=s(3177),o=s(3392),l=s(5890),c=s.n(l);a.Z=function(){let[e,a]=(0,n.useState)(!1),[,s]=(0,r.a)();(0,n.useEffect)(()=>(s((0,t.jsxs)("div",{className:c().container,children:[(0,t.jsxs)("div",{className:c().wrapper,onClick:()=>a(e=>!e),children:[(0,t.jsx)("div",{className:c().header,children:"Most Requested songs"}),(0,t.jsx)("div",{className:c().control,children:(0,t.jsx)(i.OId,{className:"".concat(c().icon," ").concat(e?c().rotate:"").trim()})})]}),(0,t.jsx)("div",{className:"".concat(c().dataContainer," ").concat(e?c().visible:"").trim(),children:(0,t.jsx)("div",{className:c().dataWrapper,children:(0,t.jsx)(o.Z,{noHeader:!0})})})]})),()=>{s(null)}),[e,s])}},3342:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return E}});var t,r=s(1549),n=s(8988);async function createInquiry(e){try{return(await n.Z.post("/v1/inquiry",e,{headers:{Accept:"application/json"}})).data}catch(e){return e instanceof Error&&console.error(e.message),null}}var i=s(9100),o=s(4194),l=s(118),c=s(2060),d=s.n(c),m=s(66),p=s.n(m),u=s(1601),h=s(8408),g=s(578),_=s(9691),x=s(9126),N=s(5056),v=s(4830),j=s.n(v);let{publicRuntimeConfig:f}=d()(),b=p()(()=>s.e(6739).then(s.bind(s,6739)),{loadableGenerated:{webpack:()=>[6739]}});var S=(t=function(e){let{notify:a}=e,s=(0,o.useRef)(null),t=(0,i.J)(),[n,l]=(0,o.useState)({}),[c,d]=(0,o.useState)({submit:!1}),[m,p]=(0,o.useState)([{value:"general-inquiries",display:"General Inquiries"},{value:"book-dj",display:"Book Our DJs"},{value:"sales-advertisment",display:"Advertising & Sales"},{value:"job-opportunities",display:"Hiring / Job Opportunities"},{value:"internship",display:"Internship"}]),[v,S]=(0,o.useState)(!1),[y,C]=(0,o.useState)({}),[T,k]=(0,o.useState)({}),validate=()=>{let e={};return n.reason&&""!==n.reason.trim()||(e.reason="Please select a reason"),n.fullName&&""!==n.fullName.trim()?n.fullName.trim().length<2&&(e.fullName="Name must be at least 2 characters"):e.fullName="Name is required",n.email&&""!==n.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n.email)||(e.email="Please enter a valid email address"):e.email="Email is required",n.contactNumber&&""!==n.contactNumber.trim()||(e.contactNumber="Contact number is required"),n.message&&""!==n.message.trim()?n.message.trim().length<10&&(e.message="Message must be at least 10 characters"):e.message="Message is required",k(e),0===Object.keys(e).length},handleTextChange=e=>a=>{let s=a.target.value;l({...n,[e]:s}),T[e]&&k(a=>({...a,[e]:void 0}))};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{isOpen:v,setIsOpen:S,values:y}),(0,r.jsxs)("div",{className:j().container,children:[(0,r.jsxs)("div",{className:j().stationDetail
1sContainer,children:[(0,r.jsxs)("div",{className:j().detailsWrapper,children:[(0,r.jsx)("div",{className:j().header,children:"Contact Us"}),(0,r.jsxs)("div",{className:j().address,children:[(0,r.jsx)(h.Nh4,{className:j().icon}),(0,r.jsx)("div",{children:t.stationDetails.displayName}),(0,r.jsx)("div",{children:t.stationDetails.address})]}),(0,r.jsxs)("div",{className:j().contactNumber,children:[(0,r.jsx)(h.DNl,{className:j().icon}),(0,r.jsx)("div",{children:t.stationDetails.contactNumbers})]})]}),t.stationDetails.mapsEmbed&&(0,r.jsx)("div",{className:j().mapWrapper,dangerouslySetInnerHTML:{__html:t.stationDetails.mapsEmbed}})]}),(0,r.jsxs)("div",{className:j().formContainer,children:[(0,r.jsxs)(g.Z,{className:j().formItem,children:[(0,r.jsx)("label",{htmlFor:"reason",children:"Why are you contacting us?"}),(0,r.jsxs)(_.Z,{type:"select",value:n.reason,onChange:handleTextChange("reason"),className:T.reason?j().inputError:"",children:[(0,r.jsx)("option",{value:"",children:"Please pick a reason why you are contacting us"}),(()=>{if(m)return m.map((e,a)=>(0,r.jsx)("option",{value:e.value,children:e.display},a))})()]}),T.reason&&(0,r.jsx)("span",{className:j().errorText,children:T.reason})]}),(0,r.jsxs)(g.Z,{className:j().formItem,children:[(0,r.jsx)("label",{htmlFor:"reason",children:"Name"}),(0,r.jsx)(_.Z,{type:"text",placeholder:"--",value:n.fullName,onChange:handleTextChange("fullName"),className:T.fullName?j().inputError:""}),T.fullName&&(0,r.jsx)("span",{className:j().errorText,children:T.fullName})]}),(0,r.jsxs)(g.Z,{className:j().formItem,children:[(0,r.jsx)("label",{htmlFor:"reason",children:"Email"}),(0,r.jsx)(_.Z,{type:"text",placeholder:"--",value:n.email,onChange:handleTextChange("email"),className:T.email?j().inputError:""}),T.email&&(0,r.jsx)("span",{className:j().errorText,children:T.email})]}),(0,r.jsxs)(g.Z,{className:j().formItem,children:[(0,r.jsx)("label",{htmlFor:"reason",children:"Contact Number"}),(0,r.jsx)(_.Z,{type:"text",placeholder:"--",value:n.contactNumber,onChange:handleTextChange("contactNumber"),className:T.contactNumber?j().inputError:""}),T.contactNumber&&(0,r.jsx)("span",{className:j().errorText,children:T.contactNumber})]}),(0,r.jsxs)(g.Z,{className:j().formItem,children:[(0,r.jsx)("label",{htmlFor:"reason",children:"Brief Message"}),(0,r.jsx)(_.Z,{type:"textarea",rows:"3",placeholder:"--",value:n.message,onChange:handleTextChange("message"),className:T.message?j().inputError:""}),T.message&&(0,r.jsx)("span",{className:j().errorText,children:T.message})]}),(0,r.jsx)(u.Z,{ref:s,size:"invisible",style:{display:"inline-block"},sitekey:f.RECAPTCHA_SITEKEY}),(0,r.jsxs)(x.Z,{className:j().submit,onClick:e=>{e.preventDefault(),validate()&&(d({...c,submit:!0}),createInquiry({...n,source:f.SITE_NAME}).then(e=>{d({...c,submit:!1}),e.data&&(l({reason:"",fullName:"",email:"",contactNumber:"",message:"",token:null}),null!=s.current&&s.current.reset(),C(e.data),S(!0))}).catch(e=>{var t,r,n,i,o,l;null!=s.current&&s.current.reset(),d({...c,submit:!1}),(null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.error)?a({type:"danger",message:null===(i=e.response)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.error}):a({type:"danger",message:null===(l=e.response)||void 0===l?void 0:null===(o=l.data)||void 0===o?void 0:o.message})}))},children:[c.submit&&(0,r.jsx)(N.Z,{size:"sm",className:"mr-2"}),"Send"]})]})]})]})},class extends o.Component{componentDidMount(){}componentWillUnmount(){}render(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{ref:this.notifRef}),(0,r.jsx)(t,{...this.props,notify:this.notify})]})}constructor(e){super(e),this.notify=e=>{let{type:a,message:s}=e,t={place:"tc",message:(0,r.jsx)("div",{className:"alert-text",children:(0,r.jsx)("strong",{"data-notify":"message",children:s})}),type:a,icon:"",autoDismiss:7};this.notifRef.current.notificationAlert(t)},this.notify=this.notify.bind(this),this.notifRef=o.createRef()}}),y=s(8363),C=s(6638),T=s(2126),k=s(4569);function OptionPage(e){let{data:a}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"frontend-content-container",children:(0,r.jsx)("div",{className:"content-wrapper",children:(0,r.jsxs)("div",{className:"main-container",children:[(0,r.jsx)(C.Z,{}),(0,r.jsx)(S,{})]})})}),(0,r.jsx)(k.Z,{children:(0,r.jsx)(y.Z,{})})]})}OptionPage.layout=T.Z;var E=OptionPage},4830:function(e){e.exports={container:"ContactUsForm_container__u55LY",stationDetail
1sContainer:"ContactUsForm_stationDetailsContainer__Dw8De",mapWrapper:"ContactUsForm_mapWrapper__JGecG",detailsWrapper:"ContactUsForm_detailsWrapper__1jATV",header:"ContactUsForm_header___k4m8",address:"ContactUsForm_address__DXY7E",contactNumber:"ContactUsForm_contactNumber__Djp0i",icon:"ContactUsForm_icon__woSAw",formContainer:"ContactUsForm_formContainer__l3Cq_",submit:"ContactUsForm_submit__QVd5V",formItem:"ContactUsForm_formItem__hT9sc",inputError:"ContactUsForm_inputError__VCSjE",errorText:"ContactUsForm_errorText__xHpkX"}},1774:function(e){e.exports={container:"SidebarWrapper_container__OhpYc",wrapper:"SidebarWrapper_wrapper__aPzKP",content:"SidebarWrapper_content__tEgFY",topAd:"SidebarWrapper_topAd__erJqn",AdSpace:"SidebarWrapper_AdSpace__7_38f"}},5890:function(e){e.exports={container:"Top10SongsStickyWrapper_container__NKpsx",wrapper:"Top10SongsStickyWrapper_wrapper___dshM",header:"Top10SongsStickyWrapper_header__LTbBN",control:"Top10SongsStickyWrapper_control__lhZeg",icon:"Top10SongsStickyWrapper_icon__ZGSVW",rotate:"Top10SongsStickyWrapper_rotate__HpQxr",dataContainer:"Top10SongsStickyWrapper_dataContainer__yKmnU",dataWrapper:"Top10SongsStickyWrapper_dataWrapper__Gd47L",visible:"Top10SongsStickyWrapper_visible__S7wA2"}}},function(e){e.O(0,[9341,8718,1340,2556,2126,9774,2888,179],function(){return e(e.s=371)}),_N_E=e.O()}]);

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.