1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[113],{97607:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=n(41916),i={class:"bg-white rounded-xl h-full py-[15px] px-[22px] lg:h-[454px] overflow-y-scroll"},s=["innerHTML"],c=["innerHTML"];const o={props:{resource:Object},mounted:function(){var e=this;this.$nextTick((function(){e.setExternalLinks()}))},watch:{"resource.teaching_tips":function(){var e=this;this.$nextTick((function(){e.setExternalLinks()}))},"resource.scientist_notes":function(){var e=this;this.$nextTick((function(){e.setExternalLinks()}))}},methods:{setExternalLinks:function(){var e=this;["teachingTips","scientistNotes"].forEach((function(t){var n=e.$refs[t];n&&n.querySelectorAll("a").forEach((function(e){e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer")}))}))}}};const l=(0,n(83744).Z)(o,[["render",function(e,t,n,o,l,a){var u,h;return(0,r.openBlock)(),(0,r.createElementBlock)("div",null,[(0,r.createElementVNode)("div",i,[(0,r.createElementVNode)("div",{class:"trix",innerHTML:null===(u=n.resource.teaching_tips)||void 0===u?void 0:u.replace(/<a/g,"<a target='_blank'"),ref:"teachingTips"},null,8,s),n.resource.scientist_notes?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:0,class:"trix mt-4",innerHTML:null===(h=n.resource.scientist_notes)||void 0===h?void 0:h.replace(/<a/g,"<a target='_blank'"),ref:"scientistNotes"},null,8,c)):(0,r.createCommentVNode)("",!0)])])}]])}}]); 2//# sourceMappingURL=Resource-components-ScientistNotesAndTeachingTips-vue.64f08ede.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.