PageSourceSearch

https://www.capiostgoran.se/_next/static/chunks/0k_p9s_b6fg6s.js

js capiostgoran.se collected 2026-10-02 12:27:04 UTC 8,605 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89441,e=>{e.q("/_next/static/media/capio-loader.0jf81lw.47im~.gif")},68254,e=>{"use strict";var a=e.i(42881);e.s(["sendAccordionClickDataLayerPush",0,e=>{a.DataLayer.push({event:"accordion_click",accordion_title:e})},"sendAlertExpandDataLayerPush",0,(e,t,l)=>{a.DataLayer.push({event:"banner_message_expand",banner_message_title:e,banner_alert_type:t?"global":"local",banner_message_type:l})},"sendAppDownloadDataLayerPush",0,e=>{a.DataLayer.push({event:"app_download",download_method:e})},"sendCampaignBlockClickDataLayerPush",0,e=>{a.DataLayer.push({event:"campaign_block_click",campaign_block_title:e})},"sendCareerListBlockClickDataLayerPush",0,(e,t)=>{a.DataLayer.push({event:"career_list_click",career_list_click:e,career_list_county:t})},"sendCommonSearchesDataLayerPush",0,e=>{a.DataLayer.push({event:"search_button_click",searches_button:e})},"sendContactDataLayerPush",0,(e,t)=>{a.DataLayer.push({event:"contact_click",contact_type:e,contact_name:t})},"sendCtaClickLayerPush",0,e=>{a.DataLayer.push({event:"cta_click",cta_click_name:e})},"sendDiscoverMoreDataLayerPush",0,e=>{a.DataLayer.push({event:"discover_more_click",discover_more_title:e})},"sendFastlistingLayerPush",0,(e,t)=>{a.DataLayer.push({event:"fastlisting",fastlisting_region:e,fastlisting_care_unit:t})},"sendFormActionLayerPush",0,(e,t)=>{a.DataLayer.push({event:e,form_name:t})},"sendHeaderCtaClickDataLayerPush",0,e=>{a.DataLayer.push({event:"header_cta_click",header_cta_click:e})},"sendImageTextCtaClickLayerPush",0,e=>{a.DataLayer.push({event:"image_text_block_click",image_text_block_link:e})},"sendInternalSearchDataLayerPush",0,(e,t)=>{a.DataLayer.push({event:"internal_search",search_term:e,total_search_hits:t})},"sendMenuDataLayerPush",0,(e,t,l)=>{a.DataLayer.push({event:"menu",menu_category:e,menu_sub_category:t,menu_click:l})},"sendNavigationDataLayerPush",0,(e,t)=>{a.DataLayer.push({event:"navigation",navigation_type:e,navigation_click:t})},"sendOpenFilterDataLayerPush",0,e=>{a.DataLayer.push({event:"filter",filter_action:e})},"sendPatientInfoCardDataLayerPush",0,e=>{a.DataLayer.push({event:"patient_info_block_click",patient_info_block_title:e})},"sendUnitListingClickDataLayerPush",0,e=>{a.DataLayer.push({event:"unit_listing",unit_listing_text:e})},"sendVisitedDiagnosesClickDataLayerPush",0,e=>{a.DataLayer.push({event:"visited_diagnoses_click",visited_diagnoses_cta:e})}])},20557,e=>{"use strict";var a=e.i(43476),t=e.i(52536),l=e.i(88341),n=e.i(19527);let s=e=>{let t=e.leftAligned??!1;return(0,a.jsxs)("div",{className:`flex flex-col justify-center max-w-[552px] my-0  ${t?"mx-0 self-start":"mx-auto px-6"}`,children:[(e.heading?.value||e.editMode)&&(e.editMode?(0,a.jsx)("h2",{className:t?"text-left":"text-center",...(0,n.default)(e.editMode,e.headingPropertyName??""),children:e.heading?.value}):(0,a.jsx)("h2",{className:t?"text-left":"text-center",children:e.heading?.value})),(e.description?.value||e.editMode)&&(e.editMode?(0,a.jsx)("p",{className:t?"text-left":"text-center",...(0,n.default)(e.editMode,e.preamblePropertyName??""),children:e.description?.value}):(0,a.jsx)("p",{className:t?"text-left":"text-center",children:e.description?.value})),e.link&&(0,a.jsx)("div",{className:`flex ${t?"justify-start":"justify-center"}`,children:(0,a.jsx)(l.DynamicLink,{url:e.link?.href??"#",className:"mb-0 underline",children:(0,a.jsx)("p",{className:t?"text-left":"text-center",children:e.link?.text})})})]})};e.s(["BlockCommonLayout",0,e=>(0,a.jsx)("section",{id:e.id,className:`w-full px-6 pt-8 ${e.noPaddingBottom?"pb-0":"pb-8"}`,style:{backgroundColor:t.colors[e.backgroundColor??""]},children:(0,a.jsxs)("div",{className:"flex flex-col items-center w-full max-w-INNER_MAX_WIDTH my-0 mx-auto",children:[s({...e}),e.children]})}),"BlockFullWidthLayout",0,e=>(0,a.jsx)("section",{className:"md:px-6 py-8",id:e.id,children:(0,a.jsxs)("div",{className:"flex flex-col items-center w-full max-w-INNER_MAX_WIDTH my-0 mx-auto",children:[s({...e}),e.children]})}),"TwoColumnGridLayout",0,e=>(0,a.jsx)("div",{className:"w-full lg:w-[calc(100% + 24px)] flex flex-col lg:flex-row",children:e.items.map((e,t)=>(0,a.jsx)("div",{className:"lg:px-3 flex flex-col flex-1 md:flex-[0 0 33.33%] lg:flex-[0 0 50%]",children:e},t))})])},25320,e=>{"use strict";var a=e.i(43476);e.s(["default",0,({inputRef:e,error:t,label:l,helperText:n,placeholder:s,isHoneypot:r,className:i,...c})=>(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:`${r?"hidden":"flex flex-col w-full"} ${i}`,children:[(0,a.jsx)("label",{htmlFor:c.id,className:"text-14 mb-1 pointer-events-none",children:l}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)("input",{ref:e,placeholder:s,"aria-invalid":t?"true":"false",className:"",...c})}),n&&(0,a.jsx)("div",{className:"w-full flex justify-end mt-1 text-right text-sm",children:(0,a.jsx)("p",{className:t?"text-alertRed":"text-navy",children:n})})]})})])},95187,(e,a,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var l={callServer:function(){return s.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return r.findSourceMapURL}};for(var n in l)Object.defineProperty(t,n,{enumerable:!0,get:l[n]});let s=e.r(32120),r=e.r(92245),i=e.r(35326)},40038,e=>{"use strict";var a=e.i(43476),t=e.i(71645);e.i(60664);var l=e.i(38516),n=e.i(50399),s=e.i(38900),r=e.i(75103),i=e.i(20557),c=e.i(57688),o=e.i(25320),d=e.i(68254),u=e.i(95187);let h=(0,u.createServerReference)("70642916a6d8afc3196792a9608a02009654ba9e2c",u.callServer,void 0,u.findSourceMapURL,"submitSmsForm");var m=e.i(19527);e.s(["CapioNexusSearchCareInAppClientBlock",0,({currentHost:e,publicPageApiEndpoint:u,image:x,heading:p,preamble:f,antiforgeryToken:y,editMode:_,...v})=>{let[g,L]=t.default.useState(!0),[j,k]=t.default.useState(null),[D,b]=t.default.useState([]),[C,P]=t.default.useState(null),N=t.default.useRef(null),w=async e=>{(0,d.sendAppDownloadDataLayerPush)("phonenumber"),k(null),P(null),b([]);try{let a=await h(u,e,y);if(a.result&&k(a.result),a.errors?.length>0){let e=[],t=[];a.errors.forEach(a=>{"phone"===a.key?e.push(a.message):t.push(a)}),b(t),P(e.join(" "))}}catch(e){console.error("Form submission failed:",e),b([{key:"generic",message:"Something went wrong. Please try again."}])}};return(0,a.jsx)(n.Flex,{className:"w-full",children:(0,a.jsx)(i.BlockCommonLayout,{heading:p,headingPropertyName:"heading",editMode:_,children:(0,a.jsx)(s.MediaContent,{mirror:!0,media:(0,a.jsx)(n.Flex,{children:(x?.media?.value?.url||_)&&(0,a.jsx)(c.default,{...(0,m.default)(_,"Image"),src:x?.media?.value?.url??"",alt:x?.alternateText?.value??"",fill:!0,objectFit:"cover",title:x?.imageTitle?.value||""})}),cta:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("form",{...(0,m.default)(_,"SMSContentText"),ref:N,encType:"application/x-www-form-urlencoded",className:"hidden lg:flex w-full flex-col",onSubmit:e=>{e.preventDefault(),w(new FormData(e.currentTarget))},children:[(0,a.jsx)(n.Flex,{className:"sr-only",children:(0,a.jsx)(o.default,{id:"smsProMessageField",name:"message",label:"",defaultValue:v.smsContentText.value,hidden:!0})}),(0,a.jsxs)(n.Flex,{children:[(0,a.jsx)(o.default,{id:"smsProPhoneField",name:"phone",error:C||void 0,onChange:e=>{L(!(e.currentTarget.value.length>0))},label:v.translations?.searchCareInAppLabel??"",helperText:C??j,placeholder:"+46 7XX XX XX XX"}),(0,a.jsx)(o.default,{id:"smsProCountryCodeField",name:"phoneCountryCode",label:v.translations?.searchCareInAppLabel??"",helperText:j,placeholder:"+46",isHoneypot:!0})]}),(0,a.jsx)(n.Flex,{className:"w-fit mt-6",children:(0,a.jsx)(l.Button,{type:"submit",additionalClass:"hidden md:inline-flex",disabled:g,children:v.translations?.searchCareInAppSubmitLabel})}),D?.length>0&&D.map((e,t)=>{if(e?.key!=="phone")return(0,a.jsx)(n.Flex,{className:"w-full mt-3 ",children:(0,a.jsx)(r.Text,{as:"span",className:"text-alertRed paragraph-14 mb-0",children:e.message})},t+e.key)})]}),(0,a.jsxs)(n.FlexColumn,{className:"lg:hidden",children:[(0,a.jsx)(l.Button,{additionalClass:"mb-2",onClick:()=>(0,d.sendAppDownloadDataLayerPush)("ios"),href:v.ctaUrl.appleStoreCTALink.href,children:v.translations?.appStore}),(0,a.jsx)(l.Button,{onClick:()=>(0,d.sendAppDownloadDataLayerPush)("android"),href:v.ctaUrl.googlePlayStoreCTALink.href,children:v.translations?.googlePlay})]})]}),noIcon:!0,children:(f?.value||_)&&(0,a.jsx)(s.MediaContent.RteContent,{editHint:"preamble",editMode:_,text:f?.value??"",publicPageApiEndpoint:u,currentHost:e})})})})}],40038)}]);

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.