1import{Z as m,c8 as T,P as _,N as a,_ as k,r as y,o as n,h as l,T as h,U as $,c as E,O as w,bk as v,bl as r,az as e,j as f,bZ as j,ae as R,ay as u,a6 as A}from"./BzMBcGZN.js";const S={tabItems:m(T({url:a().def(""),text:a().def(""),isActive:_().def(!1)}))},U="_tab_vln3q_1",L={"tabs-wrapper":"_tabs-wrapper_vln3q_1",tab:U,"tab-active":"_tab-active_vln3q_17"},M=f({props:S,components:{AtLink:j},methods:{getLinkClasses(t=!1){return{[this.$style.tab]:!0,[this.$style["tab-active"]]:t}}}},"$afZpN3hUf_");function V(t,c,o,B,N,g){const i=y("at-link");return n(),l("div",{class:e(t.$style["tabs-wrapper"])},[(n(!0),l(h,null,$(t.tabItems,s=>(n(),E(i,{key:s.text,to:s.url,class:e(t.getLinkClasses(s.isActive))},{default:w(()=>[v(r(s.text),1)]),_:2},1032,["to","class"]))),128))],2)}const q={$style:L},I=k(M,[["render",V],["__cssModules",q]]),p="STORY",b="REVIEW",d="BADGE",Z={blocks:m(R([p,b,d])).def([]),twoColumns:_().def(!0),subjectName:a().def(""),subjectUrlName:a().def("")},D="_wrapper_1dkuy_1",O="_title_1dkuy_6",x="_description_1dkuy_49",z="_button_1dkuy_59",F={wrapper:D,title:O,"two-columns":"_two-columns_1dkuy_13","blocks-wrapper":"_blocks-wrapper_1dkuy_18","story-block":"_story-block_1dkuy_24","review-block":"_review-block_1dkuy_25","badge-block":"_badge-block_1dkuy_26",description:x,button:z},G=f({props:Z,components:{AtLink:j},computed:{titleClass(){return{[this.$style.title]:!0,[this.$style["two-columns"]]:this.twoColumns}},title(){const t=this.blocks.includes(p),c=this.blocks.includes(b),o=this.blocks.includes(d);return t&&c?this.$t("components.common.promotion-blocks.subject-story-and-review.story_review_title"):t&&o?this.$t("components.common.promotion-blocks.subject-story-and-review.story_badge_title"):c&&o?this.$t("components.common.promotion-blocks.subject-story-and-review.review_badge_title"):""},storyBlock(){return{title:this.$t("components.common.promotion-blocks.subject-story-and-review.story_title",{subject:this.subjectName}),link:`/content/${this.subjectUrlName}`,className:{[this.$style["story-block"]]:!0,[this.$style["two-columns"]]:this.twoColumns}}},reviewBlock(){return{title:this.$t("components.common.promotion-blocks.subject-story-and-review.review_title",{subject:this.subjectName}),link:`/ratings/${this.subjectUrlName}`,className:{[this.$style["review-block"]]:!0,[this.$style["two-columns"]]:this.twoColumns}}},badgeBlock(){return{title:this.$t("components.common.promotion-blocks.subject-story-and-review.badge_title",{subject:this.subjectName}),link:`/teacher-reviews/${this.subjectUrlName}`,className:{[this.$style["badge-block"]]:!0,[this.$style["two-columns"]]:this.twoColumns}}},buttonText(){return this.$t("pages.teacher-reviews.learn_more")},mappedBlocks(){const t={[p]:this.storyBlock,[b]:this.reviewBlock,[d]:this.badgeBlock};return this.blocks.map(o=>t[o])}}},"$E7qx7fZQQj");function Q(t,c,o,B,N,g){const i=y("at-link");return n(),l("div",{class:e(t.$style.wrapper)},[u("div",{class:e(t.titleClass)},r(t.title),3),u("div",{class:e(t.$style["blocks-wrapper"])},[(n(!0),l(h,null,$(t.mappedBlocks,(s,C)=>(n(),l("div",{key:`block_${C}`,class:e(s.className)},[u("div",{class:e(t.$style.description)},r(s.title),3),A(i,{class:e(t.$style.button),to:s.link},{default:w(()=>[v(r(t.buttonText),1)]),_:1},8,["class","to"])],2))),128))],2)],2)}const W={$style:F},J=k(G,[["render",Q],["__cssModules",W]]);export{d as B,I as R,J as S,p as a,b};
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.