PageSourceSearch

https://eduwo.ch/_next/static/chunks/pages/suche/[slug]-9f85171fad56b8b1.js

js eduwo.ch collected 2026-10-02 04:11:02 UTC 6,815 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7382],{4006:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},22209:(e,s,t)=>{"use strict";t.d(s,{A:()=>d});var r=t(55427),a=t(97867),n=t(33722),c=t(80612),o=t(52692),i=t(61245),l=t(21426),h=t(9458),u=t(3540);let d=e=>{let{parentClassName:s="search-input-container full_width",className:t="SearchContainer--header SearchPageLayout__search full_width px_0 py_10 row row1240",setUrlQueryParams:d}=e,p=(0,i.j)(),_=(0,u.useRouter)(),{searchInputRef:m,searchValue:y,handleSetSearchValue:f,queryValues:g}=(0,h.A)({setUrlQueryParams:d});(0,a.useEffect)(()=>{var e;f(null!=(e=_.query.term)?e:"")},[_]);let{t:b}=(0,o.A)("common");return(0,r.jsx)("div",{ref:m,className:s,children:(0,r.jsx)(c.A,{onChange:e=>{f(e.target.value),p((0,l.Sc)(!0))},onFocus:()=>{p((0,l.Pj)(!1)),p((0,l.Sc)(!0))},value:null!=y?y:g.term,inputClassName:"SearchContainer__content--placeholder",className:t,icon:(0,r.jsx)(n.WIv,{color:"black",className:"pointer"}),placeholder:b("common:Suche"),iconClassName:""})})}},30027:(e,s,t)=>{e.exports=t(57737)()},44360:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/suche/[slug]",function(){return t(99112)}])},57737:(e,s,t)=>{"use strict";var r=t(4006);function a(){}function n(){}n.resetWarningCache=a,e.exports=function(){function e(e,s,t,a,n,c){if(c!==r){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function s(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:s,element:e,elementType:e,instanceOf:s,node:e,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:a};return t.PropTypes=t,t}},99112:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>S,default:()=>j});var r=t(55427),a=t(97867),n=t(61245),c=t(80823),o=t.n(c),i=t(22209),l=t(53279),h=t(60247),u=t(12273),d=t(66144),p=t(29094),_=t(43854),m=t(3540),y=t(52692),f=t(92257),g=t(5265);let b=e=>e&&"undefined"!==e&&"null"!==e&&""!==e?"string"==typeof e?e:String(e):null,x=e=>e?b(Array.isArray(e)?e[0]:e):null;var S=!0;let j=e=>{var s;let{slug:t}=e,{width:c}=(0,f.A)(),S=(0,n.G)(e=>e.shouldScriptRun.shouldScriptRun),j=(0,n.j)(),[w,v]=a.useState({});(0,a.useEffect)(()=>{S||setTimeout(()=>{j((0,p.ue)(!0))},3e3)},[]),(0,a.useEffect)(()=>{c<1100&&j((0,_.g$)(!1))},[]);let N=(0,m.useRouter)(),{t:T,lang:A}=(0,y.A)("search"),C=h.uW.map((e,s)=>({...e,name:T("common:".concat(e.name)),index:s})),E=(()=>{delete N.query.sort_by,delete N.query.slug;let e=(0,g.A)(N.query,["term"]);return(0,u.A)({...e,term:encodeURIComponent(N.query.term)})})(),P=async e=>{let{values:s,itemNames:r}=e;v(r||{}),await N.push({pathname:"/".concat(N.locale,"/suche/[slug]"),query:{slug:t,...s}},void 0,{locale:!1,scroll:!1})},k=d.rN.map(e=>{let{text:s,value:t}=e;return s.includes("maillink")?{...e,text:T("Kurs fehlt"),href:"mailto:[email protected]?subject=".concat(T("missing-course-subject"),"&body=").concat(T("missing-course-content")),target:"_blank",className:"missing-course"}:{...e,text:T(s),href:"/".concat(A,"/suche/").concat(t,"?").concat(E),value:s}}),q=(e=>{let{query:s,slug:t,t:r,itemNames:a}=e,n=b(s.term),c=x(s["study_field_ids[]"]),o=x(s["study_field_category_ids[]"]),i=x(s["city_ids[]"]),l=x(s["region_ids[]"]),h=x(s["degree_type_ids[]"]),u=x(s["school_type_ids[]"]),d=(e,s)=>{let t=null==a?void 0:a[e];return t?Array.isArray(t)?t.length>0?t.join(", "):s:t:s},p=d("study_field_ids[]",c),_=d("study_field_category_ids[]",o),m=d("city_ids[]",i),y=d("region_ids[]",l),f=d("degree_type_ids[]",h),g=d("school_type_ids[]",u),S=((e,s)=>({courses:s("search-h1-base-courses"),schools:s("search-h1-base-schools"),experts:s("search-h1-base-experts"),organizations:s("search-h1-base-organizations")})[e]||s("search-h1-base-courses"))(t,r);if(n)return(p||_)&&m?r("search-h1-term-field-city",{term:n,field:p||_,city:m,base:S}):m?r("search-h1-term-city",{term:n,city:m,base:S}):p||_?r("search-h1-term-field",{term:n,field:p||_,base:S}):r("search-h1-term-only",{term:n});let j=p||_;return j?m?r("search-h1-field-city",{field:j,city:m,base:S}):y?r("search-h1-field-region",{field:j,region:y,base:S}):r("search-h1-field-only",{field:j,base:S}):m?r("search-h1-city-only",{city:m,base:S}):y?r("search-h1-region-only",{region:y,base:S}):f?r("search-h1-degree-type",{degreeType:f,base:S}):g?r("search-h1-school-type",{schoolType:g,base:S}):((e,s)=>({courses:s("search-h1-all-courses"),schools:s("search-h1-all-schools"),experts:s("search-h1-all-experts"),organizations:s("search-h1-all-organizations")})[e]||s("search-h1-all-courses"))(t,r)})({query:N.query,slug:t,t:T,itemNames:w});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o(),{children:["de"===A?(0,r.jsx)("title",{children:"Weiterbildungen & Schulen Schweiz ➧ Jetzt finden! | eduwo.ch"}):"en"===A?(0,r.jsx)("title",{children:"Continuing Education & Schools Switzerland ➧ Find now! | eduwo.ch"}):(0,r.jsx)("title",{children:"Formations continues & \xe9coles Suisse ➧ Trouver maintenant ! | eduwo.ch"}),(0,r.jsx)("meta",{name:"description",content:"de"===A?"Suchst du eine Weiterbildung? ➧ \xdcbersichtliche Suche ✓ Tau
1sende Angebote ✓ Erfahrungsberichte ✓ Gratis Beratung ✓ Los geht’s!":"en"===A?" Are you looking for continuing education? ➧ Clear search ✓ Thousands of offers ✓ Testimonials ✓ Free advice ✓ Let’s go!":"Tu cherches une formation continue ? ➧ Une recherche claire ✓ Des milliers d’offres ✓ Des t\xe9moignages ✓ Des conseils gratuits ✓ C’est parti !"},"description"),null==(s=N.locales)?void 0:s.map(e=>(0,r.jsx)("link",{rel:"alternate",hrefLang:e,href:"https://eduwo.ch/".concat(e).concat(N.asPath)},e)),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebSite",url:"https://eduwo.ch",potentialAction:{"@type":"SearchAction",target:"https://eduwo.ch/de/suche/courses?term={search_term_string}","query-input":"required name=search_term_string"}})}})]}),(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("h1",{className:"sr-only",children:q}),(0,r.jsx)(l.A,{filtersClassName:"py_30 ".concat(c<1240?"px_20":""),queryParams:N.query,filters:C,type:"search",slug:t,tabs:k,activeTab:t,className:"".concat(c<1100?"pt_160":"pt_100"," pb_160 position_relative"),handleQueryParams:P,beforeTabs:(0,r.jsx)(r.Fragment,{children:c>1100&&(0,r.jsx)(i.A,{className:"SucheContainer dashboard-search-input py_10  ".concat(c>1100?"px_20 ":""," "),parentClassName:"mb_20"})}),searchBtnsProps:{wizardBtn:!0,dropdown:!0}})]})]})}}},e=>{e.O(0,[1121,6701,1472,7168,9102,5626,3279,636,6593,8792],()=>e(e.s=44360)),_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.