1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7010],{10389:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>eV});var l=i(37876),n=i(93960),a=i(88696),r=i(64006),o=i(38989),s=i(18936),p=i(83331),d=i(47987),m=i(92869),c=i(88488),u=i(76547);let g={name:"siteConfig",type:"document",title:"Site configuration",i18n:!0,fieldsets:[{name:"footer",title:"Footer"}],fields:[{name:"title",type:"string",title:"Site title"},{title:"Hovednavigasjon",name:"mainNavigation",validation:e=>[e.max(5).warning("Are you sure you want more than 5 items?"),e.unique().error("You have duplicate menu items")],type:"array",of:[{type:"reference",to:[{type:"page"},{type:"home"}]}]},{title:"F\xf8rste kolonne",name:"firstNav",type:"array",validation:e=>[e.max(10).warning("Are you sure you want more than 10 items?"),e.unique().error("You have duplicate menu items")],fieldset:"footer",of:[{type:"reference",to:[{type:"page"},{type:"brandGuideline"}]}]},{title:"Andre kolonne",name:"secondNav",type:"array",validation:e=>[e.max(10).warning("Are you sure you want more than 10 items?"),e.unique().error("You have duplicate menu items")],fieldset:"footer",of:[{type:"reference",to:[{type:"page"},{type:"home"},{type:"brandGuideline"}]}]},{title:"Standard call to action",name:"cta",type:"reference",to:[{type:"cta"}]},{title:"Kontaktside",name:"contactRef",type:"reference",to:[{type:"page"}]},{name:"language",type:"string",title:"Spr\xe5k",readOnly:!0,hidden:!0}]};var y=i(79833);function f(e){return{select:{lang:"language"},prepare:function(t){let{lang:i}=t;return{title:"".concat(e," â ").concat((0,y.lG)(i))}}}}let b={name:"home",type:"document",title:"Home",fieldsets:[{title:"Hero",name:"hero"}],fields:[{name:"title",type:"string",title:"Page title"},{name:"heading",type:"string",title:"Heading",description:"Overstyrer sidetittelen. Kan st\xe5 tom"},{name:"slug",type:"slug",title:"Slug",hidden:!0},{name:"illustration",type:"illustrationRef",title:"Illustrasjon",fieldset:"hero"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor",fieldset:"hero"},{title:"Lenker",fieldset:"hero",name:"headerLinks",type:"array",of:[{title:"Knapp",name:"button",fieldset:"hero",type:"button"}]},{name:"pageBuilder",type:"pageBuilder",title:"Page builder"},{name:"seo",type:"seo",title:"Sharing settings / SEO",description:"This description populates meta-tags on the webpage"},{name:"showDefaultCta",title:"Vis standard call to action",type:"boolean",initialValue:!0},{name:"language",type:"string",title:"Spr\xe5k",readOnly:!0,hidden:!0}],preview:f("Forside")},h={name:"page",type:"document",title:"Page",groups:[{title:"Detaljer",name:"details",default:!0},{title:"Layout og bilder",name:"layout"},{title:"Innhold",name:"content"}],fieldsets:[{title:"Sidetopp",name:"hero"},{title:"SEO & metadata",name:"metadata"},{title:"Innstillinger for arkiv",name:"archive",options:{collapsible:!0,collapsed:!0}}],fields:[{name:"title",type:"string",title:"Sidetittel",group:"details"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor",group:"layout"},{name:"slug",title:"Slug",type:"slug",group:"details",options:{source:"title",maxLength:96},validation:e=>[e.required().error("The page needs a slug"),e.custom(e=>void 0===e.current||!(e.current.indexOf(" ")>=0)||"The slug should not contain spaces").error()]},{name:"heading",type:"string",title:"Overskrift",description:"Overstyrer sidetittelen. Kan st\xe5 tom",group:"content",fieldset:"hero"},{title:"Layout",name:"layout",type:"string",group:"layout",options:{list:[{title:"Sentrert",value:"centered"},{title:"Sidestilt",value:"left"}]},initialValue:"centered"},{name:"illustration",type:"illustrationRef",title:"Illustrasjon",group:"layout"},{name:"mainImage",type:"bodyImage",title:"Foto",description:"Kan st\xe5 tom",group:"layout"},{title:"Lenker",name:"headerLinks",group:"content",fieldset:"hero",type:"array",of:[{title:"Knapp",name:"button",fieldset:"hero",type:"button"}]},{name:"pageBuilder",type:"pageBuilder",title:"Sidebygger",group:"content"},{name:"seo",type:"seo",title:"Metadata & SEO",group:"details",description:"This description populates meta-tags on the webpage"},{title:"Arkivside",name:"isArchive",type:"boolean",fieldset:"archive",group:"content"},{name:"archiveType",type:"string",fieldset:"archive",group:"content",initialValue:"dark",options:{list:[{title:"Aktuelt",value:"aktuelt"}]}},{name:"excerpt",type:"text",title:"Utdrag",group:"details",description:"Brukt i forh\xe5ndsvisninger",rows:3,options:{collapsible:!0},validation:e=>e.max(120).error("Max 120 characters")},{name:"showDefaultCta",title:"Vis standard call to action",type:"boolean",initialValue:!0,group:"content"},{name:"language",type:"string",title:"Spr\xe5k",group:"details",readOnly:!0,hidden:!0}],preview:{select:{title:"title",media:"mainImage"}}};var v=i(74343);let k={title:"Illustrasjoner",name:"illustration",icon:v.A,type:"document",fields:[{title:"Title",name:"title",type:"string"},{title:"Image",name:"image",type:"image"}],preview:{select:{title:"title",image:"image"},prepare(e){let{title:t,image:i}=e;return{title:"".concat(t),media:i}}}};var T=i(25420);let x={title:"Call to Actions",name:"cta",icon:T.HAY,type:"document",validation:e=>e.custom(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!e.route||!e.link||"Only one link type is allowed"}),fieldsets:[{title:"Link",name:"link"}],fields:[{title:"Tittel",name:"title",type:"string"},{title:"Beskrivelse",name:"description",type:"portableText"},{title:"Knapp",name:"mainButton",type:"button",options:{collapsible:!0,collapsed:!0}},{name:"illustration",type:"illustrationRef",title:"Illustrasjon"},{name:"language",type:"string",title:"Spr\xe5k",readOnly:!0,hidden:!0}],preview:{select:{title:"title",image:"image"},prepare(e){let{title:t,image:i}=e;return{title:t,media:i}}}};var S=i(44758);let L={name:"article",type:"document",title:"Articles",icon:S.A,fields:[{name:"title",type:"string",title:"Tittel"},{name:"slug",title:"Slug",type:"slug",options:{source:"title",maxLength:96},validation:e=>[e.required().error("Siden trenger en slug"),e.custom(e=>void 0===e.current||!(e.current.indexOf(" ")>=0)||"The slug should not contain spaces").error()]},{title:"Hovedbilde",name:"mainImage",type:"figure"},{name:"author",type:"string",title:"Forfatter"},{name:"excerpt",type:"text",title:"Utdrag",description:"Brukt i previews",rows:3,options:{collapsible:!0},validation:e=>e.max(120).error("Max 120 characters")},{title:"Publisert",name:"date",type:"date"},{name:"body",type:"portableText",title:"Innhold"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{name:"pageBuilder",title:"Sidebygger",type:"pageBuilder"}
1,{name:"categories",title:"Kategorier",type:"array",of:[{type:"reference",to:[{type:"category"}]}]},{name:"seo",type:"seo",title:"SoMe / SEO"},{name:"showDefaultCta",title:"Vis standard call to action",type:"boolean",initialValue:!0},{name:"language",type:"string",title:"Spr\xe5k",readOnly:!0,hidden:!0}],preview:{select:{title:"title",media:"mainImage"}}},w={name:"linkInBio",type:"document",title:"Link in bio side",fieldsets:[{title:"SEO & metadata",name:"metadata"}],fields:[{name:"links",title:"Rekkef\xf8lge p\xe5 lenkekort",description:"Legg til og dra kortene opp eller ned for \xe5 endre p\xe5 rekkef\xf8lgen.",type:"array",of:[{type:"reference",to:[{type:"linkCard"}]}]},{name:"title",type:"string",title:"Sidetittel"},{title:"Undertittel / Slagord",name:"subtitle",type:"simplePortableText",validation:e=>e.max(90).error("Maks 90 tegn.")},{name:"slug",title:"Slug",type:"slug",options:{source:"title",maxLength:96},validation:e=>[e.required().error("The page needs a slug"),e.custom(e=>void 0===e.current||!(e.current.indexOf(" ")>=0)||"The slug should not contain spaces").error()]},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{name:"illustration",type:"illustrationRef",title:"Illustrasjon"},{name:"seo",type:"seo",title:"Sharing settings / SEO",description:"This description populates meta-tags on the webpage"}],preview:f("Forside")};var I=i(83662);let C={title:"Lenkekort",name:"linkCard",type:"document",icon:I.A,validation:e=>e.custom(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!e.route||!e.link||"Only one link type is allowed"}),fields:[{title:"Tittel",name:"title",type:"string"},{name:"linkType",title:"Type lenke",type:"string",options:{list:[{title:"Intern",value:"internal"},{title:"Ekstern",value:"external"}],layout:"radio",direction:"horizontal"},initialValue:"internal"},{name:"internalLink",title:"Velg dokument",type:"internalLink",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="internal"}},{name:"externalLink",title:"URL",type:"url",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="external"}},{title:"Hovedbilde",name:"linkImage",type:"simpleFigure"},{title:"Beskrivelse",name:"description",type:"text",description:"Helst veldig kort (kan sl\xf8yfes).",rows:2,options:{collapsible:!0},validation:e=>e.max(90).error("Maks 90 tegn.")},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"}],preview:{select:{title:"title",media:"linkImage"}}},j={name:"category",title:"Kategorier",icon:i(65273).A,type:"document",i18n:!0,fields:[{name:"title",title:"Title",type:"string"},{name:"slug",title:"Slug",type:"slug",options:{source:"title",maxLength:96}},{name:"language",type:"string",title:"Spr\xe5k",readOnly:!0,hidden:!0}]};var A=i(14232),B=i(270);let V={name:"internalLinkObject",title:"Intern lenke",type:"object",icon:B.YEn,fields:[{name:"internalLink",title:"Velg dokument",type:"internalLink"}],options:{collapsible:!1},component:e=>{let t,i,a=(0,n.c)(3),{children:r}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,l.jsx)(B.YEn,{}),a[0]=t):t=a[0],a[1]!==r?(i=(0,l.jsxs)("span",{children:[r,t," "]}),a[1]=r,a[2]=i):i=a[2],i}},E={name:"externalLinkObject",title:"Ekstern lenke",type:"object",icon:B.$xg,fields:[{name:"externalLink",title:"URL",type:"externalLink"}],options:{collapsible:!1},component:e=>{let t,i,a=(0,n.c)(3),{children:r}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,l.jsx)(B.$xg,{}),a[0]=t):t=a[0],a[1]!==r?(i=(0,l.jsxs)("span",{children:[r,t," "]}),a[1]=r,a[2]=i):i=a[2],i}};var O=i(97906);let R={title:"Portable Text",name:"portableText",type:"array",of:[{type:"block",styles:[{title:"Normal",value:"normal"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"Quote",value:"blockquote"}],lists:[{title:"Bullet",value:"bullet"},{title:"Numbers",value:"number"}],marks:{decorators:[{title:"Strong",value:"strong"},{title:"Emphasis",value:"em"},{title:"Code",value:"code"},{title:"Highlight",value:"highlight",icon:()=>(0,l.jsx)("span",{style:{fontWeight:"bold",backgroundColor:"yellow"},children:(0,l.jsx)(O.A,{})}),component:e=>(0,l.jsx)("span",{style:{backgroundColor:"yellow"},children:e.children})}]}},{type:"bodyImage"},{type:"button"},{type:"videoSection"},{type:"contactAdressBlock"}]},F={title:"Simple Portable Text",name:"simplePortableText",type:"array",of:[{title:"Block",type:"block",styles:[],lists:[{title:"Bullet",value:"bullet"},{title:"Numbers",value:"number"}],marks:{decorators:[{title:"Strong",value:"strong"},{title:"Emphasis",value:"em"},{title:"Code",value:"code"},{title:"Highlight",value:"highlight",icon:()=>(0,l.jsx)("span",{style:{fontWeight:"bold",backgroundColor:"yellow"},children:(0,l.jsx)(O.A,{})}),component:e=>(0,l.jsx)("span",{style:{backgroundColor:"yellow"},children:e.children})}]}},{type:"contactAdressBlock"}]};var P=i(21777);let H={name:"contactAdressBlock",type:"object",title:"Kontaktadresse",icon:P.A,fields:[{name:"heading",type:"string",title:"Overskrift (valgfri)"}],preview:{select:{title:"heading"},prepare(e){let{title:t}=e;return{title:t||"Adresseopplysninger",subtitle:"Adresseopplysningene til organisasjonen"}}}},G={name:"icon",title:"Ikon",type:"reference",icon:v.A,to:[{type:"illustration"}]};var N=i(31300);let U={name:"button",title:"Knapp",type:"object",icon:N.oE,fields:[{name:"linkType",title:"Type lenke",type:"string",options:{list:[{title:"Intern",value:"internal"},{title:"Ekstern",value:"external"}],layout:"radio",direction:"horizontal"},initialValue:"internal"},{name:"internalLink",title:"Velg dokument",type:"internalLink",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="internal"}},{name:"externalLink",title:"URL",type:"url",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="external"}},{name:"hasCustomTitle",title:"Egendefinert tittel",type:"boolean",initialValue:!1},{name:"customTitle",title:"Egendefinert tittel",type:"string",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.hasCustomTitle)!==!0}}],preview:{select:{linkType:"linkType",internalLinkTitle:"internalLink.title",externalLink:"externalLink",hasCustomTitle:"hasCustomTitle",customTitle:"customTitle"},prepare(e){let{linkType:t,internalLinkTitle:i,externalLink:l,hasCu
1stomTitle:n,customTitle:a}=e,r=n&&a?a:i,o=B.YEn;return"external"===t&&(r=n&&a?a:l,o=B.$xg),{title:r,media:o}}}},D={title:"Heading",name:"specialHeading",type:"array",of:[{title:"Block",type:"block",styles:[],lists:[],marks:{annotations:[],decorators:[{title:"Highlight",value:"highlight",icon:()=>(0,l.jsx)("span",{style:{fontWeight:"bold",backgroundColor:"yellow"},children:(0,l.jsx)(O.A,{})}),component:e=>(0,l.jsx)("span",{style:{backgroundColor:"yellow"},children:e.children})}]}}]},K={name:"illustrationRef",title:"Illustrasjon",type:"object",fields:[{title:"Referanse",type:"reference",name:"ref",to:[{type:"illustration"}]},{title:"Plasser illustrasjon",description:"Hvis dette er en illustrasjon kan du velge hvor den skal plasseres her",name:"place",type:"string",options:{list:[{title:"Nedre h\xf8yre",value:"lower-right-corner"},{title:"\xd8vre h\xf8yre",value:"upper-right-corner"},{title:"\xd8vre venstre",value:"upper-left-corner"},{title:"I midten",value:"center"}]}}]};var _=i(70020);let q={name:"bodyImage",title:"Image",type:"image",icon:_.A,options:{hotspot:!0},fields:[{title:"Display Size (aspect ratio)",name:"customRatio",type:"string",options:{list:[{title:"Original",value:"0"},{title:"1 : 1 (square)",value:"1"},{title:"Vertical",value:"vertical"},{title:"Horizontal",value:"horizontal"}]}},{name:"alt",type:"string",title:"Alternative text",description:"Important for SEO and accessiblity.",options:{}},{title:"Caption",name:"caption",type:"string",options:{}}],preview:{select:{title:"caption",imageUrl:"asset.url",alt:"alt",caption:"caption"},prepare(e){let{imageUrl:t,title:i,alt:l,caption:n}=e;return{title:"Image",subtitle:l||n,imageUrl:t}}}},M={name:"figure",title:"Image",type:"image",options:{hotspot:!0},fields:[{title:"Caption",name:"caption",type:"string"},{title:"Plasser illustrasjon",description:"Hvis dette er en illustrasjon kan du velge hvor den skal plasseres her",name:"place",type:"string",options:{list:[{title:"Nedre h\xf8yre",value:"lower-right-corner"},{title:"\xd8vre h\xf8yre",value:"upper-right-corner"},{title:"Nedre venstre",value:"lower-left-corner"},{title:"\xd8vre venstre",value:"upper-left-corner"},{title:"I midten",value:"center"}]}},{name:"alt",type:"string",title:"Alternative text",description:"Important for SEO and accessiblity."}],preview:{select:{imageUrl:"asset.url",title:"caption"}}},z={type:"object",name:"textSection",title:"Riktekst",icon:i(68660).A,fields:[{name:"content",type:"portableText",title:"Innhold",options:{collapsible:!0,collapsed:!0}},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"}],preview:{prepare:()=>({title:"Riktekst"})}},Y={type:"object",name:"partnerSection",title:"Personer",icon:i(92132).A,fields:[{title:"Tittel",name:"title",type:"string"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{title:"Liste",name:"list",type:"array",of:[{title:"Partner",name:"partner",type:"object",fields:[{title:"Tittel",name:"title",type:"string",validation:e=>[e.required().min(3).error("A title of min. 3 characters is required")]},{title:"Undertittel",name:"subtitle",type:"string"},{title:"Liste med lenker",type:"array",name:"linkList",of:[{title:"Lenke",name:"link",type:"object",fields:[{type:"Lenketittel",type:"string",name:"linkTitle"},{title:"Lenke",description:'URLen m\xe5 starte med "https://", "http://", "mailto:" eller "tel:".',name:"externalLink",type:"externalLink"}]}]},{title:"Bilde",name:"image",type:"figure"}],preview:{select:{heading:"title",media:"image"},prepare(e){let{heading:t,media:i}=e;return{title:"".concat(null!=t?t:"Person"),media:i}}}}]}],preview:{select:{title:"title"},prepare(e){let{title:t}=e;return{title:"".concat(null!=t?t:"Partnere / personer")}}}};var W=i(23321),$=i.n(W),Q=i(14259);let X={type:"object",name:"videoSection",title:"Video",icon:i(16403).A,fields:[{name:"url",type:"url",title:"YouTube video URL"}],preview:{select:{url:"url"}},components:{preview:e=>{let t,i,a=(0,n.c)(5),{url:r}=e;a[0]!==r?(t=r?$()(r):null,a[0]=r,a[1]=t):t=a[1];let o=t;if(!o){let e;return a[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.jsx)("div",{style:{padding:"0.5rem"},children:"Mangler YouTube-lenke"}),a[2]=e):e=a[2],e}return a[3]!==o?(i=(0,l.jsx)(Q.A,{videoId:o}),a[3]=o,a[4]=i):i=a[4],i}}},Z={type:"object",name:"centeredTextSection",title:"Fremhevet budskap",icon:i(84268).A,fields:[{name:"label",type:"string",title:"Label"},{name:"heading",type:"specialHeading",title:"Heading"},{name:"content",type:"text",title:"Innhold",options:{collapsible:!0,collapsed:!0,rows:3}},{name:"mainButton",type:"button",title:"Main button",options:{collapsible:!0,collapsed:!0}},{name:"secondaryButton",type:"button",title:"Secondary button",options:{collapsible:!0,collapsed:!0}},{name:"bgColor",type:"bgColor",title:"Variant",initialValue:"bg-white"}],preview:{select:{label:"label"},prepare(e){let{label:t}=e;return{title:null!=t?t:"Fremhevet budskap"}}}},J={type:"object",name:"featureGridSection",title:"Kolonner med tekst",icon:T.XfQ,fields:[{title:"Tittel",name:"heading",type:"string"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{title:"Liste",name:"features",type:"array",of:[{title:"Punkt",name:"feature",type:"object",fields:[{title:"Bilde",type:"figure",name:"image"},{title:"Tittel",name:"heading",type:"string",validation:e=>[e.required().min(3).error("A title of min. 3 characters is required")]},{title:"Tekst",name:"description",type:"simplePortableText"},{name:"link",title:"Link",type:"button"}],preview:{select:{heading:"heading",media:"icon.image"},prepare(e){let{heading:t,media:i}=e;return{title:"".concat(null!=t?t:"Tekst i kolonner"),media:i}}}}]}],preview:{select:{heading:"heading"},prepare(e){let{heading:t}=e;return{title:"".concat(null!=t?t:"Tekst i kolonner")}}}},ee={type:"object",name:"imageSection",title:"Bilde + tekst",icon:_.A,fields:[{name:"heading",type:"string",title:"Heading",validation:e=>[e.required().min(1).error("A title of min. 1 characters is required")]},{name:"isImageFirst",type:"boolean",title:"Image first?",initialValue:!0},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{name:"text",type:"simplePortableText",title:"Text"},{name:"image",type:"figure",title:"Image",options:{hotspot:!0}},{name:"link",type:"button",title:"Call to action",options:{collapsible:!0,collapsed:!0}}],preview:{select:{heading:"heading",media:"image"},prepare(e){let{heading:t,media:i}=e;return{title:"Image: ".concat(t),subtitle:"Image section",media:i}}}},et={type:"object",name:"archiveSection",title:"Arkiv",icon:S.A,fields:[{title:"Tittel",name:"heading",type:"string"}
1,{title:"Hent siste automatisk",name:"getLatest",type:"boolean"},{title:"Artikler",name:"articles",type:"array",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.getLatest)===!0},of:[{title:"Referanse til nyheter",name:"articleRefs",type:"object",fields:[{title:"Referanse",name:"ref",type:"reference",to:[{type:"article"}]}],preview:{select:{title:"reference.title"}}}]}],preview:{select:{heading:"heading"},prepare(e){let{heading:t}=e;return{title:"".concat(null!=t?t:"Arkiv")}}}},ei={type:"object",name:"articleGridSection",title:"Artikler",icon:S.A,fields:[{title:"Tittel",name:"heading",type:"string"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{title:"Hent siste automatisk",name:"getLatest",type:"boolean"},{title:"Artikler",name:"articles",type:"array",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.getLatest)===!0},of:[{title:"Referanse",name:"ref",type:"reference",to:[{type:"article"}]}]}],preview:{select:{heading:"heading"},prepare(e){let{heading:t}=e;return{title:"".concat(null!=t?t:"Artikler")}}}};var el=i(56063);let en={type:"object",name:"bannerSection",title:"Banner med illustrasjon",icon:el.A,fields:[{title:"Tittel",name:"title",type:"string"},{title:"Bakgrunnsfarge",name:"bgColor",type:"bgColor"},{title:"Beskrivelse",name:"description",type:"portableText"},{title:"Knapp",name:"mainButton",type:"button",options:{collapsible:!0,collapsed:!0}},{title:"Bilde",name:"desktopImage",type:"figure"}],preview:{prepare:()=>({title:"Banner"})}},ea={title:"Brand config",name:"brandConfig",type:"document",fields:[{title:"Tittel",type:"string",name:"title"},{title:"Sekund\xe6rtittel",type:"string",name:"secondaryTitle",initialValue:"Designmanual"},{title:"Logo",type:"image",name:"brandLogo"},{title:"Navigasjon",type:"array",name:"brandNav",of:[{title:"Referanse",name:"guidelineRef",type:"reference",to:[{type:"brandGuideline"}]}]},{title:"Tekst i footer",type:"simpleText",name:"brandFooterText"},{title:"Skjul fra s\xf8kemotorer",type:"boolean",name:"hideSeo",de
1scription:"Huk av denne dersom du \xf8nsker at hindre siden fra \xe5 dukke opp i s\xf8kemotorer"}]},er={title:"Simple Text",name:"simpleText",type:"array",of:[{title:"Block",type:"block",styles:[{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"Quote",value:"blockquote"}],lists:[{title:"Bullet",value:"bullet"}],marks:{decorators:[{title:"Strong",value:"strong"},{title:"Emphasis",value:"em"},{title:"Code",value:"code"}],annotations:[{name:"internalLink",type:"object",title:"Internal link",icon:B.YEn,fields:[{name:"reference",type:"reference",title:"Reference",to:[{type:"brandGuideline"}]}],component:e=>{let t,i,a=(0,n.c)(3),{children:r}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,l.jsx)(B.YEn,{}),a[0]=t):t=a[0],a[1]!==r?(i=(0,l.jsxs)("span",{children:[r,t," "]}),a[1]=r,a[2]=i):i=a[2],i}},{name:"brandExternalLink",title:"Ekstern lenke",type:"object",icon:B.$xg,fields:[{name:"externalLink",description:'URLen m\xe5 starte med "https://", "http://", "mailto:" eller "tel:"',title:"URL",type:"externalLink"}],options:{collapsible:!1},component:e=>{let t,i,a=(0,n.c)(3),{children:r}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,l.jsx)(B.$xg,{}),a[0]=t):t=a[0],a[1]!==r?(i=(0,l.jsxs)("span",{children:[r,t," "]}),a[1]=r,a[2]=i):i=a[2],i}}]}}]},eo={title:"Sidebygger",name:"brandBuilder",type:"array",of:[{type:"brandVariant"},{type:"brandContent"},{type:"brandShoutout"},{type:"brandColor"},{type:"brandDownload"},{type:"brandButton"},{title:"Divider",name:"brandDivider",type:"object",icon:N.JWE,fields:[{title:"Farge",name:"color",type:"string",options:{list:[{title:"Prim\xe6r",value:"primary"},{title:"Sekund\xe6r",value:"secondary"},{title:"Kontrast",value:"accent"}],layout:"radio",direction:"horizontal"},initialValue:"primary"}]}]},es={name:"brandColor",title:"Farger",type:"object",icon:N.PV9,fields:[{title:"Tittel",name:"title",type:"string"},{title:"Forklaring",name:"description",type:"simpleText",description:"Kan st\xe5 tom"},{title:"Vis fargetitler",name:"showColorTitles",type:"boolean",initialValue:!0},{title:"Farger",name:"colors",type:"array",of:[{title:"Farge",type:"object",color:"color",fields:[{name:"name",title:"Navn",type:"string"},{name:"rgb",title:"Digitalt",type:"color"},{name:"cmyk",title:"CMYK",type:"string"},{name:"pantoneCoated",title:"Pantone C",type:"string"},{name:"pantoneUncoated",title:"Pantone U",type:"string"}],preview:{select:{name:"name",cmyk:"cmyk",color:"rgb"},prepare:e=>{var t,i,l;let{name:n,color:a,cmyk:r}=e;return{title:null!=(t=null!=n?n:null==a?void 0:a.hex)?t:"Farge",subtitle:null!=(l=null!=(i=null==a?void 0:a.hex)?i:r)?l:"Farge",media:a}}}}]}]},ep={name:"brandGallery",title:"Galleri",type:"object",icon:N.ZPX,fields:[{title:"Images",name:"gallery",type:"array",of:[{type:"brandImage"}]}],preview:{select:{media:"gallery.0.image"},prepare:e=>{let{media:t}=e;return{title:"Galleri",media:t}}}},ed={name:"brandComparison",title:"Riktig og feil",type:"object",icon:N.gb0,fields:[{title:"Sammenligning",name:"variants",type:"array",of:[{title:"Variant",name:"variant",type:"object",fieldsets:[{title:"Riktig",name:"correct"}],fields:[{name:"image",title:"Bilde",type:"image",fieldset:"correct"},{name:"title",title:"Tittel",type:"string"},{name:"description",title:"Beskrivelse",description:"Fyll ut dersom det trengs en ekstra forklaring p\xe5 n\xe5r variant skal brukes. Kan st\xe5 tom",type:"text"},{name:"externalLink",title:"URL for \xe5 laste ned",type:"externalLink"}]}]}],preview:{select:{variantTitle:"title",media:"variants[0].image"},prepare:e=>{let{variantTitle:t,media:i}=e;return{title:null!=t?t:"Varianter",media:i}}}},em={name:"brandButton",title:"Lenke",type:"object",icon:N.AnD,fields:[{name:"linkType",title:"Type lenke",type:"string",options:{list:[{title:"Intern",value:"internal"},{title:"Ekstern",value:"external"}],layout:"radio",direction:"horizontal"},initialValue:"internal"},{name:"internalLink",title:"Velg dokument",type:"reference",to:[{type:"brandGuideline"}],hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="internal"}},{name:"externalLink",title:"URL",type:"url",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="external"}},{name:"hasCustomTitle",title:"Egendefinert tittel",type:"boolean",initialValue:!1},{name:"customTitle",title:"Egendefinert tittel",type:"string",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.hasCustomTitle)!==!0}}],preview:{select:{linkType:"linkType",internalLinkTitle:"internalLink.title",externalLink:"externalLink",hasCustomTitle:"hasCustomTitle",customTitle:"customTitle"},prepare(e){let{linkType:t,internalLinkTitle:i,externalLink:l,hasCu
1stomTitle:n,customTitle:a}=e,r=n&&a?a:i,o=N.AnD,s="Knapp";return"external"===t&&(r=n&&a?a:l,o=N.AnD,s="Knapp"),{title:r,subtitle:s,media:o}}}},ec={name:"brandVariant",title:"Variantgalleri",type:"object",icon:N.ZPX,fields:[{title:"Tittel",name:"title",type:"string"},{title:"Varianter",name:"variants",type:"array",of:[{title:"Variant",name:"variant",type:"object",fieldsets:[{title:"Nedlasting",name:"download"},{title:"Innhold",name:"content"}],fields:[{name:"image",title:"Bilde",type:"brandImage"},{name:"variantType",title:"Type",type:"string",options:{list:[{title:"Standard",value:"standard"},{title:"Unng\xe5",value:"avoid"},{title:"Positiv",value:"positive"}],layout:"radio",direction:"horizontal"},initialValue:"standard",fieldset:"content"},{name:"title",title:"Tittel",type:"string",fieldset:"content"},{name:"description",title:"Beskrivelse",type:"text",fieldset:"content",rows:2},{title:"Nedlastingslenker",type:"array",name:"downloadLinks",of:[{title:"Fil",name:"fileObject",type:"object",fields:[{name:"linkType",title:"Type fil",type:"string",options:{list:[{title:"Lenke til ekstern fil",value:"externalFile"},{title:"Fil",value:"fileDownload"},{title:"Fra media biblioteket",value:"originalDownload"}],layout:"radio",direction:"horizontal"},initialValue:"externalFile"},{title:"Fra media biblioteket",name:"mediaFile",type:"image",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="originalDownload"}},{title:"Hovedtittel / filtype",name:"fileType",type:"string"},{title:"Sekund\xe6rtittel",description:"Kan f.eks. v\xe6re format eller fargevariant",name:"comment",type:"string"},{title:"Lenke",name:"downloadUrl",type:"url",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="externalFile"}},{title:"Fil",name:"file",type:"file",initialValue:"Last ned",hidden:e=>{let{parent:t}=e;return(null==t?void 0:t.linkType)!=="fileDownload"}}],preview:{select:{fileTitle:"fileType",subtitle:"linkType",media:"mediaFile",comment:"comment"},prepare:e=>{let{comment:t,subtitle:i,fileTitle:l,media:n}=e;return{title:t&&l?l+" "+t:l||i,subtitle:i,media:n}}}}]}],preview:{select:{variantTitle:"title",media:"image"},prepare:e=>{let{variantTitle:t,media:i}=e;return{title:null!=t?t:"Variant",media:i}}}}]}],preview:{select:{variantTitle:"title",media:"variants[0].image"},prepare:e=>{let{variantTitle:t,media:i}=e;return{title:null!=t?t:"Varianter",media:i,subtitle:"Varianter"}}}},eu={name:"brandContent",title:"Innhold",type:"object",icon:N.F7,fields:[{title:"Tittel",name:"title",type:"string"},{title:"Innhold",name:"content",type:"simpleText"}],preview:{select:{contentTitle:"title"},prepare:e=>{let{contentTitle:t,media:i}=e;return{title:null!=t?t:"Innhold",media:i}}}},eg={name:"brandShoutout",title:"Infoboks",type:"object",icon:N.hUO,fields:[{title:"Tittel",name:"title",type:"string"},{name:"type",title:"Type",type:"string",options:{list:[{title:"N\xf8ytral",value:"neutral"},{title:"Viktig",value:"important"},{title:"Positivt",value:"positive"},{title:"Id\xe9",value:"idea"}],layout:"radio",direction:"horizontal"},initialValue:"standard"},{title:"Innhold",name:"content",type:"simpleText"}],preview:{select:{contentTitle:"title"},prepare:e=>{let{contentTitle:t,media:i}=e;return{title:null!=t?t:"Innhold",media:i,subtitle:"Infoboks"}}}},ey={name:"brandDownload",title:"Fil",type:"object",icon:N.WCW,fields:[{name:"file",title:"Last opp fil",type:"file"},{name:"title",title:"Tittel p\xe5 nedlastingsknapp",type:"string"}],preview:{select:{title:"title"},prepare(e){let{title:t}=e;return{title:t||" ",media:N.WCW}}}},ef={title:"Bilde",type:"image",name:"brandImage",options:{hotspot:!0},fields:[{name:"size",title:"St\xf8rrelse",type:"string",options:{list:[{title:"Small â 1/4",value:"small"},{title:"Medium â 1/3",value:"medium"},{title:"Large â\xa01/2",value:"large"},{title:"Max â\xa01/1",value:"max"}]},initialValue:"medium"},{name:"aspectRatio",title:"Format",type:"string",options:{list:[{title:"Original",value:"original"},{title:"Kvadratisk 1:1",value:"square"},{title:"Horisontal",value:"horizontal"},{title:"Vertikal",value:"vertical"}]},initialValue:"original"},{name:"decorator",title:"Ramme eller bakgrunn",type:"string",options:{list:[{title:"Ingen",value:"none"},{title:"Gr\xe5 bakgrunn",value:"brand-bg-grey"},{title:"Gr\xe5 ramme",value:"brand-border-grey border-2"},{title:"Gr\xf8nn ramme",value:"brand-border-green border-2 border-opacity-50"},{title:"R\xf8d ramme",value:"brand-border-red border-2 border-opacity-75"}]},initialValue:"none"},{name:"alt",type:"string",title:"Alternative text",description:"Important for SEO and accessiblity."},{title:"Caption",name:"caption",type:"string"}],preview:{select:{imageUrl:"asset.url",title:"caption"}}},eb={type:"object",name:"memberFormSection",title:"Bli medlem skjema",icon:i(3989).A,fields:[{name:"heading",type:"string",title:"Tittel"}]},eh=[g,b,{name:"seoConfig",title:"Search Engine Optimization & Metadata",type:"document",i18n:!0,fields:[{name:"metadata",title:"SEO / Metadata",description:"Informasjon om nettsiden som vil bli brukt som fallback for s\xf8kemotorer og deling i sosiale medier dersom disse feltene ikke er utfylt for et dokument.",type:"seo",options:{collapsed:!1}},{name:"language",type:"string",title:"Spr\xe5k",readOnly:!0,hidden:!0}],preview:{prepare:()=>({title:"Search Engine Optimization (SEO)"})}},h,L,C,w,{name:"contactInfo",type:"document",title:"Kontaktinfo / Sosiale medier",fields:[{name:"email",type:"email",title:"E-post"},{name:"phone",type:"string",title:"Telefon"},{name:"orgNumber",type:"string",title:"Organisasjonsnummer"},{name:"officeName",type:"string",title:"Navn (f.eks. NOEREH C/O <navn>)"},{name:"address",type:"string",title:"Adresse"},{name:"postalCode",type:"string",title:"Postkode, Sted"},{name:"socialLinks",type:"array",title:"Social links",of:[{type:"socialLink"}]}],preview:{select:{email:"email"},prepare(e){let{email:t}=e;return{title:"Kontaktinfo / Sosiale medier",subtitle:t}}}},F,R,M,{name:"simpleFigure",title:"Image",type:"image",options:{hotspot:!0},preview:{select:{imageUrl:"asset.url",title:"caption"}}},{title:"SEO / Share Settings",name:"seo",type:"object",options:{collapsible:!0},fields:[{title:"Meta Title",name:"metaTitle",type:"string",description:"Title used for search engines and browsers",validation:e=>e.max(50).warning("Longer titles may be truncated by search engines")},{title:"Meta Description",name:"metaDesc",type:"text",rows:3,description:"Description for search engines",validation:e=>e.max(150).warning("Longer descriptions may be truncated by search engines")},{title:"Share Title",name:"shareTitle",type:"string",description:"Title used for social sharing cards",validation:e=>e.max(50).warning("Longer titles may be truncated by social sites")},{title:"Share Description",name:"shareDesc",type:"text",rows:3,description:"Description used for social sharing cards",validation:e=>e.max(150).warning("Longer descriptions may be truncated by social sites")},{title:"Share Graphic",name:"shareGraphic",type:"image",description:"Recommended size: 1200x630 (PNG or JPG)"},{title:"Share Graphic Alt text",name:"shareGraphicAlt",type:"string"}]},U,{name:"internalLink",title:"Velg dokument",type:"reference",to:[{type:"page"},{type:"article"},{type:"brandGuideline"}]},{name:"externalLink",title:"URL",type:"url",description:"Urlen m\xe5 starte med http://, https://, mailto: eller tel:",validation:e=>e.uri({scheme:["http","https","mailto","tel"]})},V,E,G,H,{title:"Page Builder",name:"pageBuilder",type:"array",of:[{type:"textSection"},{type:"imageSection"},{type:"featureGridSection"}
1,{type:"partnerSection"},{type:"archiveSection"},{type:"articleGridSection"},{type:"bannerSection"},{type:"memberFormSection"}]},{name:"bgColor",title:"Bakgrunnsfarge",type:"string",options:{list:[{title:"R\xf8d",value:"bg-red"},{title:"Blue",value:"bg-blue"},{title:"Gr\xf8nn",value:"bg-green"},{title:"Gul",value:"bg-yellow"},{title:"Rosa",value:"bg-pink"},{title:"Hvit",value:"bg-white"},{title:"Beige",value:"bg-beige"},{title:"Oransje",value:"bg-orange"},{title:"Svart",value:"bg-black"}]},initialValue:"bg-pink"},j,{title:"Social Link",name:"socialLink",type:"object",options:{columns:2,collapsible:!1},fields:[{title:"Title",name:"title",type:"string"},{title:"URL",name:"url",type:"url"}],preview:{select:{title:"title",url:"url"},prepare(e){let{title:t,url:i}=e;return{title:t,subtitle:i||"(url not set)",media:(e=>{switch(e){case"Apple":return N.eMv;case"Facebook":return N.ok6;case"Instagram":return N.ao$;case"Messenger":return N.dnO;case"Soundcloud":return N.SWP;case"Spotify":return N.geR;case"Twitter":return N.feZ;case"YouTube":return N.Vk6;case"Github":return N.hL4;default:return!1}})(t)}}}},x,k,q,D,K,z,Y,Z,X,et,J,ee,ei,en,eb,{title:"Brand guideline",name:"brandGuideline",type:"document",fieldsets:[{title:"Introduksjon",name:"intro",options:{collapsible:!0,collapsed:!1}}],fields:[{title:"Title",type:"string",name:"title"},{name:"slug",title:"Slug",type:"slug",validation:e=>[e.required().error("Slug er p\xe5krevd"),e.custom(e=>void 0===e.current||!(e.current.indexOf(" ")>=0)||"Slug kan ikke inneholde mellomrom").error()],options:{source:"title",maxLength:96}},{title:"Innhold",type:"simpleText",name:"introContent",description:"Kan gi en generell beskrivelse av meningen med logoen og historien bak"},{title:"Sidebygger",type:"brandBuilder",name:"brandBuilder"}]},ea,er,eo,es,ep,ed,em,ec,eu,eg,ey,ef];var ev=i(68089),ek=i(9988),eT=i(20821),ex=i(77937),eS=i(97629),eL=i(13938),ew=i(7130);let eI=u.C[0].slug;function eC(e){let t,i,a,r,o,s,p,d,m=(0,n.c)(18),c=e.document.displayed;m[0]!==c||m[1]!==e.options?(t=e.options.url(c),m[0]=c,m[1]=e.options,m[2]=t):t=m[2];let u=t,[g,y]=(0,A.useState)(0),[f,b]=(0,A.useState)(!0);return m[3]!==g?(i=()=>{b(!0),y(g+1)},m[3]=g,m[4]=i):i=m[4],m[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,l.jsx)(N.Lsu,{}),m[5]=a):a=m[5],m[6]!==i?(r=(0,l.jsxs)("div",{className:"refreshBanner",children:["Forh\xe5ndsvisning",(0,l.jsxs)("button",{className:"refreshButton",onClick:i,children:[a,"Refresh"]})]}),m[6]=i,m[7]=r):r=m[7],m[8]!==f?(o=f&&(0,l.jsx)("p",{className:"noPreviewContainer",children:"Laster..."}),m[8]=f,m[9]=o):o=m[9],m[10]===Symbol.for("react.memo_cache_sentinel")?(s=()=>b(!1),m[10]=s):s=m[10],m[11]!==g||m[12]!==u?(p=(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"iframeContainer",children:(0,l.jsx)("iframe",{onLoad:s,src:u},g)})}),m[11]=g,m[12]=u,m[13]=p):p=m[13],m[14]!==r||m[15]!==o||m[16]!==p?(d=(0,l.jsxs)("div",{children:[r,o,p]}),m[14]=r,m[15]=o,m[16]=p,m[17]=d):d=m[17],d}let ej=e=>!["siteConfig","home","page","seoConfig","media.tag","cta","article","linkCard","linkInBio","caseStudy","contactInfo","brandGuideline","brandConfig"].includes(e.getId()),eA=u.C.map(e=>({id:e.code,title:e.name})),eB=(0,r.C8j)({name:"default",title:"Noereh",projectId:"g3qdmru2",dataset:"production",basePath:"/studio",plugins:[(0,o.structureTool)({structure:(e,t)=>e.list().title("Noereh").items([e.listItem().title("Sider").id("pages").child(e.list().title("Sider").items([e.listItem().title("Hjem").child(e.documentTypeList("home").title("Hjem")).icon(ev.A),e.listItem().title("Sider").icon(ek.A).child(e.documentTypeList("page").title("Andre sider").filter('_type == "page" && (language == "nb-no" || !defined(language))'))])).icon(eT.A),(e=>e.listItem().title("Innstillinger").child(e.list().title("Innstillinger").items([e.listItem().title("Generelle").child(e.document().schemaType("siteConfig").documentId("siteConfig")).icon(eL.A),e.divider(),e.listItem().title("SEO / Metadata").child(e.document().schemaType("seoConfig").documentId("seoConfig")).icon(ew.A),e.listItem().title("Call to actions").child(e.documentTypeList("cta").title("Call to action")).icon(el.A),e.divider(),e.listItem().title("Designmanual").icon(_.A).child(e.document().title("Designmanual").schemaType("brandConfig").documentId("brandConfig"))])).icon(eL.A))(e),e.listItem().title("Artikler").child(e.documentTypeList("article").title("Artikler")).icon(S.A),e.listItem().title("Link in bio").icon(I.A).child(e.list().title("Link in bio").items([e.listItem().title("Sideoppsett").child(e.editor().title("Link in bio sideoppsett").id("linkInBio").schemaType("linkInBio").documentId("linkInBio")),e.divider(),e.listItem().title("Link in bio lenker").icon(I.A).child(e.documentTypeList("linkCard").title("Link in bio lenker"))])),e.listItem().title("Kontaktinfo / Sosiale medier").child(e.editor().id("contactInfo").schemaType("contactInfo").documentId("contactInfo")).icon(P.A),...e.documentTypeListItems().filter(ej),e.divider(),e.documentTypeListItem("brandGuideline").title("Designmanual").icon(ex.A)]
1),defaultDocumentNode:(e,t)=>{let{schemaType:i}=t,l=["siteConfig","seoSettings","headerSettings","brandConfig","contactInfo"];return(null==l?void 0:l.includes(i))?e.document().views([e.view.form().icon(eS.qUP).title("Edit")]):e.document().views([e.view.form().icon(eS.qUP).title("Edit"),e.view.component(eC).options({url:e=>(function(e){var t,i;if(!e)return"";let l=new URL("localhost"===window.location.hostname?"http://localhost:3000":"https://noereh-website.vercel.app"),n=(null==e||null==(t=e.slug)?void 0:t.current)?e.slug.current:"",a=((null==(i=e)?void 0:i.language)===eI?"":null==i?void 0:i.language)+"/"+function(e){switch(null==e?void 0:e._type){case"article":return"aktuelt/";case"page":case"home":default:return"";case"brandGuideline":return"brand/"}}(e),r="".concat(a).concat(n).replace(/\/+/g,"/");return l.pathname="/api/preview",l.searchParams.append("secret","VJS3W5Z7U9CE"),l.searchParams.append("slug",r.startsWith("/")?r:"/".concat(r)),l.toString()})(e)}).icon(eS.N5q).title("Preview")])}}),(0,s.$)(),(0,p.EX)(),(0,d.$_)(),(0,m.W)(),(0,c.KY)({supportedLanguages:eA,schemaTypes:["home","page","article","seoConfig","siteConfig","category"]})],schema:{types:eh}});function eV(){let e,t=(0,n.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.jsx)("div",{id:"sanity",children:(0,l.jsx)(a.EQ,{config:eB})}),t[0]=e):e=t[0],e}},42634:()=>{}}]);
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.