1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="75dadb61-f435-57c2-bbf2-887cb12c4dc9")}catch(e){}}(); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0ac03-185a-73e3-a1e3-a1f32729ebe9")}catch(e){}}();"use strict";(self.webpackChunk_openstax_os_webview=self.webpackChunk_openstax_os_webview||[]).push([[2179],{82179(e,t,l){l.r(t),l.d(t,{default:()=>r});var a=l(17402),c=l(95876),s=l(56028);function n({subjects:e}){const{subjects:t,setParam:l}=(0,c.default)();return a.default.createElement("div",{className:"facet-group",role:"group","aria-label":"Filter by subject"},e.map(e=>a.default.createElement("button",{key:e.name,type:"button",className:"facet-chip","aria-pressed":t.includes(e.name),onClick:()=>(e=>{const a=t.includes(e)?t.filter(t=>t!==e):[...t,e];l("subjects",a)})(e.name)},e.name)))}function o({collections:e}){const{collection:t,setParam:l}=(0,c.default)();return a.default.createElement("label",{className:"facet-select",htmlFor:"blog-collection-select"},a.default.createElement("span",{className:"facet-label"},"Collection"),a.default.createElement("select",{id:"blog-collection-select",value:null!=t?t:"",onChange:e=>l("collection",e.currentTarget.value)},a.default.createElement("option",{value:""},"All collections"),e.map(e=>a.default.createElement("option",{key:e.name,value:e.name},e.name))))}function r({subjects:e,collections:t}){const{sort:l,setParam:r}=(0,c.default)();return a.default.createElement("div",{className:"facet-controls",role:"group","aria-label":"Filter and sort blog posts"},a.default.createElement(n,{subjects:e}),a.default.createElement("div",{className:"facet-row"},a.default.createElement(o,{collections:t}),a.default.createElement(s.A,{sort:l,setSort:e=>r("sort",e),labelId:"blog-sort-label",className:"facet-sort-position"})))}l(32321)}}]); 4//# sourceMappingURL=chunk-3c45f4a841808aaba355.js.map 5//# chunkId=01a0ac03-185a-73e3-a1e3-a1f32729ebe9 6//# debugId=75dadb61-f435-57c2-bbf2-887cb12c4dc9
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.