FifiTheBulldog

prototype-extensions.js Formatted (Scriptable)

Jul 2nd, 2021
1,089
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Alert.toString = function() {
  2.     return "function Alert() {\n    [native code]\n}"
  3. }
  4.  
  5. Alert.prototype.toString = function() {
  6.     return "[object Alert]"
  7. }
  8.  
  9. Alert.prototype._scriptable_keys = function() {
  10.     return [
  11.         "title",
  12.         "message",
  13.         "addAction",
  14.         "addDestructiveAction",
  15.         "addCancelAction",
  16.         "addTextField",
  17.         "addSecureTextField",
  18.         "textFieldValue",
  19.         "present",
  20.         "presentAlert",
  21.         "presentSheet"
  22.     ]
  23. }
  24.  
  25. Alert.prototype._scriptable_values = function() {
  26.     return [
  27.         this.title,
  28.         this.message,
  29.         null,
  30.         null,
  31.         null,
  32.         null,
  33.         null,
  34.         null,
  35.         null,
  36.         null,
  37.         null
  38.     ]
  39. }
  40.  
  41. Alert.prototype.toJSON = function() {
  42.     return {
  43.         title: this.title,
  44.         message: this.message
  45.     }
  46. }
  47.  
  48. Calendar.toString = function() {
  49.     return "function Calendar() {\n    [native code]\n}"
  50. }
  51.  
  52. Calendar.prototype.toString = function() {
  53.     return "[object Calendar]"
  54. }
  55.  
  56. Calendar.prototype._scriptable_keys = function() {
  57.     return [
  58.         "identifier",
  59.         "title",
  60.         "isSubscribed",
  61.         "allowsContentModifications",
  62.         "color",
  63.         "supportsAvailability",
  64.         "save",
  65.         "remove",
  66.         "forReminders",
  67.         "forEvents",
  68.         "forRemindersByTitle",
  69.         "forEventsByTitle",
  70.         "createForReminders",
  71.         "findOrCreateForReminders",
  72.         "defaultForReminders",
  73.         "defaultForEvents",
  74.         "presentPicker"
  75.     ]
  76. }
  77.  
  78. Calendar.prototype._scriptable_values = function() {
  79.     let e = this;
  80.     return [
  81.         e.identifier,
  82.         e.title,
  83.         e.isSubscribed,
  84.         e.allowsContentModifications,
  85.         e.color,
  86.         null,
  87.         null,
  88.         null,
  89.         null,
  90.         null,
  91.         null,
  92.         null,
  93.         null,
  94.         null,
  95.         null,
  96.         null,
  97.         null
  98.     ]
  99. }
  100.  
  101. Calendar.prototype.toJSON = function() {
  102.     let e = this;
  103.     return {
  104.         identifier: e.identifier,
  105.         title: e.title,
  106.         isSubscribed: e.isSubscribed,
  107.         allowsContentModifications: e.allowsContentModifications,
  108.         color: e.color
  109.     }
  110. }
  111.  
  112. CalendarEvent.toString = function() {
  113.     return "function CalendarEvent() {\n    [native code]\n}"
  114. }
  115.  
  116. CalendarEvent.prototype.toString = function() {
  117.     return "[object CalendarEvent]"
  118. }
  119.  
  120. CalendarEvent.prototype._scriptable_keys = function() {
  121.     return [
  122.         "identifier",
  123.         "title",
  124.         "location",
  125.         "notes",
  126.         "startDate",
  127.         "endDate",
  128.         "isAllDay",
  129.         "attendees",
  130.         "availability",
  131.         "timeZone",
  132.         "calendar",
  133.         "addRecurrenceRule",
  134.         "removeAllRecurrenceRules",
  135.         "save",
  136.         "remove",
  137.         "presentEdit",
  138.         "presentCreate",
  139.         "today",
  140.         "tomorrow",
  141.         "yesterday",
  142.         "thisWeek",
  143.         "nextWeek",
  144.         "lastWeek",
  145.         "between"
  146.     ]
  147. }
  148.  
  149. CalendarEvent.prototype._scriptable_values = function() {
  150.     let e = this;
  151.     return [
  152.         e.identifier,
  153.         e.title,
  154.         e.location,
  155.         e.notes,
  156.         e.startDate,
  157.         e.endDate,
  158.         e.isAllDay,
  159.         e.attendees,
  160.         e.availability,
  161.         e.timeZone,
  162.         e.calendar,
  163.         null,
  164.         null,
  165.         null,
  166.         null,
  167.         null,
  168.         null,
  169.         null,
  170.         null,
  171.         null,
  172.         null,
  173.         null,
  174.         null,
  175.         null
  176.     ]
  177. }
  178.  
  179. CalendarEvent.prototype.toJSON = function() {
  180.     let e = this;
  181.     return {
  182.         identifier: e.identifier,
  183.         title: e.title,
  184.         location: e.location,
  185.         notes: e.notes,
  186.         startDate: e.startDate,
  187.         endDate: e.endDate,
  188.         isAllDay: e.isAllDay,
  189.         attendees: e.attendees,
  190.         availability: e.availability,
  191.         timeZone: e.timeZone,
  192.         calendar: e.calendar
  193.     }
  194. }
  195.  
  196. CallbackURL.toString = function() {
  197.     return "function CallbackURL() {\n    [native code]\n}"
  198. }
  199.  
  200. CallbackURL.prototype.toString = function() {
  201.     return "[object CallbackURL]"
  202. }
  203.  
  204. CallbackURL.prototype._scriptable_keys = function() {
  205.     return [
  206.         "addParameter",
  207.         "open",
  208.         "getURL"
  209.     ]
  210. }
  211.  
  212. CallbackURL.prototype._scriptable_values = function() {
  213.     return [
  214.         null,
  215.         null,
  216.         null
  217.     ]
  218. }
  219.  
  220. CallbackURL.prototype.toJSON = function() {
  221.     return {}
  222. }
  223.  
  224. Color.toString = function() {
  225.     return "function Color() {\n    [native code]\n}"
  226. }
  227.  
  228. Color.prototype.toString = function() {
  229.     return "[object Color]"
  230. }
  231.  
  232. Color.prototype._scriptable_keys = function() {
  233.     return [
  234.         "hex",
  235.         "red",
  236.         "green",
  237.         "blue",
  238.         "alpha",
  239.         "black",
  240.         "darkGray",
  241.         "lightGray",
  242.         "white",
  243.         "gray",
  244.         "red",
  245.         "green",
  246.         "blue",
  247.         "cyan",
  248.         "yellow",
  249.         "magenta",
  250.         "orange",
  251.         "purple",
  252.         "brown",
  253.         "clear",
  254.         "dynamic"
  255.     ]
  256. }
  257.  
  258. Color.prototype._scriptable_values = function() {
  259.     let e = this;
  260.     return [
  261.         e.hex,
  262.         e.red,
  263.         e.green,
  264.         e.blue,
  265.         e.alpha,
  266.         null,
  267.         null,
  268.         null,
  269.         null,
  270.         null,
  271.         null,
  272.         null,
  273.         null,
  274.         null,
  275.         null,
  276.         null,
  277.         null,
  278.         null,
  279.         null,
  280.         null,
  281.         null
  282.     ]
  283. }
  284.  
  285. Color.prototype.toJSON = function() {
  286.     let e = this;
  287.     return {
  288.         hex: e.hex,
  289.         red: e.red,
  290.         green: e.green,
  291.         blue: e.blue,
  292.         alpha: e.alpha
  293.     }
  294. }
  295.  
  296. Contact.toString = function() {
  297.     return "function Contact() {\n    [native code]\n}"
  298. }
  299.  
  300. Contact.prototype.toString = function() {
  301.     return "[object Contact]"
  302. }
  303.  
  304. Contact.prototype._scriptable_keys = function() {
  305.     return [
  306.         "identifier",
  307.         "namePrefix",
  308.         "givenName",
  309.         "middleName",
  310.         "familyName",
  311.         "nickname",
  312.         "birthday",
  313.         "image",
  314.         "emailAddresses",
  315.         "phoneNumbers",
  316.         "postalAddresses",
  317.         "socialProfiles",
  318.         "note",
  319.         "urlAddresses",
  320.         "dates",
  321.         "organizationName",
  322.         "departmentName",
  323.         "jobTitle",
  324.         "isNamePrefixAvailable",
  325.         "isGiveNameAvailable",
  326.         "isMiddleNameAvailable",
  327.         "isFamilyNameAvailable",
  328.         "isNicknameAvailable",
  329.         "isBirthdayAvailable",
  330.         "isEmailAddressesAvailable",
  331.         "isPhoneNumbersAvailable",
  332.         "isPostalAddressesAvailable",
  333.         "isSocialProfilesAvailable",
  334.         "isImageAvailable",
  335.         "isNoteAvailable",
  336.         "isURLAddressesAvailable",
  337.         "isOrganizationNameAvailable",
  338.         "isDepartmentNameAvailable",
  339.         "isJobTitleAvailable",
  340.         "isDatesAvailable",
  341.         "all",
  342.         "inGroups",
  343.         "add",
  344.         "update",
  345.         "delete",
  346.         "persistChanges"
  347.     ]
  348. }
  349.  
  350. Contact.prototype._scriptable_values = function() {
  351.     let e = this;
  352.     return [
  353.         e.identifier,
  354.         e.namePrefix,
  355.         e.givenName,
  356.         e.middleName,
  357.         e.familyName,
  358.         e.nickname,
  359.         e.birthday,
  360.         e.image,
  361.         e.emailAddresses,
  362.         e.phoneNumbers,
  363.         e.postalAddresses,
  364.         e.socialProfiles,
  365.         e.note,
  366.         e.urlAddresses,
  367.         e.dates,
  368.         e.organizationName,
  369.         e.departmentName,
  370.         e.jobTitle,
  371.         e.isNamePrefixAvailable,
  372.         e.isGiveNameAvailable,
  373.         e.isMiddleNameAvailable,
  374.         e.isFamilyNameAvailable,
  375.         e.isNicknameAvailable,
  376.         e.isBirthdayAvailable,
  377.         e.isEmailAddressesAvailable,
  378.         e.isPhoneNumbersAvailable,
  379.         e.isPostalAddressesAvailable,
  380.         e.isSocialProfilesAvailable,
  381.         e.isImageAvailable,
  382.         e.isNoteAvailable,
  383.         e.isURLAddressesAvailable,
  384.         e.isOrganizationNameAvailable,
  385.         e.isDepartmentNameAvailable,
  386.         e.isJobTitleAvailable,
  387.         e.isDatesAvailable,
  388.         null,
  389.         null,
  390.         null,
  391.         null,
  392.         null,
  393.         null
  394.     ]
  395. }
  396.  
  397. Contact.prototype.toJSON = function() {
  398.     let e = this;
  399.     return {
  400.         identifier: e.identifier,
  401.         namePrefix: e.namePrefix,
  402.         givenName: e.givenName,
  403.         middleName: e.middleName,
  404.         familyName: e.familyName,
  405.         nickname: e.nickname,
  406.         birthday: e.birthday,
  407.         image: e.image,
  408.         emailAddresses: e.emailAddresses,
  409.         phoneNumbers: e.phoneNumbers,
  410.         postalAddresses: e.postalAddresses,
  411.         socialProfiles: e.socialProfiles,
  412.         note: e.note,
  413.         urlAddresses: e.urlAddresses,
  414.         dates: e.dates,
  415.         organizationName: e.organizationName,
  416.         departmentName: e.departmentName,
  417.         jobTitle: e.jobTitle,
  418.         isNamePrefixAvailable: e.isNamePrefixAvailable,
  419.         isGiveNameAvailable: e.isGiveNameAvailable,
  420.         isMiddleNameAvailable: e.isMiddleNameAvailable,
  421.         isFamilyNameAvailable: e.isFamilyNameAvailable,
  422.         isNicknameAvailable: e.isNicknameAvailable,
  423.         isBirthdayAvailable: e.isBirthdayAvailable,
  424.         isEmailAddressesAvailable: e.isEmailAddressesAvailable,
  425.         isPhoneNumbersAvailable: e.isPhoneNumbersAvailable,
  426.         isPostalAddressesAvailable: e.isPostalAddressesAvailable,
  427.         isSocialProfilesAvailable: e.isSocialProfilesAvailable,
  428.         isImageAvailable: e.isImageAvailable,
  429.         isNoteAvailable: e.isNoteAvailable,
  430.         isURLAddressesAvailable: e.isURLAddressesAvailable,
  431.         isOrganizationNameAvailable: e.isOrganizationNameAvailable,
  432.         isDepartmentNameAvailable: e.isDepartmentNameAvailable,
  433.         isJobTitleAvailable: e.isJobTitleAvailable,
  434.         isDatesAvailable: e.isDatesAvailable
  435.     }
  436. }
  437.  
  438. ContactsContainer.toString = function() {
  439.     return "function ContactsContainer() {\n    [native code]\n}"
  440. }
  441.  
  442. ContactsContainer.prototype.toString = function() {
  443.     return "[object ContactsContainer]"
  444. }
  445.  
  446. ContactsContainer.prototype._scriptable_keys = function() {
  447.     return [
  448.         "identifier",
  449.         "name",
  450.         "default",
  451.         "all",
  452.         "withIdentifier"
  453.     ]
  454. }
  455.  
  456. ContactsContainer.prototype._scriptable_values = function() {
  457.     return [
  458.         this.identifier,
  459.         this.name,
  460.         null,
  461.         null,
  462.         null
  463.     ]
  464. }
  465.  
  466. ContactsContainer.prototype.toJSON = function() {
  467.     return {
  468.         identifier: this.identifier,
  469.         name: this.name
  470.     }
  471. }
  472.  
  473. ContactsGroup.toString = function() {
  474.     return "function ContactsGroup() {\n    [native code]\n}"
  475. }
  476.  
  477. ContactsGroup.prototype.toString = function() {
  478.     return "[object ContactsGroup]"
  479. }
  480.  
  481. ContactsGroup.prototype._scriptable_keys = function() {
  482.     return [
  483.         "identifier",
  484.         "name",
  485.         "all",
  486.         "addMember",
  487.         "removeMember",
  488.         "add",
  489.         "update",
  490.         "delete"
  491.     ]
  492. }
  493.  
  494. ContactsGroup.prototype._scriptable_values = function() {
  495.     return [
  496.         this.identifier,
  497.         this.name,
  498.         null,
  499.         null,
  500.         null,
  501.         null,
  502.         null,
  503.         null
  504.     ]
  505. }
  506.  
  507. ContactsGroup.prototype.toJSON = function() {
  508.     return {
  509.         identifier: this.identifier,
  510.         name: this.name
  511.     }
  512. }
  513.  
  514. Data.toString = function() {
  515.     return "function Data() {\n    [native code]\n}"
  516. }
  517.  
  518. Data.prototype.toString = function() {
  519.     return "[object Data]"
  520. }
  521.  
  522. Data.prototype._scriptable_keys = function() {
  523.     return [
  524.         "fromString",
  525.         "fromFile",
  526.         "fromBase64String",
  527.         "fromJPEG",
  528.         "fromPNG",
  529.         "toRawString",
  530.         "toBase64String",
  531.         "getBytes"
  532.     ]
  533. }
  534.  
  535. Data.prototype._scriptable_values = function() {
  536.     return [
  537.         null,
  538.         null,
  539.         null,
  540.         null,
  541.         null,
  542.         null,
  543.         null,
  544.         null
  545.     ]
  546. }
  547.  
  548. Data.prototype.toJSON = function() {
  549.     return {}
  550. }
  551.  
  552. DateFormatter.toString = function() {
  553.     return "function DateFormatter() {\n    [native code]\n}"
  554. }
  555.  
  556. DateFormatter.prototype.toString = function() {
  557.     return "[object DateFormatter]"
  558. }
  559.  
  560. DateFormatter.prototype._scriptable_keys = function() {
  561.     return [
  562.         "dateFormat",
  563.         "locale",
  564.         "string",
  565.         "date",
  566.         "useNoDateStyle",
  567.         "useShortDateStyle",
  568.         "useMediumDateStyle",
  569.         "useLongDateStyle",
  570.         "useFullDateStyle",
  571.         "useNoTimeStyle",
  572.         "useShortTimeStyle",
  573.         "useMediumTimeStyle",
  574.         "useLongTimeStyle",
  575.         "useFullTimeStyle"
  576.     ]
  577. }
  578.  
  579. DateFormatter.prototype._scriptable_values = function() {
  580.     return [
  581.         this.dateFormat,
  582.         this.locale,
  583.         null,
  584.         null,
  585.         null,
  586.         null,
  587.         null,
  588.         null,
  589.         null,
  590.         null,
  591.         null,
  592.         null,
  593.         null,
  594.         null
  595.     ]
  596. }
  597.  
  598. DateFormatter.prototype.toJSON = function() {
  599.     return {
  600.         dateFormat: this.dateFormat,
  601.         locale: this.locale
  602.     }
  603. }
  604.  
  605. DatePicker.toString = function() {
  606.     return "function DatePicker() {\n    [native code]\n}"
  607. }
  608.  
  609. DatePicker.prototype.toString = function() {
  610.     return "[object DatePicker]"
  611. }
  612.  
  613. DatePicker.prototype._scriptable_keys = function() {
  614.     return [
  615.         "minimumDate",
  616.         "maximumDate",
  617.         "countdownDuration",
  618.         "minuteInterval",
  619.         "initialDate",
  620.         "pickTime",
  621.         "pickDate",
  622.         "pickDateAndTime",
  623.         "pickCountdownDuration"
  624.     ]
  625. }
  626.  
  627. DatePicker.prototype._scriptable_values = function() {
  628.     let e = this;
  629.     return [
  630.         e.minimumDate,
  631.         e.maximumDate,
  632.         e.countdownDuration,
  633.         e.minuteInterval,
  634.         e.initialDate,
  635.         null,
  636.         null,
  637.         null,
  638.         null
  639.     ]
  640. }
  641.  
  642. DatePicker.prototype.toJSON = function() {
  643.     let e = this;
  644.     return {
  645.         minimumDate: e.minimumDate,
  646.         maximumDate: e.maximumDate,
  647.         countdownDuration: e.countdownDuration,
  648.         minuteInterval: e.minuteInterval,
  649.         initialDate: e.initialDate
  650.     }
  651. }
  652.  
  653. Device.toString = function() {
  654.     return "function Device() {\n    [native code]\n}"
  655. }
  656.  
  657. Device.prototype.toString = function() {
  658.     return "[object Device]"
  659. }
  660.  
  661. Device.prototype._scriptable_keys = function() {
  662.     return [
  663.         "name",
  664.         "systemName",
  665.         "systemVersion",
  666.         "model",
  667.         "isPhone",
  668.         "isPad",
  669.         "screenSize",
  670.         "screenResolution",
  671.         "screenScale",
  672.         "screenBrightness",
  673.         "isInPortrait",
  674.         "isInPortraitUpsideDown",
  675.         "isInLandscapeLeft",
  676.         "isInLandscapeRight",
  677.         "isFaceUp",
  678.         "isFaceDown",
  679.         "batteryLevel",
  680.         "isDischarging",
  681.         "isCharging",
  682.         "isFullyCharged",
  683.         "preferredLanguages",
  684.         "locale",
  685.         "language",
  686.         "isUsingDarkAppearance",
  687.         "volume",
  688.         "setScreenBrightness"
  689.     ]
  690. }
  691.  
  692. Device.prototype._scriptable_values = function() {
  693.     return [
  694.         null,
  695.         null,
  696.         null,
  697.         null,
  698.         null,
  699.         null,
  700.         null,
  701.         null,
  702.         null,
  703.         null,
  704.         null,
  705.         null,
  706.         null,
  707.         null,
  708.         null,
  709.         null,
  710.         null,
  711.         null,
  712.         null,
  713.         null,
  714.         null,
  715.         null,
  716.         null,
  717.         null,
  718.         null,
  719.         null
  720.     ]
  721. }
  722.  
  723. Device.prototype.toJSON = function() {
  724.     return {}
  725. }
  726.  
  727. Dictation.toString = function() {
  728.     return "function Dictation() {\n    [native code]\n}"
  729. }
  730.  
  731. Dictation.prototype.toString = function() {
  732.     return "[object Dictation]"
  733. }
  734.  
  735. Dictation.prototype._scriptable_keys = function() {
  736.     return [
  737.         "start"
  738.     ]
  739. }
  740.  
  741. Dictation.prototype._scriptable_values = function() {
  742.     return [
  743.         null
  744.     ]
  745. }
  746.  
  747. Dictation.prototype.toJSON = function() {
  748.     return {}
  749. }
  750.  
  751. DocumentPicker.toString = function() {
  752.     return "function DocumentPicker() {\n    [native code]\n}"
  753. }
  754.  
  755. DocumentPicker.prototype.toString = function() {
  756.     return "[object DocumentPicker]"
  757. }
  758.  
  759. DocumentPicker.prototype._scriptable_keys = function() {
  760.     return [
  761.         "open",
  762.         "openFile",
  763.         "openFolder",
  764.         "export",
  765.         "exportString",
  766.         "exportImage",
  767.         "exportData"
  768.     ]
  769. }
  770.  
  771. DocumentPicker.prototype._scriptable_values = function() {
  772.     return [
  773.         null,
  774.         null,
  775.         null,
  776.         null,
  777.         null,
  778.         null,
  779.         null
  780.     ]
  781. }
  782.  
  783. DocumentPicker.prototype.toJSON = function() {
  784.     return {}
  785. }
  786.  
  787. DrawContext.toString = function() {
  788.     return "function DrawContext() {\n    [native code]\n}"
  789. }
  790.  
  791. DrawContext.prototype.toString = function() {
  792.     return "[object DrawContext]"
  793. }
  794.  
  795. DrawContext.prototype._scriptable_keys = function() {
  796.     return [
  797.         "size",
  798.         "respectScreenScale",
  799.         "opaque",
  800.         "getImage",
  801.         "drawImageInRect",
  802.         "drawImageAtPoint",
  803.         "setFillColor",
  804.         "setStrokeColor",
  805.         "setLineWidth",
  806.         "fill",
  807.         "fillRect",
  808.         "fillEllipse",
  809.         "stroke",
  810.         "strokeRect",
  811.         "strokeEllipse",
  812.         "addPath",
  813.         "strokePath",
  814.         "fillPath",
  815.         "drawText",
  816.         "drawTextInRect",
  817.         "setFontSize",
  818.         "setFont",
  819.         "setTextColor",
  820.         "setTextAlignedLeft",
  821.         "setTextAlignedCenter",
  822.         "setTextAlignedRight"
  823.     ]
  824. }
  825.  
  826. DrawContext.prototype._scriptable_values = function() {
  827.     return [
  828.         this.size,
  829.         this.respectScreenScale,
  830.         this.opaque,
  831.         null,
  832.         null,
  833.         null,
  834.         null,
  835.         null,
  836.         null,
  837.         null,
  838.         null,
  839.         null,
  840.         null,
  841.         null,
  842.         null,
  843.         null,
  844.         null,
  845.         null,
  846.         null,
  847.         null,
  848.         null,
  849.         null,
  850.         null,
  851.         null,
  852.         null,
  853.         null
  854.     ]
  855. }
  856.  
  857. DrawContext.prototype.toJSON = function() {
  858.     return {
  859.         size: this.size,
  860.         respectScreenScale: this.respectScreenScale,
  861.         opaque: this.opaque
  862.     }
  863. }
  864.  
  865. FileManager.toString = function() {
  866.     return "function FileManager() {\n    [native code]\n}"
  867. }
  868.  
  869. FileManager.prototype.toString = function() {
  870.     return "[object FileManager]"
  871. }
  872.  
  873. FileManager.prototype._scriptable_keys = function() {
  874.     return [
  875.         "local",
  876.         "iCloud",
  877.         "read",
  878.         "readString",
  879.         "readImage",
  880.         "write",
  881.         "writeString",
  882.         "writeImage",
  883.         "remove",
  884.         "move",
  885.         "copy",
  886.         "fileExists",
  887.         "isDirectory",
  888.         "createDirectory",
  889.         "temporaryDirectory",
  890.         "cacheDirectory",
  891.         "documentsDirectory",
  892.         "libraryDirectory",
  893.         "joinPath",
  894.         "allTags",
  895.         "addTag",
  896.         "removeTag",
  897.         "readExtendedAttribute",
  898.         "writeExtendedAttribute",
  899.         "removeExtendedAttribute",
  900.         "allExtendedAttributes",
  901.         "getUTI",
  902.         "listContents",
  903.         "fileName",
  904.         "fileExtension",
  905.         "bookmarkedPath",
  906.         "bookmarkExists",
  907.         "downloadFileFromiCloud",
  908.         "isFileStoredIniCloud",
  909.         "isFileDownloaded",
  910.         "creationDate",
  911.         "modificationDate",
  912.         "fileSize",
  913.         "allFileBookmarks"
  914.     ]
  915. }
  916.  
  917. FileManager.prototype._scriptable_values = function() {
  918.     return [
  919.         null,
  920.         null,
  921.         null,
  922.         null,
  923.         null,
  924.         null,
  925.         null,
  926.         null,
  927.         null,
  928.         null,
  929.         null,
  930.         null,
  931.         null,
  932.         null,
  933.         null,
  934.         null,
  935.         null,
  936.         null,
  937.         null,
  938.         null,
  939.         null,
  940.         null,
  941.         null,
  942.         null,
  943.         null,
  944.         null,
  945.         null,
  946.         null,
  947.         null,
  948.         null,
  949.         null,
  950.         null,
  951.         null,
  952.         null,
  953.         null,
  954.         null,
  955.         null,
  956.         null,
  957.         null
  958.     ]
  959. }
  960.  
  961. FileManager.prototype.toJSON = function() {
  962.     return {}
  963. }
  964.  
  965. Font.toString = function() {
  966.     return "function Font() {\n    [native code]\n}"
  967. }
  968.  
  969. Font.prototype.toString = function() {
  970.     return "[object Font]"
  971. }
  972.  
  973. Font.prototype._scriptable_keys = function() {
  974.     return [
  975.         "largeTitle",
  976.         "title1",
  977.         "title2",
  978.         "title3",
  979.         "headline",
  980.         "subheadline",
  981.         "body",
  982.         "callout",
  983.         "footnote",
  984.         "caption1",
  985.         "caption2",
  986.         "systemFont",
  987.         "ultraLightSystemFont",
  988.         "thinSystemFont",
  989.         "lightSystemFont",
  990.         "regularSystemFont",
  991.         "mediumSystemFont",
  992.         "semiboldSystemFont",
  993.         "boldSystemFont",
  994.         "heavySystemFont",
  995.         "blackSystemFont",
  996.         "italicSystemFont",
  997.         "ultraLightMonospacedSystemFont",
  998.         "thinMonospacedSystemFont",
  999.         "lightMonospacedSystemFont",
  1000.         "regularMonospacedSystemFont",
  1001.         "mediumMonospacedSystemFont",
  1002.         "semiboldMonospacedSystemFont",
  1003.         "boldMonospacedSystemFont",
  1004.         "heavyMonospacedSystemFont",
  1005.         "blackMonospacedSystemFont",
  1006.         "ultraLightRoundedSystemFont",
  1007.         "thinRoundedSystemFont",
  1008.         "lightRoundedSystemFont",
  1009.         "regularRoundedSystemFont",
  1010.         "mediumRoundedSystemFont",
  1011.         "semiboldRoundedSystemFont",
  1012.         "boldRoundedSystemFont",
  1013.         "heavyRoundedSystemFont",
  1014.         "blackRoundedSystemFont"
  1015.     ]
  1016. }
  1017.  
  1018. Font.prototype._scriptable_values = function() {
  1019.     return [
  1020.         null,
  1021.         null,
  1022.         null,
  1023.         null,
  1024.         null,
  1025.         null,
  1026.         null,
  1027.         null,
  1028.         null,
  1029.         null,
  1030.         null,
  1031.         null,
  1032.         null,
  1033.         null,
  1034.         null,
  1035.         null,
  1036.         null,
  1037.         null,
  1038.         null,
  1039.         null,
  1040.         null,
  1041.         null,
  1042.         null,
  1043.         null,
  1044.         null,
  1045.         null,
  1046.         null,
  1047.         null,
  1048.         null,
  1049.         null,
  1050.         null,
  1051.         null,
  1052.         null,
  1053.         null,
  1054.         null,
  1055.         null,
  1056.         null,
  1057.         null,
  1058.         null,
  1059.         null
  1060.     ]
  1061. }
  1062.  
  1063. Font.prototype.toJSON = function() {
  1064.     return {}
  1065. }
  1066.  
  1067. Image.toString = function() {
  1068.     return "function Image() {\n    [native code]\n}"
  1069. }
  1070.  
  1071. Image.prototype.toString = function() {
  1072.     return "[object Image]"
  1073. }
  1074.  
  1075. Image.prototype._scriptable_keys = function() {
  1076.     return [
  1077.         "size",
  1078.         "fromFile",
  1079.         "fromData"
  1080.     ]
  1081. }
  1082.  
  1083. Image.prototype._scriptable_values = function() {
  1084.     return [
  1085.         this.size,
  1086.         null,
  1087.         null
  1088.     ]
  1089. }
  1090.  
  1091. Image.prototype.toJSON = function() {
  1092.     return {
  1093.         size: this.size
  1094.     }
  1095. }
  1096.  
  1097. Keychain.toString = function() {
  1098.     return "function Keychain() {\n    [native code]\n}"
  1099. }
  1100.  
  1101. Keychain.prototype.toString = function() {
  1102.     return "[object Keychain]"
  1103. }
  1104.  
  1105. Keychain.prototype._scriptable_keys = function() {
  1106.     return [
  1107.         "contains",
  1108.         "set",
  1109.         "get",
  1110.         "remove"
  1111.     ]
  1112. }
  1113.  
  1114. Keychain.prototype._scriptable_values = function() {
  1115.     return [
  1116.         null,
  1117.         null,
  1118.         null,
  1119.         null
  1120.     ]
  1121. }
  1122.  
  1123. Keychain.prototype.toJSON = function() {
  1124.     return {}
  1125. }
  1126.  
  1127. LinearGradient.toString = function() {
  1128.     return "function LinearGradient() {\n    [native code]\n}"
  1129. }
  1130.  
  1131. LinearGradient.prototype.toString = function() {
  1132.     return "[object LinearGradient]"
  1133. }
  1134.  
  1135. LinearGradient.prototype._scriptable_keys = function() {
  1136.     return [
  1137.         "colors",
  1138.         "locations",
  1139.         "startPoint",
  1140.         "endPoint"
  1141.     ]
  1142. }
  1143.  
  1144. LinearGradient.prototype._scriptable_values = function() {
  1145.     return [
  1146.         this.colors,
  1147.         this.locations,
  1148.         this.startPoint,
  1149.         this.endPoint
  1150.     ]
  1151. }
  1152.  
  1153. LinearGradient.prototype.toJSON = function() {
  1154.     return {
  1155.         colors: this.colors,
  1156.         locations: this.locations,
  1157.         startPoint: this.startPoint,
  1158.         endPoint: this.endPoint
  1159.     }
  1160. }
  1161.  
  1162. ListWidget.toString = function() {
  1163.     return "function ListWidget() {\n    [native code]\n}"
  1164. }
  1165.  
  1166. ListWidget.prototype.toString = function() {
  1167.     return "[object ListWidget]"
  1168. }
  1169.  
  1170. ListWidget.prototype._scriptable_keys = function() {
  1171.     return [
  1172.         "backgroundColor",
  1173.         "backgroundImage",
  1174.         "backgroundGradient",
  1175.         "spacing",
  1176.         "url",
  1177.         "refreshAfterDate",
  1178.         "addText",
  1179.         "addDate",
  1180.         "addImage",
  1181.         "addSpacer",
  1182.         "addStack",
  1183.         "setPadding",
  1184.         "useDefaultPadding",
  1185.         "presentSmall",
  1186.         "presentMedium",
  1187.         "presentLarge"
  1188.     ]
  1189. }
  1190.  
  1191. ListWidget.prototype._scriptable_values = function() {
  1192.     let e = this;
  1193.     return [
  1194.         e.backgroundColor,
  1195.         e.backgroundImage,
  1196.         e.backgroundGradient,
  1197.         e.spacing,
  1198.         e.url,
  1199.         e.refreshAfterDate,
  1200.         null,
  1201.         null,
  1202.         null,
  1203.         null,
  1204.         null,
  1205.         null,
  1206.         null,
  1207.         null,
  1208.         null,
  1209.         null
  1210.     ]
  1211. }
  1212.  
  1213. ListWidget.prototype.toJSON = function() {
  1214.     let e = this;
  1215.     return {
  1216.         backgroundColor: e.backgroundColor,
  1217.         backgroundImage: e.backgroundImage,
  1218.         backgroundGradient: e.backgroundGradient,
  1219.         spacing: e.spacing,
  1220.         url: e.url,
  1221.         refreshAfterDate: e.refreshAfterDate
  1222.     }
  1223. }
  1224.  
  1225. Location.toString = function() {
  1226.     return "function Location() {\n    [native code]\n}"
  1227. }
  1228.  
  1229. Location.prototype.toString = function() {
  1230.     return "[object Location]"
  1231. }
  1232.  
  1233. Location.prototype._scriptable_keys = function() {
  1234.     return [
  1235.         "current",
  1236.         "setAccuracyToBest",
  1237.         "setAccuracyToTenMeters",
  1238.         "setAccuracyToHundredMeters",
  1239.         "setAccuracyToKilometer",
  1240.         "setAccuracyToThreeKilometers",
  1241.         "reverseGeocode"
  1242.     ]
  1243. }
  1244.  
  1245. Location.prototype._scriptable_values = function() {
  1246.     return [
  1247.         null,
  1248.         null,
  1249.         null,
  1250.         null,
  1251.         null,
  1252.         null,
  1253.         null
  1254.     ]
  1255. }
  1256.  
  1257. Location.prototype.toJSON = function() {
  1258.     return {}
  1259. }
  1260.  
  1261. Mail.toString = function() {
  1262.     return "function Mail() {\n    [native code]\n}"
  1263. }
  1264.  
  1265. Mail.prototype.toString = function() {
  1266.     return "[object Mail]"
  1267. }
  1268.  
  1269. Mail.prototype._scriptable_keys = function() {
  1270.     return [
  1271.         "toRecipients",
  1272.         "ccRecipients",
  1273.         "bccRecipients",
  1274.         "subject",
  1275.         "body",
  1276.         "isBodyHTML",
  1277.         "preferredSendingEmailAddress",
  1278.         "send",
  1279.         "addImageAttachment",
  1280.         "addFileAttachment",
  1281.         "addDataAttachment"
  1282.     ]
  1283. }
  1284.  
  1285. Mail.prototype._scriptable_values = function() {
  1286.     let e = this;
  1287.     return [
  1288.         e.toRecipients,
  1289.         e.ccRecipients,
  1290.         e.bccRecipients,
  1291.         e.subject,
  1292.         e.body,
  1293.         e.isBodyHTML,
  1294.         e.preferredSendingEmailAddress,
  1295.         null,
  1296.         null,
  1297.         null,
  1298.         null
  1299.     ]
  1300. }
  1301.  
  1302. Mail.prototype.toJSON = function() {
  1303.     let e = this;
  1304.     return {
  1305.         toRecipients: e.toRecipients,
  1306.         ccRecipients: e.ccRecipients,
  1307.         bccRecipients: e.bccRecipients,
  1308.         subject: e.subject,
  1309.         body: e.body,
  1310.         isBodyHTML: e.isBodyHTML,
  1311.         preferredSendingEmailAddress: e.preferredSendingEmailAddress
  1312.     }
  1313. }
  1314.  
  1315. Message.toString = function() {
  1316.     return "function Message() {\n    [native code]\n}"
  1317. }
  1318.  
  1319. Message.prototype.toString = function() {
  1320.     return "[object Message]"
  1321. }
  1322.  
  1323. Message.prototype._scriptable_keys = function() {
  1324.     return [
  1325.         "recipients",
  1326.         "body",
  1327.         "send",
  1328.         "addImageAttachment",
  1329.         "addFileAttachment",
  1330.         "addDataAttachment"
  1331.     ]
  1332. }
  1333.  
  1334. Message.prototype._scriptable_values = function() {
  1335.     return [
  1336.         this.recipients,
  1337.         this.body,
  1338.         null,
  1339.         null,
  1340.         null,
  1341.         null
  1342.     ]
  1343. }
  1344.  
  1345. Message.prototype.toJSON = function() {
  1346.     return {
  1347.         recipients: this.recipients,
  1348.         body: this.body
  1349.     }
  1350. }
  1351.  
  1352. Notification.toString = function() {
  1353.     return "function Notification() {\n    [native code]\n}"
  1354. }
  1355.  
  1356. Notification.prototype.toString = function() {
  1357.     return "[object Notification]"
  1358. }
  1359.  
  1360. Notification.prototype._scriptable_keys = function() {
  1361.     return [
  1362.         "identifier",
  1363.         "title",
  1364.         "subtitle",
  1365.         "body",
  1366.         "preferredContentHeight",
  1367.         "badge",
  1368.         "threadIdentifier",
  1369.         "userInfo",
  1370.         "sound",
  1371.         "openURL",
  1372.         "deliveryDate",
  1373.         "nextTriggerDate",
  1374.         "scriptName",
  1375.         "actions",
  1376.         "current",
  1377.         "schedule",
  1378.         "remove",
  1379.         "setTriggerDate",
  1380.         "setDailyTrigger",
  1381.         "setWeeklyTrigger",
  1382.         "addAction",
  1383.         "allPending",
  1384.         "allDelivered",
  1385.         "removeAllPending",
  1386.         "removeAllDelivered",
  1387.         "removePending",
  1388.         "removeDelivered",
  1389.         "resetCurrent"
  1390.     ]
  1391. }
  1392.  
  1393. Notification.prototype._scriptable_values = function() {
  1394.     let e = this;
  1395.     return [
  1396.         e.identifier,
  1397.         e.title,
  1398.         e.subtitle,
  1399.         e.body,
  1400.         e.preferredContentHeight,
  1401.         e.badge,
  1402.         e.threadIdentifier,
  1403.         e.userInfo,
  1404.         e.sound,
  1405.         e.openURL,
  1406.         e.deliveryDate,
  1407.         e.nextTriggerDate,
  1408.         e.scriptName,
  1409.         e.actions,
  1410.         null,
  1411.         null,
  1412.         null,
  1413.         null,
  1414.         null,
  1415.         null,
  1416.         null,
  1417.         null,
  1418.         null,
  1419.         null,
  1420.         null,
  1421.         null,
  1422.         null,
  1423.         null
  1424.     ]
  1425. }
  1426.  
  1427. Notification.prototype.toJSON = function() {
  1428.     let e = this;
  1429.     return {
  1430.         identifier: e.identifier,
  1431.         title: e.title,
  1432.         subtitle: e.subtitle,
  1433.         body: e.body,
  1434.         preferredContentHeight: e.preferredContentHeight,
  1435.         badge: e.badge,
  1436.         threadIdentifier: e.threadIdentifier,
  1437.         userInfo: e.userInfo,
  1438.         sound: e.sound,
  1439.         openURL: e.openURL,
  1440.         deliveryDate: e.deliveryDate,
  1441.         nextTriggerDate: e.nextTriggerDate,
  1442.         scriptName: e.scriptName,
  1443.         actions: e.actions
  1444.     }
  1445. }
  1446.  
  1447. Pasteboard.toString = function() {
  1448.     return "function Pasteboard() {\n    [native code]\n}"
  1449. }
  1450.  
  1451. Pasteboard.prototype.toString = function() {
  1452.     return "[object Pasteboard]"
  1453. }
  1454.  
  1455. Pasteboard.prototype._scriptable_keys = function() {
  1456.     return [
  1457.         "copy",
  1458.         "paste",
  1459.         "copyString",
  1460.         "pasteString",
  1461.         "copyImage",
  1462.         "pasteImage"
  1463.     ]
  1464. }
  1465.  
  1466. Pasteboard.prototype._scriptable_values = function() {
  1467.     return [
  1468.         null,
  1469.         null,
  1470.         null,
  1471.         null,
  1472.         null,
  1473.         null
  1474.     ]
  1475. }
  1476.  
  1477. Pasteboard.prototype.toJSON = function() {
  1478.     return {}
  1479. }
  1480.  
  1481. Path.toString = function() {
  1482.     return "function Path() {\n    [native code]\n}"
  1483. }
  1484.  
  1485. Path.prototype.toString = function() {
  1486.     return "[object Path]"
  1487. }
  1488.  
  1489. Path.prototype._scriptable_keys = function() {
  1490.     return [
  1491.         "move",
  1492.         "addLine",
  1493.         "addRect",
  1494.         "addEllipse",
  1495.         "addRoundedRect",
  1496.         "addCurve",
  1497.         "addQuadCurve",
  1498.         "addLines",
  1499.         "addRects",
  1500.         "closeSubpath"
  1501.     ]
  1502. }
  1503.  
  1504. Path.prototype._scriptable_values = function() {
  1505.     return [
  1506.         null,
  1507.         null,
  1508.         null,
  1509.         null,
  1510.         null,
  1511.         null,
  1512.         null,
  1513.         null,
  1514.         null,
  1515.         null
  1516.     ]
  1517. }
  1518.  
  1519. Path.prototype.toJSON = function() {
  1520.     return {}
  1521. }
  1522.  
  1523. Photos.toString = function() {
  1524.     return "function Photos() {\n    [native code]\n}"
  1525. }
  1526.  
  1527. Photos.prototype.toString = function() {
  1528.     return "[object Photos]"
  1529. }
  1530.  
  1531. Photos.prototype._scriptable_keys = function() {
  1532.     return [
  1533.         "fromLibrary",
  1534.         "fromCamera",
  1535.         "latestPhoto",
  1536.         "latestPhotos",
  1537.         "latestScreenshot",
  1538.         "latestScreenshots",
  1539.         "removeLatestPhoto",
  1540.         "removeLatestPhotos",
  1541.         "removeLatestScreenshot",
  1542.         "removeLatestScreenshots",
  1543.         "save"
  1544.     ]
  1545. }
  1546.  
  1547. Photos.prototype._scriptable_values = function() {
  1548.     return [
  1549.         null,
  1550.         null,
  1551.         null,
  1552.         null,
  1553.         null,
  1554.         null,
  1555.         null,
  1556.         null,
  1557.         null,
  1558.         null,
  1559.         null
  1560.     ]
  1561. }
  1562.  
  1563. Photos.prototype.toJSON = function() {
  1564.     return {}
  1565. }
  1566.  
  1567. Point.toString = function() {
  1568.     return "function Point() {\n    [native code]\n}"
  1569. }
  1570.  
  1571. Point.prototype.toString = function() {
  1572.     return "[object Point]"
  1573. }
  1574.  
  1575. Point.prototype._scriptable_keys = function() {
  1576.     return [
  1577.         "x",
  1578.         "y"
  1579.     ]
  1580. }
  1581.  
  1582. Point.prototype._scriptable_values = function() {
  1583.     return [
  1584.         this.x,
  1585.         this.y
  1586.     ]
  1587. }
  1588.  
  1589. Point.prototype.toJSON = function() {
  1590.     return {
  1591.         x: this.x,
  1592.         y: this.y
  1593.     }
  1594. }
  1595.  
  1596. QuickLook.toString = function() {
  1597.     return "function QuickLook() {\n    [native code]\n}"
  1598. }
  1599.  
  1600. QuickLook.prototype.toString = function() {
  1601.     return "[object QuickLook]"
  1602. }
  1603.  
  1604. QuickLook.prototype._scriptable_keys = function() {
  1605.     return [
  1606.         "present"
  1607.     ]
  1608. }
  1609.  
  1610. QuickLook.prototype._scriptable_values = function() {
  1611.     return [
  1612.         null
  1613.     ]
  1614. }
  1615.  
  1616. QuickLook.prototype.toJSON = function() {
  1617.     return {}
  1618. }
  1619.  
  1620. Rect.toString = function() {
  1621.     return "function Rect() {\n    [native code]\n}"
  1622. }
  1623.  
  1624. Rect.prototype.toString = function() {
  1625.     return "[object Rect]"
  1626. }
  1627.  
  1628. Rect.prototype._scriptable_keys = function() {
  1629.     return [
  1630.         "minX",
  1631.         "minY",
  1632.         "maxX",
  1633.         "maxY",
  1634.         "x",
  1635.         "y",
  1636.         "width",
  1637.         "height",
  1638.         "origin",
  1639.         "size"
  1640.     ]
  1641. }
  1642.  
  1643. Rect.prototype._scriptable_values = function() {
  1644.     let e = this;
  1645.     return [
  1646.         e.minX,
  1647.         e.minY,
  1648.         e.maxX,
  1649.         e.maxY,
  1650.         e.x,
  1651.         e.y,
  1652.         e.width,
  1653.         e.height,
  1654.         e.origin,
  1655.         e.size
  1656.     ]
  1657. }
  1658.  
  1659. Rect.prototype.toJSON = function() {
  1660.     let e = this;
  1661.     return {
  1662.         minX: e.minX,
  1663.         minY: e.minY,
  1664.         maxX: e.maxX,
  1665.         maxY: e.maxY,
  1666.         x: e.x,
  1667.         y: e.y,
  1668.         width: e.width,
  1669.         height: e.height,
  1670.         origin: e.origin,
  1671.         size: e.size
  1672.     }
  1673. }
  1674.  
  1675. RecurrenceRule.toString = function() {
  1676.     return "function RecurrenceRule() {\n    [native code]\n}"
  1677. }
  1678.  
  1679. RecurrenceRule.prototype.toString = function() {
  1680.     return "[object RecurrenceRule]"
  1681. }
  1682.  
  1683. RecurrenceRule.prototype._scriptable_keys = function() {
  1684.     return [
  1685.         "daily",
  1686.         "dailyEndDate",
  1687.         "dailyOccurrenceCount",
  1688.         "weekly",
  1689.         "weeklyEndDate",
  1690.         "weeklyOccurrenceCount",
  1691.         "monthly",
  1692.         "monthlyEndDate",
  1693.         "monthlyOccurrenceCount",
  1694.         "yearly",
  1695.         "yearlyEndDate",
  1696.         "yearlyOccurrenceCount",
  1697.         "complexWeekly",
  1698.         "complexWeeklyEndDate",
  1699.         "complexWeeklyOccurrenceCount",
  1700.         "complexMonthly",
  1701.         "complexMonthlyEndDate",
  1702.         "complexMonthlyOccurrenceCount",
  1703.         "complexYearly",
  1704.         "complexYearlyEndDate",
  1705.         "complexYearlyOccurrenceCount"
  1706.     ]
  1707. }
  1708.  
  1709. RecurrenceRule.prototype._scriptable_values = function() {
  1710.     return [
  1711.         null,
  1712.         null,
  1713.         null,
  1714.         null,
  1715.         null,
  1716.         null,
  1717.         null,
  1718.         null,
  1719.         null,
  1720.         null,
  1721.         null,
  1722.         null,
  1723.         null,
  1724.         null,
  1725.         null,
  1726.         null,
  1727.         null,
  1728.         null,
  1729.         null,
  1730.         null,
  1731.         null
  1732.     ]
  1733. }
  1734.  
  1735. RecurrenceRule.prototype.toJSON = function() {
  1736.     return {}
  1737. }
  1738.  
  1739. RelativeDateTimeFormatter.toString = function() {
  1740.     return "function RelativeDateTimeFormatter() {\n    [native code]\n}"
  1741. }
  1742.  
  1743. RelativeDateTimeFormatter.prototype.toString = function() {
  1744.     return "[object RelativeDateTimeFormatter]"
  1745. }
  1746.  
  1747. RelativeDateTimeFormatter.prototype._scriptable_keys = function() {
  1748.     return [
  1749.         "locale",
  1750.         "string",
  1751.         "useNamedDateTimeStyle",
  1752.         "useNumericDateTimeStyle"
  1753.     ]
  1754. }
  1755.  
  1756. RelativeDateTimeFormatter.prototype._scriptable_values = function() {
  1757.     return [
  1758.         this.locale,
  1759.         null,
  1760.         null,
  1761.         null
  1762.     ]
  1763. }
  1764.  
  1765. RelativeDateTimeFormatter.prototype.toJSON = function() {
  1766.     return {
  1767.         locale: this.locale
  1768.     }
  1769. }
  1770.  
  1771. Reminder.toString = function() {
  1772.     return "function Reminder() {\n    [native code]\n}"
  1773. }
  1774.  
  1775. Reminder.prototype.toString = function() {
  1776.     return "[object Reminder]"
  1777. }
  1778.  
  1779. Reminder.prototype._scriptable_keys = function() {
  1780.     return [
  1781.         "identifier",
  1782.         "title",
  1783.         "notes",
  1784.         "isCompleted",
  1785.         "isOverdue",
  1786.         "priority",
  1787.         "dueDate",
  1788.         "dueDateIncludesTime",
  1789.         "completionDate",
  1790.         "creationDate",
  1791.         "calendar",
  1792.         "addRecurrenceRule",
  1793.         "removeAllRecurrenceRules",
  1794.         "save",
  1795.         "remove",
  1796.         "scheduled",
  1797.         "all",
  1798.         "allCompleted",
  1799.         "allIncomplete",
  1800.         "allDueToday",
  1801.         "completedDueToday",
  1802.         "incompleteDueToday",
  1803.         "allDueTomorrow",
  1804.         "completedDueTomorrow",
  1805.         "incompleteDueTomorrow",
  1806.         "allDueYesterday",
  1807.         "completedDueYesterday",
  1808.         "incompleteDueYesterday",
  1809.         "allDueThisWeek",
  1810.         "completedDueThisWeek",
  1811.         "incompleteDueThisWeek",
  1812.         "allDueNextWeek",
  1813.         "completedDueNextWeek",
  1814.         "incompleteDueNextWeek",
  1815.         "allDueLastWeek",
  1816.         "completedDueLastWeek",
  1817.         "incompleteDueLastWeek",
  1818.         "completedToday",
  1819.         "completedThisWeek",
  1820.         "completedLastWeek",
  1821.         "allDueBetween",
  1822.         "completedDueBetween",
  1823.         "incompleteDueBetween",
  1824.         "completedBetween"
  1825.     ]
  1826. }
  1827.  
  1828. Reminder.prototype._scriptable_values = function() {
  1829.     let e = this;
  1830.     return [
  1831.         e.identifier,
  1832.         e.title,
  1833.         e.notes,
  1834.         e.isCompleted,
  1835.         e.isOverdue,
  1836.         e.priority,
  1837.         e.dueDate,
  1838.         e.dueDateIncludesTime,
  1839.         e.completionDate,
  1840.         e.creationDate,
  1841.         e.calendar,
  1842.         null,
  1843.         null,
  1844.         null,
  1845.         null,
  1846.         null,
  1847.         null,
  1848.         null,
  1849.         null,
  1850.         null,
  1851.         null,
  1852.         null,
  1853.         null,
  1854.         null,
  1855.         null,
  1856.         null,
  1857.         null,
  1858.         null,
  1859.         null,
  1860.         null,
  1861.         null,
  1862.         null,
  1863.         null,
  1864.         null,
  1865.         null,
  1866.         null,
  1867.         null,
  1868.         null,
  1869.         null,
  1870.         null,
  1871.         null,
  1872.         null,
  1873.         null,
  1874.         null
  1875.     ]
  1876. }
  1877.  
  1878. Reminder.prototype.toJSON = function() {
  1879.     let e = this;
  1880.     return {
  1881.         identifier: e.identifier,
  1882.         title: e.title,
  1883.         notes: e.notes,
  1884.         isCompleted: e.isCompleted,
  1885.         isOverdue: e.isOverdue,
  1886.         priority: e.priority,
  1887.         dueDate: e.dueDate,
  1888.         dueDateIncludesTime: e.dueDateIncludesTime,
  1889.         completionDate: e.completionDate,
  1890.         creationDate: e.creationDate,
  1891.         calendar: e.calendar
  1892.     }
  1893. }
  1894.  
  1895. Request.toString = function() {
  1896.     return "function Request() {\n    [native code]\n}"
  1897. }
  1898.  
  1899. Request.prototype.toString = function() {
  1900.     return "[object Request]"
  1901. }
  1902.  
  1903. Request.prototype._scriptable_keys = function() {
  1904.     return [
  1905.         "url",
  1906.         "method",
  1907.         "headers",
  1908.         "body",
  1909.         "timeoutInterval",
  1910.         "onRedirect",
  1911.         "response",
  1912.         "allowInsecureRequest",
  1913.         "load",
  1914.         "loadString",
  1915.         "loadJSON",
  1916.         "loadImage",
  1917.         "addParameterToMultipart",
  1918.         "addFileDataToMultipart",
  1919.         "addFileToMultipart",
  1920.         "addImageToMultipart"
  1921.     ]
  1922. }
  1923.  
  1924. Request.prototype._scriptable_values = function() {
  1925.     let e = this;
  1926.     return [
  1927.         e.url,
  1928.         e.method,
  1929.         e.headers,
  1930.         e.body,
  1931.         e.timeoutInterval,
  1932.         e.onRedirect,
  1933.         e.response,
  1934.         e.allowInsecureRequest,
  1935.         null,
  1936.         null,
  1937.         null,
  1938.         null,
  1939.         null,
  1940.         null,
  1941.         null,
  1942.         null
  1943.     ]
  1944. }
  1945.  
  1946. Request.prototype.toJSON = function() {
  1947.     let e = this;
  1948.     return {
  1949.         url: e.url,
  1950.         method: e.method,
  1951.         headers: e.headers,
  1952.         body: e.body,
  1953.         timeoutInterval: e.timeoutInterval,
  1954.         onRedirect: e.onRedirect,
  1955.         response: e.response,
  1956.         allowInsecureRequest: e.allowInsecureRequest
  1957.     }
  1958. }
  1959.  
  1960. SFSymbol.toString = function() {
  1961.     return "function SFSymbol() {\n    [native code]\n}"
  1962. }
  1963.  
  1964. SFSymbol.prototype.toString = function() {
  1965.     return "[object SFSymbol]"
  1966. }
  1967.  
  1968. SFSymbol.prototype._scriptable_keys = function() {
  1969.     return [
  1970.         "image",
  1971.         "named",
  1972.         "applyFont",
  1973.         "applyUltraLightWeight",
  1974.         "applyThinWeight",
  1975.         "applyLightWeight",
  1976.         "applyRegularWeight",
  1977.         "applyMediumWeight",
  1978.         "applySemiboldWeight",
  1979.         "applyBoldWeight",
  1980.         "applyHeavyWeight",
  1981.         "applyBlackWeight"
  1982.     ]
  1983. }
  1984.  
  1985. SFSymbol.prototype._scriptable_values = function() {
  1986.     return [
  1987.         this.image,
  1988.         null,
  1989.         null,
  1990.         null,
  1991.         null,
  1992.         null,
  1993.         null,
  1994.         null,
  1995.         null,
  1996.         null,
  1997.         null,
  1998.         null
  1999.     ]
  2000. }
  2001.  
  2002. SFSymbol.prototype.toJSON = function() {
  2003.     return {
  2004.         image: this.image
  2005.     }
  2006. }
  2007.  
  2008. Safari.toString = function() {
  2009.     return "function Safari() {\n    [native code]\n}"
  2010. }
  2011.  
  2012. Safari.prototype.toString = function() {
  2013.     return "[object Safari]"
  2014. }
  2015.  
  2016. Safari.prototype._scriptable_keys = function() {
  2017.     return [
  2018.         "openInApp",
  2019.         "open"
  2020.     ]
  2021. }
  2022.  
  2023. Safari.prototype._scriptable_values = function() {
  2024.     return [
  2025.         null,
  2026.         null
  2027.     ]
  2028. }
  2029.  
  2030. Safari.prototype.toJSON = function() {
  2031.     return {}
  2032. }
  2033.  
  2034. Script.toString = function() {
  2035.     return "function Script() {\n    [native code]\n}"
  2036. }
  2037.  
  2038. Script.prototype.toString = function() {
  2039.     return "[object Script]"
  2040. }
  2041.  
  2042. Script.prototype._scriptable_keys = function() {
  2043.     return [
  2044.         "name",
  2045.         "complete",
  2046.         "setShortcutOutput",
  2047.         "setWidget"
  2048.     ]
  2049. }
  2050.  
  2051. Script.prototype._scriptable_values = function() {
  2052.     return [
  2053.         null,
  2054.         null,
  2055.         null,
  2056.         null
  2057.     ]
  2058. }
  2059.  
  2060. Script.prototype.toJSON = function() {
  2061.     return {}
  2062. }
  2063.  
  2064. ShareSheet.toString = function() {
  2065.     return "function ShareSheet() {\n    [native code]\n}"
  2066. }
  2067.  
  2068. ShareSheet.prototype.toString = function() {
  2069.     return "[object ShareSheet]"
  2070. }
  2071.  
  2072. ShareSheet.prototype._scriptable_keys = function() {
  2073.     return [
  2074.         "present"
  2075.     ]
  2076. }
  2077.  
  2078. ShareSheet.prototype._scriptable_values = function() {
  2079.     return [
  2080.         null
  2081.     ]
  2082. }
  2083.  
  2084. ShareSheet.prototype.toJSON = function() {
  2085.     return {}
  2086. }
  2087.  
  2088. Size.toString = function() {
  2089.     return "function Size() {\n    [native code]\n}"
  2090. }
  2091.  
  2092. Size.prototype.toString = function() {
  2093.     return "[object Size]"
  2094. }
  2095.  
  2096. Size.prototype._scriptable_keys = function() {
  2097.     return [
  2098.         "width",
  2099.         "height"
  2100.     ]
  2101. }
  2102.  
  2103. Size.prototype._scriptable_values = function() {
  2104.     return [
  2105.         this.width,
  2106.         this.height
  2107.     ]
  2108. }
  2109.  
  2110. Size.prototype.toJSON = function() {
  2111.     return {
  2112.         width: this.width,
  2113.         height: this.height
  2114.     }
  2115. }
  2116.  
  2117. Speech.toString = function() {
  2118.     return "function Speech() {\n    [native code]\n}"
  2119. }
  2120.  
  2121. Speech.prototype.toString = function() {
  2122.     return "[object Speech]"
  2123. }
  2124.  
  2125. Speech.prototype._scriptable_keys = function() {
  2126.     return [
  2127.         "speak"
  2128.     ]
  2129. }
  2130.  
  2131. Speech.prototype._scriptable_values = function() {
  2132.     return [
  2133.         null
  2134.     ]
  2135. }
  2136.  
  2137. Speech.prototype.toJSON = function() {
  2138.     return {}
  2139. }
  2140.  
  2141. Timer.toString = function() {
  2142.     return "function Timer() {\n    [native code]\n}"
  2143. }
  2144.  
  2145. Timer.prototype.toString = function() {
  2146.     return "[object Timer]"
  2147. }
  2148.  
  2149. Timer.prototype._scriptable_keys = function() {
  2150.     return [
  2151.         "timeInterval",
  2152.         "repeats",
  2153.         "schedule",
  2154.         "invalidate",
  2155.         "schedule"
  2156.     ]
  2157. }
  2158.  
  2159. Timer.prototype._scriptable_values = function() {
  2160.     return [
  2161.         this.timeInterval,
  2162.         this.repeats,
  2163.         null,
  2164.         null,
  2165.         null
  2166.     ]
  2167. }
  2168.  
  2169. Timer.prototype.toJSON = function() {
  2170.     return {
  2171.         timeInterval: this.timeInterval,
  2172.         repeats: this.repeats
  2173.     }
  2174. }
  2175.  
  2176. UITable.toString = function() {
  2177.     return "function UITable() {\n    [native code]\n}"
  2178. }
  2179.  
  2180. UITable.prototype.toString = function() {
  2181.     return "[object UITable]"
  2182. }
  2183.  
  2184. UITable.prototype._scriptable_keys = function() {
  2185.     return [
  2186.         "showSeparators",
  2187.         "addRow",
  2188.         "removeRow",
  2189.         "removeAllRows",
  2190.         "reload",
  2191.         "present"
  2192.     ]
  2193. }
  2194.  
  2195. UITable.prototype._scriptable_values = function() {
  2196.     return [
  2197.         this.showSeparators,
  2198.         null,
  2199.         null,
  2200.         null,
  2201.         null,
  2202.         null
  2203.     ]
  2204. }
  2205.  
  2206. UITable.prototype.toJSON = function() {
  2207.     return {
  2208.         showSeparators: this.showSeparators
  2209.     }
  2210. }
  2211.  
  2212. UITableCell.toString = function() {
  2213.     return "function UITableCell() {\n    [native code]\n}"
  2214. }
  2215.  
  2216. UITableCell.prototype.toString = function() {
  2217.     return "[object UITableCell]"
  2218. }
  2219.  
  2220. UITableCell.prototype._scriptable_keys = function() {
  2221.     return [
  2222.         "widthWeight",
  2223.         "onTap",
  2224.         "dismissOnTap",
  2225.         "titleColor",
  2226.         "subtitleColor",
  2227.         "titleFont",
  2228.         "subtitleFont",
  2229.         "text",
  2230.         "image",
  2231.         "imageAtURL",
  2232.         "button",
  2233.         "leftAligned",
  2234.         "centerAligned",
  2235.         "rightAligned"
  2236.     ]
  2237. }
  2238.  
  2239. UITableCell.prototype._scriptable_values = function() {
  2240.     let e = this;
  2241.     return [
  2242.         e.widthWeight,
  2243.         e.onTap,
  2244.         e.dismissOnTap,
  2245.         e.titleColor,
  2246.         e.subtitleColor,
  2247.         e.titleFont,
  2248.         e.subtitleFont,
  2249.         null,
  2250.         null,
  2251.         null,
  2252.         null,
  2253.         null,
  2254.         null,
  2255.         null
  2256.     ]
  2257. }
  2258.  
  2259. UITableCell.prototype.toJSON = function() {
  2260.     let e = this;
  2261.     return {
  2262.         widthWeight: e.widthWeight,
  2263.         onTap: e.onTap,
  2264.         dismissOnTap: e.dismissOnTap,
  2265.         titleColor: e.titleColor,
  2266.         subtitleColor: e.subtitleColor,
  2267.         titleFont: e.titleFont,
  2268.         subtitleFont: e.subtitleFont
  2269.     }
  2270. }
  2271.  
  2272. UITableRow.toString = function() {
  2273.     return "function UITableRow() {\n    [native code]\n}"
  2274. }
  2275.  
  2276. UITableRow.prototype.toString = function() {
  2277.     return "[object UITableRow]"
  2278. }
  2279.  
  2280. UITableRow.prototype._scriptable_keys = function() {
  2281.     return [
  2282.         "cellSpacing",
  2283.         "height",
  2284.         "isHeader",
  2285.         "dismissOnSelect",
  2286.         "onSelect",
  2287.         "backgroundColor",
  2288.         "addCell",
  2289.         "addText",
  2290.         "addImage",
  2291.         "addImageAtURL",
  2292.         "addButton"
  2293.     ]
  2294. }
  2295.  
  2296. UITableRow.prototype._scriptable_values = function() {
  2297.     let e = this;
  2298.     return [
  2299.         e.cellSpacing,
  2300.         e.height,
  2301.         e.isHeader,
  2302.         e.dismissOnSelect,
  2303.         e.onSelect,
  2304.         e.backgroundColor,
  2305.         null,
  2306.         null,
  2307.         null,
  2308.         null,
  2309.         null
  2310.     ]
  2311. }
  2312.  
  2313. UITableRow.prototype.toJSON = function() {
  2314.     let e = this;
  2315.     return {
  2316.         cellSpacing: e.cellSpacing,
  2317.         height: e.height,
  2318.         isHeader: e.isHeader,
  2319.         dismissOnSelect: e.dismissOnSelect,
  2320.         onSelect: e.onSelect,
  2321.         backgroundColor: e.backgroundColor
  2322.     }
  2323. }
  2324.  
  2325. URLScheme.toString = function() {
  2326.     return "function URLScheme() {\n    [native code]\n}"
  2327. }
  2328.  
  2329. URLScheme.prototype.toString = function() {
  2330.     return "[object URLScheme]"
  2331. }
  2332.  
  2333. URLScheme.prototype._scriptable_keys = function() {
  2334.     return [
  2335.         "allParameters",
  2336.         "parameter",
  2337.         "forOpeningScript",
  2338.         "forOpeningScriptSettings",
  2339.         "forRunningScript"
  2340.     ]
  2341. }
  2342.  
  2343. URLScheme.prototype._scriptable_values = function() {
  2344.     return [
  2345.         null,
  2346.         null,
  2347.         null,
  2348.         null,
  2349.         null
  2350.     ]
  2351. }
  2352.  
  2353. URLScheme.prototype.toJSON = function() {
  2354.     return {}
  2355. }
  2356.  
  2357. UUID.toString = function() {
  2358.     return "function UUID() {\n    [native code]\n}"
  2359. }
  2360.  
  2361. UUID.prototype.toString = function() {
  2362.     return "[object UUID]"
  2363. }
  2364.  
  2365. UUID.prototype._scriptable_keys = function() {
  2366.     return [
  2367.         "string"
  2368.     ]
  2369. }
  2370.  
  2371. UUID.prototype._scriptable_values = function() {
  2372.     return [
  2373.         null
  2374.     ]
  2375. }
  2376.  
  2377. UUID.prototype.toJSON = function() {
  2378.     return {}
  2379. }
  2380.  
  2381. WebView.toString = function() {
  2382.     return "function WebView() {\n    [native code]\n}"
  2383. }
  2384.  
  2385. WebView.prototype.toString = function() {
  2386.     return "[object WebView]"
  2387. }
  2388.  
  2389. WebView.prototype._scriptable_keys = function() {
  2390.     return [
  2391.         "shouldAllowRequest",
  2392.         "loadHTML",
  2393.         "loadFile",
  2394.         "loadURL",
  2395.         "loadURL",
  2396.         "loadRequest",
  2397.         "loadHTML",
  2398.         "loadFile",
  2399.         "evaluateJavaScript",
  2400.         "getHTML",
  2401.         "present",
  2402.         "waitForLoad"
  2403.     ]
  2404. }
  2405.  
  2406. WebView.prototype._scriptable_values = function() {
  2407.     return [
  2408.         this.shouldAllowRequest,
  2409.         null,
  2410.         null,
  2411.         null,
  2412.         null,
  2413.         null,
  2414.         null,
  2415.         null,
  2416.         null,
  2417.         null,
  2418.         null,
  2419.         null
  2420.     ]
  2421. }
  2422.  
  2423. WebView.prototype.toJSON = function() {
  2424.     return {
  2425.         shouldAllowRequest: this.shouldAllowRequest
  2426.     }
  2427. }
  2428.  
  2429. WidgetDate.toString = function() {
  2430.     return "function WidgetDate() {\n    [native code]\n}"
  2431. }
  2432.  
  2433. WidgetDate.prototype.toString = function() {
  2434.     return "[object WidgetDate]"
  2435. }
  2436.  
  2437. WidgetDate.prototype._scriptable_keys = function() {
  2438.     return [
  2439.         "date",
  2440.         "textColor",
  2441.         "font",
  2442.         "textOpacity",
  2443.         "lineLimit",
  2444.         "minimumScaleFactor",
  2445.         "shadowColor",
  2446.         "shadowRadius",
  2447.         "shadowOffset",
  2448.         "url",
  2449.         "leftAlignText",
  2450.         "centerAlignText",
  2451.         "rightAlignText",
  2452.         "applyTimeStyle",
  2453.         "applyDateStyle",
  2454.         "applyRelativeStyle",
  2455.         "applyOffsetStyle",
  2456.         "applyTimerStyle"
  2457.     ]
  2458. }
  2459.  
  2460. WidgetDate.prototype._scriptable_values = function() {
  2461.     let e = this;
  2462.     return [
  2463.         e.date,
  2464.         e.textColor,
  2465.         e.font,
  2466.         e.textOpacity,
  2467.         e.lineLimit,
  2468.         e.minimumScaleFactor,
  2469.         e.shadowColor,
  2470.         e.shadowRadius,
  2471.         e.shadowOffset,
  2472.         e.url,
  2473.         null,
  2474.         null,
  2475.         null,
  2476.         null,
  2477.         null,
  2478.         null,
  2479.         null,
  2480.         null
  2481.     ]
  2482. }
  2483.  
  2484. WidgetDate.prototype.toJSON = function() {
  2485.     let e = this;
  2486.     return {
  2487.         date: e.date,
  2488.         textColor: e.textColor,
  2489.         font: e.font,
  2490.         textOpacity: e.textOpacity,
  2491.         lineLimit: e.lineLimit,
  2492.         minimumScaleFactor: e.minimumScaleFactor,
  2493.         shadowColor: e.shadowColor,
  2494.         shadowRadius: e.shadowRadius,
  2495.         shadowOffset: e.shadowOffset,
  2496.         url: e.url
  2497.     }
  2498. }
  2499.  
  2500. WidgetImage.toString = function() {
  2501.     return "function WidgetImage() {\n    [native code]\n}"
  2502. }
  2503.  
  2504. WidgetImage.prototype.toString = function() {
  2505.     return "[object WidgetImage]"
  2506. }
  2507.  
  2508. WidgetImage.prototype._scriptable_keys = function() {
  2509.     return [
  2510.         "image",
  2511.         "resizable",
  2512.         "imageSize",
  2513.         "imageOpacity",
  2514.         "cornerRadius",
  2515.         "borderWidth",
  2516.         "borderColor",
  2517.         "containerRelativeShape",
  2518.         "tintColor",
  2519.         "url",
  2520.         "leftAlignImage",
  2521.         "centerAlignImage",
  2522.         "rightAlignImage",
  2523.         "applyFittingContentMode",
  2524.         "applyFillingContentMode"
  2525.     ]
  2526. }
  2527.  
  2528. WidgetImage.prototype._scriptable_values = function() {
  2529.     let e = this;
  2530.     return [
  2531.         e.image,
  2532.         e.resizable,
  2533.         e.imageSize,
  2534.         e.imageOpacity,
  2535.         e.cornerRadius,
  2536.         e.borderWidth,
  2537.         e.borderColor,
  2538.         e.containerRelativeShape,
  2539.         e.tintColor,
  2540.         e.url,
  2541.         null,
  2542.         null,
  2543.         null,
  2544.         null,
  2545.         null
  2546.     ]
  2547. }
  2548.  
  2549. WidgetImage.prototype.toJSON = function() {
  2550.     let e = this;
  2551.     return {
  2552.         image: e.image,
  2553.         resizable: e.resizable,
  2554.         imageSize: e.imageSize,
  2555.         imageOpacity: e.imageOpacity,
  2556.         cornerRadius: e.cornerRadius,
  2557.         borderWidth: e.borderWidth,
  2558.         borderColor: e.borderColor,
  2559.         containerRelativeShape: e.containerRelativeShape,
  2560.         tintColor: e.tintColor,
  2561.         url: e.url
  2562.     }
  2563. }
  2564.  
  2565. WidgetSpacer.toString = function() {
  2566.     return "function WidgetSpacer() {\n    [native code]\n}"
  2567. }
  2568.  
  2569. WidgetSpacer.prototype.toString = function() {
  2570.     return "[object WidgetSpacer]"
  2571. }
  2572.  
  2573. WidgetSpacer.prototype._scriptable_keys = function() {
  2574.     return [
  2575.         "length"
  2576.     ]
  2577. }
  2578.  
  2579. WidgetSpacer.prototype._scriptable_values = function() {
  2580.     return [
  2581.         this.length
  2582.     ]
  2583. }
  2584.  
  2585. WidgetSpacer.prototype.toJSON = function() {
  2586.     return {
  2587.         length: this.length
  2588.     }
  2589. }
  2590.  
  2591. WidgetStack.toString = function() {
  2592.     return "function WidgetStack() {\n    [native code]\n}"
  2593. }
  2594.  
  2595. WidgetStack.prototype.toString = function() {
  2596.     return "[object WidgetStack]"
  2597. }
  2598.  
  2599. WidgetStack.prototype._scriptable_keys = function() {
  2600.     return [
  2601.         "backgroundColor",
  2602.         "backgroundImage",
  2603.         "backgroundGradient",
  2604.         "spacing",
  2605.         "size",
  2606.         "cornerRadius",
  2607.         "borderWidth",
  2608.         "borderColor",
  2609.         "url",
  2610.         "addText",
  2611.         "addDate",
  2612.         "addImage",
  2613.         "addSpacer",
  2614.         "addStack",
  2615.         "setPadding",
  2616.         "useDefaultPadding",
  2617.         "topAlignContent",
  2618.         "centerAlignContent",
  2619.         "bottomAlignContent",
  2620.         "layoutHorizontally",
  2621.         "layoutVertically"
  2622.     ]
  2623. }
  2624.  
  2625. WidgetStack.prototype._scriptable_values = function() {
  2626.     let e = this;
  2627.     return [
  2628.         e.backgroundColor,
  2629.         e.backgroundImage,
  2630.         e.backgroundGradient,
  2631.         e.spacing,
  2632.         e.size,
  2633.         e.cornerRadius,
  2634.         e.borderWidth,
  2635.         e.borderColor,
  2636.         e.url,
  2637.         null,
  2638.         null,
  2639.         null,
  2640.         null,
  2641.         null,
  2642.         null,
  2643.         null,
  2644.         null,
  2645.         null,
  2646.         null,
  2647.         null,
  2648.         null
  2649.     ]
  2650. }
  2651.  
  2652. WidgetStack.prototype.toJSON = function() {
  2653.     let e = this;
  2654.     return {
  2655.         backgroundColor: e.backgroundColor,
  2656.         backgroundImage: e.backgroundImage,
  2657.         backgroundGradient: e.backgroundGradient,
  2658.         spacing: e.spacing,
  2659.         size: e.size,
  2660.         cornerRadius: e.cornerRadius,
  2661.         borderWidth: e.borderWidth,
  2662.         borderColor: e.borderColor,
  2663.         url: e.url
  2664.     }
  2665. }
  2666.  
  2667. WidgetText.toString = function() {
  2668.     return "function WidgetText() {\n    [native code]\n}"
  2669. }
  2670.  
  2671. WidgetText.prototype.toString = function() {
  2672.     return "[object WidgetText]"
  2673. }
  2674.  
  2675. WidgetText.prototype._scriptable_keys = function() {
  2676.     return [
  2677.         "text",
  2678.         "textColor",
  2679.         "font",
  2680.         "textOpacity",
  2681.         "lineLimit",
  2682.         "minimumScaleFactor",
  2683.         "shadowColor",
  2684.         "shadowRadius",
  2685.         "shadowOffset",
  2686.         "url",
  2687.         "leftAlignText",
  2688.         "centerAlignText",
  2689.         "rightAlignText"
  2690.     ]
  2691. }
  2692.  
  2693. WidgetText.prototype._scriptable_values = function() {
  2694.     let e = this;
  2695.     return [
  2696.         e.text,
  2697.         e.textColor,
  2698.         e.font,
  2699.         e.textOpacity,
  2700.         e.lineLimit,
  2701.         e.minimumScaleFactor,
  2702.         e.shadowColor,
  2703.         e.shadowRadius,
  2704.         e.shadowOffset,
  2705.         e.url,
  2706.         null,
  2707.         null,
  2708.         null
  2709.     ]
  2710. }
  2711.  
  2712. WidgetText.prototype.toJSON = function() {
  2713.     let e = this;
  2714.     return {
  2715.         text: e.text,
  2716.         textColor: e.textColor,
  2717.         font: e.font,
  2718.         textOpacity: e.textOpacity,
  2719.         lineLimit: e.lineLimit,
  2720.         minimumScaleFactor: e.minimumScaleFactor,
  2721.         shadowColor: e.shadowColor,
  2722.         shadowRadius: e.shadowRadius,
  2723.         shadowOffset: e.shadowOffset,
  2724.         url: e.url
  2725.     }
  2726. }
  2727.  
  2728. XMLParser.toString = function() {
  2729.     return "function XMLParser() {\n    [native code]\n}"
  2730. }
  2731.  
  2732. XMLParser.prototype.toString = function() {
  2733.     return "[object XMLParser]"
  2734. }
  2735.  
  2736. XMLParser.prototype._scriptable_keys = function() {
  2737.     return [
  2738.         "didStartDocument",
  2739.         "didEndDocument",
  2740.         "didStartElement",
  2741.         "didEndElement",
  2742.         "foundCharacters",
  2743.         "parseErrorOccurred",
  2744.         "string",
  2745.         "parse"
  2746.     ]
  2747. }
  2748.  
  2749. XMLParser.prototype._scriptable_values = function() {
  2750.     let e = this;
  2751.     return [
  2752.         e.didStartDocument,
  2753.         e.didEndDocument,
  2754.         e.didStartElement,
  2755.         e.didEndElement,
  2756.         e.foundCharacters,
  2757.         e.parseErrorOccurred,
  2758.         e.string,
  2759.         null
  2760.     ]
  2761. }
  2762.  
  2763. XMLParser.prototype.toJSON = function() {
  2764.     let e = this;
  2765.     return {
  2766.         didStartDocument: e.didStartDocument,
  2767.         didEndDocument: e.didEndDocument,
  2768.         didStartElement: e.didStartElement,
  2769.         didEndElement: e.didEndElement,
  2770.         foundCharacters: e.foundCharacters,
  2771.         parseErrorOccurred: e.parseErrorOccurred,
  2772.         string: e.string
  2773.     }
  2774. }
Add Comment
Please, Sign In to add comment