PageSourceSearch

https://www.myposter.com/_nuxt/CKVC8KsX.js

js myposter.com collected 2026-09-24 12:43:49 UTC 4,007 bytes, 1 lines download raw bytes

1import{d as O,Y as P,bR as G,c as K,o as f,h as n,t as u,a1 as I,k as t,I as Q,H as q,g as w,K as x,_ as $,y as X,aI as j,a0 as F,c9 as J,ca as Z,cb as ee,a as k,f as te,l as o,aA as ae,C as oe,cc as ne,aH as ce,b0 as re,aO as se,B as ie,cd as le,b as g,aX as de,ce as ue,cf as fe}from"./Cdma0c0o.js";import{b,a as _,c as m,d as p,e as y,f as h,C as be}from"./sBzNAxa5.js";const _e={class:"action-bar-code"},me={class:"action-bar-code__separator","aria-hidden":"true"},pe=["aria-label"],ye={class:"action-bar-code__text"},he={class:"action-bar-code__value"},Ce={class:"action-bar-code__status",role:"status","aria-live":"polite"},c=O({__name:"ActionBarCode",props:{code:{},separator:{default:"|"}},setup(e){const{t:s}=P(),{copy:C,copied:l}=G({legacy:!0});return(B,d)=>(f(),K("span",_e,[n("span",me,u(e.separator),1),n("button",{type:"button",class:"action-bar-code__chip","aria-label":t(s)("actionBar.copyCode",{code:e.code}),onClick:d[0]||(d[0]=I(v=>t(C)(e.code),["stop","prevent"]))},[n("span",ye,[Q(u(t(s)("actionBar.code"))+" ",1),n("span",he,u(e.code),1)]),n("span",{class:q(["action-bar-code__icon-wrap",{"action-bar-code__icon-wrap--copied":t(l)}])},[w(x,{class:"action-bar-code__icon action-bar-code__icon--copy",name:"duplicate","aria-hidden":"true"}),w(x,{class:"action-bar-code__icon action-bar-code__icon--check",name:"check-icon","aria-hidden":"true"})],2)],8,pe),n("span",Ce,u(t(l)?t(s)("actionBar.codeCopied"):""),1)]))}});typeof b=="function"&&b(c);typeof _=="function"&&_(c);typeof m=="function"&&m(c);typeof p=="function"&&p(c);typeof y=="function"&&y(c);typeof h=="function"&&h(c);const Ae=$(c,[["__scopeId","data-v-81c678c2"]]),Ee="no-bar",ke={class:"action-bar__content"},we=["innerHTML"],Be="•",L="|",r=O({__name:"ActionBar",props:{bar:{}},setup(e){const s=/\[.*?\]/g,C=/\[(.*?)\]/g,l=/\s*\{\{[^{}]*\}\}\s*/g,{t:B}=P(),{$currentLocale:d}=X(),v=j(),U=F(`${J.ACTION_BAR_DISABLED}-${e.bar.id}`,{maxAge:se}),Y=o(()=>({color:e.bar.barColor.hex,backgroundColor:e.bar.barBackgroundColor.hex})),H=()=>{U.value="1",document.documentElement.classList.add(Ee)},T=ie("actionBarRoot"),{height:R}=Z(()=>T.value?.$el??null,void 0,{box:"border-box"});ee(()=>{R.value>0?document.documentElement.style.setProperty("--action-bar-height",`${R.value}px`):document.documentElement.style.removeProperty("--action-bar-height")}),le(()=>{document.documentElement.style.removeProperty("--action-bar-height")});const D=o(()=>{const a=v.query[ue.COUNTDOWN_END];if(!(typeof a!="string"||Number.isNaN(new Date(a).getTime())))return a}),A=o(()=>D.value??e.bar.countdownEndDate),E=o(()=>{if(D.value)return!0;if(!e.bar.countdownActive||!e.bar.countdownEndDate||!e.bar.countdownStartDate)return!1;const a=new Date,i=new Date(e.bar.countdownEndDate),S=new Date(e.bar.countdownStartDate);return i>a&&S<a}),M=o(()=>!E.value||!A.value?null:fe(A.value,"actionBar").toLocaleUpperCase()),V=o(()=>{const a=e.bar.text||"",i=M.value;return(i?a.replace(s,i).trim():a.replace(C,"$1").trim()).replace(l," ").trim()}),z=o(()=>e.bar.link&&ne(e.bar.link)?ce(e.bar.link,{[re.LOCALE]:d}):e.bar.link),N=o(()=>e.bar.code?e.bar.code:null),W=o(()=>E.value?Be:L);return(a,i)=>(f(),k(oe,{ref_key:"actionBarRoot",ref:T,style:ae(t(Y)),class:"action-bar full-width-enabled",to:t(z),"inert-when-current":""},{default:te(()=>[n("div",ke,[n("p",{class:"action-bar__text",innerHTML:t(V)},null,8,we),t(N)?(f(),k(Ae,{key:0,class:"action-bar__code",code:t(N),separator:t(W)},null,8,["code","separator"])):g("",!0),t(E)?(f(),k(be,{key:1,class:"action-bar__countdown","countdown-end-date":t(A),inline:"",separator:L},null,8,["countdown-end-date"])):g("",!0),w(de,{"aria-label":t(B)("common.closeActionBar"),class:"action-bar__close",onClick:I(H,["stop","prevent"])},null,8,["aria-label"])])]),_:1},8,["style","to"]))}});typeof b=="function"&&b(r);typeof _=="function"&&_(r);typeof m=="function"&&m(r);typeof p=="function"&&p(r);typeof y=="function"&&y(r);typeof h=="function"&&h(r);const Re=$(r,[["__scopeId","data-v-183734db"]]);export{Re as default};

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.