Files
INTUIA/Programa final/_internal/share/jupyter/lab/static/4353.2fc2fc223680eaebc6cf.js
T

1 line
29 KiB
JavaScript
Raw Normal View History

2026-03-15 13:27:50 +00:00
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4353],{44353:(e,t,n)=>{n.r(t);n.d(t,{blockComment:()=>y,blockUncomment:()=>k,copyLineDown:()=>jt,copyLineUp:()=>_t,cursorCharBackward:()=>ue,cursorCharForward:()=>ce,cursorCharLeft:()=>ie,cursorCharRight:()=>ae,cursorDocEnd:()=>yt,cursorDocStart:()=>gt,cursorGroupBackward:()=>pe,cursorGroupForward:()=>me,cursorGroupLeft:()=>de,cursorGroupRight:()=>he,cursorLineBoundaryBackward:()=>Re,cursorLineBoundaryForward:()=>Ie,cursorLineBoundaryLeft:()=>Ve,cursorLineBoundaryRight:()=>Ne,cursorLineDown:()=>xe,cursorLineEnd:()=>Ge,cursorLineStart:()=>Ue,cursorLineUp:()=>De,cursorMatchingBracket:()=>Fe,cursorPageDown:()=>Te,cursorPageUp:()=>be,cursorSubwordBackward:()=>Se,cursorSubwordForward:()=>we,cursorSyntaxLeft:()=>Ce,cursorSyntaxRight:()=>Be,defaultKeymap:()=>an,deleteCharBackward:()=>xt,deleteCharBackwardStrict:()=>Lt,deleteCharForward:()=>Mt,deleteGroupBackward:()=>Tt,deleteGroupForward:()=>Ot,deleteLine:()=>Kt,deleteLineBoundaryBackward:()=>Vt,deleteLineBoundaryForward:()=>Nt,deleteToLineEnd:()=>It,deleteToLineStart:()=>Rt,deleteTrailingWhitespace:()=>Ut,emacsStyleKeymap:()=>ln,history:()=>T,historyField:()=>O,historyKeymap:()=>ee,indentLess:()=>rn,indentMore:()=>nn,indentSelection:()=>tn,indentWithTab:()=>cn,insertBlankLine:()=>Yt,insertNewline:()=>$t,insertNewlineAndIndent:()=>Xt,insertNewlineKeepIndent:()=>qt,insertTab:()=>on,invertedEffects:()=>L,isolateHistory:()=>x,lineComment:()=>m,lineUncomment:()=>p,moveLineDown:()=>zt,moveLineUp:()=>Ht,redo:()=>V,redoDepth:()=>F,redoSelection:()=>U,selectAll:()=>St,selectCharBackward:()=>Ke,selectCharForward:()=>je,selectCharLeft:()=>We,selectCharRight:()=>_e,selectDocEnd:()=>wt,selectDocStart:()=>kt,selectGroupBackward:()=>Ye,selectGroupForward:()=>Xe,selectGroupLeft:()=>qe,selectGroupRight:()=>Qe,selectLine:()=>vt,selectLineBoundaryBackward:()=>ft,selectLineBoundaryForward:()=>ut,selectLineBoundaryLeft:()=>dt,selectLineBoundaryRight:()=>ht,selectLineDown:()=>st,selectLineEnd:()=>pt,selectLineStart:()=>mt,selectLineUp:()=>lt,selectMatchingBracket:()=>Pe,selectPageDown:()=>ct,selectPageUp:()=>at,selectParentSyntax:()=>At,selectSubwordBackward:()=>tt,selectSubwordForward:()=>et,selectSyntaxLeft:()=>nt,selectSyntaxRight:()=>rt,simplifySelection:()=>Ct,splitLine:()=>Gt,standardKeymap:()=>sn,toggleBlockComment:()=>g,toggleBlockCommentByLine:()=>w,toggleComment:()=>f,toggleLineComment:()=>h,transposeChars:()=>Jt,undo:()=>R,undoDepth:()=>J,undoSelection:()=>N});var r=n(71674);var o=n.n(r);var l=n(22819);var s=n.n(l);var i=n(4452);var a=n.n(i);var c=n(66575);var u=n.n(c);const f=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=S(e.state,n.from);return r.line?h(e):r.block?w(e):false};function d(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return false;let o=e(t,n);if(!o)return false;r(n.update(o));return true}}const h=d(E,0);const m=d(E,1);const p=d(E,2);const g=d(B,0);const y=d(B,1);const k=d(B,2);const w=d(((e,t)=>B(e,t,C(t))),0);function S(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const v=50;function A(e,{open:t,close:n},r,o){let l=e.sliceDoc(r-v,r);let s=e.sliceDoc(o,o+v);let i=/\s*$/.exec(l)[0].length,a=/^\s*/.exec(s)[0].length;let c=l.length-i;if(l.slice(c-t.length,c)==t&&s.slice(a,a+n.length)==n){return{open:{pos:r-i,margin:i&&1},close:{pos:o+a,margin:a&&1}}}let u,f;if(o-r<=2*v){u=f=e.sliceDoc(r,o)}else{u=e.sliceDoc(r,r+v);f=e.sliceDoc(o-v,o)}let d=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(f)[0].length;let m=f.length-h-n.length;if(u.slice(d,d+t.length)==t&&f.slice(m,m+n.length)==n){return{open:{pos:r+d+t.length,margin:/\s/.test(u.charAt(d+t.length))?1:0},close:{pos:o-h-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}}return null}function C(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from);let o=n.to<=r.to?r:e.doc.lineAt(n.to);let l=t.length-1;if(l>=0&&t[l].to>r.from)t[l].to=o.to;else t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}function B(e,t,n=t.selection.ranges){let r=n.map((e=