1AppRegistry.registerBundle({applicationId:'csn-faq|2.0.1',bundle: {"en":{"pagination-limit":"Specify the number of FAQs per page","settings":"Settings","faq-folder":"Choose the FAQ-folder"},"sv":{"pagination-limit":"Ange antalet Frågor och Svar per sida","settings":"Inställningar","faq-folder":"Välj mapp med Frågor och Svar"}}}); 2AppRegistry.registerModule({applicationId:'csn-faq|2.0.1',path:'/main',module:function(define){'use strict';/*! For license information please see main.js.LICENSE.txt */ 3define(["react","react-dom","requester","router"],function(e,t,a,n){return function(){"use strict";var r={338(e,t,a){var n=a(398);n.createRoot,t.c=n.hydrateRoot},20(e,t,a){var n=a(959),r=Symbol.for("react.element"),l=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,a){var n,i={},c=null,u=null;for(n in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)l.call(t,n)&&!s.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:r,type:e,key:c,ref:u,props:i,_owner:o.current}}t.jsx=i,t.jsxs=i},848(e,t,a){e.exports=a(20)},959(t){t.exports=e},398(e){e.exports=t},214(e){e.exports=a},697(e){e.exports=n}},l={};function o(e){var t=l[e];if(void 0!==t)return t.exports;var a=l[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};o.r(s),o.d(s,{default:function(){return w}});var i=o(959),c=o.n(i),u=o(338),m=o(214),f=o.n(m),g=o(697),p=o.n(g);function d({selectedLabel:e,labels:t,onLabelChange:a}){return(0,i.useId)(),c().createElement(c().Fragment,null,c().createElement("label",{htmlFor:"faq-filter",className:"Gv0bhSMmL924pMiytMMq"},"Filtrera frågor och svar"),c().createElement("select",{value:e,onChange:a,id:"faq-filter",className:"x1IvmP2qeerlGc6ELhcu"},c().createElement("option",{value:"all"},"Visar alla frågor och svar"),t.map(e=>c().createElement("option",{key:e.slug,value:e.slug},e.name))))}var v=({color:e})=>c().createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:e,xmlns:"http://www.w3.org/2000/svg"},c().createElement("mask",{id:"mask0_2289_19144",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"18",height:"18"},c().createElement("rect",{width:"18",height:"18",fill:"#D9D9D9"})),c().createElement("g",{mask:"url(#mask0_2289_19144)"},c().createElement("path",{d:"M8.25 12.75H5.25C4.2125 12.75 3.32825 12.3842 2.59725 11.6528C1.86575 10.9217 1.5 10.0375 1.5 9C1.5 7.9625 1.86575 7.078 2.59725 6.3465C3.32825 5.6155 4.2125 5.25 5.25 5.25H8.25V6.75H5.25C4.625 6.75 4.09375 6.96875 3.65625 7.40625C3.21875 7.84375 3 8.375 3 9C3 9.625 3.21875 10.1562 3.65625 10.5938C4.09375 11.0312 4.625 11.25 5.25 11.25H8.25V12.75ZM6 9.75V8.25H12V9.75H6ZM9.75 12.75V11.25H12.75C13.375 11.25 13.9062 11.0312 14.3438 10.5938C14.7812 10.1562 15 9.625 15 9C15 8.375 14.7812 7.84375 14.3438 7.40625C13.9062 6.96875 13.375 6.75 12.75 6.75H9.75V5.25H12.75C13.7875 5.25 14.672 5.6155 15.4035 6.3465C16.1345 7.078 16.5 7.9625 16.5 9C16.5 10.0375 16.1345 10.9217 15.4035 11.6528C14.672 12.3842 13.7875 12.75 12.75 12.75H9.75Z",fill:"black"}))),_=({title:e,subtitle:t,url:a})=>{const n=`${window.location.origin}/${a.startsWith("/")?a.slice(1):a}`;return c().createElement("details",{className:"UQxMPnGADh1TbGyj1Esw"},c().createElement("summary",{className:"nu2F_H7kMLarD6Tvhz8s"},e),c().createElement("section",{className:"otpIvYPLT7YUS3kzQRwe"},c().createElement("div",{dangerouslySetInnerHTML:{__html:t}}),c().createElement("div",{className:"lqfbBghqvq_2tJtMvgc0"},c().createElement(v,{color:"black"}),c().createElement("a",{href:`${n}.html`},"Länk"))))},h=o(848),y={srOnly:"Pagination-module_srOnly__bmeD8",active:"Pagination-module_active__gs4QO",paginationList:"Pagination-module_paginationList__-lZpm",paginationItem:"Pagination-module_paginationItem__VsGFa",paginationLink:"Pagination-module_paginationLink__r7Knh"};function E(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(a=E(e[t]))&&(n&&(n+=" "),n+=a)}else for(a in e)e[a]&&(n&&(n+=" "),n+=a);return n}function b(){for(var e,t,a=0,n="",r=arguments.length;a<r;a++)(e=arguments[a])&&(t=E(e))&&(n&&(n+=" "),n+=t);return n}const C=({className:e,...t})=>(0,h.jsx)("nav",{"aria-label":"paginering",className:b(y.pagination,e),...t});C.displayName="Pagination";const P=i.forwardRef(({className:e,...t},a)=>(0,h.jsx)("ul",{ref:a,className:b(y.paginationList,e),...t}));P.displayName="PaginationContent";const N=i.forwardRef(({className:e,...t},a)=>(0,h.jsx)("li",{ref:a,className:b(y.paginationItem,e),...t}));
3N.displayName="PaginationItem";const k=({className:e,isActive:t,...a})=>(0,h.jsx)("a",{"aria-current":t?"page":void 0,className:b(y.paginationLink,t&&y.active,e),...a});k.displayName="PaginationLink";function x({faqs:e,totalPages:t,currentPage:a,onChangeOffset:n}){return c().createElement("div",null,e.map(e=>c().createElement(_,{key:e.id,...e})),t>1?c().createElement(C,{className:"BekVQoAvi0_jniM7IRhx"},c().createElement(P,null,Array.from({length:t},(e,t)=>c().createElement(N,{key:t},c().createElement(k,{isActive:a===t+1,onClick:()=>n(t+1)},t+1))))):null)}function S(){const[e,t]=(0,i.useState)("all"),[a,n]=(0,i.useState)([]),[r,l]=(0,i.useState)([]),[o,s]=(0,i.useState)(1),[u,m]=(0,i.useState)(1),[g,v]=(0,i.useState)([]),_=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{_.current=!0,f().doGet({url:p().getStandaloneUrl("/faq")}).then(e=>{l(e.pages),v(e.pages),n(e.tags),m(e.pagination.totalPages)}).catch(e=>{console.error(e)})},[]),(0,i.useEffect)(()=>{_.current&&f().doGet({url:p().getStandaloneUrl("/faq"),data:{offset:o,selectedTag:e}}).then(e=>{v(e.pages),m(e.pagination.totalPages)})},[o,e]),c().createElement("section",{className:"DGgJm8B17ryEBwmU6Tjv"},c().createElement("h2",{className:"E91QsRCqpsxI3dxFTJrH"},"Frågor och svar"),c().createElement(d,{selectedLabel:e,onLabelChange:e=>{const a=e.target.value;t(a),s(1)},labels:a}),c().createElement(x,{currentPage:o,totalPages:u,faqs:g,onChangeOffset:e=>{s(e)}}))}var w=(e,t)=>{(0,u.c)(t,i.createElement(S,{...e}))};return s}()});}});
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.