PageSourceSearch

https://notedly.ai/build/assets/Create-CREqOped.js

js notedly.ai collected 2026-10-04 07:03:01 UTC 4,039 bytes, 1 lines download raw bytes

1import{s as w,g as C}from"./documentType-DtNitErl.js";import{r as V,a as P,l as r}from"./link-types-BQ7eQBHK.js";import{A as h,L as S,B as L,r as i,b as m,o as l,w as a,d as n,a as s,g as B,f as p}from"./app-DFMywQeH.js";import{A as N}from"./AppLayout-N7yHjTE-.js";import{S as v}from"./StickyTwoColumns-Dtm-MBPw.js";import{S as R}from"./Section-CGoTZmfc.js";import{S as _}from"./Subscribe-CzwDuX5O.js";import{R as $}from"./RadioGroup-Cr8uB6YD.js";import{C as D,D as F}from"./CreateLayout-DmsNjcM5.js";import{P as U}from"./PrimaryButton-LXO9DGr1.js";import{_ as z}from"./Input-l-3H9jMp.js";import{u}from"./utils-rPh-9sn7.js";import{l as I}from"./index.m-DI45-rQC.js";import{P as G}from"./Paywall-BsGvZyHz.js";import{N as A}from"./NewBadge-CNeUWcWa.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./createLucideIcon-CbiM620t.js";import"./IconLogo-BWjhaVHj.js";import"./PremiumPlus-CIx7OfJd.js";import"./notedly-icon-DbWu2gcf.js";import"./SecondaryButton-BoTdGstA.js";import"./BaseButton-DVDEtT5S.js";import"./description-CuYjwT4H.js";import"./DialogModal-Bv7pGcKt.js";import"./ArrowRightIcon-DNTWyt5V.js";import"./RedAlert-BJFHrf-F.js";import"./BaseAlert-pB5-zJzh.js";import"./LinkText-DiM8h1kk.js";import"./YellowButton-CRtiPQLM.js";import"./paywall-limits-a10_fwDS.js";import"./radio-group-BMtPJhdG.js";import"./ValidationErrorAlert-CkAHp5tv.js";import"./fingerprint-BIn_sHuR.js";const q=h({name:"Create",components:{Paywall:G,Input:z,PrimaryButton:U,DocumentTypeRadio:F,CreateLayout:D,RadioGroup:$,GlobeIcon:P,PlayIcon:V,Link:S,Section:R,StickyTwoColumns:v,AppLayout:N,Subscribe:_,NewBadge:A},setup(){return{linkTypes:r}},data(){return{eligible:!0,triggerPaywall:!1,form:L({link:"",linkType:r[0].id,documentType:C(),fingerprint:""})}},methods:{submit(){this.eligible?(this.validateCorrectLinkType(),this.form.post(I("link.store"))):this.triggerPaywall=!0},validateCorrectLinkType(){this.form.linkType===r[1].id&&(u.isYouTubeURL(this.form.link)||(this.form.linkType=r[0].id,setTimeout(()=>{},500))),this.form.linkType===r[0].id&&u.isYouTubeURL(this.form.link)&&(this.form.linkType=r[1].id,setTimeout(()=>{},500))},setFingerprint(e){this.form.fingerprint=e}},watch:{"form.documentType"(e){w(e)}}}),j={class:"space-y-4"},E={class:"w-full"},H={class:"space-y-4"},J={class:"heading-sm"};function K(e,o,M,O,Q,W){const d=i("RadioGroup"),f=i("Input"),y=i("Paywall"),g=i("NewBadge"),c=i("DocumentTypeRadio"),T=i("PrimaryButton"),k=i("Subscribe"),b=i("CreateLayout");return l(),m(b,{submit:e.submit},{secondary:a(()=>[s("div",H,[s("p",J,[o[6]||(o[6]=p(" Note Style ")),n(g,{message:"Choose what format you want your notes in."})]),n(c,{modelValue:e.form.documentType,"onUpdate:modelValue":o[4]||(o[4]=t=>e.form.documentType=t)},null,8,["modelValue"]),n(T,{class:"w-full",loading:e.form.processing},{default:a(()=>o[7]||(o[7]=[p(" Summarize ")])),_:1},8,["loading"]),e.$page.props.showSubscribeCta?(l(),m(k,{key:0,secondary:!0,title:"Study 100x Faster 🚀",description:"Take your studying experience to the next level with Notedly Premium! You'll be able to summarize nearly unlimited content, and you'll be able to generate practice quizzes on your content. 💫✨"})):B("",!0)])]),default:a(()=>[n(y,{modelValue:e.eligible,"onUpdate:modelValue":o[2]||(o[2]=t=>e.eligible=t),show:e.triggerPaywall,onFingerprint:e.setFingerprint,onClose:o[3]||(o[3]=t=>e.triggerPaywall=!1),conditions:["unregistered-limit","free-tier-limit","premium-tier-limit"]},{default:a(()=>[s("div",j,[s("div",E,[n(d,{items:e.linkTypes,modelValue:e.form.linkType,"onUpdate:modelValue":o[0]||(o[0]=t=>e.form.linkType=t),horizontal:!0},null,8,["items","modelValue"])]),o[5]||(o[5]=s("label",{for:"link",class:"sr-only"},"Link",-1)),n(f,{modelValue:e.form.link,"onUpdate:modelValue":o[1]||(o[1]=t=>e.form.link=t),name:"link",type:"text",placeholder:"Paste link here to auto-generate notes...",class:"w-full"},null,8,["modelValue"])])]),_:1},8,["modelValue","show","onFingerprint"])]),_:1},8,["submit"])}const Re=Y(q,[["render",K]]);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.