PageSourceSearch

https://simplisticnotes.vercel.app/_next/static/chunks/pages/app/notes-7be5b6d0c16f820e.js

js simplisticnotes.vercel.app collected 2026-10-03 07:43:39 UTC 12,887 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66],{2570:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/notes",function(){return r(594)}])},202:function(e,t,r){"use strict";var n=r(5893),l=r(1664),a=r.n(l);r(7294),t.Z=function(e){let{links:t=[]}=e;return(0,n.jsx)("div",{className:"breadcrumbs -translate-y-6",children:(0,n.jsx)("ul",{children:t.map((e,r)=>r===t.length-1?(0,n.jsx)("li",{children:e.title},r):(0,n.jsx)("li",{children:(0,n.jsx)(a(),{className:"text-blue-500",href:e.href,children:e.title})},r))})})}},8920:function(e,t,r){"use strict";var n=r(5893);r(7294);var l=r(4136);let a=e=>{let{icon:t,label:r,onClick:a,disabled:i=!1}=e,{toggleUpgradeModal:o}=(0,l.v)(),s=e=>{e.preventDefault(),o()};return(0,n.jsxs)("li",{className:["flex items-center flex-row gap-2 text-primary hover:bg-slate-200 p-2 rounded cursor-pointer",i?"bg-slate-200 cursor-not-allowed":null].join(" "),onClick:e=>i?s(e):a(e),children:[(0,n.jsx)(t,{className:"w-4 p-0"})," ",r]})};t.Z=a},5370:function(e,t,r){"use strict";var n=r(5893),l=r(6812);r(7294);let a=e=>{let{children:t,className:r}=e;return(0,n.jsxs)("div",{className:"dropdown ".concat(r),children:[(0,n.jsx)("label",{tabIndex:0,className:"cursor-pointer",onClick(e){e.preventDefault()},children:(0,n.jsx)(l.Z,{className:"w-6 hover:bg-slate-200 rounded-full"})}),(0,n.jsx)("ul",{tabIndex:0,className:"dropdown-content menu p-2 shadow-lg border-2 border-primary bg-base-100 rounded w-32 right-0 sm:-right-28",children:t})]})};t.Z=a},4116:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(5893),l=r(1664),a=r.n(l),i=r(7294);let o=i.forwardRef(function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.217 10.9
107a2.25 2.25 0 100 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186l9.566-5.314m-9.566 7.5l9.566 5.314m0 0a2.25 2.25 0 103.935 2.186 2.25 2.25 0 00-3.935-2.186zm0-12.814a2.25 2.25 0 103.933-2.185 2.25 2.25 0 00-3.933 2.185z"}))});var s=r(6249),c=r(5872),d=r(5370),u=r(8920),f=r(6304),h=function(e){let{children:t,href:r,disabled:l,className:i,onDelete:h,onShare:m,onRestore:w,onDeleteTrash:v}=e,p=(0,f.K)(),x=e=>t=>{t.preventDefault(),e()},g=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(d.Z,{className:"absolute top-0 right-2",children:[m&&(0,n.jsx)(u.Z,{disabled:"FREE"===p.getUserPlan(),icon:o,label:"Share",onClick:x(m)}),h&&(0,n.jsx)(u.Z,{icon:s.Z,label:"Delete",onClick:x(h)}),w&&(0,n.jsx)(u.Z,{icon:c.Z,label:"Restore",onClick:x(w)}),v&&(0,n.jsx)(u.Z,{icon:s.Z,label:"Delete",onClick:x(v)})]}),t]}),b=["relative gap-3 xs:w-48 w-full  flex flex-col items-center py-4 px-2 cursor-pointer shadow hover:shadow-lg hover:border-2 hover:border-primary border border-slate-200",i].join(" ");return l?(0,n.jsx)("div",{className:b,children:g}):(0,n.jsx)(a(),{href:r||"#",className:b,children:g})}},5635:function(e,t,r){"use strict";var n=r(5893);r(7294),t.Z=function(e){let{onClick:t}=e;return(0,n.jsx)("div",{onClick:t,className:"border-8 flex items-center justify-center text-6xl text-secondary cursor-pointer border-secondary xs:w-48 w-full min-h-[8rem]",children:"+"})}},1329:function(e,t,r){"use strict";var n=r(5893),l=r(5675),a=r.n(l),i=r(4136),o=r(4116);t.Z=function(e){let{note:t,disabled:r,canDelete:l=!0,canShare:s=!0,canRestore:c=!1,canDeleteTrash:d=!1}=e,{toggleDeleteItemModal:u,toggleNoteShareModal:f,toggleRestoreNoteModal:h,toggleDeleteTrashModal:m}=(0,i.v)();return(0,n.jsxs)(o.Z,{disabled:r,href:"/app/notes/".concat(t.id),onDelete:l?()=>{u(t.id,"Note")}:null,onShare:s?()=>{f(t.id)}:null,onRestore:c?()=>{h(t.id)}:null,onDeleteTrash:d?()=>{m(t.id)}:null,children:[(0,n.jsx)(a(),{src:"/note-item.svg",width:50,height:50,alt:"Note Name"}),(0,n.jsx)("p",{className:"font-medium text-lg text-center",children:t.name})]})}},594:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return u}});var n=r(5893);r(7294);var l=r(5169),a=r(1329),i=r(202),o=r(4136),s=r(5635);r(8625);var c=r(8),d=r(2251),u=!0;t.default=function(e){let{}=e,{toggleCreateNoteModal:t}=(0,o.v)(),{notes:r}=(0,d.L)();return(0,n.jsxs)(l.Z,{heading:"Notes",children:[(0,n.jsx)(c.Z,{title:"Notes - Simplistic Notes",description:"Simplistic Notes offers affordable pricing plans to suit your note-taking needs, including a free plan with no credit card required. Choose the plan that's right for you and start taking notes with peace of mind"}),(0,n.jsx)(i.Z,{links:[{href:"/app",title:"Dashboard"},{title:"Notes"}]}),(0,n.jsxs)("section",{children:[(0,n.jsx)("h2",{className:"text-2xl font-semibold",children:"Your Notes"}),(0,n.jsxs)("section",{className:"flex gap-8 mt-7 flex-wrap",children:[r.map(e=>(0,n.jsx)(a.Z,{note:e},e.id)),(0,n.jsx)(s.Z,{onClick:()=>t()})]})]})]})}},2416:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75"}))});t.Z=l},5872:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 00-2.25 2.25v9a2.25 2.25 0 002.25 2.25h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25H15m0-3l-3-3m0 0l-3 3m3-3V15"}))});t.Z=l},3407:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});t.Z=l},9239:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"}))});t.Z=l},3306:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.666 3.888A2.25 2.25 0 0013.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 01-.75.75H9a.75.75 0 01-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 01-2.25 2.25H6.75A2.25 2.25 0 014.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 011.927-.184"}))});t.Z=l},6812:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"}))});t.Z=l},8547:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"}))});t.Z=l},2237:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12l8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}))});t.Z=l},8974:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"}))});t.Z=l},3901:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"}))});t.Z=l},6249:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))});t.Z=l},97:function(e,t,r){"use strict";var n=r(7294);let l=n.forwardRef(function({title:e,titleId:t,...r},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"}))});t.Z=l}},function(e){e.O(0,[664,959,922,774,888,179],function(){return e(e.s=2570)}),_N_E=e.O()}]);

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.