PageSourceSearch

https://www.1177.se/build/1177/static/js/254.f4707a83.chunk.js

js 1177.se collected 2026-10-01 10:18:45 UTC 14,719 bytes, 2 lines download raw bytes

1"use strict";(("undefined"!==typeof window?window:global).webpackChunkpwt_se1177=("undefined"!==typeof window?window:global).webpackChunkpwt_se1177||[]).push([[254],{15243(e,n,t){t.d(n,{A:()=>s});const s=t(8417).A},2205(e,n,t){t.d(n,{A:()=>l});var s=t(89379),r=(t(54292),t(35770)),a=t(61665),i=t(13167),o=t(56872),c=t(84904);const l=(0,i.A)((0,o.A)(e=>(0,c.jsx)(a.A,(0,s.A)((0,s.A)({},e),{},{ContentString:r.DN(e.ContentString,"Content"),Heading:r.mA(e.Heading,"Heading"),Preamble:r.mA(e.Preamble,"Preamble")}))))},6983(e,n,t){t.d(n,{A:()=>c});var s=t(89379),r=(t(54292),t(71884)),a=t(13167),i=t(56872),o=t(84904);const c=(0,a.A)((0,i.A)(e=>(0,o.jsx)(r.A,(0,s.A)({},e))))},95992(e,n,t){t.d(n,{A:()=>s});const s=t(5951).A},58451(e,n,t){t.d(n,{A:()=>o});var s=t(89379),r=(t(54292),t(35770)),a=t(22758),i=t(84904);const o=e=>(0,i.jsx)(a.A,(0,s.A)((0,s.A)({},e),{},{Heading:r.mA(e.Heading,"Heading"),Preamble:r.mA(e.Preamble,"Preamble"),ShowNumber:e.ShowNumber,List:e.List}));t.dn(o)},45997(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(87111)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)({},e));t.dn(i)},29164(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(76204)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)({},e));t.dn(i)},13240(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(91154)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)({},e))},31216(e,n,t){t.d(n,{A:()=>o});var s=t(89379),r=(t(54292),t(35770)),a=t(40724),i=t(84904);const o=e=>(0,i.jsx)(a.A,(0,s.A)((0,s.A)({},e),{},{Heading:r.mA(e.Heading,"Heading"),ContentString:r.DN(e.ContentString,"Content"),RegionalContent:e.RegionalContent}));t.dn(o)},69149(e,n,t){t.d(n,{A:()=>d});var s=t(89379),r=(t(54292),t(49442)),a=t(35770),i=t(70303),o=t(31448),c=t(84904);const l=(0,o.A)((0,i.A)(r.A)),d=e=>(0,c.jsx)(l,(0,s.A)((0,s.A)({},e),{},{ImageText:a.mA(e.ImageText,"ImageText")}));t.dn(d)},11235(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(30785)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)({},e))},59013(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(38241)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)({},e));t.dn(i)},43446(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(87873)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)((0,s.A)({},e),{},{hasNoAutocomplete:!0,hasQuickSearch:!0}));t.dn(i)},76572(e,n,t){t.d(n,{A:()=>o});var s=t(89379),r=(t(54292),t(35791)),a=t(35770),i=t(84904);const o=e=>(0,i.jsx)(r.xH,(0,s.A)((0,s.A)({},e),{},{Heading:a.mA(e.Heading,"Heading"),Media:e.MainContent,Dir:"ltr",NumOfImages:e.MainContent?e.MainContent.length:0,IllustratorTop:!0,ShowPagination:!1}))},37920(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=(t(54292),t(97873)),a=t(84904);const i=e=>(0,a.jsx)(r.A,(0,s.A)({},e))},29011(e,n,t){t.d(n,{A:()=>o});var s=t(89379),r=(t(54292),t(8123)),a=t(35770),i=t(84904);const o=e=>{const n=e.CurrentPageProps.DisableVideoBlockText,t=void 0!==n&&n;return(0,i.jsx)(r.A,(0,s.A)((0,s.A)({},e),{},{VideoText:a.mA(e.VideoText,"VideoText"),hideCaption:t,hideTitle:t}))};t.dn(o)},91154(e,n,t){t.d(n,{A:()=>i});var s=t(54292),r=t(79484),a=t(84904);const i=e=>(0,a.jsx)(s.Fragment,{children:(0,a.jsx)(r.A,{Heading:e.Translations.title,Links:e.Items,className:"find-care-links",children:(0,a.jsx)("a",{className:"find-care-links__search",href:e.FindCarePageUrl,children:(0,a.jsx)("span",{children:e.Translations.linktext})})})})},30785(e,n,t){t.d(n,{A:()=>a});t(54292);var s=t(33962),r=t(84904);const a=e=>(0,r.jsx)("div",{className:"reading-aid-block",children:(0,r.jsxs)("div",{className:"reading-aid-block__content",children:[e.ReadingAidText&&(0,r.jsx)("div",{className:"reading-aid-block__text",children:(0,r.jsx)("p",{children:e.ReadingAidText})}),e.CurrentPageProps&&e.CurrentPageProps.ReadingAid&&(0,r.jsx)("div",{className:"reading-aid-block__button-wrapper",children:(0,r.jsx)(s.A,{ReadingAid:e.CurrentPageProps.ReadingAid})})]})})},38241(e,n,t){t.d(n,{A:()=>d});var s=t(89379),r=t(3453),a=(t(54292),t(35791)),i=t(35770),o=t(96383),c=t(40724),l=t(84904);const d=e=>{var n,t,d,u,h,g,m,A;const p=Array.isArray(e.Content)?[...e.Content]:[];for(let s=p.length-1;s>=0;s--){var x;const n=p[s];(null===(x=Object.entries(e.KeysWithContent))||void 0===x?void 0:x.some(e=>{let t=(0,r.A)(e,2),s=t[0],a=t[1];return parseInt(s)===n.BlockId&&!a}))&&p.splice(s,1)}const f=1===p.length&&"HighlightBlock"===p[0].BlockTypeName,v=null!==(n=e.headingLevel)&&void 0!==n?n:2,_=e.ShowAsItsOwnParagraph&&v>2?v-1:v,j=e.Heading?_+1:_;return(0,l.jsx)(l.Fragment,{children:f?(0,l.jsx)(c.A,(0,s.A)((0,s.A)({},e),{},{Heading:i.mA(null===(t=p[0])||void 0===t?void 0:t.Heading,"Heading"),ContentString:i.DN(null===(d=p[0])||void 0===d?void 0:d.ContentString,"Content"),Buttons:null===(u=p[0])||void 0===u?void 0:u.Buttons,SelectedIcon:null===(h=p[0])||void 0===h?void 0:h.SelectedIcon,isInRegionalContainer:!0})):p.length>0&&(0,l.jsxs)("section",{className:"regional-container","aria-labelledby":"ids-badge-".concat(e.UniqueBlockId),children:[(0,l.jsx)(a.Ex,{id:"ids-badge-".concat(e.UniqueBlockId),type:"secondary",text:"".concat(null===(g=e.CurrentPageProps)||void 0===g||null===(m=g.Content)||void 0===m||null===(A=m.Translations)||void 0===A?void 0:A.regionlabel," ").concat(null===e||void 0===e?void 0:e.CurrentRegionName),srText:"Nedan inneh\xe5ll g\xe4ller region ".concat(e.CurrentRegionName)}),(0,l.jsxs)("div",{className:"regional-container__content",id:e.AnchorSectionId,children:[e.Heading&&(0,l.jsx)(o.A,{customHeadingLevel:_,className:"regional-container__heading",children:e.Heading}),(0,l.jsx)(i.eB,{blocks:p,propertyName:"Content",currentPageProps:e.CurrentPageProps,regionalName:e.CurrentRegionName,children:(0,l.jsx)(i.d,{Blocks:e.Blocks,headingLevel:j,renderRegionAsExpandable:!(null!==e&&void 0!==e&&e.Heading)&&(null===e||void 0===e?void 0:e.ShowAsItsOwnParagraph)})})]}),(0,l.jsx)("span",{className:"show-for-sr",children:"Slut p\xe5 det regionala till\xe4gget fr\xe5n region ".concat(e.CurrentRegionName)})]})})}},97873(e,n,t){t.d(n,{A:()=>r});t(54292);var s=t(84904);const r=e=>{const n=e.LinkText,t=e.LinkUrl;return n&&t?(0,s.jsxs)("a",{className:"subscription-link",href:t,children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)("i",{className:"subscription-link__chevron"})]}):null}},71884(e,n,t){t.d(n,{A:()=>c});var s=t(89379),r=(t(54292),t(35770)),a=t(94643),i=t(25933),o=t(84904);const c=e=>e.AnchorSectionId&&e.Heading&&!e.showBlocksInMobileAlways?(0,o.jsx)(i.A,{Heading:r.mA(e.Heading,"Heading"),id:e.UniqueBlockId,AnchorSectionId:e.AnchorSectionId,isChapterContainer:!0,children:(0,o.jsx)(a.A,(0,s.A)((0,s.A)({},e),{},{Heading:r.mA(e.Heading,"Heading"),isNav:!0}))}):(0,o.jsx)(a.A,(0,s.A)((0,s.A)({},e),{},{Heading:r.mA(e.Heading,"Heading")}))},94643(e,n,t){t.d(n,{A:()=>o});t(54292);var s=t(35770),r=t(93212),a=t.n(r),i=t(84904);const o=e=>{const n=a()({"c-chapter-container":!0,"c-chapter-container--is-nav":e.isNav&&e.AnchorSectionId}),t=e.Heading||"";return(0,i.jsxs)("div",{className:n,id:e.isNav?void 0:e.AnchorSectionId,"data-print-sidebar-title":t,"data-chapter-container":"data-chapter-container",children:[e.Heading&&(0,i.jsx)("h2",{children:e.Heading}),(0,i.jsx)(s.eB,{blocks:e.Content,propertyName:"Content",currentPageProps:e.CurrentPageProps,children:(0,i.jsx)(s.d,{isH3:e.Heading,isMemberOfChapterContainer:!0,Blocks:e.Blocks})})]})}},56872(e,n,t){t.d(n,{A:()=>i});var s=t(89379),r=t(54292),a=t(84904);const i=e=>n=>{const t=void 0!==n.CurrentPageProps.CurrentPageProps?n.CurrentPageProps.CurrentPageProps:n.CurrentPageProps,i=t.currentActiveId,o=t.currentActiveMenuItem;return(0,r.useEffect)(()=>{"ReferencePage"!==n.CurrentPageProps.PageTypeName&&n.isInRange&&n.AnchorSectionId&&i!==n.AnchorSectionId&&"function"===typeof o&&o(n.AnchorSectionId)},[n.isInRange]),(0,a.jsx)(e,(0,s.A)({},n))};t.dn(i)},85476(e,n,t){t.d(n,{A:()=>r});t(54292);var s=t(84904);const r=e=>{const n=e.Heading;return e.Heading&&"StartPage"===e.CurrentPageProps.PageTypeName?e.Link?(0,s.jsx)("a",{href:e.Link,children:(0,s.jsxs)("h3",{className:"content-history__heading",children:[(0,s.jsx)("i",{className:"content-history__heading__icon"}),n]})}):(0,s.jsx)("h3",{className:"content-history__heading",children:n}):null}},5951(e,n,t){t.d(n,{A:()=>f});var s=t(89379),r=t(3453),a=t(54292),i=t(66309),o=t.n(i),c=t(91665),l=t
1(78432),d=t(32246),u=t(93212),h=t.n(u),g=t(42307),m=t(95164),A=t(85476),p=t(84904);const x=e=>{const n=(0,a.useState)(),t=(0,r.A)(n,2),i=t[0],d=t[1],u=()=>{const e=document.querySelector(".content-history__facets"),n=document.querySelector(".content-history__facets__panel"),t=document.querySelector(".content-history__facets__panel-inner").getBoundingClientRect().height;i?(n.style.setProperty("height","0px"),e.classList.remove("facets-shown")):(n.style.setProperty("height","".concat(t,"px")),setTimeout(()=>e.classList.add("facets-shown"),100))},x=e=>"StartPage"===e.PageTypeName,f=h()((0,s.A)({"content-history":!0,".is-loading":e.SearchResult.isLoading},e.Modifiers)),v=o().parse(e.location.search,{ignoreQueryPrefix:!0}),_=e.SinceDate,j=e.Translations,N=e.SearchResult,C=e.ShowInfo,b=e.ShowLoadMore,S=N&&N.SearchHits&&N.SearchHits.map((n,t)=>(0,p.jsx)(g.A,(0,s.A)((0,s.A)({lastListItemId:e.lastListItemId,largeList:!x(e.CurrentPageProps)},n),{},{translations:j,isLast:t+1===N.SearchHits.length}),t));return(0,p.jsxs)("div",{className:f,children:[(0,p.jsx)(A.A,(0,s.A)({},e)),C&&!x(e.CurrentPageProps)&&(0,p.jsxs)(a.Fragment,{children:[(0,p.jsxs)("div",{className:"content-history__info-panel",children:[(0,p.jsxs)("p",{children:[(0,p.jsxs)("strong",{children:[N.TotalHits," ",j.updates]})," ",j.since," ",_]}),e.Facets.Items.length>0&&(0,p.jsx)("button",{className:"content-history__filter-btn","aria-expanded":i,"aria-controls":e.UniqueBlockId,type:"button",onClick:e=>{e.target.classList.toggle("facets-open"),d(!i),e.target.setAttribute("aria-expanded",i),u()},children:j.filterlist})]}),(0,p.jsx)("div",{className:"content-history__facets",id:e.UniqueBlockId,"aria-hidden":!i,children:(0,p.jsx)("div",{className:"content-history__facets__panel",children:(0,p.jsx)("form",{className:"content-history__facets__panel-inner",children:(0,p.jsxs)("fieldset",{children:[(0,p.jsx)("legend",{className:"show-for-sr",children:j.filterlist}),(0,p.jsx)(l.A,(0,s.A)((0,s.A)({},e),{},{queryString:v,pathname:e.location.pathname}))]})})})})]}),S&&(0,p.jsx)("ul",{className:"content-history__list",children:S}),b&&!x(e.CurrentPageProps)&&(0,p.jsx)("div",{className:"content-history__list__footer",children:(0,p.jsx)(m.A,(0,s.A)((0,s.A)({Modifiers:{"content-history__pagination":!0},onClick:()=>document.getElementById(e.lastListItemId).focus()},e.SearchResult),{},{Spinner:(0,p.jsx)(c.A,{Modifiers:{"c-spinner--content-history":!0}}),children:e.SearchResult.BatchText}))})]})};x.defaultProps={lastListItemId:"search-list-last"};const f=(0,d.A)(x,"ContentHistoryList")},42307(e,n,t){t.d(n,{A:()=>i});var s=t(54292),r=t(43277),a=t(84904);const i=e=>{const n=e.isLast?(0,a.jsx)("span",{id:e.lastListItemId,tabIndex:"-1"}):null;return(0,a.jsx)(s.Fragment,{children:e.largeList?(0,a.jsxs)("li",{className:"content-history__item",children:[(0,a.jsx)("a",{href:e.Url,children:e.Heading}),(0,a.jsx)(r.A,{isNew:e.IsNew,subjectHeading:e.SubjectHeading,translations:e.translations,eventDate:e.EventDate}),n]},e.index):(0,a.jsxs)("li",{className:"content-history__simplified-item",children:[(0,a.jsx)("a",{href:e.Url,children:e.Heading}),(0,a.jsxs)("span",{children:[" ","(",e.SubjectHeading?"".concat(e.SubjectHeading,", "):null,e.EventDate,")"]}),n]})})}},87111(e,n,t){t.d(n,{A:()=>o});var s=t(54292),r=t(93212),a=t.n(r),i=t(84904);const o=e=>{const n=(0,s.createRef)(null);function t(e,n){const t=e.currentTarget;t.parentNode.className=a()({["".concat(n)]:!0,["".concat(n,"--is-multiple")]:t.hasAttribute("multiple"),["".concat(n,"--has-focus")]:!0})}function r(e,n){const t=e.currentTarget;t.parentNode.className=a()({["".concat(n)]:!0,["".concat(n,"--is-multiple")]:t.hasAttribute("multiple"),["".concat(n,"--has-focus")]:!1})}function o(e,n){if(e===n.length)return;const t=n[e];t.remove(),t.type="text/javascript",t.removeAttribute("data-pwtforms-script"),t.onload=()=>o(e+1,n),document.body.appendChild(t)}function c(e){o(0,e)}return(0,s.useEffect)(()=>{!function(){if("undefined"===typeof window)return;const e=document.querySelectorAll("script[data-pwtforms-script]");e&&c(e)}(),function(){if(null===n.current)return null;const e=n.current.querySelectorAll("select");if(0!==e.length)for(var s=0;e.length-s;s++){const n=e[s].parentNode,i=e[s].previousSibling,o=document.createElement("div");o.className=a()({"c-forms__select":!0,"c-forms__select--is-multiple":e[s].hasAttribute("multiple")}
1),o.appendChild(e[s]),n.insertBefore(o,i.nextSibling),e[s].onfocus=e=>t(e,"c-forms__select"),e[s].onblur=e=>r(e,"c-forms__select")}}(),function(){if(null===n.current)return null;const e=n.current.querySelectorAll(".FormChoice__Input--Radio, .FormChoice__Input--Checkbox");if(0!==e.length)for(var s=0;e.length-s;s++){const n=document.createElement("span");e[s].parentNode.insertBefore(n,e[s].nextSibling),e[s].onfocus=e=>t(e,"c-forms__checkbox"),e[s].onblur=e=>r(e,"c-forms__checkbox")}}(),function(){if(null===n.current)return null;const e=n.current.querySelectorAll("textarea");if(0!==e.length)for(var s=0;e.length-s;s++){const n=e[s].parentNode,i=e[s].previousSibling,o=document.createElement("div");o.className=a()({"c-forms__textarea":!0}),o.onclick=function(e){return()=>e.focus()}(e[s]),o.appendChild(e[s]),n.insertBefore(o,i.nextSibling),e[s].onfocus=e=>t(e,"c-forms__textarea"),e[s].onblur=e=>r(e,"c-forms__textarea")}}(),function(){if(null===n.current)return null;const t=n.current.querySelector("form");e.MailingListName&&t.classList.add("subscription")}(),function(){if(!n.current||!e.onSubmit)return;const t=n.current.querySelector("form");t&&t.addEventListener("submit",e.onSubmit)}()},[]),(0,i.jsx)("div",{ref:n,className:"c-forms",dangerouslySetInnerHTML:{__html:decodeURIComponent(e.View)}})}},76204(e,n,t){t.d(n,{A:()=>r});t(54292);var s=t(84904);const r=e=>{var n,t,r;const a=(null===(n=e.CurrentPageProps)||void 0===n||null===(t=n.Content)||void 0===t||null===(r=t.Translations)||void 0===r?void 0:r.qablock)||"";return(0,s.jsxs)("div",{className:"c-faq","data-print-sidebar-title":a,children:[(0,s.jsx)("h2",{className:"c-faq__meta",children:e.Translations.question}),(0,s.jsx)("div",{className:"c-chapter",dangerouslySetInnerHTML:{__html:e.Question}}),(0,s.jsx)("h2",{className:"c-faq__meta",children:e.Translations.answer}),(0,s.jsx)("div",{className:"c-chapter",dangerouslySetInnerHTML:{__html:e.Answer}}),e.RespondedBy&&(0,s.jsx)("div",{className:"c-chapter",children:(0,s.jsx)("p",{className:"c-faq__responder",children:e.RespondedBy})})]})}}}]);
2//# sourceMappingURL=254.f4707a83.chunk.js.map

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.