1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[5065],{27402:(e,t,n)=>{n.r(t),n.d(t,{default:()=>F});var l=n(41916),r={class:"grid grid-cols-4 gap-8"},a={class:"-mt-2"},o=["onClick"],c={class:"bg-white rounded-xl col-span-3 h-full py-[15px] px-[22px] lg:h-[454px] overflow-y-scroll"},s={key:0,class:"mb-8"},m={key:0},i={class:"font-semibold"},d={class:"text-sm text-gray-500"},u={class:"ml-2"},p={class:"font-mono font-semibold"},k={key:0,class:"ml-2"},B={key:0},E={key:0,class:"font-semibold"},g={class:"-mt-6 trix"},y={class:"font-semibold"},f={class:"-mt-6"},N={class:"-mt-2"},b={key:1,class:"mb-8"},v={key:0,class:"font-semibold"},S={class:"-mt-6 trix"},V={class:"font-semibold"},h={class:"-mt-6"},x={class:"-mt-2"};var T=n(87879),C=[{label:"Standards",name:"standards"}];const D={props:{resource:Object},components:{},data:function(){return{selectedTabName:"standards"}},computed:{selectedTab:function(){var e=this,t=this.tabs.filter((function(t){return t.name==e.selectedTabName}));return t.length?t[0]:null},standardsGrouped:function(){var e;return null!==(e=this.resource.standards_grouped)&&void 0!==e?e:[]},primaryStandardsNamesTree:function(){var e,t,n;return null!==(e=null===(t=this.resource.standards_names_trees)||void 0===t||null===(n=t[this.tenantSlug])||void 0===n?void 0:n.primary)&&void 0!==e?e:{}},supportingStandardsNamesTree:function(){var e,t,n;return null!==(e=null===(t=this.resource.standards_names_trees)||void 0===t||null===(n=t[this.tenantSlug])||void 0===n?void 0:n.supporting)&&void 0!==e?e:{}},standardsTree:function(){}},setup:function(){var e=(0,T.qt)().props.tenantSlug;return{tabs:C,tenantSlug:e}}};const F=(0,n(83744).Z)(D,[["render",function(e,t,n,T,C,D){return(0,l.openBlock)(),(0,l.createElementBlock)("div",r,[(0,l.createElementVNode)("div",a,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(T.tabs,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("button",{onClick:function(t){return C.selectedTabName=e.name},key:e.name,class:(0,l.normalizeClass)([e.name==C.selectedTabName?"bg-primary-500 text-contrast-500":"","py-[8px] px-[20px] text-left font-medium rounded-xl text-xl h-[56px] shrink mt-2 w-full"])},(0,l.toDisplayString)(e.label),11,o)})),128))]),(0,l.createElementVNode)("div",c,["standards"==C.selectedTabName?((0,l.openBlock)(),(0,l.createElementBlock)("div",s,[D.standardsGrouped.length?((0,l.openBlock)(),(0,l.createElementBlock)("div",m,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(D.standardsGrouped,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("div",{key:e.jurisdiction_code,class:"mb-6"},[(0,l.createElementVNode)("h3",i,(0,l.toDisplayString)(e.jurisdiction),1),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.frameworks,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("div",{key:e.framework,class:"mt-2 ml-2"},[(0,l.createElementVNode)("p",d,(0,l.toDisplayString)(e.framework),1),(0,l.createElementVNode)("ul",u,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.standards,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:e.code,class:"mt-2"},[(0,l.createElementVNode)("span",p,(0,l.toDisplayString)(e.code),1),e.description?((0,l.openBlock)(),(0,l.createElementBlock)("span",k,(0,l.toDisplayString)(e.description),1)):(0,l.createCommentVNode)("",!0)])})),128))])])})),128))])})),128))])):((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:1},[Array.isArray(D.primaryStandardsNamesTree)?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",B,[n.resource.is_internal_resource?((0,l.openBlock)(),(0,l.createElementBlock)("h3",E,"Primary Standards")):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("ul",g,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(D.primaryStandardsNamesTree,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",y,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",f,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(t),
11),(0,l.createElementVNode)("ul",N,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:e,class:"mt-4"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e),1)])})),128))])])})),128))])])})),128))])])),Array.isArray(D.supportingStandardsNamesTree)?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",b,[n.resource.is_internal_resource?((0,l.openBlock)(),(0,l.createElementBlock)("h3",v,"Supporting Standards")):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("ul",S,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(D.supportingStandardsNamesTree,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",V,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",h,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",x,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:e,class:"mt-4"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e),1)])})),128))])])})),128))])])})),128))])]))],64))])):(0,l.createCommentVNode)("",!0)])])}]])}}]); 2//# sourceMappingURL=Resource-components-Standards-vue.bf87fdeb.js.map
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.