PageSourceSearch

https://www.psykiatripartners.se/_next/static/chunks/2342.2f672e69d087fc57.js

js psykiatripartners.se collected 2026-10-07 03:24:11 UTC 6,396 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2342,3001],{3001:(t,e,r)=>{r.d(e,{A:()=>d});var n=r(2860);r(55729);var a=r(83004),i=r(88743),o=r(87602),c=r(61505),l=r(83995);let d=t=>{let{header:e,text:r,leftAlign:d,variant:m="h2",linkTarget:s=null,...g}=t,u=(0,a.AH)({textAlign:"center",marginBottom:"4rem",...d&&{marginLeft:0}});return e||r?(0,n.FD)(l.A,{containerSize:l.f.md,css:u,...g,children:[e&&(0,n.Y)(i.Y,{variant:m,align:d?"left":"center",css:(0,a.AH)({marginBottom:r?"1rem":0}),children:e}),r&&(0,n.Y)(o.A,{fullMarkdown:!0,css:(0,a.AH)({p:{textAlign:"left",marginBottom:0,[c.B.MEDIUM]:{textAlign:d?"left":"center"}}}),linkTarget:s,children:r})]}):null}},48724:(t,e,r)=>{r.d(e,{Lq:()=>o,Pw:()=>a,_N:()=>l,aH:()=>d,tS:()=>i});let n=(t,e)=>t.height?"&h=".concat(t.height*e):"",a=t=>"jpg"===t?"image/jpeg":"image/".concat(t),i=(t,e)=>{let{media:r,backgroundColor:a,type:i,url:o,quality:c}=t;return"".concat(o,"?fm=").concat(i).concat(((t,e)=>t.width?"&w=".concat(t.width*e):"")(r,e)).concat(n(r,e)).concat((t=>t.fit?"&fit=".concat(t.fit):"")(r)).concat((t=>t.focus?"&f=".concat(t.focus):"")(r)).concat((t=>t?"&bg=rgb:".concat((t=>t.startsWith("#")?t.slice(1):t)(t)):"")(a)).concat("jpg"===i?"&fl=progressive":"","&q=").concat(c||80).concat((t=>t>1?" ".concat(t,"x"):"")(e))},o=t=>t?"eager":"lazy",c=t=>!!t.width,l=t=>{let{media:e,url:r,quality:a=80,format:i="avif"}=t;return e.filter(c).flatMap(t=>{let e=t.width,o=2*e;return["".concat(r,"?fm=").concat(i,"&w=").concat(o).concat(n(t,2),"&q=").concat(a," ").concat(o,"w"),"".concat(r,"?fm=").concat(i,"&w=").concat(e).concat(n(t,1),"&q=").concat(a," ").concat(e,"w")]}).join(", ")},d=t=>t.flatMap((e,r)=>e.mq&&e.width?["(".concat(e.mq,") ").concat(e.width,"px")]:e.width&&r===t.length-1?["".concat(e.width,"px")]:[]).join(", ")},75427:(t,e,r)=>{r.d(e,{A:()=>g});var n=r(2860),a=r(83004),i=r(55729),o=r(85967),c=r(23587),l=r(48724);let d=(0,a.i7)({"0%, 100%":{backgroundColor:c.A.NEUTRAL100},"50%":{backgroundColor:c.A.NEUTRAL200}}),m=(0,a.AH)({position:"relative",display:"block",width:"fit-content",maxWidth:"100%"}),s=(0,a.AH)({position:"absolute",inset:0,animation:"".concat(d," 1.5s ease-in-out infinite"),pointerEvents:"none"}),g=t=>{var e;let{image:r,loadOnStart:a=!1,media:c,width:d,height:g,backgroundColor:u,quality:h,alt:p,skeleton:f=!1,...A}=t,{color:w}=(0,o.DP)(),[v,b]=(0,i.useState)(!1);if(!(null==r||null==(e=r.file)?void 0:e.url))return null;let E=()=>b(!0),M=f?{ref:t=>{(null==t?void 0:t.complete)&&b(!0)},onLoad:E,onError:E}:{},L=t=>f?(0,n.FD)("span",{css:m,children:[t,!v&&(0,n.Y)("span",{css:s,"aria-hidden":!0})]}):t,{file:T}=r;if(c&&!T.url.endsWith(".svg")){let t=["avif","webp","jpg"];return L((0,n.FD)("picture",{children:[c.map(e=>(e.types||t).map(t=>{let r={media:e,backgroundColor:u||w.BACKGROUND,type:t,url:T.url,quality:h||70};return(0,n.Y)("source",{media:e.mq?"(".concat(e.mq,")"):void 0,srcSet:"".concat((0,l.tS)(r,2),", ").concat((0,l.tS)(r,1)),type:(0,l.Pw)(t)},"".concat(e.mq||"default","-").concat(t))})),(0,n.Y)("img",{width:d,height:g,src:T.url,alt:r.description||"",loading:(0,l.Lq)(a),...M,...A})]}))}return L((0,n.Y)("img",{width:d,height:g,src:T.url,alt:p||r.description||"",loading:(0,l.Lq)(a),...M,...A}))}},87602:(t,e,r)=>{r.d(e,{A:()=>A});var n=r(2860);r(55729);var a=r(27222),i=r.n(a),o=r(21421),c=r.n(o),l=r(83004),d=r(23587),m=r(16840),s=r(61505),g=r(49823),u=r(88743),h=r(85967);let p=t=>{let{color:e}=(0,h.DP)(),{children:r}=t;return(0,n.Y)("li",{css:{color:e.TEXT},children:r})},f={paragraph:t=>(0,n.Y)(u.E,{children:t.children}),heading:t=>(0,n.Y)(u.Y,{variant:"h".concat(t.level),children:t.children}),link:t=>(0,n.Y)(g.A,{...t}),listItem:t=>(0,n.Y)(p,{...t}),image:t=>(0,n.Y)("img",{src:t.src,alt:t.alt||"",css:{display:"block",maxWidth:"100%",height:"auto",borderRadius:8}}),table:t=>(0,n.Y)("div",{css:{overflowX:"scroll"},children:(0,n.Y)("table",{children:t.children})})},A=t=>{let{fullMarkdown:e,allowDangerousHtml:r=!1,colorTheme:a,children:o,...g}=t,u=((t,e)=>{let{color:r}=t,n=(0,l.AH)({color:r.TEXT}),a=(0,l.AH)({lineHeight:1.4,maxWidth:720,width:"100%",textAlign:"left",color:r.TEXT,p:{marginBottom:"2rem"},img:{maxWidth:"100%",height:"auto",color:"transparent"},"h1, h2, h3, h4, h5, h6":{fontFamily:m.mw.MEDIUM,marginBottom:"1.5rem"},h1:{fontSize:m.J.H1_EXTRA},strong:{fontWeight:m.Wy.BOLD,fontFamily:m.mw.BOLD,marginBottom:"1.5rem"},blockquote:{marginLeft:40,marginRight:40,":before":{content:'""',backgroundImage:"url(/images/ic-quote-sign.svg)",display:"block",width:"5rem",height:"3.5rem",marginBottom:"1.5rem",backgroundPosition:"center",backgroundSize:"contain",backgroundRepeat:"no-repeat"},p:{fontFamily:m.mw.ITALIC,lineHeight:1.9,textAlign:"left",marginBottom:"2rem"}},table:{fontSize:m.J.SMALL,width:"100%","th, td":{padding:"1rem 2rem 1rem 0",wordWrap:"normal",verticalAlign:"middle"}
1,tr:{borderBottom:"2px solid ".concat(d.A.NEUTRAL200)},img:{width:"5rem",height:"auto",color:"transparent",[s.B.MEDIUM]:{width:"10rem"}},[s.B.MEDIUM]:{fontSize:"initial"}},"ul, ol":{padding:"0 2rem"},li:{margin:"2rem 0",fontSize:"1.6rem"}}),i=t=>{switch(t){case"blue":return d.A.BLUE100;case"gray":return d.A.NEUTRAL100;case"green":return d.A.PRIMARY100}return null};return{THEME:a,BASE:n,COLOR_THEME:(0,l.AH)({ul:{padding:"0.2rem 2rem",borderRadius:6,backgroundColor:i(e),[s.B.SMALL]:{padding:"2rem"}},li:{margin:"2rem 2rem",[s.B.SMALL]:{margin:"2rem 4rem"}},table:{tr:{borderColor:i(e)}}})}})((0,h.DP)(),a),p=e?u.THEME:u.BASE,A=a?[p,u.COLOR_THEME]:p;return o?(0,n.Y)(i(),{css:A,renderers:f,disallowedTypes:e?[]:["paragraph"],unwrapDisallowed:!0,allowDangerousHtml:r,plugins:e?[c()]:[],...g,children:"string"==typeof o&&o.replace(/ {2}\\n/g,"  \n")}):null}},90248:(t,e,r)=>{r.d(e,{A:()=>d});var n=r(82090),a=r(55729),i=r(947),o=r(2005);function c(t){var e=(0,i.A)(),r=e.formatMessage,n=e.textComponent,o=void 0===n?a.Fragment:n,c=t.id,l=t.description,d=t.defaultMessage,m=t.values,s=t.children,g=t.tagName,u=void 0===g?o:g,h=r({id:c,description:l,defaultMessage:d},m,{ignoreTag:t.ignoreTag});return"function"==typeof s?s(Array.isArray(h)?h:[h]):u?a.createElement(u,null,a.Children.toArray(h)):a.createElement(a.Fragment,null,h)}c.displayName="FormattedMessage";var l=a.memo(c,function(t,e){var r=t.values,a=(0,n.Tt)(t,["values"]),i=e.values,c=(0,n.Tt)(e,["values"]);return(0,o.bN)(i,r)&&(0,o.bN)(a,c)});l.displayName="MemoizedFormattedMessage";let d=l}}]);

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.