GT2/GT2-iOS/node_modules/@expo/osascript/lib/index.js.map

1 line
10 KiB
Plaintext
Raw Normal View History

2018-02-12 17:26:06 +00:00
{"version":3,"sources":["../src/index.js"],"names":["script","opts","osascriptArgs","Object","assign","stdio","osascriptExecAsync","osascriptSpawnAsync","appName","zeroMeansNo","JSON","stringify","trim","isAppRunningAsync","e","safeIdOfAppAsync","dir","activate","openFinderToFolderAsync","pth","cmd","resolve","openInAppAsync","listOfAppNames","runningAwaitables","appIdAwaitables","push","running","Promise","all","appIds","i","length","chooseAppAsync","preferredEditor","appId","console","warn","editorsToTry","chooseEditorAppAsync","chooseTerminalAppAsync","log","openInEditorAsync","inspect","openItermToSpecificFolderAsync","inTab","openTerminalToSpecificFolderAsync","program","openFolderInTerminalAppAsync","isArray","args","line","module","exports","execAsync","spawnAsync"],"mappings":"AAAA;;;AAGA;;;;;;;6CAqBA,WAAkCA,MAAlC,EAA0CC,IAA1C,EAAgD;AAC9C,WAAO,MAAM,yBACX,WADW,EAEXC,cAAcF,MAAd,CAFW,EAGXG,OAAOC,MAAP,CAAc,EAAEC,OAAO,SAAT,EAAd,EAAoCJ,IAApC,CAHW,CAAb;AAKD,G;;kBANcK,kB;;;;;;8CAQf,WAAmCN,MAAnC,EAA2CC,IAA3C,EAAiD;AAC/C,WAAO,MAAM,0BAAW,WAAX,EAAwBC,cAAcF,MAAd,CAAxB,EAA+CC,IAA/C,CAAb;AACD,G;;kBAFcM,mB;;;;;;8CAIf,WAAiCC,OAAjC,EAA0C;AACxC,QAAIC,cAAc,CAAC,MAAMH,mBACvB,+DACEI,KAAKC,SAAL,CAAeH,OAAf,CAFqB,CAAP,EAGfI,IAHe,EAAlB;AAIA,WAAOH,gBAAgB,GAAvB;AACD,G;;kBANcI,iB;;;;;;8CAQf,WAAgCL,OAAhC,EAAyC;AACvC,QAAI;AACF,aAAO,CAAC,MAAMF,mBACZ,eAAeI,KAAKC,SAAL,CAAeH,OAAf,CADH,CAAP,EAEJI,IAFI,EAAP;AA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