PageSourceSearch

https://slidebomb.com/_nuxt/ChQNb265.js

js slidebomb.com collected 2026-10-02 11:36:23 UTC 15,871 bytes, 1 lines download raw bytes

1import{_ as D,b as ee,a as te,j as oe,w as le,f as se,g as ae,k as ne,E as C}from"./VeWhH2pJ.js";import{s as x,x as T,S as re,c as m,o as f,a as e,z as l,Q as I,k as H,y as E,b as v,T as ie,n as V,t as L,r as u,f as G,A as ce,_ as de,D as ue,w as y,F as pe,j as me,d as z,U as R,m as U,v as fe,V as ve}from"./C8tLienR.js";import{E as ge}from"./DUgOX6Vd.js";import{u as he,E as ye}from"./CG8vwBpP.js";import"./DAx5-ptd.js";import"./6NwxSfUA.js";/* empty css        */import{q as _e,d as xe}from"./DKHfdU-t.js";import{E as j}from"./j_QRClru.js";import"./DCTLXrZ8.js";const ke={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},we=["id"],be=["stop-color"],$e=["stop-color"],Ce=["id"],Ve=["stop-color"],ze=["stop-color"],Be=["id"],Ee={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Le={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},Ne={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},Se=["fill"],Me=["fill"],Ie={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},Re=["fill"],Ue=["fill"],je=["fill"],De=["fill"],Te=["fill"],He={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},Ge=["fill","xlink:href"],Ae=["fill","mask"],Fe=["fill"],Oe=x({name:"ImgEmpty"}),Pe=x({...Oe,setup(k){const o=T("empty"),i=re();return(c,p)=>(f(),m("svg",ke,[e("defs",null,[e("linearGradient",{id:`linearGradient-1-${l(i)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[e("stop",{"stop-color":`var(${l(o).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,be),e("stop",{"stop-color":`var(${l(o).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,$e)],8,we),e("linearGradient",{id:`linearGradient-2-${l(i)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[e("stop",{"stop-color":`var(${l(o).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Ve),e("stop",{"stop-color":`var(${l(o).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,ze)],8,Ce),e("rect",{id:`path-3-${l(i)}`,x:"0",y:"0",width:"17",height:"36"},null,8,Be)]),e("g",Ee,[e("g",Le,[e("g",Ne,[e("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${l(o).cssVarBlockName("fill-color-3")})`},null,8,Se),e("polygon",{id:"Rectangle-Copy-14",fill:`var(${l(o).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,Me),e("g",Ie,[e("polygon",{id:"Rectangle-Copy-10",fill:`var(${l(o).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,Re),e("polygon",{id:"Rectangle-Copy-11",fill:`var(${l(o).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,Ue),e("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${l(i)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,je),e("polygon",{id:"Rectangle-Copy-13",fill:`var(${l(o).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,De)]),e("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${l(i)})`,x:"13",y:"45",width:"40",height:"36"},null,8,Te),e("g",He,[e("use",{id:"Mask",fill:`var(${l(o).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${l(i)}`},null,8,Ge),e("polygon",{id:"Rectangle-Copy",fill:`var(${l(o).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${l(i)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,Ae)]),e("polygon",{id:"Rectangle-Copy-18",fill:`var(${l(o).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,Fe)])])])]))}});var qe=D(Pe,[["__file","img-empty.vue"]]);const We=ee({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),Qe=["src"],Xe={key:1},Ze=x({name:"ElEmpty"}),Je=x({...Ze,props:We,setup(k){const o=k,{t:i}=te(),c=T("empty"),p=I(()=>o.description||i("el.table.emptyText")),g=I(()=>({width:oe(o.imageSize)}));return(d,w)=>(f(),m("div",{class:V(l(c).b())},[e("div",{class:V(l(c).e("image")),style:ie(l(g))},[d.image?(f(),m("img",{key:0,src:d.image,ondragstart:"return false"},null,8,Qe)):E(d.$slots,"image",{key:1},()=>[v(qe)])],6),e("div",{class:V(l(c).e("description"))},[d.$slots.description?E(d.$slots,"description",{key:0}
1):(f(),m("p",Xe,L(l(p)),1))],2),d.$slots.default?(f(),m("div",{key:0,class:V(l(c).e("bottom"))},[E(d.$slots,"default")],2)):H("v-if",!0)],2))}});var Ke=D(Je,[["__file","empty.vue"]]);const Ye=le(Ke),et=Symbol.for("nuxt:client-only"),tt=x({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(k,{slots:o,attrs:i}){const c=u(!1);return G(()=>{c.value=!0}),ce(et,!0),p=>{var _;if(c.value)return(_=o.default)==null?void 0:_.call(o);const g=o.fallback||o.placeholder;if(g)return g();const d=p.fallback||p.placeholder||"",w=p.fallbackTag||p.placeholderTag||"span";return m(w,i,d)}}}),ot={class:"max-w-6xl mx-auto px-4 py-6"},lt={class:"flex items-center justify-center mb-6 gap-4"},st={class:"flex-1 md:min-w-2xl relative"},at={class:"grid grid-cols-1 md:min-w-[1248px] md:grid md:grid-cols-2 lg:grid-cols-3 gap-6"},nt=["onClick"],rt={class:"relative"},it={class:"video-thumbnail bg-gradient-to-r from-gray-800 to-gray-900 flex items-center justify-center text-white"},ct={class:"text-center w-full h-[200px]"},dt=["src"],ut={class:"p-4"},pt={class:"font-medium text-gray-900 mb-3 line-clamp-2"},mt={class:"flex items-center justify-between text-sm text-gray-500 mb-3"},ft={class:"flex items-center gap-4"},vt={class:"flex items-center gap-1"},gt={class:"flex items-center gap-2"},ht=["onClick"],yt=["onClick"],_t={class:"flex justify-center mt-6"},xt={class:"mb-6 flex items-center flex-col gap-2 md:flex-row"},kt={class:"flex w-full flex-1 flex-wrap items-center bg-gray-50 rounded-lg p-3"},wt={class:"flex items-center justify-between mb-6"},bt={class:"relative inline-flex items-center cursor-pointer"},$t={class:"grid grid-cols-5 gap-4"},Ct={class:"dialog-footer"},Vt={__name:"youtubeNote",setup(k){const o=u(1),i=u(20),c=u([]),p=u(0),g=u(!1),d=u(!1),w=he(),_=u(""),A=u(""),N=u(""),b=u(""),S=u(!1),$=u("");G(()=>{h()});const F=()=>{const a=b.value,t=document.createElement("textarea");t.value=a,t.style.position="fixed",t.style.opacity="0",t.style.pointerEvents="none",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")?C({message:"Link copied to clipboard.",type:"success"}):C({message:"Failed to copy link.",type:"error"})}catch(n){console.error("execCommand copy failed:",n),C({message:"Copy failed.",type:"error"})}document.body.removeChild(t)},O=a=>{const t=window.location.origin;A.value=a.videoId,N.value=a.id,_.value="Share",b.value=`${t}/share/${a.id}`,d.value=!0},P=async a=>{const t=j.service({lock:!0,text:"Deleting",background:"rgba(0, 0, 0, 0.7)"}),n=new FormData;n.append("app","www.slidebomb.com"),n.append("os","web"),n.append("id",a.id);try{const r=await xe(n);return r.c===0&&(C({message:"Delete successfully",type:"success"}),h()),t.close(),r}catch{t.close()}},B=a=>{const n=`${window.location.origin}/share/${N.value}`;let r="";switch(a){case"x":r=`https://twitter.com/intent/tweet?text=Check out this video!&url=${encodeURIComponent(n)}`;break;case"facebook":r=`http://www.facebook.com/sharer.php?u=${encodeURIComponent(n)}`;break;case"linkedin":r=`https://www.linkedin.com/shareArticle?mini=true&url=${encodeURIComponent(n)}`;break;default:return}window.open(r,"_blank")},q=a=>{window.location.href=`/workspace/detail/${a.id}`},W=a=>{o.value=a,h()},Q=a=>{o.value=1,i.value=a,h()},h=async()=>{const a=j.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"}),t=new FormData;t.append("app","www.slidebomb.com"),t.append("os","web"),t.append("page",o.value),t.append("page_size",i.value),t.append("title",$.value);try{const n=await _e(t);c.value=n.d&&n.d.list||[],p.value=n.d&&n.d.total||0,c.value=c.value.map(r=>r.state===3?{...r,videoId:r.video_id}:r),a.close()}catch{a.close()}};return(a,t)=>{const n=se,r=ae,X=Ye,Z=ge,J=tt,K=ye;return f(),m("div",null,[e("div",ot,[e("div",lt,[e("div",st,[v(n,{modelValue:$.value,"onUpdate:modelValue":t[0]||(t[0]=s=>$.value=s),placeholder:"Enter keywords to search","prefix-icon":l(ne),class:"w-full md:text-[16px] text-[4.2vw] md:pl-10",size:"large",clearable:"",onChange:h},null,8,["modelValue","prefix-icon"])]),v(r,{disabled:!$.value,type:"primary",size:"large",onClick:h,style:{"border-radius":"6px"}
1,class:"bg-blue-500 md:text-[16px] text-[4.2vw] hover:bg-blue-600 text-white px-6 py-2 rounded-lg font-medium transition-colors"},{default:y(()=>t[10]||(t[10]=[z(" Search ",-1)])),_:1,__:[10]},8,["disabled"])]),e("div",at,[(f(!0),m(pe,null,me(c.value,(s,Y)=>(f(),m("div",{class:"bg-white cursor-pointer rounded-lg shadow-sm overflow-hidden hover:shadow-md transition-shadow",key:Y,onClick:M=>q(s)},[e("div",rt,[e("div",it,[e("div",ct,[e("iframe",{class:"w-full h-full",src:`https://www.youtube.com/embed/${s.videoId}?autoplay=1&rel=0`,frameborder:"0",allowfullscreen:"",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"},null,8,dt)])])]),e("div",ut,[e("h3",pt,L(s.title),1),e("div",mt,[e("div",ft,[e("span",vt,[t[11]||(t[11]=e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})],-1)),z(" "+L(s.summary_cnt),1)])]),e("div",gt,[e("button",{class:"p-1 text-blue-500 hover:bg-blue-50 rounded",onClick:R(M=>O(s),["stop"])},t[12]||(t[12]=[e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})],-1)]),8,ht),e("button",{class:"p-1 text-red-500 hover:bg-red-50 rounded",onClick:R(M=>P(s),["stop"])},t[13]||(t[13]=[e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)]),8,yt)])])])],8,nt))),128))]),c.value.length===0||!c.value?(f(),ue(X,{key:0,description:"Oops, no related videos found."})):H("",!0),v(J,null,{default:y(()=>[e("div",_t,[v(Z,{"current-page":o.value,"onUpdate:currentPage":t[1]||(t[1]=s=>o.value=s),"page-size":i.value,"onUpdate:pageSize":t[2]||(t[2]=s=>i.value=s),"page-sizes":[20,50,100,200],disabled:g.value,layout:"sizes, prev, pager, next",total:p.value,onSizeChange:Q,onCurrentChange:W},null,8,["current-page","page-size","disabled","total"])])]),_:1}),v(K,{class:"rounded-sm","close-on-click-modal":!1,"close-on-press-escape":!1,title:_.value,modelValue:d.value,"onUpdate:modelValue":t[9]||(t[9]=s=>d.value=s),width:l(w)},{footer:y(()=>[e("div",Ct,[v(r,{class:"rounded-sm",onClick:t[8]||(t[8]=s=>d.value=!1)},{default:y(()=>t[21]||(t[21]=[z("close",-1)])),_:1,__:[21]})])]),default:y(()=>[e("div",null,[e("div",xt,[e("div",kt,[t[14]||(t[14]=e("div",{class:"flex items-center text-gray-600 mr-3"},[e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})])],-1)),U(e("input",{"onUpdate:modelValue":t[3]||(t[3]=s=>b.value=s),readonly:"",class:"flex-1 bg-transparent text-sm text-gray-700 outline-none"},null,512),[[fe,b.value]])]),v(r,{size:"large",style:{"border-radius":"6px"},type:"primary",onClick:F,class:"ml-3 px-4 py-2 bg-blue-500 text-white text-sm rounded-md hover:bg-blue-600 transition-colors"},{default:y(()=>t[15]||(t[15]=[z(" Copy Link ",-1)])),_:1,__:[15]})])]),e("div",wt,[t[17]||(t[17]=e("div",{class:"flex items-center text-gray-700"},[e("svg",{class:"w-5 h-5 mr-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})]),e("span",{class:"text-sm font-medium"},"Link Access")],-1)),e("label",bt,[U(e("input",{"onUpdate:modelValue":t[4]||(t[4]=s=>S.value=s),type:"checkbox",class:"sr-only peer"},null,512),[[ve,S.value]]),t[16]||(t[16]=e("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-500"},null,-1))])]),e("div",$t,[e("div",{onClick:t[5]||(t[5]=s=>B("x")),class:"flex flex-col items-center p-3 hover:bg-gray-50 rounded-lg cursor-pointer transition-colors"},t[18]||(t[18]=[e("div",{class:"w-12 h-12 bg-black rounded-lg flex items-center justify-center mb-2"}
1,[e("svg",{class:"w-6 h-6 text-white",fill:"currentColor",viewBox:"0 0 24 24"},[e("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})])],-1),e("span",{class:"text-xs text-gray-600"},"X",-1)])),e("div",{onClick:t[6]||(t[6]=s=>B("facebook")),class:"flex flex-col items-center p-3 hover:bg-gray-50 rounded-lg cursor-pointer transition-colors"},t[19]||(t[19]=[e("div",{class:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-2"},[e("svg",{class:"w-6 h-6 text-blue-600",fill:"currentColor",viewBox:"0 0 24 24"},[e("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})])],-1),e("span",{class:"text-xs text-gray-600"},"Facebook",-1)])),e("div",{onClick:t[7]||(t[7]=s=>B("linkedin")),class:"flex flex-col items-center p-3 hover:bg-gray-50 rounded-lg cursor-pointer transition-colors"},t[20]||(t[20]=[e("div",{class:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-2"},[e("svg",{class:"w-6 h-6 text-blue-700",fill:"currentColor",viewBox:"0 0 24 24"},[e("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})])],-1),e("span",{class:"text-xs text-gray-600"},"LinkedIn",-1)]))])]),_:1},8,["title","modelValue","width"])])])}}},jt=de(Vt,[["__scopeId","data-v-bf17a443"]]);export{jt 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.