1import{B as u,s as f,f as p}from"./RVWOv49h.js";import{bd as l,b2 as s,bx as b,aV as m,b1 as y,b3 as h,b7 as o,be as i,bb as g}from"./Ds9SuTJ1.js";import{c as k}from"./B-_c9yDv.js";import{_ as v}from"./CdSjvR-5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"b24213e2c22b5a7ffb9ebe42a4a1af091c72d06b"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a188fb93-4568-454e-87e3-14b432bd760f",e._sentryDebugIdIdentifier="sentry-dbid-a188fb93-4568-454e-87e3-14b432bd760f")}catch{}})();var S=` 2 .p-skeleton { 3 display: block; 4 overflow: hidden; 5 background: dt('skeleton.background'); 6 border-radius: dt('skeleton.border.radius'); 7 } 8 9 .p-skeleton::after { 10 content: ''; 11 animation: p-skeleton-animation 1.2s infinite; 12 height: 100%; 13 left: 0; 14 position: absolute; 15 right: 0; 16 top: 0; 17 transform: translateX(-100%); 18 z-index: 1; 19 background: linear-gradient(90deg, rgba(255, 255, 255, 0), dt('skeleton.animation.background'), rgba(255, 255, 255, 0)); 20 } 21 22 [dir='rtl'] .p-skeleton::after { 23 animation-name: p-skeleton-animation-rtl; 24 } 25 26 .p-skeleton-circle { 27 border-radius: 50%; 28 } 29 30 .p-skeleton-animation-none::after { 31 animation: none; 32 } 33 34 @keyframes p-skeleton-animation { 35 from { 36 transform: translateX(-100%); 37 } 38 to { 39 transform: translateX(100%); 40 } 41 } 42 43 @keyframes p-skeleton-animation-rtl { 44 from { 45 transform: translateX(100%); 46 } 47 to { 48 transform: translateX(-100%); 49 } 50 } 51`,_={root:{position:"relative"}},w={root:function(t){var n=t.props;return["p-skeleton p-component",{"p-skeleton-circle":n.shape==="circle","p-skeleton-animation-none":n.animation==="none"}]}},x=u.extend({name:"skeleton",style:S,classes:w,inlineStyles:_}),P={name:"BaseSkeleton",extends:f,props:{shape:{type:String,default:"rectangle"},size:{type:String,default:null},width:{type:String,default:"100%"},height:{type:String,default:"1rem"},borderRadius:{type:String,default:null},animation:{type:String,default:"wave"}},style:x,provide:function(){return{$pcSkeleton:this,$parentInstance:this}}};function r(e){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}function B(e,t,n){return(t=$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(e){var t=D(e,"string");return r(t)=="symbol"?t:t+""}function D(e,t){if(r(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(r(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var E={name:"Skeleton",extends:P,inheritAttrs:!1,computed:{containerStyle:function(){return this.size?{width:this.size,height:this.size,borderRadius:this.borderRadius}:{width:this.width,height:this.height,borderRadius:this.borderRadius}},dataP:function(){return p(B({},this.shape,this.shape))}}},R=["data-p"];function I(e,t,n,a,c,d){return s(),l("div",b({class:e.cx("root"),style:[e.sx("root"),d.containerStyle],"aria-hidden":"true"},e.ptmi("root"),{"data-p":d.dataP}),null,16,R)}E.render=I;const T={class:"flex flex-wrap justify-between gap-1 text-small-body md:text-body"},j={class:"uppercase break-words hyphens-auto text-brand-regular"},z={key:0,class:""},X={key:1},C={class:"text-secondary-on-surface"},N={class:"text-on-surface mt-1 font-semibold break-normal hyphens-auto text-left"},L=m({__name:"CompactNewsCard",props:{article:{},showTags:{type:Boolean},categories:{}},setup(e){const t=e,n=k(t.article.first_published_at||t.article.created_at,{year:"numeric",month:"numeric",day:"numeric"});return(a,c)=>(s(),y(v,{link:{story:e.article},class:"block p-4 bg-surface-primary rounded-more"},{default:h(()=>[o("div",T,[o("p",j,[e.showTags?(s(),l("span",X,i(e.article.content?.tags?.join(", ")),1)):(s(),l("span",z,i(e.categories),1))]),o("span",C,i(g(n)),1)]),o("p",N,i(e.article.content?.title),
511)]),_:1},8,["link"]))}});export{L as _,E as 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.