content stringlengths 4 1.04M | lang stringclasses 358 values | score int64 0 5 | repo_name stringlengths 5 114 | repo_path stringlengths 4 229 | repo_licenses listlengths 1 8 |
|---|---|---|---|---|---|
package com.alibaba.json.bvt.date;
import java.util.Calendar;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
public class CalendarTest extends TestCase {
public void test_null() throws Exception {
String text = "{\"calendar\":null}";
VO vo = JSON.parseObject(text, VO.class);
Assert.assertNull(vo.getCalendar());
}
public void test_codec() throws Exception {
Calendar calendar = Calendar.getInstance(JSON.defaultTimeZone, JSON.defaultLocale);
VO vo = new VO();
vo.setCalendar(calendar);
String text = JSON.toJSONString(vo);
VO vo2 = JSON.parseObject(text, VO.class);
Assert.assertEquals(vo.getCalendar().getTimeInMillis(), vo2.getCalendar().getTimeInMillis());
}
public void test_codec_iso88591() throws Exception {
Calendar calendar = Calendar.getInstance(JSON.defaultTimeZone, JSON.defaultLocale);
VO vo = new VO();
vo.setCalendar(calendar);
String text = JSON.toJSONString(vo, SerializerFeature.UseISO8601DateFormat);
VO vo2 = JSON.parseObject(text, VO.class);
Assert.assertEquals(vo.getCalendar().getTimeInMillis(), vo2.getCalendar().getTimeInMillis());
}
public void test_codec_iso88591_2() throws Exception {
Calendar calendar = Calendar.getInstance(JSON.defaultTimeZone, JSON.defaultLocale);
calendar.set(Calendar.SECOND, 0);
calendar.set(Calendar.MILLISECOND, 0);
VO vo = new VO();
vo.setCalendar(calendar);
String text = JSON.toJSONString(vo, SerializerFeature.UseISO8601DateFormat);
VO vo2 = JSON.parseObject(text, VO.class);
Assert.assertEquals(vo.getCalendar().getTimeInMillis(), vo2.getCalendar().getTimeInMillis());
}
public static class VO {
private Calendar calendar;
public Calendar getCalendar() {
return calendar;
}
public void setCalendar(Calendar calendar) {
this.calendar = calendar;
}
}
}
| Java | 3 | Czarek93/fastjson | src/test/java/com/alibaba/json/bvt/date/CalendarTest.java | [
"Apache-2.0"
] |
{% extends "WallabagCoreBundle::layout.html.twig" %}
{% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %}
{% block content %}
<div class="row">
<div class="col s12">
<div class="card-panel">
<div class="row">
<div class="input-field col s12">
<h4>{{ 'site_credential.new_site_credential'|trans }}</h4>
<div id="set6" class="col s12">
{{ form_start(form) }}
{{ form_errors(form) }}
<div class="row">
<div class="input-field col s12">
{{ form_label(form.host) }}
{{ form_errors(form.host) }}
{{ form_widget(form.host) }}
</div>
</div>
<div class="row">
<div class="input-field col s12">
{{ form_label(form.username) }}
{{ form_errors(form.username) }}
{{ form_widget(form.username) }}
</div>
</div>
<div class="row">
<div class="input-field col s12">
{{ form_label(form.password) }}
{{ form_errors(form.password) }}
{{ form_widget(form.password) }}
</div>
</div>
{{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
{{ form_rest(form) }}
</form>
<p><a class="waves-effect waves-light btn blue-grey" href="{{ path('site_credentials_index') }}">{{ 'site_credential.form.back_to_list'|trans }}</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
| Twig | 4 | blessleroy/wallabag | src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/new.html.twig | [
"MIT"
] |
\data\
ngram 1= 14
ngram 2= 33
ngram 3= 44
\1-grams:
-0.7383 </s> 0.0000
-1.7160 <s> -0.5763
-0.8709 <unk> 0.0000
-1.0628 Ahmet -0.3168
-1.2389 Hamza -0.2888
-1.3181 armut -0.4929
-1.2389 dondurma -0.5898
-1.0628 elma -0.6179
-1.2389 kedi -0.2888
-1.5399 kırmızı -0.1919
-1.4150 sarı -0.1919
-0.9756 yedi -1.1919
-1.2389 yemedi -0.8909
-1.4150 yemez -0.6690
\2-grams:
-0.4555 <s> Ahmet -0.2264
-0.6830 <s> Hamza -0.2041
-0.7962 <s> kedi -0.2264
-1.7694 <s> sarı 0.0000
-1.3502 Ahmet armut -0.1249
-1.3502 Ahmet dondurma -0.1249
-0.7705 Ahmet elma -0.1249
-1.3502 Ahmet kedi -0.1249
-1.3502 Ahmet kırmızı -0.1249
-0.7705 Ahmet sarı -0.1249
-1.1461 Hamza armut -0.1249
-1.1461 Hamza dondurma -0.1249
-0.5663 Hamza elma -0.1249
-1.1461 Hamza kırmızı -0.1249
-0.2297 armut yedi -0.1761
-1.0492 armut yemez -0.1249
-0.1730 dondurma yedi -0.3010
-1.1461 dondurma yemedi -0.1249
-0.5307 elma yedi -0.1761
-0.5307 elma yemedi -0.1761
-0.7705 elma yemez -0.3590
-1.1461 kedi armut -0.1249
-1.1461 kedi dondurma -0.1249
-0.5663 kedi elma -0.1249
-1.1461 kedi yemedi -0.1249
-0.7482 kırmızı dondurma -0.1249
-0.7482 kırmızı elma -0.1249
-0.9243 sarı armut -0.1249
-0.9243 sarı dondurma -0.1249
-0.9243 sarı elma -0.1249
-0.0289 yedi </s> 0.0000
-0.0598 yemedi </s> 0.0000
-0.1047 yemez </s> 0.0000
\3-grams:
-1.5051 <s> Ahmet armut
-1.5051 <s> Ahmet dondurma
-0.8519 <s> Ahmet elma
-1.5051 <s> Ahmet kedi
-1.5051 <s> Ahmet kırmızı
-0.8519 <s> Ahmet sarı
-1.3010 <s> Hamza armut
-1.3010 <s> Hamza dondurma
-0.6478 <s> Hamza elma
-1.3010 <s> Hamza kırmızı
-1.2041 <s> kedi armut
-1.2041 <s> kedi dondurma
-0.5509 <s> kedi elma
-0.6021 <s> sarı dondurma
-0.6021 Ahmet armut yedi
-0.6021 Ahmet dondurma yedi
-0.9031 Ahmet elma yedi
-0.9031 Ahmet elma yemedi
-0.6021 Ahmet kedi yemedi
-0.6021 Ahmet kırmızı elma
-0.9031 Ahmet sarı armut
-0.9031 Ahmet sarı elma
-0.6021 Hamza armut yedi
-0.6021 Hamza dondurma yedi
-0.9031 Hamza elma yemedi
-0.9031 Hamza elma yemez
-0.6021 Hamza kırmızı dondurma
-0.4771 armut yedi </s>
-0.6021 armut yemez </s>
-0.3010 dondurma yedi </s>
-0.6021 dondurma yemedi </s>
-0.4771 elma yedi </s>
-0.4771 elma yemedi </s>
-0.2499 elma yemez </s>
-0.6021 kedi armut yemez
-0.6021 kedi dondurma yedi
-0.9031 kedi elma yemedi
-0.9031 kedi elma yemez
-0.6021 kedi yemedi </s>
-0.6021 kırmızı dondurma yedi
-0.6021 kırmızı elma yedi
-0.6021 sarı armut yedi
-0.6021 sarı dondurma yemedi
-0.6021 sarı elma yedi
\end
| DNS Zone | 2 | flower-gardener/zemberek-nlp | lm/src/test/resources/tiny-converted.arpa | [
"ECL-2.0",
"Apache-2.0",
"BSD-3-Clause"
] |
--TEST--
Array type declaration
--FILE--
<?php
function foo(array $a) {
echo count($a)."\n";
}
foo(array(1,2,3));
foo(123);
?>
--EXPECTF--
3
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type array, int given, called in %s:%d
Stack trace:
#0 %s(%d): foo(123)
#1 {main}
thrown in %s on line 2
| PHP | 4 | thiagooak/php-src | Zend/tests/type_declarations/array_001.phpt | [
"PHP-3.01"
] |
staload "libats/ML/SATS/string.sats"
staload _ = "libats/ML/DATS/string.dats"
staload UN = "prelude/SATS/unsafe.sats"
staload "SATS/error.sats"
staload "$PATSHOMELOCS/edit-distance-0.5.0/SATS/edit-distance.sats"
#include "DATS/version.dats"
// Type for the parsed command-line arguments.
vtypedef command_line = @{ version = bool
, help = bool
, no_table = bool
, html = bool
, no_style = bool
, no_parallel = bool
, no_colorize = bool
, skip_links = bool
, verbose = bool
, excludes = [m:nat] list(string, m)
, includes = [m:nat] list(string, m)
}
fn version() : void =
{
val () = println!("polygot version 0.5.29")
val () = compiler_version()
val () = libc_version()
val () = println!("\nCopyright (c) 2018-2020 Vanessa McHale")
}
fn help() : void =
print("polyglot - Count lines of code quickly.
\33[36mUSAGE:\33[0m poly [DIRECTORY] ... [OPTION] ...
\33[36mFLAGS:\33[0m
-V, --version show version information
-h, --help display this help and exit
-e, --exclude exclude a directory
-c, --no-color do not colorize output
-p, --no-parallel do not execute in parallel
-t, --no-table display results in alternate format
-v, --verbose display per-file results
--html dump HTML output
-s, --no-style do not add CSS styles to HTML output
When no directory is provided poly will execute in the
current directory.
Bug reports and updates: github.com/vmchale/polyglot\n")
fn is_flag(s : string) : bool =
string_is_prefix("-", s)
fun process_short { s : int | s > 0 }(s : string(s), acc : command_line, fail : bool) : command_line =
let
var str = string_make_substring(s, i2sz(0), i2sz(1))
var acc_r = ref<command_line>(acc)
val () = case+ str of
| "h" => acc_r -> help := true
| "p" => if not(acc.no_parallel) then
acc_r -> no_parallel := true
else
bad_flag("-p")
| "t" => if not(acc.no_table) then
acc_r -> no_table := true
else
bad_flag("-t")
| "e" => bad_exclude("-e")
| "c" => acc_r -> no_colorize := true
| "s" => acc_r -> no_style := true
| "V" => acc_r -> version := true
| "v" => acc_r -> verbose := true
| "-" when fail => ( println!("\33[31mError:\33[0m failed to parse command-line flags. Try 'poly --help'.")
; exit(1)
; ()
)
| "-" => ()
| _ => (println!("\33[31mError:\33[0m flag '" + s + "' not recognized") ; exit(1) ; ())
extern
castfn witness(s : string) : [ n : nat | n > 0 ] string(n)
val inter = !acc_r
in
if length(s) > 1 then
process_short(witness(string_make_substring(s, i2sz(1), length(s))), inter, true)
else
inter
end
fun process(s : string, acc : command_line, is_first : bool) : command_line =
let
extern
castfn witness(s : string) : [ s : nat | s > 0 ] string(s)
fn process(s : string) : string =
case+ s of
| ".." => "../"
| _ => s
fn unrecognized(s : string, flag : string) : void =
(println!("\33[31mError:\33[0m flag '" + s + "' not recognized. Did you mean '" + flag + "'?") ; exit(1) ; ())
var acc_r = ref<command_line>(acc)
val () = if is_flag(s) then
case+ s of
| "--help" => acc_r -> help := true
| "-h" => acc_r -> help := true
| "--html" => acc_r -> html := true
| "--no-table" => if not(acc.no_table) then
acc_r -> no_table := true
else
bad_flag(s)
| "-t" => if not(acc.no_table) then
acc_r -> no_table := true
else
bad_flag(s)
| "--no-parallel" => if not(acc.no_parallel) then
acc_r -> no_parallel := true
else
bad_flag(s)
| "-p" => if not(acc.no_parallel) then
acc_r -> no_parallel := true
else
bad_flag(s)
| "--version" => acc_r -> version := true
| "-V" => acc_r -> version := true
| "--verbose" => acc_r -> verbose := true
| "-v" => acc_r -> verbose := true
| "--no-color" => acc_r -> no_colorize := true
| "-c" => acc_r -> no_colorize := true
| "--no-style" => acc_r -> no_style := true
| "-s" => acc_r -> no_style := true
| "-e" => bad_exclude(s)
| "--exclude" => bad_exclude(s)
| "-" => error_flag(s)
| _ when levenshtein_(s, "--exclude") <= 2 => unrecognized(s, "--exclude")
| _ when levenshtein_(s, "--help") <= 2 => unrecognized(s, "--help")
| _ when levenshtein_(s, "--html") <= 2 => unrecognized(s, "--html")
| _ when levenshtein_(s, "--no-parallel") <= 3 => unrecognized(s, "--no-parallel")
| _ when levenshtein_(s, "--no-table") <= 3 => unrecognized(s, "--no-table")
| _ when levenshtein_(s, "--no-style") <= 3 => unrecognized(s, "--no-style")
| _ => let
val new_acc = process_short(witness(s), acc, false)
val _ = acc_r -> help := new_acc.help
val _ = acc_r -> no_parallel := new_acc.no_parallel
val _ = acc_r -> version := new_acc.version
val _ = acc_r -> verbose := new_acc.verbose
val _ = acc_r -> no_table := new_acc.no_table
val _ = acc_r -> no_colorize := new_acc.no_colorize
in
()
end
else
if not(is_first) then
acc_r -> includes := list_cons(process(s), acc.includes)
else
()
in
!acc_r
end
fn process_excludes(s : string, acc : command_line) : command_line =
let
var acc_r = ref<command_line>(acc)
val () = if is_flag(s) then
bad_directory(s)
else
acc_r -> excludes := list_cons(s, acc.excludes)
in
!acc_r
end
// TODO minor problem in how exclusions are handled with short flags
fun get_cli { n : int | n >= 1 }{ m : nat | m < n } .<n-m>. ( argc : int(n)
, argv : !argv(n)
, current : int(m)
, prev_is_exclude : bool
, acc : command_line
) : command_line =
let
var arg = argv[current]
in
if current < argc - 1 then
if arg != "--exclude" && arg != "-e" then
let
val c = get_cli(argc, argv, current + 1, false, acc)
in
if prev_is_exclude && current != 0 then
process_excludes(arg, c)
else
if current != 0 then
process(arg, c, current = 0)
else
c
end
else
let
val c = get_cli(argc, argv, current + 1, true, acc)
in
c
end
else
if prev_is_exclude then
process_excludes(arg, acc)
else
process(arg, acc, current = 0)
end
fn check_cli(chk : command_line) : void =
if chk.no_style && not(chk.html) then
redundant_cli_flag()
else
()
| ATS | 5 | lambdaxymox/polyglot | DATS/cli.dats | [
"BSD-3-Clause"
] |
[Desktop Entry]
Name=DevilutionX Hellfire
Comment=Diablo 1: Hellfire for RetroFW
Exec=devilutionx
Terminal=false
Type=Application
StartupNotify=true
Icon=hellfire_32
Categories=games;
X-OD-Manual=readme.retrofw.txt
X-OD-NeedsDownscaling=true
X-OD-NeedsJoystick=true
| desktop | 1 | mewpull/devilutionX | Packaging/OpenDingux/retrofw-hellfire.desktop | [
"Unlicense"
] |
/datum/daemon/game
name = "game"
delay = 5
/datum/daemon/game/DoWork()
if(_glob.game_state) _glob.game_state.Tick()
CHECK_SUSPEND
/datum/daemon/game/Status()
return "[_glob.game_state.ident] started [_glob.game_state.time_initialized]" | DM | 3 | BloodyMan/Antimonium | code/master_controller/daemons/game.dm | [
"CC-BY-4.0"
] |
NB. Exercise 1.29, p.60
NB. http://www.jsoftware.com/svn/addons/trunk/math/misc/integrat.ijs
simpson =: 2 : 0
'a b n' =. 3{. y,128
h =. (b-a) % n
val =. x a + h * i. >: n
h * +/ val * 3%~ 1,((n-1)$4 2),1
)
NB. Exercise 1.33, p.61
NB. http://www.rogerstokes.free-online.co.uk/14.htm
ACC =: 1 : 0
com =: u @. 0
map =: u @. 1
fil =: u @. 2
((com /) @: map @: (#~ fil)) f.
)
square_primes =: (+ ` *: ` (1&p:)) ACC
echo square_primes 1 2 3 4
NB. Exercise 1.35, p.70
NB. http://www.rogerstokes.free-online.co.uk/13.htm
FPF =: 1 : '(u ^: _ ) 0.5' NB. fixed-point-finder adverb with initial guess 0.5
phi =: 1: + % NB. iterative function to calculate phi
echo phi FPF
| J | 4 | CompSciCabal/SMRTYPRTY | sicp/v1/chapter-1.3/ndpar-1.3.ijs | [
"Unlicense"
] |
= Form support
Showoff extends Markdown to render a limited subset of form elements. This is
mostly useful for polls, quizzes, surveys, etc. These extensions are only
rendered on slide that have been marked as forms.
Form responses are saved to a JSON file on disk, <tt>stats/forms.json</tt>, and
cached in memory for quick access. Responses are keyed by form ID and IP
address. Each IP has only one response saved, and subsequent submissions will
overwrite. Showoff saves and reloads data from disk, so you can run the
presentation multiple times without data loss. Just like
<tt>stats/viewstats.json</tt>, you should remove the file prior to starting the
presentation if you'd like to start from a clean slate.
Responses can optionally be displayed live in the presenter view.
== Marking a slide
Each slide containing a form must be marked as such by including that form's ID
in the slide signature. For example, to create a slide that posts to the id of
`experience`, the slide signature that you might use could look like:
<!SLIDE form=experience>
== Markdown extensions
Form slides are rendered via Markdown extension with the general form of:
question = answer(s)
Both sides, the question and the answer(s) are tokenized so that they may be
represented as either a single continuous string, or a key and a string. This
would look like:
key -> A human readable representation of the element
If the `=` sign has an asterisk prepended, then the field is marked as required.
question *= answer(s)
=== Form element syntax
The right hand side (answer) can be rendered in the following ways:
[text field]
Three or more consecutive underscores, followed by an optional length.
name = ___
name = ___[50]
name -> What is your name? = ___[50]
[text area]
Whitespace surrounded by square brackets, including an optional number of rows.
comments = [ ]
comments = [ 5]
[radio buttons]
Delineate a list of options on the right hand side with parentheses, optionally
marking one as default using an `x`. This accepts the tokenized form for a key
and a full human readable string. If options are placed on multiple lines
indented by 3+ spaces, then the output will be rendered as a bullet list.
For use as a quiz, you may mark correct answers with an `=`.
smartphone = () iPhone () Android () other -> Any other phone not listed
awake -> Are you paying attention? = (x) No () Yes
continent -> Which continent is largest? =
() Africa
() Americas
(=) Asia
() Australia
() Europe
[checkboxes]
Works exactly like radio boxes, only using square brackets as delineators.
Use `x` to mark the default options and `=` to mark correct options.
smartphone = [] iPhone [] Android [x] other -> Any other phone not listed
[combo select]
Surround options on the right hand side with curly brackets and a combo select
box will be rendered. If you place the options on multiple lines, you can use
the long tokenized form. The shorthand single line syntax supports keys only.
The default option may be specified by surrounding an option with parentheses
and the correct option may be indicated with square brackets.
phoneos -> Which phone OS is developed by Google? = {iPhone, [Android], Other }
smartphone = {iPhone, Android, (Other) }
smartphone = {iPhone, Android, (other -> Any other phone not listed) }
cuisine -> What is your favorite cuisine? = { American, Italian, French }
cuisine -> What is your favorite cuisine? = {
US -> American
IT -> Italian
FR -> French
}
== Viewing results
A continuously updating block displaying the live results from a given form ID
can be embedded into the presenter notes using the syntax below. The ID should
match the ID of a form created by marking a slide with a form tag.
~~~FORM:id~~~
This will display all data that can be rendered in aggregate form as a horizontal
bar chart that updates every three seconds. Free entry elements are not displayed.
The presenter view also includes a <em>Display Results</em> button instead of the
<em>Save</em> button that audience members see. Pressing this button will render
a single snapshot of the current results over the display window. This will commonly
be displayed on the projector. Pressing the button again will update the results.
== Example slide
<!SLIDE form=classinfo>
# Making Acquaintances
## Let's get to know each other
Tell me a little bit about yourself to help me better tailor the classroom
experience towards your needs.
howlong -> How long have have you been using Puppet? = {
under -> Less than six months
6mo -> Around six months
1yr -> About a year
2yr -> Two years or so
more -> Since before Puppet Enterprise was a sparkle in Luke's eye, get offa my lawn.
}
job -> What is your work role? =
[] support -> Technical Support
[] Sysadmin
[] dbadmin -> DB Admin
[] Developer
[] Management
usedpe -> Have you used Puppet Enterprise? = () Yes () No
prepared -> Do you feel prepared for this class? = () Yes () No
~~~SECTION:notes~~~
Tell the class a little bit about yourself and your own background.
~~~FORM:classinfo~~~
~~~ENDSECTION~~~
| RDoc | 4 | mehrdad-shokri/showoff | documentation/FORMS.rdoc | [
"MIT"
] |
%h3 500 Internal Server Error
%hr
%p
Please try later.
| Scaml | 0 | mohno007/skinny-framework | example/src/main/webapp/WEB-INF/views/error/500.html.scaml | [
"MIT"
] |
<link rel="stylesheet" href="stylesheet1.css">
<link rel="stylesheet" href="stylesheet2.css">
<script>
window.addEventListener('DOMContentLoaded', () => {
// Force stylesheets to load.
console.log(window.getComputedStyle(document.body).color);
}, false);
</script>
| HTML | 4 | NareshMurthy/playwright | test/assets/csscoverage/multiple.html | [
"Apache-2.0"
] |
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/heap/cppgc/free-list.h"
#include <memory>
#include <numeric>
#include <vector>
#include "src/base/bits.h"
#include "src/heap/cppgc/globals.h"
#include "src/heap/cppgc/heap-object-header.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cppgc {
namespace internal {
namespace {
class Block {
public:
Block() = default;
explicit Block(size_t size) : address_(calloc(1, size)), size_(size) {}
Block(Block&& other) V8_NOEXCEPT : address_(other.address_),
size_(other.size_) {
other.address_ = nullptr;
other.size_ = 0;
}
Block& operator=(Block&& other) V8_NOEXCEPT {
address_ = other.address_;
size_ = other.size_;
other.address_ = nullptr;
other.size_ = 0;
return *this;
}
~Block() { free(address_); }
void* Address() const { return address_; }
size_t Size() const { return size_; }
private:
void* address_ = nullptr;
size_t size_ = 0;
};
std::vector<Block> CreateEntries() {
static constexpr size_t kFreeListEntrySizeLog2 =
v8::base::bits::WhichPowerOfTwo(kFreeListEntrySize);
std::vector<Block> vector;
vector.reserve(kPageSizeLog2);
for (size_t i = kFreeListEntrySizeLog2; i < kPageSizeLog2; ++i) {
vector.emplace_back(static_cast<size_t>(1u) << i);
}
return vector;
}
FreeList CreatePopulatedFreeList(const std::vector<Block>& blocks) {
FreeList list;
for (const auto& block : blocks) {
list.Add({block.Address(), block.Size()});
}
return list;
}
} // namespace
TEST(FreeListTest, Empty) {
FreeList list;
EXPECT_TRUE(list.IsEmpty());
EXPECT_EQ(0u, list.Size());
auto block = list.Allocate(16);
EXPECT_EQ(nullptr, block.address);
EXPECT_EQ(0u, block.size);
}
TEST(FreeListTest, Add) {
auto blocks = CreateEntries();
FreeList list = CreatePopulatedFreeList(blocks);
EXPECT_FALSE(list.IsEmpty());
const size_t allocated_size = std::accumulate(
blocks.cbegin(), blocks.cend(), 0u,
[](size_t acc, const Block& b) { return acc + b.Size(); });
EXPECT_EQ(allocated_size, list.Size());
}
TEST(FreeListTest, AddWasted) {
FreeList list;
alignas(HeapObjectHeader) uint8_t buffer[sizeof(HeapObjectHeader)];
list.Add({buffer, sizeof(buffer)});
EXPECT_EQ(0u, list.Size());
EXPECT_TRUE(list.IsEmpty());
}
TEST(FreeListTest, Clear) {
auto blocks = CreateEntries();
FreeList list = CreatePopulatedFreeList(blocks);
list.Clear();
EXPECT_EQ(0u, list.Size());
EXPECT_TRUE(list.IsEmpty());
}
TEST(FreeListTest, Move) {
{
auto blocks = CreateEntries();
FreeList list1 = CreatePopulatedFreeList(blocks);
const size_t expected_size = list1.Size();
FreeList list2 = std::move(list1);
EXPECT_EQ(expected_size, list2.Size());
EXPECT_FALSE(list2.IsEmpty());
EXPECT_EQ(0u, list1.Size());
EXPECT_TRUE(list1.IsEmpty());
}
{
auto blocks1 = CreateEntries();
FreeList list1 = CreatePopulatedFreeList(blocks1);
const size_t expected_size = list1.Size();
auto blocks2 = CreateEntries();
FreeList list2 = CreatePopulatedFreeList(blocks2);
list2 = std::move(list1);
EXPECT_EQ(expected_size, list2.Size());
EXPECT_FALSE(list2.IsEmpty());
EXPECT_EQ(0u, list1.Size());
EXPECT_TRUE(list1.IsEmpty());
}
}
TEST(FreeListTest, Append) {
auto blocks1 = CreateEntries();
FreeList list1 = CreatePopulatedFreeList(blocks1);
const size_t list1_size = list1.Size();
auto blocks2 = CreateEntries();
FreeList list2 = CreatePopulatedFreeList(blocks2);
const size_t list2_size = list1.Size();
list2.Append(std::move(list1));
EXPECT_EQ(list1_size + list2_size, list2.Size());
EXPECT_FALSE(list2.IsEmpty());
EXPECT_EQ(0u, list1.Size());
EXPECT_TRUE(list1.IsEmpty());
}
TEST(FreeListTest, Contains) {
auto blocks = CreateEntries();
FreeList list = CreatePopulatedFreeList(blocks);
for (const auto& block : blocks) {
EXPECT_TRUE(list.ContainsForTesting({block.Address(), block.Size()}));
}
}
TEST(FreeListTest, Allocate) {
static constexpr size_t kFreeListEntrySizeLog2 =
v8::base::bits::WhichPowerOfTwo(kFreeListEntrySize);
std::vector<Block> blocks;
blocks.reserve(kPageSizeLog2);
for (size_t i = kFreeListEntrySizeLog2; i < kPageSizeLog2; ++i) {
blocks.emplace_back(static_cast<size_t>(1u) << i);
}
FreeList list = CreatePopulatedFreeList(blocks);
// Try allocate from the biggest block.
for (auto it = blocks.rbegin(); it < blocks.rend(); ++it) {
const auto result = list.Allocate(it->Size());
EXPECT_EQ(it->Address(), result.address);
EXPECT_EQ(it->Size(), result.size);
}
EXPECT_EQ(0u, list.Size());
EXPECT_TRUE(list.IsEmpty());
// Check that allocation fails for empty list:
const auto empty_block = list.Allocate(8);
EXPECT_EQ(nullptr, empty_block.address);
EXPECT_EQ(0u, empty_block.size);
}
} // namespace internal
} // namespace cppgc
| C++ | 4 | LancerWang001/v8 | test/unittests/heap/cppgc/free-list-unittest.cc | [
"BSD-3-Clause"
] |
# encoding: UTF-8
# frozen_string_literal: true
module TZInfo
# Base class for rules definining the transition between standard and daylight
# savings time.
#
# @abstract
# @private
class TransitionRule #:nodoc:
# Returns the number of seconds after midnight local time on the day
# identified by the rule at which the transition occurs. Can be negative to
# denote a time on the prior day. Can be greater than or equal to 86,400 to
# denote a time of the following day.
#
# @return [Integer] the time in seconds after midnight local time at which
# the transition occurs.
attr_reader :transition_at
# Initializes a new {TransitionRule}.
#
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
def initialize(transition_at)
raise ArgumentError, 'Invalid transition_at' unless transition_at.kind_of?(Integer)
@transition_at = transition_at
end
# Calculates the time of the transition from a given offset on a given year.
#
# @param offset [TimezoneOffset] the current offset at the time the rule
# will transition.
# @param year [Integer] the year in which the transition occurs (local
# time).
# @return [TimestampWithOffset] the time at which the transition occurs.
def at(offset, year)
day = get_day(offset, year)
TimestampWithOffset.set_timezone_offset(Timestamp.for(day + @transition_at), offset)
end
# Determines if this {TransitionRule} is equal to another instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {TransitionRule} with the same
# {transition_at} as this {TransitionRule}, otherwise `false`.
def ==(r)
r.kind_of?(TransitionRule) && @transition_at == r.transition_at
end
alias eql? ==
# @return [Integer] a hash based on {hash_args} (defaulting to
# {transition_at}).
def hash
hash_args.hash
end
protected
# @return [Array] an `Array` of parameters that will influence the output of
# {hash}.
def hash_args
[@transition_at]
end
end
private_constant :TransitionRule
# A base class for transition rules that activate based on an integer day of
# the year.
#
# @abstract
# @private
class DayOfYearTransitionRule < TransitionRule #:nodoc:
# Initializes a new {DayOfYearTransitionRule}.
#
# @param day [Integer] the day of the year on which the transition occurs.
# The precise meaning is defined by subclasses.
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
# @raise [ArgumentError] if `day` is not an `Integer`.
def initialize(day, transition_at)
super(transition_at)
raise ArgumentError, 'Invalid day' unless day.kind_of?(Integer)
@seconds = day * 86400
end
# Determines if this {DayOfYearTransitionRule} is equal to another instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {DayOfYearTransitionRule} with the
# same {transition_at} and day as this {DayOfYearTransitionRule},
# otherwise `false`.
def ==(r)
super(r) && r.kind_of?(DayOfYearTransitionRule) && @seconds == r.seconds
end
alias eql? ==
protected
# @return [Integer] the day multipled by the number of seconds in a day.
attr_reader :seconds
# (see TransitionRule#hash_args)
def hash_args
[@seconds] + super
end
end
private_constant :DayOfYearTransitionRule
# Defines transitions that occur on the zero-based nth day of the year.
#
# Day 0 is 1 January.
#
# Leap days are counted. Day 59 will be 29 February on a leap year and 1 March
# on a non-leap year. Day 365 will be 31 December on a leap year and 1 January
# the following year on a non-leap year.
#
# @private
class AbsoluteDayOfYearTransitionRule < DayOfYearTransitionRule #:nodoc:
# Initializes a new {AbsoluteDayOfYearTransitionRule}.
#
# @param day [Integer] the zero-based day of the year on which the
# transition occurs (0 to 365 inclusive).
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
# @raise [ArgumentError] if `day` is not an `Integer`.
# @raise [ArgumentError] if `day` is less than 0 or greater than 365.
def initialize(day, transition_at = 0)
super(day, transition_at)
raise ArgumentError, 'Invalid day' unless day >= 0 && day <= 365
end
# @return [Boolean] `true` if the day specified by this transition is the
# first in the year (a day number of 0), otherwise `false`.
def is_always_first_day_of_year?
seconds == 0
end
# @return [Boolean] `false`.
def is_always_last_day_of_year?
false
end
# Determines if this {AbsoluteDayOfYearTransitionRule} is equal to another
# instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {AbsoluteDayOfYearTransitionRule}
# with the same {transition_at} and day as this
# {AbsoluteDayOfYearTransitionRule}, otherwise `false`.
def ==(r)
super(r) && r.kind_of?(AbsoluteDayOfYearTransitionRule)
end
alias eql? ==
protected
# Returns a `Time` representing midnight local time on the day specified by
# the rule for the given offset and year.
#
# @param offset [TimezoneOffset] the current offset at the time of the
# transition.
# @param year [Integer] the year in which the transition occurs.
# @return [Time] midnight local time on the day specified by the rule for
# the given offset and year.
def get_day(offset, year)
Time.new(year, 1, 1, 0, 0, 0, offset.observed_utc_offset) + seconds
end
# (see TransitionRule#hash_args)
def hash_args
[AbsoluteDayOfYearTransitionRule] + super
end
end
# Defines transitions that occur on the one-based nth Julian day of the year.
#
# Leap days are not counted. Day 1 is 1 January. Day 60 is always 1 March.
# Day 365 is always 31 December.
#
# @private
class JulianDayOfYearTransitionRule < DayOfYearTransitionRule #:nodoc:
# The 60 days in seconds.
LEAP = 60 * 86400
private_constant :LEAP
# The length of a non-leap year in seconds.
YEAR = 365 * 86400
private_constant :YEAR
# Initializes a new {JulianDayOfYearTransitionRule}.
#
# @param day [Integer] the one-based Julian day of the year on which the
# transition occurs (1 to 365 inclusive).
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
# @raise [ArgumentError] if `day` is not an `Integer`.
# @raise [ArgumentError] if `day` is less than 1 or greater than 365.
def initialize(day, transition_at = 0)
super(day, transition_at)
raise ArgumentError, 'Invalid day' unless day >= 1 && day <= 365
end
# @return [Boolean] `true` if the day specified by this transition is the
# first in the year (a day number of 1), otherwise `false`.
def is_always_first_day_of_year?
seconds == 86400
end
# @return [Boolean] `true` if the day specified by this transition is the
# last in the year (a day number of 365), otherwise `false`.
def is_always_last_day_of_year?
seconds == YEAR
end
# Determines if this {JulianDayOfYearTransitionRule} is equal to another
# instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {JulianDayOfYearTransitionRule} with
# the same {transition_at} and day as this
# {JulianDayOfYearTransitionRule}, otherwise `false`.
def ==(r)
super(r) && r.kind_of?(JulianDayOfYearTransitionRule)
end
alias eql? ==
protected
# Returns a `Time` representing midnight local time on the day specified by
# the rule for the given offset and year.
#
# @param offset [TimezoneOffset] the current offset at the time of the
# transition.
# @param year [Integer] the year in which the transition occurs.
# @return [Time] midnight local time on the day specified by the rule for
# the given offset and year.
def get_day(offset, year)
# Returns 1 March on non-leap years.
leap = Time.new(year, 2, 29, 0, 0, 0, offset.observed_utc_offset)
diff = seconds - LEAP
diff += 86400 if diff >= 0 && leap.mday == 29
leap + diff
end
# (see TransitionRule#hash_args)
def hash_args
[JulianDayOfYearTransitionRule] + super
end
end
private_constant :JulianDayOfYearTransitionRule
# A base class for rules that transition on a particular day of week of a
# given week (subclasses specify which week of the month).
#
# @abstract
# @private
class DayOfWeekTransitionRule < TransitionRule #:nodoc:
# Initializes a new {DayOfWeekTransitionRule}.
#
# @param month [Integer] the month of the year when the transition occurs.
# @param day_of_week [Integer] the day of the week when the transition
# occurs. 0 is Sunday, 6 is Saturday.
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
# @raise [ArgumentError] if `month` is not an `Integer`.
# @raise [ArgumentError] if `month` is less than 1 or greater than 12.
# @raise [ArgumentError] if `day_of_week` is not an `Integer`.
# @raise [ArgumentError] if `day_of_week` is less than 0 or greater than 6.
def initialize(month, day_of_week, transition_at)
super(transition_at)
raise ArgumentError, 'Invalid month' unless month.kind_of?(Integer) && month >= 1 && month <= 12
raise ArgumentError, 'Invalid day_of_week' unless day_of_week.kind_of?(Integer) && day_of_week >= 0 && day_of_week <= 6
@month = month
@day_of_week = day_of_week
end
# @return [Boolean] `false`.
def is_always_first_day_of_year?
false
end
# @return [Boolean] `false`.
def is_always_last_day_of_year?
false
end
# Determines if this {DayOfWeekTransitionRule} is equal to another
# instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {DayOfWeekTransitionRule} with the
# same {transition_at}, month and day of week as this
# {DayOfWeekTransitionRule}, otherwise `false`.
def ==(r)
super(r) && r.kind_of?(DayOfWeekTransitionRule) && @month == r.month && @day_of_week == r.day_of_week
end
alias eql? ==
protected
# @return [Integer] the month of the year (1 to 12).
attr_reader :month
# @return [Integer] the day of the week (0 to 6 for Sunday to Monday).
attr_reader :day_of_week
# (see TransitionRule#hash_args)
def hash_args
[@month, @day_of_week] + super
end
end
private_constant :DayOfWeekTransitionRule
# A rule that transitions on the nth occurrence of a particular day of week
# of a calendar month.
#
# @private
class DayOfMonthTransitionRule < DayOfWeekTransitionRule #:nodoc:
# Initializes a new {DayOfMonthTransitionRule}.
#
# @param month [Integer] the month of the year when the transition occurs.
# @param week [Integer] the week of the month when the transition occurs (1
# to 4).
# @param day_of_week [Integer] the day of the week when the transition
# occurs. 0 is Sunday, 6 is Saturday.
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
# @raise [ArgumentError] if `month` is not an `Integer`.
# @raise [ArgumentError] if `month` is less than 1 or greater than 12.
# @raise [ArgumentError] if `week` is not an `Integer`.
# @raise [ArgumentError] if `week` is less than 1 or greater than 4.
# @raise [ArgumentError] if `day_of_week` is not an `Integer`.
# @raise [ArgumentError] if `day_of_week` is less than 0 or greater than 6.
def initialize(month, week, day_of_week, transition_at = 0)
super(month, day_of_week, transition_at)
raise ArgumentError, 'Invalid week' unless week.kind_of?(Integer) && week >= 1 && week <= 4
@offset_start = (week - 1) * 7 + 1
end
# Determines if this {DayOfMonthTransitionRule} is equal to another
# instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {DayOfMonthTransitionRule} with the
# same {transition_at}, month, week and day of week as this
# {DayOfMonthTransitionRule}, otherwise `false`.
def ==(r)
super(r) && r.kind_of?(DayOfMonthTransitionRule) && @offset_start == r.offset_start
end
alias eql? ==
protected
# @return [Integer] the day the week starts on for a month starting on a
# Sunday.
attr_reader :offset_start
# Returns a `Time` representing midnight local time on the day specified by
# the rule for the given offset and year.
#
# @param offset [TimezoneOffset] the current offset at the time of the
# transition.
# @param year [Integer] the year in which the transition occurs.
# @return [Time] midnight local time on the day specified by the rule for
# the given offset and year.
def get_day(offset, year)
candidate = Time.new(year, month, @offset_start, 0, 0, 0, offset.observed_utc_offset)
diff = day_of_week - candidate.wday
if diff < 0
candidate + (7 + diff) * 86400
elsif diff > 0
candidate + diff * 86400
else
candidate
end
end
# (see TransitionRule#hash_args)
def hash_args
[@offset_start] + super
end
end
private_constant :DayOfMonthTransitionRule
# A rule that transitions on the last occurrence of a particular day of week
# of a calendar month.
#
# @private
class LastDayOfMonthTransitionRule < DayOfWeekTransitionRule #:nodoc:
# Initializes a new {LastDayOfMonthTransitionRule}.
#
# @param month [Integer] the month of the year when the transition occurs.
# @param day_of_week [Integer] the day of the week when the transition
# occurs. 0 is Sunday, 6 is Saturday.
# @param transition_at [Integer] the time in seconds after midnight local
# time at which the transition occurs.
# @raise [ArgumentError] if `transition_at` is not an `Integer`.
# @raise [ArgumentError] if `month` is not an `Integer`.
# @raise [ArgumentError] if `month` is less than 1 or greater than 12.
# @raise [ArgumentError] if `day_of_week` is not an `Integer`.
# @raise [ArgumentError] if `day_of_week` is less than 0 or greater than 6.
def initialize(month, day_of_week, transition_at = 0)
super(month, day_of_week, transition_at)
end
# Determines if this {LastDayOfMonthTransitionRule} is equal to another
# instance.
#
# @param r [Object] the instance to test for equality.
# @return [Boolean] `true` if `r` is a {LastDayOfMonthTransitionRule} with
# the same {transition_at}, month and day of week as this
# {LastDayOfMonthTransitionRule}, otherwise `false`.
def ==(r)
super(r) && r.kind_of?(LastDayOfMonthTransitionRule)
end
alias eql? ==
protected
# Returns a `Time` representing midnight local time on the day specified by
# the rule for the given offset and year.
#
# @param offset [TimezoneOffset] the current offset at the time of the
# transition.
# @param year [Integer] the year in which the transition occurs.
# @return [Time] midnight local time on the day specified by the rule for
# the given offset and year.
def get_day(offset, year)
next_month = month + 1
if next_month == 13
year += 1
next_month = 1
end
candidate = Time.new(year, next_month, 1, 0, 0, 0, offset.observed_utc_offset) - 86400
diff = candidate.wday - day_of_week
if diff < 0
candidate - (diff + 7) * 86400
elsif diff > 0
candidate - diff * 86400
else
candidate
end
end
end
private_constant :LastDayOfMonthTransitionRule
end
| Ruby | 5 | puzzle/nochmal | spec/dummy/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/transition_rule.rb | [
"MIT"
] |
/* eslint-disable */
import React from "react"
import { navigate } from 'gatsby';
// Don't use navigate with an onClick btw :-)
// Generally just use the `<Link>` component.
export default props => (
<div onClick={() => navigate(`/`)}>Click to go to home</div >
) | JavaScript | 3 | cwlsn/gatsby | packages/gatsby-codemods/src/transforms/__testfixtures__/navigate-calls/basic-esm.output.js | [
"MIT"
] |
; AutoIt script template with Selenium
; https://www.autoitscript.com
;
Func Main()
; Launch the browser and open an URL
Dim $driver = ObjCreate("Selenium.FirefoxDriver")
$driver.Get("https://en.wikipedia.org/wiki/Main_Page")
$driver.Wait(2000)
$driver.Quit
EndFunc
Main() | AutoIt | 4 | igoreksiz/SeleniumBasic | Templates/Selenium.au3 | [
"BSD-3-Clause"
] |
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package b
import "./a"
var Here = a.New()
var Dir = Here.Dir
type T = struct {
a.Here
a.I
}
var X T
// Test exporting the type of method values for anonymous structs with
// promoted methods.
var A = a.A
var B = a.B
var C = a.C
var D = a.D
var E = a.E
var F = a.F
var G = (*a.T).Dir
var H = a.T.Dir
var I = a.X.Dir
var J = (*a.T).M
var K = a.T.M
var L = a.X.M
var M = (*T).Dir
var N = T.Dir
var O = X.Dir
var P = (*T).M
var Q = T.M
var R = X.M
| Go | 2 | SSSDNSY/go | test/fixedbugs/issue43479.dir/b.go | [
"BSD-3-Clause"
] |
## Zlib ##
ifneq ($(USE_BINARYBUILDER_ZLIB), 1)
ZLIB_GIT_URL := https://github.com/madler/zlib.git
ZLIB_TAR_URL = https://api.github.com/repos/madler/zlib/tarball/$1
$(eval $(call git-external,zlib,ZLIB,,,$(SRCCACHE)))
$(BUILDDIR)/$(ZLIB_SRC_DIR)/build-configured: $(SRCCACHE)/$(ZLIB_SRC_DIR)/source-extracted
mkdir -p $(dir $@)
cd $(dir $@) && $(CMAKE) -DCMAKE_INSTALL_PREFIX=$(abspath $(build_prefix)) -DCMAKE_BUILD_TYPE=Release -DUNIX=true $(dir $<)
echo 1 > $@
$(BUILDDIR)/$(ZLIB_SRC_DIR)/build-compiled: $(BUILDDIR)/$(ZLIB_SRC_DIR)/build-configured
$(MAKE) -C $(dir $<) $(MAKE_COMMON)
echo 1 > $@
$(eval $(call staged-install, \
zlib,$(ZLIB_SRC_DIR), \
MAKE_INSTALL,,, \
$(INSTALL_NAME_CMD)libz.$(SHLIB_EXT) $(build_shlibdir)/libz.$(SHLIB_EXT)))
clean-zlib:
-rm $(BUILDDIR)/$(ZLIB_SRC_DIR)/build-compiled $(build_libdir)/libz.a* $(build_libdir)/libz.so* $(build_includedir)/zlib.h $(build_includedir)/zconf.h
-$(MAKE) -C $(BUILDDIR)/$(ZLIB_SRC_DIR) distclean $(ZLIB_FLAGS)
get-zlib: $(ZLIB_SRC_FILE)
extract-zlib: $(BUILDDIR)/$(ZLIB_SRC_DIR)/source-extracted
configure-zlib: extract-zlib
compile-zlib: $(BUILDDIR)/$(ZLIB_SRC_DIR)/build-compiled
fastcheck-zlib: check-zlib
check-zlib: compile-zlib
else # USE_BINARYBUILDER_ZLIB
$(eval $(call bb-install,zlib,ZLIB,false))
endif # USE_BINARYBUILDER_ZLIB
| Makefile | 3 | JuliaLabs/julia | deps/zlib.mk | [
"MIT"
] |
(define cartesian-product
[ ] _ -> [ ]
[X | Y] Z -> (append (all-pairs-using-X X Z) (cartesian-product Y Z)))
(define all-pairs-using-X
_ [ ] -> [ ]
X [Y | Z] -> [[X Y] | (all-pairs-using-X X Z)])
| Shen | 4 | WilliamStone/Shen.java | shen/test/cartprod.shen | [
"Unlicense"
] |
(import
[docutils.core [publish-parts]]
[json [loads]]
[logging [getLogger]]
[lxml.etree [Element tostring fromstring]]
[markdown [Markdown]]
[models [get-latest]]
[nbformat [reads]]
[nbconvert [HTMLExporter]]
[smartypants [smartypants]]
[store [get-page]]
[textile [Textile]]
[time [time]])
(setv log (getLogger))
; instantiate markdown renderer upon module load
(def markdown-renderer
(apply Markdown [] {"extensions" ["markdown.extensions.extra"
"markdown.extensions.toc"
"markdown.extensions.smarty"
"markdown.extensions.codehilite"
"markdown.extensions.meta"
"markdown.extensions.sane_lists"]
"extension_configs" {"markdown.extensions.codehilite" {"css_class" "highlight"}}}))
(def textile-renderer
(apply Textile [] {"html_type" "html5"}))
(defn render-ipynb [raw]
(let [[exporter (HTMLExporter)]]
(setv (. exporter template-file) "basic")
(get (.from-notebook-node exporter (reads raw 4)) 0)))
(defn render-html [raw]
(let [[res (.strip raw)]]
(if (len res)
res
"<body></body>")))
(defn render-plaintext [raw]
(% "<pre>\n%s</pre>" raw))
(defn render-restructured-text [raw]
(get (apply publish-parts [raw] {"writer_name" "html"}) "html_body"))
(defn render-markdown [raw]
(.reset markdown-renderer)
(.convert markdown-renderer raw))
(defn render-textile [raw]
(smartypants (apply textile-renderer.parse [raw] {})))
(def render-map
{"text/plain" render-plaintext
"text/rst" render-restructured-text ; unofficial, but let's be lenient
"text/x-rst" render-restructured-text ; official
"application/x-ipynb+json" render-ipynb
"text/x-web-markdown" render-markdown
"text/x-markdown" render-markdown
"text/markdown" render-markdown
"text/textile" render-textile
"text/x-textile" render-textile
"text/html" render-html})
(defn render-page [page]
(apply (get render-map (get (:headers page) "content-type")) [(:body page)] {}))
(defn sanitize-title [title]
(re.sub "[\W+]" "-" (.lower title)))
| Hy | 4 | CyberFlameGO/sushy | sushy/render.hy | [
"MIT"
] |
Add keepalive_timeout parameter to web.run_app.
| Cucumber | 3 | adamko147/aiohttp | CHANGES/5094.feature | [
"Apache-2.0"
] |
codegenUtils = require './codegenUtils'
_ = require 'underscore'
asyncControl = require '../asyncControl'
module.exports (terms) =
functionCallTerm = terms.term {
constructor (
fun
args
async: false
passThisToApply: false
options: false
) =
self.isFunctionCall = true
self.function = fun
if (options)
self.functionArguments = terms.argumentUtils.positionalArguments(args)
self.optionalArguments = terms.argumentUtils.optionalArguments(args)
else
self.functionArguments = args
self.passThisToApply = passThisToApply
self.isAsync = async
hasSplatArguments () =
_.any (self.functionArguments) @(arg)
arg.isSplat
generate (scope) =
self.generateIntoBuffer @(buffer)
buffer.write (self.function.generateFunction (scope))
args = codegenUtils.concatArgs (
self.functionArguments
optionalArgs: self.optionalArguments
terms: terms
)
splattedArguments = self.cg.splatArguments (args)
if (splattedArguments && self.function.isIndexer)
buffer.write ('.apply(')
buffer.write (self.function.object.generate (scope))
buffer.write (',')
buffer.write (splattedArguments.generate (scope))
buffer.write (')')
else if (splattedArguments)
buffer.write ('.apply(')
if (self.passThisToApply)
buffer.write ('this')
else
buffer.write ('null')
buffer.write (',')
buffer.write (splattedArguments.generate (scope))
buffer.write (')')
else
buffer.write ('(')
codegenUtils.writeToBufferWithDelimiter (args, ',', buffer, scope)
buffer.write (')')
}
functionCall (
fun
args
passThisToApply: false
couldBeMacro: true
promisify: false
options: false
) =
if (@not promisify @and [a <- args, a.isCallback, a].length > 0)
@return terms.promisify (
terms.functionCall (
fun
args
passThisToApply: false
couldBeMacro: true
promisify: true
options: options
)
)
else if (fun.variable @and couldBeMacro)
name = fun.variable
macro = terms.macros.findMacro (name)
funCall = functionCallTerm (fun, args, options: options)
if (macro)
return (macro (funCall, name, args))
functionCallTerm (
fun
args
passThisToApply: passThisToApply
options: options
)
| PogoScript | 4 | Sotrek/Alexa | Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/functionCall.pogo | [
"MIT"
] |
' This Source Code Form is subject to the terms of the Mozilla Public
' License, v. 2.0. If a copy of the MPL was not distributed with this file,
' You can obtain one at http://mozilla.org/MPL/2.0/.
'******************************************************
'Get our device version
'******************************************************
Function GetDeviceVersion()
return CreateObject("roDeviceInfo").GetVersion()
End Function
'******************************************************
'Get our serial number
'******************************************************
Function GetDeviceESN()
return CreateObject("roDeviceInfo").GetDeviceUniqueId()
End Function
| Brightscript | 3 | RAMilewski/airmozilla | roku/airmozilla/source/deviceInfo.brs | [
"BSD-3-Clause"
] |
it("should define global object with property", function() {
expect(process.env["assign_properties_env"]).toEqual("1");
expect(Object.keys(process.env).length).toBeGreaterThan(1);
});
module.exports = {
assign_properties_env: "1"
}
| JavaScript | 3 | fourstash/webpack | test/configCases/library/assign-properties/index.js | [
"MIT"
] |
@STATIC;1.0;p;10;Animator.jt;8378;@STATIC;1.0;I;15;AppKit/CPView.jt;8339;
objj_executeFile("AppKit/CPView.j",NO);
CPAnimationEase=4;
var _1=[];
_1[CPAnimationEaseInOut]=objj_msgSend(CAMediaTimingFunction,"functionWithName:",kCAMediaTimingFunctionEaseInEaseOut);
_1[CPAnimationEaseIn]=objj_msgSend(CAMediaTimingFunction,"functionWithName:",kCAMediaTimingFunctionEaseIn);
_1[CPAnimationEaseOut]=objj_msgSend(CAMediaTimingFunction,"functionWithName:",kCAMediaTimingFunctionEaseOut);
_1[CPAnimationLinear]=objj_msgSend(CAMediaTimingFunction,"functionWithName:",kCAMediaTimingFunctionLinear);
_1[CPAnimationEase]=objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0.25,0.1,0.25,1);
var _2=function(_3,_4,_5){
if(typeof (_3[_4])=="undefined"){
_3[_4]=_5;
}
return _3[_4];
};
var _6=objj_getClass("CPView");
if(!_6){
throw new SyntaxError("*** Could not find definition for class \"CPView\"");
}
var _7=_6.isa;
class_addMethods(_6,[new objj_method(sel_getUid("fadeIn"),function(_8,_9){
with(_8){
objj_msgSend(_8,"fade:",{from:0,to:1});
}
}),new objj_method(sel_getUid("fadeOut"),function(_a,_b){
with(_a){
objj_msgSend(_a,"fade:",{from:objj_msgSend(_a,"alphaValue"),to:0});
}
})]);
var _6=objj_getClass("CPView");
if(!_6){
throw new SyntaxError("*** Could not find definition for class \"CPView\"");
}
var _7=_6.isa;
class_addMethods(_6,[new objj_method(sel_getUid("fade:"),function(_c,_d,_e){
with(_c){
var _f=objj_msgSend(_c,"alphaValue"),_10=_2(_e,"from",_f>0?_f:0),to=_2(_e,"to",_f>0?0:1),_11=_2(_e,"duration",1),_12=_2(_e,"curve",CPAnimationEase),_13=_2(_e,"delay",NO),_14=_2(_e,"_delay",NO);
objj_msgSend(_c,"removeTransitionForProperty:","opacity");
if(_11>0){
objj_msgSend(_c,"setAlphaValue:",_10);
objj_msgSend(_c,"addTransitionForProperty:duration:animationCurve:","opacity",_11,_12);
objj_msgSend(_c,"_applyTransitions");
setTimeout(function(){
objj_msgSend(_c,"removeTransitionForProperty:","opacity");
objj_msgSend(_c,"_applyTransitions");
},_11*1000);
}
objj_msgSend(_c,"setAlphaValue:",to);
}
}),new objj_method(sel_getUid("flip:"),function(_15,_16,_17){
with(_15){
var _18=_17.modalView;
if(!objj_msgSend(_18,"isKindOfClass:",CPView)){
return;
}
var _19=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",objj_msgSend(objj_msgSend(_15,"window"),"frame"),CPBorderlessWindowMask);
objj_msgSend(_19,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(objj_msgSend(_19,"contentView"),"setBackgroundColor:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",0.1,0.6));
objj_msgSend(objj_msgSend(_19,"contentView"),"setAlphaValue:",0);
objj_msgSend(_19,"contentView")._DOMElement.style["-webkit-perspective"]="1200px";
objj_msgSend(_19,"orderFront:",_15);
setTimeout(function(){
objj_msgSend(objj_msgSend(_19,"contentView"),"fadeIn");
},0);
var _1a=objj_msgSend(_18,"frame").size;
objj_msgSend(_18,"setFrame:",objj_msgSend(_15,"frame"));
objj_msgSend(_18,"setAffineTransform:","rotateY(-170deg)");
objj_msgSend(objj_msgSend(_19,"contentView"),"addSubview:",_18);
var _1b=objj_msgSend(_15,"alphaValue"),_1c=objj_msgSend(_15,"affineTransform"),_1d=_2(_17,"duration",1),_1e=_2(_17,"curve",CPAnimationEaseInOut);
_17._currentAlpha=_1b;
_17._currentTransform=_1c;
_17._lightboxWindow=_19;
_15._flipOptions=_17;
if(_1d>0){
objj_msgSend(_15,"superview")._DOMElement.style["-webkit-perspective"]="1200px";
objj_msgSend(_15,"addTransitionForProperty:duration:animationCurve:","-webkit-transform",_1d,_1e);
_DOMElement.style["-webkit-transform-style"]="preserve-3d";
_DOMElement.style["-webkit-backface-visibility"]="hidden";
objj_msgSend(_15,"_applyTransitions");
objj_msgSend(_18,"addTransitionForProperty:duration:animationCurve:","left",_1d*0.4,_1e);
objj_msgSend(_18,"addTransitionForProperty:duration:animationCurve:","top",_1d*0.4,_1e);
objj_msgSend(_18,"addTransitionForProperty:duration:animationCurve:","width",_1d*0.4,_1e);
objj_msgSend(_18,"addTransitionForProperty:duration:animationCurve:","height",_1d*0.4,_1e);
objj_msgSend(_18,"addTransitionForProperty:duration:animationCurve:","-webkit-transform",_1d,_1e);
_18._DOMElement.style["-webkit-transform-style"]="preserve-3d";
_18._DOMElement.style["-webkit-backface-visibility"]="hidden";
objj_msgSend(_18,"_applyTransitions");
}
var _1f="rotateY(170deg)";
objj_msgSend(_15,"setAffineTransform:",_1f);
setTimeout(function(){
objj_msgSend(_18,"setAffineTransform:",CGAffineTransformMakeIdentity());
},0);
setTimeout(function(){
var _20=objj_msgSend(objj_msgSend(_15,"window"),"contentView"),_21=objj_msgSend(_20,"bounds");
objj_msgSend(_18,"setFrame:",CGRectMake(CGRectGetMidX(_21)-_1a.width*0.5,CGRectGetMidY(_21)-_1a.height*0.5,_1a.width,_1a.height));
},_1d*0.5*1000);
}
}),new objj_method(sel_getUid("unflip"),function(_22,_23){
with(_22){
var _24=_22._flipOptions;
if(!_24){
return;
}
delete _22._flipOptions;
var _25=_24._currentAlpha,_26=_24._currentTransform,_27=_24._lightboxWindow,_28=_24.modalView,_29=_24.duration;
if(_29>0){
setTimeout(function(){
objj_msgSend(_22,"removeTransitionForProperty:","-webkit-transform");
objj_msgSend(_22,"superview")._DOMElement.style["-webkit-perspective"]=null;
_DOMElement.style["-webkit-transform-style"]=null;
objj_msgSend(_22,"_applyTransitions");
objj_msgSend(_28,"removeTransitionForProperty:","-webkit-transform");
objj_msgSend(_28,"removeTransitionForProperty:","left");
objj_msgSend(_28,"removeTransitionForProperty:","top");
objj_msgSend(_28,"removeTransitionForProperty:","width");
objj_msgSend(_28,"removeTransitionForProperty:","height");
objj_msgSend(_28,"_applyTransitions");
},_29*1000);
}
objj_msgSend(_22,"setAffineTransform:",_26);
objj_msgSend(_28,"setAffineTransform:","rotateY(-170deg)");
objj_msgSend(_28,"setFrame:",objj_msgSend(_22,"frame"));
setTimeout(function(){
objj_msgSend(objj_msgSend(_27,"contentView"),"fadeOut");
},_29*0.5*1000);
setTimeout(function(){
objj_msgSend(_27,"orderOut:",_22);
},_29*1000);
}
})]);
var _6=objj_getClass("CPView");
if(!_6){
throw new SyntaxError("*** Could not find definition for class \"CPView\"");
}
var _7=_6.isa;
class_addMethods(_6,[new objj_method(sel_getUid("addTransitionForProperty:duration:animationCurve:"),function(_2a,_2b,_2c,_2d,_2e){
with(_2a){
var _2f=_2a._transitionProperties;
if(!_2f){
_2f={};
_2a._transitionProperties=_2f;
}
var _30=_2f[_2c];
if(!_30){
_30={};
_2f[_2c]=_30;
}
_30.duration=_2d+"s";
if(!objj_msgSend(_2e,"isKindOfClass:",CAMediaTimingFunction)){
_2e=_1[_2e]||objj_msgSend(_1,"lastObject");
}
_30.curve="cubic-bezier("+[_2e._c1x,_2e._c1y,_2e._c2x,_2e._c2y].join(", ")+")";
}
}),new objj_method(sel_getUid("removeTransitionForProperty:"),function(_31,_32,_33){
with(_31){
var _34=_31._transitionProperties;
if(!_34){
return;
}
delete _34[_33];
}
}),new objj_method(sel_getUid("_applyTransitions"),function(_35,_36){
with(_35){
var _37=_35._transitionProperties;
if(!_37){
_37={};
}
var _38=[],_39=[],_3a=[];
for(property in _37){
var _3b=_37[property];
_38.push(property);
_39.push(_3b.duration);
_3a.push(_3b.curve);
}
var _3c=_DOMElement.style,_3d=["webkit","moz","o"];
for(var i=0,_3e=_3d.length;i<_3e;i++){
var _3f=_3d[i];
_3c[_3f+"TransitionProperty"]=_38.join(", ");
_3c[_3f+"TransitionDuration"]=_39.join(", ");
_3c[_3f+"TransitionTimingFunction"]=_3a.join(", ");
}
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelectors");
}
}),new objj_method(sel_getUid("setAffineTransform:"),function(_40,_41,_42){
with(_40){
if(!_42){
_42=CGAffineTransformMakeIdentity();
}
if(!_42.isa){
if(_transform&&!_transform.isa&&CGAffineTransformEqualToTransform(_transform,_42)){
return;
}
_transform=CGAffineTransformMakeCopy(_42);
if(CGAffineTransformIsIdentity(_transform)){
_DOMElement.style["-webkit-transform"]=null;
}else{
_DOMElement.style["-webkit-transform"]="matrix("+_transform.a+", "+_transform.b+", "+_transform.c+", "+_transform.d+", "+_transform.tx+", "+_transform.ty+")";
}
}else{
_transform=_42;
if(objj_msgSend(_transform,"isKindOfClass:",CPString)){
_DOMElement.style["-webkit-transform"]=_transform;
}
}
}
})]);
CGAffineTransform3DFrom2D=function(_43){
return CGAffineTransformMake([_43.a,_43.b,0,0],[_43.c,_43.d,0,0],[0,0,1,0],[_43.e,_43.f],[0],[1]);
};
CGAffineTransform3DConcat=function(lhs,rhs){
};
CGAffineTransform3DMakeRotationY=function(_44){
var sin=SIN(_44),cos=COS(_44);
return CGAffineTransformMake([cos,0,-sin,0],[0,1,0,0],[sin,0,cos,0],[0,0],[0],[1]);
};
CGAffineTransform3DRotateY=function(_45,_46){
};
p;15;AppController.jt;26351;@STATIC;1.0;I;21;AppKit/CPScrollView.jI;21;Foundation/CPObject.jI;15;MapKit/MapKit.ji;21;CappuGeo/CPLocation.ji;31;CappuGeo/CPLocationController.ji;23;CappuGeo/CPDirections.ji;21;CappuGeo/CPMapImage.ji;22;CappuGeo/CPMapMarker.ji;20;CappuGeo/CPMapView.ji;22;LPMultiLineTextField.ji;22;LPCardFlipController.ji;22;SourceViewController.ji;10;ItemView.ji;20;ItemViewController.ji;14;LocationView.ji;18;LocationEditView.ji;16;NoLocationView.ji;10;Location.ji;20;LocationController.ji;6;Item.ji;16;ItemController.ji;16;ItemAttachment.ji;23;RLOfflineLocalStorage.ji;24;RLOfflineDatabaseStore.ji;11;RLMapView.ji;17;NATokenTextView.ji;9;Stepper.ji;12;DatePicker.ji;18;CPDate+Additions.ji;41;DeepDropFileUpload/DCFileDropController.ji;40;DeepDropFileUpload/DCFileUploadManager.ji;11;MediaView.jt;25560;
saveAppData=function(){
objj_msgSend(objj_msgSend(CPApp,"delegate"),"serialize");
};
objj_executeFile("AppKit/CPScrollView.j",NO);
objj_executeFile("Foundation/CPObject.j",NO);
objj_executeFile("MapKit/MapKit.j",NO);
objj_executeFile("CappuGeo/CPLocation.j",YES);
objj_executeFile("CappuGeo/CPLocationController.j",YES);
objj_executeFile("CappuGeo/CPDirections.j",YES);
objj_executeFile("CappuGeo/CPMapImage.j",YES);
objj_executeFile("CappuGeo/CPMapMarker.j",YES);
objj_executeFile("CappuGeo/CPMapView.j",YES);
objj_executeFile("LPMultiLineTextField.j",YES);
objj_executeFile("LPCardFlipController.j",YES);
objj_executeFile("SourceViewController.j",YES);
objj_executeFile("ItemView.j",YES);
objj_executeFile("ItemViewController.j",YES);
objj_executeFile("LocationView.j",YES);
objj_executeFile("LocationEditView.j",YES);
objj_executeFile("NoLocationView.j",YES);
objj_executeFile("Location.j",YES);
objj_executeFile("LocationController.j",YES);
objj_executeFile("Item.j",YES);
objj_executeFile("ItemController.j",YES);
objj_executeFile("ItemAttachment.j",YES);
objj_executeFile("RLOfflineLocalStorage.j",YES);
objj_executeFile("RLOfflineDatabaseStore.j",YES);
objj_executeFile("RLMapView.j",YES);
objj_executeFile("NATokenTextView.j",YES);
objj_executeFile("Stepper.j",YES);
objj_executeFile("DatePicker.j",YES);
objj_executeFile("CPDate+Additions.j",YES);
objj_executeFile("DeepDropFileUpload/DCFileDropController.j",YES);
objj_executeFile("DeepDropFileUpload/DCFileUploadManager.j",YES);
objj_executeFile("MediaView.j",YES);
var _1=objj_allocateClassPair(CPObject,"AppController"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("outsideSplitView"),new objj_ivar("sourceViewController"),new objj_ivar("allLocations"),new objj_ivar("mainWindow"),new objj_ivar("mainToolbar"),new objj_ivar("undoManager"),new objj_ivar("locationController"),new objj_ivar("newLocationTitle"),new objj_ivar("newLocationType")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("sourceViewController"),function(_3,_4){
with(_3){
return sourceViewController;
}
}),new objj_method(sel_getUid("setSourceViewController:"),function(_5,_6,_7){
with(_5){
sourceViewController=_7;
}
}),new objj_method(sel_getUid("allLocations"),function(_8,_9){
with(_8){
return allLocations;
}
}),new objj_method(sel_getUid("setAllLocations:"),function(_a,_b,_c){
with(_a){
allLocations=_c;
}
}),new objj_method(sel_getUid("mainToolbar"),function(_d,_e){
with(_d){
return mainToolbar;
}
}),new objj_method(sel_getUid("setMainToolbar:"),function(_f,_10,_11){
with(_f){
mainToolbar=_11;
}
}),new objj_method(sel_getUid("undoManager"),function(_12,_13){
with(_12){
return undoManager;
}
}),new objj_method(sel_getUid("setUndoManager:"),function(_14,_15,_16){
with(_14){
undoManager=_16;
}
}),new objj_method(sel_getUid("locationController"),function(_17,_18){
with(_17){
return locationController;
}
}),new objj_method(sel_getUid("setLocationController:"),function(_19,_1a,_1b){
with(_19){
locationController=_1b;
}
}),new objj_method(sel_getUid("applicationDidFinishLaunching:"),function(_1c,_1d,_1e){
with(_1c){
allLocations=[];
undoManager=objj_msgSend(objj_msgSend(RLUndoManager,"alloc"),"init");
objj_msgSend(undoManager,"setDelegate:",_1c);
mainWindow=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",CGRectMake(50,75,1100,650),CPTitledWindowMask|CPClosableWindowMask|CPMiniaturizableWindowMask|CPResizableWindowMask);
var _1f=objj_msgSend(mainWindow,"contentView");
objj_msgSend(mainWindow,"setFullBridge:",YES);
outsideSplitView=objj_msgSend(objj_msgSend(CPSplitView,"alloc"),"initWithFrame:",objj_msgSend(_1f,"bounds"));
objj_msgSend(outsideSplitView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(outsideSplitView,"setDelegate:",_1c);
objj_msgSend(outsideSplitView,"setIsPaneSplitter:",YES);
var _20=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,500,CGRectGetHeight(objj_msgSend(_1f,"bounds"))));
objj_msgSend(_20,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
locationController=objj_msgSend(objj_msgSend(LocationController,"alloc"),"initWithContentView:",_20);
var _21=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,230,CGRectGetHeight(objj_msgSend(_1f,"bounds"))));
objj_msgSend(outsideSplitView,"addSubview:",_21);
objj_msgSend(outsideSplitView,"addSubview:",_20);
sourceViewController=objj_msgSend(objj_msgSend(SourceViewController,"alloc"),"initWithContainerView:",_21);
objj_msgSend(outsideSplitView,"setVertical:",YES);
objj_msgSend(outsideSplitView,"setPosition:ofDividerAtIndex:",230,0);
objj_msgSend(_1f,"addSubview:",outsideSplitView);
objj_msgSend(mainWindow,"orderFront:",_1c);
var _22=objj_msgSend(CPApp,"mainMenu"),_23=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Edit",nil,nil),_24=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","Edit"),_25=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Undo",sel_getUid("undo"),"z"),_26=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Redo",sel_getUid("redo"),"Z"),_27=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save",sel_getUid("serialize"),"s"),_28=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Open",sel_getUid("load"),"o");
objj_msgSend(_25,"setTarget:",undoManager);
objj_msgSend(_26,"setTarget:",undoManager);
objj_msgSend(_27,"setTarget:",_1c);
objj_msgSend(_28,"setTarget:",_1c);
objj_msgSend(_24,"addItem:",_25);
objj_msgSend(_24,"addItem:",_26);
objj_msgSend(_24,"addItem:",_27);
objj_msgSend(_24,"addItem:",_28);
objj_msgSend(_23,"setSubmenu:",_24);
objj_msgSend(_24,"_setMenuName:","CPMainMenu");
objj_msgSend(CPApp,"setMainMenu:",_24);
objj_msgSend(_22,"removeAllItems");
objj_msgSend(_1c,"load");
mainToolbar=objj_msgSend(objj_msgSend(CPToolbar,"alloc"),"initWithIdentifier:","maintoolbar");
objj_msgSend(mainToolbar,"setDelegate:",_1c);
objj_msgSend(mainWindow,"setToolbar:",mainToolbar);
objj_msgSend(mainToolbar,"validateVisibleItems");
}
}),new objj_method(sel_getUid("confirmRemovalOfLocation:"),function(_29,_2a,_2b){
with(_29){
if(!_2b){
return;
}
var _2c=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,400,120),CPDocModalWindowMask),_2d=objj_msgSend(_2c,"contentView"),_2e=objj_msgSend(CPTextField,"labelWithTitle:","Delete Location");
objj_msgSend(_2e,"setFrame:",CGRectMake(100,10,415,25));
objj_msgSend(_2e,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",15));
objj_msgSend(_2d,"addSubview:",_2e);
var _2f=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","logoPlain.png"),CGSizeMake(68,68));
var _30=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(20,10,68,68));
objj_msgSend(_30,"setImage:",_2f);
objj_msgSend(_2d,"addSubview:",_30);
var _31=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(100,35,325,60));
objj_msgSend(_31,"setStringValue:","Are you sure you want to remove this location? ");
objj_msgSend(_31,"setLineBreakMode:",CPLineBreakByWordWrapping);
objj_msgSend(_2d,"addSubview:",_31);
var _32=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(285,85,100,24));
objj_msgSend(_32,"setTitle:","Remove");
objj_msgSend(_32,"setTag:",0);
objj_msgSend(_32,"setTarget:",_29);
objj_msgSend(_32,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_2d,"addSubview:",_32);
objj_msgSend(_2c,"setDefaultButton:",_32);
var _33=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(175,85,100,24));
objj_msgSend(_33,"setTag:",-1);
objj_msgSend(_33,"setTitle:","Cancel");
objj_msgSend(_33,"setTarget:",_29);
objj_msgSend(_33,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_2d,"addSubview:",_33);
objj_msgSend(CPApp,"beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:",_2c,mainWindow,_29,sel_getUid("didEndSheet:returnCode:contextInfo:"),_2b);
}
}),new objj_method(sel_getUid("addNewLocation:"),function(_34,_35,_36){
with(_34){
var _37=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,400,150),CPDocModalWindowMask),_38=objj_msgSend(_37,"contentView"),_39=objj_msgSend(CPTextField,"labelWithTitle:","Add New Location");
objj_msgSend(_39,"setFrame:",CGRectMake(100,10,415,25));
objj_msgSend(_39,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",15));
objj_msgSend(_38,"addSubview:",_39);
var _3a=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","logoPlain.png"),CGSizeMake(68,68)),_3b=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(20,10,68,68));
objj_msgSend(_3b,"setImage:",_3a);
objj_msgSend(_38,"addSubview:",_3b);
var _3c=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(280,115,100,24));
objj_msgSend(_3c,"setTitle:","Create");
objj_msgSend(_3c,"setTag:",1);
objj_msgSend(_3c,"setTarget:",_34);
objj_msgSend(_3c,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_38,"addSubview:",_3c);
objj_msgSend(_37,"setDefaultButton:",_3c);
var _3d=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(175,115,100,24));
objj_msgSend(_3d,"setTag:",-1);
objj_msgSend(_3d,"setTitle:","Cancel");
objj_msgSend(_3d,"setTarget:",_34);
objj_msgSend(_3d,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_38,"addSubview:",_3d);
newLocationTitle=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(100,35,287,28));
objj_msgSend(newLocationTitle,"setBezeled:",YES);
objj_msgSend(newLocationTitle,"setEditable:",YES);
objj_msgSend(newLocationTitle,"setPlaceholderString:","Add new location");
objj_msgSend(newLocationTitle,"setTarget:",_3c);
objj_msgSend(newLocationTitle,"setAction:",sel_getUid("performClick:"));
objj_msgSend(newLocationTitle,"setLineBreakMode:",CPLineBreakByWordWrapping);
objj_msgSend(_38,"addSubview:",newLocationTitle);
newLocationType=objj_msgSend(objj_msgSend(CPPopUpButton,"alloc"),"initWithFrame:",CGRectMake(105,70,200,24));
objj_msgSend(newLocationType,"setBordered:",NO);
objj_msgSend(newLocationType,"setTitle:","Select Type");
objj_msgSend(newLocationType,"addItems:",objj_msgSend(LocationItemTypes,"menuItems"));
objj_msgSend(_38,"addSubview:",newLocationType);
objj_msgSend(CPApp,"beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:",_37,mainWindow,_34,sel_getUid("didEndSheet:returnCode:contextInfo:"),nil);
objj_msgSend(_37,"makeFirstResponder:",newLocationTitle);
}
}),new objj_method(sel_getUid("removeLocation:"),function(_3e,_3f,_40){
with(_3e){
if(!_40){
return;
}
var _41=objj_msgSend(_40,"superLocation");
if(_41){
objj_msgSend(_41,"removeSubLocation:",_40);
}else{
objj_msgSend(allLocations,"removeObject:",_40);
}
var _42=objj_msgSend(sourceViewController,"sourceList");
objj_msgSend(_42,"reloadData");
objj_msgSend(_42,"_noteSelectionDidChange");
objj_msgSend(undoManager,"registerUndoWithTarget:selector:object:",_3e,sel_getUid("addLocation:"),_40);
}
}),new objj_method(sel_getUid("addLocation:"),function(_43,_44,_45){
with(_43){
if(objj_msgSend(_45,"superLocation")){
objj_msgSend(objj_msgSend(_45,"superLocation"),"addSubLocation:",_45);
}else{
objj_msgSend(allLocations,"addObject:",_45);
}
objj_msgSend(undoManager,"registerUndoWithTarget:selector:object:",_43,sel_getUid("removeLocation:"),_45);
objj_msgSend(objj_msgSend(sourceViewController,"sourceList"),"reloadData");
}
}),new objj_method(sel_getUid("moveItem:fromLocation:to:"),function(_46,_47,_48,_49,_4a){
with(_46){
objj_msgSend(_4a,"addItem:",_48);
objj_msgSend(_49,"removeItem:",_48);
objj_msgSend(objj_msgSend(sourceViewController,"sourceList"),"reloadData");
objj_msgSend(objj_msgSend(objj_msgSend(locationController,"locationView"),"itemTableView"),"reloadData");
objj_msgSend(objj_msgSend(objj_msgSend(locationController,"locationView"),"collectionView"),"reloadContent");
var _4b=objj_msgSend(CPInvocation,"invocationWithMethodSignature:","MoveItem:FromLocation:to:");
objj_msgSend(_4b,"setTarget:",_46);
objj_msgSend(_4b,"setSelector:",sel_getUid("moveItem:fromLocation:to:"));
objj_msgSend(_4b,"setArgument:atIndex:",_48,2);
objj_msgSend(_4b,"setArgument:atIndex:",_4a,3);
objj_msgSend(_4b,"setArgument:atIndex:",_49,4);
objj_msgSend(undoManager,"registerUndoWithTarget:selector:object:",_4b,sel_getUid("invoke"),nil);
}
}),new objj_method(sel_getUid("closeSheet:"),function(_4c,_4d,_4e){
with(_4c){
objj_msgSend(CPApp,"endSheet:returnCode:",objj_msgSend(_4e,"window"),objj_msgSend(_4e,"tag"));
}
}),new objj_method(sel_getUid("didEndSheet:returnCode:contextInfo:"),function(_4f,_50,_51,_52,_53){
with(_4f){
objj_msgSend(_51,"orderOut:",_4f);
switch(_52){
case 0:
objj_msgSend(_4f,"removeLocation:",_53);
break;
case 1:
var _54=objj_msgSend(newLocationTitle,"stringValue");
if(!_54){
alert("You gotta enter a name for this location dude!");
return;
}
var _55=objj_msgSend(objj_msgSend(Location,"alloc"),"initWithName:",objj_msgSend(newLocationTitle,"stringValue"));
objj_msgSend(_55,"setType:",(objj_msgSend(newLocationType,"titleOfSelectedItem")||""));
objj_msgSend(_4f,"addLocation:",_55);
break;
}
}
}),new objj_method(sel_getUid("toolbarAllowedItemIdentifiers:"),function(_56,_57,_58){
with(_56){
return [CPToolbarFlexibleSpaceItemIdentifier,CPToolbarSeparatorItemIdentifier,CPToolbarSpaceItemIdentifier,"searchfield","newItem","newLocation","undo","redo"];
}
}),new objj_method(sel_getUid("toolbarDefaultItemIdentifiers:"),function(_59,_5a,_5b){
with(_59){
return ["newItem","newLocation",CPToolbarSeparatorItemIdentifier,"undo","redo",CPToolbarFlexibleSpaceItemIdentifier,"searchfield"];
}
}),new objj_method(sel_getUid("toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:"),function(_5c,_5d,_5e,_5f,_60){
with(_5c){
var _61=objj_msgSend(CPBundle,"mainBundle"),_62=objj_msgSend(objj_msgSend(CPToolbarItem,"alloc"),"initWithItemIdentifier:",_5f);
objj_msgSend(_62,"setVisibilityPriority:",CPToolbarItemVisibilityPriorityHigh);
switch(_5f){
case "newItem":
var _63=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","itemIcon.png"),CPSizeMake(32,32)),_64=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","itemIcon.png"),CPSizeMake(32,32));
objj_msgSend(_62,"setImage:",_63);
objj_msgSend(_62,"setAlternateImage:",_64);
objj_msgSend(_62,"setTarget:",locationController);
objj_msgSend(_62,"setAction:",sel_getUid("addNewItem:"));
objj_msgSend(_62,"setLabel:","New Item");
objj_msgSend(_62,"setTag:","NewItem");
objj_msgSend(_62,"setMinSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setMaxSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setVisibilityPriority:",CPToolbarItemVisibilityPriorityLow);
break;
case "newLocation":
var _63=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","SignPost.png"),CPSizeMake(32,32)),_64=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","SignPost.png"),CPSizeMake(32,32));
objj_msgSend(_62,"setImage:",_63);
objj_msgSend(_62,"setAlternateImage:",_64);
objj_msgSend(_62,"setTarget:",_5c);
objj_msgSend(_62,"setAction:",sel_getUid("addNewLocation:"));
objj_msgSend(_62,"setLabel:","New Location");
objj_msgSend(_62,"setTag:","NewLocation");
objj_msgSend(_62,"setMinSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setMaxSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setVisibilityPriority:",CPToolbarItemVisibilityPriorityLow);
break;
case "searchfield":
var _65=objj_msgSend(objj_msgSend(CPSearchField,"alloc"),"initWithFrame:",CGRectMake(0,10,140,30));
objj_msgSend(_65,"setTarget:",_5c);
objj_msgSend(_65,"setAction:",sel_getUid("searchFieldDidChange:"));
objj_msgSend(_65,"setSendsSearchStringImmediately:",YES);
objj_msgSend(_62,"setView:",_65);
objj_msgSend(_62,"setLabel:","Search Items");
objj_msgSend(_62,"setTag:","SearchItems");
objj_msgSend(_62,"setVisibilityPriority:",CPToolbarItemVisibilityPriorityHigh);
objj_msgSend(_62,"setMinSize:",CGSizeMake(200,30));
objj_msgSend(_62,"setMaxSize:",CGSizeMake(200,30));
break;
case "undo":
var _63=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","undo.png"),CPSizeMake(32,32)),_64=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","undo.png"),CPSizeMake(32,32));
objj_msgSend(_62,"setImage:",_63);
objj_msgSend(_62,"setAlternateImage:",_64);
objj_msgSend(_62,"setTarget:",undoManager);
objj_msgSend(_62,"setAction:",sel_getUid("undo"));
objj_msgSend(_62,"setLabel:","Undo");
objj_msgSend(_62,"setTag:","Undo");
objj_msgSend(_62,"setMinSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setMaxSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setVisibilityPriority:",CPToolbarItemVisibilityPriorityLow);
break;
case "redo":
var _63=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","redo.png"),CPSizeMake(32,32)),_64=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_61,"pathForResource:","redo.png"),CPSizeMake(32,32));
objj_msgSend(_62,"setImage:",_63);
objj_msgSend(_62,"setAlternateImage:",_64);
objj_msgSend(_62,"setTarget:",undoManager);
objj_msgSend(_62,"setAction:",sel_getUid("redo"));
objj_msgSend(_62,"setLabel:","Redo");
objj_msgSend(_62,"setTag:","Redo");
objj_msgSend(_62,"setMinSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setMaxSize:",CGSizeMake(32,32));
objj_msgSend(_62,"setVisibilityPriority:",CPToolbarItemVisibilityPriorityLow);
break;
}
return _62;
}
}),new objj_method(sel_getUid("validateToolbarItem:"),function(_66,_67,_68){
with(_66){
return YES;
}
}),new objj_method(sel_getUid("splitView:constrainMinCoordinate:ofSubviewAt:"),function(_69,_6a,_6b,_6c,_6d){
with(_69){
return 140;
}
}),new objj_method(sel_getUid("splitView:constrainMaxCoordinate:ofSubviewAt:"),function(_6e,_6f,_70,_71,_72){
with(_6e){
return 400;
}
}),new objj_method(sel_getUid("undoManagerStackDidChange:"),function(_73,_74,_75){
with(_73){
objj_msgSend(_73,"serialize");
window.setTimeout(function(){
objj_msgSend(mainToolbar,"validateVisibleItems");
},0);
}
}),new objj_method(sel_getUid("serialize"),function(_76,_77){
with(_76){
var _78=JSON.stringify(allLocations),_79=objj_msgSend(objj_msgSend(RLOfflineLocalStorage,"alloc"),"init");
if(objj_msgSend(RLOfflineLocalStorage,"offlineDataStoreIsAvailable")){
objj_msgSend(_79,"setValue:forKey:",_78,"InventoryData");
}else{
alert("You're using a bad browser. Get one that supports local storage.");
return;
}
}
}),new objj_method(sel_getUid("load"),function(_7a,_7b){
with(_7a){
var _7c=objj_msgSend(objj_msgSend(RLOfflineLocalStorage,"alloc"),"init");
if(objj_msgSend(RLOfflineLocalStorage,"offlineDataStoreIsAvailable")){
var _7d=objj_msgSend(_7c,"getValueForKey:","InventoryData");
}else{
alert("You're using a bad browser. Get one that supports local storage.");
return;
}
if(!_7d||_7d==="null"){
return;
}
_7d=JSON.parse(_7d);
allLocations=[];
for(var i=0;i<_7d.length;i++){
var _7e=objj_msgSend(Location,"decodeJSON:",_7d[i]);
objj_msgSend(allLocations,"addObject:",_7e);
}
objj_msgSend(objj_msgSend(sourceViewController,"sourceList"),"reloadData");
}
})]);
var _1=objj_getClass("CPPopUpButton");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPPopUpButton\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("drawRect:"),function(_7f,_80,_81){
with(_7f){
if(objj_msgSend(_7f,"hasThemeState:",CPThemeStateBordered)){
return;
}
var _82=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort");
CGContextBeginPath(_82);
CGContextTranslateCTM(_82,FLOOR(CGRectGetWidth(_81)-19),12);
CGContextRotateCTM(_82,PI);
CGContextMoveToPoint(_82,0,0);
CGContextAddLineToPoint(_82,5,0);
CGContextAddLineToPoint(_82,2.5,5);
CGContextAddLineToPoint(_82,0,0);
CGContextClosePath(_82);
var _83=objj_msgSend(CPColor,"grayColor");
CGContextSetFillColor(_82,_83);
CGContextFillPath(_82);
CGContextTranslateCTM(_82,5,-2.5);
CGContextRotateCTM(_82,PI);
CGContextMoveToPoint(_82,0,0);
CGContextAddLineToPoint(_82,5,0);
CGContextAddLineToPoint(_82,2.5,5);
CGContextAddLineToPoint(_82,0,0);
CGContextClosePath(_82);
var _83=objj_msgSend(CPColor,"grayColor");
CGContextSetFillColor(_82,_83);
CGContextFillPath(_82);
}
})]);
var _1=objj_getClass("CPMenu");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPMenu\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("removeAllItems"),function(_84,_85){
with(_84){
return;
for(var i=0;i<objj_msgSend(_84,"numberOfItems");i++){
objj_msgSend(_84,"removeItemAtIndex:",i);
}
}
})]);
var _1=objj_getClass("CPPopUpButton");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPPopUpButton\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("addItems:"),function(_86,_87,_88){
with(_86){
for(var i=0;i<_88.length;i++){
objj_msgSend(_86,"addItem:",_88[i]);
}
}
})]);
var _1=objj_allocateClassPair(CPObject,"LocationItemTypes"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_2,[new objj_method(sel_getUid("menuItems"),function(_89,_8a){
with(_89){
var _8b=[],_8c=objj_msgSend(CPBundle,"mainBundle"),_8d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Building",nil,nil);
objj_msgSend(_8d,"setImage:",objj_msgSend(objj_msgSend(_89,"class"),"imageForItemWithTitle:","Building"));
objj_msgSend(_8b,"addObject:",_8d);
_8d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Computer",nil,nil);
objj_msgSend(_8d,"setImage:",objj_msgSend(objj_msgSend(_89,"class"),"imageForItemWithTitle:","Computer"));
objj_msgSend(_8b,"addObject:",_8d);
_8d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Safe",nil,nil);
objj_msgSend(_8d,"setImage:",objj_msgSend(objj_msgSend(_89,"class"),"imageForItemWithTitle:","Safe"));
objj_msgSend(_8b,"addObject:",_8d);
_8d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Car",nil,nil);
objj_msgSend(_8d,"setImage:",objj_msgSend(objj_msgSend(_89,"class"),"imageForItemWithTitle:","Car"));
objj_msgSend(_8b,"addObject:",_8d);
_8d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Bank",nil,nil);
objj_msgSend(_8d,"setImage:",objj_msgSend(objj_msgSend(_89,"class"),"imageForItemWithTitle:","Bank"));
objj_msgSend(_8b,"addObject:",_8d);
_8d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Yard",nil,nil);
objj_msgSend(_8d,"setImage:",objj_msgSend(objj_msgSend(_89,"class"),"imageForItemWithTitle:","Yard"));
objj_msgSend(_8b,"addObject:",_8d);
return _8b;
}
}),new objj_method(sel_getUid("imageForItemWithTitle:"),function(_8e,_8f,_90){
with(_8e){
var _91=objj_msgSend(CPBundle,"mainBundle");
switch(_90){
case "Building":
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","building.png"),CGSizeMake(16,16));
break;
case "Computer":
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","computer.png"),CGSizeMake(16,16));
break;
case "Safe":
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","safe.png"),CGSizeMake(16,16));
break;
case "Car":
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","car.png"),CGSizeMake(16,16));
break;
case "Bank":
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","bank.png"),CGSizeMake(16,16));
break;
case "Yard":
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","yard.png"),CGSizeMake(16,16));
break;
default:
return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_91,"pathForResource:","SignPost.png"),CGSizeMake(20,20));
break;
}
}
})]);
var _1=objj_allocateClassPair(CPUndoManager,"RLUndoManager"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("delegate")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("delegate"),function(_92,_93){
with(_92){
return delegate;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_94,_95,_96){
with(_94){
delegate=_96;
}
}),new objj_method(sel_getUid("init"),function(_97,_98){
with(_97){
_97=objj_msgSendSuper({receiver:_97,super_class:objj_getClass("RLUndoManager").super_class},"init");
if(_97){
delegate=nil;
}
return _97;
}
}),new objj_method(sel_getUid("registerUndoWithTarget:selector:object:"),function(_99,_9a,_9b,_9c,_9d){
with(_99){
objj_msgSendSuper({receiver:_99,super_class:objj_getClass("RLUndoManager").super_class},"registerUndoWithTarget:selector:object:",_9b,_9c,_9d);
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("undoManagerStackDidChange:"))){
objj_msgSend(delegate,"undoManagerStackDidChange:",_99);
}
}
}),new objj_method(sel_getUid("validateToolbarItem:"),function(_9e,_9f,_a0){
with(_9e){
var _a1=objj_msgSend(_a0,"itemIdentifier");
if(_a1==="undo"){
return objj_msgSend(_9e,"canUndo");
}else{
if(_a1==="redo"){
return objj_msgSend(_9e,"canRedo");
}
}
}
})]);
p;18;CPDate+Additions.jt;1136;@STATIC;1.0;t;1117;
var _1=objj_getClass("CPDate");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPDate\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("monthByName"),function(_3,_4){
with(_3){
var _5=_3.getMonth();
switch(_5){
case 0:
_5="January";
break;
case 1:
_5="February";
break;
case 2:
_5="March";
break;
case 3:
_5="April";
break;
case 4:
_5="May";
break;
case 5:
_5="June";
break;
case 6:
_5="July";
break;
case 7:
_5="August";
break;
case 8:
_5="September";
break;
case 9:
_5="October";
break;
case 10:
_5="November";
break;
case 11:
_5="December";
break;
}
return _5;
}
}),new objj_method(sel_getUid("longStringDate"),function(_6,_7){
with(_6){
return objj_msgSend(_6,"monthByName")+" "+objj_msgSend(_6,"enlongatedDay")+", "+_6.getFullYear();
}
}),new objj_method(sel_getUid("enlongatedDay"),function(_8,_9){
with(_8){
var _a=String(_8.getDate());
if(_a.length===2&&_a[1]==="1"){
return _a+"st";
}
if(_a[_a.length]==="1"){
return _a+"st";
}else{
if(_a[_a.length]==="2"){
return _a+"nd";
}else{
if(_a[_a.length]==="3"){
return _a+"rd";
}else{
return _a+"th";
}
}
}
}
})]);
p;12;DatePicker.jt;42952;@STATIC;1.0;I;18;AppKit/CPControl.ji;9;Stepper.jt;42896;
objj_executeFile("AppKit/CPControl.j",NO);
objj_executeFile("Stepper.j",YES);
var _1=objj_allocateClassPair(CPControl,"DatePicker"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_theView"),new objj_ivar("_theStepper"),new objj_ivar("segments"),new objj_ivar("superController"),new objj_ivar("_date"),new objj_ivar("_minDate"),new objj_ivar("_maxDate"),new objj_ivar("bezel"),new objj_ivar("bezelFocused"),new objj_ivar("dateSegmentFocused"),new objj_ivar("focused"),new objj_ivar("inputManager"),new objj_ivar("currentFocusedSegment"),new objj_ivar("lastFocusedSegment"),new objj_ivar("_delegate"),new objj_ivar("activeDateSegment"),new objj_ivar("prevActiveDateSegment"),new objj_ivar("superController"),new objj_ivar("_dontsetfirsttome")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("_theView"),function(_3,_4){
with(_3){
return _theView;
}
}),new objj_method(sel_getUid("_setTheView:"),function(_5,_6,_7){
with(_5){
_theView=_7;
}
}),new objj_method(sel_getUid("_theStepper"),function(_8,_9){
with(_8){
return _theStepper;
}
}),new objj_method(sel_getUid("_setTheStepper:"),function(_a,_b,_c){
with(_a){
_theStepper=_c;
}
}),new objj_method(sel_getUid("segments"),function(_d,_e){
with(_d){
return segments;
}
}),new objj_method(sel_getUid("setSegments:"),function(_f,_10,_11){
with(_f){
segments=_11;
}
}),new objj_method(sel_getUid("superController"),function(_12,_13){
with(_12){
return superController;
}
}),new objj_method(sel_getUid("setSuperController:"),function(_14,_15,_16){
with(_14){
superController=_16;
}
}),new objj_method(sel_getUid("focused"),function(_17,_18){
with(_17){
return focused;
}
}),new objj_method(sel_getUid("setFocused:"),function(_19,_1a,_1b){
with(_19){
focused=_1b;
}
}),new objj_method(sel_getUid("inputManager"),function(_1c,_1d){
with(_1c){
return inputManager;
}
}),new objj_method(sel_getUid("setInputManager:"),function(_1e,_1f,_20){
with(_1e){
inputManager=_20;
}
}),new objj_method(sel_getUid("currentFocusedSegment"),function(_21,_22){
with(_21){
return currentFocusedSegment;
}
}),new objj_method(sel_getUid("setCurrentFocusedSegment:"),function(_23,_24,_25){
with(_23){
currentFocusedSegment=_25;
}
}),new objj_method(sel_getUid("lastFocusedSegment"),function(_26,_27){
with(_26){
return lastFocusedSegment;
}
}),new objj_method(sel_getUid("setLastFocusedSegment:"),function(_28,_29,_2a){
with(_28){
lastFocusedSegment=_2a;
}
}),new objj_method(sel_getUid("activeDateSegment"),function(_2b,_2c){
with(_2b){
return activeDateSegment;
}
}),new objj_method(sel_getUid("setActiveDateSegment:"),function(_2d,_2e,_2f){
with(_2d){
activeDateSegment=_2f;
}
}),new objj_method(sel_getUid("prevActiveDateSegment"),function(_30,_31){
with(_30){
return prevActiveDateSegment;
}
}),new objj_method(sel_getUid("setPrevActiveDateSegment:"),function(_32,_33,_34){
with(_32){
prevActiveDateSegment=_34;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_35,_36,_37){
with(_35){
_35=objj_msgSendSuper({receiver:_35,super_class:objj_getClass("DatePicker").super_class},"initWithFrame:",_37);
if(_35){
_theView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(4,3,CGRectGetWidth(_37)-20,23));
bezel=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-0.png"),CGSizeMake(2,3)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-1.png"),CGSizeMake(1,3)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-2.png"),CGSizeMake(2,3)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-3.png"),CGSizeMake(2,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-5.png"),CGSizeMake(2,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-6.png"),CGSizeMake(2,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-7.png"),CGSizeMake(1,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-8.png"),CGSizeMake(2,2))]));
bezelFocused=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-0.png"),CGSizeMake(6,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-1.png"),CGSizeMake(1,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-2.png"),CGSizeMake(6,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-3.png"),CGSizeMake(6,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-5.png"),CGSizeMake(6,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-6.png"),CGSizeMake(6,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-7.png"),CGSizeMake(1,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleWithPath:","Frameworks/AppKit/Resources/Aristo.blend"),"pathForResource:","textfield-bezel-square-focused-8.png"),CGSizeMake(6,5))]));
objj_msgSend(_theView,"setBackgroundColor:",bezel);
inputManager=_35;
objj_msgSend(inputManager,"setSuperController:",_35);
_theStepper=objj_msgSend(objj_msgSend(Stepper,"alloc"),"initWithFrame:",CGRectMake(_37.size.width-13,3,13,23));
objj_msgSend(_theStepper,"setTarget:",_35);
objj_msgSend(_theStepper,"setAction:",sel_getUid("stepperAction:"));
objj_msgSend(_35,"addSubview:",_theView);
objj_msgSend(_35,"addSubview:",_theStepper);
_date=objj_msgSend(CPDate,"dateWithTimeIntervalSinceNow:",0);
_maxDate=objj_msgSend(CPDate,"distantFuture");
_minDate=objj_msgSend(CPDate,"distantPast");
segments=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init");
focused=NO;
objj_msgSend(_theStepper,"setEnabled:",NO);
objj_msgSend(_theStepper,"setMaxValue:",9999);
objj_msgSend(_theStepper,"setMinValue:",-1);
}
return _35;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_38,_39,_3a){
with(_38){
var _3b=objj_msgSend(CPNotificationCenter,"defaultCenter");
if(_delegate){
objj_msgSend(_3b,"removeObserver:name:object:",_delegate,"datePickerDidChangeNotification",_38);
}
_delegate=_3a;
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("datePickerDidChange:"))){
objj_msgSend(_3b,"addObserver:selector:name:object:",_delegate,sel_getUid("datePickerDidChange:"),"datePickerDidChangeNotification",_38);
}
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("datePickerDidLoseFocus:"))){
objj_msgSend(_3b,"addObserver:selector:name:object:",_delegate,sel_getUid("datePickerDidLoseFocus:"),"datePickerDidLoseFocusNotification",_38);
}
}
}),new objj_method(sel_getUid("addDateSegmentOfType:withInitialValue:withSeperatorAtEnd:"),function(_3c,_3d,_3e,_3f,_40){
with(_3c){
var _41=objj_msgSend(_3c,"makeFrameForType:",_3e);
var _42=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(6,7,20,18));
objj_msgSend(dateSegmentes,"addObject:",_42);
objj_msgSend(_3c,"addSubview:",_42);
}
}),new objj_method(sel_getUid("displayPreset:"),function(_43,_44,_45){
with(_43){
if(_45==1){
var _46=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(6,7,20,18));
objj_msgSend(_46,"setStringValue:","00");
objj_msgSend(_46,"sizeToFit");
objj_msgSend(_46,"setDelegate:",_43);
objj_msgSend(_46,"setInputManager:",_43);
objj_msgSend(_46,"setSuperController:",_43);
objj_msgSend(_46,"setDateType:",1);
if(CGRectGetHeight(objj_msgSend(_43,"frame"))-CGRectGetHeight(objj_msgSend(_46,"frame"))<14){
objj_msgSend(_43,"setFrame:",CGRectMake(CGRectGetMinX(objj_msgSend(_43,"frame")),CGRectGetMinY(objj_msgSend(_43,"frame")),CGRectGetWidth(objj_msgSend(_43,"frame")),CGRectGetHeight(objj_msgSend(_46,"frame"))+14));
objj_msgSend(_theView,"setFrame:",CGRectMake(CGRectGetMinX(objj_msgSend(_theView,"frame")),CGRectGetMinY(objj_msgSend(_theView,"frame")),CGRectGetWidth(objj_msgSend(_theView,"frame")),CGRectGetHeight(objj_msgSend(_46,"frame"))+6));
}
var _47=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(28,7,20,18));
objj_msgSend(_47,"setStringValue:","00");
objj_msgSend(_47,"sizeToFit");
objj_msgSend(_47,"setDelegate:",_43);
objj_msgSend(_47,"setInputManager:",_43);
objj_msgSend(_47,"setSuperController:",_43);
objj_msgSend(_47,"setDateType:",2);
var _48=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(50,7,35,18));
objj_msgSend(_48,"setStringValue:","0000");
objj_msgSend(_48,"sizeToFit");
objj_msgSend(_48,"setDelegate:",_43);
objj_msgSend(_48,"setInputManager:",_43);
objj_msgSend(_48,"setSuperController:",_43);
objj_msgSend(_48,"setDateType:",3);
objj_msgSend(_43,"addSubview:",_46);
objj_msgSend(_43,"addSubview:",_47);
objj_msgSend(_43,"addSubview:",_48);
objj_msgSend(segments,"addObject:",_46);
objj_msgSend(segments,"addObject:",_47);
objj_msgSend(segments,"addObject:",_48);
var _49=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(23,7,15,18));
objj_msgSend(_49,"setStringValue:","/");
objj_msgSend(_49,"sizeToFit");
var _4a=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(44,7,15,18));
objj_msgSend(_4a,"setStringValue:","/");
objj_msgSend(_4a,"sizeToFit");
objj_msgSend(_43,"addSubview:",_49);
objj_msgSend(_43,"addSubview:",_4a);
}else{
if(_45==2){
var _4b=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(6,7,20,18));
objj_msgSend(_4b,"setStringValue:","00");
objj_msgSend(_4b,"sizeToFit");
objj_msgSend(_4b,"setDelegate:",_43);
objj_msgSend(_4b,"setInputManager:",_43);
objj_msgSend(_4b,"setSuperController:",_43);
objj_msgSend(_4b,"setDateType:",9);
if(CGRectGetHeight(objj_msgSend(_43,"frame"))-CGRectGetHeight(objj_msgSend(_4b,"frame"))<14){
objj_msgSend(_43,"setFrame:",CGRectMake(CGRectGetMinX(objj_msgSend(_43,"frame")),CGRectGetMinY(objj_msgSend(_43,"frame")),CGRectGetWidth(objj_msgSend(_43,"frame")),CGRectGetHeight(objj_msgSend(_4b,"frame"))+14));
objj_msgSend(_theView,"setFrame:",CGRectMake(CGRectGetMinX(objj_msgSend(_theView,"frame")),CGRectGetMinY(objj_msgSend(_theView,"frame")),CGRectGetWidth(objj_msgSend(_theView,"frame")),CGRectGetHeight(objj_msgSend(_4b,"frame"))+6));
}
var _4c=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(28,7,20,18));
objj_msgSend(_4c,"setStringValue:","00");
objj_msgSend(_4c,"sizeToFit");
objj_msgSend(_4c,"setDelegate:",_43);
objj_msgSend(_4c,"setInputManager:",_43);
objj_msgSend(_4c,"setSuperController:",_43);
objj_msgSend(_4c,"setDateType:",8);
var _4d=objj_msgSend(objj_msgSend(DateSegment,"alloc"),"initWithFrame:",CGRectMake(45,7,20,18));
objj_msgSend(_4d,"setStringValue:","AM");
objj_msgSend(_4d,"sizeToFit");
objj_msgSend(_4d,"setDelegate:",_43);
objj_msgSend(_4d,"setInputManager:",_43);
objj_msgSend(_4d,"setSuperController:",_43);
objj_msgSend(_4d,"setDateType:",10);
objj_msgSend(_43,"addSubview:",_4b);
objj_msgSend(_43,"addSubview:",_4c);
objj_msgSend(_43,"addSubview:",_4d);
objj_msgSend(segments,"addObject:",_4b);
objj_msgSend(segments,"addObject:",_4c);
objj_msgSend(segments,"addObject:",_4d);
var _49=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(23,7,15,18));
objj_msgSend(_49,"setStringValue:",":");
objj_msgSend(_43,"addSubview:",_49);
}
}
objj_msgSend(_43,"updatePickerDisplay");
}
}),new objj_method(sel_getUid("minDate"),function(_4e,_4f){
with(_4e){
return _minDate;
}
}),new objj_method(sel_getUid("setMinDate:"),function(_50,_51,_52){
with(_50){
_minDate=objj_msgSend(_52,"copy");
if(objj_msgSend(_50,"_mutableDate")<objj_msgSend(_50,"minDate")){
objj_msgSend(_50,"setDate:",objj_msgSend(_50,"minDate"));
}
}
}),new objj_method(sel_getUid("maxDate"),function(_53,_54){
with(_53){
return _maxDate;
}
}),new objj_method(sel_getUid("setMaxDate:"),function(_55,_56,_57){
with(_55){
_maxDate=objj_msgSend(_57,"copy");
if(objj_msgSend(_55,"_mutableDate")<objj_msgSend(_55,"maxDate")){
objj_msgSend(_55,"setDate:",objj_msgSend(_55,"maxDate"));
}
}
}),new objj_method(sel_getUid("date"),function(_58,_59){
with(_58){
return objj_msgSend(_date,"copy");
}
}),new objj_method(sel_getUid("_mutableDate"),function(_5a,_5b){
with(_5a){
return _date;
}
}),new objj_method(sel_getUid("setDate:"),function(_5c,_5d,_5e){
with(_5c){
_date=objj_msgSend(_5e,"copy");
objj_msgSend(_5c,"updatePickerDisplay");
}
}),new objj_method(sel_getUid("updatePickerDisplay"),function(_5f,_60){
with(_5f){
for(var i=0;i<objj_msgSend(segments,"count");i++){
var _61=objj_msgSend(segments,"objectAtIndex:",i);
if(objj_msgSend(_61,"dateType")==1){
if(objj_msgSend(_5f,"_mutableDate")){
var _62=objj_msgSend(_5f,"_mutableDate").getMonth()+1;
}else{
var _62="--";
}
objj_msgSend(_61,"setStringValue:",objj_msgSend(_61,"singleNumber:",_62));
}else{
if(objj_msgSend(_61,"dateType")==2){
if(objj_msgSend(_5f,"_mutableDate")){
var _62=objj_msgSend(_5f,"_mutableDate").getDate();
}else{
var _62="--";
}
objj_msgSend(_61,"setStringValue:",objj_msgSend(_61,"doubleNumber:",_62));
}else{
if(objj_msgSend(_61,"dateType")==3){
if(objj_msgSend(_5f,"_mutableDate")){
var _62=objj_msgSend(_5f,"_mutableDate").getFullYear();
}else{
var _62="----";
}
objj_msgSend(_61,"setStringValue:",objj_msgSend(_61,"quadNumber:",_62));
}else{
if(objj_msgSend(_61,"dateType")==8){
var _62=objj_msgSend(_5f,"_mutableDate").getMinutes();
objj_msgSend(_61,"setStringValue:",objj_msgSend(_61,"doubleNumber:",_62));
}else{
if(objj_msgSend(_61,"dateType")==9){
var _62=objj_msgSend(_5f,"_mutableDate").getHours();
if(_62>12){
_62=_62-12;
}else{
if(objj_msgSend(_5f,"_mutableDate").getHours()==0){
_62=12;
}
}
objj_msgSend(_61,"setStringValue:",objj_msgSend(_61,"singleNumber:",_62));
}else{
if(objj_msgSend(_61,"dateType")==10){
var _62=objj_msgSend(_5f,"_mutableDate").getHours();
if(_62>11){
_62="PM";
}else{
_62="AM";
}
objj_msgSend(_61,"setStringValue:",objj_msgSend(_61,"singleNumber:",_62));
}
}
}
}
}
}
}
}
}),new objj_method(sel_getUid("becomeFirstResponder"),function(_63,_64){
with(_63){
if(!currentFocusedSegment){
objj_msgSend(_63,"setActiveDateSegment:",objj_msgSend(segments,"objectAtIndex:",0));
}
return YES;
}
}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_65,_66){
with(_65){
return YES;
}
}),new objj_method(sel_getUid("resignFirstResponder"),function(_67,_68){
with(_67){
objj_msgSend(_67,"setPrevActiveDateSegment:",objj_msgSend(_67,"activeDateSegment"));
objj_msgSend(_67,"setActiveDateSegment:",nil);
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:","datePickerDidLoseFocusNotification",superController,nil);
return YES;
}
}),new objj_method(sel_getUid("mouseDown:"),function(_69,_6a,_6b){
with(_69){
objj_msgSendSuper({receiver:_69,super_class:objj_getClass("DatePicker").super_class},"mouseDown:",_6b);
if(!currentFocusedSegment){
objj_msgSend(_69,"setActiveDateSegment:",objj_msgSend(segments,"objectAtIndex:",0));
objj_msgSend(objj_msgSend(_69,"window"),"makeFirstResponder:",_69);
}
}
}),new objj_method(sel_getUid("setFocused:"),function(_6c,_6d,val){
with(_6c){
if(focused===val){
return;
}
focused=val;
if(focused){
objj_msgSend(_theView,"setFrame:",CGRectMake(objj_msgSend(_theView,"frame").origin.x-4,objj_msgSend(_theView,"frame").origin.y-3,objj_msgSend(_theView,"frame").size.width+8,objj_msgSend(_theView,"frame").size.height+6));
objj_msgSend(_theView,"setBackgroundColor:",bezelFocused);
}else{
objj_msgSend(_theView,"setBackgroundColor:",bezel);
objj_msgSend(_theView,"setFrame:",CGRectMake(objj_msgSend(_theView,"frame").origin.x+4,objj_msgSend(_theView,"frame").origin.y+3,objj_msgSend(_theView,"frame").size.width-8,objj_msgSend(_theView,"frame").size.height-6));
}
}
}),new objj_method(sel_getUid("maxDays"),function(_6e,_6f){
with(_6e){
if(objj_msgSend(_6e,"_mutableDate").getFullYear()>=objj_msgSend(_6e,"maxYear")&&objj_msgSend(_6e,"_mutableDate").getMonth()>=objj_msgSend(_6e,"maxMonth")){
return objj_msgSend(_6e,"maxDate").getDate();
}
var _70=objj_msgSend(_6e,"_mutableDate").getMonth();
var _71=nil;
if(_70==0||_70==2||_70==4||_70==6||_70==7||_70==9||_70==11){
_71=31;
}else{
if(_70==1){
_71=28;
if(objj_msgSend(_6e,"isLeapYear")){
_71++;
}
}else{
if(_70==3||_70==5||_70==8||_70==10){
_71=30;
}else{
_71=0;
}
}
}
return _71;
}
}),new objj_method(sel_getUid("maxMonth"),function(_72,_73){
with(_72){
if(objj_msgSend(_72,"_mutableDate").getFullYear()>=objj_msgSend(_72,"maxYear")){
return objj_msgSend(_72,"maxDate").getMonth()+1;
}else{
return 12;
}
}
}),new objj_method(sel_getUid("maxYear"),function(_74,_75){
with(_74){
if(objj_msgSend(_74,"maxDate")){
return objj_msgSend(_74,"maxDate").getFullYear();
}else{
return 9999;
}
}
}),new objj_method(sel_getUid("minDays"),function(_76,_77){
with(_76){
if(objj_msgSend(_76,"_mutableDate").getFullYear()<=objj_msgSend(_76,"minYear")&&objj_msgSend(_76,"_mutableDate").getMonth()<=objj_msgSend(_76,"minMonth")){
return objj_msgSend(_76,"minDate").getDate();
}
var _78=1;
return _78;
}
}),new objj_method(sel_getUid("minMonth"),function(_79,_7a){
with(_79){
if(objj_msgSend(_79,"_mutableDate").getFullYear()<=objj_msgSend(_79,"minYear")){
return objj_msgSend(_79,"minDate").getMonth()+1;
}else{
return 1;
}
}
}),new objj_method(sel_getUid("minYear"),function(_7b,_7c){
with(_7b){
var _7d=objj_msgSend(_7b,"minDate").getFullYear();
if(objj_msgSend(_7b,"minDate")){
return objj_msgSend(_7b,"minDate").getFullYear();
}else{
return 1;
}
}
}),new objj_method(sel_getUid("maxHours"),function(_7e,_7f){
with(_7e){
return 12;
}
}),new objj_method(sel_getUid("maxMins"),function(_80,_81){
with(_80){
return 59;
}
}),new objj_method(sel_getUid("maxAMPM"),function(_82,_83){
with(_82){
return 1;
}
}),new objj_method(sel_getUid("minHours"),function(_84,_85){
with(_84){
return 1;
}
}),new objj_method(sel_getUid("minMins"),function(_86,_87){
with(_86){
return 0;
}
}),new objj_method(sel_getUid("minAMPM"),function(_88,_89){
with(_88){
return 0;
}
}),new objj_method(sel_getUid("isLeapYear"),function(_8a,_8b){
with(_8a){
var yr=objj_msgSend(_8a,"_mutableDate").getFullYear();
return !(yr%4)&&(yr%100)||!(yr%400)?true:false;
}
}),new objj_method(sel_getUid("setActiveDateSegment:"),function(_8c,_8d,_8e){
with(_8c){
if(activeDateSegment===_8e){
return;
}
if(objj_msgSend(_8c,"activeDateSegment")){
objj_msgSend(_8c,"setLastFocusedSegment:",activeDateSegment);
objj_msgSend(activeDateSegment,"makeInactive");
}
activeDateSegment=_8e;
if(activeDateSegment){
objj_msgSend(_8c,"setFocused:",YES);
objj_msgSend(activeDateSegment,"makeActive");
objj_msgSend(_8c,"setCurrentFocusedSegment:",activeDateSegment);
objj_msgSend(objj_msgSend(_8c,"window"),"makeFirstResponder:",_8c);
}else{
objj_msgSend(_8c,"setFocused:",NO);
objj_msgSend(_8c,"setCurrentFocusedSegment:",activeDateSegment);
}
}
}),new objj_method(sel_getUid("keyDown:"),function(_8f,_90,_91){
with(_8f){
objj_msgSend(_8f,"interpretKeyEvents:",_91);
}
}),new objj_method(sel_getUid("interpretKeyEvents:"),function(_92,_93,_94){
with(_92){
var key=objj_msgSend(_94,"keyCode");
if(key==CPTabKeyCode){
if(objj_msgSend(_92,"activeDateSegment")==objj_msgSend(segments,"objectAtIndex:",objj_msgSend(objj_msgSend(superController,"segments"),"count")-1)){
objj_msgSend(objj_msgSend(_92,"window"),"selectNextKeyView:",_92);
return;
}else{
var i=objj_msgSend(segments,"indexOfObject:",objj_msgSend(_92,"activeDateSegment"));
i++;
i=objj_msgSend(segments,"objectAtIndex:",i);
}
objj_msgSend(_92,"setActiveDateSegment:",i);
}else{
if(key==CPRightArrowKeyCode||key==189||key==188||key==190||key==191||key==186){
if(objj_msgSend(_92,"activeDateSegment")==objj_msgSend(segments,"objectAtIndex:",objj_msgSend(segments,"count")-1)){
i=objj_msgSend(segments,"objectAtIndex:",0);
}else{
var i=objj_msgSend(segments,"indexOfObject:",objj_msgSend(_92,"activeDateSegment"));
i++;
i=objj_msgSend(segments,"objectAtIndex:",i);
}
objj_msgSend(_92,"setActiveDateSegment:",i);
}else{
if(key==CPLeftArrowKeyCode){
if(objj_msgSend(_92,"activeDateSegment")==objj_msgSend(segments,"objectAtIndex:",0)){
i=objj_msgSend(segments,"objectAtIndex:",objj_msgSend(segments,"count")-1);
}else{
var i=objj_msgSend(segments,"indexOfObject:",objj_msgSend(_92,"activeDateSegment"));
i--;
i=objj_msgSend(segments,"objectAtIndex:",i);
}
objj_msgSend(_92,"setActiveDateSegment:",i);
}else{
if(key==CPDeleteKeyCode&&objj_msgSend(activeDateSegment,"dateType")!==10){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"removeLastChar");
}else{
if(key==CPUpArrowKeyCode){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"increment");
}else{
if(key==CPDownArrowKeyCode){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"decrement");
}else{
if(key==48||key==96){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","0");
}else{
if(key==49||key==97){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","1");
}else{
if(key==50||key==98){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","2");
}else{
if(key==51||key==99){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","3");
}else{
if(key==52||key==100){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","4");
}else{
if(key==53||key==101){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","5");
}else{
if(key==54||key==102){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","6");
}else{
if(key==55||key==103){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","7");
}else{
if(key==56||key==104){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","8");
}else{
if(key==57||key==105){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","9");
}else{
if(key==65&&objj_msgSend(activeDateSegment,"dateType")==10){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","A");
}else{
if(key==80&&objj_msgSend(activeDateSegment,"dateType")==10){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_92,"updatePickerDisplay");
}
objj_msgSend(activeDateSegment,"sendNewInput:","P");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}),new objj_method(sel_getUid("stepperAction:"),function(_95,_96,_97){
with(_95){
if(!_date){
_date=objj_msgSend(CPDate,"date");
objj_msgSend(_95,"updatePickerDisplay");
}
if(!activeDateSegment){
objj_msgSend(_95,"setActiveDateSegment:",(prevActiveDateSegment)?prevActiveDateSegment:objj_msgSend(segments,"objectAtIndex:",0));
}
var _98=objj_msgSend(_theStepper,"intValue");
if(objj_msgSend(activeDateSegment,"dateType")==1){
var _99=objj_msgSend(_95,"maxMonth");
var _9a=objj_msgSend(_95,"minMonth");
if(_98>_99){
_98=_9a;
}else{
if(_98<_9a){
_98=_99;
}
}
objj_msgSend(_95,"_mutableDate").setMonth(_98-1);
}else{
if(objj_msgSend(activeDateSegment,"dateType")==2){
var _99=objj_msgSend(_95,"maxDays");
var _9a=objj_msgSend(_95,"minDays");
if(_98>_99){
_98=_9a;
}else{
if(_98<_9a){
_98=_99;
}
}
objj_msgSend(superController,"_mutableDate").setDate(_98);
_98=objj_msgSend(activeDateSegment,"doubleNumber:",_98);
}else{
if(objj_msgSend(activeDateSegment,"dateType")==3){
var _99=objj_msgSend(_95,"maxYear");
var _9a=objj_msgSend(_95,"minYear");
if(_98>_99){
_98=_9a;
}else{
if(_98<_9a){
_98=_99;
}
}
objj_msgSend(superController,"_mutableDate").setFullYear(_98);
}else{
if(objj_msgSend(activeDateSegment,"dateType")==8){
var _99=objj_msgSend(_95,"maxMins");
var _9a=objj_msgSend(_95,"minMins");
if(_98>_99){
_98=_9a;
}else{
if(_98<_9a){
_98=_99;
}
}
objj_msgSend(superController,"_mutableDate").setMinutes(_98);
_98=objj_msgSend(activeDateSegment,"doubleNumber:",_98);
}else{
if(objj_msgSend(activeDateSegment,"dateType")==9){
var _99=objj_msgSend(_95,"maxHours");
var _9a=objj_msgSend(_95,"minHours");
if(_98>_99){
_98=_9a;
}else{
if(_98<_9a){
_98=_99;
}
}
var _9b=_98;
var _9c=objj_msgSend(segments,"objectAtIndex:",objj_msgSend(segments,"count")-1);
if(objj_msgSend(_9c,"stringValue")==="PM"&&_98!==12){
_98=_98+12;
}else{
if(objj_msgSend(_9c,"stringValue")==="AM"&&_98==12){
_98=0;
}
}
objj_msgSend(_95,"_mutableDate").setHours(_98);
_98=_9b;
}else{
if(objj_msgSend(activeDateSegment,"dateType")==10){
var _99=objj_msgSend(_95,"maxAMPM");
var _9a=objj_msgSend(_95,"minAMPM");
if(_98==_99||_98<_9a){
_98=_99;
var _9d="PM";
var _9e=objj_msgSend(_95,"_mutableDate").getHours();
if(_9e<12){
_9e=_9e+12;
}
}else{
if(_98==_9a||_98>_99){
_98=_9a;
var _9d="AM";
var _9e=objj_msgSend(_95,"_mutableDate").getHours();
if(_9e>11){
_9e=_9e-12;
}
}
}
objj_msgSend(_95,"_mutableDate").setHours(_9e);
objj_msgSend(activeDateSegment,"setStringValue:",_9d);
objj_msgSend(objj_msgSend(_95,"_theStepper"),"setIntValue:",_98);
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:","datePickerDidChangeNotification",superController,nil);
return;
}
}
}
}
}
}
objj_msgSend(activeDateSegment,"setStringValue:",_98);
objj_msgSend(_theStepper,"setIntValue:",objj_msgSend(activeDateSegment,"stringValue"));
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:","datePickerDidChangeNotification",superController,nil);
}
})]);
var _1=objj_allocateClassPair(CPTextField,"DateSegment"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("inputManager"),new objj_ivar("superController"),new objj_ivar("dateType"),new objj_ivar("focusedBackground")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("inputManager"),function(_9f,_a0){
with(_9f){
return inputManager;
}
}),new objj_method(sel_getUid("setInputManager:"),function(_a1,_a2,_a3){
with(_a1){
inputManager=_a3;
}
}),new objj_method(sel_getUid("superController"),function(_a4,_a5){
with(_a4){
return superController;
}
}),new objj_method(sel_getUid("setSuperController:"),function(_a6,_a7,_a8){
with(_a6){
superController=_a8;
}
}),new objj_method(sel_getUid("dateType"),function(_a9,_aa){
with(_a9){
return dateType;
}
}),new objj_method(sel_getUid("setDateType:"),function(_ab,_ac,_ad){
with(_ab){
dateType=_ad;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_ae,_af,_b0){
with(_ae){
_ae=objj_msgSendSuper({receiver:_ae,super_class:objj_getClass("DateSegment").super_class},"initWithFrame:",_b0);
if(_ae){
focusedBackground=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","DatePicker/date-segment-left.png"),CGSizeMake(4,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","DatePicker/date-segment-center.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","DatePicker/date-segment-right.png"),CGSizeMake(4,18))],NO));
objj_msgSend(_ae,"setValue:forThemeAttribute:",CPRightTextAlignment,"alignment");
}
return _ae;
}
}),new objj_method(sel_getUid("mouseDown:"),function(_b1,_b2,_b3){
with(_b1){
objj_msgSend(inputManager,"setActiveDateSegment:",_b1);
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setIntValue:",objj_msgSend(_b1,"stringValue"));
if(objj_msgSend(_b1,"dateType")==10&&objj_msgSend(_b1,"stringValue")==="AM"){
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setIntValue:",0);
}else{
if(objj_msgSend(_b1,"dateType")==10&&objj_msgSend(_b1,"stringValue")==="PM"){
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setIntValue:",1);
}
}
}
}),new objj_method(sel_getUid("setStringValue:"),function(_b4,_b5,_b6){
with(_b4){
objj_msgSendSuper({receiver:_b4,super_class:objj_getClass("DateSegment").super_class},"setStringValue:",_b6);
if(objj_msgSend(inputManager,"activeDateSegment")===_b4){
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",objj_msgSend(_b4,"intValue"));
if(objj_msgSend(_b4,"dateType")==10&&objj_msgSend(_b4,"stringValue")=="PM"){
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",1);
}
}
}
}),new objj_method(sel_getUid("sendNewInput:"),function(_b7,_b8,_b9){
with(_b7){
var _ba=nil;
if(objj_msgSend(_b7,"dateType")==1){
_ba=objj_msgSend(_b7,"numMonthDateInput:",_b9);
objj_msgSend(superController,"_mutableDate").setMonth(_ba-1);
}else{
if(objj_msgSend(_b7,"dateType")==2){
_ba=objj_msgSend(_b7,"numDayDateInput:",_b9);
objj_msgSend(superController,"_mutableDate").setDate(_ba);
}else{
if(objj_msgSend(_b7,"dateType")==3){
_ba=objj_msgSend(_b7,"fullYearDateInput:",_b9);
objj_msgSend(superController,"_mutableDate").setFullYear(_ba);
}else{
if(objj_msgSend(_b7,"dateType")==8){
_ba=objj_msgSend(_b7,"fullMinutesInput:",_b9);
objj_msgSend(superController,"_mutableDate").setMinutes(_ba);
}else{
if(objj_msgSend(_b7,"dateType")==9){
_ba=objj_msgSend(_b7,"fullHoursInput:",_b9);
var _bb=objj_msgSend(objj_msgSend(superController,"segments"),"objectAtIndex:",objj_msgSend(objj_msgSend(superController,"segments"),"count")-1);
if(objj_msgSend(_bb,"stringValue")==="PM"&&_ba!==12){
var hrs=_ba+12;
}else{
if(objj_msgSend(_bb,"stringValue")==="AM"&&_ba==12){
var hrs=0;
}else{
hrs=_ba;
}
}
objj_msgSend(superController,"_mutableDate").setHours(hrs);
}else{
if(objj_msgSend(_b7,"dateType")==10){
_ba=objj_msgSend(_b7,"fullAMPMInput:",_b9);
var _bc=objj_msgSend(objj_msgSend(objj_msgSend(superController,"segments"),"objectAtIndex:",0),"intValue")-1;
if(_ba=="PM"){
_bc=_bc+12;
}
objj_msgSend(superController,"_mutableDate").setHours(_bc);
}
}
}
}
}
}
objj_msgSend(_b7,"setStringValue:",_ba);
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:","datePickerDidChangeNotification",superController,nil);
}
}),new objj_method(sel_getUid("makeActive"),function(_bd,_be){
with(_bd){
objj_msgSend(_bd,"setBackgroundColor:",focusedBackground);
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",objj_msgSend(_bd,"intValue"));
}
}),new objj_method(sel_getUid("makeInactive"),function(_bf,_c0){
with(_bf){
objj_msgSend(_bf,"setBackgroundColor:",objj_msgSend(CPColor,"whiteColor"));
if(objj_msgSend(_bf,"dateType")==10){
return;
}
var _c1=objj_msgSend(_bf,"stringValue");
if(_c1==0&&objj_msgSend(_bf,"dateType")!==8){
_c1=1;
}
if(objj_msgSend(_bf,"dateType")==1){
objj_msgSend(_bf,"setStringValue:",objj_msgSend(_bf,"singleNumber:",_c1));
}else{
if(objj_msgSend(_bf,"dateType")==2){
objj_msgSend(_bf,"setStringValue:",objj_msgSend(_bf,"doubleNumber:",_c1));
}else{
if(objj_msgSend(_bf,"dateType")==3){
objj_msgSend(_bf,"setStringValue:",objj_msgSend(_bf,"quadNumber:",_c1));
}else{
if(objj_msgSend(_bf,"dateType")==8){
objj_msgSend(_bf,"setStringValue:",objj_msgSend(_bf,"doubleNumber:",_c1));
}else{
if(objj_msgSend(_bf,"dateType")==9){
objj_msgSend(_bf,"setStringValue:",objj_msgSend(_bf,"singleNumber:",_c1));
}
}
}
}
}
}
}),new objj_method(sel_getUid("increment"),function(_c2,_c3){
with(_c2){
if(objj_msgSend(_c2,"dateType")==10){
if(objj_msgSend(_c2,"stringValue")=="AM"){
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",1);
}else{
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",0);
}
}else{
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",objj_msgSend(_c2,"intValue")+1);
}
objj_msgSend(objj_msgSend(superController,"_theStepper"),"sendAction:to:",sel_getUid("stepperAction:"),inputManager);
}
}),new objj_method(sel_getUid("decrement"),function(_c4,_c5){
with(_c4){
if(objj_msgSend(_c4,"dateType")==10){
if(objj_msgSend(_c4,"stringValue")=="AM"){
objj_msgSend(_c4,"setStringValue:","PM");
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",1);
}else{
objj_msgSend(_c4,"setStringValue:","AM");
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",0);
}
}else{
objj_msgSend(objj_msgSend(superController,"_theStepper"),"setDoubleValue:",objj_msgSend(_c4,"intValue")-1);
}
objj_msgSend(objj_msgSend(superController,"_theStepper"),"sendAction:to:",sel_getUid("stepperAction:"),inputManager);
}
}),new objj_method(sel_getUid("removeLastChar"),function(_c6,_c7){
with(_c6){
var _c8=objj_msgSend(_c6,"stringValue");
if(objj_msgSend(_c8,"length")>0){
var _c9=objj_msgSend(_c8,"stringByPaddingToLength:withString:startingAtIndex:",objj_msgSend(_c8,"length")-1,"",1);
objj_msgSend(_c6,"setStringValue:",_c9);
}
}
}),new objj_method(sel_getUid("description"),function(_ca,_cb){
with(_ca){
switch(objj_msgSend(_ca,"dateType")){
case 1:
return "number month field";
case 2:
return "number day field";
case 3:
return "full number year field";
case 4:
return "short name month field";
case 5:
return "short year field";
case 6:
return "day of week short";
case 7:
return "day of week long";
case 8:
return "minutes field";
case 9:
return "hours field";
case 10:
return "am-pm field";
case 11:
return "seconds field";
default:
return "date segment field";
}
}
})]);
var _1=objj_getClass("DateSegment");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"DateSegment\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("numMonthDateInput:"),function(_cc,_cd,_ce){
with(_cc){
var _cf=objj_msgSend(superController,"maxMonth");
var _d0=objj_msgSend(_cc,"stringValue");
var _d1=objj_msgSend(_ce,"characterAtIndex:",0);
if(objj_msgSend(objj_msgSend(_d0,"stringByAppendingString:",_d1),"intValue")>_cf){
var _d2=_d1;
}else{
if(objj_msgSend(objj_msgSend(_d0,"stringByAppendingString:",_d1),"intValue")<=_cf){
var _d2=objj_msgSend(_d0,"stringByAppendingString:",_d1);
}else{
var _d2=(objj_msgSend(_d1,"intValue"))?objj_msgSend(_d1,"intValue"):"";
}
}
return objj_msgSend(_d2,"intValue");
}
}),new objj_method(sel_getUid("numDayDateInput:"),function(_d3,_d4,_d5){
with(_d3){
var _d6=objj_msgSend(superController,"maxDays");
var _d7=objj_msgSend(_d3,"stringValue");
var _d8=objj_msgSend(_d5,"characterAtIndex:",0);
if(objj_msgSend(objj_msgSend(_d7,"stringByAppendingString:",_d8),"intValue")>_d6){
var _d9=_d8;
}else{
if(objj_msgSend(objj_msgSend(_d7,"stringByAppendingString:",_d8),"intValue")<=_d6){
var _d9=objj_msgSend(_d7,"stringByAppendingString:",_d8);
}else{
var _d9=(objj_msgSend(_d8,"intValue"))?objj_msgSend(_d8,"intValue"):"";
}
}
return objj_msgSend(_d9,"intValue");
}
}),new objj_method(sel_getUid("fullYearDateInput:"),function(_da,_db,_dc){
with(_da){
var _dd=objj_msgSend(superController,"maxYear");
var _de=objj_msgSend(_da,"stringValue");
var _df=objj_msgSend(_dc,"characterAtIndex:",0);
if(objj_msgSend(objj_msgSend(_de,"stringByAppendingString:",_df),"intValue")>_dd){
var _e0=_df;
}else{
if(objj_msgSend(objj_msgSend(_de,"stringByAppendingString:",_df),"intValue")<=_dd){
var _e0=objj_msgSend(_de,"stringByAppendingString:",_df);
}else{
var _e0=(objj_msgSend(_df,"intValue"))?objj_msgSend(_df,"intValue"):"";
}
}
return objj_msgSend(_e0,"intValue");
}
}),new objj_method(sel_getUid("fullMinutesInput:"),function(_e1,_e2,_e3){
with(_e1){
var _e4=objj_msgSend(superController,"maxMins");
var _e5=objj_msgSend(_e1,"stringValue");
var _e6=objj_msgSend(_e3,"characterAtIndex:",0);
if(objj_msgSend(objj_msgSend(_e5,"stringByAppendingString:",_e6),"intValue")>_e4){
var _e7=_e6;
}else{
if(objj_msgSend(objj_msgSend(_e5,"stringByAppendingString:",_e6),"intValue")<=_e4){
var _e7=objj_msgSend(_e5,"stringByAppendingString:",_e6);
}else{
var _e7=(objj_msgSend(_e6,"intValue"))?objj_msgSend(_e6,"intValue"):"";
}
}
return objj_msgSend(_e7,"intValue");
}
}),new objj_method(sel_getUid("fullHoursInput:"),function(_e8,_e9,_ea){
with(_e8){
var _eb=objj_msgSend(superController,"maxHours");
var _ec=objj_msgSend(_e8,"stringValue");
var _ed=objj_msgSend(_ea,"characterAtIndex:",0);
if(objj_msgSend(objj_msgSend(_ec,"stringByAppendingString:",_ed),"intValue")>_eb){
var _ee=_ed;
}else{
if(objj_msgSend(objj_msgSend(_ec,"stringByAppendingString:",_ed),"intValue")<=_eb){
var _ee=objj_msgSend(_ec,"stringByAppendingString:",_ed);
}else{
var _ee=(objj_msgSend(_ed,"intValue"))?objj_msgSend(_ed,"intValue"):"";
}
}
return objj_msgSend(_ee,"intValue");
}
}),new objj_method(sel_getUid("fullAMPMInput:"),function(_ef,_f0,_f1){
with(_ef){
var _f2=objj_msgSend(_ef,"stringValue");
var _f3=objj_msgSend(_f1,"characterAtIndex:",0);
if(_f3==="p"||_f3==="P"){
return "PM";
}else{
if(_f3==="a"||_f3==="A"){
return "AM";
}else{
return _f2;
}
}
}
}),new objj_method(sel_getUid("singleNumber:"),function(_f4,_f5,_f6){
with(_f4){
return _f6;
}
}),new objj_method(sel_getUid("doubleNumber:"),function(_f7,_f8,_f9){
with(_f7){
if(objj_msgSend(_f9,"class")===CPNumber){
var _fa=objj_msgSend(objj_msgSend(_f9,"stringValue"),"length");
}else{
var _fa=objj_msgSend(_f9,"length");
}
var _fb="0";
while(_fa<2){
var _f9=objj_msgSend(_fb,"stringByAppendingString:",_f9);
_fa++;
}
return _f9;
}
}),new objj_method(sel_getUid("quadNumber:"),function(_fc,_fd,_fe){
with(_fc){
if(objj_msgSend(_fe,"class")===CPNumber){
var _ff=objj_msgSend(objj_msgSend(_fe,"stringValue"),"length");
}else{
var _ff=objj_msgSend(_fe,"length");
}
var _100="0";
while(_ff<4){
var _fe=objj_msgSend(_100,"stringByAppendingString:",_fe);
_ff++;
}
return _fe;
}
})]);
var _1=objj_allocateClassPair(CPControl,"DatePickerInputManager"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("activeDateSegment"),new objj_ivar("superController")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("activeDateSegment"),function(self,_101){
with(self){
return activeDateSegment;
}
}),new objj_method(sel_getUid("setActiveDateSegment:"),function(self,_102,_103){
with(self){
activeDateSegment=_103;
}
}),new objj_method(sel_getUid("superController"),function(self,_104){
with(self){
return superController;
}
}),new objj_method(sel_getUid("setSuperController:"),function(self,_105,_106){
with(self){
superController=_106;
}
}),new objj_method(sel_getUid("init"),function(self,_107){
with(self){
var _108=CGRectMake(0,0,0,0);
self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("DatePickerInputManager").super_class},"initWithFrame:",_108);
return self;
}
})]);
var _1=objj_getClass("DatePicker");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"DatePicker\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(self,_109,_10a){
with(self){
self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("DatePicker").super_class},"initWithCoder:",_10a);
if(self){
objj_msgSend(self,"setDelegate:",objj_msgSend(_10a,"decodeObjectForKey:",datePickerDelegate));
segments=objj_msgSend(_10a,"decodeObjectForKey:",datePickerSegments);
_theView=objj_msgSend(_10a,"decodeObjectForKey:",datePickerView);
_theStepper=objj_msgSend(_10a,"decodeObjectForKey:",datePickerStepper);
objj_msgSend(self,"setDate:",objj_msgSend(_10a,"decodeObjectForKey:",datePickerDate));
objj_msgSend(self,"setNeedsLayout");
objj_msgSend(self,"setNeedsDisplay:",YES);
}
return self;
}
}),new objj_method(sel_getUid("encodeWithCoder:"),function(self,_10b,_10c){
with(self){
objj_msgSend(_10c,"encodeObject:forKey:",_date,datePickerDate);
objj_msgSend(_10c,"encodeObject:forKey:",segments,datePickerSegments);
objj_msgSend(_10c,"encodeObject:forKey:",_delegate,dataPickerDelegate);
objj_msgSend(_10c,"encodeObject:forKey:",_theView,datePickerView);
objj_msgSend(_10c,"encodeObject:forKey:",_theStepper,datePickerStepper);
}
})]);
p;16;HelpController.jt;573;@STATIC;1.0;t;555;
var _1=objj_allocateClassPair(CPObject,"HelpController"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("helpWindow"),new objj_ivar("webview")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("showHelp:"),function(_3,_4,_5){
with(_3){
if(!helpWindow){
helpWindow=objj_msgSend(objj_msgSend(CPPanel,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,465,450),CPClosableWindowMask);
objj_msgSend(helpWindow,"setTitle:","Iguana Help");
}
objj_msgSend(helpWindow,"center");
objj_msgSend(helpWindow,"orderFront:",nil);
}
})]);
p;6;Item.jt;6819;@STATIC;1.0;t;6800;
ItemAttachmentsDidChangeNotification="ItemAttachmentsDidChangeNotification";
var _1=objj_allocateClassPair(CPObject,"Item"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("name"),new objj_ivar("make"),new objj_ivar("model"),new objj_ivar("notes"),new objj_ivar("serial"),new objj_ivar("dateAcquired"),new objj_ivar("price"),new objj_ivar("attachments"),new objj_ivar("tags"),new objj_ivar("extras")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("name"),function(_3,_4){
with(_3){
return name;
}
}),new objj_method(sel_getUid("setName:"),function(_5,_6,_7){
with(_5){
name=_7;
}
}),new objj_method(sel_getUid("make"),function(_8,_9){
with(_8){
return make;
}
}),new objj_method(sel_getUid("setMake:"),function(_a,_b,_c){
with(_a){
make=_c;
}
}),new objj_method(sel_getUid("model"),function(_d,_e){
with(_d){
return model;
}
}),new objj_method(sel_getUid("setModel:"),function(_f,_10,_11){
with(_f){
model=_11;
}
}),new objj_method(sel_getUid("notes"),function(_12,_13){
with(_12){
return notes;
}
}),new objj_method(sel_getUid("setNotes:"),function(_14,_15,_16){
with(_14){
notes=_16;
}
}),new objj_method(sel_getUid("serial"),function(_17,_18){
with(_17){
return serial;
}
}),new objj_method(sel_getUid("setSerial:"),function(_19,_1a,_1b){
with(_19){
serial=_1b;
}
}),new objj_method(sel_getUid("dateAcquired"),function(_1c,_1d){
with(_1c){
return dateAcquired;
}
}),new objj_method(sel_getUid("setDateAcquired:"),function(_1e,_1f,_20){
with(_1e){
dateAcquired=_20;
}
}),new objj_method(sel_getUid("price"),function(_21,_22){
with(_21){
return price;
}
}),new objj_method(sel_getUid("setPrice:"),function(_23,_24,_25){
with(_23){
price=_25;
}
}),new objj_method(sel_getUid("attachments"),function(_26,_27){
with(_26){
return attachments;
}
}),new objj_method(sel_getUid("setAttachments:"),function(_28,_29,_2a){
with(_28){
attachments=_2a;
}
}),new objj_method(sel_getUid("tags"),function(_2b,_2c){
with(_2b){
return tags;
}
}),new objj_method(sel_getUid("setTags:"),function(_2d,_2e,_2f){
with(_2d){
tags=_2f;
}
}),new objj_method(sel_getUid("extras"),function(_30,_31){
with(_30){
return extras;
}
}),new objj_method(sel_getUid("setExtras:"),function(_32,_33,_34){
with(_32){
extras=_34;
}
}),new objj_method(sel_getUid("initWithName:"),function(_35,_36,_37){
with(_35){
_35=objj_msgSendSuper({receiver:_35,super_class:objj_getClass("Item").super_class},"init");
if(_35){
name=_37;
make="Unknown";
model="";
notes="";
serial="";
dateAcquired=objj_msgSend(CPDate,"date");
attachments=[];
tags=[];
extras=objj_msgSend(CPDictionary,"dictionary");
}
return _35;
}
}),new objj_method(sel_getUid("addAttachment:"),function(_38,_39,_3a){
with(_38){
objj_msgSend(attachments,"addObject:",_3a);
}
}),new objj_method(sel_getUid("removeAttachment:"),function(_3b,_3c,_3d){
with(_3b){
objj_msgSend(attachments,"removeObject:",_3d);
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",ItemAttachmentsDidChangeNotification,_3b,nil);
saveAppData();
}
}),new objj_method(sel_getUid("setObject:forExtrasKey:"),function(_3e,_3f,_40,_41){
with(_3e){
objj_msgSend(extras,"setObject:forKey:",_40,_41);
}
}),new objj_method(sel_getUid("valueForExtrasWithKey:"),function(_42,_43,_44){
with(_42){
return objj_msgSend(extras,"objectValueForKey:",_44);
}
}),new objj_method(sel_getUid("isEqual:"),function(_45,_46,_47){
with(_45){
if(objj_msgSend(_47,"class")===objj_msgSend(_45,"class")){
var one=(objj_msgSend(name,"isEqual:",objj_msgSend(_47,"name"))&&objj_msgSend(make,"isEqual:",objj_msgSend(_47,"make"))&&objj_msgSend(model,"isEqual:",objj_msgSend(_47,"model"))&&objj_msgSend(notes,"isEqual:",objj_msgSend(_47,"notes"))&&objj_msgSend(make,"isEqual:",objj_msgSend(_47,"make"))&&price===objj_msgSend(_47,"price")&&objj_msgSend(attachments,"isEqual:",objj_msgSend(_47,"attachments"))&&objj_msgSend(tags,"isEqual:",objj_msgSend(_47,"tags"))&&objj_msgSend(extras,"isEqual:",objj_msgSend(_47,"extras")));
if(one){
if(dateAcquired){
return objj_msgSend(dateAcquired,"isEqual:",objj_msgSend(_47,"dateAcquired"));
}else{
return YES;
}
}
}
return NO;
}
}),new objj_method(sel_getUid("copy"),function(_48,_49){
with(_48){
var _4a=objj_msgSend(objj_msgSend(Item,"alloc"),"initWithName:",name);
objj_msgSend(_4a,"setMake:",make);
objj_msgSend(_4a,"setModel:",model);
objj_msgSend(_4a,"setNotes:",notes);
objj_msgSend(_4a,"setDateAcquired:",objj_msgSend(dateAcquired,"copy"));
objj_msgSend(_4a,"setPrice:",price);
objj_msgSend(_4a,"setSerial:",serial);
objj_msgSend(_4a,"setAttachments:",objj_msgSend(attachments,"copy"));
objj_msgSend(_4a,"setTags:",objj_msgSend(tags,"copy"));
objj_msgSend(_4a,"setExtras:",objj_msgSend(extras,"copy"));
return _4a;
}
}),new objj_method(sel_getUid("toJSON"),function(_4b,_4c){
with(_4b){
var _4d={};
_4d.name=name;
_4d.attachments=attachments;
_4d.make=make;
_4d.model=model;
_4d.price=price;
_4d.serial=serial;
_4d.notes=notes;
_4d.dateAcquired=objj_msgSend(dateAcquired,"toJSON");
_4d.tags=tags;
_4d.extras=objj_msgSend(extras,"toJSON");
return _4d;
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("decodeJSON:"),function(_4e,_4f,_50){
with(_4e){
var _51=objj_msgSend(objj_msgSend(Item,"alloc"),"initWithName:",_50.name);
objj_msgSend(_51,"setMake:",_50.make);
objj_msgSend(_51,"setModel:",_50.model);
objj_msgSend(_51,"setPrice:",_50.price);
objj_msgSend(_51,"setNotes:",_50.notes);
objj_msgSend(_51,"setSerial:",_50.serial);
objj_msgSend(_51,"setDateAcquired:",objj_msgSend(CPDate,"decodeJSON:",_50.dateAcquired));
if(_50.tags){
objj_msgSend(_51,"setTags:",_50.tags);
}else{
objj_msgSend(_51,"setTags:",[]);
}
if(_50.attachments){
var _52=[];
for(var i=0;i<_50.attachments.length;i++){
var _53=objj_msgSend(ItemAttachment,"decodeJSON:",_50.attachments[i]);
_52.push(_53);
}
objj_msgSend(_51,"setAttachments:",_52);
}else{
objj_msgSend(_51,"setAttachments:",[]);
}
objj_msgSend(_51,"setExtras:",objj_msgSend(CPDictionary,"dictionaryWithJSObject:",_50.extras));
return _51;
}
})]);
var _1=objj_getClass("CPDate");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPDate\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("toJSON"),function(_54,_55){
with(_54){
return _54.getTime();
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("decodeJSON:"),function(_56,_57,_58){
with(_56){
_56=objj_msgSend(CPDate,"date");
_56.setTime(_58);
return _56;
}
})]);
var _1=objj_getClass("CPDictionary");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPDictionary\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("toJSON"),function(_59,_5a){
with(_59){
var _5b={},_5c=objj_msgSend(_59,"allKeys"),_5d=objj_msgSend(_59,"allValues");
for(var i=0;i<objj_msgSend(_5c,"count");i++){
_5b[_5c[i]]=_5d[i];
}
return _5b;
}
})]);
p;16;ItemAttachment.jt;4521;@STATIC;1.0;t;4502;
var _1=objj_allocateClassPair(CPObject,"ItemAttachment"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("name"),new objj_ivar("type"),new objj_ivar("displaySize"),new objj_ivar("data"),new objj_ivar("globalID"),new objj_ivar("uploadManager"),new objj_ivar("representedView"),new objj_ivar("errorString")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("name"),function(_3,_4){
with(_3){
return name;
}
}),new objj_method(sel_getUid("setName:"),function(_5,_6,_7){
with(_5){
name=_7;
}
}),new objj_method(sel_getUid("type"),function(_8,_9){
with(_8){
return type;
}
}),new objj_method(sel_getUid("setType:"),function(_a,_b,_c){
with(_a){
type=_c;
}
}),new objj_method(sel_getUid("displaySize"),function(_d,_e){
with(_d){
return displaySize;
}
}),new objj_method(sel_getUid("setDisplaySize:"),function(_f,_10,_11){
with(_f){
displaySize=_11;
}
}),new objj_method(sel_getUid("data"),function(_12,_13){
with(_12){
return data;
}
}),new objj_method(sel_getUid("setData:"),function(_14,_15,_16){
with(_14){
data=_16;
}
}),new objj_method(sel_getUid("globalID"),function(_17,_18){
with(_17){
return globalID;
}
}),new objj_method(sel_getUid("setGlobalID:"),function(_19,_1a,_1b){
with(_19){
globalID=_1b;
}
}),new objj_method(sel_getUid("uploadManager"),function(_1c,_1d){
with(_1c){
return uploadManager;
}
}),new objj_method(sel_getUid("setUploadManager:"),function(_1e,_1f,_20){
with(_1e){
uploadManager=_20;
}
}),new objj_method(sel_getUid("representedView"),function(_21,_22){
with(_21){
return representedView;
}
}),new objj_method(sel_getUid("setRepresentedView:"),function(_23,_24,_25){
with(_23){
representedView=_25;
}
}),new objj_method(sel_getUid("init"),function(_26,_27){
with(_26){
_26=objj_msgSendSuper({receiver:_26,super_class:objj_getClass("ItemAttachment").super_class},"init");
if(_26){
name="";
type="";
displaySize=CGSizeMakeZero();
data="";
globalID=objj_msgSend(CPString,"UUID");
isUploading=NO;
}
return _26;
}
}),new objj_method(sel_getUid("type"),function(_28,_29){
with(_28){
if(type){
return type;
}
if(objj_msgSend(data,"substringWithRange:",CPMakeRange(0,10))==="data:image"){
type="image";
saveAppData();
return "image";
}
return "other";
}
}),new objj_method(sel_getUid("fileUploadDidEnd:withResponse:"),function(_2a,_2b,_2c,_2d){
with(_2a){
try{
var _2d=JSON.parse(_2d);
if(_2d.error){
var _2e=objj_msgSend(objj_msgSend(CPAlert,"alloc"),"init");
objj_msgSend(_2e,"setAlertStyle:",CPCriticalAlertStyle);
objj_msgSend(_2e,"setTitle:",_2d.error);
objj_msgSend(_2e,"setDelegate:",_2a);
objj_msgSend(_2e,"setMessageText:",_2d.error);
objj_msgSend(_2e,"setInformativeText:",_2d.errorMessage+" Please try again or report it.");
objj_msgSend(_2e,"addButtonWithTitle:","Okay");
objj_msgSend(_2e,"addButtonWithTitle:","Report");
errorString=_2d.error+": "+_2d.error;
}
}
catch(e){
var _2e=objj_msgSend(objj_msgSend(CPAlert,"alloc"),"init");
objj_msgSend(_2e,"setAlertStyle:",CPCriticalAlertStyle);
objj_msgSend(_2e,"setTitle:","Server Error");
objj_msgSend(_2e,"setDelegate:",_2a);
objj_msgSend(_2e,"setMessageText:","Server Error");
objj_msgSend(_2e,"setInformativeText:","There was an unknown error while uploading your attachment, please try again or report it.");
objj_msgSend(_2e,"addButtonWithTitle:","Okay");
objj_msgSend(_2e,"addButtonWithTitle:","Report");
errorString=e+": "+_2d;
}
objj_msgSend(_2a,"setName:",_2c.name);
objj_msgSend(_2a,"setData:",_2d.data);
objj_msgSend(_2a,"setType:","image");
objj_msgSend(representedView,"setRepresentedObject:",_2a);
}
}),new objj_method(sel_getUid("alertDidEnd:returnCode:"),function(_2f,_30,_31,_32){
with(_2f){
if(_32===1){
alert("let the user send a report or something dude...");
}
}
}),new objj_method(sel_getUid("fileUploadManagerDidChange:"),function(_33,_34,_35){
with(_33){
var _36=objj_msgSend(_35,"fileUploads")[0];
objj_msgSend(representedView,"setProgress:",objj_msgSend(_36,"progress"));
}
}),new objj_method(sel_getUid("toJSON"),function(_37,_38){
with(_37){
var _39={};
_39.name=name;
_39.displaySize=displaySize;
_39.globalID=globalID;
_39.data=data;
_39.type=type;
return _39;
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("decodeJSON:"),function(_3a,_3b,_3c){
with(_3a){
var _3d=objj_msgSend(objj_msgSend(ItemAttachment,"alloc"),"init");
objj_msgSend(_3d,"setName:",_3c.name);
objj_msgSend(_3d,"setDisplaySize:",_3c.displaySize);
objj_msgSend(_3d,"setGlobalID:",_3c.globalID);
objj_msgSend(_3d,"setData:",_3c.data);
objj_msgSend(_3d,"setType:",_3c.type);
return _3d;
}
})]);
p;23;ItemAttachmentManager.jt;130;@STATIC;1.0;t;112;
var _1;
var _2=objj_allocateClassPair(CPObject,"ItemAttachmentManager"),_3=_2.isa;
objj_registerClassPair(_2);
p;16;ItemController.jt;3470;@STATIC;1.0;t;3451;
var _1=objj_allocateClassPair(CPObject,"ItemController"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("locationController"),new objj_ivar("activeItem"),new objj_ivar("itemView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("activeItem"),function(_3,_4){
with(_3){
return activeItem;
}
}),new objj_method(sel_getUid("setActiveItem:"),function(_5,_6,_7){
with(_5){
activeItem=_7;
}
}),new objj_method(sel_getUid("initWithItemView:locationController:"),function(_8,_9,_a,_b){
with(_8){
_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("ItemController").super_class},"init");
if(_8){
itemView=_a;
objj_msgSend(itemView,"setItemController:",_8);
locationController=_b;
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_8,sel_getUid("refreshItem:"),ItemAttachmentsDidChangeNotification,nil);
}
return _8;
}
}),new objj_method(sel_getUid("refreshItem:"),function(_c,_d,_e){
with(_c){
var _f=objj_msgSend(_e,"object");
if(_f===activeItem){
objj_msgSend(itemView.attachmentsCollectionView,"reloadContent");
objj_msgSend(locationController,"refreshItemData");
}
}
}),new objj_method(sel_getUid("setItem:"),function(_10,_11,_12){
with(_10){
activeItem=_12;
objj_msgSend(itemView,"setItem:",activeItem);
}
}),new objj_method(sel_getUid("saveIfNeeded"),function(_13,_14){
with(_13){
if(objj_msgSend(itemView,"isEditing")){
objj_msgSend(_13,"itemDidEndEditing:",objj_msgSend(itemView,"itemForEditingValues"));
}
}
}),new objj_method(sel_getUid("itemDidEndEditing:"),function(_15,_16,_17){
with(_15){
var _18=objj_msgSend(activeItem,"copy");
objj_msgSend(activeItem,"setName:",objj_msgSend(_17,"name"));
objj_msgSend(activeItem,"setMake:",objj_msgSend(_17,"make"));
objj_msgSend(activeItem,"setModel:",objj_msgSend(_17,"model"));
objj_msgSend(activeItem,"setPrice:",objj_msgSend(_17,"price"));
objj_msgSend(activeItem,"setNotes:",objj_msgSend(_17,"notes"));
objj_msgSend(activeItem,"setDateAcquired:",objj_msgSend(_17,"dateAcquired"));
objj_msgSend(activeItem,"setTags:",objj_msgSend(_17,"tags"));
objj_msgSend(activeItem,"setExtras:",objj_msgSend(_17,"extras"));
objj_msgSend(locationController,"refreshItemData");
var _19=objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[activeItem,_18],["oldItem","newItem"]);
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",objj_msgSend(locationController,"location"),sel_getUid("replaceItemWithItem:"),_19);
}
}),new objj_method(sel_getUid("fileDropUploadController:setState:"),function(_1a,_1b,_1c,_1d){
with(_1a){
}
}),new objj_method(sel_getUid("newUploadManager:"),function(_1e,_1f,_20){
with(_1e){
var _21=objj_msgSend(objj_msgSend(ItemAttachment,"alloc"),"init"),_22=objj_msgSend(objj_msgSend(DCFileUploadManager,"alloc"),"init");
objj_msgSend(_21,"setName:","Uploading...");
objj_msgSend(_21,"setUploadManager:",_22);
objj_msgSend(_22,"setDelegate:",_21);
var _23=objj_msgSend(activeItem,"attachments");
objj_msgSend(_23,"addObject:",_21);
objj_msgSend(itemView.attachmentsCollectionView,"reloadContent");
return _22;
}
}),new objj_method(sel_getUid("managerDidUpload:"),function(_24,_25,_26){
with(_24){
objj_msgSend(locationController,"refreshItemData");
}
}),new objj_method(sel_getUid("addAttachment:"),function(_27,_28,_29){
with(_27){
objj_msgSend(activeItem,"addAttachment:",_29);
objj_msgSend(locationController,"refreshItemData");
}
})]);
p;10;ItemView.jt;54594;@STATIC;1.0;t;54574;
var _1=objj_allocateClassPair(CPView,"ItemView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("MINHEIGHT"),new objj_ivar("locationController"),new objj_ivar("itemController"),new objj_ivar("isEditing"),new objj_ivar("itemContentView"),new objj_ivar("scrollView"),new objj_ivar("mainItemImage"),new objj_ivar("nameField"),new objj_ivar("makeField"),new objj_ivar("modelField"),new objj_ivar("priceField"),new objj_ivar("serialField"),new objj_ivar("dateAcquiredField"),new objj_ivar("clearDateButton"),new objj_ivar("dateAcquiredTextField"),new objj_ivar("tagsField"),new objj_ivar("tagsUnedited"),new objj_ivar("notesLabel"),new objj_ivar("tagsArray"),new objj_ivar("notesField"),new objj_ivar("extrasLabels"),new objj_ivar("extrasFields"),new objj_ivar("removeExtraFieldButtons"),new objj_ivar("addExtraFieldButton"),new objj_ivar("_completionMenu"),new objj_ivar("noItemView"),new objj_ivar("newFieldPrompt"),new objj_ivar("createNewFieldButton"),new objj_ivar("attachmentsScrollView"),new objj_ivar("attachmentsCollectionView"),new objj_ivar("mainImageUpload")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("locationController"),function(_3,_4){
with(_3){
return locationController;
}
}),new objj_method(sel_getUid("setLocationController:"),function(_5,_6,_7){
with(_5){
locationController=_7;
}
}),new objj_method(sel_getUid("itemController"),function(_8,_9){
with(_8){
return itemController;
}
}),new objj_method(sel_getUid("setItemController:"),function(_a,_b,_c){
with(_a){
itemController=_c;
}
}),new objj_method(sel_getUid("isEditing"),function(_d,_e){
with(_d){
return isEditing;
}
}),new objj_method(sel_getUid("setIsEditing:"),function(_f,_10,_11){
with(_f){
isEditing=_11;
}
}),new objj_method(sel_getUid("nameField"),function(_12,_13){
with(_12){
return nameField;
}
}),new objj_method(sel_getUid("setNameField:"),function(_14,_15,_16){
with(_14){
nameField=_16;
}
}),new objj_method(sel_getUid("mainImageUpload"),function(_17,_18){
with(_17){
return mainImageUpload;
}
}),new objj_method(sel_getUid("setMainImageUpload:"),function(_19,_1a,_1b){
with(_19){
mainImageUpload=_1b;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_1c,_1d,_1e){
with(_1c){
_1c=objj_msgSendSuper({receiver:_1c,super_class:objj_getClass("ItemView").super_class},"initWithFrame:",_1e);
if(_1c){
MINHEIGHT=_1e.size.height-100;
objj_msgSend(_1c,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","f4f4f4"));
tagsArray=[];
scrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,0,_1e.size.width,_1e.size.height-90));
itemContentView=objj_msgSend(objj_msgSend(ItemContentView,"alloc"),"initWithFrame:",CGRectMake(0,0,_1e.size.width-20,_1e.size.height-100));
objj_msgSend(scrollView,"setHasHorizontalScroller:",NO);
objj_msgSend(scrollView,"setAutohidesScrollers:",YES);
objj_msgSend(scrollView,"setDocumentView:",itemContentView);
objj_msgSend(_1c,"addSubview:",scrollView);
objj_msgSend(objj_msgSend(DCFileUploadManager,"sharedManager"),"setDelegate:",itemController);
mainItemImage=objj_msgSend(objj_msgSend(MainItemView,"alloc"),"initWithFrame:",CGRectMake(_1e.size.width-160,10,145,145));
objj_msgSend(mainItemImage,"setController:",_1c);
objj_msgSend(itemContentView,"addSubview:",mainItemImage);
var _1f=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,24,65,28));
objj_msgSend(_1f,"setStringValue:","Name: ");
objj_msgSend(_1f,"sizeToFit");
objj_msgSend(itemContentView,"addSubview:",_1f);
nameField=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(nameField,"setFrame:",CGRectMake(CGRectGetMaxX(objj_msgSend(_1f,"frame"))+5,15,275,35));
objj_msgSend(nameField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",24));
objj_msgSend(itemContentView,"addSubview:",nameField);
var _20=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,64,65,28));
objj_msgSend(_20,"setStringValue:","Make: ");
objj_msgSend(_20,"sizeToFit");
objj_msgSend(itemContentView,"addSubview:",_20);
makeField=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(makeField,"setFrame:",CGRectMake(CGRectGetMaxX(objj_msgSend(_1f,"frame"))+5,60,275,28));
objj_msgSend(makeField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(nameField,"setNextKeyView:",makeField);
objj_msgSend(nameField,"setNextResponder:",makeField);
objj_msgSend(itemContentView,"addSubview:",makeField);
var _21=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,124,100,28));
objj_msgSend(_21,"setStringValue:","Model: ");
objj_msgSend(itemContentView,"addSubview:",_21);
modelField=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(modelField,"setFrame:",CGRectMake(115,120,275,28));
objj_msgSend(modelField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(itemContentView,"addSubview:",modelField);
var _22=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,154,100,28));
objj_msgSend(_22,"setStringValue:","Price: ");
objj_msgSend(itemContentView,"addSubview:",_22);
priceField=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(priceField,"setFrame:",CGRectMake(115,150,275,28));
objj_msgSend(priceField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(itemContentView,"addSubview:",priceField);
var _23=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,184,100,28));
objj_msgSend(_23,"setStringValue:","Serial Number: ");
objj_msgSend(itemContentView,"addSubview:",_23);
serialField=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(serialField,"setFrame:",CGRectMake(115,180,275,28));
objj_msgSend(serialField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(itemContentView,"addSubview:",serialField);
var _24=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,214,100,28));
objj_msgSend(_24,"setStringValue:","Date Acquired: ");
objj_msgSend(itemContentView,"addSubview:",_24);
dateAcquiredField=objj_msgSend(objj_msgSend(DatePicker,"alloc"),"initWithFrame:",CGRectMake(115,210,215,28));
objj_msgSend(dateAcquiredField,"displayPreset:",1);
clearDateButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(340,213,50,24));
objj_msgSend(clearDateButton,"setTitle:","Clear");
objj_msgSend(clearDateButton,"setTarget:",_1c);
objj_msgSend(clearDateButton,"setAction:",sel_getUid("clearDate:"));
dateAcquiredTextField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(115,214,275,28));
objj_msgSend(itemContentView,"addSubview:",dateAcquiredTextField);
var _25=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,244,100,28));
objj_msgSend(_25,"setStringValue:","Tags: ");
objj_msgSend(itemContentView,"addSubview:",_25);
tagsField=objj_msgSend(objj_msgSend(NATokenTextView,"alloc"),"initWithFrame:",CGRectMake(115,240,275,28));
objj_msgSend(tagsField,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.6,1),"text-color",CPTextFieldStatePlaceholder);
objj_msgSend(tagsField,"setValue:forThemeAttribute:inState:",CGInsetMakeZero(),"bezel-inset",CPThemeStateNormal);
objj_msgSend(tagsField,"setValue:forThemeAttribute:inState:",CGInsetMake(-1,10,0,10),"content-inset",CPThemeStateNormal);
var _26=objj_msgSend(CPBundle,"mainBundle"),_27=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-0.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-1.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-2.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-3.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-5.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-6.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-7.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-8.png"),CGSizeMake(11,9))])),_28=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-0.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-1.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-2.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-3.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-5.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-6.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-7.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","TextField/textfield-focused-8.png"),CGSizeMake(11,9))]));
objj_msgSend(tagsField,"setValue:forThemeAttribute:inState:",_27,"bezel-color",CPThemeStateBezeled);
objj_msgSend(tagsField,"setValue:forThemeAttribute:inState:",_28,"bezel-color",CPThemeStateBezeled|CPThemeStateEditing);
objj_msgSend(tagsField,"setDelegate:",_1c);
tagsUnedited=objj_msgSend(objj_msgSend(AutoExpandingTextField,"alloc"),"initWithFrame:",CGRectMake(115,240,275,28));
objj_msgSend(tagsUnedited,"setValue:forThemeAttribute:",CGInsetMake(7,10,2,10),"content-inset");
objj_msgSend(tagsUnedited,"setLineBreakMode:",CPLineBreakByWordWrapping);
objj_msgSend(itemContentView,"addSubview:",tagsUnedited);
notesLabel=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,274,100,28));
objj_msgSend(notesLabel,"setStringValue:","Notes: ");
objj_msgSend(itemContentView,"addSubview:",notesLabel);
notesField=objj_msgSend(objj_msgSend(AutoExpandingTextField,"alloc"),"init");
objj_msgSend(notesField,"setFrame:",CGRectMake(115,270,275,50));
objj_msgSend(notesField,"setTextColor:",objj_msgSend(CPColor,"blackColor"));
objj_msgSend(notesField,"setEditable:",NO);
objj_msgSend(notesField,"setBezeled:",NO);
objj_msgSend(notesField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(notesField,"setDelegate:",_1c);
objj_msgSend(notesField,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.6,1),"text-color",CPTextFieldStatePlaceholder);
objj_msgSend(notesField,"setValue:forThemeAttribute:inState:",CGInsetMakeZero(),"bezel-inset",CPThemeStateNormal);
objj_msgSend(notesField,"setValue:forThemeAttribute:inState:",CGInsetMake(5,10,0,10),"content-inset",CPThemeStateNormal);
objj_msgSend(notesField,"setValue:forThemeAttribute:inState:",_27,"bezel-color",CPThemeStateBezeled);
objj_msgSend(itemContentView,"addSubview:",notesField);
extrasLabels=objj_msgSend(CPDictionary,"dictionary");
extrasFields=objj_msgSend(CPDictionary,"dictionary");
removeExtraFieldButtons=objj_msgSend(CPDictionary,"dictionary");
addExtraFieldButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(17,216,12,12));
objj_msgSend(addExtraFieldButton,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","AddButton.png"),CGSizeMake(12,12)));
objj_msgSend(addExtraFieldButton,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","AddButtonP.png"),CGSizeMake(12,12)));
objj_msgSend(addExtraFieldButton,"setBordered:",NO);
objj_msgSend(addExtraFieldButton,"setTarget:",_1c);
objj_msgSend(addExtraFieldButton,"setAction:",sel_getUid("promptAddExtraField:"));
attachmentsScrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,_1e.size.height-90,_1e.size.width,90));
objj_msgSend(attachmentsScrollView,"setHasVerticalScroller:",NO);
objj_msgSend(attachmentsScrollView,"setAutohidesScrollers:",YES);
objj_msgSend(attachmentsScrollView,"setVerticalLineScroll:",0.0001);
objj_msgSend(attachmentsScrollView,"setHorizontalScroller:",objj_msgSend(LocationController,"customHorizontalScroller"));
attachmentsCollectionView=objj_msgSend(objj_msgSend(DropUploadCollectionView,"alloc"),"initWithFrame:",CGRectMake(0,0,_1e.size.width,90));
var _29=objj_msgSend(objj_msgSend(CPCollectionViewItem,"alloc"),"init");
objj_msgSend(_29,"setView:",objj_msgSend(AttachmentCell,"new"));
objj_msgSend(attachmentsCollectionView,"setMinItemSize:",CGSizeMake(80,85));
objj_msgSend(attachmentsCollectionView,"setMaxItemSize:",CGSizeMake(80,85));
objj_msgSend(attachmentsCollectionView,"setVerticalMargin:",5);
objj_msgSend(attachmentsCollectionView,"setDelegate:",_1c);
objj_msgSend(attachmentsCollectionView,"setItemPrototype:",_29);
objj_msgSend(attachmentsCollectionView,"setMaxNumberOfRows:",1);
window.setTimeout(function(){
var _2a=objj_msgSend(objj_msgSend(DCFileDropController,"alloc"),"initWithView:dropDelegate:uploadURL:uploadManager:",attachmentsCollectionView,itemController,objj_msgSend(CPURL,"URLWithString:","http://timetableapp.com/TestingEnviro/Iguana/upload.php"),objj_msgSend(DCFileUploadManager,"sharedManager"));
objj_msgSend(_2a,"setValidFileTypes:",["png","gif","jpg","pdf"]);
},0);
objj_msgSend(attachmentsScrollView,"setDocumentView:",attachmentsCollectionView);
var _2b=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,_1e.size.height-90,_1e.size.width,11));
objj_msgSend(_2b,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_26,"pathForResource:","Attachments/CollectionShadow.png"),CGSizeMake(52,11))));
objj_msgSend(_2b,"setAutoresizingMask:",CPViewWidthSizable);
objj_msgSend(_1c,"addSubview:",attachmentsScrollView);
objj_msgSend(_1c,"addSubview:",_2b);
noItemView=nil;
objj_msgSend(_1c,"setItem:",nil);
}
return _1c;
}
}),new objj_method(sel_getUid("setLocationController:"),function(_2c,_2d,_2e){
with(_2c){
locationController=_2e;
objj_msgSend(objj_msgSend(DCFileUploadManager,"sharedManager"),"setDelegate:",itemController);
}
}),new objj_method(sel_getUid("setWidth:"),function(_2f,_30,_31){
with(_2f){
var _32=objj_msgSend(itemContentView,"frame").size.height;
objj_msgSend(itemContentView,"setFrameSize:",CGSizeMake(_31,_32));
}
}),new objj_method(sel_getUid("setupEditViewsWithItem:"),function(_33,_34,_35){
with(_33){
var _36=objj_msgSend(_35,"extras"),_37=objj_msgSend(_36,"allKeys"),y=CGRectGetMaxY(objj_msgSend(notesField,"frame"))+3,i=0;
for(;i<objj_msgSend(_37,"count");i++){
var key=_37[i],_38=objj_msgSend(_36,"valueForKey:",key);
var _39=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,y+4,100,28));
objj_msgSend(_39,"setStringValue:",key+": ");
objj_msgSend(extrasLabels,"setValue:forKey:",_39,key);
objj_msgSend(itemContentView,"addSubview:",_39);
var _3a=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(_3a,"setFrame:",CGRectMake(115,y,275,28));
objj_msgSend(_3a,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(_3a,"setStringValue:",_38);
objj_msgSend(extrasFields,"setValue:forKey:",_3a,key);
objj_msgSend(itemContentView,"addSubview:",_3a);
var _3b=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(3,y+4,12,12)),_3c=objj_msgSend(CPBundle,"mainBundle");
objj_msgSend(_3b,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","MinusButton.png"),CGSizeMake(12,12)));
objj_msgSend(_3b,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","MinusButtonP.png"),CGSizeMake(12,12)));
objj_msgSend(_3b,"setBordered:",NO);
objj_msgSend(_3b,"setTarget:",_33);
objj_msgSend(_3b,"setAction:",sel_getUid("removeField:"));
objj_msgSend(_3b,"setTag:",key);
objj_msgSend(removeExtraFieldButtons,"setValue:forKey:",_3b,key);
y+=30;
}
}
}),new objj_method(sel_getUid("moveExtrasIntoPlace"),function(_3d,_3e){
with(_3d){
var _3f=objj_msgSend(extrasLabels,"allKeys"),y=CGRectGetMaxY(objj_msgSend(notesField,"frame"))+3,i=0;
for(;i<objj_msgSend(_3f,"count");i++){
objj_msgSend(itemContentView,"addSubview:",objj_msgSend(extrasLabels,"valueForKey:",_3f[i]));
objj_msgSend(objj_msgSend(extrasLabels,"valueForKey:",_3f[i]),"setFrameOrigin:",CGPointMake(15,y+4));
objj_msgSend(itemContentView,"addSubview:",objj_msgSend(extrasFields,"valueForKey:",_3f[i]));
objj_msgSend(objj_msgSend(extrasFields,"valueForKey:",_3f[i]),"setFrameOrigin:",CGPointMake(115,y));
objj_msgSend(itemContentView,"addSubview:",objj_msgSend(removeExtraFieldButtons,"valueForKey:",_3f[i]));
objj_msgSend(objj_msgSend(removeExtraFieldButtons,"valueForKey:",_3f[i]),"setFrameOrigin:",CGPointMake(3,y+7));
y+=30;
}
objj_msgSend(addExtraFieldButton,"setFrameOrigin:",CGPointMake(3,y));
var _40=objj_msgSend(itemContentView,"bounds").size;
objj_msgSend(itemContentView,"setFrameSize:",CGSizeMake(_40.width,MAX(MINHEIGHT,y+30)));
}
}),new objj_method(sel_getUid("setExtrasToEdit:"),function(_41,_42,_43){
with(_41){
var _44=objj_msgSend(extrasFields,"allKeys");
i=0;
for(;i<objj_msgSend(_44,"count");i++){
objj_msgSend(objj_msgSend(extrasFields,"valueForKey:",_44[i]),"setEditable:",_43);
objj_msgSend(objj_msgSend(extrasFields,"valueForKey:",_44[i]),"setBezeled:",_43);
if(_43){
objj_msgSend(itemContentView,"addSubview:",objj_msgSend(removeExtraFieldButtons,"valueForKey:",_44[i]));
}else{
objj_msgSend(objj_msgSend(removeExtraFieldButtons,"valueForKey:",_44[i]),"removeFromSuperview");
}
}
}
}),new objj_method(sel_getUid("removeAllExtras"),function(_45,_46){
with(_45){
var _47=objj_msgSend(extrasLabels,"allKeys"),i=0;
for(;i<objj_msgSend(_47,"count");i++){
objj_msgSend(objj_msgSend(extrasLabels,"valueForKey:",_47[i]),"removeFromSuperview");
objj_msgSend(objj_msgSend(extrasFields,"valueForKey:",_47[i]),"removeFromSuperview");
objj_msgSend(objj_msgSend(removeExtraFieldButtons,"valueForKey:",_47[i]),"removeFromSuperview");
}
objj_msgSend(extrasLabels,"removeAllObjects");
objj_msgSend(extrasFields,"removeAllObjects");
objj_msgSend(removeExtraFieldButtons,"removeAllObjects");
}
}),new objj_method(sel_getUid("promptAddExtraField:"),function(_48,_49,_4a){
with(_48){
var _4b=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,300,120),CPDocModalWindowMask),_4c=objj_msgSend(_4b,"contentView"),_4d=objj_msgSend(CPTextField,"labelWithTitle:","Add Item Field: ");
objj_msgSend(_4d,"setFrame:",CGRectMake(15,10,200,25));
objj_msgSend(_4d,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",15));
objj_msgSend(_4d,"sizeToFit");
objj_msgSend(_4c,"addSubview:",_4d);
createNewFieldButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(183,80,100,24));
newFieldPrompt=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(15,CGRectGetMaxY(objj_msgSend(_4d,"frame"))+5,270,28));
objj_msgSend(newFieldPrompt,"setEditable:",YES);
objj_msgSend(newFieldPrompt,"setBezeled:",YES);
objj_msgSend(newFieldPrompt,"setTarget:",createNewFieldButton);
objj_msgSend(newFieldPrompt,"setAction:",sel_getUid("performClick:"));
objj_msgSend(newFieldPrompt,"setDelegate:",_48);
objj_msgSend(_4c,"addSubview:",newFieldPrompt);
objj_msgSend(createNewFieldButton,"setTitle:","Create");
objj_msgSend(createNewFieldButton,"setTag:",0);
objj_msgSend(createNewFieldButton,"setTarget:",_48);
objj_msgSend(createNewFieldButton,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(createNewFieldButton,"setEnabled:",NO);
objj_msgSend(_4c,"addSubview:",createNewFieldButton);
objj_msgSend(_4b,"setDefaultButton:",createNewFieldButton);
var _4e=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(73,80,100,24));
objj_msgSend(_4e,"setTag:",-1);
objj_msgSend(_4e,"setTitle:","Cancel");
objj_msgSend(_4e,"setTarget:",_48);
objj_msgSend(_4e,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_4c,"addSubview:",_4e);
objj_msgSend(CPApp,"beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:",_4b,objj_msgSend(_48,"window"),_48,sel_getUid("didEndSheet:returnCode:contextInfo:"),nil);
objj_msgSend(_4b,"makeFirstResponder:",newFieldPrompt);
}
}),new objj_method(sel_getUid("removeField:"),function(_4f,_50,_51){
with(_4f){
var key=objj_msgSend(_51,"tag");
objj_msgSend(objj_msgSend(extrasLabels,"valueForKey:",key),"removeFromSuperview");
objj_msgSend(objj_msgSend(extrasFields,"valueForKey:",key),"removeFromSuperview");
objj_msgSend(objj_msgSend(removeExtraFieldButtons,"valueForKey:",key),"removeFromSuperview");
objj_msgSend(extrasLabels,"removeObjectForKey:",key);
objj_msgSend(extrasFields,"removeObjectForKey:",key);
objj_msgSend(removeExtraFieldButtons,"removeObjectForKey:",key);
objj_msgSend(_4f,"moveExtrasIntoPlace");
}
}),new objj_method(sel_getUid("setItem:"),function(_52,_53,_54){
with(_52){
objj_msgSend(_52,"removeAllExtras");
if(!_54){
if(!noItemView){
noItemView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",objj_msgSend(_52,"bounds"));
objj_msgSend(noItemView,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","f4f4f4"));
objj_msgSend(noItemView,"setAutoresizingMask:",CPViewHeightSizable|CPViewWidthSizable);
var _55=objj_msgSend(CPTextField,"new");
objj_msgSend(_55,"setStringValue:","No Item Selected");
objj_msgSend(_55,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",22));
objj_msgSend(_55,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","727272"));
objj_msgSend(_55,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(_55,"setTextShadowOffset:",CGSizeMake(0,2));
objj_msgSend(_55,"sizeToFit");
objj_msgSend(_55,"setCenter:",CGPointMake(CGRectGetMidX(objj_msgSend(_52,"bounds")),CGRectGetMidY(objj_msgSend(_52,"bounds"))-50));
objj_msgSend(_55,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin|CPViewMaxXMargin|CPViewMaxYMargin);
objj_msgSend(noItemView,"addSubview:",_55);
}
var _56=objj_msgSend(locationController,"locationView");
objj_msgSend(objj_msgSend(_56,"editButton"),"setHidden:",YES);
objj_msgSend(objj_msgSend(_56,"deleteButton"),"setHidden:",YES);
objj_msgSend(objj_msgSend(_56,"uploadButton"),"setHidden:",YES);
objj_msgSend(_52,"addSubview:",noItemView);
return;
}
var _56=objj_msgSend(locationController,"locationView");
objj_msgSend(objj_msgSend(_56,"editButton"),"setHidden:",NO);
objj_msgSend(objj_msgSend(_56,"deleteButton"),"setHidden:",NO);
objj_msgSend(objj_msgSend(_56,"uploadButton"),"setHidden:",NO);
objj_msgSend(noItemView,"removeFromSuperview");
objj_msgSend(nameField,"setStringValue:",objj_msgSend(_54,"name"));
objj_msgSend(makeField,"setStringValue:",objj_msgSend(_54,"make"));
objj_msgSend(modelField,"setStringValue:",objj_msgSend(_54,"model"));
objj_msgSend(priceField,"setStringValue:",objj_msgSend(_54,"price"));
objj_msgSend(serialField,"setStringValue:",objj_msgSend(_54,"serial"));
objj_msgSend(dateAcquiredField,"setDate:",objj_msgSend(objj_msgSend(_54,"dateAcquired"),"copy"));
objj_msgSend(dateAcquiredTextField,"setStringValue:",objj_msgSend(objj_msgSend(_54,"dateAcquired"),"longStringDate"));
objj_msgSend(tagsField,"setTokens:",objj_msgSend(_54,"tags"));
objj_msgSend(tagsUnedited,"setStringValue:",objj_msgSend(objj_msgSend(_54,"tags"),"componentsJoinedByString:",", "));
objj_msgSend(notesField,"setStringValue:",objj_msgSend(_54,"notes"));
objj_msgSend(attachmentsCollectionView,"setContent:",objj_msgSend(_54,"attachments"));
window.setTimeout(function(){
objj_msgSend(tagsUnedited,"sizeToFit");
if(objj_msgSend(tagsUnedited,"frame").size.height<28){
objj_msgSend(tagsUnedited,"setFrameSize:",CGSizeMake(objj_msgSend(tagsUnedited,"frame").size.width,28));
}
objj_msgSend(notesField,"sizeToFit");
if(CGRectGetHeight(objj_msgSend(notesField,"frame"))<50){
objj_msgSend(notesField,"setFrameSize:",CGSizeMake(objj_msgSend(notesField,"frame").size.width,50));
}
objj_msgSend(_52,"setupEditViewsWithItem:",_54);
objj_msgSend(_52,"moveExtrasIntoPlace");
objj_msgSend(_52,"setExtrasToEdit:",isEditing);
},0);
}
}),new objj_method(sel_getUid("extrasForEditingItem"),function(_57,_58){
with(_57){
var _59=objj_msgSend(CPDictionary,"dictionary"),_5a=objj_msgSend(extrasFields,"allKeys"),_5b=objj_msgSend(extrasFields,"allValues"),i=0;
for(;i<objj_msgSend(_5a,"count");i++){
objj_msgSend(_59,"setValue:forKey:",objj_msgSend(_5b[i],"stringValue"),_5a[i]);
}
return _59;
}
}),new objj_method(sel_getUid("toggleEditMode:"),function(_5c,_5d,_5e){
with(_5c){
objj_msgSend(_5c,"enterEditMode:",!isEditing);
if(!isEditing){
objj_msgSend(itemController,"itemDidEndEditing:",objj_msgSend(_5c,"itemForEditingValues"));
}
}
}),new objj_method(sel_getUid("itemForEditingValues"),function(_5f,_60){
with(_5f){
var _61=objj_msgSend(objj_msgSend(Item,"alloc"),"initWithName:",objj_msgSend(nameField,"stringValue"));
objj_msgSend(_61,"setMake:",objj_msgSend(makeField,"stringValue"));
objj_msgSend(_61,"setModel:",objj_msgSend(modelField,"stringValue"));
objj_msgSend(_61,"setNotes:",objj_msgSend(notesField,"stringValue"));
objj_msgSend(_61,"setDateAcquired:",objj_msgSend(dateAcquiredField,"date"));
objj_msgSend(_61,"setPrice:",objj_msgSend(priceField,"stringValue"));
tagsArray=objj_msgSend(tagsField,"tokens");
objj_msgSend(_61,"setTags:",tagsArray);
objj_msgSend(_61,"setExtras:",objj_msgSend(_5f,"extrasForEditingItem"));
return _61;
}
}),new objj_method(sel_getUid("enterEditMode:"),function(_62,_63,_64){
with(_62){
isEditing=_64;
objj_msgSend(nameField,"setEditable:",_64);
objj_msgSend(nameField,"setBezeled:",_64);
objj_msgSend(makeField,"setEditable:",_64);
objj_msgSend(makeField,"setBezeled:",_64);
objj_msgSend(makeField,"setEditable:",_64);
objj_msgSend(makeField,"setBezeled:",_64);
objj_msgSend(modelField,"setEditable:",_64);
objj_msgSend(modelField,"setBezeled:",_64);
objj_msgSend(priceField,"setEditable:",_64);
objj_msgSend(priceField,"setBezeled:",_64);
objj_msgSend(serialField,"setEditable:",_64);
objj_msgSend(serialField,"setBezeled:",_64);
objj_msgSend(notesField,"setEditable:",_64);
objj_msgSend(notesField,"setBezeled:",_64);
if(isEditing){
objj_msgSend(dateAcquiredTextField,"removeFromSuperview");
objj_msgSend(itemContentView,"addSubview:",dateAcquiredField);
objj_msgSend(itemContentView,"addSubview:",clearDateButton);
objj_msgSend(itemContentView,"addSubview:",addExtraFieldButton);
objj_msgSend(tagsField,"setFrame:",objj_msgSend(tagsUnedited,"frame"));
objj_msgSend(tagsUnedited,"removeFromSuperview");
objj_msgSend(itemContentView,"addSubview:",tagsField);
objj_msgSend(_62,"tokenTextViewFrameSizeDidChange:",tagsField);
var _65=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","editbutton-selected.png"),CGSizeMake(18,18));
objj_msgSend(objj_msgSend(objj_msgSend(locationController,"locationView"),"editButton"),"setImage:",_65);
}else{
objj_msgSend(addExtraFieldButton,"removeFromSuperview");
objj_msgSend(dateAcquiredField,"removeFromSuperview");
objj_msgSend(clearDateButton,"removeFromSuperview");
var _66=objj_msgSend(objj_msgSend(dateAcquiredField,"date"),"longStringDate");
objj_msgSend(dateAcquiredTextField,"setStringValue:",_66);
objj_msgSend(itemContentView,"addSubview:",dateAcquiredTextField);
objj_msgSend(tagsUnedited,"setFrame:",objj_msgSend(tagsField,"frame"));
objj_msgSend(tagsField,"removeFromSuperview");
tagsArray=objj_msgSend(tagsField,"tokens");
objj_msgSend(tagsUnedited,"setStringValue:",objj_msgSend(tagsArray,"componentsJoinedByString:",", "));
objj_msgSend(itemContentView,"addSubview:",tagsUnedited);
objj_msgSend(_62,"tokenTextViewFrameSizeDidChange:",tagsUnedited);
var _65=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","editbutton.png"),CGSizeMake(18,18));
objj_msgSend(objj_msgSend(objj_msgSend(locationController,"locationView"),"editButton"),"setImage:",_65);
}
objj_msgSend(_62,"setExtrasToEdit:",_64);
}
}),new objj_method(sel_getUid("clearDate:"),function(_67,_68,_69){
with(_67){
objj_msgSend(dateAcquiredTextField,"setStringValue:","");
objj_msgSend(dateAcquiredField,"setDate:",nil);
}
}),new objj_method(sel_getUid("closeSheet:"),function(_6a,_6b,_6c){
with(_6a){
objj_msgSend(CPApp,"endSheet:returnCode:",objj_msgSend(_6c,"window"),objj_msgSend(_6c,"tag"));
}
}),new objj_method(sel_getUid("didEndSheet:returnCode:contextInfo:"),function(_6d,_6e,_6f,_70,_71){
with(_6d){
objj_msgSend(_6f,"orderOut:",_6d);
switch(_70){
case 0:
var key=objj_msgSend(objj_msgSend(newFieldPrompt,"stringValue"),"capitalizedString"),_72=objj_msgSend(ItemView,"customLabelWithFrame:",CGRectMake(15,10,100,28));
if(objj_msgSend(extrasLabels,"containsKey:",key)){
alert("Sorry, You cannot have two extras with the same name.");
return;
}
if(!key){
alert("Sorry, You must enter a name for the new extra.");
return;
}
objj_msgSend(_72,"setStringValue:",key+": ");
objj_msgSend(extrasLabels,"setValue:forKey:",_72,key);
objj_msgSend(itemContentView,"addSubview:",_72);
var _73=objj_msgSend(ItemView,"ItemViewTextField");
objj_msgSend(_73,"setFrame:",CGRectMake(115,10,275,28));
objj_msgSend(_73,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(_73,"setBezeled:",YES);
objj_msgSend(_73,"setEditable:",YES);
objj_msgSend(extrasFields,"setValue:forKey:",_73,key);
objj_msgSend(itemContentView,"addSubview:",_73);
var _74=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(3,10,12,12)),_75=objj_msgSend(CPBundle,"mainBundle");
objj_msgSend(_74,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_75,"pathForResource:","MinusButton.png"),CGSizeMake(12,12)));
objj_msgSend(_74,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_75,"pathForResource:","MinusButtonP.png"),CGSizeMake(12,12)));
objj_msgSend(_74,"setBordered:",NO);
objj_msgSend(_74,"setTarget:",_6d);
objj_msgSend(_74,"setAction:",sel_getUid("removeField:"));
objj_msgSend(_74,"setTag:",key);
objj_msgSend(removeExtraFieldButtons,"setValue:forKey:",_74,key);
objj_msgSend(_6d,"moveExtrasIntoPlace");
objj_msgSend(objj_msgSend(_6d,"window"),"makeFirstResponder:",_73);
var _76=objj_msgSend(scrollView,"contentView");
objj_msgSend(_76,"scrollToPoint:",CGPointMake(0,objj_msgSend(_76,"bounds").size.height));
objj_msgSend(scrollView,"reflectScrolledClipView:",_76);
break;
}
objj_msgSend(newFieldPrompt,"setStringValue:","");
}
}),new objj_method(sel_getUid("controlTextDidChange:"),function(_77,_78,_79){
with(_77){
var _7a=objj_msgSend(_79,"object");
if(_7a===newFieldPrompt){
var _7b=objj_msgSend(objj_msgSend(_7a,"stringValue"),"capitalizedString");
objj_msgSend(createNewFieldButton,"setEnabled:",(_7b&&!objj_msgSend(extrasLabels,"containsKey:",_7b)));
}else{
if(_7a===notesField){
objj_msgSend(_7a,"sizeToFit");
if(CGRectGetHeight(objj_msgSend(_7a,"frame"))<50){
objj_msgSend(_7a,"setFrameSize:",CGSizeMake(objj_msgSend(_7a,"frame").size.width,50));
}
objj_msgSend(_77,"moveExtrasIntoPlace");
}
}
}
}),new objj_method(sel_getUid("tokenTextViewFrameSizeDidChange:"),function(_7c,_7d,_7e){
with(_7c){
var _7f=CGRectGetMaxY(objj_msgSend(_7e,"frame"))+4;
objj_msgSend(notesLabel,"setFrameOrigin:",CGPointMake(15,_7f+2));
objj_msgSend(notesField,"setFrameOrigin:",CGPointMake(115,_7f));
objj_msgSend(_7c,"moveExtrasIntoPlace");
}
}),new objj_method(sel_getUid("collectionView:dragTypesForItemsAtIndexes:"),function(_80,_81,_82,_83){
with(_80){
return ["ItemImageAttachment"];
}
}),new objj_method(sel_getUid("collectionView:dataForItemsAtIndexes:forType:"),function(_84,_85,_86,_87,_88){
with(_84){
return objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_87);
}
}),new objj_method(sel_getUid("collectionView:shouldDeleteItemsAtIndexes:"),function(_89,_8a,_8b,_8c){
with(_89){
return NO;
}
}),new objj_method(sel_getUid("collectionView:didDoubleClickOnItemAtIndex:"),function(_8d,_8e,_8f,_90){
with(_8d){
var _91=objj_msgSend(_8f,"content")[_90],_92=objj_msgSend(_8f,"frameForItemAtIndex:",_90);
_92=objj_msgSend(_8f,"convertRect:toView:",_92,nil);
var _93=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",_92,CPTitledWindowMask|CPHUDBackgroundWindowMask|CPResizableWindowMask|CPClosableWindowMask);
objj_msgSend(_93,"setTitle:",objj_msgSend(_91,"name"));
mediaView=objj_msgSend(objj_msgSend(MediaView,"alloc"),"initWithFrame:",CGRectMake(0,0,900,650));
objj_msgSend(mediaView,"setMedia:forItem:",_91,objj_msgSend(itemController,"activeItem"));
objj_msgSend(_93,"setContentView:",mediaView);
objj_msgSend(_93,"makeKeyAndOrderFront:",_8d);
objj_msgSend(_93,"makeFirstResponder:",mediaView);
var _94=objj_msgSend(CPPlatform,"isBrowser")?objj_msgSend(objj_msgSend(_93,"platformWindow"),"contentBounds").size:objj_msgSend(objj_msgSend(_8d,"screen"),"visibleFrame").size,_95=CGPointMake((_94.width-900)/2,(_94.height-650)/2),_96=objj_msgSend(objj_msgSend(_8f,"window"),"frame").size,_97=CGRectMake(_95.x,_95.y,900,650);
objj_msgSend(_93,"setFrame:display:animate:",_97,YES,YES);
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("ItemViewTextField"),function(_98,_99){
with(_98){
var _9a=objj_msgSend(LocationEditView,"customTextField");
objj_msgSend(_9a,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",13));
objj_msgSend(_9a,"setValue:forThemeAttribute:inState:",CGInsetMake(0,10,0,10),"content-inset",CPThemeStateNormal);
objj_msgSend(_9a,"setValue:forThemeAttribute:inState:",CGInsetMake(1,10,0,10),"content-inset",CPThemeStateEditing);
objj_msgSend(_9a,"setBezeled:",NO);
objj_msgSend(_9a,"setEditable:",NO);
return _9a;
}
}),new objj_method(sel_getUid("customLabelWithFrame:"),function(_9b,_9c,_9d){
with(_9b){
var _9e=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",_9d);
objj_msgSend(_9e,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","666666"));
objj_msgSend(_9e,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12));
objj_msgSend(_9e,"setAlignment:",CPRightTextAlignment);
return _9e;
}
})]);
var _1=objj_allocateClassPair(LPMultiLineTextField,"AutoExpandingTextField"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("setFrameHeightToFit"),function(_9f,_a0){
with(_9f){
var _a1=document.getElementsByTagName("textarea"),_a2=nil;
for(var i=0;i<_a1.length;i++){
if(_a1[i]===document.activeElement){
var _a3=_a1[i],_a4=_a3.clientHeight;
_a4=MAX(_a3.scrollHeight,_a4);
if(_a4>_a3.clientHeight){
_a3.style.height=_a4+"px";
}
var _a5=parseInt(_a3.style.height);
_a2=CGSizeMake(CGRectGetWidth(objj_msgSend(_9f,"bounds")),_a5+14);
}
}
objj_msgSendSuper({receiver:_9f,super_class:objj_getClass("AutoExpandingTextField").super_class},"setFrameSize:",_a2);
}
}),new objj_method(sel_getUid("sizeToFit"),function(_a6,_a7){
with(_a6){
var _a8=CGRectGetWidth(objj_msgSend(_a6,"bounds")),_a9=document.createElement("div"),_aa=objj_msgSend(_a6,"stringValue").lastIndexOf("\n")+1;
_a9.style.width=(_a8-objj_msgSend(_a6,"currentValueForThemeAttribute:","content-inset").left-objj_msgSend(_a6,"currentValueForThemeAttribute:","content-inset").right)+"px";
_a9.style.font=objj_msgSend(objj_msgSend(_a6,"font"),"cssString");
_a9.innerHTML=objj_msgSend(_a6,"stringValue").replace(/\n/gi,"<br />");
_a9.style.zindex=-200;
document.body.appendChild(_a9);
var _ab=_a9.offsetHeight+objj_msgSend(_a6,"currentValueForThemeAttribute:","content-inset").top+objj_msgSend(_a6,"currentValueForThemeAttribute:","content-inset").bottom+16;
document.body.removeChild(_a9);
objj_msgSend(_a6,"setFrameSize:",CGSizeMake(_a8,_ab));
}
})]);
var _1=objj_allocateClassPair(CPView,"ItemContentView"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("drawRect:"),function(_ac,_ad,_ae){
with(_ac){
var _af=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort");
CGContextSetStrokeColor(_af,objj_msgSend(CPColor,"colorWithHexString:","CCCCCC"));
var _b0=[CGPointMake(15,100.5),CGPointMake(388,100.5)];
CGContextStrokeLineSegments(_af,_b0,2);
}
})]);
var _1=objj_allocateClassPair(CPProgressIndicator,"RLProgressIndicator"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("updateBackgroundColor"),function(_b1,_b2){
with(_b1){
objj_msgSend(_b1,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Attachments/upload-background.png"),CGSizeMake(47,7))));
objj_msgSend(_b1,"drawBar");
}
}),new objj_method(sel_getUid("drawBar"),function(_b3,_b4){
with(_b3){
if(_style==CPProgressIndicatorSpinningStyle){
return;
}
if(!_barView){
_barView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,1,0,5));
objj_msgSend(_b3,"addSubview:",_barView);
}
var _b5=objj_msgSend(CPBundle,"mainBundle");
objj_msgSend(_barView,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Attachments/upload-bar-0.png"),CGSizeMake(3,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Attachments/upload-bar-1.png"),CGSizeMake(1,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Attachments/upload-bar-2.png"),CGSizeMake(3,5))],NO)));
var _b6=CGRectGetWidth(objj_msgSend(_b3,"bounds")),_b7=_b6*((_doubleValue-_minValue)/(_maxValue-_minValue));
if(_b7>0&&_b7<4){
_b7=4;
}
objj_msgSend(_barView,"setFrameSize:",CGSizeMake(_b7,5));
}
})]);
var _1=objj_allocateClassPair(CPView,"AttachmentCell"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("name"),new objj_ivar("image"),new objj_ivar("borderOverlay"),new objj_ivar("bgColor"),new objj_ivar("selectedBGColor"),new objj_ivar("progress"),new objj_ivar("progressBar")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("setRepresentedObject:"),function(_b8,_b9,_ba){
with(_b8){
if(!borderOverlay){
var _bb=objj_msgSend(CPBundle,"mainBundle");
bgColor=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_bb,"pathForResource:","Attachments/AttachmentBG.png"),CGSizeMake(54,54)));
borderOverlay=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(13,5,54,54));
objj_msgSend(borderOverlay,"setBackgroundColor:",bgColor);
image=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(14,5,53,52));
objj_msgSend(image,"setImageScaling:",CPScaleNone);
objj_msgSend(_b8,"addSubview:",borderOverlay);
objj_msgSend(_b8,"addSubview:",image);
name=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(10,58,60,24));
objj_msgSend(name,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11));
objj_msgSend(name,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","626262"));
objj_msgSend(name,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(name,"setTextShadowOffset:",CGSizeMake(0,1));
objj_msgSend(name,"setAlignment:",CPCenterTextAlignment);
objj_msgSend(name,"setLineBreakMode:",CPLineBreakByTruncatingTail);
objj_msgSend(_b8,"addSubview:",name);
}
objj_msgSend(image,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"data"),objj_msgSend(_b8,"scaleImageWithSize:",CGSizeMake(578,397))));
objj_msgSend(name,"setStringValue:",objj_msgSend(_ba,"name"));
objj_msgSend(_ba,"setRepresentedView:",_b8);
objj_msgSend(progressBar,"removeFromSuperview");
}
}),new objj_method(sel_getUid("setProgress:"),function(_bc,_bd,_be){
with(_bc){
progress=_be;
if(!progressBar){
var _bf=objj_msgSend(_bc,"bounds");
progressBar=objj_msgSend(objj_msgSend(RLProgressIndicator,"alloc"),"initWithFrame:",CGRectMake(17,_bf.size.height-37,47,7));
objj_msgSend(progressBar,"setMaxValue:",1);
objj_msgSend(_bc,"addSubview:",progressBar);
}
objj_msgSend(_bc,"addSubview:",progressBar);
objj_msgSend(progressBar,"setDoubleValue:",_be);
if(progress>=1){
objj_msgSend(name,"setStringValue:","Processing");
}
}
}),new objj_method(sel_getUid("setSelected:"),function(_c0,_c1,_c2){
with(_c0){
var _c3=objj_msgSend(CPBundle,"mainBundle");
if(!selectedBGColor){
selectedBGColor=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_c3,"pathForResource:","Attachments/AttachmentBG.png"),CGSizeMake(54,54)));
}
if(_c2){
objj_msgSend(borderOverlay,"setBackgroundColor:",selectedBGColor);
}else{
objj_msgSend(borderOverlay,"setBackgroundColor:",bgColor);
}
}
}),new objj_method(sel_getUid("scaleImageWithSize:"),function(_c4,_c5,_c6){
with(_c4){
var _c7=54,_c8=_c6.height,_c9=_c6.width,_ca=MAX(_c7/_c9,_c7/_c8);
_c9=_ca*_c9;
_c8=_ca*_c8;
return CGSizeMake(_c9,_c8);
}
})]);
var _1=objj_allocateClassPair(CPView,"MainItemView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("image"),new objj_ivar("borderOverlay"),new objj_ivar("normalBorder"),new objj_ivar("highlightBorder"),new objj_ivar("controller")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("controller"),function(_cb,_cc){
with(_cb){
return controller;
}
}),new objj_method(sel_getUid("setController:"),function(_cd,_ce,_cf){
with(_cd){
controller=_cf;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_d0,_d1,_d2){
with(_d0){
_d0=objj_msgSendSuper({receiver:_d0,super_class:objj_getClass("MainItemView").super_class},"initWithFrame:",_d2);
if(_d0){
var _d3=objj_msgSend(CPBundle,"mainBundle");
normalBorder=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-0.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-1.png"),CGSizeMake(1,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-2.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-3.png"),CGSizeMake(5,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-4.png"),CGSizeMake(2,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-5.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-6.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-7.png"),CGSizeMake(1,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d3,"pathForResource:","ItemCellView/ItemView-8.png"),CGSizeMake(5,5))]));
borderOverlay=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(5,5,_d2.size.width-10,_d2.size.height-10));
objj_msgSend(borderOverlay,"setBackgroundColor:",normalBorder);
image=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(5,5,_d2.size.width-10,_d2.size.height-10));
objj_msgSend(image,"setImageScaling:",CPScaleNone);
objj_msgSend(_d0,"addSubview:",image);
objj_msgSend(_d0,"addSubview:",borderOverlay);
objj_msgSend(_d0,"registerForDraggedTypes:",["ItemImageAttachment"]);
var _d4=objj_msgSend(objj_msgSend(DCFileDropController,"alloc"),"initWithView:dropDelegate:uploadURL:uploadManager:",_d0,_d0,objj_msgSend(CPURL,"URLWithString:","http://timetableapp.com/TestingEnviro/Iguana/upload.php"),objj_msgSend(DCFileUploadManager,"sharedManager"));
objj_msgSend(_d4,"setValidFileTypes:",["png","gif","jpg"]);
}
return _d0;
}
}),new objj_method(sel_getUid("draggingEntered:"),function(_d5,_d6,_d7){
with(_d5){
if(!highlightBorder){
var _d8=objj_msgSend(CPBundle,"mainBundle");
highlightBorder=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-0.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-1.png"),CGSizeMake(2,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-2.png"),CGSizeMake(8,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-3.png"),CGSizeMake(9,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-4.png"),CGSizeMake(2,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-5.png"),CGSizeMake(8,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-6.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-7.png"),CGSizeMake(2,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d8,"pathForResource:","ItemCellView/ItemView-selected-8.png"),CGSizeMake(8,9))]));
}
objj_msgSend(borderOverlay,"setBackgroundColor:",highlightBorder);
}
}),new objj_method(sel_getUid("draggingExited:"),function(_d9,_da,_db){
with(_d9){
objj_msgSend(borderOverlay,"setBackgroundColor:",normalBorder);
}
}),new objj_method(sel_getUid("imageDidLoad:"),function(_dc,_dd,_de){
with(_dc){
objj_msgSend(_dc,"setImage:",_de);
}
}),new objj_method(sel_getUid("performDragOperation:"),function(_df,_e0,_e1){
with(_df){
objj_msgSend(_df,"draggingExited:",_e1);
var _e2=objj_msgSend(objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(objj_msgSend(_e1,"draggingPasteboard"),"dataForType:","ItemImageAttachment")),"firstIndex"),cv=objj_msgSend(_e1,"draggingSource"),_e3=objj_msgSend(objj_msgSend(cv,"content")[_e2],"data"),_e4=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",_e3);
objj_msgSend(_e4,"setDelegate:",_df);
}
}),new objj_method(sel_getUid("fileDropUploadController:setState:"),function(_e5,_e6,_e7,_e8){
with(_e5){
if(_e8){
objj_msgSend(_e5,"draggingEntered:",nil);
}else{
objj_msgSend(_e5,"draggingExited:",nil);
}
}
}),new objj_method(sel_getUid("fileDropController:didBeginUpload:"),function(_e9,_ea,_eb,_ec){
with(_e9){
objj_msgSend(locationController,"setMainImageUpload:",_ec);
}
}),new objj_method(sel_getUid("setImage:"),function(_ed,_ee,_ef){
with(_ed){
objj_msgSend(_ef,"setSize:",objj_msgSend(_ed,"scaleImageWithSize:",objj_msgSend(_ef,"size")));
objj_msgSend(image,"setImage:",_ef);
}
}),new objj_method(sel_getUid("scaleImageWithSize:"),function(_f0,_f1,_f2){
with(_f0){
var _f3=135,_f4=_f2.height,_f5=_f2.width,_f6=MAX(_f3/_f5,_f3/_f4);
_f5=_f6*_f5;
_f4=_f6*_f4;
return CGSizeMake(_f5,_f4);
}
})]);
var _1=objj_getClass("CPCollectionView");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("tile"),function(_f7,_f8){
with(_f7){
var _f9=CGRectGetWidth(objj_msgSend(_f7,"bounds"));
if(!objj_msgSend(_content,"count")||_f9==_tileWidth){
return;
}
var _fa=CGSizeMakeCopy(_minItemSize);
_numberOfColumns=MAX(1,FLOOR(_f9/_fa.width));
if(_maxNumberOfColumns>0){
_numberOfColumns=MIN(_maxNumberOfColumns,_numberOfColumns);
}
var _fb=_f9-_numberOfColumns*_fa.width,_fc=NO;
if(_fb>0&&_fa.width<_maxItemSize.width){
_fa.width=MIN(_maxItemSize.width,_fa.width+FLOOR(_fb/_numberOfColumns));
}
if(_maxNumberOfColumns==1&&_fa.width<_maxItemSize.width&&_fa.width<_f9){
_fa.width=MIN(_maxItemSize.width,_f9);
}
if(!CGSizeEqualToSize(_itemSize,_fa)){
_itemSize=_fa;
_fc=YES;
}
var _fd=0,_fe=_items.length;
_numberOfRows=CEIL(_fe/_numberOfColumns);
if(_maxNumberOfRows>0){
_numberOfRows=MIN(_maxNumberOfRows,_numberOfRows);
_numberOfColumns=MAX(1,_fe/_numberOfRows);
if(_maxNumberOfColumns>0&&_numberOfColumns>_maxNumberOfColumns){
_numberOfColumns=_maxNumberOfColumns;
}
}
if(_maxNumberOfColumns>0&&_maxNumberOfRows>0){
_fe=MIN(_fe,_maxNumberOfColumns*_maxNumberOfRows);
}
var x=_horizontalMargin,y=-_fa.height;
for(;_fd<_fe;++_fd){
if(_fd%_numberOfColumns==0){
x=_horizontalMargin;
y+=_verticalMargin+_fa.height;
}
var _ff=objj_msgSend(_items[_fd],"view");
objj_msgSend(_ff,"setFrameOrigin:",CGPointMake(x,y));
if(_fc){
objj_msgSend(_ff,"setFrameSize:",_itemSize);
}
x+=_fa.width+_horizontalMargin;
}
var _100=objj_msgSend(_f7,"superview"),_101=y+_fa.height,_102=_numberOfColumns*(_fa.width+_horizontalMargin);
_102=MAX(originalWidth,_102);
_101=MAX(originalHeight,_101);
_tileWidth=_102;
objj_msgSend(_f7,"setFrameSize:",CGSizeMake(_102,_101));
_tileWidth=-1;
}
})]);
var _1=objj_allocateClassPair(CPCollectionView,"DropUploadCollectionView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("noItemsLabel"),new objj_ivar("isDragging")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(self,_103,_104){
with(self){
self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("DropUploadCollectionView").super_class},"initWithFrame:",_104);
originalWidth=_104.size.width;
originalHeight=_104.size.height;
return self;
}
}),new objj_method(sel_getUid("draggingEntered:"),function(self,_105,info){
with(self){
isDragging=YES;
objj_msgSend(self,"setNeedsDisplay:",YES);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
}
}),new objj_method(sel_getUid("draggingExited:"),function(self,_106,info){
with(self){
isDragging=NO;
objj_msgSend(self,"setNeedsDisplay:",YES);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
}
}),new objj_method(sel_getUid("fileDropUploadController:setState:"),function(self,_107,_108,_109){
with(self){
if(_109){
objj_msgSend(self,"draggingEntered:",nil);
}else{
objj_msgSend(self,"draggingExited:",nil);
}
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
}
}),new objj_method(sel_getUid("tile"),function(self,_10a){
with(self){
if(objj_msgSend(_items,"count")){
objj_msgSend(noItemsLabel,"removeFromSuperview");
objj_msgSendSuper({receiver:self,super_class:objj_getClass("DropUploadCollectionView").super_class},"tile");
}else{
if(!noItemsLabel){
noItemsLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"init");
objj_msgSend(noItemsLabel,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",16));
objj_msgSend(noItemsLabel,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","CCCCCC"));
objj_msgSend(noItemsLabel,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(noItemsLabel,"setTextShadowOffset:",CGSizeMake(2,2));
objj_msgSend(noItemsLabel,"setStringValue:","Drop Files Here To Upload Them.");
objj_msgSend(noItemsLabel,"sizeToFit");
objj_msgSend(noItemsLabel,"setCenter:",objj_msgSend(self,"center"));
}
objj_msgSend(self,"addSubview:",noItemsLabel);
}
}
}),new objj_method(sel_getUid("drawRect:"),function(self,_10b,_10c){
with(self){
if(!isDragging){
return;
}
var _10d=objj_msgSend(self,"superview"),_10c=objj_msgSend(_10d,"bounds"),_10e=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort");
_10c=objj_msgSend(self,"convertRect:fromView:",_10c,_10d);
CGContextSetStrokeColor(_10e,objj_msgSend(CPColor,"colorWithHexString:","4886ca"));
CGContextSetLineWidth(_10e,3);
var _10f=CGRectMake(_10c.origin.x+4,_10c.origin.y+6,_10c.size.width-8,_10c.size.height-17);
CGContextSetFillColor(_10e,objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",72/255,134/255,202/255,0.25));
CGContextFillRoundedRectangleInRect(_10e,_10f,8,YES,YES,YES,YES);
CGContextStrokeRoundedRectangleInRect(_10e,_10f,8,YES,YES,YES,YES);
}
})]);
var _1=objj_getClass("CPEvent");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPEvent\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("_couldBeKeyEquivalent"),function(self,_110){
with(self){
if(_type!==CPKeyDown){
return NO;
}
var _111=_characters.length;
if(!_111){
return NO;
}
if(_modifierFlags&(CPCommandKeyMask|CPControlKeyMask)){
return YES;
}
for(var i=0;i<_111;i++){
switch(_characters.charAt(i)){
case CPCarriageReturnCharacter:
case CPNewlineCharacter:
case CPEscapeFunctionKey:
case CPPageUpFunctionKey:
case CPPageDownFunctionKey:
return YES;
}
}
return NO;
}
})]);
p;20;ItemViewController.jt;347;@STATIC;1.0;t;329;
var _1=objj_allocateClassPair(CPObject,"ItemViewController"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithView:"),function(_3,_4,_5){
with(_3){
_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("ItemViewController").super_class},"init");
if(_3){
}
return _3;
}
})]);
p;10;Location.jt;7728;@STATIC;1.0;t;7709;
var _1=objj_allocateClassPair(CPObject,"Location"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("superLocation"),new objj_ivar("name"),new objj_ivar("type"),new objj_ivar("address"),new objj_ivar("subLocations"),new objj_ivar("items")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("superLocation"),function(_3,_4){
with(_3){
return superLocation;
}
}),new objj_method(sel_getUid("setSuperLocation:"),function(_5,_6,_7){
with(_5){
superLocation=_7;
}
}),new objj_method(sel_getUid("name"),function(_8,_9){
with(_8){
return name;
}
}),new objj_method(sel_getUid("setName:"),function(_a,_b,_c){
with(_a){
name=_c;
}
}),new objj_method(sel_getUid("type"),function(_d,_e){
with(_d){
return type;
}
}),new objj_method(sel_getUid("setType:"),function(_f,_10,_11){
with(_f){
type=_11;
}
}),new objj_method(sel_getUid("address"),function(_12,_13){
with(_12){
return address;
}
}),new objj_method(sel_getUid("setAddress:"),function(_14,_15,_16){
with(_14){
address=_16;
}
}),new objj_method(sel_getUid("subLocations"),function(_17,_18){
with(_17){
return subLocations;
}
}),new objj_method(sel_getUid("setSubLocations:"),function(_19,_1a,_1b){
with(_19){
subLocations=_1b;
}
}),new objj_method(sel_getUid("items"),function(_1c,_1d){
with(_1c){
return items;
}
}),new objj_method(sel_getUid("setItems:"),function(_1e,_1f,_20){
with(_1e){
items=_20;
}
}),new objj_method(sel_getUid("initWithName:"),function(_21,_22,_23){
with(_21){
_21=objj_msgSendSuper({receiver:_21,super_class:objj_getClass("Location").super_class},"init");
if(_21){
name=_23;
subLocations=[];
items=[];
type="";
address="";
superLocation=nil;
}
return _21;
}
}),new objj_method(sel_getUid("addSubLocation:atIndex:"),function(_24,_25,_26,_27){
with(_24){
objj_msgSend(_26,"setSuperLocation:",_24);
objj_msgSend(subLocations,"insertObject:atIndex:",_26,_27);
}
}),new objj_method(sel_getUid("addSubLocation:"),function(_28,_29,_2a){
with(_28){
objj_msgSend(_28,"addSubLocation:atIndex:",_2a,subLocations.length);
}
}),new objj_method(sel_getUid("removeSubLocation:"),function(_2b,_2c,_2d){
with(_2b){
objj_msgSend(_2d,"setSuperLocation:",nil);
objj_msgSend(subLocations,"removeObject:",_2d);
}
}),new objj_method(sel_getUid("moveItemAtIndex:toIndex:"),function(_2e,_2f,_30,_31){
with(_2e){
if(_31>_30){
_31--;
}
if(_30===_31){
return;
}
var _32=items[_30];
objj_msgSend(items,"removeObjectAtIndex:",_30);
objj_msgSend(items,"insertObject:atIndex:",_32,_31);
var _33=objj_msgSend(CPInvocation,"invocationWithMethodSignature:","moveItemAtIndex:toIndex:");
objj_msgSend(_33,"setTarget:",_2e);
objj_msgSend(_33,"setSelector:",sel_getUid("moveItemAtIndex:toIndex:"));
objj_msgSend(_33,"setArgument:atIndex:",_31,2);
objj_msgSend(_33,"setArgument:atIndex:",_30,3);
var _34=objj_msgSend(CPApp,"delegate");
objj_msgSend(objj_msgSend(_34,"locationController"),"refreshItemData");
objj_msgSend(objj_msgSend(_34,"undoManager"),"registerUndoWithTarget:selector:object:",_33,sel_getUid("invoke"),nil);
}
}),new objj_method(sel_getUid("indexOfSubLocation:"),function(_35,_36,_37){
with(_35){
return objj_msgSend(subLocations,"indexOfObject:",_37);
}
}),new objj_method(sel_getUid("addItem:"),function(_38,_39,_3a){
with(_38){
objj_msgSend(items,"addObject:",_3a);
}
}),new objj_method(sel_getUid("removeItem:"),function(_3b,_3c,_3d){
with(_3b){
objj_msgSend(items,"removeObjectIdenticalTo:",_3d);
}
}),new objj_method(sel_getUid("itemAtIndex:"),function(_3e,_3f,_40){
with(_3e){
return objj_msgSend(items,"objectAtIndex:",_40);
}
}),new objj_method(sel_getUid("numberOfItems"),function(_41,_42){
with(_41){
return objj_msgSend(items,"count");
}
}),new objj_method(sel_getUid("replaceItemWithItem:"),function(_43,_44,_45){
with(_43){
var _46=objj_msgSend(_45,"valueForKey:","oldItem"),_47=objj_msgSend(_45,"valueForKey:","newItem"),_48=objj_msgSend(objj_msgSend(CPApp,"delegate"),"locationController"),_49=objj_msgSend(_48,"locationView");
objj_msgSend(items,"replaceObjectAtIndex:withObject:",objj_msgSend(items,"indexOfObject:",_46),_47);
objj_msgSend(_48,"refreshItemData");
var _4a=objj_msgSend(items,"indexOfObject:",_47);
if(_4a!==-1){
objj_msgSend(objj_msgSend(_49,"itemTableView"),"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_4a),NO);
objj_msgSend(_49,"setActiveItem:",_47);
}
var _4b=objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[_47,_46],["oldItem","newItem"]);
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",_43,sel_getUid("replaceItemWithItem:"),_4b);
}
}),new objj_method(sel_getUid("dictionaryValues"),function(_4c,_4d){
with(_4c){
var _4e=objj_msgSend(CPDictionary,"new");
objj_msgSend(_4e,"setValue:forKey:",name,"name");
objj_msgSend(_4e,"setValue:forKey:",type,"type");
objj_msgSend(_4e,"setValue:forKey:",address,"address");
return _4e;
}
}),new objj_method(sel_getUid("initWithCoder:"),function(_4f,_50,_51){
with(_4f){
_4f=objj_msgSendSuper({receiver:_4f,super_class:objj_getClass("Location").super_class},"init");
if(_4f){
name=objj_msgSend(_51,"decodeObjectForKey:","LocationName");
type=objj_msgSend(_51,"decodeObjectForKey:","LocationType");
address=objj_msgSend(_51,"decodeObjectForKey:","LocationAddress");
subLocations=objj_msgSend(_51,"decodeObjectForKey:","LocationSubLocations");
superLocation=objj_msgSend(_51,"decodeObjectForKey:","LocationSuperLocation");
}
return _4f;
}
}),new objj_method(sel_getUid("encodeWithCoder:"),function(_52,_53,_54){
with(_52){
objj_msgSend(_54,"encodeObject:forKey:",name,"LocationName");
objj_msgSend(_54,"encodeObject:forKey:",type,"LocationType");
objj_msgSend(_54,"encodeObject:forKey:",address,"LocationAddress");
objj_msgSend(_54,"encodeObject:forKey:",subLocations,"LocationSubLocations");
objj_msgSend(_54,"encodeObject:forKey:",superLocation,"LocationSuperLocation");
}
}),new objj_method(sel_getUid("isEqual:"),function(_55,_56,_57){
with(_55){
if(objj_msgSend(_57,"class")===objj_msgSend(_55,"class")){
return (objj_msgSend(name,"isEqual:",objj_msgSend(_57,"name"))&&objj_msgSend(type,"isEqual:",objj_msgSend(_57,"type"))&&objj_msgSend(address,"isEqual:",objj_msgSend(_57,"address"))&&objj_msgSend(subLocations,"isEqual:",objj_msgSend(_57,"subLocations")));
}else{
return NO;
}
}
}),new objj_method(sel_getUid("copy"),function(_58,_59){
with(_58){
var _5a=objj_msgSendSuper({receiver:_58,super_class:objj_getClass("Location").super_class},"copy");
objj_msgSend(_5a,"setSuperLocation:",superLocation);
objj_msgSend(_5a,"setName:",name);
objj_msgSend(_5a,"setType:",type);
objj_msgSend(_5a,"setAddress:",address);
objj_msgSend(_5a,"setSubLocations:",subLocations);
return _5a;
}
}),new objj_method(sel_getUid("toJSON"),function(_5b,_5c){
with(_5b){
var _5d={};
_5d.name=name;
_5d.type=type;
_5d.address=address;
_5d.subLocations=subLocations;
_5d.items=items;
return _5d;
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("decodeJSON:"),function(_5e,_5f,_60){
with(_5e){
var _61=objj_msgSend(objj_msgSend(Location,"alloc"),"initWithName:",_60.name);
objj_msgSend(_61,"setType:",_60.type);
if(!objj_msgSend(_61,"type")){
objj_msgSend(_61,"setType:","");
}
objj_msgSend(_61,"setAddress:",_60.address);
for(var i=0;i<_60.subLocations.length;i++){
var _62=objj_msgSend(Location,"decodeJSON:",_60.subLocations[i]);
objj_msgSend(_61,"addSubLocation:",_62);
}
for(var i=0;i<_60.items.length;i++){
var _63=objj_msgSend(Item,"decodeJSON:",_60.items[i]);
objj_msgSend(_61,"addItem:",_63);
}
return _61;
}
})]);
objj_class.prototype.toJSON=objj_object.prototype.toJSON=function(){
if(this.isa&&class_getInstanceMethod(this.isa,"toJSON")!=NULL){
return objj_msgSend(this,"toJSON");
}else{
return String(this)+" (-toJSON not implemented)";
}
};
p;20;LocationController.jt;17516;@STATIC;1.0;t;17496;
var _1=objj_allocateClassPair(CPObject,"LocationController"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("location"),new objj_ivar("containerView"),new objj_ivar("noLocationView"),new objj_ivar("scrollview"),new objj_ivar("locationView"),new objj_ivar("itemController")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("location"),function(_3,_4){
with(_3){
return location;
}
}),new objj_method(sel_getUid("setLocation:"),function(_5,_6,_7){
with(_5){
location=_7;
}
}),new objj_method(sel_getUid("locationView"),function(_8,_9){
with(_8){
return locationView;
}
}),new objj_method(sel_getUid("setLocationView:"),function(_a,_b,_c){
with(_a){
locationView=_c;
}
}),new objj_method(sel_getUid("itemController"),function(_d,_e){
with(_d){
return itemController;
}
}),new objj_method(sel_getUid("setItemController:"),function(_f,_10,_11){
with(_f){
itemController=_11;
}
}),new objj_method(sel_getUid("initWithContentView:"),function(_12,_13,_14){
with(_12){
_12=objj_msgSendSuper({receiver:_12,super_class:objj_getClass("LocationController").super_class},"init");
if(_12){
containerView=_14;
var _15=objj_msgSend(containerView,"bounds");
scrollview=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",_15);
objj_msgSend(scrollview,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
var _16=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","texture4.png"),CGSizeMake(97,97));
objj_msgSend(scrollview,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_16));
locationView=objj_msgSend(objj_msgSend(LocationView,"alloc"),"initWithFrame:andController:",CGRectMake(0,0,845,600),_12);
itemController=objj_msgSend(objj_msgSend(ItemController,"alloc"),"initWithItemView:locationController:",objj_msgSend(locationView,"itemView"),_12);
objj_msgSend(scrollview,"setDocumentView:",locationView);
objj_msgSend(scrollview,"setAutohidesScrollers:",YES);
objj_msgSend(containerView,"addSubview:",scrollview);
noLocationView=objj_msgSend(objj_msgSend(NoLocationView,"alloc"),"initWithFrame:",_15);
objj_msgSend(noLocationView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(containerView,"addSubview:",noLocationView);
objj_msgSend(_12,"setLocation:",nil);
}
return _12;
}
}),new objj_method(sel_getUid("edit:"),function(_17,_18,_19){
with(_17){
var _1a=objj_msgSend(locationView,"shadowView"),_1b=objj_msgSend(_1a,"frame"),_1c=objj_msgSend(objj_msgSend(scrollview,"window"),"contentView");
_1b=objj_msgSend(objj_msgSend(_1a,"superview"),"convertRect:toView:",_1b,_1c);
var _1d=objj_msgSend(objj_msgSend(LocationEditView,"alloc"),"initWithFrame:",_1b),_1e=objj_msgSend(_1c,"frame");
objj_msgSend(_1d,"setLocationData:",objj_msgSend(location,"dictionaryValues"));
objj_msgSend(_1c,"addSubview:",_1d);
objj_msgSend(_1d,"setSaveAndCloseAction:",sel_getUid("saveAndCloseEditLocationWindow:"));
objj_msgSend(_1d,"setTarget:",_17);
objj_msgSend(_1d,"animateToFrame:willRemove:",CGRectMake(30,5,_1e.size.width-60,_1e.size.height-10),NO);
}
}),new objj_method(sel_getUid("saveAndCloseEditLocationWindow:"),function(_1f,_20,_21){
with(_1f){
var _22=objj_msgSend(_21,"locationData"),_23=objj_msgSend(locationView,"shadowView");
objj_msgSend(_1f,"setLocationData:",_22);
var _24=objj_msgSend(_23,"frame");
_24=objj_msgSend(objj_msgSend(_23,"superview"),"convertRect:toView:",_24,objj_msgSend(objj_msgSend(scrollview,"window"),"contentView"));
objj_msgSend(_21,"animateToFrame:willRemove:",_24,YES);
}
}),new objj_method(sel_getUid("addNewItem:"),function(_25,_26,_27){
with(_25){
var _28=objj_msgSend(objj_msgSend(Item,"alloc"),"initWithName:","Untitled"),_29=objj_msgSend(locationView,"itemTableView");
objj_msgSend(location,"addItem:",_28);
if(objj_msgSend(location,"numberOfItems")){
objj_msgSend(locationView,"hideNoItemsView");
}
objj_msgSend(objj_msgSend(locationView,"collectionView"),"reloadContent");
objj_msgSend(_29,"reloadData");
var _2a=objj_msgSend(objj_msgSend(location,"items"),"count")-1;
objj_msgSend(_29,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_2a),NO);
objj_msgSend(_29,"scrollRowToVisible:",_2a);
var _2b=objj_msgSend(locationView,"itemView");
objj_msgSend(_2b,"enterEditMode:",YES);
objj_msgSend(objj_msgSend(locationView,"window"),"makeFirstResponder:",objj_msgSend(_2b,"nameField"));
objj_msgSend(objj_msgSend(_2b,"nameField"),"selectText:",_25);
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",_25,sel_getUid("removeItem:"),_28);
objj_msgSend(objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"sourceViewController"),"sourceList"),"reloadData");
}
}),new objj_method(sel_getUid("refreshItemData"),function(_2c,_2d){
with(_2c){
objj_msgSend(objj_msgSend(locationView,"collectionView"),"reloadContent");
objj_msgSend(objj_msgSend(locationView,"itemTableView"),"reloadData");
}
}),new objj_method(sel_getUid("addItem:"),function(_2e,_2f,_30){
with(_2e){
objj_msgSend(locationView,"hideNoItemsView");
objj_msgSend(location,"addItem:",_30);
objj_msgSend(objj_msgSend(locationView,"itemTableView"),"reloadData");
objj_msgSend(objj_msgSend(locationView,"collectionView"),"reloadContent");
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",_2e,sel_getUid("removeItem:"),_30);
}
}),new objj_method(sel_getUid("confirmRemovalOfItem:"),function(_31,_32,_33){
with(_31){
var _34=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,400,120),CPDocModalWindowMask),_35=objj_msgSend(_34,"contentView"),_36=objj_msgSend(CPTextField,"labelWithTitle:","Delete Item");
objj_msgSend(_36,"setFrame:",CGRectMake(100,10,415,25));
objj_msgSend(_36,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",15));
objj_msgSend(_35,"addSubview:",_36);
var _37=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","logoPlain.png"),CGSizeMake(68,68));
var _38=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(20,10,68,68));
objj_msgSend(_38,"setImage:",_37);
objj_msgSend(_35,"addSubview:",_38);
var _39=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(100,35,325,60));
objj_msgSend(_39,"setStringValue:","Are you sure you want to delete '"+objj_msgSend(_33,"name")+"'? ");
objj_msgSend(_39,"setLineBreakMode:",CPLineBreakByWordWrapping);
objj_msgSend(_35,"addSubview:",_39);
var _3a=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(285,85,100,24));
objj_msgSend(_3a,"setTitle:","Remove");
objj_msgSend(_3a,"setTag:",0);
objj_msgSend(_3a,"setTarget:",_31);
objj_msgSend(_3a,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_35,"addSubview:",_3a);
objj_msgSend(_34,"setDefaultButton:",_3a);
var _3b=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(175,85,100,24));
objj_msgSend(_3b,"setTag:",-1);
objj_msgSend(_3b,"setTitle:","Cancel");
objj_msgSend(_3b,"setTarget:",_31);
objj_msgSend(_3b,"setAction:",sel_getUid("closeSheet:"));
objj_msgSend(_35,"addSubview:",_3b);
objj_msgSend(CPApp,"beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:",_34,objj_msgSend(locationView,"window"),_31,sel_getUid("didEndSheet:returnCode:contextInfo:"),_33);
}
}),new objj_method(sel_getUid("removeItem:"),function(_3c,_3d,_3e){
with(_3c){
objj_msgSend(location,"removeItem:",_3e);
objj_msgSend(_3c,"refreshItemData");
objj_msgSend(objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"sourceViewController"),"sourceList"),"reloadData");
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",_3c,sel_getUid("addItem:"),_3e);
}
}),new objj_method(sel_getUid("setLocation:"),function(_3f,_40,_41){
with(_3f){
location=_41;
if(_41){
var _42=objj_msgSend(locationView,"itemTableView");
objj_msgSend(_42,"reloadData");
objj_msgSend(objj_msgSend(locationView,"collectionView"),"reloadContent");
objj_msgSend(_42,"_noteSelectionIsChanging");
objj_msgSend(_42,"_noteSelectionDidChange");
objj_msgSend(locationView,"setLocationTitle:",objj_msgSend(location,"name"));
objj_msgSend(scrollview,"setHidden:",NO);
objj_msgSend(noLocationView,"setHidden:",YES);
}else{
objj_msgSend(scrollview,"setHidden:",YES);
objj_msgSend(noLocationView,"setHidden:",NO);
}
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"mainToolbar"),"validateVisibleItems");
}
}),new objj_method(sel_getUid("setLocationData:"),function(_43,_44,_45){
with(_43){
var _46=objj_msgSend(location,"dictionaryValues");
if(objj_msgSend(_46,"isEqual:",_45)){
return;
}
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",_43,sel_getUid("setLocationData:"),_46);
objj_msgSend(location,"setName:",objj_msgSend(_45,"valueForKey:","name"));
objj_msgSend(location,"setType:",objj_msgSend(_45,"valueForKey:","type"));
objj_msgSend(location,"setAddress:",objj_msgSend(_45,"valueForKey:","address"));
objj_msgSend(objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"sourceViewController"),"sourceList"),"reloadData");
}
}),new objj_method(sel_getUid("allItemsForLocation"),function(_47,_48){
with(_47){
return objj_msgSend(location,"items");
}
}),new objj_method(sel_getUid("currentItem"),function(_49,_4a){
with(_49){
var _4b=objj_msgSend(objj_msgSend(objj_msgSend(locationView,"itemTableView"),"selectedRowIndexes"),"firstIndex");
return objj_msgSend(location,"items")[_4b];
}
}),new objj_method(sel_getUid("closeSheet:"),function(_4c,_4d,_4e){
with(_4c){
objj_msgSend(CPApp,"endSheet:returnCode:",objj_msgSend(_4e,"window"),objj_msgSend(_4e,"tag"));
}
}),new objj_method(sel_getUid("didEndSheet:returnCode:contextInfo:"),function(_4f,_50,_51,_52,_53){
with(_4f){
objj_msgSend(_51,"orderOut:",_4f);
switch(_52){
case 0:
objj_msgSend(locationView,"setActiveItem:",nil);
objj_msgSend(_4f,"removeItem:",_53);
break;
}
}
}),new objj_method(sel_getUid("tableViewSelectionIsChanging:"),function(_54,_55,_56){
with(_54){
objj_msgSend(itemController,"saveIfNeeded");
}
}),new objj_method(sel_getUid("tableViewSelectionDidChange:"),function(_57,_58,_59){
with(_57){
var row=objj_msgSend(objj_msgSend(objj_msgSend(_59,"object"),"selectedRowIndexes"),"firstIndex");
if(row<0){
objj_msgSend(locationView,"setActiveItem:",nil);
}else{
objj_msgSend(locationView,"setActiveItem:",objj_msgSend(location,"itemAtIndex:",row));
}
}
}),new objj_method(sel_getUid("tableView:objectValueForTableColumn:row:"),function(_5a,_5b,_5c,_5d,_5e){
with(_5a){
var _5f=objj_msgSend(CPDictionary,"new"),_60=objj_msgSend(location,"items")[_5e];
objj_msgSend(_5f,"setValue:forKey:",objj_msgSend(_60,"name"),"name");
objj_msgSend(_5f,"setValue:forKey:",objj_msgSend(_60,"make"),"maker");
objj_msgSend(_5f,"setValue:forKey:",(objj_msgSend(objj_msgSend(_60,"attachments"),"count")>0),"attachments");
return _5f;
}
}),new objj_method(sel_getUid("numberOfRowsInTableView:"),function(_61,_62,_63){
with(_61){
var _64=objj_msgSend(objj_msgSend(location,"items"),"count");
if(!_64){
objj_msgSend(locationView,"showNoItemsView");
}else{
objj_msgSend(locationView,"hideNoItemsView");
}
return objj_msgSend(objj_msgSend(location,"items"),"count");
}
}),new objj_method(sel_getUid("tableView:writeRowsWithIndexes:toPasteboard:"),function(_65,_66,_67,_68,_69){
with(_65){
objj_msgSend(_69,"declareTypes:owner:",["ItemDragType"],_65);
objj_msgSend(_69,"setData:forType:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_68),"ItemDragType");
return YES;
}
}),new objj_method(sel_getUid("tableView:validateDrop:proposedRow:proposedDropOperation:"),function(_6a,_6b,_6c,_6d,row,_6e){
with(_6a){
var _6f=objj_msgSend(objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(objj_msgSend(_6d,"draggingPasteboard"),"dataForType:","ItemDragType")),"firstIndex");
if(row===_6f||row===_6f+1){
return CPDragOperationNone;
}
objj_msgSend(_6c,"setDropRow:dropOperation:",row,CPTableViewDropAbove);
return CPDragOperationMove;
}
}),new objj_method(sel_getUid("tableView:acceptDrop:row:dropOperation:"),function(_70,_71,_72,_73,row,_74){
with(_70){
var _75=objj_msgSend(_73,"draggingPasteboard"),_76=objj_msgSend(_75,"dataForType:","ItemDragType"),_77=objj_msgSend(objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_76),"firstIndex");
if(_77===row){
return NO;
}
objj_msgSend(location,"moveItemAtIndex:toIndex:",_77,row);
return YES;
}
}),new objj_method(sel_getUid("tableViewDeleteKeyPressed:"),function(_78,_79,_7a){
with(_78){
objj_msgSend(_78,"confirmRemovalOfItem:",objj_msgSend(location,"itemAtIndex:",objj_msgSend(objj_msgSend(_7a,"selectedRowIndexes"),"firstIndex")));
}
}),new objj_method(sel_getUid("validateToolbarItem:"),function(_7b,_7c,_7d){
with(_7b){
var _7e=objj_msgSend(_7d,"itemIdentifier");
if(_7e==="newItem"){
return !!location;
}else{
return !!location;
}
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("customVerticalScroller"),function(_7f,_80){
with(_7f){
var _81=objj_msgSend(objj_msgSend(CPScroller,"alloc"),"initWithFrame:",CGRectMake(0,0,12,170)),_82=objj_msgSend(CPBundle,"mainBundle"),_83=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_82,"pathForResource:","Scroller/scroller-vertical-track-top.png"),CGSizeMake(12,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_82,"pathForResource:","Scroller/scroller-vertical-track-center.png"),CGSizeMake(12,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_82,"pathForResource:","Scroller/scroller-vertical-track-bottom.png"),CGSizeMake(12,6))],YES));
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",21,"minimum-knob-length",CPThemeStateVertical);
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",CGInsetMake(0,0,0,0),"knob-inset",CPThemeStateVertical);
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",CGInsetMake(3,0,3,0),"track-inset",CPThemeStateVertical);
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",_83,"knob-slot-color",CPThemeStateVertical);
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",CGSizeMake(0,0),"decrement-line-size",CPThemeStateVertical);
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",CGSizeMake(0,0),"increment-line-size",CPThemeStateVertical);
var _84=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_82,"pathForResource:","Scroller/scroller-vertical-knob-top.png"),CGSizeMake(12,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_82,"pathForResource:","Scroller/scroller-vertical-knob-center.png"),CGSizeMake(12,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_82,"pathForResource:","Scroller/scroller-vertical-knob-bottom.png"),CGSizeMake(12,6))],YES));
objj_msgSend(_81,"setValue:forThemeAttribute:inState:",_84,"knob-color",CPThemeStateVertical);
return _81;
}
}),new objj_method(sel_getUid("customHorizontalScroller"),function(_85,_86){
with(_85){
var _87=objj_msgSend(objj_msgSend(CPScroller,"alloc"),"initWithFrame:",CGRectMake(0,0,170,12)),_88=objj_msgSend(CPBundle,"mainBundle"),_89=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_88,"pathForResource:","Scroller/scroller-horizontal-track-bottom.png"),CGSizeMake(6,12)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_88,"pathForResource:","Scroller/scroller-horizontal-track-center.png"),CGSizeMake(1,12)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_88,"pathForResource:","Scroller/scroller-horizontal-track-top.png"),CGSizeMake(6,12))],NO));
objj_msgSend(_87,"setValue:forThemeAttribute:",21,"minimum-knob-length");
objj_msgSend(_87,"setValue:forThemeAttribute:",CGInsetMake(0,0,0,0),"knob-inset");
objj_msgSend(_87,"setValue:forThemeAttribute:",CGInsetMake(0,3,0,3),"track-inset");
objj_msgSend(_87,"setValue:forThemeAttribute:",_89,"knob-slot-color");
objj_msgSend(_87,"setValue:forThemeAttribute:",CGSizeMake(0,0),"decrement-line-size");
objj_msgSend(_87,"setValue:forThemeAttribute:",CGSizeMake(0,0),"increment-line-size");
var _8a=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_88,"pathForResource:","Scroller/scroller-horizontal-knob-bottom.png"),CGSizeMake(6,12)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_88,"pathForResource:","Scroller/scroller-horizontal-knob-center.png"),CGSizeMake(1,12)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_88,"pathForResource:","Scroller/scroller-horizontal-knob-top.png"),CGSizeMake(6,12))],NO));
objj_msgSend(_87,"setValue:forThemeAttribute:",_8a,"knob-color");
return _87;
}
})]);
p;18;LocationEditView.jt;17713;@STATIC;1.0;t;17693;
var _1=objj_allocateClassPair(CPView,"LocationEditView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("locationTitle"),new objj_ivar("locationType"),new objj_ivar("locationAddress"),new objj_ivar("shadowView"),new objj_ivar("contentView"),new objj_ivar("map"),new objj_ivar("closeButton"),new objj_ivar("target"),new objj_ivar("saveAndCloseAction")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("saveAndCloseAction"),function(_3,_4){
with(_3){
return saveAndCloseAction;
}
}),new objj_method(sel_getUid("setSaveAndCloseAction:"),function(_5,_6,_7){
with(_5){
saveAndCloseAction=_7;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){
with(_8){
_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("LocationEditView").super_class},"initWithFrame:",_a);
if(_8){
var _b=objj_msgSend(CPBundle,"mainBundle");
shadowView=objj_msgSend(objj_msgSend(CPShadowView,"alloc"),"initWithFrame:",CGRectMake(0,0,_a.size.width,_a.size.height));
objj_msgSend(shadowView,"setWeight:",CPHeavyShadow);
objj_msgSend(_8,"addSubview:",shadowView);
contentView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(7,5,_a.size.width-14,_a.size.height-10));
objj_msgSend(contentView,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","e7eaee"));
objj_msgSend(_8,"addSubview:",contentView);
objj_msgSend(_8,"setAutoresizingMask:",CPViewHeightSizable|CPViewWidthSizable);
objj_msgSend(shadowView,"setAutoresizingMask:",CPViewHeightSizable|CPViewWidthSizable);
objj_msgSend(contentView,"setAutoresizingMask:",CPViewHeightSizable|CPViewWidthSizable);
locationTitle=objj_msgSend(objj_msgSend(_8,"class"),"customTextField");
objj_msgSend(locationTitle,"setStringValue:","");
objj_msgSend(locationTitle,"setPlaceholderString:","Location Name");
objj_msgSend(contentView,"addSubview:",locationTitle);
var _c=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(50,80,425,1));
objj_msgSend(_c,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","999999"));
objj_msgSend(contentView,"addSubview:",_c);
locationType=objj_msgSend(objj_msgSend(CPPopUpButton,"alloc"),"initWithFrame:",CGRectMake(55,90,250,24));
objj_msgSend(locationType,"setBordered:",NO);
objj_msgSend(locationType,"addItems:",objj_msgSend(LocationItemTypes,"menuItems"));
objj_msgSend(contentView,"addSubview:",locationType);
locationAddress=objj_msgSend(objj_msgSend(_8,"class"),"customMultiLineTextField");
objj_msgSend(locationAddress,"setStringValue:","");
objj_msgSend(locationAddress,"setDelegate:",_8);
objj_msgSend(locationAddress,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",20));
objj_msgSend(locationAddress,"setPlaceholderString:","Location Address");
objj_msgSend(contentView,"addSubview:",locationAddress);
map=objj_msgSend(objj_msgSend(RLMapView,"alloc"),"initWithFrame:",CGRectMake(635,15,_a.size.width-700,300));
objj_msgSend(map,"setAutoresizingMask:",CPViewWidthSizable);
objj_msgSend(contentView,"addSubview:",map);
closeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(5,5,20,21));
objj_msgSend(closeButton,"setBordered:",NO);
objj_msgSend(closeButton,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_b,"pathForResource:","CloseButton.png"),CGSizeMake(20,21)));
objj_msgSend(closeButton,"setImagePosition:",CPImageOnly);
objj_msgSend(closeButton,"setTarget:",_8);
objj_msgSend(closeButton,"setAction:",sel_getUid("close:"));
objj_msgSend(contentView,"addSubview:",closeButton);
var _d=objj_msgSend(objj_msgSend(_8,"class"),"customBigButton");
objj_msgSend(_d,"setTitle:","Done");
objj_msgSend(_d,"setTarget:",_8);
objj_msgSend(_d,"setAction:",sel_getUid("close:"));
objj_msgSend(contentView,"addSubview:",_d);
}
return _8;
}
}),new objj_method(sel_getUid("setLocationData:"),function(_e,_f,_10){
with(_e){
objj_msgSend(locationTitle,"setStringValue:",objj_msgSend(_10,"valueForKey:","name"));
objj_msgSend(locationType,"selectItemWithTitle:",objj_msgSend(_10,"valueForKey:","type"));
objj_msgSend(locationAddress,"setStringValue:",objj_msgSend(_10,"valueForKey:","address"));
objj_msgSend(map,"setAddress:",objj_msgSend(_10,"valueForKey:","address"));
}
}),new objj_method(sel_getUid("locationData"),function(_11,_12){
with(_11){
var _13=objj_msgSend(CPDictionary,"new");
objj_msgSend(_13,"setValue:forKey:",objj_msgSend(locationTitle,"stringValue"),"name");
objj_msgSend(_13,"setValue:forKey:",objj_msgSend(locationType,"titleOfSelectedItem"),"type");
objj_msgSend(_13,"setValue:forKey:",objj_msgSend(locationAddress,"stringValue"),"address");
return _13;
}
}),new objj_method(sel_getUid("controlTextDidEndEditing:"),function(_14,_15,_16){
with(_14){
objj_msgSend(map,"setAddress:",objj_msgSend(objj_msgSend(_16,"object"),"stringValue"));
}
}),new objj_method(sel_getUid("close:"),function(_17,_18,_19){
with(_17){
objj_msgSend(target,saveAndCloseAction,_17);
}
}),new objj_method(sel_getUid("setTarget:"),function(_1a,_1b,_1c){
with(_1a){
target=_1c;
}
}),new objj_method(sel_getUid("setLocationTitle:"),function(_1d,_1e,_1f){
with(_1d){
objj_msgSend(locationTitle,"setStringValue:",_1f);
objj_msgSend(locationTitle,"sizeToFit");
}
}),new objj_method(sel_getUid("animateToFrame:willRemove:"),function(_20,_21,_22,_23){
with(_20){
var _24=objj_msgSend(CPDictionary,"new");
objj_msgSend(_24,"setValue:forKey:",_20,CPViewAnimationTargetKey);
objj_msgSend(_24,"setValue:forKey:",objj_msgSend(_20,"frame"),CPViewAnimationStartFrameKey);
objj_msgSend(_24,"setValue:forKey:",_22,CPViewAnimationEndFrameKey);
objj_msgSend(_24,"setValue:forKey:",(_23)?CPViewAnimationFadeOutEffect:CPViewAnimationFadeInEffect,CPViewAnimationEffectKey);
var _25=objj_msgSend(objj_msgSend(CPViewAnimation,"alloc"),"initWithViewAnimations:",[_24]);
objj_msgSend(_25,"setDelegate:",_20);
objj_msgSend(_25,"startAnimation");
}
}),new objj_method(sel_getUid("animationDidEnd:"),function(_26,_27,_28){
with(_26){
if(objj_msgSend(objj_msgSend(_28,"viewAnimations")[0],"valueForKey:",CPViewAnimationEffectKey)===CPViewAnimationFadeOutEffect){
objj_msgSend(objj_msgSend(objj_msgSend(_28,"viewAnimations")[0],"valueForKey:",CPViewAnimationTargetKey),"removeFromSuperview");
}
}
}),new objj_method(sel_getUid("drawRect:"),function(_29,_2a,_2b){
with(_29){
var _2c=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort");
CGContextSetStrokeColor(_2c,objj_msgSend(CPColor,"colorWithHexString:","000000"));
var _2d=[CGPointMake(50,80),CGPointMake(425,80)];
CGContextStrokeLineSegments(_2c,_2d,2);
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("customTextField"),function(_2e,_2f){
with(_2e){
var _30=objj_msgSend(CPBundle,"mainBundle"),_31=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(50,15,425,52));
objj_msgSend(_31,"setBezeled:",YES);
objj_msgSend(_31,"setEditable:",YES);
objj_msgSend(_31,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",32));
objj_msgSend(_31,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.6,1),"text-color",CPTextFieldStatePlaceholder);
objj_msgSend(_31,"setValue:forThemeAttribute:inState:",CGInsetMakeZero(),"bezel-inset",CPThemeStateNormal);
objj_msgSend(_31,"setValue:forThemeAttribute:inState:",CGInsetMake(-1,10,0,10),"content-inset",CPThemeStateNormal);
objj_msgSend(_31,"setVerticalAlignment:",CPCenterVerticalTextAlignment);
var _32=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-0.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-1.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-2.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-3.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-5.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-6.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-7.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-8.png"),CGSizeMake(11,9))])),_33=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-0.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-1.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-2.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-3.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-5.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-6.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-7.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_30,"pathForResource:","TextField/textfield-focused-8.png"),CGSizeMake(11,9))]));
objj_msgSend(_31,"setValue:forThemeAttribute:inState:",_32,"bezel-color",CPThemeStateBezeled);
objj_msgSend(_31,"setValue:forThemeAttribute:inState:",_33,"bezel-color",CPThemeStateBezeled|CPThemeStateEditing);
return _31;
}
}),new objj_method(sel_getUid("customMultiLineTextField"),function(_34,_35){
with(_34){
var _36=objj_msgSend(CPBundle,"mainBundle"),_37=objj_msgSend(objj_msgSend(LPMultiLineTextField,"alloc"),"initWithFrame:",CGRectMake(50,130,425,80));
objj_msgSend(_37,"setBezeled:",YES);
objj_msgSend(_37,"setEditable:",YES);
objj_msgSend(_37,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",32));
objj_msgSend(_37,"setTextColor:",objj_msgSend(CPColor,"grayColor"));
objj_msgSend(_37,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.6,1),"text-color",CPTextFieldStatePlaceholder);
objj_msgSend(_37,"setValue:forThemeAttribute:inState:",CGInsetMakeZero(),"bezel-inset",CPThemeStateNormal);
objj_msgSend(_37,"setValue:forThemeAttribute:inState:",CGInsetMake(5,10,0,10),"content-inset",CPThemeStateNormal);
objj_msgSend(_37,"setVerticalAlignment:",CPCenterVerticalTextAlignment);
var _38=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-0.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-1.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-2.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-3.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-5.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-6.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-7.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-8.png"),CGSizeMake(11,9))])),_39=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-0.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-1.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-2.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-3.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-5.png"),CGSizeMake(11,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-6.png"),CGSizeMake(11,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-7.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_36,"pathForResource:","TextField/textfield-focused-8.png"),CGSizeMake(11,9))]));
objj_msgSend(_37,"setValue:forThemeAttribute:inState:",_38,"bezel-color",CPThemeStateBezeled);
objj_msgSend(_37,"setValue:forThemeAttribute:inState:",_39,"bezel-color",CPThemeStateBezeled|CPThemeStateEditing);
return _37;
}
}),new objj_method(sel_getUid("customBigButton"),function(_3a,_3b){
with(_3a){
var _3c=objj_msgSend(CPBundle,"mainBundle"),_3d=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(275,235,200,39)),_3e=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","Buttons/gradient-button-left.png"),CGSizeMake(2,39)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","Buttons/gradient-button-center.png"),CGSizeMake(1,39)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","Buttons/gradient-button-right.png"),CGSizeMake(2,39))],NO)),_3f=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","Buttons/gradient-button-left-active.png"),CGSizeMake(2,39)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","Buttons/gradient-button-center-active.png"),CGSizeMake(1,39)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_3c,"pathForResource:","Buttons/gradient-button-right-active.png"),CGSizeMake(2,39))],NO));
objj_msgSend(_3d,"setValue:forThemeAttribute:inState:",objj_msgSend(CPFont,"systemFontOfSize:",18),"font",CPThemeStateBordered);
objj_msgSend(_3d,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",0/255,0.9),"text-color");
objj_msgSend(_3d,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",240/255,1),"text-shadow-color",CPThemeStateBordered);
objj_msgSend(_3d,"setValue:forThemeAttribute:inState:",CGSizeMake(0,1),"text-shadow-offset",CPThemeStateBordered);
objj_msgSend(_3d,"setValue:forThemeAttribute:",CPLineBreakByTruncatingTail,"line-break-mode");
objj_msgSend(_3d,"setValue:forThemeAttribute:inState:",_3e,"bezel-color",CPThemeStateBordered);
objj_msgSend(_3d,"setValue:forThemeAttribute:inState:",_3f,"bezel-color",CPThemeStateBordered|CPThemeStateHighlighted);
objj_msgSend(_3d,"setValue:forThemeAttribute:inState:",CGInsetMake(0,5,0,5),"content-inset",CPThemeStateBordered);
objj_msgSend(_3d,"setValue:forThemeAttribute:",CGSizeMake(0,24),"min-size");
objj_msgSend(_3d,"setValue:forThemeAttribute:",CGSizeMake(-1,24),"max-size");
return _3d;
}
})]);
p;14;LocationView.jt;28365;@STATIC;1.0;t;28345;
var _1=objj_allocateClassPair(CPView,"LocationView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("viewController"),new objj_ivar("shadowView"),new objj_ivar("contain"),new objj_ivar("locationTitle"),new objj_ivar("viewSwitcher"),new objj_ivar("itemScrollView"),new objj_ivar("itemTableView"),new objj_ivar("itemViewScrollView"),new objj_ivar("itemView"),new objj_ivar("noItemsView"),new objj_ivar("topView"),new objj_ivar("gradientOverlay"),new objj_ivar("editButton"),new objj_ivar("uploadButton"),new objj_ivar("deleteButton"),new objj_ivar("backToItemsButton"),new objj_ivar("collectionViewScrollView"),new objj_ivar("collectionView"),new objj_ivar("animation")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("viewController"),function(_3,_4){
with(_3){
return viewController;
}
}),new objj_method(sel_getUid("setViewController:"),function(_5,_6,_7){
with(_5){
viewController=_7;
}
}),new objj_method(sel_getUid("shadowView"),function(_8,_9){
with(_8){
return shadowView;
}
}),new objj_method(sel_getUid("setShadowView:"),function(_a,_b,_c){
with(_a){
shadowView=_c;
}
}),new objj_method(sel_getUid("itemTableView"),function(_d,_e){
with(_d){
return itemTableView;
}
}),new objj_method(sel_getUid("setItemTableView:"),function(_f,_10,_11){
with(_f){
itemTableView=_11;
}
}),new objj_method(sel_getUid("itemView"),function(_12,_13){
with(_12){
return itemView;
}
}),new objj_method(sel_getUid("setItemView:"),function(_14,_15,_16){
with(_14){
itemView=_16;
}
}),new objj_method(sel_getUid("editButton"),function(_17,_18){
with(_17){
return editButton;
}
}),new objj_method(sel_getUid("setEditButton:"),function(_19,_1a,_1b){
with(_19){
editButton=_1b;
}
}),new objj_method(sel_getUid("uploadButton"),function(_1c,_1d){
with(_1c){
return uploadButton;
}
}),new objj_method(sel_getUid("setUploadButton:"),function(_1e,_1f,_20){
with(_1e){
uploadButton=_20;
}
}),new objj_method(sel_getUid("deleteButton"),function(_21,_22){
with(_21){
return deleteButton;
}
}),new objj_method(sel_getUid("setDeleteButton:"),function(_23,_24,_25){
with(_23){
deleteButton=_25;
}
}),new objj_method(sel_getUid("collectionView"),function(_26,_27){
with(_26){
return collectionView;
}
}),new objj_method(sel_getUid("setCollectionView:"),function(_28,_29,_2a){
with(_28){
collectionView=_2a;
}
}),new objj_method(sel_getUid("initWithFrame:andController:"),function(_2b,_2c,_2d,_2e){
with(_2b){
_2b=objj_msgSendSuper({receiver:_2b,super_class:objj_getClass("LocationView").super_class},"initWithFrame:",_2d);
if(_2b){
viewController=_2e;
locationTitle=objj_msgSend(CPTextField,"new");
objj_msgSend(locationTitle,"setFrameOrigin:",CGPointMake(50,15));
objj_msgSend(locationTitle,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",32));
objj_msgSend(locationTitle,"setTextColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(locationTitle,"setValue:forThemeAttribute:",CGSizeMake(1,1),"text-shadow-offset");
objj_msgSend(locationTitle,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",0/255,0.9),"text-shadow-color");
objj_msgSend(locationTitle,"setStringValue:","My Location");
objj_msgSend(locationTitle,"sizeToFit");
objj_msgSend(_2b,"addSubview:",locationTitle);
var _2f=objj_msgSend(CPBundle,"mainBundle");
viewSwitcher=objj_msgSend(objj_msgSend(CPSegmentedControl,"alloc"),"initWithFrame:",CGRectMake(_2d.size.width-88,28,0,24));
objj_msgSend(viewSwitcher,"setSegmentCount:",2);
objj_msgSend(viewSwitcher,"setImage:forSegment:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2f,"pathForResource:","list-view.png"),CGSizeMake(15,15)),0);
objj_msgSend(viewSwitcher,"setImage:forSegment:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2f,"pathForResource:","grid-view.png"),CGSizeMake(15,15)),1);
objj_msgSend(viewSwitcher,"setWidth:forSegment:",37,0);
objj_msgSend(viewSwitcher,"setWidth:forSegment:",37,1);
objj_msgSend(viewSwitcher,"setSelectedSegment:",0);
objj_msgSend(viewSwitcher,"setTarget:",_2b);
objj_msgSend(viewSwitcher,"setAction:",sel_getUid("switchViews:"));
objj_msgSend(_2b,"addSubview:",viewSwitcher);
shadowView=objj_msgSend(objj_msgSend(CPShadowView,"alloc"),"initWithFrame:",CGRectMakeZero());
objj_msgSend(shadowView,"setWeight:",CPHeavyShadow);
objj_msgSend(shadowView,"setFrameForContentFrame:",CGRectMake(50,70,790,525));
objj_msgSend(_2b,"addSubview:",shadowView);
contain=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(50,70,790,525));
objj_msgSend(_2b,"addSubview:",contain);
topArea=objj_msgSend(objj_msgSend(TopView,"alloc"),"initWithFrame:",CGRectMake(225,0,565,44));
objj_msgSend(topArea,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","f4f4f4"));
objj_msgSend(contain,"addSubview:",topArea);
itemScrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,0,225,525));
objj_msgSend(itemScrollView,"setAutoresizingMask:",CPViewHeightSizable|CPViewMaxYMargin);
objj_msgSend(itemScrollView,"setAutohidesScrollers:",YES);
objj_msgSend(itemScrollView,"setVerticalScroller:",objj_msgSend(LocationController,"customVerticalScroller"));
objj_msgSend(itemScrollView,"setBackgroundColor:",objj_msgSend(CPColor,"whiteColor"));
itemTableView=objj_msgSend(objj_msgSend(ItemViewTableView,"alloc"),"initWithFrame:",CGRectMakeZero());
objj_msgSend(itemTableView,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","f8f8f8"));
objj_msgSend(itemTableView,"setGridColor:",objj_msgSend(CPColor,"colorWithHexString:","f0f0f0"));
objj_msgSend(itemTableView,"setGridStyleMask:",CPTableViewSolidHorizontalGridLineMask);
objj_msgSend(itemTableView,"setDelegate:",viewController);
objj_msgSend(itemTableView,"setDataSource:",viewController);
objj_msgSend(itemTableView,"setSelectionHighlightColor:",objj_msgSend(CPColor,"colorWithHexString:","EEEEEE"));
objj_msgSend(itemTableView,"setRowHeight:",50);
objj_msgSend(itemTableView,"registerForDraggedTypes:",["ItemDragType"]);
var _30=objj_msgSend(objj_msgSend(CPTableColumn,"alloc"),"initWithIdentifier:","Items");
objj_msgSend(objj_msgSend(_30,"headerView"),"setStringValue:","Items");
objj_msgSend(_30,"setWidth:",210);
objj_msgSend(_30,"setMinWidth:",210);
objj_msgSend(_30,"setDataView:",objj_msgSend(objj_msgSend(ItemDataView,"alloc"),"initWithFrame:",CGRectMake(0,0,210,50)));
objj_msgSend(itemTableView,"addTableColumn:",_30);
objj_msgSend(itemScrollView,"setDocumentView:",itemTableView);
objj_msgSend(contain,"addSubview:",itemScrollView);
gradientOverlay=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(225,44,550,10));
objj_msgSend(gradientOverlay,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2f,"pathForResource:","itemScrollShadow.png"),CGSizeMake(10,10))));
itemView=objj_msgSend(objj_msgSend(ItemView,"alloc"),"initWithFrame:",CGRectMake(225,44,565,481));
objj_msgSend(itemView,"setLocationController:",_2e);
objj_msgSend(contain,"addSubview:",itemView);
objj_msgSend(contain,"addSubview:",gradientOverlay);
editButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(520,9,30,24));
var _31=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","editbutton.png"),CGSizeMake(18,18));
objj_msgSend(editButton,"setImage:",_31);
objj_msgSend(editButton,"setTarget:",itemView);
objj_msgSend(editButton,"setAction:",sel_getUid("toggleEditMode:"));
objj_msgSend(editButton,"setImagePosition:",CPImageOnly);
objj_msgSend(editButton,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin);
objj_msgSend(editButton,"setHidden:",YES);
objj_msgSend(topArea,"addSubview:",editButton);
uploadButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(480,9,30,24));
objj_msgSend(uploadButton,"setTitle:","⇧");
objj_msgSend(uploadButton,"setTarget:",itemView);
objj_msgSend(uploadButton,"setAction:",sel_getUid("uploadAttachment:"));
objj_msgSend(uploadButton,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin);
objj_msgSend(uploadButton,"setHidden:",YES);
objj_msgSend(topArea,"addSubview:",uploadButton);
deleteButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(440,9,30,24));
var _31=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","deletebutton.png"),CGSizeMake(14,18));
objj_msgSend(deleteButton,"setImage:",_31);
objj_msgSend(deleteButton,"setTarget:",_2b);
objj_msgSend(deleteButton,"setAction:",sel_getUid("deleteItemPushed:"));
objj_msgSend(deleteButton,"setImagePosition:",CPImageOnly);
objj_msgSend(deleteButton,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin);
objj_msgSend(deleteButton,"setHidden:",YES);
objj_msgSend(topArea,"addSubview:",deleteButton);
objj_msgSend(_2b,"showNoItemsView");
}
return _2b;
}
}),new objj_method(sel_getUid("setLocationTitle:"),function(_32,_33,_34){
with(_32){
objj_msgSend(locationTitle,"setStringValue:",_34);
objj_msgSend(locationTitle,"sizeToFit");
}
}),new objj_method(sel_getUid("setActiveItem:"),function(_35,_36,_37){
with(_35){
objj_msgSend(objj_msgSend(viewController,"itemController"),"setItem:",_37);
if(!_37){
objj_msgSend(itemTableView,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO);
}
}
}),new objj_method(sel_getUid("showNoItemsView"),function(_38,_39){
with(_38){
if(!noItemsView){
noItemsView=objj_msgSend(CPTextField,"new");
objj_msgSend(noItemsView,"setStringValue:","No Items");
objj_msgSend(noItemsView,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",14));
objj_msgSend(noItemsView,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","666666"));
objj_msgSend(noItemsView,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(noItemsView,"setTextShadowOffset:",CGSizeMake(0,2));
objj_msgSend(noItemsView,"sizeToFit");
var _3a=objj_msgSend(_38,"convertRect:fromView:",objj_msgSend(itemTableView,"rectOfRow:",4),itemTableView);
objj_msgSend(noItemsView,"setCenter:",CGPointMake(CGRectGetMidX(_3a),CGRectGetMidY(_3a)));
}
objj_msgSend(_38,"addSubview:",noItemsView);
}
}),new objj_method(sel_getUid("hideNoItemsView"),function(_3b,_3c){
with(_3b){
objj_msgSend(noItemsView,"removeFromSuperview");
}
}),new objj_method(sel_getUid("deleteItemPushed:"),function(_3d,_3e,_3f){
with(_3d){
var _40=objj_msgSend(objj_msgSend(viewController,"location"),"itemAtIndex:",objj_msgSend(objj_msgSend(itemTableView,"selectedRowIndexes"),"firstIndex"));
objj_msgSend(viewController,"confirmRemovalOfItem:",_40);
}
}),new objj_method(sel_getUid("switchViews:"),function(_41,_42,_43){
with(_41){
var _44=objj_msgSend(_43,"selectedSegment");
if(_44===0){
objj_msgSend(collectionViewScrollView,"removeFromSuperview");
objj_msgSend(contain,"addSubview:",itemScrollView);
objj_msgSend(topArea,"setFrame:",CGRectMake(225,0,565,44));
objj_msgSend(itemViewScrollView,"setFrameOrigin:",CGPointMake(225,44));
objj_msgSend(backToItemsButton,"removeFromSuperview");
objj_msgSend(itemView,"setWidth:",565);
objj_msgSend(gradientOverlay,"setFrame:",CGRectMake(225,44,550,10));
objj_msgSend(contain,"addSubview:",gradientOverlay);
}else{
objj_msgSend(itemScrollView,"removeFromSuperview");
objj_msgSend(topArea,"setFrame:",CGRectMake(790,0,790,44));
var _45=objj_msgSend(itemView,"frame");
objj_msgSend(itemView,"setFrame:",CGRectMake(790,_45.origin.y,790,481));
objj_msgSend(itemView,"setWidth:",775);
if(!backToItemsButton){
backToItemsButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(15,9,70,24));
objj_msgSend(backToItemsButton,"setTitle:","Back");
objj_msgSend(backToItemsButton,"setAction:",sel_getUid("animateToCollectionView:"));
objj_msgSend(backToItemsButton,"setTarget:",_41);
}
objj_msgSend(topArea,"addSubview:",backToItemsButton);
if(!collectionViewScrollView){
collectionViewScrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,0,790,525));
objj_msgSend(collectionViewScrollView,"setHasHorizontalScroller:",NO);
objj_msgSend(collectionViewScrollView,"setAutohidesScrollers:",YES);
var _46=objj_msgSend(objj_msgSend(CPCollectionViewItem,"alloc"),"init");
objj_msgSend(_46,"setView:",objj_msgSend(objj_msgSend(ItemCell,"alloc"),"initWithFrame:",CGRectMakeZero()));
collectionView=objj_msgSend(objj_msgSend(CPCollectionView,"alloc"),"initWithFrame:",CGRectMake(0,0,775,510));
objj_msgSend(collectionView,"setMinItemSize:",CGSizeMake(131,155));
objj_msgSend(collectionView,"setMaxItemSize:",CGSizeMake(131,155));
objj_msgSend(collectionView,"setVerticalMargin:",3);
objj_msgSend(collectionView,"setDelegate:",_41);
objj_msgSend(collectionView,"setItemPrototype:",_46);
objj_msgSend(collectionViewScrollView,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","EEEEEE"));
objj_msgSend(collectionView,"setAllowsMultipleSelection:",YES);
objj_msgSend(collectionViewScrollView,"setDocumentView:",collectionView);
objj_msgSend(collectionView,"setContent:",objj_msgSend(objj_msgSend(viewController,"location"),"items"));
}
objj_msgSend(itemView,"enterEditMode:",NO);
objj_msgSend(collectionViewScrollView,"setFrameOrigin:",CGPointMake(0,0));
objj_msgSend(contain,"addSubview:",collectionViewScrollView);
objj_msgSend(gradientOverlay,"setFrame:",CGRectMake(0,44,775,10));
objj_msgSend(gradientOverlay,"removeFromSuperview");
}
}
}),new objj_method(sel_getUid("collectionView:didDoubleClickOnItemAtIndex:"),function(_47,_48,_49,_4a){
with(_47){
if(objj_msgSend(animation,"isAnimating")){
return;
}
objj_msgSend(itemTableView,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_4a),NO);
var _4b=objj_msgSend(collectionViewScrollView,"frame"),_4c=objj_msgSend(itemView,"frame"),_4d=objj_msgSend(topArea,"frame"),_4e=CGRectMake(_4b.origin.x-_4b.size.width,_4b.origin.y,_4b.size.width,_4b.size.height),_4f=CGRectMake(_4b.origin.x,_4c.origin.y,_4c.size.width,_4c.size.height),_50=CGRectMake(_4b.origin.x,_4d.origin.y,_4d.size.width,_4d.size.height);
var _51=objj_msgSend(CPDictionary,"new");
objj_msgSend(_51,"setValue:forKey:",collectionViewScrollView,CPViewAnimationTargetKey);
objj_msgSend(_51,"setValue:forKey:",_4b,CPViewAnimationStartFrameKey);
objj_msgSend(_51,"setValue:forKey:",_4e,CPViewAnimationEndFrameKey);
objj_msgSend(_51,"setValue:forKey:",nil,CPViewAnimationEffectKey);
var _52=objj_msgSend(CPDictionary,"new");
objj_msgSend(_52,"setValue:forKey:",itemView,CPViewAnimationTargetKey);
objj_msgSend(_52,"setValue:forKey:",_4c,CPViewAnimationStartFrameKey);
objj_msgSend(_52,"setValue:forKey:",_4f,CPViewAnimationEndFrameKey);
objj_msgSend(_52,"setValue:forKey:",nil,CPViewAnimationEffectKey);
var _53=objj_msgSend(CPDictionary,"new");
objj_msgSend(_53,"setValue:forKey:",topArea,CPViewAnimationTargetKey);
objj_msgSend(_53,"setValue:forKey:",_4d,CPViewAnimationStartFrameKey);
objj_msgSend(_53,"setValue:forKey:",_50,CPViewAnimationEndFrameKey);
objj_msgSend(_53,"setValue:forKey:",nil,CPViewAnimationEffectKey);
animation=objj_msgSend(objj_msgSend(CPViewAnimation,"alloc"),"initWithViewAnimations:",[_51,_52,_53]);
objj_msgSend(animation,"setDuration:",0.3);
objj_msgSend(animation,"setDelegate:",_47);
objj_msgSend(animation,"startAnimation");
window.setTimeout(function(){
},1);
}
}),new objj_method(sel_getUid("animateToCollectionView:"),function(_54,_55,_56){
with(_54){
if(objj_msgSend(animation,"isAnimating")){
return;
}
var _57=objj_msgSend(collectionViewScrollView,"frame"),_58=objj_msgSend(itemView,"frame"),_59=objj_msgSend(topArea,"frame"),_5a=CGRectMake(_57.origin.x+_57.size.width,_57.origin.y,_57.size.width,_57.size.height),_5b=CGRectMake(840,_58.origin.y,790,481),_5c=CGRectMake(840,_59.origin.y,790,44);
var _5d=objj_msgSend(CPDictionary,"new");
objj_msgSend(_5d,"setValue:forKey:",collectionViewScrollView,CPViewAnimationTargetKey);
objj_msgSend(_5d,"setValue:forKey:",_57,CPViewAnimationStartFrameKey);
objj_msgSend(_5d,"setValue:forKey:",_5a,CPViewAnimationEndFrameKey);
objj_msgSend(_5d,"setValue:forKey:",nil,CPViewAnimationEffectKey);
var _5e=objj_msgSend(CPDictionary,"new");
objj_msgSend(_5e,"setValue:forKey:",itemView,CPViewAnimationTargetKey);
objj_msgSend(_5e,"setValue:forKey:",_58,CPViewAnimationStartFrameKey);
objj_msgSend(_5e,"setValue:forKey:",_5b,CPViewAnimationEndFrameKey);
objj_msgSend(_5e,"setValue:forKey:",nil,CPViewAnimationEffectKey);
var _5f=objj_msgSend(CPDictionary,"new");
objj_msgSend(_5f,"setValue:forKey:",topArea,CPViewAnimationTargetKey);
objj_msgSend(_5f,"setValue:forKey:",_59,CPViewAnimationStartFrameKey);
objj_msgSend(_5f,"setValue:forKey:",_5c,CPViewAnimationEndFrameKey);
objj_msgSend(_5f,"setValue:forKey:",nil,CPViewAnimationEffectKey);
animation=objj_msgSend(objj_msgSend(CPViewAnimation,"alloc"),"initWithViewAnimations:",[_5d,_5e,_5f]);
objj_msgSend(animation,"setDuration:",0.3);
objj_msgSend(animation,"setDelegate:",_54);
objj_msgSend(animation,"startAnimation");
objj_msgSend(gradientOverlay,"removeFromSuperview");
}
}),new objj_method(sel_getUid("collectionView:dragTypesForItemsAtIndexes:"),function(_60,_61,_62,_63){
with(_60){
return ["ItemDragType"];
}
}),new objj_method(sel_getUid("collectionView:dataForItemsAtIndexes:forType:"),function(_64,_65,_66,_67,_68){
with(_64){
return objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_67);
}
}),new objj_method(sel_getUid("collectionView:shouldDeleteItemsAtIndexes:"),function(_69,_6a,_6b,_6c){
with(_69){
return NO;
}
})]);
var _1=objj_allocateClassPair(CPView,"ItemDataView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("itemName"),new objj_ivar("itemMaker"),new objj_ivar("attachments")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_6d,_6e,_6f){
with(_6d){
_6d=objj_msgSendSuper({receiver:_6d,super_class:objj_getClass("ItemDataView").super_class},"initWithFrame:",_6f);
if(_6d){
itemName=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(8,3,_6f.size.width-45,20));
objj_msgSend(itemName,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","4c4c4c"));
objj_msgSend(itemName,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(itemName,"setTextShadowOffset:",CGSizeMake(0,1));
objj_msgSend(itemName,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",16));
objj_msgSend(_6d,"addSubview:",itemName);
itemMaker=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(8,22,_6f.size.width-45,20));
objj_msgSend(itemMaker,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","555555"));
objj_msgSend(itemMaker,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",12));
objj_msgSend(_6d,"addSubview:",itemMaker);
attachments=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(_6f.size.width-25,5,22,23));
objj_msgSend(attachments,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Attachments/Attachment.png"),CGSizeMake(22,23)));
objj_msgSend(_6d,"addSubview:",attachments);
}
return _6d;
}
}),new objj_method(sel_getUid("setObjectValue:"),function(_70,_71,_72){
with(_70){
objj_msgSend(itemName,"setStringValue:",objj_msgSend(_72,"valueForKey:","name"));
objj_msgSend(itemMaker,"setStringValue:",objj_msgSend(_72,"valueForKey:","maker"));
objj_msgSend(attachments,"setHidden:",!objj_msgSend(_72,"valueForKey:","attachments"));
}
}),new objj_method(sel_getUid("encodeWithCoder:"),function(_73,_74,_75){
with(_73){
objj_msgSend(_75,"encodeObject:forKey:",itemName,"ItemName");
objj_msgSend(_75,"encodeObject:forKey:",itemMaker,"ItemMaker");
objj_msgSend(_75,"encodeObject:forKey:",attachments,"Attachments");
objj_msgSendSuper({receiver:_73,super_class:objj_getClass("ItemDataView").super_class},"encodeWithCoder:",_75);
}
}),new objj_method(sel_getUid("initWithCoder:"),function(_76,_77,_78){
with(_76){
_76=objj_msgSendSuper({receiver:_76,super_class:objj_getClass("ItemDataView").super_class},"initWithCoder:",_78);
if(_76){
itemName=objj_msgSend(_78,"decodeObjectForKey:","ItemName");
itemMaker=objj_msgSend(_78,"decodeObjectForKey:","ItemMaker");
attachments=objj_msgSend(_78,"decodeObjectForKey:","Attachments");
}
return _76;
}
})]);
var _1=objj_allocateClassPair(CPTableView,"ItemViewTableView"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("menuForEvent:"),function(_79,_7a,_7b){
with(_79){
var _7c=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:",""),_7d=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Remove Item",sel_getUid("removeItem:"),nil),_7e=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Add Item",sel_getUid("addNewItem:"),nil),_7f=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","View Item",sel_getUid("newSelectRow:"),nil),_80=objj_msgSend(_79,"convertPoint:fromView:",objj_msgSend(_7b,"locationInWindow"),nil),row=objj_msgSend(_79,"rowAtPoint:",_80);
objj_msgSend(_7d,"setTarget:",_79);
objj_msgSend(_7e,"setTarget:",objj_msgSend(_79,"delegate"));
objj_msgSend(_7f,"setTarget:",_79);
objj_msgSend(_7d,"setRepresentedObject:",row);
objj_msgSend(_7f,"setRepresentedObject:",row);
if(row<0){
objj_msgSend(_7d,"setEnabled:",NO);
objj_msgSend(_7f,"setEnabled:",NO);
}
objj_msgSend(_7c,"addItem:",_7d);
objj_msgSend(_7c,"addItem:",_7f);
objj_msgSend(_7c,"addItem:",_7e);
return _7c;
}
}),new objj_method(sel_getUid("newSelectRow:"),function(_81,_82,_83){
with(_81){
objj_msgSend(_81,"_noteSelectionIsChanging");
var _84=objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(_83,"representedObject"));
objj_msgSend(_81,"selectRowIndexes:byExtendingSelection:",_84,NO);
objj_msgSend(_81,"_noteSelectionDidChange");
}
}),new objj_method(sel_getUid("removeItem:"),function(_85,_86,_87){
with(_85){
var _88=objj_msgSend(objj_msgSend(objj_msgSend(_85,"delegate"),"location"),"itemAtIndex:",objj_msgSend(_87,"representedObject"));
objj_msgSend(objj_msgSend(_85,"delegate"),"confirmRemovalOfItem:",_88);
}
})]);
var _1=objj_allocateClassPair(CPView,"ItemCell"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("name"),new objj_ivar("make"),new objj_ivar("image"),new objj_ivar("borderOverlay"),new objj_ivar("bgColor"),new objj_ivar("selectedBGColor")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("setRepresentedObject:"),function(_89,_8a,_8b){
with(_89){
if(!borderOverlay){
var _8c=objj_msgSend(CPBundle,"mainBundle");
bgColor=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-0.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-1.png"),CGSizeMake(1,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-2.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-3.png"),CGSizeMake(5,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-4.png"),CGSizeMake(2,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-5.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-6.png"),CGSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-7.png"),CGSizeMake(1,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","ItemCellView/ItemView-8.png"),CGSizeMake(5,5))]));
borderOverlay=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(5,5,121,121));
objj_msgSend(borderOverlay,"setBackgroundColor:",bgColor);
image=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(5,5,121,121));
objj_msgSend(image,"setImageScaling:",CPScaleNone);
objj_msgSend(_89,"addSubview:",image);
objj_msgSend(_89,"addSubview:",borderOverlay);
name=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(5,126,121,24));
objj_msgSend(name,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",13));
objj_msgSend(name,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(name,"setTextShadowOffset:",CGSizeMake(0,1));
objj_msgSend(name,"setAlignment:",CPCenterTextAlignment);
objj_msgSend(_89,"addSubview:",name);
make=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(5,140,121,24));
objj_msgSend(make,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11));
objj_msgSend(make,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(make,"setTextShadowOffset:",CGSizeMake(0,1));
objj_msgSend(make,"setAlignment:",CPCenterTextAlignment);
objj_msgSend(_89,"addSubview:",make);
}
objj_msgSend(image,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:","Resources/ItemCellView/iPhone-test-image.png",objj_msgSend(_89,"scaleImageWithSize:",CGSizeMake(578,397))));
objj_msgSend(make,"setStringValue:",objj_msgSend(_8b,"make"));
objj_msgSend(name,"setStringValue:",objj_msgSend(_8b,"name"));
}
}),new objj_method(sel_getUid("setSelected:"),function(_8d,_8e,_8f){
with(_8d){
var _90=objj_msgSend(CPBundle,"mainBundle");
if(!selectedBGColor){
selectedBGColor=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-0.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-1.png"),CGSizeMake(2,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-2.png"),CGSizeMake(8,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-3.png"),CGSizeMake(9,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-4.png"),CGSizeMake(2,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-5.png"),CGSizeMake(8,2)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-6.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-7.png"),CGSizeMake(2,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_90,"pathForResource:","ItemCellView/ItemView-selected-8.png"),CGSizeMake(8,9))]));
}
if(_8f){
objj_msgSend(borderOverlay,"setBackgroundColor:",selectedBGColor);
}else{
objj_msgSend(borderOverlay,"setBackgroundColor:",bgColor);
}
}
}),new objj_method(sel_getUid("scaleImageWithSize:"),function(_91,_92,_93){
with(_91){
var _94=121,_95=_93.height,_96=_93.width,_97=MAX(_94/_96,_94/_95);
_96=_97*_96;
_95=_97*_95;
return CGSizeMake(_96,_95);
}
})]);
var _1=objj_allocateClassPair(CPView,"TopView"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("drawRect:"),function(_98,_99,_9a){
with(_98){
var _9b=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort");
CGContextSetStrokeColor(_9b,objj_msgSend(CPColor,"colorWithHexString:","CCCCCC"));
var _9c=[CGPointMake(15,43.5),CGPointMake(_9a.size.width-30,43.5)];
CGContextStrokeLineSegments(_9b,_9c,2);
}
})]);
p;22;LPCardFlipController.jt;6320;@STATIC;1.0;I;21;Foundation/CPObject.ji;17;LPViewAnimation.jt;6253;
objj_executeFile("Foundation/CPObject.j",NO);
objj_executeFile("LPViewAnimation.j",YES);
var _1=nil,_2=NO;
var _3=objj_allocateClassPair(CPObject,"LPCardFlipController"),_4=_3.isa;
class_addIvars(_3,[new objj_ivar("_delegate"),new objj_ivar("containerWindow"),new objj_ivar("mainWindow"),new objj_ivar("animationDuration"),new objj_ivar("startCenter"),new objj_ivar("endCenter"),new objj_ivar("frontView"),new objj_ivar("backView")]);
objj_registerClassPair(_3);
class_addMethods(_3,[new objj_method(sel_getUid("delegate"),function(_5,_6){
with(_5){
return _delegate;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_7,_8,_9){
with(_7){
_delegate=_9;
}
}),new objj_method(sel_getUid("frontView"),function(_a,_b){
with(_a){
return frontView;
}
}),new objj_method(sel_getUid("setFrontView:"),function(_c,_d,_e){
with(_c){
frontView=_e;
}
}),new objj_method(sel_getUid("backView"),function(_f,_10){
with(_f){
return backView;
}
}),new objj_method(sel_getUid("setBackView:"),function(_11,_12,_13){
with(_11){
backView=_13;
}
}),new objj_method(sel_getUid("init"),function(_14,_15){
with(_14){
if(_14=objj_msgSendSuper({receiver:_14,super_class:objj_getClass("LPCardFlipController").super_class},"init")){
_2=LPTestCSSFeature("BackfaceVisibility");
containerWindow=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",CGRectMakeZero(),CPBorderlessWindowMask);
var _16=objj_msgSend(containerWindow,"contentView");
var _17=_16._DOMElement;
_17.style["-webkit-transform-style"]="preserve-3d";
_17.style["-webkit-perspective"]="600";
animationDuration=0.65;
}
return _14;
}
}),new objj_method(sel_getUid("setStartCenter:endCenter:"),function(_18,_19,_1a,_1b){
with(_18){
startCenter=_1a;
endCenter=_1b;
}
}),new objj_method(sel_getUid("reverseFlipCurrentView"),function(_1c,_1d){
with(_1c){
objj_msgSend(_1c,"flipWithView:backView:reverse:",frontView,backView,YES);
}
}),new objj_method(sel_getUid("flipWithView:backView:"),function(_1e,_1f,_20,_21){
with(_1e){
objj_msgSend(_1e,"flipWithView:backView:reverse:",_20,_21,NO);
}
}),new objj_method(sel_getUid("flipWithView:backView:reverse:"),function(_22,_23,_24,_25,_26){
with(_22){
mainWindow=objj_msgSend(_24,"window");
var _27=objj_msgSend(_24,"superview");
if(_2){
if(_25!==backView){
_25._DOMElement.style["-webkit-transform"]="rotateY(180deg)";
}
frontView=_24;
backView=_25;
objj_msgSend(containerWindow,"makeKeyAndOrderFront:",nil);
var _28=objj_msgSend(containerWindow,"contentView");
var _29=objj_msgSend(_25,"frame").size;
_29.height+=200;
objj_msgSend(containerWindow,"setFrameSize:",_29);
objj_msgSend(_22,"prepareViewWithCSS:",frontView);
objj_msgSend(frontView,"setCenter:",objj_msgSend(_28,"center"));
objj_msgSend(_22,"prepareViewWithCSS:",backView);
objj_msgSend(backView,"setCenter:",objj_msgSend(_28,"center"));
objj_msgSend(_28,"setSubviews:",[frontView,backView]);
var _2a=objj_msgSend(objj_msgSend(containerWindow,"contentView"),"bounds");
var _2b=CGPointMakeCopy(_26?endCenter:startCenter);
_2b.x-=CGRectGetMidX(_2a);
_2b.y-=CGRectGetMidY(_2a);
var _2c=CGPointMakeCopy(_26?startCenter:endCenter);
_2c.x-=CGRectGetMidX(_2a);
_2c.y-=CGRectGetMidY(_2a);
objj_msgSend(containerWindow,"setFrameOrigin:",_2b);
var _2d=objj_msgSend(objj_msgSend(LPViewAnimation,"alloc"),"initWithViewAnimations:",[{"target":containerWindow,"animations":[[LPOriginAnimationKey,objj_msgSend(containerWindow,"frame").origin,_2c]]}]);
objj_msgSend(_2d,"setShouldUseCSSAnimations:",YES);
objj_msgSend(_2d,"setAnimationCurve:",CPAnimationEaseInOut);
objj_msgSend(_2d,"setDuration:",animationDuration);
var _2e=CGRectGetWidth(objj_msgSend(frontView,"bounds")),_2f=CGRectGetWidth(objj_msgSend(backView,"bounds"));
backView._DOMElement.style["-webkit-transform"]+=" scale("+(_2e/_2f)+")";
backView._DOMElement.style["opacity"]=_26?1:0;
setTimeout(function(){
objj_msgSend(_2d,"startAnimation");
var _30="rotateY("+(_26?0:-180)+"deg) ",_31="scale("+(_26?1:_2f/_2e)+")";
frontView._DOMElement.style["-webkit-transform"]=_30+_31;
var _30="rotateY("+(_26?180:0)+"deg) ",_31="scale("+(_26?_2e/_2f:1)+")";
backView._DOMElement.style["-webkit-transform"]=_30+_31;
setTimeout(function(){
frontView._DOMElement.style["opacity"]=_26?1:0;
backView._DOMElement.style["opacity"]=_26?0:1;
},(1000*animationDuration)/2);
setTimeout(function(){
if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("cardFlipDidFinish:"))){
objj_msgSend(_delegate,"cardFlipDidFinish:",_22);
}
objj_msgSend(_22,"removeTransformFromView:",backView);
objj_msgSend(containerWindow,"orderOut:",nil);
},1000*animationDuration);
},0);
}else{
if(_26){
objj_msgSend(containerWindow,"orderOut:",nil);
if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("cardFlipDidFinish:"))){
objj_msgSend(_delegate,"cardFlipDidFinish:",_22);
}
}else{
backView=_25;
objj_msgSend(backView,"setFrameOrigin:",CGPointMakeZero());
var _29=objj_msgSend(backView,"frame").size;
objj_msgSend(containerWindow,"setFrameSize:",_29);
objj_msgSend(objj_msgSend(containerWindow,"contentView"),"setSubviews:",[backView]);
var _2c=CGPointMakeCopy(endCenter);
_2c.x-=CGRectGetMidX(objj_msgSend(objj_msgSend(containerWindow,"contentView"),"bounds"));
_2c.y-=CGRectGetMidY(objj_msgSend(objj_msgSend(containerWindow,"contentView"),"bounds"));
objj_msgSend(containerWindow,"setFrameOrigin:",_2c);
objj_msgSend(containerWindow,"orderFront:",nil);
}
}
}
}),new objj_method(sel_getUid("prepareViewWithCSS:"),function(_32,_33,_34){
with(_32){
var _35=_34._DOMElement;
_35.style["-webkit-transition-timing-function"]="ease-in-out";
_35.style["-webkit-transition-property"]="-webkit-transform";
_35.style["-webkit-transition-duration"]=animationDuration+"s";
_35.style["-webkit-backface-visibility"]="hidden";
}
}),new objj_method(sel_getUid("removeTransformFromView:"),function(_36,_37,_38){
with(_36){
var _39=_38._DOMElement;
_39.style["-webkit-transition-timing-function"]="";
_39.style["-webkit-transition-property"]="";
_39.style["-webkit-transition-duration"]="";
_39.style["-webkit-backface-visibility"]="";
_39.style["-webkit-transform"]="";
}
})]);
class_addMethods(_4,[new objj_method(sel_getUid("sharedController"),function(_3a,_3b){
with(_3a){
if(!_1){
_1=objj_msgSend(objj_msgSend(_3a,"alloc"),"init");
}
return _1;
}
})]);
p;22;LPMultiLineTextField.jt;6187;@STATIC;1.0;I;20;AppKit/CPTextField.jt;6143;
objj_executeFile("AppKit/CPTextField.j",NO);
var _1=nil;
var _2=objj_allocateClassPair(CPTextField,"LPMultiLineTextField"),_3=_2.isa;
class_addIvars(_2,[new objj_ivar("_DOMTextareaElement"),new objj_ivar("_stringValue")]);
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("_DOMTextareaElement"),function(_4,_5){
with(_4){
if(!_DOMTextareaElement){
_DOMTextareaElement=document.createElement("textarea");
_DOMTextareaElement.style.position="absolute";
_DOMTextareaElement.style.background="none";
_DOMTextareaElement.style.border="0";
_DOMTextareaElement.style.outline="0";
_DOMTextareaElement.style.zIndex="100";
_DOMTextareaElement.style.resize="none";
_DOMTextareaElement.style.padding="0";
_DOMTextareaElement.style.margin="0";
_DOMTextareaElement.style.overflow="hidden";
_DOMTextareaElement.onblur=function(){
objj_msgSend(objj_msgSend(_1,"window"),"makeFirstResponder:",nil);
_1=nil;
};
_4._DOMElement.appendChild(_DOMTextareaElement);
}
return _DOMTextareaElement;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_6,_7,_8){
with(_6){
if(_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("LPMultiLineTextField").super_class},"initWithFrame:",_8)){
}
return _6;
}
}),new objj_method(sel_getUid("setEditable:"),function(_9,_a,_b){
with(_9){
objj_msgSend(_9,"_DOMTextareaElement").style.cursor=_b?"cursor":"default";
objj_msgSendSuper({receiver:_9,super_class:objj_getClass("LPMultiLineTextField").super_class},"setEditable:",_b);
}
}),new objj_method(sel_getUid("selectText:"),function(_c,_d,_e){
with(_c){
objj_msgSend(_c,"_DOMTextareaElement").select();
}
}),new objj_method(sel_getUid("layoutSubviews"),function(_f,_10){
with(_f){
objj_msgSendSuper({receiver:_f,super_class:objj_getClass("LPMultiLineTextField").super_class},"layoutSubviews");
var _11=objj_msgSend(_f,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","content-view",CPWindowAbove,"bezel-view");
objj_msgSend(_11,"setHidden:",YES);
var _12=objj_msgSend(_f,"_DOMTextareaElement"),_13=objj_msgSend(_f,"currentValueForThemeAttribute:","content-inset"),_14=objj_msgSend(_f,"bounds");
_12.style.top=_13.top+"px";
_12.style.bottom=_13.bottom+"px";
_12.style.left=_13.left+"px";
_12.style.right=_13.right+"px";
_12.style.width=(CGRectGetWidth(_14)-_13.left-_13.right)+"px";
_12.style.height=(CGRectGetHeight(_14)-_13.top-_13.bottom)+"px";
_12.style.color=objj_msgSend(objj_msgSend(_f,"currentValueForThemeAttribute:","text-color"),"cssString");
_12.style.font=objj_msgSend(objj_msgSend(_f,"currentValueForThemeAttribute:","font"),"cssString");
_12.value=_stringValue||"";
}
}),new objj_method(sel_getUid("mouseDown:"),function(_15,_16,_17){
with(_15){
if(objj_msgSend(_15,"isEditable")&&objj_msgSend(_15,"isEnabled")){
objj_msgSend(objj_msgSend(objj_msgSend(_15,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
}else{
objj_msgSendSuper({receiver:_15,super_class:objj_getClass("LPMultiLineTextField").super_class},"mouseDown:",_17);
}
}
}),new objj_method(sel_getUid("keyDown:"),function(_18,_19,_1a){
with(_18){
if(objj_msgSend(_1a,"keyCode")===CPTabKeyCode){
if(objj_msgSend(_1a,"modifierFlags")&CPShiftKeyMask){
objj_msgSend(objj_msgSend(_18,"window"),"selectPreviousKeyView:",_18);
}else{
objj_msgSend(objj_msgSend(_18,"window"),"selectNextKeyView:",_18);
}
if(objj_msgSend(objj_msgSend(objj_msgSend(_18,"window"),"firstResponder"),"respondsToSelector:",sel_getUid("selectText:"))){
objj_msgSend(objj_msgSend(objj_msgSend(_18,"window"),"firstResponder"),"selectText:",_18);
}
objj_msgSend(objj_msgSend(objj_msgSend(_18,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO);
}else{
objj_msgSend(objj_msgSend(objj_msgSend(_18,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
}
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
}
}),new objj_method(sel_getUid("keyUp:"),function(_1b,_1c,_1d){
with(_1b){
if(_stringValue!==objj_msgSend(_1b,"stringValue")){
_stringValue=objj_msgSend(_1b,"stringValue");
if(!_isEditing){
_isEditing=YES;
objj_msgSend(_1b,"textDidBeginEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidBeginEditingNotification,_1b,nil));
}
objj_msgSend(_1b,"textDidChange:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidChangeNotification,_1b,nil));
}
objj_msgSend(objj_msgSend(objj_msgSend(_1b,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
}
}),new objj_method(sel_getUid("performKeyEquivalent:"),function(_1e,_1f,_20){
with(_1e){
objj_msgSend(objj_msgSend(objj_msgSend(_1e,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
return YES;
}
}),new objj_method(sel_getUid("becomeFirstResponder"),function(_21,_22){
with(_21){
_stringValue=objj_msgSend(_21,"stringValue");
objj_msgSend(_21,"setThemeState:",CPThemeStateEditing);
setTimeout(function(){
objj_msgSend(_21,"_DOMTextareaElement").focus();
_1=_21;
},0);
objj_msgSend(_21,"textDidFocus:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPTextFieldDidFocusNotification,_21,nil));
return YES;
}
}),new objj_method(sel_getUid("resignFirstResponder"),function(_23,_24){
with(_23){
objj_msgSend(_23,"unsetThemeState:",CPThemeStateEditing);
objj_msgSend(_23,"setStringValue:",objj_msgSend(_23,"stringValue"));
objj_msgSend(_23,"_DOMTextareaElement").blur();
if(_isEditing){
_isEditing=NO;
objj_msgSend(_23,"textDidEndEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidEndEditingNotification,_23,nil));
if(objj_msgSend(_23,"sendsActionOnEndEditing")){
objj_msgSend(_23,"sendAction:to:",objj_msgSend(_23,"action"),objj_msgSend(_23,"target"));
}
}
objj_msgSend(_23,"textDidBlur:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPTextFieldDidBlurNotification,_23,nil));
return YES;
}
}),new objj_method(sel_getUid("stringValue"),function(_25,_26){
with(_25){
return (!!_DOMTextareaElement)?_DOMTextareaElement.value:"";
}
}),new objj_method(sel_getUid("setStringValue:"),function(_27,_28,_29){
with(_27){
_stringValue=_29;
objj_msgSend(_27,"setNeedsLayout");
}
})]);
p;17;LPViewAnimation.jt;7924;@STATIC;1.0;I;21;Foundation/CPObject.jt;7879;
objj_executeFile("Foundation/CPObject.j",NO);
LPCSSAnimationsAreAvailable=NO;
var _1=["webkit","Moz","moz","o","ms"],_2=nil;
LPFadeAnimationKey="LPFadeAnimation";
LPFrameAnimationKey="LPFrameAnimation";
LPOriginAnimationKey="LPOriginAnimation";
LPTestCSSFeature=function(_3){
if(typeof document==="undefined"){
return NO;
}
if(!_2){
_2=document.createElement("div");
}
var _4=[_3];
for(var i=0;i<_1.length;i++){
_4.push(_1[i]+_3);
}
for(var i=0;i<_4.length;i++){
if(typeof _2.style[_4[i]]!=="undefined"){
return YES;
}
}
return NO;
};
LPCSSAnimationsAreAvailable=LPTestCSSFeature("AnimationName");
var _5=function(_6,_7,_8,_9){
if(_9){
_6.style[_8]=_6.style[_8]+", "+_7;
}else{
_6.style[_8]=_7;
}
};
var _a=objj_allocateClassPair(CPAnimation,"LPViewAnimation"),_b=_a.isa;
class_addIvars(_a,[new objj_ivar("_isAnimating"),new objj_ivar("_viewAnimations"),new objj_ivar("_animationDidEndTimeout"),new objj_ivar("_shouldUseCSSAnimations")]);
objj_registerClassPair(_a);
class_addMethods(_a,[new objj_method(sel_getUid("viewAnimations"),function(_c,_d){
with(_c){
return _viewAnimations;
}
}),new objj_method(sel_getUid("setViewAnimations:"),function(_e,_f,_10){
with(_e){
_viewAnimations=_10;
}
}),new objj_method(sel_getUid("shouldUseCSSAnimations"),function(_11,_12){
with(_11){
return _shouldUseCSSAnimations;
}
}),new objj_method(sel_getUid("setShouldUseCSSAnimations:"),function(_13,_14,_15){
with(_13){
_shouldUseCSSAnimations=_15;
}
}),new objj_method(sel_getUid("initWithViewAnimations:"),function(_16,_17,_18){
with(_16){
if(_16=objj_msgSend(_16,"initWithDuration:animationCurve:",1,CPAnimationLinear)){
_isAnimating=NO;
_viewAnimations=_18;
_shouldUseCSSAnimations=NO;
}
return _16;
}
}),new objj_method(sel_getUid("startAnimation"),function(_19,_1a){
with(_19){
if(LPCSSAnimationsAreAvailable&&_shouldUseCSSAnimations){
if(_isAnimating){
return;
}
_isAnimating=YES;
for(var i=0;i<_viewAnimations.length;i++){
var _1b=_viewAnimations[i],_1c=_1b["target"];
objj_msgSend(_19,"target:setCSSAnimationDuration:",_1c,_duration);
objj_msgSend(_19,"target:setCSSAnimationCurve:",_1c,_animationCurve);
for(var x=0;x<_1b["animations"].length;x++){
var _1d=_1b["animations"][x],_1e=_1d[0],_1f=_1d[1],end=_1d[2];
if(_1e===LPFadeAnimationKey){
objj_msgSend(_1c,"setAlphaValue:",_1f);
objj_msgSend(_19,"target:addCSSAnimationPropertyForKey:append:",_1c,_1e,x!==0);
setTimeout(function(_20,_21){
objj_msgSend(_20,"setAlphaValue:",_21);
},0,_1c,end);
}else{
if(_1e===LPOriginAnimationKey){
if(!CGPointEqualToPoint(_1f,end)){
objj_msgSend(_1c,"setFrameOrigin:",_1f);
objj_msgSend(_19,"target:addCSSAnimationPropertyForKey:append:",_1c,_1e,x!==0);
setTimeout(function(_22,_23,_24){
var x=_24.x-_23.x,y=_24.y-_23.y;
_22._DOMElement.style["-webkit-transform"]="translate("+x+"px, "+y+"px)";
setTimeout(function(){
objj_msgSend(_19,"_clearCSS");
_22._DOMElement.style["-webkit-transform"]="translate(0px, 0px)";
objj_msgSend(_22,"setFrameOrigin:",_24);
},(1000*_duration)+100);
},0,_1c,_1f,end);
}
}else{
if(_1e===LPFrameAnimationKey){
CPLog.error("LPViewAnimation does not currently support CSS frame animations. This should fall back to the regular javascript animation.");
}
}
}
}
}
if(_animationDidEndTimeout){
clearTimeout(_animationDidEndTimeout);
}
_animationDidEndTimeout=setTimeout(function(_25){
_isAnimating=NO;
objj_msgSend(_25,"_clearCSS");
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationDidEnd:"))){
objj_msgSend(_delegate,"animationDidEnd:",_25);
}
},(1000*_duration)+100,_19);
}else{
for(var i=0;i<_viewAnimations.length;i++){
var _1b=_viewAnimations[i],_1c=_1b["target"];
for(var x=0;x<_1b["animations"].length;x++){
var _1d=_1b["animations"][x],_1e=_1d[0],_1f=_1d[1],end=_1d[2];
if(_1e===LPFadeAnimationKey){
objj_msgSend(_1c,"setAlphaValue:",_1f);
}else{
if(_1e===LPOriginAnimationKey){
objj_msgSend(_1c,"setFrameOrigin:",_1f);
}else{
if(_1e===LPFrameAnimationKey){
objj_msgSend(_1c,"setFrame:",_1f);
}
}
}
}
}
objj_msgSendSuper({receiver:_19,super_class:objj_getClass("LPViewAnimation").super_class},"startAnimation");
}
}
}),new objj_method(sel_getUid("setCurrentProgress:"),function(_26,_27,_28){
with(_26){
_progress=_28;
var _29=objj_msgSend(_26,"currentValue"),_2a=_viewAnimations.length;
for(var i=0;i<_2a;i++){
var _2b=_viewAnimations[i],_2c=_2b["target"];
for(var x=0;x<_2b["animations"].length;x++){
var _2d=_2b["animations"][x],_2e=_2d[0],_2f=_2d[1],end=_2d[2];
if(_2e===LPFadeAnimationKey){
objj_msgSend(_2c,"setAlphaValue:",(_29*(end-_2f))+_2f);
}else{
if(_2e===LPOriginAnimationKey){
objj_msgSend(_2c,"setFrameOrigin:",CGPointMake(_2f.x+(_29*(end.x-_2f.x)),_2f.y+(_29*(end.y-_2f.y))));
}else{
if(_2e===LPFrameAnimationKey){
objj_msgSend(_2c,"setFrame:",CGRectMake(_2f.origin.x+(_29*(end.origin.x-_2f.origin.x)),_2f.origin.y+(_29*(end.origin.y-_2f.origin.y)),_2f.size.width+(_29*(end.size.width-_2f.size.width)),_2f.size.height+(_29*(end.size.height-_2f.size.height))));
}
}
}
}
}
}
}),new objj_method(sel_getUid("currentValue"),function(_30,_31){
with(_30){
var c1=[],c2=[];
objj_msgSend(_timingFunction,"getControlPointAtIndex:values:",1,c1);
objj_msgSend(_timingFunction,"getControlPointAtIndex:values:",2,c2);
return _32(_progress,c1[0],c1[1],c2[0],c2[1],_duration);
}
}),new objj_method(sel_getUid("isAnimating"),function(_33,_34){
with(_33){
if(LPCSSAnimationsAreAvailable&&_shouldUseCSSAnimations){
return _isAnimating;
}else{
return objj_msgSendSuper({receiver:_33,super_class:objj_getClass("LPViewAnimation").super_class},"isAnimating");
}
}
}),new objj_method(sel_getUid("stopAnimation"),function(_35,_36){
with(_35){
if(LPCSSAnimationsAreAvailable&&_shouldUseCSSAnimations){
}else{
objj_msgSendSuper({receiver:_35,super_class:objj_getClass("LPViewAnimation").super_class},"stopAnimation");
}
}
}),new objj_method(sel_getUid("_clearCSS"),function(_37,_38){
with(_37){
for(var i=0;i<_viewAnimations.length;i++){
_viewAnimations[i]["target"]._DOMElement.style["-webkit-transition-property"]="none";
}
}
}),new objj_method(sel_getUid("target:setCSSAnimationDuration:"),function(_39,_3a,_3b,_3c){
with(_39){
_3b._DOMElement.style["-webkit-transition-duration"]=_3c+"s";
}
}),new objj_method(sel_getUid("target:setCSSAnimationCurve:"),function(_3d,_3e,_3f,_40){
with(_3d){
var _41=nil;
switch(_40){
case CPAnimationLinear:
_41="linear";
break;
case CPAnimationEaseIn:
_41="ease-in";
break;
case CPAnimationEaseOut:
_41="ease-out";
break;
case CPAnimationEaseInOut:
_41="ease-in-out";
break;
}
_3f._DOMElement.style["-webkit-transition-timing-function"]=_41;
}
}),new objj_method(sel_getUid("target:addCSSAnimationPropertyForKey:append:"),function(_42,_43,_44,_45,_46){
with(_42){
var _47=nil;
switch(_45){
case LPFadeAnimationKey:
_47="opacity";
break;
case LPOriginAnimationKey:
_47="-webkit-transform";
break;
case LPFrameAnimationKey:
_47="top, left, width, height";
break;
default:
_47="none";
}
_5(_44._DOMElement,_47,"-webkit-transition-property",_46);
}
})]);
var _32=_32=function(t,p1x,p1y,p2x,p2y,_48){
var ax=0,bx=0,cx=0,ay=0,by=0,cy=0;
sampleCurveX=function(t){
return ((ax*t+bx)*t+cx)*t;
};
sampleCurveY=function(t){
return ((ay*t+by)*t+cy)*t;
};
sampleCurveDerivativeX=function(t){
return (3*ax*t+2*bx)*t+cx;
};
solveEpsilon=function(_49){
return 1/(200*_49);
};
solve=function(x,_4a){
return sampleCurveY(solveCurveX(x,_4a));
};
solveCurveX=function(x,_4b){
var t0,t1,t2,x2,d2,i;
fabs=function(n){
if(n>=0){
return n;
}else{
return 0-n;
}
};
for(t2=x,i=0;i<8;i++){
x2=sampleCurveX(t2)-x;
if(fabs(x2)<_4b){
return t2;
}
d2=sampleCurveDerivativeX(t2);
if(fabs(d2)<0.000001){
break;
}
t2=t2-x2/d2;
}
t0=0;
t1=1;
t2=x;
if(t2<t0){
return t0;
}
if(t2>t1){
return t1;
}
while(t0<t1){
x2=sampleCurveX(t2);
if(fabs(x2-x)<_4b){
return t2;
}
if(x>x2){
t0=t2;
}else{
t1=t2;
}
t2=(t1-t0)*0.5+t0;
}
return t2;
};
cx=3*p1x;
bx=3*(p2x-p1x)-cx;
ax=1-cx-bx;
cy=3*p1y;
by=3*(p2y-p1y)-cy;
ay=1-cy-by;
return solve(t,solveEpsilon(_48));
};
p;6;main.jt;267;@STATIC;1.0;I;23;Foundation/Foundation.jI;15;AppKit/AppKit.ji;15;AppController.jt;181;
objj_executeFile("Foundation/Foundation.j",NO);
objj_executeFile("AppKit/AppKit.j",NO);
objj_executeFile("AppController.j",YES);
main=function(_1,_2){
CPApplicationMain(_1,_2);
};
p;11;MediaView.jt;8365;@STATIC;1.0;t;8346;
var _1=objj_allocateClassPair(CPView,"MediaView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("frontView"),new objj_ivar("backView"),new objj_ivar("attachment"),new objj_ivar("itemUsed"),new objj_ivar("pdfView"),new objj_ivar("imageView"),new objj_ivar("isFullScreen"),new objj_ivar("fullScreenButton"),new objj_ivar("infoButton"),new objj_ivar("deleteButton"),new objj_ivar("scrollView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){
with(_3){
_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("MediaView").super_class},"initWithFrame:",_5);
if(_3){
frontView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,_5.size.width,_5.size.height));
objj_msgSend(_3,"addSubview:",frontView);
objj_msgSend(frontView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
scrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,0,_5.size.width,_5.size.height-50));
objj_msgSend(scrollView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(scrollView,"setHorizontalLineScroll:",0.5);
objj_msgSend(scrollView,"setVerticalLineScroll:",0.5);
objj_msgSend(frontView,"addSubview:",scrollView);
var _6=objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD");
objj_msgSend(objj_msgSend(scrollView,"verticalScroller"),"setTheme:",_6);
objj_msgSend(objj_msgSend(scrollView,"horizontalScroller"),"setTheme:",_6);
fullScreenButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_5.size.width/2-202,_5.size.height-35,125,24));
objj_msgSend(fullScreenButton,"setTitle:","Full Screen");
objj_msgSend(fullScreenButton,"setTheme:",_6);
objj_msgSend(fullScreenButton,"setTarget:",_3);
objj_msgSend(fullScreenButton,"setAction:",sel_getUid("fullScreen:"));
objj_msgSend(fullScreenButton,"setKeyEquivalent:","f");
objj_msgSend(fullScreenButton,"setKeyEquivalentModifierMask:",CPCommandKeyMask);
objj_msgSend(fullScreenButton,"setAutoresizingMask:",CPViewMinYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(frontView,"addSubview:",fullScreenButton);
infoButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_5.size.width/2-62,_5.size.height-35,125,24));
objj_msgSend(infoButton,"setTitle:","Info");
objj_msgSend(infoButton,"setTheme:",_6);
objj_msgSend(infoButton,"setTarget:",_3);
objj_msgSend(infoButton,"setAction:",sel_getUid("info:"));
objj_msgSend(infoButton,"setKeyEquivalent:","i");
objj_msgSend(infoButton,"setKeyEquivalentModifierMask:",CPCommandKeyMask);
objj_msgSend(infoButton,"setAutoresizingMask:",CPViewMinYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(frontView,"addSubview:",infoButton);
deleteButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_5.size.width/2+77,_5.size.height-35,125,24));
objj_msgSend(deleteButton,"setTitle:","Delete");
objj_msgSend(deleteButton,"setTheme:",_6);
objj_msgSend(deleteButton,"setTarget:",_3);
objj_msgSend(deleteButton,"setAction:",sel_getUid("confirmDelete:"));
objj_msgSend(deleteButton,"setAutoresizingMask:",CPViewMinYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(frontView,"addSubview:",deleteButton);
}
return _3;
}
}),new objj_method(sel_getUid("fullScreen:"),function(_7,_8,_9){
with(_7){
if(objj_msgSend(_7,"isInFullScreenMode")){
objj_msgSend(_7,"exitFullScreenModeWithOptions:",nil);
objj_msgSend(fullScreenButton,"setTitle:","Full Screen");
}else{
objj_msgSend(_7,"enterFullScreenMode:withOptions:",nil,nil);
objj_msgSend(fullScreenButton,"setTitle:","Exit Full Screen");
}
}
}),new objj_method(sel_getUid("info:"),function(_a,_b,_c){
with(_a){
var _d=objj_msgSend(frontView,"frame"),_e=CGPointMake(0,_d.size.height),_f=CGPointMake(0,0);
backView=objj_msgSend(objj_msgSend(MediaInfoView,"alloc"),"initWithFrame:",CGRectMake(_e.x,_e.y,_d.size.width,_d.size.height));
objj_msgSend(backView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(_a,"addSubview:",backView);
var _10=objj_msgSend(LPCardFlipController,"sharedController"),_11=objj_msgSend(objj_msgSend(_a,"window"),"convertBaseToGlobal:",objj_msgSend(frontView,"convertPoint:toView:",objj_msgSend(frontView,"center"),nil));
objj_msgSend(_10,"setDelegate:",_a);
objj_msgSend(_10,"setStartCenter:endCenter:",_11,_11);
objj_msgSend(_10,"flipWithView:backView:reverse:",frontView,backView,NO);
}
}),new objj_method(sel_getUid("flipBackToMedia:"),function(_12,_13,_14){
with(_12){
var _15=objj_msgSend(LPCardFlipController,"sharedController"),_16=objj_msgSend(objj_msgSend(_12,"window"),"convertBaseToGlobal:",objj_msgSend(backView,"convertPoint:toView:",objj_msgSend(backView,"center"),nil));
objj_msgSend(_15,"setDelegate:",_12);
objj_msgSend(_15,"setStartCenter:endCenter:",_16,_16);
objj_msgSend(_15,"flipWithView:backView:reverse:",backView,frontView,NO);
}
}),new objj_method(sel_getUid("confirmDelete:"),function(_17,_18,_19){
with(_17){
var _1a=objj_msgSend(objj_msgSend(CPAlert,"alloc"),"init");
objj_msgSend(_1a,"setTitle:","Delete Attachment");
objj_msgSend(_1a,"setDelegate:",_17);
objj_msgSend(_1a,"setAlertStyle:",CPWarningAlertStyle);
objj_msgSend(_1a,"setMessageText:","Delete Attachment");
objj_msgSend(_1a,"setInformativeText:","Are you sure you want to delete "+objj_msgSend(attachment,"name")+"? This action cannot be undone.");
objj_msgSend(_1a,"addButtonWithTitle:","Delete");
objj_msgSend(_1a,"addButtonWithTitle:","Cancel");
objj_msgSend(_1a,"runModal");
}
}),new objj_method(sel_getUid("alertDidEnd:returnCode:"),function(_1b,_1c,_1d,_1e){
with(_1b){
if(_1e){
return;
}
objj_msgSend(itemUsed,"removeAttachment:",attachment);
objj_msgSend(objj_msgSend(_1b,"window"),"orderOut:",_1b);
}
}),new objj_method(sel_getUid("setMedia:forItem:"),function(_1f,_20,_21,_22){
with(_1f){
attachment=_21;
itemUsed=_22;
var _23=objj_msgSend(attachment,"type");
switch(_23){
case "image":
var _24=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(0,0,1000,1000)),_25=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_21,"data"),CGSizeMake(1000,1000));
objj_msgSend(_24,"setImage:",_25);
objj_msgSend(scrollView,"setDocumentView:",_24);
break;
case "pdf":
var _26=objj_msgSend(objj_msgSend(CPWebView,"alloc"),"initWithFrame:",objj_msgSend(scrollView,"frame"));
objj_msgSend(_26,"setMainFrameURL:","mysamplepdf.pdf");
objj_msgSend(_26,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(scrollView,"removeFromSuperview");
objj_msgSend(frontView,"addSubview:",_26);
break;
case "video":
break;
case "audio":
break;
case "document":
break;
case "other":
break;
}
}
}),new objj_method(sel_getUid("keyDown:"),function(_27,_28,_29){
with(_27){
if(objj_msgSend(_29,"keyCode")===CPEscapeKeyCode&&objj_msgSend(_27,"isInFullScreenMode")){
objj_msgSend(_27,"fullScreen:",nil);
}
}
}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_2a,_2b){
with(_2a){
return YES;
}
}),new objj_method(sel_getUid("cardFlipDidFinish:"),function(_2c,_2d,_2e){
with(_2c){
objj_msgSend(objj_msgSend(_2e,"frontView"),"removeFromSuperview");
objj_msgSend(_2c,"addSubview:",objj_msgSend(_2e,"backView"));
objj_msgSend(objj_msgSend(_2e,"backView"),"setFrameOrigin:",CGPointMakeZero());
}
})]);
var _1=objj_allocateClassPair(CPView,"MediaInfoView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("nameField")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_2f,_30,_31){
with(_2f){
_2f=objj_msgSendSuper({receiver:_2f,super_class:objj_getClass("MediaInfoView").super_class},"initWithFrame:",_31);
if(_2f){
var _32=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(30,30,30,30));
objj_msgSend(_32,"setStringValue:","File Name:");
objj_msgSend(_32,"sizeToFit");
objj_msgSend(_32,"setAlignment:",CPRightTextAlignment);
objj_msgSend(_32,"setTextColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(_2f,"addSubview:",_32);
nameField=objj_msgSend(LocationEditView,"customTextField");
objj_msgSend(nameField,"setFrame:",CGRectMake(CGRectGetMaxX(objj_msgSend(_32,"frame"))+5,25,165,30));
objj_msgSend(nameField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",12));
objj_msgSend(nameField,"setTextColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(_2f,"addSubview:",nameField);
}
return _2f;
}
})]);
p;12;MKLocation.jt;2001;@STATIC;1.0;t;1982;
MKLocationStringRegEx=/\s*<(\-?\d*\.?\d*),\s*(\-?\d*\.?\d*)>\s*$/;
var _1=objj_allocateClassPair(CPObject,"MKLocation"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_latitude"),new objj_ivar("_longitude")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("latitude"),function(_3,_4){
with(_3){
return _latitude;
}
}),new objj_method(sel_getUid("setLatitude:"),function(_5,_6,_7){
with(_5){
_latitude=_7;
}
}),new objj_method(sel_getUid("longitude"),function(_8,_9){
with(_8){
return _longitude;
}
}),new objj_method(sel_getUid("setLongitude:"),function(_a,_b,_c){
with(_a){
_longitude=_c;
}
}),new objj_method(sel_getUid("initWithLatLng:"),function(_d,_e,_f){
with(_d){
return objj_msgSend(_d,"initWithLatitude:andLongitude:",_f.lat(),_f.lng());
}
}),new objj_method(sel_getUid("initWithLatitude:andLongitude:"),function(_10,_11,_12,_13){
with(_10){
if(_10=objj_msgSendSuper({receiver:_10,super_class:objj_getClass("MKLocation").super_class},"init")){
_latitude=_12;
_longitude=_13;
}
return _10;
}
}),new objj_method(sel_getUid("googleLatLng"),function(_14,_15){
with(_14){
var gm=objj_msgSend(MKMapView,"gmNamespace");
return new gm.LatLng(_latitude,_longitude);
}
}),new objj_method(sel_getUid("encodeWithCoder:"),function(_16,_17,_18){
with(_16){
objj_msgSend(_18,"encodeObject:forKey:",[_latitude,_longitude],"location");
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("location"),function(_19,_1a){
with(_19){
return objj_msgSend(objj_msgSend(MKLocation,"alloc"),"init");
}
}),new objj_method(sel_getUid("locationWithLatitude:andLongitude:"),function(_1b,_1c,_1d,_1e){
with(_1b){
return objj_msgSend(objj_msgSend(MKLocation,"alloc"),"initWithLatitude:andLongitude:",_1d,_1e);
}
}),new objj_method(sel_getUid("locationFromString:"),function(_1f,_20,_21){
with(_1f){
var res=MKLocationStringRegEx.exec(_21);
if(res&&res.length===3){
return objj_msgSend(MKLocation,"locationWithLatitude:andLongitude:",res[1],res[2]);
}
return nil;
}
})]);
p;17;NATokenTextView.jt;46476;@STATIC;1.0;I;21;Foundation/CPObject.jt;46430;
objj_executeFile("Foundation/CPObject.j",NO);
var _1=objj_allocateClassPair(CPView,"NATokenTextView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_labelToHaveWithOfText"),new objj_ivar("_tokenViews"),new objj_ivar("_selectedIndexes"),new objj_ivar("_anchor"),new objj_ivar("_theScrollView"),new objj_ivar("_containerView"),new objj_ivar("_anchorIndex"),new objj_ivar("_maxAnchorIndex"),new objj_ivar("_minHeight"),new objj_ivar("_maxHeight"),new objj_ivar("_delegate"),new objj_ivar("_DOMInputElement"),new objj_ivar("_tokenOrigin"),new objj_ivar("_selectionBackground1"),new objj_ivar("_selectionBackground2"),new objj_ivar("_selectionBackground3"),new objj_ivar("editable"),new objj_ivar("bezeled")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("editable"),function(_3,_4){
with(_3){
return editable;
}
}),new objj_method(sel_getUid("setEditable:"),function(_5,_6,_7){
with(_5){
editable=_7;
}
}),new objj_method(sel_getUid("setBezeled:"),function(_8,_9,_a){
with(_8){
bezeled=_a;
objj_msgSend(_8,"setNeedsLayout");
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_b,_c,_d){
with(_b){
_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("NATokenTextView").super_class},"initWithFrame:",_d);
if(_b){
editable=YES;
bezeled=YES;
_selectionIndexes=objj_msgSend(CPIndexSet,"indexSet");
_tokenViews=[];
_tokenOrigin=nil;
_maxHeight=1000;
_theScrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,0,_d.size.width,_d.size.height));
objj_msgSend(_theScrollView,"setAutohidesScrollers:",YES);
objj_msgSend(_theScrollView,"setAutoresizingMask:",CPViewHeightSizable|CPViewWidthSizable);
objj_msgSend(_b,"addSubview:",_theScrollView);
_containerView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,1,15));
objj_msgSend(_theScrollView,"setDocumentView:",_containerView);
_containerView._DOMElement.style.cursor="text";
_DOMInputElement=document.createElement("input");
_DOMInputElement.style.position="absolute";
_DOMInputElement.style.zIndex="-1000";
_DOMInputElement.style.opacity="0";
_DOMInputElement.style.filter="alpha(opacity=0)";
_DOMInputElement.onfocus=function(){
objj_msgSend(_b,"becomeFirstResponder");
};
_DOMInputElement.onblur=function(){
objj_msgSend(_b,"resignFirstResponder");
};
_containerView._DOMElement.appendChild(_DOMInputElement);
_minHeight=_d.size.height;
objj_msgSend(_b,"setThemeState:",CPThemeStateBezeled);
_labelToHaveWithOfText=objj_msgSend(CPTextField,"labelWithTitle:","");
objj_msgSend(_labelToHaveWithOfText,"setHidden:",YES);
objj_msgSend(_labelToHaveWithOfText,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","000000"),"text-color");
objj_msgSend(_labelToHaveWithOfText,"setValue:forThemeAttribute:",objj_msgSend(CPFont,"systemFontOfSize:",12),"font");
objj_msgSend(_containerView,"addSubview:",_labelToHaveWithOfText);
_selectionBackground1=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground1,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","d3eafa"));
objj_msgSend(_containerView,"addSubview:",_selectionBackground1);
_selectionBackground2=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground2,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","d3eafa"));
objj_msgSend(_containerView,"addSubview:",_selectionBackground2);
_selectionBackground3=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground3,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","d3eafa"));
objj_msgSend(_containerView,"addSubview:",_selectionBackground3);
_anchorIndex=0;
_maxAnchorIndex=0;
_anchor=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,1,15));
objj_msgSend(_anchor,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor"));
objj_msgSend(_containerView,"addSubview:",_anchor);
}
return _b;
}
}),new objj_method(sel_getUid("_createTokenTextField"),function(_e,_f){
with(_e){
var _10=objj_msgSend(objj_msgSend(NATokenTextField,"alloc"),"init");
objj_msgSend(_containerView,"addSubview:",_10);
return _10;
}
}),new objj_method(sel_getUid("setSelectionIndexes:"),function(_11,_12,_13){
with(_11){
if(objj_msgSend(_13,"isEqualToIndexSet:",_selectionIndexes)){
return;
}
var _14={from:objj_msgSend(_13,"firstIndex"),to:objj_msgSend(_13,"lastIndex")};
var i,_15,_16=0;
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_15=objj_msgSend(_tokenViews,"objectAtIndex:",i);
if(objj_msgSend(_15,"isKindOfClass:",objj_msgSend(NAToken,"class"))){
if(_16>=_14.from&&_16<=_14.to){
objj_msgSend(_15,"setSelected:",YES);
}else{
objj_msgSend(_15,"setSelected:",NO);
}
}
if(objj_msgSend(_15,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_16+=objj_msgSend(objj_msgSend(_15,"stringValue"),"length");
}else{
_16+=1;
}
}
_selectionIndexes=_13;
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewDidChangeSelection:"))){
objj_msgSend(_delegate,"tokenTextViewDidChangeSelection:",_11);
}
objj_msgSend(_11,"setNeedsLayout");
}
}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_17,_18){
with(_17){
return editable;
}
}),new objj_method(sel_getUid("_updateAutoCompletion"),function(_19,_1a){
with(_19){
if(objj_msgSend(_19,"_currentTokenTextField")==nil){
return;
}
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewCurrentTokenDidChange:"))){
objj_msgSend(_delegate,"tokenTextViewCurrentTokenDidChange:",_19);
}
}
}),new objj_method(sel_getUid("_charDown:"),function(_1b,_1c,_1d){
with(_1b){
if(objj_msgSend(_selectionIndexes,"count")>0){
objj_msgSend(_1b,"_removeTokens:",_selectionIndexes);
}
var pos=objj_msgSend(_1b,"_indexForAnchorIndex:",_anchorIndex);
objj_msgSend(objj_msgSend(_1b,"_currentTokenTextField"),"addStringToStringValue:atIndex:",_1d,pos.offset);
_anchorIndex+=objj_msgSend(_1d,"length");
objj_msgSend(_1b,"_processMaxAnchorIndex");
objj_msgSend(_1b,"setNeedsLayout");
objj_msgSend(_1b,"_updateAutoCompletion");
}
}),new objj_method(sel_getUid("keyUp:"),function(_1e,_1f,_20){
with(_1e){
if(objj_msgSend(_20,"keyCode")==86&&(objj_msgSend(_20,"modifierFlags")&CPCommandKeyMask||objj_msgSend(_20,"modifierFlags")&CPControlKeyMask)){
return;
}
objj_msgSendSuper({receiver:_1e,super_class:objj_getClass("NATokenTextView").super_class},"keyUp:",_20);
}
}),new objj_method(sel_getUid("keyDown:"),function(_21,_22,_23){
with(_21){
if(objj_msgSend(_23,"keyCode")==67&&(objj_msgSend(_23,"modifierFlags")&CPCommandKeyMask||objj_msgSend(_23,"modifierFlags")&CPControlKeyMask)){
objj_msgSend(objj_msgSend(CPPasteboard,"generalPasteboard"),"declareTypes:owner:",[CPStringPboardType],nil);
objj_msgSend(objj_msgSend(CPPasteboard,"generalPasteboard"),"setString:forType:",objj_msgSend(_21,"_stringForTokens:",_selectionIndexes),CPStringPboardType);
}else{
if(objj_msgSend(_23,"keyCode")==86&&(objj_msgSend(_23,"modifierFlags")&CPCommandKeyMask||objj_msgSend(_23,"modifierFlags")&CPControlKeyMask)){
var _24=objj_msgSend(objj_msgSend(CPPasteboard,"generalPasteboard"),"stringForType:",CPStringPboardType);
window.setTimeout(function(){
_DOMInputElement.value="";
},0);
if(_24!=nil){
objj_msgSend(_21,"_removeTokens:",_selectionIndexes);
var _24=objj_msgSend(_24,"componentsSeparatedByString:",",");
var i;
for(i=0;i<objj_msgSend(_24,"count");++i){
objj_msgSend(_21,"addToken:",objj_msgSend(_24,"objectAtIndex:",i));
}
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewDidChangeTokens:"))){
objj_msgSend(_delegate,"tokenTextViewDidChangeTokens:",_21);
}
}
}else{
if(objj_msgSend(_23,"keyCode")==8){
if(objj_msgSend(_selectionIndexes,"count")>0){
objj_msgSend(_21,"_removeTokens:",_selectionIndexes);
}else{
var pos=objj_msgSend(_21,"_indexForAnchorIndex:",_anchorIndex);
if(pos.offset==0){
if(pos.index-1>=0){
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_anchorIndex-1));
}
}else{
var _25=objj_msgSend(_21,"_currentTokenTextField");
objj_msgSend(_25,"removeCharAtIndex:",pos.offset);
if(objj_msgSend(objj_msgSend(_25,"stringValue"),"length")==0){
objj_msgSend(_tokenViews,"removeObject:",_25);
objj_msgSend(_25,"removeFromSuperview");
_25=nil;
}
_anchorIndex-=1;
objj_msgSend(_21,"_processMaxAnchorIndex");
objj_msgSend(_21,"setNeedsLayout");
objj_msgSend(_21,"_updateAutoCompletion");
}
}
}else{
if(objj_msgSend(_23,"keyCode")==46){
if(objj_msgSend(_selectionIndexes,"count")>0){
objj_msgSend(_21,"_removeTokens:",_selectionIndexes);
}else{
var pos=objj_msgSend(_21,"_indexForAnchorIndex:",_anchorIndex);
var _25=objj_msgSend(_21,"_currentTokenTextField");
if(pos.offset==objj_msgSend(objj_msgSend(_25,"stringValue"),"length")){
if(_anchorIndex<=_maxAnchorIndex){
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_anchorIndex));
}
}else{
objj_msgSend(_25,"removeCharAtIndex:",pos.offset+1);
objj_msgSend(_21,"_processMaxAnchorIndex");
}
if(objj_msgSend(objj_msgSend(_25,"stringValue"),"length")==0){
objj_msgSend(_tokenViews,"removeObject:",_25);
objj_msgSend(_25,"removeFromSuperview");
_25=nil;
}
objj_msgSend(_21,"setNeedsLayout");
}
}else{
if(objj_msgSend(objj_msgSend(_23,"characters"),"compare:",",")==CPOrderedSame||objj_msgSend(_23,"keyCode")==13){
if(objj_msgSend(_23,"keyCode")==13&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewCompletionForToken:"))){
var _26=objj_msgSend(_delegate,"tokenTextViewCompletionForToken:",_21);
if(_26==nil){
objj_msgSend(_21,"_addCurrentToken:",nil);
}else{
objj_msgSend(_21,"_addCurrentToken:",_26);
}
}else{
objj_msgSend(_21,"_addCurrentToken:",nil);
}
objj_msgSend(_21,"_updateAutoCompletion");
}else{
if(objj_msgSend(_23,"keyCode")==CPRightArrowKeyCode){
if(objj_msgSend(_23,"modifierFlags")&CPCommandKeyMask){
if(objj_msgSend(_23,"modifierFlags")&CPShiftKeyMask){
if(objj_msgSend(_selectionIndexes,"count")>0){
var _27=objj_msgSend(_selectionIndexes,"copy");
objj_msgSend(_27,"addIndex:",_maxAnchorIndex);
objj_msgSend(_21,"setSelectionIndexes:",_27);
}else{
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_anchorIndex,_maxAnchorIndex-_anchorIndex)));
}
}
_anchorIndex=_maxAnchorIndex;
objj_msgSend(_21,"setNeedsLayout");
}else{
if(objj_msgSend(_23,"modifierFlags")&CPShiftKeyMask){
if(objj_msgSend(_selectionIndexes,"count")>0){
var _27=objj_msgSend(_selectionIndexes,"copy");
objj_msgSend(_27,"addIndex:",_anchorIndex);
objj_msgSend(_21,"setSelectionIndexes:",_27);
}else{
if(_anchorIndex>=0){
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_anchorIndex));
}
}
if(_anchorIndex<_maxAnchorIndex){
_anchorIndex+=1;
}
}else{
if(objj_msgSend(_selectionIndexes,"count")<=0){
if(_anchorIndex<_maxAnchorIndex){
_anchorIndex+=1;
}
}else{
_anchorIndex=objj_msgSend(_selectionIndexes,"lastIndex")+1;
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSet"));
}
objj_msgSend(_21,"setNeedsLayout");
}
}
}else{
if(objj_msgSend(_23,"keyCode")==CPLeftArrowKeyCode){
if(objj_msgSend(_23,"modifierFlags")&CPCommandKeyMask){
if(objj_msgSend(_23,"modifierFlags")&CPShiftKeyMask){
if(objj_msgSend(_selectionIndexes,"count")>0){
var _27=objj_msgSend(_selectionIndexes,"copy");
objj_msgSend(_27,"addIndex:",0);
objj_msgSend(_21,"setSelectionIndexes:",_27);
}else{
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(0,_anchorIndex)));
}
}
_anchorIndex=0;
objj_msgSend(_21,"setNeedsLayout");
}else{
if(objj_msgSend(_23,"modifierFlags")&CPShiftKeyMask){
if(_anchorIndex>0){
_anchorIndex-=1;
}
if(objj_msgSend(_selectionIndexes,"count")>0){
var _27=objj_msgSend(_selectionIndexes,"copy");
objj_msgSend(_27,"addIndex:",_anchorIndex);
objj_msgSend(_21,"setSelectionIndexes:",_27);
}else{
if(_anchorIndex>=0){
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_anchorIndex));
}
}
}else{
if(objj_msgSend(_selectionIndexes,"count")<=0){
if(_anchorIndex>0){
_anchorIndex-=1;
}
}else{
_anchorIndex=objj_msgSend(_selectionIndexes,"firstIndex");
objj_msgSend(_21,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSet"));
}
objj_msgSend(_21,"setNeedsLayout");
}
}
}else{
if((objj_msgSend(_23,"modifierFlags")&CPCommandKeyMask||objj_msgSend(_23,"modifierFlags")&CPControlKeyMask)&&objj_msgSend(_23,"keyCode")==65){
objj_msgSend(_21,"selectAll");
}else{
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextView:keyDown:"))){
objj_msgSend(_delegate,"tokenTextView:keyDown:",_21,_23);
}
objj_msgSend(objj_msgSend(objj_msgSend(_21,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
window.setTimeout(function(){
if(_DOMInputElement.value!=""){
objj_msgSend(_21,"_charDown:",_DOMInputElement.value);
}
_DOMInputElement.value="";
},0);
}
}
}
}
}
}
}
}
objj_msgSendSuper({receiver:_21,super_class:objj_getClass("NATokenTextView").super_class},"keyDown:",_23);
}
}),new objj_method(sel_getUid("selectAll"),function(_28,_29){
with(_28){
objj_msgSend(_28,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(0,_maxAnchorIndex)));
}
}),new objj_method(sel_getUid("_mergeTokenTextFields"),function(_2a,_2b){
with(_2a){
var i=0,_2c,_2d=nil;
var _2e=[];
while(i<objj_msgSend(_tokenViews,"count")){
_2c=objj_msgSend(_tokenViews,"objectAtIndex:",i);
if(objj_msgSend(_2c,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
if(_2d!=nil){
objj_msgSend(_2d,"setStringValue:",objj_msgSend(_2d,"stringValue")+objj_msgSend(_2c,"stringValue"));
objj_msgSend(_2e,"addObject:",_2c);
}
_2d=_2c;
}else{
_2d=nil;
}
i+=1;
}
for(i=0;i<objj_msgSend(_2e,"count");++i){
var _2c=objj_msgSend(_2e,"objectAtIndex:",i);
objj_msgSend(_tokenViews,"removeObject:",_2c);
objj_msgSend(_2c,"removeFromSuperview");
}
}
}),new objj_method(sel_getUid("_stringForTokens:"),function(_2f,_30,_31){
with(_2f){
var _32=CPMakeRange(objj_msgSend(_31,"firstIndex"),objj_msgSend(_31,"lastIndex")-objj_msgSend(_31,"firstIndex")+1);
var i,_33,_34=0,_35=0,_36="";
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_33=objj_msgSend(_tokenViews,"objectAtIndex:",i);
_35=_34;
if(objj_msgSend(_33,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_34+=objj_msgSend(objj_msgSend(_33,"stringValue"),"length");
}else{
_34+=1;
}
var _37=CPMakeRange(_35,_34-_35);
var _38=CPIntersectionRange(_32,_37);
if(_38.length>0){
if(objj_msgSend(_36,"compare:","")!=CPOrderedSame){
_36+=",";
}
if(objj_msgSend(_33,"isKindOfClass:",objj_msgSend(NAToken,"class"))){
_36+=objj_msgSend(_33,"stringValue");
}else{
_36+=objj_msgSend(objj_msgSend(_33,"stringValue"),"substringWithRange:",CPMakeRange(_38.location-_34,_38.length));
}
}
}
return _36;
}
}),new objj_method(sel_getUid("_removeTokens:"),function(_39,_3a,_3b){
with(_39){
if(objj_msgSend(_3b,"count")<=0){
return;
}
var _3c=CPMakeRange(objj_msgSend(_3b,"firstIndex"),objj_msgSend(_3b,"lastIndex")-objj_msgSend(_3b,"firstIndex")+1);
var _3d=[],i,_3e,_3f=0,_40=0;
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_3e=objj_msgSend(_tokenViews,"objectAtIndex:",i);
_40=_3f;
if(objj_msgSend(_3e,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_3f+=objj_msgSend(objj_msgSend(_3e,"stringValue"),"length");
}else{
_3f+=1;
}
var _41=CPMakeRange(_40,_3f-_40);
var _42=CPIntersectionRange(_3c,_41);
if(_42.length>0){
if(objj_msgSend(_3e,"isKindOfClass:",objj_msgSend(NAToken,"class"))){
objj_msgSend(_3d,"addObject:",_3e);
}else{
_42.location-=_40;
objj_msgSend(_3e,"removeFrom:to:",_42.location+1,_42.location+_42.length);
if(objj_msgSend(objj_msgSend(_3e,"stringValue"),"length")==0){
objj_msgSend(_3d,"addObject:",_3e);
}
}
}
}
for(i=0;i<objj_msgSend(_3d,"count");++i){
var _3e=objj_msgSend(_3d,"objectAtIndex:",i);
objj_msgSend(_tokenViews,"removeObject:",_3e);
objj_msgSend(_3e,"removeFromSuperview");
}
_anchorIndex=objj_msgSend(_3b,"firstIndex");
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewDidChangeTokens:"))){
objj_msgSend(_delegate,"tokenTextViewDidChangeTokens:",_39);
}
objj_msgSend(_39,"_mergeTokenTextFields");
objj_msgSend(_39,"_processMaxAnchorIndex");
objj_msgSend(_39,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSet"));
}
}),new objj_method(sel_getUid("_addCurrentToken:"),function(_43,_44,_45){
with(_43){
var _46=objj_msgSend(_43,"_currentTokenTextField");
var _47=objj_msgSend(objj_msgSend(_46,"stringValue"),"trim");
if(objj_msgSend(_47,"length")<=0){
objj_msgSend(_tokenViews,"removeObject:",_46);
objj_msgSend(_46,"removeFromSuperview");
_46=nil;
return;
}
if(_45!=nil){
_47=_45;
}
var pos=objj_msgSend(_43,"_indexForAnchorIndex:",_anchorIndex);
var _48=objj_msgSend(_tokenViews,"indexOfObject:",_46);
objj_msgSend(_tokenViews,"removeObject:",_46);
objj_msgSend(_46,"removeFromSuperview");
var _49=objj_msgSend(objj_msgSend(NAToken,"alloc"),"initWithLabel:",_47);
objj_msgSend(_49,"setField:",_43);
objj_msgSend(_containerView,"addSubview:",_49);
objj_msgSend(_tokenViews,"insertObject:atIndex:",_49,_48);
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewDidChangeTokens:"))){
objj_msgSend(_delegate,"tokenTextViewDidChangeTokens:",_43);
}
_anchorIndex+=-pos.offset+1;
objj_msgSend(_43,"_processMaxAnchorIndex");
objj_msgSend(_43,"setNeedsLayout");
}
}),new objj_method(sel_getUid("_currentTokenTextField"),function(_4a,_4b){
with(_4a){
var pos=objj_msgSend(_4a,"_indexForAnchorIndex:",_anchorIndex);
if(pos.index<objj_msgSend(_tokenViews,"count")){
var _4c=objj_msgSend(_tokenViews,"objectAtIndex:",pos.index);
if(objj_msgSend(_4c,"isKindOfClass:",NATokenTextField)){
return _4c;
}
}
var _4d=objj_msgSend(_4a,"_createTokenTextField");
objj_msgSend(_tokenViews,"insertObject:atIndex:",_4d,pos.index);
return _4d;
}
}),new objj_method(sel_getUid("_indexForAnchorIndex:"),function(_4e,_4f,_50){
with(_4e){
var i,_51=0,_52=0,_53,_54=NO,_55=0;
if(_50==0){
return {index:0,offset:0};
}
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_54=(i==objj_msgSend(_tokenViews,"count")-1);
_53=objj_msgSend(_tokenViews,"objectAtIndex:",i);
_52=_51;
if(objj_msgSend(_53,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_51+=objj_msgSend(objj_msgSend(_53,"stringValue"),"length");
_55=_50-_52;
}else{
_51+=1;
_55=0;
}
if(_54){
if(!objj_msgSend(_53,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
continue;
}
}else{
if(objj_msgSend(_53,"isKindOfClass:",objj_msgSend(NAToken,"class"))&&objj_msgSend(objj_msgSend(_tokenViews,"objectAtIndex:",i+1),"isKindOfClass:",objj_msgSend(NAToken,"class"))){
if(_50<=_51){
return {index:i+1,offset:_55};
}
}else{
if(objj_msgSend(objj_msgSend(_tokenViews,"objectAtIndex:",i+1),"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
continue;
}
}
}
if(_50<=_51){
return {index:i,offset:_55};
}
}
return {index:objj_msgSend(_tokenViews,"count"),offset:_55};
}
}),new objj_method(sel_getUid("_indexOfToken:"),function(_56,_57,_58){
with(_56){
var i,_59,_5a=0,_5b=0;
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_59=objj_msgSend(_tokenViews,"objectAtIndex:",i);
if(_59==_58){
return _5a;
}
if(objj_msgSend(_59,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_5a+=objj_msgSend(objj_msgSend(_59,"stringValue"),"length");
}else{
_5a+=1;
}
}
return _5a;
}
}),new objj_method(sel_getUid("_tokenMouseDown:object:"),function(_5c,_5d,_5e,_5f){
with(_5c){
objj_msgSend(objj_msgSend(_5c,"window"),"makeFirstResponder:",_5c);
objj_msgSend(_5c,"_focusInput");
if(objj_msgSend(_5e,"modifierFlags")&CPCommandKeyMask||objj_msgSend(_5e,"modifierFlags")&CPControlKeyMask||objj_msgSend(_5e,"modifierFlags")&CPShiftKeyMask){
var _60=objj_msgSend(_selectionIndexes,"copy"),_61=objj_msgSend(_5c,"_indexOfToken:",_5f);
objj_msgSend(_60,"addIndex:",_61);
objj_msgSend(_5c,"setSelectionIndexes:",_60);
}else{
objj_msgSend(_5c,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(_5c,"_indexOfToken:",_5f)));
}
}
}),new objj_method(sel_getUid("_processMaxAnchorIndex"),function(_62,_63){
with(_62){
_maxAnchorIndex=0;
var i,_64;
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_64=objj_msgSend(_tokenViews,"objectAtIndex:",i);
if(objj_msgSend(_64,"isKindOfClass:",NATokenTextField)){
_maxAnchorIndex+=objj_msgSend(objj_msgSend(_64,"stringValue"),"length");
}else{
_maxAnchorIndex+=1;
}
}
}
}),new objj_method(sel_getUid("_anchorIndexWithPoint:"),function(_65,_66,_67){
with(_65){
var i,_68,_69=0,_6a=0;
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_68=objj_msgSend(_tokenViews,"objectAtIndex:",i);
_6a=_69;
if(objj_msgSend(_68,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_69+=objj_msgSend(objj_msgSend(_68,"stringValue"),"length");
}else{
_69+=1;
}
if(_67.y>=objj_msgSend(_68,"frame").origin.y&&_67.y<=objj_msgSend(_68,"frame").origin.y+22&&_67.x>=objj_msgSend(_68,"frame").origin.x-6&&_67.x<=objj_msgSend(_68,"frame").origin.x+6){
return _6a;
}
}
return _69;
}
}),new objj_method(sel_getUid("mouseDown:"),function(_6b,_6c,_6d){
with(_6b){
if(!editable){
return;
}
objj_msgSend(objj_msgSend(_6b,"window"),"makeFirstResponder:",_6b);
objj_msgSend(_6b,"_focusInput");
objj_msgSend(_6b,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSet"));
_anchorIndex=objj_msgSend(_6b,"_anchorIndexWithPoint:",objj_msgSend(_6b,"convertPoint:fromView:",objj_msgSend(_6d,"locationInWindow"),nil));
objj_msgSend(_6b,"setNeedsLayout");
}
}),new objj_method(sel_getUid("becomeFirstResponder"),function(_6e,_6f){
with(_6e){
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewBecomeFirstResponder:"))){
objj_msgSend(_delegate,"tokenTextViewBecomeFirstResponder:",_6e);
}
objj_msgSend(_6e,"setThemeState:",CPThemeStateEditing);
objj_msgSend(_6e,"setNeedsLayout");
objj_msgSend(_6e,"_focusInput");
return YES;
}
}),new objj_method(sel_getUid("_focusInput"),function(_70,_71){
with(_70){
if(!editable){
return;
}
window.setTimeout(function(){
_DOMInputElement.focus();
},0);
}
}),new objj_method(sel_getUid("resignFirstResponder"),function(_72,_73){
with(_72){
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewResignFirstResponder:"))){
objj_msgSend(_delegate,"tokenTextViewResignFirstResponder:",_72);
}
objj_msgSend(_72,"_addCurrentToken:",nil);
objj_msgSend(_72,"unsetThemeState:",CPThemeStateEditing);
objj_msgSend(_72,"setNeedsLayout");
return YES;
}
}),new objj_method(sel_getUid("_widthForText:"),function(_74,_75,str){
with(_74){
var _76=0;
if(objj_msgSend(str,"length")>0){
objj_msgSend(_labelToHaveWithOfText,"setStringValue:",str);
objj_msgSend(_labelToHaveWithOfText,"sizeToFit");
_76=objj_msgSend(_labelToHaveWithOfText,"frame").size.width;
}
return _76;
}
}),new objj_method(sel_getUid("layoutSubviews"),function(_77,_78){
with(_77){
if(bezeled){
objj_msgSend(_77,"setBackgroundColor:",objj_msgSend(_77,"currentValueForThemeAttribute:","bezel-color"));
}else{
objj_msgSend(_77,"setBackgroundColor:",nil);
}
objj_msgSend(_anchor,"setHidden:",!(objj_msgSend(_selectionIndexes,"count")<=0&&objj_msgSend(_77,"hasThemeState:",CPThemeStateEditing)));
var _79;
if(objj_msgSend(_selectionIndexes,"count")<=0){
_79=CPMakeRange(0,0);
}else{
_79=CPMakeRange(objj_msgSend(_selectionIndexes,"firstIndex")+1,objj_msgSend(_selectionIndexes,"lastIndex")-objj_msgSend(_selectionIndexes,"firstIndex")+1);
}
var i,_7a=8,_7b=4,_7c=objj_msgSend(_77,"frame").size.width-_7a*2-26,x=_7a,y=_7b,_7d=nil,_7e=16,_7f=0,_80=nil,_81=nil,_82=NO;
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
var _83=_7f;
_7d=objj_msgSend(_tokenViews,"objectAtIndex:",i);
if(objj_msgSend(_7d,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
_7f+=objj_msgSend(objj_msgSend(_7d,"stringValue"),"length");
}else{
_7f+=1;
}
if(x+objj_msgSend(_7d,"frame").size.width>_7c+_7a){
x=_7a;
y+=_7e+4;
}
objj_msgSend(_7d,"setFrameOrigin:",CGPointMake(x,y));
if(_79.length>0){
if(_80==nil&&_79.location>=_83&&_79.location<=_7f){
var _84=0;
if(objj_msgSend(_7d,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
var str=objj_msgSend(objj_msgSend(_7d,"stringValue"),"substringToIndex:",[_79.location-_83-1]);
_84=objj_msgSend(_77,"_widthForText:",str);
if(_84>0){
_84-=2;
}
}
if(i==0&&_84==0){
_84-=1;
}
_80=CGPointMake(x+_84,y);
}
if(_80&&_81==nil&&_79.location+_79.length<=_7f){
var _84=0;
if(objj_msgSend(_7d,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
var str=objj_msgSend(objj_msgSend(_7d,"stringValue"),"substringToIndex:",[_79.location+_79.length-_83-1]);
_84=objj_msgSend(_77,"_widthForText:",str);
if(_84>0){
_84-=2;
}
}
_81=CGPointMake(x+_84,y);
}
}
if(_anchorIndex>=_83&&_anchorIndex<_7f){
var _84=0;
if(objj_msgSend(_7d,"isKindOfClass:",objj_msgSend(NATokenTextField,"class"))){
var str=objj_msgSend(objj_msgSend(_7d,"stringValue"),"substringToIndex:",[_anchorIndex-_83]);
_84=objj_msgSend(_77,"_widthForText:",str);
if(_84>0){
_84-=2;
}
}
var _85=x-2+_84,_86=y+2;
objj_msgSend(_anchor,"setFrameOrigin:",CGPointMake(_85,_86));
}
if(_7f!=_83){
x+=objj_msgSend(_7d,"frame").size.width+3;
}
}
if(_80&&_81==nil){
_81=CGPointMake(x,y);
}
if(_anchorIndex>=_7f){
var _85=x-1,_86=y+2;
objj_msgSend(_anchor,"setFrameOrigin:",CGPointMake(_85,_86));
}
if(_80&&_81){
_80.x-=2;
var _7c=objj_msgSend(_77,"frame").size.width;
var h=20;
var w=_7c-_80.x-2;
_80.y-=2;
_81.y-=2;
if(_81.y==_80.y){
w=_81.x-_80.x-2;
objj_msgSend(_selectionBackground2,"setFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground3,"setFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground1,"setFrame:",CGRectMake(_80.x,_80.y,w,h));
}else{
objj_msgSend(_selectionBackground1,"setFrame:",CGRectMake(_80.x,_80.y,w,h));
objj_msgSend(_selectionBackground3,"setFrame:",CGRectMake(2,_81.y,_81.x-4,h));
objj_msgSend(_selectionBackground2,"setFrame:",CGRectMake(2,objj_msgSend(_selectionBackground1,"frame").origin.y+h,_7c-4,objj_msgSend(_selectionBackground3,"frame").origin.y-objj_msgSend(_selectionBackground1,"frame").origin.y-h));
}
}else{
objj_msgSend(_selectionBackground1,"setFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground2,"setFrame:",CGRectMakeZero());
objj_msgSend(_selectionBackground3,"setFrame:",CGRectMakeZero());
}
y+=_7e+_7b;
if(y<_minHeight){
y=_minHeight;
}
actualH=objj_msgSend(_77,"frame").size.height;
objj_msgSend(_77,"setFrameSize:",CGSizeMake(objj_msgSend(_77,"frame").size.width,MIN(_maxHeight,y)));
objj_msgSend(_containerView,"setFrameSize:",CGSizeMake(objj_msgSend(_77,"frame").size.width-20,y));
objj_msgSend(objj_msgSend(_theScrollView,"contentView"),"scrollToPoint:",CGPointMake(0,y));
objj_msgSend(_theScrollView,"reflectScrolledClipView:",objj_msgSend(_theScrollView,"contentView"));
if(actualH!=y&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewFrameSizeDidChange:"))){
objj_msgSend(_delegate,"tokenTextViewFrameSizeDidChange:",_77);
}
var _87=objj_msgSend(objj_msgSend(_77,"_currentTokenTextField"),"frame").origin;
if(_tokenOrigin!=_87){
_tokenOrigin=_87;
if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tokenTextViewCurrentTokenOriginDidChange:"))){
objj_msgSend(_delegate,"tokenTextViewCurrentTokenOriginDidChange:",_77);
}
}
}
}),new objj_method(sel_getUid("clear"),function(_88,_89){
with(_88){
_maxAnchorIndex=0;
_selectionIndexes=objj_msgSend(CPIndexSet,"indexSet");
_anchorIndex=0;
while(objj_msgSend(_tokenViews,"count")>0){
var _8a=objj_msgSend(_tokenViews,"objectAtIndex:",0);
objj_msgSend(_8a,"removeFromSuperview");
objj_msgSend(_tokenViews,"removeObjectAtIndex:",0);
}
objj_msgSend(_88,"setNeedsLayout");
}
}),new objj_method(sel_getUid("addToken:"),function(_8b,_8c,_8d){
with(_8b){
var _8e=objj_msgSend(objj_msgSend(NAToken,"alloc"),"initWithLabel:",_8d);
objj_msgSend(_8e,"setField:",_8b);
objj_msgSend(_containerView,"addSubview:",_8e);
objj_msgSend(_tokenViews,"insertObject:atIndex:",_8e,_anchorIndex);
_anchorIndex+=1;
objj_msgSend(_8b,"_processMaxAnchorIndex");
objj_msgSend(_8b,"setNeedsLayout");
}
}),new objj_method(sel_getUid("setTokens:"),function(_8f,_90,_91){
with(_8f){
objj_msgSend(_8f,"clear");
var i;
for(i=0;i<objj_msgSend(_91,"count");++i){
objj_msgSend(_8f,"addToken:",objj_msgSend(_91,"objectAtIndex:",i));
}
}
}),new objj_method(sel_getUid("tokens"),function(_92,_93){
with(_92){
var i,_94,_95=[];
for(i=0;i<objj_msgSend(_tokenViews,"count");++i){
_94=objj_msgSend(_tokenViews,"objectAtIndex:",i);
if(objj_msgSend(_94,"isKindOfClass:",NAToken)){
objj_msgSend(_95,"addObject:",objj_msgSend(_94,"stringValue"));
}
}
return _95;
}
}),new objj_method(sel_getUid("currentTokenStringValue"),function(_96,_97){
with(_96){
return objj_msgSend(objj_msgSend(_96,"_currentTokenTextField"),"stringValue");
}
}),new objj_method(sel_getUid("currentTokenOrigin"),function(_98,_99){
with(_98){
return _tokenOrigin;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_9a,_9b,_9c){
with(_9a){
_delegate=_9c;
}
}),new objj_method(sel_getUid("delegate"),function(_9d,_9e){
with(_9d){
return _delegate;
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_9f,_a0){
with(_9f){
return "textfield";
}
}),new objj_method(sel_getUid("themeAttributes"),function(_a1,_a2){
with(_a1){
return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[CGInsetMakeZero(),CGInsetMake(2,2,2,2),objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"blackColor"),objj_msgSend(CPFont,"systemFontOfSize:",12)],["bezel-inset","content-inset","bezel-color","text-color","font"]);
}
})]);
var _1=objj_allocateClassPair(CPView,"NAToken"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_label"),new objj_ivar("_isSelected"),new objj_ivar("_normalImage"),new objj_ivar("_selectedImage"),new objj_ivar("_field")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("setField:"),function(_a3,_a4,_a5){
with(_a3){
_field=_a5;
}
}),new objj_method(sel_getUid("initWithLabel:"),function(_a6,_a7,_a8){
with(_a6){
_a6=objj_msgSendSuper({receiver:_a6,super_class:objj_getClass("NAToken").super_class},"initWithFrame:",CGRectMakeZero());
if(_a6){
_isSelected=NO;
_DOMElement.style.cursor="default";
_normalImage=objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","tags/tag_l.png"),CGSizeMake(9,16)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","tags/tag_c.png"),CGSizeMake(1,16)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","tags/tag_r.png"),CGSizeMake(8,16))],NO);
objj_msgSend(_a6,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_normalImage));
_label=objj_msgSend(CPTextField,"labelWithTitle:",_a8);
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","000000"),"text-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPFont,"systemFontOfSize:",12),"font");
objj_msgSend(_label,"setValue:forThemeAttribute:",CGInsetMake(2,3,2,2),"content-inset");
objj_msgSend(_a6,"addSubview:",_label);
var _a9=5;
objj_msgSend(_label,"sizeToFit");
objj_msgSend(_label,"setFrameOrigin:",CGPointMake(_a9,0));
objj_msgSend(_a6,"setFrameSize:",CGSizeMake(objj_msgSend(_label,"frame").size.width+_a9*2,16));
}
return _a6;
}
}),new objj_method(sel_getUid("stringValue"),function(_aa,_ab){
with(_aa){
return objj_msgSend(_label,"stringValue");
}
}),new objj_method(sel_getUid("mouseDown:"),function(_ac,_ad,_ae){
with(_ac){
if(objj_msgSend(_field,"editable")){
objj_msgSend(_field,"_tokenMouseDown:object:",_ae,_ac);
}
}
}),new objj_method(sel_getUid("setSelected:"),function(_af,_b0,_b1){
with(_af){
_isSelected=_b1;
objj_msgSend(_af,"setNeedsLayout");
}
}),new objj_method(sel_getUid("isSelected"),function(_b2,_b3){
with(_b2){
return _isSelected;
}
}),new objj_method(sel_getUid("layoutSubviews"),function(_b4,_b5){
with(_b4){
if(objj_msgSend(_b4,"isSelected")){
if(!_selectedImage){
_selectedImage=objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","tags/selected_tag_l.png"),CGSizeMake(9,16)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","tags/selected_tag_c.png"),CGSizeMake(1,16)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","tags/selected_tag_r.png"),CGSizeMake(8,16))],NO);
}
objj_msgSend(_b4,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_selectedImage));
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","ffffff"),"text-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"clearColor"),"text-shadow-color");
}else{
objj_msgSend(_b4,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_normalImage));
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","000000"),"text-color");
}
}
})]);
var _1=objj_allocateClassPair(CPView,"NATokenTextField"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_label")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_b6,_b7){
with(_b6){
_b6=objj_msgSendSuper({receiver:_b6,super_class:objj_getClass("NATokenTextField").super_class},"initWithFrame:",CGRectMakeZero());
if(_b6){
_label=objj_msgSend(CPTextField,"labelWithTitle:","");
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","000000"),"text-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPFont,"systemFontOfSize:",12),"font");
objj_msgSend(_label,"setValue:forThemeAttribute:",CGInsetMake(2,0,2,0),"content-inset");
objj_msgSend(_b6,"addSubview:",_label);
}
return _b6;
}
}),new objj_method(sel_getUid("setStringValue:"),function(_b8,_b9,_ba){
with(_b8){
objj_msgSend(_label,"setStringValue:",_ba);
objj_msgSend(_b8,"setNeedsLayout");
}
}),new objj_method(sel_getUid("stringValue"),function(_bb,_bc){
with(_bb){
return objj_msgSend(_label,"stringValue");
}
}),new objj_method(sel_getUid("addStringToStringValue:atIndex:"),function(_bd,_be,_bf,_c0){
with(_bd){
var str=objj_msgSend(objj_msgSend(_bd,"stringValue"),"substringToIndex:",_c0)+_bf+objj_msgSend(objj_msgSend(_bd,"stringValue"),"substringFromIndex:",_c0);
objj_msgSend(_bd,"setStringValue:",str);
}
}),new objj_method(sel_getUid("removeCharAtIndex:"),function(_c1,_c2,_c3){
with(_c1){
var str=objj_msgSend(objj_msgSend(_c1,"stringValue"),"substringToIndex:",_c3-1)+objj_msgSend(objj_msgSend(_c1,"stringValue"),"substringFromIndex:",_c3);
objj_msgSend(_c1,"setStringValue:",str);
}
}),new objj_method(sel_getUid("removeFrom:to:"),function(_c4,_c5,_c6,to){
with(_c4){
var str="";
if(_c6>0){
str+=objj_msgSend(objj_msgSend(_c4,"stringValue"),"substringToIndex:",_c6-1);
}
str+=objj_msgSend(objj_msgSend(_c4,"stringValue"),"substringFromIndex:",to);
objj_msgSend(_c4,"setStringValue:",str);
}
}),new objj_method(sel_getUid("layoutSubviews"),function(_c7,_c8){
with(_c7){
objj_msgSend(_label,"sizeToFit");
objj_msgSend(_c7,"setFrameSize:",objj_msgSend(_label,"frame").size);
}
})]);
var _1=objj_getClass("CPString");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"CPString\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("trim"),function(_c9,_ca){
with(_c9){
var _cb=objj_msgSend(_c9,"copy");
while(objj_msgSend(_cb,"hasPrefix:"," ")||objj_msgSend(_cb,"hasPrefix:","\n")||objj_msgSend(_cb,"hasPrefix:","\r")||objj_msgSend(_cb,"hasPrefix:","\t")){
_cb=objj_msgSend(_cb,"substringFromIndex:",1);
}
while(objj_msgSend(_cb,"hasSuffix:"," ")||objj_msgSend(_cb,"hasSuffix:","\n")||objj_msgSend(_cb,"hasSuffix:","\r")||objj_msgSend(_cb,"hasSuffix:","\t")){
if(objj_msgSend(_cb,"compare:","")==CPOrderedSame){
return _cb;
}
_cb=objj_msgSend(_cb,"substringToIndex:",objj_msgSend(_cb,"length")-1);
}
return _cb;
}
})]);
var _1=objj_allocateClassPair(CPWindow,"NAMenu"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_items"),new objj_ivar("_content"),new objj_ivar("_backgroundImage"),new objj_ivar("_selectedIndex")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_cc,_cd){
with(_cc){
_cc=objj_msgSendSuper({receiver:_cc,super_class:objj_getClass("NAMenu").super_class},"initWithContentRect:styleMask:",CGRectMake(20,20,100,100),CPBorderlessWindowMask);
if(_cc){
if(!_backgroundImage){
var _ce=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPMenuWindow,"class"));
_backgroundImage=objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded0.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindow1.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded2.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded6.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindow7.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ce,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded8.png"),CGSizeMake(4,4))]);
}
backgroundColor=objj_msgSend(CPColor,"colorWithPatternImage:",_backgroundImage);
objj_msgSend(_windowView,"setBackgroundColor:",backgroundColor);
objj_msgSend(_contentView,"setFrame:",CGRectMake(5,4,objj_msgSend(_cc,"frame").size.width-10,objj_msgSend(_cc,"frame").size.height-10));
_selectedIndex=0;
}
return _cc;
}
}),new objj_method(sel_getUid("selectedItem"),function(_cf,_d0){
with(_cf){
if(_selectedIndex>=0&&_selectedIndex<objj_msgSend(_content,"count")){
return objj_msgSend(_content,"objectAtIndex:",_selectedIndex);
}
return nil;
}
}),new objj_method(sel_getUid("previous"),function(_d1,_d2){
with(_d1){
_selectedIndex-=1;
if(_selectedIndex<0){
_selectedIndex=objj_msgSend(_content,"count")-1;
}
objj_msgSend(_d1,"layoutSubviews");
}
}),new objj_method(sel_getUid("next"),function(_d3,_d4){
with(_d3){
_selectedIndex+=1;
if(_selectedIndex>=objj_msgSend(_content,"count")){
_selectedIndex=0;
}
objj_msgSend(_d3,"layoutSubviews");
}
}),new objj_method(sel_getUid("setContent:"),function(_d5,_d6,_d7){
with(_d5){
_content=_d7;
objj_msgSend(_d5,"reloadContent");
}
}),new objj_method(sel_getUid("reloadContent"),function(_d8,_d9){
with(_d8){
var i,_da;
if(!_items){
_items=[];
}
while(objj_msgSend(_content,"count")>objj_msgSend(_items,"count")){
objj_msgSend(_items,"addObject:",objj_msgSend(objj_msgSend(NAMenuItem,"alloc"),"init"));
}
for(i=0;i<objj_msgSend(_items,"count");++i){
_da=objj_msgSend(_items,"objectAtIndex:",i);
if(i<objj_msgSend(_content,"count")){
objj_msgSend(_da,"setRepresentedObject:",objj_msgSend(_content,"objectAtIndex:",i));
objj_msgSend(objj_msgSend(_d8,"contentView"),"addSubview:",_da);
}else{
objj_msgSend(_da,"removeFromSuperview");
}
}
if(_selectedIndex>=objj_msgSend(_content,"count")){
_selectedIndex=objj_msgSend(_content,"count")-1;
}
objj_msgSend(_d8,"layoutSubviews");
}
}),new objj_method(sel_getUid("layoutSubviews"),function(_db,_dc){
with(_db){
var i,_dd,h=0,w=10;
for(i=0;i<objj_msgSend(_content,"count");++i){
if(i>=objj_msgSend(_items,"count")){
break;
}
var _de=objj_msgSend(objj_msgSend(_items,"objectAtIndex:",i),"minWidth");
if(_de>w){
w=_de;
}
}
for(i=0;i<objj_msgSend(_content,"count");++i){
if(i>=objj_msgSend(_items,"count")){
break;
}
_dd=objj_msgSend(_items,"objectAtIndex:",i);
objj_msgSend(_dd,"setFrame:",CGRectMake(0,h,w,objj_msgSend(NAMenuItem,"height")));
objj_msgSend(_dd,"setFirst:",(i==0));
objj_msgSend(_dd,"setLast:",(i==objj_msgSend(_items,"count")-1));
objj_msgSend(_dd,"setSelected:",(i==_selectedIndex));
h+=objj_msgSend(NAMenuItem,"height");
}
objj_msgSend(_db,"setFrameSize:",CGSizeMake(w,h));
}
}),new objj_method(sel_getUid("setFrameSize:"),function(_df,_e0,_e1){
with(_df){
_e1.width+=10;
_e1.height+=10;
objj_msgSendSuper({receiver:_df,super_class:objj_getClass("NAMenu").super_class},"setFrameSize:",_e1);
objj_msgSend(_df,"_checkBordersAndSetFrameOrigin:",objj_msgSend(_df,"frame").origin);
}
}),new objj_method(sel_getUid("setFrameOrigin:"),function(_e2,_e3,_e4){
with(_e2){
_e4.x-=5;
_e4.y-=4;
objj_msgSend(_e2,"_checkBordersAndSetFrameOrigin:",_e4);
}
}),new objj_method(sel_getUid("_checkBordersAndSetFrameOrigin:"),function(_e5,_e6,_e7){
with(_e5){
var _e8=objj_msgSend(objj_msgSend(objj_msgSend(CPApplication,"sharedApplication"),"mainWindow"),"frame").size.width;
var _e9=_e7.x+objj_msgSend(_e5,"frame").size.width;
if(_e9>_e8){
_e7.x=_e8-objj_msgSend(_e5,"frame").size.width;
}
objj_msgSendSuper({receiver:_e5,super_class:objj_getClass("NAMenu").super_class},"setFrameOrigin:",_e7);
}
})]);
var _ea=objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_l.png"),CGSizeMake(1,21)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_t.png"),CGSizeMake(1,21)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_l.png"),CGSizeMake(1,21))],NO),_eb=objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_tl.png"),CGSizeMake(4,21)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_t.png"),CGSizeMake(1,21)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_tr.png"),CGSizeMake(4,21))],NO),_ec=objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_bl.png"),CGSizeMake(4,21)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_b.png"),CGSizeMake(1,21)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","menu/selected_br.png"),CGSizeMake(4,21))],NO);
var _1=objj_allocateClassPair(CPView,"NAMenuItem"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_object"),new objj_ivar("_label"),new objj_ivar("_isLast"),new objj_ivar("_isFirst"),new objj_ivar("_isSelected")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("minWidth"),function(_ed,_ee){
with(_ed){
if(!_label){
return 0;
}
objj_msgSend(_label,"sizeToFit");
return objj_msgSend(_label,"frame").size.width+6;
}
}),new objj_method(sel_getUid("setFirst:"),function(_ef,_f0,_f1){
with(_ef){
if(_f1==_isFirst){
return;
}
_isFirst=_f1;
objj_msgSend(_ef,"setNeedsLayout");
}
}),new objj_method(sel_getUid("setLast:"),function(_f2,_f3,_f4){
with(_f2){
if(_f4==_isLast){
return;
}
_isLast=_f4;
objj_msgSend(_f2,"setNeedsLayout");
}
}),new objj_method(sel_getUid("setSelected:"),function(_f5,_f6,_f7){
with(_f5){
if(_f7==_isSelected){
return;
}
_isSelected=_f7;
objj_msgSend(_f5,"setNeedsLayout");
}
}),new objj_method(sel_getUid("setRepresentedObject:"),function(_f8,_f9,_fa){
with(_f8){
if(!_label){
_label=objj_msgSend(CPTextField,"labelWithTitle:","");
objj_msgSend(_label,"setFrame:",CGRectMake(3,2,0,0));
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPFont,"systemFontOfSize:",12),"font");
objj_msgSend(_f8,"addSubview:",_label);
}
objj_msgSend(_label,"setStringValue:",_fa["name"]);
objj_msgSend(_label,"sizeToFit");
objj_msgSend(_f8,"setNeedsLayout");
}
}),new objj_method(sel_getUid("layoutSubviews"),function(_fb,_fc){
with(_fb){
if(!_isSelected){
objj_msgSend(_fb,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor"));
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","3d3d3d"),"text-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",1,0.94),"text-shadow-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",CGSizeMake(0,1),"text-shadow-offset");
}else{
if(_isFirst){
objj_msgSend(_fb,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_eb));
}else{
if(_isLast){
objj_msgSend(_fb,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_ec));
}else{
objj_msgSend(_fb,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_ea));
}
}
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","FFFFFF"),"text-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",0,0.2),"text-shadow-color");
objj_msgSend(_label,"setValue:forThemeAttribute:",CGSizeMake(0,-1),"text-shadow-offset");
}
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("height"),function(_fd,_fe){
with(_fd){
return 21;
}
})]);
p;16;NoLocationView.jt;4841;@STATIC;1.0;t;4822;
var _1=objj_allocateClassPair(CPView,"NoLocationView"),_2=_1.isa;
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){
with(_3){
_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("NoLocationView").super_class},"initWithFrame:",_5);
if(_3){
objj_msgSend(_3,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHexString:","EEEEEE"));
var _6=objj_msgSend(CPTextField,"new");
objj_msgSend(_6,"setStringValue:","No Location Selected");
objj_msgSend(_6,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",36));
objj_msgSend(_6,"sizeToFit");
objj_msgSend(_6,"setCenter:",CGPointMake(CGRectGetMidX(_5),60));
objj_msgSend(_6,"setAutoresizingMask:",CPViewMaxYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(_6,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","555555"));
objj_msgSend(_6,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(_6,"setTextShadowOffset:",CGSizeMake(0,2));
objj_msgSend(_3,"addSubview:",_6);
var _7=objj_msgSend(CPBundle,"mainBundle"),_8=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/1.png"),CGSizeMake(14,13)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/2.png"),CGSizeMake(9,13)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/3.png"),CGSizeMake(10,13)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/4.png"),CGSizeMake(14,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/5.png"),CGSizeMake(6,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/6.png"),CGSizeMake(10,7)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/7.png"),CGSizeMake(14,8)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/8.png"),CGSizeMake(9,8)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","WellView/9.png"),CGSizeMake(10,8))])),_9=objj_msgSend(LocationEditView,"customBigButton");
objj_msgSend(_9,"setFrame:",CGRectMake((_5.size.width/2-25)-91,90,84,39));
objj_msgSend(_9,"setAutoresizingMask:",CPViewMaxYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(_9,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","SignPost.png"),CGSizeMake(32,32)));
objj_msgSend(_9,"setImagePosition:",CPImageOnly);
objj_msgSend(_9,"setTarget:",objj_msgSend(CPApp,"delegate"));
objj_msgSend(_9,"setAction:",sel_getUid("addNewLocation:"));
objj_msgSend(_3,"addSubview:",_9);
var _9=objj_msgSend(LocationEditView,"customBigButton");
objj_msgSend(_9,"setFrame:",CGRectMake(_5.size.width/2-25,90,84,39));
objj_msgSend(_9,"setAutoresizingMask:",CPViewMaxYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(_9,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","help.png"),CGSizeMake(32,32)));
objj_msgSend(_9,"setImagePosition:",CPImageOnly);
objj_msgSend(_3,"addSubview:",_9);
var _9=objj_msgSend(LocationEditView,"customBigButton");
objj_msgSend(_9,"setFrame:",CGRectMake(_5.size.width/2-25+91,90,84,39));
objj_msgSend(_9,"setAutoresizingMask:",CPViewMaxYMargin|CPViewMinXMargin|CPViewMaxXMargin);
objj_msgSend(_9,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","iPhoneIcon.png"),CGSizeMake(32,32)));
objj_msgSend(_9,"setImagePosition:",CPImageOnly);
objj_msgSend(_3,"addSubview:",_9);
var _9=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(50,300,_5.size.width-100,90)),_a=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(53,285,0,0));
objj_msgSend(_a,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",12));
objj_msgSend(_a,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","555555"));
objj_msgSend(_a,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(_a,"setTextShadowOffset:",CGSizeMake(0,1));
objj_msgSend(_a,"setStringValue:","Import Queue");
objj_msgSend(_a,"sizeToFit");
objj_msgSend(_9,"setBackgroundColor:",_8);
objj_msgSend(_9,"setAutoresizingMask:",CPViewWidthSizable);
objj_msgSend(_3,"addSubview:",_a);
objj_msgSend(_3,"addSubview:",_9);
}
return _3;
}
})]);
p;15;RLFileWrapper.jt;1102;@STATIC;1.0;t;1083;
var _1=objj_allocateClassPair(CPObject,"RLFileWrapper"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_fileAttributes"),new objj_ivar("_filename"),new objj_ivar("_preferredFilename"),new objj_ivar("_contentData")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("_fileAttributes"),function(_3,_4){
with(_3){
return _fileAttributes;
}
}),new objj_method(sel_getUid("_setFileAttributes:"),function(_5,_6,_7){
with(_5){
_fileAttributes=_7;
}
}),new objj_method(sel_getUid("_filename"),function(_8,_9){
with(_8){
return _filename;
}
}),new objj_method(sel_getUid("_setFilename:"),function(_a,_b,_c){
with(_a){
_filename=_c;
}
}),new objj_method(sel_getUid("_preferredFilename"),function(_d,_e){
with(_d){
return _preferredFilename;
}
}),new objj_method(sel_getUid("_setPreferredFilename:"),function(_f,_10,_11){
with(_f){
_preferredFilename=_11;
}
}),new objj_method(sel_getUid("_contentData"),function(_12,_13){
with(_12){
return _contentData;
}
}),new objj_method(sel_getUid("_setContentData:"),function(_14,_15,_16){
with(_14){
_contentData=_16;
}
})]);
p;11;RLMapView.jt;7681;@STATIC;1.0;t;7662;
var _1=objj_allocateClassPair(CPView,"RLMapView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("mapView"),new objj_ivar("editView"),new objj_ivar("addressField"),new objj_ivar("mapTypeMenu"),new objj_ivar("changeButton"),new objj_ivar("bigCurl"),new objj_ivar("isEditing")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){
with(_3){
_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("RLMapView").super_class},"initWithFrame:",_5);
if(_3){
isEditing=NO;
var _6=objj_msgSend(CPBundle,"mainBundle"),_7=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_6,"pathForResource:","content-background.png"),CGSizeMake(159,159));
editView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,_5.size.width,_5.size.height));
objj_msgSend(editView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(editView,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",_7));
_3._DOMElement.style.border="1px solid #bbb";
addressField=objj_msgSend(LocationEditView,"customMultiLineTextField");
objj_msgSend(addressField,"setDelegate:",_3);
objj_msgSend(addressField,"setFrame:",CGRectMake(15,15,_5.size.width-30,60));
objj_msgSend(addressField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",13));
objj_msgSend(addressField,"setPlaceholderString:","Location Address");
objj_msgSend(addressField,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(addressField,"setTarget:",_3);
objj_msgSend(addressField,"setAction:",sel_getUid("updateAddress:"));
objj_msgSend(editView,"addSubview:",addressField);
var _8=objj_msgSend(CPTextField,"new");
objj_msgSend(_8,"setFrameOrigin:",CGPointMake(15,90));
objj_msgSend(_8,"setStringValue:","Map Type:");
objj_msgSend(_8,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12));
objj_msgSend(_8,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",79/255,0.8),"text-color");
objj_msgSend(_8,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",240/255,1),"text-shadow-color");
objj_msgSend(_8,"setValue:forThemeAttribute:inState:",CGSizeMake(0,1),"text-shadow-offset",CPThemeStateBordered);
objj_msgSend(_8,"sizeToFit");
objj_msgSend(editView,"addSubview:",_8);
mapTypeMenu=objj_msgSend(objj_msgSend(CPPopUpButton,"alloc"),"initWithFrame:",CGRectMake(15,110,_5.size.width-30,24));
objj_msgSend(mapTypeMenu,"setAutoresizingMask:",CPViewWidthSizable);
objj_msgSend(mapTypeMenu,"addItemsWithTitles:",["Standard","Hybrid","Satellite","Terrain"]);
objj_msgSend(mapTypeMenu,"setTarget:",_3);
objj_msgSend(mapTypeMenu,"setAction:",sel_getUid("setMapType:"));
objj_msgSend(editView,"addSubview:",mapTypeMenu);
var _9=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_5.size.width-115,_5.size.height-39,100,24));
objj_msgSend(_9,"setTitle:","Done");
objj_msgSend(_9,"setDefaultButton:",YES);
objj_msgSend(_9,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin);
objj_msgSend(_9,"setTarget:",_3);
objj_msgSend(_9,"setAction:",sel_getUid("hideEditView:"));
objj_msgSend(editView,"addSubview:",_9);
mapView=objj_msgSend(objj_msgSend(MKMapView,"alloc"),"initWithFrame:",CGRectMake(0,0,_5.size.width,_5.size.height));
objj_msgSend(mapView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(mapView,"setDoubleTarget:",_3);
objj_msgSend(mapView,"setDoubleAction:",sel_getUid("showEditView:"));
objj_msgSend(_3,"addSubview:",mapView);
changeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_5.size.width-45,_5.size.height-40,45,40));
objj_msgSend(changeButton,"setBordered:",NO);
objj_msgSend(changeButton,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_6,"pathForResource:","RLMapViewCorner.png"),CGSizeMake(45,40)));
objj_msgSend(changeButton,"setImagePosition:",CPImageOnly);
objj_msgSend(changeButton,"setAutoresizingMask:",CPViewMinYMargin|CPViewMinXMargin);
objj_msgSend(changeButton,"setTarget:",_3);
objj_msgSend(changeButton,"setAction:",sel_getUid("showEditView:"));
objj_msgSend(_3,"addSubview:",changeButton);
}
return _3;
}
}),new objj_method(sel_getUid("mapViewDidLoad:"),function(_a,_b,_c){
with(_a){
console.log("bam");
}
}),new objj_method(sel_getUid("mapViewWillLoad:"),function(_d,_e,_f){
with(_d){
console.log("load");
}
}),new objj_method(sel_getUid("updateAddress:"),function(_10,_11,_12){
with(_10){
}
}),new objj_method(sel_getUid("showEditView:"),function(_13,_14,_15){
with(_13){
isEditing=YES;
var _16={modalView:editView};
objj_msgSend(_13,"addSubview:",editView);
var _17=objj_msgSend(CPDictionary,"new"),_18=objj_msgSend(mapView,"frame");
objj_msgSend(_13,"addSubview:",editView);
objj_msgSend(_17,"setValue:forKey:",editView,CPViewAnimationTargetKey);
objj_msgSend(_17,"setValue:forKey:",_18,CPViewAnimationStartFrameKey);
objj_msgSend(_17,"setValue:forKey:",_18,CPViewAnimationEndFrameKey);
objj_msgSend(_17,"setValue:forKey:",CPViewAnimationFadeInEffect,CPViewAnimationEffectKey);
var _19=objj_msgSend(objj_msgSend(CPViewAnimation,"alloc"),"initWithViewAnimations:",[_17]);
objj_msgSend(_19,"startAnimation");
}
}),new objj_method(sel_getUid("hideEditView:"),function(_1a,_1b,_1c){
with(_1a){
isEditing=NO;
objj_msgSend(_1a,"addSubview:",editView);
var _1d=objj_msgSend(CPDictionary,"new"),_1e=objj_msgSend(mapView,"frame");
objj_msgSend(_1d,"setValue:forKey:",editView,CPViewAnimationTargetKey);
objj_msgSend(_1d,"setValue:forKey:",_1e,CPViewAnimationStartFrameKey);
objj_msgSend(_1d,"setValue:forKey:",_1e,CPViewAnimationEndFrameKey);
objj_msgSend(_1d,"setValue:forKey:",CPViewAnimationFadeOutEffect,CPViewAnimationEffectKey);
var _1f=objj_msgSend(objj_msgSend(CPViewAnimation,"alloc"),"initWithViewAnimations:",[_1d]);
objj_msgSend(_1f,"startAnimation");
}
}),new objj_method(sel_getUid("mouseDown:"),function(_20,_21,_22){
with(_20){
if(objj_msgSend(_22,"clickCount")<2){
return;
}
if(isEditing){
objj_msgSend(_20,"hideEditView:",_20);
}else{
objj_msgSend(_20,"showEditView:",_20);
}
}
}),new objj_method(sel_getUid("setAddress:"),function(_23,_24,_25){
with(_23){
objj_msgSend(addressField,"setStringValue:",_25);
objj_msgSend(mapView,"takeStringAddressFrom:",addressField);
}
}),new objj_method(sel_getUid("setMapType:"),function(_26,_27,_28){
with(_26){
if(objj_msgSend(_28,"isKindOfClass:",objj_msgSend(CPPopUpButton,"class"))){
var _28=objj_msgSend(_28,"indexOfSelectedItem");
}else{
}
objj_msgSend(mapView,"setMapType:",_28);
}
})]);
var _1=objj_getClass("MKMapView");
if(!_1){
throw new SyntaxError("*** Could not find definition for class \"MKMapView\"");
}
var _2=_1.isa;
class_addMethods(_1,[new objj_method(sel_getUid("setDoubleTarget:"),function(_29,_2a,_2b){
with(_29){
doubleTarget=_2b;
}
}),new objj_method(sel_getUid("setDoubleAction:"),function(_2c,_2d,_2e){
with(_2c){
doubleAction=_2e;
}
}),new objj_method(sel_getUid("mouseDown:"),function(_2f,_30,_31){
with(_2f){
if(objj_msgSend(_31,"clickCount")===2&&doubleTarget&&doubleAction){
objj_msgSend(doubleTarget,doubleAction,_2f);
return;
}
objj_msgSend(_2f,"trackPan:",_31);
objj_msgSendSuper({receiver:_2f,super_class:objj_getClass("MKMapView").super_class},"mouseDown:",_31);
}
}),new objj_method(sel_getUid("addMarker:atLocation:"),function(_32,_33,_34,_35){
with(_32){
if(_mapReady){
var _36=objj_msgSend(_34,"gMarker");
_36.setLatLng(objj_msgSend(_35,"googleLatLng"));
m_map.addOverlay(_36);
}else{
}
return marker;
}
}),new objj_method(sel_getUid("clearOverlays"),function(_37,_38){
with(_37){
if(_mapReady){
m_map.clearOverlays();
}
}
})]);
p;24;RLOfflineDatabaseStore.jt;2876;@STATIC;1.0;t;2857;
var _1=objj_allocateClassPair(CPObject,"RLOfflineDatabaseStore"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_name"),new objj_ivar("_size"),new objj_ivar("_db"),new objj_ivar("_delegate")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithName:delegate:"),function(_3,_4,_5,_6){
with(_3){
_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("RLOfflineDatabaseStore").super_class},"init");
if(_3){
_delegate=_6;
if(!objj_msgSend(RLOfflineDataStore,"offlineDataStoreIsAvailable")&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("dataStoreIsNotSupported"))){
objj_msgSend(_delegate,"dataStoreIsNotSupported");
return;
}
_name=_5;
_size=1024*2000;
_db=openDatabase("RCOfflineDataStore-"+_name,"1.0",_name,_size);
if(!_db&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("userDidRejectDatabase"))){
objj_msgSend(_delegate,"userDidRejectDatabase");
return;
}else{
if(!_db){
objj_msgSend(CPException,"exceptionWithName:reason:userInfo:","RLOfflineDataStore","Offline storage was rejected by the user.",nil);
return;
}
}
_db.transaction(function(_7){
_7.executeSql("CREATE TABLE IF NOT EXISTS InventoryFileCache (key TEXT UNIQUE NOT NULL PRIMARY KEY, value TEXT NOT NULL)");
});
}
return _3;
}
}),new objj_method(sel_getUid("blahsetValue:forKey:"),function(_8,_9,_a,_b){
with(_8){
localStorage.setItem(_b,_a);
}
}),new objj_method(sel_getUid("blahgetValueForKey:"),function(_c,_d,_e){
with(_c){
return localStorage.getItem(_e);
}
}),new objj_method(sel_getUid("setValue:forKey:"),function(_f,_10,_11,_12){
with(_f){
_db.transaction(function(db){
db.executeSql("UPDATE InventoryFileCache SET value = ? WHERE key = ?",[_11,_12],result=function(tx,rs){
},anError=function(tx,err){
});
db.executeSql("INSERT INTO InventoryFileCache (key, value) VALUES (?, ?)",[_12,_11],result=function(db,rs){
},error=function(db,err){
});
});
}
}),new objj_method(sel_getUid("getValueForKey:"),function(_13,_14,_15){
with(_13){
_db.transaction(function(db){
db.executeSql("SELECT value FROM InventoryFileCache WHERE key=?",[_15],result=function(_16,_17){
objj_msgSend(_13,"_parseResults:",_17);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",nil);
},anError=function(_18,_19){
});
});
}
}),new objj_method(sel_getUid("removeValueForKey:"),function(_1a,_1b,_1c){
with(_1a){
_db.transaction(function(db){
db.executeSql("DELETE FROM InventoryFileCache WHERE key=?",[_1c],result=function(_1d,_1e){
},anError=function(_1f,_20){
});
});
}
}),new objj_method(sel_getUid("_parseResults:"),function(_21,_22,_23){
with(_21){
if(_23.rows.length>0){
var _24=_23.rows.item(0).value;
}else{
var _24=nil;
}
objj_msgSend(_delegate,"didReciveData:",_24);
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("offlineDataStoreIsAvailable"),function(_25,_26){
with(_25){
return !!window.openDatabase;
}
})]);
p;23;RLOfflineLocalStorage.jt;1251;@STATIC;1.0;t;1232;
var _1=objj_allocateClassPair(CPObject,"RLOfflineLocalStorage"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_delegate")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("offlineDataStoreIsAvailable"),function(_3,_4){
with(_3){
return !!window.localStorage;
}
}),new objj_method(sel_getUid("initWithName:delegate:"),function(_5,_6,_7,_8){
with(_5){
_delegate=_8;
if(!objj_msgSend(RLOfflineLocalStorage,"offlineDataStoreIsAvailable")&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("dataStoreIsNotSupported"))){
objj_msgSend(_delegate,"localStorageNotSupported");
return;
}
_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("RLOfflineLocalStorage").super_class},"init");
return _5;
}
}),new objj_method(sel_getUid("setValue:forKey:"),function(_9,_a,_b,_c){
with(_9){
localStorage.setItem(_c,_b);
}
}),new objj_method(sel_getUid("getValueForKey:"),function(_d,_e,_f){
with(_d){
return localStorage.getItem(_f);
}
}),new objj_method(sel_getUid("removeValueForKey:"),function(_10,_11,_12){
with(_10){
localStorage.removeItem(_12);
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("offlineDataStoreIsAvailable"),function(_13,_14){
with(_13){
return !!window.localStorage;
}
})]);
p;22;SourceViewController.jt;25787;@STATIC;1.0;t;25767;
var _1;
var _2=objj_allocateClassPair(CPObject,"SourceViewController"),_3=_2.isa;
class_addIvars(_2,[new objj_ivar("containerView"),new objj_ivar("buttonBar"),new objj_ivar("sourceList"),new objj_ivar("scrollView"),new objj_ivar("minusButton"),new objj_ivar("detailsPanelIsUp"),new objj_ivar("detailsPanel")]);
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("containerView"),function(_4,_5){
with(_4){
return containerView;
}
}),new objj_method(sel_getUid("setContainerView:"),function(_6,_7,_8){
with(_6){
containerView=_8;
}
}),new objj_method(sel_getUid("sourceList"),function(_9,_a){
with(_9){
return sourceList;
}
}),new objj_method(sel_getUid("setSourceList:"),function(_b,_c,_d){
with(_b){
sourceList=_d;
}
}),new objj_method(sel_getUid("initWithContainerView:"),function(_e,_f,_10){
with(_e){
_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("SourceViewController").super_class},"init");
if(_e){
detailsPanelIsUp=NO;
containerView=_10;
var _11=objj_msgSend(_10,"bounds");
buttonBar=objj_msgSend(SourceViewController,"myThemedButtonBar");
objj_msgSend(buttonBar,"setFrame:",CGRectMake(0,_11.size.height-24,_11.size.width,24));
objj_msgSend(buttonBar,"setAutoresizingMask:",CPViewWidthSizable|CPViewMinYMargin);
var _12=objj_msgSend(SourceViewController,"plusButton");
minusButton=objj_msgSend(SourceViewController,"minusButton");
objj_msgSend(minusButton,"setTarget:",_e);
objj_msgSend(minusButton,"setAction:",sel_getUid("removeLocation:"));
objj_msgSend(_12,"setTarget:",objj_msgSend(CPApp,"delegate"));
objj_msgSend(_12,"setAction:",sel_getUid("addNewLocation:"));
var _13=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(0,0,32,22)),_14=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","ButtonBar/details-button-up.png"),CGSizeMake(11,12));
objj_msgSend(_13,"setBordered:",NO);
objj_msgSend(_13,"setImage:",_14);
objj_msgSend(_13,"setImagePosition:",CPImageOnly);
objj_msgSend(_13,"setTarget:",_e);
objj_msgSend(_13,"setAction:",sel_getUid("toggleDetailsPanel:"));
objj_msgSend(buttonBar,"setButtons:",[_12,_13,minusButton]);
objj_msgSend(_10,"addSubview:",buttonBar);
objj_msgSend(objj_msgSend(_10,"superview"),"setButtonBar:forDividerAtIndex:",buttonBar,0);
scrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",CGRectMake(0,0,_11.size.width,_11.size.height-24));
sourceList=objj_msgSend(objj_msgSend(RLSourceList,"alloc"),"initWithFrame:",CGRectMakeZero());
objj_msgSend(sourceList,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(sourceList,"setDelegate:",_e);
objj_msgSend(sourceList,"setDataSource:",_e);
objj_msgSend(sourceList,"setSelectionHighlightStyle:",CPTableViewSelectionHighlightStyleSourceList);
objj_msgSend(sourceList,"registerForDraggedTypes:",["LocationDragType","ItemDragType"]);
objj_msgSend(sourceList,"setTarget:",objj_msgSend(objj_msgSend(CPApp,"delegate"),"locationController"));
objj_msgSend(sourceList,"setDoubleAction:",sel_getUid("edit:"));
objj_msgSend(sourceList,"setSelectionGradientColors:",objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[CGGradientCreateWithColorComponents(CGColorSpaceCreateDeviceRGB(),[109/255,126/255,152.18/255,1,87/255,104/255,124/255,1],[0,1],2),objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",(152/255),(165/255),(182/255),1),objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",(87/255),(127/255),(151/255),1)],[CPSourceListGradient,CPSourceListTopLineColor,CPSourceListBottomLineColor]));
var _15=objj_msgSend(objj_msgSend(CPTableColumn,"alloc"),"initWithIdentifier:","sourcelist"),_16=objj_msgSend(_15,"headerView");
objj_msgSend(_16,"setStringValue:","LOCATIONS");
objj_msgSend(_15,"setDataView:",objj_msgSend(objj_msgSend(SourceListDataView,"alloc"),"initWithFrame:",CGRectMakeZero()));
objj_msgSend(_15,"setWidth:",300);
objj_msgSend(_15,"setMinWidth:",50);
objj_msgSend(_15,"setMaxWidth:",250);
objj_msgSend(sourceList,"addTableColumn:",_15);
objj_msgSend(sourceList,"setOutlineTableColumn:",_15);
objj_msgSend(sourceList,"setColumnAutoresizingStyle:",CPTableViewFirstColumnOnlyAutoresizingStyle);
objj_msgSend(sourceList,"setRowHeight:",40);
var _17=objj_msgSend(CPColor,"colorWithHexString:","ededed");
objj_msgSend(sourceList,"setBackgroundColor:",_17);
objj_msgSend(objj_msgSend(sourceList,"headerView"),"setValue:forThemeAttribute:",_17,"background-color");
objj_msgSend(_16,"setValue:forThemeAttribute:",objj_msgSend(CPNull,"null"),"background-color");
objj_msgSend(_16,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","666666"),"text-color");
objj_msgSend(_16,"setValue:forThemeAttribute:",CGInsetMake(6,7,2,10),"text-inset");
objj_msgSend(objj_msgSend(sourceList,"cornerView"),"setValue:forThemeAttribute:",_17,"background-color");
objj_msgSend(scrollView,"setDocumentView:",sourceList);
objj_msgSend(scrollView,"setHasHorizontalScroller:",NO);
objj_msgSend(scrollView,"setAutohidesScrollers:",YES);
objj_msgSend(scrollView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(scrollView,"setHorizontalLineScroll:",0);
objj_msgSend(_10,"addSubview:",scrollView);
}
return _e;
}
}),new objj_method(sel_getUid("removeLocation:"),function(_18,_19,_1a){
with(_18){
var _1b=objj_msgSend(objj_msgSend(sourceList,"selectedRowIndexes"),"firstIndex"),_1c=objj_msgSend(sourceList,"itemAtRow:",_1b);
objj_msgSend(objj_msgSend(CPApp,"delegate"),"confirmRemovalOfLocation:",_1c);
}
}),new objj_method(sel_getUid("outlineView:shouldSelectItem:"),function(_1d,_1e,_1f,_20){
with(_1d){
return !objj_msgSend(objj_msgSend(DCFileUploadManager,"sharedManager"),"isUploading");
}
}),new objj_method(sel_getUid("outlineViewSelectionIsChanging:"),function(_21,_22,_23){
with(_21){
var _24=objj_msgSend(objj_msgSend(CPApp,"delegate"),"locationController"),_25=objj_msgSend(objj_msgSend(_24,"locationView"),"itemView");
if(objj_msgSend(_25,"isEditing")){
objj_msgSend(_25,"enterEditMode:",NO);
objj_msgSend(_24,"itemDidEndEditing:",objj_msgSend(_25,"itemForEditingValues"));
}
}
}),new objj_method(sel_getUid("outlineViewSelectionDidChange:"),function(_26,_27,_28){
with(_26){
var _29=objj_msgSend(objj_msgSend(sourceList,"selectedRowIndexes"),"firstIndex"),_2a=objj_msgSend(sourceList,"itemAtRow:",_29);
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"locationController"),"setLocation:",_2a);
if(!_2a){
objj_msgSend(minusButton,"setEnabled:",NO);
}else{
objj_msgSend(minusButton,"setEnabled:",YES);
}
}
}),new objj_method(sel_getUid("outlineView:child:ofItem:"),function(_2b,_2c,_2d,_2e,_2f){
with(_2b){
if(!_2f){
return objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations")[_2e];
}else{
return objj_msgSend(_2f,"subLocations")[_2e];
}
}
}),new objj_method(sel_getUid("outlineView:isItemExpandable:"),function(_30,_31,_32,_33){
with(_30){
return (objj_msgSend(objj_msgSend(_33,"subLocations"),"count"));
}
}),new objj_method(sel_getUid("outlineView:numberOfChildrenOfItem:"),function(_34,_35,_36,_37){
with(_34){
if(_37===nil){
return objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations"),"count");
}else{
return objj_msgSend(objj_msgSend(_37,"subLocations"),"count");
}
}
}),new objj_method(sel_getUid("outlineView:objectValueForTableColumn:byItem:"),function(_38,_39,_3a,_3b,_3c){
with(_38){
var _3d=objj_msgSend(objj_msgSend(CPDictionary,"alloc"),"init");
objj_msgSend(_3d,"setValue:forKey:",objj_msgSend(LocationItemTypes,"imageForItemWithTitle:",objj_msgSend(_3c,"type")),"image");
objj_msgSend(_3d,"setObject:forKey:",objj_msgSend(_3c,"name"),"title");
objj_msgSend(_3d,"setObject:forKey:",objj_msgSend(_3c,"numberOfItems"),"items");
return _3d;
}
}),new objj_method(sel_getUid("outlineView:writeItems:toPasteboard:"),function(_3e,_3f,_40,_41,_42){
with(_3e){
objj_msgSend(_42,"declareTypes:owner:",["LocationDragType"],_3e);
objj_msgSend(_42,"setData:forType:",nil,"LocationDragType");
_1=_41;
return YES;
}
}),new objj_method(sel_getUid("outlineView:validateDrop:proposedItem:proposedChildIndex:"),function(_43,_44,_45,_46,_47,_48){
with(_43){
var _49=objj_msgSend(_46,"draggingPasteboard");
if(objj_msgSend(objj_msgSend(_49,"types"),"containsObject:","LocationDragType")){
var _4a=(_47)?objj_msgSend(_47,"indexOfSubLocation:",_1[0]):objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations"),"indexOfObject:",_1[0]);
if((_48===_4a||_48===_4a+1)&&_47===objj_msgSend(_1[0],"superLocation")){
return CPDragOperationNone;
}
if(_47===nil){
objj_msgSend(_45,"setDropItem:dropChildIndex:",nil,_48);
}
var _49=objj_msgSend(_46,"draggingPasteboard"),_4b=_1[0];
if(_4b===_47||objj_msgSend(_43,"item:isSubItemOf:",_47,_4b)){
return CPDragOperationNone;
}
if(objj_msgSend(_4b,"superLocation")===_47){
objj_msgSend(_45,"setDropItem:dropChildIndex:",_47,_48);
}else{
objj_msgSend(_45,"setDropItem:dropChildIndex:",_47,_48);
}
return CPDragOperationMove;
}else{
if(objj_msgSend(objj_msgSend(_49,"types"),"containsObject:","ItemDragType")){
if(!_47||_48!==-1){
return CPDragOperationNone;
}
objj_msgSend(_45,"setDropItem:dropChildIndex:",_47,_48);
return CPDragOperationMove;
}
}
}
}),new objj_method(sel_getUid("outlineView:acceptDrop:item:childIndex:"),function(_4c,_4d,_4e,_4f,_50,_51){
with(_4c){
var _52=objj_msgSend(_4f,"draggingPasteboard");
if(objj_msgSend(objj_msgSend(_52,"types"),"containsObject:","LocationDragType")){
var _53=_1[0];
var _54=objj_msgSend(objj_msgSend(CPDictionary,"alloc"),"init");
objj_msgSend(_54,"setObject:forKey:",_53,"item");
objj_msgSend(_54,"setObject:forKey:",_50,"to");
objj_msgSend(_54,"setObject:forKey:",_51,"index");
objj_msgSend(_4c,"moveLocation:",_54);
_1=nil;
return YES;
}else{
if(objj_msgSend(objj_msgSend(_52,"types"),"containsObject:","ItemDragType")){
var _55=objj_msgSend(objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(_52,"dataForType:","ItemDragType")),"firstIndex"),_56=objj_msgSend(sourceList,"itemAtRow:",objj_msgSend(objj_msgSend(sourceList,"selectedRowIndexes"),"firstIndex"));
_55=objj_msgSend(_56,"itemAtIndex:",_55);
if(objj_msgSend(objj_msgSend(_50,"items"),"containsObject:",_55)){
return NO;
}
objj_msgSend(objj_msgSend(CPApp,"delegate"),"moveItem:fromLocation:to:",_55,_56,_50);
return YES;
}
}
}
}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_57,_58,_59,_5a){
with(_57){
}
}),new objj_method(sel_getUid("moveLocation:"),function(_5b,_5c,_5d){
with(_5b){
var _5e=objj_msgSend(_5d,"objectForKey:","item"),to=objj_msgSend(_5d,"objectForKey:","to"),_5f=(objj_msgSend(_5d,"objectForKey:","index")||0),_60=objj_msgSend(_5e,"superLocation"),_61=nil;
if(_60===to&&((_60&&objj_msgSend(_60,"indexOfSubLocation:",_5e)<_5f)||(objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations"),"indexOfObject:",_5e)<_5f))){
_5f--;
}
if(_60){
_61=objj_msgSend(_60,"indexOfSubLocation:",_5e);
objj_msgSend(_60,"removeSubLocation:",_5e);
}else{
_61=objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations"),"indexOfObject:",_5e);
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations"),"removeObject:",_5e);
}
if(to){
objj_msgSend(to,"addSubLocation:atIndex:",_5e,_5f);
}else{
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"allLocations"),"insertObject:atIndex:",_5e,_5f);
}
objj_msgSend(_5d,"setObject:forKey:",_60,"to");
objj_msgSend(_5d,"setObject:forKey:",_61,"index");
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"undoManager"),"registerUndoWithTarget:selector:object:",_5b,sel_getUid("moveLocation:"),_5d);
objj_msgSend(sourceList,"reloadData");
}
}),new objj_method(sel_getUid("item:isSubItemOf:"),function(_62,_63,_64,_65){
with(_62){
if(objj_msgSend(objj_msgSend(_65,"subLocations"),"containsObject:",_64)){
return YES;
}
for(var i=0;i<objj_msgSend(objj_msgSend(_65,"subLocations"),"count");i++){
if(objj_msgSend(_62,"item:isSubItemOf:",_64,objj_msgSend(_65,"subLocations")[i])){
return YES;
}
}
return NO;
}
}),new objj_method(sel_getUid("toggleDetailsPanel:"),function(_66,_67,_68){
with(_66){
var _69=objj_msgSend(containerView,"bounds");
if(detailsPanelIsUp){
objj_msgSend(containerView,"addSubview:",buttonBar);
objj_msgSend(_68,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","ButtonBar/details-button-up.png"),CGSizeMake(11,12)));
var _6a=CGRectMake(0,_69.size.height-25,_69.size.width,125),_6b=CGRectMake(0,0,_69.size.width,_69.size.height-24);
}else{
objj_msgSend(_68,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","ButtonBar/details-button-down.png"),CGSizeMake(11,12)));
if(!detailsPanel){
detailsPanel=objj_msgSend(objj_msgSend(RLDetailsPane,"alloc"),"initWithFrame:",CGRectMake(0,_69.size.height-25,_69.size.width,125));
}
objj_msgSend(containerView,"addSubview:",detailsPanel);
objj_msgSend(containerView,"addSubview:",buttonBar);
var _6a=CGRectMake(0,_69.size.height-150,_69.size.width,125),_6b=CGRectMake(0,0,_69.size.width,_69.size.height-150);
}
var _6c=objj_msgSend(CPDictionary,"new"),_6d=objj_msgSend(CPDictionary,"new");
objj_msgSend(_6c,"setValue:forKey:",detailsPanel,CPViewAnimationTargetKey);
objj_msgSend(_6c,"setValue:forKey:",objj_msgSend(detailsPanel,"frame"),CPViewAnimationStartFrameKey);
objj_msgSend(_6c,"setValue:forKey:",_6a,CPViewAnimationEndFrameKey);
objj_msgSend(_6c,"setValue:forKey:",CPAnimationEaseOut,CPViewAnimationEffectKey);
objj_msgSend(_6d,"setValue:forKey:",scrollView,CPViewAnimationTargetKey);
objj_msgSend(_6d,"setValue:forKey:",objj_msgSend(scrollView,"frame"),CPViewAnimationStartFrameKey);
objj_msgSend(_6d,"setValue:forKey:",_6b,CPViewAnimationEndFrameKey);
var _6e=objj_msgSend(objj_msgSend(CPViewAnimation,"alloc"),"initWithViewAnimations:",[_6c,_6d]);
objj_msgSend(_6e,"setDuration:",0.2);
objj_msgSend(_6e,"startAnimation");
detailsPanelIsUp=!detailsPanelIsUp;
}
})]);
class_addMethods(_3,[new objj_method(sel_getUid("myThemedButtonBar"),function(_6f,_70){
with(_6f){
var _71=objj_msgSend(objj_msgSend(CPButtonBar,"alloc"),"initWithFrame:",CGRectMake(0,0,147,23)),_72=objj_msgSend(CPBundle,"mainBundle"),_73=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bar-bg.png"),CGSizeMake(1,23)));
objj_msgSend(_71,"setHasResizeControl:",YES);
objj_msgSend(_71,"setValue:forThemeAttribute:",_73,"bezel-color");
var _74=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bezel-left.png"),CGSizeMake(2,22)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bar-center-none.png"),CGSizeMake(2,22)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bezel-right.png"),CGSizeMake(3,22))],NO)),_75=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bezel-left-highlighted.png"),CGSizeMake(2,22)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bezel-center-highlighted.png"),CGSizeMake(2,22)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_72,"pathForResource:","ButtonBar/button-bezel-right-highlighted.png"),CGSizeMake(2,22))],NO));
objj_msgSend(_71,"setValue:forThemeAttribute:",_74,"button-bezel-color");
objj_msgSend(_71,"setValue:forThemeAttribute:inState:",_75,"button-bezel-color",CPThemeStateHighlighted);
objj_msgSend(_71,"setValue:forThemeAttribute:inState:",_74,"button-bezel-color",CPThemeStateDisabled);
objj_msgSend(_71,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"blackColor"),"button-text-color");
return _71;
}
}),new objj_method(sel_getUid("plusButton"),function(_76,_77){
with(_76){
var _78=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(0,0,32,22)),_79=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPButtonBar,"class")),"pathForResource:","plus_button.png"),CGSizeMake(11,12));
objj_msgSend(_78,"setBordered:",NO);
objj_msgSend(_78,"setImage:",_79);
objj_msgSend(_78,"setImagePosition:",CPImageOnly);
return _78;
}
}),new objj_method(sel_getUid("minusButton"),function(_7a,_7b){
with(_7a){
var _7c=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(0,0,32,5)),_7d=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPButtonBar,"class")),"pathForResource:","minus_button.png"),CGSizeMake(11,4));
objj_msgSend(_7c,"setImageDimsWhenDisabled:",YES);
objj_msgSend(_7c,"setBordered:",NO);
objj_msgSend(_7c,"setImage:",_7d);
objj_msgSend(_7c,"setImagePosition:",CPImageOnly);
return _7c;
}
})]);
var _2=objj_allocateClassPair(CPView,"SourceListDataView"),_3=_2.isa;
class_addIvars(_2,[new objj_ivar("imageView"),new objj_ivar("label"),new objj_ivar("itemsLabel")]);
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_7e,_7f,_80){
with(_7e){
_7e=objj_msgSendSuper({receiver:_7e,super_class:objj_getClass("SourceListDataView").super_class},"initWithFrame:",_80);
if(_7e){
label=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(30,5,_80.size.width-20,27));
objj_msgSend(label,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",14));
objj_msgSend(label,"setLineBreakMode:",CPLineBreakByTruncatingTail);
objj_msgSend(label,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","555555"),"text-color");
objj_msgSend(label,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",1,0.8),"text-color",CPThemeStateSelectedDataView);
objj_msgSend(label,"setValue:forThemeAttribute:",CGSizeMake(0,1),"text-shadow-offset");
objj_msgSend(label,"setAutoresizingMask:",CPViewWidthSizable);
itemsLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(30,23,_80.size.width-20,27));
objj_msgSend(itemsLabel,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11));
objj_msgSend(itemsLabel,"setLineBreakMode:",CPLineBreakByTruncatingTail);
objj_msgSend(itemsLabel,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","333333"),"text-color");
objj_msgSend(itemsLabel,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",1,0.8),"text-color",CPThemeStateSelectedDataView);
objj_msgSend(itemsLabel,"setValue:forThemeAttribute:inState:",objj_msgSend(CPFont,"systemFontOfSize:",11),"font",CPThemeStateSelectedDataView);
objj_msgSend(itemsLabel,"setAutoresizingMask:",CPViewWidthSizable);
imageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(3,10,22,22));
objj_msgSend(_7e,"addSubview:",label);
objj_msgSend(_7e,"addSubview:",itemsLabel);
objj_msgSend(_7e,"addSubview:",imageView);
}
return _7e;
}
}),new objj_method(sel_getUid("setObjectValue:"),function(_81,_82,_83){
with(_81){
if(!_83){
return;
}
objj_msgSend(label,"setStringValue:",objj_msgSend(_83,"objectForKey:","title"));
objj_msgSend(imageView,"setImage:",objj_msgSend(_83,"objectForKey:","image"));
objj_msgSend(itemsLabel,"setStringValue:",(objj_msgSend(_83,"objectForKey:","items")||"No")+" Items");
}
}),new objj_method(sel_getUid("setThemeState:"),function(_84,_85,_86){
with(_84){
objj_msgSendSuper({receiver:_84,super_class:objj_getClass("SourceListDataView").super_class},"setThemeState:",_86);
if(_86===CPThemeStateSelectedDataView){
objj_msgSend(label,"setThemeState:",_86);
objj_msgSend(itemsLabel,"setThemeState:",_86);
}
}
}),new objj_method(sel_getUid("unsetThemeState:"),function(_87,_88,_89){
with(_87){
objj_msgSendSuper({receiver:_87,super_class:objj_getClass("SourceListDataView").super_class},"unsetThemeState:",_89);
if(_89===CPThemeStateSelectedDataView){
objj_msgSend(label,"unsetThemeState:",_89);
objj_msgSend(itemsLabel,"unsetThemeState:",_89);
}
}
}),new objj_method(sel_getUid("encodeWithCoder:"),function(_8a,_8b,_8c){
with(_8a){
objj_msgSend(_8c,"encodeObject:forKey:",imageView,"imageView");
objj_msgSend(_8c,"encodeObject:forKey:",label,"label");
objj_msgSend(_8c,"encodeObject:forKey:",itemsLabel,"items");
objj_msgSendSuper({receiver:_8a,super_class:objj_getClass("SourceListDataView").super_class},"encodeWithCoder:",_8c);
}
}),new objj_method(sel_getUid("initWithCoder:"),function(_8d,_8e,_8f){
with(_8d){
_8d=objj_msgSendSuper({receiver:_8d,super_class:objj_getClass("SourceListDataView").super_class},"initWithCoder:",_8f);
if(_8d){
imageView=objj_msgSend(_8f,"decodeObjectForKey:","imageView");
label=objj_msgSend(_8f,"decodeObjectForKey:","label");
itemsLabel=objj_msgSend(_8f,"decodeObjectForKey:","items");
}
return _8d;
}
})]);
var _2=objj_allocateClassPair(CPOutlineView,"RLSourceList"),_3=_2.isa;
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("menuForEvent:"),function(_90,_91,_92){
with(_90){
var _93=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:",""),_94=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Remove Location",sel_getUid("removeItem:"),nil),_95=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Add Location",sel_getUid("addNewLocation:"),nil),_96=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","View Location",sel_getUid("newSelectRow:"),nil),_97=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Edit Location",sel_getUid("edit:"),nil),_98=objj_msgSend(_90,"convertPoint:fromView:",objj_msgSend(_92,"locationInWindow"),nil),row=objj_msgSend(_90,"rowAtPoint:",_98);
objj_msgSend(_94,"setTarget:",_90);
objj_msgSend(_95,"setTarget:",objj_msgSend(CPApp,"delegate"));
objj_msgSend(_96,"setTarget:",_90);
objj_msgSend(_97,"setTarget:",_90);
objj_msgSend(_94,"setRepresentedObject:",row);
objj_msgSend(_96,"setRepresentedObject:",row);
objj_msgSend(_97,"setRepresentedObject:",row);
if(row<0){
objj_msgSend(_94,"setEnabled:",NO);
objj_msgSend(_96,"setEnabled:",NO);
objj_msgSend(_97,"setEnabled:",NO);
}
objj_msgSend(_93,"addItem:",_94);
objj_msgSend(_93,"addItem:",_96);
objj_msgSend(_93,"addItem:",_95);
objj_msgSend(_93,"addItem:",_97);
return _93;
}
}),new objj_method(sel_getUid("edit:"),function(_99,_9a,_9b){
with(_99){
objj_msgSend(_99,"_noteSelectionIsChanging");
objj_msgSend(_99,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(_9b,"representedObject")),NO);
objj_msgSend(objj_msgSend(objj_msgSend(CPApp,"delegate"),"locationController"),"edit:",nil);
objj_msgSend(_99,"_noteSelectionDidChange");
}
}),new objj_method(sel_getUid("newSelectRow:"),function(_9c,_9d,_9e){
with(_9c){
objj_msgSend(_9c,"_noteSelectionIsChanging");
var _9f=objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(_9e,"representedObject"));
objj_msgSend(_9c,"selectRowIndexes:byExtendingSelection:",_9f,NO);
objj_msgSend(_9c,"_noteSelectionDidChange");
}
}),new objj_method(sel_getUid("removeItem:"),function(_a0,_a1,_a2){
with(_a0){
objj_msgSend(_a0,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(_a2,"representedObject")),NO);
objj_msgSend(objj_msgSend(_a0,"delegate"),"removeLocation:",nil);
}
})]);
var _2=objj_allocateClassPair(CPView,"RLDetailsPane"),_3=_2.isa;
class_addIvars(_2,[new objj_ivar("spaceUsed"),new objj_ivar("spaceUsedText")]);
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_a3,_a4,_a5){
with(_a3){
_a3=objj_msgSendSuper({receiver:_a3,super_class:objj_getClass("RLDetailsPane").super_class},"initWithFrame:",_a5);
spaceUsed=objj_msgSend(objj_msgSend(CPProgressIndicator,"alloc"),"initWithFrame:",CGRectMake(15,_a5.size.height-31,_a5.size.width-30,16));
objj_msgSend(spaceUsed,"setDoubleValue:",75);
objj_msgSend(_a3,"addSubview:",spaceUsed);
spaceUsedText=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(15,_a5.size.height-50,_a5.size.width-30,14));
objj_msgSend(spaceUsedText,"setStringValue:","Storage Used: 1.5GB");
objj_msgSend(spaceUsedText,"sizeToFit");
objj_msgSend(_a3,"addSubview:",spaceUsedText);
var _a6=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(15,5,_a5.size.width-30,21));
objj_msgSend(_a6,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12));
objj_msgSend(_a6,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","333333"));
objj_msgSend(_a6,"setTextShadowOffset:",CGSizeMake(1,2));
objj_msgSend(_a6,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor"));
objj_msgSend(_a6,"setStringValue:","Account Details");
objj_msgSend(_a6,"setAlignment:",CPCenterTextAlignment);
objj_msgSend(_a3,"addSubview:",_a6);
return _a3;
}
}),new objj_method(sel_getUid("drawRect:"),function(_a7,_a8,_a9){
with(_a7){
var _aa=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort");
CGContextSetStrokeColor(_aa,objj_msgSend(CPColor,"colorWithHexString:","CCCCCC"));
var _ab=[CGPointMake(0,0.5),CGPointMake(_a9.size.width,0.5)];
CGContextStrokeLineSegments(_aa,_ab,2);
}
})]);
p;9;Stepper.jt;4950;@STATIC;1.0;I;18;AppKit/CPControl.jI;17;AppKit/CPButton.jt;4886;
objj_executeFile("AppKit/CPControl.j",NO);
objj_executeFile("AppKit/CPButton.j",NO);
var _1=objj_allocateClassPair(CPControl,"Stepper"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_upButton"),new objj_ivar("_bottomButton"),new objj_ivar("_splitter"),new objj_ivar("_minValue"),new objj_ivar("_maxValue"),new objj_ivar("_increment"),new objj_ivar("_valueWraps"),new objj_ivar("_autorepeat")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){
with(_3){
_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("Stepper").super_class},"initWithFrame:",_5);
if(_3){
objj_msgSend(_3,"setMaxValue:",59);
objj_msgSend(_3,"setMinValue:",0);
objj_msgSend(_3,"setIncrement:",1);
objj_msgSend(_3,"setAutorepeat:",YES);
objj_msgSend(_3,"setValueWraps:",YES);
objj_msgSend(_3,"setDoubleValue:",0);
_upButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(0,0,12,10));
_bottomButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(0,11,12,12));
_splitter=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,10,12,1));
objj_msgSend(_upButton,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Stepper/stepper_up.png"),CGSizeMake(12,10)));
objj_msgSend(_bottomButton,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Stepper/stepper_down.png"),CGSizeMake(12,12)));
objj_msgSend(_splitter,"setBackgroundColor:",objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Stepper/stepper_middle.png"),CGSizeMake(12,1))));
objj_msgSend(_upButton,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Stepper/stepper_up_highlighted.png"),CGSizeMake(12,10)));
objj_msgSend(_bottomButton,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:","Stepper/stepper_down_highlighted.png"),CGSizeMake(12,12)));
objj_msgSend(_upButton,"setBordered:",NO);
objj_msgSend(_bottomButton,"setBordered:",NO);
objj_msgSend(_upButton,"setTarget:",_3);
objj_msgSend(_bottomButton,"setTarget:",_3);
objj_msgSend(_upButton,"setContinuous:",YES);
objj_msgSend(_bottomButton,"setContinuous:",YES);
objj_msgSend(_upButton,"setAction:",sel_getUid("buttonUpAction:"));
objj_msgSend(_bottomButton,"setAction:",sel_getUid("buttonDownAction:"));
objj_msgSend(_3,"addSubview:",_upButton);
objj_msgSend(_3,"addSubview:",_splitter);
objj_msgSend(_3,"addSubview:",_bottomButton);
}
return _3;
}
}),new objj_method(sel_getUid("minValue"),function(_6,_7){
with(_6){
return _minValue;
}
}),new objj_method(sel_getUid("setMinValue:"),function(_8,_9,_a){
with(_8){
_minValue=_a;
}
}),new objj_method(sel_getUid("maxValue"),function(_b,_c){
with(_b){
return _maxValue;
}
}),new objj_method(sel_getUid("setMaxValue:"),function(_d,_e,_f){
with(_d){
_maxValue=_f;
}
}),new objj_method(sel_getUid("increment"),function(_10,_11){
with(_10){
return _increment;
}
}),new objj_method(sel_getUid("setIncrement:"),function(_12,_13,_14){
with(_12){
_increment=_14;
}
}),new objj_method(sel_getUid("valueWraps"),function(_15,_16){
with(_15){
return _valueWraps;
}
}),new objj_method(sel_getUid("setValueWraps:"),function(_17,_18,_19){
with(_17){
_valueWraps=_19;
}
}),new objj_method(sel_getUid("autorepeat"),function(_1a,_1b){
with(_1a){
return _autorepeat;
}
}),new objj_method(sel_getUid("setAutorepeat:"),function(_1c,_1d,_1e){
with(_1c){
_autorepeat=_1e;
}
}),new objj_method(sel_getUid("buttonUpAction:"),function(_1f,_20,_21){
with(_1f){
if((objj_msgSend(_1f,"doubleValue")+objj_msgSend(_1f,"increment"))>objj_msgSend(_1f,"maxValue")){
if(objj_msgSend(_1f,"valueWraps")){
objj_msgSend(_1f,"setDoubleValue:",objj_msgSend(_1f,"minValue"));
}
}else{
objj_msgSend(_1f,"setDoubleValue:",objj_msgSend(_1f,"doubleValue")+objj_msgSend(_1f,"increment"));
}
objj_msgSend(_1f,"sendAction:to:",objj_msgSend(_1f,"action"),objj_msgSend(_1f,"target"));
}
}),new objj_method(sel_getUid("buttonDownAction:"),function(_22,_23,_24){
with(_22){
if((objj_msgSend(_22,"doubleValue")-objj_msgSend(_22,"increment"))<objj_msgSend(_22,"minValue")){
if(objj_msgSend(_22,"valueWraps")){
objj_msgSend(_22,"setDoubleValue:",objj_msgSend(_22,"maxValue"));
}
}else{
objj_msgSend(_22,"setDoubleValue:",objj_msgSend(_22,"doubleValue")-objj_msgSend(_22,"increment"));
}
objj_msgSend(_22,"sendAction:to:",objj_msgSend(_22,"action"),objj_msgSend(_22,"target"));
}
})]);
p;24;CappuGeo/_CPDirections.jt;3102;@STATIC;1.0;I;21;Foundation/CPObject.ji;12;CPLocation.jt;3040;
objj_executeFile("Foundation/CPObject.j",NO);
objj_executeFile("CPLocation.j",YES);
CPDirectionsDrivingMode=google.maps.DirectionsTravelMode.DRIVING;
CPDirectionsWalkingMode=google.maps.DirectionsTravelMode.WALKING;
var _1=objj_allocateClassPair(CPLocation,"CPDirections"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_service"),new objj_ivar("_renderer"),new objj_ivar("origin"),new objj_ivar("destination"),new objj_ivar("travelMode"),new objj_ivar("mapView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("origin"),function(_3,_4){
with(_3){
return origin;
}
}),new objj_method(sel_getUid("setOrigin:"),function(_5,_6,_7){
with(_5){
origin=_7;
}
}),new objj_method(sel_getUid("destination"),function(_8,_9){
with(_8){
return destination;
}
}),new objj_method(sel_getUid("setDestination:"),function(_a,_b,_c){
with(_a){
destination=_c;
}
}),new objj_method(sel_getUid("travelMode"),function(_d,_e){
with(_d){
return travelMode;
}
}),new objj_method(sel_getUid("setTravelMode:"),function(_f,_10,_11){
with(_f){
travelMode=_11;
}
}),new objj_method(sel_getUid("mapView"),function(_12,_13){
with(_12){
return mapView;
}
}),new objj_method(sel_getUid("setMapView:"),function(_14,_15,_16){
with(_14){
mapView=_16;
}
}),new objj_method(sel_getUid("init"),function(_17,_18){
with(_17){
_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("CPDirections").super_class},"init");
if(_17){
_service=new google.maps.DirectionsService();
_renderer=new google.maps.DirectionsRenderer();
travelMode=CPDirectionsDrivingMode;
}
return _17;
}
}),new objj_method(sel_getUid("setMapView:"),function(_19,_1a,_1b){
with(_19){
mapView=_1b;
if(mapView&&mapView._map){
_renderer.setMap(mapView._map);
}else{
_renderer.setMap(nil);
}
}
}),new objj_method(sel_getUid("routeWithMap:detailsView:"),function(_1c,_1d,_1e,_1f){
with(_1c){
if(!origin||!destination||!travelMode){
return;
}
var _20={"origin":objj_msgSend(origin,"lat")?objj_msgSend(origin,"_gLatLng"):objj_msgSend(origin,"description"),"destination":objj_msgSend(destination,"lat")?objj_msgSend(destination,"_gLatLng"):objj_msgSend(destination,"description"),"travelMode":travelMode};
_service.route(_20,function(_21,_22){
if(_22==google.maps.DirectionsStatus.OK){
_renderer.setMap(_1e._map);
objj_msgSend(_1f,"clear");
_renderer.setPanel(objj_msgSend(_1f,"theDiv"));
_renderer.setDirections(_21);
window.setTimeout(function(){
objj_msgSend(_1f,"_resizeFrame");
},1000);
}else{
_renderer.setDirections(nil);
}
});
}
}),new objj_method(sel_getUid("route:"),function(_23,_24,_25){
with(_23){
if(!origin||!destination||!travelMode){
return;
}
var _26={"origin":objj_msgSend(origin,"lat")?objj_msgSend(origin,"_gLatLng"):objj_msgSend(origin,"description"),"destination":objj_msgSend(destination,"lat")?objj_msgSend(destination,"_gLatLng"):objj_msgSend(destination,"description"),"travelMode":travelMode};
_service.route(_26,function(_27,_28){
if(_28==google.maps.DirectionsStatus.OK){
_renderer.setDirections(_27);
}else{
_renderer.setDirections(nil);
}
});
}
})]);
p;21;CappuGeo/_CPMapView.jt;7211;@STATIC;1.0;I;15;AppKit/CPView.ji;12;CPMapImage.ji;13;CPMapMarker.jt;7137;
objj_executeFile("AppKit/CPView.j",NO);
objj_executeFile("CPMapImage.j",YES);
objj_executeFile("CPMapMarker.j",YES);
CPMapTypeRoadmap=google.maps.MapTypeId.ROADMAP;
CPMapTypeSatellite=google.maps.MapTypeId.SATELLITE;
CPMapTypeTerrain=google.maps.MapTypeId.TERRAIN;
CPMapTypeHybrid=google.maps.MapTypeId.HYBRID;
CPMapViewWillLoad="CPMapViewWillLoad";
CPMapViewDidLoad="CPMapViewDidLoad";
var _1=[];
_1[CPMinXEdge]=google.maps.ControlPosition.LEFT;
_1[CPMaxXEdge]=google.maps.ControlPosition.RIGHT;
_1[CPMinYEdge]=google.maps.ControlPosition.TOP;
_1[CPMaxYEdge]=google.maps.ControlPosition.BOTTOM;
_1[CPMinXEdge&CPMinYEdge]=google.maps.ControlPosition.TOP_LEFT;
_1[CPMinXEdge&CPMaxYEdge]=google.maps.ControlPosition.BOTTOM_LEFT;
_1[CPMaxXEdge&CPMinYEdge]=google.maps.ControlPosition.TOP_RIGHT;
_1[CPMaxXEdge&CPMaxYEdge]=google.maps.ControlPosition.BOTTOM_RIGHT;
var _2=objj_allocateClassPair(CPView,"CPMapView"),_3=_2.isa;
class_addIvars(_2,[new objj_ivar("_map"),new objj_ivar("mapLoaded"),new objj_ivar("mapTypeEdge"),new objj_ivar("delegate"),new objj_ivar("location"),new objj_ivar("locationMarker"),new objj_ivar("_overlay")]);
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("mapLoaded"),function(_4,_5){
with(_4){
return mapLoaded;
}
}),new objj_method(sel_getUid("mapTypeEdge"),function(_6,_7){
with(_6){
return mapTypeEdge;
}
}),new objj_method(sel_getUid("setMapTypeEdge:"),function(_8,_9,_a){
with(_8){
mapTypeEdge=_a;
}
}),new objj_method(sel_getUid("delegate"),function(_b,_c){
with(_b){
return delegate;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_d,_e,_f){
with(_d){
delegate=_f;
}
}),new objj_method(sel_getUid("location"),function(_10,_11){
with(_10){
return location;
}
}),new objj_method(sel_getUid("setLocation:"),function(_12,_13,_14){
with(_12){
location=_14;
}
}),new objj_method(sel_getUid("locationMarker"),function(_15,_16){
with(_15){
return locationMarker;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_17,_18,_19){
with(_17){
_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("CPMapView").super_class},"initWithFrame:",_19);
if(_17){
mapTypeEdge=CPMaxXEdge|CPMinYEdge;
}
return _17;
}
}),new objj_method(sel_getUid("resizeWithOldSuperviewSize:"),function(_1a,_1b,_1c){
with(_1a){
objj_msgSendSuper({receiver:_1a,super_class:objj_getClass("CPMapView").super_class},"resizeWithOldSuperviewSize:",_1c);
if(_map){
google.maps.event.trigger(_map,"resize");
}
}
}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_1d,_1e){
with(_1d){
window.setTimeout(function(){
var _1f=objj_msgSend(CPNotificationCenter,"defaultCenter");
objj_msgSend(_1f,"postNotificationName:object:",CPMapViewWillLoad,_1d);
_map=new google.maps.Map(_DOMElement,{mapTypeId:CPMapTypeRoadmap});
mapLoaded=YES;
_overlay=new NilOverlay({"map":_map});
google.maps.event.addListener(_map,"zoom_changed",function(){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewDidZoom:"))){
objj_msgSend(delegate,"mapViewDidZoom:",_1d);
}
});
google.maps.event.addListener(_map,"maptypeid_changed",function(){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewDidChangeType:"))){
objj_msgSend(delegate,"mapViewDidChangeType:",_1d);
}
});
objj_msgSend(_1f,"postNotificationName:object:",CPMapViewDidLoad,_1d);
},0);
}
}),new objj_method(sel_getUid("release"),function(_20,_21){
with(_20){
if(_map){
_map=nil;
}
objj_msgSendSuper({receiver:_20,super_class:objj_getClass("CPMapView").super_class},"release");
}
}),new objj_method(sel_getUid("setDelegate:"),function(_22,_23,_24){
with(_22){
var _25=objj_msgSend(CPNotificationCenter,"defaultCenter");
if(delegate){
objj_msgSend(_25,"removeObserver:name:object:",delegate,CPMapViewWillLoad,_22);
objj_msgSend(_25,"removeObserver:name:object:",delegate,CPMapViewDidLoad,_22);
}
delegate=_24;
if(delegate){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewWillLoad:"))){
objj_msgSend(_25,"addObserver:selector:name:object:",delegate,sel_getUid("mapViewWillLoad:"),CPMapViewWillLoad,_22);
}
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewDidLoad:"))){
objj_msgSend(_25,"addObserver:selector:name:object:",delegate,sel_getUid("mapViewDidLoad:"),CPMapViewDidLoad,_22);
}
}
}
}),new objj_method(sel_getUid("setLocation:"),function(_26,_27,_28){
with(_26){
if(location){
objj_msgSend(locationMarker,"setMapView:",nil);
locationMarker=nil;
}
location=_28;
if(location){
locationMarker=objj_msgSend(_28,"marker");
window.setTimeout(function(){
if(!_map){
return;
}
var _29=_map.getZoom();
_map.setCenter(objj_msgSend(locationMarker,"_position"));
if(!_29){
_map.setZoom(13);
}
objj_msgSend(locationMarker,"setMapView:",_26);
},0);
}
}
}),new objj_method(sel_getUid("setMapTypeEdge:"),function(_2a,_2b,_2c){
with(_2a){
if(mapTypeEdge===_2c){
return;
}
mapTypeEdge=_2c;
window.setTimeout(function(){
if(!_map){
return;
}
_map.setOptions({mapTypeControlOptions:{position:_1[mapTypeEdge]}});
},0);
}
}),new objj_method(sel_getUid("zoom"),function(_2d,_2e){
with(_2d){
if(!_map){
return;
}
return _map.getZoom();
}
}),new objj_method(sel_getUid("setZoom:"),function(_2f,_30,_31){
with(_2f){
if(!_map){
return;
}
_map.setZoom(_31);
}
}),new objj_method(sel_getUid("mapType"),function(_32,_33){
with(_32){
if(!_map){
return;
}
return _map.getMapTypeId();
}
}),new objj_method(sel_getUid("setMapType:"),function(_34,_35,_36){
with(_34){
if(!_map){
return;
}
_map.setMapTypeId(_36);
}
}),new objj_method(sel_getUid("mouseDragged:"),function(_37,_38,_39){
with(_37){
objj_msgSend(objj_msgSend(objj_msgSend(_37,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
}
}),new objj_method(sel_getUid("pointFromLocation:"),function(_3a,_3b,_3c){
with(_3a){
var _3d=_overlay.getProjection(),_3e=_3d.fromLatLngToDivPixel(objj_msgSend(_3c,"_gLatLng"));
if(_3e){
return CGPointMake(_3e.x,_3e.y);
}
}
}),new objj_method(sel_getUid("locationFromPoint:"),function(_3f,_40,_41){
with(_3f){
var _42=_overlay.getProjection(),_43=new google.maps.Point(_41.x,_41.y),ll=_42.fromDivPixelToLatLng(_43);
if(ll){
var loc=objj_msgSend(objj_msgSend(CPLocation,"alloc"),"init");
objj_msgSend(loc,"_setGLatLng:",ll);
return loc;
}
}
}),new objj_method(sel_getUid("_gBounds"),function(_44,_45){
with(_44){
if(_map){
return _map.getBounds();
}
}
}),new objj_method(sel_getUid("fitLocations:"),function(_46,_47,_48){
with(_46){
var _49=new google.maps.LatLngBounds();
for(var i=0,_4a=objj_msgSend(_48,"count");i<_4a;i++){
_49.extend(objj_msgSend(_48[i],"_gLatLng"));
}
if(_map){
_map.fitBounds(_49);
}
}
})]);
NilOverlay=function(_4b){
this.setValues(_4b);
var div=this.div_=document.createElement("div");
div.className="overlay";
};
NilOverlay.prototype=new google.maps.OverlayView;
NilOverlay.prototype.onAdd=function(){
var _4c=this.getPanes().overlayLayer;
_4c.appendChild(this.div_);
};
NilOverlay.prototype.onRemove=function(){
this.div_.parentNode.removeChild(this.div_);
};
NilOverlay.prototype.draw=function(){
var _4d=this.getProjection(),pos=_4d.fromLatLngToDivPixel(this.getMap().getCenter());
var div=this.div_;
div.style.left=pos.x+"px";
div.style.top=pos.y+"px";
div.style.display="block";
};
p;23;CappuGeo/CPDirections.jt;3298;@STATIC;1.0;I;21;Foundation/CPObject.ji;12;CPLocation.jt;3236;
objj_executeFile("Foundation/CPObject.j",NO);
objj_executeFile("CPLocation.j",YES);
var _1=objj_allocateClassPair(CPLocation,"CPDirections"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_service"),new objj_ivar("_renderer"),new objj_ivar("origin"),new objj_ivar("destination"),new objj_ivar("travelMode"),new objj_ivar("mapView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("origin"),function(_3,_4){
with(_3){
return origin;
}
}),new objj_method(sel_getUid("setOrigin:"),function(_5,_6,_7){
with(_5){
origin=_7;
}
}),new objj_method(sel_getUid("destination"),function(_8,_9){
with(_8){
return destination;
}
}),new objj_method(sel_getUid("setDestination:"),function(_a,_b,_c){
with(_a){
destination=_c;
}
}),new objj_method(sel_getUid("travelMode"),function(_d,_e){
with(_d){
return travelMode;
}
}),new objj_method(sel_getUid("setTravelMode:"),function(_f,_10,_11){
with(_f){
travelMode=_11;
}
}),new objj_method(sel_getUid("mapView"),function(_12,_13){
with(_12){
return mapView;
}
}),new objj_method(sel_getUid("setMapView:"),function(_14,_15,_16){
with(_14){
mapView=_16;
}
}),new objj_method(sel_getUid("init"),function(_17,_18){
with(_17){
_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("CPDirections").super_class},"init");
if(_17){
_service=new google.maps.DirectionsService();
_renderer=new google.maps.DirectionsRenderer();
travelMode=CPDirectionsDrivingMode;
}
return _17;
}
}),new objj_method(sel_getUid("setMapView:"),function(_19,_1a,_1b){
with(_19){
mapView=_1b;
if(mapView&&mapView._map){
_renderer.setMap(mapView._map);
}else{
_renderer.setMap(nil);
}
}
}),new objj_method(sel_getUid("routeWithMap:detailsView:"),function(_1c,_1d,_1e,_1f){
with(_1c){
if(!origin||!destination||!travelMode){
return;
}
var _20={"origin":objj_msgSend(origin,"lat")?objj_msgSend(origin,"_gLatLng"):objj_msgSend(origin,"description"),"destination":objj_msgSend(destination,"lat")?objj_msgSend(destination,"_gLatLng"):objj_msgSend(destination,"description"),"travelMode":travelMode};
_service.route(_20,function(_21,_22){
if(_22==google.maps.DirectionsStatus.OK){
_renderer.setMap(_1e._map);
objj_msgSend(_1f,"clear");
_renderer.setPanel(objj_msgSend(_1f,"theDiv"));
_renderer.setDirections(_21);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
window.setTimeout(function(){
objj_msgSend(_1f,"_resizeFrame");
},500);
}else{
_renderer.setDirections(nil);
}
});
}
}),new objj_method(sel_getUid("route:"),function(_23,_24,_25){
with(_23){
if(!origin||!destination||!travelMode){
return;
}
var _26={"origin":objj_msgSend(origin,"lat")?objj_msgSend(origin,"_gLatLng"):objj_msgSend(origin,"description"),"destination":objj_msgSend(destination,"lat")?objj_msgSend(destination,"_gLatLng"):objj_msgSend(destination,"description"),"travelMode":travelMode};
_service.route(_26,function(_27,_28){
if(_28==google.maps.DirectionsStatus.OK){
_renderer.setDirections(_27);
}else{
_renderer.setDirections(nil);
}
});
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("initialize"),function(_29,_2a){
with(_29){
CPDirectionsDrivingMode=google.maps.DirectionsTravelMode.DRIVING;
CPDirectionsWalkingMode=google.maps.DirectionsTravelMode.WALKING;
}
})]);
p;21;CappuGeo/CPLocation.jt;10452;@STATIC;1.0;I;21;Foundation/CPObject.jt;10406;
objj_executeFile("Foundation/CPObject.j",NO);
LocationDidGeocode="LocationDidGeocode";
Number.prototype.toRad=function(){
return this*PI/180;
};
Number.prototype.toDeg=function(){
return this*180/PI;
};
latLonDistance=function(_1,_2,_3,_4){
var r=6371,_5=(_3-_1).toRad(),_6=(_4-_2).toRad();
_1=(new Number(_1)).toRad();
_3=(new Number(_3)).toRad();
var _7=SIN(_5/2);
_7=_7*_7;
var _8=SIN(_6/2);
_8=_8*_8;
var _9=COS(_1)*COS(_3);
var a=_7+_9*_8,c=2*ATAN2(SQRT(a),SQRT(1-a));
return r*c;
};
var _a=objj_allocateClassPair(CPObject,"CPLocation"),_b=_a.isa;
class_addIvars(_a,[new objj_ivar("name"),new objj_ivar("lat"),new objj_ivar("lon"),new objj_ivar("_sensorLat"),new objj_ivar("_sensorLon"),new objj_ivar("street"),new objj_ivar("area"),new objj_ivar("city"),new objj_ivar("region"),new objj_ivar("country"),new objj_ivar("postal"),new objj_ivar("_geocoder"),new objj_ivar("_geocodeCallback")]);
objj_registerClassPair(_a);
class_addMethods(_a,[new objj_method(sel_getUid("name"),function(_c,_d){
with(_c){
return name;
}
}),new objj_method(sel_getUid("setName:"),function(_e,_f,_10){
with(_e){
name=_10;
}
}),new objj_method(sel_getUid("lat"),function(_11,_12){
with(_11){
return lat;
}
}),new objj_method(sel_getUid("setLat:"),function(_13,_14,_15){
with(_13){
lat=_15;
}
}),new objj_method(sel_getUid("lon"),function(_16,_17){
with(_16){
return lon;
}
}),new objj_method(sel_getUid("setLon:"),function(_18,_19,_1a){
with(_18){
lon=_1a;
}
}),new objj_method(sel_getUid("_sensorLat"),function(_1b,_1c){
with(_1b){
return _sensorLat;
}
}),new objj_method(sel_getUid("_setSensorLat:"),function(_1d,_1e,_1f){
with(_1d){
_sensorLat=_1f;
}
}),new objj_method(sel_getUid("_sensorLon"),function(_20,_21){
with(_20){
return _sensorLon;
}
}),new objj_method(sel_getUid("_setSensorLon:"),function(_22,_23,_24){
with(_22){
_sensorLon=_24;
}
}),new objj_method(sel_getUid("street"),function(_25,_26){
with(_25){
return street;
}
}),new objj_method(sel_getUid("setStreet:"),function(_27,_28,_29){
with(_27){
street=_29;
}
}),new objj_method(sel_getUid("area"),function(_2a,_2b){
with(_2a){
return area;
}
}),new objj_method(sel_getUid("setArea:"),function(_2c,_2d,_2e){
with(_2c){
area=_2e;
}
}),new objj_method(sel_getUid("city"),function(_2f,_30){
with(_2f){
return city;
}
}),new objj_method(sel_getUid("setCity:"),function(_31,_32,_33){
with(_31){
city=_33;
}
}),new objj_method(sel_getUid("region"),function(_34,_35){
with(_34){
return region;
}
}),new objj_method(sel_getUid("setRegion:"),function(_36,_37,_38){
with(_36){
region=_38;
}
}),new objj_method(sel_getUid("country"),function(_39,_3a){
with(_39){
return country;
}
}),new objj_method(sel_getUid("setCountry:"),function(_3b,_3c,_3d){
with(_3b){
country=_3d;
}
}),new objj_method(sel_getUid("postal"),function(_3e,_3f){
with(_3e){
return postal;
}
}),new objj_method(sel_getUid("setPostal:"),function(_40,_41,_42){
with(_40){
postal=_42;
}
}),new objj_method(sel_getUid("initWithString:"),function(_43,_44,_45){
with(_43){
_43=objj_msgSend(_43,"init");
if(_43){
street=_45;
objj_msgSend(_43,"geocode");
street=nil;
}
return _43;
}
}),new objj_method(sel_getUid("description"),function(_46,_47){
with(_46){
var _48=[street||"",city||"",region||"",country||""];
objj_msgSend(_48,"removeObject:","");
return objj_msgSend(_48,"componentsJoinedByString:",", ");
}
}),new objj_method(sel_getUid("isEqual:"),function(_49,_4a,_4b){
with(_49){
return objj_msgSend(_49,"description")==objj_msgSend(_4b,"description");
}
}),new objj_method(sel_getUid("compareFromCurrentLocation:"),function(_4c,_4d,_4e){
with(_4c){
var lhs=_4c,rhs=_4e,_4f=objj_msgSend(objj_msgSend(CPLocationController,"sharedController"),"currentLocation");
var _50=objj_msgSend(lhs,"distance:",_4f),_51=objj_msgSend(rhs,"distance:",_4f);
if(_50>_51){
return CPOrderedDescending;
}else{
if(_50<_51){
return CPOrderedAscending;
}else{
return CPOrderedSame;
}
}
}
}),new objj_method(sel_getUid("distance:"),function(_52,_53,_54){
with(_52){
return latLonDistance(lat,lon,objj_msgSend(_54,"lat"),objj_msgSend(_54,"lon"));
}
}),new objj_method(sel_getUid("areaDescription"),function(_55,_56){
with(_55){
if(city&®ion){
return city+", "+region;
}else{
if(region&&country){
return region+", "+country;
}
}
}
}),new objj_method(sel_getUid("distanceDescription"),function(_57,_58){
with(_57){
var _59=FLOOR(objj_msgSend(_57,"distance:",objj_msgSend(objj_msgSend(CPLocationController,"sharedController"),"currentLocation"))*(MeasurementUnits=="m"?0.621371192:1));
return _59==0?"Right here!":_59+(MeasurementUnits=="m"?(_59==1?" mile":" miles"):"km")+" away";
}
}),new objj_method(sel_getUid("coords"),function(_5a,_5b){
with(_5a){
return lat+","+lon;
}
}),new objj_method(sel_getUid("_sensorCoords"),function(_5c,_5d){
with(_5c){
return _sensorLat+","+_sensorLon;
}
}),new objj_method(sel_getUid("_gLatLng"),function(_5e,_5f){
with(_5e){
if(lat&&lon){
return new google.maps.LatLng(lat,lon);
}
}
}),new objj_method(sel_getUid("_setGLatLng:"),function(_60,_61,_62){
with(_60){
objj_msgSend(_60,"setLat:",_62.lat());
objj_msgSend(_60,"setLon:",_62.lng());
}
}),new objj_method(sel_getUid("marker"),function(_63,_64){
with(_63){
var _65=objj_msgSend(objj_msgSend(CPMapMarker,"alloc"),"init");
objj_msgSend(_65,"setLocation:",_63);
return _65;
}
}),new objj_method(sel_getUid("geocode"),function(_66,_67){
with(_66){
if(!_geocoder){
_geocoder=new google.maps.Geocoder();
}
var _68=[];
if(street){
objj_msgSend(_68,"addObject:",street);
}
if(city){
objj_msgSend(_68,"addObject:",city);
}
if(region){
objj_msgSend(_68,"addObject:",region);
}
if(country){
objj_msgSend(_68,"addObject:",country);
}
if(postal){
objj_msgSend(_68,"addObject:",postal);
}
if(objj_msgSend(_68,"count")<1){
return objj_msgSend(CPException,"raise:reason:","NoAddress","Tried to geocode without address.");
}
_geocoder.geocode({"address":objj_msgSend(_68,"componentsJoinedByString:",", ")},function(_69,_6a){
objj_msgSend(_66,"_processGeocoderResponse:withStatus:",_69,_6a);
});
}
}),new objj_method(sel_getUid("reverseGeocode"),function(_6b,_6c){
with(_6b){
if(!_geocoder){
_geocoder=new google.maps.Geocoder();
}
var ll=objj_msgSend(_6b,"_gLatLng");
if(!ll){
return objj_msgSend(CPException,"raise:reason:","NoLatLon","Tried to reverse geocode without coordinates.");
}
_geocoder.geocode({"latLng":ll},function(_6d,_6e){
objj_msgSend(_6b,"_processGeocoderResponse:withStatus:",_6d,_6e);
});
}
}),new objj_method(sel_getUid("_reverseGeocodeWithCallback:"),function(_6f,_70,_71){
with(_6f){
_geocodeCallback=_71;
objj_msgSend(_6f,"reverseGeocode");
}
}),new objj_method(sel_getUid("_processGeocoderResponse:withStatus:"),function(_72,_73,_74,_75){
with(_72){
if(_75==google.maps.GeocoderStatus.OK){
var _76=objj_msgSend(_74,"count"),_77=[];
for(var i=0;i<_76;i++){
var _78=objj_msgSend(objj_msgSend(CPLocation,"alloc"),"init"),_79=_74[i];
objj_msgSend(_78,"setLat:",_79.geometry.location.lat());
objj_msgSend(_78,"setLon:",_79.geometry.location.lng());
var _7a={};
for(var j=0,_7b=_79.address_components.length;j<_7b;j++){
var _7c=_79.address_components[j],_7d=_7c.types[0];
if(_7d=="street_number"){
_7a.street=_7c.short_name;
}else{
if(_7d=="route"){
_7a.route=_7c.short_name;
}else{
if(_7d=="locality"){
_7a.locale=_7c.long_name;
}else{
if(_7d=="administrative_area_level_1"){
_7a.region=_7c.short_name;
}else{
if(_7d=="administrative_area_level_3"){
_7a.city=_7c.long_name;
}else{
if(_7d=="postal_code"){
_7a.postal=_7c.long_name;
}else{
if(_7d=="country"){
_7a.country=_7c.long_name;
}
}
}
}
}
}
}
}
if(_7a.route){
objj_msgSend(_78,"setStreet:",(_7a.street?(_7a.street+" "):"")+_7a.route);
}
if(_7a.region){
objj_msgSend(_78,"setRegion:",_7a.region);
}
if(_7a.country){
objj_msgSend(_78,"setCountry:",_7a.country);
}
if(_7a.postal){
objj_msgSend(_78,"setPostal:",_7a.postal);
}
if(_7a.country=="United States"){
if(_7a.city){
objj_msgSend(_78,"setCity:",_7a.city);
}else{
if(_7a.locale){
objj_msgSend(_78,"setCity:",_7a.locale);
}
}
if(_7a.locale){
objj_msgSend(_78,"setArea:",_7a.locale);
}
}else{
if(_7a.locale){
objj_msgSend(_78,"setCity:",_7a.locale);
}
if(_7a.city){
objj_msgSend(_78,"setArea:",_7a.city);
}
}
objj_msgSend(_77,"addObject:",_78);
}
var _7e=_77[0];
lat=objj_msgSend(_7e,"lat")||lat;
lon=objj_msgSend(_7e,"lon")||lon;
street=objj_msgSend(_7e,"street")||street;
area=objj_msgSend(_7e,"area")||area;
city=objj_msgSend(_7e,"city")||city;
region=objj_msgSend(_7e,"region")||region;
country=objj_msgSend(_7e,"country")||country;
postal=objj_msgSend(_7e,"postal")||postal;
if(_geocodeCallback){
_geocodeCallback();
_geocodeCallback=nil;
}else{
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",LocationDidGeocode,_72,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_77,"ResultsList"));
}
}else{
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",LocationDidGeocode,_72);
}
}
})]);
var _a=objj_getClass("CPLocation");
if(!_a){
throw new SyntaxError("*** Could not find definition for class \"CPLocation\"");
}
var _b=_a.isa;
class_addMethods(_a,[new objj_method(sel_getUid("initWithCoder:"),function(_7f,_80,_81){
with(_7f){
_7f=objj_msgSend(_7f,"init");
if(_7f){
lat=objj_msgSend(_81,"decodeFloatForKey:","lat");
lon=objj_msgSend(_81,"decodeFloatForKey:","lon");
_sensorLat=objj_msgSend(_81,"decodeFloatForKey:","sensorLat");
_sensorLon=objj_msgSend(_81,"decodeFloatForKey:","sensorLon");
street=objj_msgSend(_81,"decodeObjectForKey:","street");
area=objj_msgSend(_81,"decodeObjectForKey:","area");
city=objj_msgSend(_81,"decodeObjectForKey:","city");
region=objj_msgSend(_81,"decodeObjectForKey:","region");
country=objj_msgSend(_81,"decodeObjectForKey:","country");
postal=objj_msgSend(_81,"decodeObjectForKey:","postal");
}
return _7f;
}
}),new objj_method(sel_getUid("encodeWithCoder:"),function(_82,_83,_84){
with(_82){
objj_msgSend(_84,"encodeFloat:forKey:",lat,"lat");
objj_msgSend(_84,"encodeFloat:forKey:",lon,"lon");
objj_msgSend(_84,"encodeFloat:forKey:",_sensorLat,"sensorLat");
objj_msgSend(_84,"encodeFloat:forKey:",_sensorLon,"sensorLon");
objj_msgSend(_84,"encodeObject:forKey:",street,"street");
objj_msgSend(_84,"encodeObject:forKey:",area,"area");
objj_msgSend(_84,"encodeObject:forKey:",city,"city");
objj_msgSend(_84,"encodeObject:forKey:",region,"region");
objj_msgSend(_84,"encodeObject:forKey:",country,"country");
objj_msgSend(_84,"encodeObject:forKey:",postal,"postal");
}
})]);
p;31;CappuGeo/CPLocationController.jt;5424;@STATIC;1.0;I;21;Foundation/CPObject.ji;12;CPLocation.ji;11;CPMapView.jt;5346;
objj_executeFile("Foundation/CPObject.j",NO);
objj_executeFile("CPLocation.j",YES);
objj_executeFile("CPMapView.j",YES);
var _1;
CurrentLocationDidChange="CurrentLocationDidChange";
MapsAPIIsLoaded=NO;
geoip_region=nil;
CPLocationControllerLoadMapsAPI=function(_2){
if(MapsAPIIsLoaded){
return;
}
google.load("maps","3",{"other_params":{"sensor":true}});
google.setOnLoadCallback(function(){
MapsAPIIsLoaded=YES;
if(_2){
_2();
}
});
};
var _3=objj_allocateClassPair(CPObject,"CPLocationController"),_4=_3.isa;
class_addIvars(_3,[new objj_ivar("currentLocation"),new objj_ivar("trackingInterval"),new objj_ivar("_trackingInterval"),new objj_ivar("_nativeLocationHasFailed"),new objj_ivar("_sensorLocationCallback")]);
objj_registerClassPair(_3);
class_addMethods(_3,[new objj_method(sel_getUid("currentLocation"),function(_5,_6){
with(_5){
return currentLocation;
}
}),new objj_method(sel_getUid("setCurrentLocation:"),function(_7,_8,_9){
with(_7){
currentLocation=_9;
}
}),new objj_method(sel_getUid("trackingInterval"),function(_a,_b){
with(_a){
return trackingInterval;
}
}),new objj_method(sel_getUid("setTrackingInterval:"),function(_c,_d,_e){
with(_c){
trackingInterval=_e;
}
}),new objj_method(sel_getUid("startTrackingLocation"),function(_f,_10){
with(_f){
if(_trackingInterval){
objj_msgSend(_f,"stopTrackingLocation");
}
if(!trackingInterval){
trackingInterval=3*60*1000;
}
_trackingInterval=window.setInterval(function(){
objj_msgSend(_f,"locate");
},trackingInterval);
objj_msgSend(_f,"locate");
}
}),new objj_method(sel_getUid("stopTrackingLocation"),function(_11,_12){
with(_11){
if(!_trackingInterval){
return;
}
window.clearInterval(_trackingInterval);
}
}),new objj_method(sel_getUid("locate"),function(_13,_14){
with(_13){
if(!_nativeLocationHasFailed&&navigator&&navigator.geolocation){
navigator.geolocation.getCurrentPosition(function(loc){
if(!loc||!loc.coords.latitude||!loc.coords.longitude){
_nativeLocationHasFailed=YES;
objj_msgSend(_13,"locate");
return;
}
var _15=objj_msgSend(objj_msgSend(CPLocation,"alloc"),"init");
objj_msgSend(_15,"setLat:",loc.coords.latitude);
objj_msgSend(_15,"setLon:",loc.coords.longitude);
objj_msgSend(_15,"_setSensorLat:",loc.coords.latitude);
objj_msgSend(_15,"_setSensorLon:",loc.coords.longitude);
if(_sensorLocationCallback){
objj_msgSend(_15,"_reverseGeocodeWithCallback:",function(){
currentLocation=_15;
_sensorLocationCallback(_15);
_sensorLocationCallback=nil;
});
}else{
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_13,sel_getUid("sensorLocationDidGeocode:"),LocationDidGeocode,_15);
objj_msgSend(_15,"reverseGeocode");
}
},function(_16){
_nativeLocationHasFailed=YES;
objj_msgSend(_13,"locate");
});
}else{
if(NO&&google&&google.loader&&google.loader.ClientLocation){
var loc=google.loader.ClientLocation,_17=objj_msgSend(objj_msgSend(CPLocation,"alloc"),"init");
objj_msgSend(_17,"setLat:",loc.latitude);
objj_msgSend(_17,"setLon:",loc.longitude);
objj_msgSend(_17,"_setSensorLat:",loc.latitude);
objj_msgSend(_17,"_setSensorLon:",loc.longitude);
if(_sensorLocationCallback){
currentLocation=_17;
_sensorLocationCallback(_17);
_sensorLocationCallback=nil;
}else{
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_13,sel_getUid("sensorLocationDidGeocode:"),LocationDidGeocode,_17);
objj_msgSend(_17,"reverseGeocode");
}
}else{
var _18=document.createElement("script");
_18.src="http://j.maxmind.com/app/geoip.js";
_18.type="text/javascript";
document.body.appendChild(_18);
var _19=window.setNativeInterval(function(){
if(geoip_region){
window.clearInterval(_19);
var _1a=objj_msgSend(objj_msgSend(CPLocation,"alloc"),"init");
objj_msgSend(_1a,"setCity:",geoip_city());
objj_msgSend(_1a,"setRegion:",geoip_region());
objj_msgSend(_1a,"setPostal:",geoip_postal_code());
objj_msgSend(_1a,"_setSensorLat:",geoip_latitude());
objj_msgSend(_1a,"_setSensorLon:",geoip_longitude());
geoip_region=nil;
document.body.removeChild(_18);
if(_sensorLocationCallback){
currentLocation=_1a;
_sensorLocationCallback(_1a);
_sensorLocationCallback=nil;
}else{
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_13,sel_getUid("sensorLocationDidGeocode:"),LocationDidGeocode,_1a);
objj_msgSend(_1a,"geocode");
}
}
},100);
}
}
}
}),new objj_method(sel_getUid("_locateWithCallback:"),function(_1b,_1c,_1d){
with(_1b){
_sensorLocationCallback=_1d;
objj_msgSend(_1b,"locate");
}
}),new objj_method(sel_getUid("sensorLocationDidGeocode:"),function(_1e,_1f,_20){
with(_1e){
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_1e,LocationDidGeocode,objj_msgSend(_20,"object"));
objj_msgSend(_1e,"setCurrentLocation:",objj_msgSend(_20,"object"));
}
}),new objj_method(sel_getUid("setCurrentLocation:"),function(_21,_22,_23){
with(_21){
currentLocation=_23;
objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CurrentLocationDidChange,_21);
}
})]);
class_addMethods(_4,[new objj_method(sel_getUid("sharedController"),function(_24,_25){
with(_24){
if(!_1){
_1=objj_msgSend(objj_msgSend(objj_msgSend(_24,"class"),"alloc"),"init");
}
return _1;
}
}),new objj_method(sel_getUid("loadMapsAPI"),function(_26,_27){
with(_26){
CPLocationControllerLoadMapsAPI();
}
})]);
p;21;CappuGeo/CPMapImage.jt;2916;@STATIC;1.0;I;20;AppKit/CPImageView.jt;2872;
objj_executeFile("AppKit/CPImageView.j",NO);
var _1=objj_allocateClassPair(CPImageView,"CPMapImage"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("location"),new objj_ivar("mapStyle"),new objj_ivar("markerColor"),new objj_ivar("markerLabel"),new objj_ivar("markerSize")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("location"),function(_3,_4){
with(_3){
return location;
}
}),new objj_method(sel_getUid("setLocation:"),function(_5,_6,_7){
with(_5){
location=_7;
}
}),new objj_method(sel_getUid("mapStyle"),function(_8,_9){
with(_8){
return mapStyle;
}
}),new objj_method(sel_getUid("setMapStyle:"),function(_a,_b,_c){
with(_a){
mapStyle=_c;
}
}),new objj_method(sel_getUid("markerColor"),function(_d,_e){
with(_d){
return markerColor;
}
}),new objj_method(sel_getUid("setMarkerColor:"),function(_f,_10,_11){
with(_f){
markerColor=_11;
}
}),new objj_method(sel_getUid("markerLabel"),function(_12,_13){
with(_12){
return markerLabel;
}
}),new objj_method(sel_getUid("setMarkerLabel:"),function(_14,_15,_16){
with(_14){
markerLabel=_16;
}
}),new objj_method(sel_getUid("markerSize"),function(_17,_18){
with(_17){
return markerSize;
}
}),new objj_method(sel_getUid("setMarkerSize:"),function(_19,_1a,_1b){
with(_19){
markerSize=_1b;
}
}),new objj_method(sel_getUid("setLocation:"),function(_1c,_1d,_1e){
with(_1c){
if(location==_1e){
return;
}
location=_1e;
if(location){
var _1f=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(_1c,"staticMapURL"),"absoluteString"),objj_msgSend(_1c,"bounds").size);
objj_msgSend(_1c,"setImage:",_1f);
}else{
objj_msgSend(_1c,"setImage:",nil);
}
}
}),new objj_method(sel_getUid("staticMapURL"),function(_20,_21){
with(_20){
if(!location){
return;
}
var url=["http://maps.google.com/maps/api/staticmap?key=",GMAPS_KEY,"&sensor=true"];
objj_msgSend(url,"addObject:","&maptype=");
if(mapStyle==CPMapTypeSatellite){
objj_msgSend(url,"addObject:","satellite");
}else{
if(mapStyle==CPMapTypeTerrain){
objj_msgSend(url,"addObject:","terrain");
}else{
if(mapStyle==CPMapTypeHybrid){
objj_msgSend(url,"addObject:","hybrid");
}else{
objj_msgSend(url,"addObject:","roadmap");
}
}
}
objj_msgSend(url,"addObject:","&zoom=12");
objj_msgSend(url,"addObjectsFromArray:",["&size=",CGRectGetWidth(objj_msgSend(_20,"bounds")),"x",CGRectGetHeight(objj_msgSend(_20,"bounds"))]);
objj_msgSend(url,"addObject:","&markers=");
if(markerColor){
objj_msgSend(url,"addObjectsFromArray:",["color:0x",objj_msgSend(markerColor,"hexString"),"|"]);
}
if(markerLabel){
objj_msgSend(url,"addObjectsFromArray:",["label:",markerLabel,"|"]);
}
if(markerSize){
objj_msgSend(url,"addObjectsFromArray:",["size:",markerSize,"|"]);
}
objj_msgSend(url,"addObject:",objj_msgSend(location,"coords"));
return objj_msgSend(CPURL,"URLWithString:",objj_msgSend(url,"componentsJoinedByString:",""));
}
})]);
p;22;CappuGeo/CPMapMarker.jt;4479;@STATIC;1.0;I;21;Foundation/CPObject.jt;4434;
objj_executeFile("Foundation/CPObject.j",NO);
var _1=objj_allocateClassPair(CPObject,"CPMapMarker"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_marker"),new objj_ivar("location"),new objj_ivar("mapView"),new objj_ivar("title"),new objj_ivar("image"),new objj_ivar("draggable"),new objj_ivar("target"),new objj_ivar("action"),new objj_ivar("mouseOverAction"),new objj_ivar("mouseOutAction"),new objj_ivar("dragAction"),new objj_ivar("tag")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("location"),function(_3,_4){
with(_3){
return location;
}
}),new objj_method(sel_getUid("setLocation:"),function(_5,_6,_7){
with(_5){
location=_7;
}
}),new objj_method(sel_getUid("mapView"),function(_8,_9){
with(_8){
return mapView;
}
}),new objj_method(sel_getUid("setMapView:"),function(_a,_b,_c){
with(_a){
mapView=_c;
}
}),new objj_method(sel_getUid("title"),function(_d,_e){
with(_d){
return title;
}
}),new objj_method(sel_getUid("setTitle:"),function(_f,_10,_11){
with(_f){
title=_11;
}
}),new objj_method(sel_getUid("image"),function(_12,_13){
with(_12){
return image;
}
}),new objj_method(sel_getUid("setImage:"),function(_14,_15,_16){
with(_14){
image=_16;
}
}),new objj_method(sel_getUid("draggable"),function(_17,_18){
with(_17){
return draggable;
}
}),new objj_method(sel_getUid("setDraggable:"),function(_19,_1a,_1b){
with(_19){
draggable=_1b;
}
}),new objj_method(sel_getUid("target"),function(_1c,_1d){
with(_1c){
return target;
}
}),new objj_method(sel_getUid("setTarget:"),function(_1e,_1f,_20){
with(_1e){
target=_20;
}
}),new objj_method(sel_getUid("action"),function(_21,_22){
with(_21){
return action;
}
}),new objj_method(sel_getUid("setAction:"),function(_23,_24,_25){
with(_23){
action=_25;
}
}),new objj_method(sel_getUid("mouseOverAction"),function(_26,_27){
with(_26){
return mouseOverAction;
}
}),new objj_method(sel_getUid("setMouseOverAction:"),function(_28,_29,_2a){
with(_28){
mouseOverAction=_2a;
}
}),new objj_method(sel_getUid("mouseOutAction"),function(_2b,_2c){
with(_2b){
return mouseOutAction;
}
}),new objj_method(sel_getUid("setMouseOutAction:"),function(_2d,_2e,_2f){
with(_2d){
mouseOutAction=_2f;
}
}),new objj_method(sel_getUid("dragAction"),function(_30,_31){
with(_30){
return dragAction;
}
}),new objj_method(sel_getUid("setDragAction:"),function(_32,_33,_34){
with(_32){
dragAction=_34;
}
}),new objj_method(sel_getUid("tag"),function(_35,_36){
with(_35){
return tag;
}
}),new objj_method(sel_getUid("setTag:"),function(_37,_38,_39){
with(_37){
tag=_39;
}
}),new objj_method(sel_getUid("init"),function(_3a,_3b){
with(_3a){
_3a=objj_msgSendSuper({receiver:_3a,super_class:objj_getClass("CPMapMarker").super_class},"init");
if(_3a){
_marker=new google.maps.Marker({});
google.maps.event.addListener(_marker,"click",function(){
if(action){
objj_msgSend(target,action,_3a);
}
});
google.maps.event.addListener(_marker,"mouseover",function(){
if(mouseOverAction){
objj_msgSend(target,mouseOverAction,_3a);
}
});
google.maps.event.addListener(_marker,"mouseout",function(){
if(mouseOutAction){
objj_msgSend(target,mouseOutAction,_3a);
}
});
google.maps.event.addListener(_marker,"dragend",function(){
if(draggable&&dragAction){
objj_msgSend(target,dragAction,_3a);
}
});
}
return _3a;
}
}),new objj_method(sel_getUid("setLocation:"),function(_3c,_3d,_3e){
with(_3c){
location=_3e;
var ll=objj_msgSend(_3e,"_gLatLng");
if(ll){
_marker.setPosition(ll);
}
var _3f=objj_msgSend(_3e,"description");
if(_3f){
objj_msgSend(_3c,"setTitle:",_3f);
}
}
}),new objj_method(sel_getUid("setMapView:"),function(_40,_41,_42){
with(_40){
mapView=_42;
if(mapView&&mapView._map){
_marker.setMap(mapView._map);
}else{
_marker.setMap(nil);
}
}
}),new objj_method(sel_getUid("setTitle:"),function(_43,_44,_45){
with(_43){
title=_45;
_marker.setTitle(title);
}
}),new objj_method(sel_getUid("setImage:"),function(_46,_47,_48){
with(_46){
image=_48;
_marker.setIcon(objj_msgSend(image,"filename"));
}
}),new objj_method(sel_getUid("setDraggable:"),function(_49,_4a,_4b){
with(_49){
draggable=_4b;
_marker.setDraggable(draggable);
}
}),new objj_method(sel_getUid("_gLatLng"),function(_4c,_4d){
with(_4c){
return objj_msgSend(_4c,"_position");
}
}),new objj_method(sel_getUid("_position"),function(_4e,_4f){
with(_4e){
return _marker.getPosition();
}
}),new objj_method(sel_getUid("frameOrigin"),function(_50,_51){
with(_50){
return objj_msgSend(mapView,"pointFromLocation:",location);
}
})]);
p;20;CappuGeo/CPMapView.jt;7311;@STATIC;1.0;I;15;AppKit/CPView.ji;12;CPMapImage.ji;13;CPMapMarker.jt;7237;
objj_executeFile("AppKit/CPView.j",NO);
objj_executeFile("CPMapImage.j",YES);
objj_executeFile("CPMapMarker.j",YES);
CPMapViewWillLoad="CPMapViewWillLoad";
CPMapViewDidLoad="CPMapViewDidLoad";
var _1=[];
var _2=objj_allocateClassPair(CPView,"CPMapView"),_3=_2.isa;
class_addIvars(_2,[new objj_ivar("_map"),new objj_ivar("mapLoaded"),new objj_ivar("mapTypeEdge"),new objj_ivar("delegate"),new objj_ivar("location"),new objj_ivar("locationMarker"),new objj_ivar("_overlay")]);
objj_registerClassPair(_2);
class_addMethods(_2,[new objj_method(sel_getUid("mapLoaded"),function(_4,_5){
with(_4){
return mapLoaded;
}
}),new objj_method(sel_getUid("mapTypeEdge"),function(_6,_7){
with(_6){
return mapTypeEdge;
}
}),new objj_method(sel_getUid("setMapTypeEdge:"),function(_8,_9,_a){
with(_8){
mapTypeEdge=_a;
}
}),new objj_method(sel_getUid("delegate"),function(_b,_c){
with(_b){
return delegate;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_d,_e,_f){
with(_d){
delegate=_f;
}
}),new objj_method(sel_getUid("location"),function(_10,_11){
with(_10){
return location;
}
}),new objj_method(sel_getUid("setLocation:"),function(_12,_13,_14){
with(_12){
location=_14;
}
}),new objj_method(sel_getUid("locationMarker"),function(_15,_16){
with(_15){
return locationMarker;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_17,_18,_19){
with(_17){
_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("CPMapView").super_class},"initWithFrame:",_19);
if(_17){
mapTypeEdge=CPMaxXEdge|CPMinYEdge;
}
return _17;
}
}),new objj_method(sel_getUid("resizeWithOldSuperviewSize:"),function(_1a,_1b,_1c){
with(_1a){
objj_msgSendSuper({receiver:_1a,super_class:objj_getClass("CPMapView").super_class},"resizeWithOldSuperviewSize:",_1c);
if(_map){
google.maps.event.trigger(_map,"resize");
}
}
}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_1d,_1e){
with(_1d){
window.setTimeout(function(){
var _1f=objj_msgSend(CPNotificationCenter,"defaultCenter");
objj_msgSend(_1f,"postNotificationName:object:",CPMapViewWillLoad,_1d);
_map=new google.maps.Map(_DOMElement,{mapTypeId:CPMapTypeRoadmap});
mapLoaded=YES;
_overlay=new NilOverlay({"map":_map});
google.maps.event.addListener(_map,"zoom_changed",function(){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewDidZoom:"))){
objj_msgSend(delegate,"mapViewDidZoom:",_1d);
}
});
google.maps.event.addListener(_map,"maptypeid_changed",function(){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewDidChangeType:"))){
objj_msgSend(delegate,"mapViewDidChangeType:",_1d);
}
});
objj_msgSend(_1f,"postNotificationName:object:",CPMapViewDidLoad,_1d);
},0);
}
}),new objj_method(sel_getUid("release"),function(_20,_21){
with(_20){
if(_map){
_map=nil;
}
objj_msgSendSuper({receiver:_20,super_class:objj_getClass("CPMapView").super_class},"release");
}
}),new objj_method(sel_getUid("setDelegate:"),function(_22,_23,_24){
with(_22){
var _25=objj_msgSend(CPNotificationCenter,"defaultCenter");
if(delegate){
objj_msgSend(_25,"removeObserver:name:object:",delegate,CPMapViewWillLoad,_22);
objj_msgSend(_25,"removeObserver:name:object:",delegate,CPMapViewDidLoad,_22);
}
delegate=_24;
if(delegate){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewWillLoad:"))){
objj_msgSend(_25,"addObserver:selector:name:object:",delegate,sel_getUid("mapViewWillLoad:"),CPMapViewWillLoad,_22);
}
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("mapViewDidLoad:"))){
objj_msgSend(_25,"addObserver:selector:name:object:",delegate,sel_getUid("mapViewDidLoad:"),CPMapViewDidLoad,_22);
}
}
}
}),new objj_method(sel_getUid("setLocation:"),function(_26,_27,_28){
with(_26){
if(location){
objj_msgSend(locationMarker,"setMapView:",nil);
locationMarker=nil;
}
location=_28;
if(location){
locationMarker=objj_msgSend(_28,"marker");
window.setTimeout(function(){
if(!_map){
return;
}
var _29=_map.getZoom();
_map.setCenter(objj_msgSend(locationMarker,"_position"));
if(!_29){
_map.setZoom(13);
}
objj_msgSend(locationMarker,"setMapView:",_26);
},0);
}
}
}),new objj_method(sel_getUid("setMapTypeEdge:"),function(_2a,_2b,_2c){
with(_2a){
if(mapTypeEdge===_2c){
return;
}
mapTypeEdge=_2c;
window.setTimeout(function(){
if(!_map){
return;
}
_map.setOptions({mapTypeControlOptions:{position:_1[mapTypeEdge]}});
},0);
}
}),new objj_method(sel_getUid("zoom"),function(_2d,_2e){
with(_2d){
if(!_map){
return;
}
return _map.getZoom();
}
}),new objj_method(sel_getUid("setZoom:"),function(_2f,_30,_31){
with(_2f){
if(!_map){
return;
}
_map.setZoom(_31);
}
}),new objj_method(sel_getUid("mapType"),function(_32,_33){
with(_32){
if(!_map){
return;
}
return _map.getMapTypeId();
}
}),new objj_method(sel_getUid("setMapType:"),function(_34,_35,_36){
with(_34){
if(!_map){
return;
}
_map.setMapTypeId(_36);
}
}),new objj_method(sel_getUid("mouseDragged:"),function(_37,_38,_39){
with(_37){
objj_msgSend(objj_msgSend(objj_msgSend(_37,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES);
}
}),new objj_method(sel_getUid("pointFromLocation:"),function(_3a,_3b,_3c){
with(_3a){
var _3d=_overlay.getProjection(),_3e=_3d.fromLatLngToDivPixel(objj_msgSend(_3c,"_gLatLng"));
if(_3e){
return CGPointMake(_3e.x,_3e.y);
}
}
}),new objj_method(sel_getUid("locationFromPoint:"),function(_3f,_40,_41){
with(_3f){
var _42=_overlay.getProjection(),_43=new google.maps.Point(_41.x,_41.y),ll=_42.fromDivPixelToLatLng(_43);
if(ll){
var loc=objj_msgSend(objj_msgSend(CPLocation,"alloc"),"init");
objj_msgSend(loc,"_setGLatLng:",ll);
return loc;
}
}
}),new objj_method(sel_getUid("_gBounds"),function(_44,_45){
with(_44){
if(_map){
return _map.getBounds();
}
}
}),new objj_method(sel_getUid("fitLocations:"),function(_46,_47,_48){
with(_46){
var _49=new google.maps.LatLngBounds();
for(var i=0,_4a=objj_msgSend(_48,"count");i<_4a;i++){
_49.extend(objj_msgSend(_48[i],"_gLatLng"));
}
if(_map){
_map.fitBounds(_49);
}
}
})]);
class_addMethods(_3,[new objj_method(sel_getUid("initialize"),function(_4b,_4c){
with(_4b){
CPMapTypeRoadmap=google.maps.MapTypeId.ROADMAP;
CPMapTypeSatellite=google.maps.MapTypeId.SATELLITE;
CPMapTypeTerrain=google.maps.MapTypeId.TERRAIN;
CPMapTypeHybrid=google.maps.MapTypeId.HYBRID;
_1[CPMinXEdge]=google.maps.ControlPosition.LEFT;
_1[CPMaxXEdge]=google.maps.ControlPosition.RIGHT;
_1[CPMinYEdge]=google.maps.ControlPosition.TOP;
_1[CPMaxYEdge]=google.maps.ControlPosition.BOTTOM;
_1[CPMinXEdge&CPMinYEdge]=google.maps.ControlPosition.TOP_LEFT;
_1[CPMinXEdge&CPMaxYEdge]=google.maps.ControlPosition.BOTTOM_LEFT;
_1[CPMaxXEdge&CPMinYEdge]=google.maps.ControlPosition.TOP_RIGHT;
_1[CPMaxXEdge&CPMaxYEdge]=google.maps.ControlPosition.BOTTOM_RIGHT;
NilOverlay.prototype=new google.maps.OverlayView;
NilOverlay.prototype.onAdd=function(){
var _4d=this.getPanes().overlayLayer;
_4d.appendChild(this.div_);
};
NilOverlay.prototype.onRemove=function(){
this.div_.parentNode.removeChild(this.div_);
};
NilOverlay.prototype.draw=function(){
var _4e=this.getProjection(),pos=_4e.fromLatLngToDivPixel(this.getMap().getCenter());
var div=this.div_;
div.style.left=pos.x+"px";
div.style.top=pos.y+"px";
div.style.display="block";
};
}
})]);
NilOverlay=function(_4f){
this.setValues(_4f);
var div=this.div_=document.createElement("div");
div.className="overlay";
};
p;29;CappuGeo/DirectionStepsView.jt;2207;@STATIC;1.0;t;2188;
var _1=objj_allocateClassPair(CPView,"ArbitraryHTMLView"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("_theDiv"),new objj_ivar("_frameView"),new objj_ivar("_scrollView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("_theDiv"),function(_3,_4){
with(_3){
return _theDiv;
}
}),new objj_method(sel_getUid("_setTheDiv:"),function(_5,_6,_7){
with(_5){
_theDiv=_7;
}
}),new objj_method(sel_getUid("_frameView"),function(_8,_9){
with(_8){
return _frameView;
}
}),new objj_method(sel_getUid("_setFrameView:"),function(_a,_b,_c){
with(_a){
_frameView=_c;
}
}),new objj_method(sel_getUid("initWithFrame:"),function(_d,_e,_f){
with(_d){
objj_msgSendSuper({receiver:_d,super_class:objj_getClass("ArbitraryHTMLView").super_class},"initWithFrame:",_f);
_theDiv=document.createElement("div");
_theDiv.name="div"+Math.floor(Math.random()*10000);
_theDiv.style.borderWidth="0px";
_theDiv.style.margin="0px";
_theDiv.style.padding="0px";
_theDiv.style.position="relative";
_theDiv.style.top="-11px";
_frameView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0));
_scrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",objj_msgSend(_d,"bounds"));
objj_msgSend(_scrollView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(_scrollView,"setAutohidesScrollers:",YES);
objj_msgSend(_scrollView,"setDocumentView:",_frameView);
objj_msgSend(_d,"addSubview:",_scrollView);
_frameView._DOMElement.appendChild(_theDiv);
return _d;
}
}),new objj_method(sel_getUid("setContent:"),function(_10,_11,_12){
with(_10){
theDiv.innerHTML=_12;
}
}),new objj_method(sel_getUid("theDiv"),function(_13,_14){
with(_13){
return _theDiv;
}
}),new objj_method(sel_getUid("_resizeFrame"),function(_15,_16){
with(_15){
var _17=objj_msgSend(_15,"frame").size.width-objj_msgSend(CPScroller,"scrollerWidth");
objj_msgSend(_frameView,"setFrameSize:",CGSizeMake(_17,_theDiv.offsetHeight+10));
}
}),new objj_method(sel_getUid("setFrameSize:"),function(_18,_19,_1a){
with(_18){
objj_msgSendSuper({receiver:_18,super_class:objj_getClass("ArbitraryHTMLView").super_class},"setFrameSize:",_1a);
objj_msgSend(_18,"_resizeFrame");
}
})]);
p;41;DeepDropFileUpload/DCFileDropController.jt;5961;@STATIC;1.0;I;16;AppKit/CPPanel.jt;5921;
objj_executeFile("AppKit/CPPanel.j",NO);
DCFileDropableTargets=[];
var _1=objj_allocateClassPair(CPObject,"DCFileDropController"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("view"),new objj_ivar("validFileTypes"),new objj_ivar("dropDelegate"),new objj_ivar("uploadURL"),new objj_ivar("uploadManager"),new objj_ivar("_overView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("view"),function(_3,_4){
with(_3){
return view;
}
}),new objj_method(sel_getUid("setView:"),function(_5,_6,_7){
with(_5){
view=_7;
}
}),new objj_method(sel_getUid("validFileTypes"),function(_8,_9){
with(_8){
return validFileTypes;
}
}),new objj_method(sel_getUid("setValidFileTypes:"),function(_a,_b,_c){
with(_a){
validFileTypes=_c;
}
}),new objj_method(sel_getUid("initWithView:dropDelegate:uploadURL:uploadManager:"),function(_d,_e,_f,_10,_11,_12){
with(_d){
return objj_msgSend(_d,"initWithView:dropDelegate:uploadURL:uploadManager:insertAsFirstSubview:",_f,_10,_11,_12,NO);
}
}),new objj_method(sel_getUid("initWithView:dropDelegate:uploadURL:uploadManager:insertAsFirstSubview:"),function(_13,_14,_15,_16,_17,_18,_19){
with(_13){
_13=objj_msgSendSuper({receiver:_13,super_class:objj_getClass("DCFileDropController").super_class},"init");
view=_15;
dropDelegate=_16;
uploadURL=_17;
uploadManager=_18;
_overView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,objj_msgSend(_15,"frame").size.width,objj_msgSend(_15,"frame").size.height));
objj_msgSend(_overView,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor"));
objj_msgSend(_overView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(_overView,"setHitTests:",NO);
objj_msgSend(_overView,"setHidden:",YES);
objj_msgSend(_13,"setFileDropState:",NO);
objj_msgSend(DCFileDropableTargets,"addObject:",_overView._DOMElement);
_15._DOMElement.addEventListener("dragenter",function(_1a){
_1a.preventDefault();
_1a.dataTransfer.dropEffect="copy";
objj_msgSend(_13,"fileDraggingEntered:",_1a);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
_15._DOMElement.addEventListener("dragover",function(_1b){
_1b.preventDefault();
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
_overView._DOMElement.addEventListener("dragover",function(_1c){
_1c.preventDefault();
_1c.dataTransfer.dropEffect="copy";
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
window.document.addEventListener("dragover",function(_1d){
_1d.preventDefault();
if(window.navigator.userAgent.indexOf("AppleWebKit")!=-1){
if(!objj_msgSend(DCFileDropableTargets,"containsObject:",_1d.toElement)){
_1d.dataTransfer.dropEffect="none";
}
}
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
window.document.addEventListener("drop",function(_1e){
_1e.preventDefault();
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
_15._DOMElement.addEventListener("drop",function(_1f){
_1f.preventDefault();
objj_msgSend(_13,"fileDropped:",_1f.dataTransfer.files);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
if(window.navigator.userAgent.indexOf("AppleWebKit")!=-1){
_overView._DOMElement.addEventListener("dragleave",function(_20){
_20.preventDefault();
_20.dataTransfer.dropEffect="none";
objj_msgSend(_13,"fileDraggingExited:",_20);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
}else{
_15._DOMElement.addEventListener("dragleave",function(_21){
_21.preventDefault();
_21.dataTransfer.dropEffect="none";
objj_msgSend(_13,"fileDraggingExited:",_21);
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
},YES);
}
return _13;
}
}),new objj_method(sel_getUid("validateDraggedFiles:"),function(_22,_23,_24){
with(_22){
if(!objj_msgSend(validFileTypes,"count")){
return YES;
}
for(var i=0;i<_24.length;i++){
var _25=_24.item(i).fileName,_26=objj_msgSend(_25,"pathExtension");
return objj_msgSend(validFileTypes,"containsObject:",_26);
}
return YES;
}
}),new objj_method(sel_getUid("setFileDropState:"),function(_27,_28,_29){
with(_27){
if(objj_msgSend(view,"respondsToSelector:",sel_getUid("fileDropUploadController:setState:"))){
objj_msgSend(view,"fileDropUploadController:setState:",_27,_29);
}
}
}),new objj_method(sel_getUid("fileDraggingEntered:"),function(_2a,_2b,_2c){
with(_2a){
objj_msgSend(_2a,"setFileDropState:",YES);
objj_msgSend(_overView,"setFrame:",CGRectMake(0,0,objj_msgSend(view,"frame").size.width,objj_msgSend(view,"frame").size.height));
objj_msgSend(_overView,"setHidden:",NO);
if(window.navigator.userAgent.indexOf("AppleWebKit")!=-1){
objj_msgSend(view,"addSubview:",_overView);
}
}
}),new objj_method(sel_getUid("fileDraggingExited:"),function(_2d,_2e,_2f){
with(_2d){
objj_msgSend(_2d,"setFileDropState:",NO);
objj_msgSend(_overView,"setHidden:",YES);
}
}),new objj_method(sel_getUid("fileDropped:"),function(_30,_31,_32){
with(_30){
objj_msgSend(_30,"setFileDropState:",NO);
objj_msgSend(_overView,"setHidden:",YES);
for(var i=0,len=_32.length;i<len;i++){
if(objj_msgSend(dropDelegate,"respondsToSelector:",sel_getUid("newUploadManager:"))){
managerToUse=objj_msgSend(dropDelegate,"newUploadManager:",_30)||uploadManager;
}else{
managerToUse=uploadManager;
}
objj_msgSend(managerToUse,"setEndDelegate:",dropDelegate);
if(objj_msgSend(managerToUse,"respondsToSelector:",sel_getUid("fileUploadWithFile:uploadURL:"))){
var _33=objj_msgSend(managerToUse,"fileUploadWithFile:uploadURL:",_32[i],uploadURL);
if(objj_msgSend(dropDelegate,"respondsToSelector:",sel_getUid("fileDropController:didBeginUpload:"))){
objj_msgSend(dropDelegate,"fileDropController:didBeginUpload:",_30,_33);
}
}
}
}
})]);
p;33;DeepDropFileUpload/DCFileUpload.jt;3622;@STATIC;1.0;I;16;AppKit/CPPanel.jt;3582;
objj_executeFile("AppKit/CPPanel.j",NO);
var _1=objj_allocateClassPair(CPObject,"DCFileUpload"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("name"),new objj_ivar("progress"),new objj_ivar("delegate"),new objj_ivar("uploadURL"),new objj_ivar("file"),new objj_ivar("xhr"),new objj_ivar("isUploading"),new objj_ivar("response")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("name"),function(_3,_4){
with(_3){
return name;
}
}),new objj_method(sel_getUid("setName:"),function(_5,_6,_7){
with(_5){
name=_7;
}
}),new objj_method(sel_getUid("progress"),function(_8,_9){
with(_8){
return progress;
}
}),new objj_method(sel_getUid("setProgress:"),function(_a,_b,_c){
with(_a){
progress=_c;
}
}),new objj_method(sel_getUid("delegate"),function(_d,_e){
with(_d){
return delegate;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_f,_10,_11){
with(_f){
delegate=_11;
}
}),new objj_method(sel_getUid("uploadURL"),function(_12,_13){
with(_12){
return uploadURL;
}
}),new objj_method(sel_getUid("setUploadURL:"),function(_14,_15,_16){
with(_14){
uploadURL=_16;
}
}),new objj_method(sel_getUid("response"),function(_17,_18){
with(_17){
return response;
}
}),new objj_method(sel_getUid("setResponse:"),function(_19,_1a,_1b){
with(_19){
response=_1b;
}
}),new objj_method(sel_getUid("initWithFile:"),function(_1c,_1d,_1e){
with(_1c){
_1c=objj_msgSendSuper({receiver:_1c,super_class:objj_getClass("DCFileUpload").super_class},"init");
file=_1e;
progress=0;
isUploading=NO;
return _1c;
}
}),new objj_method(sel_getUid("begin"),function(_1f,_20){
with(_1f){
objj_msgSend(_1f,"processXHR");
}
}),new objj_method(sel_getUid("processXHR"),function(_21,_22){
with(_21){
xhr=new XMLHttpRequest();
var _23=xhr.upload;
_23.addEventListener("progress",function(_24){
if(_24.lengthComputable){
objj_msgSend(_21,"setProgress:",_24.loaded/_24.total);
objj_msgSend(_21,"fileUploadProgressDidChange");
}
},false);
_23.addEventListener("error",function(evt){
CPLog("error: "+evt);
},false);
xhr.addEventListener("load",function(evt){
if(xhr.responseText){
objj_msgSend(_21,"fileUploadDidEndWithResponse:",xhr.responseText);
}
},NO);
xhr.open("POST",objj_msgSend(uploadURL,"absoluteURL"));
xhr.setRequestHeader("If-Modified-Since","Mon, 26 Jul 1997 05:00:00 GMT");
xhr.setRequestHeader("Cache-Control","no-cache");
xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");
xhr.setRequestHeader("X-File-Name",file.fileName);
xhr.setRequestHeader("X-File-Size",file.fileSize);
xhr.setRequestHeader("Content-Type","multipart/form-data");
xhr.send(file);
objj_msgSend(_21,"fileUploadDidBegin");
}
}),new objj_method(sel_getUid("fileUploadDidBegin"),function(_25,_26){
with(_25){
isUploading=YES;
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("fileUploadDidBegin:"))){
objj_msgSend(delegate,"fileUploadDidBegin:",_25);
}
}
}),new objj_method(sel_getUid("fileUploadProgressDidChange"),function(_27,_28){
with(_27){
isUploading=YES;
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("fileUploadProgressDidChange:"))){
objj_msgSend(delegate,"fileUploadProgressDidChange:",_27);
}
}
}),new objj_method(sel_getUid("fileUploadDidEndWithResponse:"),function(_29,_2a,_2b){
with(_29){
isUploading=NO;
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("fileUploadDidEnd:withResponse:"))){
objj_msgSend(delegate,"fileUploadDidEnd:withResponse:",_29,_2b);
}
}
}),new objj_method(sel_getUid("isUploading"),function(_2c,_2d){
with(_2c){
return isUploading;
}
}),new objj_method(sel_getUid("cancel"),function(_2e,_2f){
with(_2e){
isUploading=NO;
xhr.abort();
}
})]);
p;40;DeepDropFileUpload/DCFileUploadManager.jt;3674;@STATIC;1.0;I;16;AppKit/CPPanel.ji;14;DCFileUpload.jt;3615;
objj_executeFile("AppKit/CPPanel.j",NO);
objj_executeFile("DCFileUpload.j",YES);
SharedFileUploadManager=nil;
var _1=objj_allocateClassPair(CPObject,"DCFileUploadManager"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("fileUploads"),new objj_ivar("delegate"),new objj_ivar("endDelegate"),new objj_ivar("concurrent")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("fileUploads"),function(_3,_4){
with(_3){
return fileUploads;
}
}),new objj_method(sel_getUid("setFileUploads:"),function(_5,_6,_7){
with(_5){
fileUploads=_7;
}
}),new objj_method(sel_getUid("delegate"),function(_8,_9){
with(_8){
return delegate;
}
}),new objj_method(sel_getUid("setDelegate:"),function(_a,_b,_c){
with(_a){
delegate=_c;
}
}),new objj_method(sel_getUid("endDelegate"),function(_d,_e){
with(_d){
return endDelegate;
}
}),new objj_method(sel_getUid("setEndDelegate:"),function(_f,_10,_11){
with(_f){
endDelegate=_11;
}
}),new objj_method(sel_getUid("concurrent"),function(_12,_13){
with(_12){
return concurrent;
}
}),new objj_method(sel_getUid("setConcurrent:"),function(_14,_15,_16){
with(_14){
concurrent=_16;
}
}),new objj_method(sel_getUid("init"),function(_17,_18){
with(_17){
_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("DCFileUploadManager").super_class},"init");
fileUploads=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init");
return _17;
}
}),new objj_method(sel_getUid("fileUploadWithFile:uploadURL:"),function(_19,_1a,_1b,_1c){
with(_19){
var _1d=objj_msgSend(objj_msgSend(DCFileUpload,"alloc"),"initWithFile:",_1b);
objj_msgSend(_1d,"setDelegate:",_19);
objj_msgSend(_1d,"setName:",_1b.fileName);
objj_msgSend(_1d,"setUploadURL:",_1c);
objj_msgSend(fileUploads,"addObject:",_1d);
objj_msgSend(_19,"didChange");
if(concurrent||!objj_msgSend(_19,"isUploading")){
objj_msgSend(_1d,"begin");
}
return _1d;
}
}),new objj_method(sel_getUid("isUploading"),function(_1e,_1f){
with(_1e){
for(var i=0;i<objj_msgSend(fileUploads,"count");i++){
var _20=objj_msgSend(fileUploads,"objectAtIndex:",i);
if(objj_msgSend(_20,"isUploading")){
return YES;
}
}
return NO;
}
}),new objj_method(sel_getUid("removeFileUpload:"),function(_21,_22,_23){
with(_21){
objj_msgSend(fileUploads,"removeObject:",_23);
objj_msgSend(_21,"didChange");
}
}),new objj_method(sel_getUid("fileUploadDidBegin:"),function(_24,_25,_26){
with(_24){
objj_msgSend(_24,"didChange");
}
}),new objj_method(sel_getUid("fileUploadProgressDidChange:"),function(_27,_28,_29){
with(_27){
objj_msgSend(_27,"didChange");
}
}),new objj_method(sel_getUid("fileUploadDidEnd:withResponse:"),function(_2a,_2b,_2c,_2d){
with(_2a){
if(!concurrent){
var i=objj_msgSend(fileUploads,"indexOfObject:",_2c)+1;
if(i<objj_msgSend(fileUploads,"count")){
objj_msgSend(objj_msgSend(fileUploads,"objectAtIndex:",i),"begin");
}
}
objj_msgSend(_2a,"didChange");
if(objj_msgSend(endDelegate,"respondsToSelector:",sel_getUid("managerDidUpload:"))){
objj_msgSend(endDelegate,"managerDidUpload:",_2a);
}
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("fileUploadDidEnd:withResponse:"))){
objj_msgSend(delegate,"fileUploadDidEnd:withResponse:",_2c,_2d);
}
}
}),new objj_method(sel_getUid("didChange"),function(_2e,_2f){
with(_2e){
if(objj_msgSend(delegate,"respondsToSelector:",sel_getUid("fileUploadManagerDidChange:"))){
objj_msgSend(delegate,"fileUploadManagerDidChange:",_2e);
}
}
})]);
class_addMethods(_2,[new objj_method(sel_getUid("sharedManager"),function(_30,_31){
with(_30){
if(!SharedFileUploadManager){
SharedFileUploadManager=objj_msgSend(objj_msgSend(DCFileUploadManager,"alloc"),"init");
}
return SharedFileUploadManager;
}
})]);
p;39;DeepDropFileUpload/DCFileUploadsPanel.jt;3408;@STATIC;1.0;I;16;AppKit/CPPanel.ji;21;DCFileUploadManager.ji;22;DCFileUploadsRowView.jt;3315;
objj_executeFile("AppKit/CPPanel.j",NO);
objj_executeFile("DCFileUploadManager.j",YES);
objj_executeFile("DCFileUploadsRowView.j",YES);
var _1=objj_allocateClassPair(CPPanel,"DCFileUploadsPanel"),_2=_1.isa;
class_addIvars(_1,[new objj_ivar("list"),new objj_ivar("tableView")]);
objj_registerClassPair(_1);
class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){
with(_3){
_3=objj_msgSend(_3,"initWithContentRect:styleMask:",_5,CPHUDBackgroundWindowMask|CPClosableWindowMask|CPResizableWindowMask);
if(_3){
list=objj_msgSend(objj_msgSend(DCFileUploadManager,"sharedManager"),"fileUploads");
objj_msgSend(_3,"setTitle:","Uploads");
objj_msgSend(_3,"setFloatingPanel:",YES);
var _6=objj_msgSend(_3,"contentView");
var _7=objj_msgSend(_6,"bounds");
_7.size.height-=20;
tableView=objj_msgSend(objj_msgSend(CPTableView,"alloc"),"initWithFrame:",_7);
objj_msgSend(tableView,"setDataSource:",_3);
objj_msgSend(tableView,"setDelegate:",_3);
var _8=objj_msgSend(objj_msgSend(DCFileUploadsRowView,"alloc"),"initWithFrame:",CGRectMake(0,0,100,100));
var _9=objj_msgSend(objj_msgSend(CPTableColumn,"alloc"),"initWithIdentifier:","uploads");
objj_msgSend(objj_msgSend(_9,"headerView"),"setStringValue:","Uploads");
objj_msgSend(_9,"setWidth:",220);
objj_msgSend(_9,"setMinWidth:",50);
objj_msgSend(_9,"setEditable:",NO);
objj_msgSend(_9,"setDataView:",_8);
objj_msgSend(tableView,"addTableColumn:",_9);
objj_msgSend(tableView,"setColumnAutoresizingStyle:",CPTableViewLastColumnOnlyAutoresizingStyle);
objj_msgSend(tableView,"setRowHeight:",46);
objj_msgSend(tableView,"setSelectionHighlightStyle:",CPTableViewSelectionHighlightStyleNone);
objj_msgSend(objj_msgSend(tableView,"headerView"),"setFrame:",CGRectMake(0,0,objj_msgSend(objj_msgSend(tableView,"headerView"),"frame").size.width,0));
objj_msgSend(objj_msgSend(tableView,"cornerView"),"setFrame:",CGRectMake(0,0,objj_msgSend(objj_msgSend(tableView,"cornerView"),"frame").size.width,0));
var _a=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",_7);
objj_msgSend(_a,"setDocumentView:",tableView);
objj_msgSend(_a,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable);
objj_msgSend(_a,"setAutohidesScrollers:",YES);
objj_msgSend(_6,"addSubview:",_a);
objj_msgSend(objj_msgSend(_a,"verticalScroller"),"setTheme:",objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD"));
objj_msgSend(objj_msgSend(_a,"horizontalScroller"),"setTheme:",objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD"));
objj_msgSend(tableView,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor"));
objj_msgSend(_a,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor"));
}
return _3;
}
}),new objj_method(sel_getUid("fileUploadManagerDidChange:"),function(_b,_c,_d){
with(_b){
objj_msgSend(tableView,"reloadData");
objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode);
}
}),new objj_method(sel_getUid("tableViewSelectionDidChange:"),function(_e,_f,_10){
with(_e){
var _11=objj_msgSend(tableView,"selectedRow");
}
}),new objj_method(sel_getUid("tableView:objectValueForTableColumn:row:"),function(_12,_13,_14,_15,_16){
with(_12){
return objj_msgSend(list,"objectAtIndex:",_16);
}
}),new objj_method(sel_getUid("numberOfRowsInTableView:"),function(_17,_18,_19){
with(_17){
return objj_msgSend(list,"count");
}
})]);
e; | Objective-J | 4 | Me1000/CappInventory | Build/Deployment/Iguana/CommonJS.environment/Inventory.sj | [
"MIT"
] |
try {
await import("./delayed_error.ts");
} catch (error) {
console.log(`Caught: ${error.stack}`);
}
| TypeScript | 4 | avante-garde/deno | cli/tests/085_dynamic_import_async_error.ts | [
"MIT"
] |
(* ****** ****** *)
//
// CATS-parsemit
//
(* ****** ****** *)
//
// HX-2015-05-20
//
(* ****** ****** *)
//
#define
ATS_MAINATSFLAG 1
//
#define
ATS_DYNLOADNAME
"catsparse_mylib_dynload"
//
(* ****** ****** *)
//
#include "./DATS/catsparse_mylib.dats"
//
(* ****** ****** *)
(* end of [catsparse_mylib.dats] *)
| ATS | 2 | bbarker/ATS-Postiats-contrib | projects/MEDIUM/CATS-parsemit/catsparse_mylib.dats | [
"MIT"
] |
BEGIN {
OFMT = "%.8g"
x = 1
x += .1
x = (x "a")
print x
}
| Awk | 2 | Crestwave/goawk | testdata/gawk/concat5.awk | [
"MIT"
] |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {concatStringsWithSpace} from '@angular/core/src/util/stringify';
describe('stringify', () => {
describe('concatStringsWithSpace', () => {
it('should concat with null', () => {
expect(concatStringsWithSpace(null, null)).toEqual('');
expect(concatStringsWithSpace('a', null)).toEqual('a');
expect(concatStringsWithSpace(null, 'b')).toEqual('b');
});
it('should concat when empty', () => {
expect(concatStringsWithSpace('', '')).toEqual('');
expect(concatStringsWithSpace('a', '')).toEqual('a');
expect(concatStringsWithSpace('', 'b')).toEqual('b');
});
it('should concat when not empty', () => {
expect(concatStringsWithSpace('before', 'after')).toEqual('before after');
});
});
});
| TypeScript | 3 | raghavendramohan/angular | packages/core/test/util/stringify_spec.ts | [
"MIT"
] |
#
# Copyright 2020 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(TARGET farmhash OR farmhash_POPULATED)
return()
endif()
include(OverridableFetchContent)
OverridableFetchContent_Declare(
farmhash
GIT_REPOSITORY https://github.com/google/farmhash
# Sync with tensorflow/third_party/farmhash/workspace.bzl
GIT_TAG 0d859a811870d10f53a594927d0d0b97573ad06d
# It's not currently possible to shallow clone with a GIT TAG
# as cmake attempts to git checkout the commit hash after the clone
# which doesn't work as it's a shallow clone hence a different commit hash.
# https://gitlab.kitware.com/cmake/cmake/-/issues/17770
# GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
SOURCE_DIR "${CMAKE_BINARY_DIR}/farmhash"
)
OverridableFetchContent_GetProperties(farmhash)
if(NOT farmhash_POPULATED)
OverridableFetchContent_Populate(farmhash)
endif()
set(FARMHASH_SOURCE_DIR "${farmhash_SOURCE_DIR}" CACHE PATH
"Source directory for the CMake project."
)
add_subdirectory(
"${CMAKE_CURRENT_LIST_DIR}/farmhash"
"${farmhash_BINARY_DIR}"
EXCLUDE_FROM_ALL
)
| CMake | 4 | EricRemmerswaal/tensorflow | tensorflow/lite/tools/cmake/modules/farmhash.cmake | [
"Apache-2.0"
] |
-- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: Example
local flatbuffers = require('flatbuffers')
local StructOfStructs = {} -- the module
local StructOfStructs_mt = {} -- the class metatable
function StructOfStructs.New()
local o = {}
setmetatable(o, {__index = StructOfStructs_mt})
return o
end
function StructOfStructs_mt:Init(buf, pos)
self.view = flatbuffers.view.New(buf, pos)
end
function StructOfStructs_mt:A(obj)
obj:Init(self.view.bytes, self.view.pos + 0)
return obj
end
function StructOfStructs_mt:B(obj)
obj:Init(self.view.bytes, self.view.pos + 8)
return obj
end
function StructOfStructs_mt:C(obj)
obj:Init(self.view.bytes, self.view.pos + 12)
return obj
end
function StructOfStructs.CreateStructOfStructs(builder, a_id, a_distance, b_a, b_b, c_id, c_distance)
builder:Prep(4, 20)
builder:Prep(4, 8)
builder:PrependUint32(c_distance)
builder:PrependUint32(c_id)
builder:Prep(2, 4)
builder:Pad(1)
builder:PrependInt8(b_b)
builder:PrependInt16(b_a)
builder:Prep(4, 8)
builder:PrependUint32(a_distance)
builder:PrependUint32(a_id)
return builder:Offset()
end
return StructOfStructs -- return the module | Lua | 3 | chi-w-ng/flatbuffers | tests/MyGame/Example/StructOfStructs.lua | [
"Apache-2.0"
] |
package {
public class Test {}
}
if(2 !== "2")
{
trace("2 !== \"2\"");
}
if(2 !== 2)
{
trace("ERROR: 2 !== 2");
}
if(2 !== 5)
{
trace("2 !== 5");
}
if(true !== true)
{
trace("ERROR: true !== true");
}
if(false !== false)
{
trace("ERROR: false !== false");
}
if(true !== false)
{
trace("true !== false");
}
if(1 !== true)
{
trace("1 !== true");
}
if(0 !== false)
{
trace("0 !== false");
}
if("abc" !== "abc")
{
trace("ERROR: \"abc\" !== \"abc\"");
}
if(0 !== undefined)
{
trace("0 !== undefined");
}
if(undefined !== undefined)
{
trace("ERROR: undefined !== undefined");
}
if(NaN !== NaN)
{
trace("NaN !== NaN");
}
if(undefined !== NaN)
{
trace("undefined !== NaN");
}
if(0 !== null)
{
trace("0 !== null");
}
if(null !== null)
{
trace("ERROR: null !== null");
}
if(undefined !== null)
{
trace("undefined !== null");
}
if(NaN !== null)
{
trace("NaN !== null");
}
| ActionScript | 3 | Sprak1/ruffle | tests/tests/swfs/avm2/if_strictne/Test.as | [
"Apache-2.0",
"Unlicense"
] |
;;; term/eshell/autoload/evil.el -*- lexical-binding: t; -*-
;;;###if (featurep! :editor evil)
;;;###autoload (autoload '+eshell:run "term/eshell/autoload/evil" nil t)
(evil-define-command +eshell:run (command bang)
"TODO"
(interactive "<fsh><!>")
(let ((buffer (+eshell-last-buffer))
(command (+evil-replace-filename-modifiers-a command)))
(cond (buffer
(select-window (get-buffer-window buffer))
(+eshell-run-command command buffer))
(bang (+eshell/open nil command))
((+eshell/open-popup nil command)))))
;;;###autoload
(defun +eshell-goto-prompt-on-insert-a ()
"Move cursor to the prompt when switching to insert mode (if point isn't
already there).
Meant to replace `evil-collection-eshell-next-prompt-on-insert'."
(when (< (point) eshell-last-output-end)
(goto-char
(if (memq this-command '(evil-append evil-append-line))
(point-max)
eshell-last-output-end))))
;;;###autoload
(defun +eshell/goto-end-of-prompt ()
"Move cursor to the prompt when switching to insert mode (if point isn't
already there)."
(interactive)
(goto-char (point-max))
(evil-append 1))
| Emacs Lisp | 4 | leezu/doom-emacs | modules/term/eshell/autoload/evil.el | [
"MIT"
] |
module Setoids where
open import Eq
open import Prelude
record Setoid : Set1 where
field
carrier : Set
_≈_ : carrier -> carrier -> Set
equiv : Equiv _≈_
record Datoid : Set1 where
field
setoid : Setoid
_≟_ : forall x y -> Dec (Setoid._≈_ setoid x y)
Setoid-≡ : Set -> Setoid
Setoid-≡ a = record { carrier = a; _≈_ = _≡_; equiv = Equiv-≡ }
| Agda | 4 | cruhland/agda | examples/AIM6/RegExp/talk/Setoids.agda | [
"MIT"
] |
<%= render partial: 'partial' %> | HTML+ERB | 1 | swaathi/rails | actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb | [
"MIT"
] |
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main()
{
// create a JSON pointer
json::json_pointer ptr("/foo");
std::cout << ptr << '\n';
// append a JSON Pointer
ptr /= json::json_pointer("/bar/baz");
std::cout << ptr << '\n';
// append a string
ptr /= "fob";
std::cout << ptr << '\n';
// append an array index
ptr /= 42;
std::cout << ptr << std::endl;
}
| C++ | 5 | anirbas12/json | doc/examples/json_pointer__operator_add.cpp | [
"MIT"
] |
# A trivial sequencer
# Create a table of values,
# These do not get pushed to the stack
"seq" "60 62 64 67" gen_vals
# create a metronome at 3Hz, and
# duplicate its signal
3 metro
# stack: metro
# duplicate the last (only) item on stack
dup
# stack: metro metro
# A simple trigger based envelope generator
# This pops off the metro value from
# the stack.
0.01 0.1 0.1 tenv
# stack: metro tenv
# swap last two values pushed on the stack
swap
# stack: tenv metro
# reads a value from the table "seq"
# This pops off the metro value
# from the stack.
0 "seq" tseq
# stack: tenv tseq
# pops last value from the stack, and applies
# a MIDI to frequency conversion
mtof
# stack: tenv mtof
# pops last value from the stack, and uses
# it as the frequency for the sine wave
0.5 sine
# stack: tenv sine
# pops two values from the stack, and
# multiplies them together
mul
# stack: (nothing, as it should be)
# If this were non-zero, we would run
# into stack-overflow issues.
| SourcePawn | 4 | brandenbyers/Sporth | examples/seq.sp | [
"MIT"
] |
create table a (a int, b varchar(16), KEY key_b (`b`)) partition by hash(a) partitions 5;
| SQL | 3 | suryatmodulus/tidb | br/tests/lightning_partitioned-table/data/partitioned.a-schema.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
var results = number[]; | TypeScript | 1 | nilamjadhav/TypeScript | tests/cases/compiler/badArrayIndex.ts | [
"Apache-2.0"
] |
apiVersion: v1
kind: Namespace
metadata:
name: lens-metrics
annotations:
extensionVersion: "{{ version }}"
| Harbour | 3 | pjsoni/lens | extensions/metrics-cluster-feature/resources/01-namespace.yml.hb | [
"MIT"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R05d02*/
/*Part A*/
ods trace on;
proc univariate data=sp4r.ameshousing;
var saleprice;
qqplot saleprice / normal(mu=est sigma=est);
run;
ods trace off;
/*Part B*/
ods select basicmeasures qqplot;
proc univariate data=sp4r.ameshousing;
var saleprice;
qqplot saleprice / normal(mu=est sigma=est);
run;
| SAS | 4 | snowdj/sas-prog-for-r-users | code/SP4R05d02.sas | [
"CC-BY-4.0"
] |
type User @key(fields: "id") {
id: ID!
name: String!
}
extend type Query {
getUser(id: ID!): User
}
| GraphQL | 4 | diesal11/nest | sample/32-graphql-federation-schema-first/users-application/src/users/users.graphql | [
"MIT"
] |
#Baseline Logger/Alert script for Bro.
#Requires baseline.data file to exist in same directory as the script.This is the file you need to update in order to make the script work.
#You need the notice module loaded in order to actually get the logs.
#Running from cli using bro baseline.bro -r <pcap file> will test your configuration against a pcap, but alerts will go to the notice.log in your current directory.
#Consider copying this script to /usr/local/bro/share/bro/policy/misc/baselinereport.bro and adding "@load misc/baselinereport" to your /usr/local/bro/share/bro/site/local.bro file
#Also checkout bro_agent for SGUIL that will allow you to push bro's notice.logs into SGUIL
#Written By @HashtagCyber, originally for a workshop I presented @BSidesJackson 2016.
#Shoutout to @Killswitch_GUI for convincing my to start speaking, and @Chirontech for supporting me.
#
#TODO: Check destination if ipsrc in protectedhosts
#Create a new notice type for our script
export {
redef enum Notice::Type += {
TrafficBaselineException,
};
}
#Setup records for the table import. This table is keyed based on the destination IP and Port. Input::add_table doesn't like the \ in the port protocol#So we have to split port and protocol into two different columns
type Idx: record {
destip: addr;
destport: port&type_column="pro";
};
#Setup second record that holds the list of IP addresses that are "authorized" to communicate with the host on the port.
# This field is accessed by adding $ips to the database query
#
type Val: record {
ips: set[subnet];
};
#Define the table, hosts, to index on an ip address and port pair
global hosts: table[addr,port] of Val = table();
global protected: set[subnet] = {1.2.3.4/24};
#load the table from file "baseline.data" and send the data to the table defined above
event bro_init()
{
Input::add_table([$source="/usr/local/bro/share/bro/policy/misc/baseline.data", $name="hosts", $idx=Idx, $val=Val, $destination=hosts]);
}
#When the table finishes loading, tell me about it, mostly for debugging
event Input::end_of_data(name:string, source:string)
{
print "Yay,table is loadededed now";
}
#Whenever bro sees a new connection, do someing
event new_connection(c:connection)
{
# Check the destinatition to see if i event need to continue...
if ([c$id$resp_h] in protected)
{
#Check if the destination,destport pair is in the table
if ([c$id$resp_h,c$id$resp_p] !in hosts)
#If it's not, the destination isn't in the table, and it should be. Probably not a major issue, but you should update the table to prevent this
{
print "Unbaselined Host identified! ", c$id$resp_h;
# #This writes the notice to the notice.log file
NOTICE([$note=TrafficBaselineException,$conn=c,$msg=fmt("New DestIP:DPort detected. %s on %s from host: %s. Investigate and Update Baseline", c$id$resp_h, c$id$resp_p, c$id$orig_h),$identifier=cat(c$id$resp_h,c$id$resp_p,c$id$orig_h)]);
}
#If the destination is in the baseline, check to see if the source is
else
{
if (c$id$orig_h !in hosts[c$id$resp_h,c$id$resp_p]$ips)
{
#If it isn't, this is someone we don't know/trust accessing ports they shouldn't.Log this to notice.log
print "Unknown connection to baselined host";
local note=TrafficBaselineException;
local message=fmt("Unknown IPSRC connecting to baselined host. %s on port %s from %s .Investigate, and possibly include an entry for this host under the line for %s .", c$id$resp_h, c$id$resp_p, c$id$orig_h, c$id$resp_h);
local n: Notice::Info = Notice::Info($note=note,$msg=message,$conn=c,$identifier=cat(c$id$resp_h,c$id$resp_p,c$id$orig_h));
NOTICE(n);
}
}}}
| Bro | 4 | hashtagcyber/bropy | etc/baselinereport.bro | [
"MIT"
] |
<!-- Static Modal "Processing request", prevent user input while busy -->
<div class="modal modal-static fade" id="processing-dialog" role="dialog" aria-hidden="true">
<div class="modal-backdrop fade in"></div>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="text-center">
<i class="fa fa-spinner fa-pulse fa-5x"></i>
<h4>{{ lang._('Processing request...') }} </h4>
</div>
</div>
</div>
</div>
</div>
| Volt | 3 | Kipjr/core | src/opnsense/mvc/app/views/layout_partials/base_dialog_processing.volt | [
"BSD-2-Clause"
] |
//
// Copyright (c) XSharp B.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
USING System
USING System.Collections.Generic
USING System.Linq
USING System.Text
USING XUnit
#pragma warnings (219, disable) // unused variables
// Array tests are not working correctly yet with the current build
BEGIN NAMESPACE XSharp.VFP.Tests
CLASS StringTests
[Fact, Trait("Category", "String")];
METHOD JustFunctionTests() AS VOID
Assert.Equal("C:", JustDrive("C:\Folder\test.txt") )
Assert.Equal("txt", JustExt("C:\Folder\test.txt") )
Assert.Equal("C:\Folder", JustPath("C:\Folder\test.txt") )
Assert.Equal("test.txt", JustFName("C:\Folder\test.txt") )
Assert.Equal("test", JustStem("C:\Folder\test.txt") )
Assert.Equal("C:\",Addbs("C:"))
Assert.Equal("C:\test\",Addbs("C:\test"))
[Fact, Trait("Category", "String")];
METHOD RatFunctionTests() AS VOID
Assert.Equal( RAt( NULL , NULL ,1) , 0 )
Assert.Equal( RAt( NULL , "eeee" ,1) , 0)
Assert.Equal( RAt( "" , NULL ,1) , 0 )
Assert.Equal( RAt( "" , "eeee" ,1) , 0 )
Assert.Equal( RAt( "ee" , "" , 1) , 0 )
Assert.Equal( RAt( "" , "" , ) , 0 )
Assert.Equal( RAt( "gg" , "ggeegggege" , 2) , 5 )
Assert.Equal( RAt( "gg" , "ggeegggege" , 3) , 1)
Assert.Equal( RAt( "ag" , "ageegggege" , 6) , 0)
Assert.Equal( RAt( "g" , "eegggege" , 2) , 5)
Assert.Equal( RAt( "g" , "eegggege" , 3 ) , 4)
Assert.Equal( RAt( "gg" , "eegggege" , 2 ) , 3)
Assert.Equal( RAt( "gg" , "eegggege" , 1 ) , 4)
Assert.Equal( RAt( "gg" , "eegggege" ,1) , 4)
Assert.Equal( RAt( "eeee" , "eeee",1 ) , 1)
Assert.Equal( RAt( "ee" , "eeee" , 1) , 3)
Assert.Equal( RAt( "ee" , "eeee" , 2) , 2)
Assert.Equal( RAt( "ee" , "eeee" , 3) , 1)
Assert.Equal( RAt( "ee" , "eeee" , 4) , 0)
Assert.Equal( RAt( "ee" , "eeee",1) , 3)
Assert.Equal( RAt( "ee" , "eeaeeaa" ,1) , 4)
Assert.Equal( RAt( "ee" , "eeaeeaa" , 2 ) , 1)
Assert.Equal( RAt( "e" , "eeee" , 1) , 4)
Assert.Equal( RAt( "e" , "eeee" , 2) , 3)
Assert.Equal( RAt( "e" , "eeee" , 3) , 2)
Assert.Equal( RAt( "e" , "eeee" , 4) , 1)
Assert.Equal( RAt( "e" , "eeee" ,1) , 4)
Assert.Equal( RAt( "jkh" , "jkhjkhejkaaajkh" , 2 ) , 4)
Assert.Equal( RAt( "jkh" , "jkhjkhejkaaajkh" ,1) , 13)
Assert.Equal( RAt("bb", "abbcabbcbba" , 1 ) , 9)
Assert.Equal( RAt("bb", "abbcabbcbba" , 2 ) , 6)
Assert.Equal( RAt("bb", "abbcabbcbba" , 3 ) , 2)
Assert.Equal( RAt("bb", "abbcabbcbba" , 4 ) , 0)
Assert.Equal( RAt("bb", "abbcabbcbba" ,1) , 9 )
Assert.Equal( RAt("e", "abbcabbcbba" ,1) , 0)
Assert.Equal( RAt("b", "abbcabbcbba" , 5 ) , 3)
Assert.Equal( RAt("a","abracadabra",1) , 11)
Assert.Equal( RAt("a","abracadabra",3) , 6)
Assert.Equal( RAt("a","abracadabra",43) , 0)
Assert.Equal( RAt("a","abracadabra",1) , 11)
Assert.Equal( RAt("a" , "AaaA", 2 ) , 2)
Assert.Equal( RAt("hj" , "eeagfeehjkhjkhje" ,3 ) , 8)
Assert.Equal( RAt("e" , "eeagfeehjkhjkhje" , 3 ) , 6)
Assert.Equal( RAt("ee" , "eeagfeehjkhjkhje" , 2 ) , 1)
[Fact, Trait("Category", "String")];
METHOD ChrTranFunctionTests() AS VOID
VAR cAllowedCharacters := "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
VAR cExpressionSearched := "123!EB5466677eggtz123%&Y"
Assert.Equal(ChrTran( cExpressionSearched, ChrTran(cExpressionSearched, cAllowedCharacters, ""), "") , "EBeggtzY")
Assert.Equal(ChrTran("ABCDEFGHABCDEFGH", "AE", "ae") , "aBCDeFGHaBCDeFGH" )
Assert.Equal(ChrTran("ABCDEFGHIJK","DEF","") , "ABCGHIJK")
Assert.Equal(ChrTran("ABCabc2468", "1234567890", "" ) , "ABCabc" )
Assert.Equal(ChrTran("ABCDEF", "ACE", "XYZ") , "XBYDZF" )
Assert.Equal(ChrTran("ABCDEF", "", "XYZ") , "ABCDEF")
Assert.Equal(ChrTran("ABCDEF", "ACE", "") , "BDF")
Assert.Equal(ChrTran("ABCD", "ABC", "YZ") , "YZD")
Assert.Equal(ChrTran("ABCDEF", "ACE", "XYZQRST") , "XBYDZF" )
Assert.Equal(ChrTran("", "ABC", "YZ") , "" )
Assert.Equal(ChrTran("ABCDEF", "", "ACE") , "ABCDEF")
Assert.Equal(ChrTran("ABCDEF", "", "") , "ABCDEF" )
Assert.Equal(ChrTran("abcDeF","ADF" , "xYZ1TZ" ) , "abcYeZ")
Assert.Equal(ChrTran("","" , "" ) , "" )
Assert.Equal(ChrTran(NULL,NULL , "" ) , "")
VAR x := Replicate ( "A", 200000 )
VAR y := Replicate ( "I", 200000 )
VAR g := ChrTran( x ,"A" , "IE" )
[Fact, Trait("Category", "String")];
METHOD AtFuctionTests() AS VOID
Assert.Equal(9u , At("b", "abucabucbba", 3 ) )
Assert.Equal(6u , At("bu", "abucabucbba", 2 ) )
Assert.Equal(2u , At("bu", "abucabucbba", 1 ) )
Assert.Equal(0u , At("bu", "abucabucbba", 12 ))
Assert.Equal(9u , AtC("B", "abucabucbba", 3 ) )
Assert.Equal(6u , AtC("Bu", "abucabucbba", 2 ) )
Assert.Equal(2u , AtC("Bu", "abucabucbba", 1 ) )
Assert.Equal(0u , AtC("Bu", "abucabucbba", 12 ))
Assert.Equal(0u , At("B", "abucabucbba", 2 ) )
Assert.Equal(0u , At("Bu", "abucabucbba", 2 ) )
Assert.Equal(0u , At("Bu", "abucabucbba", 1 ) )
Assert.Equal(0u , At("Bu", "abucabucbba", 12 ))
Assert.Equal(0u, At( NULL , NULL ) )
Assert.Equal(0u, At( NULL , "eeee" ) )
Assert.Equal(0u, At( "" , NULL ) )
Assert.Equal(0u, At( "" , "eeee" ) )
Assert.Equal(0u, At( "ee" , "" , ) )
Assert.Equal(0u, At( "" , "" , ) )
Assert.Equal(6u, At( "gg" , "ggeegggege" , 3) )
Assert.Equal(1u, At( "gg" , "ggeegggege" , 1) )
Assert.Equal(0u, At( "ag" , "ageegggege" , 6) )
Assert.Equal(4u, At( "g" , "eegggege" , 2) )
Assert.Equal(7u, At( "g" , "eegggege" , 4 ) )
Assert.Equal(9u, At( "gg" , "eegggegegg" , 3 ) )
Assert.Equal(3u, At( "gg" , "eegggege" , 1 ) )
Assert.Equal(3u, At( "gg" , "eegggege" ) )
Assert.Equal(1u, At( "eeee" , "eeee" ) )
Assert.Equal(1u, At( "ee" , "eeee" , 1) )
Assert.Equal(2u, At( "ee" , "eeee" , 2) )
Assert.Equal(3u, At( "ee" , "eeee" , 3) )
Assert.Equal(0u, At( "ee" , "eeee" , 4) )
Assert.Equal(1u, At( "ee" , "eeee" ) )
Assert.Equal(1u, At( "ee" , "eeaeeaa" ) )
Assert.Equal(4u, At( "ee" , "eeaeeaa" , 2 ) )
Assert.Equal(1u, At( "e" , "eeee" , 1) )
Assert.Equal(2u, At( "e" , "eeee" , 2) )
Assert.Equal(3u, At( "e" , "eeee" , 3) )
Assert.Equal(4u, At( "e" , "eeee" , 4) )
Assert.Equal(1u, At( "e" , "eeee" ) )
Assert.Equal(1u, At( "jkh" , "jkhjkhejkaaajkh" ) )
Assert.Equal(4u, At( "jkh" , "jkhjkhejkaaajkh" , 2 ) )
Assert.Equal(13u, At( "jkh" , "jkhjkhejkaaajkh" , 3 ) )
Assert.Equal(2u, At("bb", "abbcabbcbba" , 1 ) )
Assert.Equal(6u, At("bb", "abbcabbcbba" , 2 ) )
Assert.Equal(9u, At("bb", "abbcabbcbba" , 3 ) )
Assert.Equal(0u, At("bb", "abbcabbcbba" , 4 ) )
Assert.Equal(0u, At("e", "abbcabbcbba" ) )
Assert.Equal(9u, At("b", "abbcabbcbba" , 5 ) )
Assert.Equal(0u, At("a","abracadabra",43) )
Assert.Equal(4u, At("a","abracadabra",2) )
Assert.Equal(3u, At("a" , "AaaA", 2 ) )
Assert.Equal(2u, At("a" , "AaaA" ) )
Assert.Equal(14u, At("hj" , "eeagfeehjkhjkhje" ,3 ) )
Assert.Equal(16u, At("e" , "eeagfeehjkhjkhje" , 5 ) )
Assert.Equal(8u, At("ee" , "eeeeagfeehjkhjkhje" , 4 ) )
Assert.Equal(1u, AtC ("a" , "AaaA" ) )
Assert.Equal(2u, AtC ("aa" , "AaaA" , 2 ) )
Assert.Equal(2u, AtC ("aA" , "AaaA", 2 ) )
Assert.Equal(3u, AtC ("aA" , "AaaA", 3 ) )
Assert.Equal(0u, AtC ("aA" , "AaaA", 12 ) )
Assert.Equal(0u, AtC ("aA" , "AaaA", 4 ) )
[Fact, Trait("Category", "String")];
METHOD TrimTests() AS VOID
Assert.Equal("", AllTrim(" "))
Assert.Equal("", AllTrim(e" \n ", 0, " ", ChrW(9), ChrW(10), ChrW(13)))
Assert.Equal("Test", AllTrim("Test "))
Assert.Equal("Test", AllTrim(e"Test \n ", 0, " ", ChrW(9), ChrW(10), ChrW(13)))
Assert.Equal("TeTeTest",AllTrim("TeTeTest", 0, "te"))
Assert.Equal("st", AllTrim("TeTeTest", 1, "te"))
Assert.Equal("TeTeTes", AllTrim("TeTeTest", 0, "t", "e"))
Assert.Equal("s", AllTrim("TeTeTest", 1, "t", "e"))
Assert.Equal("abc", AllTrim("***abc*", 0, "*"))
Assert.Equal("abc*", LTrim("***abc*", 0, "*"))
Assert.Equal("***abc", RTrim("***abc*", 0, "*"))
Assert.Equal("cdefgh", AllTrim("abcdefghab", 1, "AB", "B"))
Assert.Equal("cdefgha", AllTrim("abcdefghab", 1, "B", "AB"))
Assert.Equal("ef", AllTrim("abABabCdef", 1, "ab", "CD"))
END CLASS
END NAMESPACE
| xBase | 4 | orangesocks/XSharpPublic | Runtime/XSharp.VFP.Tests/StringTests.prg | [
"Apache-2.0"
] |
(*
Test for haproxy lens
Author: Bryon Roche <bryon@gogrid.com>
About: License
This file is licensed under the LGPL
We test a config parse, then a section removal, then a section add.
*)
module Test_haproxy =
let conf = "# this config needs haproxy-1.1.28 or haproxy-1.2.1
global
#log 127.0.0.1 local0
#log 127.0.0.1 local1 notice
#log loghost local0 info
log 192.168.7.22 local0
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
daemon
#debug
#quiet
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen proxy1 0.0.0.0:80
mode http
log global
cookie SERVERID insert indirect
balance roundrobin
redispatch
option forwardfor
no option httplog
option dontlognull
maxconn 60000
retries 3
grace 3000
server lb1 192.168.7.122:80 cookie cookie1 inter 300
server lb2 192.168.7.123:80 cookie cookie1 inter 300
server lb3 192.168.7.124:80 cookie cookie1 inter 300
"
let confrmtest ="# this config needs haproxy-1.1.28 or haproxy-1.2.1
global
#log 127.0.0.1 local0
#log 127.0.0.1 local1 notice
#log loghost local0 info
log 192.168.7.22 local0
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
daemon
#debug
#quiet
listen proxy1 0.0.0.0:80
mode http
log global
cookie SERVERID insert indirect
balance roundrobin
redispatch
option forwardfor
no option httplog
option dontlognull
maxconn 60000
retries 3
grace 3000
server lb1 192.168.7.122:80 cookie cookie1 inter 300
server lb2 192.168.7.123:80 cookie cookie1 inter 300
server lb3 192.168.7.124:80 cookie cookie1 inter 300
"
let confredeftest ="# this config needs haproxy-1.1.28 or haproxy-1.2.1
global
#log 127.0.0.1 local0
#log 127.0.0.1 local1 notice
#log loghost local0 info
log 192.168.7.22 local0
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
daemon
#debug
#quiet
defaults
log global
listen proxy1 0.0.0.0:80
mode http
log global
cookie SERVERID insert indirect
balance roundrobin
redispatch
option forwardfor
no option httplog
option dontlognull
maxconn 60000
retries 3
grace 3000
server lb1 192.168.7.122:80 cookie cookie1 inter 300
server lb2 192.168.7.123:80 cookie cookie1 inter 300
server lb3 192.168.7.124:80 cookie cookie1 inter 300
"
test Haproxy.lns get conf =
{ "#comment" = "this config needs haproxy-1.1.28 or haproxy-1.2.1" }
{}
{ "global"
{ "#comment" = "log 127.0.0.1 local0" }
{ "#comment" = "log 127.0.0.1 local1 notice" }
{ "#comment" = "log loghost local0 info" }
{ "log" = "192.168.7.22 local0" }
{ "maxconn" = "4096" }
{ "#comment" = "chroot /usr/share/haproxy" }
{ "user" = "haproxy" }
{ "group" = "haproxy" }
{ "daemon" }
{ "#comment" = "debug" }
{ "#comment" = "quiet" }
{}
}
{ "defaults"
{ "log" = "global" }
{ "mode" = "http" }
{ "option httplog" }
{ "option dontlognull" }
{ "retries" = "3" }
{ "option redispatch" }
{ "maxconn" = "2000" }
{ "contimeout" = "5000" }
{ "clitimeout" = "50000" }
{ "srvtimeout" = "50000" }
{}
{}
}
{ "listen"
{ "proxy1" = "0.0.0.0:80"
{ "mode" = "http" }
{ "log" = "global" }
{ "cookie" = "SERVERID insert indirect" }
{ "balance" = "roundrobin" }
{ "redispatch" }
{ "option forwardfor" }
{ "no option httplog" }
{ "option dontlognull" }
{ "maxconn" = "60000" }
{ "retries" = "3" }
{ "grace" = "3000" }
{ "server" = "lb1 192.168.7.122:80 cookie cookie1 inter 300" }
{ "server" = "lb2 192.168.7.123:80 cookie cookie1 inter 300" }
{ "server" = "lb3 192.168.7.124:80 cookie cookie1 inter 300" }
}
}
test Haproxy.lns put conf after rm "/defaults" = confrmtest
test Haproxy.lns put confrmtest after insa "defaults" "/global" ; set "/defaults/log" "global" = confredeftest
| Augeas | 4 | ajnavarro/language-dataset | data/github.com/camptocamp/puppet-haproxy_c2c/588a386c69a74b634e1fb42b7df26224c91bd16b/files/test_haproxy.aug | [
"MIT"
] |
# renpy tutorial
python early:
# This maps from example name to the text of a fragment.
examples = { }
# The size of the example - large or small.
example_size = "large"
# The location of the example - top or bottom.
example_location = "bottom"
# The screen in the last example.
example_screen = None
# A transition used with examples
example_transition = None
def reset_example():
"""
Called to reset the example code to the defaults.
"""
global example_size
global example_location
global example_screen
example_size = "large"
example_location = "bottom"
example_screen = None
def show_example_screen(name):
global example_screen
example_screen = name
renpy.show_screen(name)
def hide_example_screen():
global example_screen
if example_screen is not None:
renpy.hide_screen(example_screen)
example_screen = None
# Keywords that, at the start of an example block, cause it to be
# outdented
OUTDENT_KEYWORDS = { "define", "default", "image", "screen", "init", "transform", "label", "style" }
# This defines the example statement.
#
# The example statement takes:
# * An optional name for the example.
# * An optional hide flag.
# * Optional size flags, large or small.
# * Optional position flags, top or bottom.
#
# The statement defines an example with the name, or an anyonymous name if no
# name is given. When run, the example is displayed if the hide flag is not
# given.
def read_example(name, fn, line, outdent):
"""
This reads an example from an example statement, and places it into
the examples dictionary.
"""
fn = fn.replace("game/", "")
with renpy.notl_file(fn) as f:
data = f.read()
rawlines = [ i.rstrip() for i in data.split("\n") ]
lines = [ ]
base_indent = 0
while True:
if line >= len(rawlines):
raise Exception("Example open at end of {}.".format(fn))
l = rawlines[line]
line += 1
if not l:
lines.append(l)
continue
indent = len(l) - len(l.lstrip())
if base_indent == 0:
base_indent = indent
lines.append(l[4:])
elif indent >= base_indent:
lines.append(l[4:])
else:
break
# Determine if the line should be indented.
if outdent == "auto":
for i in lines:
l = i.strip().split()
if not l:
continue
if l[0] in OUTDENT_KEYWORDS:
outdent = True
else:
outdent = False
break
# Strip indentation.
if outdent:
lines = [ i[base_indent - 4:] for i in lines ]
if name in examples:
examples[name].append('')
examples[name].extend(lines)
else:
examples[name] = lines
def parse_example(l):
"""
This parses the example statement.
"""
# The name of the example. A string, or None if we don't know yet.
name = None
# Hide, bottom, and small flags.
hide = False
bottom = False
small = False
top = False
large = False
outdent = "auto"
show_screen = True
hide_screen = True
showtrans = False
while True:
if l.match(':'):
break
elif l.keyword('hide'):
hide = True
elif l.keyword('bottom'):
bottom = True
elif l.keyword('small'):
small = True
elif l.keyword('top'):
top = True
elif l.keyword('large'):
large = True
elif l.keyword('outdent'):
outdent = True
elif l.keyword('nooutindent'):
outdent = False
elif l.keyword("noshow"):
show_screen = False
elif l.keyword("nohide"):
hide_screen = False
elif l.keyword("showtrans"):
showtrans = True
else:
if name:
l.error('an example may have at most one name')
name = l.require(l.name)
l.expect_eol()
if name is None:
name = "example_{}_{}".format(l.filename, l.number)
ll = l.subblock_lexer()
ll.advance()
if ll.keyword('screen'):
screen_name = ll.name()
else:
screen_name = None
return {
"name" : name,
"names" : [ name ],
"hide" : hide,
"bottom" : bottom,
"small" : small,
"filename" : l.filename,
"number" : l.number,
"top" : top,
"large" : large,
"outdent" : outdent,
"screen_name" : screen_name,
"show_screen" : show_screen,
"hide_screen" : hide_screen,
"showtrans" : showtrans,
}
def next_example(data, first):
return first
def execute_example(data):
names = data.get("names", [ ])
hide = data.get("hide", False)
bottom = data.get("bottom", False)
small = data.get("small", False)
top = data.get("top", False)
large = data.get("large", False)
showtrans = data.get("showtrans", False)
global example_location
global example_size
if bottom:
example_location = "bottom"
elif top:
example_location = "top"
if small:
example_size = "small"
elif large:
example_size = "large"
if not hide:
renpy.show_screen("example", names, example_size == "small", example_location == "bottom", showtrans=showtrans)
screen_name = data.get("screen_name", None)
if screen_name is not None:
if data.get("hide_screen", True):
hide_example_screen()
if data.get("show_screen", True):
show_example_screen(screen_name)
renpy.with_statement(example_transition)
def execute_init_example(data):
read_example(data["name"], data["filename"], data["number"], data.get("outdent", "auto"))
renpy.register_statement("example", parse=parse_example, execute=execute_example, execute_init=execute_init_example, next=next_example, block="script")
# The show example statement.
def parse_show_example(l):
names = [ ]
bottom = False
small = False
top = False
large = False
showtrans = False
while not l.eol():
if l.keyword('bottom'):
bottom = True
elif l.keyword('small'):
small = True
elif l.keyword('top'):
top = True
elif l.keyword('large'):
large = True
elif l.keyword('showtrans'):
showtrans = True
else:
names.append(l.require(l.name))
return {
"names" : names,
"hide" : False,
"bottom" : bottom,
"small" : small,
"top" : top,
"large" : large,
"showtrans" : showtrans,
}
renpy.register_statement("show example", parse=parse_show_example, execute=execute_example)
# The hide example statement.
def parse_hide_example(l):
hide_screen = True
while not l.eol():
if l.keyword('nohide'):
hide_screen = False
else:
break
l.expect_eol()
return {
"hide_screen" : hide_screen,
}
def execute_hide_example(data):
renpy.hide_screen("example")
if example_screen and data.get("hide_screen", True) and renpy.get_screen(example_screen):
hide_example_screen()
renpy.with_statement(example_transition)
renpy.register_statement("hide example", parse=parse_hide_example, execute=execute_hide_example)
# A preference that controls if translations are shown.
define persistent.show_translation_marker = False
init python:
dialogue_map = { }
for i in renpy.known_languages():
dialogue_map[i] = renpy.translation.dialogue.create_dialogue_map(i)
import re
keywords = [u'$', u'add', 'always', 'and', 'animation', 'as', 'assert', 'at', 'attribute', u'auto', u'bar', 'behind', 'block', 'break', u'button', u'call', 'choice', 'circles', 'class', u'clear', 'clockwise', 'contains', 'continue', 'counterclockwise', 'def', u'default', u'define', 'del', u'drag', u'draggroup', 'elif', 'else', 'event', 'except', 'exec', 'expression', 'finally', u'fixed', 'for', u'frame', 'from', 'function', 'global', u'grid', 'group', 'has', u'hbox', u'hide', u'hotbar', u'hotspot', 'if', u'image', u'imagebutton', u'imagemap', 'import', 'in', 'index', u'init', u'input', 'is', u'jump', u'key', 'knot', u'label', 'lambda', u'layeredimage', u'menu', u'monologue', u'mousearea', u'music', 'new', 'nointeract', 'not', u'null', u'nvl', u'offset', 'old', u'on', 'onlayer', 'or', 'parallel', 'pass', u'pause', u'play', 'print', u'python', u'queue', 'raise', 'repeat', 'return', u'rpy', u'scene', u'screen', u'show', u'showif', u'side', u'sound', u'stop', 'strings', u'style', u'sustain', 'tag', 'take', u'testcase', u'text', u'textbutton', 'time', u'timer', u'transclude', u'transform', u'translate', 'try', u'use', u'vbar', u'vbox', u'viewport', u'voice', u'vpgrid', 'while', u'window', 'with', 'yield', 'zorder']
keyword_regex = u'\\$|add|always|and|animation|as|assert|at|attribute|auto|bar|behind|block|break|button|call|choice|circles|class|clear|clockwise|contains|continue|counterclockwise|def|default|define|del|drag|draggroup|elif|else|event|except|exec|expression|finally|fixed|for|frame|from|function|global|grid|group|has|hbox|hide|hotbar|hotspot|if|image|imagebutton|imagemap|import|in|index|init|input|is|jump|key|knot|label|lambda|layeredimage|menu|monologue|mousearea|music|new|nointeract|not|null|nvl|offset|old|on|onlayer|or|parallel|pass|pause|play|print|python|queue|raise|repeat|return|rpy|scene|screen|show|showif|side|sound|stop|strings|style|sustain|tag|take|testcase|text|textbutton|time|timer|transclude|transform|translate|try|use|vbar|vbox|viewport|voice|vpgrid|while|window|with|yield|zorder'
properties = [u'action', u'activate_additive', u'activate_adjust_spacing', u'activate_align', u'activate_alignaround', u'activate_alpha', u'activate_alt', u'activate_anchor', u'activate_angle', u'activate_antialias', u'activate_area', u'activate_around', u'activate_background', u'activate_bar_invert', u'activate_bar_resizing', u'activate_bar_vertical', u'activate_base_bar', u'activate_black_color', u'activate_blur', u'activate_bold', u'activate_bottom_bar', u'activate_bottom_gutter', u'activate_bottom_margin', u'activate_bottom_padding', u'activate_box_layout', u'activate_box_reverse', u'activate_box_wrap', u'activate_box_wrap_spacing', u'activate_caret', u'activate_child', u'activate_clipping', u'activate_color', u'activate_corner1', u'activate_corner2', u'activate_crop', u'activate_crop_relative', u'activate_debug', u'activate_delay', u'activate_drop_shadow', u'activate_drop_shadow_color', u'activate_events', u'activate_first_indent', u'activate_first_spacing', u'activate_fit', u'activate_fit_first', u'activate_focus_mask', u'activate_font', u'activate_foreground', u'activate_gl_blend_func', u'activate_gl_color_mask', u'activate_gl_pixel_perfect', u'activate_hinting', u'activate_hyperlink_functions', u'activate_italic', u'activate_justify', u'activate_kerning', u'activate_key_events', u'activate_keyboard_focus', u'activate_language', u'activate_layout', u'activate_left_bar', u'activate_left_gutter', u'activate_left_margin', u'activate_left_padding', u'activate_line_leading', u'activate_line_spacing', u'activate_margin', u'activate_matrixcolor', u'activate_maximum', u'activate_maxsize', u'activate_mesh', u'activate_mesh_pad', u'activate_min_width', u'activate_minimum', u'activate_minwidth', u'activate_mipmap', u'activate_modal', u'activate_mouse', u'activate_nearest', u'activate_newline_indent', u'activate_offset', u'activate_order_reverse', u'activate_outline_scaling', u'activate_outlines', u'activate_padding', u'activate_pos', u'activate_radius', u'activate_rest_indent', u'activate_right_bar', u'activate_right_gutter', u'activate_right_margin', u'activate_right_padding', u'activate_rotate', u'activate_rotate_pad', u'activate_ruby_style', u'activate_shader', u'activate_size', u'activate_size_group', u'activate_slow_abortable', u'activate_slow_cps', u'activate_slow_cps_multiplier', u'activate_sound', u'activate_spacing', u'activate_strikethrough', u'activate_subpixel', u'activate_text_align', u'activate_text_y_fudge', u'activate_thumb', u'activate_thumb_offset', u'activate_thumb_shadow', u'activate_top_bar', u'activate_top_gutter', u'activate_top_margin', u'activate_top_padding', u'activate_transform_anchor', u'activate_underline', u'activate_unscrollable', u'activate_vertical', u'activate_xalign', u'activate_xanchor', u'activate_xanchoraround', u'activate_xaround', u'activate_xcenter', u'activate_xfill', u'activate_xfit', u'activate_xmargin', u'activate_xmaximum', u'activate_xminimum', u'activate_xoffset', u'activate_xpadding', u'activate_xpan', u'activate_xpos', u'activate_xsize', u'activate_xspacing', u'activate_xtile', u'activate_xysize', u'activate_xzoom', u'activate_yalign', u'activate_yanchor', u'activate_yanchoraround', u'activate_yaround', u'activate_ycenter', u'activate_yfill', u'activate_yfit', u'activate_ymargin', u'activate_ymaximum', u'activate_yminimum', u'activate_yoffset', u'activate_ypadding', u'activate_ypan', u'activate_ypos', u'activate_ysize', u'activate_yspacing', u'activate_ytile', u'activate_yzoom', u'activate_zoom', u'activated', u'additive', u'adjust_spacing', u'adjustment', u'align', u'alignaround', u'allow', u'allow_underfull', u'alpha', u'alt', u'alternate', u'alternate_keysym', u'anchor', u'angle', u'antialias', u'area', u'arguments', u'around', u'arrowkeys', u'background', u'bar_invert', u'bar_resizing', u'bar_vertical', u'base_bar', u'black_color', u'blur', u'bold', u'bottom_bar', u'bottom_gutter', u'bottom_margin', u'bottom_padding', u'box_layout', u'box_reverse', u'box_wrap', u'box_wrap_spacing', u'cache', u'caption', u'caret', u'changed', u'child', u'child_size', u'clicked', u'clipping', u'color', u'cols', u'copypaste', u'corner1', u'corner2', u'crop', u'crop_relative', u'debug', u'default_focus', u'delay', u'drag_handle', u'drag_joined', u'drag_name', u'drag_offscreen', u'drag_raise', u'draggable', u'dragged', u'drop_allowable', u'drop_shadow', u'drop_shadow_color', u'droppable', u'dropped', u'edgescroll', u'events', u'exclude', u'first_indent', u'first_spacing', u'fit', u'fit_first', u'focus', u'focus_mask', u'font', u'foreground', u'gl_blend_func', u'gl_color_mask', u'gl_pixel_perfect', u'ground', u'height', u'hinting', u'hover', u'hover_additive', u'hover_adjust_spacing', u'hover_align', u'hover_alignaround', u'hover_alpha', u'hover_alt', u'hover_anchor', u'hover_angle', u'hover_antialias', u'hover_area', u'hover_around', u'hover_background', u'hover_bar_invert', u'hover_bar_resizing', u'hover_bar_vertical', u'hover_base_bar', u'hover_black_color', u'hover_blur', u'hover_bold', u'hover_bottom_bar', u'hover_bottom_gutter', u'hover_bottom_margin', u'hover_bottom_padding', u'hover_box_layout', u'hover_box_reverse', u'hover_box_wrap', u'hover_box_wrap_spacing', u'hover_caret', u'hover_child', u'hover_clipping', u'hover_color', u'hover_corner1', u'hover_corner2', u'hover_crop', u'hover_crop_relative', u'hover_debug', u'hover_delay', u'hover_drop_shadow', u'hover_drop_shadow_color', u'hover_events', u'hover_first_indent', u'hover_first_spacing', u'hover_fit', u'hover_fit_first', u'hover_focus_mask', u'hover_font', u'hover_foreground', u'hover_gl_blend_func', u'hover_gl_color_mask', u'hover_gl_pixel_perfect', u'hover_hinting', u'hover_hyperlink_functions', u'hover_italic', u'hover_justify', u'hover_kerning', u'hover_key_events', u'hover_keyboard_focus', u'hover_language', u'hover_layout', u'hover_left_bar', u'hover_left_gutter', u'hover_left_margin', u'hover_left_padding', u'hover_line_leading', u'hover_line_spacing', u'hover_margin', u'hover_matrixcolor', u'hover_maximum', u'hover_maxsize', u'hover_mesh', u'hover_mesh_pad', u'hover_min_width', u'hover_minimum', u'hover_minwidth', u'hover_mipmap', u'hover_modal', u'hover_mouse', u'hover_nearest', u'hover_newline_indent', u'hover_offset', u'hover_order_reverse', u'hover_outline_scaling', u'hover_outlines', u'hover_padding', u'hover_pos', u'hover_radius', u'hover_rest_indent', u'hover_right_bar', u'hover_right_gutter', u'hover_right_margin', u'hover_right_padding', u'hover_rotate', u'hover_rotate_pad', u'hover_ruby_style', u'hover_shader', u'hover_size', u'hover_size_group', u'hover_slow_abortable', u'hover_slow_cps', u'hover_slow_cps_multiplier', u'hover_sound', u'hover_spacing', u'hover_strikethrough', u'hover_subpixel', u'hover_text_align', u'hover_text_y_fudge', u'hover_thumb', u'hover_thumb_offset', u'hover_thumb_shadow', u'hover_top_bar', u'hover_top_gutter', u'hover_top_margin', u'hover_top_padding', u'hover_transform_anchor', u'hover_underline', u'hover_unscrollable', u'hover_vertical', u'hover_xalign', u'hover_xanchor', u'hover_xanchoraround', u'hover_xaround', u'hover_xcenter', u'hover_xfill', u'hover_xfit', u'hover_xmargin', u'hover_xmaximum', u'hover_xminimum', u'hover_xoffset', u'hover_xpadding', u'hover_xpan', u'hover_xpos', u'hover_xsize', u'hover_xspacing', u'hover_xtile', u'hover_xysize', u'hover_xzoom', u'hover_yalign', u'hover_yanchor', u'hover_yanchoraround', u'hover_yaround', u'hover_ycenter', u'hover_yfill', u'hover_yfit', u'hover_ymargin', u'hover_ymaximum', u'hover_yminimum', u'hover_yoffset', u'hover_ypadding', u'hover_ypan', u'hover_ypos', u'hover_ysize', u'hover_yspacing', u'hover_ytile', u'hover_yzoom', u'hover_zoom', u'hovered', u'hyperlink_functions', u'icon_tooltip', u'id', u'idle', u'idle_additive', u'idle_adjust_spacing', u'idle_align', u'idle_alignaround', u'idle_alpha', u'idle_alt', u'idle_anchor', u'idle_angle', u'idle_antialias', u'idle_area', u'idle_around', u'idle_background', u'idle_bar_invert', u'idle_bar_resizing', u'idle_bar_vertical', u'idle_base_bar', u'idle_black_color', u'idle_blur', u'idle_bold', u'idle_bottom_bar', u'idle_bottom_gutter', u'idle_bottom_margin', u'idle_bottom_padding', u'idle_box_layout', u'idle_box_reverse', u'idle_box_wrap', u'idle_box_wrap_spacing', u'idle_caret', u'idle_child', u'idle_clipping', u'idle_color', u'idle_corner1', u'idle_corner2', u'idle_crop', u'idle_crop_relative', u'idle_debug', u'idle_delay', u'idle_drop_shadow', u'idle_drop_shadow_color', u'idle_events', u'idle_first_indent', u'idle_first_spacing', u'idle_fit', u'idle_fit_first', u'idle_focus_mask', u'idle_font', u'idle_foreground', u'idle_gl_blend_func', u'idle_gl_color_mask', u'idle_gl_pixel_perfect', u'idle_hinting', u'idle_hyperlink_functions', u'idle_italic', u'idle_justify', u'idle_kerning', u'idle_key_events', u'idle_keyboard_focus', u'idle_language', u'idle_layout', u'idle_left_bar', u'idle_left_gutter', u'idle_left_margin', u'idle_left_padding', u'idle_line_leading', u'idle_line_spacing', u'idle_margin', u'idle_matrixcolor', u'idle_maximum', u'idle_maxsize', u'idle_mesh', u'idle_mesh_pad', u'idle_min_width', u'idle_minimum', u'idle_minwidth', u'idle_mipmap', u'idle_modal', u'idle_mouse', u'idle_nearest', u'idle_newline_indent', u'idle_offset', u'idle_order_reverse', u'idle_outline_scaling', u'idle_outlines', u'idle_padding', u'idle_pos', u'idle_radius', u'idle_rest_indent', u'idle_right_bar', u'idle_right_gutter', u'idle_right_margin', u'idle_right_padding', u'idle_rotate', u'idle_rotate_pad', u'idle_ruby_style', u'idle_shader', u'idle_size', u'idle_size_group', u'idle_slow_abortable', u'idle_slow_cps', u'idle_slow_cps_multiplier', u'idle_sound', u'idle_spacing', u'idle_strikethrough', u'idle_subpixel', u'idle_text_align', u'idle_text_y_fudge', u'idle_thumb', u'idle_thumb_offset', u'idle_thumb_shadow', u'idle_top_bar', u'idle_top_gutter', u'idle_top_margin', u'idle_top_padding', u'idle_transform_anchor', u'idle_underline', u'idle_unscrollable', u'idle_vertical', u'idle_xalign', u'idle_xanchor', u'idle_xanchoraround', u'idle_xaround', u'idle_xcenter', u'idle_xfill', u'idle_xfit', u'idle_xmargin', u'idle_xmaximum', u'idle_xminimum', u'idle_xoffset', u'idle_xpadding', u'idle_xpan', u'idle_xpos', u'idle_xsize', u'idle_xspacing', u'idle_xtile', u'idle_xysize', u'idle_xzoom', u'idle_yalign', u'idle_yanchor', u'idle_yanchoraround', u'idle_yaround', u'idle_ycenter', u'idle_yfill', u'idle_yfit', u'idle_ymargin', u'idle_ymaximum', u'idle_yminimum', u'idle_yoffset', u'idle_ypadding', u'idle_ypan', u'idle_ypos', u'idle_ysize', u'idle_yspacing', u'idle_ytile', u'idle_yzoom', u'idle_zoom', u'image_style', u'insensitive', u'insensitive_additive', u'insensitive_adjust_spacing', u'insensitive_align', u'insensitive_alignaround', u'insensitive_alpha', u'insensitive_alt', u'insensitive_anchor', u'insensitive_angle', u'insensitive_antialias', u'insensitive_area', u'insensitive_around', u'insensitive_background', u'insensitive_bar_invert', u'insensitive_bar_resizing', u'insensitive_bar_vertical', u'insensitive_base_bar', u'insensitive_black_color', u'insensitive_blur', u'insensitive_bold', u'insensitive_bottom_bar', u'insensitive_bottom_gutter', u'insensitive_bottom_margin', u'insensitive_bottom_padding', u'insensitive_box_layout', u'insensitive_box_reverse', u'insensitive_box_wrap', u'insensitive_box_wrap_spacing', u'insensitive_caret', u'insensitive_child', u'insensitive_clipping', u'insensitive_color', u'insensitive_corner1', u'insensitive_corner2', u'insensitive_crop', u'insensitive_crop_relative', u'insensitive_debug', u'insensitive_delay', u'insensitive_drop_shadow', u'insensitive_drop_shadow_color', u'insensitive_events', u'insensitive_first_indent', u'insensitive_first_spacing', u'insensitive_fit', u'insensitive_fit_first', u'insensitive_focus_mask', u'insensitive_font', u'insensitive_foreground', u'insensitive_gl_blend_func', u'insensitive_gl_color_mask', u'insensitive_gl_pixel_perfect', u'insensitive_hinting', u'insensitive_hyperlink_functions', u'insensitive_italic', u'insensitive_justify', u'insensitive_kerning', u'insensitive_key_events', u'insensitive_keyboard_focus', u'insensitive_language', u'insensitive_layout', u'insensitive_left_bar', u'insensitive_left_gutter', u'insensitive_left_margin', u'insensitive_left_padding', u'insensitive_line_leading', u'insensitive_line_spacing', u'insensitive_margin', u'insensitive_matrixcolor', u'insensitive_maximum', u'insensitive_maxsize', u'insensitive_mesh', u'insensitive_mesh_pad', u'insensitive_min_width', u'insensitive_minimum', u'insensitive_minwidth', u'insensitive_mipmap', u'insensitive_modal', u'insensitive_mouse', u'insensitive_nearest', u'insensitive_newline_indent', u'insensitive_offset', u'insensitive_order_reverse', u'insensitive_outline_scaling', u'insensitive_outlines', u'insensitive_padding', u'insensitive_pos', u'insensitive_radius', u'insensitive_rest_indent', u'insensitive_right_bar', u'insensitive_right_gutter', u'insensitive_right_margin', u'insensitive_right_padding', u'insensitive_rotate', u'insensitive_rotate_pad', u'insensitive_ruby_style', u'insensitive_shader', u'insensitive_size', u'insensitive_size_group', u'insensitive_slow_abortable', u'insensitive_slow_cps', u'insensitive_slow_cps_multiplier', u'insensitive_sound', u'insensitive_spacing', u'insensitive_strikethrough', u'insensitive_subpixel', u'insensitive_text_align', u'insensitive_text_y_fudge', u'insensitive_thumb', u'insensitive_thumb_offset', u'insensitive_thumb_shadow', u'insensitive_top_bar', u'insensitive_top_gutter', u'insensitive_top_margin', u'insensitive_top_padding', u'insensitive_transform_anchor', u'insensitive_underline', u'insensitive_unscrollable', u'insensitive_vertical', u'insensitive_xalign', u'insensitive_xanchor', u'insensitive_xanchoraround', u'insensitive_xaround', u'insensitive_xcenter', u'insensitive_xfill', u'insensitive_xfit', u'insensitive_xmargin', u'insensitive_xmaximum', u'insensitive_xminimum', u'insensitive_xoffset', u'insensitive_xpadding', u'insensitive_xpan', u'insensitive_xpos', u'insensitive_xsize', u'insensitive_xspacing', u'insensitive_xtile', u'insensitive_xysize', u'insensitive_xzoom', u'insensitive_yalign', u'insensitive_yanchor', u'insensitive_yanchoraround', u'insensitive_yaround', u'insensitive_ycenter', u'insensitive_yfill', u'insensitive_yfit', u'insensitive_ymargin', u'insensitive_ymaximum', u'insensitive_yminimum', u'insensitive_yoffset', u'insensitive_ypadding', u'insensitive_ypan', u'insensitive_ypos', u'insensitive_ysize', u'insensitive_yspacing', u'insensitive_ytile', u'insensitive_yzoom', u'insensitive_zoom', u'italic', u'justify', u'kerning', u'key_events', u'keyboard_focus', u'keysym', u'language', u'layer', u'layout', u'left_bar', u'left_gutter', u'left_margin', u'left_padding', u'length', u'line_leading', u'line_spacing', u'margin', u'matrixcolor', u'maximum', u'maxsize', u'mesh', u'mesh_pad', u'min_overlap', u'min_width', u'minimum', u'minwidth', u'mipmap', u'modal', u'mouse', u'mouse_drop', u'mousewheel', u'nearest', u'newline_indent', u'order_reverse', u'outline_scaling', u'outlines', u'padding', u'pagekeys', u'pixel_width', u'pos', u'predict', u'prefix', u'properties', u'radius', u'range', u'rest_indent', u'right_bar', u'right_gutter', u'right_margin', u'right_padding', u'rotate', u'rotate_pad', u'rows', u'ruby_style', u'scope', u'scrollbar_activate_align', u'scrollbar_activate_alt', u'scrollbar_activate_anchor', u'scrollbar_activate_area', u'scrollbar_activate_bar_invert', u'scrollbar_activate_bar_resizing', u'scrollbar_activate_bar_vertical', u'scrollbar_activate_base_bar', u'scrollbar_activate_bottom_bar', u'scrollbar_activate_bottom_gutter', u'scrollbar_activate_clipping', u'scrollbar_activate_debug', u'scrollbar_activate_keyboard_focus', u'scrollbar_activate_left_bar', u'scrollbar_activate_left_gutter', u'scrollbar_activate_maximum', u'scrollbar_activate_minimum', u'scrollbar_activate_mouse', u'scrollbar_activate_offset', u'scrollbar_activate_pos', u'scrollbar_activate_right_bar', u'scrollbar_activate_right_gutter', u'scrollbar_activate_thumb', u'scrollbar_activate_thumb_offset', u'scrollbar_activate_thumb_shadow', u'scrollbar_activate_top_bar', u'scrollbar_activate_top_gutter', u'scrollbar_activate_unscrollable', u'scrollbar_activate_xalign', u'scrollbar_activate_xanchor', u'scrollbar_activate_xcenter', u'scrollbar_activate_xfill', u'scrollbar_activate_xmaximum', u'scrollbar_activate_xminimum', u'scrollbar_activate_xoffset', u'scrollbar_activate_xpos', u'scrollbar_activate_xsize', u'scrollbar_activate_xysize', u'scrollbar_activate_yalign', u'scrollbar_activate_yanchor', u'scrollbar_activate_ycenter', u'scrollbar_activate_yfill', u'scrollbar_activate_ymaximum', u'scrollbar_activate_yminimum', u'scrollbar_activate_yoffset', u'scrollbar_activate_ypos', u'scrollbar_activate_ysize', u'scrollbar_align', u'scrollbar_alt', u'scrollbar_anchor', u'scrollbar_area', u'scrollbar_bar_invert', u'scrollbar_bar_resizing', u'scrollbar_bar_vertical', u'scrollbar_base_bar', u'scrollbar_bottom_bar', u'scrollbar_bottom_gutter', u'scrollbar_clipping', u'scrollbar_debug', u'scrollbar_hover_align', u'scrollbar_hover_alt', u'scrollbar_hover_anchor', u'scrollbar_hover_area', u'scrollbar_hover_bar_invert', u'scrollbar_hover_bar_resizing', u'scrollbar_hover_bar_vertical', u'scrollbar_hover_base_bar', u'scrollbar_hover_bottom_bar', u'scrollbar_hover_bottom_gutter', u'scrollbar_hover_clipping', u'scrollbar_hover_debug', u'scrollbar_hover_keyboard_focus', u'scrollbar_hover_left_bar', u'scrollbar_hover_left_gutter', u'scrollbar_hover_maximum', u'scrollbar_hover_minimum', u'scrollbar_hover_mouse', u'scrollbar_hover_offset', u'scrollbar_hover_pos', u'scrollbar_hover_right_bar', u'scrollbar_hover_right_gutter', u'scrollbar_hover_thumb', u'scrollbar_hover_thumb_offset', u'scrollbar_hover_thumb_shadow', u'scrollbar_hover_top_bar', u'scrollbar_hover_top_gutter', u'scrollbar_hover_unscrollable', u'scrollbar_hover_xalign', u'scrollbar_hover_xanchor', u'scrollbar_hover_xcenter', u'scrollbar_hover_xfill', u'scrollbar_hover_xmaximum', u'scrollbar_hover_xminimum', u'scrollbar_hover_xoffset', u'scrollbar_hover_xpos', u'scrollbar_hover_xsize', u'scrollbar_hover_xysize', u'scrollbar_hover_yalign', u'scrollbar_hover_yanchor', u'scrollbar_hover_ycenter', u'scrollbar_hover_yfill', u'scrollbar_hover_ymaximum', u'scrollbar_hover_yminimum', u'scrollbar_hover_yoffset', u'scrollbar_hover_ypos', u'scrollbar_hover_ysize', u'scrollbar_idle_align', u'scrollbar_idle_alt', u'scrollbar_idle_anchor', u'scrollbar_idle_area', u'scrollbar_idle_bar_invert', u'scrollbar_idle_bar_resizing', u'scrollbar_idle_bar_vertical', u'scrollbar_idle_base_bar', u'scrollbar_idle_bottom_bar', u'scrollbar_idle_bottom_gutter', u'scrollbar_idle_clipping', u'scrollbar_idle_debug', u'scrollbar_idle_keyboard_focus', u'scrollbar_idle_left_bar', u'scrollbar_idle_left_gutter', u'scrollbar_idle_maximum', u'scrollbar_idle_minimum', u'scrollbar_idle_mouse', u'scrollbar_idle_offset', u'scrollbar_idle_pos', u'scrollbar_idle_right_bar', u'scrollbar_idle_right_gutter', u'scrollbar_idle_thumb', u'scrollbar_idle_thumb_offset', u'scrollbar_idle_thumb_shadow', u'scrollbar_idle_top_bar', u'scrollbar_idle_top_gutter', u'scrollbar_idle_unscrollable', u'scrollbar_idle_xalign', u'scrollbar_idle_xanchor', u'scrollbar_idle_xcenter', u'scrollbar_idle_xfill', u'scrollbar_idle_xmaximum', u'scrollbar_idle_xminimum', u'scrollbar_idle_xoffset', u'scrollbar_idle_xpos', u'scrollbar_idle_xsize', u'scrollbar_idle_xysize', u'scrollbar_idle_yalign', u'scrollbar_idle_yanchor', u'scrollbar_idle_ycenter', u'scrollbar_idle_yfill', u'scrollbar_idle_ymaximum', u'scrollbar_idle_yminimum', u'scrollbar_idle_yoffset', u'scrollbar_idle_ypos', u'scrollbar_idle_ysize', u'scrollbar_insensitive_align', u'scrollbar_insensitive_alt', u'scrollbar_insensitive_anchor', u'scrollbar_insensitive_area', u'scrollbar_insensitive_bar_invert', u'scrollbar_insensitive_bar_resizing', u'scrollbar_insensitive_bar_vertical', u'scrollbar_insensitive_base_bar', u'scrollbar_insensitive_bottom_bar', u'scrollbar_insensitive_bottom_gutter', u'scrollbar_insensitive_clipping', u'scrollbar_insensitive_debug', u'scrollbar_insensitive_keyboard_focus', u'scrollbar_insensitive_left_bar', u'scrollbar_insensitive_left_gutter', u'scrollbar_insensitive_maximum', u'scrollbar_insensitive_minimum', u'scrollbar_insensitive_mouse', u'scrollbar_insensitive_offset', u'scrollbar_insensitive_pos', u'scrollbar_insensitive_right_bar', u'scrollbar_insensitive_right_gutter', u'scrollbar_insensitive_thumb', u'scrollbar_insensitive_thumb_offset', u'scrollbar_insensitive_thumb_shadow', u'scrollbar_insensitive_top_bar', u'scrollbar_insensitive_top_gutter', u'scrollbar_insensitive_unscrollable', u'scrollbar_insensitive_xalign', u'scrollbar_insensitive_xanchor', u'scrollbar_insensitive_xcenter', u'scrollbar_insensitive_xfill', u'scrollbar_insensitive_xmaximum', u'scrollbar_insensitive_xminimum', u'scrollbar_insensitive_xoffset', u'scrollbar_insensitive_xpos', u'scrollbar_insensitive_xsize', u'scrollbar_insensitive_xysize', u'scrollbar_insensitive_yalign', u'scrollbar_insensitive_yanchor', u'scrollbar_insensitive_ycenter', u'scrollbar_insensitive_yfill', u'scrollbar_insensitive_ymaximum', u'scrollbar_insensitive_yminimum', u'scrollbar_insensitive_yoffset', u'scrollbar_insensitive_ypos', u'scrollbar_insensitive_ysize', u'scrollbar_keyboard_focus', u'scrollbar_left_bar', u'scrollbar_left_gutter', u'scrollbar_maximum', u'scrollbar_minimum', u'scrollbar_mouse', u'scrollbar_offset', u'scrollbar_pos', u'scrollbar_right_bar', u'scrollbar_right_gutter', u'scrollbar_selected_activate_align', u'scrollbar_selected_activate_alt', u'scrollbar_selected_activate_anchor', u'scrollbar_selected_activate_area', u'scrollbar_selected_activate_bar_invert', u'scrollbar_selected_activate_bar_resizing', u'scrollbar_selected_activate_bar_vertical', u'scrollbar_selected_activate_base_bar', u'scrollbar_selected_activate_bottom_bar', u'scrollbar_selected_activate_bottom_gutter', u'scrollbar_selected_activate_clipping', u'scrollbar_selected_activate_debug', u'scrollbar_selected_activate_keyboard_focus', u'scrollbar_selected_activate_left_bar', u'scrollbar_selected_activate_left_gutter', u'scrollbar_selected_activate_maximum', u'scrollbar_selected_activate_minimum', u'scrollbar_selected_activate_mouse', u'scrollbar_selected_activate_offset', u'scrollbar_selected_activate_pos', u'scrollbar_selected_activate_right_bar', u'scrollbar_selected_activate_right_gutter', u'scrollbar_selected_activate_thumb', u'scrollbar_selected_activate_thumb_offset', u'scrollbar_selected_activate_thumb_shadow', u'scrollbar_selected_activate_top_bar', u'scrollbar_selected_activate_top_gutter', u'scrollbar_selected_activate_unscrollable', u'scrollbar_selected_activate_xalign', u'scrollbar_selected_activate_xanchor', u'scrollbar_selected_activate_xcenter', u'scrollbar_selected_activate_xfill', u'scrollbar_selected_activate_xmaximum', u'scrollbar_selected_activate_xminimum', u'scrollbar_selected_activate_xoffset', u'scrollbar_selected_activate_xpos', u'scrollbar_selected_activate_xsize', u'scrollbar_selected_activate_xysize', u'scrollbar_selected_activate_yalign', u'scrollbar_selected_activate_yanchor', u'scrollbar_selected_activate_ycenter', u'scrollbar_selected_activate_yfill', u'scrollbar_selected_activate_ymaximum', u'scrollbar_selected_activate_yminimum', u'scrollbar_selected_activate_yoffset', u'scrollbar_selected_activate_ypos', u'scrollbar_selected_activate_ysize', u'scrollbar_selected_align', u'scrollbar_selected_alt', u'scrollbar_selected_anchor', u'scrollbar_selected_area', u'scrollbar_selected_bar_invert', u'scrollbar_selected_bar_resizing', u'scrollbar_selected_bar_vertical', u'scrollbar_selected_base_bar', u'scrollbar_selected_bottom_bar', u'scrollbar_selected_bottom_gutter', u'scrollbar_selected_clipping', u'scrollbar_selected_debug', u'scrollbar_selected_hover_align', u'scrollbar_selected_hover_alt', u'scrollbar_selected_hover_anchor', u'scrollbar_selected_hover_area', u'scrollbar_selected_hover_bar_invert', u'scrollbar_selected_hover_bar_resizing', u'scrollbar_selected_hover_bar_vertical', u'scrollbar_selected_hover_base_bar', u'scrollbar_selected_hover_bottom_bar', u'scrollbar_selected_hover_bottom_gutter', u'scrollbar_selected_hover_clipping', u'scrollbar_selected_hover_debug', u'scrollbar_selected_hover_keyboard_focus', u'scrollbar_selected_hover_left_bar', u'scrollbar_selected_hover_left_gutter', u'scrollbar_selected_hover_maximum', u'scrollbar_selected_hover_minimum', u'scrollbar_selected_hover_mouse', u'scrollbar_selected_hover_offset', u'scrollbar_selected_hover_pos', u'scrollbar_selected_hover_right_bar', u'scrollbar_selected_hover_right_gutter', u'scrollbar_selected_hover_thumb', u'scrollbar_selected_hover_thumb_offset', u'scrollbar_selected_hover_thumb_shadow', u'scrollbar_selected_hover_top_bar', u'scrollbar_selected_hover_top_gutter', u'scrollbar_selected_hover_unscrollable', u'scrollbar_selected_hover_xalign', u'scrollbar_selected_hover_xanchor', u'scrollbar_selected_hover_xcenter', u'scrollbar_selected_hover_xfill', u'scrollbar_selected_hover_xmaximum', u'scrollbar_selected_hover_xminimum', u'scrollbar_selected_hover_xoffset', u'scrollbar_selected_hover_xpos', u'scrollbar_selected_hover_xsize', u'scrollbar_selected_hover_xysize', u'scrollbar_selected_hover_yalign', u'scrollbar_selected_hover_yanchor', u'scrollbar_selected_hover_ycenter', u'scrollbar_selected_hover_yfill', u'scrollbar_selected_hover_ymaximum', u'scrollbar_selected_hover_yminimum', u'scrollbar_selected_hover_yoffset', u'scrollbar_selected_hover_ypos', u'scrollbar_selected_hover_ysize', u'scrollbar_selected_idle_align', u'scrollbar_selected_idle_alt', u'scrollbar_selected_idle_anchor', u'scrollbar_selected_idle_area', u'scrollbar_selected_idle_bar_invert', u'scrollbar_selected_idle_bar_resizing', u'scrollbar_selected_idle_bar_vertical', u'scrollbar_selected_idle_base_bar', u'scrollbar_selected_idle_bottom_bar', u'scrollbar_selected_idle_bottom_gutter', u'scrollbar_selected_idle_clipping', u'scrollbar_selected_idle_debug', u'scrollbar_selected_idle_keyboard_focus', u'scrollbar_selected_idle_left_bar', u'scrollbar_selected_idle_left_gutter', u'scrollbar_selected_idle_maximum', u'scrollbar_selected_idle_minimum', u'scrollbar_selected_idle_mouse', u'scrollbar_selected_idle_offset', u'scrollbar_selected_idle_pos', u'scrollbar_selected_idle_right_bar', u'scrollbar_selected_idle_right_gutter', u'scrollbar_selected_idle_thumb', u'scrollbar_selected_idle_thumb_offset', u'scrollbar_selected_idle_thumb_shadow', u'scrollbar_selected_idle_top_bar', u'scrollbar_selected_idle_top_gutter', u'scrollbar_selected_idle_unscrollable', u'scrollbar_selected_idle_xalign', u'scrollbar_selected_idle_xanchor', u'scrollbar_selected_idle_xcenter', u'scrollbar_selected_idle_xfill', u'scrollbar_selected_idle_xmaximum', u'scrollbar_selected_idle_xminimum', u'scrollbar_selected_idle_xoffset', u'scrollbar_selected_idle_xpos', u'scrollbar_selected_idle_xsize', u'scrollbar_selected_idle_xysize', u'scrollbar_selected_idle_yalign', u'scrollbar_selected_idle_yanchor', u'scrollbar_selected_idle_ycenter', u'scrollbar_selected_idle_yfill', u'scrollbar_selected_idle_ymaximum', u'scrollbar_selected_idle_yminimum', u'scrollbar_selected_idle_yoffset', u'scrollbar_selected_idle_ypos', u'scrollbar_selected_idle_ysize', u'scrollbar_selected_insensitive_align', u'scrollbar_selected_insensitive_alt', u'scrollbar_selected_insensitive_anchor', u'scrollbar_selected_insensitive_area', u'scrollbar_selected_insensitive_bar_invert', u'scrollbar_selected_insensitive_bar_resizing', u'scrollbar_selected_insensitive_bar_vertical', u'scrollbar_selected_insensitive_base_bar', u'scrollbar_selected_insensitive_bottom_bar', u'scrollbar_selected_insensitive_bottom_gutter', u'scrollbar_selected_insensitive_clipping', u'scrollbar_selected_insensitive_debug', u'scrollbar_selected_insensitive_keyboard_focus', u'scrollbar_selected_insensitive_left_bar', u'scrollbar_selected_insensitive_left_gutter', u'scrollbar_selected_insensitive_maximum', u'scrollbar_selected_insensitive_minimum', u'scrollbar_selected_insensitive_mouse', u'scrollbar_selected_insensitive_offset', u'scrollbar_selected_insensitive_pos', u'scrollbar_selected_insensitive_right_bar', u'scrollbar_selected_insensitive_right_gutter', u'scrollbar_selected_insensitive_thumb', u'scrollbar_selected_insensitive_thumb_offset', u'scrollbar_selected_insensitive_thumb_shadow', u'scrollbar_selected_insensitive_top_bar', u'scrollbar_selected_insensitive_top_gutter', u'scrollbar_selected_insensitive_unscrollable', u'scrollbar_selected_insensitive_xalign', u'scrollbar_selected_insensitive_xanchor', u'scrollbar_selected_insensitive_xcenter', u'scrollbar_selected_insensitive_xfill', u'scrollbar_selected_insensitive_xmaximum', u'scrollbar_selected_insensitive_xminimum', u'scrollbar_selected_insensitive_xoffset', u'scrollbar_selected_insensitive_xpos', u'scrollbar_selected_insensitive_xsize', u'scrollbar_selected_insensitive_xysize', u'scrollbar_selected_insensitive_yalign', u'scrollbar_selected_insensitive_yanchor', u'scrollbar_selected_insensitive_ycenter', u'scrollbar_selected_insensitive_yfill', u'scrollbar_selected_insensitive_ymaximum', u'scrollbar_selected_insensitive_yminimum', u'scrollbar_selected_insensitive_yoffset', u'scrollbar_selected_insensitive_ypos', u'scrollbar_selected_insensitive_ysize', u'scrollbar_selected_keyboard_focus', u'scrollbar_selected_left_bar', u'scrollbar_selected_left_gutter', u'scrollbar_selected_maximum', u'scrollbar_selected_minimum', u'scrollbar_selected_mouse', u'scrollbar_selected_offset', u'scrollbar_selected_pos', u'scrollbar_selected_right_bar', u'scrollbar_selected_right_gutter', u'scrollbar_selected_thumb', u'scrollbar_selected_thumb_offset', u'scrollbar_selected_thumb_shadow', u'scrollbar_selected_top_bar', u'scrollbar_selected_top_gutter', u'scrollbar_selected_unscrollable', u'scrollbar_selected_xalign', u'scrollbar_selected_xanchor', u'scrollbar_selected_xcenter', u'scrollbar_selected_xfill', u'scrollbar_selected_xmaximum', u'scrollbar_selected_xminimum', u'scrollbar_selected_xoffset', u'scrollbar_selected_xpos', u'scrollbar_selected_xsize', u'scrollbar_selected_xysize', u'scrollbar_selected_yalign', u'scrollbar_selected_yanchor', u'scrollbar_selected_ycenter', u'scrollbar_selected_yfill', u'scrollbar_selected_ymaximum', u'scrollbar_selected_yminimum', u'scrollbar_selected_yoffset', u'scrollbar_selected_ypos', u'scrollbar_selected_ysize', u'scrollbar_thumb', u'scrollbar_thumb_offset', u'scrollbar_thumb_shadow', u'scrollbar_top_bar', u'scrollbar_top_gutter', u'scrollbar_unscrollable', u'scrollbar_xalign', u'scrollbar_xanchor', u'scrollbar_xcenter', u'scrollbar_xfill', u'scrollbar_xmaximum', u'scrollbar_xminimum', u'scrollbar_xoffset', u'scrollbar_xpos', u'scrollbar_xsize', u'scrollbar_xysize', u'scrollbar_yalign', u'scrollbar_yanchor', u'scrollbar_ycenter', u'scrollbar_yfill', u'scrollbar_ymaximum', u'scrollbar_yminimum', u'scrollbar_yoffset', u'scrollbar_ypos', u'scrollbar_ysize', u'scrollbars', u'selected', u'selected_activate_additive', u'selected_activate_adjust_spacing', u'selected_activate_align', u'selected_activate_alignaround', u'selected_activate_alpha', u'selected_activate_alt', u'selected_activate_anchor', u'selected_activate_angle', u'selected_activate_antialias', u'selected_activate_area', u'selected_activate_around', u'selected_activate_background', u'selected_activate_bar_invert', u'selected_activate_bar_resizing', u'selected_activate_bar_vertical', u'selected_activate_base_bar', u'selected_activate_black_color', u'selected_activate_blur', u'selected_activate_bold', u'selected_activate_bottom_bar', u'selected_activate_bottom_gutter', u'selected_activate_bottom_margin', u'selected_activate_bottom_padding', u'selected_activate_box_layout', u'selected_activate_box_reverse', u'selected_activate_box_wrap', u'selected_activate_box_wrap_spacing', u'selected_activate_caret', u'selected_activate_child', u'selected_activate_clipping', u'selected_activate_color', u'selected_activate_corner1', u'selected_activate_corner2', u'selected_activate_crop', u'selected_activate_crop_relative', u'selected_activate_debug', u'selected_activate_delay', u'selected_activate_drop_shadow', u'selected_activate_drop_shadow_color', u'selected_activate_events', u'selected_activate_first_indent', u'selected_activate_first_spacing', u'selected_activate_fit', u'selected_activate_fit_first', u'selected_activate_focus_mask', u'selected_activate_font', u'selected_activate_foreground', u'selected_activate_gl_blend_func', u'selected_activate_gl_color_mask', u'selected_activate_gl_pixel_perfect', u'selected_activate_hinting', u'selected_activate_hyperlink_functions', u'selected_activate_italic', u'selected_activate_justify', u'selected_activate_kerning', u'selected_activate_key_events', u'selected_activate_keyboard_focus', u'selected_activate_language', u'selected_activate_layout', u'selected_activate_left_bar', u'selected_activate_left_gutter', u'selected_activate_left_margin', u'selected_activate_left_padding', u'selected_activate_line_leading', u'selected_activate_line_spacing', u'selected_activate_margin', u'selected_activate_matrixcolor', u'selected_activate_maximum', u'selected_activate_maxsize', u'selected_activate_mesh', u'selected_activate_mesh_pad', u'selected_activate_min_width', u'selected_activate_minimum', u'selected_activate_minwidth', u'selected_activate_mipmap', u'selected_activate_modal', u'selected_activate_mouse', u'selected_activate_nearest', u'selected_activate_newline_indent', u'selected_activate_offset', u'selected_activate_order_reverse', u'selected_activate_outline_scaling', u'selected_activate_outlines', u'selected_activate_padding', u'selected_activate_pos', u'selected_activate_radius', u'selected_activate_rest_indent', u'selected_activate_right_bar', u'selected_activate_right_gutter', u'selected_activate_right_margin', u'selected_activate_right_padding', u'selected_activate_rotate', u'selected_activate_rotate_pad', u'selected_activate_ruby_style', u'selected_activate_shader', u'selected_activate_size', u'selected_activate_size_group', u'selected_activate_slow_abortable', u'selected_activate_slow_cps', u'selected_activate_slow_cps_multiplier', u'selected_activate_sound', u'selected_activate_spacing', u'selected_activate_strikethrough', u'selected_activate_subpixel', u'selected_activate_text_align', u'selected_activate_text_y_fudge', u'selected_activate_thumb', u'selected_activate_thumb_offset', u'selected_activate_thumb_shadow', u'selected_activate_top_bar', u'selected_activate_top_gutter', u'selected_activate_top_margin', u'selected_activate_top_padding', u'selected_activate_transform_anchor', u'selected_activate_underline', u'selected_activate_unscrollable', u'selected_activate_vertical', u'selected_activate_xalign', u'selected_activate_xanchor', u'selected_activate_xanchoraround', u'selected_activate_xaround', u'selected_activate_xcenter', u'selected_activate_xfill', u'selected_activate_xfit', u'selected_activate_xmargin', u'selected_activate_xmaximum', u'selected_activate_xminimum', u'selected_activate_xoffset', u'selected_activate_xpadding', u'selected_activate_xpan', u'selected_activate_xpos', u'selected_activate_xsize', u'selected_activate_xspacing', u'selected_activate_xtile', u'selected_activate_xysize', u'selected_activate_xzoom', u'selected_activate_yalign', u'selected_activate_yanchor', u'selected_activate_yanchoraround', u'selected_activate_yaround', u'selected_activate_ycenter', u'selected_activate_yfill', u'selected_activate_yfit', u'selected_activate_ymargin', u'selected_activate_ymaximum', u'selected_activate_yminimum', u'selected_activate_yoffset', u'selected_activate_ypadding', u'selected_activate_ypan', u'selected_activate_ypos', u'selected_activate_ysize', u'selected_activate_yspacing', u'selected_activate_ytile', u'selected_activate_yzoom', u'selected_activate_zoom', u'selected_additive', u'selected_adjust_spacing', u'selected_align', u'selected_alignaround', u'selected_alpha', u'selected_alt', u'selected_anchor', u'selected_angle', u'selected_antialias', u'selected_area', u'selected_around', u'selected_background', u'selected_bar_invert', u'selected_bar_resizing', u'selected_bar_vertical', u'selected_base_bar', u'selected_black_color', u'selected_blur', u'selected_bold', u'selected_bottom_bar', u'selected_bottom_gutter', u'selected_bottom_margin', u'selected_bottom_padding', u'selected_box_layout', u'selected_box_reverse', u'selected_box_wrap', u'selected_box_wrap_spacing', u'selected_caret', u'selected_child', u'selected_clipping', u'selected_color', u'selected_corner1', u'selected_corner2', u'selected_crop', u'selected_crop_relative', u'selected_debug', u'selected_delay', u'selected_drop_shadow', u'selected_drop_shadow_color', u'selected_events', u'selected_first_indent', u'selected_first_spacing', u'selected_fit', u'selected_fit_first', u'selected_focus_mask', u'selected_font', u'selected_foreground', u'selected_gl_blend_func', u'selected_gl_color_mask', u'selected_gl_pixel_perfect', u'selected_hinting', u'selected_hover', u'selected_hover_additive', u'selected_hover_adjust_spacing', u'selected_hover_align', u'selected_hover_alignaround', u'selected_hover_alpha', u'selected_hover_alt', u'selected_hover_anchor', u'selected_hover_angle', u'selected_hover_antialias', u'selected_hover_area', u'selected_hover_around', u'selected_hover_background', u'selected_hover_bar_invert', u'selected_hover_bar_resizing', u'selected_hover_bar_vertical', u'selected_hover_base_bar', u'selected_hover_black_color', u'selected_hover_blur', u'selected_hover_bold', u'selected_hover_bottom_bar', u'selected_hover_bottom_gutter', u'selected_hover_bottom_margin', u'selected_hover_bottom_padding', u'selected_hover_box_layout', u'selected_hover_box_reverse', u'selected_hover_box_wrap', u'selected_hover_box_wrap_spacing', u'selected_hover_caret', u'selected_hover_child', u'selected_hover_clipping', u'selected_hover_color', u'selected_hover_corner1', u'selected_hover_corner2', u'selected_hover_crop', u'selected_hover_crop_relative', u'selected_hover_debug', u'selected_hover_delay', u'selected_hover_drop_shadow', u'selected_hover_drop_shadow_color', u'selected_hover_events', u'selected_hover_first_indent', u'selected_hover_first_spacing', u'selected_hover_fit', u'selected_hover_fit_first', u'selected_hover_focus_mask', u'selected_hover_font', u'selected_hover_foreground', u'selected_hover_gl_blend_func', u'selected_hover_gl_color_mask', u'selected_hover_gl_pixel_perfect', u'selected_hover_hinting', u'selected_hover_hyperlink_functions', u'selected_hover_italic', u'selected_hover_justify', u'selected_hover_kerning', u'selected_hover_key_events', u'selected_hover_keyboard_focus', u'selected_hover_language', u'selected_hover_layout', u'selected_hover_left_bar', u'selected_hover_left_gutter', u'selected_hover_left_margin', u'selected_hover_left_padding', u'selected_hover_line_leading', u'selected_hover_line_spacing', u'selected_hover_margin', u'selected_hover_matrixcolor', u'selected_hover_maximum', u'selected_hover_maxsize', u'selected_hover_mesh', u'selected_hover_mesh_pad', u'selected_hover_min_width', u'selected_hover_minimum', u'selected_hover_minwidth', u'selected_hover_mipmap', u'selected_hover_modal', u'selected_hover_mouse', u'selected_hover_nearest', u'selected_hover_newline_indent', u'selected_hover_offset', u'selected_hover_order_reverse', u'selected_hover_outline_scaling', u'selected_hover_outlines', u'selected_hover_padding', u'selected_hover_pos', u'selected_hover_radius', u'selected_hover_rest_indent', u'selected_hover_right_bar', u'selected_hover_right_gutter', u'selected_hover_right_margin', u'selected_hover_right_padding', u'selected_hover_rotate', u'selected_hover_rotate_pad', u'selected_hover_ruby_style', u'selected_hover_shader', u'selected_hover_size', u'selected_hover_size_group', u'selected_hover_slow_abortable', u'selected_hover_slow_cps', u'selected_hover_slow_cps_multiplier', u'selected_hover_sound', u'selected_hover_spacing', u'selected_hover_strikethrough', u'selected_hover_subpixel', u'selected_hover_text_align', u'selected_hover_text_y_fudge', u'selected_hover_thumb', u'selected_hover_thumb_offset', u'selected_hover_thumb_shadow', u'selected_hover_top_bar', u'selected_hover_top_gutter', u'selected_hover_top_margin', u'selected_hover_top_padding', u'selected_hover_transform_anchor', u'selected_hover_underline', u'selected_hover_unscrollable', u'selected_hover_vertical', u'selected_hover_xalign', u'selected_hover_xanchor', u'selected_hover_xanchoraround', u'selected_hover_xaround', u'selected_hover_xcenter', u'selected_hover_xfill', u'selected_hover_xfit', u'selected_hover_xmargin', u'selected_hover_xmaximum', u'selected_hover_xminimum', u'selected_hover_xoffset', u'selected_hover_xpadding', u'selected_hover_xpan', u'selected_hover_xpos', u'selected_hover_xsize', u'selected_hover_xspacing', u'selected_hover_xtile', u'selected_hover_xysize', u'selected_hover_xzoom', u'selected_hover_yalign', u'selected_hover_yanchor', u'selected_hover_yanchoraround', u'selected_hover_yaround', u'selected_hover_ycenter', u'selected_hover_yfill', u'selected_hover_yfit', u'selected_hover_ymargin', u'selected_hover_ymaximum', u'selected_hover_yminimum', u'selected_hover_yoffset', u'selected_hover_ypadding', u'selected_hover_ypan', u'selected_hover_ypos', u'selected_hover_ysize', u'selected_hover_yspacing', u'selected_hover_ytile', u'selected_hover_yzoom', u'selected_hover_zoom', u'selected_hyperlink_functions', u'selected_idle', u'selected_idle_additive', u'selected_idle_adjust_spacing', u'selected_idle_align', u'selected_idle_alignaround', u'selected_idle_alpha', u'selected_idle_alt', u'selected_idle_anchor', u'selected_idle_angle', u'selected_idle_antialias', u'selected_idle_area', u'selected_idle_around', u'selected_idle_background', u'selected_idle_bar_invert', u'selected_idle_bar_resizing', u'selected_idle_bar_vertical', u'selected_idle_base_bar', u'selected_idle_black_color', u'selected_idle_blur', u'selected_idle_bold', u'selected_idle_bottom_bar', u'selected_idle_bottom_gutter', u'selected_idle_bottom_margin', u'selected_idle_bottom_padding', u'selected_idle_box_layout', u'selected_idle_box_reverse', u'selected_idle_box_wrap', u'selected_idle_box_wrap_spacing', u'selected_idle_caret', u'selected_idle_child', u'selected_idle_clipping', u'selected_idle_color', u'selected_idle_corner1', u'selected_idle_corner2', u'selected_idle_crop', u'selected_idle_crop_relative', u'selected_idle_debug', u'selected_idle_delay', u'selected_idle_drop_shadow', u'selected_idle_drop_shadow_color', u'selected_idle_events', u'selected_idle_first_indent', u'selected_idle_first_spacing', u'selected_idle_fit', u'selected_idle_fit_first', u'selected_idle_focus_mask', u'selected_idle_font', u'selected_idle_foreground', u'selected_idle_gl_blend_func', u'selected_idle_gl_color_mask', u'selected_idle_gl_pixel_perfect', u'selected_idle_hinting', u'selected_idle_hyperlink_functions', u'selected_idle_italic', u'selected_idle_justify', u'selected_idle_kerning', u'selected_idle_key_events', u'selected_idle_keyboard_focus', u'selected_idle_language', u'selected_idle_layout', u'selected_idle_left_bar', u'selected_idle_left_gutter', u'selected_idle_left_margin', u'selected_idle_left_padding', u'selected_idle_line_leading', u'selected_idle_line_spacing', u'selected_idle_margin', u'selected_idle_matrixcolor', u'selected_idle_maximum', u'selected_idle_maxsize', u'selected_idle_mesh', u'selected_idle_mesh_pad', u'selected_idle_min_width', u'selected_idle_minimum', u'selected_idle_minwidth', u'selected_idle_mipmap', u'selected_idle_modal', u'selected_idle_mouse', u'selected_idle_nearest', u'selected_idle_newline_indent', u'selected_idle_offset', u'selected_idle_order_reverse', u'selected_idle_outline_scaling', u'selected_idle_outlines', u'selected_idle_padding', u'selected_idle_pos', u'selected_idle_radius', u'selected_idle_rest_indent', u'selected_idle_right_bar', u'selected_idle_right_gutter', u'selected_idle_right_margin', u'selected_idle_right_padding', u'selected_idle_rotate', u'selected_idle_rotate_pad', u'selected_idle_ruby_style', u'selected_idle_shader', u'selected_idle_size', u'selected_idle_size_group', u'selected_idle_slow_abortable', u'selected_idle_slow_cps', u'selected_idle_slow_cps_multiplier', u'selected_idle_sound', u'selected_idle_spacing', u'selected_idle_strikethrough', u'selected_idle_subpixel', u'selected_idle_text_align', u'selected_idle_text_y_fudge', u'selected_idle_thumb', u'selected_idle_thumb_offset', u'selected_idle_thumb_shadow', u'selected_idle_top_bar', u'selected_idle_top_gutter', u'selected_idle_top_margin', u'selected_idle_top_padding', u'selected_idle_transform_anchor', u'selected_idle_underline', u'selected_idle_unscrollable', u'selected_idle_vertical', u'selected_idle_xalign', u'selected_idle_xanchor', u'selected_idle_xanchoraround', u'selected_idle_xaround', u'selected_idle_xcenter', u'selected_idle_xfill', u'selected_idle_xfit', u'selected_idle_xmargin', u'selected_idle_xmaximum', u'selected_idle_xminimum', u'selected_idle_xoffset', u'selected_idle_xpadding', u'selected_idle_xpan', u'selected_idle_xpos', u'selected_idle_xsize', u'selected_idle_xspacing', u'selected_idle_xtile', u'selected_idle_xysize', u'selected_idle_xzoom', u'selected_idle_yalign', u'selected_idle_yanchor', u'selected_idle_yanchoraround', u'selected_idle_yaround', u'selected_idle_ycenter', u'selected_idle_yfill', u'selected_idle_yfit', u'selected_idle_ymargin', u'selected_idle_ymaximum', u'selected_idle_yminimum', u'selected_idle_yoffset', u'selected_idle_ypadding', u'selected_idle_ypan', u'selected_idle_ypos', u'selected_idle_ysize', u'selected_idle_yspacing', u'selected_idle_ytile', u'selected_idle_yzoom', u'selected_idle_zoom', u'selected_insensitive', u'selected_insensitive_additive', u'selected_insensitive_adjust_spacing', u'selected_insensitive_align', u'selected_insensitive_alignaround', u'selected_insensitive_alpha', u'selected_insensitive_alt', u'selected_insensitive_anchor', u'selected_insensitive_angle', u'selected_insensitive_antialias', u'selected_insensitive_area', u'selected_insensitive_around', u'selected_insensitive_background', u'selected_insensitive_bar_invert', u'selected_insensitive_bar_resizing', u'selected_insensitive_bar_vertical', u'selected_insensitive_base_bar', u'selected_insensitive_black_color', u'selected_insensitive_blur', u'selected_insensitive_bold', u'selected_insensitive_bottom_bar', u'selected_insensitive_bottom_gutter', u'selected_insensitive_bottom_margin', u'selected_insensitive_bottom_padding', u'selected_insensitive_box_layout', u'selected_insensitive_box_reverse', u'selected_insensitive_box_wrap', u'selected_insensitive_box_wrap_spacing', u'selected_insensitive_caret', u'selected_insensitive_child', u'selected_insensitive_clipping', u'selected_insensitive_color', u'selected_insensitive_corner1', u'selected_insensitive_corner2', u'selected_insensitive_crop', u'selected_insensitive_crop_relative', u'selected_insensitive_debug', u'selected_insensitive_delay', u'selected_insensitive_drop_shadow', u'selected_insensitive_drop_shadow_color', u'selected_insensitive_events', u'selected_insensitive_first_indent', u'selected_insensitive_first_spacing', u'selected_insensitive_fit', u'selected_insensitive_fit_first', u'selected_insensitive_focus_mask', u'selected_insensitive_font', u'selected_insensitive_foreground', u'selected_insensitive_gl_blend_func', u'selected_insensitive_gl_color_mask', u'selected_insensitive_gl_pixel_perfect', u'selected_insensitive_hinting', u'selected_insensitive_hyperlink_functions', u'selected_insensitive_italic', u'selected_insensitive_justify', u'selected_insensitive_kerning', u'selected_insensitive_key_events', u'selected_insensitive_keyboard_focus', u'selected_insensitive_language', u'selected_insensitive_layout', u'selected_insensitive_left_bar', u'selected_insensitive_left_gutter', u'selected_insensitive_left_margin', u'selected_insensitive_left_padding', u'selected_insensitive_line_leading', u'selected_insensitive_line_spacing', u'selected_insensitive_margin', u'selected_insensitive_matrixcolor', u'selected_insensitive_maximum', u'selected_insensitive_maxsize', u'selected_insensitive_mesh', u'selected_insensitive_mesh_pad', u'selected_insensitive_min_width', u'selected_insensitive_minimum', u'selected_insensitive_minwidth', u'selected_insensitive_mipmap', u'selected_insensitive_modal', u'selected_insensitive_mouse', u'selected_insensitive_nearest', u'selected_insensitive_newline_indent', u'selected_insensitive_offset', u'selected_insensitive_order_reverse', u'selected_insensitive_outline_scaling', u'selected_insensitive_outlines', u'selected_insensitive_padding', u'selected_insensitive_pos', u'selected_insensitive_radius', u'selected_insensitive_rest_indent', u'selected_insensitive_right_bar', u'selected_insensitive_right_gutter', u'selected_insensitive_right_margin', u'selected_insensitive_right_padding', u'selected_insensitive_rotate', u'selected_insensitive_rotate_pad', u'selected_insensitive_ruby_style', u'selected_insensitive_shader', u'selected_insensitive_size', u'selected_insensitive_size_group', u'selected_insensitive_slow_abortable', u'selected_insensitive_slow_cps', u'selected_insensitive_slow_cps_multiplier', u'selected_insensitive_sound', u'selected_insensitive_spacing', u'selected_insensitive_strikethrough', u'selected_insensitive_subpixel', u'selected_insensitive_text_align', u'selected_insensitive_text_y_fudge', u'selected_insensitive_thumb', u'selected_insensitive_thumb_offset', u'selected_insensitive_thumb_shadow', u'selected_insensitive_top_bar', u'selected_insensitive_top_gutter', u'selected_insensitive_top_margin', u'selected_insensitive_top_padding', u'selected_insensitive_transform_anchor', u'selected_insensitive_underline', u'selected_insensitive_unscrollable', u'selected_insensitive_vertical', u'selected_insensitive_xalign', u'selected_insensitive_xanchor', u'selected_insensitive_xanchoraround', u'selected_insensitive_xaround', u'selected_insensitive_xcenter', u'selected_insensitive_xfill', u'selected_insensitive_xfit', u'selected_insensitive_xmargin', u'selected_insensitive_xmaximum', u'selected_insensitive_xminimum', u'selected_insensitive_xoffset', u'selected_insensitive_xpadding', u'selected_insensitive_xpan', u'selected_insensitive_xpos', u'selected_insensitive_xsize', u'selected_insensitive_xspacing', u'selected_insensitive_xtile', u'selected_insensitive_xysize', u'selected_insensitive_xzoom', u'selected_insensitive_yalign', u'selected_insensitive_yanchor', u'selected_insensitive_yanchoraround', u'selected_insensitive_yaround', u'selected_insensitive_ycenter', u'selected_insensitive_yfill', u'selected_insensitive_yfit', u'selected_insensitive_ymargin', u'selected_insensitive_ymaximum', u'selected_insensitive_yminimum', u'selected_insensitive_yoffset', u'selected_insensitive_ypadding', u'selected_insensitive_ypan', u'selected_insensitive_ypos', u'selected_insensitive_ysize', u'selected_insensitive_yspacing', u'selected_insensitive_ytile', u'selected_insensitive_yzoom', u'selected_insensitive_zoom', u'selected_italic', u'selected_justify', u'selected_kerning', u'selected_key_events', u'selected_keyboard_focus', u'selected_language', u'selected_layout', u'selected_left_bar', u'selected_left_gutter', u'selected_left_margin', u'selected_left_padding', u'selected_line_leading', u'selected_line_spacing', u'selected_margin', u'selected_matrixcolor', u'selected_maximum', u'selected_maxsize', u'selected_mesh', u'selected_mesh_pad', u'selected_min_width', u'selected_minimum', u'selected_minwidth', u'selected_mipmap', u'selected_modal', u'selected_mouse', u'selected_nearest', u'selected_newline_indent', u'selected_offset', u'selected_order_reverse', u'selected_outline_scaling', u'selected_outlines', u'selected_padding', u'selected_pos', u'selected_radius', u'selected_rest_indent', u'selected_right_bar', u'selected_right_gutter', u'selected_right_margin', u'selected_right_padding', u'selected_rotate', u'selected_rotate_pad', u'selected_ruby_style', u'selected_shader', u'selected_size', u'selected_size_group', u'selected_slow_abortable', u'selected_slow_cps', u'selected_slow_cps_multiplier', u'selected_sound', u'selected_spacing', u'selected_strikethrough', u'selected_subpixel', u'selected_text_align', u'selected_text_y_fudge', u'selected_thumb', u'selected_thumb_offset', u'selected_thumb_shadow', u'selected_top_bar', u'selected_top_gutter', u'selected_top_margin', u'selected_top_padding', u'selected_transform_anchor', u'selected_underline', u'selected_unscrollable', u'selected_vertical', u'selected_xalign', u'selected_xanchor', u'selected_xanchoraround', u'selected_xaround', u'selected_xcenter', u'selected_xfill', u'selected_xfit', u'selected_xmargin', u'selected_xmaximum', u'selected_xminimum', u'selected_xoffset', u'selected_xpadding', u'selected_xpan', u'selected_xpos', u'selected_xsize', u'selected_xspacing', u'selected_xtile', u'selected_xysize', u'selected_xzoom', u'selected_yalign', u'selected_yanchor', u'selected_yanchoraround', u'selected_yaround', u'selected_ycenter', u'selected_yfill', u'selected_yfit', u'selected_ymargin', u'selected_ymaximum', u'selected_yminimum', u'selected_yoffset', u'selected_ypadding', u'selected_ypan', u'selected_ypos', u'selected_ysize', u'selected_yspacing', u'selected_ytile', u'selected_yzoom', u'selected_zoom', u'sensitive', u'shader', u'side_activate_align', u'side_activate_alt', u'side_activate_anchor', u'side_activate_area', u'side_activate_clipping', u'side_activate_debug', u'side_activate_maximum', u'side_activate_minimum', u'side_activate_offset', u'side_activate_pos', u'side_activate_spacing', u'side_activate_xalign', u'side_activate_xanchor', u'side_activate_xcenter', u'side_activate_xfill', u'side_activate_xmaximum', u'side_activate_xminimum', u'side_activate_xoffset', u'side_activate_xpos', u'side_activate_xsize', u'side_activate_xysize', u'side_activate_yalign', u'side_activate_yanchor', u'side_activate_ycenter', u'side_activate_yfill', u'side_activate_ymaximum', u'side_activate_yminimum', u'side_activate_yoffset', u'side_activate_ypos', u'side_activate_ysize', u'side_align', u'side_alt', u'side_anchor', u'side_area', u'side_clipping', u'side_debug', u'side_hover_align', u'side_hover_alt', u'side_hover_anchor', u'side_hover_area', u'side_hover_clipping', u'side_hover_debug', u'side_hover_maximum', u'side_hover_minimum', u'side_hover_offset', u'side_hover_pos', u'side_hover_spacing', u'side_hover_xalign', u'side_hover_xanchor', u'side_hover_xcenter', u'side_hover_xfill', u'side_hover_xmaximum', u'side_hover_xminimum', u'side_hover_xoffset', u'side_hover_xpos', u'side_hover_xsize', u'side_hover_xysize', u'side_hover_yalign', u'side_hover_yanchor', u'side_hover_ycenter', u'side_hover_yfill', u'side_hover_ymaximum', u'side_hover_yminimum', u'side_hover_yoffset', u'side_hover_ypos', u'side_hover_ysize', u'side_idle_align', u'side_idle_alt', u'side_idle_anchor', u'side_idle_area', u'side_idle_clipping', u'side_idle_debug', u'side_idle_maximum', u'side_idle_minimum', u'side_idle_offset', u'side_idle_pos', u'side_idle_spacing', u'side_idle_xalign', u'side_idle_xanchor', u'side_idle_xcenter', u'side_idle_xfill', u'side_idle_xmaximum', u'side_idle_xminimum', u'side_idle_xoffset', u'side_idle_xpos', u'side_idle_xsize', u'side_idle_xysize', u'side_idle_yalign', u'side_idle_yanchor', u'side_idle_ycenter', u'side_idle_yfill', u'side_idle_ymaximum', u'side_idle_yminimum', u'side_idle_yoffset', u'side_idle_ypos', u'side_idle_ysize', u'side_insensitive_align', u'side_insensitive_alt', u'side_insensitive_anchor', u'side_insensitive_area', u'side_insensitive_clipping', u'side_insensitive_debug', u'side_insensitive_maximum', u'side_insensitive_minimum', u'side_insensitive_offset', u'side_insensitive_pos', u'side_insensitive_spacing', u'side_insensitive_xalign', u'side_insensitive_xanchor', u'side_insensitive_xcenter', u'side_insensitive_xfill', u'side_insensitive_xmaximum', u'side_insensitive_xminimum', u'side_insensitive_xoffset', u'side_insensitive_xpos', u'side_insensitive_xsize', u'side_insensitive_xysize', u'side_insensitive_yalign', u'side_insensitive_yanchor', u'side_insensitive_ycenter', u'side_insensitive_yfill', u'side_insensitive_ymaximum', u'side_insensitive_yminimum', u'side_insensitive_yoffset', u'side_insensitive_ypos', u'side_insensitive_ysize', u'side_maximum', u'side_minimum', u'side_offset', u'side_pos', u'side_selected_activate_align', u'side_selected_activate_alt', u'side_selected_activate_anchor', u'side_selected_activate_area', u'side_selected_activate_clipping', u'side_selected_activate_debug', u'side_selected_activate_maximum', u'side_selected_activate_minimum', u'side_selected_activate_offset', u'side_selected_activate_pos', u'side_selected_activate_spacing', u'side_selected_activate_xalign', u'side_selected_activate_xanchor', u'side_selected_activate_xcenter', u'side_selected_activate_xfill', u'side_selected_activate_xmaximum', u'side_selected_activate_xminimum', u'side_selected_activate_xoffset', u'side_selected_activate_xpos', u'side_selected_activate_xsize', u'side_selected_activate_xysize', u'side_selected_activate_yalign', u'side_selected_activate_yanchor', u'side_selected_activate_ycenter', u'side_selected_activate_yfill', u'side_selected_activate_ymaximum', u'side_selected_activate_yminimum', u'side_selected_activate_yoffset', u'side_selected_activate_ypos', u'side_selected_activate_ysize', u'side_selected_align', u'side_selected_alt', u'side_selected_anchor', u'side_selected_area', u'side_selected_clipping', u'side_selected_debug', u'side_selected_hover_align', u'side_selected_hover_alt', u'side_selected_hover_anchor', u'side_selected_hover_area', u'side_selected_hover_clipping', u'side_selected_hover_debug', u'side_selected_hover_maximum', u'side_selected_hover_minimum', u'side_selected_hover_offset', u'side_selected_hover_pos', u'side_selected_hover_spacing', u'side_selected_hover_xalign', u'side_selected_hover_xanchor', u'side_selected_hover_xcenter', u'side_selected_hover_xfill', u'side_selected_hover_xmaximum', u'side_selected_hover_xminimum', u'side_selected_hover_xoffset', u'side_selected_hover_xpos', u'side_selected_hover_xsize', u'side_selected_hover_xysize', u'side_selected_hover_yalign', u'side_selected_hover_yanchor', u'side_selected_hover_ycenter', u'side_selected_hover_yfill', u'side_selected_hover_ymaximum', u'side_selected_hover_yminimum', u'side_selected_hover_yoffset', u'side_selected_hover_ypos', u'side_selected_hover_ysize', u'side_selected_idle_align', u'side_selected_idle_alt', u'side_selected_idle_anchor', u'side_selected_idle_area', u'side_selected_idle_clipping', u'side_selected_idle_debug', u'side_selected_idle_maximum', u'side_selected_idle_minimum', u'side_selected_idle_offset', u'side_selected_idle_pos', u'side_selected_idle_spacing', u'side_selected_idle_xalign', u'side_selected_idle_xanchor', u'side_selected_idle_xcenter', u'side_selected_idle_xfill', u'side_selected_idle_xmaximum', u'side_selected_idle_xminimum', u'side_selected_idle_xoffset', u'side_selected_idle_xpos', u'side_selected_idle_xsize', u'side_selected_idle_xysize', u'side_selected_idle_yalign', u'side_selected_idle_yanchor', u'side_selected_idle_ycenter', u'side_selected_idle_yfill', u'side_selected_idle_ymaximum', u'side_selected_idle_yminimum', u'side_selected_idle_yoffset', u'side_selected_idle_ypos', u'side_selected_idle_ysize', u'side_selected_insensitive_align', u'side_selected_insensitive_alt', u'side_selected_insensitive_anchor', u'side_selected_insensitive_area', u'side_selected_insensitive_clipping', u'side_selected_insensitive_debug', u'side_selected_insensitive_maximum', u'side_selected_insensitive_minimum', u'side_selected_insensitive_offset', u'side_selected_insensitive_pos', u'side_selected_insensitive_spacing', u'side_selected_insensitive_xalign', u'side_selected_insensitive_xanchor', u'side_selected_insensitive_xcenter', u'side_selected_insensitive_xfill', u'side_selected_insensitive_xmaximum', u'side_selected_insensitive_xminimum', u'side_selected_insensitive_xoffset', u'side_selected_insensitive_xpos', u'side_selected_insensitive_xsize', u'side_selected_insensitive_xysize', u'side_selected_insensitive_yalign', u'side_selected_insensitive_yanchor', u'side_selected_insensitive_ycenter', u'side_selected_insensitive_yfill', u'side_selected_insensitive_ymaximum', u'side_selected_insensitive_yminimum', u'side_selected_insensitive_yoffset', u'side_selected_insensitive_ypos', u'side_selected_insensitive_ysize', u'side_selected_maximum', u'side_selected_minimum', u'side_selected_offset', u'side_selected_pos', u'side_selected_spacing', u'side_selected_xalign', u'side_selected_xanchor', u'side_selected_xcenter', u'side_selected_xfill', u'side_selected_xmaximum', u'side_selected_xminimum', u'side_selected_xoffset', u'side_selected_xpos', u'side_selected_xsize', u'side_selected_xysize', u'side_selected_yalign', u'side_selected_yanchor', u'side_selected_ycenter', u'side_selected_yfill', u'side_selected_ymaximum', u'side_selected_yminimum', u'side_selected_yoffset', u'side_selected_ypos', u'side_selected_ysize', u'side_spacing', u'side_xalign', u'side_xanchor', u'side_xcenter', u'side_xfill', u'side_xmaximum', u'side_xminimum', u'side_xoffset', u'side_xpos', u'side_xsize', u'side_xysize', u'side_yalign', u'side_yanchor', u'side_ycenter', u'side_yfill', u'side_ymaximum', u'side_yminimum', u'side_yoffset', u'side_ypos', u'side_ysize', u'size', u'size_group', u'slow', u'slow_abortable', u'slow_cps', u'slow_cps_multiplier', u'slow_done', u'spacing', u'strikethrough', u'style_group', u'style_prefix', u'style_suffix', u'subpixel', u'substitute', u'suffix', u'text_activate_adjust_spacing', u'text_activate_align', u'text_activate_alt', u'text_activate_anchor', u'text_activate_antialias', u'text_activate_area', u'text_activate_black_color', u'text_activate_bold', u'text_activate_clipping', u'text_activate_color', u'text_activate_debug', u'text_activate_drop_shadow', u'text_activate_drop_shadow_color', u'text_activate_first_indent', u'text_activate_font', u'text_activate_hinting', u'text_activate_hyperlink_functions', u'text_activate_italic', u'text_activate_justify', u'text_activate_kerning', u'text_activate_language', u'text_activate_layout', u'text_activate_line_leading', u'text_activate_line_spacing', u'text_activate_maximum', u'text_activate_min_width', u'text_activate_minimum', u'text_activate_minwidth', u'text_activate_mipmap', u'text_activate_newline_indent', u'text_activate_offset', u'text_activate_outline_scaling', u'text_activate_outlines', u'text_activate_pos', u'text_activate_rest_indent', u'text_activate_ruby_style', u'text_activate_size', u'text_activate_slow_abortable', u'text_activate_slow_cps', u'text_activate_slow_cps_multiplier', u'text_activate_strikethrough', u'text_activate_text_align', u'text_activate_text_y_fudge', u'text_activate_underline', u'text_activate_vertical', u'text_activate_xalign', u'text_activate_xanchor', u'text_activate_xcenter', u'text_activate_xfill', u'text_activate_xmaximum', u'text_activate_xminimum', u'text_activate_xoffset', u'text_activate_xpos', u'text_activate_xsize', u'text_activate_xysize', u'text_activate_yalign', u'text_activate_yanchor', u'text_activate_ycenter', u'text_activate_yfill', u'text_activate_ymaximum', u'text_activate_yminimum', u'text_activate_yoffset', u'text_activate_ypos', u'text_activate_ysize', u'text_adjust_spacing', u'text_align', u'text_alt', u'text_anchor', u'text_antialias', u'text_area', u'text_black_color', u'text_bold', u'text_clipping', u'text_color', u'text_debug', u'text_drop_shadow', u'text_drop_shadow_color', u'text_first_indent', u'text_font', u'text_hinting', u'text_hover_adjust_spacing', u'text_hover_align', u'text_hover_alt', u'text_hover_anchor', u'text_hover_antialias', u'text_hover_area', u'text_hover_black_color', u'text_hover_bold', u'text_hover_clipping', u'text_hover_color', u'text_hover_debug', u'text_hover_drop_shadow', u'text_hover_drop_shadow_color', u'text_hover_first_indent', u'text_hover_font', u'text_hover_hinting', u'text_hover_hyperlink_functions', u'text_hover_italic', u'text_hover_justify', u'text_hover_kerning', u'text_hover_language', u'text_hover_layout', u'text_hover_line_leading', u'text_hover_line_spacing', u'text_hover_maximum', u'text_hover_min_width', u'text_hover_minimum', u'text_hover_minwidth', u'text_hover_mipmap', u'text_hover_newline_indent', u'text_hover_offset', u'text_hover_outline_scaling', u'text_hover_outlines', u'text_hover_pos', u'text_hover_rest_indent', u'text_hover_ruby_style', u'text_hover_size', u'text_hover_slow_abortable', u'text_hover_slow_cps', u'text_hover_slow_cps_multiplier', u'text_hover_strikethrough', u'text_hover_text_align', u'text_hover_text_y_fudge', u'text_hover_underline', u'text_hover_vertical', u'text_hover_xalign', u'text_hover_xanchor', u'text_hover_xcenter', u'text_hover_xfill', u'text_hover_xmaximum', u'text_hover_xminimum', u'text_hover_xoffset', u'text_hover_xpos', u'text_hover_xsize', u'text_hover_xysize', u'text_hover_yalign', u'text_hover_yanchor', u'text_hover_ycenter', u'text_hover_yfill', u'text_hover_ymaximum', u'text_hover_yminimum', u'text_hover_yoffset', u'text_hover_ypos', u'text_hover_ysize', u'text_hyperlink_functions', u'text_idle_adjust_spacing', u'text_idle_align', u'text_idle_alt', u'text_idle_anchor', u'text_idle_antialias', u'text_idle_area', u'text_idle_black_color', u'text_idle_bold', u'text_idle_clipping', u'text_idle_color', u'text_idle_debug', u'text_idle_drop_shadow', u'text_idle_drop_shadow_color', u'text_idle_first_indent', u'text_idle_font', u'text_idle_hinting', u'text_idle_hyperlink_functions', u'text_idle_italic', u'text_idle_justify', u'text_idle_kerning', u'text_idle_language', u'text_idle_layout', u'text_idle_line_leading', u'text_idle_line_spacing', u'text_idle_maximum', u'text_idle_min_width', u'text_idle_minimum', u'text_idle_minwidth', u'text_idle_mipmap', u'text_idle_newline_indent', u'text_idle_offset', u'text_idle_outline_scaling', u'text_idle_outlines', u'text_idle_pos', u'text_idle_rest_indent', u'text_idle_ruby_style', u'text_idle_size', u'text_idle_slow_abortable', u'text_idle_slow_cps', u'text_idle_slow_cps_multiplier', u'text_idle_strikethrough', u'text_idle_text_align', u'text_idle_text_y_fudge', u'text_idle_underline', u'text_idle_vertical', u'text_idle_xalign', u'text_idle_xanchor', u'text_idle_xcenter', u'text_idle_xfill', u'text_idle_xmaximum', u'text_idle_xminimum', u'text_idle_xoffset', u'text_idle_xpos', u'text_idle_xsize', u'text_idle_xysize', u'text_idle_yalign', u'text_idle_yanchor', u'text_idle_ycenter', u'text_idle_yfill', u'text_idle_ymaximum', u'text_idle_yminimum', u'text_idle_yoffset', u'text_idle_ypos', u'text_idle_ysize', u'text_insensitive_adjust_spacing', u'text_insensitive_align', u'text_insensitive_alt', u'text_insensitive_anchor', u'text_insensitive_antialias', u'text_insensitive_area', u'text_insensitive_black_color', u'text_insensitive_bold', u'text_insensitive_clipping', u'text_insensitive_color', u'text_insensitive_debug', u'text_insensitive_drop_shadow', u'text_insensitive_drop_shadow_color', u'text_insensitive_first_indent', u'text_insensitive_font', u'text_insensitive_hinting', u'text_insensitive_hyperlink_functions', u'text_insensitive_italic', u'text_insensitive_justify', u'text_insensitive_kerning', u'text_insensitive_language', u'text_insensitive_layout', u'text_insensitive_line_leading', u'text_insensitive_line_spacing', u'text_insensitive_maximum', u'text_insensitive_min_width', u'text_insensitive_minimum', u'text_insensitive_minwidth', u'text_insensitive_mipmap', u'text_insensitive_newline_indent', u'text_insensitive_offset', u'text_insensitive_outline_scaling', u'text_insensitive_outlines', u'text_insensitive_pos', u'text_insensitive_rest_indent', u'text_insensitive_ruby_style', u'text_insensitive_size', u'text_insensitive_slow_abortable', u'text_insensitive_slow_cps', u'text_insensitive_slow_cps_multiplier', u'text_insensitive_strikethrough', u'text_insensitive_text_align', u'text_insensitive_text_y_fudge', u'text_insensitive_underline', u'text_insensitive_vertical', u'text_insensitive_xalign', u'text_insensitive_xanchor', u'text_insensitive_xcenter', u'text_insensitive_xfill', u'text_insensitive_xmaximum', u'text_insensitive_xminimum', u'text_insensitive_xoffset', u'text_insensitive_xpos', u'text_insensitive_xsize', u'text_insensitive_xysize', u'text_insensitive_yalign', u'text_insensitive_yanchor', u'text_insensitive_ycenter', u'text_insensitive_yfill', u'text_insensitive_ymaximum', u'text_insensitive_yminimum', u'text_insensitive_yoffset', u'text_insensitive_ypos', u'text_insensitive_ysize', u'text_italic', u'text_justify', u'text_kerning', u'text_language', u'text_layout', u'text_line_leading', u'text_line_spacing', u'text_maximum', u'text_min_width', u'text_minimum', u'text_minwidth', u'text_mipmap', u'text_newline_indent', u'text_offset', u'text_outline_scaling', u'text_outlines', u'text_pos', u'text_rest_indent', u'text_ruby_style', u'text_selected_activate_adjust_spacing', u'text_selected_activate_align', u'text_selected_activate_alt', u'text_selected_activate_anchor', u'text_selected_activate_antialias', u'text_selected_activate_area', u'text_selected_activate_black_color', u'text_selected_activate_bold', u'text_selected_activate_clipping', u'text_selected_activate_color', u'text_selected_activate_debug', u'text_selected_activate_drop_shadow', u'text_selected_activate_drop_shadow_color', u'text_selected_activate_first_indent', u'text_selected_activate_font', u'text_selected_activate_hinting', u'text_selected_activate_hyperlink_functions', u'text_selected_activate_italic', u'text_selected_activate_justify', u'text_selected_activate_kerning', u'text_selected_activate_language', u'text_selected_activate_layout', u'text_selected_activate_line_leading', u'text_selected_activate_line_spacing', u'text_selected_activate_maximum', u'text_selected_activate_min_width', u'text_selected_activate_minimum', u'text_selected_activate_minwidth', u'text_selected_activate_mipmap', u'text_selected_activate_newline_indent', u'text_selected_activate_offset', u'text_selected_activate_outline_scaling', u'text_selected_activate_outlines', u'text_selected_activate_pos', u'text_selected_activate_rest_indent', u'text_selected_activate_ruby_style', u'text_selected_activate_size', u'text_selected_activate_slow_abortable', u'text_selected_activate_slow_cps', u'text_selected_activate_slow_cps_multiplier', u'text_selected_activate_strikethrough', u'text_selected_activate_text_align', u'text_selected_activate_text_y_fudge', u'text_selected_activate_underline', u'text_selected_activate_vertical', u'text_selected_activate_xalign', u'text_selected_activate_xanchor', u'text_selected_activate_xcenter', u'text_selected_activate_xfill', u'text_selected_activate_xmaximum', u'text_selected_activate_xminimum', u'text_selected_activate_xoffset', u'text_selected_activate_xpos', u'text_selected_activate_xsize', u'text_selected_activate_xysize', u'text_selected_activate_yalign', u'text_selected_activate_yanchor', u'text_selected_activate_ycenter', u'text_selected_activate_yfill', u'text_selected_activate_ymaximum', u'text_selected_activate_yminimum', u'text_selected_activate_yoffset', u'text_selected_activate_ypos', u'text_selected_activate_ysize', u'text_selected_adjust_spacing', u'text_selected_align', u'text_selected_alt', u'text_selected_anchor', u'text_selected_antialias', u'text_selected_area', u'text_selected_black_color', u'text_selected_bold', u'text_selected_clipping', u'text_selected_color', u'text_selected_debug', u'text_selected_drop_shadow', u'text_selected_drop_shadow_color', u'text_selected_first_indent', u'text_selected_font', u'text_selected_hinting', u'text_selected_hover_adjust_spacing', u'text_selected_hover_align', u'text_selected_hover_alt', u'text_selected_hover_anchor', u'text_selected_hover_antialias', u'text_selected_hover_area', u'text_selected_hover_black_color', u'text_selected_hover_bold', u'text_selected_hover_clipping', u'text_selected_hover_color', u'text_selected_hover_debug', u'text_selected_hover_drop_shadow', u'text_selected_hover_drop_shadow_color', u'text_selected_hover_first_indent', u'text_selected_hover_font', u'text_selected_hover_hinting', u'text_selected_hover_hyperlink_functions', u'text_selected_hover_italic', u'text_selected_hover_justify', u'text_selected_hover_kerning', u'text_selected_hover_language', u'text_selected_hover_layout', u'text_selected_hover_line_leading', u'text_selected_hover_line_spacing', u'text_selected_hover_maximum', u'text_selected_hover_min_width', u'text_selected_hover_minimum', u'text_selected_hover_minwidth', u'text_selected_hover_mipmap', u'text_selected_hover_newline_indent', u'text_selected_hover_offset', u'text_selected_hover_outline_scaling', u'text_selected_hover_outlines', u'text_selected_hover_pos', u'text_selected_hover_rest_indent', u'text_selected_hover_ruby_style', u'text_selected_hover_size', u'text_selected_hover_slow_abortable', u'text_selected_hover_slow_cps', u'text_selected_hover_slow_cps_multiplier', u'text_selected_hover_strikethrough', u'text_selected_hover_text_align', u'text_selected_hover_text_y_fudge', u'text_selected_hover_underline', u'text_selected_hover_vertical', u'text_selected_hover_xalign', u'text_selected_hover_xanchor', u'text_selected_hover_xcenter', u'text_selected_hover_xfill', u'text_selected_hover_xmaximum', u'text_selected_hover_xminimum', u'text_selected_hover_xoffset', u'text_selected_hover_xpos', u'text_selected_hover_xsize', u'text_selected_hover_xysize', u'text_selected_hover_yalign', u'text_selected_hover_yanchor', u'text_selected_hover_ycenter', u'text_selected_hover_yfill', u'text_selected_hover_ymaximum', u'text_selected_hover_yminimum', u'text_selected_hover_yoffset', u'text_selected_hover_ypos', u'text_selected_hover_ysize', u'text_selected_hyperlink_functions', u'text_selected_idle_adjust_spacing', u'text_selected_idle_align', u'text_selected_idle_alt', u'text_selected_idle_anchor', u'text_selected_idle_antialias', u'text_selected_idle_area', u'text_selected_idle_black_color', u'text_selected_idle_bold', u'text_selected_idle_clipping', u'text_selected_idle_color', u'text_selected_idle_debug', u'text_selected_idle_drop_shadow', u'text_selected_idle_drop_shadow_color', u'text_selected_idle_first_indent', u'text_selected_idle_font', u'text_selected_idle_hinting', u'text_selected_idle_hyperlink_functions', u'text_selected_idle_italic', u'text_selected_idle_justify', u'text_selected_idle_kerning', u'text_selected_idle_language', u'text_selected_idle_layout', u'text_selected_idle_line_leading', u'text_selected_idle_line_spacing', u'text_selected_idle_maximum', u'text_selected_idle_min_width', u'text_selected_idle_minimum', u'text_selected_idle_minwidth', u'text_selected_idle_mipmap', u'text_selected_idle_newline_indent', u'text_selected_idle_offset', u'text_selected_idle_outline_scaling', u'text_selected_idle_outlines', u'text_selected_idle_pos', u'text_selected_idle_rest_indent', u'text_selected_idle_ruby_style', u'text_selected_idle_size', u'text_selected_idle_slow_abortable', u'text_selected_idle_slow_cps', u'text_selected_idle_slow_cps_multiplier', u'text_selected_idle_strikethrough', u'text_selected_idle_text_align', u'text_selected_idle_text_y_fudge', u'text_selected_idle_underline', u'text_selected_idle_vertical', u'text_selected_idle_xalign', u'text_selected_idle_xanchor', u'text_selected_idle_xcenter', u'text_selected_idle_xfill', u'text_selected_idle_xmaximum', u'text_selected_idle_xminimum', u'text_selected_idle_xoffset', u'text_selected_idle_xpos', u'text_selected_idle_xsize', u'text_selected_idle_xysize', u'text_selected_idle_yalign', u'text_selected_idle_yanchor', u'text_selected_idle_ycenter', u'text_selected_idle_yfill', u'text_selected_idle_ymaximum', u'text_selected_idle_yminimum', u'text_selected_idle_yoffset', u'text_selected_idle_ypos', u'text_selected_idle_ysize', u'text_selected_insensitive_adjust_spacing', u'text_selected_insensitive_align', u'text_selected_insensitive_alt', u'text_selected_insensitive_anchor', u'text_selected_insensitive_antialias', u'text_selected_insensitive_area', u'text_selected_insensitive_black_color', u'text_selected_insensitive_bold', u'text_selected_insensitive_clipping', u'text_selected_insensitive_color', u'text_selected_insensitive_debug', u'text_selected_insensitive_drop_shadow', u'text_selected_insensitive_drop_shadow_color', u'text_selected_insensitive_first_indent', u'text_selected_insensitive_font', u'text_selected_insensitive_hinting', u'text_selected_insensitive_hyperlink_functions', u'text_selected_insensitive_italic', u'text_selected_insensitive_justify', u'text_selected_insensitive_kerning', u'text_selected_insensitive_language', u'text_selected_insensitive_layout', u'text_selected_insensitive_line_leading', u'text_selected_insensitive_line_spacing', u'text_selected_insensitive_maximum', u'text_selected_insensitive_min_width', u'text_selected_insensitive_minimum', u'text_selected_insensitive_minwidth', u'text_selected_insensitive_mipmap', u'text_selected_insensitive_newline_indent', u'text_selected_insensitive_offset', u'text_selected_insensitive_outline_scaling', u'text_selected_insensitive_outlines', u'text_selected_insensitive_pos', u'text_selected_insensitive_rest_indent', u'text_selected_insensitive_ruby_style', u'text_selected_insensitive_size', u'text_selected_insensitive_slow_abortable', u'text_selected_insensitive_slow_cps', u'text_selected_insensitive_slow_cps_multiplier', u'text_selected_insensitive_strikethrough', u'text_selected_insensitive_text_align', u'text_selected_insensitive_text_y_fudge', u'text_selected_insensitive_underline', u'text_selected_insensitive_vertical', u'text_selected_insensitive_xalign', u'text_selected_insensitive_xanchor', u'text_selected_insensitive_xcenter', u'text_selected_insensitive_xfill', u'text_selected_insensitive_xmaximum', u'text_selected_insensitive_xminimum', u'text_selected_insensitive_xoffset', u'text_selected_insensitive_xpos', u'text_selected_insensitive_xsize', u'text_selected_insensitive_xysize', u'text_selected_insensitive_yalign', u'text_selected_insensitive_yanchor', u'text_selected_insensitive_ycenter', u'text_selected_insensitive_yfill', u'text_selected_insensitive_ymaximum', u'text_selected_insensitive_yminimum', u'text_selected_insensitive_yoffset', u'text_selected_insensitive_ypos', u'text_selected_insensitive_ysize', u'text_selected_italic', u'text_selected_justify', u'text_selected_kerning', u'text_selected_language', u'text_selected_layout', u'text_selected_line_leading', u'text_selected_line_spacing', u'text_selected_maximum', u'text_selected_min_width', u'text_selected_minimum', u'text_selected_minwidth', u'text_selected_mipmap', u'text_selected_newline_indent', u'text_selected_offset', u'text_selected_outline_scaling', u'text_selected_outlines', u'text_selected_pos', u'text_selected_rest_indent', u'text_selected_ruby_style', u'text_selected_size', u'text_selected_slow_abortable', u'text_selected_slow_cps', u'text_selected_slow_cps_multiplier', u'text_selected_strikethrough', u'text_selected_text_align', u'text_selected_text_y_fudge', u'text_selected_underline', u'text_selected_vertical', u'text_selected_xalign', u'text_selected_xanchor', u'text_selected_xcenter', u'text_selected_xfill', u'text_selected_xmaximum', u'text_selected_xminimum', u'text_selected_xoffset', u'text_selected_xpos', u'text_selected_xsize', u'text_selected_xysize', u'text_selected_yalign', u'text_selected_yanchor', u'text_selected_ycenter', u'text_selected_yfill', u'text_selected_ymaximum', u'text_selected_yminimum', u'text_selected_yoffset', u'text_selected_ypos', u'text_selected_ysize', u'text_size', u'text_slow_abortable', u'text_slow_cps', u'text_slow_cps_multiplier', u'text_strikethrough', u'text_style', u'text_text_align', u'text_text_y_fudge', u'text_tooltip', u'text_underline', u'text_vertical', u'text_xalign', u'text_xanchor', u'text_xcenter', u'text_xfill', u'text_xmaximum', u'text_xminimum', u'text_xoffset', u'text_xpos', u'text_xsize', u'text_xysize', u'text_y_fudge', u'text_yalign', u'text_yanchor', u'text_ycenter', u'text_yfill', u'text_ymaximum', u'text_yminimum', u'text_yoffset', u'text_ypos', u'text_ysize', u'thumb', u'thumb_offset', u'thumb_shadow', u'tooltip', u'top_bar', u'top_gutter', u'top_margin', u'top_padding', u'transform_anchor', u'transpose', u'underline', u'unhovered', u'unscrollable', u'value', u'variant', u'vertical', u'viewport_activate_align', u'viewport_activate_alt', u'viewport_activate_anchor', u'viewport_activate_area', u'viewport_activate_clipping', u'viewport_activate_debug', u'viewport_activate_maximum', u'viewport_activate_minimum', u'viewport_activate_offset', u'viewport_activate_pos', u'viewport_activate_xalign', u'viewport_activate_xanchor', u'viewport_activate_xcenter', u'viewport_activate_xfill', u'viewport_activate_xmaximum', u'viewport_activate_xminimum', u'viewport_activate_xoffset', u'viewport_activate_xpos', u'viewport_activate_xsize', u'viewport_activate_xysize', u'viewport_activate_yalign', u'viewport_activate_yanchor', u'viewport_activate_ycenter', u'viewport_activate_yfill', u'viewport_activate_ymaximum', u'viewport_activate_yminimum', u'viewport_activate_yoffset', u'viewport_activate_ypos', u'viewport_activate_ysize', u'viewport_align', u'viewport_alt', u'viewport_anchor', u'viewport_area', u'viewport_clipping', u'viewport_debug', u'viewport_hover_align', u'viewport_hover_alt', u'viewport_hover_anchor', u'viewport_hover_area', u'viewport_hover_clipping', u'viewport_hover_debug', u'viewport_hover_maximum', u'viewport_hover_minimum', u'viewport_hover_offset', u'viewport_hover_pos', u'viewport_hover_xalign', u'viewport_hover_xanchor', u'viewport_hover_xcenter', u'viewport_hover_xfill', u'viewport_hover_xmaximum', u'viewport_hover_xminimum', u'viewport_hover_xoffset', u'viewport_hover_xpos', u'viewport_hover_xsize', u'viewport_hover_xysize', u'viewport_hover_yalign', u'viewport_hover_yanchor', u'viewport_hover_ycenter', u'viewport_hover_yfill', u'viewport_hover_ymaximum', u'viewport_hover_yminimum', u'viewport_hover_yoffset', u'viewport_hover_ypos', u'viewport_hover_ysize', u'viewport_idle_align', u'viewport_idle_alt', u'viewport_idle_anchor', u'viewport_idle_area', u'viewport_idle_clipping', u'viewport_idle_debug', u'viewport_idle_maximum', u'viewport_idle_minimum', u'viewport_idle_offset', u'viewport_idle_pos', u'viewport_idle_xalign', u'viewport_idle_xanchor', u'viewport_idle_xcenter', u'viewport_idle_xfill', u'viewport_idle_xmaximum', u'viewport_idle_xminimum', u'viewport_idle_xoffset', u'viewport_idle_xpos', u'viewport_idle_xsize', u'viewport_idle_xysize', u'viewport_idle_yalign', u'viewport_idle_yanchor', u'viewport_idle_ycenter', u'viewport_idle_yfill', u'viewport_idle_ymaximum', u'viewport_idle_yminimum', u'viewport_idle_yoffset', u'viewport_idle_ypos', u'viewport_idle_ysize', u'viewport_insensitive_align', u'viewport_insensitive_alt', u'viewport_insensitive_anchor', u'viewport_insensitive_area', u'viewport_insensitive_clipping', u'viewport_insensitive_debug', u'viewport_insensitive_maximum', u'viewport_insensitive_minimum', u'viewport_insensitive_offset', u'viewport_insensitive_pos', u'viewport_insensitive_xalign', u'viewport_insensitive_xanchor', u'viewport_insensitive_xcenter', u'viewport_insensitive_xfill', u'viewport_insensitive_xmaximum', u'viewport_insensitive_xminimum', u'viewport_insensitive_xoffset', u'viewport_insensitive_xpos', u'viewport_insensitive_xsize', u'viewport_insensitive_xysize', u'viewport_insensitive_yalign', u'viewport_insensitive_yanchor', u'viewport_insensitive_ycenter', u'viewport_insensitive_yfill', u'viewport_insensitive_ymaximum', u'viewport_insensitive_yminimum', u'viewport_insensitive_yoffset', u'viewport_insensitive_ypos', u'viewport_insensitive_ysize', u'viewport_maximum', u'viewport_minimum', u'viewport_offset', u'viewport_pos', u'viewport_selected_activate_align', u'viewport_selected_activate_alt', u'viewport_selected_activate_anchor', u'viewport_selected_activate_area', u'viewport_selected_activate_clipping', u'viewport_selected_activate_debug', u'viewport_selected_activate_maximum', u'viewport_selected_activate_minimum', u'viewport_selected_activate_offset', u'viewport_selected_activate_pos', u'viewport_selected_activate_xalign', u'viewport_selected_activate_xanchor', u'viewport_selected_activate_xcenter', u'viewport_selected_activate_xfill', u'viewport_selected_activate_xmaximum', u'viewport_selected_activate_xminimum', u'viewport_selected_activate_xoffset', u'viewport_selected_activate_xpos', u'viewport_selected_activate_xsize', u'viewport_selected_activate_xysize', u'viewport_selected_activate_yalign', u'viewport_selected_activate_yanchor', u'viewport_selected_activate_ycenter', u'viewport_selected_activate_yfill', u'viewport_selected_activate_ymaximum', u'viewport_selected_activate_yminimum', u'viewport_selected_activate_yoffset', u'viewport_selected_activate_ypos', u'viewport_selected_activate_ysize', u'viewport_selected_align', u'viewport_selected_alt', u'viewport_selected_anchor', u'viewport_selected_area', u'viewport_selected_clipping', u'viewport_selected_debug', u'viewport_selected_hover_align', u'viewport_selected_hover_alt', u'viewport_selected_hover_anchor', u'viewport_selected_hover_area', u'viewport_selected_hover_clipping', u'viewport_selected_hover_debug', u'viewport_selected_hover_maximum', u'viewport_selected_hover_minimum', u'viewport_selected_hover_offset', u'viewport_selected_hover_pos', u'viewport_selected_hover_xalign', u'viewport_selected_hover_xanchor', u'viewport_selected_hover_xcenter', u'viewport_selected_hover_xfill', u'viewport_selected_hover_xmaximum', u'viewport_selected_hover_xminimum', u'viewport_selected_hover_xoffset', u'viewport_selected_hover_xpos', u'viewport_selected_hover_xsize', u'viewport_selected_hover_xysize', u'viewport_selected_hover_yalign', u'viewport_selected_hover_yanchor', u'viewport_selected_hover_ycenter', u'viewport_selected_hover_yfill', u'viewport_selected_hover_ymaximum', u'viewport_selected_hover_yminimum', u'viewport_selected_hover_yoffset', u'viewport_selected_hover_ypos', u'viewport_selected_hover_ysize', u'viewport_selected_idle_align', u'viewport_selected_idle_alt', u'viewport_selected_idle_anchor', u'viewport_selected_idle_area', u'viewport_selected_idle_clipping', u'viewport_selected_idle_debug', u'viewport_selected_idle_maximum', u'viewport_selected_idle_minimum', u'viewport_selected_idle_offset', u'viewport_selected_idle_pos', u'viewport_selected_idle_xalign', u'viewport_selected_idle_xanchor', u'viewport_selected_idle_xcenter', u'viewport_selected_idle_xfill', u'viewport_selected_idle_xmaximum', u'viewport_selected_idle_xminimum', u'viewport_selected_idle_xoffset', u'viewport_selected_idle_xpos', u'viewport_selected_idle_xsize', u'viewport_selected_idle_xysize', u'viewport_selected_idle_yalign', u'viewport_selected_idle_yanchor', u'viewport_selected_idle_ycenter', u'viewport_selected_idle_yfill', u'viewport_selected_idle_ymaximum', u'viewport_selected_idle_yminimum', u'viewport_selected_idle_yoffset', u'viewport_selected_idle_ypos', u'viewport_selected_idle_ysize', u'viewport_selected_insensitive_align', u'viewport_selected_insensitive_alt', u'viewport_selected_insensitive_anchor', u'viewport_selected_insensitive_area', u'viewport_selected_insensitive_clipping', u'viewport_selected_insensitive_debug', u'viewport_selected_insensitive_maximum', u'viewport_selected_insensitive_minimum', u'viewport_selected_insensitive_offset', u'viewport_selected_insensitive_pos', u'viewport_selected_insensitive_xalign', u'viewport_selected_insensitive_xanchor', u'viewport_selected_insensitive_xcenter', u'viewport_selected_insensitive_xfill', u'viewport_selected_insensitive_xmaximum', u'viewport_selected_insensitive_xminimum', u'viewport_selected_insensitive_xoffset', u'viewport_selected_insensitive_xpos', u'viewport_selected_insensitive_xsize', u'viewport_selected_insensitive_xysize', u'viewport_selected_insensitive_yalign', u'viewport_selected_insensitive_yanchor', u'viewport_selected_insensitive_ycenter', u'viewport_selected_insensitive_yfill', u'viewport_selected_insensitive_ymaximum', u'viewport_selected_insensitive_yminimum', u'viewport_selected_insensitive_yoffset', u'viewport_selected_insensitive_ypos', u'viewport_selected_insensitive_ysize', u'viewport_selected_maximum', u'viewport_selected_minimum', u'viewport_selected_offset', u'viewport_selected_pos', u'viewport_selected_xalign', u'viewport_selected_xanchor', u'viewport_selected_xcenter', u'viewport_selected_xfill', u'viewport_selected_xmaximum', u'viewport_selected_xminimum', u'viewport_selected_xoffset', u'viewport_selected_xpos', u'viewport_selected_xsize', u'viewport_selected_xysize', u'viewport_selected_yalign', u'viewport_selected_yanchor', u'viewport_selected_ycenter', u'viewport_selected_yfill', u'viewport_selected_ymaximum', u'viewport_selected_yminimum', u'viewport_selected_yoffset', u'viewport_selected_ypos', u'viewport_selected_ysize', u'viewport_xalign', u'viewport_xanchor', u'viewport_xcenter', u'viewport_xfill', u'viewport_xmaximum', u'viewport_xminimum', u'viewport_xoffset', u'viewport_xpos', u'viewport_xsize', u'viewport_xysize', u'viewport_yalign', u'viewport_yanchor', u'viewport_ycenter', u'viewport_yfill', u'viewport_ymaximum', u'viewport_yminimum', u'viewport_yoffset', u'viewport_ypos', u'viewport_ysize', u'vscrollbar_activate_align', u'vscrollbar_activate_alt', u'vscrollbar_activate_anchor', u'vscrollbar_activate_area', u'vscrollbar_activate_bar_invert', u'vscrollbar_activate_bar_resizing', u'vscrollbar_activate_bar_vertical', u'vscrollbar_activate_base_bar', u'vscrollbar_activate_bottom_bar', u'vscrollbar_activate_bottom_gutter', u'vscrollbar_activate_clipping', u'vscrollbar_activate_debug', u'vscrollbar_activate_keyboard_focus', u'vscrollbar_activate_left_bar', u'vscrollbar_activate_left_gutter', u'vscrollbar_activate_maximum', u'vscrollbar_activate_minimum', u'vscrollbar_activate_mouse', u'vscrollbar_activate_offset', u'vscrollbar_activate_pos', u'vscrollbar_activate_right_bar', u'vscrollbar_activate_right_gutter', u'vscrollbar_activate_thumb', u'vscrollbar_activate_thumb_offset', u'vscrollbar_activate_thumb_shadow', u'vscrollbar_activate_top_bar', u'vscrollbar_activate_top_gutter', u'vscrollbar_activate_unscrollable', u'vscrollbar_activate_xalign', u'vscrollbar_activate_xanchor', u'vscrollbar_activate_xcenter', u'vscrollbar_activate_xfill', u'vscrollbar_activate_xmaximum', u'vscrollbar_activate_xminimum', u'vscrollbar_activate_xoffset', u'vscrollbar_activate_xpos', u'vscrollbar_activate_xsize', u'vscrollbar_activate_xysize', u'vscrollbar_activate_yalign', u'vscrollbar_activate_yanchor', u'vscrollbar_activate_ycenter', u'vscrollbar_activate_yfill', u'vscrollbar_activate_ymaximum', u'vscrollbar_activate_yminimum', u'vscrollbar_activate_yoffset', u'vscrollbar_activate_ypos', u'vscrollbar_activate_ysize', u'vscrollbar_align', u'vscrollbar_alt', u'vscrollbar_anchor', u'vscrollbar_area', u'vscrollbar_bar_invert', u'vscrollbar_bar_resizing', u'vscrollbar_bar_vertical', u'vscrollbar_base_bar', u'vscrollbar_bottom_bar', u'vscrollbar_bottom_gutter', u'vscrollbar_clipping', u'vscrollbar_debug', u'vscrollbar_hover_align', u'vscrollbar_hover_alt', u'vscrollbar_hover_anchor', u'vscrollbar_hover_area', u'vscrollbar_hover_bar_invert', u'vscrollbar_hover_bar_resizing', u'vscrollbar_hover_bar_vertical', u'vscrollbar_hover_base_bar', u'vscrollbar_hover_bottom_bar', u'vscrollbar_hover_bottom_gutter', u'vscrollbar_hover_clipping', u'vscrollbar_hover_debug', u'vscrollbar_hover_keyboard_focus', u'vscrollbar_hover_left_bar', u'vscrollbar_hover_left_gutter', u'vscrollbar_hover_maximum', u'vscrollbar_hover_minimum', u'vscrollbar_hover_mouse', u'vscrollbar_hover_offset', u'vscrollbar_hover_pos', u'vscrollbar_hover_right_bar', u'vscrollbar_hover_right_gutter', u'vscrollbar_hover_thumb', u'vscrollbar_hover_thumb_offset', u'vscrollbar_hover_thumb_shadow', u'vscrollbar_hover_top_bar', u'vscrollbar_hover_top_gutter', u'vscrollbar_hover_unscrollable', u'vscrollbar_hover_xalign', u'vscrollbar_hover_xanchor', u'vscrollbar_hover_xcenter', u'vscrollbar_hover_xfill', u'vscrollbar_hover_xmaximum', u'vscrollbar_hover_xminimum', u'vscrollbar_hover_xoffset', u'vscrollbar_hover_xpos', u'vscrollbar_hover_xsize', u'vscrollbar_hover_xysize', u'vscrollbar_hover_yalign', u'vscrollbar_hover_yanchor', u'vscrollbar_hover_ycenter', u'vscrollbar_hover_yfill', u'vscrollbar_hover_ymaximum', u'vscrollbar_hover_yminimum', u'vscrollbar_hover_yoffset', u'vscrollbar_hover_ypos', u'vscrollbar_hover_ysize', u'vscrollbar_idle_align', u'vscrollbar_idle_alt', u'vscrollbar_idle_anchor', u'vscrollbar_idle_area', u'vscrollbar_idle_bar_invert', u'vscrollbar_idle_bar_resizing', u'vscrollbar_idle_bar_vertical', u'vscrollbar_idle_base_bar', u'vscrollbar_idle_bottom_bar', u'vscrollbar_idle_bottom_gutter', u'vscrollbar_idle_clipping', u'vscrollbar_idle_debug', u'vscrollbar_idle_keyboard_focus', u'vscrollbar_idle_left_bar', u'vscrollbar_idle_left_gutter', u'vscrollbar_idle_maximum', u'vscrollbar_idle_minimum', u'vscrollbar_idle_mouse', u'vscrollbar_idle_offset', u'vscrollbar_idle_pos', u'vscrollbar_idle_right_bar', u'vscrollbar_idle_right_gutter', u'vscrollbar_idle_thumb', u'vscrollbar_idle_thumb_offset', u'vscrollbar_idle_thumb_shadow', u'vscrollbar_idle_top_bar', u'vscrollbar_idle_top_gutter', u'vscrollbar_idle_unscrollable', u'vscrollbar_idle_xalign', u'vscrollbar_idle_xanchor', u'vscrollbar_idle_xcenter', u'vscrollbar_idle_xfill', u'vscrollbar_idle_xmaximum', u'vscrollbar_idle_xminimum', u'vscrollbar_idle_xoffset', u'vscrollbar_idle_xpos', u'vscrollbar_idle_xsize', u'vscrollbar_idle_xysize', u'vscrollbar_idle_yalign', u'vscrollbar_idle_yanchor', u'vscrollbar_idle_ycenter', u'vscrollbar_idle_yfill', u'vscrollbar_idle_ymaximum', u'vscrollbar_idle_yminimum', u'vscrollbar_idle_yoffset', u'vscrollbar_idle_ypos', u'vscrollbar_idle_ysize', u'vscrollbar_insensitive_align', u'vscrollbar_insensitive_alt', u'vscrollbar_insensitive_anchor', u'vscrollbar_insensitive_area', u'vscrollbar_insensitive_bar_invert', u'vscrollbar_insensitive_bar_resizing', u'vscrollbar_insensitive_bar_vertical', u'vscrollbar_insensitive_base_bar', u'vscrollbar_insensitive_bottom_bar', u'vscrollbar_insensitive_bottom_gutter', u'vscrollbar_insensitive_clipping', u'vscrollbar_insensitive_debug', u'vscrollbar_insensitive_keyboard_focus', u'vscrollbar_insensitive_left_bar', u'vscrollbar_insensitive_left_gutter', u'vscrollbar_insensitive_maximum', u'vscrollbar_insensitive_minimum', u'vscrollbar_insensitive_mouse', u'vscrollbar_insensitive_offset', u'vscrollbar_insensitive_pos', u'vscrollbar_insensitive_right_bar', u'vscrollbar_insensitive_right_gutter', u'vscrollbar_insensitive_thumb', u'vscrollbar_insensitive_thumb_offset', u'vscrollbar_insensitive_thumb_shadow', u'vscrollbar_insensitive_top_bar', u'vscrollbar_insensitive_top_gutter', u'vscrollbar_insensitive_unscrollable', u'vscrollbar_insensitive_xalign', u'vscrollbar_insensitive_xanchor', u'vscrollbar_insensitive_xcenter', u'vscrollbar_insensitive_xfill', u'vscrollbar_insensitive_xmaximum', u'vscrollbar_insensitive_xminimum', u'vscrollbar_insensitive_xoffset', u'vscrollbar_insensitive_xpos', u'vscrollbar_insensitive_xsize', u'vscrollbar_insensitive_xysize', u'vscrollbar_insensitive_yalign', u'vscrollbar_insensitive_yanchor', u'vscrollbar_insensitive_ycenter', u'vscrollbar_insensitive_yfill', u'vscrollbar_insensitive_ymaximum', u'vscrollbar_insensitive_yminimum', u'vscrollbar_insensitive_yoffset', u'vscrollbar_insensitive_ypos', u'vscrollbar_insensitive_ysize', u'vscrollbar_keyboard_focus', u'vscrollbar_left_bar', u'vscrollbar_left_gutter', u'vscrollbar_maximum', u'vscrollbar_minimum', u'vscrollbar_mouse', u'vscrollbar_offset', u'vscrollbar_pos', u'vscrollbar_right_bar', u'vscrollbar_right_gutter', u'vscrollbar_selected_activate_align', u'vscrollbar_selected_activate_alt', u'vscrollbar_selected_activate_anchor', u'vscrollbar_selected_activate_area', u'vscrollbar_selected_activate_bar_invert', u'vscrollbar_selected_activate_bar_resizing', u'vscrollbar_selected_activate_bar_vertical', u'vscrollbar_selected_activate_base_bar', u'vscrollbar_selected_activate_bottom_bar', u'vscrollbar_selected_activate_bottom_gutter', u'vscrollbar_selected_activate_clipping', u'vscrollbar_selected_activate_debug', u'vscrollbar_selected_activate_keyboard_focus', u'vscrollbar_selected_activate_left_bar', u'vscrollbar_selected_activate_left_gutter', u'vscrollbar_selected_activate_maximum', u'vscrollbar_selected_activate_minimum', u'vscrollbar_selected_activate_mouse', u'vscrollbar_selected_activate_offset', u'vscrollbar_selected_activate_pos', u'vscrollbar_selected_activate_right_bar', u'vscrollbar_selected_activate_right_gutter', u'vscrollbar_selected_activate_thumb', u'vscrollbar_selected_activate_thumb_offset', u'vscrollbar_selected_activate_thumb_shadow', u'vscrollbar_selected_activate_top_bar', u'vscrollbar_selected_activate_top_gutter', u'vscrollbar_selected_activate_unscrollable', u'vscrollbar_selected_activate_xalign', u'vscrollbar_selected_activate_xanchor', u'vscrollbar_selected_activate_xcenter', u'vscrollbar_selected_activate_xfill', u'vscrollbar_selected_activate_xmaximum', u'vscrollbar_selected_activate_xminimum', u'vscrollbar_selected_activate_xoffset', u'vscrollbar_selected_activate_xpos', u'vscrollbar_selected_activate_xsize', u'vscrollbar_selected_activate_xysize', u'vscrollbar_selected_activate_yalign', u'vscrollbar_selected_activate_yanchor', u'vscrollbar_selected_activate_ycenter', u'vscrollbar_selected_activate_yfill', u'vscrollbar_selected_activate_ymaximum', u'vscrollbar_selected_activate_yminimum', u'vscrollbar_selected_activate_yoffset', u'vscrollbar_selected_activate_ypos', u'vscrollbar_selected_activate_ysize', u'vscrollbar_selected_align', u'vscrollbar_selected_alt', u'vscrollbar_selected_anchor', u'vscrollbar_selected_area', u'vscrollbar_selected_bar_invert', u'vscrollbar_selected_bar_resizing', u'vscrollbar_selected_bar_vertical', u'vscrollbar_selected_base_bar', u'vscrollbar_selected_bottom_bar', u'vscrollbar_selected_bottom_gutter', u'vscrollbar_selected_clipping', u'vscrollbar_selected_debug', u'vscrollbar_selected_hover_align', u'vscrollbar_selected_hover_alt', u'vscrollbar_selected_hover_anchor', u'vscrollbar_selected_hover_area', u'vscrollbar_selected_hover_bar_invert', u'vscrollbar_selected_hover_bar_resizing', u'vscrollbar_selected_hover_bar_vertical', u'vscrollbar_selected_hover_base_bar', u'vscrollbar_selected_hover_bottom_bar', u'vscrollbar_selected_hover_bottom_gutter', u'vscrollbar_selected_hover_clipping', u'vscrollbar_selected_hover_debug', u'vscrollbar_selected_hover_keyboard_focus', u'vscrollbar_selected_hover_left_bar', u'vscrollbar_selected_hover_left_gutter', u'vscrollbar_selected_hover_maximum', u'vscrollbar_selected_hover_minimum', u'vscrollbar_selected_hover_mouse', u'vscrollbar_selected_hover_offset', u'vscrollbar_selected_hover_pos', u'vscrollbar_selected_hover_right_bar', u'vscrollbar_selected_hover_right_gutter', u'vscrollbar_selected_hover_thumb', u'vscrollbar_selected_hover_thumb_offset', u'vscrollbar_selected_hover_thumb_shadow', u'vscrollbar_selected_hover_top_bar', u'vscrollbar_selected_hover_top_gutter', u'vscrollbar_selected_hover_unscrollable', u'vscrollbar_selected_hover_xalign', u'vscrollbar_selected_hover_xanchor', u'vscrollbar_selected_hover_xcenter', u'vscrollbar_selected_hover_xfill', u'vscrollbar_selected_hover_xmaximum', u'vscrollbar_selected_hover_xminimum', u'vscrollbar_selected_hover_xoffset', u'vscrollbar_selected_hover_xpos', u'vscrollbar_selected_hover_xsize', u'vscrollbar_selected_hover_xysize', u'vscrollbar_selected_hover_yalign', u'vscrollbar_selected_hover_yanchor', u'vscrollbar_selected_hover_ycenter', u'vscrollbar_selected_hover_yfill', u'vscrollbar_selected_hover_ymaximum', u'vscrollbar_selected_hover_yminimum', u'vscrollbar_selected_hover_yoffset', u'vscrollbar_selected_hover_ypos', u'vscrollbar_selected_hover_ysize', u'vscrollbar_selected_idle_align', u'vscrollbar_selected_idle_alt', u'vscrollbar_selected_idle_anchor', u'vscrollbar_selected_idle_area', u'vscrollbar_selected_idle_bar_invert', u'vscrollbar_selected_idle_bar_resizing', u'vscrollbar_selected_idle_bar_vertical', u'vscrollbar_selected_idle_base_bar', u'vscrollbar_selected_idle_bottom_bar', u'vscrollbar_selected_idle_bottom_gutter', u'vscrollbar_selected_idle_clipping', u'vscrollbar_selected_idle_debug', u'vscrollbar_selected_idle_keyboard_focus', u'vscrollbar_selected_idle_left_bar', u'vscrollbar_selected_idle_left_gutter', u'vscrollbar_selected_idle_maximum', u'vscrollbar_selected_idle_minimum', u'vscrollbar_selected_idle_mouse', u'vscrollbar_selected_idle_offset', u'vscrollbar_selected_idle_pos', u'vscrollbar_selected_idle_right_bar', u'vscrollbar_selected_idle_right_gutter', u'vscrollbar_selected_idle_thumb', u'vscrollbar_selected_idle_thumb_offset', u'vscrollbar_selected_idle_thumb_shadow', u'vscrollbar_selected_idle_top_bar', u'vscrollbar_selected_idle_top_gutter', u'vscrollbar_selected_idle_unscrollable', u'vscrollbar_selected_idle_xalign', u'vscrollbar_selected_idle_xanchor', u'vscrollbar_selected_idle_xcenter', u'vscrollbar_selected_idle_xfill', u'vscrollbar_selected_idle_xmaximum', u'vscrollbar_selected_idle_xminimum', u'vscrollbar_selected_idle_xoffset', u'vscrollbar_selected_idle_xpos', u'vscrollbar_selected_idle_xsize', u'vscrollbar_selected_idle_xysize', u'vscrollbar_selected_idle_yalign', u'vscrollbar_selected_idle_yanchor', u'vscrollbar_selected_idle_ycenter', u'vscrollbar_selected_idle_yfill', u'vscrollbar_selected_idle_ymaximum', u'vscrollbar_selected_idle_yminimum', u'vscrollbar_selected_idle_yoffset', u'vscrollbar_selected_idle_ypos', u'vscrollbar_selected_idle_ysize', u'vscrollbar_selected_insensitive_align', u'vscrollbar_selected_insensitive_alt', u'vscrollbar_selected_insensitive_anchor', u'vscrollbar_selected_insensitive_area', u'vscrollbar_selected_insensitive_bar_invert', u'vscrollbar_selected_insensitive_bar_resizing', u'vscrollbar_selected_insensitive_bar_vertical', u'vscrollbar_selected_insensitive_base_bar', u'vscrollbar_selected_insensitive_bottom_bar', u'vscrollbar_selected_insensitive_bottom_gutter', u'vscrollbar_selected_insensitive_clipping', u'vscrollbar_selected_insensitive_debug', u'vscrollbar_selected_insensitive_keyboard_focus', u'vscrollbar_selected_insensitive_left_bar', u'vscrollbar_selected_insensitive_left_gutter', u'vscrollbar_selected_insensitive_maximum', u'vscrollbar_selected_insensitive_minimum', u'vscrollbar_selected_insensitive_mouse', u'vscrollbar_selected_insensitive_offset', u'vscrollbar_selected_insensitive_pos', u'vscrollbar_selected_insensitive_right_bar', u'vscrollbar_selected_insensitive_right_gutter', u'vscrollbar_selected_insensitive_thumb', u'vscrollbar_selected_insensitive_thumb_offset', u'vscrollbar_selected_insensitive_thumb_shadow', u'vscrollbar_selected_insensitive_top_bar', u'vscrollbar_selected_insensitive_top_gutter', u'vscrollbar_selected_insensitive_unscrollable', u'vscrollbar_selected_insensitive_xalign', u'vscrollbar_selected_insensitive_xanchor', u'vscrollbar_selected_insensitive_xcenter', u'vscrollbar_selected_insensitive_xfill', u'vscrollbar_selected_insensitive_xmaximum', u'vscrollbar_selected_insensitive_xminimum', u'vscrollbar_selected_insensitive_xoffset', u'vscrollbar_selected_insensitive_xpos', u'vscrollbar_selected_insensitive_xsize', u'vscrollbar_selected_insensitive_xysize', u'vscrollbar_selected_insensitive_yalign', u'vscrollbar_selected_insensitive_yanchor', u'vscrollbar_selected_insensitive_ycenter', u'vscrollbar_selected_insensitive_yfill', u'vscrollbar_selected_insensitive_ymaximum', u'vscrollbar_selected_insensitive_yminimum', u'vscrollbar_selected_insensitive_yoffset', u'vscrollbar_selected_insensitive_ypos', u'vscrollbar_selected_insensitive_ysize', u'vscrollbar_selected_keyboard_focus', u'vscrollbar_selected_left_bar', u'vscrollbar_selected_left_gutter', u'vscrollbar_selected_maximum', u'vscrollbar_selected_minimum', u'vscrollbar_selected_mouse', u'vscrollbar_selected_offset', u'vscrollbar_selected_pos', u'vscrollbar_selected_right_bar', u'vscrollbar_selected_right_gutter', u'vscrollbar_selected_thumb', u'vscrollbar_selected_thumb_offset', u'vscrollbar_selected_thumb_shadow', u'vscrollbar_selected_top_bar', u'vscrollbar_selected_top_gutter', u'vscrollbar_selected_unscrollable', u'vscrollbar_selected_xalign', u'vscrollbar_selected_xanchor', u'vscrollbar_selected_xcenter', u'vscrollbar_selected_xfill', u'vscrollbar_selected_xmaximum', u'vscrollbar_selected_xminimum', u'vscrollbar_selected_xoffset', u'vscrollbar_selected_xpos', u'vscrollbar_selected_xsize', u'vscrollbar_selected_xysize', u'vscrollbar_selected_yalign', u'vscrollbar_selected_yanchor', u'vscrollbar_selected_ycenter', u'vscrollbar_selected_yfill', u'vscrollbar_selected_ymaximum', u'vscrollbar_selected_yminimum', u'vscrollbar_selected_yoffset', u'vscrollbar_selected_ypos', u'vscrollbar_selected_ysize', u'vscrollbar_thumb', u'vscrollbar_thumb_offset', u'vscrollbar_thumb_shadow', u'vscrollbar_top_bar', u'vscrollbar_top_gutter', u'vscrollbar_unscrollable', u'vscrollbar_xalign', u'vscrollbar_xanchor', u'vscrollbar_xcenter', u'vscrollbar_xfill', u'vscrollbar_xmaximum', u'vscrollbar_xminimum', u'vscrollbar_xoffset', u'vscrollbar_xpos', u'vscrollbar_xsize', u'vscrollbar_xysize', u'vscrollbar_yalign', u'vscrollbar_yanchor', u'vscrollbar_ycenter', u'vscrollbar_yfill', u'vscrollbar_ymaximum', u'vscrollbar_yminimum', u'vscrollbar_yoffset', u'vscrollbar_ypos', u'vscrollbar_ysize', u'width', u'xadjustment', u'xalign', u'xanchor', u'xanchoraround', u'xaround', u'xcenter', u'xfill', u'xfit', u'xinitial', u'xmargin', u'xmaximum', u'xminimum', u'xoffset', u'xpadding', u'xpan', u'xpos', u'xsize', u'xspacing', u'xtile', u'xysize', u'xzoom', u'yadjustment', u'yalign', u'yanchor', u'yanchoraround', u'yaround', u'ycenter', u'yfill', u'yfit', u'yinitial', u'ymargin', u'ymaximum', u'yminimum', u'yoffset', u'ypadding', u'ypan', u'ypos', u'ysize', u'yspacing', u'ytile', u'yzoom', u'zoom']
property_regexes = [u'(?:action|activate_sound|activated|adjustment|allow|allow_underfull|alpha|alternate|alternate_keysym|arguments|arrowkeys|at|auto|cache|caption|changed|child_size|clicked|cols|copypaste|default|default_focus|drag_handle|drag_joined|drag_name|drag_offscreen|drag_raise|draggable|dragged|drop_allowable|droppable|dropped|edgescroll|exclude|focus|focus_mask|ground|height|hover|hovered|icon_tooltip|id|idle|image_style|insensitive|keysym|layer|length|min_overlap|modal|mouse_drop|mousewheel|pagekeys|pixel_width|predict|prefix|properties|range|repeat|rows|scope|scrollbars|selected|selected_hover|selected_idle|selected_insensitive|sensitive|slow|slow_done|spacing|style|style_group|style_prefix|style_suffix|substitute|suffix|text_style|text_tooltip|tooltip|transpose|unhovered|value|variant|width|xadjustment|xinitial|yadjustment|yinitial|zorder)', u'(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:additive|adjust_spacing|align|alignaround|alpha|alt|anchor|angle|antialias|area|around|background|bar_invert|bar_resizing|bar_vertical|base_bar|black_color|blur|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_layout|box_reverse|box_wrap|box_wrap_spacing|caret|child|clipping|color|corner1|corner2|crop|crop_relative|debug|delay|drop_shadow|drop_shadow_color|events|first_indent|first_spacing|fit|fit_first|focus_mask|font|foreground|gl_blend_func|gl_color_mask|gl_pixel_perfect|hinting|hyperlink_functions|italic|justify|kerning|key_events|keyboard_focus|language|layout|left_bar|left_gutter|left_margin|left_padding|line_leading|line_spacing|margin|matrixcolor|maximum|maxsize|mesh|mesh_pad|min_width|minimum|minwidth|mipmap|modal|mouse|nearest|newline_indent|offset|order_reverse|outline_scaling|outlines|padding|pos|radius|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|shader|size|size_group|slow_abortable|slow_cps|slow_cps_multiplier|sound|spacing|strikethrough|subpixel|text_align|text_y_fudge|thumb|thumb_offset|thumb_shadow|top_bar|top_gutter|top_margin|top_padding|transform_anchor|underline|unscrollable|vertical|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xfit|xmargin|xmaximum|xminimum|xoffset|xpadding|xpan|xpos|xsize|xspacing|xtile|xysize|xzoom|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yfit|ymargin|ymaximum|yminimum|yoffset|ypadding|ypan|ypos|ysize|yspacing|ytile|yzoom|zoom)', u'(?:vscrollbar_|scrollbar_)(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|bar_invert|bar_resizing|bar_vertical|base_bar|bottom_bar|bottom_gutter|clipping|debug|keyboard_focus|left_bar|left_gutter|maximum|minimum|mouse|offset|pos|right_bar|right_gutter|thumb|thumb_offset|thumb_shadow|top_bar|top_gutter|unscrollable|xalign|xanchor|xcenter|xfill|xmaximum|xminimum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yminimum|yoffset|ypos|ysize)', u'side_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|clipping|debug|maximum|minimum|offset|pos|spacing|xalign|xanchor|xcenter|xfill|xmaximum|xminimum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yminimum|yoffset|ypos|ysize)', u'text_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:adjust_spacing|align|alt|anchor|antialias|area|black_color|bold|clipping|color|debug|drop_shadow|drop_shadow_color|first_indent|font|hinting|hyperlink_functions|italic|justify|kerning|language|layout|line_leading|line_spacing|maximum|min_width|minimum|minwidth|mipmap|newline_indent|offset|outline_scaling|outlines|pos|rest_indent|ruby_style|size|slow_abortable|slow_cps|slow_cps_multiplier|strikethrough|text_align|text_y_fudge|underline|vertical|xalign|xanchor|xcenter|xfill|xmaximum|xminimum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yminimum|yoffset|ypos|ysize)', u'viewport_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|clipping|debug|maximum|minimum|offset|pos|xalign|xanchor|xcenter|xfill|xmaximum|xminimum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yminimum|yoffset|ypos|ysize)']
KEYWORDS = set(keywords)
PROPERTIES = set(properties)
regex = r"(?P<word>\b(\$|[_a-zA-Z0-9]+)\b)" + \
r"|(?P<string>\"([^\"]|\\.)*(?<!\\)\")" + \
r"|(?P<comment>#.*)"
regex = re.compile(regex)
def quote(s):
s = s.replace("{", "{{")
s = s.replace("[", "[[")
return s
def translate(m):
if m.group("string"):
s = eval(m.group(0))
if __(s) != s:
s = __(s)
elif _preferences.language:
dm = dialogue_map[_preferences.language]
if s in dm:
s = dm[s]
quote = m.group(0)[0]
s = s.replace("\\", "\\\\")
s = s.replace(quote, "\\" + quote)
s = s.replace("\n", "\\n")
s = quote + s + quote
return s
return m.group(0)
def colorize(m):
if m.group("string"):
return "{color=#060}" + m.group(0) + "{/color}"
word = m.group("word")
if word:
if word in KEYWORDS:
return "{color=#840}" + m.group(0) + "{/color}"
elif word in PROPERTIES:
return "{color=#048}" + m.group(0) + "{/color}"
else:
return m.group(0)
if m.group("comment"):
return "{color=#600}" + m.group(0) + "{/color}"
return m.group(0)
def clean_example(lines):
rv = list(lines)
while rv and not rv[0]:
rv.pop(0)
while rv and not rv[-1]:
rv.pop(-1)
return rv
def example_code(blocks, raw=False, showtrans=False):
if not isinstance(blocks, list):
blocks = [ blocks ]
# Collect the examples we use.
lines1 = [ ]
for i in blocks:
if i not in examples:
lines1.append('Example {} not found.'.format(i))
else:
lines1.extend(clean_example(examples[i]))
lines1.append('')
# Strip off doubled blank lines.
last_blank = False
lines = [ ]
for i in lines1:
if not i and last_blank:
continue
last_blank = not i
if not raw:
i = regex.sub(translate, i)
if not (persistent.show_translation_marker or showtrans):
i = re.sub(r'__?\((".*?")\)', r'\1', i)
i = re.sub(r"__?\(('.*?')\)", r'\1', i)
i = i.replace("!t]", "]")
i = quote(i)
i = regex.sub(colorize, i)
lines.append(i)
while not lines[-1]:
lines.pop()
# Join them into a single string.
return "\n".join(lines) + "\n "
class CopyCode(Action):
def __init__(self, s):
self.s = s
def __call__(self):
import pygame.scrap
pygame.scrap.put(pygame.SCRAP_TEXT, self.s.encode("utf-8"))
renpy.notify(_("Copied the example to the clipboard."))
example_transition = dissolve
import os
SHOW_EXAMPLES = ("RENPY_LESS_EXAMPLES" not in os.environ)
transform example_transform(height, ypos):
ypos ypos
yanchor 1.0
xalign 0.5
on replace:
crop (0, 0, 1280, height)
on show:
crop (0, 0, 1280, 0)
linear .5 crop (0, 0, 1280, height)
on hide:
linear .5 crop (0, 0, 1280, 0)
screen example(blocks, small=False, bottom=False, showtrans=False):
zorder 10
default raw_code = example_code(blocks, raw=True, showtrans=showtrans)
default code = example_code(blocks, showtrans=showtrans)
# if small:
# $ height = 80
# else:
# $ height = 160
# if bottom:
# $ ypos = 720
# else:
# $ ypos = 540
$ height = 200
$ ypos = 850
if SHOW_EXAMPLES:
frame:
style "empty"
background "#fffc"
foreground Solid("#aaac", xsize=1, xpos=178)
xfill True
yfill True
ymaximum height
at example_transform(height, ypos)
viewport id "vp":
side_xmaximum 1098
side_xpos 180
child_size (2000, 2000)
ymaximum height
draggable True
mousewheel True
scrollbars "both"
vscrollbar_xsize 5
vscrollbar_unscrollable "hide"
scrollbar_ysize 5
scrollbar_unscrollable "hide"
text code:
alt ""
size gui.notify_text_size
color "#000"
font "fonts/roboto-mono/RobotoMono-Regular.ttf"
textbutton _("copy"):
style "empty"
text_style "quick_button_text"
text_text_align 0.5
text_minwidth 180
text_size gui.notify_text_size
action CopyCode(raw_code)
init python hide:
import os.path
import re
# TODO: if we need to bring back code snippets
# # A list of files we will be scanning.
# files = [ ]
# script_dir = os.path.join(config.gamedir, 'scripts')
# for i in os.listdir(script_dir):
# if i.endswith(".rpy"):
# files.append(os.path.join(script_dir, i))
# files = [os.path.join(config.gamedir, 'quiz_code_snippets.txt')]
files = []
for fn in files:
f = file(fn, "r")
open_examples = set()
for l in f:
l = l.decode("utf-8")
l = l.rstrip()
m = re.match("\s*#begin (\w+)", l)
if m:
example = m.group(1)
if example in examples:
raise Exception("Example %r is defined in two places.", example)
open_examples.add(example)
examples[example] = [ ]
continue
m = re.match("\s*#end (\w+)", l)
if m:
example = m.group(1)
if example not in open_examples:
raise Exception("Example %r is not open.", example)
open_examples.remove(example)
continue
for i in open_examples:
examples[i].append(l)
if open_examples:
raise Exception("Examples %r remain open at the end of %r" % (open_examples, fn))
f.close()
init python:
def lint_stats_callback():
print("The game contains {} examples.".format(len(examples)))
config.lint_stats_callbacks.append(lint_stats_callback)
import base64
image _finaleimage = im.Data(base64.b64decode("""
iVBORw0KGgoAAAANSUhEUgAAAPAAAAEvCAYAAAB7SkzcAAAgAElEQVR42u2debydVXnvv+85mVYSAisECAEE3jCHeQdkRnAziGit9MDFqfZWT/SqFdtqUtteqa2VY9WiXms5t9faax3K6RUHqgzbAZkEzmYSIlNeEiCEhCRPIIG8mc57/1jrPdnn5Ix7fvd+fp/PzklyztnDetf3fZ611jMEqDKrpL8/EGEaluMt/KHAW4E3AJuBHwCftrA+WLx4QEerNRXoEGQW3k4P6/sFPggcOMKPPWXh/cADweLFO3XUFGBVc8DbAZwisBS4AugY7UeBRy18RIR7516klrjV1KFDkEmdLvAFoGucaxgAxwostZajdNgUYFXjre/pAj3AhRP8lWnA+QIf3Njfv5+OoAKsahy8xwh8Hjhvkr86B3gHcNFGt3ZWKcCqOsO7v8BflQFvqjcAV1k4VkdTAVbVURtv758i8HHgcmBKmU8zBXiTwEVJf/9MHVUFWFUvWd4NvNu7wpVoDnAVaoUVYFXdXOejgPd5F7gax36nARcm/f2zdXQVYFUtXef+/jkCHwLOpHpn9h0CVwscqiOsAKtqB+8UC28Bfg8wVX76k4FLk/5+oyOtAKtqo4UCVwKH1+C5A+CPgAU6zAqwqvrr3tnAZcDF1C7c9ThvhTWcVgFWVc11vr0/EDgSuBqo5UZTIPABEayOugKsqpKsHTzqOaUOL3cilkt11BVgVTWsb39/IO6M9r2UH7Ax2ev/CR15BVhVDesL0y38D0bO7a2VTt7Y369WWAFWVUEn+Z3nem4sTbGuIIBKAVZVqL8Cptf7RQXetPH2fs0XzqCm6BBUR2EYdgBT/Zh2+kd6g5w6yq+9AdgHoCufPygSuWwEt3rwzxG+US3NtJZ3b+zvv3bu4sWJXs3sSM8Ay4N1JjATmOEt5kxgHnA8EAIHAfvhjoE6gBNHearO0mtg7VAqrbXY9Kt/hGGIxWItWCykXyuDOgEesHBZsHjxBr3CaoFbQtbawFprPBr7ems5G3dOewRwMDDf/31exa6syJj/Hg536IEObUgYeshxXycJc+C9gUuA7+qVVwucZes6GzjAT+iDvTU9AjgKOMx/b1oT3mx2A51CbScF8zbgPyx8OFi8+HWdCQpwVoCdhju2SSE9wsN7JC4OeTYZ3OzLlYCcy7mvEwD5QQvdweLFRUVDAW5maKd4a7oYl5lzHHAIuzeVWmZ3PrXMuTBHLpcjF44J8gbgOoQvawlaBbgZwZ2HSxI4w4N7IG6zaWarj0W6CZYLQ7pyecKRQR4AbrTwsWDx4vWKR/NrwptYyYoVU3D5qad56zVthLv3q8ATwHLg6WDhwk1NMHE7rLUXAu8EzsdtRs2h+jm2TS0RGXwUo4h8mKOrKz9857sDWCSQA25VPFrEAicrVpwHXA8s9OB2jvC7A7jjiB3ATmAr8BzwMHAncA/wfLBwYV1afHhr+w7gj4FjvJWdppd8qEVe2tVFLpcr/dY2C58T4fNzL9J2LJkHOFmx8VCQB4G5Fb7WAPAkcDvYPpDfAlvADgQL5yZVgrYTl6T+Rx7cN+glHl/d+S66u7pKXervW1gWLF68SkcnwwAnK1YEwJeAj1H9M+NXgALwM+A3wBrgNWB7sHBhMgloA2CWd+vfD/whVTiTbTflczm6u7oJ3bHTk8A1cxcvvkVHJtsA7wvc5V3QWikB1vvXuQV4EFgLvBwsXBiPA+9cXOTTO4AlCm5lyoUh3V1d5MLcLix/CXx17uLFW3VkMgvwxjNB/h/1S29LgFXAA8CvgEeBZ4GXgoULd5WAu5e/qfw+rnLFYXopqw7xj6zlU8HixU/pqGTXAncB/9Qgy5bgdrTvAe4DflssRk9fuWzJAtxR0BXASejGVA0gztHdlX8xDMP3W2sLmuDQvBpvXTuLxgU1BLjqFMcAXSLyWKFYWG6tPUREzqTyLgWqUVSMivT2MT+XC08KbXgvsEVHJZsAN4WXEEXRnL5C4axCsXimD/DXGO7aQ9wRSfRO4NYwDB+LokitsAI8efUVivQV+oiiCBFRcOsoETkVuBZXN+s5HREFeBKTB3r7eukrFMZMq1PVVNOBtwImDMN3R1GkF0IBHl9RFLGsp4fIh/6pGg7xxcBN1to3i8guHZLm0XgbVHXPSCkUiyzp6aHoXGa9Qs2hTuB8a+2/hmE4Q4cjMxbYPguyrV4uc1+hj96+PgW3eXUlsDkMw2VRFG3W4Wh6CyzbcOextXWZRejt61V4s+FO/zfgI2EY6jFeBlzolbisohqud4Xevj7drMqO5uLCVq/wxf1UTQzwRkBqZYUdvL0UFN6s6VDgT4ALwjCcqsPRpAD73N1nawFw6jYXikWFN3sKcCV0PwacaK3V8/kmtcDgEgoGqg1vT28vhaJa3gxrCnAu8GFrreZdNy/A9plqAhyJ0NPT491mvQAZ10zgD4B3+gwxVfMBLE9XC2ABb3m1amkLaW/gz4E3+oooqiZzoR8D4mq8WE9PD0WFtxW1APgCrkuFqpkADhYu3AbcX+kL9fb16YZVa+sU4JNqhZvPAgP2nkpepFAs6jlve+hjwGW+TpmqeQDmN+W+QDGK6O1z6YCqtphP1+PqlKnqoAlmI8n9uKoMsyfz5JEIfYWCwltllbYbHdJdwTs4ItLIMQ+BPwvD8FNRFGklj2YAOFi4UJIVK5YDp0/0iUWgWChqlFWVwc3lcrs7EIbhHj2FU3jTR7Ex+w5dwB3AjdQhll4BnpjungzAkUT0FTQ5oZrg5vP5QYDHUtppIQW4UChQKBYGLXQ93jLwgTAM746i6AW9gs0B8G240ioTsL5CX1+BorrOlfujYUhXVxf5fH4PcEdylUutcmqlc7kcYV9IX/2yvTpx/ZXeA1ynV7E5AH4Q101h7/F+sFCM3B1fVTG83d3d5PNDm5AVCgUKhcLIZ+rWlYXN5/Pk8/khz2Otpa9+G4r7AG8Pw/C2KIoe1KtZG014uz9ZsWIWrnPCOeOtfa9ctkQ3rqoEb1dX1+5lSRSxrGcZUTEatMCjudypK7106dJBy+08oz56e3vrZYlfA74GfCaKou16VWvj6kxI137844Ff21w01s99++Y+bi6o9a10zfu2t72N7u7uwf/r6+vjmmuuIVoeEccxcTx6cFz6/SiKuPvuu1mwYAFhGGKMIZfLDbreYz1HlTQNmAH8TkS0UVoNNJmi7Ttw58G7xlr79vb16ahWqFwutwe8PT09ZVnNKIro6emhr+S6dHV1jbsRVkWdAFw4XvJ/kiRBkiRTkySZlSTJ3kmSHJwkyflJknwiSZKvJUny/SRJ3pskidbkKmcNHCxcmCQrVjwPPM0ozc56tCROVaxvV1fXoBtcKBQqdnmjKKKvr2/3hpbfGIvqUzhwOvAm4GZcz6sh0OJiCyyufc+JwKm4XOMce3bfCHHtdh7QmTJ5CwwumOM3I08SoaCuc1XWvunmUwpeNfYTisXikF3o4RtjtXYqgDPDMDTe0s5NkuRE4C3ANcD/Bn4C/CsuHPOCYfAO4DZQX6FxrX6ybYG9fdgCcg/wvuEDqWe+1bG+KbwpdNXM3kqfL4U3n8/T29tbj482y1p7SXd39wpvkc8AzgZOxuUUDzHM3lBsAF7yj/W4rpUPAY/oTCkbYNnmXZgXgYOHWF9NE6yKUoBFpOpRVGlgRy6XqxvA1trUqzg7n88fgEs9nM/QE5Adfk49CUTAM8ALuHYuzwHrgiDYobOjQoD9Ong10F8KsJbGqe5kT2GrxVFcelNIo7ustTW5dqXRYz6gZG9rbW7Yj630S7KHgeXeyq4GNgVBoB0gqm+BAXjZA/x2oEMEzfOt4qQf9HVq1FZm+PPWAmBrLUuXLh0t7PMVXFTfHd4dfsFb2Nd1BtQH4C3ejRZg32Kk8FZLpZO9VhlFIwFcq6VA6XOnG3LA9V1dXf8ahuG6IAi26lWvM8DOjd74FEgRuLgZrG+YC8mFuREBKKp30BAVCoXBo6peX4EUARE5qre3d2MURQpvgywwIM8Dj0UiF0VRFDQCkPQss/TMdKx1X29vb9Mfcw23jLVan9bjcyxbtoxly5aN9O3LcNFZ2lupUQAHCxduSlaseDwqRhtFZN96rhGttXR1d9GV75qw+5fL5bjhhhsGQW5Wq1zqMtcK4OE5xA2IWd8bF9ihIXuNs8AAPFEoFp4SkTPrBW8aYpjmu5au6VKXOd1hLX2krnUul+O6666jr6+vnlk5k16flr7var/HUoCjxrVwzSvADQa4r1BYXYyiNfWYAOmZZXd395DMmiiKBlPrRproIyXCl4Yq9vb2Nh3E6doxDXusprdQWtEjfa0G6YwkSQxghv3/NuD1IAi0iketAV7W0zOLPaNoakDv7uD+0jPSvr6+UcEttWgp4Pl8fjAxvjTiqZkgFlzwRppCmMJWrWisXC43xHupF8CpNzFYxwuOxhWHmDvsR18FJEmSV4BNwDpcgMfzCnX1Xeh5QM3Xv6ENh8Bb7jo2TYDv7u4eTG7P5/ODN4OmWBPL7nDHFLaurq6qHCmlMdal41jrG5cNLfmc835saAntIMTTgc+N8muJ3+DaAKzBRWI9niTJM7j4g+eDINim6GYE4NI1b3okUa5bKSKDoYMpxOlRR7PsUKdJ96nFqsZNxlpLvis/JEyz5jHQvjLI0qVLJ3vWHOASGeYAhwNnedd6DS7U8tEkSX4KPBAEwWsKcBMDnK5fSyd2pWvCUkBSi1TttWalAKeF6NK1eupSlwOxtXawskcK0kjjGIYhobWQwiYQRUWicsdEdr9+6WcrCRFd1dXVdeOw3+rE7VIf4R8H4pJmpgOH4foSn4M7irorSZJvAg8GQbBTAZ7cpOjE1TyaVcs3VzrphqfDVQpJoVAYEtQ/ao2pBii1uOl7S8vr5HI5lvUsQ6KJjcFINbUKhcIeaYVd+TyhDWFYmeliMaKnr/w9gmKxyLJly7DWDont9q+9uaur6+9HsL6dfnPLeAv8Rtyx09m4Ch+zgEW43OB5wEdxGUsK8CQAng0cUKEFH9dypJYnBa5aFjK1cmlqXVq9sYHHKiNO/t7e3iFJB/l8nttzt497DBaG4Yhn5elzRlFELgxZ2t1NGOYYzcOtNMwyvW4l0JbqsCAINo31+37d+yvgK94ivw9Xc/pAD/h0JlHXTQHeLQPUtB/s8LPealvHSKJBgNPXa7ZIrdSCLV26dPB9pi5xd3f3oFVL4Uh3e0cqP5tW9oiiiDAMua6k2N2oS40q5HiP8fvTwjCcF0XR+lEXw0Ew4Ne/24AiUEyS5IvA1cBRwNeBtQrw5DWTCZSXrUQ1D+yX3Sl7pV0Omi1CK4oili1bNiRsdHjd57HgSdf8Q9xmb9FHXLaKDPazKkbFWhaD7/Re3PpJ7XAFwfO4VqaqCgCeAkyt5Rsb7vrVasMondR1LPJW1vtMY7nTes+lII/2uUYLcikUi3vAPxgY44+XNAFEXeiqWOBa5cVmUekxWrqLPl5vpNHGzdWX7tljh1jVPgDXxeqklriOxdcyodJNuBqtT1UZUbkV/qZT4yOkeiSdl94cdDKr2gngWbhz4Jq6i6XudC0gLgVYW8Go2gngzlq736XuYWlKYDXhbZLUunZVAsQ6DI0BuOYqjdwZXi+5GkpDKEtvGApwXbUDl6igakWAgcF+PinApcBVan1LU+vqkZmj2kMvRFGktZ5bGeDSnkBpDaxqrIXTGOHSG0XTWF/r4pNvvPHGqn3eJtUKxa/FAQbo6ekZ/HualF/JpE7L6pQG9zeT+2zZ7R2kiQgtqqcVv8rVWdYks/YQ4FJg/1q/wTVr1mCtZdGiRRhjBr+uWbMGQSa8DZI+x3XXXTekskeaX1xTKK1lwYIFQ3a9R+vNG5uYWGLCXMiicBEAy5cvb8X1+ddE5LeKYGMAnguci8vRrKnSRtWlTarTKKRYHARjTe4U3Hw+z7XXXsuCBQsG4U3L8tSk0bWFcIHbKDvnnHMGvYcwDInjGBEZ+XVj36BbYnK5HMYY7r77btasWdNK8247sFRENimClanco6ABoG5J1JFEg+vh0ppWab2o0tBBEfF5rbszc4bXgkrhreXaN59zwOaGJQ6k/x7r2GqkCpstppVRFD2r+DUO4O3U8wxPdh/zpBCncJa6w6VlWWHkAJA0ob2W614b2sECeiOpNP94LM+hhTew7lD0Gg9w3VtjlK5ZS7NyUijGUlqmZrxKlhNd047ptjM2fOMlaKTlfsaz1BnWDxS9xgK8lQa1xkjT5IqRK7GTusfDypYO6Y1ULEmRqxSGdHfYWsuSJUtGfL70tUc7tx6rdWhaiSS13tW44TSZnsW1E1W1I8CDkERCkWJp17sxoa+W0hvGeBY2LYczkhud3gRKA0iG99O11g56DS1mgW9F+yJVTWXVE7LWdlprPwn8HWXuZGdVN9xww2Cp14suumhcVzuXz3HDdTdM+nWKxSI9PT1NU2ivStoJXAL8KoqiAcWvQRZYRHZZa9fjKum3VbJu6opPtARPLswNcf1FZLTG14M/V+sd8gbq18AzCm/jXWhw1ZI2NQPAqTtr2V3CqVaTP91As9Zyww03sGzZshGbZqdr2TRkM92AK3WZS9ftwxu0taC2Ad/HtUtRNdKFBgjD8Hzgi8DiRkFrrSUcBCEkDC3iC5IXapWgYGFp99LBkM50DV56bpvuIpcmS7SgOzxZ3Q8siaJIN7CaxAKvoRElPS3kbEgulyefy5HLhSO4Bjno7aW3FgALg21J0g2npUuXDlr94XWmSns5tbG24I6ONOWriQB+EViNS8yuS3Ft6/vtDEY4jcZYJOW3BJnYHoCDMiqSz+WHBIyUusItuotcrvW9LYqiVxW5JgE4iqItYRiuwG1k7V0fgEPy+S7yo5yvindX++rQJkVEKPQVKBaKe0R8tfhadrJaC/wQ+J0ORXNZYLxLtL5eAO/GdE+YilFEoVCkGBXrWoq2Fl0jWkg7gbuAn0ZRpOVzmhDgp3G7igvrA4vrGFAoFIZGXHlYtYZ002kF8G1gpQ5FcwL8uL9Ip1OHgA4RB3EEWg62+bUF+DHwsyiKdulw1EadlQElA9baRUAOmFHPNx7HcW3yeFXVUAI8BHw0iiINm2xiCwxwG/AuRqgTPVLbD1Vb6AVg6VidB1XVUcXHPzfeeOM+PT09N1lrzwM6Snv2lGYHpal8CnFbuM6fjKLon3UomtACJ0kS4JqbHQQsAE4Kw3BvIBmvg4LWXm55bQO+BXxTh6LJAPbgzgVOAU4FzvJfD8zlclPGWCcD2vmgDbQLd977N1EUbdfhaCKAkyQ5CDgfOAdXzO5IXIOzUr0eRdHM0sT50oda35aH98ceXl33NgvASZLsDVwOXOGt7SHsriWd4OKhlwP9URQ9u2zZsi+LyCw9j207/Qr4PPCUDkV9FYwC7hTgjUA3cB5waMnPbgN+C9wC3A2sAl668sortxSLxW8C79FhbTt4PwvcHUXRLmvtwUAIzAP2BQ72P7fF3/BXAk+IyFoduhoAnCTJfOADuKOhsMRV3gXcCXzXX7R1wJYgCAYP6cMwPBFXcXAfHdq20K+BfxKRXcCJfnl1IG6Tc6p/lM6ftBjiZuBJ4HbglyKilrsaACdJcoy/m16OC8xIv78K+Cu/zomDIBhxk8Ja22Gt/XtgqQ5ty+tVXHfBvXCbm1OBaYzTrqdkabXTAy3em+sVkft1WMsAOEmSqcCFwD8Cx5ascTcDXwE+FwTBtok8YRiGC7yFPnKk7+dyLh2wWCyOW4xO1R7yUG/C7WL/g3extezORABOksTgNqn+AZjv/3+rd5c/C9wXBMGEuzCEYTgVeDfwT96VGqxQkbYWSS/akiVLNJNHNRzkFcB1wI+A9SKS6MiMriketq8AM3EtU9YBNwL/GATBysk+YRRFO8Iw/Jm19kfW2qvy+XxQCm7pxdKdatWwJRjAQhH5Ou7U46vAEzoyYwP8JQ/vTtwxwDeA7wZBsLGcJ0ySpAOYF0XRC8BAGIadwwAniqJWLFiuqh7I04APicgR1to/F5FHdVRGd6FvBs7GVUz4GvDjIAheKxPeOcBbgauBiyjJUEo7JKQPtb6qCbrVvwA+LSL36WiMDPDxwJm45Py7JrPeHQbvkcAHccdPB/n/3iEiG/r6+kyhUNhb17uqcqYWwm2CfFxEntThGAZwxaPrXOZLgQ8Db8ZvXOFK7Xy/WCz+asmSJZeIyFXAHB1yVRnaKiLfBv5aRLSu9LA1cCXwzsDtYP8p7iB/Cm4j7CGgB7izWCy+LCIP+e9dCczSYVdNUsZa+w4Recpa+xUR2alD4tRZAbzTcRFbfwEcU3Iz+BbwCdzx0ys333xzAmwyxvTjwuqOpjqFBFRtBrExZlYcxw/GcfySDkcFAHt43wv8JS5OugPYAXwKuBZYVxpiGccxIrLZWvsLD/ux1KmWtKqllntzjTEiInd5T6/t1VGm23wl8De47CSAl4A/Bq4PgiAOgmDEw/coil4Rkfd493qbDr9qkpoNvMlae7IORRkWOEmSabhjoi/jqnEM4Bo2fwj4UanVHU1xHO8SkZ9ba1cCJ+FiaTv1UqgmqHlxHD9rjOmP43hAAZ44vB24FMMv4epAJ7jAj78AbguCYMdkXtha+xhwD3AALu3MqFutmoCmxXG8A3gwjuOXdV0xcYBDXJTWxR7eVbgG398LguD1ct9AGIb743KIrwBO8BZZpRpRPgBoLe7Y8oftHis9mTXwNUDe/30d8C/ATZXA69fF64Cv446i/hl4BJdmplKNpv1xG6FtfyQ5meOcd3ng04r7/15uvPQIEG8D7gvD8GngVn+jeDMuoF3Xx6pS65t6jsfierpvUYAnpv/ERVzdj8sSea7abyaKoo3Az8MwfBC4yQP8FuBNaBSXwjtUC9QCT24NPN8PmgCrgiCo+Q6gtXa6tXYB7qz5TOAyD/VMndJtDS+4emxLRORxBbjJFYZh4KHdC1dz6SxcBlUOV7dLI7vaC14FOEsAjwBzR8ljPnAGruD8G4DjcdFeU3X6tyy8AD8FrhGRpxXgFpK19nzg37zbPfx7SkVrwAtwPfD3ItLWZ8EdLQav8Rb4EIW3peHdBPwGYUO7j1WrrR2tXxt3lP6PReHNBLiI2yIdWztwZWgfFLRyZSsBHODCMs9Rq9uSVhdcgM99uBrSz+iotRDA1topuM2rBXWFV7zdV9Ua3teAAq5u2524cF4FuIU+ywxccfrOekw463xzhbf24Ca4em3fAW5CeEzQWtGtCLDBhV/WzPqmE05d85pDm+o5XATgzcBDIrJJR7B1AT4CeENN4BK3wVKt5xaRlr0JDL/JlVE+eDuu++WNuOZnz7mn0Q2rVgf4slq4zyls1dzJtta27NrZWltO140Y12f6Nm9tn8E1T4u1tUr7AHxeVa1ala3unk8vLXu85cfsZREp4CLi9mVo/PqLuE2pR4EHgKL/d6LATk5Bi0yY2YD4nehMuLhDNsJaUwPAw8CncT2jt0VRpHBWWa0SiXVptbyJeq5PBWn1uXUqrkjDh4ADwjDsUOSqq5ZIljfGfMRae1qVnqsu7zmO47q+XgO1D3AaLpNslbV2k25IKcDDofu8MeaALL3nFOA4jtsB4pnAybhIuVXW2pd0rVsdZX4Ty1p7MC6BQVXuGO7h2tdEaT3xebhm8rfpyCvAAOdarK6tJgmsxVVDGB5MJv4R+UeVYe7A1TvbNwzDjiiKbtGroQCfrOGME1foCQoZOxI0Bbjgv1ZZpwBfCsNwahRFP9Gr0sZrYGPMUmNMmLX3na6B/Weoi9U9B+gqsbxmnJ8P/aMGlhhgP+Bka+1zIvKUoli+S5Pl9e98XHlR1Tgw5jy8k73ThcBSanZcfQzQE4bh5XqV2hBgD2/mKlSWER9cMbzdFUBoPcQ1UFrf+bNhGJ6tOLaZC22MuRi41BgzPavu80RcaItLcs759Wveu8OLvIU0uGDi9GupFgHvG8ddnijE4AKWa6ADgEOstY9ba9fpEdPElfVNrFOstdNa2fVNN51y41l1XEBxsWTNar3bXC33N1/y/DXwBC8APgb8bRiGKzXsssUtsAf3T4wxC8lYTPdELLD1wEx03Wr8z53j/y7+7+dU0+Pxz7u8dnPxCHw6oYi8rni2MMDGmAOBbmPM/Kyvf4cDbEtc5XKsZ7p7vKgKrvNIEBdHcNWrpOke4hettU+KyA5FdHzXJataUIP52QhPYg94cxXAWwpxLXaOLZPfyS7jun4UOFmTH1ob4MOyBvBEd5/zNHeWYR3e20nU9PRKAW4GhbRgk7Ow9hau2S0wfk/jElwaoqpFAT6SjLeXHM19bvr3XZ+XmQ58IgzDnGLaegDPwnVpz0wDs4m6z2FGAK4TxPsCN4RhOF1RbSGArbV7AbOstZktCTRa1Q9d9O2hk4GP+q6UqhaxwPtmaf07UeurTR5GVCewBDhBh6J1AD4cV6qlpayvalQdAiwJw3CmDkVrADyXjBwhDbe+Y8FrqUmYYvU/U/1fcgZuV/ocRbY1AN6PDO5AT8TyZqVOZQPe5wLgijAM91Zssw/wPv6unBnrO1G3WS3wqDLAubj+z6oMAxxkBeDJwisZAFga6yUcDrw1DMO5im62LfB0mjwRo9xOhlFGIG6QZgBn4o6WVFkE2Fq7P01+2jLYEK3M3eZik1+DBt9gjgNOD8NwmuKbTQs8HWjqi1fJMVGamN+sm1lN4OZPB84HjlJ8swnwzCytf8uFpNCk761JvIMzgOM0OiubAM8F5rQ6wMUmdKWb6Mayj7fC+yvA2VNAi7RFHW+dWaOi6hVZ3yZy7d8IzFeAs6fZtGAe8GjAFJoEmiZ0648FjgzDcKoCnC3t1S4ApxD3NQHEfTTd8dZM4MJWX061IsBtJSmBuFEANeN63Ossf0NXgFXNDXEB6G2AG9ssHsAoOsq70R0KsKrpFXmYeusEVNScrnOpDHAardFlsyxNUSyyaY0jdndsqEVYWrH54U2VArqGOgcAABATSURBVLxdAVZlyhr3srv1Sr6Kz12g+Y6wxtA5ZKg2mgKsGhHkApUXhJcSeCU7QzAX182hqACrMg1yGvwRephLuzPYccDNwHp3NHXg6mUpwKrWWCOnxz5p+deQoQXZ7QhWN+Ozv23TCxXgFod5ePbQcIsctcZHPaldr7EeI7Ux1FHrfKyjbGg7FWCVKpuah/Aua+2htNmOdBZd6FeALTpnVSWaBvwtsNJauwq4zy/rnxKRTUCiADePXiftL62tDFS7dah/bAfe4m/0G6y1v0thBiIReUYBbqzWAhsdv4JVglV7WuP9/GMhcArwB8AOYKe19lXgCeB5YLWfT68AL3jPbh2wVkQSBbg22jpogVWqsRV4oEtrqKVgj1y7TBgQZMBaK8BvgfXACuBO4H4R2dBsHzBzF8Va+w2g2/9dp6lqwg3kKio4KLIV6Af+L3C7t9QNNSZZtMAJsNmvdbRvrGrCqvRmb61Nu0OcKyKrga9Ya38ArBSRXY34TFk9RtrgXWmVanzwsFXvCGmtPcha+wXgW8AFHm4FeIJaDbyqU1M1QYJradXPstivAr9vrZ2mAE9MK4FNOjNVtXabJ8SQ5Whr7VJcMlhd95WyGgu92wK36VnwSJs2Fosg9Z7A7QxvqSE8FlhirV0pIssV4LG1zqM7IEhHu5wFT6Rd6fCxKLfJmmrSmmqtPU9ELrfWPiMi2+t158jiRH4NWAVsazeLO9mmaenPi8iEj1rU+patva21l+Lyk3UNPIYSYDltEBOdgldJt8PhICu8NVOAa3/6Rmvrkx2V5Wyklge4Fu5vu0DcQM2w2NOABQrw+ABvGr42VHjbG+KmWOtbjgUOUIDHnuAv43LSd7YivLUIPlDXuW5aCMxTgMfXPbTaRpb4nWRb+8neSla4yW52+wL7W2unKMBj625aLDNJHMGqbCvwLvR0BXhsPY7L62wJa5LuNtfTaumGVs00tR58dWR8wm8Bft0y615d87aS9mVoHrICPIp+QgvXPFJlVq9Shw3WVgD4LuA5tb7lu9GqmoxrDNQ8Rzjzhd1FJLbW/ifwZ1l1Q2v1niezvlWQq6pERF7F1eFSCzwBfQcY0HmzG1zdnGqoXgdeEJFtCvDEJuxDwIM6b1Bwm0Mv4ipdogBPXP8HGGjnCazwNo0iXNknBXgS+hn+TFjhVTV4/fs48JICPDltAH6k8KoarFdwiTaiAE9OWz3Aa9tpQiu8TaflwHIRGVCAJzeRd/nBu0XhVTVIO0Wk389DFODJa723wutafXJX+/PpzaAqegb4hT8DVoDLmIQ7ccdJtym8qgZY3weAO6hjaG8rNvh+DhcfvVYnuqqON9XngB/4fsQowOUPZILrJHczdYhFVevb9uDiI67uBG6t9+t3tOigrgF+CDyRlT6vE/tgCkwT3kwTXPPwr/ruhXXVlBYe3zuA/wIOAea0Br9KcBN6QRs8vA0J5e1s1UGO43i7MWYDcHIcxwcbYzpaaNLURMYYpXOM8Y/jmDgeUsEpBnqB6+M43qUAVx/idR7cM+I4np3lCTps4ijAjYM21QDwfeAz9Tw2aicXOh3kHwCnA+9HmJbFgnG6cdV0Y7zLw/u3vrwxCnDtLoxYa78InCLIaVZLPrY5qRXvJewC/h34PC5wo6EK2uSyBdba83A70/tkqfpEPa1vK1blqPL4vQ7cAHwdeLZe8c5tuwYetr57AVgD/F4cx0FW1nv1WPu21BpYQOIx167lag3wOeB/AS82y/Fk2wAcx3FijHkU2As4MwuTtd5r3ziOMwvx4IZT9ev8DwD3Ah8G+kTktXreVBXgPSF+AAjjOD662Y+WGjFRsgZwCm4NtA1XGuerwDUi8kQcx00XFDSF9tMm4G+AuSJyrrV2WrNOTFXdx2gnLiF/LXA7cIOI/K6ZxyBoxwtvre0ATgWuA86vRxOqrMDbpBtZu3C9oF8FtpbsJHf4JZEBZvl/T2ZOJ7jSr4IrgfM0rmHeD0Xk2SzM5bYE2E/UKcCbvTXONQvEjba8TQTwAC6z7CkReR54FlfzTIYtAQ/CtYPbH9fOZI6Hepb/OnOE513nbwgbvZv8BPAw8IiIvJaledy2APvJOsND/KfAWf7fCnBjtRVXkuYeXPfJR4DnROT1cd53AOxT8tir5Otwa77aW/OXgfUisj2rc7itAfYXfhqQA/4ncGEj18TNsO5tIMAx8LCI/NC7sY8Bm1oqm0wBruma+CTgU8AV1tqp7QhvgwCOReReXGjifcAK33VSpQBPGuL5wKeBj9RrIjfbbnMdAR4QkV8C3wV+jqugEutMVIArncCzgPcC1wPTazmhm/GoqNYAi8hmXMmjXtzG0dYsr0EV4OaEOADOBr4BLPL/bmlwawRw4h87ROQR4D+A7wEv6dpWAa752FhrDwU+A7zdWrsPFZYgykJwRoUA7wK2A9sQXhMkwtUm+xmuvNEOnVYKcL0n9BygC+gGjrXY2dhJjJtkqxTOJAEewJWU2QBs9rmxTwD9wL0ispo69MhVgFXjqcNaewLwbuBi4Fhgmg4L24F/Af4NeFQ3oeqvTh2Cia3l4jhea4z5NfAkLooH4IA2H8NO3EbUj0WDtxXgZlccx7viOI6MMXfiIoRW+3WfxcXjtqPmAHfEcfy8zhAFOCsgb4/j+HljzP24Vi4P+3Wg9RO6o42GY2/gCWPMo3Ec63pXAc4UyDvjOH7JGLMcuB/4pbfMO4F53ipnYZ/hQeDAcvcHcPHGt8VxrG50naWbWFUeT58QsQ8uM+Zc4O3AWTRvcfmvA324aKhyb+jbgav9WninTgMFuCXkY6qnAdOBN+F2sN8IHE/jiynsxFWb+GtgBq6TxfEVPN/NwHtE5BW98gpwK0PdCRwGnIerV30+8AZgqr8eHUw+MX0y2gW8gAtQ+b6IbLPWTgc+AnypgufdAZzvExNUCnBbQX0IcCKuj9OpwHG4BHXjwZ7irXiH/0oJ7OMprTrxGi7/9VZcadQnRGRXiet/Iq6v8v4VfJSbgKs04koBVivt1tEH4CpOzAOOAmYDR3pwDXsmq4+2Po1w7S/vAFaNBJi1dj/g74APVjAvdgIXiMhdehUVYNXYmmGtnTnmT7g94Z3C+L17fEmht+GyhOZV8L7+C+EqIVulaRRgVStY/sOBHlzsd7naCVwpIjfpiNZeeg6sGpQxZiuuCNxZuKJw5agDmG+M+Wkcx2qFFWBVvRTH8S5jzGt+vX1MBR7aPGBjHMe/0VFVgFX1tcKv4na+T8VtpJWjKcA8Y8y9cRyv01FVgFX1s8IDxpi13gIvory47rTEa4cx5ueN6l6vAKva1Qq/hjs/XowLCS1HUz3EK+M4flJHVQFW1c8KE8fxE8aYEBdgUm6Z3X2BvYwx92migwKsqr8lXoXbkV5A+RtaBwJbjDEPxnGs1ScVYFUdLfF6Y8wWXNz27DKfZjouomyFMSaK43hAR1YBVtXPCj+NC+c8jcqOlWYBDxtjNjRjn10FWNWqVniXMeYR3LHS4WU+TYDLwBoA+uM4fl1HVgFW1Q/izcaYx3Gpj+XGSU/BJWK8Yox5SI+Wxr7hWWvnGGOONcYcb4w5zBgzzRjzWhzHO4ffGVWqCclaezWugkcl1d9fAD4iIj/WER1xjGcC7wQuBw71ew8JsAnXgPxfSnOu1QKrJrMeXokrqXtBBXNnDnC6j9J6UUd1CLwHAl/BpXSehiv0sD9uE/BQXJ74ecaY1XEcP6EAqybrSm83xkS4c+EzK/Dg5gJnGWNui+N4o44s+DY+PwIu9B5OxyjLkHnABcaYX8ZxvEYBVk0W4teMMU/igjROrADi/fxEvLXdgzw8vDcBpzB+rbTAu9WL4jj+dwVYVQ7ErxhjVgNH4MoAlRsvPQ84zhjzC79Bk7QZuIEx5ihca5rFkxzHvY0xjynAqnIhftEYswJ3tHRwmcuxDv+7R+OKw69vp0APY8whwBe92zyljLHbqQCrKoH4eb+xdVgFEE/xlvxw4GljzLp2OGLyG1afBq7AlfUt5+Y3QwFWVQrxKh8zfThu17SjzMl4qH+sNca82MptWqy1+wIfAP6I8o/kAgVYVU2IU3c6LPNpOoGFuDzk7caYFXEcb2tBeOcC7wM+5PcPKtE0BVhVTXf6d7hz3kWUtzsd4DKfTsSlIT4Ux3HcQvDOBt4F/GkFN7o97noqVbUgftEYU/RrukWUn0e8j4f4BGPMyjiOV7cAvNOBbuDP/VKhGlGQuomlqjrEm4wxD+E6QZxM+X2TZ+Bipy80xgwYYx4bHgecIRljzGeBP6Gy3OrhWqcAq2oxW7fg2qy+gAtO2LvMp+rABYycDZzhrfGLuNjgrFjeo40x3wSuqmAcRtIu4G4FWFULK0wcx7GJzaMYHsFtTFVieWbgSt1ebozZyxjzVBzHm5t8GKZYa98PfMd7ItXuRhkD39NsJFU9rNCxuG6Il+HCACuZdwnwKPAN4BZgrYjETfI5O3GF8U8EPglcQnlnvBPReuAyBVhVr8k9D7eJ8z7ccVGlFikBHgK+i2tOvgZYX9Jxsd7g7u89jatw6YD71fhl7xKRNyvAqnpP9stwZ6Dn446cqqHVwE+B24FVuA6MG3FtVWulTmvtHNyO8tG4/N08ML8Ow5gA7xWR7yjAqkZAfBDwx8AfUH7x+JG0DVgO3Ou/PuPhfskDXUmcdQcwy7dhTeO3j8BV7TyN3X2b66GHEC4WZL0CrGqUOq21F+M6Ib6VyhqLj6TXU2uM2w1fDbzov74KbAa2isimPW4w2ADLfA/tPO8OH+jBPQgXhJH2a663NgF/mFY0UYBVjbTEHR6MS4CrccdFpkYvtwPXMXm9h/t1XPPzLaP8/FwP8BxcYInFVdbsaPCwfRnh04JsU4BVzQLyDO+OvgX47966dejI7KH7/Nr36UE3RsdE1WjFcbwzjuOXffnan3sXd1ENrXEW9TzwceCh0sIHCrCqmUDeboxZB9yF21WeAZykniIvAn8G3CoiWlZWlSn3+mTgU8DbcEES7eRaJ7gNuL8A+kRkj95SCrAqC+q01h4PfBi34bWfd69bGeZdwErgOhH5Nu6IbM+B0bmhyoIliuN4bRzHtxhjbsUdAU3DRXPNaMF5vB2XDPIF4HtjFTZQC6zKojqstQcDb8YVhDsOt4s9pwU+22bgVuAbIvIrxgk+UYBVWV8jz8Zl+5wLnAAcjwtvzBrMibe6PwS+JSKrJvJLCrCqVUAOcNFcJwHH4rop5nBRU81+HBUBP/GPO0farFKAVe0E81RcUsHh3rU+2T9OoTHhjyNpAHgKlxJZAH4jIhsm+yQKsKq1YcZOxWJxlT3m4wJETvDWeRG1y9cdzU3eDDwA/Bcu6WIFsLHcNEgFWNVOCnzYpsHFNc/D5fCmFnoRLja72sdTm3DBKb8E7gaeA14Rka1UWB5IAVa1+7q5A3cM1QlMFZF9fAWRY3B1m4/FtffcF5fgMNrm2HbgZWAjrrjA48CDwGO4jKitwC6EnYJUrabX/wcxbekvhiO6ZgAAAABJRU5ErkJggg==
"""), "finale.png")
image _finale:
"_finaleimage"
yalign 0.3
xanchor 1.0 xpos 0.0
pause 90.0
easein 1.5 xanchor 0.0 xpos .25
pause 3.0
easeout 1.5 xanchor 1.0 xpos 0.0
repeat
| Ren'Py | 5 | SentinelWarren/LearnToCodeRPG | game/scripts/code_snippet_example_screen.rpy | [
"BSD-3-Clause"
] |
1 /dev/rrp3:
0
2 17379 mel
3 16693 bwk me
5 16116 ken him someone else
2 15713 srb
2 11895 lem
2 10409 scj
2 10252 rhm
2 9853 shen
2 9748 a68
2 9492 sif
2 9190 pjw
2 8912 nls
2 8895 dmr
2 8491 cda
2 8372 bs
2 8252 llc
2 7450 mb
2 7360 ava
2 7273 jrv
2 7080 bin
2 7063 greg
2 6567 dict
2 6462 lck
2 6291 rje
2 6211 lwf
2 5671 dave
2 5373 jhc
2 5220 agf
2 5167 doug
2 5007 valerie
2 3963 jca
2 3895 bbs
2 3796 moh
2 3481 xchar
2 3200 tbl
2 2845 s
2 2774 tgs
2 2641 met
2 2566 jck
2 2511 port
2 2479 sue
2 2127 root
2 1989 bsb
2 1989 jeg
2 1933 eag
2 1801 pdj
2 1590 tpc
2 1385 cvw
2 1370 rwm
2 1316 avg
2 1205 eg
2 1194 jam
2 1153 dl
2 1150 lgm
2 1031 cmb
2 1018 jwr
2 950 gdb
2 931 marc
2 898 usg
2 865 ggr
2 822 daemon
2 803 mihalis
2 700 honey
2 624 tad
2 559 acs
2 541 uucp
2 523 raf
2 495 adh
2 456 kec
2 414 craig
2 386 donmac
2 375 jj
2 348 ravi
2 344 drw
2 327 stars
2 288 mrg
2 272 jcb
2 263 ralph
2 253 tom
2 251 sjb
2 248 haight
2 224 sharon
2 222 chuck
2 213 dsj
2 201 bill
2 184 god
2 176 sys
2 166 meh
2 163 jon
2 144 dan
2 143 fox
2 123 dale
2 116 kab
2 95 buz
2 80 asc
2 79 jas
2 79 trt
2 64 wsb
2 62 dwh
2 56 ktf
2 54 lr
2 47 dlc
2 45 dls
2 45 jwf
2 44 mash
2 43 ars
2 43 vgl
2 37 jfo
2 32 rab
2 31 pd
2 29 jns
2 25 spm
2 22 rob
2 15 egb
2 10 hm
2 10 mhb
2 6 aed
2 6 cpb
2 5 evp
2 4 ber
2 4 men
2 4 mitch
2 3 ast
2 3 jfr
2 3 lax
2 3 nel
2 2 blue
2 2 jfk
2 2 njas
2 1 122sec
2 1 ddwar
2 1 gopi
2 1 jk
2 1 learn
2 1 low
2 1 nac
2 1 sidor
1 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh
4 2roottcsh:*:0:0:Super-User running tcsh [cbm]:/:/bin/tcsh
3 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh
2 4diag:*:0:996:Hardware Diagnostics:/usr/diags:/bin/csh
1 5daemon:*:1:1:daemons:/:/bin/sh
3 6bin:*:2:2:System Tools Owner:/bin:/dev/null
1 7nuucp:BJnuQbAo:6:10:UUCP.Admin:/usr/spool/uucppublic:/usr/lib/uucp/uucico
1 8uucp:*:3:5:UUCP.Admin:/usr/lib/uucp:
3 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh
3 10adm:*:5:3:Accounting Files Owner:/usr/adm:/bin/sh
3 11lp:*:9:9:Print Spooler Owner:/var/spool/lp:/bin/sh
3 12auditor:*:11:0:Audit Activity Owner:/auditor:/bin/sh
3 13dbadmin:*:12:0:Security Database Owner:/dbadmin:/bin/sh
5 14bootes:dcon:50:1:Tom Killian (DO NOT REMOVE):/tmp:
5 15cdjuke:dcon:51:1:Tom Killian (DO NOT REMOVE):/tmp:
4 16rfindd:*:66:1:Rfind Daemon and Fsdump:/var/rfindd:/bin/sh
2 17EZsetup:*:992:998:System Setup:/var/sysadmdesktop/EZsetup:/bin/csh
2 18demos:*:993:997:Demonstration User:/usr/demos:/bin/csh
2 19tutor:*:994:997:Tutorial User:/usr/tutor:/bin/csh
3 20tour:*:995:997:IRIS Space Tour:/usr/people/tour:/bin/csh
2 21guest:nfP4/Wpvio/Rw:998:998:Guest Account:/usr/people/guest:/bin/csh
2 224Dgifts:0nWRTZsOMt.:999:998:4Dgifts Account:/usr/people/4Dgifts:/bin/csh
3 23nobody:*:60001:60001:SVR4 nobody uid:/dev/null:/dev/null
3 24noaccess:*:60002:60002:uid no access:/dev/null:/dev/null
3 25nobody:*:-2:-2:original nobody uid:/dev/null:/dev/null
2 26rje:*:8:8:RJE Owner:/usr/spool/rje:
3 27changes:*:11:11:system change log:/:
2 28dist:sorry:9999:4:file distributions:/v/adm/dist:/v/bin/sh
3 29man:*:99:995:On-line Manual Owner:/:
4 30phoneca:*:991:991:phone call log [tom]:/v/adm/log:/v/bin/sh
8 1r oot EMpNB8Zp56 0 0 Super-User,,,,,,, / /bin/sh
11 2r oottcsh * 0 0 Super-User running tcsh [cbm] / /bin/tcsh
10 3s ysadm * 0 0 System V Administration /usr/admin /bin/sh
9 4d iag * 0 996 Hardware Diagnostics /usr/diags /bin/csh
8 5d aemon * 1 1 daemons / /bin/sh
10 6b in * 2 2 System Tools Owner /bin /dev/null
8 7n uucp BJnuQbAo 6 10 UUCP.Admin /usr/spool/uucppublic /usr/lib/uucp/uucico
7 8u ucp * 3 5 UUCP.Admin /usr/lib/uucp
10 9s ys * 4 0 System Activity Owner /usr/adm /bin/sh
10 10 adm * 5 3 Accounting Files Owner /usr/adm /bin/sh
10 11 lp * 9 9 Print Spooler Owner /var/spool/lp /bin/sh
10 12 auditor * 11 0 Audit Activity Owner /auditor /bin/sh
10 13 dbadmin * 12 0 Security Database Owner /dbadmin /bin/sh
11 14 bootes dcon 50 1 Tom Killian (DO NOT REMOVE) /tmp
11 15 cdjuke dcon 51 1 Tom Killian (DO NOT REMOVE) /tmp
11 16 rfindd * 66 1 Rfind Daemon and Fsdump /var/rfindd /bin/sh
9 17 EZsetup * 992 998 System Setup /var/sysadmdesktop/EZsetup /bin/csh
9 18 demos * 993 997 Demonstration User /usr/demos /bin/csh
9 19 tutor * 994 997 Tutorial User /usr/tutor /bin/csh
10 20 tour * 995 997 IRIS Space Tour /usr/people/tour /bin/csh
9 21 guest nfP4/Wpvio/Rw 998 998 Guest Account /usr/people/guest /bin/csh
9 22 4Dgifts 0nWRTZsOMt. 999 998 4Dgifts Account /usr/people/4Dgifts /bin/csh
10 23 nobody * 60001 60001 SVR4 nobody uid /dev/null /dev/null
10 24 noaccess * 60002 60002 uid no access /dev/null /dev/null
10 25 nobody * -2 -2 original nobody uid /dev/null /dev/null
8 26 rje * 8 8 RJE Owner /usr/spool/rje
9 27 changes * 11 11 system change log /
9 28 dist sorry 9999 4 file distributions /v/adm/dist /v/bin/sh
9 29 man * 99 995 On-line Manual Owner /
11 30 phoneca * 991 991 phone call log [tom] /v/adm/log /v/bin/sh
| Logos | 1 | Crestwave/goawk | testdata/output/t.6.x | [
"MIT"
] |
//===--- Bincompat.cpp - Binary compatibility checks. -----------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// Checks for enabling binary compatibility workarounds.
//
//===----------------------------------------------------------------------===//
#include "swift/Runtime/Bincompat.h"
#include <stdint.h>
// If this is an Apple OS, use the Apple binary compatibility rules
#if __has_include(<mach-o/dyld_priv.h>) && defined(SWIFT_RUNTIME_OS_VERSIONING)
#include <mach-o/dyld_priv.h>
#ifndef BINARY_COMPATIBILITY_APPLE
#define BINARY_COMPATIBILITY_APPLE 1
#endif
#else
#undef BINARY_COMPATIBILITY_APPLE
#endif
namespace swift {
namespace runtime {
namespace bincompat {
// Should we mimic the old override behavior when scanning protocol conformance records?
// Old apps expect protocol conformances to override each other in a particular
// order. Starting with Swift 5.4, that order has changed as a result of
// significant performance improvements to protocol conformance scanning. If
// this returns `true`, the protocol conformance scan will do extra work to
// mimic the old override behavior.
bool workaroundProtocolConformanceReverseIteration() {
#if BINARY_COMPATIBILITY_APPLE
// If this is a newer Apple OS ...
if (__builtin_available(macOS 11.3, iOS 14.5, tvOS 14.5, watchOS 7.4, *)) {
const dyld_build_version_t spring_2021_os_versions = {0xffffffff, 0x007e50301};
// ... but the app was compiled before Spring 2021, use the legacy behavior.
return !dyld_program_sdk_at_least(spring_2021_os_versions);
} else {
return false; // Use new (non-legacy) behavior on old Apple OSes
}
#else
return false; // Never use the legacy behavior on non-Apple OSes
#endif
}
// Should the dynamic cast operation crash when it sees
// a non-nullable Obj-C pointer with a null value?
// Obj-C does not strictly enforce non-nullability in all cases, so it is
// possible for Obj-C code to pass null pointers into Swift code even when
// declared non-nullable. Such null pointers can lead to undefined behavior
// later on. Starting in Swift 5.4, these unexpected null pointers are fatal
// runtime errors, but this is selectively disabled for old apps.
bool unexpectedObjCNullWhileCastingIsFatal() {
#if BINARY_COMPATIBILITY_APPLE
// If this is a new enough Apple OS ...
if (__builtin_available(macOS 11.3, iOS 14.5, tvOS 14.5, watchOS 7.4, *)) {
const dyld_build_version_t spring_2021_os_versions = {0xffffffff, 0x007e50301};
// ... use strict behavior for apps compiled on or after Spring 2021.
return dyld_program_sdk_at_least(spring_2021_os_versions);
} else {
return false; // Use permissive behavior on old Apple OS
}
#else
return true; // Always use the strict behavior on non-Apple OSes
#endif
}
// Should casting a nil optional to another optional
// use the legacy semantics?
// For consistency, starting with Swift 5.4, casting Optional<Int> to
// Optional<Optional<Int>> always wraps the source in another layer
// of Optional.
// Earlier versions of the Swift runtime did not do this if the source
// optional was nil. In that case, the outer target optional would be
// set to nil.
bool useLegacyOptionalNilInjection() {
#if BINARY_COMPATIBILITY_APPLE
// If this is a new enough Apple OS ...
if (__builtin_available(macOS 11.3, iOS 14.5, tvOS 14.5, watchOS 7.4, *)) {
const dyld_build_version_t spring_2021_os_versions = {0xffffffff, 0x007e50301};
// It's using Spring 2021 or later SDK, so don't use the legacy behavior.
return !dyld_program_sdk_at_least(spring_2021_os_versions);
} else {
return true; // Use the legacy behavior on old Apple OS
}
#else
return false; // Always use the 5.4 behavior on non-Apple OSes
#endif
}
} // namespace bincompat
} // namespace runtime
} // namespace swift
| C++ | 5 | hooman/swift | stdlib/public/runtime/Bincompat.cpp | [
"Apache-2.0"
] |
(kicad_pcb (version 20171130) (host pcbnew 5.1.10-88a1d61d58~90~ubuntu20.04.1)
(general
(thickness 1.6)
(drawings 29)
(tracks 84)
(zones 0)
(modules 3)
(nets 29)
)
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
(37 F.SilkS user)
(38 B.Mask user)
(39 F.Mask user)
(40 Dwgs.User user)
(41 Cmts.User user)
(42 Eco1.User user)
(43 Eco2.User user)
(44 Edge.Cuts user)
(45 Margin user)
(46 B.CrtYd user)
(47 F.CrtYd user)
(48 B.Fab user)
(49 F.Fab user)
)
(setup
(last_trace_width 0.18)
(trace_clearance 0.127)
(zone_clearance 0.508)
(zone_45_only no)
(trace_min 0.127)
(via_size 0.8)
(via_drill 0.4)
(via_min_size 0.4)
(via_min_drill 0.3)
(uvia_size 0.3)
(uvia_drill 0.1)
(uvias_allowed no)
(uvia_min_size 0.2)
(uvia_min_drill 0.1)
(edge_width 0.05)
(segment_width 0.2)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.12)
(mod_text_size 1 1)
(mod_text_width 0.15)
(pad_size 1.524 1.524)
(pad_drill 0.762)
(pad_to_mask_clearance 0)
(aux_axis_origin 0 0)
(visible_elements FFFFFF7F)
(pcbplotparams
(layerselection 0x010fc_ffffffff)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory ""))
)
(net 0 "")
(net 1 /P27)
(net 2 "Net-(J1-Pad13)")
(net 3 "Net-(J1-Pad12)")
(net 4 "Net-(J1-Pad11)")
(net 5 "Net-(J1-Pad10)")
(net 6 "Net-(J1-Pad9)")
(net 7 "Net-(J1-Pad8)")
(net 8 "Net-(J1-Pad7)")
(net 9 "Net-(J1-Pad6)")
(net 10 "Net-(J1-Pad5)")
(net 11 "Net-(J1-Pad4)")
(net 12 "Net-(J1-Pad3)")
(net 13 "Net-(J1-Pad2)")
(net 14 /P25)
(net 15 /P28)
(net 16 "Net-(J2-Pad13)")
(net 17 "Net-(J2-Pad12)")
(net 18 "Net-(J2-Pad11)")
(net 19 "Net-(J2-Pad10)")
(net 20 "Net-(J2-Pad9)")
(net 21 "Net-(J2-Pad8)")
(net 22 "Net-(J2-Pad7)")
(net 23 "Net-(J2-Pad6)")
(net 24 "Net-(J2-Pad5)")
(net 25 "Net-(J2-Pad4)")
(net 26 "Net-(J2-Pad3)")
(net 27 "Net-(J2-Pad2)")
(net 28 /P26)
(net_class Default "This is the default net class."
(clearance 0.127)
(trace_width 0.18)
(via_dia 0.8)
(via_drill 0.4)
(uvia_dia 0.3)
(uvia_drill 0.1)
(add_net /P25)
(add_net /P26)
(add_net /P27)
(add_net /P28)
(add_net "Net-(J1-Pad10)")
(add_net "Net-(J1-Pad11)")
(add_net "Net-(J1-Pad12)")
(add_net "Net-(J1-Pad13)")
(add_net "Net-(J1-Pad2)")
(add_net "Net-(J1-Pad3)")
(add_net "Net-(J1-Pad4)")
(add_net "Net-(J1-Pad5)")
(add_net "Net-(J1-Pad6)")
(add_net "Net-(J1-Pad7)")
(add_net "Net-(J1-Pad8)")
(add_net "Net-(J1-Pad9)")
(add_net "Net-(J2-Pad10)")
(add_net "Net-(J2-Pad11)")
(add_net "Net-(J2-Pad12)")
(add_net "Net-(J2-Pad13)")
(add_net "Net-(J2-Pad2)")
(add_net "Net-(J2-Pad3)")
(add_net "Net-(J2-Pad4)")
(add_net "Net-(J2-Pad5)")
(add_net "Net-(J2-Pad6)")
(add_net "Net-(J2-Pad7)")
(add_net "Net-(J2-Pad8)")
(add_net "Net-(J2-Pad9)")
)
(module BM28:BM28B0.6-24DS (layer F.Cu) (tedit 6180705A) (tstamp 61814D44)
(at 74.93 62.23)
(path /61B58607)
(attr smd)
(fp_text reference J3 (at -3.515 0 90) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Conn_02x14_Odd_Even (at 0 3.6) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 28 smd rect (at 0.745 2.63) (size 0.31 0.53) (layers F.Cu F.Paste F.Mask)
(net 15 /P28))
(pad 27 smd rect (at -0.745 2.63) (size 0.31 0.53) (layers F.Cu F.Paste F.Mask)
(net 1 /P27))
(pad 26 smd rect (at 0.745 -2.63) (size 0.31 0.53) (layers F.Cu F.Paste F.Mask)
(net 28 /P26))
(pad 25 smd rect (at -0.745 -2.63) (size 0.31 0.53) (layers F.Cu F.Paste F.Mask)
(net 14 /P25))
(pad 24 smd rect (at 0.795 1.925) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 16 "Net-(J2-Pad13)"))
(pad 23 smd rect (at -0.795 1.925) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 2 "Net-(J1-Pad13)"))
(pad 22 smd rect (at 0.795 1.575) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 17 "Net-(J2-Pad12)"))
(pad 21 smd rect (at -0.795 1.575) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 3 "Net-(J1-Pad12)"))
(pad 20 smd rect (at 0.795 1.225) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 18 "Net-(J2-Pad11)"))
(pad 19 smd rect (at -0.795 1.225) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 4 "Net-(J1-Pad11)"))
(pad 18 smd rect (at 0.795 0.875) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 19 "Net-(J2-Pad10)"))
(pad 17 smd rect (at -0.795 0.875) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 5 "Net-(J1-Pad10)"))
(pad 16 smd rect (at 0.795 0.525) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 20 "Net-(J2-Pad9)"))
(pad 15 smd rect (at -0.795 0.525) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 6 "Net-(J1-Pad9)"))
(pad 14 smd rect (at 0.795 0.175) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 21 "Net-(J2-Pad8)"))
(pad 13 smd rect (at -0.795 0.175) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 7 "Net-(J1-Pad8)"))
(pad 12 smd rect (at 0.795 -0.175) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 22 "Net-(J2-Pad7)"))
(pad 11 smd rect (at -0.795 -0.175) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 8 "Net-(J1-Pad7)"))
(pad 10 smd rect (at 0.795 -0.525) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 23 "Net-(J2-Pad6)"))
(pad 9 smd rect (at -0.795 -0.525) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 9 "Net-(J1-Pad6)"))
(pad 8 smd rect (at 0.795 -0.875) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 24 "Net-(J2-Pad5)"))
(pad 7 smd rect (at -0.795 -0.875) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 10 "Net-(J1-Pad5)"))
(pad 6 smd rect (at 0.795 -1.225) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 25 "Net-(J2-Pad4)"))
(pad 5 smd rect (at -0.795 -1.225) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 11 "Net-(J1-Pad4)"))
(pad 4 smd rect (at 0.795 -1.575) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 26 "Net-(J2-Pad3)"))
(pad 3 smd rect (at -0.795 -1.575) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 12 "Net-(J1-Pad3)"))
(pad 2 smd rect (at 0.795 -1.925) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 27 "Net-(J2-Pad2)"))
(pad 1 smd rect (at -0.795 -1.925) (size 0.41 0.18) (layers F.Cu F.Paste F.Mask)
(net 13 "Net-(J1-Pad2)"))
)
(module Connector_PinHeader_2.54mm:PinHeader_1x14_P2.54mm_Vertical (layer B.Cu) (tedit 59FED5CC) (tstamp 61814D24)
(at 81.28 45.72 180)
(descr "Through hole straight pin header, 1x14, 2.54mm pitch, single row")
(tags "Through hole pin header THT 1x14 2.54mm single row")
(path /61B5ADB8)
(fp_text reference J2 (at 0 2.33) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x14_Male (at 0 -35.35) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 -16.51 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -0.635 1.27) (end 1.27 1.27) (layer B.Fab) (width 0.1))
(fp_line (start 1.27 1.27) (end 1.27 -34.29) (layer B.Fab) (width 0.1))
(fp_line (start 1.27 -34.29) (end -1.27 -34.29) (layer B.Fab) (width 0.1))
(fp_line (start -1.27 -34.29) (end -1.27 0.635) (layer B.Fab) (width 0.1))
(fp_line (start -1.27 0.635) (end -0.635 1.27) (layer B.Fab) (width 0.1))
(fp_line (start -1.33 -34.35) (end 1.33 -34.35) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 -1.27) (end -1.33 -34.35) (layer B.SilkS) (width 0.12))
(fp_line (start 1.33 -1.27) (end 1.33 -34.35) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 -1.27) (end 1.33 -1.27) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 0) (end -1.33 1.33) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 1.33) (end 0 1.33) (layer B.SilkS) (width 0.12))
(fp_line (start -1.8 1.8) (end -1.8 -34.8) (layer B.CrtYd) (width 0.05))
(fp_line (start -1.8 -34.8) (end 1.8 -34.8) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.8 -34.8) (end 1.8 1.8) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.8 1.8) (end -1.8 1.8) (layer B.CrtYd) (width 0.05))
(pad 14 thru_hole oval (at 0 -33.02 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 15 /P28))
(pad 13 thru_hole oval (at 0 -30.48 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 16 "Net-(J2-Pad13)"))
(pad 12 thru_hole oval (at 0 -27.94 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 17 "Net-(J2-Pad12)"))
(pad 11 thru_hole oval (at 0 -25.4 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 18 "Net-(J2-Pad11)"))
(pad 10 thru_hole oval (at 0 -22.86 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 19 "Net-(J2-Pad10)"))
(pad 9 thru_hole oval (at 0 -20.32 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 20 "Net-(J2-Pad9)"))
(pad 8 thru_hole oval (at 0 -17.78 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 21 "Net-(J2-Pad8)"))
(pad 7 thru_hole oval (at 0 -15.24 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 22 "Net-(J2-Pad7)"))
(pad 6 thru_hole oval (at 0 -12.7 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 23 "Net-(J2-Pad6)"))
(pad 5 thru_hole oval (at 0 -10.16 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 24 "Net-(J2-Pad5)"))
(pad 4 thru_hole oval (at 0 -7.62 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 25 "Net-(J2-Pad4)"))
(pad 3 thru_hole oval (at 0 -5.08 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 26 "Net-(J2-Pad3)"))
(pad 2 thru_hole oval (at 0 -2.54 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 27 "Net-(J2-Pad2)"))
(pad 1 thru_hole rect (at 0 0 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 28 /P26))
(model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x14_P2.54mm_Vertical.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Connector_PinHeader_2.54mm:PinHeader_1x14_P2.54mm_Vertical (layer B.Cu) (tedit 59FED5CC) (tstamp 61814D02)
(at 68.58 45.72 180)
(descr "Through hole straight pin header, 1x14, 2.54mm pitch, single row")
(tags "Through hole pin header THT 1x14 2.54mm single row")
(path /61B59B74)
(fp_text reference J1 (at 0 2.33) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x14_Male (at 0 -35.35) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 -16.51 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -0.635 1.27) (end 1.27 1.27) (layer B.Fab) (width 0.1))
(fp_line (start 1.27 1.27) (end 1.27 -34.29) (layer B.Fab) (width 0.1))
(fp_line (start 1.27 -34.29) (end -1.27 -34.29) (layer B.Fab) (width 0.1))
(fp_line (start -1.27 -34.29) (end -1.27 0.635) (layer B.Fab) (width 0.1))
(fp_line (start -1.27 0.635) (end -0.635 1.27) (layer B.Fab) (width 0.1))
(fp_line (start -1.33 -34.35) (end 1.33 -34.35) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 -1.27) (end -1.33 -34.35) (layer B.SilkS) (width 0.12))
(fp_line (start 1.33 -1.27) (end 1.33 -34.35) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 -1.27) (end 1.33 -1.27) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 0) (end -1.33 1.33) (layer B.SilkS) (width 0.12))
(fp_line (start -1.33 1.33) (end 0 1.33) (layer B.SilkS) (width 0.12))
(fp_line (start -1.8 1.8) (end -1.8 -34.8) (layer B.CrtYd) (width 0.05))
(fp_line (start -1.8 -34.8) (end 1.8 -34.8) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.8 -34.8) (end 1.8 1.8) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.8 1.8) (end -1.8 1.8) (layer B.CrtYd) (width 0.05))
(pad 14 thru_hole oval (at 0 -33.02 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 1 /P27))
(pad 13 thru_hole oval (at 0 -30.48 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 2 "Net-(J1-Pad13)"))
(pad 12 thru_hole oval (at 0 -27.94 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 3 "Net-(J1-Pad12)"))
(pad 11 thru_hole oval (at 0 -25.4 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 4 "Net-(J1-Pad11)"))
(pad 10 thru_hole oval (at 0 -22.86 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 5 "Net-(J1-Pad10)"))
(pad 9 thru_hole oval (at 0 -20.32 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 6 "Net-(J1-Pad9)"))
(pad 8 thru_hole oval (at 0 -17.78 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 7 "Net-(J1-Pad8)"))
(pad 7 thru_hole oval (at 0 -15.24 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 8 "Net-(J1-Pad7)"))
(pad 6 thru_hole oval (at 0 -12.7 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 9 "Net-(J1-Pad6)"))
(pad 5 thru_hole oval (at 0 -10.16 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 10 "Net-(J1-Pad5)"))
(pad 4 thru_hole oval (at 0 -7.62 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 11 "Net-(J1-Pad4)"))
(pad 3 thru_hole oval (at 0 -5.08 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 12 "Net-(J1-Pad3)"))
(pad 2 thru_hole oval (at 0 -2.54 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 13 "Net-(J1-Pad2)"))
(pad 1 thru_hole rect (at 0 0 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 14 /P25))
(model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x14_P2.54mm_Vertical.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_text BM28B0.6-24DS (at 74.93 58.42 90) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify left))
)
(gr_text 16 (at 78.74 66.04) (layer F.SilkS) (tstamp 61816215)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 6 (at 78.74 53.34) (layer F.SilkS) (tstamp 61816214)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 22 (at 78.74 73.66) (layer F.SilkS) (tstamp 61816213)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 8 (at 78.74 55.88) (layer F.SilkS) (tstamp 61816212)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 14 (at 78.74 63.5) (layer F.SilkS) (tstamp 61816211)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 24 (at 78.74 76.2) (layer F.SilkS) (tstamp 61816210)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 10 (at 78.74 58.42) (layer F.SilkS) (tstamp 6181620F)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 4 (at 78.74 50.8) (layer F.SilkS) (tstamp 6181620E)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 20 (at 78.74 71.12) (layer F.SilkS) (tstamp 6181620D)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 12 (at 78.74 60.96) (layer F.SilkS) (tstamp 6181620C)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 2 (at 78.74 48.26) (layer F.SilkS) (tstamp 6181620B)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 18 (at 78.74 68.58) (layer F.SilkS) (tstamp 6181620A)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 23 (at 71.12 76.2) (layer F.SilkS) (tstamp 6181613B)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 21 (at 71.12 73.66) (layer F.SilkS) (tstamp 61816139)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 19 (at 71.12 71.12) (layer F.SilkS) (tstamp 61816137)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 17 (at 71.12 68.58) (layer F.SilkS) (tstamp 61816135)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 15 (at 71.12 66.04) (layer F.SilkS) (tstamp 61816133)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 13 (at 71.12 63.5) (layer F.SilkS) (tstamp 61816131)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 11 (at 71.12 60.96) (layer F.SilkS) (tstamp 6181610D)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 9 (at 71.12 58.42) (layer F.SilkS) (tstamp 6181610B)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 7 (at 71.12 55.88) (layer F.SilkS) (tstamp 61816109)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 5 (at 71.12 53.34) (layer F.SilkS) (tstamp 61816107)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 3 (at 71.12 50.8) (layer F.SilkS) (tstamp 61816105)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_text 1 (at 71.12 48.26) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_line (start 67.31 80.01) (end 67.31 44.45) (layer Edge.Cuts) (width 0.05) (tstamp 61816102))
(gr_line (start 82.55 80.01) (end 67.31 80.01) (layer Edge.Cuts) (width 0.05))
(gr_line (start 82.55 44.45) (end 82.55 80.01) (layer Edge.Cuts) (width 0.05))
(gr_line (start 67.31 44.45) (end 82.55 44.45) (layer Edge.Cuts) (width 0.05))
(segment (start 77.724 49.276) (end 81.28 45.72) (width 0.18) (layer F.Cu) (net 28) (tstamp 61816022) (status 20))
(segment (start 75.675 59.6) (end 77.724 57.551) (width 0.18) (layer F.Cu) (net 28) (tstamp 61816025) (status 10))
(segment (start 77.724 57.551) (end 77.724 49.276) (width 0.18) (layer F.Cu) (net 28) (tstamp 6181603D))
(segment (start 78.486 57.544) (end 78.486 51.054) (width 0.18) (layer F.Cu) (net 27) (tstamp 6181601A))
(segment (start 78.486 51.054) (end 81.28 48.26) (width 0.18) (layer F.Cu) (net 27) (tstamp 6181601B) (status 20))
(segment (start 75.725 60.305) (end 78.486 57.544) (width 0.18) (layer F.Cu) (net 27) (tstamp 61816024) (status 10))
(segment (start 79.248 52.832) (end 81.28 50.8) (width 0.18) (layer F.Cu) (net 26) (tstamp 61816013) (status 20))
(segment (start 75.725 60.655) (end 75.997 60.655) (width 0.18) (layer F.Cu) (net 26) (tstamp 61816019) (status 10))
(segment (start 79.248 57.404) (end 79.248 52.832) (width 0.18) (layer F.Cu) (net 26) (tstamp 61816026))
(segment (start 75.997 60.655) (end 79.248 57.404) (width 0.18) (layer F.Cu) (net 26) (tstamp 61816039))
(segment (start 80.01 54.61) (end 81.28 53.34) (width 0.18) (layer F.Cu) (net 25) (tstamp 6181601C) (status 20))
(segment (start 75.725 61.005) (end 76.409 61.005) (width 0.18) (layer F.Cu) (net 25) (tstamp 61816030) (status 10))
(segment (start 80.01 57.404) (end 80.01 54.61) (width 0.18) (layer F.Cu) (net 25) (tstamp 6181603A))
(segment (start 76.409 61.005) (end 80.01 57.404) (width 0.18) (layer F.Cu) (net 25) (tstamp 6181603B))
(segment (start 81.28 56.896) (end 81.28 55.88) (width 0.18) (layer F.Cu) (net 24) (tstamp 6181602C) (status 20))
(segment (start 76.821 61.355) (end 81.28 56.896) (width 0.18) (layer F.Cu) (net 24) (tstamp 61816037))
(segment (start 75.725 61.355) (end 76.821 61.355) (width 0.18) (layer F.Cu) (net 24) (tstamp 61816038) (status 10))
(segment (start 75.725 61.705) (end 77.995 61.705) (width 0.18) (layer F.Cu) (net 23) (tstamp 6181601F) (status 10))
(segment (start 77.995 61.705) (end 81.28 58.42) (width 0.18) (layer F.Cu) (net 23) (tstamp 61816020) (status 20))
(segment (start 75.725 62.055) (end 80.185 62.055) (width 0.18) (layer F.Cu) (net 22) (tstamp 61816017) (status 10))
(segment (start 80.185 62.055) (end 81.28 60.96) (width 0.18) (layer F.Cu) (net 22) (tstamp 61816021) (status 20))
(segment (start 80.185 62.405) (end 81.28 63.5) (width 0.18) (layer F.Cu) (net 21) (tstamp 6181601D) (status 20))
(segment (start 75.725 62.405) (end 80.185 62.405) (width 0.18) (layer F.Cu) (net 21) (tstamp 6181602F) (status 10))
(segment (start 77.995 62.755) (end 81.28 66.04) (width 0.18) (layer F.Cu) (net 20) (tstamp 61816015) (status 20))
(segment (start 75.725 62.755) (end 77.995 62.755) (width 0.18) (layer F.Cu) (net 20) (tstamp 61816034) (status 10))
(segment (start 81.28 67.564) (end 81.28 68.58) (width 0.18) (layer F.Cu) (net 19) (tstamp 61816023) (status 20))
(segment (start 76.821 63.105) (end 81.28 67.564) (width 0.18) (layer F.Cu) (net 19) (tstamp 61816036))
(segment (start 75.725 63.105) (end 76.821 63.105) (width 0.18) (layer F.Cu) (net 19) (tstamp 6181603E) (status 10))
(segment (start 80.01 69.85) (end 81.28 71.12) (width 0.18) (layer F.Cu) (net 18) (tstamp 61816027) (status 20))
(segment (start 76.409 63.455) (end 80.01 67.056) (width 0.18) (layer F.Cu) (net 18) (tstamp 6181602A))
(segment (start 80.01 67.056) (end 80.01 69.85) (width 0.18) (layer F.Cu) (net 18) (tstamp 61816033))
(segment (start 75.725 63.455) (end 76.409 63.455) (width 0.18) (layer F.Cu) (net 18) (tstamp 61816035) (status 10))
(segment (start 79.248 66.992398) (end 79.248 71.628) (width 0.18) (layer F.Cu) (net 17) (tstamp 61816028))
(segment (start 79.248 71.628) (end 81.28 73.66) (width 0.18) (layer F.Cu) (net 17) (tstamp 61816029) (status 20))
(segment (start 76.060602 63.805) (end 79.248 66.992398) (width 0.18) (layer F.Cu) (net 17) (tstamp 6181602D))
(segment (start 75.725 63.805) (end 76.060602 63.805) (width 0.18) (layer F.Cu) (net 17) (tstamp 6181603C) (status 10))
(segment (start 78.486 73.406) (end 81.28 76.2) (width 0.18) (layer F.Cu) (net 16) (tstamp 61816014) (status 20))
(segment (start 75.725 64.155) (end 78.486 66.916) (width 0.18) (layer F.Cu) (net 16) (tstamp 61816016) (status 10))
(segment (start 78.486 66.916) (end 78.486 73.406) (width 0.18) (layer F.Cu) (net 16) (tstamp 61816018))
(segment (start 77.724 66.909) (end 77.724 75.184) (width 0.18) (layer F.Cu) (net 15) (tstamp 6181602E))
(segment (start 77.724 75.184) (end 81.28 78.74) (width 0.18) (layer F.Cu) (net 15) (tstamp 61816031) (status 20))
(segment (start 75.675 64.86) (end 77.724 66.909) (width 0.18) (layer F.Cu) (net 15) (tstamp 6181603F) (status 10))
(segment (start 72.136 66.909) (end 72.136 75.184) (width 0.18) (layer F.Cu) (net 1))
(segment (start 74.185 64.86) (end 72.136 66.909) (width 0.18) (layer F.Cu) (net 1) (status 10))
(segment (start 72.136 75.184) (end 68.58 78.74) (width 0.18) (layer F.Cu) (net 1) (status 20))
(segment (start 74.135 64.155) (end 71.374 66.916) (width 0.18) (layer F.Cu) (net 2) (status 10))
(segment (start 71.374 73.406) (end 68.58 76.2) (width 0.18) (layer F.Cu) (net 2) (status 20))
(segment (start 71.374 66.916) (end 71.374 73.406) (width 0.18) (layer F.Cu) (net 2))
(segment (start 73.863 63.805) (end 70.612 67.056) (width 0.18) (layer F.Cu) (net 3))
(segment (start 70.612 71.628) (end 68.58 73.66) (width 0.18) (layer F.Cu) (net 3) (status 20))
(segment (start 70.612 67.056) (end 70.612 71.628) (width 0.18) (layer F.Cu) (net 3))
(segment (start 74.135 63.805) (end 73.863 63.805) (width 0.18) (layer F.Cu) (net 3) (status 10))
(segment (start 73.451 63.455) (end 69.85 67.056) (width 0.18) (layer F.Cu) (net 4))
(segment (start 69.85 67.056) (end 69.85 69.85) (width 0.18) (layer F.Cu) (net 4))
(segment (start 74.135 63.455) (end 73.451 63.455) (width 0.18) (layer F.Cu) (net 4) (status 10))
(segment (start 69.85 69.85) (end 68.58 71.12) (width 0.18) (layer F.Cu) (net 4) (status 20))
(segment (start 74.135 63.105) (end 73.039 63.105) (width 0.18) (layer F.Cu) (net 5) (status 10))
(segment (start 73.039 63.105) (end 68.58 67.564) (width 0.18) (layer F.Cu) (net 5))
(segment (start 68.58 67.564) (end 68.58 68.58) (width 0.18) (layer F.Cu) (net 5) (status 20))
(segment (start 71.865 62.755) (end 68.58 66.04) (width 0.18) (layer F.Cu) (net 6) (status 20))
(segment (start 74.135 62.755) (end 71.865 62.755) (width 0.18) (layer F.Cu) (net 6) (status 10))
(segment (start 69.675 62.405) (end 68.58 63.5) (width 0.18) (layer F.Cu) (net 7) (status 20))
(segment (start 74.135 62.405) (end 69.675 62.405) (width 0.18) (layer F.Cu) (net 7) (status 10))
(segment (start 69.675 62.055) (end 68.58 60.96) (width 0.18) (layer F.Cu) (net 8) (status 20))
(segment (start 74.135 62.055) (end 69.675 62.055) (width 0.18) (layer F.Cu) (net 8) (status 10))
(segment (start 71.865 61.705) (end 68.58 58.42) (width 0.18) (layer F.Cu) (net 9) (status 20))
(segment (start 74.135 61.705) (end 71.865 61.705) (width 0.18) (layer F.Cu) (net 9) (status 10))
(segment (start 68.58 56.896) (end 68.58 55.88) (width 0.18) (layer F.Cu) (net 10) (status 20))
(segment (start 73.039 61.355) (end 68.58 56.896) (width 0.18) (layer F.Cu) (net 10))
(segment (start 74.135 61.355) (end 73.039 61.355) (width 0.18) (layer F.Cu) (net 10) (status 10))
(segment (start 69.85 54.61) (end 68.58 53.34) (width 0.18) (layer F.Cu) (net 11) (status 20))
(segment (start 69.85 57.404) (end 69.85 54.61) (width 0.18) (layer F.Cu) (net 11))
(segment (start 73.451 61.005) (end 69.85 57.404) (width 0.18) (layer F.Cu) (net 11))
(segment (start 74.135 61.005) (end 73.451 61.005) (width 0.18) (layer F.Cu) (net 11) (status 10))
(segment (start 70.612 52.832) (end 68.58 50.8) (width 0.18) (layer F.Cu) (net 12) (status 20))
(segment (start 70.612 57.467602) (end 70.612 52.832) (width 0.18) (layer F.Cu) (net 12))
(segment (start 73.799398 60.655) (end 70.612 57.467602) (width 0.18) (layer F.Cu) (net 12))
(segment (start 74.135 60.655) (end 73.799398 60.655) (width 0.18) (layer F.Cu) (net 12) (status 10))
(segment (start 71.374 51.054) (end 68.58 48.26) (width 0.18) (layer F.Cu) (net 13) (status 20))
(segment (start 71.374 57.544) (end 71.374 51.054) (width 0.18) (layer F.Cu) (net 13))
(segment (start 74.135 60.305) (end 71.374 57.544) (width 0.18) (layer F.Cu) (net 13) (status 10))
(segment (start 72.136 49.276) (end 68.58 45.72) (width 0.18) (layer F.Cu) (net 14) (status 20))
(segment (start 72.136 57.551) (end 72.136 49.276) (width 0.18) (layer F.Cu) (net 14))
(segment (start 74.185 59.6) (end 72.136 57.551) (width 0.18) (layer F.Cu) (net 14) (status 10))
)
| KiCad | 4 | ccwanggl/smartknob | electronics/BM28B0.6-24DSBreakout/BM28B0.6-24DSBreakout.kicad_pcb | [
"Apache-2.0"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.spark.examples.ml;
import org.apache.spark.sql.SparkSession;
// $example on$
import java.util.Arrays;
import java.util.List;
import org.apache.spark.ml.feature.BucketedRandomProjectionLSH;
import org.apache.spark.ml.feature.BucketedRandomProjectionLSHModel;
import org.apache.spark.ml.linalg.Vector;
import org.apache.spark.ml.linalg.Vectors;
import org.apache.spark.ml.linalg.VectorUDT;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.RowFactory;
import org.apache.spark.sql.types.DataTypes;
import org.apache.spark.sql.types.Metadata;
import org.apache.spark.sql.types.StructField;
import org.apache.spark.sql.types.StructType;
import static org.apache.spark.sql.functions.col;
// $example off$
/**
* An example demonstrating BucketedRandomProjectionLSH.
* Run with:
* bin/run-example ml.JavaBucketedRandomProjectionLSHExample
*/
public class JavaBucketedRandomProjectionLSHExample {
public static void main(String[] args) {
SparkSession spark = SparkSession
.builder()
.appName("JavaBucketedRandomProjectionLSHExample")
.getOrCreate();
// $example on$
List<Row> dataA = Arrays.asList(
RowFactory.create(0, Vectors.dense(1.0, 1.0)),
RowFactory.create(1, Vectors.dense(1.0, -1.0)),
RowFactory.create(2, Vectors.dense(-1.0, -1.0)),
RowFactory.create(3, Vectors.dense(-1.0, 1.0))
);
List<Row> dataB = Arrays.asList(
RowFactory.create(4, Vectors.dense(1.0, 0.0)),
RowFactory.create(5, Vectors.dense(-1.0, 0.0)),
RowFactory.create(6, Vectors.dense(0.0, 1.0)),
RowFactory.create(7, Vectors.dense(0.0, -1.0))
);
StructType schema = new StructType(new StructField[]{
new StructField("id", DataTypes.IntegerType, false, Metadata.empty()),
new StructField("features", new VectorUDT(), false, Metadata.empty())
});
Dataset<Row> dfA = spark.createDataFrame(dataA, schema);
Dataset<Row> dfB = spark.createDataFrame(dataB, schema);
Vector key = Vectors.dense(1.0, 0.0);
BucketedRandomProjectionLSH mh = new BucketedRandomProjectionLSH()
.setBucketLength(2.0)
.setNumHashTables(3)
.setInputCol("features")
.setOutputCol("hashes");
BucketedRandomProjectionLSHModel model = mh.fit(dfA);
// Feature Transformation
System.out.println("The hashed dataset where hashed values are stored in the column 'hashes':");
model.transform(dfA).show();
// Compute the locality sensitive hashes for the input rows, then perform approximate
// similarity join.
// We could avoid computing hashes by passing in the already-transformed dataset, e.g.
// `model.approxSimilarityJoin(transformedA, transformedB, 1.5)`
System.out.println("Approximately joining dfA and dfB on distance smaller than 1.5:");
model.approxSimilarityJoin(dfA, dfB, 1.5, "EuclideanDistance")
.select(col("datasetA.id").alias("idA"),
col("datasetB.id").alias("idB"),
col("EuclideanDistance")).show();
// Compute the locality sensitive hashes for the input rows, then perform approximate nearest
// neighbor search.
// We could avoid computing hashes by passing in the already-transformed dataset, e.g.
// `model.approxNearestNeighbors(transformedA, key, 2)`
System.out.println("Approximately searching dfA for 2 nearest neighbors of the key:");
model.approxNearestNeighbors(dfA, key, 2).show();
// $example off$
spark.stop();
}
}
| Java | 5 | OlegPt/spark | examples/src/main/java/org/apache/spark/examples/ml/JavaBucketedRandomProjectionLSHExample.java | [
"Apache-2.0"
] |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>reveal.js - Test Plugins</title>
<link rel="stylesheet" href="../dist/reveal.css">
<link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
<script src="../node_modules/qunit/qunit/qunit.js"></script>
</head>
<body style="overflow: auto;">
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<div class="reveal" style="display: none;">
<div class="slides">
<section>Slide content</section>
</div>
</div>
<script src="../dist/reveal.js"></script>
<script>
QUnit.module( 'Plugins' );
var initCounter = { PluginB: 0, PluginC: 0, PluginD: 0 };
// Plugin with no init method
var PluginA = { id: 'PluginA' };
// Plugin with init method
var PluginB = { id: 'PluginB', init: function() {
initCounter['PluginB'] += 1;
} };
// Async plugin with init method
var PluginC = { id: 'PluginC', init: function() {
return new Promise(function( resolve ) {
setTimeout( () => {
initCounter['PluginC'] += 1;
resolve();
}, 1000 );
});
} };
// Plugin initialized after reveal.js is ready
var PluginD = { id: 'PluginD', init: function() {
initCounter['PluginD'] += 1;
} };
var PluginE = { id: 'PluginE' };
var reveal = new Reveal( document.querySelector( '.reveal' ), {
plugins: [ PluginA ]
} );
reveal.registerPlugin( PluginB );
reveal.registerPlugin( PluginC );
reveal.initialize();
QUnit.test( 'Can initialize synchronously', function( assert ) {
assert.strictEqual( initCounter['PluginB'], 1 );
reveal.registerPlugin( PluginB );
assert.strictEqual( initCounter['PluginB'], 1, 'prevents duplicate registration' );
});
QUnit.test( 'Can initialize asynchronously', function( assert ) {
assert.expect( 3 );
var done = assert.async( 2 );
assert.strictEqual( initCounter['PluginC'], 0, 'async plugin not immediately initialized' );
reveal.on( 'ready', function() {
assert.strictEqual( initCounter['PluginC'], 1, 'finsihed initializing when reveal.js dispatches "ready"' );
done();
reveal.registerPlugin( PluginD );
assert.strictEqual( initCounter['PluginD'], 1, 'plugin registered after reveal.js is ready still initiailizes' );
done();
});
} );
QUnit.test( 'Can check if plugin is registered', function( assert ) {
assert.strictEqual( reveal.hasPlugin( 'PluginA' ), true );
assert.strictEqual( reveal.hasPlugin( 'PluginE' ), false );
reveal.registerPlugin( PluginE );
assert.strictEqual( reveal.hasPlugin( 'PluginE' ), true );
} );
QUnit.test( 'Can retrieve plugin instance', function( assert ) {
assert.strictEqual( reveal.getPlugin( 'PluginB' ), PluginB );
} );
</script>
</body>
</html>
| HTML | 5 | arthurw1/reveal.js | test/test-plugins.html | [
"MIT"
] |
{% assign nextprev__item = site.data.sitenav_index[include.path] %}
{% if include.top %}
{% assign nextprev__top = include.top %}
{% else %}
{% assign nextprev__top = "/" %}
{% endif %}
{% capture nextprev__top_length %}{{ nextprev__top | size }}{% endcapture %}
{% assign nextprev__prev = nextprev__item.prev %}
{% assign nextprev__next = nextprev__item.next %}
{% capture nextprev__next_prefix %}{{ nextprev__next.url | truncate:nextprev__top_length,'' }}{% endcapture %}
{% capture nextprev__prev_prefix %}{{ nextprev__prev.url | truncate:nextprev__top_length,'' }}{% endcapture %}
<nav class="article-nav">
{% if nextprev__prev and nextprev__prev_prefix == nextprev__top %}
<a href="{{ site.baseurl }}{{ nextprev__prev.page.url | replace:'index.html','' }}" class="article-nav-link article-nav-link--prev">
<p class="article-nav-count">{{ nextprev__prev.page.title }}</p>
{% if nextprev__prev.page.description %}
<p class="article-nav-description">{{ nextprev__prev.page.description }}</p>
{% endif %}
</a>
{% else %}
<span class="article-nav-link"></span>
{% endif %}
{% if nextprev__next and nextprev__next_prefix == nextprev__top %}
<a href="{{ site.baseurl }}{{ nextprev__next.url | replace:'index.html','' }}" class="article-nav-link article-nav-link--next">
<p class="article-nav-count">{{ nextprev__next.page.title }}</p>
{% if nextprev__next.page.description %}
<p class="article-nav-description">{{ nextprev__next.page.description }}</p>
{% endif %}
</a>
{% else %}
<span class="article-nav-link"></span>
{% endif %}
</nav>
| Liquid | 3 | enterstudio/spfjs | web/includes/nextprev.liquid | [
"MIT"
] |
#!/usr/bin/perl
# Simple script to generate a 302 HTTP redirect to a page that triggers a
# navigation back (only if POST is used).
use CGI;
$query = new CGI;
$method = $query->request_method();
if ($method eq "POST") {
print "Status: 302 Moved Temporarily\r\n";
print "Location: top-go-back.html\r\n";
print "\r\n";
} else {
print "Status: 405 Method not allowed\r\n";
print "Content-type: text/plain\r\n";
print "\r\n";
print "This should only be requested via POST ($method was used)."
}
| Perl | 4 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/navigation/resources/redirect-to-go-back.pl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
class(x : 0) { this }
a : empty'i32
b : a?? as string
c : empty'class
d : c??.x as string
console.writeLine(b)
console.writeLine(d) | Objective-J | 3 | justinmann/sj | tests/option7.sj | [
"Apache-2.0"
] |
Copyright (C) 2013-2014, by Bill Burdick, Roy Riggs, Tiny Concepts, TEAM CTHULHU: http://www.teamcthulhu.com/
[Licensed with ZLIB License](../LICENSE)
Leisure integration for environment
root = require '15-base'
{
lazy,
resolve,
} = root
{
define,
} = require '16-ast'
{
makeMonad,
_true,
} = require '17-runtime'
{
addDataAfter,
getDataNamed,
setDataNamed,
} = require '23-collaborate'
{
toggleLeisureBar,
} = require '24-orgSupport'
_ = require 'lodash.min'
lz = lazy
rz = resolve
define 'serverIncrement', ((path)->(amount)->
makeMonad (env, cont)->
Meteor.call 'incrementField', root.currentDocument.leisure.name, rz(path), rz(amount), (err, res)->
cont res?.error ? res
), 2
define 'serverAppend', ((path)->(item)->
makeMonad (env, cont)->
Meteor.call 'appendToField', root.currentDocument.leisure.name, rz(path), rz(item), (err, res)->
cont res?.error ? res
), 2
define 'addDataAfter', (id)->(value)->(attrLine)->
makeMonad (env, cont)->
cont addDataAfter (rz id), (rz value), (rz attrLine)
define 'addNamedDataAfter', (name)->(id)->(value)->(attrLine)->
makeMonad (env, cont)->
cont addDataAfter (rz id), (rz value), (rz attrLine), null, rz name
define 'getBaseDataNamed', (name)->
makeMonad (env, cont)-> cont getDataNamed rz name
define 'setBaseDataNamed', (name)->(value)->
makeMonad (env, cont)->
setDataNamed rz(name), rz(value)
cont _true
define 'toggleLeisureBar', makeMonad (env, cont)->
toggleLeisureBar()
cont _true
| Literate CoffeeScript | 3 | zot/Leisure | METEOR-OLD/client/31-leisure-support.litcoffee | [
"Zlib"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime");
var _default = (0, _createSvgIcon.default)([/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M13.51 5h-3.02l-.6 2h4.22zm1.2 4H9.29l-.6 2h6.62zm1.2 4H8.09l-.6 2H4v5h5v-5h6v5h5v-5h-3.49z",
opacity: ".3"
}, "0"), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M20 11v2h-2L15 3V1h-2v2h-2.03V1h-2v2.12L6 13H4v-2H2v11h9v-5h2v5h9V11h-2zm-9.51-6h3.02l.6 2H9.89l.6-2zm-1.2 4h5.42l.6 2H8.69l.6-2zM20 20h-5v-5H9v5H4v-5h3.49l.6-2h7.82l.6 2H20v5z"
}, "1")], 'TempleHinduTwoTone');
exports.default = _default; | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/TempleHinduTwoTone.js | [
"MIT"
] |
#ifndef JEMALLOC_INTERNAL_ARENA_INLINES_A_H
#define JEMALLOC_INTERNAL_ARENA_INLINES_A_H
static inline unsigned
arena_ind_get(const arena_t *arena) {
return base_ind_get(arena->base);
}
static inline void
arena_internal_add(arena_t *arena, size_t size) {
atomic_fetch_add_zu(&arena->stats.internal, size, ATOMIC_RELAXED);
}
static inline void
arena_internal_sub(arena_t *arena, size_t size) {
atomic_fetch_sub_zu(&arena->stats.internal, size, ATOMIC_RELAXED);
}
static inline size_t
arena_internal_get(arena_t *arena) {
return atomic_load_zu(&arena->stats.internal, ATOMIC_RELAXED);
}
static inline bool
arena_prof_accum(tsdn_t *tsdn, arena_t *arena, uint64_t accumbytes) {
cassert(config_prof);
if (likely(prof_interval == 0 || !prof_active_get_unlocked())) {
return false;
}
return prof_accum_add(tsdn, &arena->prof_accum, accumbytes);
}
static inline void
percpu_arena_update(tsd_t *tsd, unsigned cpu) {
assert(have_percpu_arena);
arena_t *oldarena = tsd_arena_get(tsd);
assert(oldarena != NULL);
unsigned oldind = arena_ind_get(oldarena);
if (oldind != cpu) {
unsigned newind = cpu;
arena_t *newarena = arena_get(tsd_tsdn(tsd), newind, true);
assert(newarena != NULL);
/* Set new arena/tcache associations. */
arena_migrate(tsd, oldind, newind);
tcache_t *tcache = tcache_get(tsd);
if (tcache != NULL) {
tcache_arena_reassociate(tsd_tsdn(tsd), tcache,
newarena);
}
}
}
#endif /* JEMALLOC_INTERNAL_ARENA_INLINES_A_H */
| C | 4 | zh1029/redis | deps/jemalloc/include/jemalloc/internal/arena_inlines_a.h | [
"BSD-3-Clause"
] |
#tag Class
Protected Class AVCaptureDeviceInput
Inherits AVFoundation.AVCaptureInput
#tag Method, Flags = &h21
Private Shared Function ClassRef() As Ptr
static ref as ptr = NSClassFromString("AVCaptureDeviceInput")
return ref
End Function
#tag EndMethod
#tag Method, Flags = &h0
Sub Constructor(device as AVCaptureDevice, byref outError as NSError)
declare function initWithDevice_ lib AVFoundationLib selector "initWithDevice:error:" (obj_id as ptr, device as ptr, byref outError as ptr) as ptr
dim err as ptr
Super.Constructor( initWithDevice_(Allocate(ClassRef), device, err) )
if err <> nil then
outError = new Foundation.NSError(err)
end if
needsExtraRelease = True
End Sub
#tag EndMethod
#tag Method, Flags = &h0
Shared Function DeviceInputWithDeviceError(device as AVCaptureDevice, byref outError as NSError) As AVFoundation.AVCaptureDeviceInput
declare function deviceInputWithDevice_ lib AVFoundationLib selector "deviceInputWithDevice:error:" (clsRef as ptr, device as ptr, byref outError as ptr) as ptr
dim err as ptr
dim result as new AVCaptureDeviceInput(deviceInputWithDevice_(ClassRef, device, err))
if err <> nil then
outError = new NSError(err)
end if
Return result
End Function
#tag EndMethod
#tag ComputedProperty, Flags = &h0
#tag Getter
Get
declare function device_ lib AVFoundationLib selector "device" (obj_id as ptr) as ptr
Return new AVCaptureDevice(device_(self))
End Get
#tag EndGetter
device As AVCaptureDevice
#tag EndComputedProperty
#tag ViewBehavior
#tag ViewProperty
Name="Index"
Visible=true
Group="ID"
InitialValue="-2147483648"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Left"
Visible=true
Group="Position"
InitialValue="0"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Name"
Visible=true
Group="ID"
InitialValue=""
Type="String"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Super"
Visible=true
Group="ID"
InitialValue=""
Type="String"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Top"
Visible=true
Group="Position"
InitialValue="0"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag EndViewBehavior
End Class
#tag EndClass
| Xojo | 3 | kingj5/iOSKit | Modules/AVFoundation/AVCaptureDeviceInput.xojo_code | [
"MIT"
] |
CREATE TABLE `q_alarm_message_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`host_id` int(11) unsigned DEFAULT NULL,
`phone` char(11) NOT NULL,
`email` varchar(256) DEFAULT NULL,
`title` varchar(180) DEFAULT NULL,
`content` varchar(2000) NOT NULL,
`content_md5` char(32) DEFAULT NULL,
`type` tinyint(1) unsigned NOT NULL DEFAULT '0',
`alarm_type` varchar(128) DEFAULT NULL,
`status` tinyint(1) unsigned NOT NULL DEFAULT '1',
`response_code` varchar(256) NOT NULL DEFAULT '0',
`create_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`read_status` tinyint(1) unsigned DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | SQL | 3 | WizardXiao/tidb | br/tests/lightning_tool_241/data/qyjc.q_alarm_message_log-schema.sql | [
"Apache-2.0"
] |
=head1 NAME
SDL::Color - Parrot class representing colors in Parrot SDL
=head1 SYNOPSIS
load_bytecode 'SDL/Color.pir'
# create a new SDL::Color object
.local pmc color
color = new ['SDL'; 'Color']
# set the color values; this one's blue
color.'init'( 'r' => 0, 'g' => 0, 'b' => 255 )
# fetch the color value to pass directly to SDL functions
# (you should never need to do this if the rest of the library works right)
.local int color_value
color_value = color.'color'()
=head1 DESCRIPTION
SDL::Color provides a very thin object layer over colors as used in SDL. For
the most part, it's just a constructor and a convenient way to pass things
around. In the future, it may grow more complex if you do odd things that
require depth conversions. They make my head hurt now though.
This object represents a single color of, we'll say, 24-bit depth -- eight bits
per red, green, and blue component. This may not match your requirements
exactly. Per my understanding of SDL, though, it'll do the conversions for you
automatically. Patches welcome.
=head1 METHODS
SDL::Color objects have the following methods:
=over 4
=cut
.namespace [ 'SDL'; 'Color' ]
.sub _initialize :load
.local pmc color_class
newclass color_class, ['SDL'; 'Color']
addattribute color_class, 'color'
addattribute color_class, 'r'
addattribute color_class, 'g'
addattribute color_class, 'b'
.end
=item _new( 'r' => xxx, 'g' => xxx, 'b' => xxx )
Initialize the new object with the necessary arguments, key-value pairs where:
=over 4
=item C<r>
An integer from 0 to 255 representing the amount of red in the color, where 0
is none and 255 is the maximum possible.
=item C<g>
An integer from 0 to 255 representing the amount of green in the color, where 0
is none and 255 is the maximum possible.
=item C<b>
An integer from 0 to 255 representing the amount of blue in the color, where 0
is none and 255 is the maximum possible.
=back
=cut
.sub 'init' :method
.param int red :named( 'r' )
.param int green :named( 'g' )
.param int blue :named( 'b' )
.local pmc fetch_layout
get_hll_global fetch_layout, ['SDL'; 'NCI'], 'fetch_layout'
.local pmc layout
layout = fetch_layout( 'Color' )
.local pmc color
color = new 'ManagedStruct', layout
color['r'] = red
color['g'] = green
color['b'] = blue
setattribute self, 'color', color
color = new 'Integer'
color = red
setattribute self, 'r', color
color = new 'Integer'
color = green
setattribute self, 'g', color
color = new 'Integer'
color = blue
setattribute self, 'b', color
.return()
.end
.sub get_integer :vtable :method
.local pmc color
color = self.'color'()
.local int color_int
.local int component
component = color['r']
component <<= 16
color_int = component
component = color['g']
component <<= 8
color_int += component
component = color['b']
color_int += component
.return( color_int )
.end
=item color()
Returns a PMC representing the actual color value passed to the underlying SDL
functions. You should never need to use this directly, unless you need to call
those functions directly.
=cut
.sub color :method
.local pmc color
getattribute color, self, 'color'
.return( color )
.end
=item color_for_surface( surface )
Returns an integer representing the current color appropriate for the given
SDL::Surface C<surface>,
As far as I understand things right now, you don't need to call this directly
unless you're manipulating raw pixels and need the boost of speed from
preconverting colors. In that case, you probably I<do> need the speed boost.
The name of this method may change.
=cut
.sub color_for_surface :method
.param pmc surface
.local pmc component
.local int color
.local int loss
.local int shift_bits
color = 0
# red
getattribute component, self, 'r'
.local int red
red = component
(loss, shift_bits) = surface.'convert_red'()
shr red, loss
shl red, shift_bits
add color, red
# green
getattribute component, self, 'g'
(loss, shift_bits) = surface.'convert_green'()
.local int green
green = component
shr green, loss
shl green, shift_bits
add color, green
# blue
getattribute component, self, 'b'
(loss, shift_bits) = surface.'convert_blue'()
.local int blue
blue = component
shr blue, loss
shl blue, shift_bits
add color, blue
.return( color )
.end
=back
=head1 AUTHOR
Please send patches, feedback, and suggestions to the Perl 6 Internals mailing
list.
=head1 COPYRIGHT
Copyright (C) 2004-2008, Parrot Foundation.
=cut
# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
| Parrot Internal Representation | 5 | winnit-myself/Wifie | runtime/parrot/library/SDL/Color.pir | [
"Artistic-2.0"
] |
var x;
(1, x)=0; | TypeScript | 0 | nilamjadhav/TypeScript | tests/cases/compiler/assignmentToParenthesizedExpression1.ts | [
"Apache-2.0"
] |
---
layout: post
title: Basics
next: basics2.textile
---
This lesson covers:
* "About this class":#overview
* "expressions":#expressions
* "values":#val
* "functions":#functions
* "classes":#class
* "basic inheritance":#extends
* "traits":#trait
* "types":#types
h2(#overview). About this class
The first few weeks will cover basic syntax and concepts, then we'll start to open it up with more exercises.
Some examples will be given as if written in the interpreter and others as if written in a source file.
Having an interpreter available makes it easy to explore a problem space.
h3. Why Scala?
* Expressive
** First-class functions
** Closures
* Concise
** Type inference
** Literal syntax for function creation
* Java interoperability
** Can reuse java libraries
** Can reuse java tools
** No performance penalty
h3. How Scala?
* Compiles to java bytecode
* Works with any standard JVM
** Or even some non-standard JVMs like Dalvik
** Scala compiler written by author of Java compiler
h3. Think Scala
Scala is not just a nicer Java. You should learn it with a fresh mind- you will get more out of these classes.
h3. Get Scala
Scala School's examples work with "Scala 2.9.x":https://www.scala-lang.org/download/2.9.3.html . If you use Scala 2.10.x or newer, _most_ examples work OK, but not all.
h3. Start the Interpreter
Start the included <code>sbt console</code>.
<pre>
$ sbt console
[...]
Welcome to Scala version 2.8.0.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_20).
Type in expressions to have them evaluated.
Type :help for more information.
scala>
</pre>
h2(#expressions). Expressions
<pre>
scala> 1 + 1
res0: Int = 2
</pre>
res0 is an automatically created value name given by the interpreter to the result of your expression. It has the type Int and contains the Integer 2.
(Almost) everything in Scala is an expression.
h2(#val). Values
You can give the result of an expression a name.
<pre>
scala> val two = 1 + 1
two: Int = 2
</pre>
You cannot change the binding to a val.
h3. Variables
If you need to change the binding, you can use a <code>var</code> instead.
<pre>
scala> var name = "steve"
name: java.lang.String = steve
scala> name = "marius"
name: java.lang.String = marius
</pre>
h2(#functions). Functions
You can create functions with def.
<pre>
scala> def addOne(m: Int): Int = m + 1
addOne: (m: Int)Int
</pre>
In Scala, you need to specify the type signature for function parameters. The interpreter happily repeats the type signature back to you.
<pre>
scala> val three = addOne(2)
three: Int = 3
</pre>
You can leave off parens on functions with no arguments.
<pre>
scala> def three() = 1 + 2
three: ()Int
scala> three()
res2: Int = 3
scala> three
res3: Int = 3
</pre>
h3. Anonymous Functions
You can create anonymous functions.
<pre>
scala> (x: Int) => x + 1
res2: (Int) => Int = <function1>
</pre>
This function adds 1 to an Int named x.
<pre>
scala> res2(1)
res3: Int = 2
</pre>
You can pass anonymous functions around or save them into vals.
<pre>
scala> val addOne = (x: Int) => x + 1
addOne: (Int) => Int = <function1>
scala> addOne(1)
res4: Int = 2
</pre>
If your function is made up of many expressions, you can use {} to give yourself some breathing room.
<pre>
def timesTwo(i: Int): Int = {
println("hello world")
i * 2
}
</pre>
This is also true of an anonymous function.
<pre>
scala> { i: Int =>
println("hello world")
i * 2
}
res0: (Int) => Int = <function1>
</pre>
You will see this syntax often used when passing an anonymous function as an argument.
h3. Partial application
You can partially apply a function with an underscore, which gives you another function. Scala uses the underscore to mean different things in different contexts, but you can usually think of it as an unnamed magical wildcard. In the context of <code>{ _ + 2 }</code> it means an unnamed parameter. You can use it like so:
<pre>
scala> def adder(m: Int, n: Int) = m + n
adder: (m: Int,n: Int)Int
</pre>
<pre>
scala> val add2 = adder(2, _:Int)
add2: (Int) => Int = <function1>
scala> add2(3)
res50: Int = 5
</pre>
You can partially apply any argument in the argument list, not just the last one.
h3. Curried functions
Sometimes it makes sense to let people apply some arguments to your function now and others later.
Here's an example of a function that lets you build multipliers of two numbers together. At one call site, you'll decide which is the multiplier and at a later call site, you'll choose a multiplicand.
<pre>
scala> def multiply(m: Int)(n: Int): Int = m * n
multiply: (m: Int)(n: Int)Int
</pre>
You can call it directly with both arguments.
<pre>
scala> multiply(2)(3)
res0: Int = 6
</pre>
You can fill in the first parameter and partially apply the second.
<pre>
scala> val timesTwo = multiply(2) _
timesTwo: (Int) => Int = <function1>
scala> timesTwo(3)
res1: Int = 6
</pre>
You can take any function of multiple arguments and curry it. Let's try with our earlier <code>adder</code>
<pre>
scala> val curriedAdd = (adder _).curried
curriedAdd: Int => (Int => Int) = <function1>
scala> val addTwo = curriedAdd(2)
addTwo: Int => Int = <function1>
scala> addTwo(4)
res22: Int = 6
</pre>
h3. Variable length arguments
There is a special syntax for methods that can take parameters of a repeated type. To apply String's <code>capitalize</code> function to several strings, you might write:
<pre>
def capitalizeAll(args: String*) = {
args.map { arg =>
arg.capitalize
}
}
scala> capitalizeAll("rarity", "applejack")
res2: Seq[String] = ArrayBuffer(Rarity, Applejack)
</pre>
h2(#class). Classes
<pre>
scala> class Calculator {
| val brand: String = "HP"
| def add(m: Int, n: Int): Int = m + n
| }
defined class Calculator
scala> val calc = new Calculator
calc: Calculator = Calculator@e75a11
scala> calc.add(1, 2)
res1: Int = 3
scala> calc.brand
res2: String = "HP"
</pre>
Contained are examples defining methods with def and fields with val. Methods are just functions that can access the state of the class.
h3. Constructor
Constructors aren't special methods, they are the code outside of method definitions in your class. Let's extend our Calculator example to take a constructor argument and use it to initialize internal state.
<pre>
class Calculator(brand: String) {
/**
* A constructor.
*/
val color: String = if (brand == "TI") {
"blue"
} else if (brand == "HP") {
"black"
} else {
"white"
}
// An instance method.
def add(m: Int, n: Int): Int = m + n
}
</pre>
Note the two different styles of comments.
You can use the constructor to construct an instance:
<pre>
scala> val calc = new Calculator("HP")
calc: Calculator = Calculator@1e64cc4d
scala> calc.color
res0: String = black
</pre>
h3. Expressions
Our Calculator example gave an example of how Scala is expression-oriented. The value color was bound based on an if/else expression. Scala is highly expression-oriented: most things are expressions rather than statements.
h3. Aside: Functions vs Methods
Functions and methods are largely interchangeable. Because functions and methods are so similar, you might not remember whether that <em>thing</em> you call is a function or a method. When you bump into a difference between methods and functions, it might confuse you.
<pre>
scala> class C {
| var acc = 0
| def minc = { acc += 1 }
| val finc = { () => acc += 1 }
| }
defined class C
scala> val c = new C
c: C = C@1af1bd6
scala> c.minc // calls c.minc()
scala> c.finc // returns the function as a value:
res2: () => Unit = <function0>
</pre>
When you can call one "function" without parentheses but not another, you might think <em>Whoops, I thought I knew how Scala functions worked, but I guess not. Maybe they sometimes need parentheses?</em> You might understand functions, but be using a method.
In practice, you can do great things in Scala while remaining hazy on the difference between methods and functions. If you're new to Scala and read <a href="https://www.google.com/search?q=difference+scala+function+method">explanations of the differences</a>, you might have trouble following them. That doesn't mean you're going to have trouble using Scala. It just means that the difference between functions and methods is subtle enough such that explanations tend to dig into deep parts of the language.
h2(#extends). Inheritance
<pre>
class ScientificCalculator(brand: String) extends Calculator(brand) {
def log(m: Double, base: Double) = math.log(m) / math.log(base)
}
</pre>
*See Also* Effective Scala points out that a <a href="https://twitter.github.com/effectivescala/#Types%20and%20Generics-Type%20aliases">Type alias</a> is better than <code>extends</code> if the subclass isn't actually different from the superclass. A Tour of Scala describes <a href="https://www.scala-lang.org/node/125">Subclassing</a>.
h3. Overloading methods
<pre>
class EvenMoreScientificCalculator(brand: String) extends ScientificCalculator(brand) {
def log(m: Int): Double = log(m, math.exp(1))
}
</pre>
h3. Abstract Classes
You can define an <em>abstract class</em>, a class that defines some methods but does not implement them. Instead, subclasses that extend the abstract class define these methods. You can't create an instance of an abstract class.
<pre>
scala> abstract class Shape {
| def getArea():Int // subclass should define this
| }
defined class Shape
scala> class Circle(r: Int) extends Shape {
| def getArea():Int = { r * r * 3 }
| }
defined class Circle
scala> val s = new Shape
<console>:8: error: class Shape is abstract; cannot be instantiated
val s = new Shape
^
scala> val c = new Circle(2)
c: Circle = Circle@65c0035b
</pre>
h2(#trait). Traits
<code>traits</code> are collections of fields and behaviors that you can extend or mixin to your classes.
<pre>
trait Car {
val brand: String
}
trait Shiny {
val shineRefraction: Int
}
</pre>
<pre>
class BMW extends Car {
val brand = "BMW"
}
</pre>
One class can extend several traits using the <code>with</code> keyword:
<pre>
class BMW extends Car with Shiny {
val brand = "BMW"
val shineRefraction = 12
}
</pre>
*See Also* Effective Scala has opinions about <a href="https://twitter.github.com/effectivescala/#Object oriented programming-Traits">trait</a>.
*When do you want a Trait instead of an Abstract Class?* If you want to define an interface-like type, you might find it difficult to choose between a trait or an abstract class. Either one lets you define a type with some behavior, asking extenders to define some other behavior. Some rules of thumb:
<ul>
<li>Favor using traits. It's handy that a class can extend several traits; a class can extend only one class.
<li>If you need a constructor parameter, use an abstract class. Abstract class constructors can take parameters; trait constructors can't. For example, you can't say <code>trait t(i: Int) {}</code>; the <code>i</code> parameter is illegal.
</ul>
You are not the first person to ask this question. See fuller answers at "stackoverflow:Scala traits vs abstract classes":https://stackoverflow.com/questions/1991042/scala-traits-vs-abstract-classes, "Difference between Abstract Class and Trait":https://stackoverflow.com/questions/2005681/difference-between-abstract-class-and-trait, and "Programming in Scala: To trait, or not to trait?":https://www.artima.com/pins1ed/traits.html#12.7
h2(#types). Types
Earlier, you saw that we defined a function that took an <code>Int</code> which is a type of Number. Functions can also be generic and work on any type. When that occurs, you'll see a type parameter introduced with the square bracket syntax. Here's an example of a Cache of generic Keys and Values.
<pre>
trait Cache[K, V] {
def get(key: K): V
def put(key: K, value: V)
def delete(key: K)
}
</pre>
Methods can also have type parameters introduced.
<pre>
def remove[K](key: K)
</pre>
| Textile | 5 | AstronomiaDev/scala_school | web/basics.textile | [
"Apache-2.0"
] |
<?php
// GENERATED CODE -- DO NOT EDIT!
// Original file comments:
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
namespace Math;
/**
*/
class MathClient extends \Grpc\BaseStub {
/**
* @param string $hostname hostname
* @param array $opts channel options
* @param \Grpc\Channel $channel (optional) re-use channel object
*/
public function __construct($hostname, $opts, $channel = null) {
parent::__construct($hostname, $opts, $channel);
}
/**
* Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient
* and remainder.
* @param \Math\DivArgs $argument input argument
* @param array $metadata metadata
* @param array $options call options
* @return \Grpc\UnaryCall
*/
public function Div(\Math\DivArgs $argument,
$metadata = [], $options = []) {
return $this->_simpleRequest('/math.Math/Div',
$argument,
['\Math\DivReply', 'decode'],
$metadata, $options);
}
/**
* DivMany accepts an arbitrary number of division args from the client stream
* and sends back the results in the reply stream. The stream continues until
* the client closes its end; the server does the same after sending all the
* replies. The stream ends immediately if either end aborts.
* @param array $metadata metadata
* @param array $options call options
* @return \Grpc\BidiStreamingCall
*/
public function DivMany($metadata = [], $options = []) {
return $this->_bidiRequest('/math.Math/DivMany',
['\Math\DivReply','decode'],
$metadata, $options);
}
/**
* Fib generates numbers in the Fibonacci sequence. If FibArgs.limit > 0, Fib
* generates up to limit numbers; otherwise it continues until the call is
* canceled. Unlike Fib above, Fib has no final FibReply.
* @param \Math\FibArgs $argument input argument
* @param array $metadata metadata
* @param array $options call options
* @return \Grpc\ServerStreamingCall
*/
public function Fib(\Math\FibArgs $argument,
$metadata = [], $options = []) {
return $this->_serverStreamRequest('/math.Math/Fib',
$argument,
['\Math\Num', 'decode'],
$metadata, $options);
}
/**
* Sum sums a stream of numbers, returning the final result once the stream
* is closed.
* @param array $metadata metadata
* @param array $options call options
* @return \Grpc\ClientStreamingCall
*/
public function Sum($metadata = [], $options = []) {
return $this->_clientStreamRequest('/math.Math/Sum',
['\Math\Num','decode'],
$metadata, $options);
}
}
| PHP | 4 | arghyadip01/grpc | src/php/tests/generated_code/Math/MathClient.php | [
"Apache-2.0"
] |
<cfsetting enablecfoutputonly=true>
<cfheader name="Server" value="cfml-lucee">
<cfheader name="Content-Type" value="application/json">
<cfoutput>#serializeJSON( { 'message' : 'Hello, World!' } )#</cfoutput> | ColdFusion | 4 | tommilligan/FrameworkBenchmarks | frameworks/CFML/CFML/src/json.cfm | [
"BSD-3-Clause"
] |
.@{layout-prefix-cls}-sider-light {
background: @layout-sider-background-light;
.@{layout-prefix-cls}-sider-trigger {
color: @layout-trigger-color-light;
background: @layout-trigger-background-light;
}
.@{layout-prefix-cls}-sider-zero-width-trigger {
color: @layout-trigger-color-light;
background: @layout-trigger-background-light;
}
}
| Less | 2 | noctis0430-open-source/ant-design-blazor | components/layout/style/light.less | [
"MIT"
] |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "ABI42_0_0RCTSurface.h"
#import "ABI42_0_0RCTSurfaceView+Internal.h"
#import <mutex>
#import <stdatomic.h>
#import "ABI42_0_0RCTAssert.h"
#import "ABI42_0_0RCTBridge+Private.h"
#import "ABI42_0_0RCTBridge.h"
#import "ABI42_0_0RCTShadowView+Layout.h"
#import "ABI42_0_0RCTSurfaceDelegate.h"
#import "ABI42_0_0RCTSurfaceRootShadowView.h"
#import "ABI42_0_0RCTSurfaceRootShadowViewDelegate.h"
#import "ABI42_0_0RCTSurfaceRootView.h"
#import "ABI42_0_0RCTSurfaceView.h"
#import "ABI42_0_0RCTTouchHandler.h"
#import "ABI42_0_0RCTUIManager.h"
#import "ABI42_0_0RCTUIManagerObserverCoordinator.h"
#import "ABI42_0_0RCTUIManagerUtils.h"
@interface ABI42_0_0RCTSurface () <ABI42_0_0RCTSurfaceRootShadowViewDelegate, ABI42_0_0RCTUIManagerObserver>
@end
@implementation ABI42_0_0RCTSurface {
// Immutable
ABI42_0_0RCTBridge *_bridge;
NSString *_moduleName;
NSNumber *_rootViewTag;
// Protected by the `_mutex`
std::mutex _mutex;
ABI42_0_0RCTBridge *_batchedBridge;
ABI42_0_0RCTSurfaceStage _stage;
NSDictionary *_properties;
CGSize _minimumSize;
CGSize _maximumSize;
CGSize _intrinsicSize;
ABI42_0_0RCTUIManagerMountingBlock _mountingBlock;
// The Main thread only
ABI42_0_0RCTSurfaceView *_Nullable _view;
ABI42_0_0RCTTouchHandler *_Nullable _touchHandler;
// Semaphores
dispatch_semaphore_t _rootShadowViewDidStartRenderingSemaphore;
dispatch_semaphore_t _rootShadowViewDidStartLayingOutSemaphore;
dispatch_semaphore_t _uiManagerDidPerformMountingSemaphore;
// Atomics
atomic_bool _waitingForMountingStageOnMainQueue;
}
- (instancetype)initWithBridge:(ABI42_0_0RCTBridge *)bridge
moduleName:(NSString *)moduleName
initialProperties:(NSDictionary *)initialProperties
{
ABI42_0_0RCTAssert(bridge.valid, @"Valid bridge is required to instantiate `ABI42_0_0RCTSurface`.");
if (self = [super init]) {
_bridge = bridge;
_batchedBridge = [_bridge batchedBridge] ?: _bridge;
_moduleName = moduleName;
_properties = [initialProperties copy];
_rootViewTag = ABI42_0_0RCTAllocateRootViewTag();
_rootShadowViewDidStartRenderingSemaphore = dispatch_semaphore_create(0);
_rootShadowViewDidStartLayingOutSemaphore = dispatch_semaphore_create(0);
_uiManagerDidPerformMountingSemaphore = dispatch_semaphore_create(0);
_minimumSize = CGSizeZero;
_maximumSize = CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX);
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(handleBridgeWillLoadJavaScriptNotification:)
name:ABI42_0_0RCTJavaScriptWillStartLoadingNotification
object:_bridge];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(handleBridgeDidLoadJavaScriptNotification:)
name:ABI42_0_0RCTJavaScriptDidLoadNotification
object:_bridge];
_stage = ABI42_0_0RCTSurfaceStageSurfaceDidInitialize;
if (!bridge.loading) {
_stage = _stage | ABI42_0_0RCTSurfaceStageBridgeDidLoad;
}
[_bridge.uiManager.observerCoordinator addObserver:self];
[self _registerRootView];
[self _run];
}
return self;
}
- (void)dealloc
{
[self _stop];
}
#pragma mark - Immutable Properties (no need to enforce synchronization)
- (ABI42_0_0RCTBridge *)bridge
{
return _bridge;
}
- (NSString *)moduleName
{
return _moduleName;
}
- (NSNumber *)rootViewTag
{
return _rootViewTag;
}
#pragma mark - Convenience Internal Thread-Safe Properties
- (ABI42_0_0RCTBridge *)_batchedBridge
{
std::lock_guard<std::mutex> lock(_mutex);
return _batchedBridge;
}
- (ABI42_0_0RCTUIManager *)_uiManager
{
return self._batchedBridge.uiManager;
}
#pragma mark - Main-Threaded Routines
- (ABI42_0_0RCTSurfaceView *)view
{
ABI42_0_0RCTAssertMainQueue();
if (!_view) {
_view = [[ABI42_0_0RCTSurfaceView alloc] initWithSurface:self];
_touchHandler = [[ABI42_0_0RCTTouchHandler alloc] initWithBridge:self.bridge];
[_touchHandler attachToView:_view];
[self _mountRootViewIfNeeded];
}
return _view;
}
- (void)_mountRootViewIfNeeded
{
ABI42_0_0RCTAssertMainQueue();
ABI42_0_0RCTSurfaceView *view = self->_view;
if (!view) {
return;
}
ABI42_0_0RCTSurfaceRootView *rootView = (ABI42_0_0RCTSurfaceRootView *)[self._uiManager viewForABI42_0_0ReactTag:self->_rootViewTag];
if (!rootView) {
return;
}
ABI42_0_0RCTAssert(
[rootView isKindOfClass:[ABI42_0_0RCTSurfaceRootView class]],
@"Received root view is not an instance of `ABI42_0_0RCTSurfaceRootView`.");
if (rootView.superview != view) {
view.rootView = rootView;
}
}
#pragma mark - Bridge Events
- (void)handleBridgeWillLoadJavaScriptNotification:(__unused NSNotification *)notification
{
ABI42_0_0RCTAssertMainQueue();
// Reset states because the bridge is reloading. This is similar to initialization phase.
_stage = ABI42_0_0RCTSurfaceStageSurfaceDidInitialize;
_view = nil;
_touchHandler = nil;
[self _setStage:ABI42_0_0RCTSurfaceStageBridgeDidLoad];
}
- (void)handleBridgeDidLoadJavaScriptNotification:(NSNotification *)notification
{
ABI42_0_0RCTAssertMainQueue();
[self _setStage:ABI42_0_0RCTSurfaceStageModuleDidLoad];
ABI42_0_0RCTBridge *bridge = notification.userInfo[@"bridge"];
BOOL isRerunNeeded = NO;
{
std::lock_guard<std::mutex> lock(_mutex);
if (bridge != _batchedBridge) {
_batchedBridge = bridge;
isRerunNeeded = YES;
}
}
if (isRerunNeeded) {
[self _registerRootView];
[self _run];
}
}
#pragma mark - Stage management
- (ABI42_0_0RCTSurfaceStage)stage
{
std::lock_guard<std::mutex> lock(_mutex);
return _stage;
}
- (void)_setStage:(ABI42_0_0RCTSurfaceStage)stage
{
ABI42_0_0RCTSurfaceStage updatedStage;
{
std::lock_guard<std::mutex> lock(_mutex);
if (_stage & stage) {
return;
}
updatedStage = (ABI42_0_0RCTSurfaceStage)(_stage | stage);
_stage = updatedStage;
}
[self _propagateStageChange:updatedStage];
}
- (void)_propagateStageChange:(ABI42_0_0RCTSurfaceStage)stage
{
// Updating the `view`
ABI42_0_0RCTExecuteOnMainQueue(^{
self->_view.stage = stage;
});
// Notifying the `delegate`
id<ABI42_0_0RCTSurfaceDelegate> delegate = self.delegate;
if ([delegate respondsToSelector:@selector(surface:didChangeStage:)]) {
[delegate surface:self didChangeStage:stage];
}
}
#pragma mark - Properties Management
- (NSDictionary *)properties
{
std::lock_guard<std::mutex> lock(_mutex);
return _properties;
}
- (void)setProperties:(NSDictionary *)properties
{
{
std::lock_guard<std::mutex> lock(_mutex);
if ([properties isEqualToDictionary:_properties]) {
return;
}
_properties = [properties copy];
}
[self _run];
}
#pragma mark - Running
- (void)_run
{
ABI42_0_0RCTBridge *batchedBridge;
NSDictionary *properties;
{
std::lock_guard<std::mutex> lock(_mutex);
batchedBridge = _batchedBridge;
properties = _properties;
}
if (!batchedBridge.valid) {
return;
}
NSDictionary *applicationParameters = @{
@"rootTag" : _rootViewTag,
@"initialProps" : properties,
};
ABI42_0_0RCTLogInfo(@"Running surface %@ (%@)", _moduleName, applicationParameters);
[self mountABI42_0_0ReactComponentWithBridge:batchedBridge moduleName:_moduleName params:applicationParameters];
[self _setStage:ABI42_0_0RCTSurfaceStageSurfaceDidRun];
}
- (void)_stop
{
[self unmountABI42_0_0ReactComponentWithBridge:self._batchedBridge rootViewTag:self->_rootViewTag];
}
- (void)_registerRootView
{
ABI42_0_0RCTBridge *batchedBridge;
CGSize minimumSize;
CGSize maximumSize;
{
std::lock_guard<std::mutex> lock(_mutex);
batchedBridge = _batchedBridge;
minimumSize = _minimumSize;
maximumSize = _maximumSize;
}
ABI42_0_0RCTUIManager *uiManager = batchedBridge.uiManager;
// If we are on the main queue now, we have to proceed synchronously.
// Otherwise, we cannot perform synchronous waiting for some stages later.
(ABI42_0_0RCTIsMainQueue() ? ABI42_0_0RCTUnsafeExecuteOnUIManagerQueueSync : ABI42_0_0RCTExecuteOnUIManagerQueue)(^{
[uiManager registerRootViewTag:self->_rootViewTag];
ABI42_0_0RCTSurfaceRootShadowView *rootShadowView =
(ABI42_0_0RCTSurfaceRootShadowView *)[uiManager shadowViewForABI42_0_0ReactTag:self->_rootViewTag];
ABI42_0_0RCTAssert(
[rootShadowView isKindOfClass:[ABI42_0_0RCTSurfaceRootShadowView class]],
@"Received shadow view is not an instance of `ABI42_0_0RCTSurfaceRootShadowView`.");
[rootShadowView setMinimumSize:minimumSize maximumSize:maximumSize];
rootShadowView.delegate = self;
});
}
#pragma mark - Layout
- (CGSize)sizeThatFitsMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximumSize
{
ABI42_0_0RCTUIManager *uiManager = self._uiManager;
__block CGSize fittingSize;
ABI42_0_0RCTUnsafeExecuteOnUIManagerQueueSync(^{
ABI42_0_0RCTSurfaceRootShadowView *rootShadowView =
(ABI42_0_0RCTSurfaceRootShadowView *)[uiManager shadowViewForABI42_0_0ReactTag:self->_rootViewTag];
ABI42_0_0RCTAssert(
[rootShadowView isKindOfClass:[ABI42_0_0RCTSurfaceRootShadowView class]],
@"Received shadow view is not an instance of `ABI42_0_0RCTSurfaceRootShadowView`.");
fittingSize = [rootShadowView sizeThatFitsMinimumSize:minimumSize maximumSize:maximumSize];
});
return fittingSize;
}
#pragma mark - Size Constraints
- (void)setSize:(CGSize)size
{
[self setMinimumSize:size maximumSize:size];
}
- (void)setMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximumSize
{
{
std::lock_guard<std::mutex> lock(_mutex);
if (CGSizeEqualToSize(minimumSize, _minimumSize) && CGSizeEqualToSize(maximumSize, _maximumSize)) {
return;
}
_maximumSize = maximumSize;
_minimumSize = minimumSize;
}
ABI42_0_0RCTUIManager *uiManager = self._uiManager;
ABI42_0_0RCTUnsafeExecuteOnUIManagerQueueSync(^{
ABI42_0_0RCTSurfaceRootShadowView *rootShadowView =
(ABI42_0_0RCTSurfaceRootShadowView *)[uiManager shadowViewForABI42_0_0ReactTag:self->_rootViewTag];
ABI42_0_0RCTAssert(
[rootShadowView isKindOfClass:[ABI42_0_0RCTSurfaceRootShadowView class]],
@"Received shadow view is not an instance of `ABI42_0_0RCTSurfaceRootShadowView`.");
[rootShadowView setMinimumSize:minimumSize maximumSize:maximumSize];
[uiManager setNeedsLayout];
});
}
- (CGSize)minimumSize
{
std::lock_guard<std::mutex> lock(_mutex);
return _minimumSize;
}
- (CGSize)maximumSize
{
std::lock_guard<std::mutex> lock(_mutex);
return _maximumSize;
}
#pragma mark - intrinsicSize
- (void)setIntrinsicSize:(CGSize)intrinsicSize
{
{
std::lock_guard<std::mutex> lock(_mutex);
if (CGSizeEqualToSize(intrinsicSize, _intrinsicSize)) {
return;
}
_intrinsicSize = intrinsicSize;
}
// Notifying `delegate`
id<ABI42_0_0RCTSurfaceDelegate> delegate = self.delegate;
if ([delegate respondsToSelector:@selector(surface:didChangeIntrinsicSize:)]) {
[delegate surface:self didChangeIntrinsicSize:intrinsicSize];
}
}
- (CGSize)intrinsicSize
{
std::lock_guard<std::mutex> lock(_mutex);
return _intrinsicSize;
}
#pragma mark - Synchronous Waiting
- (BOOL)synchronouslyWaitForStage:(ABI42_0_0RCTSurfaceStage)stage timeout:(NSTimeInterval)timeout
{
if (ABI42_0_0RCTIsUIManagerQueue()) {
ABI42_0_0RCTLogInfo(@"Synchronous waiting is not supported on UIManager queue.");
return NO;
}
if (ABI42_0_0RCTIsMainQueue() && (stage & ABI42_0_0RCTSurfaceStageSurfaceDidInitialMounting)) {
// All main-threaded execution (especially mounting process) has to be
// intercepted, captured and performed synchronously at the end of this method
// right after the semaphore signals.
// Atomic variant of `_waitingForMountingStageOnMainQueue = YES;`
atomic_fetch_or(&_waitingForMountingStageOnMainQueue, 1);
}
dispatch_semaphore_t semaphore;
switch (stage) {
case ABI42_0_0RCTSurfaceStageSurfaceDidInitialLayout:
semaphore = _rootShadowViewDidStartLayingOutSemaphore;
break;
case ABI42_0_0RCTSurfaceStageSurfaceDidInitialRendering:
semaphore = _rootShadowViewDidStartRenderingSemaphore;
break;
case ABI42_0_0RCTSurfaceStageSurfaceDidInitialMounting:
semaphore = _uiManagerDidPerformMountingSemaphore;
break;
default:
ABI42_0_0RCTAssert(
NO,
@"Only waiting for `ABI42_0_0RCTSurfaceStageSurfaceDidInitialRendering`, `ABI42_0_0RCTSurfaceStageSurfaceDidInitialLayout` and `ABI42_0_0RCTSurfaceStageSurfaceDidInitialMounting` stages are supported.");
}
BOOL timeoutOccurred = dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, timeout * NSEC_PER_SEC));
// Atomic equivalent of `_waitingForMountingStageOnMainQueue = NO;`.
atomic_fetch_and(&_waitingForMountingStageOnMainQueue, 0);
if (!timeoutOccurred) {
// Balancing the semaphore.
// Note: `dispatch_semaphore_wait` reverts the decrement in case when timeout occurred.
dispatch_semaphore_signal(semaphore);
}
if (ABI42_0_0RCTIsMainQueue() && (stage & ABI42_0_0RCTSurfaceStageSurfaceDidInitialMounting)) {
// Time to apply captured mounting block.
ABI42_0_0RCTUIManagerMountingBlock mountingBlock;
{
std::lock_guard<std::mutex> lock(_mutex);
mountingBlock = _mountingBlock;
_mountingBlock = nil;
}
if (mountingBlock) {
mountingBlock();
[self _mountRootViewIfNeeded];
}
}
return !timeoutOccurred;
}
#pragma mark - ABI42_0_0RCTSurfaceRootShadowViewDelegate
- (void)rootShadowView:(__unused ABI42_0_0RCTRootShadowView *)rootShadowView didChangeIntrinsicSize:(CGSize)intrinsicSize
{
self.intrinsicSize = intrinsicSize;
}
- (void)rootShadowViewDidStartRendering:(__unused ABI42_0_0RCTSurfaceRootShadowView *)rootShadowView
{
[self _setStage:ABI42_0_0RCTSurfaceStageSurfaceDidInitialRendering];
dispatch_semaphore_signal(_rootShadowViewDidStartRenderingSemaphore);
}
- (void)rootShadowViewDidStartLayingOut:(__unused ABI42_0_0RCTSurfaceRootShadowView *)rootShadowView
{
[self _setStage:ABI42_0_0RCTSurfaceStageSurfaceDidInitialLayout];
dispatch_semaphore_signal(_rootShadowViewDidStartLayingOutSemaphore);
ABI42_0_0RCTExecuteOnMainQueue(^{
// Rendering is happening, let's mount `rootView` into `view` if we already didn't do this.
[self _mountRootViewIfNeeded];
});
}
#pragma mark - ABI42_0_0RCTUIManagerObserver
- (BOOL)uiManager:(__unused ABI42_0_0RCTUIManager *)manager performMountingWithBlock:(ABI42_0_0RCTUIManagerMountingBlock)block
{
if (atomic_load(&_waitingForMountingStageOnMainQueue) && (self.stage & ABI42_0_0RCTSurfaceStageSurfaceDidInitialLayout)) {
// Atomic equivalent of `_waitingForMountingStageOnMainQueue = NO;`.
atomic_fetch_and(&_waitingForMountingStageOnMainQueue, 0);
{
std::lock_guard<std::mutex> lock(_mutex);
_mountingBlock = block;
}
return YES;
}
return NO;
}
- (void)uiManagerDidPerformMounting:(__unused ABI42_0_0RCTUIManager *)manager
{
if (self.stage & ABI42_0_0RCTSurfaceStageSurfaceDidInitialLayout) {
[self _setStage:ABI42_0_0RCTSurfaceStageSurfaceDidInitialMounting];
dispatch_semaphore_signal(_uiManagerDidPerformMountingSemaphore);
// No need to listen to UIManager anymore.
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{
[self->_bridge.uiManager.observerCoordinator removeObserver:self];
});
}
}
- (BOOL)start
{
// Does nothing.
// The Start&Stop feature is not implemented for regular Surface yet.
return YES;
}
- (BOOL)stop
{
// Does nothing.
// The Start&Stop feature is not implemented for regular Surface yet.
return YES;
}
#pragma mark - Mounting/Unmounting of ABI42_0_0React components
- (void)mountABI42_0_0ReactComponentWithBridge:(ABI42_0_0RCTBridge *)bridge
moduleName:(NSString *)moduleName
params:(NSDictionary *)params
{
[bridge enqueueJSCall:@"AppRegistry" method:@"runApplication" args:@[ moduleName, params ] completion:NULL];
}
- (void)unmountABI42_0_0ReactComponentWithBridge:(ABI42_0_0RCTBridge *)bridge rootViewTag:(NSNumber *)rootViewTag
{
[bridge enqueueJSCall:@"AppRegistry"
method:@"unmountApplicationComponentAtRootTag"
args:@[ rootViewTag ]
completion:NULL];
}
@end
| Objective-C++ | 4 | zakharchenkoAndrii/expo | ios/versioned-react-native/ABI42_0_0/ReactNative/React/Base/Surface/ABI42_0_0RCTSurface.mm | [
"Apache-2.0",
"MIT"
] |
/*
** Case Study Financial Econometrics 4.3
**
** Purpose:
** Compute some useful statistics
**
** Date:
** 12/01/2015
**
** Author:
** Tamer Dilaver, Koen de Man & Sina Zolnoor
**
** Supervisor:
** L.N. Hoogerheide & S.J. Koopman
**
*/
#include <oxstd.h>
#include <oxfloat.h>
/*
** Function: Print first four moments, maximum and minimum
**
** Input: vReturns: Vector with (daily) returns
*/
fDescriptiveStatistics(const vReturns){
println("Moments: ", moments(vReturns)); //give number of observations and first four moments
println("Maximum: ", maxc(vReturns));
println("Minimum: ", minc(vReturns));
}
main(){
decl mDataCloseToClose, mDataOpenToClose;
mDataCloseToClose = loadmat("ReturnsCloseToClose.csv"); //load return data
mDataOpenToClose = loadmat("ReturnsOpenToClose.csv");
decl vDate, vYear, vMonth, vDay;
vDate = mDataCloseToClose[][0];
vYear = floor(vDate/10000); //extract year from date number
vMonth = floor((vDate-floor(vDate/10000)*10000)/100); //extract month from date number
vDay = vDate-floor(vDate/100)*100; //extract day from date number
vDate = dayofcalendar(vYear, vMonth, vDay); //create vector with dates that Ox can handle
decl vReturnsCloseToClose, vReturnsOpenToClose;
vReturnsCloseToClose = mDataCloseToClose[][1];
vReturnsOpenToClose = mDataOpenToClose[][1];
println("Descriptive statistics for Close-to-Close returns: ");
fDescriptiveStatistics(100*vReturnsCloseToClose);
println("Descriptive statistics for Open-to-Close returns: ");
fDescriptiveStatistics(100*vReturnsOpenToClose);
// DrawTMatrix(1, 100*vReturnsCloseToClose', {"Close-to-close"}, vDate');
// DrawTMatrix(0, 100*vReturnsOpenToClose', {"Open-to-close"}, vDate');
// ShowDrawWindow();
} | Ox | 5 | tamerdilaver/Group4_Code_Data | 4DescriptiveStatistics.ox | [
"MIT"
] |
/*
* Copyright (C) 2013 Steve Rowe <sarowe@gmail.com>
* Copyright (C) 2021 Google, LLC.
*
* License: https://opensource.org/licenses/BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions
* and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other materials provided with
* the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors may be used to
* endorse or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package de.jflex.testcase.unicode.unicode_2_0;
import de.jflex.testing.unicodedata.AbstractEnumeratedPropertyDefinedScanner;
%%
// Generated byUnicodeAgeGenerator from java/de/jflex/migration/unicodedatatest/UnicodeAge.flex.vm
%unicode 2.0
%public
%class UnicodeAge_2_0_age_2_0
%extends AbstractEnumeratedPropertyDefinedScanner
%type int
%init{
super(65533);
%init}
%%
<<EOF>> { return YYEOF;}
\p{Age:2.0} { setCurCharPropertyValue(yytext(), yylength(), "Age:2.0"); }
[^] { }
| JFlex | 4 | WeDoSoftware/jflex | testsuite/testcases/src/test/cases/unicode-age/UnicodeAge_2_0_age_2_0.flex | [
"BSD-3-Clause"
] |
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: Tk Canvas Widget
%%For: msp
%%Title: Window .x1552780.c
%%CreationDate: Tue Jul 16 19:58:23 2019
%%BoundingBox: 103 271 509 522
%%Pages: 1
%%DocumentData: Clean7Bit
%%Orientation: Portrait
%%DocumentNeededResources: font DejaVuSansMono-Bold
%%EndComments
%%BeginProlog
% This is a standard prolog for Postscript generated by Tk's canvas
% widget.
/CurrentEncoding [
/space/space/space/space/space/space/space/space
/space/space/space/space/space/space/space/space
/space/space/space/space/space/space/space/space
/space/space/space/space/space/space/space/space
/space/exclam/quotedbl/numbersign/dollar/percent/ampersand/quotesingle
/parenleft/parenright/asterisk/plus/comma/hyphen/period/slash
/zero/one/two/three/four/five/six/seven
/eight/nine/colon/semicolon/less/equal/greater/question
/at/A/B/C/D/E/F/G
/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W
/X/Y/Z/bracketleft/backslash/bracketright/asciicircum/underscore
/grave/a/b/c/d/e/f/g
/h/i/j/k/l/m/n/o
/p/q/r/s/t/u/v/w
/x/y/z/braceleft/bar/braceright/asciitilde/space
/space/space/space/space/space/space/space/space
/space/space/space/space/space/space/space/space
/space/space/space/space/space/space/space/space
/space/space/space/space/space/space/space/space
/space/exclamdown/cent/sterling/currency/yen/brokenbar/section
/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered/macron
/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph/periodcentered
/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf/threequarters/questiondown
/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla
/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis
/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply
/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls
/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide
/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis
] def
50 dict begin
/baseline 0 def
/stipimage 0 def
/height 0 def
/justify 0 def
/lineLength 0 def
/spacing 0 def
/stipple 0 def
/strings 0 def
/xoffset 0 def
/yoffset 0 def
/tmpstip null def
/baselineSampler ( TXygqPZ) def
baselineSampler 0 196 put
/cstringshow {{ dup type /stringtype eq { show } { glyphshow } ifelse } forall } bind def
/cstringwidth {0 exch 0 exch { dup type /stringtype eq { stringwidth } { currentfont /Encoding get exch 1 exch put (\001) stringwidth } ifelse exch 3 1 roll add 3 1 roll add exch } forall } bind def
/ISOEncode {dup length dict begin {1 index /FID ne {def} {pop pop} ifelse} forall /Encoding CurrentEncoding def currentdict end /Temporary exch definefont } bind def
/StrokeClip {{strokepath} stopped { (This Postscript printer gets limitcheck overflows when) = (stippling dashed lines; lines will be printed solid instead.) = [] 0 setdash strokepath} if clip } bind def
/EvenPixels {dup 0 matrix currentmatrix dtransform dup mul exch dup mul add sqrt dup round dup 1 lt {pop 1} if exch div mul } bind def
/StippleFill {/tmpstip 1 index def 1 EvenPixels dup scale pathbbox 4 2 roll 5 index div dup 0 lt {1 sub} if cvi 5 index mul 4 1 roll 6 index div dup 0 lt {1 sub} if cvi 6 index mul 3 2 roll 6 index exch { 2 index 5 index 3 index { gsave 1 index exch translate 5 index 5 index true matrix tmpstip imagemask grestore } for pop } for pop pop pop pop pop } bind def
/AdjustColor {CL 2 lt { currentgray CL 0 eq { .5 lt {0} {1} ifelse } if setgray } if } bind def
/DrawText {/stipple exch def /justify exch def /yoffset exch def /xoffset exch def /spacing exch def /strings exch def /lineLength 0 def strings { cstringwidth pop dup lineLength gt {/lineLength exch def} {pop} ifelse newpath } forall 0 0 moveto baselineSampler false charpath pathbbox dup /baseline exch def exch pop exch sub /height exch def pop newpath translate rotate lineLength xoffset mul strings length 1 sub spacing mul height add yoffset mul translate justify lineLength mul baseline neg translate strings { dup cstringwidth pop justify neg mul 0 moveto stipple { gsave /char (X) def { dup type /stringtype eq { { char 0 3 -1 roll put currentpoint gsave char true charpath clip StippleText grestore char stringwidth translate moveto } forall } { currentfont /Encoding get exch 1 exch put currentpoint gsave (\001) true charpath clip StippleText grestore (\001) stringwidth translate moveto } ifelse } forall grestore } {cstringshow} ifelse 0 spacing neg translate } forall } bind def
/TkPhotoColor {gsave 32 dict begin /tinteger exch def /transparent 1 string def transparent 0 tinteger put /olddict exch def olddict /DataSource get dup type /filetype ne { olddict /DataSource 3 -1 roll 0 () /SubFileDecode filter put } { pop } ifelse /newdict olddict maxlength dict def olddict newdict copy pop /w newdict /Width get def /crpp newdict /Decode get length 2 idiv def /str w string def /pix w crpp mul string def /substrlen 2 w log 2 log div floor exp cvi def /substrs [ { substrlen string 0 1 substrlen 1 sub { 1 index exch tinteger put } for /substrlen substrlen 2 idiv def substrlen 0 eq {exit} if } loop ] def /h newdict /Height get def 1 w div 1 h div matrix scale olddict /ImageMatrix get exch matrix concatmatrix matrix invertmatrix concat newdict /Height 1 put newdict /DataSource pix put /mat [w 0 0 h 0 0] def newdict /ImageMatrix mat put 0 1 h 1 sub { mat 5 3 -1 roll neg put olddict /DataSource get str readstring pop pop /tail str def /x 0 def olddict /DataSource get pix readstring pop pop { tail transparent search dup /done exch not def {exch pop exch pop} if /w1 exch length def w1 0 ne { newdict /DataSource pix x crpp mul w1 crpp mul getinterval put newdict /Width w1 put mat 4 x neg put /x x w1 add def newdict image /tail tail w1 tail length w1 sub getinterval def } if done {exit} if tail substrs { anchorsearch {pop} if } forall /tail exch def tail length 0 eq {exit} if /x w tail length sub def } loop } for end grestore } bind def
/TkPhotoMono {gsave 32 dict begin /dummyInteger exch def /olddict exch def olddict /DataSource get dup type /filetype ne { olddict /DataSource 3 -1 roll 0 () /SubFileDecode filter put } { pop } ifelse /newdict olddict maxlength dict def olddict newdict copy pop /w newdict /Width get def /pix w 7 add 8 idiv string def /h newdict /Height get def 1 w div 1 h div matrix scale olddict /ImageMatrix get exch matrix concatmatrix matrix invertmatrix concat newdict /Height 1 put newdict /DataSource pix put /mat [w 0 0 h 0 0] def newdict /ImageMatrix mat put 0 1 h 1 sub { mat 5 3 -1 roll neg put 0.000 0.000 0.000 setrgbcolor olddict /DataSource get pix readstring pop pop newdict /DataSource pix put newdict imagemask 1.000 1.000 1.000 setrgbcolor olddict /DataSource get pix readstring pop pop newdict /DataSource pix put newdict imagemask } for end grestore } bind def
%%EndProlog
%%BeginSetup
/CL 2 def
%%IncludeResource: font DejaVuSansMono-Bold
%%EndSetup
%%Page: 1 1
save
306.0 396.0 translate
0.7485 0.7485 scale
-270 -166 translate
0 333 moveto 540 333 lineto 540 0 lineto 0 0 lineto closepath clip newpath
gsave
30 298 moveto
76 298 lineto
76 278 lineto
30 278 lineto
30 298 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
30 280 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
30 280 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 32 293 [
[(inlet~)]
] 15 -0 0 0 false DrawText
grestore
gsave
49 239 moveto
186 239 lineto
186 219 lineto
49 219 lineto
49 239 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
49 221 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
49 221 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
49 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
49 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
75 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
75 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
101 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
101 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
127 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
127 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
153 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
153 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
179 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
179 239 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 51 234 [
[(slop~ 0 0 0 0 1e+09)]
] 15 -0 0 0 false DrawText
grestore
gsave
127 315 moveto
201 315 lineto
201 295 lineto
127 295 lineto
127 315 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
127 297 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
127 297 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 129 310 [
[(r $0-speed)]
] 15 -0 0 0 false DrawText
grestore
gsave
127 290 moveto
152 290 lineto
152 270 lineto
127 270 lineto
127 290 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
127 272 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
127 272 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
127 290 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
127 290 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
145 290 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
145 290 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 129 285 [
[(f )]
] 15 -0 0 0 false DrawText
grestore
gsave
127 265 moveto
159 265 lineto
159 245 lineto
127 245 lineto
127 265 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
127 247 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
127 247 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
127 265 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
127 265 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
152 265 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
152 265 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 129 260 [
[(/ 10)]
] 15 -0 0 0 false DrawText
grestore
gsave
50 265 moveto
82 265 lineto
82 245 lineto
50 245 lineto
50 265 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
50 247 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
50 247 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
50 265 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
50 265 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 52 260 [
[(abs~)]
] 15 -0 0 0 false DrawText
grestore
gsave
71 176 moveto
257 176 lineto
257 156 lineto
71 156 lineto
71 176 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
71 158 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
71 158 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
71 176 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
71 176 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
250 176 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
250 176 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 73 171 [
[(tabread4~ $0-dynamic-curve)]
] 15 -0 0 0 false DrawText
grestore
gsave
48 142 moveto
73 142 lineto
73 122 lineto
48 122 lineto
48 142 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
48 124 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
48 124 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
48 142 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
48 142 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
66 142 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
66 142 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 50 137 [
[(-~ )]
] 15 -0 0 0 false DrawText
grestore
gsave
48 117 moveto
94 117 lineto
94 97 lineto
48 97 lineto
48 117 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
48 99 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
48 99 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
48 117 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
48 117 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
87 117 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
87 117 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 50 112 [
[(+~ 100)]
] 15 -0 0 0 false DrawText
grestore
gsave
48 92 moveto
108 92 lineto
108 72 lineto
48 72 lineto
48 92 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
48 74 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
48 74 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
48 92 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
48 92 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 50 87 [
[(dbtorms~)]
] 15 -0 0 0 false DrawText
grestore
gsave
49 214 moveto
109 214 lineto
109 194 lineto
49 194 lineto
49 214 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
49 196 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
49 196 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
49 214 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
49 214 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 51 209 [
[(rmstodb~)]
] 15 -0 0 0 false DrawText
grestore
gsave
29 64 moveto
54 64 lineto
54 44 lineto
29 44 lineto
29 64 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
29 46 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
29 46 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
29 64 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
29 64 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
47 64 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
47 64 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 31 59 [
[(*~ )]
] 15 -0 0 0 false DrawText
grestore
gsave
29 38 moveto
82 38 lineto
82 18 lineto
29 18 lineto
29 38 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
29 38 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
29 38 moveto 7 0 rlineto 0 -2 rlineto -7 0 rlineto closepath
0 setlinejoin 2 setlinecap
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 31 33 [
[(outlet~)]
] 15 -0 0 0 false DrawText
grestore
gsave
295 281 moveto
295 81 lineto
497 81 lineto
497 281 lineto
295 281 lineto
2 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 295 295 [
[($0-dynamic-curve)]
] 15 -0 0 0 false DrawText
grestore
gsave
295 81 moveto
295 85 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 281 moveto
295 277 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
314 81 moveto
314 83 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
314 281 moveto
314 279 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
334 81 moveto
334 85 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
334 281 moveto
334 277 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
354 81 moveto
354 83 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
354 281 moveto
354 279 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
374 81 moveto
374 85 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
374 281 moveto
374 277 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
394 81 moveto
394 83 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
394 281 moveto
394 279 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
413 81 moveto
413 85 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
413 281 moveto
413 277 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
433 81 moveto
433 83 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
433 281 moveto
433 279 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
453 81 moveto
453 85 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
453 281 moveto
453 277 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
473 81 moveto
473 83 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
473 281 moveto
473 279 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
493 81 moveto
493 85 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
493 281 moveto
493 277 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 81 moveto
299 81 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 81 moveto
493 81 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 101 moveto
297 101 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 101 moveto
495 101 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 121 moveto
299 121 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 121 moveto
493 121 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 141 moveto
297 141 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 141 moveto
495 141 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 161 moveto
299 161 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 161 moveto
493 161 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 181 moveto
297 181 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 181 moveto
495 181 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 201 moveto
299 201 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 201 moveto
493 201 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 221 moveto
297 221 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 221 moveto
495 221 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 241 moveto
299 241 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 241 moveto
493 241 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
295 261 moveto
297 261 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
497 261 moveto
495 261 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 295 69 [
[(0)]
] 15 -0.5 0 0 false DrawText
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 394 69 [
[(50)]
] 15 -0.5 0 0 false DrawText
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 493 69 [
[(100)]
] 15 -0.5 0 0 false DrawText
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 502 79 [
[(0)]
] 15 -0 0.5 0 false DrawText
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 502 179 [
[(50)]
] 15 -0 0.5 0 false DrawText
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 502 259 [
[(90)]
] 15 -0 0.5 0 false DrawText
grestore
gsave
/Courier-Bold findfont 11.5 scalefont ISOEncode setfont
0.000 0.000 0.000 setrgbcolor AdjustColor
0 502 279 [
[(100)]
] 15 -0 0.5 0 false DrawText
grestore
gsave
295 81 moveto 1 0 rlineto 0 -2 rlineto -1 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
295 81 moveto 1 0 rlineto 0 -2 rlineto -1 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
296 83 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
296 83 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
298 85 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
298 85 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
300 87 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
300 87 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
302 89 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
302 89 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
304 91 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
304 91 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
306 93 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
306 93 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
308 95 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
308 95 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
310 97 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
310 97 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
312 99 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
312 99 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
314 101 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
314 101 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
316 103 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
316 103 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
318 105 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
318 105 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
320 107 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
320 107 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
322 109 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
322 109 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
324 111 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
324 111 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
326 113 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
326 113 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
328 115 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
328 115 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
330 117 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
330 117 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
332 119 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
332 119 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
334 121 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
334 121 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
336 123 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
336 123 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
338 125 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
338 125 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
340 127 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
340 127 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
342 129 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
342 129 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
344 131 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
344 131 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
346 133 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
346 133 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
348 135 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
348 135 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
350 137 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
350 137 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
352 139 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
352 139 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
354 141 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
354 141 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
356 143 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
356 143 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
358 145 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
358 145 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
360 147 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
360 147 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
362 149 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
362 149 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
364 151 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
364 151 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
366 153 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
366 153 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
368 155 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
368 155 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
370 157 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
370 157 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
372 159 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
372 159 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
374 161 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
374 161 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
376 163 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
376 163 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
378 165 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
378 165 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
380 167 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
380 167 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
382 169 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
382 169 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
384 171 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
384 171 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
386 173 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
386 173 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
388 175 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
388 175 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
390 177 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
390 177 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
392 179 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
392 179 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
394 181 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
394 181 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
396 183 moveto 1 0 rlineto 0 -2 rlineto -1 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
396 183 moveto 1 0 rlineto 0 -2 rlineto -1 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
397 185 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
397 185 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
399 187 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
399 187 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
401 189 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
401 189 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
403 191 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
403 191 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
405 193 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
405 193 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
407 195 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
407 195 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
409 197 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
409 197 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
411 199 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
411 199 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
413 201 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
413 201 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
415 203 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
415 203 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
417 205 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
417 205 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
419 207 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
419 207 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
421 209 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
421 209 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
423 211 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
423 211 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
425 213 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
425 213 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
427 215 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
427 215 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
429 217 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
429 217 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
431 219 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
431 219 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
433 221 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
433 221 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
435 223 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
435 223 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
437 225 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
437 225 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
439 227 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
439 227 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
441 229 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
441 229 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
443 231 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
443 231 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
445 233 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
445 233 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
447 235 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
447 235 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
449 237 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
449 237 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
451 239 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
451 239 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
453 241 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
453 241 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
455 243 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
455 243 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
457 245 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
457 245 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
459 247 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
459 247 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
461 249 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
461 249 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
463 251 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
463 251 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
465 253 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
465 253 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
467 255 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
467 255 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
469 257 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
469 257 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
471 258 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
471 258 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
473 259 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
473 259 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
475 260 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
475 260 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
477 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
477 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
479 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
479 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
481 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
481 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
483 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
483 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
485 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
485 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
487 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
487 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
489 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
489 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
491 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
491 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
493 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
493 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
495 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0.000 0.000 0.000 setrgbcolor AdjustColor
fill
495 261 moveto 2 0 rlineto 0 -2 rlineto -2 0 rlineto closepath
0 setlinejoin 2 setlinecap
0 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
33 279 moveto
53 264 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
33 279 moveto
32 63 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
52 220 moveto
52 213 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
130 296 moveto
130 289 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
130 271 moveto
130 264 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
130 246 moveto
130 238 lineto
0 setlinecap
1 setlinejoin
1 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
53 246 moveto
52 238 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
74 157 moveto
51 141 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
51 123 moveto
51 116 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
51 98 moveto
51 91 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
51 73 moveto
50 63 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
52 195 moveto
69 141 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
52 195 moveto
74 175 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
gsave
32 45 moveto
32 37 lineto
0 setlinecap
1 setlinejoin
2 setlinewidth
[] 0 setdash
0.000 0.000 0.000 setrgbcolor AdjustColor
stroke
grestore
restore showpage
%%Trailer
end
%%EOF
| PostScript | 2 | mxa/pure-data | md/slop-compander-patch.ps | [
"TCL"
] |
hello
: dialog
{
label = "Test Dialog No 1";
: text
{
label = "This is a Test Message";
alignment = centered;
}
: button
{
key = "accept";
label = "Close";
is_default = true;
fixed_width = true;
alignment = centered;
}
}
| Clean | 3 | caadxyz/ikuku.lsp | src/dcl/hello.dcl | [
"MIT"
] |
# Input file is the role binding we're creating multiple copies of.
. as $rolebinding
# $METERING_OPERATOR_TARGET_NAMESPACES is a comma separated list of namespaces
# to create this rolebinding in. Falls back to $METERING_NAMESPACE.
| $ENV.METERING_OPERATOR_TARGET_NAMESPACES // $ENV.METERING_NAMESPACE
# Turn the env var into a list of strings.
| split(",")
|
{
apiVersion: "rbac.authorization.k8s.io/v1",
kind: "RoleBindingList",
# For each namespace, create a copy of the rolebinding
items: map(
# Each namespace from the list is passed to map.
. as $namespace
# The base rolebinding going into the list.
| $rolebinding
# Update the rolebinding's name to be prefixed with our namespace,
# in case other metering-operators are targeting the namespace.
| .metadata.name = $namespace + "-" + .metadata.name
# Update the rolebinding's namespace.
| .metadata.namespace = $namespace
# Update the roleRef to match our rolebinding name. The role and
# rolebinding should have the same name.
| .roleRef.name = .metadata.name
# Update the service account to the one where the
# metering-operator is running.
| .subjects[0].namespace=$ENV.METERING_NAMESPACE
)
}
| JSONiq | 4 | petr-muller/metering-operator | hack/jq/custom-metering-rolebinding.jq | [
"Apache-2.0"
] |
*** Settings ***
Library Remote 127.0.0.1:${PORT}
*** Variables ***
${PORT} 8270
*** Test Cases ***
Empty
Empty
Single
Single 1
Multi
Multi 1
Multi 1 2
Multi 1 2 3 4
Nön-ÄSCII
Nön-ÄSCII
| RobotFramework | 3 | phil-davis/robotframework | atest/testdata/standard_libraries/remote/documentation.robot | [
"ECL-2.0",
"Apache-2.0"
] |
#!/bin/bash
echo "RUNNING ON $(uname -a) WITH $(nproc) CPUS AND $(free -m)"
set -eux -o pipefail
source /env
# Because most Circle executors only have 20 CPUs, using more causes OOMs w/ Ninja and nvcc parallelization
MEMORY_LIMIT_MAX_JOBS=18
NUM_CPUS=$(( $(nproc) - 2 ))
# Defaults here for **binary** linux builds so they can be changed in one place
export MAX_JOBS=${MAX_JOBS:-$(( ${NUM_CPUS} > ${MEMORY_LIMIT_MAX_JOBS} ? ${MEMORY_LIMIT_MAX_JOBS} : ${NUM_CPUS} ))}
if [[ "${DESIRED_CUDA}" == "cu111" || "${DESIRED_CUDA}" == "cu113" ]]; then
export BUILD_SPLIT_CUDA="ON"
fi
# Parse the parameters
if [[ "$PACKAGE_TYPE" == 'conda' ]]; then
build_script='conda/build_pytorch.sh'
elif [[ "$DESIRED_CUDA" == cpu ]]; then
build_script='manywheel/build_cpu.sh'
elif [[ "$DESIRED_CUDA" == *"rocm"* ]]; then
build_script='manywheel/build_rocm.sh'
else
build_script='manywheel/build.sh'
fi
if [[ "$CIRCLE_BRANCH" == "master" ]] || [[ "$CIRCLE_BRANCH" == release/* ]]; then
export BUILD_DEBUG_INFO=1
fi
# Build the package
SKIP_ALL_TESTS=1 "/builder/$build_script"
| Shell | 4 | Hacky-DH/pytorch | .circleci/scripts/binary_linux_build.sh | [
"Intel"
] |
=============
NumPy Roadmap
=============
This is a live snapshot of tasks and features we will be investing resources
in. It may be used to encourage and inspire developers and to search for
funding.
Interoperability
----------------
We aim to make it easier to interoperate with NumPy. There are many NumPy-like
packages that add interesting new capabilities to the Python ecosystem, as well
as many libraries that extend NumPy's model in various ways. Work in NumPy to
facilitate interoperability with all such packages, and the code that uses them,
may include (among other things) interoperability protocols, better duck typing
support and ndarray subclass handling.
The key goal is: *make it easy for code written for NumPy to also work with
other NumPy-like projects.* This will enable GPU support via, e.g, CuPy or JAX,
distributed array support via Dask, and writing special-purpose arrays (either
from scratch, or as a ``numpy.ndarray`` subclass) that work well with SciPy,
scikit-learn and other such packages.
The ``__array_ufunc__`` and ``__array_function__`` protocols are stable, but
do not cover the whole API. New protocols for overriding other functionality
in NumPy are needed. Work in this area aims to bring to completion one or more
of the following proposals:
- :ref:`NEP30`
- :ref:`NEP31`
- :ref:`NEP35`
- :ref:`NEP37`
In addition we aim to provide ways to make it easier for other libraries to
implement a NumPy-compatible API. This may include defining consistent subsets
of the API, as discussed in `this section of NEP 37
<https://numpy.org/neps/nep-0037-array-module.html#requesting-restricted-subsets-of-numpy-s-api>`__.
Performance
-----------
Improvements to NumPy's performance are important to many users. We have
focused this effort on Universal SIMD (see :ref:`NEP38`) intrinsics which
provide nice improvements across various hardware platforms via an abstraction
layer. The infrastructure is in place, and we welcome follow-on PRs to add
SIMD support across all relevant NumPy functions.
Other performance improvement ideas include:
- A better story around parallel execution.
- Optimizations in individual functions.
- Reducing ufunc and ``__array_function__`` overhead.
Furthermore we would like to improve the benchmarking system, in terms of coverage,
easy of use, and publication of the results (now
`here <https://pv.github.io/numpy-bench>`__) as part of the docs or website.
Documentation and website
-------------------------
The NumPy `documentation <https://www.numpy.org/devdocs>`__ is of varying
quality. The API documentation is in good shape; tutorials and high-level
documentation on many topics are missing or outdated. See :ref:`NEP44` for
planned improvements. Adding more tutorials is underway in the
`numpy-tutorials repo <https://github.com/numpy/numpy-tutorials>`__.
Our website (https://numpy.org) was completely redesigned recently. We aim to
further improve it by adding translations, more case studies and other
high-level content, and more (see `this tracking issue <https://github.com/numpy/numpy.org/issues/266>`__).
Extensibility
-------------
We aim to make it much easier to extend NumPy. The primary topic here is to
improve the dtype system - see :ref:`NEP41` and related NEPs linked from it.
Concrete goals for the dtype system rewrite are:
- Easier custom dtypes:
- Simplify and/or wrap the current C-API
- More consistent support for dtype metadata
- Support for writing a dtype in Python
- Allow adding (a) new string dtype(s). This could be encoded strings with
fixed-width storage (e.g., ``utf8`` or ``latin1``), and/or a variable length
string dtype. The latter could share an implementation with ``dtype=object``,
but be explicitly type-checked.
One of these should probably be the default for text data. The current
string dtype support is neither efficient nor user friendly.
User experience
---------------
Type annotations
````````````````
NumPy 1.20 adds type annotations for most NumPy functionality, so users can use
tools like `mypy`_ to type check their code and IDEs can improve their support
for NumPy. Improving those type annotations, for example to support annotating
array shapes and dtypes, is ongoing.
Platform support
````````````````
We aim to increase our support for different hardware architectures. This
includes adding CI coverage when CI services are available, providing wheels on
PyPI for POWER8/9 (``ppc64le``), providing better build and install
documentation, and resolving build issues on other platforms like AIX.
Maintenance
-----------
- ``MaskedArray`` needs to be improved, ideas include:
- Rewrite masked arrays to not be a ndarray subclass -- maybe in a separate project?
- MaskedArray as a duck-array type, and/or
- dtypes that support missing values
- Fortran integration via ``numpy.f2py`` requires a number of improvements, see
`this tracking issue <https://github.com/numpy/numpy/issues/14938>`__.
- A backend system for ``numpy.fft`` (so that e.g. ``fft-mkl`` doesn't need to monkeypatch numpy).
- Write a strategy on how to deal with overlap between NumPy and SciPy for ``linalg``.
- Deprecate ``np.matrix`` (very slowly).
- Add new indexing modes for "vectorized indexing" and "outer indexing" (see :ref:`NEP21`).
- Make the polynomial API easier to use.
- Integrate an improved text file loader.
- Ufunc and gufunc improvements, see `gh-8892 <https://github.com/numpy/numpy/issues/8892>`__
and `gh-11492 <https://github.com/numpy/numpy/issues/11492>`__.
.. _`mypy`: https://mypy.readthedocs.io
| reStructuredText | 3 | iam-abbas/numpy | doc/neps/roadmap.rst | [
"BSD-3-Clause"
] |
.pullup
height: 100%
.pullup-wrapper
height: 100%
padding: 0 10px
border: 1px solid #ccc
overflow: hidden
.pullup-list
padding: 0
.pullup-list-item
padding: 10px 0
list-style: none
border-bottom: 1px solid #ccc
.pullup-tips
padding: 20px
text-align: center
color: #999
| Stylus | 2 | cym2050/better-scroll | packages/react-examples/src/pages/pullup/index.styl | [
"MIT"
] |
TUT=..
!include ../Makefile.icl
!include Makefile.common
| Clean | 0 | wohaaitinciu/zpublic | 3rdparty/tut/selftest/Makefile.icl | [
"Unlicense"
] |
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Thymeleaf Fragments: markup</title>
</head>
<body>
<header th:insert="fragments/general.html :: header"> </header>
<div th:replace="fragments/general.html :: aside"></div>
<div th:replace="fragments/general.html :: div.another"></div>
<div th:replace="fragments/general.html :: footer"></div>
</body>
</html> | HTML | 4 | zeesh49/tutorials | spring-thymeleaf/src/main/webapp/WEB-INF/views/markup.html | [
"MIT"
] |
module openconfig-platform {
yang-version "1";
// namespace
namespace "http://openconfig.net/yang/platform";
prefix "oc-platform";
import openconfig-platform-types { prefix oc-platform-types; }
import openconfig-interfaces { prefix oc-if; }
import openconfig-extensions { prefix oc-ext; }
// meta
organization "OpenConfig working group";
contact
"OpenConfig working group
www.openconfig.net";
description
"This module defines a data model for representing a system
component inventory, which can include hardware or software
elements arranged in an arbitrary structure. The primary
relationship supported by the model is containment, e.g.,
components containing subcomponents.
It is expected that this model reflects every field replacable
unit on the device at a minimum (i.e., additional information
may be supplied about non-replacable components).
Every element in the inventory is termed a 'component' with each
component expected to have a unique name and type, and optionally
a unique system-assigned identifier and FRU number. The
uniqueness is guaranteed by the system within the device.
Components may have properties defined by the system that are
modeled as a list of key-value pairs. These may or may not be
user-configurable. The model provides a flag for the system
to optionally indicate which properties are user configurable.
Each component also has a list of 'subcomponents' which are
references to other components. Appearance in a list of
subcomponents indicates a containment relationship as described
above. For example, a linecard component may have a list of
references to port components that reside on the linecard.
This schema is generic to allow devices to express their own
platform-specific structure. It may be augmented by additional
component type-specific schemas that provide a common structure
for well-known component types. In these cases, the system is
expected to populate the common component schema, and may
optionally also represent the component and its properties in the
generic structure.
The properties for each component may include dynamic values,
e.g., in the 'state' part of the schema. For example, a CPU
component may report its utilization, temperature, or other
physical properties. The intent is to capture all platform-
specific physical data in one location, including inventory
(presence or absence of a component) and state (physical
attributes or status).";
oc-ext:openconfig-version "0.5.0";
revision "2016-12-22" {
description
"Added temperature state variable to component";
reference "0.5.0";
}
// grouping statements
grouping platform-component-properties-config {
description
"System-defined configuration data for component properties";
leaf name {
type string;
description
"System-supplied name of the property -- this is typically
non-configurable";
}
leaf value {
type union {
type string;
type boolean;
type int64;
type uint64;
type decimal64 {
fraction-digits 2;
}
}
description
"Property values can take on a variety of types. Signed and
unsigned integer types may be provided in smaller sizes,
e.g., int8, uint16, etc.";
}
}
grouping platform-component-properties-state {
description
"Operational state data for component properties";
leaf configurable {
type boolean;
description
"Indication whether the property is user-configurable";
}
}
grouping platform-component-properties-top {
description
"Top-level grouping ";
container properties {
description
"Enclosing container ";
list property {
key "name";
description
"List of system properties for the component";
leaf name {
type leafref {
path "../config/name";
}
description
"Reference to the property name.";
}
container config {
description
"Configuration data for each property";
uses platform-component-properties-config;
}
container state {
config false;
description
"Operational state data for each property";
uses platform-component-properties-config;
uses platform-component-properties-state;
}
}
}
}
grouping platform-subcomponent-ref-config {
description
"Configuration data for subcomponent references";
leaf name {
type leafref {
path "../../../../../component/config/name";
}
description
"Reference to the name of the subcomponent";
}
}
grouping platform-subcomponent-ref-state {
description
"Operational state data for subcomponent references";
}
grouping platform-subcomponent-ref-top {
description
"Top-level grouping for list of subcomponent references";
container subcomponents {
description
"Enclosing container for subcomponent references";
list subcomponent {
key "name";
description
"List of subcomponent references";
leaf name {
type leafref {
path "../config/name";
}
description
"Reference to the name list key";
}
container config {
description
"Configuration data ";
uses platform-subcomponent-ref-config;
}
container state {
config false;
description
"Operational state data ";
uses platform-subcomponent-ref-config;
uses platform-subcomponent-ref-state;
}
}
}
}
grouping platform-component-config {
description
"Configuration data for components";
leaf name {
type string;
description
"Device name for the component -- this will not be a
configurable parameter on many implementations";
}
}
grouping platform-component-state {
description
"Operational state data for device components.";
leaf type {
type union {
type identityref {
base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT;
}
type identityref {
base oc-platform-types:OPENCONFIG_SOFTWARE_COMPONENT;
}
}
description
"Type of component as identified by the system";
}
leaf id {
type string;
description
"Unique identifier assigned by the system for the
component";
}
leaf description {
type string;
description
"System-supplied description of the component";
}
leaf mfg-name {
type string;
description
"System-supplied identifier for the manufacturer of the
component. This data is particularly useful when a
component manufacturer is different than the overall
device vendor.";
}
leaf version {
type string;
description
"System-defined version string for a hardware, firmware,
or software component.";
}
leaf serial-no {
type string;
description
"System-assigned serial number of the component.";
}
leaf part-no {
type string;
description
"System-assigned part number for the component. This should
be present in particular if the component is also an FRU
(field replacable unit)";
}
}
grouping platform-component-temp-state {
description
"Temperature state data for device components";
container temperature {
description
"Temperature in degrees Celsius of the component. Values include
the instantaneous, average, minimum, and maximum statistics. If
avg/min/max statistics are not supported, the target is expected
to just supply the instant value";
uses oc-platform-types:avg-min-max-instant-stats-precision1-celsius;
}
}
grouping platform-component-top {
description
"Top-level grouping for components in the device inventory";
container components {
description
"Enclosing container for the components in the system.";
list component {
key "name";
description
"List of components, keyed by component name.";
leaf name {
type leafref {
path "../config/name";
}
description
"References the component name";
}
container config {
description
"Configuration data for each component";
uses platform-component-config;
}
container state {
config false;
description
"Operational state data for each component";
uses platform-component-config;
uses platform-component-state;
uses platform-component-temp-state;
}
uses platform-component-properties-top;
uses platform-subcomponent-ref-top;
}
}
}
// data definition statements
uses platform-component-top;
// augments
augment "/oc-if:interfaces/oc-if:interface/oc-if:state" {
//TODO: add 'when' or other condition to make sure this
//leafref points to a component of type PORT.
description
"Adds a reference from the base interface to the corresponding
port component in the device inventory.";
leaf hardware-port {
type leafref {
path "/oc-platform:components/oc-platform:component/" +
"oc-platform:name";
}
description
"References the hardware port in the device inventory";
}
}
}
| YANG | 5 | meodaiduoi/onos | models/openconfig/src/main/yang/platform/openconfig-platform@2016-12-22.yang | [
"Apache-2.0"
] |
[Exposed=Window]
interface Screen {
readonly attribute long availWidth;
readonly attribute long availHeight;
readonly attribute long width;
readonly attribute long height;
readonly attribute unsigned long colorDepth;
readonly attribute unsigned long pixelDepth;
};
| WebIDL | 4 | corsarstl/Learn-Vue-2 | vue-testing/node_modules/jsdom/lib/jsdom/living/window/Screen.webidl | [
"MIT"
] |
''Robotics with the Boe-Bot - HelloOnceEverySecond.spin
''Display a message once every second.
CON
_clkmode = xtal1 + pll8x
_xinfreq = 10_000_000
CR = 13
VAR
long Pause
OBJ
Debug: "FullDuplexSerialPlus"
PUB HelloOnceEverySecond
Debug.start(31, 30, 0, 9600)
Pause := clkfreq/1_000
repeat
Debug.str(string("Hello!", CR))
waitcnt(Pause * 1000 + cnt)
'********************************************************************************************
' Robotics with the Boe-Bot - HelloOnceEverySecond.bs2
' Display a message once every second.
' {$STAMP BS2}
' {$PBASIC 2.5}
'DO
'DEBUG "Hello!", CR
'PAUSE 1000
'LOOP | Propeller Spin | 4 | deets/propeller | libraries/community/p1/All/Spin Stamp Code for the Boe-Bot/HelloOnceEverySecond.spin | [
"MIT"
] |
// @@ANTLR Tool Options@@: -trace
tree grammar t051treeRewriteASTjWalker;
options {
language=JavaScript;
output=AST;
ASTLabelType=CommonTree;
tokenVocab=t051treeRewriteASTj;
}
a : ^(x=ID y=INT)
;
| G-code | 4 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t051treeRewriteASTjWalker.g | [
"Apache-2.0"
] |
{} (:package |test-cond)
:configs $ {} (:init-fn |test-cond.main/main!) (:reload-fn |test-cond.main/reload!)
:modules $ [] |./util.cirru
:files $ {}
|test-cond.main $ {}
:ns $ quote
ns test-cond.main $ :require
[] util.core :refer $ [] inside-eval:
:defs $ {}
|test-cond $ quote
defn test-cond ()
let
compare-x $ fn (x)
cond
(&> x 10) "|>10"
(&> x 5) "|>5"
true "|<=5"
assert= (compare-x 11) "|>10"
assert= (compare-x 10) "|>5"
assert= (compare-x 6) "|>5"
assert= (compare-x 4) "|<=5"
|test-case $ quote
defn test-case ()
let
detect-x $ fn (x)
case x
1 "|one"
2 "|two"
x "|else"
assert= (detect-x 1) "|one"
assert= (detect-x 2) "|two"
assert= (detect-x 3) "|else"
inside-eval:
assert=
macroexpand $ quote
case-default x |nothing
1 |one
2 |two
quote $ &let (v__2 x)
&case v__2 |nothing (1 |one) (2 |two)
&let
detect-x $ fn (x)
case-default x |nothing
1 |one
2 |two
assert= (detect-x 0) |nothing
assert= (detect-x 1) |one
assert= (detect-x 2) |two
|test-or $ quote
fn ()
log-title "|Testing or"
assert= (or 1) 1
assert= (or nil) nil
assert= (or 1 nil) 1
assert= (or nil 1) 1
assert= (or nil nil 1) 1
assert= (or nil nil nil) nil
assert= (or (> 10 9) (> 10 8)) true
assert= (or (> 10 11) (> 10 8)) true
assert= (or (> 10 9) (> 10 11)) true
assert= (or (> 10 12) (> 10 11)) false
|test-and $ quote
fn ()
log-title "|Testing and"
assert= (and 1) 1
assert= (and nil) false
assert= (and 1 nil) false
assert= (and nil 1) false
assert= (and 1 1) 1
assert= (and 1 1 1) 1
assert= (and 1 1 nil) false
assert= (and nil 1 1) false
assert= (and (> 10 9) (> 10 8)) true
assert= (and (> 10 11) (> 10 8)) false
assert= (and (> 10 9) (> 10 11)) false
|test-either $ quote
fn ()
log-title "|Testing either"
assert= 1
either nil 1
assert= 1
either 1 nil
assert= nil
either nil nil
assert= 1
either nil nil 1
assert= 1
either (do nil) (do 1) (do nil)
|log-title $ quote
defn log-title (title)
echo
echo title
echo
|test-key-match $ quote
fn ()
log-title "|Testing key-match"
&let
match-ab $ fn (data)
key-match data
(:a x) (' "|pattern a:" x)
(:b x y) (' "|pattern b:" x y)
_ (' "|no match")
assert=
match-ab (' :a 1 2)
[] "|pattern a:" 1
assert=
match-ab (' :b 1 2)
[] "|pattern b:" 1 2
assert=
match-ab (' :c 1 2)
[] "|no match"
|main! $ quote
defn main! ()
log-title "|Testing cond"
test-cond
test-or
test-and
test-either
test-case
test-key-match
, true
:proc $ quote ()
:configs $ {} (:extension nil)
| Cirru | 5 | calcit-lang/calcit.rs | calcit/test-cond.cirru | [
"MIT"
] |
"""
0.75
STRING
"""
x as object
x = 3
value as double = x / 4.0
print value.ToString(System.Globalization.CultureInfo.InvariantCulture)
x = "string"
print x.ToUpper()
| Boo | 3 | popcatalin81/boo | tests/testcases/ducky/ducky-4.boo | [
"BSD-3-Clause"
] |
Rot13(in) New low,rot,up
Set up="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Set low="abcdefghijklmnopqrstuvwxyz"
Set rot=$Extract(up,14,26)_$Extract(up,1,13)
Set rot=rot_$Extract(low,14,26)_$Extract(low,1,13)
Quit $Translate(in,up_low,rot)
Write $$Rot13("Hello World!") ; Uryyb Jbeyq!
Write $$Rot13("ABCDEFGHIJKLMNOPQRSTUVWXYZ") ; NOPQRSTUVWXYZABCDEFGHIJKLM
| M | 4 | LaudateCorpus1/RosettaCodeData | Task/Rot-13/MUMPS/rot-13.mumps | [
"Info-ZIP"
] |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: compiler/ir/serialization.common/src/KotlinIr.proto
package org.jetbrains.kotlin.backend.common.serialization.proto;
/**
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrClass}
*/
public final class IrClass extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrClass)
IrClassOrBuilder {
// Use IrClass.newBuilder() to construct.
private IrClass(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private IrClass(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final IrClass defaultInstance;
public static IrClass getDefaultInstance() {
return defaultInstance;
}
public IrClass getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private IrClass(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
org.jetbrains.kotlin.protobuf.ByteString.newOutput();
org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
unknownFieldsOutput, 1);
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFieldsCodedOutput,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = base_.toBuilder();
}
base_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(base_);
base_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
name_ = input.readInt32();
break;
}
case 26: {
org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = thisReceiver_.toBuilder();
}
thisReceiver_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(thisReceiver_);
thisReceiver_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter>();
mutable_bitField0_ |= 0x00000008;
}
typeParameter_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter.PARSER, extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
declaration_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration>();
mutable_bitField0_ |= 0x00000010;
}
declaration_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration.PARSER, extensionRegistry));
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
superType_ = new java.util.ArrayList<java.lang.Integer>();
mutable_bitField0_ |= 0x00000020;
}
superType_.add(input.readInt32());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) {
superType_ = new java.util.ArrayList<java.lang.Integer>();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
superType_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 58: {
org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = inlineClassRepresentation_.toBuilder();
}
inlineClassRepresentation_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inlineClassRepresentation_);
inlineClassRepresentation_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 64: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
sealedSubclass_ = new java.util.ArrayList<java.lang.Long>();
mutable_bitField0_ |= 0x00000080;
}
sealedSubclass_.add(input.readInt64());
break;
}
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) {
sealedSubclass_ = new java.util.ArrayList<java.lang.Long>();
mutable_bitField0_ |= 0x00000080;
}
while (input.getBytesUntilLimit() > 0) {
sealedSubclass_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
}
}
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
declaration_ = java.util.Collections.unmodifiableList(declaration_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
superType_ = java.util.Collections.unmodifiableList(superType_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
sealedSubclass_ = java.util.Collections.unmodifiableList(sealedSubclass_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser<IrClass> PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser<IrClass>() {
public IrClass parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new IrClass(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser<IrClass> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int BASE_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base_;
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public boolean hasBase() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase() {
return base_;
}
public static final int NAME_FIELD_NUMBER = 2;
private int name_;
/**
* <code>required int32 name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>required int32 name = 2;</code>
*/
public int getName() {
return name_;
}
public static final int THIS_RECEIVER_FIELD_NUMBER = 3;
private org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter thisReceiver_;
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public boolean hasThisReceiver() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter getThisReceiver() {
return thisReceiver_;
}
public static final int TYPE_PARAMETER_FIELD_NUMBER = 4;
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter> typeParameter_;
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter> getTypeParameterList() {
return typeParameter_;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameterOrBuilder>
getTypeParameterOrBuilderList() {
return typeParameter_;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameterOrBuilder getTypeParameterOrBuilder(
int index) {
return typeParameter_.get(index);
}
public static final int DECLARATION_FIELD_NUMBER = 5;
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration> declaration_;
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration> getDeclarationList() {
return declaration_;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationOrBuilder>
getDeclarationOrBuilderList() {
return declaration_;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public int getDeclarationCount() {
return declaration_.size();
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration getDeclaration(int index) {
return declaration_.get(index);
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationOrBuilder getDeclarationOrBuilder(
int index) {
return declaration_.get(index);
}
public static final int SUPER_TYPE_FIELD_NUMBER = 6;
private java.util.List<java.lang.Integer> superType_;
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getSuperTypeList() {
return superType_;
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public int getSuperTypeCount() {
return superType_.size();
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public int getSuperType(int index) {
return superType_.get(index);
}
private int superTypeMemoizedSerializedSize = -1;
public static final int INLINE_CLASS_REPRESENTATION_FIELD_NUMBER = 7;
private org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inlineClassRepresentation_;
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public boolean hasInlineClassRepresentation() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation getInlineClassRepresentation() {
return inlineClassRepresentation_;
}
public static final int SEALED_SUBCLASS_FIELD_NUMBER = 8;
private java.util.List<java.lang.Long> sealedSubclass_;
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getSealedSubclassList() {
return sealedSubclass_;
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public int getSealedSubclassCount() {
return sealedSubclass_.size();
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public long getSealedSubclass(int index) {
return sealedSubclass_.get(index);
}
private int sealedSubclassMemoizedSerializedSize = -1;
private void initFields() {
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
name_ = 0;
thisReceiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance();
typeParameter_ = java.util.Collections.emptyList();
declaration_ = java.util.Collections.emptyList();
superType_ = java.util.Collections.emptyList();
inlineClassRepresentation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.getDefaultInstance();
sealedSubclass_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasBase()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!getBase().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (hasThisReceiver()) {
if (!getThisReceiver().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getTypeParameterCount(); i++) {
if (!getTypeParameter(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getDeclarationCount(); i++) {
if (!getDeclaration(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasInlineClassRepresentation()) {
if (!getInlineClassRepresentation().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, base_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, thisReceiver_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
output.writeMessage(4, typeParameter_.get(i));
}
for (int i = 0; i < declaration_.size(); i++) {
output.writeMessage(5, declaration_.get(i));
}
if (getSuperTypeList().size() > 0) {
output.writeRawVarint32(50);
output.writeRawVarint32(superTypeMemoizedSerializedSize);
}
for (int i = 0; i < superType_.size(); i++) {
output.writeInt32NoTag(superType_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(7, inlineClassRepresentation_);
}
if (getSealedSubclassList().size() > 0) {
output.writeRawVarint32(66);
output.writeRawVarint32(sealedSubclassMemoizedSerializedSize);
}
for (int i = 0; i < sealedSubclass_.size(); i++) {
output.writeInt64NoTag(sealedSubclass_.get(i));
}
output.writeRawBytes(unknownFields);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(1, base_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(3, thisReceiver_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(4, typeParameter_.get(i));
}
for (int i = 0; i < declaration_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(5, declaration_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < superType_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(superType_.get(i));
}
size += dataSize;
if (!getSuperTypeList().isEmpty()) {
size += 1;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
superTypeMemoizedSerializedSize = dataSize;
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(7, inlineClassRepresentation_);
}
{
int dataSize = 0;
for (int i = 0; i < sealedSubclass_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt64SizeNoTag(sealedSubclass_.get(i));
}
size += dataSize;
if (!getSealedSubclassList().isEmpty()) {
size += 1;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
sealedSubclassMemoizedSerializedSize = dataSize;
}
size += unknownFields.size();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(
byte[] data,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(
java.io.InputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseDelimitedFrom(
java.io.InputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.IrClass prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrClass}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.backend.common.serialization.proto.IrClass, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrClass)
org.jetbrains.kotlin.backend.common.serialization.proto.IrClassOrBuilder {
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrClass.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
name_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
thisReceiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000004);
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
declaration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
superType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
inlineClassRepresentation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000040);
sealedSubclass_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.backend.common.serialization.proto.IrClass getDefaultInstanceForType() {
return org.jetbrains.kotlin.backend.common.serialization.proto.IrClass.getDefaultInstance();
}
public org.jetbrains.kotlin.backend.common.serialization.proto.IrClass build() {
org.jetbrains.kotlin.backend.common.serialization.proto.IrClass result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.backend.common.serialization.proto.IrClass buildPartial() {
org.jetbrains.kotlin.backend.common.serialization.proto.IrClass result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrClass(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.base_ = base_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.thisReceiver_ = thisReceiver_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.typeParameter_ = typeParameter_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
declaration_ = java.util.Collections.unmodifiableList(declaration_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.declaration_ = declaration_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
superType_ = java.util.Collections.unmodifiableList(superType_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.superType_ = superType_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000008;
}
result.inlineClassRepresentation_ = inlineClassRepresentation_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
sealedSubclass_ = java.util.Collections.unmodifiableList(sealedSubclass_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.sealedSubclass_ = sealedSubclass_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrClass other) {
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrClass.getDefaultInstance()) return this;
if (other.hasBase()) {
mergeBase(other.getBase());
}
if (other.hasName()) {
setName(other.getName());
}
if (other.hasThisReceiver()) {
mergeThisReceiver(other.getThisReceiver());
}
if (!other.typeParameter_.isEmpty()) {
if (typeParameter_.isEmpty()) {
typeParameter_ = other.typeParameter_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTypeParameterIsMutable();
typeParameter_.addAll(other.typeParameter_);
}
}
if (!other.declaration_.isEmpty()) {
if (declaration_.isEmpty()) {
declaration_ = other.declaration_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureDeclarationIsMutable();
declaration_.addAll(other.declaration_);
}
}
if (!other.superType_.isEmpty()) {
if (superType_.isEmpty()) {
superType_ = other.superType_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSuperTypeIsMutable();
superType_.addAll(other.superType_);
}
}
if (other.hasInlineClassRepresentation()) {
mergeInlineClassRepresentation(other.getInlineClassRepresentation());
}
if (!other.sealedSubclass_.isEmpty()) {
if (sealedSubclass_.isEmpty()) {
sealedSubclass_ = other.sealedSubclass_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureSealedSubclassIsMutable();
sealedSubclass_.addAll(other.sealedSubclass_);
}
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (!hasBase()) {
return false;
}
if (!hasName()) {
return false;
}
if (!getBase().isInitialized()) {
return false;
}
if (hasThisReceiver()) {
if (!getThisReceiver().isInitialized()) {
return false;
}
}
for (int i = 0; i < getTypeParameterCount(); i++) {
if (!getTypeParameter(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getDeclarationCount(); i++) {
if (!getDeclaration(i).isInitialized()) {
return false;
}
}
if (hasInlineClassRepresentation()) {
if (!getInlineClassRepresentation().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.backend.common.serialization.proto.IrClass parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrClass) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public boolean hasBase() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase() {
return base_;
}
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public Builder setBase(org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase value) {
if (value == null) {
throw new NullPointerException();
}
base_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public Builder setBase(
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.Builder builderForValue) {
base_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public Builder mergeBase(org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase value) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
base_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance()) {
base_ =
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.newBuilder(base_).mergeFrom(value).buildPartial();
} else {
base_ = value;
}
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase base = 1;</code>
*/
public Builder clearBase() {
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
private int name_ ;
/**
* <code>required int32 name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>required int32 name = 2;</code>
*/
public int getName() {
return name_;
}
/**
* <code>required int32 name = 2;</code>
*/
public Builder setName(int value) {
bitField0_ |= 0x00000002;
name_ = value;
return this;
}
/**
* <code>required int32 name = 2;</code>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = 0;
return this;
}
private org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter thisReceiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance();
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public boolean hasThisReceiver() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter getThisReceiver() {
return thisReceiver_;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public Builder setThisReceiver(org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter value) {
if (value == null) {
throw new NullPointerException();
}
thisReceiver_ = value;
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public Builder setThisReceiver(
org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.Builder builderForValue) {
thisReceiver_ = builderForValue.build();
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public Builder mergeThisReceiver(org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter value) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
thisReceiver_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance()) {
thisReceiver_ =
org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.newBuilder(thisReceiver_).mergeFrom(value).buildPartial();
} else {
thisReceiver_ = value;
}
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter this_receiver = 3;</code>
*/
public Builder clearThisReceiver() {
thisReceiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter> typeParameter_ =
java.util.Collections.emptyList();
private void ensureTypeParameterIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter>(typeParameter_);
bitField0_ |= 0x00000008;
}
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter> getTypeParameterList() {
return java.util.Collections.unmodifiableList(typeParameter_);
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder setTypeParameter(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.set(index, value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder setTypeParameter(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder addTypeParameter(org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.add(value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder addTypeParameter(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.add(index, value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder addTypeParameter(
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder addTypeParameter(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder addAllTypeParameter(
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter> values) {
ensureTypeParameterIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, typeParameter_);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder clearTypeParameter() {
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter type_parameter = 4;</code>
*/
public Builder removeTypeParameter(int index) {
ensureTypeParameterIsMutable();
typeParameter_.remove(index);
return this;
}
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration> declaration_ =
java.util.Collections.emptyList();
private void ensureDeclarationIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
declaration_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration>(declaration_);
bitField0_ |= 0x00000010;
}
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration> getDeclarationList() {
return java.util.Collections.unmodifiableList(declaration_);
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public int getDeclarationCount() {
return declaration_.size();
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration getDeclaration(int index) {
return declaration_.get(index);
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder setDeclaration(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration value) {
if (value == null) {
throw new NullPointerException();
}
ensureDeclarationIsMutable();
declaration_.set(index, value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder setDeclaration(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration.Builder builderForValue) {
ensureDeclarationIsMutable();
declaration_.set(index, builderForValue.build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder addDeclaration(org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration value) {
if (value == null) {
throw new NullPointerException();
}
ensureDeclarationIsMutable();
declaration_.add(value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder addDeclaration(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration value) {
if (value == null) {
throw new NullPointerException();
}
ensureDeclarationIsMutable();
declaration_.add(index, value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder addDeclaration(
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration.Builder builderForValue) {
ensureDeclarationIsMutable();
declaration_.add(builderForValue.build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder addDeclaration(
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration.Builder builderForValue) {
ensureDeclarationIsMutable();
declaration_.add(index, builderForValue.build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder addAllDeclaration(
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration> values) {
ensureDeclarationIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, declaration_);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder clearDeclaration() {
declaration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration declaration = 5;</code>
*/
public Builder removeDeclaration(int index) {
ensureDeclarationIsMutable();
declaration_.remove(index);
return this;
}
private java.util.List<java.lang.Integer> superType_ = java.util.Collections.emptyList();
private void ensureSuperTypeIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
superType_ = new java.util.ArrayList<java.lang.Integer>(superType_);
bitField0_ |= 0x00000020;
}
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public java.util.List<java.lang.Integer>
getSuperTypeList() {
return java.util.Collections.unmodifiableList(superType_);
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public int getSuperTypeCount() {
return superType_.size();
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public int getSuperType(int index) {
return superType_.get(index);
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public Builder setSuperType(
int index, int value) {
ensureSuperTypeIsMutable();
superType_.set(index, value);
return this;
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public Builder addSuperType(int value) {
ensureSuperTypeIsMutable();
superType_.add(value);
return this;
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public Builder addAllSuperType(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureSuperTypeIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, superType_);
return this;
}
/**
* <code>repeated int32 super_type = 6 [packed = true];</code>
*/
public Builder clearSuperType() {
superType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
private org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inlineClassRepresentation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.getDefaultInstance();
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public boolean hasInlineClassRepresentation() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation getInlineClassRepresentation() {
return inlineClassRepresentation_;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public Builder setInlineClassRepresentation(org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation value) {
if (value == null) {
throw new NullPointerException();
}
inlineClassRepresentation_ = value;
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public Builder setInlineClassRepresentation(
org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.Builder builderForValue) {
inlineClassRepresentation_ = builderForValue.build();
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public Builder mergeInlineClassRepresentation(org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation value) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
inlineClassRepresentation_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.getDefaultInstance()) {
inlineClassRepresentation_ =
org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.newBuilder(inlineClassRepresentation_).mergeFrom(value).buildPartial();
} else {
inlineClassRepresentation_ = value;
}
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation inline_class_representation = 7;</code>
*/
public Builder clearInlineClassRepresentation() {
inlineClassRepresentation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrInlineClassRepresentation.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
private java.util.List<java.lang.Long> sealedSubclass_ = java.util.Collections.emptyList();
private void ensureSealedSubclassIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
sealedSubclass_ = new java.util.ArrayList<java.lang.Long>(sealedSubclass_);
bitField0_ |= 0x00000080;
}
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public java.util.List<java.lang.Long>
getSealedSubclassList() {
return java.util.Collections.unmodifiableList(sealedSubclass_);
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public int getSealedSubclassCount() {
return sealedSubclass_.size();
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public long getSealedSubclass(int index) {
return sealedSubclass_.get(index);
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public Builder setSealedSubclass(
int index, long value) {
ensureSealedSubclassIsMutable();
sealedSubclass_.set(index, value);
return this;
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public Builder addSealedSubclass(long value) {
ensureSealedSubclassIsMutable();
sealedSubclass_.add(value);
return this;
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public Builder addAllSealedSubclass(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureSealedSubclassIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, sealedSubclass_);
return this;
}
/**
* <code>repeated int64 sealed_subclass = 8 [packed = true];</code>
*/
public Builder clearSealedSubclass() {
sealedSubclass_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrClass)
}
static {
defaultInstance = new IrClass(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrClass)
} | Java | 4 | margarita-nedzelska-sonarsource/kotlin | compiler/ir/serialization.common/src/org/jetbrains/kotlin/backend/common/serialization/proto/IrClass.java | [
"ECL-2.0",
"Apache-2.0"
] |
BcountsJ | PureBasic | 0 | pchandrasekaran1595/onnx | onnx/backend/test/data/node/test_unique_sorted_with_axis_3d/test_data_set_0/output_3.pb | [
"Apache-2.0"
] |
+>>>>>>>++[+<[>]>[<++>-]<]<[[>+>+<<-]>>-]>+++++[>+++++++<-]>[[<<+>>-]<<-]
++++++[>++++++++++<-]>+<<<<<<<<<<++++++<<<<<<<+++++[<<+++>+>-]<++
<[<<<<<<<+++++>>+++++>+>+++>>+++++>>+++++<-]<<<+<<--->--[[<<+>>-]<<-]>---<<<<-
<++++[<<<<++>->+++++++>+>-]<<[<<+>+>>+>>+>>++>>+<<<<<<<-]<[>+<-]<<-
>[[<<+>>-]<<-]<<<<++++++++++++[<<+>---->-]<<[[<<+>>-]<<-]+++[>---------<-]
<<<<<<<<<<<<<<<<<+<++++[<<++++>>-]<<[<<<--->>>>->>-->>>>>>---<<<<<<<<<-]<<<--<<[
>>+>+++++++++++[<--->>>>---->>--->>--<<<<<<<-]>>>>>+>>+++
>>>+++++++[<->>---->>->>--<<<<<-]>+>>---->>>>+++++>>---->>-->
++++++[>--------<-]>+>>---->>+++>>------------>>>>++>>+++++++++>>-->>------
>>---->>++>>+>+++++++[<++>>-<-]>>>+>>>+++++++[<+>>+++>>>>>>++++<<<<<<<-]>+
>>>>>>>>
]>[<+>-]>[>>]<,[[[<<+>>-]<<-]>.[>>]<,]
[Filter for typing in Dvorak on a QWERTY keyboard. Needs a fast implementation.
Assumes no-change-on-EOF or EOF->0.
Daniel B Cristofani (cristofdathevanetdotcom)
http://www.hevanet.com/cristofd/brainfuck/]
| Brainfuck | 2 | RubenNL/brainheck | examples/dvorak.bf | [
"Apache-2.0"
] |
// Persistence of Vision Ray Tracer Scene Description File
// for FreeCAD (http://www.freecadweb.org)
#version 3.6;
#include "colors.inc"
#include "metals.inc"
#include "rad_def.inc"
global_settings {
radiosity {
Rad_Settings(Radiosity_Normal,off,off)
}
}
#default {finish{ambient 0}}
sky_sphere {
pigment {
gradient y
color_map {
[0.0 color LightGray]
[0.3 color White]
[0.7 color LightGray]
}
}
}
// Standard finish
#declare StdFinish = finish { crand 0.01 diffuse 0.8 };
// declares positon and view direction
// Generated by FreeCAD (http://www.freecadweb.org/)
#declare cam_location = <8.73978,199.309,279.033>;
#declare cam_look_at = <36.6763,75.105,54.1127>;
#declare cam_sky = <-0.0120499,0.874698,-0.484518>;
#declare cam_angle = 45;
camera {
location cam_location
look_at cam_look_at
sky cam_sky
angle cam_angle
right x*800/600
}
// Written by FreeCAD http://www.freecadweb.org/
// face number1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#declare Pov_Shape0421 = mesh2{
vertex_vectors {
1800,
<100,-2.08167e-17,-7.10543e-15>,
<100,100,-7.10543e-15>,
<100,5.79494,2.00509>,
<100,12.132,3.81734>,
<100,19.874,5.63068>,
<100,28.4485,7.22981>,
<100,37.5955,8.53082>,
<100,46.026,9.38617>,
<100,54.333,9.90452>,
<100,62.2357,10.0742>,
<100,69.5044,9.90739>,
<100,75.9842,9.43623>,
<100,81.5975,8.70535>,
<100,86.3343,7.76476>,
<100,90.2333,6.66387>,
<100,93.3653,5.44736>,
<100,95.8176,4.15238>,
<100,97.6825,2.80649>,
<100,99.0161,1.46517>,
<0,6.93889e-18,0>,
<83.0527,0,17.7712>,
<72.1671,0,29.561>,
<63.7728,0,38.9187>,
<61.1204,0,41.7691>,
<58.7136,0,44.0876>,
<55.1571,0,46.9994>,
<51.5998,0,49.45>,
<48.257,0,51.3418>,
<45.3521,0,52.6022>,
<42.9285,0,53.2945>,
<40.9497,0,53.52>,
<39.3496,0,53.3746>,
<38.1782,0,52.9874>,
<37.2167,0,52.3935>,
<36.3869,0,51.5559>,
<35.6635,0,50.4616>,
<34.7625,0,48.5875>,
<33.0268,0,44.2689>,
<31.8797,0,41.5441>,
<30.4307,0,38.425>,
<27.7686,0,33.4376>,
<24.6994,0,28.4829>,
<21.097,0,23.3531>,
<16.8844,0,17.9712>,
<11.9959,0,12.2946>,
<6.45289,0,6.37959>,
<-3.55271e-15,100,-1.42109e-14>,
<0,10.1703,1.58828>,
<0,42.7742,7.33789>,
<0,54.4377,9.08879>,
<0,63.8682,10.1622>,
<0,71.2924,10.6656>,
<0,77.3257,10.7418>,
<0,82.2776,10.4764>,
<0,86.3487,9.93222>,
<0,89.6871,9.1592>,
<0,92.411,8.19694>,
<0,94.6174,7.07504>,
<0,96.3871,5.81238>,
<0,97.7851,4.41598>,
<0,98.86,2.8804>,
<0,99.5226,1.5059>,
<89.5332,100,9.87068>,
<81.0019,100,18.3794>,
<73.5182,100,26.325>,
<67.1563,100,33.5625>,
<59.801,100,42.5067>,
<56.5163,100,46.3906>,
<53.9945,100,48.9696>,
<51.7133,100,50.85>,
<49.1227,100,52.5074>,
<46.7659,100,53.6215>,
<44.4323,100,54.3756>,
<42.166,100,54.7749>,
<40.0067,100,54.832>,
<37.9864,100,54.5652>,
<36.1281,100,53.9946>,
<34.4469,100,53.1389>,
<32.9525,100,52.0112>,
<31.4871,100,50.4245>,
<29.9122,100,48.1145>,
<27.5725,100,43.9818>,
<22.0464,100,33.9975>,
<16.7745,100,25.163>,
<10.2524,100,14.9685>,
<5.50756,100,7.91163>,
<89.4823,5.79515,12.9591>,
<89.4829,8.99103,13.9014>,
<83.0516,5.79607,19.7609>,
<81.1881,5.79662,21.7507>,
<89.4838,12.1324,14.7396>,
<83.0503,8.99236,20.6992>,
<81.1858,8.99315,22.6887>,
<83.0485,12.134,21.5325>,
<81.1827,12.135,23.5217>,
<74.2192,5.80122,29.286>,
<89.4865,19.8746,16.4955>,
<72.1575,5.804,31.548>,
<74.2102,8.99979,30.2271>,
<83.043,19.8769,23.2732>,
<72.1455,9.0038,32.4916>,
<74.1988,12.1434,31.0653>,
<81.1729,19.8783,25.262>,
<68.6321,5.81195,35.4531>,
<89.4902,28.4491,18.0141>,
<72.1301,12.1485,33.3337>,
<68.6132,9.01528,36.4029>,
<83.0353,28.452,24.7711>,
<74.1616,19.89,32.8251>,
<68.5891,12.1629,37.255>,
<81.159,28.4537,26.7594>,
<72.0805,19.8971,35.1079>,
<89.495,37.5962,19.215>,
<63.746,5.83848,40.89>,
<89.4962,39.9173,19.4558>,
<62.7142,5.84887,42.0115>,
<63.7126,9.05356,41.8513>,
<68.5109,19.9174,39.0665>,
<83.0256,37.5994,25.9466>,
<74.1095,28.4679,34.3528>,
<81.1418,37.6013,27.9347>,
<62.677,9.06856,42.9746>,
<83.023,39.9205,26.1805>,
<63.6699,12.2112,42.7248>,
<72.0107,28.4765,36.6574>,
<89.4998,46.0268,19.9685>,
<61.0853,5.87087,43.7143>,
<81.1371,39.9225,28.1685>,
<62.6293,12.2301,43.8531>,
<60.1852,5.88623,44.6016>,
<61.0417,9.10031,44.6781>,
<83.0158,46.0301,26.6744>,
<89.5031,51.5006,20.2773>,
<68.4012,28.5011,40.6732>,
<74.0447,37.6171,35.5674>,
<81.1243,46.0321,28.6623>,
<60.1383,9.12246,45.5639>,
<60.9859,12.2702,45.5631>,
<63.5318,19.9849,44.6226>,
<89.5048,54.3338,20.3796>,
<74.0271,39.9385,35.8121>,
<58.6722,5.91632,45.9869>,
<71.924,37.6267,37.9002>,
<58.1233,5.92813,46.4574>,
<83.009,51.5039,26.9656>,
<62.475,20.0114,45.7739>,
<60.0783,12.2981,46.4508>,
<71.9004,39.9483,38.1527>,
<58.6206,9.16589,46.9425>,
<81.1122,51.5058,28.9534>,
<83.0054,54.3371,27.0585>,
<58.0705,9.18294,47.4094>,
<73.9787,46.0485,36.336>,
<68.2648,37.654,41.99>,
<89.5091,61.0342,20.4551>,
<81.1058,54.3391,29.0462>,
<58.5547,12.3529,47.8287>,
<60.8054,20.0675,47.5189>,
<89.5098,62.2364,20.4423>,
<63.3378,28.5831,46.3664>,
<56.0708,5.97424,48.0951>,
<68.2277,39.9761,42.263>,
<71.8357,46.0585,38.698>,
<58.0029,12.3744,48.2939>,
<59.884,20.1066,48.4228>,
<55.1117,5.99652,48.8029>,
<62.2585,28.6153,47.556>,
<73.9334,51.5224,36.6556>,
<82.9967,61.0374,27.1113>,
<56.015,9.24947,49.0287>,
<82.9951,62.2396,27.0944>,
<81.0902,61.0393,29.0989>,
<71.775,51.5324,39.0378>,
<73.9092,54.3555,36.7636>,
<68.1259,46.087,42.8648>,
<55.0554,9.28163,49.7261>,
<89.5141,68.6493,20.2241>,
<81.0874,62.2415,29.0821>,
<53.5583,6.03338,49.8792>,
<55.9437,12.4582,49.9014>,
<89.5146,69.5051,20.1743>,
<58.3413,20.1832,49.8174>,
<60.5519,28.6833,49.3634>,
<71.7427,54.3654,39.1566>,
<63.0966,37.7453,47.8635>,
<57.7843,20.2133,50.2847>,
<54.9832,12.4988,50.5911>,
<53.5016,9.33482,50.7837>,
<63.031,40.0688,48.1866>,
<59.6113,28.7308,50.2991>,
<68.0304,51.5609,43.258>,
<82.9865,68.6523,26.8538>,
<51.5546,6.08209,51.1428>,
<61.9892,37.7811,49.1046>,
<82.9853,69.5081,26.8009>,
<51.1543,6.09196,51.3782>,
<73.8507,61.0553,36.8531>,
<81.072,68.6541,28.8413>,
<89.5182,74.9174,19.7286>,
<53.429,12.5659,51.6341>,
<73.84,62.2573,36.843>,
<61.9159,40.1051,49.4422>,
<81.07,69.5098,28.7884>,
<67.9796,54.3939,43.4053>,
<89.5189,75.9848,19.6114>,
<55.713,20.3308,51.8838>,
<51.4983,9.40511,52.0207>,
<71.6643,61.0649,39.2724>,
<58.0418,28.8239,51.7351>,
<51.0981,9.41935,52.2505>,
<71.65,62.2668,39.2671>,
<60.2368,37.8568,50.9979>,
<62.851,46.1821,48.9272>,
<57.4774,28.8605,52.2125>,
<54.7499,20.3875,52.5629>,
<82.978,74.9201,26.3359>,
<48.6996,6.15336,52.6911>,
<51.4262,12.6545,52.8494>,
<60.151,40.1821,51.3596>,
<89.5217,80.1256,19.0481>,
<82.9765,75.9874,26.2148>,
<48.2134,6.1657,52.9229>,
<61.7149,46.2193,50.2228>,
<51.0263,12.6725,53.0746>,
<59.2721,37.9096,51.9788>,
<81.0568,74.9217,28.3234>,
<73.7822,68.6689,36.6386>,
<67.8563,61.0925,43.5904>,
<81.0542,75.989,28.2023>,
<89.5227,81.5981,18.8008>,
<73.7744,69.5246,36.5906>,
<53.1941,20.4815,53.5824>,
<59.1798,40.2357,52.3534>,
<67.8338,62.2942,43.5977>,
<62.6822,51.6563,49.4518>,
<48.6451,9.50797,53.5277>,
<71.5726,68.6779,39.0886>,
<48.1592,9.52577,53.7521>,
<55.3891,29.0031,53.8272>,
<71.5622,69.5334,39.0441>,
<46.2752,6.21544,53.7427>,
<82.9708,80.128,25.6367>,
<62.5924,54.4887,49.6693>,
<57.6693,38.0131,53.4776>,
<59.9158,46.2981,52.2077>,
<89.5246,84.4613,18.2349>,
<61.5264,51.6936,50.7855>,
<48.5752,12.7842,54.3217>,
<81.044,80.1295,27.624>,
<82.9688,81.6004,25.3841>,
<54.4222,29.072,54.5046>,
<57.0958,38.0538,53.972>,
<45.3105,6.24053,54.082>,
<48.0899,12.8067,54.5398>,
<51.1931,20.6055,54.7588>,
<57.5679,40.3409,53.8704>,
<73.7248,74.9352,36.1565>,
<89.5258,86.3347,17.7936>,
<61.4261,54.5259,51.0234>,
<50.794,20.6307,54.9754>,
<58.9267,46.3532,53.2378>,
<81.0404,81.6018,27.3713>,
<46.2226,9.59755,54.5421>,
<73.7149,76.0023,36.0415>,
<67.7121,68.7036,43.4874>,
<56.9919,40.3822,54.3699>,
<67.6957,69.5589,43.4521>,
<82.9649,84.4634,24.808>,
<89.5269,88.0646,17.3258>,
<71.4958,74.9434,38.632>,
<59.6951,51.7727,52.8348>,
<43.9553,6.27618,54.4687>,
<52.8644,29.186,55.5132>,
<45.2588,9.63376,54.8661>,
<71.4826,76.0103,38.5214>,
<62.3744,61.1845,50.0249>,
<46.1554,12.8972,55.3042>,
<81.0335,84.4647,26.7951>,
<82.9624,86.3367,24.36>,
<54.9863,38.2124,55.6232>,
<62.3346,62.3854,50.0634>,
<59.5778,54.6046,53.1071>,
<57.29,46.461,54.8064>,
<42.8886,6.30458,54.6875>,
<58.6893,51.8279,53.8995>,
<89.5283,90.2337,16.6394>,
<73.6768,80.1416,35.4868>,
<48.3493,20.7871,56.1644>,
<43.9048,9.6852,55.2312>,
<45.1927,12.9428,55.6151>,
<81.029,86.3379,26.347>,
<61.1828,61.2205,51.4286>,
<89.5288,91.049,16.3467>,
<56.7071,46.5033,55.3203>,
<54.8767,40.5434,56.0329>,
<47.8655,20.8185,56.3703>,
<82.9601,88.0665,23.8861>,
<54.0148,38.2891,56.307>,
<73.6633,81.6134,35.2423>,
<50.8659,29.3367,56.6642>,
<67.5912,74.9669,43.0983>,
<61.1384,62.4212,51.4761>,
<41.8036,6.33381,54.8176>,
<58.563,54.6595,54.1904>,
<71.4316,80.1489,37.9834>,
<50.4677,29.3672,56.8745>,
<42.839,9.72618,55.4328>,
<81.0249,88.0676,25.873>,
<67.5705,76.0333,42.9991>,
<43.8402,13.0077,55.9616>,
<53.9039,40.6213,56.7192>,
<71.4135,81.6205,37.7449>,
<57.0292,51.9361,55.5179>,
<82.9572,90.2353,23.192>,
<40.9109,6.35816,54.8408>,
<89.5303,93.3656,15.382>,
<89.5303,93.5092,15.3144>,
<73.6372,84.4753,34.6819>,
<52.4544,38.4159,57.3157>,
<62.1194,68.7894,50.1213>,
<59.293,61.2969,53.5962>,
<41.7547,9.76837,55.5454>,
<82.9562,91.0505,22.8965>,
<45.9378,20.9452,57.0837>,
<56.4399,51.9785,56.046>,
<81.0198,90.2363,25.1788>,
<42.7755,13.0594,56.1484>,
<62.0904,69.6438,50.1085>,
<54.5761,46.6685,57.0179>,
<59.241,62.4968,53.659>,
<56.8905,54.7671,55.8356>,
<81.018,91.0514,24.8832>,
<39.8704,6.38693,54.7496>,
<52.3428,40.7502,57.7294>,
<73.6202,86.3478,34.2439>,
<67.4903,80.1698,42.5053>,
<71.3785,84.4817,37.1958>,
<40.8626,9.80351,55.5541>,
<44.9787,21.0092,57.3684>,
<60.8981,68.8231,51.5828>,
<48.032,29.5571,58.0187>,
<58.2566,61.3501,54.7249>,
<56.2977,54.8093,56.3714>,
<89.5315,95.5255,14.2376>,
<41.6923,13.1126,56.246>,
<39.3112,6.4026,54.6361>,
<60.8656,69.6771,51.5766>,
<53.5999,46.7484,57.7125>,
<67.4619,81.6406,42.2823>,
<47.5505,29.5953,58.2146>,
<89.5316,95.8178,14.0574>,
<82.9533,93.3669,21.9239>,
<58.2006,62.5496,54.796>,
<82.9531,93.5105,21.8559>,
<73.6048,88.0767,33.779>,
<71.3559,86.3537,36.7651>,
<50.459,38.5835,58.4531>,
<39.8225,9.84502,55.4463>,
<50.0621,38.6175,58.6593>,
<81.0128,93.3676,23.9104>,
<43.6311,21.1,57.6776>,
<40.8008,13.1569,56.2425>,
<81.0125,93.5112,23.8424>,
<54.2941,52.1442,57.7781>,
<61.9057,75.0451,49.8977>,
<50.3482,40.9205,58.8651>,
<89.5323,97.1637,13.117>,
<71.3352,88.0822,36.3067>,
<39.2634,9.86764,55.3238>,
<38.1944,6.43443,54.2324>,
<38.1397,6.43601,54.2052>,
<67.4068,84.5001,41.763>,
<52.0368,46.8805,58.7285>,
<73.5857,90.2444,33.0958>,
<58.9597,68.8942,53.8482>,
<61.8692,76.1099,49.8265>,
<49.9517,40.955,59.0705>,
<56.5539,61.4545,56.4354>,
<82.9508,95.5265,20.7726>,
<89.5326,97.6826,12.6919>,
<42.5701,21.1723,57.8349>,
<45.6323,29.7491,58.8861>,
<58.9218,69.7475,53.8531>,
<39.7613,13.2092,56.1205>,
<53.3147,52.2243,58.4814>,
<82.9505,95.8187,20.5915>,
<73.5787,91.0591,32.8042>,
<54.1441,54.9742,58.1223>,
<56.4925,62.6531,56.5185>,
<60.6595,75.0757,51.4072>,
<55.9529,61.4954,56.99>,
<81.0083,95.5271,22.7588>,
<67.3711,86.3708,41.3513>,
<71.3097,90.2493,35.6313>,
<81.0077,95.8193,22.5776>,
<39.2023,13.2377,55.9907>,
<60.6186,76.14,51.3442>,
<89.5329,98.4745,11.9457>,
<57.8979,68.9439,55.0298>,
<38.1465,9.91357,54.9026>,
<55.8899,62.6938,57.0765>,
<37.1775,6.46426,53.5751>,
<44.6782,29.8268,59.1491>,
<38.0917,9.91585,54.8745>,
<41.4902,21.2468,57.9027>,
<47.6376,38.8288,59.7707>,
<57.8571,69.7966,55.0406>,
<53.163,55.0539,58.8306>,
<71.3002,91.0637,35.3426>,
<82.9491,97.1644,19.647>,
<36.8065,6.47544,53.2342>,
<89.5331,99.0162,11.3397>,
<67.3386,88.098,40.9101>,
<61.7273,80.2397,49.4409>,
<50.0446,47.055,59.8618>,
<47.1588,38.8712,59.9589>,
<51.7498,52.3568,59.5047>,
<73.5593,93.374,31.8419>,
<73.5581,93.5175,31.7745>,
<82.9486,97.6832,19.2205>,
<89.5331,99.3291,10.9385>,
<49.649,47.0904,60.0658>,
<81.0052,97.1648,21.633>,
<47.5302,41.1696,60.1754>,
<40.6009,21.3088,57.8751>,
<38.0852,13.2957,55.5551>,
<43.3376,29.937,59.4271>,
<61.677,81.7077,49.2558>,
<38.0303,13.2985,55.5264>,
<36.3465,6.48954,52.706>,
<58.6805,75.1405,53.7534>,
<37.1288,9.95663,54.2299>,
<47.0521,41.2128,60.362>,
<81.0044,97.6836,21.2063>,
<60.4603,80.2671,50.9896>,
<53.7802,61.6553,58.7873>,
<51.5971,55.1857,59.8581>,
<71.2743,93.3778,34.3881>,
<82.9479,98.475,18.4722>,
<56.1601,69.0412,56.8164>,
<58.6327,76.2035,53.704>,
<67.2985,90.2632,40.2555>,
<71.2727,93.5212,34.3211>,
<36.7572,9.97275,53.8836>,
<56.1152,69.8929,56.8358>,
<53.7137,62.8523,58.8823>,
<39.5631,21.3821,57.726>,
<42.2817,30.0249,59.5599>,
<67.2837,91.077,39.9742>,
<73.5424,95.5319,30.6988>,
<60.4041,81.734,50.8154>,
<81.0032,98.4752,20.4578>,
<45.2525,39.0424,60.5969>,
<55.5493,69.0794,57.3927>,
<82.9475,99.0165,17.865>,
<57.5974,75.1858,54.9784>,
<73.5402,95.8239,30.5187>,
<49.7597,52.5319,60.6381>,
<37.0664,13.3499,54.8703>,
<35.6214,6.51178,51.5852>,
<61.5797,84.5613,48.8088>,
<36.2963,9.99311,53.3491>,
<52.7949,61.7326,59.5077>,
<35.5854,6.51286,51.5195>,
<55.5034,69.9307,57.4146>,
<82.9474,99.3293,17.4631>,
<39.0046,21.422,57.5822>,
<57.546,76.2479,54.9364>,
<49.365,52.5673,60.841>,
<81.0025,99.0167,19.8504>,
<52.7276,62.9289,59.6049>,
<47.2359,47.3104,61.1558>,
<36.6941,13.3703,54.52>,
<45.1491,41.3867,60.9927>,
<44.3046,39.1287,60.8421>,
<71.2516,95.5348,33.2513>,
<41.2064,30.1153,59.6033>,
<81.0022,99.3294,19.4484>,
<71.2487,95.8267,33.0719>,
<58.4473,80.325,53.4016>,
<49.6081,55.3598,60.992>,
<61.5166,86.4278,48.4432>,
<46.7598,47.3546,61.3386>,
<60.2954,84.5854,50.3891>,
<73.5308,97.1683,29.578>,
<67.2429,93.3887,39.0398>,
<67.2404,93.532,38.974>,
<36.232,13.3959,53.9809>,
<49.2139,55.3951,61.1945>,
<35.5692,10.0252,52.2192>,
<35.533,10.0268,52.1531>,
<44.2029,41.4744,61.234>,
<51.2266,61.8604,60.546>,
<37.8867,21.5031,57.1207>,
<73.5275,97.6866,29.1525>,
<40.3203,30.1906,59.5565>,
<58.3816,81.7897,53.2455>,
<37.8318,21.5071,57.0907>,
<55.83,75.2745,56.8272>,
<34.7178,6.53701,49.6825>,
<61.4591,88.1507,48.0433>,
<42.9726,39.2514,61.0947>,
<53.3542,69.2285,59.2437>,
<51.1589,63.0557,60.6451>,
<60.225,86.4501,50.0365>,
<57.3466,80.3654,54.6618>,
<71.2362,97.1704,32.1343>,
<55.7736,76.3348,56.7956>,
<55.2112,75.3093,57.4212>,
<53.3058,70.0783,59.2715>,
<73.5231,98.4774,28.4052>,
<34.3608,6.5455,48.8178>,
<46.9597,52.788,61.92>,
<71.2318,97.6884,31.7097>,
<35.5022,13.4364,52.8452>,
<42.8732,41.599,61.4811>,
<35.4659,13.4384,52.7788>,
<67.2072,95.5432,37.9193>,
<44.8657,47.5329,61.9522>,
<57.2758,81.8286,54.5152>,
<39.285,30.2796,59.3865>,
<55.1533,76.3689,57.3924>,
<41.9231,39.3491,61.2077>,
<46.4856,52.8324,62.0997>,
<67.2027,95.8347,37.7419>,
<60.1607,88.1713,49.6483>,
<52.3641,69.3006,59.978>,
<58.2544,84.6362,52.8535>,
<36.8646,21.5791,56.4159>,
<61.3882,90.3099,47.4383>,
<73.5206,99.0182,27.798>,
<34.6622,10.0616,50.3082>,
<52.315,70.1496,60.0073>,
<38.727,30.328,59.2323>,
<49.2405,62.0293,61.6817>,
<71.2258,98.4787,30.9634>,
<46.8128,55.6147,62.2683>,
<73.5194,99.3305,27.3959>,
<36.49,21.6076,56.0597>,
<61.362,91.1212,47.1748>,
<43.9241,47.6228,62.1842>,
<41.8255,41.6983,61.5898>,
<48.8474,62.0636,61.8834>,
<34.3039,10.0739,49.4413>,
<49.1733,63.2232,61.7812>,
<55.5545,80.4447,56.5602>,
<58.172,86.4974,52.5225>,
<46.3397,55.6588,62.4466>,
<40.8536,39.4497,61.2317>,
<57.139,84.6716,54.1413>,
<71.2225,99.0191,30.3565>,
<67.1829,97.1765,36.812>,
<60.0816,90.3282,49.057>,
<48.7804,63.2572,61.9827>,
<36.0241,21.6435,55.5148>,
<34.5911,13.4823,50.9299>,
<50.793,69.4199,61.0284>,
<71.221,99.3312,29.9543>,
<52.9974,75.4451,59.3146>,
<54.9288,80.4758,57.1679>,
<55.4768,81.9047,56.4271>,
<67.176,97.6936,36.3898>,
<60.0524,91.1385,48.7985>,
<44.5997,53.0112,62.6995>,
<37.6082,30.4265,58.7534>,
<40.7575,41.8005,61.6097>,
<32.9777,6.56948,45.3302>,
<50.7437,70.2676,61.0589>,
<37.5531,30.4314,58.7227>,
<58.0968,88.215,52.1533>,
<42.6009,47.7505,62.4179>,
<39.9713,39.5334,61.17>,
<52.9363,76.5021,59.2927>,
<57.0503,86.5304,53.8216>,
<61.2898,93.4252,46.2874>,
<34.231,13.4978,50.0623>,
<61.2855,93.568,46.2243>,
<54.8492,81.9346,57.0385>,
<67.1666,98.4825,35.6459>,
<52.0031,75.5108,60.0594>,
<43.6625,53.1013,62.924>,
<32.4253,6.5759,43.9855>,
<35.2857,21.7001,54.3744>,
<44.4583,55.8367,63.0395>,
<39.8763,41.8856,61.5449>,
<35.2489,21.7029,54.308>,
<41.5579,47.8523,62.5163>,
<51.9413,76.5665,60.0391>,
<46.4564,62.2765,62.9453>,
<56.9694,88.2455,53.4622>,
<55.3265,84.7411,56.0781>,
<38.939,39.6324,60.9847>,
<58.0041,90.3669,51.5844>,
<67.1614,99.0217,35.0397>,
<32.9168,10.1085,45.9492>,
<36.5813,30.5188,58.0384>,
<59.9718,93.4395,47.9238>,
<59.9669,93.5821,47.8614>,
<31.8291,6.58145,42.5942>,
<48.8102,69.5774,62.1657>,
<45.9858,62.3193,63.1201>,
<46.3913,63.4683,63.0424>,
<67.159,99.333,34.6372>,
<57.9699,91.1752,51.3336>,
<43.5234,55.9264,63.2602>,
<54.6952,84.7684,56.6961>,
<48.7612,70.4235,62.1963>,
<38.3818,39.6863,60.8236>,
<61.2268,95.5712,45.204>,
<48.4184,69.6093,62.3662>,
<36.2035,30.5534,57.6806>,
<52.6994,80.5972,59.0933>,
<42.3454,53.2295,63.1468>,
<38.8449,41.9862,61.3565>,
<45.9211,63.5108,63.2167>,
<61.2187,95.8614,45.0308>,
<32.3632,10.1177,44.6038>,
<55.2291,86.595,55.7735>,
<40.4942,47.957,62.5263>,
<50.4298,75.6195,61.1179>,
<48.3696,70.4551,62.3966>,
<56.8696,90.3939,52.9045>,
<34.361,21.7644,52.4617>,
<32.8387,13.5414,46.5704>,
<50.3676,76.673,61.0987>,
<38.2878,42.041,61.1942>,
<52.6154,82.0513,58.972>,
<35.7322,30.597,57.1361>,
<54.5955,86.6204,56.3955>,
<31.7662,10.1257,43.2121>,
<56.8329,91.2008,52.6577>,
<59.9014,95.5821,46.8499>,
<51.7017,80.6559,59.8451>,
<30.3794,6.59096,39.4667>,
<42.2094,56.0538,63.4776>,
<41.3069,53.3315,63.2368>,
<55.1402,88.3052,55.4271>,
<39.6159,48.0443,62.4542>,
<59.8924,95.8718,46.6777>,
<37.2618,39.7959,60.3349>,
<57.8756,93.4698,50.4789>,
<61.1838,97.1966,44.1173>,
<37.2065,39.8013,60.304>,
<33.9955,21.786,51.5971>,
<44.1151,62.4918,63.6972>,
<57.8699,93.6119,50.4176>,
<32.2838,13.5531,45.2258>,
<51.6167,82.1077,59.7253>,
<54.5043,88.3287,56.0524>,
<61.1716,97.7109,43.6994>,
<44.0524,63.6818,63.7908>,
<34.9818,30.6658,56.0023>,
<37.1675,42.1523,60.704>,
<41.1733,56.1554,63.5635>,
<52.4529,84.8749,58.6438>,
<48.4496,75.763,62.2539>,
<46.0393,69.8079,63.4133>,
<34.9442,30.6691,55.9364>,
<40.2472,53.4366,63.2389>,
<37.1122,42.1578,60.673>,
<31.6857,13.5632,43.8351>,
<38.5868,48.1474,62.259>,
<43.1858,62.5788,63.9091>,
<55.0307,90.4468,54.884>,
<59.8534,97.2045,45.7678>,
<30.3156,10.1395,40.0844>,
<56.7313,93.4909,51.8125>,
<45.9918,70.6516,63.4418>,
<48.059,75.7921,62.4529>,
<50.1265,80.753,60.9077>,
<56.7252,93.6328,51.7517>,
<48.3879,76.8137,62.2341>,
<45.5715,69.8478,63.584>,
<61.1551,98.495,42.9592>,
<36.2289,39.8985,59.6184>,
<43.1241,63.7681,64.0011>,
<54.9903,91.2509,54.642>,
<57.7932,95.6053,49.419>,
<38.0303,48.2035,62.0939>,
<45.5244,70.6911,63.612>,
<59.8398,97.7177,45.3507>,
<47.9975,76.8422,62.4328>,
<54.3921,90.4676,55.5127>,
<52.3476,86.7194,58.3509>,
<51.4524,84.9264,59.3994>,
<39.3716,53.5241,63.1612>,
<57.7827,95.894,49.2483>,
<27.7181,6.60056,34.4711>,
<40.1158,56.2599,63.5617>,
<50.0409,82.201,60.7883>,
<35.8473,39.937,59.2628>,
<61.1458,99.0305,42.3523>,
<54.3507,91.2706,55.2717>,
<36.133,42.2566,59.9882>,
<41.8796,62.7024,64.1138>,
<26.8905,6.60244,33.064>,
<32.5862,21.8471,48.1216>,
<30.2339,13.5805,40.7095>,
<59.8213,98.4999,44.6105>,
<61.1415,99.3393,41.9479>,
<34.038,30.7438,54.1081>,
<52.2514,88.4202,58.0135>,
<41.8194,63.8907,64.2035>,
<56.6427,95.6215,50.7586>,
<35.3692,39.9855,58.7238>,
<51.3458,86.7673,59.1072>,
<35.7503,42.2956,59.6336>,
<39.2416,56.347,63.4812>,
<38.3446,53.6275,62.9608>,
<56.6314,95.9094,50.5884>,
<36.909,48.3176,61.6015>,
<54.8788,93.5323,53.8077>,
<57.7371,97.2213,48.3427>,
<43.7134,70.0087,64.1417>,
<36.8535,48.3232,61.5706>,
<48.1486,80.8812,62.0388>,
<54.8721,93.6736,53.7474>,
<59.8109,99.0339,44.0027>,
<32.0268,21.8635,46.7836>,
<27.6554,10.1533,35.089>,
<33.6648,30.7701,53.2529>,
<40.8493,62.8009,64.19>,
<49.8755,85.0115,60.4619>,
<43.6677,70.8503,64.1673>,
<45.6898,75.9731,63.4843>,
<47.759,80.9072,62.2359>,
<57.7212,97.7321,47.9259>,
<35.2704,42.3449,59.0968>,
<59.8062,99.3418,43.5971>,
<37.7886,53.6838,62.7939>,
<51.2486,88.4645,58.7699>,
<24.6519,6.60607,29.5113>,
<54.2365,93.5486,54.4394>,
<40.7901,63.9884,64.2779>,
<26.8286,10.156,33.6819>,
<54.2296,93.6896,54.3792>,
<48.0637,82.3242,61.9172>,
<45.2244,76.0094,63.6509>,
<45.63,77.0196,63.461>,
<42.7907,70.0899,64.3429>,
<52.133,90.5487,57.4786>,
<31.4253,21.8776,45.3995>,
<38.2157,56.4498,63.2784>,
<34.6038,40.062,57.6067>,
<47.6744,82.3492,62.1135>,
<56.5823,97.2329,49.6837>,
<34.5654,40.0657,57.5419>,
<49.7683,86.8465,60.1683>,
<42.7457,70.9306,64.3673>,
<45.1651,77.0552,63.6267>,
<39.797,62.9023,64.1791>,
<57.6995,98.5103,47.1844>,
<35.8701,48.4245,60.8893>,
<52.0893,91.3475,57.2384>,
<27.5751,13.598,35.7169>,
<37.6601,56.5059,63.1108>,
<54.7815,95.6533,52.7587>,
<56.5652,97.7421,49.2665>,
<39.7387,64.0889,64.2654>,
<54.7691,95.9397,52.5886>,
<51.1288,90.5879,58.2339>,
<34.5009,42.4227,57.985>,
<36.6665,53.7982,62.3008>,
<35.4845,48.4645,60.538>,
<34.4623,42.4265,57.9205>,
<36.6109,53.8039,62.27>,
<24.5928,10.1613,30.1288>,
<57.6873,99.0411,46.5736>,
<26.7493,13.6014,34.3102>,
<47.8995,85.124,61.5846>,
<49.6704,88.5377,59.8286>,
<41.4937,70.2052,64.5324>,
<54.1368,95.6657,53.3904>,
<38.9263,62.9867,64.0922>,
<21.0546,6.60932,24.3774>,
<51.0846,91.3846,57.993>,
<20.8778,6.60943,24.1394>,
<29.9698,21.9018,42.2871>,
<57.6818,99.347,46.1653>,
<54.124,95.9515,53.2201>,
<56.5419,98.5175,48.5229>,
<41.4498,71.0447,64.5548>,
<47.5107,85.1468,61.7791>,
<43.3769,76.156,64.1898>,
<32.2317,30.8443,49.8147>,
<45.398,81.0689,63.2495>,
<34.9996,48.5151,60.0077>,
<38.8687,64.1726,64.1773>,
<33.6363,40.1488,55.7449>,
<51.9687,93.612,56.405>,
<36.5375,56.6197,62.6176>,
<51.9615,93.7521,56.3445>,
<54.7152,97.2558,51.6819>,
<43.3193,77.1989,64.1619>,
<36.4818,56.6253,62.5869>,
<47.7931,86.9511,61.2856>,
<44.9347,81.1014,63.4117>,
<56.5288,99.0462,47.9096>,
<40.4701,70.297,64.5968>,
<24.5172,13.608,30.7576>,
<45.3157,82.5046,63.1209>,
<35.6235,53.9055,61.5933>,
<31.6661,30.8641,48.4898>,
<49.5499,90.6528,59.2878>,
<37.9032,63.0865,63.8839>,
<42.4597,76.23,64.3807>,
<47.4046,86.9723,61.4786>,
<54.6963,97.7618,51.2625>,
<40.4269,71.1356,64.6178>,
<33.2536,40.178,54.9045>,
<56.5228,99.3506,47.499>,
<54.0688,97.2648,52.3115>,
<33.5269,42.5109,56.133>,
<21.0017,10.166,24.9933>,
<20.8253,10.1661,24.7552>,
<44.853,82.5358,63.2816>,
<37.8461,64.2716,63.968>,
<50.9627,93.6426,57.1556>,
<49.5054,91.446,59.0444>,
<42.403,77.2714,64.351>,
<16.8491,6.61112,18.9913>,
<35.2351,53.9456,61.2457>,
<50.9553,93.7823,57.0948>,
<47.696,88.6344,60.9395>,
<37.3482,63.1408,63.7145>,
<34.2189,48.5947,58.9118>,
<31.0597,30.8813,47.1182>,
<34.1796,48.5986,58.8483>,
<54.0495,97.7695,51.8908>,
<39.4239,70.3916,64.5749>,
<33.1417,42.5405,55.297>,
<54.6707,98.5317,50.5133>,
<35.4923,56.7264,61.9129>,
<47.3078,88.654,61.1309>,
<51.8635,95.7143,55.3481>,
<37.2912,64.3255,63.7983>,
<27.3153,21.9263,37.3093>,
<39.3814,71.2291,64.5945>,
<34.7454,53.9963,60.7221>,
<45.1565,85.2886,62.7725>,
<41.1703,76.335,64.5554>,
<51.8501,95.9979,55.1759>,
<43.0959,81.2324,63.931>,
<35.1024,56.7663,61.5675>,
<20.9341,13.6139,25.6208>,
<54.0233,98.5373,51.1389>,
<54.6564,99.0561,49.8938>,
<20.7582,13.6141,25.3826>,
<26.4928,21.9311,35.9053>,
<12.9715,6.61188,14.4357>,
<44.6949,85.3171,62.9299>,
<41.115,77.3744,64.5228>,
<38.5573,70.4703,64.4802>,
<47.5764,90.7385,60.3884>,
<16.8051,10.1686,19.6038>,
<49.3827,93.6934,58.1974>,
<36.2245,63.2512,63.2218>,
<11.9699,6.61199,13.3095>,
<50.8562,95.7378,56.0919>,
<54.6498,99.3578,49.4785>,
<49.3753,93.8323,58.1358>,
<36.1687,63.2567,63.1912>,
<43.0167,82.6617,63.7945>,
<38.5153,71.307,64.4989>,
<47.1885,90.7558,60.5773>,
<29.599,30.9107,44.03>,
<45.0534,87.1043,62.4609>,
<54.0086,99.06,50.5167>,
<50.8426,96.0203,55.9184>,
<34.6103,56.8168,61.0475>,
<42.1833,81.2985,64.1115>,
<47.5322,91.5272,60.1402>,
<40.1524,76.4187,64.6085>,
<33.2272,48.6851,57.088>,
<36.1673,64.4349,63.3056>,
<31.7909,40.2606,51.5216>,
<51.7918,97.2999,54.2557>,
<36.1115,64.4404,63.2751>,
<33.9543,54.0762,59.6421>,
<33.9144,54.0801,59.5795>,
<47.1445,91.5437,60.328>,
<44.5925,87.1308,62.6158>,
<54.0018,99.3606,50.0993>,
<40.098,77.4564,64.5737>,
<37.5374,70.5634,64.265>,
<24.2727,21.9403,32.3565>,
<42.1054,82.7252,63.9715>,
<51.7714,97.7997,53.8286>,
<12.9367,10.1696,15.0441>,
<32.8348,48.7156,56.2644>,
<16.7489,13.6172,20.2275>,
<44.9592,88.7759,62.1014>,
<31.2175,40.2827,50.2154>,
<37.4958,71.3991,64.2828>,
<31.6709,42.6244,51.93>,
<7.02949,6.61228,7.9992>,
<11.9377,10.1698,13.9167>,
<39.1112,76.5049,64.5758>,
<35.1739,63.3547,62.5242>,
<50.7837,97.3168,54.9909>,
<6.43851,6.61229,7.388>,
<42.8634,85.432,63.4286>,
<49.2756,95.7767,57.1197>,
<36.9832,70.6141,64.0934>,
<40.9003,81.3924,64.2712>,
<44.499,88.8004,62.2536>,
<33.8135,56.8963,59.9762>,
<33.7733,56.9001,59.9142>,
<49.2619,96.0574,56.9439>,
<47.4104,93.7604,59.2765>,
<51.7437,98.559,53.0639>,
<39.0577,77.5408,64.5389>,
<35.1158,64.5375,62.6094>,
<36.9416,71.4493,64.1109>,
<47.4031,93.8984,59.2136>,
<50.7631,97.8142,54.5601>,
<30.6052,40.3018,48.8615>,
<34.7805,63.3935,62.184>,
<31.0954,42.6469,50.6292>,
<47.0231,93.7739,59.4605>,
<40.8242,82.8154,64.1263>,
<47.0158,93.9117,59.3973>,
<26.9506,30.9404,39.0788>,
<38.2481,76.5766,64.4732>,
<41.9546,85.49,63.5981>,
<12.8922,13.6186,15.6626>,
<32.946,54.1669,57.8459>,
<44.8433,90.8639,61.5301>,
<42.7641,87.2376,63.1037>,
<34.7217,64.576,62.2701>,
<51.7282,99.0751,52.4299>,
<20.7154,21.9486,27.2177>,
<39.8871,81.4672,64.3126>,
<20.5409,21.9489,26.9792>,
<11.8963,13.6188,14.5336>,
<7.01003,10.1702,8.59947>,
<34.2823,63.4424,61.6732>,
<38.1952,77.6112,64.4348>,
<30.4814,42.6663,49.2804>,
<50.7351,98.5695,53.7885>,
<26.1327,30.9462,37.6798>,
<44.3838,90.8856,61.6784>,
<6.42064,10.1702,7.98737>,
<44.8005,91.646,61.2732>,
<35.8582,70.717,63.6006>,
<51.7211,99.3715,52.0042>,
<49.2025,97.3448,56.0028>,
<35.8022,70.7221,63.5702>,
<32.547,54.1974,57.0344>,
<34.2224,64.6245,61.761>,
<35.8165,71.5511,63.618>,
<39.8123,82.8872,64.1638>,
<41.8569,87.2915,63.2676>,
<44.3413,91.6666,61.4198>,
<35.7605,71.5562,63.5876>,
<42.6735,88.8991,62.7303>,
<47.3041,95.828,58.1767>,
<32.7964,56.9865,58.195>,
<31.342,48.8015,52.9425>,
<37.2309,76.6614,64.2508>,
<49.1818,97.8383,55.5654>,
<50.7194,99.0825,53.1484>,
<29.1379,40.3345,45.8069>,
<40.6769,85.5723,63.7421>,
<47.2905,96.1064,57.9972>,
<38.8502,81.5442,64.2686>,
<46.9171,95.8384,58.3559>,
<50.7121,99.3768,52.7185>,
<37.1785,77.6943,64.2108>,
<6.98512,13.6193,9.2077>,
<46.9036,96.1163,58.1756>,
<33.472,63.5195,60.6234>,
<23.9295,30.9574,34.1384>,
<36.6773,76.7076,64.0765>,
<32.3938,57.0168,57.3899>,
<6.39775,13.6193,8.59444>,
<33.431,63.5232,60.5626>,
<16.5669,21.9532,21.8134>,
<30.7607,48.8245,51.6566>,
<41.7677,88.9489,62.8883>,
<29.0124,42.6995,46.2353>,
<49.1536,98.5869,54.7815>,
<34.8014,70.8135,62.9111>,
<38.7766,82.9612,64.1161>,
<44.6824,93.8584,60.3797>,
<44.6753,93.995,60.3148>,
<33.4096,64.701,60.7151>,
<36.625,77.7396,64.0359>,
<40.5815,87.3681,63.4035>,
<42.5618,90.9731,62.1387>,
<37.99,81.6083,64.1577>,
<33.3685,64.7047,60.6546>,
<39.6676,85.6379,63.7713>,
<34.759,71.6466,62.9293>,
<47.2316,97.3819,57.0362>,
<44.2241,93.8754,60.5208>,
<34.4038,70.8497,62.5768>,
<44.217,94.0117,60.4555>,
<30.1422,48.8444,50.3218>,
<49.1378,99.0946,54.131>,
<42.5206,91.7495,61.8732>,
<46.8449,97.3894,57.2104>,
<34.3609,71.6824,62.5957>,
<37.9172,83.0228,64.0023>,
<47.2111,97.8701,56.5895>,
<12.7482,21.9551,17.2321>,
<49.1306,99.3855,53.6938>,
<31.0333,54.2836,53.7558>,
<41.6579,91.0172,62.2882>,
<35.5513,76.8014,63.5819>,
<40.4943,89.0197,63.0158>,
<35.4951,76.8061,63.5516>,
<26.4971,40.3675,40.8925>,
<39.5738,87.4291,63.4264>,
<33.8985,70.8953,62.0766>,
<46.8244,97.8766,56.7616>,
<11.7627,21.9554,16.0982>,
<38.6343,85.7054,63.7153>,
<36.975,81.684,63.927>,
<20.4084,30.9675,28.9988>,
<20.2359,30.9678,28.76>,
<32.4334,63.607,58.8788>,
<35.4987,77.8315,63.5408>,
<41.6174,91.7913,62.0191>,
<44.5793,95.9032,59.2432>,
<35.4426,77.8361,63.5105>,
<33.8548,71.7275,62.0966>,
<25.6849,40.374,39.5002>,
<47.1831,98.6099,55.7885>,
<30.4466,54.3067,52.4843>,
<44.5662,96.1781,59.0578>,
<32.3671,64.7877,58.9772>,
<36.422,81.7253,63.7492>,
<26.3736,42.7331,41.3312>,
<44.1217,95.9162,59.3776>,
<36.9028,83.0956,63.7687>,
<30.8692,57.1026,54.1347>,
<28.6683,48.8785,47.3033>,
<39.4882,89.0761,63.0321>,
<46.7965,98.6145,55.9571>,
<32.0223,63.6364,58.0896>,
<42.4069,93.9438,60.9511>,
<44.1086,96.1905,59.1911>,
<37.7764,85.7616,63.5952>,
<42.4,94.0792,60.8842>,
<38.542,87.4919,63.3642>,
<40.387,91.0799,62.4036>,
<47.1674,99.1106,55.1236>,
<34.4892,76.8893,62.8976>,
<29.824,54.3267,51.163>,
<25.563,42.7396,39.9408>,
<33.0723,70.9672,61.0514>,
<6.90454,21.9562,10.7442>,
<31.9544,64.8169,58.1909>,
<36.35,83.1353,63.5897>,
<33.0304,70.9707,60.9922>,
<6.32375,21.9562,10.1272>,
<46.7808,99.1139,55.2893>,
<30.2796,57.1256,52.8709>,
<40.3474,91.8507,62.1293>,
<47.1602,99.397,54.6767>,
<34.4358,77.9177,62.8571>,
<16.3115,30.973,23.5799>,
<33.0269,71.7987,61.0742>,
<23.5026,40.3865,35.9696>,
<44.5091,97.4361,58.0652>,
<32.9848,71.8022,61.0151>,
<41.5055,93.9783,61.0852>,
<34.0882,76.9223,62.5676>,
<41.4988,94.1132,61.0173>,
<38.4578,89.1341,62.9634>,
<37.6851,87.5442,63.2392>,
<46.7737,99.3994,54.8404>,
<35.295,81.8091,63.2508>,
<39.3828,91.1299,62.4103>,
<36.7633,85.8281,63.355>,
<35.2387,81.8133,63.2205>,
<44.052,97.4454,58.1929>,
<44.4892,97.9167,57.6038>,
<34.0342,77.95,62.5278>,
<29.6547,57.1454,51.5568>,
<42.3076,95.9686,59.7803>,
<23.3864,42.7523,36.4132>,
<33.5768,76.9638,62.0755>,
<39.3439,91.898,62.132>,
<44.0322,97.9248,57.7289>,
<42.295,96.2405,59.5894>,
<35.2227,83.2158,63.0896>,
<36.2107,85.8643,63.173>,
<28.3455,54.3608,48.1698>,
<35.1664,83.2198,63.0592>,
<37.6018,89.1825,62.8333>,
<26.0352,48.9129,42.4281>,
<12.5461,30.9754,18.9763>,
<33.5218,77.9907,62.037>,
<40.2382,94.0274,61.1785>,
<36.6728,87.606,62.9939>,
<44.462,98.6435,56.7767>,
<32.0087,71.0488,59.3493>,
<40.2316,94.1616,61.1095>,
<38.354,91.1813,62.3321>,
<11.575,30.9757,17.8355>,
<30.4709,63.7196,54.8912>,
<41.4079,95.9951,59.9001>,
<20.0266,40.3976,30.8301>,
<25.2289,48.9196,41.0431>,
<19.8566,40.398,30.5909>,
<31.9603,71.8794,59.3769>,
<34.2286,81.8877,62.5684>,
<44.0052,98.6493,56.8972>,
<41.3954,96.2658,59.707>,
<38.3158,91.9468,62.0497>,
<30.3981,64.8994,55.0029>,
<36.1205,87.6397,62.8094>,
<44.4468,99.1341,56.0901>,
<28.1737,57.1794,48.5772>,
<31.5874,71.0763,58.5786>,
<32.7375,77.0294,61.0699>,
<42.24,97.4833,58.568>,
<32.6947,77.0325,61.0119>,
<36.5903,89.2396,62.5824>,
<29.8743,63.7419,53.6462>,
<33.8246,81.9171,62.2413>,
<39.2366,94.0664,61.1678>,
<37.4992,91.2241,62.1944>,
<35.083,85.9378,62.6685>,
<31.5379,71.9066,58.6082>,
<44.4398,99.4139,55.6286>,
<34.1551,83.2913,62.4072>,
<39.2301,94.2001,61.0978>,
<43.9901,99.1381,56.2067>,
<19.9227,42.7637,31.274>,
<35.0266,85.9415,62.6379>,
<19.7533,42.7641,31.0346>,
<32.6802,78.055,61.0345>,
<42.2208,97.9573,58.0934>,
<32.6373,78.0581,60.9767>,
<29.8002,64.9215,53.7613>,
<6.7914,30.9766,12.4422>,
<37.4614,91.9873,61.9087>,
<43.9832,99.4168,55.7427>,
<36.0381,89.2707,62.3952>,
<40.1428,96.0327,59.9732>,
<6.21983,30.9767,11.82>,
<23.0679,48.9326,37.5241>,
<33.7503,83.3196,62.0807>,
<29.2439,63.7611,52.3497>,
<41.3414,97.5023,58.6737>,
<33.3083,81.9543,61.7549>,
<25.7176,54.3954,43.3222>,
<40.1306,96.3016,59.7769>,
<15.9938,40.4038,25.3938>,
<34.9924,87.7081,62.3011>,
<38.2101,94.1067,61.072>,
<34.936,87.7115,62.2704>,
<29.1689,64.9406,52.468>,
<36.4885,91.2747,61.9353>,
<38.2038,94.2397,61.0011>,
<42.1947,98.6728,57.2429>,
<41.3225,97.9737,58.1938>,
<24.9154,54.4021,41.9423>,
<33.2326,83.3553,61.5956>,
<34.0129,86.0067,61.9851>,
<39.1429,96.0626,59.9466>,
<31.6528,77.1037,59.4021>,
<36.451,92.0353,61.646>,
<15.9073,42.77,25.8329>,
<35.9366,91.3023,61.744>,
<25.5488,57.2137,43.7444>,
<39.1309,96.3302,59.7477>,
<42.18,99.1545,56.537>,
<34.9097,89.3339,61.8825>,
<40.0778,97.5295,58.7269>,
<37.3569,94.1402,60.9203>,
<34.8532,89.3371,61.8517>,
<33.6066,86.0325,61.6592>,
<31.5919,78.1278,59.3723>,
<41.2968,98.6846,57.3337>,
<30.0047,71.1538,55.4465>,
<32.4579,82.0128,60.7639>,
<37.3506,94.2727,60.8486>,
<12.2948,40.4064,20.7625>,
<32.4145,82.0157,60.7068>,
<27.7571,63.7941,49.4032>,
<42.1733,99.4286,56.0626>,
<35.8991,92.0614,61.453>,
<31.2231,77.1287,58.6464>,
<19.6378,48.9443,32.3855>,
<24.7487,57.2205,42.3672>,
<19.4703,48.9447,32.1459>,
<11.3416,40.4068,19.6132>,
<29.9517,71.9834,55.4836>,
<33.9208,87.7722,61.6161>,
<40.0594,97.997,58.2392>,
<22.7691,54.4152,38.4314>,
<27.681,64.9732,49.5276>,
<38.118,96.0935,59.8346>,
<41.2824,99.1628,56.62>,
<31.1608,78.1524,58.6191>,
<32.379,83.4116,60.6083>,
<33.0862,86.0651,61.1762>,
<32.3355,83.4143,60.5514>,
<29.3999,71.1746,54.2233>,
<38.1062,96.3596,59.6332>,
<12.2263,42.7726,21.1942>,
<33.5134,87.7962,61.2904>,
<39.079,97.551,58.6843>,
<36.3475,94.1797,60.6455>,
<41.2758,99.4346,56.1404>,
<34.8079,91.3583,61.2242>,
<29.346,72.0039,54.2628>,
<36.3413,94.3117,60.5729>,
<34.7513,91.3611,61.1931>,
<11.2781,42.773,20.0426>,
<40.0343,98.7014,57.3656>,
<33.8367,89.3932,61.1952>,
<39.0609,98.0155,58.1906>,
<37.2657,96.1191,59.6697>,
<28.7632,71.1926,52.9473>,
<22.6101,57.2334,38.8608>,
<34.7703,92.1144,60.93>,
<34.7137,92.1171,60.8987>,
<6.65072,40.4078,14.1713>,
<32.9913,87.8265,60.8083>,
<35.7958,94.2013,60.4462>,
<37.2541,96.3841,59.4662>,
<35.7896,94.333,60.3733>,
<31.3557,82.0793,59.1228>,
<6.09063,40.4079,13.5426>,
<15.6703,48.9507,26.9317>,
<33.4284,89.4153,60.8693>,
<28.7085,72.0217,52.9892>,
<40.0202,99.1745,56.6408>,
<38.0551,97.5733,58.5562>,
<32.2265,86.1164,60.1953>,
<32.1826,86.1189,60.1388>,
<19.3705,54.4268,33.2936>,
<25.139,63.8274,44.6063>,
<19.2048,54.4272,33.0537>,
<39.0362,98.7148,57.3062>,
<40.0137,99.443,56.1538>,
<31.2719,83.4754,58.9742>,
<6.61242,42.774,14.5874>,
<30.9189,82.1016,58.3789>,
<33.7331,91.4108,60.5325>,
<38.0373,98.0347,58.0563>,
<29.6142,77.1994,55.5685>,
<32.9046,89.4434,60.3876>,
<6.05546,42.7741,13.957>,
<36.2571,96.1495,59.38>,
<25.0641,65.0063,44.7372>,
<24.3441,63.8339,43.2358>,
<36.2456,96.413,59.174>,
<37.2036,97.5918,58.3781>,
<39.0224,99.1838,56.5725>,
<33.6949,92.1642,60.2361>,
<29.5473,78.2217,55.5503>,
<32.1277,87.8742,59.8308>,
<27.2695,71.2233,50.0394>,
<12.0388,48.9534,22.2725>,
<33.3237,91.4305,60.2058>,
<34.6666,94.2451,59.912>,
<32.0836,87.8766,59.7745>,
<34.61,94.2473,59.8802>,
<30.8331,83.4969,58.2335>,
<34.6604,94.3762,59.8382>,
<24.2702,65.0127,43.368>,
<19.2283,57.2451,33.7234>,
<34.6038,94.3783,59.8064>,
<19.0635,57.2454,33.4834>,
<35.7056,96.166,59.173>,
<29.0025,77.2183,54.3633>,
<11.104,48.9538,21.1146>,
<38.013,98.7286,57.1609>,
<27.214,72.0521,50.0857>,
<39.016,99.4497,56.0796>,
<37.186,98.0506,57.8731>,
<35.6941,96.4288,58.9658>,
<33.285,92.1828,59.9089>,
<15.4479,54.4333,27.828>,
<28.9345,78.2402,54.3481>,
<32.7979,91.4553,59.724>,
<31.1098,86.1747,58.574>,
<32.0375,89.4875,59.4127>,
<22.2244,63.8465,39.7401>,
<31.9932,89.4896,59.3566>,
<37.9994,99.1934,56.4181>,
<36.1955,97.6137,58.0732>,
<28.3605,77.2347,53.1042>,
<37.162,98.7401,56.9686>,
<32.7585,92.2063,59.4267>,
<37.9932,99.4567,55.9192>,
<22.154,65.0252,39.8742>,
<33.5895,94.2861,59.2099>,
<28.2916,78.2562,53.0919>,
<30.6672,86.1943,57.8392>,
<36.178,98.0694,57.5622>,
<33.5831,94.4166,59.1354>,
<6.50745,48.9549,15.6231>,
<34.5761,96.1995,58.6241>,
<35.6442,97.6256,57.8581>,
<34.5194,96.2012,58.5917>,
<15.3296,57.2515,28.2515>,
<5.95904,48.9549,14.9878>,
<31.0048,87.9284,58.2169>,
<29.2881,82.1648,55.3445>,
<34.5645,96.4608,58.4145>,
<37.1485,99.2015,56.2184>,
<34.5079,96.4624,58.3819>,
<11.8628,54.436,23.1497>,
<33.1784,94.3015,58.8804>,
<24.6594,71.2544,45.2844>,
<33.172,94.4318,58.8057>,
<31.9264,91.4944,58.751>,
<35.6267,98.0796,57.344>,
<31.8818,91.4963,58.6951>,
<10.9406,54.4364,21.9857>,
<37.1423,99.4624,55.7143>,
<36.1542,98.7537,56.6471>,
<24.6048,72.0829,45.3354>,
<30.5597,87.9467,57.4857>,
<29.1961,83.5576,55.2109>,
<26.8609,77.2627,50.2282>,
<28.6707,82.1817,54.1538>,
<23.8706,71.2604,43.9218>,
<31.8854,92.2434,58.4541>,
<18.8834,63.8577,34.6038>,
<30.9089,89.5376,57.8049>,
<31.8407,92.2452,58.3982>,
<18.7208,63.8581,34.3634>,
<32.6499,94.3209,58.3962>,
<32.6433,94.4509,58.3214>,
<23.8167,72.0889,43.9736>,
<11.7692,57.2542,23.563>,
<26.791,78.2837,50.2212>,
<35.603,98.7611,56.4232>,
<33.4974,96.231,57.9102>,
<34.5144,97.6498,57.2937>,
<36.1409,99.2109,55.8881>,
<18.8204,65.0364,34.7381>,
<34.4577,97.651,57.2605>,
<18.6582,65.0368,34.4977>,
<28.5771,83.5738,54.0241>,
<33.4856,96.4908,57.6986>,
<10.8537,57.2546,22.3959>,
<28.0242,82.1963,52.9084>,
<30.4616,89.5544,57.0766>,
<36.1348,99.4692,55.3782>,
<34.4969,98.1004,56.7734>,
<6.40895,54.4375,16.4602>,
<33.0853,96.2428,57.577>,
<34.4402,98.1014,56.7399>,
<35.5897,99.2161,55.6595>,
<5.86858,54.4375,15.8204>,
<33.0734,96.502,57.3647>,
<29.0183,86.2497,54.8385>,
<21.773,71.2722,40.4385>,
<30.7908,91.5388,57.1494>,
<27.9294,83.5879,52.7825>,
<35.5836,99.473,55.1464>,
<31.7722,94.3515,57.4227>,
<31.7273,94.353,57.3668>,
<15.0426,63.864,29.1166>,
<31.7654,94.4811,57.3477>,
<21.7217,72.1005,40.4917>,
<31.7205,94.4825,57.2919>,
<32.555,96.2577,57.089>,
<34.4731,98.7761,55.8414>,
<30.7472,92.2854,56.8543>,
<33.4347,97.6725,56.5666>,
<34.4164,98.7768,55.8073>,
<6.35656,57.2556,16.8522>,
<32.5429,96.5162,56.8759>,
<30.3407,91.5537,56.4244>,
<28.3961,86.2645,53.6592>,
<24.2576,77.291,45.5077>,
<14.9902,65.0426,29.2482>,
<5.82046,57.2557,16.21>,
<28.903,87.9982,54.4985>,
<26.5198,82.2213,50.0582>,
<33.4169,98.1199,56.0409>,
<33.0219,97.681,56.2289>,
<34.4597,99.2265,55.0682>,
<24.1888,78.3114,45.5066>,
<30.2961,92.2996,56.1304>,
<34.403,99.2271,55.0337>,
<23.4738,77.2965,44.1515>,
<27.746,86.2774,52.4246>,
<11.5421,63.8666,24.4034>,
<34.4536,99.4805,54.5487>,
<26.4237,83.6119,49.9394>,
<33.0039,98.1272,55.7013>,
<18.4797,71.2827,35.3035>,
<34.3969,99.4809,54.5139>,
<28.2788,88.012,53.3239>,
<23.406,78.3169,44.1515>,
<18.3197,71.283,35.0627>,
<31.6735,96.2811,56.1114>,
<28.7978,89.6021,54.1011>,
<10.6428,63.867,23.2287>,
<31.6283,96.2822,56.0554>,
<32.4904,97.6917,55.7358>,
<33.3926,98.7902,55.0989>,
<18.4337,72.1109,35.3569>,
<11.5006,65.0452,24.5304>,
<30.627,94.3862,55.826>,
<31.6609,96.5386,55.8974>,
<18.274,72.1112,35.116>,
<30.6197,94.5153,55.7512>,
<31.6157,96.5397,55.8414>,
<10.6043,65.0456,23.3543>,
<32.472,98.1364,55.2059>,
<27.6271,88.0239,52.0937>,
<32.9794,98.7954,54.7558>,
<21.3948,77.3073,40.6785>,
<33.379,99.2364,54.3172>,
<28.1718,89.6148,52.9305>,
<30.173,94.3979,55.1043>,
<30.1656,94.5268,55.0295>,
<26.2376,86.2993,49.595>,
<21.3301,78.3274,40.6802>,
<33.3728,99.4876,53.7918>,
<23.9221,82.2466,45.366>,
<28.6682,91.5959,53.462>,
<32.9656,99.24,53.971>,
<6.22945,63.868,17.6411>,
<31.6062,97.7086,54.7514>,
<14.7067,71.2885,29.7985>,
<32.4471,98.8021,54.2561>,
<31.5609,97.7094,54.6952>,
<5.70371,63.8681,16.9931>,
<27.5186,89.6258,51.7042>,
<28.6204,92.3395,53.1723>,
<23.1426,82.2516,44.015>,
<32.9593,99.4902,53.4435>,
<14.6685,72.1167,29.8498>,
<30.522,96.3077,54.5136>,
<6.20623,65.0466,17.7587>,
<23.8275,83.6362,45.2549>,
<31.5871,98.151,54.2184>,
<5.68239,65.0466,17.1096>,
<31.5417,98.1517,54.1621>,
<28.0399,91.6072,52.2961>,
<30.5086,96.5639,54.2991>,
<32.4331,99.2447,53.4675>,
<26.1171,88.0443,49.2724>,
<18.1414,77.3168,35.5444>,
<23.0492,83.641,43.9054>,
<17.9836,77.3171,35.3033>,
<30.0655,96.3166,53.7925>,
<27.9912,92.3502,52.008>,
<32.4267,99.4935,52.9373>,
<11.2763,71.291,25.0563>,
<30.0518,96.5725,53.5779>,
<27.3849,91.617,51.0742>,
<31.5611,98.8126,53.2624>,
<31.5157,98.8131,53.2057>,
<18.0835,78.3367,35.5462>,
<17.9261,78.337,35.305>,
<10.396,71.2913,23.8726>,
<11.2461,72.1191,25.1044>,
<21.0791,82.2612,40.5502>,
<26.007,89.6447,48.8903>,
<30.4505,97.7278,53.1485>,
<28.4884,94.4309,52.1565>,
<27.3356,92.3595,50.7877>,
<23.6445,86.3215,44.9252>,
<10.3679,72.1194,23.9196>,
<28.4805,94.5593,52.0822>,
<31.5465,99.252,52.4681>,
<31.501,99.2524,52.4112>,
<20.99,83.6502,40.4429>,
<30.4302,98.1674,52.6127>,
<22.8685,86.3258,43.5783>,
<31.5398,99.4988,51.9339>,
<29.9923,97.7342,52.4264>,
<31.4943,99.4991,51.8768>,
<14.4252,77.3221,30.0243>,
<27.857,94.4397,50.9962>,
<27.8489,94.568,50.9221>,
<23.5259,88.065,44.6118>,
<25.8714,91.6337,48.269>,
<6.08069,71.2923,18.2336>,
<29.9715,98.173,51.8898>,
<5.56708,71.2923,17.5787>,
<14.3771,78.3419,30.0235>,
<30.4026,98.8245,51.6505>,
<6.06376,72.1204,18.2748>,
<17.859,82.2697,35.4166>,
<27.1996,94.4473,49.7797>,
<22.7515,88.069,43.2667>,
<17.7031,82.27,35.1752>,
<25.8214,92.3753,47.9855>,
<5.55153,72.1204,17.6191>,
<28.3732,96.3419,50.8501>,
<27.1914,94.5755,49.7058>,
<28.3585,96.5966,50.6357>,
<20.8178,86.3342,40.1201>,
<23.4176,89.6638,44.2379>,
<11.0536,77.3244,25.2579>,
<30.3871,99.2603,50.8502>,
<29.9433,98.8285,50.9258>,
<17.7793,83.6584,35.3093>,
<17.6239,83.6587,35.0679>,
<10.1893,77.3247,24.0667>,
<27.7398,96.3487,49.6922>,
<30.38,99.5048,50.3117>,
<22.6446,89.6675,42.8942>,
<11.0155,78.3441,25.2529>,
<27.7248,96.6031,49.478>,
<29.9274,99.2631,50.1237>,
<10.1539,78.3444,24.0604>,
<20.7062,88.0768,39.8111>,
<28.2948,97.7525,49.4834>,
<25.6834,94.4604,46.9851>,
<14.1903,82.2744,29.8838>,
<27.0808,96.3546,48.4782>,
<29.9201,99.5068,49.5837>,
<25.6751,94.5884,46.9116>,
<23.2843,91.6506,43.6261>,
<27.0656,96.6087,48.2643>,
<17.6253,86.3417,34.9866>,
<28.2725,98.1887,48.9453>,
<17.4709,86.342,34.745>,
<5.95604,77.3255,18.3846>,
<23.2351,92.3913,43.3459>,
<22.5129,91.6539,42.2842>,
<14.124,83.663,29.7729>,
<20.6043,89.6747,39.441>,
<5.4526,77.3256,17.724>,
<27.6599,97.7574,48.326>,
<5.93471,78.3453,18.371>,
<22.4644,92.3945,42.0046>,
<5.43301,78.3453,17.7094>,
<10.8677,82.2764,25.0971>,
<27.6372,98.1929,47.7877>,
<28.2422,98.8398,47.9771>,
<17.5255,88.0838,34.6775>,
<26.9998,97.7616,47.1128>,
<17.3717,88.084,34.4358>,
<10.0166,82.2767,23.8996>,
<25.5629,96.3646,45.6888>,
<25.5475,96.6182,45.4753>,
<20.4788,91.6603,38.8336>,
<10.8153,83.6649,24.9804>,
<26.9769,98.1965,46.5743>,
<28.2252,99.271,47.1704>,
<13.9958,86.3459,29.4431>,
<23.0994,94.4736,42.3539>,
<27.6064,98.8428,46.8187>,
<23.0912,94.6015,42.2809>,
<9.96796,83.6652,23.7811>,
<17.4343,89.6812,34.3072>,
<20.4325,92.4005,38.555>,
<17.2812,89.6814,34.0654>,
<28.2174,99.5125,46.6267>,
<22.3303,94.4762,41.0142>,
<22.3223,94.604,40.9413>,
<27.5891,99.2731,46.0108>,
<26.9456,98.8454,45.6047>,
<5.85197,82.2775,18.1815>,
<5.35702,82.2775,17.5161>,
<25.4808,97.7688,44.3252>,
<13.9128,88.0877,29.1294>,
<27.5811,99.514,45.4662>,
<10.7139,86.3476,24.6395>,
<25.4575,98.2027,43.7868>,
<26.9281,99.2749,44.796>,
<5.82263,83.6659,18.0529>,
<17.3221,91.666,33.6995>,
<9.87381,86.3479,23.4368>,
<17.1697,91.6662,33.4575>,
<5.33007,83.6659,17.3862>,
<22.9809,96.3747,41.0635>,
<20.3047,94.4812,37.5668>,
<22.9657,96.6279,40.8507>,
<13.8369,89.6847,28.7548>,
<26.92,99.5153,44.2506>,
<20.2971,94.6089,37.494>,
<17.2807,92.4059,33.4206>,
<17.1285,92.4061,33.1786>,
<22.2133,96.3767,39.7249>,
<10.6481,88.0893,24.3185>,
<25.4258,98.8499,42.8163>,
<22.1984,96.6298,39.5121>,
<9.81279,88.0895,23.1136>,
<5.76587,86.3486,17.6889>,
<25.408,99.2781,42.0061>,
<5.27794,86.3486,17.0195>,
<22.9001,97.7761,39.7023>,
<13.7436,91.6691,28.1417>,
<10.5881,89.6862,23.9373>,
<25.3998,99.5176,41.4595>,
<9.75708,89.6865,22.7303>,
<20.1932,96.3805,36.2789>,
<17.1664,94.4857,32.4316>,
<22.8772,98.209,39.164>,
<22.1336,97.7775,38.3641>,
<17.015,94.4858,32.1895>,
<13.7091,92.4089,27.8608>,
<17.1595,94.6133,32.3588>,
<20.179,96.6334,36.0662>,
<17.0081,94.6135,32.1166>,
<5.72909,88.0901,17.353>,
<5.24415,88.0902,16.6819>,
<22.111,98.2102,37.8258>,
<10.5142,91.6705,23.316>,
<22.846,98.8545,38.1929>,
<9.68846,91.6707,22.1065>,
<5.6955,89.687,16.9581>,
<10.487,92.4102,23.0321>,
<20.1172,97.7803,34.9184>,
<5.21331,89.6871,16.2854>,
<22.0802,98.8553,36.8545>,
<22.8285,99.2812,37.3814>,
<13.614,94.4882,26.8662>,
<17.0667,96.3839,31.1426>,
<9.66315,92.4104,21.8216>,
<16.9159,96.3841,30.9002>,
<13.6083,94.6158,26.793>,
<17.0539,96.6367,30.9297>,
<20.0956,98.2126,34.38>,
<16.9032,96.6368,30.6874>,
<22.8205,99.5198,36.8336>,
<22.0629,99.2818,36.0427>,
<5.65414,91.6712,16.3199>,
<22.055,99.5203,35.4946>,
<5.17532,91.6712,15.6453>,
<20.0663,98.8571,33.4082>,
<10.4117,94.4892,22.029>,
<10.4072,94.6168,21.9552>,
<5.63888,92.4109,16.0297>,
<16.9987,97.7828,29.7807>,
<16.8483,97.7829,29.5382>,
<5.16131,92.4109,15.3545>,
<9.5933,94.4894,20.8159>,
<13.531,96.3858,25.5719>,
<9.58909,94.617,20.7421>,
<20.0498,99.283,32.5959>,
<13.5204,96.6385,25.3583>,
<16.9794,98.2147,29.2417>,
<16.8292,98.2148,28.9992>,
<20.0423,99.5211,32.0472>,
<16.9531,98.8586,28.2689>,
<10.3461,96.3866,20.7272>,
<5.59677,94.4898,15.0094>,
<16.8031,98.8586,28.0264>,
<5.59423,94.6173,14.9346>,
<5.12263,94.4898,14.3322>,
<13.4745,97.7841,24.2061>,
<10.3377,96.6393,20.5126>,
<5.1203,94.6174,14.2573>,
<9.53233,96.3868,19.5119>,
<9.52454,96.6394,19.2971>,
<16.9384,99.2841,27.4556>,
<13.4584,98.2159,23.6659>,
<16.7885,99.2841,27.213>,
<16.9316,99.5219,26.9064>,
<16.7817,99.5219,26.6637>,
<10.3013,97.7847,19.3562>,
<13.4366,98.8594,22.6913>,
<5.56001,96.3871,13.6925>,
<9.49077,97.7848,18.1393>,
<5.08887,96.3871,13.0136>,
<5.55532,96.6397,13.476>,
<10.2886,98.2164,18.8145>,
<5.08456,96.6397,12.7969>,
<13.4243,99.2847,21.8768>,
<9.47898,98.2165,17.5971>,
<13.4187,99.5223,21.3269>,
<10.2713,98.8598,17.8377>,
<5.53496,97.785,12.3111>,
<9.46294,98.8598,16.6198>,
<5.06586,97.785,11.6311>,
<10.2616,99.2849,17.0219>,
<5.52785,98.2166,11.7664>,
<5.05933,98.2167,11.0861>,
<9.45393,99.285,15.8037>,
<10.2572,99.5225,16.4714>,
<9.44979,99.5226,15.2529>,
<5.51818,98.86,10.7856>,
<5.05045,98.86,10.1048>,
<5.51275,99.2851,9.96753>,
<5.04546,99.2851,9.28647>,
<5.51026,99.5226,9.41588>,
<5.04317,99.5226,8.7347>,
<94.4417,2.8231,6.7964>,
<94.4426,7.37586,8.2514>,
<78.2408,2.82466,23.9536>,
<94.4457,15.9421,10.4891>,
<77.4425,7.38012,26.2547>,
<86.118,15.9433,19.1902>,
<77.4364,10.5534,27.1407>,
<70.2995,2.82969,32.641>,
<94.4499,24.1162,12.1598>,
<77.4228,15.9498,28.4616>,
<86.1175,24.1176,20.821>,
<65.9385,2.83786,37.5049>,
<94.4554,32.9985,13.5609>,
<65.9111,7.41048,38.9595>,
<77.3962,24.126,30.0937>,
<70.2264,15.97,36.3344>,
<86.1168,33.0002,22.1699>,
<65.8811,10.5939,39.8687>,
<94.4625,42.9729,14.6786>,
<77.3614,33.0099,31.4457>,
<65.8143,16.0045,41.2525>,
<70.1498,24.152,38.0245>,
<94.4669,48.7699,15.1145>,
<86.116,42.9748,23.2213>,
<86.1154,48.7717,23.6157>,
<65.684,24.1965,43.0227>,
<70.0492,33.0399,39.457>,
<77.3168,42.9853,32.502>,
<94.474,57.7081,15.4677>,
<77.289,48.7823,32.8998>,
<86.1145,57.71,23.9016>,
<65.5131,33.0913,44.5674>,
<94.4805,65.4796,15.4271>,
<69.9208,43.0177,40.6189>,
<65.3899,38.8535,45.3773>,
<86.1137,65.4813,23.8001>,
<77.2438,57.7204,33.1913>,
<65.2947,43.0731,45.8779>,
<61.2409,33.2102,49.3338>,
<77.2028,65.4912,33.0949>,
<65.1579,48.8713,46.4371>,
<65.0564,53.0207,46.7428>,
<86.1124,78.0886,22.7522>,
<77.1662,72.2606,32.6956>,
<64.9362,57.8078,46.9919>,
<64.7352,65.574,47.1346>,
<60.3445,57.9352,52.3615>,
<64.5559,72.3368,46.9476>,
<60.0322,65.6947,52.718>,
<64.3997,78.1651,46.4904>,
<33.7487,3.22253,46.6224>,
<64.0303,92.2833,43.4061>,
<63.9757,94.5869,42.3675>,
<33.1724,26.2898,50.8032>,
<18.9861,3.24975,21.0804>,
<28.8908,17.7129,39.0885>,
<32.7853,35.5126,52.4934>,
<28.5726,26.3976,40.7721>,
<3.34318,3.25076,3.72299>,
<32.2907,45.683,54.227>,
<18.7549,17.7442,23.6412>,
<28.1554,35.6372,42.5644>,
<31.9811,51.5155,55.1183>,
<18.5122,26.4379,25.3372>,
<3.30647,15.9755,5.8687>,
<27.6223,45.8174,44.4406>,
<31.4789,60.405,56.2609>,
<22.068,35.6756,32.5657>,
<18.1938,35.6839,27.1524>,
<27.2885,51.6517,45.4246>,
<31.0238,68.0342,56.9462>,
<3.21366,32.3142,8.86853>,
<26.7473,60.5388,46.7201>,
<30.6178,74.6017,57.2158>,
<3.18134,36.8766,9.69093>,
<30.2642,80.1981,57.1041>,
<26.2567,68.1609,47.5444>,
<20.8224,60.58,36.8403>,
<25.8191,74.7183,47.9367>,
<20.3884,68.1999,37.7073>,
<25.438,80.3027,47.9292>,
<8.5956,60.5951,20.1167>,
<20.0013,74.7542,38.1372>,
<13.1748,68.2122,27.2455>,
<2.98222,60.5956,13.3078>,
<8.39361,68.2143,20.9021>,
<19.6641,80.335,38.1617>,
<12.9023,74.7655,27.6463>,
<2.90984,68.2148,14.0199>,
<8.21341,74.7674,21.2592>,
<2.84527,74.7679,14.3114>,
<68.6918,1.39663,33.9299>,
<72.0476,22.0069,35.5449>,
<72.0126,26.2994,36.3201>,
<71.9296,35.3232,37.6439>,
<66.8064,35.3673,43.3843>,
<66.3013,60.0624,45.4015>,
<62.6769,90.3001,45.8412>,
<65.4988,95.9584,39.698>,
<7.91974,1.61075,8.13156>,
<21.8624,15.6656,27.3501>,
<29.7378,33.2589,44.983>,
<21.749,19.8349,28.1508>,
<16.0046,15.6709,19.7476>,
<29.5071,37.9735,45.8709>,
<21.6123,24.1828,29.0035>,
<21.4531,28.6946,29.8966>,
<24.2344,33.3098,35.2335>,
<15.811,24.19,21.3847>,
<24.0185,38.0271,36.1504>,
<15.5489,33.3283,23.1706>,
<7.59002,33.9239,13.9227>,
<7.51043,38.6428,14.791>,
<26.3843,34.4755,39.0694>,
}
normal_vectors {
1800,
<0.694884,-0.256703,0.671744>,
<0.392972,0.814106,0.427556>,
<0.702039,-0.213387,0.679417>,
<0.705965,-0.178493,0.685386>,
<0.70789,-0.145162,0.691245>,
<0.707915,-0.114451,0.696963>,
<0.706406,-0.0848847,0.702699>,
<0.704002,-0.0580893,0.707818>,
<0.700823,-0.0300775,0.712701>,
<0.697019,0.000232434,0.717053>,
<0.692632,0.034033,0.720488>,
<0.687531,0.0727045,0.722506>,
<0.681321,0.117914,0.722425>,
<0.673205,0.171737,0.719237>,
<0.661762,0.236768,0.711346>,
<0.644555,0.316171,0.696121>,
<0.617484,0.413429,0.669171>,
<0.573841,0.531238,0.623292>,
<0.50595,0.664267,0.55024>,
<-0.686839,-0.100133,0.719878>,
<0.705721,-0.252682,0.661899>,
<0.717903,-0.246723,0.650956>,
<0.720432,-0.239066,0.651019>,
<0.695502,-0.241147,0.676849>,
<0.647164,-0.246155,0.721517>,
<0.581935,-0.244428,0.775633>,
<0.5164,-0.237168,0.82285>,
<0.435674,-0.228749,0.870553>,
<0.330979,-0.220769,0.91745>,
<0.192997,-0.212804,0.957845>,
<0.0141862,-0.202727,0.979133>,
<-0.204056,-0.187113,0.960911>,
<-0.417067,-0.165843,0.893617>,
<-0.61626,-0.137971,0.775363>,
<-0.778178,-0.10596,0.61904>,
<-0.868661,-0.0807751,0.488777>,
<-0.917556,-0.0622856,0.392697>,
<-0.925443,-0.0562537,0.374688>,
<-0.913846,-0.0590701,0.401741>,
<-0.896,-0.0635422,0.439484>,
<-0.863913,-0.0708621,0.49863>,
<-0.831728,-0.0773524,0.549769>,
<-0.800095,-0.0830944,0.59409>,
<-0.769525,-0.0881751,0.632501>,
<-0.740329,-0.0926732,0.665826>,
<-0.713049,-0.0966005,0.694427>,
<-0.316756,0.921651,0.224111>,
<-0.688294,-0.120969,0.715274>,
<-0.723184,-0.11179,0.681548>,
<-0.741995,-0.0884728,0.664542>,
<-0.75845,-0.0592658,0.649032>,
<-0.771626,-0.0260237,0.635544>,
<-0.781802,0.01217,0.623408>,
<-0.7888,0.056525,0.612045>,
<-0.792046,0.108632,0.600719>,
<-0.790422,0.17053,0.588347>,
<-0.781956,0.244749,0.573273>,
<-0.763285,0.334228,0.552891>,
<-0.728841,0.441795,0.523075>,
<-0.669911,0.568499,0.477523>,
<-0.574691,0.709537,0.407784>,
<-0.461946,0.824395,0.327077>,
<0.41104,0.807117,0.423802>,
<0.430829,0.799225,0.419077>,
<0.453444,0.790086,0.412496>,
<0.475857,0.781332,0.403833>,
<0.480224,0.784772,0.391813>,
<0.435165,0.811006,0.391025>,
<0.361056,0.846018,0.392291>,
<0.285368,0.875876,0.389109>,
<0.208493,0.901546,0.379138>,
<0.145321,0.91915,0.366122>,
<0.0874624,0.932348,0.350824>,
<0.0340046,0.941781,0.334504>,
<-0.0164348,0.947905,0.318128>,
<-0.0656974,0.950933,0.302343>,
<-0.116166,0.950715,0.287484>,
<-0.171007,0.946527,0.273574>,
<-0.234676,0.936582,0.26027>,
<-0.313261,0.917288,0.245867>,
<-0.380009,0.895291,0.23248>,
<-0.409776,0.88452,0.22295>,
<-0.383291,0.896981,0.220258>,
<-0.357954,0.907155,0.221222>,
<-0.337182,0.91476,0.222536>,
<-0.32645,0.918448,0.223345>,
<0.708309,-0.209398,0.67413>,
<0.710848,-0.189828,0.677245>,
<0.713313,-0.206882,0.669615>,
<0.714996,-0.206116,0.668054>,
<0.712653,-0.173013,0.679848>,
<0.715956,-0.187047,0.672622>,
<0.717662,-0.186253,0.671022>,
<0.717897,-0.170007,0.675072>,
<0.719643,-0.169186,0.673417>,
<0.722417,-0.202951,0.661002>,
<0.715182,-0.138354,0.685108>,
<0.724895,-0.201891,0.65861>,
<0.725112,-0.183273,0.663795>,
<0.720886,-0.134905,0.679797>,
<0.727562,-0.182391,0.661352>,
<0.727228,-0.166341,0.665936>,
<0.722785,-0.134031,0.677951>,
<0.728742,-0.200015,0.654926>,
<0.716009,-0.106583,0.689906>,
<0.729705,-0.165597,0.663406>,
<0.731264,-0.18103,0.657633>,
<0.722392,-0.102797,0.6838>,
<0.731043,-0.131411,0.669558>,
<0.73341,-0.164631,0.65955>,
<0.724528,-0.101885,0.681674>,
<0.733757,-0.130907,0.666681>,
<0.715506,-0.076229,0.694435>,
<0.723444,-0.199554,0.660914>,
<0.715209,-0.0687471,0.695521>,
<0.716063,-0.200947,0.668486>,
<0.72514,-0.181999,0.664115>,
<0.737909,-0.130614,0.662141>,
<0.722766,-0.0722349,0.687307>,
<0.73393,-0.0994519,0.671905>,
<0.725214,-0.0713146,0.68482>,
<0.717326,-0.183867,0.672039>,
<0.722714,-0.0647251,0.68811>,
<0.726936,-0.166666,0.666173>,
<0.737097,-0.0991278,0.668478>,
<0.714153,-0.0489727,0.698274>,
<0.693841,-0.205526,0.690177>,
<0.725249,-0.0638086,0.685524>,
<0.718882,-0.168879,0.674306>,
<0.675332,-0.209179,0.707227>,
<0.694017,-0.189386,0.694603>,
<0.722338,-0.0449276,0.69008>,
<0.712888,-0.0306631,0.700607>,
<0.742221,-0.0993018,0.662757>,
<0.736147,-0.0691124,0.673283>,
<0.725114,-0.0440346,0.68722>,
<0.674648,-0.193678,0.712277>,
<0.694879,-0.175089,0.697486>,
<0.731984,-0.134311,0.667953>,
<0.712115,-0.0207585,0.701756>,
<0.736608,-0.0616796,0.673501>,
<0.639154,-0.215208,0.738355>,
<0.739931,-0.0689487,0.66914>,
<0.626551,-0.216805,0.748618>,
<0.721722,-0.0266655,0.691669>,
<0.72391,-0.137018,0.676151>,
<0.674887,-0.17987,0.715664>,
<0.740563,-0.0615573,0.669161>,
<0.636739,-0.200944,0.744436>,
<0.724729,-0.0258129,0.688551>,
<0.721299,-0.0168142,0.69242>,
<0.623507,-0.203013,0.755>,
<0.737653,-0.0421412,0.673864>,
<0.746411,-0.0694909,0.661847>,
<0.70993,0.00454966,0.704258>,
<0.724429,-0.0159909,0.689164>,
<0.635556,-0.188135,0.748782>,
<0.699401,-0.144223,0.700027>,
<0.709477,0.00946701,0.704665>,
<0.738403,-0.103891,0.666309>,
<0.585101,-0.219794,0.780608>,
<0.747419,-0.0621867,0.661436>,
<0.742079,-0.0421366,0.668987>,
<0.621751,-0.1906,0.759669>,
<0.67862,-0.149764,0.719059>,
<0.566804,-0.220231,0.793871>,
<0.73093,-0.106773,0.674048>,
<0.738382,-0.0241983,0.673948>,
<0.719975,0.00827462,0.693951>,
<0.579964,-0.207705,0.787719>,
<0.719682,0.0131365,0.69418>,
<0.723408,0.00900045,0.690363>,
<0.743249,-0.0243169,0.668573>,
<0.738677,-0.0145525,0.673903>,
<0.749964,-0.0430025,0.66008>,
<0.560779,-0.2089,0.801179>,
<0.706659,0.0385317,0.706504>,
<0.72317,0.0138399,0.690532>,
<0.536816,-0.220171,0.814465>,
<0.576228,-0.196743,0.793255>,
<0.70622,0.0428632,0.706694>,
<0.636762,-0.159782,0.754324>,
<0.707227,-0.114293,0.697687>,
<0.743776,-0.0147442,0.668266>,
<0.745757,-0.07449,0.662041>,
<0.621725,-0.163002,0.766086>,
<0.556201,-0.198582,0.806973>,
<0.529412,-0.210028,0.821956>,
<0.747648,-0.0672441,0.660682>,
<0.686478,-0.120144,0.717157>,
<0.752084,-0.0254191,0.658577>,
<0.717731,0.0417997,0.695065>,
<0.495091,-0.2192,0.840736>,
<0.73931,-0.0773178,0.668912>,
<0.71741,0.046062,0.695127>,
<0.486068,-0.218925,0.846056>,
<0.739098,0.00991154,0.673525>,
<0.721522,0.0423512,0.691095>,
<0.702935,0.0737786,0.707417>,
<0.523529,-0.200714,0.828029>,
<0.739124,0.0146366,0.67341>,
<0.741494,-0.0700338,0.667294>,
<0.721242,0.0465883,0.691115>,
<0.753108,-0.0159837,0.657703>,
<0.702154,0.0807717,0.707429>,
<0.571614,-0.171992,0.802294>,
<0.485941,-0.210528,0.848257>,
<0.744755,0.00951245,0.66727>,
<0.643139,-0.131191,0.754428>,
<0.476567,-0.210541,0.853555>,
<0.744882,0.014194,0.667046>,
<0.717373,-0.0846079,0.691533>,
<0.752586,-0.0481738,0.65673>,
<0.627024,-0.134952,0.767221>,
<0.549614,-0.175098,0.816863>,
<0.714883,0.0764253,0.695055>,
<0.422851,-0.21689,0.879861>,
<0.478418,-0.202452,0.854476>,
<0.720093,-0.0772001,0.68957>,
<0.698487,0.111842,0.706829>,
<0.714253,0.0832817,0.694915>,
<0.408213,-0.216435,0.886858>,
<0.747233,-0.0508316,0.662616>,
<0.468716,-0.202707,0.859776>,
<0.697334,-0.0903628,0.711027>,
<0.718979,0.0767576,0.69078>,
<0.738901,0.0424062,0.672478>,
<0.755263,0.00788873,0.655374>,
<0.718403,0.0835674,0.69059>,
<0.696849,0.124814,0.706274>,
<0.738813,0.0465244,0.672302>,
<0.513887,-0.179199,0.838933>,
<0.700308,-0.0828747,0.709013>,
<0.7556,0.0124903,0.654914>,
<0.756876,-0.0306795,0.652838>,
<0.411131,-0.210244,0.887>,
<0.745198,0.0416886,0.665539>,
<0.396035,-0.210131,0.893869>,
<0.57237,-0.146143,0.806867>,
<0.745182,0.0457636,0.665289>,
<0.339613,-0.214492,0.915782>,
<0.71118,0.113707,0.693754>,
<0.759015,-0.0212971,0.650725>,
<0.653593,-0.101675,0.749985>,
<0.727329,-0.0575748,0.683869>,
<0.69289,0.154068,0.704391>,
<0.75225,-0.0331907,0.658041>,
<0.401226,-0.203858,0.893006>,
<0.715536,0.113776,0.689248>,
<0.709756,0.126395,0.693016>,
<0.548356,-0.15025,0.822637>,
<0.636657,-0.105717,0.763866>,
<0.297409,-0.213417,0.930592>,
<0.38571,-0.204027,0.899778>,
<0.464963,-0.183349,0.866137>,
<0.65662,-0.0941331,0.748324>,
<0.737776,0.0757996,0.670776>,
<0.689498,0.177013,0.702324>,
<0.754761,-0.0237245,0.655571>,
<0.454504,-0.184071,0.871518>,
<0.70831,-0.0629452,0.70309>,
<0.714187,0.12637,0.688453>,
<0.325533,-0.209545,0.922019>,
<0.737443,0.0823983,0.670364>,
<0.757026,0.0394821,0.65219>,
<0.639528,-0.0982001,0.76247>,
<0.757157,0.0434785,0.651785>,
<0.706219,0.154988,0.690821>,
<0.685509,0.201865,0.699519>,
<0.744599,0.0747191,0.663316>,
<0.733743,-0.0394514,0.678281>,
<0.225203,-0.21164,0.951048>,
<0.509476,-0.155913,0.846242>,
<0.282348,-0.20915,0.936235>,
<0.744356,0.0812435,0.662822>,
<0.763743,0.00240363,0.645516>,
<0.313489,-0.204562,0.927297>,
<0.710798,0.154748,0.686163>,
<0.703109,0.177402,0.688597>,
<0.577902,-0.118309,0.807485>,
<0.764528,0.00696473,0.644553>,
<0.736977,-0.0297007,0.675265>,
<0.664999,-0.0738425,0.743184>,
<0.154073,-0.209786,0.965532>,
<0.715485,-0.0444424,0.697213>,
<0.678704,0.239917,0.694118>,
<0.735531,0.111645,0.668229>,
<0.382338,-0.188006,0.904694>,
<0.208777,-0.208343,0.955513>,
<0.269435,-0.204725,0.941006>,
<0.707787,0.176992,0.683894>,
<0.760339,0.000192392,0.649526>,
<0.67538,0.256875,0.691287>,
<0.647589,-0.0778849,0.757999>,
<0.579865,-0.110996,0.807116>,
<0.365883,-0.188712,0.911327>,
<0.699387,0.201674,0.6857>,
<0.551963,-0.1231,0.824732>,
<0.734526,0.123831,0.667186>,
<0.456616,-0.161968,0.874796>,
<0.75749,0.0718543,0.648881>,
<0.761271,0.00479495,0.648416>,
<0.0640573,-0.207032,0.976235>,
<0.71913,-0.0344563,0.694021>,
<0.742793,0.110156,0.660398>,
<0.445381,-0.163057,0.880368>,
<0.136678,-0.20727,0.968689>,
<0.704159,0.201081,0.680974>,
<0.757425,0.0782445,0.648217>,
<0.194684,-0.204709,0.959266>,
<0.55348,-0.115899,0.824759>,
<0.741912,0.122202,0.659267>,
<0.672752,-0.0547456,0.73784>,
<0.692932,0.238839,0.680294>,
<-0.0274137,-0.20353,0.978685>,
<0.662089,0.316679,0.67923>,
<0.660999,0.321121,0.678205>,
<0.731815,0.151284,0.6645>,
<0.510003,-0.129852,0.850315>,
<0.76826,0.0336721,0.639252>,
<0.744229,-0.00501454,0.667906>,
<0.0459575,-0.205339,0.977611>,
<0.689746,0.255407,0.677508>,
<0.289893,-0.191365,0.937732>,
<0.655164,-0.0586499,0.753207>,
<0.697828,0.23797,0.675578>,
<0.121785,-0.204273,0.971309>,
<0.768686,0.0376204,0.638519>,
<0.585804,-0.0909101,0.805338>,
<0.745451,-0.000258429,0.66656>,
<0.676763,-0.044348,0.734864>,
<0.694691,0.254418,0.672812>,
<-0.159124,-0.196861,0.967432>,
<0.510788,-0.122838,0.850886>,
<0.72926,0.172808,0.662055>,
<0.756547,0.106556,0.645199>,
<0.739446,0.149341,0.656442>,
<-0.0456464,-0.202552,0.978207>,
<0.243994,-0.192575,0.950464>,
<0.765745,0.0317403,0.642361>,
<0.368482,-0.169153,0.914116>,
<0.72736,-0.00910087,0.686196>,
<0.659117,-0.0481344,0.750498>,
<0.639949,0.397139,0.657835>,
<0.030544,-0.203015,0.978699>,
<-0.242761,-0.191433,0.95101>,
<0.766264,0.0357231,0.641532>,
<0.558324,-0.0959844,0.824052>,
<0.755909,0.118351,0.64389>,
<0.351096,-0.170272,0.920728>,
<0.635628,0.410896,0.653561>,
<0.676882,0.313883,0.665814>,
<0.728756,-0.00420618,0.684761>,
<0.675821,0.31823,0.664827>,
<0.726066,0.196127,0.659062>,
<0.737055,0.170623,0.653941>,
<0.453232,-0.137248,0.880763>,
<-0.176559,-0.196797,0.964416>,
<0.441222,-0.138594,0.886631>,
<0.681979,0.31249,0.661252>,
<0.166845,-0.194039,0.966701>,
<-0.0610551,-0.200818,0.977724>,
<0.680928,0.31681,0.66028>,
<0.591792,-0.0714755,0.802915>,
<0.770809,0.0656247,0.633678>,
<0.45307,-0.130467,0.881876>,
<0.608227,0.487922,0.626092>,
<0.734015,0.193687,0.650927>,
<-0.259121,-0.191924,0.946584>,
<-0.436957,-0.174419,0.882409>,
<-0.447295,-0.173311,0.877434>,
<0.753914,0.144934,0.640787>,
<0.513805,-0.103229,0.851674>,
<0.720306,0.231876,0.653753>,
<0.751399,0.027606,0.65927>,
<0.77108,0.0719263,0.632663>,
<0.440872,-0.131858,0.887832>,
<0.685984,-0.0177091,0.727401>,
<0.655219,0.392736,0.645327>,
<0.592631,0.525685,0.610281>,
<0.092446,-0.194797,0.976477>,
<0.271468,-0.174534,0.94649>,
<0.752103,0.0317267,0.658281>,
<-0.191082,-0.195835,0.96184>,
<0.563436,-0.0765374,0.822607>,
<0.65097,0.406246,0.64125>,
<0.717395,0.247834,0.651094>,
<0.595035,-0.0606904,0.801405>,
<0.68757,-0.0125328,0.72601>,
<0.768938,0.0639681,0.636115>,
<0.668278,-0.0210741,0.743613>,
<0.660481,0.390871,0.64108>,
<0.751833,0.16579,0.638169>,
<0.728459,0.229064,0.64566>,
<0.656258,0.40431,0.637071>,
<-0.272597,-0.191442,0.94289>,
<0.769309,0.0703234,0.634995>,
<0.559151,0.596184,0.57612>,
<0.735599,0.0245147,0.676974>,
<-0.449364,-0.176248,0.87579>,
<0.669863,-0.0157983,0.742317>,
<-0.634989,-0.148595,0.758095>,
<0.223867,-0.176534,0.958499>,
<-0.459443,-0.175217,0.870753>,
<0.000435908,-0.194817,0.98084>,
<0.359635,-0.146193,0.921569>,
<0.736416,0.0287673,0.675917>,
<0.566261,-0.0656763,0.821605>,
<0.725628,0.244864,0.643044>,
<0.623929,0.482073,0.615075>,
<-0.707002,-0.13615,0.693982>,
<0.525123,0.656744,0.541232>,
<0.749086,0.18841,0.635116>,
<0.771445,0.0998411,0.628414>,
<0.453686,-0.111257,0.884189>,
<0.341339,-0.147596,0.92828>,
<0.517403,-0.0838085,0.851628>,
<0.705378,0.304293,0.640193>,
<0.704374,0.3085,0.639285>,
<0.608473,0.519379,0.600005>,
<0.498671,0.697912,0.514048>,
<0.441006,-0.112725,0.890397>,
<0.629337,0.479803,0.611329>,
<0.358142,-0.139717,0.923154>,
<-0.0907657,-0.193773,0.976839>,
<-0.459221,-0.176966,0.870517>,
<0.144636,-0.179119,0.973138>,
<0.771224,0.111474,0.626727>,
<-0.469069,-0.176005,0.865446>,
<-0.786581,-0.119491,0.605815>,
<0.755865,0.0609604,0.651884>,
<-0.64191,-0.152027,0.751558>,
<0.339625,-0.141169,0.929907>,
<0.613924,0.516991,0.596504>,
<0.770028,0.098477,0.630364>,
<0.602784,-0.0324672,0.797244>,
<0.519489,-0.0728567,0.851365>,
<0.713857,0.300813,0.632392>,
<0.575155,0.5893,0.567382>,
<0.695437,0.0180143,0.718361>,
<0.75643,0.0675407,0.650578>,
<0.743906,0.223145,0.629929>,
<0.712869,0.304986,0.631507>,
<-0.711798,-0.140254,0.688239>,
<0.696389,0.0225587,0.71731>,
<0.604149,-0.0268934,0.796417>,
<-0.218387,-0.190367,0.957114>,
<0.0691022,-0.180797,0.98109>,
<0.741221,0.238677,0.627395>,
<0.684635,0.380851,0.621472>,
<0.769918,0.110211,0.628554>,
<0.580652,0.586781,0.564386>,
<0.258228,-0.152958,0.953898>,
<0.677755,0.0154304,0.735126>,
<0.541116,0.64969,0.533944>,
<0.740843,0.0589651,0.669085>,
<0.680522,0.394025,0.617765>,
<0.455238,-0.091902,0.885614>,
<-0.64699,-0.154239,0.746736>,
<-0.871622,-0.0963835,0.48061>,
<0.769999,0.137709,0.623007>,
<-0.789107,-0.124426,0.601522>,
<0.573112,-0.0370495,0.818639>,
<-0.874578,-0.0954352,0.475401>,
<0.678712,0.0200882,0.734129>,
<0.51454,0.690938,0.507793>,
<-0.297412,-0.187001,0.936257>,
<0.741527,0.0657682,0.667692>,
<0.442143,-0.0933838,0.89207>,
<0.546596,0.647166,0.531421>,
<0.574329,-0.0313647,0.818024>,
<0.355348,-0.121029,0.926866>,
<-0.715083,-0.143107,0.684234>,
<0.255678,-0.14672,0.955564>,
<0.209062,-0.155499,0.96546>,
<0.693374,0.376821,0.614197>,
<-0.0232074,-0.181845,0.983053>,
<0.519966,0.688474,0.505607>,
<0.6893,0.389919,0.610598>,
<0.757822,0.0967021,0.645255>,
<0.456303,-0.0808598,0.886143>,
<0.768387,0.158318,0.620094>,
<0.336265,-0.122563,0.933758>,
<0.768879,0.136679,0.624615>,
<0.654121,0.468333,0.593961>,
<0.72989,0.293776,0.617217>,
<0.72893,0.297892,0.616378>,
<-0.790524,-0.128083,0.598887>,
<0.442998,-0.082325,0.892735>,
<-0.87203,-0.102414,0.478618>,
<-0.874923,-0.101512,0.473503>,
<0.206144,-0.149354,0.967056>,
<0.524701,-0.0436741,0.850165>,
<-0.47609,-0.175217,0.861764>,
<0.638888,0.50514,0.58022>,
<-0.113591,-0.181787,0.976755>,
<0.757913,0.108862,0.643208>,
<-0.485453,-0.174417,0.856688>,
<0.701608,0.0549491,0.710441>,
<-0.917946,-0.0798046,0.388596>,
<0.766043,0.180702,0.616867>,
<0.128031,-0.158868,0.978963>,
<0.611002,0.00649857,0.791602>,
<0.525638,-0.0378303,0.849867>,
<0.767363,0.157478,0.621574>,
<0.743318,0.0959362,0.662023>,
<0.663068,0.463906,0.58748>,
<0.702429,0.0622704,0.709024>,
<0.683962,0.0533557,0.727563>,
<0.611832,0.0115306,0.790904>,
<0.605765,0.574629,0.550319>,
<-0.924734,-0.0769906,0.372746>,
<0.353945,-0.10176,0.929714>,
<0.647887,0.500629,0.574119>,
<-0.871806,-0.10713,0.477993>,
<0.124704,-0.152865,0.980347>,
<-0.874653,-0.106271,0.472957>,
<0.70985,0.368912,0.600014>,
<0.250185,-0.128433,0.959642>,
<0.743522,0.108524,0.659847>,
<-0.238413,-0.17984,0.954367>,
<0.684786,0.0608893,0.726196>,
<0.0516601,-0.161226,0.985565>,
<0.334369,-0.103306,0.936763>,
<0.705837,0.381895,0.596616>,
<0.765082,0.180076,0.618241>,
<0.580431,0.00287189,0.814304>,
<0.757187,0.136304,0.638819>,
<-0.654086,-0.156003,0.740158>,
<0.761317,0.215149,0.611643>,
<0.571569,0.635228,0.519417>,
<-0.91748,-0.0867818,0.388201>,
<0.581165,0.00805462,0.813746>,
<-0.314873,-0.177486,0.932391>,
<0.459185,-0.0510539,0.886872>,
<0.61479,0.570105,0.544989>,
<0.35351,-0.0905989,0.931033>,
<0.54464,0.676962,0.495065>,
<-0.718667,-0.146424,0.679763>,
<0.758784,0.230583,0.609162>,
<0.199723,-0.131231,0.971025>,
<0.0481636,-0.155355,0.986684>,
<0.445398,-0.0524009,0.893798>,
<-0.924151,-0.0842662,0.372617>,
<0.459715,-0.0450265,0.886925>,
<0.704656,0.0948159,0.703186>,
<0.755801,0.157881,0.635483>,
<0.333685,-0.0921246,0.938172>,
<-0.0405951,-0.163096,0.985775>,
<0.742952,0.136944,0.655186>,
<0.580512,0.63086,0.514803>,
<0.679858,0.455446,0.574772>,
<0.760386,0.214868,0.612898>,
<0.445842,-0.0463384,0.893912>,
<-0.790624,-0.133369,0.5976>,
<-0.916673,-0.0923769,0.388816>,
<0.530297,-0.0023539,0.847809>,
<0.553451,0.672796,0.490956>,
<0.616287,0.0477808,0.786071>,
<0.686993,0.0944251,0.720503>,
<0.704961,0.108426,0.70091>,
<0.664737,0.492095,0.56211>,
<0.757845,0.230462,0.610375>,
<0.246445,-0.109224,0.962982>,
<-0.486041,-0.168504,0.857537>,
<-0.0440364,-0.157399,0.986553>,
<-0.924733,-0.0768637,0.372774>,
<0.530842,0.00305342,0.847465>,
<-0.494966,-0.167876,0.852541>,
<0.753568,0.181335,0.631864>,
<0.117278,-0.135006,0.98388>,
<-0.129882,-0.163903,0.977889>,
<0.616946,0.0560537,0.785007>,
<0.741607,0.1593,0.651646>,
<0.747784,0.2855,0.599424>,
<-0.923287,-0.0901193,0.373389>,
<0.746838,0.289613,0.59863>,
<0.687274,0.108467,0.718255>,
<0.6316,0.561699,0.534392>,
<0.585012,0.0455324,0.809746>,
<0.195194,-0.112058,0.974342>,
<-0.919587,-0.0788624,0.38489>,
<-0.869216,-0.115013,0.480869>,
<0.244825,-0.0979673,0.964605>,
<-0.133022,-0.158405,0.978373>,
<-0.872001,-0.114261,0.475982>,
<0.0403531,-0.137768,0.989642>,
<0.585548,0.0541151,0.808829>,
<0.352912,-0.059971,0.933732>,
<0.73935,0.183607,0.647803>,
<0.704463,0.1392,0.695956>,
<-0.251717,-0.16336,0.953914>,
<0.74879,0.217463,0.626117>,
<0.597074,0.622871,0.505504>,
<-0.923991,-0.0851081,0.372823>,
<-0.655555,-0.153115,0.739462>,
<0.74673,0.285973,0.600511>,
<0.74577,0.290132,0.599708>,
<-0.912875,-0.0813405,0.400054>,
<0.462234,-0.00809041,0.886721>,
<0.332503,-0.061361,0.941104>,
<0.352824,-0.0537005,0.934147>,
<0.569689,0.665267,0.482571>,
<0.74616,0.233661,0.623416>,
<0.193178,-0.100773,0.975975>,
<0.686686,0.140242,0.713299>,
<0.462496,-0.00241546,0.886618>,
<-0.325649,-0.16204,0.931502>,
<0.727794,0.360798,0.583215>,
<0.44791,-0.00912254,0.894032>,
<-0.717271,-0.145277,0.681481>,
<0.618435,0.0930945,0.780303>,
<0.111918,-0.115926,0.986932>,
<-0.254104,-0.158204,0.95415>,
<0.332311,-0.0550507,0.941562>,
<0.723748,0.373857,0.580017>,
<-0.918824,-0.0874231,0.384864>,
<0.703041,0.163437,0.692114>,
<-0.0516408,-0.140208,0.988775>,
<0.533491,0.0423828,0.844743>,
<0.448111,-0.00339605,0.893971>,
<0.734419,0.221052,0.641689>,
<-0.913528,-0.102301,0.393702>,
<-0.923093,-0.0917317,0.373477>,
<0.533785,0.051437,0.844054>,
<-0.327423,-0.157145,0.931719>,
<0.618407,0.108686,0.778306>,
<-0.786617,-0.134463,0.602622>,
<0.685157,0.165284,0.709395>,
<-0.912101,-0.090199,0.399921>,
<0.731681,0.237838,0.638808>,
<0.726405,0.362123,0.584126>,
<0.586526,0.0926431,0.804614>,
<-0.894818,-0.0873818,0.437796>,
<0.109493,-0.10463,0.988465>,
<0.0347131,-0.118835,0.992307>,
<0.700581,0.189802,0.687867>,
<-0.139799,-0.141701,0.979988>,
<0.722283,0.37533,0.580891>,
<-0.489868,-0.156033,0.857719>,
<0.734516,0.291319,0.612878>,
<0.697361,0.448083,0.559383>,
<-0.498402,-0.15559,0.85287>,
<-0.920193,-0.100576,0.378324>,
<0.241468,-0.0666905,0.968115>,
<0.733505,0.295637,0.61202>,
<-0.917938,-0.0942827,0.385359>,
<0.586296,0.108899,0.802744>,
<0.68255,0.192532,0.705022>,
<0.68189,0.485214,0.547351>,
<0.240889,-0.0602291,0.968682>,
<-0.86377,-0.119076,0.489614>,
<-0.490007,-0.151906,0.858381>,
<0.0321637,-0.107574,0.993677>,
<0.617082,0.144089,0.773594>,
<0.463334,0.0391408,0.885319>,
<0.352062,-0.014826,0.935859>,
<-0.866545,-0.118444,0.484841>,
<-0.0570315,-0.121553,0.990945>,
<-0.498451,-0.151511,0.853575>,
<-0.911236,-0.0972758,0.400232>,
<-0.258911,-0.142387,0.955349>,
<0.188909,-0.0692755,0.979548>,
<0.695132,0.230414,0.680956>,
<0.69538,0.450385,0.56>,
<-0.894053,-0.0967961,0.437378>,
<0.71949,0.297556,0.62753>,
<0.351885,-0.00879444,0.936002>,
<0.448563,0.0385897,0.892918>,
<0.533775,0.0922432,0.84058>,
<0.71843,0.302025,0.62661>,
<0.463262,0.0487661,0.884878>,
<0.330995,-0.0158594,0.943499>,
<0.647788,0.555978,0.520825>,
<-0.652061,-0.144835,0.744203>,
<0.188171,-0.0627474,0.98013>,
<0.69209,0.248606,0.677647>,
<0.713037,0.370325,0.595347>,
<-0.330655,-0.14202,0.933005>,
<0.330744,-0.00976966,0.94367>,
<0.679602,0.487909,0.547802>,
<0.448415,0.0483255,0.892518>,
<0.676815,0.2345,0.697804>,
<0.614923,0.172066,0.769586>,
<0.584525,0.145867,0.798156>,
<-0.14441,-0.123443,0.981788>,
<0.708673,0.384006,0.59188>,
<-0.862533,-0.0963824,0.496736>,
<-0.0594297,-0.110406,0.992108>,
<0.533165,0.109522,0.838892>,
<-0.711446,-0.138944,0.688868>,
<0.612048,0.618389,0.492943>,
<0.673625,0.253293,0.694314>,
<-0.650537,-0.141806,0.746118>,
<0.104312,-0.0729094,0.991869>,
<-0.85329,-0.0986073,0.512028>,
<-0.920345,-0.103534,0.377155>,
<-0.893271,-0.104264,0.43726>,
<0.644836,0.559343,0.520886>,
<0.583589,0.661736,0.470669>,
<-0.908539,-0.108577,0.403446>,
<0.611576,0.202541,0.764822>,
<0.103418,-0.0663071,0.992425>,
<0.69694,0.379201,0.608672>,
<-0.778884,-0.130676,0.613403>,
<0.582017,0.175117,0.794097>,
<-0.709409,-0.136431,0.691466>,
<-0.14639,-0.112485,0.982811>,
<-0.261757,-0.124911,0.957016>,
<0.692361,0.393306,0.604935>,
<-0.489115,-0.138845,0.861097>,
<0.678528,0.313187,0.664465>,
<0.680215,0.461557,0.56945>,
<0.237532,-0.0198357,0.971177>,
<-0.497333,-0.138581,0.85642>,
<0.461785,0.0923448,0.882172>,
<0.677349,0.318008,0.663377>,
<0.60844,0.622225,0.492582>,
<-0.91534,-0.106434,0.388362>,
<-0.86187,-0.106348,0.495853>,
<-0.915511,-0.107349,0.387706>,
<0.0267443,-0.0758104,0.996764>,
<0.530582,0.148907,0.834451>,
<0.237011,-0.0135251,0.971413>,
<0.349927,0.0357366,0.936095>,
<0.44663,0.0924408,0.889931>,
<0.663563,0.500167,0.556343>,
<-0.776458,-0.128847,0.616856>,
<0.579501,0.665809,0.469975>,
<-0.332124,-0.125175,0.934893>,
<0.57829,0.206992,0.789136>,
<-0.830305,-0.103547,0.547606>,
<0.659448,0.319931,0.680273>,
<0.025817,-0.0691779,0.99727>,
<-0.852672,-0.108655,0.511024>,
<0.658219,0.324899,0.679109>,
<0.460625,0.110873,0.880643>,
<0.32832,0.0352461,0.943909>,
<0.349298,0.0461263,0.935876>,
<0.183982,-0.0218165,0.982687>,
<0.604591,0.249464,0.756464>,
<-0.90881,-0.109727,0.402523>,
<-0.262817,-0.114356,0.958045>,
<-0.855645,-0.118726,0.503762>,
<0.445356,0.111211,0.88842>,
<0.662564,0.473014,0.580747>,
<-0.858456,-0.118233,0.499073>,
<0.52747,0.180123,0.83026>,
<0.183354,-0.0154066,0.982926>,
<0.3276,0.0457603,0.943708>,
<-0.0644238,-0.0788107,0.994806>,
<0.627025,0.573268,0.52745>,
<-0.645529,-0.131733,0.752289>,
<0.600801,0.270443,0.752262>,
<-0.861305,-0.114169,0.495096>,
<-0.332477,-0.114954,0.936079>,
<0.653538,0.400868,0.642023>,
<0.645193,0.512505,0.566625>,
<-0.0652631,-0.0721916,0.995253>,
<0.64849,0.415916,0.637554>,
<0.570712,0.256059,0.780206>,
<-0.853254,-0.117833,0.508008>,
<-0.487049,-0.123925,0.864538>,
<-0.703151,-0.127776,0.699466>,
<-0.856081,-0.117379,0.503337>,
<-0.495076,-0.123784,0.859987>,
<-0.829827,-0.113666,0.546322>,
<0.589035,0.637074,0.497167>,
<-0.852183,-0.116517,0.510105>,
<0.45691,0.153211,0.876219>,
<0.52311,0.214159,0.824919>,
<0.0984518,-0.0247518,0.994834>,
<0.633463,0.410098,0.656159>,
<-0.150339,-0.0812927,0.985287>,
<-0.798768,-0.10904,0.591676>,
<0.566655,0.277979,0.775648>,
<-0.797365,-0.109251,0.593526>,
<-0.891305,-0.117195,0.437996>,
<0.559036,0.680934,0.473083>,
<0.628233,0.425523,0.651347>,
<0.607275,0.586831,0.53558>,
<0.0977286,-0.0182241,0.995046>,
<0.441413,0.154121,0.883969>,
<0.232904,0.033329,0.971928>,
<-0.916647,-0.111198,0.383919>,
<0.34563,0.093417,0.93371>,
<-0.769303,-0.122081,0.627112>,
<-0.150981,-0.0747378,0.985707>,
<-0.901805,-0.11075,0.41771>,
<0.584337,0.344492,0.734762>,
<-0.485608,-0.114737,0.866614>,
<0.582929,0.349985,0.733283>,
<0.615899,0.500224,0.608642>,
<0.231861,0.0443144,0.971739>,
<-0.493538,-0.114662,0.862132>,
<0.452999,0.186826,0.871715>,
<0.32358,0.093654,0.941554>,
<0.568154,0.651139,0.503209>,
<0.0207381,-0.0273125,0.999412>,
<-0.829557,-0.121524,0.545039>,
<0.343681,0.113616,0.932188>,
<-0.640002,-0.119642,0.759001>,
<-0.911978,-0.114222,0.394018>,
<0.514603,0.266522,0.814954>,
<-0.264548,-0.0841114,0.960698>,
<0.178602,0.0322767,0.983392>,
<0.437348,0.188198,0.87938>,
<0.597119,0.541457,0.591839>,
<0.0200109,-0.0207209,0.999585>,
<-0.909343,-0.11003,0.401233>,
<0.537483,0.694984,0.477608>,
<0.594612,0.511604,0.62024>,
<-0.899891,-0.110553,0.421871>,
<-0.798545,-0.118944,0.590067>,
<-0.797155,-0.119136,0.591904>,
<0.321511,0.114124,0.940003>,
<-0.264779,-0.0777269,0.961171>,
<0.549246,0.355176,0.756425>,
<0.510147,0.289879,0.809766>,
<0.177441,0.0434749,0.983171>,
<-0.768419,-0.112953,0.6299>,
<-0.69659,-0.117042,0.707859>,
<0.547768,0.360887,0.754792>,
<0.447853,0.223491,0.865725>,
<-0.332527,-0.085528,0.939207>,
<-0.846386,-0.113705,0.52029>,
<-0.905804,-0.117577,0.407057>,
<-0.849262,-0.113361,0.515659>,
<0.575352,0.553456,0.60221>,
<-0.0697835,-0.0302869,0.997102>,
<-0.907608,-0.109969,0.40516>,
<0.556705,0.617893,0.555237>,
<-0.636821,-0.111991,0.762835>,
<0.432057,0.225368,0.873233>,
<0.555047,0.44332,0.70384>,
<-0.332453,-0.0792957,0.93978>,
<-0.860282,-0.127372,0.493652>,
<-0.0704216,-0.0236735,0.997236>,
<-0.762044,-0.113182,0.637556>,
<0.338434,0.159892,0.927306>,
<0.0924583,0.0304559,0.995251>,
<0.549254,0.460016,0.697643>,
<0.226648,0.0944883,0.969383>,
<-0.692891,-0.110134,0.712582>,
<-0.798633,-0.126546,0.588363>,
<0.53418,0.630518,0.563115>,
<0.515838,0.682602,0.517654>,
<-0.797261,-0.12672,0.590184>,
<-0.851462,-0.129695,0.508126>,
<-0.745031,-0.115,0.657042>,
<0.316044,0.161035,0.934978>,
<0.0912195,0.041912,0.994948>,
<-0.154359,-0.0331267,0.987459>,
<0.438291,0.279826,0.854165>,
<-0.76851,-0.122272,0.628046>,
<0.491429,0.371822,0.787557>,
<-0.481441,-0.0878913,0.87206>,
<-0.739561,-0.115348,0.663132>,
<0.518768,0.457531,0.722181>,
<0.484373,0.725862,0.488372>,
<0.489861,0.37786,0.785658>,
<-0.489146,-0.0879832,0.867753>,
<0.224195,0.115979,0.967618>,
<-0.15483,-0.0265451,0.987584>,
<0.422316,0.282461,0.861316>,
<-0.889167,-0.125011,0.440176>,
<0.333543,0.196685,0.921989>,
<0.492923,0.695145,0.523259>,
<0.512795,0.47472,0.715319>,
<-0.758008,-0.107288,0.643361>,
<0.171839,0.0946776,0.980565>,
<0.433423,0.304896,0.848047>,
<0.0148129,0.0285241,0.999483>,
<-0.894484,-0.108415,0.433757>,
<-0.480606,-0.0821471,0.87308>,
<-0.912142,-0.114465,0.393567>,
<0.51271,0.551748,0.657801>,
<-0.488271,-0.0822708,0.868806>,
<-0.839574,-0.107431,0.532517>,
<-0.842503,-0.107198,0.527918>,
<0.417385,0.307856,0.854994>,
<0.31103,0.198337,0.929474>,
<0.461409,0.73799,0.492415>,
<0.013617,0.0401308,0.999102>,
<-0.265868,-0.0370301,0.963298>,
<-0.829642,-0.134457,0.541864>,
<0.169285,0.116628,0.978642>,
<0.492282,0.595345,0.634998>,
<-0.745409,-0.123573,0.655054>,
<-0.902739,-0.108221,0.416354>,
<-0.769004,-0.129321,0.626026>,
<0.327544,0.236801,0.91468>,
<-0.908008,-0.117429,0.402159>,
<-0.266015,-0.0305717,0.963484>,
<-0.910925,-0.114525,0.396359>,
<-0.715343,-0.116234,0.689038>,
<-0.740012,-0.123703,0.66112>,
<-0.074919,0.0258285,0.996855>,
<-0.628593,-0.089036,0.772621>,
<0.475469,0.568496,0.671373>,
<-0.712715,-0.116262,0.691752>,
<0.2181,0.165278,0.961829>,
<0.459572,0.479293,0.747711>,
<-0.331857,-0.0394494,0.942505>,
<0.0854514,0.0943665,0.991863>,
<0.304945,0.239002,0.921893>,
<-0.83582,-0.103018,0.539251>,
<-0.83878,-0.102849,0.534668>,
<0.453428,0.497166,0.739749>,
<0.413563,0.392378,0.821587>,
<0.449756,0.673616,0.586482>,
<-0.0759387,0.0375148,0.996407>,
<-0.627028,-0.0840368,0.77445>,
<-0.331767,-0.0331105,0.94278>,
<0.411932,0.398787,0.819317>,
<0.45485,0.612605,0.646395>,
<-0.902383,-0.120646,0.413703>,
<-0.683452,-0.0890781,0.72454>,
<-0.906955,-0.117453,0.404522>,
<0.397391,0.396368,0.827631>,
<0.0829174,0.116878,0.989679>,
<0.395756,0.402845,0.825284>,
<-0.859724,-0.134783,0.492653>,
<-0.158135,0.0228075,0.987154>,
<0.163097,0.167,0.972374>,
<-0.746256,-0.129952,0.652851>,
<-0.889215,-0.10419,0.445468>,
<0.317088,0.29827,0.900272>,
<0.212822,0.204488,0.955454>,
<-0.681667,-0.0844455,0.726773>,
<0.408593,0.737023,0.538376>,
<-0.79995,-0.138691,0.583819>,
<0.0081681,0.093331,0.995602>,
<-0.798636,-0.138816,0.585586>,
<-0.740947,-0.129891,0.658883>,
<-0.716143,-0.123405,0.686958>,
<-0.747791,-0.0888565,0.657961>,
<-0.158882,0.034477,0.986695>,
<-0.901494,-0.120612,0.415645>,
<0.41245,0.690922,0.593727>,
<-0.85138,-0.136928,0.506362>,
<0.294451,0.301278,0.906935>,
<-0.713554,-0.12328,0.689668>,
<0.311982,0.325517,0.892584>,
<-0.475856,-0.0450804,0.878367>,
<0.378051,0.777825,0.502061>,
<0.415642,0.593571,0.689141>,
<-0.4833,-0.0453867,0.874278>,
<-0.898032,-0.104406,0.427363>,
<-0.745867,-0.0847353,0.660683>,
<-0.475193,-0.0391396,0.87901>,
<0.00583365,0.116181,0.993211>,
<0.157876,0.20706,0.965506>,
<0.289364,0.328861,0.898954>,
<-0.482607,-0.0394722,0.874947>,
<0.206674,0.247195,0.946668>,
<0.3811,0.50545,0.774134>,
<-0.88634,-0.100968,0.451893>,
<-0.907605,-0.113096,0.404304>,
<-0.267092,0.0179935,0.963503>,
<0.395181,0.638182,0.660723>,
<0.372043,0.753428,0.542153>,
<-0.887018,-0.12761,0.443751>,
<0.076973,0.168558,0.982682>,
<0.374982,0.524017,0.764719>,
<-0.0805037,0.0911416,0.992579>,
<0.364992,0.510432,0.778615>,
<0.342439,0.793151,0.503634>,
<-0.267349,0.0295056,0.963148>,
<-0.717486,-0.128557,0.684607>,
<0.358916,0.529114,0.768907>,
<-0.826371,-0.0885232,0.556125>,
<-0.83079,-0.141124,0.538398>,
<-0.331259,0.0146547,0.943426>,
<-0.895477,-0.101429,0.433397>,
<-0.714944,-0.1283,0.687309>,
<-0.829411,-0.0885268,0.551581>,
<-0.771634,-0.140139,0.620437>,
<-0.904119,-0.115902,0.411261>,
<0.15192,0.250674,0.956077>,
<-0.886504,-0.127403,0.444837>,
<0.353936,0.71604,0.601678>,
<-0.618304,-0.051268,0.784265>,
<-0.0824134,0.114198,0.990034>,
<0.292097,0.419791,0.859334>,
<0.290517,0.426638,0.856493>,
<-0.824594,-0.0851861,0.559275>,
<-0.331176,0.0259983,0.943211>,
<0.0721398,0.209657,0.97511>,
<0.19653,0.312443,0.929384>,
<-0.162192,0.0880909,0.982819>,
<-0.827649,-0.0852247,0.554738>,
<0.000493459,0.168658,0.985674>,
<-0.617094,-0.0459504,0.785546>,
<0.338182,0.622734,0.705574>,
<0.269732,0.424159,0.864485>,
<-0.671743,-0.0538074,0.738827>,
<0.268181,0.431069,0.861544>,
<-0.899142,-0.118874,0.421203>,
<0.315588,0.776788,0.544981>,
<0.191773,0.341255,0.9202>,
<0.322543,0.628164,0.708079>,
<-0.670368,-0.0488009,0.740422>,
<-0.163548,0.111167,0.980252>,
<0.31879,0.667496,0.672921>,
<-0.749975,-0.139287,0.646634>,
<0.288037,0.814682,0.503316>,
<-0.904516,-0.109622,0.41211>,
<0.142332,0.317228,0.937608>,
<-0.470869,0.0059094,0.882184>,
<0.0668016,0.254373,0.964796>,
<-0.478082,0.00539603,0.878299>,
<-0.859746,-0.136384,0.492174>,
<-0.00370897,0.210394,0.97761>,
<-0.735164,-0.0571019,0.67548>,
<0.303485,0.6729,0.674613>,
<-0.74493,-0.138811,0.652541>,
<-0.0866563,0.167179,0.982111>,
<-0.268509,0.0825028,0.959738>,
<-0.802888,-0.144267,0.57841>,
<-0.801656,-0.144334,0.5801>,
<-0.879169,-0.0897622,0.467979>,
<-0.46998,0.0166694,0.88252>,
<0.137923,0.346573,0.927828>,
<0.261729,0.539058,0.800572>,
<-0.477151,0.0161169,0.878673>,
<-0.733679,-0.0525386,0.677462>,
<-0.852032,-0.138213,0.504915>,
<0.280711,0.744014,0.606337>,
<-0.901528,-0.112299,0.417895>,
<0.256227,0.558293,0.789086>,
<-0.87783,-0.0871027,0.470987>,
<-0.330874,0.0783009,0.940421>,
<-0.859851,-0.135851,0.49214>,
<0.24015,0.544283,0.803793>,
<-0.268963,0.105359,0.957371>,
<-0.902884,-0.106866,0.416389>,
<-0.88523,-0.12513,0.448007>,
<-0.00820346,0.25579,0.966697>,
<0.266261,0.749074,0.606624>,
<-0.889142,-0.0909281,0.448506>,
<0.174141,0.440216,0.880843>,
<0.234834,0.563599,0.791965>,
<-0.166457,0.164237,0.972275>,
<0.172791,0.44735,0.877508>,
<-0.0898503,0.209332,0.973708>,
<0.0585576,0.322508,0.944754>,
<0.246402,0.802154,0.543907>,
<-0.609161,-0.00520528,0.793029>,
<-0.897043,-0.115075,0.426698>,
<-0.852312,-0.137582,0.504614>,
<-0.814705,-0.062269,0.576522>,
<-0.72268,-0.135284,0.677814>,
<-0.887965,-0.088419,0.451332>,
<-0.330733,0.100893,0.938316>,
<-0.817846,-0.0625214,0.572031>,
<-0.720273,-0.13475,0.680477>,
<0.232935,0.806667,0.543167>,
<-0.900179,-0.109475,0.421537>,
<0.0549009,0.352496,0.934202>,
<0.222344,0.837659,0.49889>,
<-0.60752,0.00461748,0.794291>,
<-0.776392,-0.144243,0.613522>,
<-0.813331,-0.0584166,0.578861>,
<-0.833034,-0.141553,0.534806>,
<0.224328,0.658587,0.71829>,
<-0.816483,-0.0587017,0.574378>,
<0.121997,0.447092,0.886129>,
<-0.661336,-0.0102201,0.75002>,
<0.120802,0.45432,0.88261>,
<-0.0930961,0.255186,0.9624>,
<-0.168505,0.206494,0.963829>,
<0.209678,0.841701,0.497569>,
<-0.466283,0.0665175,0.882131>,
<-0.0148283,0.324905,0.94563>,
<-0.26979,0.158007,0.949867>,
<-0.47328,0.0657992,0.878451>,
<0.204231,0.664001,0.7193>,
<0.208245,0.702854,0.680169>,
<-0.659465,-0.000872043,0.751735>,
<-0.895971,-0.112142,0.429722>,
<0.149232,0.563233,0.81271>,
<-0.833754,-0.140671,0.533916>,
<-0.723907,-0.0170681,0.689686>,
<-0.017638,0.355293,0.934589>,
<0.188935,0.708127,0.680338>,
<0.144928,0.582793,0.799592>,
<-0.464793,0.0881537,0.88102>,
<-0.330222,0.153002,0.93142>,
<-0.884207,-0.120769,0.451212>,
<-0.47172,0.0873703,0.877409>,
<-0.170398,0.252486,0.952479>,
<-0.860319,-0.132602,0.492207>,
<-0.756195,-0.141896,0.638776>,
<-0.72188,-0.00840866,0.691967>,
<0.0423464,0.454877,0.889547>,
<-0.270132,0.200003,0.941821>,
<0.177915,0.776569,0.60439>,
<-0.870414,-0.0684095,0.487545>,
<0.0414442,0.462214,0.885799>,
<-0.0974855,0.324982,0.940682>,
<-0.751498,-0.141017,0.644488>,
<-0.898971,-0.0970958,0.427111>,
<0.100458,0.571261,0.814597>,
<-0.807379,-0.14332,0.572363>,
<-0.85327,-0.13405,0.503946>,
<-0.806248,-0.143319,0.573954>,
<-0.869387,-0.0652148,0.489809>,
<-0.600708,0.0504744,0.797874>,
<0.160313,0.781312,0.603201>,
<0.096838,0.590905,0.800908>,
<-0.0991728,0.355657,0.92934>,
<-0.898263,-0.0947603,0.42912>,
<-0.329501,0.194631,0.923877>,
<0.151848,0.83078,0.535488>,
<-0.883731,-0.117521,0.453>,
<-0.881476,-0.0707,0.466907>,
<-0.804263,-0.0280387,0.593611>,
<0.121014,0.683295,0.720044>,
<-0.807493,-0.0285619,0.589185>,
<-0.270079,0.24578,0.93094>,
<-0.896999,-0.0995558,0.430676>,
<-0.651712,0.0429482,0.757249>,
<-0.0266226,0.458843,0.888119>,
<-0.172473,0.32253,0.930714>,
<-0.461322,0.138267,0.876392>,
<-0.880582,-0.0676624,0.469039>,
<0.134204,0.86306,0.486946>,
<-0.598008,0.0705324,0.79838>,
<-0.0272257,0.46625,0.884234>,
<0.135935,0.83487,0.533399>,
<-0.80871,-0.142056,0.570795>,
<-0.468102,0.137347,0.872936>,
<-0.807607,-0.142037,0.57236>,
<-0.802377,-0.0205304,0.596464>,
<0.109562,0.726783,0.678073>,
<-0.805623,-0.0211082,0.592053>,
<-0.896433,-0.0971972,0.43239>,
<-0.730813,-0.13541,0.669011>,
<-0.173032,0.353326,0.919359>,
<0.119544,0.866644,0.484394>,
<-0.328267,0.24007,0.913568>,
<0.0269023,0.580389,0.813895>,
<-0.728579,-0.134618,0.671603>,
<-0.835927,-0.136415,0.531618>,
<-0.648656,0.0621933,0.758537>,
<-0.893503,-0.101958,0.43733>,
<0.0772393,0.691335,0.718394>,
<-0.713483,0.032431,0.699922>,
<-0.860985,-0.127235,0.492459>,
<0.0244746,0.600127,0.79953>,
<-0.783105,-0.141667,0.605539>,
<-0.458317,0.178498,0.87068>,
<-0.103617,0.46009,0.881805>,
<-0.464985,0.17748,0.867347>,
<-0.893073,-0.0995526,0.43876>,
<-0.268947,0.315631,0.90997>,
<-0.10385,0.467554,0.877843>,
<0.0889409,0.797872,0.59623>,
<0.0681509,0.7345,0.675178>,
<-0.854402,-0.128396,0.503499>,
<-0.710181,0.0504747,0.702207>,
<-0.591964,0.117297,0.797383>,
<-0.0360384,0.585234,0.810063>,
<-0.862635,-0.0396969,0.504266>,
<-0.267982,0.346393,0.898998>,
<-0.785033,-0.139975,0.603433>,
<-0.325235,0.309531,0.893539>,
<-0.861426,-0.123422,0.492658>,
<-0.0373231,0.605044,0.795317>,
<0.0721476,0.849,0.523444>,
<-0.454602,0.222605,0.862429>,
<0.012168,0.700445,0.713603>,
<-0.173047,0.458212,0.871835>,
<-0.46115,0.221493,0.859233>,
<-0.641867,0.107216,0.759284>,
<-0.861233,-0.0333204,0.507117>,
<0.0522606,0.804632,0.591469>,
<-0.894473,-0.0782905,0.440215>,
<-0.794548,0.0152355,0.60701>,
<-0.172924,0.46571,0.867877>,
<-0.76465,-0.137786,0.629543>,
<-0.79786,0.0144142,0.602671>,
<-0.882773,-0.10654,0.457559>,
<0.0612344,0.878941,0.472984>,
<-0.323381,0.340171,0.883011>,
<-0.874717,-0.0433397,0.482693>,
<-0.812554,-0.136733,0.566622>,
<-0.855093,-0.124422,0.503324>,
<-0.811525,-0.136664,0.568111>,
<-0.760364,-0.136505,0.634991>,
<-0.893963,-0.0754713,0.441739>,
<-0.587046,0.155125,0.794552>,
<0.00695146,0.743225,0.669005>,
<-0.838206,-0.13004,0.529623>,
<-0.882629,-0.103985,0.458424>,
<-0.105717,0.587273,0.802455>,
<0.0397786,0.854709,0.51758>,
<-0.873501,-0.0372496,0.485395>,
<-0.791467,0.0311928,0.610416>,
<-0.702894,0.0928974,0.705202>,
<-0.794803,0.03027,0.606112>,
<-0.893447,-0.0806424,0.44187>,
<-0.105644,0.60717,0.787518>,
<-0.76704,-0.135707,0.627083>,
<-0.636416,0.143777,0.757828>,
<-0.0428012,0.70538,0.707536>,
<-0.26214,0.451405,0.852945>,
<0.0318978,0.883878,0.466629>,
<-0.447682,0.290425,0.845715>,
<-0.893052,-0.0778184,0.443174>,
<-0.261554,0.458926,0.849103>,
<-0.454046,0.289195,0.842739>,
<-0.762862,-0.134326,0.632454>,
<-0.00137393,0.812245,0.583315>,
<-0.581321,0.19688,0.789496>,
<-0.0444816,0.747978,0.662232>,
<-0.168243,0.586007,0.792648>,
<-0.890857,-0.0827607,0.446682>,
<-0.839507,-0.125667,0.528617>,
<-0.44404,0.320501,0.836724>,
<-0.45032,0.319228,0.83385>,
<-0.741504,-0.128881,0.658454>,
<-0.697101,0.127542,0.705537>,
<-0.31418,0.44501,0.838604>,
<-0.166906,0.606002,0.777756>,
<-0.313329,0.452535,0.834887>,
<-0.855402,-0.00267527,0.517958>,
<-0.739467,-0.127844,0.660942>,
<-0.790487,-0.133491,0.597755>,
<-0.630153,0.18427,0.754289>,
<-0.890569,-0.0799077,0.447773>,
<-0.00713191,0.86112,0.508351>,
<-0.103134,0.70776,0.698884>,
<-0.784664,0.0690181,0.616067>,
<-0.788056,0.0678688,0.611851>,
<-0.816387,-0.129324,0.562839>,
<-0.862739,-0.110989,0.493318>,
<-0.815427,-0.129207,0.564256>,
<-0.0460305,0.816427,0.575611>,
<-0.0103607,0.889415,0.456983>,
<-0.853096,0.0111175,0.521636>,
<-0.744479,-0.126206,0.655609>,
<-0.868446,-0.0079312,0.495721>,
<-0.571364,0.261669,0.777864>,
<-0.100742,0.750359,0.653309>,
<-0.890682,-0.0529302,0.451534>,
<-0.690507,0.166102,0.703995>,
<-0.742494,-0.12511,0.658065>,
<-0.248412,0.579896,0.775895>,
<-0.863016,-0.108156,0.493463>,
<-0.857017,-0.111578,0.503063>,
<-0.245451,0.600058,0.76137>,
<-0.157025,0.707099,0.689459>,
<-0.0458831,0.86467,0.500241>,
<-0.566355,0.290636,0.771215>,
<-0.89001,-0.0472921,0.453483>,
<-0.779259,0.100195,0.61864>,
<-0.882005,-0.0863745,0.463257>,
<-0.773733,-0.128192,0.620406>,
<-0.619418,0.247385,0.745065>,
<-0.428148,0.424217,0.797953>,
<-0.782693,0.0988731,0.614504>,
<-0.434116,0.422853,0.795449>,
<-0.86644,0.0052876,0.499253>,
<-0.426773,0.431713,0.794663>,
<-0.857405,-0.108666,0.503038>,
<-0.818507,-0.124384,0.560869>,
<-0.432717,0.430345,0.792186>,
<-0.817583,-0.124241,0.562247>,
<-0.295386,0.573861,0.763826>,
<-0.890527,-0.0552994,0.451557>,
<-0.769844,-0.126548,0.625561>,
<-0.0945772,0.818651,0.566449>,
<-0.881938,-0.0834098,0.463926>,
<-0.0450787,0.892501,0.448788>,
<-0.150906,0.74991,0.644099>,
<-0.291503,0.594143,0.74968>,
<-0.614068,0.275719,0.739526>,
<-0.795798,-0.124991,0.592522>,
<-0.890011,-0.0496792,0.453225>,
<-0.679325,0.226597,0.697977>,
<-0.847959,0.0440581,0.528228>,
<-0.773108,0.135182,0.619701>,
<-0.842908,-0.111798,0.526314>,
<-0.776588,0.133678,0.615664>,
<-0.0877843,0.866648,0.491137>,
<-0.22613,0.702252,0.675061>,
<-0.888756,-0.0572301,0.454794>,
<-0.137719,0.818527,0.557716>,
<-0.673788,0.253914,0.693929>,
<-0.0824741,0.894276,0.439851>,
<-0.843565,-0.10869,0.525912>,
<-0.545402,0.391745,0.740994>,
<-0.888386,-0.0515849,0.45619>,
<-0.861945,0.0369082,0.505657>,
<-0.215237,0.745655,0.630612>,
<-0.543631,0.39913,0.73835>,
<-0.75273,-0.117141,0.647823>,
<-0.399251,0.553617,0.730826>,
<-0.266798,0.697221,0.665358>,
<-0.404745,0.552266,0.728823>,
<-0.79869,-0.119464,0.589765>,
<-0.750882,-0.115891,0.650189>,
<-0.843815,0.0714461,0.531857>,
<-0.887187,-0.0201578,0.46097>,
<-0.393513,0.574201,0.717942>,
<-0.124903,0.86673,0.482886>,
<-0.398918,0.572867,0.716022>,
<-0.780169,-0.118748,0.614195>,
<-0.591871,0.375212,0.713376>,
<-0.864692,-0.088966,0.494361>,
<-0.59,0.382517,0.711042>,
<-0.762656,0.190668,0.618063>,
<-0.253159,0.74115,0.621777>,
<-0.766207,0.188906,0.6142>,
<-0.77654,-0.116866,0.619135>,
<-0.115519,0.894462,0.431965>,
<-0.193033,0.815385,0.545789>,
<-0.864938,-0.0857768,0.494494>,
<-0.858281,0.0632512,0.509267>,
<-0.886035,-0.0079202,0.463551>,
<-0.881559,-0.0600156,0.468243>,
<-0.887821,-0.0226722,0.45963>,
<-0.859685,-0.0890224,0.503008>,
<-0.757461,0.215969,0.616125>,
<-0.823867,-0.109082,0.556188>,
<-0.83902,0.102422,0.534373>,
<-0.761045,0.214101,0.61235>,
<-0.823028,-0.108874,0.557468>,
<-0.650892,0.350671,0.673326>,
<-0.648963,0.357831,0.67142>,
<-0.860012,-0.0857682,0.503014>,
<-0.783642,-0.112721,0.6109>,
<-0.881479,-0.0542269,0.4691>,
<-0.225728,0.811914,0.53837>,
<-0.508647,0.520902,0.685521>,
<-0.357775,0.679829,0.640179>,
<-0.172456,0.864478,0.472161>,
<-0.824876,-0.105701,0.555344>,
<-0.362644,0.678649,0.638689>,
<-0.824053,-0.105481,0.556607>,
<-0.886905,-0.0105071,0.461832>,
<-0.501406,0.541796,0.674573>,
<-0.780147,-0.110715,0.615722>,
<-0.88678,-0.0245079,0.461542>,
<-0.853995,0.0931021,0.511883>,
<-0.157809,0.892758,0.421995>,
<-0.338387,0.725387,0.599424>,
<-0.760563,-0.106312,0.640501>,
<-0.553065,0.503817,0.663541>,
<-0.34297,0.724311,0.598118>,
<-0.200605,0.861876,0.465755>,
<-0.758836,-0.104926,0.642774>,
<-0.545403,0.524802,0.653543>,
<-0.883328,0.0213852,0.468268>,
<-0.847282,-0.0879223,0.523815>,
<-0.830676,0.152076,0.535584>,
<-0.886078,-0.0123303,0.463372>,
<-0.182852,0.890705,0.416184>,
<-0.735763,0.306928,0.603696>,
<-0.739465,0.304743,0.60027>,
<-0.805868,-0.1027,0.58312>,
<-0.733916,0.313748,0.602437>,
<-0.847801,-0.0845069,0.523539>,
<-0.737627,0.311543,0.599039>,
<-0.610694,0.47793,0.631376>,
<-0.299766,0.799498,0.520523>,
<-0.826444,0.174941,0.53515>,
<-0.456286,0.650716,0.606936>,
<-0.303778,0.798641,0.519512>,
<-0.764751,-0.0995633,0.636588>,
<-0.602701,0.498959,0.622729>,
<-0.84643,0.141083,0.513471>,
<-0.884677,0.0186045,0.465834>,
<-0.866551,-0.0608692,0.495362>,
<-0.8072,-0.0990444,0.581909>,
<-0.763085,-0.0981077,0.638808>,
<-0.880962,0.0458506,0.47096>,
<-0.881013,-0.0265829,0.472345>,
<-0.43169,0.698638,0.570569>,
<-0.497441,0.635087,0.590945>,
<-0.264676,0.852371,0.45101>,
<-0.866864,-0.054759,0.495528>,
<-0.84255,0.163234,0.513288>,
<-0.268168,0.851708,0.450199>,
<-0.862134,-0.0604181,0.503066>,
<-0.884277,0.0167837,0.466661>,
<-0.792174,-0.0947349,0.602898>,
<-0.240003,0.883083,0.403191>,
<-0.88072,-0.0141973,0.473424>,
<-0.471118,0.684121,0.5568>,
<-0.830452,-0.0833793,0.550816>,
<-0.243126,0.882548,0.402491>,
<-0.882643,0.0428979,0.468083>,
<-0.862545,-0.0542127,0.503067>,
<-0.829708,-0.0830886,0.551979>,
<-0.69665,0.430222,0.574098>,
<-0.878011,0.0736482,0.47294>,
<-0.788988,-0.0924267,0.607417>,
<-0.700497,0.427789,0.571227>,
<-0.552168,0.610854,0.567421>,
<-0.382341,0.777914,0.498663>,
<-0.831214,-0.0797418,0.550205>,
<-0.793743,-0.0908523,0.60143>,
<-0.808255,0.258403,0.529105>,
<-0.688712,0.451057,0.567647>,
<-0.830481,-0.0794412,0.551354>,
<-0.806673,0.264746,0.528383>,
<-0.692579,0.448605,0.564879>,
<-0.790611,-0.0884885,0.605892>,
<-0.524069,0.661406,0.536557>,
<-0.882531,0.0410611,0.468459>,
<-0.417928,0.765978,0.488482>,
<-0.851113,-0.0580566,0.521762>,
<-0.337098,0.835519,0.433905>,
<-0.880016,0.0704989,0.469683>,
<-0.825645,0.244426,0.508494>,
<-0.824161,0.250619,0.507886>,
<-0.879713,0.0153397,0.475258>,
<-0.851753,-0.0516144,0.521395>,
<-0.305086,0.869384,0.388708>,
<-0.867906,-0.025767,0.496059>,
<-0.872407,0.11853,0.47419>,
<-0.368769,0.826061,0.426183>,
<-0.774923,-0.0798424,0.626993>,
<-0.637322,0.564468,0.524592>,
<-0.814455,-0.075174,0.575336>,
<-0.466551,0.747003,0.47362>,
<-0.64125,0.562042,0.522405>,
<-0.773398,-0.0782208,0.629077>,
<-0.880176,0.0686351,0.469659>,
<-0.869385,0.139347,0.47408>,
<-0.86396,-0.0248178,0.502949>,
<-0.333791,0.861626,0.382341>,
<-0.815433,-0.0713176,0.574441>,
<-0.77381,0.375202,0.510335>,
<-0.776775,-0.075643,0.625219>,
<-0.868136,-0.0128521,0.496159>,
<-0.607887,0.617255,0.499468>,
<-0.775274,-0.0739913,0.627277>,
<-0.6118,0.614925,0.497562>,
<-0.874852,0.115077,0.470522>,
<-0.7666,0.395422,0.505931>,
<-0.412604,0.810848,0.41507>,
<-0.87848,0.0399173,0.476109>,
<-0.83602,-0.0517818,0.54625>,
<-0.864315,-0.0117428,0.502813>,
<-0.83535,-0.0514138,0.547308>,
<-0.79299,0.359056,0.492185>,
<-0.87201,0.135764,0.470285>,
<-0.37382,0.849058,0.373308>,
<-0.802213,-0.0657211,0.593409>,
<-0.786079,0.379037,0.488274>,
<-0.875364,0.113167,0.470033>,
<-0.545872,0.709128,0.446275>,
<-0.549656,0.707093,0.444857>,
<-0.836941,-0.0450162,0.545438>,
<-0.836283,-0.0446339,0.546478>,
<-0.799354,-0.0630508,0.597543>,
<-0.803345,-0.0616889,0.59231>,
<-0.854018,-0.0212158,0.519811>,
<-0.876587,0.0677974,0.476444>,
<-0.718363,0.508358,0.474897>,
<-0.855499,0.21625,0.470486>,
<-0.872658,0.133835,0.469635>,
<-0.868104,0.0178231,0.496063>,
<-0.80052,-0.0589763,0.596397>,
<-0.85424,0.222159,0.47002>,
<-0.485764,0.779872,0.394757>,
<-0.489313,0.778185,0.393702>,
<-0.854655,-0.00774291,0.519138>,
<-0.689615,0.562769,0.455766>,
<-0.86451,0.0192783,0.502246>,
<-0.441534,0.823172,0.356981>,
<-0.739336,0.49146,0.460271>,
<-0.444851,0.821751,0.356135>,
<-0.821538,-0.0418861,0.568613>,
<-0.858694,0.212265,0.466463>,
<-0.857474,0.21815,0.465993>,
<-0.867458,0.0432519,0.495627>,
<-0.872321,0.112781,0.475748>,
<-0.786667,-0.0487813,0.615447>,
<-0.711119,0.546171,0.442728>,
<-0.785284,-0.0469676,0.617352>,
<-0.822696,-0.0348091,0.567415>,
<-0.62665,0.660677,0.413298>,
<-0.787974,-0.0445121,0.614098>,
<-0.840226,-0.0132541,0.542074>,
<-0.859737,0.210307,0.465428>,
<-0.863994,0.044967,0.50149>,
<-0.83961,-0.0128115,0.543039>,
<-0.869804,0.13365,0.474952>,
<-0.786605,-0.0426765,0.61598>,
<-0.826897,0.326727,0.457702>,
<-0.858542,0.216191,0.464937>,
<-0.820659,0.346244,0.45457>,
<-0.855347,0.024138,0.517492>,
<-0.866049,0.0720245,0.494743>,
<-0.810349,-0.0310931,0.585122>,
<-0.562825,0.739145,0.36999>,
<-0.648541,0.645608,0.40322>,
<-0.841189,0.000755391,0.54074>,
<-0.840586,0.00122131,0.541677>,
<-0.80772,-0.0281029,0.588896>,
<-0.830734,0.322438,0.453778>,
<-0.514297,0.788603,0.337052>,
<-0.862685,0.0740115,0.500298>,
<-0.811666,-0.0237741,0.583638>,
<-0.824591,0.341938,0.450697>,
<-0.584185,0.726279,0.36228>,
<-0.809071,-0.0207269,0.587346>,
<-0.855104,0.050469,0.515994>,
<-0.77732,0.457691,0.431617>,
<-0.857321,0.21085,0.46962>,
<-0.826811,-0.00175326,0.562477>,
<-0.832135,0.320577,0.452529>,
<-0.53473,0.777591,0.33078>,
<-0.856145,0.21679,0.46906>,
<-0.862259,0.118332,0.49245>,
<-0.826033,0.340113,0.449435>,
<-0.842429,0.0337834,0.537748>,
<-0.750374,0.513014,0.41684>,
<-0.841846,0.0342991,0.538627>,
<-0.795967,-0.0123787,0.605214>,
<-0.859861,0.139777,0.491021>,
<-0.858973,0.120719,0.497587>,
<-0.828023,0.0127557,0.560549>,
<-0.853987,0.080182,0.514078>,
<-0.794676,-0.010403,0.606945>,
<-0.781672,0.453513,0.428153>,
<-0.797448,-0.00474785,0.603369>,
<-0.856584,0.142336,0.495988>,
<-0.796169,-0.00274427,0.605068>,
<-0.816309,0.010268,0.577524>,
<-0.754843,0.509042,0.413627>,
<-0.688955,0.615568,0.382645>,
<-0.842456,0.0609586,0.535306>,
<-0.783235,0.452,0.426894>,
<-0.841883,0.0615105,0.536144>,
<-0.813822,0.0135445,0.580957>,
<-0.829826,0.322171,0.455625>,
<-0.823694,0.341892,0.452369>,
<-0.850395,0.127861,0.510372>,
<-0.817666,0.025148,0.575143>,
<-0.756387,0.507747,0.412398>,
<-0.623811,0.70078,0.346074>,
<-0.829646,0.0468298,0.556323>,
<-0.84741,0.218941,0.483696>,
<-0.693423,0.612222,0.379932>,
<-0.846214,0.225022,0.482997>,
<-0.815206,0.0285091,0.57847>,
<-0.841498,0.0915346,0.53245>,
<-0.848,0.14989,0.508359>,
<-0.840929,0.0921228,0.533247>,
<-0.572619,0.755941,0.31727>,
<-0.844062,0.22207,0.488103>,
<-0.842855,0.228191,0.487365>,
<-0.627989,0.698176,0.343774>,
<-0.694772,0.611413,0.378769>,
<-0.802595,0.0305299,0.595743>,
<-0.80135,0.0326415,0.597305>,
<-0.780476,0.454797,0.428973>,
<-0.829822,0.0747517,0.552998>,
<-0.576422,0.753906,0.315219>,
<-0.819476,0.0599767,0.569966>,
<-0.753282,0.510995,0.414065>,
<-0.628994,0.697821,0.342655>,
<-0.804064,0.0458571,0.592771>,
<-0.837917,0.140433,0.527421>,
<-0.817045,0.0635064,0.573066>,
<-0.837345,0.141071,0.52816>,
<-0.802825,0.0480066,0.594279>,
<-0.81915,0.332638,0.467275>,
<-0.835203,0.23096,0.499093>,
<-0.81281,0.352716,0.463608>,
<-0.828901,0.106066,0.549248>,
<-0.577103,0.753845,0.314117>,
<-0.833962,0.237172,0.498253>,
<-0.83545,0.162964,0.524849>,
<-0.834873,0.163623,0.525562>,
<-0.815495,0.336406,0.470955>,
<-0.819686,0.0884147,0.565949>,
<-0.690835,0.615316,0.379649>,
<-0.809084,0.356572,0.467161>,
<-0.817251,0.092056,0.568882>,
<-0.805953,0.0815555,0.586334>,
<-0.624235,0.701989,0.342844>,
<-0.804711,0.0837761,0.587726>,
<-0.768119,0.46721,0.437844>,
<-0.825168,0.155953,0.542934>,
<-0.818707,0.120215,0.561487>,
<-0.571796,0.75799,0.313849>,
<-0.816246,0.123958,0.564249>,
<-0.80579,0.346696,0.480109>,
<-0.822091,0.245574,0.513673>,
<-0.740081,0.523858,0.421727>,
<-0.763933,0.471406,0.440661>,
<-0.821484,0.246292,0.5143>,
<-0.822564,0.178869,0.539809>,
<-0.820792,0.251885,0.512693>,
<-0.799194,0.367042,0.475993>,
<-0.820183,0.252606,0.513314>,
<-0.806083,0.110547,0.581386>,
<-0.804827,0.11281,0.58269>,
<-0.735655,0.528103,0.424168>,
<-0.814735,0.170701,0.554137>,
<-0.67606,0.628264,0.385002>,
<-0.812202,0.174559,0.556649>,
<-0.804905,0.142825,0.575959>,
<-0.811978,0.193826,0.550566>,
<-0.752908,0.48245,0.447628>,
<-0.803623,0.14512,0.577174>,
<-0.671235,0.63236,0.386735>,
<-0.608388,0.714124,0.346253>,
<-0.808475,0.262529,0.526732>,
<-0.791385,0.362676,0.492115>,
<-0.809403,0.197719,0.552969>,
<-0.790717,0.363436,0.492626>,
<-0.80711,0.268897,0.525612>,
<-0.784531,0.383155,0.487548>,
<-0.724073,0.539123,0.430192>,
<-0.783853,0.383917,0.488039>,
<-0.555534,0.769098,0.316024>,
<-0.603352,0.717828,0.347403>,
<-0.800455,0.193798,0.567198>,
<-0.550473,0.772405,0.316812>,
<-0.799121,0.196119,0.568281>,
<-0.6588,0.642726,0.391006>,
<-0.797192,0.277926,0.53595>,
<-0.795768,0.284307,0.534717>,
<-0.797436,0.217046,0.563016>,
<-0.736778,0.498661,0.456613>,
<-0.736038,0.499408,0.45699>,
<-0.796074,0.219368,0.564043>,
<-0.794435,0.281867,0.537981>,
<-0.776419,0.380182,0.502628>,
<-0.792997,0.288246,0.536722>,
<-0.590577,0.727004,0.350262>,
<-0.769322,0.400642,0.497624>,
<-0.707299,0.554946,0.437908>,
<-0.706534,0.555666,0.43823>,
<-0.537783,0.780481,0.31881>,
<-0.641213,0.65703,0.396432>,
<-0.764037,0.395379,0.509827>,
<-0.781581,0.30111,0.546319>,
<-0.640421,0.657666,0.396657>,
<-0.780073,0.307458,0.544936>,
<-0.780114,0.30339,0.547153>,
<-0.720309,0.515388,0.464252>,
<-0.756757,0.41571,0.504484>,
<-0.778599,0.309734,0.545755>,
<-0.761016,0.399183,0.511379>,
<-0.753695,0.419466,0.505957>,
<-0.572937,0.739249,0.353913>,
<-0.690369,0.570883,0.444391>,
<-0.572155,0.739782,0.354064>,
<-0.520563,0.791017,0.321414>,
<-0.519807,0.79147,0.321523>,
<-0.706905,0.529204,0.469285>,
<-0.623922,0.670813,0.400913>,
<-0.746967,0.417344,0.517556>,
<-0.703666,0.532575,0.470338>,
<-0.745369,0.419457,0.518152>,
<-0.73947,0.437335,0.511784>,
<-0.676731,0.58378,0.448593>,
<-0.737853,0.439406,0.512343>,
<-0.556039,0.750616,0.356928>,
<-0.673454,0.586893,0.449462>,
<-0.504374,0.800555,0.323603>,
<-0.610309,0.68155,0.403749>,
<-0.688759,0.548261,0.474363>,
<-0.607078,0.684089,0.404324>,
<-0.68708,0.550047,0.474732>,
<-0.54303,0.759184,0.358828>,
<-0.658464,0.601221,0.452723>,
<-0.656785,0.602837,0.453014>,
<-0.539981,0.761174,0.359212>,
<-0.492117,0.807583,0.325009>,
<-0.489269,0.809196,0.325297>,
<-0.592497,0.695537,0.406418>,
<-0.590882,0.696805,0.406597>,
<-0.526394,0.769985,0.360601>,
<-0.524906,0.770945,0.360718>,
<-0.476697,0.816242,0.326358>,
<-0.475333,0.817,0.326451>,
<0.701936,-0.232155,0.673342>,
<0.706431,-0.201411,0.678519>,
<0.714611,-0.226373,0.661881>,
<0.710647,-0.157773,0.68563>,
<0.720183,-0.194315,0.666017>,
<0.716884,-0.153226,0.680147>,
<0.722537,-0.175948,0.668568>,
<0.724088,-0.221713,0.6531>,
<0.7119,-0.125321,0.691008>,
<0.725451,-0.149325,0.67188>,
<0.718775,-0.120037,0.684801>,
<0.726938,-0.218658,0.650961>,
<0.711546,-0.0948846,0.696204>,
<0.73038,-0.189591,0.656202>,
<0.728279,-0.115966,0.675397>,
<0.734102,-0.147141,0.662905>,
<0.719271,-0.0890494,0.688999>,
<0.732507,-0.172534,0.658533>,
<0.709754,-0.0628159,0.701643>,
<0.730103,-0.0848997,0.678043>,
<0.735933,-0.147523,0.660787>,
<0.738109,-0.114416,0.664909>,
<0.708183,-0.0438992,0.704663>,
<0.7186,-0.0566187,0.693115>,
<0.71775,-0.0376148,0.695284>,
<0.741015,-0.115717,0.661443>,
<0.741751,-0.0838648,0.665412>,
<0.731206,-0.0525611,0.680128>,
<0.705045,-0.012396,0.709054>,
<0.731494,-0.0337226,0.681013>,
<0.715812,-0.00617989,0.698265>,
<0.746537,-0.0857505,0.659795>,
<0.701493,0.0196599,0.712405>,
<0.745296,-0.0520944,0.664695>,
<0.750084,-0.067559,0.657882>,
<0.713377,0.0255595,0.700314>,
<0.731429,-0.00275773,0.681913>,
<0.752637,-0.0544363,0.656182>,
<0.725422,-0.0952298,0.681685>,
<0.730714,0.0282804,0.682098>,
<0.756038,-0.036242,0.653524>,
<0.758361,-0.0228111,0.651436>,
<0.706526,0.0971159,0.700992>,
<0.729251,0.0612785,0.681497>,
<0.76088,-0.00651973,0.64886>,
<0.76442,0.0230147,0.644308>,
<0.75101,-0.0145213,0.660131>,
<0.766589,0.054188,0.639847>,
<0.757925,0.0157443,0.652151>,
<0.767181,0.0884361,0.635305>,
<-0.928613,-0.0665794,0.365027>,
<0.74825,0.259268,0.610657>,
<0.73287,0.325369,0.597526>,
<-0.921744,-0.104873,0.37335>,
<-0.783318,-0.0997517,0.613566>,
<-0.877341,-0.116655,0.465471>,
<-0.916984,-0.110156,0.383413>,
<-0.875854,-0.12699,0.465568>,
<-0.699396,-0.108333,0.706477>,
<-0.910761,-0.110792,0.397792>,
<-0.78388,-0.13495,0.60607>,
<-0.874576,-0.131892,0.466607>,
<-0.906788,-0.108324,0.407432>,
<-0.786823,-0.143069,0.600367>,
<-0.703805,-0.128786,0.698621>,
<-0.873596,-0.130857,0.468728>,
<-0.900246,-0.0992109,0.423927>,
<-0.818425,-0.143762,0.556339>,
<-0.791611,-0.144601,0.593668>,
<-0.873276,-0.127039,0.470373>,
<-0.894234,-0.0837817,0.439688>,
<-0.719108,-0.129358,0.682752>,
<-0.8732,-0.115574,0.47346>,
<-0.888766,-0.0611327,0.454267>,
<-0.72474,-0.125813,0.677438>,
<-0.883689,-0.0299069,0.467118>,
<-0.873602,-0.098096,0.476652>,
<-0.831184,-0.118827,0.543151>,
<-0.874287,-0.0739174,0.479749>,
<-0.836565,-0.0977509,0.539077>,
<-0.874909,-0.0417984,0.48248>,
<-0.77712,-0.0967346,0.621874>,
<-0.841618,-0.0699767,0.535521>,
<-0.804389,-0.0839239,0.588145>,
<-0.760361,-0.0803857,0.644507>,
<-0.788351,-0.070325,0.611193>,
<-0.845886,-0.0342338,0.532263>,
<-0.812728,-0.0528445,0.580243>,
<-0.773208,-0.0519273,0.632023>,
<-0.798131,-0.0374487,0.601318>,
<-0.784167,-0.0172267,0.620311>,
<0.724269,-0.231676,0.649432>,
<0.734684,-0.122607,0.667238>,
<0.736351,-0.106753,0.668125>,
<0.739301,-0.0763479,0.669033>,
<0.747261,-0.0774528,0.660002>,
<0.759006,0.0029017,0.651077>,
<0.759472,0.216386,0.613498>,
<0.710904,0.38409,0.589144>,
<-0.719426,-0.101638,0.687092>,
<-0.8066,-0.129269,0.57679>,
<-0.891443,-0.125025,0.435544>,
<-0.807097,-0.135442,0.574674>,
<-0.765064,-0.132901,0.630091>,
<-0.89026,-0.126368,0.437572>,
<-0.807961,-0.139976,0.572369>,
<-0.809199,-0.142907,0.56989>,
<-0.83479,-0.141239,0.532144>,
<-0.768463,-0.141724,0.624003>,
<-0.835772,-0.14153,0.530523>,
<-0.774031,-0.143869,0.616585>,
<-0.737237,-0.135319,0.661944>,
<-0.742503,-0.132025,0.656702>,
<-0.85559,-0.137137,0.499159>,
}
face_indices {
3512,
<564,497,493>,
<1167,1156,1165>,
<565,522,541>,
<1168,1149,1115>,
<1168,1160,1149>,
<565,548,522>,
<1169,1163,1150>,
<1170,1109,1130>,
<1170,1158,1109>,
<567,556,526>,
<1171,1154,1152>,
<1171,1152,1141>,
<567,526,532>,
<1172,1150,1110>,
<1172,1110,1147>,
<568,528,497>,
<568,497,564>,
<1172,1169,1150>,
<569,525,552>,
<1173,1139,1153>,
<1173,1153,1157>,
<569,546,525>,
<570,491,540>,
<570,515,491>,
<1174,1154,1171>,
<570,541,515>,
<1175,1128,1162>,
<571,495,548>,
<1175,1145,1128>,
<571,548,565>,
<572,508,521>,
<572,558,508>,
<1176,1119,1136>,
<1176,1164,1119>,
<573,527,546>,
<1177,1135,1158>,
<1177,1159,1135>,
<573,549,527>,
<575,543,555>,
<1179,1094,1148>,
<1179,1134,1094>,
<1179,1136,1134>,
<1180,1173,1157>,
<577,559,545>,
<577,545,560>,
<578,513,535>,
<578,561,513>,
<1182,1136,1179>,
<579,509,558>,
<1183,1146,1155>,
<1183,1115,1146>,
<579,532,509>,
<1184,1130,1140>,
<1184,1140,73>,
<580,540,563>,
<1184,1170,1130>,
<580,570,540>,
<1185,1167,1165>,
<581,38,37>,
<1186,1126,1107>,
<1186,1164,1176>,
<581,37,566>,
<582,516,514>,
<1186,1107,1164>,
<582,514,554>,
<1187,1133,1131>,
<583,563,523>,
<1187,1131,1082>,
<583,523,547>,
<1187,1082,1144>,
<1188,1160,1168>,
<584,571,565>,
<1189,1133,1187>,
<1189,1166,1133>,
<585,516,582>,
<585,555,516>,
<1191,1178,1116>,
<1191,1116,1126>,
<586,541,570>,
<587,579,558>,
<1192,1132,1154>,
<1192,1162,1132>,
<587,558,572>,
<1193,1172,1147>,
<588,488,542>,
<588,536,488>,
<1193,1147,1159>,
<1194,1144,1160>,
<1194,1160,1188>,
<589,546,569>,
<1195,1183,1155>,
<589,573,546>,
<1196,1157,1129>,
<1196,1129,1163>,
<590,560,519>,
<590,519,549>,
<1196,1180,1157>,
<1197,1177,1158>,
<591,495,571>,
<1197,1158,1170>,
<1198,1186,1176>,
<591,520,495>,
<1199,1148,1161>,
<592,589,569>,
<1199,1179,1148>,
<592,569,552>,
<592,552,562>,
<593,578,535>,
<1200,1161,1145>,
<593,535,550>,
<1200,1145,1175>,
<1201,1182,1179>,
<1201,1179,1199>,
<594,566,511>,
<594,511,543>,
<1202,1112,1178>,
<595,538,528>,
<595,528,568>,
<1202,1137,1112>,
<1202,1178,1191>,
<1202,1155,1137>,
<596,539,574>,
<596,562,539>,
<1203,1163,1169>,
<1203,1196,1163>,
<597,574,576>,
<597,596,574>,
<1204,1181,1151>,
<1204,1190,1181>,
<1204,1151,1166>,
<598,39,38>,
<598,38,581>,
<1205,1175,1162>,
<1205,1162,1192>,
<599,544,503>,
<599,503,556>,
<1206,1169,1172>,
<1206,1172,1193>,
<1206,1203,1169>,
<1207,1185,1165>,
<1207,1139,1173>,
<600,547,536>,
<600,536,588>,
<1207,1165,1139>,
<1208,1197,1170>,
<1208,1170,1184>,
<1208,1184,73>,
<601,542,553>,
<1208,73,74>,
<601,588,542>,
<1209,1174,1171>,
<1209,1141,1167>,
<602,550,557>,
<1209,1171,1141>,
<602,557,65>,
<602,593,550>,
<603,592,562>,
<603,562,596>,
<1210,1202,1191>,
<604,563,583>,
<1211,1207,1173>,
<604,580,563>,
<605,560,590>,
<1211,1173,1180>,
<605,577,560>,
<1212,1174,1209>,
<606,599,556>,
<1213,1190,1204>,
<606,556,567>,
<1214,1159,1177>,
<1214,1193,1159>,
<1214,1177,1197>,
<1215,1174,1212>,
<1215,1192,1154>,
<1215,1154,1174>,
<607,520,591>,
<607,533,520>,
<1215,1205,1192>,
<607,564,533>,
<1216,1193,1214>,
<1216,1206,1193>,
<1217,1180,1196>,
<1217,1196,1203>,
<609,544,599>,
<1218,1202,1210>,
<609,553,544>,
<1218,1195,1155>,
<1218,1155,1202>,
<610,538,595>,
<611,587,572>,
<1219,1194,1188>,
<1220,1209,1167>,
<1220,1212,1209>,
<611,572,521>,
<611,521,559>,
<1220,1167,1185>,
<1221,1212,1220>,
<612,570,580>,
<612,586,570>,
<613,607,591>,
<613,571,584>,
<613,591,571>,
<1223,1175,1205>,
<1223,1200,1175>,
<614,588,601>,
<1224,1185,1207>,
<614,600,588>,
<1225,1217,1203>,
<1226,1224,1207>,
<616,598,581>,
<1226,1207,1211>,
<616,566,594>,
<1227,1136,1182>,
<616,581,566>,
<617,605,590>,
<617,549,573>,
<1227,1176,1136>,
<617,590,549>,
<1227,1182,1201>,
<1227,1198,1176>,
<618,541,586>,
<618,565,541>,
<618,584,565>,
<1229,1166,1189>,
<619,532,579>,
<1230,1205,1215>,
<1230,1223,1205>,
<619,567,532>,
<620,599,606>,
<1231,1218,1210>,
<620,609,599>,
<621,589,592>,
<1232,1197,1208>,
<1232,1214,1197>,
<622,575,555>,
<622,555,585>,
<1233,1225,1203>,
<1233,1203,1206>,
<1234,1199,1161>,
<623,543,575>,
<623,594,543>,
<1234,1161,1200>,
<1234,1201,1199>,
<624,579,587>,
<1235,1201,1234>,
<624,619,579>,
<625,607,613>,
<1236,1187,1144>,
<1236,1189,1187>,
<1236,1144,1194>,
<626,611,559>,
<626,559,577>,
<1237,1188,1168>,
<627,554,538>,
<627,582,554>,
<1238,1229,1189>,
<1238,1189,1236>,
<1239,1216,1214>,
<627,538,610>,
<1239,1214,1232>,
<628,605,617>,
<1240,1208,74>,
<1240,1232,1208>,
<1241,1227,1201>,
<629,598,616>,
<1242,1190,1213>,
<630,621,592>,
<1242,1222,1190>,
<1242,1228,1222>,
<630,592,603>,
<631,576,608>,
<1243,1198,1227>,
<1243,1227,1241>,
<631,597,576>,
<1244,1215,1212>,
<1244,1230,1215>,
<632,587,611>,
<633,39,598>,
<1245,1206,1216>,
<633,598,629>,
<1245,1233,1206>,
<634,580,604>,
<634,612,580>,
<88,20,86>,
<635,586,612>,
<635,612,634>,
<88,86,87>,
<635,618,586>,
<1247,1223,1230>,
<636,617,573>,
<636,573,589>,
<89,20,88>,
<1248,1228,1242>,
<636,628,617>,
<1248,48,1228>,
<1249,1180,1217>,
<637,584,618>,
<1249,1211,1180>,
<638,608,615>,
<91,87,90>,
<638,631,608>,
<91,88,87>,
<1250,1183,1195>,
<639,568,564>,
<92,89,88>,
<1250,1237,1183>,
<639,564,607>,
<92,88,91>,
<1251,1237,1250>,
<1251,1219,1188>,
<1251,1188,1237>,
<640,596,597>,
<93,91,90>,
<1252,1217,1225>,
<640,603,596>,
<1252,1249,1217>,
<94,92,91>,
<1253,1225,1233>,
<1253,1252,1225>,
<94,91,93>,
<1253,1233,1245>,
<641,638,615>,
<1254,1239,1232>,
<1254,1232,1240>,
<1255,1212,1221>,
<642,568,639>,
<1255,1244,1212>,
<97,21,95>,
<643,575,622>,
<644,547,600>,
<644,583,547>,
<98,97,95>,
<1257,1200,1223>,
<645,640,597>,
<1257,1234,1200>,
<1257,1235,1234>,
<1258,1218,1231>,
<645,597,631>,
<1258,1195,1218>,
<646,594,623>,
<646,629,616>,
<646,616,594>,
<647,611,626>,
<100,97,98>,
<1259,1166,1229>,
<1259,1213,1204>,
<1259,1204,1166>,
<647,632,611>,
<1260,1247,1230>,
<101,100,98>,
<1260,1230,1244>,
<648,628,636>,
<1261,1220,1185>,
<1261,1185,1224>,
<1261,1224,1226>,
<1261,1221,1220>,
<650,644,600>,
<1262,1235,1257>,
<1263,1221,1261>,
<650,600,614>,
<1264,1243,1241>,
<651,585,582>,
<651,582,627>,
<105,100,101>,
<652,642,639>,
<1265,1261,1226>,
<652,639,607>,
<652,607,625>,
<1266,1251,1250>,
<106,103,97>,
<106,97,100>,
<1267,1194,1219>,
<653,635,634>,
<1267,1236,1194>,
<654,577,605>,
<654,605,628>,
<1268,1263,1261>,
<654,626,577>,
<1268,1261,1265>,
<655,567,619>,
<109,100,105>,
<1269,1236,1267>,
<109,106,100>,
<1269,1238,1236>,
<655,606,567>,
<1270,1249,1252>,
<1270,1226,1211>,
<656,601,553>,
<1270,1211,1249>,
<1271,1210,1191>,
<656,553,609>,
<657,622,585>,
<657,585,651>,
<1271,1191,1246>,
<658,618,635>,
<1272,1213,1259>,
<658,637,618>,
<1273,1245,1216>,
<658,635,653>,
<659,642,652>,
<1273,1216,1239>,
<1274,1258,1231>,
<660,629,646>,
<1275,1254,1240>,
<1275,1240,74>,
<1275,74,75>,
<1276,1245,1273>,
<1276,1253,1245>,
<661,613,584>,
<114,112,6>,
<661,584,637>,
<115,23,22>,
<1277,1270,1252>,
<662,583,644>,
<115,22,113>,
<662,604,583>,
<1278,1244,1255>,
<1278,1260,1244>,
<1279,1229,1238>,
<1279,1259,1229>,
<663,636,589>,
<1279,1238,1269>,
<663,648,636>,
<1280,1271,1246>,
<663,589,621>,
<1280,1246,1256>,
<664,638,641>,
<665,629,660>,
<1281,1247,1260>,
<665,633,629>,
<118,112,114>,
<666,603,640>,
<1282,1235,1262>,
<1282,1241,1201>,
<1282,1264,1241>,
<666,630,603>,
<1282,1201,1235>,
<1283,1257,1223>,
<667,609,620>,
<1283,1262,1257>,
<667,656,609>,
<1283,1247,1281>,
<1283,1223,1247>,
<1284,1219,1251>,
<668,620,606>,
<1284,1251,1266>,
<668,606,655>,
<121,115,113>,
<669,587,632>,
<1285,1262,1283>,
<121,113,116>,
<669,624,587>,
<1286,1273,1239>,
<1286,1239,1254>,
<670,640,645>,
<1287,1252,1253>,
<670,666,640>,
<122,118,114>,
<1287,1277,1252>,
<1288,1210,1271>,
<671,668,655>,
<671,619,624>,
<671,655,619>,
<1288,1231,1210>,
<672,601,656>,
<1288,1274,1231>,
<1288,1271,1280>,
<1289,1276,1273>,
<1289,1273,1286>,
<1290,1260,1278>,
<672,614,601>,
<673,649,561>,
<1290,1281,1260>,
<673,561,578>,
<1291,1275,75>,
<1291,1286,1254>,
<1291,1254,1275>,
<674,568,642>,
<126,23,115>,
<674,610,595>,
<126,115,121>,
<1292,1284,1266>,
<127,120,118>,
<674,595,568>,
<127,118,122>,
<675,644,650>,
<1293,1255,1221>,
<1293,1278,1255>,
<675,662,644>,
<128,116,123>,
<1293,1221,1263>,
<128,121,116>,
<676,621,630>,
<129,23,126>,
<129,24,23>,
<676,663,621>,
<1294,1288,1280>,
<677,631,638>,
<677,645,631>,
<130,126,121>,
<1295,1264,1282>,
<678,613,661>,
<1296,1287,1253>,
<130,121,128>,
<1296,1253,1276>,
<678,625,613>,
<678,652,625>,
<679,656,667>,
<1297,1293,1263>,
<1297,1263,1268>,
<1298,1248,1242>,
<679,672,656>,
<1298,1242,1213>,
<680,649,673>,
<1298,1213,1272>,
<680,641,649>,
<1299,1265,1226>,
<680,664,641>,
<681,668,671>,
<1299,1226,1270>,
<1299,1268,1265>,
<1300,1277,1287>,
<682,648,663>,
<1301,1297,1268>,
<135,122,131>,
<1301,1268,1299>,
<1302,1279,1269>,
<683,654,628>,
<135,127,122>,
<684,626,654>,
<1303,1248,1298>,
<1303,48,1248>,
<1303,49,48>,
<684,647,626>,
<1304,1282,1262>,
<136,126,130>,
<136,129,126>,
<1304,1262,1285>,
<1304,1295,1282>,
<1305,1280,1256>,
<137,130,128>,
<685,637,658>,
<686,677,638>,
<686,638,664>,
<1306,1270,1277>,
<687,39,633>,
<687,40,39>,
<1306,1299,1270>,
<138,128,123>,
<1306,1301,1299>,
<1307,1289,1286>,
<1307,1286,1291>,
<688,685,658>,
<688,658,653>,
<139,132,8>,
<140,134,120>,
<689,632,647>,
<689,669,632>,
<1308,1301,1306>,
<1309,1259,1279>,
<140,120,127>,
<690,610,674>,
<1309,1272,1259>,
<1310,1278,1293>,
<141,24,129>,
<1310,1293,1297>,
<1311,1266,1250>,
<691,673,578>,
<691,578,593>,
<142,134,140>,
<692,663,676>,
<1311,1258,1274>,
<1312,1310,1297>,
<692,682,663>,
<143,24,141>,
<144,132,139>,
<693,642,659>,
<144,135,131>,
<1313,1283,1281>,
<1313,1285,1283>,
<693,674,642>,
<694,604,662>,
<694,634,604>,
<145,137,128>,
<145,128,138>,
<694,653,634>,
<1314,1287,1296>,
<1314,1300,1287>,
<695,40,687>,
<695,41,40>,
<146,136,130>,
<1315,1285,1313>,
<1316,1272,1309>,
<696,575,643>,
<146,130,137>,
<696,623,575>,
<696,646,623>,
<1317,1291,75>,
<1317,1307,1291>,
<1317,75,76>,
<147,142,140>,
<1318,1276,1289>,
<697,665,660>,
<1318,1296,1276>,
<148,129,136>,
<698,680,673>,
<699,602,65>,
<699,593,602>,
<699,691,593>,
<1319,1311,1274>,
<148,141,129>,
<699,65,66>,
<149,135,144>,
<700,622,657>,
<1320,1295,1304>,
<1321,1305,1243>,
<701,628,648>,
<150,144,139>,
<1321,1243,1264>,
<701,683,628>,
<1322,1288,1294>,
<1322,1274,1288>,
<702,662,675>,
<1323,1294,1280>,
<151,143,141>,
<1323,1280,1305>,
<702,694,662>,
<151,141,148>,
<703,645,677>,
<1324,1311,1319>,
<152,147,140>,
<1324,1266,1311>,
<1324,1292,1266>,
<703,670,645>,
<1325,1315,1313>,
<704,610,690>,
<1325,1313,1281>,
<1325,1281,1290>,
<704,627,610>,
<705,684,654>,
<705,654,683>,
<706,690,674>,
<1327,1304,1285>,
<155,144,150>,
<1327,1320,1304>,
<706,674,693>,
<1328,1315,1325>,
<155,149,144>,
<156,136,146>,
<707,685,688>,
<1329,1302,1269>,
<156,148,136>,
<1330,1278,1310>,
<708,678,661>,
<157,137,145>,
<1330,1290,1278>,
<157,146,137>,
<708,637,685>,
<708,661,637>,
<709,703,677>,
<1331,1330,1310>,
<1331,1310,1312>,
<709,677,686>,
<158,154,9>,
<710,652,678>,
<710,659,652>,
<1332,1324,1319>,
<711,630,666>,
<1333,1279,1302>,
<159,145,138>,
<711,676,630>,
<1333,1309,1279>,
<1333,1316,1309>,
<160,25,24>,
<160,24,143>,
<712,709,686>,
<1334,1322,1294>,
<712,664,680>,
<161,153,142>,
<712,686,664>,
<1335,1296,1318>,
<713,650,614>,
<161,142,147>,
<1335,1314,1296>,
<162,147,152>,
<713,614,672>,
<1336,1297,1301>,
<1337,1277,1300>,
<163,148,156>,
<1337,1308,1306>,
<714,659,710>,
<163,151,148>,
<1337,1306,1277>,
<715,624,669>,
<1338,1335,1318>,
<715,681,671>,
<715,671,624>,
<1338,1318,1289>,
<715,669,689>,
<1338,1289,1307>,
<1339,1326,1284>,
<1339,1284,1292>,
<164,146,157>,
<716,711,666>,
<1339,1329,1326>,
<716,666,670>,
<165,25,160>,
<1340,1308,1337>,
<166,157,145>,
<166,145,159>,
<717,673,691>,
<717,698,673>,
<1341,1329,1339>,
<718,660,646>,
<718,646,696>,
<1342,1323,1305>,
<167,162,152>,
<719,695,687>,
<1342,1305,1321>,
<719,665,697>,
<719,687,633>,
<719,633,665>,
<1343,1336,1301>,
<1343,1301,1308>,
<1344,1316,1333>,
<1345,1294,1323>,
<168,154,158>,
<721,653,694>,
<721,694,702>,
<1345,1334,1294>,
<1345,1323,1342>,
<169,143,151>,
<169,160,143>,
<1346,1320,1327>,
<722,689,647>,
<1347,1307,1317>,
<1347,1317,76>,
<722,647,684>,
<723,672,679>,
<1347,1338,1307>,
<170,168,158>,
<723,713,672>,
<1348,1337,1300>,
<1348,1300,1314>,
<1348,1314,1335>,
<1348,1340,1337>,
<1349,1303,1298>,
<1349,1272,1316>,
<1349,1298,1272>,
<724,620,668>,
<724,667,620>,
<1350,1312,1297>,
<172,162,167>,
<1350,1297,1336>,
<1350,1336,1343>,
<173,167,149>,
<1351,1340,1348>,
<725,681,715>,
<173,149,155>,
<173,172,167>,
<726,680,698>,
<726,712,680>,
<1352,1335,1338>,
<1353,1303,1349>,
<727,704,690>,
<1353,49,1303>,
<727,690,706>,
<175,165,160>,
<175,160,169>,
<728,717,691>,
<1354,1350,1343>,
<728,691,699>,
<728,699,66>,
<729,710,678>,
<1355,1264,1295>,
<1355,1342,1321>,
<729,678,708>,
<1355,1321,1264>,
<1356,1292,1324>,
<730,705,683>,
<177,168,170>,
<1356,1324,1332>,
<730,683,701>,
<177,171,168>,
<178,26,25>,
<731,41,695>,
<1357,1285,1315>,
<1357,1346,1327>,
<178,25,165>,
<1357,1327,1285>,
<1358,1345,1342>,
<732,692,676>,
<732,676,711>,
<179,169,151>,
<1359,1338,1347>,
<179,151,163>,
<1359,1352,1338>,
<1359,1347,76>,
<733,721,702>,
<1359,76,77>,
<1360,1325,1290>,
<180,176,10>,
<1360,1328,1325>,
<181,146,164>,
<734,695,719>,
<181,163,156>,
<1360,1290,1330>,
<734,731,695>,
<735,711,716>,
<1361,1328,1360>,
<735,732,711>,
<181,156,146>,
<1362,1329,1341>,
<736,715,689>,
<1362,1302,1329>,
<182,164,157>,
<182,157,166>,
<1363,1360,1330>,
<737,679,667>,
<183,172,173>,
<737,667,724>,
<1363,1330,1331>,
<738,737,724>,
<1364,1356,1332>,
<738,724,668>,
<738,668,681>,
<1365,1361,1360>,
<185,163,181>,
<1365,1360,1363>,
<739,650,713>,
<1366,1312,1350>,
<1366,1331,1312>,
<185,179,163>,
<739,675,650>,
<1366,1363,1331>,
<740,682,692>,
<740,648,682>,
<186,175,169>,
<740,701,648>,
<186,169,179>,
<740,730,701>,
<1367,1348,1335>,
<741,660,718>,
<741,697,660>,
<1368,1315,1328>,
<742,685,707>,
<1368,1357,1315>,
<742,708,685>,
<187,178,165>,
<1369,1343,1308>,
<187,165,175>,
<1369,1354,1343>,
<1369,1308,1340>,
<743,651,627>,
<1370,1348,1367>,
<743,627,704>,
<743,657,651>,
<1370,1351,1348>,
<1371,1316,1344>,
<189,164,182>,
<1371,1349,1316>,
<1371,1353,1349>,
<744,725,715>,
<744,715,736>,
<1372,1350,1354>,
<745,709,712>,
<1372,1366,1350>,
<190,162,172>,
<190,174,162>,
<1373,1346,1357>,
<746,657,743>,
<1373,1357,1368>,
<190,172,183>,
<1374,1358,1342>,
<1374,1342,1355>,
<191,176,180>,
<747,684,705>,
<747,722,684>,
<192,26,178>,
<748,713,723>,
<748,739,713>,
<1376,1362,1341>,
<749,737,738>,
<1377,49,1353>,
<1377,1353,1371>,
<1378,1355,1295>,
<750,707,688>,
<194,191,180>,
<1378,1295,1320>,
<195,26,192>,
<750,688,653>,
<750,653,721>,
<1379,1334,1345>,
<751,726,698>,
<1379,1345,1358>,
<751,698,717>,
<196,183,173>,
<1380,1340,1351>,
<1380,1369,1340>,
<752,659,714>,
<1380,1351,1370>,
<1381,1354,1369>,
<752,693,659>,
<1381,1372,1354>,
<1381,1369,1380>,
<753,692,732>,
<753,740,692>,
<198,10,11>,
<1382,1335,1352>,
<1382,1370,1367>,
<1382,1367,1335>,
<198,180,10>,
<754,719,697>,
<1383,1322,1334>,
<754,734,719>,
<755,708,742>,
<199,175,186>,
<755,729,708>,
<1383,1375,1322>,
<1384,1373,1368>,
<199,187,175>,
<756,670,703>,
<1385,1370,1382>,
<200,171,177>,
<1386,1364,1332>,
<1386,1319,1375>,
<200,196,171>,
<756,716,670>,
<1386,1332,1319>,
<757,745,712>,
<1386,1375,1383>,
<201,184,188>,
<757,712,726>,
<201,193,184>,
<1387,1358,1374>,
<758,750,721>,
<758,721,733>,
<759,703,709>,
<202,191,194>,
<759,756,703>,
<1388,1302,1362>,
<202,197,191>,
<1388,1333,1302>,
<1389,1385,1382>,
<203,190,183>,
<1389,1352,1359>,
<1389,1359,77>,
<1389,1382,1352>,
<760,730,740>,
<1390,1379,1358>,
<1390,1358,1387>,
<204,198,11>,
<761,704,727>,
<205,186,179>,
<761,746,743>,
<1391,1381,1380>,
<205,179,185>,
<761,743,704>,
<762,710,729>,
<762,714,710>,
<1393,1385,1389>,
<1393,1389,77>,
<206,178,187>,
<206,192,178>,
<763,693,752>,
<207,183,196>,
<763,706,693>,
<1394,1355,1378>,
<1394,1387,1374>,
<1394,1374,1355>,
<207,196,200>,
<208,164,189>,
<764,746,761>,
<1395,1386,1383>,
<208,185,181>,
<208,181,164>,
<765,714,762>,
<765,752,714>,
<209,192,206>,
<1397,1365,1363>,
<766,731,734>,
<1397,1363,1366>,
<209,195,192>,
<767,751,717>,
<210,207,200>,
<1398,1320,1346>,
<767,717,728>,
<1398,1378,1320>,
<1398,1394,1378>,
<768,734,754>,
<768,766,734>,
<769,722,747>,
<769,689,722>,
<769,736,689>,
<211,193,201>,
<1400,1365,1397>,
<1401,1372,1381>,
<770,705,730>,
<770,747,705>,
<771,733,702>,
<1402,1380,1370>,
<771,675,739>,
<213,185,208>,
<771,702,675>,
<1403,1392,1356>,
<1403,1356,1364>,
<772,716,756>,
<213,205,185>,
<772,735,716>,
<214,186,205>,
<1404,1362,1376>,
<1404,1388,1362>,
<773,750,758>,
<1404,1399,1388>,
<215,198,204>,
<215,180,198>,
<1405,1328,1361>,
<773,707,750>,
<1405,1368,1328>,
<774,42,41>,
<1405,1384,1368>,
<1406,1397,1366>,
<215,194,180>,
<1406,1366,1372>,
<774,41,731>,
<1406,1400,1397>,
<216,27,26>,
<775,760,740>,
<775,740,753>,
<216,26,195>,
<217,206,187>,
<1407,1392,1403>,
<1407,1396,1392>,
<1408,1405,1361>,
<777,697,741>,
<1408,1361,1365>,
<217,187,199>,
<778,728,66>,
<778,66,67>,
<218,211,201>,
<778,767,728>,
<1409,1400,1406>,
<779,756,759>,
<779,772,756>,
<219,11,12>,
<1410,1399,1404>,
<1411,1381,1391>,
<219,204,11>,
<1411,1401,1381>,
<780,757,726>,
<220,215,204>,
<780,726,751>,
<1412,1387,1394>,
<781,739,748>,
<781,771,739>,
<221,27,216>,
<1413,1380,1402>,
<1413,1391,1380>,
<222,188,212>,
<222,218,201>,
<1414,1386,1395>,
<1414,1364,1386>,
<782,736,769>,
<782,744,736>,
<222,201,188>,
<1415,1413,1402>,
<783,723,679>,
<1415,1370,1385>,
<223,206,217>,
<783,679,737>,
<1415,1402,1370>,
<1416,1394,1398>,
<223,209,206>,
<1416,1412,1394>,
<1417,1384,1405>,
<785,738,681>,
<1417,1405,1408>,
<225,194,215>,
<1418,1417,1408>,
<225,202,194>,
<785,681,725>,
<786,727,706>,
<786,706,763>,
<1419,1387,1412>,
<226,210,200>,
<1419,1390,1387>,
<787,773,758>,
<227,183,207>,
<1420,1414,1395>,
<227,203,183>,
<1421,1415,1385>,
<788,657,746>,
<1421,1385,1393>,
<1421,1393,77>,
<1421,77,78>,
<228,225,215>,
<228,215,220>,
<788,700,657>,
<1422,1395,1383>,
<1422,1379,1390>,
<789,753,732>,
<229,219,12>,
<789,732,735>,
<1423,1346,1373>,
<790,765,762>,
<1423,1416,1398>,
<1423,1398,1346>,
<790,762,729>,
<790,729,755>,
<1424,1413,1415>,
<231,217,199>,
<791,789,735>,
<231,186,214>,
<792,779,759>,
<792,709,745>,
<1426,1406,1372>,
<792,759,709>,
<1426,1372,1401>,
<1426,1409,1406>,
<231,199,186>,
<793,737,749>,
<232,211,218>,
<793,783,737>,
<232,224,211>,
<1427,1396,1407>,
<1428,1391,1413>,
<233,207,210>,
<1428,1411,1391>,
<794,765,790>,
<795,769,747>,
<233,227,207>,
<795,782,769>,
<1429,1409,1426>,
<795,747,770>,
<234,222,212>,
<796,738,785>,
<796,749,738>,
<1431,1412,1416>,
<1432,1373,1384>,
<797,780,751>,
<1432,1423,1373>,
<235,195,209>,
<1433,1395,1422>,
<797,751,767>,
<798,771,781>,
<235,216,195>,
<1433,1420,1395>,
<236,210,226>,
<798,733,771>,
<1434,1415,1421>,
<1434,1424,1415>,
<236,226,230>,
<1434,1421,78>,
<237,221,216>,
<799,766,768>,
<1435,1427,1407>,
<1436,1408,1365>,
<800,785,725>,
<800,725,744>,
<1436,1418,1408>,
<237,216,235>,
<1436,1365,1400>,
<1437,1399,1410>,
<801,765,794>,
<1437,1430,1425>,
<238,214,205>,
<1437,1425,1399>,
<801,752,765>,
<1438,1422,1390>,
<801,763,752>,
<802,741,718>,
<238,205,213>,
<1438,1433,1422>,
<239,236,230>,
<1439,1429,1426>,
<803,770,730>,
<1439,1401,1411>,
<240,28,27>,
<1439,1411,1428>,
<1439,1426,1401>,
<803,730,760>,
<240,27,221>,
<1440,50,1430>,
<804,707,773>,
<1440,1430,1437>,
<804,742,707>,
<241,219,229>,
<1441,1429,1439>,
<1442,1431,1416>,
<1442,1416,1423>,
<805,723,783>,
<805,748,723>,
<1443,1409,1429>,
<1443,1436,1400>,
<1443,1400,1409>,
<243,208,189>,
<1444,1428,1413>,
<806,782,795>,
<1444,1413,1424>,
<243,189,224>,
<807,745,757>,
<1445,1419,1412>,
<1445,1412,1431>,
<244,218,222>,
<807,792,745>,
<808,798,781>,
<245,12,13>,
<245,229,12>,
<246,244,222>,
<1447,1433,1438>,
<810,767,778>,
<246,222,234>,
<810,778,67>,
<810,797,767>,
<811,792,807>,
<247,235,209>,
<811,779,792>,
<1448,1435,1407>,
<247,209,223>,
<812,809,788>,
<812,746,764>,
<1449,1418,1436>,
<1449,1436,1443>,
<1450,1442,1423>,
<812,788,746>,
<248,220,241>,
<813,774,731>,
<1450,1423,1432>,
<248,228,220>,
<813,731,766>,
<814,774,813>,
<249,229,245>,
<1451,1444,1424>,
<1451,1424,1434>,
<1451,1434,78>,
<1451,78,79>,
<814,776,774>,
<249,241,229>,
<815,796,785>,
<815,785,800>,
<250,214,238>,
<816,773,787>,
<251,208,243>,
<1453,1449,1443>,
<1454,1442,1450>,
<816,804,773>,
<251,213,208>,
<1454,1431,1442>,
<1455,1439,1428>,
<817,753,789>,
<817,775,753>,
<252,28,240>,
<818,760,775>,
<1456,1439,1455>,
<1456,1441,1439>,
<818,803,760>,
<1457,1414,1420>,
<819,805,783>,
<253,235,247>,
<1457,1446,1414>,
<1457,1448,1446>,
<819,783,793>,
<253,237,235>,
<1458,1448,1457>,
<820,776,814>,
<254,217,231>,
<254,223,217>,
<255,251,243>,
<821,763,801>,
<255,224,232>,
<255,243,224>,
<1460,1459,1452>,
<821,786,763>,
<1460,1452,1427>,
<822,817,789>,
<1460,1427,1435>,
<1461,1433,1447>,
<822,789,791>,
<823,795,770>,
<1461,1420,1433>,
<1462,1431,1454>,
<1462,1445,1431>,
<823,806,795>,
<257,245,13>,
<824,755,742>,
<824,742,804>,
<258,234,242>,
<1463,1443,1429>,
<258,246,234>,
<1463,1453,1443>,
<1463,1429,1441>,
<824,804,816>,
<259,223,254>,
<1464,1432,1384>,
<825,727,786>,
<825,761,727>,
<1464,1384,1417>,
<825,764,761>,
<826,741,802>,
<1465,1454,1450>,
<1466,1390,1419>,
<826,777,741>,
<1466,1438,1390>,
<827,764,825>,
<260,232,218>,
<260,218,244>,
<261,241,249>,
<1466,1447,1438>,
<828,811,807>,
<829,787,758>,
<261,248,241>,
<1467,1459,1460>,
<829,798,808>,
<829,758,733>,
<262,240,221>,
<1468,1464,1417>,
<1468,1417,1418>,
<262,221,237>,
<829,733,798>,
<1469,1428,1444>,
<830,809,812>,
<1469,1456,1455>,
<1469,1455,1428>,
<1470,1456,1469>,
<831,757,780>,
<1471,1461,1447>,
<831,807,757>,
<832,821,801>,
<1472,1463,1441>,
<264,233,210>,
<832,801,794>,
<264,210,236>,
<1473,1471,1447>,
<833,806,823>,
<265,251,255>,
<1473,1447,1466>,
<834,735,772>,
<266,236,239>,
<1474,1444,1451>,
<834,822,791>,
<1474,1469,1444>,
<1474,1451,79>,
<834,791,735>,
<266,264,236>,
<1474,1470,1469>,
<1475,1453,1463>,
<1475,1463,1472>,
<835,824,816>,
<267,249,245>,
<1476,1474,79>,
<1476,1470,1474>,
<267,245,257>,
<1477,1435,1448>,
<268,13,14>,
<837,829,808>,
<1477,1448,1458>,
<268,257,13>,
<269,256,263>,
<1478,1432,1464>,
<1478,1450,1432>,
<269,230,256>,
<1478,1465,1450>,
<269,239,230>,
<838,825,786>,
<1479,1464,1468>,
<838,786,821>,
<270,260,244>,
<1479,1478,1464>,
<270,246,258>,
<839,744,782>,
<270,244,246>,
<839,800,744>,
<1480,1466,1419>,
<1480,1445,1462>,
<271,28,252>,
<1480,1419,1445>,
<271,29,28>,
<1480,1473,1466>,
<840,781,748>,
<840,748,805>,
<1481,1462,1454>,
<1481,1454,1465>,
<272,254,231>,
<272,214,250>,
<841,772,779>,
<272,231,214>,
<841,834,772>,
<1483,1475,1472>,
<842,749,796>,
<842,793,749>,
<273,252,240>,
<1485,1477,1458>,
<273,240,262>,
<1486,1441,1456>,
<843,821,832>,
<1486,1472,1441>,
<274,269,263>,
<844,813,766>,
<1487,1484,1482>,
<1487,1482,1459>,
<844,766,799>,
<1487,1459,1467>,
<845,807,831>,
<845,828,807>,
<846,780,797>,
<846,845,831>,
<1489,1465,1478>,
<846,831,780>,
<847,814,813>,
<276,262,237>,
<847,813,844>,
<276,237,253>,
<1489,1478,1479>,
<277,249,267>,
<1490,1473,1480>,
<277,261,249>,
<848,799,768>,
<1491,1485,1458>,
<278,257,268>,
<849,44,43>,
<278,267,257>,
<279,238,213>,
<850,815,800>,
<279,250,238>,
<1492,1465,1489>,
<850,800,839>,
<279,213,251>,
<1492,1481,1465>,
<279,251,265>,
<1493,51,1484>,
<1493,1484,1487>,
<851,805,819>,
<1494,1479,1468>,
<851,840,805>,
<1494,1418,1449>,
<852,829,837>,
<852,787,829>,
<1494,1468,1418>,
<1495,1489,1479>,
<853,833,823>,
<853,770,803>,
<853,803,818>,
<1496,1449,1453>,
<853,823,770>,
<1496,1494,1449>,
<281,270,258>,
<282,255,232>,
<854,820,814>,
<854,814,847>,
<855,818,775>,
<1497,1473,1490>,
<1497,1471,1473>,
<282,232,260>,
<1498,1490,1480>,
<855,775,817>,
<856,755,824>,
<283,29,271>,
<1498,1480,1462>,
<1499,1477,1485>,
<856,790,755>,
<284,260,270>,
<856,794,790>,
<284,282,260>,
<857,44,849>,
<1500,1456,1470>,
<1500,1486,1456>,
<285,268,14>,
<858,822,834>,
<1501,1483,1472>,
<286,228,248>,
<286,274,263>,
<1501,1486,1500>,
<859,810,67>,
<859,797,810>,
<1501,1472,1486>,
<286,263,228>,
<859,67,68>,
<1502,1488,1461>,
<859,846,797>,
<860,817,822>,
<1502,1461,1471>,
<287,247,223>,
<860,855,817>,
<1503,1488,1502>,
<287,223,259>,
<1503,1491,1488>,
<861,794,856>,
<288,271,252>,
<288,283,271>,
<862,842,796>,
<288,252,273>,
<1505,1495,1479>,
<862,796,815>,
<863,852,837>,
<1505,1479,1494>,
<289,273,262>,
<1506,1500,1470>,
<289,262,276>,
<1506,79,80>,
<290,277,267>,
<1506,1476,79>,
<1506,1470,1476>,
<290,267,278>,
<1507,1490,1498>,
<291,242,275>,
<864,833,853>,
<865,777,826>,
<1508,1499,1485>,
<291,258,242>,
<1508,1504,1499>,
<866,839,782>,
<292,14,15>,
<1509,1494,1496>,
<866,782,806>,
<1509,1505,1494>,
<292,285,14>,
<1510,1501,1500>,
<293,255,282>,
<1510,1500,1506>,
<867,845,846>,
<867,846,859>,
<293,265,255>,
<868,834,841>,
<1511,1504,1508>,
<868,858,834>,
<294,279,265>,
<1512,1490,1507>,
<294,265,293>,
<869,821,843>,
<869,838,821>,
<1512,1497,1490>,
<295,253,247>,
<1513,1496,1453>,
<1513,1509,1496>,
<1513,1453,1475>,
<295,247,287>,
<870,793,842>,
<1514,1492,1489>,
<870,819,793>,
<1514,1489,1495>,
<296,278,268>,
<296,268,285>,
<871,853,818>,
<296,290,278>,
<1515,1485,1491>,
<1515,1508,1485>,
<297,250,279>,
<297,279,294>,
<1515,1491,1503>,
<872,840,851>,
<872,808,781>,
<1516,1495,1505>,
<872,781,840>,
<1516,1505,1509>,
<873,764,827>,
<1517,1506,80>,
<1517,1510,1506>,
<1518,1495,1516>,
<873,812,764>,
<298,248,261>,
<873,830,812>,
<298,286,248>,
<1518,1514,1495>,
<299,259,254>,
<299,254,272>,
<874,856,824>,
<874,861,856>,
<1519,1507,1498>,
<874,824,835>,
<1519,1498,1462>,
<300,239,269>,
<1519,1462,1481>,
<1520,1516,1509>,
<300,266,239>,
<301,291,275>,
<1521,1471,1497>,
<876,779,811>,
<301,275,280>,
<876,868,841>,
<1521,1502,1471>,
<876,811,828>,
<1522,1475,1483>,
<302,29,283>,
<876,841,779>,
<302,30,29>,
<877,861,874>,
<1522,1513,1475>,
<878,827,825>,
<303,270,281>,
<1523,1502,1521>,
<1523,1503,1502>,
<878,838,869>,
<303,284,270>,
<878,825,838>,
<879,827,878>,
<879,873,827>,
<304,274,286>,
<304,286,298>,
<1525,1481,1492>,
<880,853,871>,
<1525,1519,1481>,
<880,864,853>,
<881,850,839>,
<1526,1519,1525>,
<881,839,866>,
<1526,1507,1519>,
<305,259,299>,
<306,283,288>,
<882,859,68>,
<1527,1515,1503>,
<882,867,859>,
<883,872,851>,
<1527,1503,1523>,
<307,290,296>,
<1528,1507,1526>,
<308,269,274>,
<884,816,787>,
<308,300,269>,
<1528,1512,1507>,
<309,306,288>,
<1530,1509,1513>,
<884,787,852>,
<1530,1520,1509>,
<309,288,273>,
<1531,1504,1511>,
<309,273,289>,
<885,799,848>,
<1531,1529,1524>,
<886,870,842>,
<1531,1524,1504>,
<886,842,862>,
<887,876,828>,
<310,297,294>,
<887,828,845>,
<311,304,298>,
<1532,1526,1525>,
<1533,53,52>,
<1533,52,1529>,
<1533,1529,1531>,
<1534,1508,1515>,
<312,293,282>,
<1534,1511,1508>,
<312,282,284>,
<1534,1515,1527>,
<888,820,854>,
<888,857,849>,
<888,849,820>,
<1535,1530,1513>,
<1535,1513,1522>,
<889,830,873>,
<313,307,296>,
<890,854,847>,
<313,296,285>,
<313,285,292>,
<1536,1522,1483>,
<1536,1483,1501>,
<1537,1521,1497>,
<1537,1523,1521>,
<891,806,833>,
<314,30,302>,
<891,866,806>,
<891,881,866>,
<1537,1497,1512>,
<315,292,15>,
<1538,1530,1535>,
<892,826,802>,
<1538,1520,1530>,
<893,852,863>,
<316,315,15>,
<893,884,852>,
<1539,1523,1537>,
<317,298,261>,
<1540,1511,1534>,
<894,875,809>,
<317,311,298>,
<317,261,277>,
<894,809,830>,
<1541,1516,1520>,
<1541,1518,1516>,
<1542,1520,1538>,
<318,272,250>,
<896,857,888>,
<1542,1541,1520>,
<318,250,297>,
<897,837,808>,
<897,808,872>,
<1543,1528,1526>,
<897,872,883>,
<1543,1526,1532>,
<898,861,877>,
<1544,1534,1527>,
<320,291,301>,
<1545,1538,1535>,
<898,794,861>,
<898,832,794>,
<899,868,876>,
<1546,1501,1510>,
<321,283,306>,
<1546,1536,1501>,
<1547,1527,1523>,
<321,314,302>,
<1547,1523,1539>,
<901,815,850>,
<321,302,283>,
<901,862,815>,
<322,313,292>,
<322,292,315>,
<1548,1532,1525>,
<1548,1492,1514>,
<902,822,858>,
<1548,1525,1492>,
<902,860,822>,
<323,276,253>,
<1549,1536,1546>,
<1549,1535,1522>,
<1549,1522,1536>,
<323,253,295>,
<1550,1514,1518>,
<324,293,312>,
<1550,1548,1514>,
<903,816,884>,
<1551,1534,1544>,
<903,835,816>,
<904,883,851>,
<1551,1540,1534>,
<904,851,819>,
<904,819,870>,
<1552,1537,1512>,
<1552,1512,1528>,
<325,307,313>,
<1552,1539,1537>,
<905,881,891>,
<326,306,309>,
<906,878,869>,
<1553,1543,1532>,
<906,879,878>,
<1554,1539,1552>,
<1555,1517,80>,
<328,294,293>,
<1555,1546,1510>,
<907,879,906>,
<1555,80,81>,
<1555,1510,1517>,
<908,858,868>,
<328,310,294>,
<1556,1553,1532>,
<1556,1532,1548>,
<329,320,301>,
<908,902,858>,
<1556,1548,1550>,
<1557,1556,1550>,
<909,818,855>,
<909,871,818>,
<1558,1549,1546>,
<330,312,284>,
<330,284,303>,
<1559,1535,1549>,
<910,887,845>,
<331,313,322>,
<1559,1549,1558>,
<1559,1545,1535>,
<331,325,313>,
<1560,1531,1511>,
<332,30,314>,
<911,897,883>,
<332,31,30>,
<1560,1533,1531>,
<1560,1511,1540>,
<1561,1533,1560>,
<1561,53,1533>,
<912,898,877>,
<1562,1538,1545>,
<1562,1542,1538>,
<333,318,297>,
<1563,1547,1539>,
<913,884,893>,
<1563,1539,1554>,
<913,903,884>,
<333,297,310>,
<334,277,290>,
<1564,1555,81>,
<1564,1546,1555>,
<914,909,855>,
<334,317,277>,
<1564,1558,1546>,
<914,855,860>,
<1565,1551,1544>,
<1565,1547,1563>,
<1565,1527,1547>,
<1565,1544,1527>,
<335,308,274>,
<915,876,887>,
<335,274,304>,
<1566,1562,1545>,
<915,899,876>,
<1566,1545,1559>,
<916,826,892>,
<1567,1559,1558>,
<1567,1558,1564>,
<336,311,317>,
<336,317,334>,
<1568,1540,1551>,
<337,314,321>,
<1568,1560,1540>,
<917,898,912>,
<1569,1552,1528>,
<917,843,832>,
<1569,1554,1552>,
<917,832,898>,
<918,875,894>,
<1569,1528,1543>,
<918,916,892>,
<338,309,289>,
<918,892,875>,
<919,871,909>,
<338,289,276>,
<1570,1551,1565>,
<338,276,323>,
<919,880,871>,
<1571,1554,1569>,
<339,301,280>,
<920,870,886>,
<339,280,319>,
<1572,1561,1560>,
<920,904,870>,
<1572,53,1561>,
<921,909,914>,
<340,287,259>,
<1572,54,53>,
<921,919,909>,
<1572,1560,1568>,
<1573,1518,1541>,
<1573,1550,1518>,
<1573,1557,1550>,
<340,295,287>,
<340,259,305>,
<341,303,281>,
<1573,1541,1542>,
<341,281,320>,
<1574,1556,1557>,
<1574,1553,1556>,
<923,897,911>,
<923,863,837>,
<342,324,312>,
<923,837,897>,
<342,312,330>,
<924,862,901>,
<1575,1573,1542>,
<343,15,16>,
<924,886,862>,
<1576,1554,1571>,
<343,316,15>,
<925,896,888>,
<925,888,854>,
<1576,1563,1554>,
<344,337,321>,
<925,854,890>,
<1577,1564,81>,
<344,321,306>,
<926,879,907>,
<1577,1567,1564>,
<344,306,326>,
<926,873,879>,
<345,31,332>,
<1578,1574,1557>,
<926,889,873>,
<927,891,833>,
<927,833,864>,
<1579,1571,1569>,
<346,339,319>,
<1579,1569,1543>,
<927,905,891>,
<346,319,327>,
<1579,1543,1553>,
<1580,1571,1579>,
<928,901,850>,
<347,310,328>,
<1581,1557,1573>,
<928,850,881>,
<1581,1578,1557>,
<1581,1573,1575>,
<348,335,304>,
<1582,1570,1565>,
<1582,1563,1576>,
<1582,1565,1563>,
<348,304,311>,
<929,917,912>,
<349,295,340>,
<930,845,867>,
<1583,1566,1559>,
<1583,1559,1567>,
<930,910,845>,
<1584,1581,1575>,
<1585,1570,1582>,
<350,343,16>,
<1586,1568,1551>,
<351,315,316>,
<351,322,315>,
<1586,1572,1568>,
<932,904,920>,
<932,883,904>,
<1586,1551,1570>,
<1587,1583,1567>,
<1587,1567,1577>,
<352,341,320>,
<352,320,329>,
<1588,1572,1586>,
<934,896,925>,
<1588,54,1572>,
<935,895,857>,
<935,857,896>,
<1589,1584,1575>,
<353,316,343>,
<1589,1542,1562>,
<935,900,895>,
<353,351,316>,
<1589,1575,1542>,
<936,869,843>,
<1590,1576,1571>,
<354,334,290>,
<1590,1571,1580>,
<1591,1582,1576>,
<936,843,917>,
<354,290,307>,
<1591,1585,1582>,
<937,923,911>,
<355,336,334>,
<1592,1587,1577>,
<355,334,354>,
<1592,81,82>,
<1592,1577,81>,
<938,916,918>,
<356,299,272>,
<1593,1585,1591>,
<1594,1578,1581>,
<939,887,910>,
<939,915,887>,
<356,272,318>,
<357,314,337>,
<1594,1581,1584>,
<1595,1579,1553>,
<940,885,848>,
<357,332,314>,
<941,905,927>,
<358,299,356>,
<1595,1553,1574>,
<942,47,900>,
<942,900,935>,
<1596,1589,1562>,
<358,305,299>,
<943,864,880>,
<1596,1562,1566>,
<1597,1589,1596>,
<359,322,351>,
<943,927,864>,
<1597,1584,1589>,
<944,877,874>,
<1598,1579,1595>,
<359,331,322>,
<360,309,338>,
<944,835,903>,
<944,874,835>,
<1598,1580,1579>,
<360,326,309>,
<945,930,867>,
<361,337,344>,
<945,867,882>,
<1599,1580,1598>,
<945,68,69>,
<1599,1590,1580>,
<945,882,68>,
<1600,1574,1578>,
<362,359,351>,
<946,908,868>,
<1600,1595,1574>,
<1601,1594,1584>,
<946,868,899>,
<362,351,353>,
<363,347,328>,
<1601,1584,1597>,
<363,293,324>,
<363,328,293>,
<1602,1598,1595>,
<947,877,944>,
<1602,1595,1600>,
<1603,1586,1570>,
<948,889,926>,
<1603,1588,1586>,
<1603,1570,1585>,
<1604,54,1588>,
<1604,55,54>,
<1604,1588,1603>,
<949,917,929>,
<1605,1597,1596>,
<365,318,333>,
<949,936,917>,
<950,944,903>,
<1606,1576,1590>,
<365,356,318>,
<1606,1593,1591>,
<950,903,913>,
<1606,1591,1576>,
<366,16,17>,
<1607,1605,1596>,
<1607,1566,1583>,
<366,350,16>,
<951,932,920>,
<1607,1596,1566>,
<1608,1593,1606>,
<952,901,928>,
<367,355,354>,
<1609,1585,1593>,
<368,345,332>,
<952,924,901>,
<953,941,927>,
<1609,1603,1585>,
<1609,1604,1603>,
<368,332,357>,
<953,927,943>,
<1610,1590,1599>,
<1610,1608,1606>,
<369,32,31>,
<1610,1606,1590>,
<954,947,944>,
<954,944,950>,
<369,31,345>,
<1611,1601,1597>,
<955,881,905>,
<1611,1597,1605>,
<370,32,369>,
<955,928,881>,
<955,952,928>,
<1612,55,1604>,
<1612,1604,1609>,
<1613,1605,1607>,
<956,914,860>,
<371,348,311>,
<956,921,914>,
<371,311,336>,
<956,860,902>,
<1614,1613,1607>,
<1614,1583,1587>,
<372,310,347>,
<1614,1607,1583>,
<957,926,907>,
<372,333,310>,
<1615,1599,1598>,
<1615,1598,1602>,
<957,948,926>,
<373,354,307>,
<373,307,325>,
<1616,1578,1594>,
<1616,1600,1578>,
<373,367,354>,
<374,339,346>,
<959,863,923>,
<959,893,863>,
<1617,1608,1610>,
<1618,1600,1616>,
<960,946,899>,
<1618,1602,1600>,
<960,899,915>,
<1619,1615,1602>,
<1619,1602,1618>,
<376,358,356>,
<961,939,910>,
<376,356,365>,
<961,910,930>,
<1620,1616,1594>,
<1620,1594,1601>,
<962,916,938>,
<1620,1618,1616>,
<377,303,341>,
<377,330,303>,
<1621,1611,1605>,
<963,951,920>,
<1621,1605,1613>,
<963,886,924>,
<378,343,350>,
<963,920,886>,
<378,353,343>,
<964,902,908>,
<1622,1618,1620>,
<964,956,902>,
<1623,1587,1592>,
<1623,1592,82>,
<1623,1614,1587>,
<379,366,17>,
<965,911,883>,
<1624,1614,1623>,
<380,326,360>,
<965,883,932>,
<1624,1613,1614>,
<380,344,326>,
<1625,1612,1609>,
<1625,1609,1593>,
<965,937,911>,
<966,921,956>,
<1625,1593,1608>,
<1626,1623,82>,
<1626,1624,1623>,
<967,930,945>,
<967,961,930>,
<1627,55,1612>,
<967,945,69>,
<1627,56,55>,
<967,69,70>,
<381,295,349>,
<1627,1612,1625>,
<381,323,295>,
<1628,1621,1613>,
<968,959,923>,
<1628,1613,1624>,
<968,923,937>,
<1629,1617,1610>,
<382,374,346>,
<969,942,935>,
<969,935,896>,
<1629,1599,1615>,
<383,337,361>,
<969,896,934>,
<1629,1610,1599>,
<1629,1615,1619>,
<383,357,337>,
<970,956,964>,
<384,372,347>,
<1630,1629,1619>,
<970,966,956>,
<971,907,906>,
<1631,1625,1608>,
<971,869,936>,
<971,906,869>,
<971,936,949>,
<1631,1608,1617>,
<384,347,363>,
<1631,1627,1625>,
<385,350,366>,
<1632,1622,1620>,
<385,378,350>,
<972,885,940>,
<1632,1620,1601>,
<1632,1601,1611>,
<386,373,325>,
<973,893,959>,
<1633,1622,1632>,
<386,325,331>,
<973,913,893>,
<1634,1627,1631>,
<387,324,342>,
<1634,56,1627>,
<387,363,324>,
<974,948,957>,
<1635,1617,1629>,
<388,341,352>,
<975,47,942>,
<1635,1629,1630>,
<975,942,969>,
<1636,1618,1622>,
<1636,1619,1618>,
<388,377,341>,
<389,327,364>,
<389,346,327>,
<976,907,971>,
<1637,1635,1630>,
<389,364,375>,
<390,342,330>,
<1638,1624,1626>,
<390,330,377>,
<978,938,918>,
<1638,1628,1624>,
<391,353,378>,
<1639,1636,1622>,
<978,894,958>,
<391,362,353>,
<978,918,894>,
<1639,1622,1633>,
<392,371,336>,
<979,952,955>,
<1640,1633,1632>,
<1640,1611,1621>,
<1640,1632,1611>,
<392,336,355>,
<393,367,373>,
<1641,1633,1640>,
<980,962,938>,
<981,915,939>,
<393,373,386>,
<981,960,915>,
<1642,1626,82>,
<394,378,385>,
<1642,1638,1626>,
<1642,82,83>,
<1643,1621,1628>,
<394,391,378>,
<1643,1640,1621>,
<395,368,357>,
<982,877,947>,
<982,912,877>,
<395,357,383>,
<1644,1619,1636>,
<1644,1630,1619>,
<983,932,951>,
<1644,1637,1630>,
<396,389,375>,
<983,965,932>,
<1645,1631,1617>,
<397,17,18>,
<1645,1634,1631>,
<397,379,17>,
<1645,1617,1635>,
<984,943,880>,
<398,352,329>,
<1646,1641,1640>,
<1646,1640,1643>,
<984,880,919>,
<398,329,374>,
<1647,1635,1637>,
<985,984,919>,
<1647,1645,1635>,
<985,919,921>,
<399,369,345>,
<1648,1634,1645>,
<1648,1645,1647>,
<1648,57,56>,
<1648,56,1634>,
<1649,1633,1641>,
<399,345,368>,
<986,971,949>,
<400,377,388>,
<1649,1639,1633>,
<986,976,971>,
<400,390,377>,
<987,973,959>,
<401,33,32>,
<1650,1636,1639>,
<987,959,968>,
<1650,1644,1636>,
<401,32,370>,
<1651,1648,1647>,
<988,924,952>,
<1651,57,1648>,
<402,360,338>,
<1651,58,57>,
<988,963,924>,
<402,338,323>,
<988,952,979>,
<1652,1644,1650>,
<402,323,381>,
<1652,1637,1644>,
<989,979,955>,
<1653,1652,1650>,
<989,955,905>,
<989,905,941>,
<1654,1646,1643>,
<403,369,399>,
<1654,1628,1638>,
<990,965,983>,
<1654,1643,1628>,
<403,370,369>,
<990,937,965>,
<1655,1641,1646>,
<404,344,380>,
<1655,1649,1641>,
<404,361,344>,
<991,976,986>,
<992,951,963>,
<1656,1646,1654>,
<405,305,358>,
<992,963,988>,
<405,340,305>,
<1657,1654,1638>,
<1657,1638,1642>,
<1657,1642,83>,
<1657,1656,1654>,
<992,983,951>,
<1658,1656,1657>,
<1658,1657,83>,
<993,947,954>,
<1659,1653,1650>,
<1659,1639,1649>,
<406,398,374>,
<406,374,382>,
<993,982,947>,
<994,908,946>,
<1659,1650,1639>,
<994,970,964>,
<1660,1646,1656>,
<994,946,960>,
<994,964,908>,
<407,363,387>,
<1660,1655,1646>,
<995,953,943>,
<1661,1647,1637>,
<1661,1637,1652>,
<1661,1651,1647>,
<407,384,363>,
<995,943,984>,
<408,393,386>,
<996,982,993>,
<1662,1653,1659>,
<996,929,912>,
<409,366,379>,
<409,385,366>,
<996,912,982>,
<409,394,385>,
<997,984,985>,
<1663,58,1651>,
<997,995,984>,
<1663,1651,1661>,
<1664,1652,1653>,
<410,33,401>,
<1664,1661,1652>,
<1664,1663,1661>,
<410,34,33>,
<998,980,938>,
<1665,1659,1649>,
<1665,1662,1659>,
<411,397,18>,
<998,938,978>,
<999,939,961>,
<999,981,939>,
<412,355,367>,
<1665,1649,1655>,
<1666,1663,1664>,
<1666,58,1663>,
<412,392,355>,
<412,367,393>,
<1666,59,58>,
<1667,1660,1656>,
<1000,989,941>,
<1667,1656,1658>,
<1000,941,953>,
<1001,970,994>,
<1668,1662,1665>,
<1669,1658,83>,
<1669,1667,1658>,
<414,333,372>,
<1669,83,84>,
<1670,1655,1660>,
<1002,996,993>,
<1670,1665,1655>,
<414,365,333>,
<1003,990,983>,
<415,349,340>,
<1671,1653,1662>,
<1671,1664,1653>,
<1671,1666,1664>,
<1004,1001,994>,
<415,340,405>,
<1004,994,960>,
<1672,1665,1670>,
<416,372,384>,
<1672,1668,1665>,
<416,414,372>,
<1006,999,961>,
<1673,1666,1671>,
<417,331,359>,
<1006,961,967>,
<1673,59,1666>,
<417,408,386>,
<1006,967,70>,
<1674,1660,1667>,
<1007,978,958>,
<1674,1670,1660>,
<417,386,331>,
<1674,1672,1670>,
<418,417,359>,
<1675,1662,1668>,
<1675,1671,1662>,
<418,359,362>,
<1008,979,989>,
<419,379,397>,
<1675,1673,1671>,
<1676,60,59>,
<1009,973,987>,
<419,409,379>,
<1009,950,913>,
<1676,59,1673>,
<420,18,1>,
<1676,1673,1675>,
<420,1,62>,
<1677,1672,1674>,
<420,411,18>,
<1009,913,973>,
<421,365,414>,
<1010,988,979>,
<1678,1677,1674>,
<1678,1667,1669>,
<1678,1669,84>,
<1678,1674,1667>,
<421,376,365>,
<422,394,409>,
<1679,84,85>,
<1679,1677,1678>,
<1011,950,1009>,
<1679,1678,84>,
<1011,954,950>,
<1680,1675,1668>,
<1680,1668,1672>,
<423,358,376>,
<423,405,358>,
<1681,1675,1680>,
<1681,60,1676>,
<1681,1676,1675>,
<1682,1680,1672>,
<1682,1681,1680>,
<1013,992,988>,
<1013,988,1010>,
<1682,1672,1677>,
<1683,1681,1682>,
<424,361,404>,
<1014,949,929>,
<425,399,368>,
<1683,61,60>,
<1683,60,1681>,
<1684,1679,85>,
<1684,1683,1682>,
<1014,929,996>,
<1684,1682,1677>,
<425,368,395>,
<1684,1677,1679>,
<1685,61,1683>,
<1685,1684,85>,
<1685,1683,1684>,
<426,360,402>,
<1685,46,61>,
<1685,85,46>,
<1015,1001,1004>,
<1686,0,2>,
<1686,86,20>,
<1686,20,0>,
<426,380,360>,
<1687,2,3>,
<1687,86,1686>,
<1687,87,86>,
<1687,3,90>,
<1017,1003,983>,
<1687,90,87>,
<1017,983,992>,
<1687,1686,2>,
<1017,992,1013>,
<1688,95,21>,
<1688,20,89>,
<1688,21,20>,
<1689,3,4>,
<1689,4,96>,
<1018,937,990>,
<1689,90,3>,
<428,403,399>,
<1690,89,92>,
<428,399,425>,
<1690,1688,89>,
<1690,95,1688>,
<1690,98,95>,
<1018,968,937>,
<1691,94,93>,
<429,34,410>,
<1691,96,99>,
<1691,1689,96>,
<1691,90,1689>,
<1691,99,102>,
<1691,93,90>,
<1692,101,98>,
<1692,98,1690>,
<430,382,346>,
<1692,1690,92>,
<430,389,396>,
<1692,92,94>,
<430,346,389>,
<1693,97,103>,
<1693,21,97>,
<1694,4,5>,
<1021,974,957>,
<1694,96,4>,
<1021,907,976>,
<1694,5,104>,
<431,401,370>,
<1695,101,1692>,
<1695,1691,102>,
<1695,1692,94>,
<1695,108,101>,
<431,403,428>,
<1021,957,907>,
<1695,94,1691>,
<1022,1011,1009>,
<1695,102,108>,
<1696,99,96>,
<431,370,403>,
<1696,96,1694>,
<1696,1694,104>,
<432,405,423>,
<1696,102,99>,
<1696,104,107>,
<432,415,405>,
<1022,1009,987>,
<1696,107,110>,
<1023,989,1000>,
<1697,113,22>,
<433,409,419>,
<1023,1008,989>,
<1698,5,6>,
<433,422,409>,
<1698,104,5>,
<1024,985,921>,
<1698,6,112>,
<1699,103,106>,
<434,375,413>,
<1699,113,1697>,
<1699,1697,103>,
<1024,921,966>,
<1699,116,113>,
<434,396,375>,
<1700,102,1696>,
<435,390,400>,
<1700,1696,110>,
<1025,1011,1022>,
<1700,108,102>,
<1700,110,119>,
<435,342,390>,
<1701,109,105>,
<1701,101,108>,
<1701,111,117>,
<1701,108,111>,
<1026,1014,996>,
<1701,105,101>,
<1702,118,120>,
<435,387,342>,
<1702,104,1698>,
<1702,1698,112>,
<1702,107,104>,
<1702,112,118>,
<1026,996,1002>,
<436,384,407>,
<1702,110,107>,
<1703,106,109>,
<436,416,384>,
<1703,123,116>,
<1703,116,1699>,
<437,417,418>,
<1703,1699,106>,
<1704,6,7>,
<1704,114,6>,
<437,408,417>,
<1028,960,981>,
<1705,120,134>,
<1028,1004,960>,
<438,397,411>,
<1705,110,1702>,
<438,419,397>,
<1705,119,110>,
<1705,1702,120>,
<1706,138,123>,
<1029,978,1007>,
<1706,1703,109>,
<1706,1701,117>,
<439,388,352>,
<1706,123,1703>,
<1706,109,1701>,
<439,352,398>,
<439,400,388>,
<1029,998,978>,
<1708,132,125>,
<1030,1024,966>,
<1708,7,8>,
<1708,1704,7>,
<440,430,396>,
<1708,8,132>,
<1708,125,1704>,
<440,396,434>,
<1709,131,122>,
<1709,122,114>,
<1030,966,970>,
<1709,125,131>,
<1709,114,1704>,
<1709,1704,125>,
<441,412,393>,
<1710,125,132>,
<1031,976,991>,
<1710,144,131>,
<1710,131,125>,
<1710,132,144>,
<442,437,418>,
<1711,138,1706>,
<1711,1707,133>,
<1711,159,138>,
<1031,1021,976>,
<1711,117,1707>,
<1711,1706,117>,
<443,410,401>,
<1032,968,1018>,
<443,401,431>,
<1032,987,968>,
<1032,1022,987>,
<1712,133,124>,
<1713,127,135>,
<1713,152,140>,
<1033,1027,1012>,
<1033,962,980>,
<1713,140,127>,
<1714,8,9>,
<444,398,406>,
<1714,9,154>,
<1033,1012,962>,
<1714,139,8>,
<1715,152,1713>,
<1715,149,167>,
<1715,135,149>,
<444,439,398>,
<1715,1713,135>,
<1715,167,152>,
<1034,997,985>,
<1716,1714,154>,
<1716,139,1714>,
<1716,154,168>,
<1034,985,1024>,
<1716,171,155>,
<445,435,400>,
<1716,150,139>,
<1716,168,171>,
<1716,155,150>,
<446,383,361>,
<1035,990,1003>,
<1717,1711,133>,
<1035,1018,990>,
<1717,184,159>,
<1717,159,1711>,
<446,395,383>,
<1036,948,974>,
<1718,158,9>,
<1718,9,10>,
<1036,1007,948>,
<1718,10,176>,
<446,361,424>,
<1719,147,162>,
<1719,174,161>,
<1719,162,174>,
<1719,161,147>,
<1037,980,998>,
<1720,184,1717>,
<447,404,380>,
<447,380,426>,
<1720,188,184>,
<1038,1013,1010>,
<1720,153,161>,
<448,441,393>,
<1721,158,1718>,
<1721,1718,176>,
<1721,170,158>,
<1721,177,170>,
<448,393,408>,
<1721,197,177>,
<1721,176,191>,
<1721,191,197>,
<1722,173,155>,
<1039,1004,1028>,
<1722,155,171>,
<1722,171,196>,
<449,442,418>,
<1722,196,173>,
<1723,1720,161>,
<449,418,362>,
<1039,1015,1004>,
<1723,188,1720>,
<449,362,391>,
<1723,161,174>,
<1723,212,188>,
<450,434,413>,
<1040,974,1021>,
<1724,189,182>,
<1040,1021,1031>,
<1724,193,211>,
<450,413,427>,
<1724,211,224>,
<1724,159,184>,
<1724,182,166>,
<1724,224,189>,
<1041,953,995>,
<1724,184,193>,
<1724,166,159>,
<1725,226,200>,
<1041,1000,953>,
<1725,177,197>,
<451,419,438>,
<1042,1024,1030>,
<1725,200,177>,
<1726,1723,174>,
<1726,212,1723>,
<1042,1034,1024>,
<451,433,419>,
<1726,234,212>,
<1043,1003,1017>,
<452,349,415>,
<1726,174,190>,
<1727,190,203>,
<1727,242,234>,
<1727,234,1726>,
<1044,1041,995>,
<1727,1726,190>,
<1728,219,241>,
<1728,204,219>,
<1728,241,220>,
<1044,995,997>,
<452,381,349>,
<1728,220,204>,
<1729,197,202>,
<1729,263,256>,
<1729,226,1725>,
<1045,1017,1013>,
<1729,1725,197>,
<1045,1043,1017>,
<453,400,439>,
<1729,225,228>,
<1729,202,225>,
<1729,256,230>,
<1729,230,226>,
<1046,1038,1010>,
<1729,228,263>,
<1730,275,242>,
<454,451,438>,
<454,438,411>,
<1730,242,1727>,
<1046,1010,979>,
<454,411,420>,
<1730,280,275>,
<1046,979,1008>,
<1730,1727,203>,
<455,430,440>,
<1047,1028,981>,
<1731,280,1730>,
<1047,1039,1028>,
<455,382,430>,
<1731,233,264>,
<1047,981,999>,
<1731,319,280>,
<455,406,382>,
<1732,281,258>,
<1048,993,954>,
<1732,258,291>,
<1048,954,1011>,
<1732,320,281>,
<1732,291,320>,
<456,449,391>,
<1733,264,266>,
<1733,266,300>,
<1733,364,327>,
<456,391,394>,
<1733,319,1731>,
<1733,1731,264>,
<1733,327,319>,
<457,414,416>,
<1734,301,339>,
<1734,329,301>,
<1049,998,1029>,
<457,421,414>,
<1734,374,329>,
<1734,339,374>,
<1049,1037,998>,
<1735,300,308>,
<1735,335,348>,
<1735,364,1733>,
<1735,1733,300>,
<1735,427,413>,
<1050,1027,1033>,
<1735,308,335>,
<1735,413,375>,
<1735,348,427>,
<1735,375,364>,
<1736,37,36>,
<1051,986,949>,
<1736,566,37>,
<458,431,428>,
<1736,36,511>,
<1736,511,566>,
<459,34,429>,
<1051,991,986>,
<459,35,34>,
<1737,574,539>,
<1051,949,1014>,
<1737,441,448>,
<1737,448,485>,
<1052,969,934>,
<460,348,371>,
<1738,576,574>,
<1052,934,1016>,
<1053,1040,1031>,
<1738,608,576>,
<1738,615,608>,
<460,427,348>,
<1738,1737,485>,
<1738,485,486>,
<461,410,443>,
<1738,574,1737>,
<1054,1032,1018>,
<1739,622,700>,
<1739,784,802>,
<1739,802,718>,
<461,429,410>,
<1739,718,696>,
<1739,643,622>,
<1739,696,643>,
<1054,1018,1035>,
<1739,720,784>,
<1055,991,1051>,
<462,407,387>,
<1739,700,720>,
<462,387,435>,
<1740,776,820>,
<1740,43,42>,
<1740,849,43>,
<1055,1031,991>,
<1740,774,776>,
<1740,820,849>,
<1740,42,774>,
<1741,848,768>,
<1741,836,848>,
<463,35,459>,
<1741,697,777>,
<463,36,35>,
<1741,777,836>,
<1741,754,697>,
<1741,768,754>,
<1057,1039,1047>,
<1742,809,875>,
<1742,788,809>,
<1742,802,784>,
<1742,700,788>,
<1058,1049,1029>,
<464,439,444>,
<1742,892,802>,
<464,453,439>,
<1742,784,720>,
<1742,720,700>,
<1742,875,892>,
<1743,940,848>,
<1058,1029,1007>,
<1743,848,836>,
<1058,1007,1036>,
<1743,865,922>,
<1743,922,940>,
<1743,836,777>,
<1743,777,865>,
<1059,1046,1008>,
<465,454,420>,
<465,420,62>,
<1744,19,45>,
<465,62,63>,
<1744,47,19>,
<1059,1008,1023>,
<1744,900,47>,
<1744,895,900>,
<1060,1006,70>,
<1745,830,889>,
<1060,1047,999>,
<1745,958,894>,
<1060,1057,1047>,
<1745,894,830>,
<466,425,395>,
<1060,70,71>,
<466,395,446>,
<1060,999,1006>,
<467,455,440>,
<1746,890,847>,
<1061,1011,1025>,
<1061,1048,1011>,
<1746,933,977>,
<1747,962,1012>,
<468,421,457>,
<1747,922,865>,
<1748,889,948>,
<1063,1051,1014>,
<1748,1007,958>,
<1748,948,1007>,
<469,451,454>,
<1748,958,1745>,
<1748,1745,889>,
<1063,1014,1026>,
<470,462,435>,
<1749,1020,1062>,
<1749,977,933>,
<470,435,445>,
<1750,975,969>,
<1750,47,975>,
<1064,1027,1050>,
<1750,969,1052>,
<471,423,376>,
<471,376,421>,
<1750,1052,1056>,
<1751,1092,1033>,
<1065,1030,970>,
<1751,1033,980>,
<1065,1042,1030>,
<1751,980,1037>,
<1752,1036,974>,
<1065,970,1001>,
<1752,1102,1036>,
<472,431,458>,
<1752,1040,1102>,
<1752,974,1040>,
<1066,1055,1051>,
<1066,1051,1063>,
<1753,1019,972>,
<472,443,431>,
<1753,1064,1104>,
<1067,1023,1000>,
<1754,1020,1019>,
<1067,1000,1041>,
<1754,1019,1753>,
<1754,1104,1106>,
<473,452,415>,
<1754,1106,1151>,
<473,415,432>,
<1754,1062,1020>,
<1068,993,1048>,
<474,381,452>,
<1754,1753,1104>,
<1068,1048,1061>,
<1755,1092,1751>,
<1755,1751,1037>,
<1755,1149,1092>,
<1755,1037,1089>,
<474,402,381>,
<1755,1089,1149>,
<1068,1002,993>,
<1756,1178,1112>,
<1756,1053,1116>,
<1756,1116,1178>,
<1756,1112,1053>,
<475,449,456>,
<1757,1056,1143>,
<1069,1067,1041>,
<1757,47,1750>,
<1069,1041,1044>,
<475,442,449>,
<1070,1013,1038>,
<1757,48,47>,
<1757,1750,1056>,
<476,424,404>,
<1758,1168,1115>,
<1758,1237,1168>,
<1758,1115,1183>,
<1758,1183,1237>,
<1070,1045,1013>,
<476,404,447>,
<1759,1186,1246>,
<1071,1043,1045>,
<1759,1191,1126>,
<1071,1045,1070>,
<1759,1126,1186>,
<477,469,454>,
<1759,1246,1191>,
<477,454,465>,
<1760,48,1757>,
<477,465,63>,
<478,475,456>,
<1760,1228,48>,
<1072,1057,1060>,
<1072,1060,71>,
<1072,71,72>,
<1761,1243,1305>,
<1761,1246,1186>,
<1761,1256,1246>,
<1073,1022,1032>,
<479,434,450>,
<1761,1198,1243>,
<479,440,434>,
<1761,1186,1198>,
<1761,1305,1256>,
<1762,1311,1250>,
<1073,1025,1022>,
<1762,1250,1195>,
<1762,1195,1258>,
<1762,1258,1311>,
<1074,1070,1038>,
<1763,1284,1326>,
<1074,1038,1046>,
<480,457,416>,
<1763,1267,1219>,
<1763,1219,1284>,
<1763,1326,1329>,
<1763,1329,1269>,
<1763,1269,1267>,
<480,416,436>,
<1764,1274,1322>,
<1074,1046,1059>,
<1764,1319,1274>,
<1764,1375,1319>,
<1764,1322,1375>,
<1075,1054,1035>,
<1765,1356,1392>,
<481,460,371>,
<1765,1292,1356>,
<1765,1396,1341>,
<1075,1003,1043>,
<1765,1339,1292>,
<1075,1035,1003>,
<481,371,392>,
<1765,1392,1396>,
<1765,1341,1339>,
<1076,1025,1073>,
<1766,1422,1383>,
<1766,1379,1422>,
<1766,1334,1379>,
<1766,1383,1334>,
<1767,1377,1371>,
<1767,1371,1344>,
<482,423,471>,
<1767,1344,1333>,
<1767,1333,1388>,
<1767,1425,1430>,
<1077,1042,1065>,
<482,432,423>,
<1767,1388,1399>,
<1767,1399,1425>,
<1768,1448,1407>,
<1768,1414,1446>,
<1078,1065,1001>,
<1768,1446,1448>,
<1078,1077,1065>,
<1768,1403,1364>,
<1768,1364,1414>,
<1078,1001,1015>,
<483,427,460>,
<1768,1407,1403>,
<483,450,427>,
<1769,1410,1404>,
<1769,1452,1459>,
<1769,1427,1452>,
<1769,1396,1427>,
<1079,1068,1061>,
<1769,1341,1396>,
<483,460,481>,
<1769,1376,1341>,
<1769,1404,1376>,
<484,478,456>,
<1770,49,1377>,
<1770,1377,1767>,
<1080,1049,1058>,
<1770,50,49>,
<1770,1430,50>,
<484,456,394>,
<1770,1767,1430>,
<484,394,422>,
<1771,1482,1484>,
<1771,1459,1482>,
<485,408,437>,
<1771,1437,1410>,
<1081,1044,997>,
<1771,1769,1459>,
<1771,1410,1769>,
<1081,997,1034>,
<1771,1440,1437>,
<485,448,408>,
<1772,1461,1488>,
<1772,1458,1457>,
<1772,1420,1461>,
<1772,1457,1420>,
<486,437,442>,
<1772,1491,1458>,
<1772,1488,1491>,
<486,485,437>,
<1773,1477,1499>,
<1773,1460,1435>,
<1773,1435,1477>,
<1773,1499,1504>,
<1082,1064,1050>,
<1773,1467,1460>,
<1774,1440,1771>,
<1774,1484,51>,
<1774,51,50>,
<487,461,443>,
<1774,50,1440>,
<1774,1771,1484>,
<487,443,472>,
<1775,1524,1529>,
<1083,1002,1068>,
<1775,1487,1467>,
<1083,1026,1002>,
<1775,1493,1487>,
<1775,1467,1773>,
<1775,1773,1504>,
<1775,1504,1524>,
<1084,1074,1059>,
<1776,51,1493>,
<488,468,457>,
<1776,1775,1529>,
<1776,52,51>,
<488,457,480>,
<1776,1529,52>,
<1776,1493,1775>,
<1777,22,21>,
<1777,1693,103>,
<1777,21,1693>,
<1777,103,1697>,
<489,461,487>,
<1777,1697,22>,
<1085,1077,1078>,
<1778,117,111>,
<1778,108,1700>,
<489,429,461>,
<1778,1707,117>,
<1086,1081,1034>,
<489,459,429>,
<1778,111,108>,
<1779,133,1707>,
<490,463,459>,
<1779,124,133>,
<1779,1700,119>,
<1086,1034,1042>,
<1779,119,124>,
<490,459,489>,
<1779,1778,1700>,
<1779,1707,1778>,
<1780,1712,124>,
<1780,1705,134>,
<1087,1032,1054>,
<1780,134,142>,
<1780,142,153>,
<1780,119,1705>,
<1780,124,119>,
<1780,153,1712>,
<1087,1073,1032>,
<491,474,452>,
<1781,153,1720>,
<1088,1054,1075>,
<1781,1717,133>,
<1781,1720,1717>,
<491,452,473>,
<1781,1712,153>,
<492,407,462>,
<1781,133,1712>,
<492,480,436>,
<1782,203,227>,
<1782,1731,1730>,
<492,436,407>,
<1782,233,1731>,
<1782,1730,203>,
<1782,227,233>,
<1783,1737,539>,
<1089,1037,1049>,
<1783,539,529>,
<1783,500,481>,
<1783,441,1737>,
<1783,412,441>,
<1783,529,500>,
<1089,1049,1080>,
<1783,481,392>,
<1090,1076,1073>,
<1783,392,412>,
<1090,1073,1087>,
<493,425,466>,
<1784,551,561>,
<493,428,425>,
<1784,561,649>,
<1784,641,615>,
<1784,615,1738>,
<1784,517,524>,
<1784,649,641>,
<1784,524,551>,
<1091,1071,1070>,
<494,422,433>,
<1784,486,517>,
<1784,1738,486>,
<1785,45,44>,
<1785,44,857>,
<1785,1744,45>,
<1785,857,895>,
<494,484,422>,
<1785,895,1744>,
<1786,844,799>,
<1092,1050,1033>,
<1786,847,844>,
<495,424,476>,
<1786,799,885>,
<1786,1746,847>,
<1787,1747,865>,
<1787,865,826>,
<1788,1746,1786>,
<496,479,450>,
<1788,1786,885>,
<1788,931,933>,
<1094,1083,1068>,
<1788,885,931>,
<1788,933,1746>,
<496,450,483>,
<1789,1746,977>,
<1789,1005,1016>,
<1789,890,1746>,
<497,428,493>,
<1789,934,925>,
<1789,925,890>,
<1789,977,1005>,
<1094,1068,1079>,
<1789,1016,934>,
<1095,1084,1059>,
<497,458,428>,
<1790,962,1747>,
<1790,1787,826>,
<1790,826,916>,
<1790,1747,1787>,
<498,406,455>,
<1790,916,962>,
<1095,1023,1067>,
<1791,933,931>,
<1095,1059,1023>,
<498,444,406>,
<1791,1749,933>,
<1791,931,885>,
<1791,885,972>,
<1096,1043,1071>,
<1792,1019,1020>,
<1792,1791,972>,
<1792,1749,1791>,
<1792,972,1019>,
<1792,1020,1749>,
<1096,1075,1043>,
<1793,1753,972>,
<1097,1078,1015>,
<1793,972,940>,
<499,36,463>,
<1794,977,1749>,
<1794,1016,1005>,
<1097,1015,1039>,
<1794,1749,1062>,
<1794,1062,1093>,
<1794,1101,1016>,
<1794,1093,1101>,
<1098,1031,1055>,
<1794,1005,977>,
<1795,1753,1793>,
<1795,1064,1753>,
<1795,1027,1064>,
<1796,1151,1181>,
<1098,1053,1031>,
<501,402,474>,
<1796,1062,1754>,
<501,447,426>,
<1796,1093,1062>,
<1796,1101,1093>,
<1796,1754,1151>,
<501,426,402>,
<1797,1143,1138>,
<1797,1796,1181>,
<1099,1095,1067>,
<1797,1757,1143>,
<1797,1760,1757>,
<1099,1067,1069>,
<1100,1091,1070>,
<1797,1181,1190>,
<502,445,400>,
<1797,1101,1796>,
<1797,1138,1101>,
<502,400,453>,
<1798,1760,1797>,
<1100,1074,1084>,
<502,453,464>,
<1798,1228,1760>,
<1798,1190,1222>,
<1100,1070,1074>,
<1798,1797,1190>,
<1798,1222,1228>,
<1799,1012,1027>,
<1799,922,1747>,
<1799,1747,1012>,
<1799,1793,940>,
<1799,1027,1795>,
<1799,1795,1793>,
<503,462,470>,
<1799,940,922>,
<503,492,462>,
<504,483,481>,
<1103,1044,1081>,
<505,440,479>,
<1103,1069,1044>,
<505,467,440>,
<506,478,484>,
<506,484,494>,
<1105,1082,1050>,
<1105,1050,1092>,
<507,455,467>,
<507,498,455>,
<508,498,507>,
<508,464,444>,
<508,444,498>,
<1107,1098,1055>,
<1107,1055,1066>,
<509,502,464>,
<510,494,433>,
<1108,1025,1076>,
<510,433,451>,
<511,36,499>,
<1108,1061,1025>,
<1109,1078,1097>,
<1109,1085,1078>,
<512,482,471>,
<512,471,421>,
<512,421,468>,
<1110,1081,1086>,
<1110,1103,1081>,
<513,506,494>,
<513,494,510>,
<1111,1100,1084>,
<514,489,487>,
<1112,1040,1053>,
<1112,1102,1040>,
<515,501,474>,
<515,474,491>,
<1113,1088,1075>,
<516,489,514>,
<516,490,489>,
<1113,1075,1096>,
<1114,1109,1097>,
<1114,1097,1039>,
<1114,1039,1057>,
<517,486,442>,
<517,442,475>,
<1115,1089,1080>,
<518,432,482>,
<518,473,432>,
<1116,1053,1098>,
<519,479,496>,
<1116,1098,1107>,
<519,505,479>,
<1117,1063,1026>,
<1117,1026,1083>,
<520,424,495>,
<520,466,446>,
<1118,1110,1086>,
<520,446,424>,
<1118,1086,1042>,
<1118,1042,1077>,
<521,508,507>,
<1119,1063,1117>,
<1119,1066,1063>,
<522,501,515>,
<1120,1071,1091>,
<1120,1113,1096>,
<522,447,501>,
<1120,1096,1071>,
<1121,1080,1058>,
<1121,1036,1102>,
<523,482,512>,
<1121,1058,1036>,
<524,475,478>,
<524,517,475>,
<1122,1079,1061>,
<525,504,481>,
<1122,1061,1108>,
<525,481,500>,
<1123,1084,1095>,
<1123,1095,1099>,
<1124,1120,1091>,
<526,445,502>,
<1124,1100,1111>,
<1124,1091,1100>,
<526,470,445>,
<527,496,483>,
<527,483,504>,
<1125,1090,1087>,
<1125,1087,1054>,
<1125,1054,1088>,
<528,472,458>,
<528,458,497>,
<1126,1116,1107>,
<529,525,500>,
<1127,1114,1057>,
<1127,1057,1072>,
<1127,1072,72>,
<530,510,451>,
<530,451,469>,
<1128,1076,1090>,
<531,511,499>,
<1128,1108,1076>,
<531,490,516>,
<531,463,490>,
<531,499,463>,
<532,526,502>,
<1129,1123,1099>,
<1130,1109,1114>,
<532,502,509>,
<1131,1104,1064>,
<533,493,466>,
<1131,1064,1082>,
<1132,1090,1125>,
<533,466,520>,
<1133,1104,1131>,
<1133,1106,1104>,
<1134,1117,1083>,
<534,480,492>,
<535,513,510>,
<1134,1119,1117>,
<535,510,530>,
<1134,1083,1094>,
<536,512,468>,
<1135,1077,1085>,
<1135,1118,1077>,
<536,468,488>,
<537,469,477>,
<1136,1119,1134>,
<537,477,63>,
<537,63,64>,
<1137,1121,1102>,
<537,530,469>,
<1137,1102,1112>,
<538,472,528>,
<1138,1052,1016>,
<1138,1056,1052>,
<1138,1016,1101>,
<1139,1124,1111>,
<1140,1114,1127>,
<1140,1127,72>,
<1140,1130,1114>,
<1140,72,73>,
<540,491,473>,
<540,473,518>,
<1141,1113,1120>,
<541,522,515>,
<1142,1129,1099>,
<1142,1099,1069>,
<1142,1069,1103>,
<1143,1056,1138>,
<1144,1082,1105>,
<542,488,480>,
<542,480,534>,
<543,511,531>,
<1145,1122,1108>,
<1145,1108,1128>,
<544,534,492>,
<1146,1121,1137>,
<544,492,503>,
<1146,1080,1121>,
<1146,1115,1080>,
<545,507,467>,
<1147,1110,1118>,
<1148,1079,1122>,
<1148,1094,1079>,
<545,467,505>,
<546,504,525>,
<1149,1089,1115>,
<546,527,504>,
<1149,1105,1092>,
<547,523,512>,
<1150,1103,1110>,
<547,512,536>,
<1150,1142,1103>,
<548,495,476>,
<1151,1106,1133>,
<548,447,522>,
<548,476,447>,
<1152,1088,1113>,
<1152,1125,1088>,
<549,496,527>,
<1152,1113,1141>,
<1152,1132,1125>,
<549,519,496>,
<1153,1084,1123>,
<550,530,537>,
<1153,1139,1111>,
<550,535,530>,
<1153,1111,1084>,
<551,506,513>,
<551,524,478>,
<1154,1132,1152>,
<551,478,506>,
<552,525,529>,
<1155,1146,1137>,
<553,534,544>,
<553,542,534>,
<1156,1141,1120>,
<554,487,472>,
<1156,1120,1124>,
<554,514,487>,
<1157,1153,1123>,
<554,472,538>,
<1157,1123,1129>,
<555,543,531>,
<555,531,516>,
<1158,1085,1109>,
<556,503,470>,
<1158,1135,1085>,
<1159,1147,1118>,
<556,470,526>,
<557,537,64>,
<1159,1118,1135>,
<557,550,537>,
<557,64,65>,
<1160,1105,1149>,
<558,464,508>,
<558,509,464>,
<1160,1144,1105>,
<1161,1148,1122>,
<1161,1122,1145>,
<559,507,545>,
<1162,1128,1090>,
<559,521,507>,
<1162,1090,1132>,
<560,545,505>,
<560,505,519>,
<1163,1142,1150>,
<561,551,513>,
<1163,1129,1142>,
<1164,1066,1119>,
<562,529,539>,
<562,552,529>,
<1164,1107,1066>,
<563,518,482>,
<563,540,518>,
<563,482,523>,
<1165,1156,1124>,
<1165,1124,1139>,
<1166,1151,1133>,
<1167,1141,1156>,
<564,493,533>,
}
} // end of Face1
// Declare all together +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#declare Pov_Shape042 = union {
mesh2{ Pov_Shape0421}
}
// instance to render
object {Pov_Shape042
texture {
pigment {color rgb <1,0.666667,0> transmit 0.3}
finish {StdFinish } //definition on top of the project
}
}
//default light
light_source {
cam_location
color White
area_light <100, 0, 0>, <0, 0, 100>, 10, 10
adaptive 1
jitter
}
| POV-Ray SDL | 4 | edwardvmills/NURBSlib_EVM | development_FC_models/pre-parametric models/povray_test.pov | [
"CC-BY-2.0"
] |
#!/usr/bin/env bash
set -eou pipefail
echo "Holding runner for 2 hours until all ssh sessions have logged out"
for _ in $(seq 1440); do
# Break if no ssh session exists anymore
if [ "$(who)" = "" ]; then
break
fi
echo "."
sleep 5
done
| Shell | 4 | Hacky-DH/pytorch | .github/scripts/wait_for_ssh_to_drain.sh | [
"Intel"
] |
"""
01234
123
-10-9-8-7-6
13
54321
753
-2-4-6
"""
import System.Console
for i in range(5):
Write(i)
WriteLine()
for i in range(1, 4):
Write(i)
WriteLine()
for i in range(-10, -5):
Write(i)
WriteLine()
for i in range(1, 5, 2):
Write(i)
WriteLine()
for i in range(5, 0):
Write(i)
WriteLine()
for i in range(7, 2, -2):
Write(i)
WriteLine()
for i in range(-2, -8, -2):
Write(i)
| Boo | 2 | popcatalin81/boo | tests/testcases/compilation/range.boo | [
"BSD-3-Clause"
] |
// Taken from Jeremy "Spuzzum" Gibson's s_html library.
// http://www.byond.com/developer/Spuzzum/s_html
/proc/hex2num(hex)
//Converts a hexadecimal string (eg. "9F") into a numeral (eg. 159).
if(!istext(hex))
CRASH("hex2num not given a hexadecimal string argument (user error)")
return
var/num = 0
var/power = 0
for(var/i = lentext(hex), i > 0, i--)
var/char = copytext(hex, i, i+1) //extract hexadecimal character from string
switch(char)
if("0")
power++ //We don't do anything with a zero, so we'll just increase the power,
continue // then go onto the next iteration.
if("1","2","3","4","5","6","7","8","9")
num += text2num(char) * (16 ** power)
if("A","a") num += 10 * (16 ** power)
if("B","b") num += 11 * (16 ** power)
if("C","c") num += 12 * (16 ** power)
if("D","d") num += 13 * (16 ** power)
if("E","e") num += 14 * (16 ** power)
if("F","f") num += 15 * (16 ** power)
else
CRASH("hex2num given non-hexadecimal string (user error)")
return
power++
return(num)
// Couple of helpers to get the RGB of a hexadecimal colour string.
/proc/GetRedPart(var/hexadecimal)
return hex2num(copytext(hexadecimal, 2, 4))
/proc/GetGreenPart(var/hexadecimal)
return hex2num(copytext(hexadecimal, 4, 6))
/proc/GetBluePart(var/hexadecimal)
return hex2num(copytext(hexadecimal, 6))
| DM | 5 | PJB3005/GoonLight-Heist | helpers/type2type.dm | [
"MIT"
] |
@doc
#### Package `highlight.mmk`
[`highlight.js`] is a popular JavaScript library for syntax highlighting a large set of languages (179 at last count)
with a selection of styles (colour schemes). This package defines type `highlight` which can be used to define
notations for highlighting language content. `highlight.js` provides automatic language detection so different
notations are usually not required to for different languages. The version of `highlight.js` included with this
package supports the default set of 23 languages, but users can replace it with a custom version if the required
language is not one of the 23. This package also specifies `xcode.css` as the default style.
Examples (uses `demo.mmk`):
demo
& .program .. <- <pre> highlight
#### HTML:
~~~ .program
<!DOCTYPE HTML>
<html>
<head>
<meta lang=en charset="UTF-8">
<script src='lib/x-markup.js'></script>
<body>
<div class=x-markup src="SimpleExample.myw"></div>
</body>
</html>
~~~
---
#### JavaScript:
~~~ .program
function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
return process(block, true, 0x0F) +
` class="${cls}"`;
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
console.log('undefined');
}
}
export $initHighlight;
~~~
---
#### CSS:
~~~ .program
@font-face {
font-family: Chunkfive; src: url('Chunkfive.otf');
}
body, .usertext {
color: #F0F0F0; background: #600;
font-family: Chunkfive, sans;
}
@import url(print.css);
@media print {
a[href^=http]::after {
content: attr(href)
}
}
~~~
Note: To render this documentation, define:
eg
metadoc :: (doc) => markit('myword', doc.replace(/(\n|\r\n?)(\t|[ ]{4})/g, '\n'))
and `@import` this package.
& [`highlight.js`] <- link https://highlightjs.org/
@import
highlight/highlight.pack.js
highlight/styles/xcode.css
highlight :: (content) => hljs.highlightAuto(content).value
| Module Management System | 4 | ridgeworks/GNU_CLP_BNR | docs/CLP_BNR_Guide/pkgs/highlight.mmk | [
"MIT"
] |
/*
============================================================================
Name : ayfly_s60.pan
Author : Andrew Deryabin
Copyright : Andrew Deryabin (c) 2008
Description : This file contains panic codes.
============================================================================
*/
#ifndef __AYFLY_S60_PAN__
#define __AYFLY_S60_PAN__
/** ayfly_s60 application panic codes */
enum Tayfly_s60Panics
{
Eayfly_s60Ui = 1
// add further panics here
};
inline void Panic(Tayfly_s60Panics aReason)
{
_LIT(applicationName, "ayfly_s60");
User::Panic(applicationName, aReason);
}
#endif // __AYFLY_S60_PAN__
| Pan | 4 | Osmose/moseamp | musicplayer/plugins/ayflyplugin/ayfly/src/s60/inc/ayfly_s60.pan | [
"MIT"
] |
#pragma once
#include <memory>
#include "envoy/extensions/filters/network/wasm/v3/wasm.pb.validate.h"
#include "envoy/stats/sink.h"
#include "source/extensions/common/wasm/wasm.h"
namespace Envoy {
namespace Extensions {
namespace StatSinks {
namespace Wasm {
using Envoy::Extensions::Common::Wasm::PluginHandleSharedPtr;
using Envoy::Extensions::Common::Wasm::PluginSharedPtr;
class WasmStatSink : public Stats::Sink {
public:
WasmStatSink(const PluginSharedPtr& plugin, PluginHandleSharedPtr singleton)
: plugin_(plugin), singleton_(singleton) {}
void flush(Stats::MetricSnapshot& snapshot) override {
singleton_->wasmHandle()->wasm()->onStatsUpdate(plugin_, snapshot);
}
void setSingleton(PluginHandleSharedPtr singleton) {
ASSERT(singleton != nullptr);
singleton_ = singleton;
}
void onHistogramComplete(const Stats::Histogram& histogram, uint64_t value) override {
(void)histogram;
(void)value;
}
private:
PluginSharedPtr plugin_;
PluginHandleSharedPtr singleton_;
};
} // namespace Wasm
} // namespace StatSinks
} // namespace Extensions
} // namespace Envoy
| C | 4 | dcillera/envoy | source/extensions/stat_sinks/wasm/wasm_stat_sink_impl.h | [
"Apache-2.0"
] |
<div class="panel white hidden" id="export-doc">
<button class="white" onclick="printDocument();">
<i class="ri-printer-fill"></i>
<span>print / pdf</span>
</button>
<button class="white" onclick="showModal('modal-export-ecd');">
<i class="ri-file-lock-fill"></i>
<span>encrypted cryptee doc<span class="hidden-tiny">ument</span></span>
</button>
<hr>
<button class="white" onclick="exportAsHTML(event);">
<i class="ri-html5-fill"></i>
<span>html</span>
</button>
<button class="white" onclick="exportAsMarkdown();">
<i class="ri-markdown-fill"></i>
<span>markdown</span>
<span class="small right yellow">beta</span>
<span class="small right">.md </span>
</button>
<button class="white" onclick="exportAsDOCX();">
<i class="ri-file-word-2-fill"></i>
<span><span class="hidden-tiny">microsoft</span> word™</span>
<span class="small right yellow">beta</span>
<span class="small right">.docx </span>
</button>
</div>
| Kit | 3 | pws1453/web-client | source/imports/app/docs-panel-export.kit | [
"MIT"
] |
CREATE OR REPLACE VIEW hdb_catalog.hdb_column AS
WITH primary_key_references AS (
SELECT fkey.table_schema AS src_table_schema
, fkey.table_name AS src_table_name
, fkey.columns->>0 AS src_column_name
, json_agg(json_build_object(
'schema', fkey.ref_table_table_schema,
'name', fkey.ref_table
)) AS ref_tables
FROM hdb_catalog.hdb_foreign_key_constraint AS fkey
JOIN hdb_catalog.hdb_primary_key AS pkey
ON pkey.table_schema = fkey.ref_table_table_schema
AND pkey.table_name = fkey.ref_table
AND pkey.columns::jsonb = fkey.ref_columns::jsonb
WHERE json_array_length(fkey.columns) = 1
GROUP BY fkey.table_schema
, fkey.table_name
, fkey.columns->>0)
SELECT columns.table_schema
, columns.table_name
, columns.column_name AS name
, columns.udt_name AS type
, columns.is_nullable
, columns.ordinal_position
, coalesce(pkey_refs.ref_tables, '[]') AS primary_key_references
, col_description(pg_class.oid, columns.ordinal_position) AS description
FROM information_schema.columns
LEFT JOIN primary_key_references AS pkey_refs
ON columns.table_schema = pkey_refs.src_table_schema
AND columns.table_name = pkey_refs.src_table_name
AND columns.column_name = pkey_refs.src_column_name
LEFT JOIN pg_class ON pg_class.relname = columns.table_name
LEFT JOIN pg_namespace ON pg_namespace.oid = pg_class.relnamespace
AND pg_namespace.nspname = columns.table_schema;
| SQL | 3 | gh-oss-contributor/graphql-engine-1 | server/src-rsr/migrations/25_to_24.sql | [
"Apache-2.0",
"MIT"
] |
"""Tests for the script component."""
| Python | 0 | domwillcode/home-assistant | tests/components/script/__init__.py | [
"Apache-2.0"
] |
extends /templates/core/modal-base
block modal-header-content
h4.modal-title Export #{view.thangType.get('name')} SpriteSheet
block modal-body-content
.form-horizontal
.form-group
label.col-sm-3.control-label Team Color
.col-sm-9
select#color-config-select.form-control
option(value='') None
option(value="red") Red
option(value="blue") Blue
option(value="green") Green
.form-group
label.col-sm-3.control-label Resolution Factor
.col-sm-9
input#resolution-input.form-control(value=3)
.form-group
label.col-sm-3.control-label Sprite Type
.col-sm-9
- var spriteType = view.thangType.get('spriteType') || 'segmented'
label.radio-inline
input(type="radio" name="sprite-type" value="segmented" checked=spriteType==='segmented')
| Segmented
label.radio-inline
input(type="radio" name="sprite-type" value="singular" checked=spriteType!=='segmented')
| Singular
.form-group
label.col-sm-3.control-label Actions
.col-sm-9
- var defaultActionNames = _.pluck(view.thangType.getDefaultActions(), 'name')
- var actions = view.thangType.getActions()
for action in actions
.checkbox
label
input(type="checkbox" name="action" value=action.name checked=_.contains(defaultActionNames, action.name))
| #{action.name}
block modal-footer-content
button.btn.btn-default(data-dismiss="modal") Cancel
button#save-btn.btn.btn-primary Save
.progress.progress-striped.active.hide
.progress-bar(style="width: 100%") | Jade | 4 | cihatislamdede/codecombat | app/templates/editor/thang/export-thang-type-modal.jade | [
"CC-BY-4.0",
"MIT"
] |
{:games
[{:id "1234"
:name "Zertz"
:summary "Two player abstract with forced moves and shrinking board"
:min_players 2
:max_players 2
:designers #{"200"}}
{:id "1235"
:name "Dominion"
:summary "Created the deck-building genre; zillions of expansions"
:designers #{"204"}
:min_players 2}
{:id "1236"
:name "Tiny Epic Galaxies"
:summary "Fast dice-based sci-fi space game with a bit of chaos"
:designers #{"203"}
:min_players 1
:max_players 4}
{:id "1237"
:name "7 Wonders: Duel"
:summary "Tense, quick card game of developing civilizations"
:designers #{"201" "202"}
:min_players 2
:max_players 2}]
:designers
[{:id "200"
:name "Kris Burm"
:url "http://www.gipf.com/project_gipf/burm/burm.html"}
{:id "201"
:name "Antoine Bauza"
:url "http://www.antoinebauza.fr/"}
{:id "202"
:name "Bruno Cathala"
:url "http://www.brunocathala.com/"}
{:id "203"
:name "Scott Almes"}
{:id "204"
:name "Donald X. Vaccarino"}]}
| edn | 4 | hagenek/lacinia | docs/_examples/tutorial/cgg-data-2.edn | [
"Apache-2.0"
] |
{:queries
{:extension {:type String
:resolve :queries/extension}
:warning {:type String
:resolve :queries/warning}}}
| edn | 4 | hagenek/lacinia | dev-resources/extensions-schema.edn | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.