PageSourceSearch

https://www.dbs.com/group/_next/static/chunks/4461.9e020bec8c7f528d.js

js dbs.com collected 2026-09-24 08:34:27 UTC 10,662 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4461],{32597:(e,t,n)=>{n.d(t,{T:()=>s,l:()=>c});var r=n(70236),o=n(95329),i=n(6e3),a=n(44077),c=function(e){try{var t=new o.A({ignoreAttributes:!1}).parse(e);if(t&&"object"==typeof t){var n=Object.keys(t);if(0===n.length||1===n.length&&"empty"===n[0])return;return t}return}catch(e){console.error("Invalid XML data:",e);return}},s=function(e){var t=e.results["branch_".concat(a.Se,"_en")],n=(0,r.A)((0,i.toArray)(e.results.result));return t&&t.length>0&&(t.forEach(function(e){e.imageUrl=(0,a.qG)(e.latitude,e.longitude),e.MT="SUPPORT",e.title={displaytitle:"".concat(e.name,"(").concat(e.type,")")},e.description={contextdescription:"".concat(e.address," , ").concat(e.postal_code)}}),n=[].concat((0,r.A)(t),(0,r.A)(n))),n}},64461:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Z});var r=n(42969),o=n(14232),i=n(32791),a=n(69260),c=n(6e3),s=n(14480),l=n(78545),d=n.n(l),h=n(49809),p=n.n(h),u=n(59834),f=n.n(u),x=n(58710),g=n(45794),m=n(3825),j=n(29567),w=n.n(j),b=n(16499),y=n(37876),v=i.default.div.withConfig({componentId:"sc-1an2t6e-0"})(["","{width:auto;padding:0px;padding-bottom:3px;text-align:left;text-size-adjust:100%;border-bottom-width:2px;margin-right:16px;margin-top:6px;line-height:normal;&:hover{border-bottom:2px solid ",";}@media (min-width:320px) and (max-width:767px){display:none;}}","{width:100%;}"],b.Title,function(e){return e.theme.leftNavBar.primaryColor},b.TabStripContainer),I=i.default.div.withConfig({componentId:"sc-1an2t6e-1"})(["margin-top:16px;@media (min-width:320px) and (max-width:767px){display:none;}"]),C=i.default.div.withConfig({componentId:"sc-1an2t6e-2"})(["display:none;@media (min-width:320px) and (max-width:767px){display:block;margin-top:10px;}"]);let A=function(e){var t,n,r=e.searchCategories,o=e.category,i=e.getCategoryIndex,a=e.searchResultsCount,c=(t=[],n=[],r.forEach(function(e){t.push({title:e,content:(0,y.jsx)(I,{})}),n.push({value:e,label:e})}),[t,n]),s=(0,g.A)(c,2),l=s[0],d=s[1];return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(v,{children:(0,y.jsx)(w(),{children:l,selectedTab:o,leftAlign:!1,onSelect:i})}),a>0&&(0,y.jsx)(C,{children:(0,y.jsx)(m.Select,{options:d,value:r[o],onChange:function(e){var t=e.target.value;i(r.indexOf(t))}})})]})};var P=n(61980),S=n(44077),k=n(38616),D=n(93084),O=n(32597),R=n(88516);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var E=i.default.div.withConfig({componentId:"sc-c19jor-0"})([""]),G=i.default.h2.withConfig({componentId:"sc-c19jor-1"})(["font-size:24px;font-weight:500;line-height:1.3;margin:0 0 16px;@media (max-width:767px){margin:16px 0;}"]),q=(0,i.default)(s.Container).withConfig({componentId:"sc-c19jor-2"})(["max-width:992px;margin:0 auto 32px;padding-left:24px;padding-right:24px;color:#2e2e2e;content:' ';display:table;a{color:",";text-decoration:none;}a:hover{color:",";}@media (max-width:767px){display:flex;width:100%;padding:0;}"],function(e){return e.theme.search.searchResults.color},function(e){return e.theme.search.searchResults.hoverLinkColor}),z=(0,i.default)(s.Row).withConfig({componentId:"sc-c19jor-3"})(["margin-top:32px;@media (max-width:768px){margin-top:0px;}"]),N=i.default.h3.withConfig({componentId:"sc-c19jor-4"})(["font-weight:500;font-size:18px;margin:0;@media (max-width:768px){margin-top:20px;}"]),H=i.default.div.withConfig({componentId:"sc-c19jor-5"})(["min-height:auto;margin-bottom:0;background-color:#fff;overflow:hidden !important;box-shadow:0px 1px 1px -1px silver;padding:16px 16px 32px;","{padding:12px 32px 12px 16px;border-color:#c0c0c0;border-right-width:0 !important;@media (min-width:320px) and (max-width:768px){font-size:16px;}}","{overflow:hidden;border:none;max-height:fit-content;box-shadow:none;","{padding:0px 0px;p{font-weight:400;}&:hover{background:#fff;}}a{margin-bottom:4px;line-height:1;font-weight:500;text-decoration:none;}p a{color:#656565;}hr{margin:24px 0;}}","{z-index:99;}","{a{font-weight:200 !important;}}"],h.Input,u.Wrapper,u.Result,h.HistoryItems,u.Description),Q=i.default.ul.withConfig({componentId:"sc-c19jor-6"})(["margin:0 0 0 8px;padding:16px 0 24px 24px;list-style-position:outside;"]),F=i.default.li.withConfig({componentId:"sc-c19jor-7"})(["margin-bottom:4px;a{font-weight:400;}"]),U=i.default.div.withConfig({componentId:"sc-c19jor-8"})(["margin-top:8.5px;color:#909090;font-weight:400;font-size:16px;"]),J=i.default.div.withConfig({componentId:"sc-c19jor-9"})(["line-height:normal;font-weight:400;font-size:16px;b{font-weight:500;}"]),B=i.default.div.withConfig({componentId:"sc-c19jor-10"})(["font-size:14px;font-size:1.4rem;margin-top:32.5px;margin-bottom:24px;color:#909090;font-weight:500;@media (min-width:320px) and (max-width:767px){margin-top:24.5px;}strong{color:#2e2e2e;}"]),M=i.default.p.withConfig({componentId:"sc-c19jor-11"})(["color:",";margin:0;a > b{color:",";border-bottom:1px dotted ",";cursor:pointer;&:hover{text-decoration:underline;}}"],function(e){return e.theme.primary},function(e){return e.theme.primary},function(e){return e.theme.primary}),W=i.default.span.withConfig({componentId:"sc-c19jor-12"})(["margin-top:24px;margin-bottom:16px;line-height:1.5;"]),L=i.default.div.withConfig({componentId:"sc-c19jor-13"})(["margin:24px -8px 0;"]),X=i.default.div.withConfig({componentId:"sc-c19jor-14"})(["@media (min-width:320px) and (max-width:767px){margin-top:24px;margin-left:20px;}"]),Y=i.default.div.withConfig({componentId:"sc-c19jor-15"})(["p{line-height:1.5;margin:0;}ul{margin:0 0 10px;padding-left:40px;}"]);function $(e,t,n){return(0,y.jsx)(y.Fragment,{children:t["@_suggest"]&&""!==t["@_suggest"]&&(0,y.jsxs)(M,{children:[(0,y.jsxs)(W,{children:[e.DidYouMean," "]}),(0,y.jsx)("a",{onClick:function(e){n(t["@_suggest"])},children:(0,y.jsx)("b",{style:{fontWeight:500},children:t["@_suggest"]})})]})})}function K(e){var t=e.searchPageData,n=e.query,r=e.results,o=e.setQuery;return(0,y.jsxs)(J,{children:[$(t,r,o),(0,y.jsx)("br",{}),(0,y.jsx)(P.HJ,{html:t.NoResultsText1})," - "," ",(0,y.jsx)("b",{children:n})," - ",(0,y.jsx)(P.HJ,{html:t.NoResultsText2}),' "'," ",(0,y.jsx)("b",{children:n}),'"',(0,y.jsx)("br",{}),(0,y.jsx)("br",{}),(0,y.jsx)(Y,{children:(0,y.jsx)(P.HJ,{html:t.Suggestions})})]})}function V(e){var t=e.searchPageData,n=e.query,r=e.results,i=e.setQuery,c=e.handlePagination,s=e.currentPage,l=e.offsetScroll,h=(0,o.useRef)(null);if(!r||!r.result||!(r.result.length>0))return(0,y.jsx)(K,{searchPageData:t,query:n,results:r,setQuery:i});var p=void 0===t.ResultsText?"Results":t.ResultsText,u=void 0===t.OfAboutText?"of":t.OfAboutText,x=void 0===t.ForText?"for":t.ForText,g=r["@_hits"];return(0,y.jsxs)("div",{ref:h,children:[(0,y.jsxs)(B,{children:[(0,y.jsx)(P.HJ,{html:p}),(0,y.jsxs)("span",{children:[" ".concat(r["@_start"],"-").concat(r["@_end"]," ").concat(u," ").concat(g," \n              ").concat(x," "),(0,y.jsx)("strong",{children:"'".concat(n,"'")})]})]}),$(t,r,i),(0,y.jsx)(f(),{results:r.result,isSearchPage:!0,searchRanking:function(e){a.Dispatcher.dispatch("AA_TAGGING",{component:"search",type:"internalSearch",data:{keyword:n,rank:e},trackId:"pweb-search result rank"})}}),(null==r?void 0:r.result)&&g>10&&(0,y.jsx)(L,{children:(0,y.jsx)(d(),{totalRecords:parseInt(g),handlePagination:c,noOfRecordsPerPage:10,pageRangeDisplayed:10,activePageIndex:s,autoScrollTo:h,offsetScroll:l})})]})}let Z=(0,x.A)(function(e){var t,n=e.data,i=e.headerData,l=e.q,d=["All","Products","Articles","Promotions","Support","Others"],h=(0,o.useState)(void 0===l?"dbs":l),u=h[0],f=h[1],x=(0,o.useState)(),g=x[0],m=x[1],j=(0,o.useState)(d[0]),w=j[0],b=j[1],v=(0,o.useState)(1),I=v[0],C=v[1],P=(0,o.useRef)(null);(0,o.useEffect)(function(){C(1)},[w]),(0,o.useEffect)(function(){var e;C(1),b(d[0]),e=window.location.href.replace(RegExp("q=(.*)"),"q=".concat(u)),window.history.pushState({path:e},"",e)},[u]),(0,o.useEffect)(function(){T()},[I,w,u]),(0,o.useEffect)(function(){document.body.style.background="#f3f3f3"},[]);var T=function(){var e=w;w===d[0]&&(e=""),R.A.getSearchResults(u,e,(I-1)*10).then(function(e){if(e&&e.data){var t=(0,O.l)(e.data);t.searchdoc.results.result=(0,O.T)(t.searchdoc).filter(function(e){return e}),m(t.searchdoc.results)}else m({})}).catch(function(e){console.log(e),m({})})},J=i.Header.searchDetails.searchCollection,B=i.Header.searchDetails.searchUrl,M={};n.Datum.forEach(function(e){M=_((0,r.A)({},e.ID,e.content),M)}),n.Group.Datum.forEach(function(e){M=_((0,r.A)({},e.ID,e.content),M)});var W=function(e){a.Dispatcher.dispatch("AA_TAGGING",{component:"search",type:"button",trackId:"pweb-search-component-link-clicks",data:{name:"search:popular:side:".concat(e)}})};try{return(0,y.jsx)(E,{children:(0,y.jsx)(q,{children:(0,y.jsxs)(z,{children:[(0,y.jsx)(s.Column,{sm:8,md:8,children:(0,y.jsxs)(H,{ref:P,children:[(0,y.jsx)(G,{children:M.SearchResultsTitle}
1),(0,y.jsx)(p(),{getSearchResults:function(e){return f(e),Promise.resolve("")},placeholder:"Search",labels:S.bB,isSearchPage:!0,initialQuery:u,searchResultsPageUrl:"",searchDetails:null}),(0,y.jsx)(U,{children:"Filter by:"}),(0,y.jsx)(A,{searchCategories:d,category:d.indexOf(w),getCategoryIndex:function(e){b(d[e]),a.Dispatcher.dispatch("AA_TAGGING",{component:"search",type:"internalSearch",trackId:"pweb-search-component-link-clicks",data:{search:{filter:u},button:{name:"search:filter_by:".concat(d[e])}}})},searchResultsCount:null!=g&&null!=(t=g.result)&&t.length?g.result.length:0}),u&&g&&(0,y.jsx)(V,{searchPageData:M,query:u,results:g,setQuery:f,handlePagination:function(e){C(e),a.Dispatcher.dispatch("AA_TAGGING",{component:"search",type:"internalSearch",trackId:"pweb-search-component-link-clicks",data:{search:{filter:u},button:{name:"search:popular:side:".concat(e)}}})},currentPage:I,offsetScroll:(0,D.iq)()})]})}),(0,y.jsx)(s.Column,{sm:4,md:4,children:(0,y.jsxs)(X,{children:[(0,y.jsx)(N,{children:M.PopularSearches}),(0,y.jsx)(Q,{children:J&&(0,c.toArray)(J).map(function(e,t){return(0,y.jsx)(F,{children:(0,y.jsx)("a",{href:"".concat((0,D.ml)(B),"?q=").concat(e.term),onClick:function(){return W(e.term)},children:e.term})},t)})})]})})]})})})}catch(e){return console.error({PWEBRayID:(0,k._$)().PAGE_REQUEST_ID,error:e}),null}})}}]);

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.