entities
listlengths 1
2.22k
| max_stars_repo_path
stringlengths 6
98
| max_stars_repo_name
stringlengths 9
55
| max_stars_count
int64 0
8.27k
| content
stringlengths 93
965k
| id
stringlengths 2
5
| new_content
stringlengths 85
964k
| modified
bool 1
class | references
stringlengths 98
970k
| language
stringclasses 1
value |
---|---|---|---|---|---|---|---|---|---|
[
{
"context": " Expect.equal True (isPublicKey \"EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d\")\n , test \"start with EOS False\" <|\n ",
"end": 1110,
"score": 0.9997432232,
"start": 1057,
"tag": "KEY",
"value": "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d"
},
{
"context": " Expect.equal False (isPublicKey \"eos5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d\")\n , test \"length 53 False\" <|\n ",
"end": 1287,
"score": 0.9997465611,
"start": 1234,
"tag": "KEY",
"value": "eos5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d"
},
{
"context": " \\() -> Expect.equal False (isPublicKey \"EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7OSrZcBpunuuTxiYkKqb6d\")\n ]\n , describe \"validateAccou",
"end": 1603,
"score": 0.9997442961,
"start": 1550,
"tag": "KEY",
"value": "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7OSrZcBpunuuTxiYkKqb6d"
},
{
"context": " (validatePublicKey\n \"EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d\"\n )\n , test \"In",
"end": 4674,
"score": 0.9270279408,
"start": 4621,
"tag": "KEY",
"value": "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d"
}
] | test/frontend/elm/Test/Util/Validation.elm | EOSYS-io/eoshub.io | 11 | module Test.Util.Validation exposing (tests)
import Expect
import Test exposing (..)
import Util.Validation exposing (..)
balance : Float
balance =
300.0
validateQuantityWithBalance : String -> QuantityStatus
validateQuantityWithBalance quantity =
validateQuantity quantity balance
tests : Test
tests =
describe "Validation module"
[ describe "isAccount"
[ test "a-z.1-5 True" <|
\() ->
Expect.equal True (isAccount "abc.xyz12345")
, test "a-z.1-5 False" <|
\() ->
Expect.equal False (isAccount "ABC!@#$67890")
, test "{1,12} True" <|
\() ->
Expect.equal True (isAccount "eosio.ram")
, test "{1,12} False" <|
\() ->
Expect.equal False (isAccount "eosio.ram.eosio.system")
]
, describe "isPublicKey"
[ test "start with EOS True" <|
\() ->
Expect.equal True (isPublicKey "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d")
, test "start with EOS False" <|
\() ->
Expect.equal False (isPublicKey "eos5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d")
, test "length 53 False" <|
\() ->
Expect.equal False (isAccount "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7")
, test "Contains invalid character - O" <|
\() -> Expect.equal False (isPublicKey "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7OSrZcBpunuuTxiYkKqb6d")
]
, describe "validateAccount"
[ test "EmptyAccount" <|
\() -> Expect.equal EmptyAccount (validateAccount "" NotSent)
, test "AccountToBeVerified" <|
\() -> Expect.equal AccountToBeVerified (validateAccount "validacc" NotSent)
, test "ValidAccount" <|
\() -> Expect.equal ValidAccount (validateAccount "validacc" Succeed)
, test "InexistentAccount" <|
\() -> Expect.equal InexistentAccount (validateAccount "validacc" Fail)
, test "InvalidAccount" <|
\() -> Expect.equal InvalidAccount (validateAccount "INVALIDACC" NotSent)
]
, describe "validateQuantity"
[ test "EmptyQuantity" <|
\() ->
Expect.equal
EmptyQuantity
(validateQuantityWithBalance
""
)
, test "InvalidQuantity" <|
\() ->
Expect.equal
InvalidQuantity
(validateQuantityWithBalance
"-1.0"
)
, test "OverValidQuantity" <|
\() ->
Expect.equal
OverValidQuantity
(validateQuantityWithBalance
"301.0"
)
, test "ValidQuantity" <|
\() ->
Expect.equal
ValidQuantity
(validateQuantityWithBalance
"299.9999"
)
]
, describe "validateMemo"
[ test "EmptyMemo" <|
\() ->
Expect.equal
ValidMemo
(validateMemo
""
)
, test "ValidMemo" <|
\() ->
Expect.equal
ValidMemo
(validateMemo
"hi~"
)
, test "InvalidMemo" <|
\() ->
Expect.equal
MemoTooLong
(validateMemo "This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.")
]
, describe "validatePublicKey"
[ test "EmptyPubKey" <|
\() -> Expect.equal EmptyPublicKey (validatePublicKey "")
, test "ValidPubKey" <|
\() ->
Expect.equal ValidPublicKey
(validatePublicKey
"EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7gSrZcBpunuuTxiYkKqb6d"
)
, test "InvalidPubKey" <|
\() -> Expect.equal InvalidPublicKey (validatePublicKey "INVALID_KEY")
]
]
| 20459 | module Test.Util.Validation exposing (tests)
import Expect
import Test exposing (..)
import Util.Validation exposing (..)
balance : Float
balance =
300.0
validateQuantityWithBalance : String -> QuantityStatus
validateQuantityWithBalance quantity =
validateQuantity quantity balance
tests : Test
tests =
describe "Validation module"
[ describe "isAccount"
[ test "a-z.1-5 True" <|
\() ->
Expect.equal True (isAccount "abc.xyz12345")
, test "a-z.1-5 False" <|
\() ->
Expect.equal False (isAccount "ABC!@#$67890")
, test "{1,12} True" <|
\() ->
Expect.equal True (isAccount "eosio.ram")
, test "{1,12} False" <|
\() ->
Expect.equal False (isAccount "eosio.ram.eosio.system")
]
, describe "isPublicKey"
[ test "start with EOS True" <|
\() ->
Expect.equal True (isPublicKey "<KEY>")
, test "start with EOS False" <|
\() ->
Expect.equal False (isPublicKey "<KEY>")
, test "length 53 False" <|
\() ->
Expect.equal False (isAccount "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7")
, test "Contains invalid character - O" <|
\() -> Expect.equal False (isPublicKey "<KEY>")
]
, describe "validateAccount"
[ test "EmptyAccount" <|
\() -> Expect.equal EmptyAccount (validateAccount "" NotSent)
, test "AccountToBeVerified" <|
\() -> Expect.equal AccountToBeVerified (validateAccount "validacc" NotSent)
, test "ValidAccount" <|
\() -> Expect.equal ValidAccount (validateAccount "validacc" Succeed)
, test "InexistentAccount" <|
\() -> Expect.equal InexistentAccount (validateAccount "validacc" Fail)
, test "InvalidAccount" <|
\() -> Expect.equal InvalidAccount (validateAccount "INVALIDACC" NotSent)
]
, describe "validateQuantity"
[ test "EmptyQuantity" <|
\() ->
Expect.equal
EmptyQuantity
(validateQuantityWithBalance
""
)
, test "InvalidQuantity" <|
\() ->
Expect.equal
InvalidQuantity
(validateQuantityWithBalance
"-1.0"
)
, test "OverValidQuantity" <|
\() ->
Expect.equal
OverValidQuantity
(validateQuantityWithBalance
"301.0"
)
, test "ValidQuantity" <|
\() ->
Expect.equal
ValidQuantity
(validateQuantityWithBalance
"299.9999"
)
]
, describe "validateMemo"
[ test "EmptyMemo" <|
\() ->
Expect.equal
ValidMemo
(validateMemo
""
)
, test "ValidMemo" <|
\() ->
Expect.equal
ValidMemo
(validateMemo
"hi~"
)
, test "InvalidMemo" <|
\() ->
Expect.equal
MemoTooLong
(validateMemo "This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.")
]
, describe "validatePublicKey"
[ test "EmptyPubKey" <|
\() -> Expect.equal EmptyPublicKey (validatePublicKey "")
, test "ValidPubKey" <|
\() ->
Expect.equal ValidPublicKey
(validatePublicKey
"<KEY>"
)
, test "InvalidPubKey" <|
\() -> Expect.equal InvalidPublicKey (validatePublicKey "INVALID_KEY")
]
]
| true | module Test.Util.Validation exposing (tests)
import Expect
import Test exposing (..)
import Util.Validation exposing (..)
balance : Float
balance =
300.0
validateQuantityWithBalance : String -> QuantityStatus
validateQuantityWithBalance quantity =
validateQuantity quantity balance
tests : Test
tests =
describe "Validation module"
[ describe "isAccount"
[ test "a-z.1-5 True" <|
\() ->
Expect.equal True (isAccount "abc.xyz12345")
, test "a-z.1-5 False" <|
\() ->
Expect.equal False (isAccount "ABC!@#$67890")
, test "{1,12} True" <|
\() ->
Expect.equal True (isAccount "eosio.ram")
, test "{1,12} False" <|
\() ->
Expect.equal False (isAccount "eosio.ram.eosio.system")
]
, describe "isPublicKey"
[ test "start with EOS True" <|
\() ->
Expect.equal True (isPublicKey "PI:KEY:<KEY>END_PI")
, test "start with EOS False" <|
\() ->
Expect.equal False (isPublicKey "PI:KEY:<KEY>END_PI")
, test "length 53 False" <|
\() ->
Expect.equal False (isAccount "EOS5uxjV3FYZvwqyAM2StkFEvUvf43F7")
, test "Contains invalid character - O" <|
\() -> Expect.equal False (isPublicKey "PI:KEY:<KEY>END_PI")
]
, describe "validateAccount"
[ test "EmptyAccount" <|
\() -> Expect.equal EmptyAccount (validateAccount "" NotSent)
, test "AccountToBeVerified" <|
\() -> Expect.equal AccountToBeVerified (validateAccount "validacc" NotSent)
, test "ValidAccount" <|
\() -> Expect.equal ValidAccount (validateAccount "validacc" Succeed)
, test "InexistentAccount" <|
\() -> Expect.equal InexistentAccount (validateAccount "validacc" Fail)
, test "InvalidAccount" <|
\() -> Expect.equal InvalidAccount (validateAccount "INVALIDACC" NotSent)
]
, describe "validateQuantity"
[ test "EmptyQuantity" <|
\() ->
Expect.equal
EmptyQuantity
(validateQuantityWithBalance
""
)
, test "InvalidQuantity" <|
\() ->
Expect.equal
InvalidQuantity
(validateQuantityWithBalance
"-1.0"
)
, test "OverValidQuantity" <|
\() ->
Expect.equal
OverValidQuantity
(validateQuantityWithBalance
"301.0"
)
, test "ValidQuantity" <|
\() ->
Expect.equal
ValidQuantity
(validateQuantityWithBalance
"299.9999"
)
]
, describe "validateMemo"
[ test "EmptyMemo" <|
\() ->
Expect.equal
ValidMemo
(validateMemo
""
)
, test "ValidMemo" <|
\() ->
Expect.equal
ValidMemo
(validateMemo
"hi~"
)
, test "InvalidMemo" <|
\() ->
Expect.equal
MemoTooLong
(validateMemo "This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.This memo is over 256 bytes.")
]
, describe "validatePublicKey"
[ test "EmptyPubKey" <|
\() -> Expect.equal EmptyPublicKey (validatePublicKey "")
, test "ValidPubKey" <|
\() ->
Expect.equal ValidPublicKey
(validatePublicKey
"PI:KEY:<KEY>END_PI"
)
, test "InvalidPubKey" <|
\() -> Expect.equal InvalidPublicKey (validatePublicKey "INVALID_KEY")
]
]
| elm |
[
{
"context": "stName : String\n}\nuser: User\nuser = {firstName = \"Kacper\", lastName = \"Moskala\"}\n\nfullname: User -> String",
"end": 604,
"score": 0.9998267293,
"start": 598,
"tag": "NAME",
"value": "Kacper"
},
{
"context": "r: User\nuser = {firstName = \"Kacper\", lastName = \"Moskala\"}\n\nfullname: User -> String\nfullname user = user.",
"end": 626,
"score": 0.9992901683,
"start": 619,
"tag": "NAME",
"value": "Moskala"
}
] | todo.elm | k-gan/elm-todo | 0 | import Html
import Html.Attributes
import Html.Events exposing (..)
import TodoList exposing (..)
import TodoListJson exposing (..)
import Bootstrap.CDN as CDN
import Bootstrap.Button as BootstrapButton
import Bootstrap.ListGroup as BootList
-- main = Html.beginnerProgram {model = model, view = view, update = update}
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
init: (Model, Cmd Msg)
init = (model, Cmd.none)
type alias User = {
firstName : String
, lastName : String
}
user: User
user = {firstName = "Kacper", lastName = "Moskala"}
fullname: User -> String
fullname user = user.firstName ++ " " ++ user.lastName
type Msg =
ShowForm | SaveNote | NoteChanged String | SaveToFile | LoadFromFile | EncodedTodoListChanged String
| CloseTask Int
type Mode =
ShowAddNoteForm | ShowButton
type alias Model = {
user : User
, todos : List Todo
, mode : Mode
, newNote : Maybe String
, encodedTodos : Maybe String
}
model: Model
model = {
user = user
, todos = [
Todo 1 "write app" Pending
, Todo 2 "write app again" Done ]
, mode = ShowButton
, newNote = Nothing
, encodedTodos = Nothing }
sortTasksBasedOnStatus tasks =
List.map mapTaskStatusToInt tasks |> List.sortWith maxTuples |> List.map (\t -> Tuple.second t)
maxTuples t1 t2 =
compare (Tuple.first t1) (Tuple.first t2)
mapTaskStatusToInt task =
case task.status of
Pending -> (1, task)
Done -> (2, task)
view: Model -> Html.Html Msg
view model =
Html.div [Html.Attributes.style [("text-align", "center")]] [
CDN.stylesheet
, Html.h1 [] [Html.text (fullname model.user)]
, BootList.keyedUl (createKeyedTaskList (sortTasksBasedOnStatus model.todos) 1)
, handleForm model
, Html.br [] []
, Html.br [] []
, BootstrapButton.button [ BootstrapButton.success, BootstrapButton.onClick SaveToFile ] [Html.text "Save to file"]
, Html.br [] []
, Html.br [] []
, Html.div [ Html.Attributes.style [("display", "block" )] ] [
Html.textarea
[Html.Attributes.style [("width", "400px"), ("height", "150px")],
onInput EncodedTodoListChanged ]
[ Maybe.withDefault "" model.encodedTodos |> Html.text]
, Html.br [] []
, BootstrapButton.button [ BootstrapButton.primary, BootstrapButton.onClick LoadFromFile ] [Html.text "Load notes"]
]
]
update: Msg -> Model -> (Model, Cmd Msg)
update msg model
= case msg of
ShowForm -> ({model | mode = ShowAddNoteForm}, Cmd.none)
SaveNote -> (
{model | mode = ShowButton, newNote = Nothing, todos = insertNewTodo model.newNote model.todos}
, Cmd.none)
NoteChanged note -> ({model | newNote = Just note}, Cmd.none)
SaveToFile -> (
{ model | encodedTodos = encodeTodos model.todos |> encodeTodosToString |> Just }
, Cmd.none)
LoadFromFile -> (
{model | todos = Maybe.withDefault "" model.encodedTodos |> decodeTodosFromString }
, Cmd.none)
EncodedTodoListChanged encodedTodoList ->
({ model | encodedTodos = Maybe.Just encodedTodoList }, Cmd.none)
CloseTask id ->
({model | todos = (closeTaskInListWithId model.todos id)}, Cmd.none)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
handleForm: Model -> Html.Html Msg
handleForm model =
case model.mode of
ShowButton -> Html.button [ onClick ShowForm ] [Html.text "New note" ]
ShowAddNoteForm -> Html.div [] [
Html.input [ onInput NoteChanged ] [ ]
, BootstrapButton.button [ BootstrapButton.primary, BootstrapButton.onClick SaveNote] [Html.text "Add"]
]
createKeyedTaskList: List (Todo) -> Int -> List (String, BootList.Item Msg)
createKeyedTaskList tasks startIdx =
case tasks of
[] -> []
(x::xs) -> (createKeyedLi startIdx x) :: (createKeyedTaskList xs (startIdx + 1))
createKeyedLi: Int -> Todo -> (String, BootList.Item Msg)
createKeyedLi id task =
(toString id, createTodoLi id task)
createTodoLi: Int -> Todo -> BootList.Item Msg
createTodoLi key todo =
BootList.li
[BootList.attrs [Html.Attributes.style [("text-decoration", getTextDecoration todo.status)]]]
(appendDoneButton todo.status todo.id <| [Html.text (toString key ++ ". " ++ todo.content)])
appendDoneButton: TaskStatus -> Int -> List (Html.Html Msg) -> List (Html.Html Msg)
appendDoneButton status id elements =
case status of
Pending -> elements ++
[(BootstrapButton.button
[BootstrapButton.danger, BootstrapButton.small, BootstrapButton.onClick <| CloseTask id ]
[Html.text "done"])]
_ -> elements
getTextDecoration: TaskStatus -> String
getTextDecoration taskStatus =
case taskStatus of
Done -> "line-through"
_ -> "none"
closeTaskInListWithId: List (Todo) -> Int -> List (Todo)
closeTaskInListWithId tasks id =
List.map (closeTaskWithId id) tasks
closeTaskWithId: Int -> Todo -> Todo
closeTaskWithId id task =
if task.id == id then {task | status = Done }
else task
| 41738 | import Html
import Html.Attributes
import Html.Events exposing (..)
import TodoList exposing (..)
import TodoListJson exposing (..)
import Bootstrap.CDN as CDN
import Bootstrap.Button as BootstrapButton
import Bootstrap.ListGroup as BootList
-- main = Html.beginnerProgram {model = model, view = view, update = update}
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
init: (Model, Cmd Msg)
init = (model, Cmd.none)
type alias User = {
firstName : String
, lastName : String
}
user: User
user = {firstName = "<NAME>", lastName = "<NAME>"}
fullname: User -> String
fullname user = user.firstName ++ " " ++ user.lastName
type Msg =
ShowForm | SaveNote | NoteChanged String | SaveToFile | LoadFromFile | EncodedTodoListChanged String
| CloseTask Int
type Mode =
ShowAddNoteForm | ShowButton
type alias Model = {
user : User
, todos : List Todo
, mode : Mode
, newNote : Maybe String
, encodedTodos : Maybe String
}
model: Model
model = {
user = user
, todos = [
Todo 1 "write app" Pending
, Todo 2 "write app again" Done ]
, mode = ShowButton
, newNote = Nothing
, encodedTodos = Nothing }
sortTasksBasedOnStatus tasks =
List.map mapTaskStatusToInt tasks |> List.sortWith maxTuples |> List.map (\t -> Tuple.second t)
maxTuples t1 t2 =
compare (Tuple.first t1) (Tuple.first t2)
mapTaskStatusToInt task =
case task.status of
Pending -> (1, task)
Done -> (2, task)
view: Model -> Html.Html Msg
view model =
Html.div [Html.Attributes.style [("text-align", "center")]] [
CDN.stylesheet
, Html.h1 [] [Html.text (fullname model.user)]
, BootList.keyedUl (createKeyedTaskList (sortTasksBasedOnStatus model.todos) 1)
, handleForm model
, Html.br [] []
, Html.br [] []
, BootstrapButton.button [ BootstrapButton.success, BootstrapButton.onClick SaveToFile ] [Html.text "Save to file"]
, Html.br [] []
, Html.br [] []
, Html.div [ Html.Attributes.style [("display", "block" )] ] [
Html.textarea
[Html.Attributes.style [("width", "400px"), ("height", "150px")],
onInput EncodedTodoListChanged ]
[ Maybe.withDefault "" model.encodedTodos |> Html.text]
, Html.br [] []
, BootstrapButton.button [ BootstrapButton.primary, BootstrapButton.onClick LoadFromFile ] [Html.text "Load notes"]
]
]
update: Msg -> Model -> (Model, Cmd Msg)
update msg model
= case msg of
ShowForm -> ({model | mode = ShowAddNoteForm}, Cmd.none)
SaveNote -> (
{model | mode = ShowButton, newNote = Nothing, todos = insertNewTodo model.newNote model.todos}
, Cmd.none)
NoteChanged note -> ({model | newNote = Just note}, Cmd.none)
SaveToFile -> (
{ model | encodedTodos = encodeTodos model.todos |> encodeTodosToString |> Just }
, Cmd.none)
LoadFromFile -> (
{model | todos = Maybe.withDefault "" model.encodedTodos |> decodeTodosFromString }
, Cmd.none)
EncodedTodoListChanged encodedTodoList ->
({ model | encodedTodos = Maybe.Just encodedTodoList }, Cmd.none)
CloseTask id ->
({model | todos = (closeTaskInListWithId model.todos id)}, Cmd.none)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
handleForm: Model -> Html.Html Msg
handleForm model =
case model.mode of
ShowButton -> Html.button [ onClick ShowForm ] [Html.text "New note" ]
ShowAddNoteForm -> Html.div [] [
Html.input [ onInput NoteChanged ] [ ]
, BootstrapButton.button [ BootstrapButton.primary, BootstrapButton.onClick SaveNote] [Html.text "Add"]
]
createKeyedTaskList: List (Todo) -> Int -> List (String, BootList.Item Msg)
createKeyedTaskList tasks startIdx =
case tasks of
[] -> []
(x::xs) -> (createKeyedLi startIdx x) :: (createKeyedTaskList xs (startIdx + 1))
createKeyedLi: Int -> Todo -> (String, BootList.Item Msg)
createKeyedLi id task =
(toString id, createTodoLi id task)
createTodoLi: Int -> Todo -> BootList.Item Msg
createTodoLi key todo =
BootList.li
[BootList.attrs [Html.Attributes.style [("text-decoration", getTextDecoration todo.status)]]]
(appendDoneButton todo.status todo.id <| [Html.text (toString key ++ ". " ++ todo.content)])
appendDoneButton: TaskStatus -> Int -> List (Html.Html Msg) -> List (Html.Html Msg)
appendDoneButton status id elements =
case status of
Pending -> elements ++
[(BootstrapButton.button
[BootstrapButton.danger, BootstrapButton.small, BootstrapButton.onClick <| CloseTask id ]
[Html.text "done"])]
_ -> elements
getTextDecoration: TaskStatus -> String
getTextDecoration taskStatus =
case taskStatus of
Done -> "line-through"
_ -> "none"
closeTaskInListWithId: List (Todo) -> Int -> List (Todo)
closeTaskInListWithId tasks id =
List.map (closeTaskWithId id) tasks
closeTaskWithId: Int -> Todo -> Todo
closeTaskWithId id task =
if task.id == id then {task | status = Done }
else task
| true | import Html
import Html.Attributes
import Html.Events exposing (..)
import TodoList exposing (..)
import TodoListJson exposing (..)
import Bootstrap.CDN as CDN
import Bootstrap.Button as BootstrapButton
import Bootstrap.ListGroup as BootList
-- main = Html.beginnerProgram {model = model, view = view, update = update}
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
init: (Model, Cmd Msg)
init = (model, Cmd.none)
type alias User = {
firstName : String
, lastName : String
}
user: User
user = {firstName = "PI:NAME:<NAME>END_PI", lastName = "PI:NAME:<NAME>END_PI"}
fullname: User -> String
fullname user = user.firstName ++ " " ++ user.lastName
type Msg =
ShowForm | SaveNote | NoteChanged String | SaveToFile | LoadFromFile | EncodedTodoListChanged String
| CloseTask Int
type Mode =
ShowAddNoteForm | ShowButton
type alias Model = {
user : User
, todos : List Todo
, mode : Mode
, newNote : Maybe String
, encodedTodos : Maybe String
}
model: Model
model = {
user = user
, todos = [
Todo 1 "write app" Pending
, Todo 2 "write app again" Done ]
, mode = ShowButton
, newNote = Nothing
, encodedTodos = Nothing }
sortTasksBasedOnStatus tasks =
List.map mapTaskStatusToInt tasks |> List.sortWith maxTuples |> List.map (\t -> Tuple.second t)
maxTuples t1 t2 =
compare (Tuple.first t1) (Tuple.first t2)
mapTaskStatusToInt task =
case task.status of
Pending -> (1, task)
Done -> (2, task)
view: Model -> Html.Html Msg
view model =
Html.div [Html.Attributes.style [("text-align", "center")]] [
CDN.stylesheet
, Html.h1 [] [Html.text (fullname model.user)]
, BootList.keyedUl (createKeyedTaskList (sortTasksBasedOnStatus model.todos) 1)
, handleForm model
, Html.br [] []
, Html.br [] []
, BootstrapButton.button [ BootstrapButton.success, BootstrapButton.onClick SaveToFile ] [Html.text "Save to file"]
, Html.br [] []
, Html.br [] []
, Html.div [ Html.Attributes.style [("display", "block" )] ] [
Html.textarea
[Html.Attributes.style [("width", "400px"), ("height", "150px")],
onInput EncodedTodoListChanged ]
[ Maybe.withDefault "" model.encodedTodos |> Html.text]
, Html.br [] []
, BootstrapButton.button [ BootstrapButton.primary, BootstrapButton.onClick LoadFromFile ] [Html.text "Load notes"]
]
]
update: Msg -> Model -> (Model, Cmd Msg)
update msg model
= case msg of
ShowForm -> ({model | mode = ShowAddNoteForm}, Cmd.none)
SaveNote -> (
{model | mode = ShowButton, newNote = Nothing, todos = insertNewTodo model.newNote model.todos}
, Cmd.none)
NoteChanged note -> ({model | newNote = Just note}, Cmd.none)
SaveToFile -> (
{ model | encodedTodos = encodeTodos model.todos |> encodeTodosToString |> Just }
, Cmd.none)
LoadFromFile -> (
{model | todos = Maybe.withDefault "" model.encodedTodos |> decodeTodosFromString }
, Cmd.none)
EncodedTodoListChanged encodedTodoList ->
({ model | encodedTodos = Maybe.Just encodedTodoList }, Cmd.none)
CloseTask id ->
({model | todos = (closeTaskInListWithId model.todos id)}, Cmd.none)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
handleForm: Model -> Html.Html Msg
handleForm model =
case model.mode of
ShowButton -> Html.button [ onClick ShowForm ] [Html.text "New note" ]
ShowAddNoteForm -> Html.div [] [
Html.input [ onInput NoteChanged ] [ ]
, BootstrapButton.button [ BootstrapButton.primary, BootstrapButton.onClick SaveNote] [Html.text "Add"]
]
createKeyedTaskList: List (Todo) -> Int -> List (String, BootList.Item Msg)
createKeyedTaskList tasks startIdx =
case tasks of
[] -> []
(x::xs) -> (createKeyedLi startIdx x) :: (createKeyedTaskList xs (startIdx + 1))
createKeyedLi: Int -> Todo -> (String, BootList.Item Msg)
createKeyedLi id task =
(toString id, createTodoLi id task)
createTodoLi: Int -> Todo -> BootList.Item Msg
createTodoLi key todo =
BootList.li
[BootList.attrs [Html.Attributes.style [("text-decoration", getTextDecoration todo.status)]]]
(appendDoneButton todo.status todo.id <| [Html.text (toString key ++ ". " ++ todo.content)])
appendDoneButton: TaskStatus -> Int -> List (Html.Html Msg) -> List (Html.Html Msg)
appendDoneButton status id elements =
case status of
Pending -> elements ++
[(BootstrapButton.button
[BootstrapButton.danger, BootstrapButton.small, BootstrapButton.onClick <| CloseTask id ]
[Html.text "done"])]
_ -> elements
getTextDecoration: TaskStatus -> String
getTextDecoration taskStatus =
case taskStatus of
Done -> "line-through"
_ -> "none"
closeTaskInListWithId: List (Todo) -> Int -> List (Todo)
closeTaskInListWithId tasks id =
List.map (closeTaskWithId id) tasks
closeTaskWithId: Int -> Todo -> Todo
closeTaskWithId id task =
if task.id == id then {task | status = Done }
else task
| elm |
[
{
"context": " [ div [] [ viewInput model Email \"Email\" \"text\" \"johndoe@example.com\" ]\r\n , div [] [ viewInput model Pa",
"end": 2064,
"score": 0.9999292493,
"start": 2045,
"tag": "EMAIL",
"value": "johndoe@example.com"
},
{
"context": "[ viewInput model Password \"Password\" \"password\" \"*******\" ]\r\n , div []\r\n ",
"end": 2144,
"score": 0.6345327497,
"start": 2144,
"tag": "PASSWORD",
"value": ""
}
] | frontend/src/Page/Login.elm | Pancakem/food-recommender | 0 | module Page.Login exposing (Model, Msg, init, subscriptions, toSession, update, view)
import Browser.Navigation as Navigation exposing (load)
import Helper exposing (Response, decodeResponse, endPoint, informHttpError)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Http
import Json.Encode as Encode
import Route exposing (Route)
import Session exposing (Session)
import Url.Builder as Builder
import User exposing (Profile)
init : Session -> ( Model, Cmd Msg )
init session =
let
cmd =
case Session.cred session of
Just cred ->
Route.replaceUrl (Session.navKey session) Route.Home
Nothing ->
Cmd.none
in
( { session = session
, problems = []
, form =
{ email = ""
, password = ""
}
}
, cmd
)
type alias Model =
{ session : Session
, form : Form
, problems : List Problem
}
type Problem
= InvalidEntry ValidatedField String
| ServerError String
-- VIEW
view : Model -> { title : String, content : Html Msg }
view model =
{ title = "Eat Right - Login"
, content = loginView model
}
type alias Form =
{ email : String
, password : String
}
loginView : Model -> Html Msg
loginView model =
div [ class "container" ]
[ div [ class "card .login-card" ]
[ div [ class "card-body" ]
[ p [ class "validation-problem" ]
(List.map (\str -> viewServerError str) model.problems)
, loginForm model
]
]
]
loginForm : Model -> Html Msg
loginForm model =
div [ class "login-form" ]
[ h3 [ class "card-title" ] [ text "Login" ]
, div []
[ div [ class "form-group" ]
[ div [] [ viewInput model Email "Email" "text" "johndoe@example.com" ]
, div [] [ viewInput model Password "Password" "password" "*******" ]
, div []
[ button [ class "btn btn-primary", onClick SubmittedDetails ] [ text "LOGIN" ] ]
]
]
]
viewServerError : Problem -> Html Msg
viewServerError problem =
case problem of
ServerError str ->
text str
_ ->
text ""
viewProblem : Model -> ValidatedField -> Problem -> Html msg
viewProblem model formfield problem =
let
errorMsg =
case problem of
InvalidEntry f str ->
if f == formfield then
str
else
""
ServerError _ ->
""
in
if String.length errorMsg > 1 then
p [ class "validation-problem" ] [ text errorMsg ]
else
text ""
setErrors : List Problem -> Model -> Model
setErrors problems model =
{ model | problems = problems }
setField : ValidatedField -> String -> Model -> Model
setField field value model =
case field of
Email ->
updateForm (\form -> { form | email = value }) model
Password ->
updateForm (\form -> { form | password = value }) model
viewInput : Model -> ValidatedField -> String -> String -> String -> Html Msg
viewInput model formField labelName inputType inputName =
let
what =
case formField of
Email ->
model.form.email
Password ->
model.form.password
lis =
List.map (\err -> viewProblem model formField err) model.problems
in
label
[ class "" ]
[ text labelName
, input
[ type_ inputType
, placeholder inputName
, onInput <| SetField formField
, value what
, class "form-control"
]
[]
, ul [] lis
]
type Msg
= SubmittedDetails
| SetField ValidatedField String
| GotResponse (Result Http.Error Response)
| GotSession Session
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
let
problemList =
validate model.form
in
case msg of
SubmittedDetails ->
case problemList of
[] ->
-- send data to the server
-- receive server response
-- trigger command to handle or consume response
( { model | problems = [] }
, login model
)
problems ->
( { model | problems = problems }
, Cmd.none
)
SetField field value ->
( model
|> setField field value
|> setErrors problemList
, Cmd.none
)
GotResponse resp ->
case resp of
Ok successData ->
( model
, Cmd.batch [ Session.login successData, Route.loadPage Route.Home ]
)
Err err ->
let
errorMsg =
informHttpError err
in
( { model | problems = [ ServerError errorMsg ] }
, Cmd.none
)
GotSession session ->
( { model | session = session }
, Navigation.load "/home"
)
-- tiny helper function to update the form in the session
updateForm : (Form -> Form) -> Model -> Model
updateForm transform model =
{ model | form = transform model.form }
-- Subscriptions
subscriptions : Model -> Sub Msg
subscriptions model =
Session.changes GotSession (Session.navKey model.session)
-- Handle the Form
type ValidatedField
= Email
| Password
-- To ensure we only trim the form when the user is done
type TrimmedForm
= Trimmed Form
fieldsToValidate : List ValidatedField
fieldsToValidate =
[ Email
, Password
]
-- trim and validate form
validate : Form -> List Problem
validate form =
let
trimmedForm =
trimFields form
in
case List.concatMap (validateField trimmedForm) fieldsToValidate of
[] ->
[]
problems ->
problems
-- validateField
validateField : TrimmedForm -> ValidatedField -> List Problem
validateField (Trimmed form) field =
List.map (InvalidEntry field) <|
case field of
Email ->
if String.isEmpty form.email then
[ "email can't be blank." ]
else
[]
Password ->
if String.isEmpty form.password then
[ "password can't be blank." ]
else if String.length form.password < 8 then
[ "password should be at least 8 characters long." ]
else
[]
-- trimFields on demand
trimFields : Form -> TrimmedForm
trimFields form =
Trimmed
{ email = String.trim form.email
, password = String.trim form.password
}
-- Exported Session Builder
toSession : Model -> Session
toSession model =
model.session
-- http
login : Model -> Cmd Msg
login model =
Http.request
{ url = endPoint [ "auth", "login" ]
, headers = [ Http.header "Origin" "http://localhost:5000" ]
, body = Http.jsonBody (encodeLogin model)
, expect = Http.expectJson GotResponse decodeResponse
, method = "POST"
, timeout = Nothing
, tracker = Nothing
}
encodeLogin : Model -> Encode.Value
encodeLogin { form } =
Encode.object
[ ( "email", Encode.string form.email )
, ( "password", Encode.string form.password )
]
| 29799 | module Page.Login exposing (Model, Msg, init, subscriptions, toSession, update, view)
import Browser.Navigation as Navigation exposing (load)
import Helper exposing (Response, decodeResponse, endPoint, informHttpError)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Http
import Json.Encode as Encode
import Route exposing (Route)
import Session exposing (Session)
import Url.Builder as Builder
import User exposing (Profile)
init : Session -> ( Model, Cmd Msg )
init session =
let
cmd =
case Session.cred session of
Just cred ->
Route.replaceUrl (Session.navKey session) Route.Home
Nothing ->
Cmd.none
in
( { session = session
, problems = []
, form =
{ email = ""
, password = ""
}
}
, cmd
)
type alias Model =
{ session : Session
, form : Form
, problems : List Problem
}
type Problem
= InvalidEntry ValidatedField String
| ServerError String
-- VIEW
view : Model -> { title : String, content : Html Msg }
view model =
{ title = "Eat Right - Login"
, content = loginView model
}
type alias Form =
{ email : String
, password : String
}
loginView : Model -> Html Msg
loginView model =
div [ class "container" ]
[ div [ class "card .login-card" ]
[ div [ class "card-body" ]
[ p [ class "validation-problem" ]
(List.map (\str -> viewServerError str) model.problems)
, loginForm model
]
]
]
loginForm : Model -> Html Msg
loginForm model =
div [ class "login-form" ]
[ h3 [ class "card-title" ] [ text "Login" ]
, div []
[ div [ class "form-group" ]
[ div [] [ viewInput model Email "Email" "text" "<EMAIL>" ]
, div [] [ viewInput model Password "Password" "password" "<PASSWORD>*******" ]
, div []
[ button [ class "btn btn-primary", onClick SubmittedDetails ] [ text "LOGIN" ] ]
]
]
]
viewServerError : Problem -> Html Msg
viewServerError problem =
case problem of
ServerError str ->
text str
_ ->
text ""
viewProblem : Model -> ValidatedField -> Problem -> Html msg
viewProblem model formfield problem =
let
errorMsg =
case problem of
InvalidEntry f str ->
if f == formfield then
str
else
""
ServerError _ ->
""
in
if String.length errorMsg > 1 then
p [ class "validation-problem" ] [ text errorMsg ]
else
text ""
setErrors : List Problem -> Model -> Model
setErrors problems model =
{ model | problems = problems }
setField : ValidatedField -> String -> Model -> Model
setField field value model =
case field of
Email ->
updateForm (\form -> { form | email = value }) model
Password ->
updateForm (\form -> { form | password = value }) model
viewInput : Model -> ValidatedField -> String -> String -> String -> Html Msg
viewInput model formField labelName inputType inputName =
let
what =
case formField of
Email ->
model.form.email
Password ->
model.form.password
lis =
List.map (\err -> viewProblem model formField err) model.problems
in
label
[ class "" ]
[ text labelName
, input
[ type_ inputType
, placeholder inputName
, onInput <| SetField formField
, value what
, class "form-control"
]
[]
, ul [] lis
]
type Msg
= SubmittedDetails
| SetField ValidatedField String
| GotResponse (Result Http.Error Response)
| GotSession Session
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
let
problemList =
validate model.form
in
case msg of
SubmittedDetails ->
case problemList of
[] ->
-- send data to the server
-- receive server response
-- trigger command to handle or consume response
( { model | problems = [] }
, login model
)
problems ->
( { model | problems = problems }
, Cmd.none
)
SetField field value ->
( model
|> setField field value
|> setErrors problemList
, Cmd.none
)
GotResponse resp ->
case resp of
Ok successData ->
( model
, Cmd.batch [ Session.login successData, Route.loadPage Route.Home ]
)
Err err ->
let
errorMsg =
informHttpError err
in
( { model | problems = [ ServerError errorMsg ] }
, Cmd.none
)
GotSession session ->
( { model | session = session }
, Navigation.load "/home"
)
-- tiny helper function to update the form in the session
updateForm : (Form -> Form) -> Model -> Model
updateForm transform model =
{ model | form = transform model.form }
-- Subscriptions
subscriptions : Model -> Sub Msg
subscriptions model =
Session.changes GotSession (Session.navKey model.session)
-- Handle the Form
type ValidatedField
= Email
| Password
-- To ensure we only trim the form when the user is done
type TrimmedForm
= Trimmed Form
fieldsToValidate : List ValidatedField
fieldsToValidate =
[ Email
, Password
]
-- trim and validate form
validate : Form -> List Problem
validate form =
let
trimmedForm =
trimFields form
in
case List.concatMap (validateField trimmedForm) fieldsToValidate of
[] ->
[]
problems ->
problems
-- validateField
validateField : TrimmedForm -> ValidatedField -> List Problem
validateField (Trimmed form) field =
List.map (InvalidEntry field) <|
case field of
Email ->
if String.isEmpty form.email then
[ "email can't be blank." ]
else
[]
Password ->
if String.isEmpty form.password then
[ "password can't be blank." ]
else if String.length form.password < 8 then
[ "password should be at least 8 characters long." ]
else
[]
-- trimFields on demand
trimFields : Form -> TrimmedForm
trimFields form =
Trimmed
{ email = String.trim form.email
, password = String.trim form.password
}
-- Exported Session Builder
toSession : Model -> Session
toSession model =
model.session
-- http
login : Model -> Cmd Msg
login model =
Http.request
{ url = endPoint [ "auth", "login" ]
, headers = [ Http.header "Origin" "http://localhost:5000" ]
, body = Http.jsonBody (encodeLogin model)
, expect = Http.expectJson GotResponse decodeResponse
, method = "POST"
, timeout = Nothing
, tracker = Nothing
}
encodeLogin : Model -> Encode.Value
encodeLogin { form } =
Encode.object
[ ( "email", Encode.string form.email )
, ( "password", Encode.string form.password )
]
| true | module Page.Login exposing (Model, Msg, init, subscriptions, toSession, update, view)
import Browser.Navigation as Navigation exposing (load)
import Helper exposing (Response, decodeResponse, endPoint, informHttpError)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Http
import Json.Encode as Encode
import Route exposing (Route)
import Session exposing (Session)
import Url.Builder as Builder
import User exposing (Profile)
init : Session -> ( Model, Cmd Msg )
init session =
let
cmd =
case Session.cred session of
Just cred ->
Route.replaceUrl (Session.navKey session) Route.Home
Nothing ->
Cmd.none
in
( { session = session
, problems = []
, form =
{ email = ""
, password = ""
}
}
, cmd
)
type alias Model =
{ session : Session
, form : Form
, problems : List Problem
}
type Problem
= InvalidEntry ValidatedField String
| ServerError String
-- VIEW
view : Model -> { title : String, content : Html Msg }
view model =
{ title = "Eat Right - Login"
, content = loginView model
}
type alias Form =
{ email : String
, password : String
}
loginView : Model -> Html Msg
loginView model =
div [ class "container" ]
[ div [ class "card .login-card" ]
[ div [ class "card-body" ]
[ p [ class "validation-problem" ]
(List.map (\str -> viewServerError str) model.problems)
, loginForm model
]
]
]
loginForm : Model -> Html Msg
loginForm model =
div [ class "login-form" ]
[ h3 [ class "card-title" ] [ text "Login" ]
, div []
[ div [ class "form-group" ]
[ div [] [ viewInput model Email "Email" "text" "PI:EMAIL:<EMAIL>END_PI" ]
, div [] [ viewInput model Password "Password" "password" "PI:PASSWORD:<PASSWORD>END_PI*******" ]
, div []
[ button [ class "btn btn-primary", onClick SubmittedDetails ] [ text "LOGIN" ] ]
]
]
]
viewServerError : Problem -> Html Msg
viewServerError problem =
case problem of
ServerError str ->
text str
_ ->
text ""
viewProblem : Model -> ValidatedField -> Problem -> Html msg
viewProblem model formfield problem =
let
errorMsg =
case problem of
InvalidEntry f str ->
if f == formfield then
str
else
""
ServerError _ ->
""
in
if String.length errorMsg > 1 then
p [ class "validation-problem" ] [ text errorMsg ]
else
text ""
setErrors : List Problem -> Model -> Model
setErrors problems model =
{ model | problems = problems }
setField : ValidatedField -> String -> Model -> Model
setField field value model =
case field of
Email ->
updateForm (\form -> { form | email = value }) model
Password ->
updateForm (\form -> { form | password = value }) model
viewInput : Model -> ValidatedField -> String -> String -> String -> Html Msg
viewInput model formField labelName inputType inputName =
let
what =
case formField of
Email ->
model.form.email
Password ->
model.form.password
lis =
List.map (\err -> viewProblem model formField err) model.problems
in
label
[ class "" ]
[ text labelName
, input
[ type_ inputType
, placeholder inputName
, onInput <| SetField formField
, value what
, class "form-control"
]
[]
, ul [] lis
]
type Msg
= SubmittedDetails
| SetField ValidatedField String
| GotResponse (Result Http.Error Response)
| GotSession Session
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
let
problemList =
validate model.form
in
case msg of
SubmittedDetails ->
case problemList of
[] ->
-- send data to the server
-- receive server response
-- trigger command to handle or consume response
( { model | problems = [] }
, login model
)
problems ->
( { model | problems = problems }
, Cmd.none
)
SetField field value ->
( model
|> setField field value
|> setErrors problemList
, Cmd.none
)
GotResponse resp ->
case resp of
Ok successData ->
( model
, Cmd.batch [ Session.login successData, Route.loadPage Route.Home ]
)
Err err ->
let
errorMsg =
informHttpError err
in
( { model | problems = [ ServerError errorMsg ] }
, Cmd.none
)
GotSession session ->
( { model | session = session }
, Navigation.load "/home"
)
-- tiny helper function to update the form in the session
updateForm : (Form -> Form) -> Model -> Model
updateForm transform model =
{ model | form = transform model.form }
-- Subscriptions
subscriptions : Model -> Sub Msg
subscriptions model =
Session.changes GotSession (Session.navKey model.session)
-- Handle the Form
type ValidatedField
= Email
| Password
-- To ensure we only trim the form when the user is done
type TrimmedForm
= Trimmed Form
fieldsToValidate : List ValidatedField
fieldsToValidate =
[ Email
, Password
]
-- trim and validate form
validate : Form -> List Problem
validate form =
let
trimmedForm =
trimFields form
in
case List.concatMap (validateField trimmedForm) fieldsToValidate of
[] ->
[]
problems ->
problems
-- validateField
validateField : TrimmedForm -> ValidatedField -> List Problem
validateField (Trimmed form) field =
List.map (InvalidEntry field) <|
case field of
Email ->
if String.isEmpty form.email then
[ "email can't be blank." ]
else
[]
Password ->
if String.isEmpty form.password then
[ "password can't be blank." ]
else if String.length form.password < 8 then
[ "password should be at least 8 characters long." ]
else
[]
-- trimFields on demand
trimFields : Form -> TrimmedForm
trimFields form =
Trimmed
{ email = String.trim form.email
, password = String.trim form.password
}
-- Exported Session Builder
toSession : Model -> Session
toSession model =
model.session
-- http
login : Model -> Cmd Msg
login model =
Http.request
{ url = endPoint [ "auth", "login" ]
, headers = [ Http.header "Origin" "http://localhost:5000" ]
, body = Http.jsonBody (encodeLogin model)
, expect = Http.expectJson GotResponse decodeResponse
, method = "POST"
, timeout = Nothing
, tracker = Nothing
}
encodeLogin : Model -> Encode.Value
encodeLogin { form } =
Encode.object
[ ( "email", Encode.string form.email )
, ( "password", Encode.string form.password )
]
| elm |
[
{
"context": "me/6/22103l.jpg)\n\nI finished Cross Game yesterday. Sam had suggested it to me. I'm surprised how heavily",
"end": 496,
"score": 0.5829942226,
"start": 493,
"tag": "NAME",
"value": "Sam"
},
{
"context": "g a close friend in real life I can talk to anime. David and Samarth have gotten into it too, it's awesome",
"end": 656,
"score": 0.9982308149,
"start": 651,
"tag": "NAME",
"value": "David"
},
{
"context": "friend in real life I can talk to anime. David and Samarth have gotten into it too, it's awesome.\nBeing a sp",
"end": 668,
"score": 0.9978985786,
"start": 661,
"tag": "NAME",
"value": "Samarth"
},
{
"context": "ey introduced us to two very important characters: Kou, the protragonist, and his childhood friend, Waka",
"end": 1052,
"score": 0.804191649,
"start": 1049,
"tag": "NAME",
"value": "Kou"
},
{
"context": ": Kou, the protragonist, and his childhood friend, Wakaba. Despite having only 20min to work with, Wakaba's",
"end": 1104,
"score": 0.7841370702,
"start": 1098,
"tag": "NAME",
"value": "Wakaba"
},
{
"context": "rk with, Wakaba's character captivated all of us (David, Samarth, Sam and I). She was very likable to beg",
"end": 1192,
"score": 0.9989308715,
"start": 1187,
"tag": "NAME",
"value": "David"
},
{
"context": "h, Wakaba's character captivated all of us (David, Samarth, Sam and I). She was very likable to begin with, ",
"end": 1201,
"score": 0.9958310127,
"start": 1194,
"tag": "NAME",
"value": "Samarth"
},
{
"context": "'s character captivated all of us (David, Samarth, Sam and I). She was very likable to begin with, she a",
"end": 1206,
"score": 0.9915962815,
"start": 1203,
"tag": "NAME",
"value": "Sam"
},
{
"context": " from the get-go. We see that she is interested in Kou as more than a friend, despite them only being ",
"end": 1343,
"score": 0.5068118572,
"start": 1342,
"tag": "NAME",
"value": "K"
},
{
"context": "oduced to Aoba, the main heroine of the story, and Akaishi, his best friend.\nThey kill off Wakaba in t",
"end": 1478,
"score": 0.9827158451,
"start": 1477,
"tag": "NAME",
"value": "A"
},
{
"context": "s after that summer, and the story revolves around Kou, Aoba, Akaishi (to a lesser extent), and the pe",
"end": 2159,
"score": 0.5834592581,
"start": 2158,
"tag": "NAME",
"value": "K"
},
{
"context": "ble for people on either side of that scale, i.e.: Brandon to David (with regards to their level of understa",
"end": 2609,
"score": 0.9916340113,
"start": 2602,
"tag": "NAME",
"value": "Brandon"
},
{
"context": "ple on either side of that scale, i.e.: Brandon to David (with regards to their level of understanding/pas",
"end": 2618,
"score": 0.9512627721,
"start": 2613,
"tag": "NAME",
"value": "David"
},
{
"context": "the show.\nCharacters\n----------\nFirst off, I loved Kou. While he wasn't the hardest character to figure ",
"end": 2870,
"score": 0.9730758667,
"start": 2867,
"tag": "NAME",
"value": "Kou"
},
{
"context": "ar line of character development (cough: Clannad). Kou wasn't like that. He didn't need to explicitly ",
"end": 3123,
"score": 0.8649997115,
"start": 3122,
"tag": "NAME",
"value": "K"
},
{
"context": " way, and you couldn't help but smile when her and Kou butted heads. Ichiyou knew her shit, so I'm ech",
"end": 3664,
"score": 0.528347373,
"start": 3663,
"tag": "NAME",
"value": "K"
},
{
"context": "r shit, so I'm echoing her when I say that she and Kou were very alike. They had a hard time seeing th",
"end": 3748,
"score": 0.5897304416,
"start": 3747,
"tag": "NAME",
"value": "K"
}
] | src/pages/Writing/CrossGame.elm | branjwong/personal-site | 0 | module Writing.CrossGame exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
--
import Writing.Post
import Model exposing (Model, Msg)
postTitle =
"Cross Game"
view : Model -> Html Msg
view model =
Writing.Post.post
postTitle
(Writing.Post.Date 2013 7 12)
(Writing.Post.Time 12 47 "pm")
content
content =
"""
![Cross Game](http://cdn.myanimelist.net/images/anime/6/22103l.jpg)
I finished Cross Game yesterday. Sam had suggested it to me. I'm surprised how heavily Sam's invested himself into anime. It's awesome having a close friend in real life I can talk to anime. David and Samarth have gotten into it too, it's awesome.
Being a sports anime, I was kind of iffy about starting it before. I put it off for awhile. When Sam suggested it, I was like, "hey I recognize that name, if you say it's good, I guess I'll give it a shot." Man, am I glad I did.
Synopsis
--------
Cross Game started very strong.
At first they introduced us to two very important characters: Kou, the protragonist, and his childhood friend, Wakaba. Despite having only 20min to work with, Wakaba's character captivated all of us (David, Samarth, Sam and I). She was very likable to begin with, she appeared to be strong and kind right from the get-go. We see that she is interested in Kou as more than a friend, despite them only being in the 5th grade. We're also introduced to Aoba, the main heroine of the story, and Akaishi, his best friend.
They kill off Wakaba in the first episode.
After building up Wakaba to be such a likable character, she dies, and the first episode ends with both Kou and Akaishi crying about losing someone they both loved. They play it off brilliantly. Kou wanders around the Summer Festival (that him and Wakaba were supposed to attend together after she got back from the swimming camp that ended up being her demise) wondering what to do with himself, and only after seeing Akaishi preying for her and crying, does he realize that all he can really do right now is cry as well.
The second episode resumes some 6 years after that summer, and the story revolves around Kou, Aoba, Akaishi (to a lesser extent), and the people they meet through baseball.
This isn't the first story I've done a review for for nothing. Despite this being a 50 episode long anime, I was enthralled for the whole ride. While the story is mostly character driven, the plot serves as a great device for character development. Even though I'm not a huge fan of baseball, they made enjoyable for people on either side of that scale, i.e.: Brandon to David (with regards to their level of understanding/passion for baseball). While perhaps I would have been happy with less baseball, that's only a personal preference, and in no way should be a fault to the show.
Characters
----------
First off, I loved Kou. While he wasn't the hardest character to figure out, he definitely wasn't the easiest. Too many times in anime, I see characters that are defined (through obvious means) at the beginning, with a linear line of character development (cough: Clannad). Kou wasn't like that. He didn't need to explicitly say how he felt to get the audience to understand. In Cross Game, actions spoke a lot louder than words; the two main characters weren't outwardly honest about their feelings for one another. It was only through speculation of the other characters and what you could see from the way they acted could the audience know the reality of what Aoba and Kou felt for one another.
Aoba was phenomenal in her own right. She was cute in an abrasive way, and you couldn't help but smile when her and Kou butted heads. Ichiyou knew her shit, so I'm echoing her when I say that she and Kou were very alike. They had a hard time seeing the light in each other because, honestly, who sees the light in their own character? Aoba was definitely was one of the stronger female characters I've come to know. She's definitey up there with Kurisu, Ami, and Ohana.
Verdict: 10/10
--------------
"""
| 1830 | module Writing.CrossGame exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
--
import Writing.Post
import Model exposing (Model, Msg)
postTitle =
"Cross Game"
view : Model -> Html Msg
view model =
Writing.Post.post
postTitle
(Writing.Post.Date 2013 7 12)
(Writing.Post.Time 12 47 "pm")
content
content =
"""
![Cross Game](http://cdn.myanimelist.net/images/anime/6/22103l.jpg)
I finished Cross Game yesterday. <NAME> had suggested it to me. I'm surprised how heavily Sam's invested himself into anime. It's awesome having a close friend in real life I can talk to anime. <NAME> and <NAME> have gotten into it too, it's awesome.
Being a sports anime, I was kind of iffy about starting it before. I put it off for awhile. When Sam suggested it, I was like, "hey I recognize that name, if you say it's good, I guess I'll give it a shot." Man, am I glad I did.
Synopsis
--------
Cross Game started very strong.
At first they introduced us to two very important characters: <NAME>, the protragonist, and his childhood friend, <NAME>. Despite having only 20min to work with, Wakaba's character captivated all of us (<NAME>, <NAME>, <NAME> and I). She was very likable to begin with, she appeared to be strong and kind right from the get-go. We see that she is interested in <NAME>ou as more than a friend, despite them only being in the 5th grade. We're also introduced to Aoba, the main heroine of the story, and <NAME>kaishi, his best friend.
They kill off Wakaba in the first episode.
After building up Wakaba to be such a likable character, she dies, and the first episode ends with both Kou and Akaishi crying about losing someone they both loved. They play it off brilliantly. Kou wanders around the Summer Festival (that him and Wakaba were supposed to attend together after she got back from the swimming camp that ended up being her demise) wondering what to do with himself, and only after seeing Akaishi preying for her and crying, does he realize that all he can really do right now is cry as well.
The second episode resumes some 6 years after that summer, and the story revolves around <NAME>ou, Aoba, Akaishi (to a lesser extent), and the people they meet through baseball.
This isn't the first story I've done a review for for nothing. Despite this being a 50 episode long anime, I was enthralled for the whole ride. While the story is mostly character driven, the plot serves as a great device for character development. Even though I'm not a huge fan of baseball, they made enjoyable for people on either side of that scale, i.e.: <NAME> to <NAME> (with regards to their level of understanding/passion for baseball). While perhaps I would have been happy with less baseball, that's only a personal preference, and in no way should be a fault to the show.
Characters
----------
First off, I loved <NAME>. While he wasn't the hardest character to figure out, he definitely wasn't the easiest. Too many times in anime, I see characters that are defined (through obvious means) at the beginning, with a linear line of character development (cough: Clannad). <NAME>ou wasn't like that. He didn't need to explicitly say how he felt to get the audience to understand. In Cross Game, actions spoke a lot louder than words; the two main characters weren't outwardly honest about their feelings for one another. It was only through speculation of the other characters and what you could see from the way they acted could the audience know the reality of what Aoba and Kou felt for one another.
Aoba was phenomenal in her own right. She was cute in an abrasive way, and you couldn't help but smile when her and <NAME>ou butted heads. Ichiyou knew her shit, so I'm echoing her when I say that she and <NAME>ou were very alike. They had a hard time seeing the light in each other because, honestly, who sees the light in their own character? Aoba was definitely was one of the stronger female characters I've come to know. She's definitey up there with Kurisu, Ami, and Ohana.
Verdict: 10/10
--------------
"""
| true | module Writing.CrossGame exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
--
import Writing.Post
import Model exposing (Model, Msg)
postTitle =
"Cross Game"
view : Model -> Html Msg
view model =
Writing.Post.post
postTitle
(Writing.Post.Date 2013 7 12)
(Writing.Post.Time 12 47 "pm")
content
content =
"""
![Cross Game](http://cdn.myanimelist.net/images/anime/6/22103l.jpg)
I finished Cross Game yesterday. PI:NAME:<NAME>END_PI had suggested it to me. I'm surprised how heavily Sam's invested himself into anime. It's awesome having a close friend in real life I can talk to anime. PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI have gotten into it too, it's awesome.
Being a sports anime, I was kind of iffy about starting it before. I put it off for awhile. When Sam suggested it, I was like, "hey I recognize that name, if you say it's good, I guess I'll give it a shot." Man, am I glad I did.
Synopsis
--------
Cross Game started very strong.
At first they introduced us to two very important characters: PI:NAME:<NAME>END_PI, the protragonist, and his childhood friend, PI:NAME:<NAME>END_PI. Despite having only 20min to work with, Wakaba's character captivated all of us (PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI and I). She was very likable to begin with, she appeared to be strong and kind right from the get-go. We see that she is interested in PI:NAME:<NAME>END_PIou as more than a friend, despite them only being in the 5th grade. We're also introduced to Aoba, the main heroine of the story, and PI:NAME:<NAME>END_PIkaishi, his best friend.
They kill off Wakaba in the first episode.
After building up Wakaba to be such a likable character, she dies, and the first episode ends with both Kou and Akaishi crying about losing someone they both loved. They play it off brilliantly. Kou wanders around the Summer Festival (that him and Wakaba were supposed to attend together after she got back from the swimming camp that ended up being her demise) wondering what to do with himself, and only after seeing Akaishi preying for her and crying, does he realize that all he can really do right now is cry as well.
The second episode resumes some 6 years after that summer, and the story revolves around PI:NAME:<NAME>END_PIou, Aoba, Akaishi (to a lesser extent), and the people they meet through baseball.
This isn't the first story I've done a review for for nothing. Despite this being a 50 episode long anime, I was enthralled for the whole ride. While the story is mostly character driven, the plot serves as a great device for character development. Even though I'm not a huge fan of baseball, they made enjoyable for people on either side of that scale, i.e.: PI:NAME:<NAME>END_PI to PI:NAME:<NAME>END_PI (with regards to their level of understanding/passion for baseball). While perhaps I would have been happy with less baseball, that's only a personal preference, and in no way should be a fault to the show.
Characters
----------
First off, I loved PI:NAME:<NAME>END_PI. While he wasn't the hardest character to figure out, he definitely wasn't the easiest. Too many times in anime, I see characters that are defined (through obvious means) at the beginning, with a linear line of character development (cough: Clannad). PI:NAME:<NAME>END_PIou wasn't like that. He didn't need to explicitly say how he felt to get the audience to understand. In Cross Game, actions spoke a lot louder than words; the two main characters weren't outwardly honest about their feelings for one another. It was only through speculation of the other characters and what you could see from the way they acted could the audience know the reality of what Aoba and Kou felt for one another.
Aoba was phenomenal in her own right. She was cute in an abrasive way, and you couldn't help but smile when her and PI:NAME:<NAME>END_PIou butted heads. Ichiyou knew her shit, so I'm echoing her when I say that she and PI:NAME:<NAME>END_PIou were very alike. They had a hard time seeing the light in each other because, honestly, who sees the light in their own character? Aoba was definitely was one of the stronger female characters I've come to know. She's definitey up there with Kurisu, Ami, and Ohana.
Verdict: 10/10
--------------
"""
| elm |
[
{
"context": " , tr []\n [ td [] [text \"Sébastien\"]\n , td [] [text \"GOUTTEBEL\"]\n ",
"end": 3666,
"score": 0.999838233,
"start": 3657,
"tag": "NAME",
"value": "Sébastien"
},
{
"context": "xt \"Sébastien\"]\n , td [] [text \"GOUTTEBEL\"]\n , td [] [text \"président\"]\n ",
"end": 3712,
"score": 0.9998327494,
"start": 3703,
"tag": "NAME",
"value": "GOUTTEBEL"
},
{
"context": "xt \"président\"]\n , td [] [text \"Chautignat\"]\n , td [] [text \"06 45 28 85 8",
"end": 3805,
"score": 0.9994295835,
"start": 3795,
"tag": "NAME",
"value": "Chautignat"
},
{
"context": " , tr []\n [ td [] [text \"Sylvie\"]\n , td [] [text \"GILLARD\"]\n ",
"end": 3942,
"score": 0.9998008609,
"start": 3936,
"tag": "NAME",
"value": "Sylvie"
},
{
"context": "[text \"Sylvie\"]\n , td [] [text \"GILLARD\"]\n , td [] [text \"vice-présiden",
"end": 3986,
"score": 0.9997441173,
"start": 3979,
"tag": "NAME",
"value": "GILLARD"
},
{
"context": " , tr []\n [ td [] [text \"Floriane\"]\n , td [] [text \"CHAZEY\"]\n ",
"end": 4231,
"score": 0.9969611764,
"start": 4223,
"tag": "NAME",
"value": "Floriane"
},
{
"context": "ext \"Floriane\"]\n , td [] [text \"CHAZEY\"]\n , td [] [text \"secrétaire\"]\n",
"end": 4274,
"score": 0.9752659202,
"start": 4268,
"tag": "NAME",
"value": "CHAZEY"
},
{
"context": "secrétaire\"]\n , td [] [text \"Rue George Sand\"]\n , td [] [text \"06 79 79 20 7",
"end": 4373,
"score": 0.9974753261,
"start": 4362,
"tag": "NAME",
"value": "George Sand"
},
{
"context": " , tr []\n [ td [] [text \"Catherine\"]\n , td [] [text \"MAURY\"]\n ",
"end": 4513,
"score": 0.9992406368,
"start": 4504,
"tag": "NAME",
"value": "Catherine"
},
{
"context": "xt \"Catherine\"]\n , td [] [text \"MAURY\"]\n , td [] [text \"trésorière\"]\n",
"end": 4555,
"score": 0.9922471642,
"start": 4550,
"tag": "NAME",
"value": "MAURY"
},
{
"context": " , tr []\n [ td [] [text \"Joséphine\"]\n , td [] [text \"LANARO\"]\n ",
"end": 4801,
"score": 0.9993669391,
"start": 4792,
"tag": "NAME",
"value": "Joséphine"
},
{
"context": "xt \"Joséphine\"]\n , td [] [text \"LANARO\"]\n , td [] [text \"régisseur\"]\n ",
"end": 4844,
"score": 0.9958075881,
"start": 4838,
"tag": "NAME",
"value": "LANARO"
},
{
"context": "\"régisseur\"]\n , td [] [text \"Allée de la Plage\"]\n , td [] [text \"0",
"end": 4932,
"score": 0.5975009203,
"start": 4930,
"tag": "NAME",
"value": "ée"
},
{
"context": " , tr []\n [ td [] [text \"Monique\"]\n , td [] [text \"PICOT\"]\n ",
"end": 5082,
"score": 0.970110774,
"start": 5075,
"tag": "NAME",
"value": "Monique"
},
{
"context": "text \"Monique\"]\n , td [] [text \"PICOT\"]\n , td [] [text \"régisseur sup",
"end": 5124,
"score": 0.9927037358,
"start": 5119,
"tag": "NAME",
"value": "PICOT"
},
{
"context": " , tr []\n [ td [] [text \"Véronique\"]\n , td [] [text \"DEBOU",
"end": 5362,
"score": 0.6805111766,
"start": 5361,
"tag": "NAME",
"value": "V"
},
{
"context": "ipale\"]\n , td [] [text \"Rue de Besse\"]\n , td [] [text \"06 28 06 81 7",
"end": 5521,
"score": 0.8094572425,
"start": 5517,
"tag": "NAME",
"value": "esse"
},
{
"context": " , tr []\n [ td [] [text \"Christelle\"]\n , td [] [text \"ROUX\"]\n ",
"end": 5662,
"score": 0.9985225201,
"start": 5652,
"tag": "NAME",
"value": "Christelle"
},
{
"context": "t \"Christelle\"]\n , td [] [text \"ROUX\"]\n , td [] [text \"conseillère m",
"end": 5703,
"score": 0.9598062038,
"start": 5699,
"tag": "NAME",
"value": "ROUX"
},
{
"context": " , tr []\n [ td [] [text \"Paulette\"]\n , td [] [text \"BENATEK\"]\n ",
"end": 5953,
"score": 0.9301905036,
"start": 5945,
"tag": "NAME",
"value": "Paulette"
},
{
"context": "ext \"Paulette\"]\n , td [] [text \"BENATEK\"]\n , td [] [text \"membre nommé\"",
"end": 5997,
"score": 0.9977266192,
"start": 5990,
"tag": "NAME",
"value": "BENATEK"
},
{
"context": " , tr []\n [ td [] [text \"Olivier\"]\n , td [] [text \"DHAINAUT\"]\n ",
"end": 6231,
"score": 0.9997384548,
"start": 6224,
"tag": "NAME",
"value": "Olivier"
},
{
"context": "text \"Olivier\"]\n , td [] [text \"DHAINAUT\"]\n , td [] [text \"membre nommé\"",
"end": 6276,
"score": 0.9986143112,
"start": 6268,
"tag": "NAME",
"value": "DHAINAUT"
},
{
"context": "\"membre nommé\"]\n , td [] [text \"Groire\"]\n , td [] [text \"06 99 40 17 0",
"end": 6368,
"score": 0.9988628626,
"start": 6362,
"tag": "NAME",
"value": "Groire"
},
{
"context": " , tr []\n [ td [] [text \"Suzanne\"]\n , td [] [text \"PLANEIX\"]\n ",
"end": 6506,
"score": 0.8814409375,
"start": 6499,
"tag": "NAME",
"value": "Suzanne"
},
{
"context": " ]\n ]\n\n\n --, p [] [text \"Président: Sébastien GOUTTEBEL\"]\n --, p [] [text \"Vice-présidente: Sylvie ",
"end": 6812,
"score": 0.9998850822,
"start": 6793,
"tag": "NAME",
"value": "Sébastien GOUTTEBEL"
},
{
"context": "OUTTEBEL\"]\n --, p [] [text \"Vice-présidente: Sylvie GILLARD\"]\n --, p [] [text \"Membres: Véronique DEBOU",
"end": 6869,
"score": 0.999889195,
"start": 6855,
"tag": "NAME",
"value": "Sylvie GILLARD"
},
{
"context": ": Sylvie GILLARD\"]\n --, p [] [text \"Membres: Véronique DEBOUT, Joséphine LANARO, Cathy MAURY\"]\n --, p [] ",
"end": 6920,
"score": 0.999889493,
"start": 6904,
"tag": "NAME",
"value": "Véronique DEBOUT"
},
{
"context": "\n --, p [] [text \"Membres: Véronique DEBOUT, Joséphine LANARO, Cathy MAURY\"]\n --, p [] [text \"Régie : Jos",
"end": 6938,
"score": 0.9998884201,
"start": 6922,
"tag": "NAME",
"value": "Joséphine LANARO"
},
{
"context": "text \"Membres: Véronique DEBOUT, Joséphine LANARO, Cathy MAURY\"]\n --, p [] [text \"Régie : Joséphine LANARO",
"end": 6951,
"score": 0.9998801351,
"start": 6940,
"tag": "NAME",
"value": "Cathy MAURY"
},
{
"context": "NARO, Cathy MAURY\"]\n --, p [] [text \"Régie : Joséphine LANARO\"]\n --, p [] [text \"Membres non élus désigné",
"end": 7001,
"score": 0.9998746514,
"start": 6985,
"tag": "NAME",
"value": "Joséphine LANARO"
},
{
"context": "aire parmi les Murolais:\"]\n --, p [] [text \"Paulette Benatek, Floriane Chazet-Fillon, Olivier Dhainaut, Moniqu",
"end": 7127,
"score": 0.9998889565,
"start": 7111,
"tag": "NAME",
"value": "Paulette Benatek"
},
{
"context": "rolais:\"]\n --, p [] [text \"Paulette Benatek, Floriane Chazet-Fillon, Olivier Dhainaut, Monique Picot et Suzanne Plane",
"end": 7151,
"score": 0.9998351336,
"start": 7129,
"tag": "NAME",
"value": "Floriane Chazet-Fillon"
},
{
"context": "] [text \"Paulette Benatek, Floriane Chazet-Fillon, Olivier Dhainaut, Monique Picot et Suzanne Planeix\"]\n --, p ",
"end": 7169,
"score": 0.9998960495,
"start": 7153,
"tag": "NAME",
"value": "Olivier Dhainaut"
},
{
"context": "Benatek, Floriane Chazet-Fillon, Olivier Dhainaut, Monique Picot et Suzanne Planeix\"]\n --, p [] [text \"+ cin",
"end": 7184,
"score": 0.9998863935,
"start": 7171,
"tag": "NAME",
"value": "Monique Picot"
},
{
"context": " Chazet-Fillon, Olivier Dhainaut, Monique Picot et Suzanne Planeix\"]\n --, p [] [text \"+ cinq membres non élus ",
"end": 7203,
"score": 0.999871254,
"start": 7188,
"tag": "NAME",
"value": "Suzanne Planeix"
}
] | src/CCAS.elm | eniac314/mairieMurol | 0 | module CCAS where
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import StartApp.Simple as StartApp
import List exposing (..)
import String exposing (words, join, cons, uncons)
import Char
import Dict exposing (..)
import Utils exposing (mainMenu,
renderMainMenu,
pageFooter,
capitalize,
renderListImg,
logos,
Action (..),
renderSubMenu,
mail,
site,
link)
-- Model
subMenu = []
initialModel =
{ mainMenu = mainMenu
, subMenu = subMenu
, mainContent = initialContent
}
type alias Category =
{ title : String
, entries : List Entry
}
type alias Entry = (String,String)
-- View
view address model =
div [ id "container"]
[ renderMainMenu ["Mairie","CCAS"]
(.mainMenu model)
, div [ id "subContainer"]
[ .mainContent model
]
, pageFooter
]
contentMap =
fromList []
update action model =
case action of
NoOp -> model
Entry s -> changeMain model s
changeMain model s =
let newContent = get s contentMap
in case newContent of
Nothing -> model
Just c -> { model | mainContent = c }
--Main
main =
StartApp.start
{ model = initialModel
, view = view
, update = update
}
initialContent =
div [ class "subContainerData noSubmenu", id "ccas"]
[ h2 [] [text "Centre Communal d'Action Sociale"]
, p []
[ text "Le CCAS organise chaque année des manifestations
pour petits et grands (Noël des enfants et "
, a [href "/Annee2017.html"]
[text "repas du CCAS"]
, text ")."
]
, p []
[ text "En dehors de ces actions collectives, le CCAS
souhaite être une "
, b [] [text "réponse de proximité"]
, text " aux difficultés
que vous pouvez rencontrer dans votre vie quotidienne:"
]
, ul []
[ li [] [b [] [text "Aide d’urgence"]
, text " grâce à la régie d’avance
(denrées alimentaires, soins médicaux,
transport, fourniture d’énergie…) "
]
, li [] [b [] [text "Secours"], text " ponctuels "]
, li [] [ text "Don de "
, b [] [text "bois"]
, text " de chauffage"]
, li [] [ text "Aide pour les "
, b [] [text "démarches administratives"]
, text " (constitution de
dossiers, mise en relation avec les services sociaux…) "]
, li [] [text "Aide à l’accès à la "
, b [] [text "téléassistance"]
, text " pour
les personnes seules, financée en partie par le
CCAS"
]
]
, p [style [("text-align","center"),("fonts-size","2em")]]
[b [] [text "N’hésitez pas à nous contacter! "]]
, p [style [("text-align","center")]]
[text "Les membres du CCAS se sont engagés à
la confidentialité. "]
, table [id "tableCCAS"]
[ th [colspan 5]
[text "LES MEMBRES DU CENTRE COMMUNAL D’ACTION SOCIALE (CCAS)"]
, tr []
[ td [] [text "Sébastien"]
, td [] [text "GOUTTEBEL"]
, td [] [text "président"]
, td [] [text "Chautignat"]
, td [] [text "06 45 28 85 89"]
]
, tr []
[ td [] [text "Sylvie"]
, td [] [text "GILLARD"]
, td [] [text "vice-présidente"]
, td [] [text "Allée de la Plage"]
, td [] [text "06 60 97 80 58"]
]
, tr []
[ td [] [text "Floriane"]
, td [] [text "CHAZEY"]
, td [] [text "secrétaire"]
, td [] [text "Rue George Sand"]
, td [] [text "06 79 79 20 71"]
]
, tr []
[ td [] [text "Catherine"]
, td [] [text "MAURY"]
, td [] [text "trésorière"]
, td [] [text "Rue de la Vieille Tour"]
, td [] [text "06 45 18 45 35"]
]
, tr []
[ td [] [text "Joséphine"]
, td [] [text "LANARO"]
, td [] [text "régisseur"]
, td [] [text "Allée de la Plage"]
, td [] [text "06 33 65 09 04"]
]
, tr []
[ td [] [text "Monique"]
, td [] [text "PICOT"]
, td [] [text "régisseur suppléante"]
, td [] [text "La Chassagne"]
, td [] [text "04 73 88 65 79"]
]
, tr []
[ td [] [text "Véronique"]
, td [] [text "DEBOUT"]
, td [] [text "conseillère municipale"]
, td [] [text "Rue de Besse"]
, td [] [text "06 28 06 81 77"]
]
, tr []
[ td [] [text "Christelle"]
, td [] [text "ROUX"]
, td [] [text "conseillère municipale"]
, td [] [text "Route de Jassat"]
, td [] [text "06 47 01 43 62"]
]
, tr []
[ td [] [text "Paulette"]
, td [] [text "BENATEK"]
, td [] [text "membre nommé"]
, td [] [text "Chautignat"]
, td [] [text "04 73 88 63 90"]
]
, tr []
[ td [] [text "Olivier"]
, td [] [text "DHAINAUT"]
, td [] [text "membre nommé"]
, td [] [text "Groire"]
, td [] [text "06 99 40 17 08"]
]
, tr []
[ td [] [text "Suzanne"]
, td [] [text "PLANEIX"]
, td [] [text "membre nommé"]
, td [] [text "Rue de la Vieille Tour"]
, td [] [text "04 73 78 65 08"]
]
]
]
--, p [] [text "Président: Sébastien GOUTTEBEL"]
--, p [] [text "Vice-présidente: Sylvie GILLARD"]
--, p [] [text "Membres: Véronique DEBOUT, Joséphine LANARO, Cathy MAURY"]
--, p [] [text "Régie : Joséphine LANARO"]
--, p [] [text "Membres non élus désignés par le maire parmi les Murolais:"]
--, p [] [text "Paulette Benatek, Floriane Chazet-Fillon, Olivier Dhainaut, Monique Picot et Suzanne Planeix"]
--, p [] [text "+ cinq membres non élus à désigner par le maire parmi les Murolais."]
--, h4 [] [text "Mutuelle municipale"]
--, p [] [text "Votre avis compte !"]
--, p [] [text "Lors des élections, vous avez soutenu l’élaboration d’un
-- projet concret pour améliorer votre pouvoir d’achat :"]
--, p [] [text "la création d’une complémentaire santé communale avec un
-- tarif unique et accessible à tous. Une complémentaire
-- santé, rappelons-le, sert à couvrir partiellement ou en
-- totalité les frais médicaux non remboursés par votre
-- assurance maladie. Nous sollicitons aujourd’hui un peu de
-- votre temps pour répondre à quelques questions qui
-- permettront de créer une offre adaptée à vos
-- besoins. Grâce au questionnaire ci-dessous les tarifs des
-- différentes mutuelles seront mis en concurrence. "]
--, p [] [text "La commune lance une consultation pour proposer une
-- complémentaire santé à des tarifs négociés à ses
-- habitants. Proposé aux murolais de se regrouper pour
-- négocier une complémentaire santé à des tarifs préférentiels"]
--, p [] [text "Vous recevrez dans le bulletin municipal un questionnaire
-- à remplir et à retourner pour cerner les
-- besoins et les personnes concernées par ce dispositif,
-- vous pouvez également répondre en ligne au questionnaire
-- en suivant le lien ci-dessous.. "]
--, p [] [text "Une fois les réponses des murolais compilées par
-- la mairie, les élus passeront ensuite à la
-- phase de négociation avec les organismes de santé.
-- \" Plus nous serons nombreux, plus les tarifs
-- seront intéressants.\""]
--, h5 [] [text "Questionnaire Mutuelle municipale"]
--, link "Remplir en ligne" "https://docs.google.com/forms/d/179U2zTrhm6usamB724BMlI197oXq58-TS-3sIi933wM/viewform?usp=send_form"
--]
| 34418 | module CCAS where
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import StartApp.Simple as StartApp
import List exposing (..)
import String exposing (words, join, cons, uncons)
import Char
import Dict exposing (..)
import Utils exposing (mainMenu,
renderMainMenu,
pageFooter,
capitalize,
renderListImg,
logos,
Action (..),
renderSubMenu,
mail,
site,
link)
-- Model
subMenu = []
initialModel =
{ mainMenu = mainMenu
, subMenu = subMenu
, mainContent = initialContent
}
type alias Category =
{ title : String
, entries : List Entry
}
type alias Entry = (String,String)
-- View
view address model =
div [ id "container"]
[ renderMainMenu ["Mairie","CCAS"]
(.mainMenu model)
, div [ id "subContainer"]
[ .mainContent model
]
, pageFooter
]
contentMap =
fromList []
update action model =
case action of
NoOp -> model
Entry s -> changeMain model s
changeMain model s =
let newContent = get s contentMap
in case newContent of
Nothing -> model
Just c -> { model | mainContent = c }
--Main
main =
StartApp.start
{ model = initialModel
, view = view
, update = update
}
initialContent =
div [ class "subContainerData noSubmenu", id "ccas"]
[ h2 [] [text "Centre Communal d'Action Sociale"]
, p []
[ text "Le CCAS organise chaque année des manifestations
pour petits et grands (Noël des enfants et "
, a [href "/Annee2017.html"]
[text "repas du CCAS"]
, text ")."
]
, p []
[ text "En dehors de ces actions collectives, le CCAS
souhaite être une "
, b [] [text "réponse de proximité"]
, text " aux difficultés
que vous pouvez rencontrer dans votre vie quotidienne:"
]
, ul []
[ li [] [b [] [text "Aide d’urgence"]
, text " grâce à la régie d’avance
(denrées alimentaires, soins médicaux,
transport, fourniture d’énergie…) "
]
, li [] [b [] [text "Secours"], text " ponctuels "]
, li [] [ text "Don de "
, b [] [text "bois"]
, text " de chauffage"]
, li [] [ text "Aide pour les "
, b [] [text "démarches administratives"]
, text " (constitution de
dossiers, mise en relation avec les services sociaux…) "]
, li [] [text "Aide à l’accès à la "
, b [] [text "téléassistance"]
, text " pour
les personnes seules, financée en partie par le
CCAS"
]
]
, p [style [("text-align","center"),("fonts-size","2em")]]
[b [] [text "N’hésitez pas à nous contacter! "]]
, p [style [("text-align","center")]]
[text "Les membres du CCAS se sont engagés à
la confidentialité. "]
, table [id "tableCCAS"]
[ th [colspan 5]
[text "LES MEMBRES DU CENTRE COMMUNAL D’ACTION SOCIALE (CCAS)"]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "président"]
, td [] [text "<NAME>"]
, td [] [text "06 45 28 85 89"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "vice-présidente"]
, td [] [text "Allée de la Plage"]
, td [] [text "06 60 97 80 58"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "secrétaire"]
, td [] [text "Rue <NAME>"]
, td [] [text "06 79 79 20 71"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "trésorière"]
, td [] [text "Rue de la Vieille Tour"]
, td [] [text "06 45 18 45 35"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "régisseur"]
, td [] [text "All<NAME> de la Plage"]
, td [] [text "06 33 65 09 04"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "régisseur suppléante"]
, td [] [text "La Chassagne"]
, td [] [text "04 73 88 65 79"]
]
, tr []
[ td [] [text "<NAME>éronique"]
, td [] [text "DEBOUT"]
, td [] [text "conseillère municipale"]
, td [] [text "Rue de B<NAME>"]
, td [] [text "06 28 06 81 77"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "conseillère municipale"]
, td [] [text "Route de Jassat"]
, td [] [text "06 47 01 43 62"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "membre nommé"]
, td [] [text "Chautignat"]
, td [] [text "04 73 88 63 90"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "<NAME>"]
, td [] [text "membre nommé"]
, td [] [text "<NAME>"]
, td [] [text "06 99 40 17 08"]
]
, tr []
[ td [] [text "<NAME>"]
, td [] [text "PLANEIX"]
, td [] [text "membre nommé"]
, td [] [text "Rue de la Vieille Tour"]
, td [] [text "04 73 78 65 08"]
]
]
]
--, p [] [text "Président: <NAME>"]
--, p [] [text "Vice-présidente: <NAME>"]
--, p [] [text "Membres: <NAME>, <NAME>, <NAME>"]
--, p [] [text "Régie : <NAME>"]
--, p [] [text "Membres non élus désignés par le maire parmi les Murolais:"]
--, p [] [text "<NAME>, <NAME>, <NAME>, <NAME> et <NAME>"]
--, p [] [text "+ cinq membres non élus à désigner par le maire parmi les Murolais."]
--, h4 [] [text "Mutuelle municipale"]
--, p [] [text "Votre avis compte !"]
--, p [] [text "Lors des élections, vous avez soutenu l’élaboration d’un
-- projet concret pour améliorer votre pouvoir d’achat :"]
--, p [] [text "la création d’une complémentaire santé communale avec un
-- tarif unique et accessible à tous. Une complémentaire
-- santé, rappelons-le, sert à couvrir partiellement ou en
-- totalité les frais médicaux non remboursés par votre
-- assurance maladie. Nous sollicitons aujourd’hui un peu de
-- votre temps pour répondre à quelques questions qui
-- permettront de créer une offre adaptée à vos
-- besoins. Grâce au questionnaire ci-dessous les tarifs des
-- différentes mutuelles seront mis en concurrence. "]
--, p [] [text "La commune lance une consultation pour proposer une
-- complémentaire santé à des tarifs négociés à ses
-- habitants. Proposé aux murolais de se regrouper pour
-- négocier une complémentaire santé à des tarifs préférentiels"]
--, p [] [text "Vous recevrez dans le bulletin municipal un questionnaire
-- à remplir et à retourner pour cerner les
-- besoins et les personnes concernées par ce dispositif,
-- vous pouvez également répondre en ligne au questionnaire
-- en suivant le lien ci-dessous.. "]
--, p [] [text "Une fois les réponses des murolais compilées par
-- la mairie, les élus passeront ensuite à la
-- phase de négociation avec les organismes de santé.
-- \" Plus nous serons nombreux, plus les tarifs
-- seront intéressants.\""]
--, h5 [] [text "Questionnaire Mutuelle municipale"]
--, link "Remplir en ligne" "https://docs.google.com/forms/d/179U2zTrhm6usamB724BMlI197oXq58-TS-3sIi933wM/viewform?usp=send_form"
--]
| true | module CCAS where
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import StartApp.Simple as StartApp
import List exposing (..)
import String exposing (words, join, cons, uncons)
import Char
import Dict exposing (..)
import Utils exposing (mainMenu,
renderMainMenu,
pageFooter,
capitalize,
renderListImg,
logos,
Action (..),
renderSubMenu,
mail,
site,
link)
-- Model
subMenu = []
initialModel =
{ mainMenu = mainMenu
, subMenu = subMenu
, mainContent = initialContent
}
type alias Category =
{ title : String
, entries : List Entry
}
type alias Entry = (String,String)
-- View
view address model =
div [ id "container"]
[ renderMainMenu ["Mairie","CCAS"]
(.mainMenu model)
, div [ id "subContainer"]
[ .mainContent model
]
, pageFooter
]
contentMap =
fromList []
update action model =
case action of
NoOp -> model
Entry s -> changeMain model s
changeMain model s =
let newContent = get s contentMap
in case newContent of
Nothing -> model
Just c -> { model | mainContent = c }
--Main
main =
StartApp.start
{ model = initialModel
, view = view
, update = update
}
initialContent =
div [ class "subContainerData noSubmenu", id "ccas"]
[ h2 [] [text "Centre Communal d'Action Sociale"]
, p []
[ text "Le CCAS organise chaque année des manifestations
pour petits et grands (Noël des enfants et "
, a [href "/Annee2017.html"]
[text "repas du CCAS"]
, text ")."
]
, p []
[ text "En dehors de ces actions collectives, le CCAS
souhaite être une "
, b [] [text "réponse de proximité"]
, text " aux difficultés
que vous pouvez rencontrer dans votre vie quotidienne:"
]
, ul []
[ li [] [b [] [text "Aide d’urgence"]
, text " grâce à la régie d’avance
(denrées alimentaires, soins médicaux,
transport, fourniture d’énergie…) "
]
, li [] [b [] [text "Secours"], text " ponctuels "]
, li [] [ text "Don de "
, b [] [text "bois"]
, text " de chauffage"]
, li [] [ text "Aide pour les "
, b [] [text "démarches administratives"]
, text " (constitution de
dossiers, mise en relation avec les services sociaux…) "]
, li [] [text "Aide à l’accès à la "
, b [] [text "téléassistance"]
, text " pour
les personnes seules, financée en partie par le
CCAS"
]
]
, p [style [("text-align","center"),("fonts-size","2em")]]
[b [] [text "N’hésitez pas à nous contacter! "]]
, p [style [("text-align","center")]]
[text "Les membres du CCAS se sont engagés à
la confidentialité. "]
, table [id "tableCCAS"]
[ th [colspan 5]
[text "LES MEMBRES DU CENTRE COMMUNAL D’ACTION SOCIALE (CCAS)"]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "président"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "06 45 28 85 89"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "vice-présidente"]
, td [] [text "Allée de la Plage"]
, td [] [text "06 60 97 80 58"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "secrétaire"]
, td [] [text "Rue PI:NAME:<NAME>END_PI"]
, td [] [text "06 79 79 20 71"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "trésorière"]
, td [] [text "Rue de la Vieille Tour"]
, td [] [text "06 45 18 45 35"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "régisseur"]
, td [] [text "AllPI:NAME:<NAME>END_PI de la Plage"]
, td [] [text "06 33 65 09 04"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "régisseur suppléante"]
, td [] [text "La Chassagne"]
, td [] [text "04 73 88 65 79"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PIéronique"]
, td [] [text "DEBOUT"]
, td [] [text "conseillère municipale"]
, td [] [text "Rue de BPI:NAME:<NAME>END_PI"]
, td [] [text "06 28 06 81 77"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "conseillère municipale"]
, td [] [text "Route de Jassat"]
, td [] [text "06 47 01 43 62"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "membre nommé"]
, td [] [text "Chautignat"]
, td [] [text "04 73 88 63 90"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "membre nommé"]
, td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "06 99 40 17 08"]
]
, tr []
[ td [] [text "PI:NAME:<NAME>END_PI"]
, td [] [text "PLANEIX"]
, td [] [text "membre nommé"]
, td [] [text "Rue de la Vieille Tour"]
, td [] [text "04 73 78 65 08"]
]
]
]
--, p [] [text "Président: PI:NAME:<NAME>END_PI"]
--, p [] [text "Vice-présidente: PI:NAME:<NAME>END_PI"]
--, p [] [text "Membres: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI"]
--, p [] [text "Régie : PI:NAME:<NAME>END_PI"]
--, p [] [text "Membres non élus désignés par le maire parmi les Murolais:"]
--, p [] [text "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI et PI:NAME:<NAME>END_PI"]
--, p [] [text "+ cinq membres non élus à désigner par le maire parmi les Murolais."]
--, h4 [] [text "Mutuelle municipale"]
--, p [] [text "Votre avis compte !"]
--, p [] [text "Lors des élections, vous avez soutenu l’élaboration d’un
-- projet concret pour améliorer votre pouvoir d’achat :"]
--, p [] [text "la création d’une complémentaire santé communale avec un
-- tarif unique et accessible à tous. Une complémentaire
-- santé, rappelons-le, sert à couvrir partiellement ou en
-- totalité les frais médicaux non remboursés par votre
-- assurance maladie. Nous sollicitons aujourd’hui un peu de
-- votre temps pour répondre à quelques questions qui
-- permettront de créer une offre adaptée à vos
-- besoins. Grâce au questionnaire ci-dessous les tarifs des
-- différentes mutuelles seront mis en concurrence. "]
--, p [] [text "La commune lance une consultation pour proposer une
-- complémentaire santé à des tarifs négociés à ses
-- habitants. Proposé aux murolais de se regrouper pour
-- négocier une complémentaire santé à des tarifs préférentiels"]
--, p [] [text "Vous recevrez dans le bulletin municipal un questionnaire
-- à remplir et à retourner pour cerner les
-- besoins et les personnes concernées par ce dispositif,
-- vous pouvez également répondre en ligne au questionnaire
-- en suivant le lien ci-dessous.. "]
--, p [] [text "Une fois les réponses des murolais compilées par
-- la mairie, les élus passeront ensuite à la
-- phase de négociation avec les organismes de santé.
-- \" Plus nous serons nombreux, plus les tarifs
-- seront intéressants.\""]
--, h5 [] [text "Questionnaire Mutuelle municipale"]
--, link "Remplir en ligne" "https://docs.google.com/forms/d/179U2zTrhm6usamB724BMlI197oXq58-TS-3sIi933wM/viewform?usp=send_form"
--]
| elm |
[
{
"context": "he version of the OpenAPI document: v1\n Contact: support@coinapi.io\n\n NOTE: This file is auto generated by the open",
"end": 343,
"score": 0.9999236465,
"start": 325,
"tag": "EMAIL",
"value": "support@coinapi.io"
},
{
"context": "d by the openapi-generator.\n https://github.com/openapitools/openapi-generator.git\n Do not edit this file ma",
"end": 442,
"score": 0.999558568,
"start": 430,
"tag": "USERNAME",
"value": "openapitools"
}
] | oeml-sdk/elm/src/Data/Fills.elm | byblakeorriver/coinapi-sdk | 0 | {-
OEML - REST API
This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
The version of the OpenAPI document: v1
Contact: support@coinapi.io
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.Fills exposing (Fills, decoder, encode, encodeWithTag, toString)
import DateOnly exposing (DateOnly)
import Dict exposing (Dict)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (optional, required)
import Json.Encode as Encode
type alias Fills =
{ time : Maybe (DateOnly)
, price : Maybe (Float)
, amount : Maybe (Float)
}
decoder : Decoder Fills
decoder =
Decode.succeed Fills
|> optional "time" (Decode.nullable DateOnly.decoder) Nothing
|> optional "price" (Decode.nullable Decode.float) Nothing
|> optional "amount" (Decode.nullable Decode.float) Nothing
encode : Fills -> Encode.Value
encode =
Encode.object << encodePairs
encodeWithTag : ( String, String ) -> Fills -> Encode.Value
encodeWithTag (tagField, tag) model =
Encode.object <| encodePairs model ++ [ ( tagField, Encode.string tag ) ]
encodePairs : Fills -> List (String, Encode.Value)
encodePairs model =
[ ( "time", Maybe.withDefault Encode.null (Maybe.map DateOnly.encode model.time) )
, ( "price", Maybe.withDefault Encode.null (Maybe.map Encode.float model.price) )
, ( "amount", Maybe.withDefault Encode.null (Maybe.map Encode.float model.amount) )
]
toString : Fills -> String
toString =
Encode.encode 0 << encode
| 1051 | {-
OEML - REST API
This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
The version of the OpenAPI document: v1
Contact: <EMAIL>
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.Fills exposing (Fills, decoder, encode, encodeWithTag, toString)
import DateOnly exposing (DateOnly)
import Dict exposing (Dict)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (optional, required)
import Json.Encode as Encode
type alias Fills =
{ time : Maybe (DateOnly)
, price : Maybe (Float)
, amount : Maybe (Float)
}
decoder : Decoder Fills
decoder =
Decode.succeed Fills
|> optional "time" (Decode.nullable DateOnly.decoder) Nothing
|> optional "price" (Decode.nullable Decode.float) Nothing
|> optional "amount" (Decode.nullable Decode.float) Nothing
encode : Fills -> Encode.Value
encode =
Encode.object << encodePairs
encodeWithTag : ( String, String ) -> Fills -> Encode.Value
encodeWithTag (tagField, tag) model =
Encode.object <| encodePairs model ++ [ ( tagField, Encode.string tag ) ]
encodePairs : Fills -> List (String, Encode.Value)
encodePairs model =
[ ( "time", Maybe.withDefault Encode.null (Maybe.map DateOnly.encode model.time) )
, ( "price", Maybe.withDefault Encode.null (Maybe.map Encode.float model.price) )
, ( "amount", Maybe.withDefault Encode.null (Maybe.map Encode.float model.amount) )
]
toString : Fills -> String
toString =
Encode.encode 0 << encode
| true | {-
OEML - REST API
This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
The version of the OpenAPI document: v1
Contact: PI:EMAIL:<EMAIL>END_PI
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.Fills exposing (Fills, decoder, encode, encodeWithTag, toString)
import DateOnly exposing (DateOnly)
import Dict exposing (Dict)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (optional, required)
import Json.Encode as Encode
type alias Fills =
{ time : Maybe (DateOnly)
, price : Maybe (Float)
, amount : Maybe (Float)
}
decoder : Decoder Fills
decoder =
Decode.succeed Fills
|> optional "time" (Decode.nullable DateOnly.decoder) Nothing
|> optional "price" (Decode.nullable Decode.float) Nothing
|> optional "amount" (Decode.nullable Decode.float) Nothing
encode : Fills -> Encode.Value
encode =
Encode.object << encodePairs
encodeWithTag : ( String, String ) -> Fills -> Encode.Value
encodeWithTag (tagField, tag) model =
Encode.object <| encodePairs model ++ [ ( tagField, Encode.string tag ) ]
encodePairs : Fills -> List (String, Encode.Value)
encodePairs model =
[ ( "time", Maybe.withDefault Encode.null (Maybe.map DateOnly.encode model.time) )
, ( "price", Maybe.withDefault Encode.null (Maybe.map Encode.float model.price) )
, ( "amount", Maybe.withDefault Encode.null (Maybe.map Encode.float model.amount) )
]
toString : Fills -> String
toString =
Encode.encode 0 << encode
| elm |
[
{
"context": " Username\n [ Textfield.ID \"login_username\"\n , Textfield.Hint \"Username\"\n ",
"end": 2105,
"score": 0.9417398572,
"start": 2091,
"tag": "USERNAME",
"value": "login_username"
},
{
"context": "ath = \"/api/manage/login\"\n , username = usernameModel\n , password = passwordModel\n ",
"end": 2889,
"score": 0.9943056703,
"start": 2876,
"tag": "USERNAME",
"value": "usernameModel"
},
{
"context": " username = usernameModel\n , password = passwordModel\n , state = Unauthorized Nothing\n ",
"end": 2928,
"score": 0.9991513491,
"start": 2915,
"tag": "PASSWORD",
"value": "passwordModel"
},
{
"context": " ]\n\n m2 =\n { m1 | username = um, password = pm }\n in\n case authErr of\n ",
"end": 4507,
"score": 0.8962560892,
"start": 4505,
"tag": "USERNAME",
"value": "um"
},
{
"context": " m2 =\n { m1 | username = um, password = pm }\n in\n case authErr of\n Othe",
"end": 4522,
"score": 0.9978394508,
"start": 4520,
"tag": "PASSWORD",
"value": "pm"
},
{
"context": " in\n ( { m2 | username = um }\n , Task.attempt ignore (Dom.",
"end": 5001,
"score": 0.9830653667,
"start": 4999,
"tag": "USERNAME",
"value": "um"
},
{
"context": "er _ wrongUsername)) ->\n if username == wrongUsername then\n Textfield.updateModel\n ",
"end": 5797,
"score": 0.8598778844,
"start": 5784,
"tag": "USERNAME",
"value": "wrongUsername"
}
] | src/login/Login.elm | yizha/article-cms-ui | 2 | module Login
exposing
( Model
, Msg
, view
, update
, init
, subscriptions
, authToken
, logout
)
import Global
import Html exposing (..)
import Html.Attributes exposing (href, class, style, disabled)
import Html.Events exposing (onClick)
import Dom
import Date
import Time
import Http
import Task
import Mouse
import Keyboard
import Json.Decode as Json
import Json.Decode.Extra as JsonExtra
import Common.Debug exposing (debug)
import Common.Util exposing (httpErrorString)
import MDC.Textfield as Textfield
-- MODEL
type alias AuthData =
{ token : String
, expire : Time.Time
, role : Int
}
type AuthError
= NoSuchUser Http.Error String
| WrongPassword Http.Error String
| OtherError Http.Error
authError : Http.Error -> String -> String -> AuthError
authError err username password =
case err of
Http.BadStatus resp ->
case resp.status.code of
403 ->
case resp.body of
"username" ->
NoSuchUser err username
"password" ->
WrongPassword err password
_ ->
OtherError err
_ ->
OtherError err
_ ->
OtherError err
type State
= Authorized AuthData
| Unauthorized (Maybe AuthError)
| InProgress
type alias Model =
{ loginPath : String
, username : Textfield.Model Msg
, password : Textfield.Model Msg
, state : State
, lastActivityTime : Maybe Time.Time
, maxIdleTime : Time.Time
}
authToken : Model -> Maybe String
authToken model =
case model.state of
Authorized data ->
Just data.token
_ ->
Nothing
logout : Model -> ( Model, Cmd Msg )
logout model =
init
init : ( Model, Cmd Msg )
init =
let
usernameModel =
Textfield.init
Username
[ Textfield.ID "login_username"
, Textfield.Hint "Username"
, Textfield.HelpAsValidationMsg True
, Textfield.OnInput (Just UsernameInput)
, Textfield.OnEnter (Just (LoginRequest (Just "login_username")))
]
passwordModel =
Textfield.init
Password
[ Textfield.Type Textfield.Password
, Textfield.ID "login_password"
, Textfield.Hint "Password"
, Textfield.HelpAsValidationMsg True
, Textfield.OnInput (Just PasswordInput)
, Textfield.OnEnter (Just (LoginRequest (Just "login_password")))
]
m =
{ loginPath = "/api/manage/login"
, username = usernameModel
, password = passwordModel
, state = Unauthorized Nothing
, lastActivityTime = Nothing
, maxIdleTime = (Time.minute * 30)
}
in
m ! [ Task.attempt ignore (Dom.focus "login_username") ]
-- ACTION, UPDATE
type Msg
= Ignore
| Username (Textfield.Msg Msg)
| Password (Textfield.Msg Msg)
| UsernameInput String
| PasswordInput String
| LoginRequest (Maybe String)
| LoginResponse (Result Http.Error AuthData)
| UserActivity
| LogUserActivity Time.Time
| CheckIdleTimeout Time.Time
ignore : a -> Msg
ignore =
always Ignore
checkIdleTimeout : Time.Time -> Model -> ( Model, Cmd Msg )
checkIdleTimeout now model =
case model.lastActivityTime of
Just t ->
if now - t > model.maxIdleTime then
init
else
( model, Cmd.none )
Nothing ->
( model, Cmd.none )
handleLoginErr : Http.Error -> Model -> ( Model, Cmd Msg, Global.Event )
handleLoginErr err model =
let
authErr =
authError err model.username.value model.password.value
m1 =
{ model | state = Unauthorized (Just authErr) }
um =
Textfield.updateModel
model.username
[ Textfield.Help ""
, Textfield.Valid True
]
pm =
Textfield.updateModel
model.password
[ Textfield.Help ""
, Textfield.Valid True
]
m2 =
{ m1 | username = um, password = pm }
in
case authErr of
OtherError err ->
( m2, Cmd.none, Global.None )
NoSuchUser _ _ ->
let
um =
Textfield.updateModel
model.username
[ Textfield.Help "No such user!"
, Textfield.Valid False
]
in
( { m2 | username = um }
, Task.attempt ignore (Dom.focus "login_username")
, Global.None
)
WrongPassword _ _ ->
let
pm =
Textfield.updateModel
model.password
[ Textfield.Help "Wrong password!"
, Textfield.Valid False
]
in
( { m2 | password = pm }, Task.attempt ignore (Dom.focus "login_password"), Global.None )
handleUsernameInput : Model -> String -> Textfield.Model Msg
handleUsernameInput model username =
case model.state of
Unauthorized (Just (NoSuchUser _ wrongUsername)) ->
if username == wrongUsername then
Textfield.updateModel
model.username
[ Textfield.Value username
, Textfield.Valid False
, Textfield.Help "No such user!"
]
else
Textfield.updateModel
model.username
[ Textfield.Value username
, Textfield.Valid True
, Textfield.Help ""
]
_ ->
Textfield.updateModel model.username [ Textfield.Value username ]
handlePasswordInput : Model -> String -> Textfield.Model Msg
handlePasswordInput model password =
case model.state of
Unauthorized (Just (WrongPassword _ wrongPassword)) ->
if password == wrongPassword then
Textfield.updateModel
model.password
[ Textfield.Value password
, Textfield.Valid False
, Textfield.Help "Wrong password!"
]
else
Textfield.updateModel
model.password
[ Textfield.Value password
, Textfield.Valid True
, Textfield.Help ""
]
_ ->
(Textfield.updateModel model.password [ Textfield.Value password ])
update : Msg -> Model -> ( Model, Cmd Msg, Global.Event )
update msg model =
case msg of
Ignore ->
( model, Cmd.none, Global.None )
Username tfm ->
let
m =
Textfield.update tfm model.username
in
( { model | username = m }, Cmd.none, Global.None )
Password tfm ->
let
m =
Textfield.update tfm model.password
in
( { model | password = m }, Cmd.none, Global.None )
UsernameInput v ->
let
um =
handleUsernameInput model v
in
( { model | username = um }, Cmd.none, Global.None )
PasswordInput v ->
let
pm =
handlePasswordInput model v
in
( { model | password = pm }, Cmd.none, Global.None )
LoginRequest source ->
if model.username.value /= "" && model.password.value /= "" then
let
task =
case source of
Nothing ->
getAuthData model.loginPath model.username.value model.password.value
Just id ->
Cmd.batch
[ Task.attempt ignore (Dom.blur id)
, getAuthData model.loginPath model.username.value model.password.value
]
in
( debug "login-request" { model | state = InProgress }
, task
, Global.None
)
else
( model, Cmd.none, Global.None )
LoginResponse (Ok authdata) ->
( debug "login-ok" { model | state = Authorized authdata }
, Task.perform LogUserActivity Time.now
, Global.Login model.username.value authdata.token
)
LoginResponse (Err err) ->
handleLoginErr err model
UserActivity ->
( model, Task.perform LogUserActivity Time.now, Global.None )
LogUserActivity time ->
( { model | lastActivityTime = Just time }, Cmd.none, Global.None )
CheckIdleTimeout time ->
let
( m, c ) =
checkIdleTimeout time model
in
( debug "login-check" m, c, Global.None )
-- VIEW
disableLoginBtn : Model -> Bool
disableLoginBtn model =
model.username.value == "" || model.password.value == "" || model.state == InProgress
noSuchUserErr : Model -> String
noSuchUserErr model =
case model.state of
Unauthorized (Just (NoSuchUser _ username)) ->
if model.username.value == username then
"No such user!"
else
""
_ ->
""
wrongPasswordErr : Model -> String
wrongPasswordErr model =
case model.state of
Unauthorized (Just (WrongPassword _ password)) ->
if model.password.value == password then
"Wrong password!"
else
""
_ ->
""
otherErr : Model -> String
otherErr model =
case model.state of
Unauthorized (Just (OtherError err)) ->
httpErrorString model.loginPath err
_ ->
""
view : Model -> Html Msg
view model =
let
um =
(Textfield.updateModel
model.username
[ Textfield.Disabled (model.state == InProgress) ]
)
pm =
(Textfield.updateModel
model.password
[ Textfield.Disabled (model.state == InProgress) ]
)
in
ul [ style [ ( "list-style-type", "none" ) ] ]
[ li []
[ div
[ style
[ ( "padding", "8rem 2rem 2rem 2rem" )
, ( "display", "flex" )
, ( "align-items", "center" )
, ( "justify-content", "center" )
]
]
[ ul [ class "mdc-list" ]
[ li [ class "mdc-list-item" ] [ Textfield.view um ]
, li [ class "mdc-list-item" ] []
, li [ class "mdc-list-item" ] [ Textfield.view pm ]
, li [ class "mdc-list-item" ] []
, li [ class "mdc-list-item" ]
[ button
[ class "mdc-button mdc-button--raised"
, disabled (disableLoginBtn model)
, onClick (LoginRequest Nothing)
]
[ text "Login" ]
]
]
]
]
, li []
[ p [ style [ ( "color", "red" ) ] ]
[ text (otherErr model) ]
]
]
-- SUBSCRIPTIONS
subscriptions : Model -> Sub Msg
subscriptions model =
case model.state of
Authorized _ ->
Sub.batch
[ Mouse.clicks (\_ -> UserActivity)
, Keyboard.presses (\_ -> UserActivity)
, Time.every Time.minute CheckIdleTimeout
]
_ ->
Sub.none
-- HTTP
getAuthData : String -> String -> String -> Cmd Msg
getAuthData path username password =
let
url =
path ++ "?username=" ++ username ++ "&password=" ++ password
in
Http.send LoginResponse (Http.get url decodeAuthData)
decodeAuthData : Json.Decoder AuthData
decodeAuthData =
Json.map3 AuthData
(Json.field "token" Json.string)
(Json.map Date.toTime (Json.field "expire" JsonExtra.date))
(Json.field "role" Json.int)
| 8494 | module Login
exposing
( Model
, Msg
, view
, update
, init
, subscriptions
, authToken
, logout
)
import Global
import Html exposing (..)
import Html.Attributes exposing (href, class, style, disabled)
import Html.Events exposing (onClick)
import Dom
import Date
import Time
import Http
import Task
import Mouse
import Keyboard
import Json.Decode as Json
import Json.Decode.Extra as JsonExtra
import Common.Debug exposing (debug)
import Common.Util exposing (httpErrorString)
import MDC.Textfield as Textfield
-- MODEL
type alias AuthData =
{ token : String
, expire : Time.Time
, role : Int
}
type AuthError
= NoSuchUser Http.Error String
| WrongPassword Http.Error String
| OtherError Http.Error
authError : Http.Error -> String -> String -> AuthError
authError err username password =
case err of
Http.BadStatus resp ->
case resp.status.code of
403 ->
case resp.body of
"username" ->
NoSuchUser err username
"password" ->
WrongPassword err password
_ ->
OtherError err
_ ->
OtherError err
_ ->
OtherError err
type State
= Authorized AuthData
| Unauthorized (Maybe AuthError)
| InProgress
type alias Model =
{ loginPath : String
, username : Textfield.Model Msg
, password : Textfield.Model Msg
, state : State
, lastActivityTime : Maybe Time.Time
, maxIdleTime : Time.Time
}
authToken : Model -> Maybe String
authToken model =
case model.state of
Authorized data ->
Just data.token
_ ->
Nothing
logout : Model -> ( Model, Cmd Msg )
logout model =
init
init : ( Model, Cmd Msg )
init =
let
usernameModel =
Textfield.init
Username
[ Textfield.ID "login_username"
, Textfield.Hint "Username"
, Textfield.HelpAsValidationMsg True
, Textfield.OnInput (Just UsernameInput)
, Textfield.OnEnter (Just (LoginRequest (Just "login_username")))
]
passwordModel =
Textfield.init
Password
[ Textfield.Type Textfield.Password
, Textfield.ID "login_password"
, Textfield.Hint "Password"
, Textfield.HelpAsValidationMsg True
, Textfield.OnInput (Just PasswordInput)
, Textfield.OnEnter (Just (LoginRequest (Just "login_password")))
]
m =
{ loginPath = "/api/manage/login"
, username = usernameModel
, password = <PASSWORD>
, state = Unauthorized Nothing
, lastActivityTime = Nothing
, maxIdleTime = (Time.minute * 30)
}
in
m ! [ Task.attempt ignore (Dom.focus "login_username") ]
-- ACTION, UPDATE
type Msg
= Ignore
| Username (Textfield.Msg Msg)
| Password (Textfield.Msg Msg)
| UsernameInput String
| PasswordInput String
| LoginRequest (Maybe String)
| LoginResponse (Result Http.Error AuthData)
| UserActivity
| LogUserActivity Time.Time
| CheckIdleTimeout Time.Time
ignore : a -> Msg
ignore =
always Ignore
checkIdleTimeout : Time.Time -> Model -> ( Model, Cmd Msg )
checkIdleTimeout now model =
case model.lastActivityTime of
Just t ->
if now - t > model.maxIdleTime then
init
else
( model, Cmd.none )
Nothing ->
( model, Cmd.none )
handleLoginErr : Http.Error -> Model -> ( Model, Cmd Msg, Global.Event )
handleLoginErr err model =
let
authErr =
authError err model.username.value model.password.value
m1 =
{ model | state = Unauthorized (Just authErr) }
um =
Textfield.updateModel
model.username
[ Textfield.Help ""
, Textfield.Valid True
]
pm =
Textfield.updateModel
model.password
[ Textfield.Help ""
, Textfield.Valid True
]
m2 =
{ m1 | username = um, password = <PASSWORD> }
in
case authErr of
OtherError err ->
( m2, Cmd.none, Global.None )
NoSuchUser _ _ ->
let
um =
Textfield.updateModel
model.username
[ Textfield.Help "No such user!"
, Textfield.Valid False
]
in
( { m2 | username = um }
, Task.attempt ignore (Dom.focus "login_username")
, Global.None
)
WrongPassword _ _ ->
let
pm =
Textfield.updateModel
model.password
[ Textfield.Help "Wrong password!"
, Textfield.Valid False
]
in
( { m2 | password = pm }, Task.attempt ignore (Dom.focus "login_password"), Global.None )
handleUsernameInput : Model -> String -> Textfield.Model Msg
handleUsernameInput model username =
case model.state of
Unauthorized (Just (NoSuchUser _ wrongUsername)) ->
if username == wrongUsername then
Textfield.updateModel
model.username
[ Textfield.Value username
, Textfield.Valid False
, Textfield.Help "No such user!"
]
else
Textfield.updateModel
model.username
[ Textfield.Value username
, Textfield.Valid True
, Textfield.Help ""
]
_ ->
Textfield.updateModel model.username [ Textfield.Value username ]
handlePasswordInput : Model -> String -> Textfield.Model Msg
handlePasswordInput model password =
case model.state of
Unauthorized (Just (WrongPassword _ wrongPassword)) ->
if password == wrongPassword then
Textfield.updateModel
model.password
[ Textfield.Value password
, Textfield.Valid False
, Textfield.Help "Wrong password!"
]
else
Textfield.updateModel
model.password
[ Textfield.Value password
, Textfield.Valid True
, Textfield.Help ""
]
_ ->
(Textfield.updateModel model.password [ Textfield.Value password ])
update : Msg -> Model -> ( Model, Cmd Msg, Global.Event )
update msg model =
case msg of
Ignore ->
( model, Cmd.none, Global.None )
Username tfm ->
let
m =
Textfield.update tfm model.username
in
( { model | username = m }, Cmd.none, Global.None )
Password tfm ->
let
m =
Textfield.update tfm model.password
in
( { model | password = m }, Cmd.none, Global.None )
UsernameInput v ->
let
um =
handleUsernameInput model v
in
( { model | username = um }, Cmd.none, Global.None )
PasswordInput v ->
let
pm =
handlePasswordInput model v
in
( { model | password = pm }, Cmd.none, Global.None )
LoginRequest source ->
if model.username.value /= "" && model.password.value /= "" then
let
task =
case source of
Nothing ->
getAuthData model.loginPath model.username.value model.password.value
Just id ->
Cmd.batch
[ Task.attempt ignore (Dom.blur id)
, getAuthData model.loginPath model.username.value model.password.value
]
in
( debug "login-request" { model | state = InProgress }
, task
, Global.None
)
else
( model, Cmd.none, Global.None )
LoginResponse (Ok authdata) ->
( debug "login-ok" { model | state = Authorized authdata }
, Task.perform LogUserActivity Time.now
, Global.Login model.username.value authdata.token
)
LoginResponse (Err err) ->
handleLoginErr err model
UserActivity ->
( model, Task.perform LogUserActivity Time.now, Global.None )
LogUserActivity time ->
( { model | lastActivityTime = Just time }, Cmd.none, Global.None )
CheckIdleTimeout time ->
let
( m, c ) =
checkIdleTimeout time model
in
( debug "login-check" m, c, Global.None )
-- VIEW
disableLoginBtn : Model -> Bool
disableLoginBtn model =
model.username.value == "" || model.password.value == "" || model.state == InProgress
noSuchUserErr : Model -> String
noSuchUserErr model =
case model.state of
Unauthorized (Just (NoSuchUser _ username)) ->
if model.username.value == username then
"No such user!"
else
""
_ ->
""
wrongPasswordErr : Model -> String
wrongPasswordErr model =
case model.state of
Unauthorized (Just (WrongPassword _ password)) ->
if model.password.value == password then
"Wrong password!"
else
""
_ ->
""
otherErr : Model -> String
otherErr model =
case model.state of
Unauthorized (Just (OtherError err)) ->
httpErrorString model.loginPath err
_ ->
""
view : Model -> Html Msg
view model =
let
um =
(Textfield.updateModel
model.username
[ Textfield.Disabled (model.state == InProgress) ]
)
pm =
(Textfield.updateModel
model.password
[ Textfield.Disabled (model.state == InProgress) ]
)
in
ul [ style [ ( "list-style-type", "none" ) ] ]
[ li []
[ div
[ style
[ ( "padding", "8rem 2rem 2rem 2rem" )
, ( "display", "flex" )
, ( "align-items", "center" )
, ( "justify-content", "center" )
]
]
[ ul [ class "mdc-list" ]
[ li [ class "mdc-list-item" ] [ Textfield.view um ]
, li [ class "mdc-list-item" ] []
, li [ class "mdc-list-item" ] [ Textfield.view pm ]
, li [ class "mdc-list-item" ] []
, li [ class "mdc-list-item" ]
[ button
[ class "mdc-button mdc-button--raised"
, disabled (disableLoginBtn model)
, onClick (LoginRequest Nothing)
]
[ text "Login" ]
]
]
]
]
, li []
[ p [ style [ ( "color", "red" ) ] ]
[ text (otherErr model) ]
]
]
-- SUBSCRIPTIONS
subscriptions : Model -> Sub Msg
subscriptions model =
case model.state of
Authorized _ ->
Sub.batch
[ Mouse.clicks (\_ -> UserActivity)
, Keyboard.presses (\_ -> UserActivity)
, Time.every Time.minute CheckIdleTimeout
]
_ ->
Sub.none
-- HTTP
getAuthData : String -> String -> String -> Cmd Msg
getAuthData path username password =
let
url =
path ++ "?username=" ++ username ++ "&password=" ++ password
in
Http.send LoginResponse (Http.get url decodeAuthData)
decodeAuthData : Json.Decoder AuthData
decodeAuthData =
Json.map3 AuthData
(Json.field "token" Json.string)
(Json.map Date.toTime (Json.field "expire" JsonExtra.date))
(Json.field "role" Json.int)
| true | module Login
exposing
( Model
, Msg
, view
, update
, init
, subscriptions
, authToken
, logout
)
import Global
import Html exposing (..)
import Html.Attributes exposing (href, class, style, disabled)
import Html.Events exposing (onClick)
import Dom
import Date
import Time
import Http
import Task
import Mouse
import Keyboard
import Json.Decode as Json
import Json.Decode.Extra as JsonExtra
import Common.Debug exposing (debug)
import Common.Util exposing (httpErrorString)
import MDC.Textfield as Textfield
-- MODEL
type alias AuthData =
{ token : String
, expire : Time.Time
, role : Int
}
type AuthError
= NoSuchUser Http.Error String
| WrongPassword Http.Error String
| OtherError Http.Error
authError : Http.Error -> String -> String -> AuthError
authError err username password =
case err of
Http.BadStatus resp ->
case resp.status.code of
403 ->
case resp.body of
"username" ->
NoSuchUser err username
"password" ->
WrongPassword err password
_ ->
OtherError err
_ ->
OtherError err
_ ->
OtherError err
type State
= Authorized AuthData
| Unauthorized (Maybe AuthError)
| InProgress
type alias Model =
{ loginPath : String
, username : Textfield.Model Msg
, password : Textfield.Model Msg
, state : State
, lastActivityTime : Maybe Time.Time
, maxIdleTime : Time.Time
}
authToken : Model -> Maybe String
authToken model =
case model.state of
Authorized data ->
Just data.token
_ ->
Nothing
logout : Model -> ( Model, Cmd Msg )
logout model =
init
init : ( Model, Cmd Msg )
init =
let
usernameModel =
Textfield.init
Username
[ Textfield.ID "login_username"
, Textfield.Hint "Username"
, Textfield.HelpAsValidationMsg True
, Textfield.OnInput (Just UsernameInput)
, Textfield.OnEnter (Just (LoginRequest (Just "login_username")))
]
passwordModel =
Textfield.init
Password
[ Textfield.Type Textfield.Password
, Textfield.ID "login_password"
, Textfield.Hint "Password"
, Textfield.HelpAsValidationMsg True
, Textfield.OnInput (Just PasswordInput)
, Textfield.OnEnter (Just (LoginRequest (Just "login_password")))
]
m =
{ loginPath = "/api/manage/login"
, username = usernameModel
, password = PI:PASSWORD:<PASSWORD>END_PI
, state = Unauthorized Nothing
, lastActivityTime = Nothing
, maxIdleTime = (Time.minute * 30)
}
in
m ! [ Task.attempt ignore (Dom.focus "login_username") ]
-- ACTION, UPDATE
type Msg
= Ignore
| Username (Textfield.Msg Msg)
| Password (Textfield.Msg Msg)
| UsernameInput String
| PasswordInput String
| LoginRequest (Maybe String)
| LoginResponse (Result Http.Error AuthData)
| UserActivity
| LogUserActivity Time.Time
| CheckIdleTimeout Time.Time
ignore : a -> Msg
ignore =
always Ignore
checkIdleTimeout : Time.Time -> Model -> ( Model, Cmd Msg )
checkIdleTimeout now model =
case model.lastActivityTime of
Just t ->
if now - t > model.maxIdleTime then
init
else
( model, Cmd.none )
Nothing ->
( model, Cmd.none )
handleLoginErr : Http.Error -> Model -> ( Model, Cmd Msg, Global.Event )
handleLoginErr err model =
let
authErr =
authError err model.username.value model.password.value
m1 =
{ model | state = Unauthorized (Just authErr) }
um =
Textfield.updateModel
model.username
[ Textfield.Help ""
, Textfield.Valid True
]
pm =
Textfield.updateModel
model.password
[ Textfield.Help ""
, Textfield.Valid True
]
m2 =
{ m1 | username = um, password = PI:PASSWORD:<PASSWORD>END_PI }
in
case authErr of
OtherError err ->
( m2, Cmd.none, Global.None )
NoSuchUser _ _ ->
let
um =
Textfield.updateModel
model.username
[ Textfield.Help "No such user!"
, Textfield.Valid False
]
in
( { m2 | username = um }
, Task.attempt ignore (Dom.focus "login_username")
, Global.None
)
WrongPassword _ _ ->
let
pm =
Textfield.updateModel
model.password
[ Textfield.Help "Wrong password!"
, Textfield.Valid False
]
in
( { m2 | password = pm }, Task.attempt ignore (Dom.focus "login_password"), Global.None )
handleUsernameInput : Model -> String -> Textfield.Model Msg
handleUsernameInput model username =
case model.state of
Unauthorized (Just (NoSuchUser _ wrongUsername)) ->
if username == wrongUsername then
Textfield.updateModel
model.username
[ Textfield.Value username
, Textfield.Valid False
, Textfield.Help "No such user!"
]
else
Textfield.updateModel
model.username
[ Textfield.Value username
, Textfield.Valid True
, Textfield.Help ""
]
_ ->
Textfield.updateModel model.username [ Textfield.Value username ]
handlePasswordInput : Model -> String -> Textfield.Model Msg
handlePasswordInput model password =
case model.state of
Unauthorized (Just (WrongPassword _ wrongPassword)) ->
if password == wrongPassword then
Textfield.updateModel
model.password
[ Textfield.Value password
, Textfield.Valid False
, Textfield.Help "Wrong password!"
]
else
Textfield.updateModel
model.password
[ Textfield.Value password
, Textfield.Valid True
, Textfield.Help ""
]
_ ->
(Textfield.updateModel model.password [ Textfield.Value password ])
update : Msg -> Model -> ( Model, Cmd Msg, Global.Event )
update msg model =
case msg of
Ignore ->
( model, Cmd.none, Global.None )
Username tfm ->
let
m =
Textfield.update tfm model.username
in
( { model | username = m }, Cmd.none, Global.None )
Password tfm ->
let
m =
Textfield.update tfm model.password
in
( { model | password = m }, Cmd.none, Global.None )
UsernameInput v ->
let
um =
handleUsernameInput model v
in
( { model | username = um }, Cmd.none, Global.None )
PasswordInput v ->
let
pm =
handlePasswordInput model v
in
( { model | password = pm }, Cmd.none, Global.None )
LoginRequest source ->
if model.username.value /= "" && model.password.value /= "" then
let
task =
case source of
Nothing ->
getAuthData model.loginPath model.username.value model.password.value
Just id ->
Cmd.batch
[ Task.attempt ignore (Dom.blur id)
, getAuthData model.loginPath model.username.value model.password.value
]
in
( debug "login-request" { model | state = InProgress }
, task
, Global.None
)
else
( model, Cmd.none, Global.None )
LoginResponse (Ok authdata) ->
( debug "login-ok" { model | state = Authorized authdata }
, Task.perform LogUserActivity Time.now
, Global.Login model.username.value authdata.token
)
LoginResponse (Err err) ->
handleLoginErr err model
UserActivity ->
( model, Task.perform LogUserActivity Time.now, Global.None )
LogUserActivity time ->
( { model | lastActivityTime = Just time }, Cmd.none, Global.None )
CheckIdleTimeout time ->
let
( m, c ) =
checkIdleTimeout time model
in
( debug "login-check" m, c, Global.None )
-- VIEW
disableLoginBtn : Model -> Bool
disableLoginBtn model =
model.username.value == "" || model.password.value == "" || model.state == InProgress
noSuchUserErr : Model -> String
noSuchUserErr model =
case model.state of
Unauthorized (Just (NoSuchUser _ username)) ->
if model.username.value == username then
"No such user!"
else
""
_ ->
""
wrongPasswordErr : Model -> String
wrongPasswordErr model =
case model.state of
Unauthorized (Just (WrongPassword _ password)) ->
if model.password.value == password then
"Wrong password!"
else
""
_ ->
""
otherErr : Model -> String
otherErr model =
case model.state of
Unauthorized (Just (OtherError err)) ->
httpErrorString model.loginPath err
_ ->
""
view : Model -> Html Msg
view model =
let
um =
(Textfield.updateModel
model.username
[ Textfield.Disabled (model.state == InProgress) ]
)
pm =
(Textfield.updateModel
model.password
[ Textfield.Disabled (model.state == InProgress) ]
)
in
ul [ style [ ( "list-style-type", "none" ) ] ]
[ li []
[ div
[ style
[ ( "padding", "8rem 2rem 2rem 2rem" )
, ( "display", "flex" )
, ( "align-items", "center" )
, ( "justify-content", "center" )
]
]
[ ul [ class "mdc-list" ]
[ li [ class "mdc-list-item" ] [ Textfield.view um ]
, li [ class "mdc-list-item" ] []
, li [ class "mdc-list-item" ] [ Textfield.view pm ]
, li [ class "mdc-list-item" ] []
, li [ class "mdc-list-item" ]
[ button
[ class "mdc-button mdc-button--raised"
, disabled (disableLoginBtn model)
, onClick (LoginRequest Nothing)
]
[ text "Login" ]
]
]
]
]
, li []
[ p [ style [ ( "color", "red" ) ] ]
[ text (otherErr model) ]
]
]
-- SUBSCRIPTIONS
subscriptions : Model -> Sub Msg
subscriptions model =
case model.state of
Authorized _ ->
Sub.batch
[ Mouse.clicks (\_ -> UserActivity)
, Keyboard.presses (\_ -> UserActivity)
, Time.every Time.minute CheckIdleTimeout
]
_ ->
Sub.none
-- HTTP
getAuthData : String -> String -> String -> Cmd Msg
getAuthData path username password =
let
url =
path ++ "?username=" ++ username ++ "&password=" ++ password
in
Http.send LoginResponse (Http.get url decodeAuthData)
decodeAuthData : Json.Decoder AuthData
decodeAuthData =
Json.map3 AuthData
(Json.field "token" Json.string)
(Json.map Date.toTime (Json.field "expire" JsonExtra.date))
(Json.field "role" Json.int)
| elm |
[
{
"context": " ]\n \nkey : ColumnDesc -> String\nkey =\n .name\n \n\ntablesView : Model -> Html Msg\ntablesView m",
"end": 10422,
"score": 0.7186812162,
"start": 10417,
"tag": "KEY",
"value": ".name"
}
] | mdl_example/Main.elm | ali--/elm-polymer-cookiecutter | 0 | module Main exposing (..)
import Html exposing (..)
import Http exposing (..)
import Html.Attributes exposing (href, class, style, attribute)
import Material
import Material.Card as Card
import Material.Color as Color
import Material.Textfield as Textfield
import Material.Scheme
import Material.Button as Button
import Material.Options as Options exposing (css)
import Material.Icon as Icon
import Material.Tabs as Tabs
import Material.Table as Table
import Material.Progress as ProgressBar
import Material.Typography as Typography
import Material.Options as Options
import Material.Toggles as Toggles
import Json.Encode
import Json.Decode exposing (field)
import Set exposing (Set)
import Maybe
-- MODEL
type alias SparkURL = String
type alias FactTable = Maybe TableName
type alias Model =
{ errors : List String
, column_descs : List ColumnDesc
, table_descs : List TableDesc
, dimension_columns : List ColumnDesc
, fact_table : FactTable
, spark_url : SparkURL
, selected : Set String
, tab : Int
-- Boilerplate: model store for any and all Mdl components you use.
, mdl : Material.Model
}
allSelected : Model -> Bool
allSelected model =
Set.size model.selected == List.length model.column_descs
model : Model
model =
{ errors = []
, column_descs = []
, selected = Set.empty
, spark_url = "local[*]"
, table_descs = []
, fact_table = Nothing
, dimension_columns = []
, tab = 0
-- Boilerplate: Always use this initial Mdl model store.
, mdl = Material.model
}
-- ACTION, UPDATE
type Msg
= SelectTab Int
| SetSparkURL SparkURL
| ConnectToSpark SparkURL
| ConnectToSparkResult (Result Http.Error (List TableDesc))
| RequestColumnDesc TableName ColumnName
| RecieveColumnDesc (Result Http.Error ColumnDesc)
| ChooseFactTable TableName
-- dimension selection
| Toggle String
| ToggleAll
-- Boilerplate: Msg clause for internal Mdl messages.
| Mdl (Material.Msg Msg)
getAllColumnDescs : TableName -> List ColumnName -> Cmd Msg
getAllColumnDescs tableName columns =
Cmd.batch (List.map (\col_name -> (getColumnDesc tableName col_name)) columns)
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
SelectTab idx ->
({ model | tab = idx }, Cmd.none)
RequestColumnDesc table_name column_name ->
(model, getColumnDesc table_name column_name)
RecieveColumnDesc (Ok newColumnDesc) ->
let
non_new_descs = List.filter (\x -> not (x.name == newColumnDesc.name)) model.column_descs
in
({model | column_descs = non_new_descs ++ [newColumnDesc]}, Cmd.none)
RecieveColumnDesc (Err err) ->
({model | errors = [(toString err)]}, Cmd.none)
SetSparkURL string ->
({model | spark_url = string}, Cmd.none)
ConnectToSpark url ->
(model, getTableDesc url)
ConnectToSparkResult (Ok newTableDescs) ->
({model | table_descs = newTableDescs, tab = 1}, Cmd.none)
ConnectToSparkResult (Err err) ->
({model | errors = [(toString err)]}, Cmd.none)
ChooseFactTable newFactTable ->
let
factTableDesc = List.head (List.filter (\t -> t.name == newFactTable) model.table_descs)
(factTableName, fetchColumnCmd) = case factTableDesc of
Just factTable ->
(Just newFactTable, (getAllColumnDescs factTable.name (List.map (\(a,b) -> a) factTable.columns)))
Nothing ->
(model.fact_table, Cmd.none)
in
({model | fact_table = factTableName, tab = 2}, fetchColumnCmd)
-- Boilerplate: Mdl action handler.
Mdl msg_ -> Material.update Mdl msg_ model
-- Choosing columns
ToggleAll ->
let
selected =
if allSelected model then
Set.empty
else
List.map key model.column_descs |> Set.fromList
dimension_columns = model.column_descs
in
({model | selected=selected,dimension_columns=dimension_columns}, Cmd.none)
Toggle k ->
let
selected =
if Set.member k model.selected then
Set.remove k model.selected
else
Set.insert k model.selected
dimension_columns = List.filter (\c -> Set.member c.name selected) model.column_descs
in
({model | selected=selected,dimension_columns=dimension_columns}, Cmd.none)
-- VIEW
sparkTab model =
div [] [
Textfield.render Mdl [2] model.mdl
[ Textfield.label "url of Spark Master"
, Textfield.floatingLabel
, Textfield.value model.spark_url
, Options.onInput SetSparkURL
] []
,
Button.render Mdl
[2]
model.mdl
[ Button.raised
, Button.colored
, Button.ripple
, Options.onClick (ConnectToSpark model.spark_url)
]
[ text "Connect"]
]
addDataSourceView : Model -> Html Msg
addDataSourceView model = div [] [
Tabs.render Mdl [0] model.mdl
[ Tabs.ripple
, Tabs.onSelectTab SelectTab
, Tabs.activeTab model.tab
]
[ Tabs.label
[ Options.center ]
[ Icon.i "input"
, Options.span [ css "width" "4px" ] []
, text "Data"
]
, Tabs.label
[ Options.center, Options.disabled True ]
[ Icon.i "grid_on"
, Options.span [ css "width" "4px" ] []
, text "Facts"
]
, Tabs.label
[ Options.center ]
[ Icon.i "view_week"
, Options.span [ css "width" "4px" ] []
, text "Dimensions"
]
, Tabs.label
[ Options.center ]
[ Icon.i "launch"
, Options.span [ css "width" "4px" ] []
, text "Save"
]
]
[ Options.div
[ css "margin" "24px auto"
, css "align-items" "flex-start"
, Options.center
, css "overflow-y" "auto"
, css "height" "256px"
]
[ case model.tab of
0 -> sparkTab model
1 -> tablesView model
2 -> columnsView model
3 -> ddlView model
_ -> sparkTab model
]
]
]
-- view
white : Options.Property c m
white =
Color.text Color.white
cardFooter model = [
Options.span [ Typography.caption, Typography.contrast 0.87 ] [ text "Need help? Call us" ]
, Button.render Mdl [8,1] model.mdl
[ Button.icon, Button.ripple ]
[ Icon.i "phone" ]
, Button.render Mdl [8,2] model.mdl
[ Button.icon, Button.ripple ]
[ Icon.i "event_available" ]
]
cardHeader model = div [] [
text "SNAP Cube Modeler (v 0.1)"
]
cardView header child footer model = Card.view
[ Color.background (Color.white)
, css "width" "100%"
, css "height" "100%"
]
[ Card.title [ ] [ Card.head [ Color.text Color.black ] [ header model ] ]
, Card.text [ Color.text Color.black ] [
child model
,if not (model.errors == [])
then (text ("Errors: "++(toString model.errors)))
else (text "")
]
, Card.actions
[ Card.border, css "display" "flex"
, css "justify-content" "space-between"
, css "align-items" "center"
, css "padding" "8px 16px 8px 16px"
, Color.text Color.black ]
(footer model)
]
view : Model -> Html Msg
view model = div [] [
div
[ style [ ( "padding", "2rem" ) ] ]
[ cardView cardHeader addDataSourceView cardFooter model ]
|> Material.Scheme.top
]
main : Program Never Model Msg
main =
Html.program
{ init = ( model, Cmd.none )
, view = view
, subscriptions = always Sub.none
, update = update
}
-- HTTP
apiURL =
"http://0.0.0.0:8888"
type alias ColumnName = String
type alias TableName = String
getColumnDesc : String -> String -> Cmd Msg
getColumnDesc table_name column_name =
let
url =
apiURL ++ "/columns/" ++ table_name ++ "/" ++ column_name
in
Http.send RecieveColumnDesc (Http.get url decodeColumnDesc)
getTableDesc : String -> Cmd Msg
getTableDesc sparkUrl =
let
url =
apiURL ++ "/tables"
in
Http.send ConnectToSparkResult (Http.get url (Json.Decode.list decodeTableDesc))
type alias TableDesc =
{ columns : List (String, String)
, name : String
}
decodeTableDesc : Json.Decode.Decoder TableDesc
decodeTableDesc =
Json.Decode.map2 TableDesc
(field "columns" decodeColumnTypes)
(field "name" Json.Decode.string)
decodeColumnTypes : Json.Decode.Decoder (List (String, String))
decodeColumnTypes =
Json.Decode.keyValuePairs Json.Decode.string
{-
encodeTableDesc : TableDesc -> Json.Encode.Value
encodeTableDesc record =
Json.Encode.object
[ ("columns", Json.Encode.list <| List.map Json.Encode.list <| List.map Json.Encode.string <| record.columns)
, ("name", Json.Encode.string <| record.name)
]
-}
-- Column Descriptions
type alias ColumnDesc =
{ name : String
, count : Int
, type_ : String
, distinct_count : Int
, dtype : String
}
decodeColumnDesc : Json.Decode.Decoder ColumnDesc
decodeColumnDesc =
Json.Decode.map5 ColumnDesc
(field "name" Json.Decode.string)
(field "count" Json.Decode.int)
(field "type" Json.Decode.string)
(field "distinct_count" Json.Decode.int)
(field "dtype" Json.Decode.string)
encodeColumnDesc : ColumnDesc -> Json.Encode.Value
encodeColumnDesc record =
Json.Encode.object
[ ("name", Json.Encode.string <| record.name)
, ("count", Json.Encode.int <| record.count)
, ("type", Json.Encode.string <| record.type_)
, ("distinct_count", Json.Encode.int <| record.distinct_count)
, ("dtype", Json.Encode.string <| record.dtype)
]
key : ColumnDesc -> String
key =
.name
tablesView : Model -> Html Msg
tablesView model =
if List.length model.table_descs > 0 then
Table.table [ ]
[ Table.thead []
[ Table.tr []
[ Table.th [] [ text "Name" ]
, Table.th [ Table.numeric ] [ text "Number of Columns" ]
, Table.th [ ] [ text "Select as Fact Table" ]
]
]
, Table.tbody []
( model.table_descs
|> List.indexedMap (\idx item ->
Table.tr
[ ]
[ Table.td [] [ text item.name ]
, Table.td [] [ text (toString (List.length item.columns)) ]
, Table.td [] [ chooseFactButton model item.name ]
]
)
)
]
else Html.text "Connect to Spark to choose a Fact Table"
chooseFactButton model factTableName = div [] [
Button.render Mdl
[2]
model.mdl
[ Button.raised
, Button.colored
, Button.ripple
, Options.onClick ( ChooseFactTable factTableName )
]
[ text "Choose as Fact Table"]
]
columnsView : Model -> Html Msg
columnsView model =
if List.length model.column_descs > 0 then div [] [
Table.table [ Options.css "overflow" "auto" ]
[ Table.thead []
[ Table.tr []
[ Table.th []
[ Toggles.checkbox Mdl [-1] model.mdl
[ Options.onToggle ToggleAll
, Toggles.value (allSelected model)
] []
]
, Table.th [] [ text "Name" ]
, Table.th [] [ text "Data Type"]
, Table.th [] [ text "Column Type"]
, Table.th [ Table.numeric ] [ text "Count" ]
, Table.th [ Table.numeric ] [ text "Distinct Count" ]
]
]
, Table.tbody []
( model.column_descs
|> List.indexedMap (\idx item ->
Table.tr
[ Table.selected |> Options.when (Set.member (key item) model.selected) ]
[ Table.td []
[ Toggles.checkbox Mdl [idx] model.mdl
[ Options.onToggle (Toggle <| key item)
, Toggles.value <| Set.member (key item) model.selected
] []
]
, Table.td [] [ text item.name ]
, Table.td [] [ text item.dtype ]
, Table.td [] [ text item.type_ ]
, Table.td [ Table.numeric ] [ text (toString item.count) ]
, Table.td [ Table.numeric ] [ text (toString item.distinct_count) ]
]
)
)
]
,
selectedDimensionsView model
]
else Html.text "Choose a Fact Table before selecting Dimensions"
selectedDimensionsView : Model -> Html Msg
selectedDimensionsView model =
Table.table [ ]
[ Table.thead []
[ Table.tr []
[ Table.th [] [ text "Name" ]
, Table.th [ Table.numeric ] [ text "Number of Columns" ]
, Table.th [ ] [ text "Notes" ]
]
]
, Table.tbody []
( model.dimension_columns
|> List.indexedMap (\idx item ->
Table.tr
[ ]
[ Table.td [] [ text item.name ]
, Table.td [] [ text item.dtype ]
, Table.td [] [ text "None" ]
]
)
)
]
ddlView model =
case model.fact_table of
Just ft ->
ddlTemplate { index_name = ft ++ "_index"
, source_table_name = ft
, dimensions = model.dimension_columns
, metrics = model.dimension_columns
, timestamp_dimensions = model.dimension_columns
, not_nullables = model.dimension_columns
, path = "/data/example-data"
, partition_by = model.dimension_columns
, index_timestamp = "l_shipdate"
} |> List.map (\t -> Html.text t)
|> List.map (\t -> Html.p [] [t])
|> div []
Nothing ->
Html.text " Choose a Fact Table to see the generated SNAP Cube "
ddlTemplate v = [
"create olap index " ++ v.index_name ++ " on " ++ v.source_table_name,
" dimensions \"" ++ (v.dimensions |> List.map (\d -> d.name) |> String.join ", " ) ++ "\"",
" metrics \"" ++ (v.metrics |> List.map (\m -> m.name) |> String.join ", " ) ++ "\""
]
++
(v.not_nullables |> List.map (\d -> " dimension " ++ d.name ++ " is not nullable"))
++
(v.timestamp_dimensions
|> List.map (
\d -> (
" timestamp dimension " ++ d.name
++ (if d.name == v.index_timestamp then " is index timestamp " else "")
++ " spark timestamp format \"yyyy-MM-dd\" "
++ " is nullable nullvalue \"1992-01-01T00:00:00.000\" "
)
)
)
++
[" Options ( " ++ "path \"" ++ v.path ++ "\"" ++ """
rowFlushBoundary \"10000\",
nonAggregateQueryHandling \"push_project_and_filters\",
avgNumRowsPerPartition \"15000\",
preferredSegmentSize \"50mb\",
rowFlushBoundary \"1000\")
"""
]
-- ++ [ "partition by " ++ (v.partition_by |> List.map (\p -> p.name) |> String.join ",") ++ ";" ]
-- ++ [ "insert overwrite olap index " ++ v.index_name ++ " of " ++ v.source_table_name ++ ";" ]
-- ++ [ "insert overwrite olap index " ++ v.index_name ++ " of " ++ v.source_table_name ++ ";" ]
| 8854 | module Main exposing (..)
import Html exposing (..)
import Http exposing (..)
import Html.Attributes exposing (href, class, style, attribute)
import Material
import Material.Card as Card
import Material.Color as Color
import Material.Textfield as Textfield
import Material.Scheme
import Material.Button as Button
import Material.Options as Options exposing (css)
import Material.Icon as Icon
import Material.Tabs as Tabs
import Material.Table as Table
import Material.Progress as ProgressBar
import Material.Typography as Typography
import Material.Options as Options
import Material.Toggles as Toggles
import Json.Encode
import Json.Decode exposing (field)
import Set exposing (Set)
import Maybe
-- MODEL
type alias SparkURL = String
type alias FactTable = Maybe TableName
type alias Model =
{ errors : List String
, column_descs : List ColumnDesc
, table_descs : List TableDesc
, dimension_columns : List ColumnDesc
, fact_table : FactTable
, spark_url : SparkURL
, selected : Set String
, tab : Int
-- Boilerplate: model store for any and all Mdl components you use.
, mdl : Material.Model
}
allSelected : Model -> Bool
allSelected model =
Set.size model.selected == List.length model.column_descs
model : Model
model =
{ errors = []
, column_descs = []
, selected = Set.empty
, spark_url = "local[*]"
, table_descs = []
, fact_table = Nothing
, dimension_columns = []
, tab = 0
-- Boilerplate: Always use this initial Mdl model store.
, mdl = Material.model
}
-- ACTION, UPDATE
type Msg
= SelectTab Int
| SetSparkURL SparkURL
| ConnectToSpark SparkURL
| ConnectToSparkResult (Result Http.Error (List TableDesc))
| RequestColumnDesc TableName ColumnName
| RecieveColumnDesc (Result Http.Error ColumnDesc)
| ChooseFactTable TableName
-- dimension selection
| Toggle String
| ToggleAll
-- Boilerplate: Msg clause for internal Mdl messages.
| Mdl (Material.Msg Msg)
getAllColumnDescs : TableName -> List ColumnName -> Cmd Msg
getAllColumnDescs tableName columns =
Cmd.batch (List.map (\col_name -> (getColumnDesc tableName col_name)) columns)
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
SelectTab idx ->
({ model | tab = idx }, Cmd.none)
RequestColumnDesc table_name column_name ->
(model, getColumnDesc table_name column_name)
RecieveColumnDesc (Ok newColumnDesc) ->
let
non_new_descs = List.filter (\x -> not (x.name == newColumnDesc.name)) model.column_descs
in
({model | column_descs = non_new_descs ++ [newColumnDesc]}, Cmd.none)
RecieveColumnDesc (Err err) ->
({model | errors = [(toString err)]}, Cmd.none)
SetSparkURL string ->
({model | spark_url = string}, Cmd.none)
ConnectToSpark url ->
(model, getTableDesc url)
ConnectToSparkResult (Ok newTableDescs) ->
({model | table_descs = newTableDescs, tab = 1}, Cmd.none)
ConnectToSparkResult (Err err) ->
({model | errors = [(toString err)]}, Cmd.none)
ChooseFactTable newFactTable ->
let
factTableDesc = List.head (List.filter (\t -> t.name == newFactTable) model.table_descs)
(factTableName, fetchColumnCmd) = case factTableDesc of
Just factTable ->
(Just newFactTable, (getAllColumnDescs factTable.name (List.map (\(a,b) -> a) factTable.columns)))
Nothing ->
(model.fact_table, Cmd.none)
in
({model | fact_table = factTableName, tab = 2}, fetchColumnCmd)
-- Boilerplate: Mdl action handler.
Mdl msg_ -> Material.update Mdl msg_ model
-- Choosing columns
ToggleAll ->
let
selected =
if allSelected model then
Set.empty
else
List.map key model.column_descs |> Set.fromList
dimension_columns = model.column_descs
in
({model | selected=selected,dimension_columns=dimension_columns}, Cmd.none)
Toggle k ->
let
selected =
if Set.member k model.selected then
Set.remove k model.selected
else
Set.insert k model.selected
dimension_columns = List.filter (\c -> Set.member c.name selected) model.column_descs
in
({model | selected=selected,dimension_columns=dimension_columns}, Cmd.none)
-- VIEW
sparkTab model =
div [] [
Textfield.render Mdl [2] model.mdl
[ Textfield.label "url of Spark Master"
, Textfield.floatingLabel
, Textfield.value model.spark_url
, Options.onInput SetSparkURL
] []
,
Button.render Mdl
[2]
model.mdl
[ Button.raised
, Button.colored
, Button.ripple
, Options.onClick (ConnectToSpark model.spark_url)
]
[ text "Connect"]
]
addDataSourceView : Model -> Html Msg
addDataSourceView model = div [] [
Tabs.render Mdl [0] model.mdl
[ Tabs.ripple
, Tabs.onSelectTab SelectTab
, Tabs.activeTab model.tab
]
[ Tabs.label
[ Options.center ]
[ Icon.i "input"
, Options.span [ css "width" "4px" ] []
, text "Data"
]
, Tabs.label
[ Options.center, Options.disabled True ]
[ Icon.i "grid_on"
, Options.span [ css "width" "4px" ] []
, text "Facts"
]
, Tabs.label
[ Options.center ]
[ Icon.i "view_week"
, Options.span [ css "width" "4px" ] []
, text "Dimensions"
]
, Tabs.label
[ Options.center ]
[ Icon.i "launch"
, Options.span [ css "width" "4px" ] []
, text "Save"
]
]
[ Options.div
[ css "margin" "24px auto"
, css "align-items" "flex-start"
, Options.center
, css "overflow-y" "auto"
, css "height" "256px"
]
[ case model.tab of
0 -> sparkTab model
1 -> tablesView model
2 -> columnsView model
3 -> ddlView model
_ -> sparkTab model
]
]
]
-- view
white : Options.Property c m
white =
Color.text Color.white
cardFooter model = [
Options.span [ Typography.caption, Typography.contrast 0.87 ] [ text "Need help? Call us" ]
, Button.render Mdl [8,1] model.mdl
[ Button.icon, Button.ripple ]
[ Icon.i "phone" ]
, Button.render Mdl [8,2] model.mdl
[ Button.icon, Button.ripple ]
[ Icon.i "event_available" ]
]
cardHeader model = div [] [
text "SNAP Cube Modeler (v 0.1)"
]
cardView header child footer model = Card.view
[ Color.background (Color.white)
, css "width" "100%"
, css "height" "100%"
]
[ Card.title [ ] [ Card.head [ Color.text Color.black ] [ header model ] ]
, Card.text [ Color.text Color.black ] [
child model
,if not (model.errors == [])
then (text ("Errors: "++(toString model.errors)))
else (text "")
]
, Card.actions
[ Card.border, css "display" "flex"
, css "justify-content" "space-between"
, css "align-items" "center"
, css "padding" "8px 16px 8px 16px"
, Color.text Color.black ]
(footer model)
]
view : Model -> Html Msg
view model = div [] [
div
[ style [ ( "padding", "2rem" ) ] ]
[ cardView cardHeader addDataSourceView cardFooter model ]
|> Material.Scheme.top
]
main : Program Never Model Msg
main =
Html.program
{ init = ( model, Cmd.none )
, view = view
, subscriptions = always Sub.none
, update = update
}
-- HTTP
apiURL =
"http://0.0.0.0:8888"
type alias ColumnName = String
type alias TableName = String
getColumnDesc : String -> String -> Cmd Msg
getColumnDesc table_name column_name =
let
url =
apiURL ++ "/columns/" ++ table_name ++ "/" ++ column_name
in
Http.send RecieveColumnDesc (Http.get url decodeColumnDesc)
getTableDesc : String -> Cmd Msg
getTableDesc sparkUrl =
let
url =
apiURL ++ "/tables"
in
Http.send ConnectToSparkResult (Http.get url (Json.Decode.list decodeTableDesc))
type alias TableDesc =
{ columns : List (String, String)
, name : String
}
decodeTableDesc : Json.Decode.Decoder TableDesc
decodeTableDesc =
Json.Decode.map2 TableDesc
(field "columns" decodeColumnTypes)
(field "name" Json.Decode.string)
decodeColumnTypes : Json.Decode.Decoder (List (String, String))
decodeColumnTypes =
Json.Decode.keyValuePairs Json.Decode.string
{-
encodeTableDesc : TableDesc -> Json.Encode.Value
encodeTableDesc record =
Json.Encode.object
[ ("columns", Json.Encode.list <| List.map Json.Encode.list <| List.map Json.Encode.string <| record.columns)
, ("name", Json.Encode.string <| record.name)
]
-}
-- Column Descriptions
type alias ColumnDesc =
{ name : String
, count : Int
, type_ : String
, distinct_count : Int
, dtype : String
}
decodeColumnDesc : Json.Decode.Decoder ColumnDesc
decodeColumnDesc =
Json.Decode.map5 ColumnDesc
(field "name" Json.Decode.string)
(field "count" Json.Decode.int)
(field "type" Json.Decode.string)
(field "distinct_count" Json.Decode.int)
(field "dtype" Json.Decode.string)
encodeColumnDesc : ColumnDesc -> Json.Encode.Value
encodeColumnDesc record =
Json.Encode.object
[ ("name", Json.Encode.string <| record.name)
, ("count", Json.Encode.int <| record.count)
, ("type", Json.Encode.string <| record.type_)
, ("distinct_count", Json.Encode.int <| record.distinct_count)
, ("dtype", Json.Encode.string <| record.dtype)
]
key : ColumnDesc -> String
key =
<KEY>
tablesView : Model -> Html Msg
tablesView model =
if List.length model.table_descs > 0 then
Table.table [ ]
[ Table.thead []
[ Table.tr []
[ Table.th [] [ text "Name" ]
, Table.th [ Table.numeric ] [ text "Number of Columns" ]
, Table.th [ ] [ text "Select as Fact Table" ]
]
]
, Table.tbody []
( model.table_descs
|> List.indexedMap (\idx item ->
Table.tr
[ ]
[ Table.td [] [ text item.name ]
, Table.td [] [ text (toString (List.length item.columns)) ]
, Table.td [] [ chooseFactButton model item.name ]
]
)
)
]
else Html.text "Connect to Spark to choose a Fact Table"
chooseFactButton model factTableName = div [] [
Button.render Mdl
[2]
model.mdl
[ Button.raised
, Button.colored
, Button.ripple
, Options.onClick ( ChooseFactTable factTableName )
]
[ text "Choose as Fact Table"]
]
columnsView : Model -> Html Msg
columnsView model =
if List.length model.column_descs > 0 then div [] [
Table.table [ Options.css "overflow" "auto" ]
[ Table.thead []
[ Table.tr []
[ Table.th []
[ Toggles.checkbox Mdl [-1] model.mdl
[ Options.onToggle ToggleAll
, Toggles.value (allSelected model)
] []
]
, Table.th [] [ text "Name" ]
, Table.th [] [ text "Data Type"]
, Table.th [] [ text "Column Type"]
, Table.th [ Table.numeric ] [ text "Count" ]
, Table.th [ Table.numeric ] [ text "Distinct Count" ]
]
]
, Table.tbody []
( model.column_descs
|> List.indexedMap (\idx item ->
Table.tr
[ Table.selected |> Options.when (Set.member (key item) model.selected) ]
[ Table.td []
[ Toggles.checkbox Mdl [idx] model.mdl
[ Options.onToggle (Toggle <| key item)
, Toggles.value <| Set.member (key item) model.selected
] []
]
, Table.td [] [ text item.name ]
, Table.td [] [ text item.dtype ]
, Table.td [] [ text item.type_ ]
, Table.td [ Table.numeric ] [ text (toString item.count) ]
, Table.td [ Table.numeric ] [ text (toString item.distinct_count) ]
]
)
)
]
,
selectedDimensionsView model
]
else Html.text "Choose a Fact Table before selecting Dimensions"
selectedDimensionsView : Model -> Html Msg
selectedDimensionsView model =
Table.table [ ]
[ Table.thead []
[ Table.tr []
[ Table.th [] [ text "Name" ]
, Table.th [ Table.numeric ] [ text "Number of Columns" ]
, Table.th [ ] [ text "Notes" ]
]
]
, Table.tbody []
( model.dimension_columns
|> List.indexedMap (\idx item ->
Table.tr
[ ]
[ Table.td [] [ text item.name ]
, Table.td [] [ text item.dtype ]
, Table.td [] [ text "None" ]
]
)
)
]
ddlView model =
case model.fact_table of
Just ft ->
ddlTemplate { index_name = ft ++ "_index"
, source_table_name = ft
, dimensions = model.dimension_columns
, metrics = model.dimension_columns
, timestamp_dimensions = model.dimension_columns
, not_nullables = model.dimension_columns
, path = "/data/example-data"
, partition_by = model.dimension_columns
, index_timestamp = "l_shipdate"
} |> List.map (\t -> Html.text t)
|> List.map (\t -> Html.p [] [t])
|> div []
Nothing ->
Html.text " Choose a Fact Table to see the generated SNAP Cube "
ddlTemplate v = [
"create olap index " ++ v.index_name ++ " on " ++ v.source_table_name,
" dimensions \"" ++ (v.dimensions |> List.map (\d -> d.name) |> String.join ", " ) ++ "\"",
" metrics \"" ++ (v.metrics |> List.map (\m -> m.name) |> String.join ", " ) ++ "\""
]
++
(v.not_nullables |> List.map (\d -> " dimension " ++ d.name ++ " is not nullable"))
++
(v.timestamp_dimensions
|> List.map (
\d -> (
" timestamp dimension " ++ d.name
++ (if d.name == v.index_timestamp then " is index timestamp " else "")
++ " spark timestamp format \"yyyy-MM-dd\" "
++ " is nullable nullvalue \"1992-01-01T00:00:00.000\" "
)
)
)
++
[" Options ( " ++ "path \"" ++ v.path ++ "\"" ++ """
rowFlushBoundary \"10000\",
nonAggregateQueryHandling \"push_project_and_filters\",
avgNumRowsPerPartition \"15000\",
preferredSegmentSize \"50mb\",
rowFlushBoundary \"1000\")
"""
]
-- ++ [ "partition by " ++ (v.partition_by |> List.map (\p -> p.name) |> String.join ",") ++ ";" ]
-- ++ [ "insert overwrite olap index " ++ v.index_name ++ " of " ++ v.source_table_name ++ ";" ]
-- ++ [ "insert overwrite olap index " ++ v.index_name ++ " of " ++ v.source_table_name ++ ";" ]
| true | module Main exposing (..)
import Html exposing (..)
import Http exposing (..)
import Html.Attributes exposing (href, class, style, attribute)
import Material
import Material.Card as Card
import Material.Color as Color
import Material.Textfield as Textfield
import Material.Scheme
import Material.Button as Button
import Material.Options as Options exposing (css)
import Material.Icon as Icon
import Material.Tabs as Tabs
import Material.Table as Table
import Material.Progress as ProgressBar
import Material.Typography as Typography
import Material.Options as Options
import Material.Toggles as Toggles
import Json.Encode
import Json.Decode exposing (field)
import Set exposing (Set)
import Maybe
-- MODEL
type alias SparkURL = String
type alias FactTable = Maybe TableName
type alias Model =
{ errors : List String
, column_descs : List ColumnDesc
, table_descs : List TableDesc
, dimension_columns : List ColumnDesc
, fact_table : FactTable
, spark_url : SparkURL
, selected : Set String
, tab : Int
-- Boilerplate: model store for any and all Mdl components you use.
, mdl : Material.Model
}
allSelected : Model -> Bool
allSelected model =
Set.size model.selected == List.length model.column_descs
model : Model
model =
{ errors = []
, column_descs = []
, selected = Set.empty
, spark_url = "local[*]"
, table_descs = []
, fact_table = Nothing
, dimension_columns = []
, tab = 0
-- Boilerplate: Always use this initial Mdl model store.
, mdl = Material.model
}
-- ACTION, UPDATE
type Msg
= SelectTab Int
| SetSparkURL SparkURL
| ConnectToSpark SparkURL
| ConnectToSparkResult (Result Http.Error (List TableDesc))
| RequestColumnDesc TableName ColumnName
| RecieveColumnDesc (Result Http.Error ColumnDesc)
| ChooseFactTable TableName
-- dimension selection
| Toggle String
| ToggleAll
-- Boilerplate: Msg clause for internal Mdl messages.
| Mdl (Material.Msg Msg)
getAllColumnDescs : TableName -> List ColumnName -> Cmd Msg
getAllColumnDescs tableName columns =
Cmd.batch (List.map (\col_name -> (getColumnDesc tableName col_name)) columns)
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
SelectTab idx ->
({ model | tab = idx }, Cmd.none)
RequestColumnDesc table_name column_name ->
(model, getColumnDesc table_name column_name)
RecieveColumnDesc (Ok newColumnDesc) ->
let
non_new_descs = List.filter (\x -> not (x.name == newColumnDesc.name)) model.column_descs
in
({model | column_descs = non_new_descs ++ [newColumnDesc]}, Cmd.none)
RecieveColumnDesc (Err err) ->
({model | errors = [(toString err)]}, Cmd.none)
SetSparkURL string ->
({model | spark_url = string}, Cmd.none)
ConnectToSpark url ->
(model, getTableDesc url)
ConnectToSparkResult (Ok newTableDescs) ->
({model | table_descs = newTableDescs, tab = 1}, Cmd.none)
ConnectToSparkResult (Err err) ->
({model | errors = [(toString err)]}, Cmd.none)
ChooseFactTable newFactTable ->
let
factTableDesc = List.head (List.filter (\t -> t.name == newFactTable) model.table_descs)
(factTableName, fetchColumnCmd) = case factTableDesc of
Just factTable ->
(Just newFactTable, (getAllColumnDescs factTable.name (List.map (\(a,b) -> a) factTable.columns)))
Nothing ->
(model.fact_table, Cmd.none)
in
({model | fact_table = factTableName, tab = 2}, fetchColumnCmd)
-- Boilerplate: Mdl action handler.
Mdl msg_ -> Material.update Mdl msg_ model
-- Choosing columns
ToggleAll ->
let
selected =
if allSelected model then
Set.empty
else
List.map key model.column_descs |> Set.fromList
dimension_columns = model.column_descs
in
({model | selected=selected,dimension_columns=dimension_columns}, Cmd.none)
Toggle k ->
let
selected =
if Set.member k model.selected then
Set.remove k model.selected
else
Set.insert k model.selected
dimension_columns = List.filter (\c -> Set.member c.name selected) model.column_descs
in
({model | selected=selected,dimension_columns=dimension_columns}, Cmd.none)
-- VIEW
sparkTab model =
div [] [
Textfield.render Mdl [2] model.mdl
[ Textfield.label "url of Spark Master"
, Textfield.floatingLabel
, Textfield.value model.spark_url
, Options.onInput SetSparkURL
] []
,
Button.render Mdl
[2]
model.mdl
[ Button.raised
, Button.colored
, Button.ripple
, Options.onClick (ConnectToSpark model.spark_url)
]
[ text "Connect"]
]
addDataSourceView : Model -> Html Msg
addDataSourceView model = div [] [
Tabs.render Mdl [0] model.mdl
[ Tabs.ripple
, Tabs.onSelectTab SelectTab
, Tabs.activeTab model.tab
]
[ Tabs.label
[ Options.center ]
[ Icon.i "input"
, Options.span [ css "width" "4px" ] []
, text "Data"
]
, Tabs.label
[ Options.center, Options.disabled True ]
[ Icon.i "grid_on"
, Options.span [ css "width" "4px" ] []
, text "Facts"
]
, Tabs.label
[ Options.center ]
[ Icon.i "view_week"
, Options.span [ css "width" "4px" ] []
, text "Dimensions"
]
, Tabs.label
[ Options.center ]
[ Icon.i "launch"
, Options.span [ css "width" "4px" ] []
, text "Save"
]
]
[ Options.div
[ css "margin" "24px auto"
, css "align-items" "flex-start"
, Options.center
, css "overflow-y" "auto"
, css "height" "256px"
]
[ case model.tab of
0 -> sparkTab model
1 -> tablesView model
2 -> columnsView model
3 -> ddlView model
_ -> sparkTab model
]
]
]
-- view
white : Options.Property c m
white =
Color.text Color.white
cardFooter model = [
Options.span [ Typography.caption, Typography.contrast 0.87 ] [ text "Need help? Call us" ]
, Button.render Mdl [8,1] model.mdl
[ Button.icon, Button.ripple ]
[ Icon.i "phone" ]
, Button.render Mdl [8,2] model.mdl
[ Button.icon, Button.ripple ]
[ Icon.i "event_available" ]
]
cardHeader model = div [] [
text "SNAP Cube Modeler (v 0.1)"
]
cardView header child footer model = Card.view
[ Color.background (Color.white)
, css "width" "100%"
, css "height" "100%"
]
[ Card.title [ ] [ Card.head [ Color.text Color.black ] [ header model ] ]
, Card.text [ Color.text Color.black ] [
child model
,if not (model.errors == [])
then (text ("Errors: "++(toString model.errors)))
else (text "")
]
, Card.actions
[ Card.border, css "display" "flex"
, css "justify-content" "space-between"
, css "align-items" "center"
, css "padding" "8px 16px 8px 16px"
, Color.text Color.black ]
(footer model)
]
view : Model -> Html Msg
view model = div [] [
div
[ style [ ( "padding", "2rem" ) ] ]
[ cardView cardHeader addDataSourceView cardFooter model ]
|> Material.Scheme.top
]
main : Program Never Model Msg
main =
Html.program
{ init = ( model, Cmd.none )
, view = view
, subscriptions = always Sub.none
, update = update
}
-- HTTP
apiURL =
"http://0.0.0.0:8888"
type alias ColumnName = String
type alias TableName = String
getColumnDesc : String -> String -> Cmd Msg
getColumnDesc table_name column_name =
let
url =
apiURL ++ "/columns/" ++ table_name ++ "/" ++ column_name
in
Http.send RecieveColumnDesc (Http.get url decodeColumnDesc)
getTableDesc : String -> Cmd Msg
getTableDesc sparkUrl =
let
url =
apiURL ++ "/tables"
in
Http.send ConnectToSparkResult (Http.get url (Json.Decode.list decodeTableDesc))
type alias TableDesc =
{ columns : List (String, String)
, name : String
}
decodeTableDesc : Json.Decode.Decoder TableDesc
decodeTableDesc =
Json.Decode.map2 TableDesc
(field "columns" decodeColumnTypes)
(field "name" Json.Decode.string)
decodeColumnTypes : Json.Decode.Decoder (List (String, String))
decodeColumnTypes =
Json.Decode.keyValuePairs Json.Decode.string
{-
encodeTableDesc : TableDesc -> Json.Encode.Value
encodeTableDesc record =
Json.Encode.object
[ ("columns", Json.Encode.list <| List.map Json.Encode.list <| List.map Json.Encode.string <| record.columns)
, ("name", Json.Encode.string <| record.name)
]
-}
-- Column Descriptions
type alias ColumnDesc =
{ name : String
, count : Int
, type_ : String
, distinct_count : Int
, dtype : String
}
decodeColumnDesc : Json.Decode.Decoder ColumnDesc
decodeColumnDesc =
Json.Decode.map5 ColumnDesc
(field "name" Json.Decode.string)
(field "count" Json.Decode.int)
(field "type" Json.Decode.string)
(field "distinct_count" Json.Decode.int)
(field "dtype" Json.Decode.string)
encodeColumnDesc : ColumnDesc -> Json.Encode.Value
encodeColumnDesc record =
Json.Encode.object
[ ("name", Json.Encode.string <| record.name)
, ("count", Json.Encode.int <| record.count)
, ("type", Json.Encode.string <| record.type_)
, ("distinct_count", Json.Encode.int <| record.distinct_count)
, ("dtype", Json.Encode.string <| record.dtype)
]
key : ColumnDesc -> String
key =
PI:KEY:<KEY>END_PI
tablesView : Model -> Html Msg
tablesView model =
if List.length model.table_descs > 0 then
Table.table [ ]
[ Table.thead []
[ Table.tr []
[ Table.th [] [ text "Name" ]
, Table.th [ Table.numeric ] [ text "Number of Columns" ]
, Table.th [ ] [ text "Select as Fact Table" ]
]
]
, Table.tbody []
( model.table_descs
|> List.indexedMap (\idx item ->
Table.tr
[ ]
[ Table.td [] [ text item.name ]
, Table.td [] [ text (toString (List.length item.columns)) ]
, Table.td [] [ chooseFactButton model item.name ]
]
)
)
]
else Html.text "Connect to Spark to choose a Fact Table"
chooseFactButton model factTableName = div [] [
Button.render Mdl
[2]
model.mdl
[ Button.raised
, Button.colored
, Button.ripple
, Options.onClick ( ChooseFactTable factTableName )
]
[ text "Choose as Fact Table"]
]
columnsView : Model -> Html Msg
columnsView model =
if List.length model.column_descs > 0 then div [] [
Table.table [ Options.css "overflow" "auto" ]
[ Table.thead []
[ Table.tr []
[ Table.th []
[ Toggles.checkbox Mdl [-1] model.mdl
[ Options.onToggle ToggleAll
, Toggles.value (allSelected model)
] []
]
, Table.th [] [ text "Name" ]
, Table.th [] [ text "Data Type"]
, Table.th [] [ text "Column Type"]
, Table.th [ Table.numeric ] [ text "Count" ]
, Table.th [ Table.numeric ] [ text "Distinct Count" ]
]
]
, Table.tbody []
( model.column_descs
|> List.indexedMap (\idx item ->
Table.tr
[ Table.selected |> Options.when (Set.member (key item) model.selected) ]
[ Table.td []
[ Toggles.checkbox Mdl [idx] model.mdl
[ Options.onToggle (Toggle <| key item)
, Toggles.value <| Set.member (key item) model.selected
] []
]
, Table.td [] [ text item.name ]
, Table.td [] [ text item.dtype ]
, Table.td [] [ text item.type_ ]
, Table.td [ Table.numeric ] [ text (toString item.count) ]
, Table.td [ Table.numeric ] [ text (toString item.distinct_count) ]
]
)
)
]
,
selectedDimensionsView model
]
else Html.text "Choose a Fact Table before selecting Dimensions"
selectedDimensionsView : Model -> Html Msg
selectedDimensionsView model =
Table.table [ ]
[ Table.thead []
[ Table.tr []
[ Table.th [] [ text "Name" ]
, Table.th [ Table.numeric ] [ text "Number of Columns" ]
, Table.th [ ] [ text "Notes" ]
]
]
, Table.tbody []
( model.dimension_columns
|> List.indexedMap (\idx item ->
Table.tr
[ ]
[ Table.td [] [ text item.name ]
, Table.td [] [ text item.dtype ]
, Table.td [] [ text "None" ]
]
)
)
]
ddlView model =
case model.fact_table of
Just ft ->
ddlTemplate { index_name = ft ++ "_index"
, source_table_name = ft
, dimensions = model.dimension_columns
, metrics = model.dimension_columns
, timestamp_dimensions = model.dimension_columns
, not_nullables = model.dimension_columns
, path = "/data/example-data"
, partition_by = model.dimension_columns
, index_timestamp = "l_shipdate"
} |> List.map (\t -> Html.text t)
|> List.map (\t -> Html.p [] [t])
|> div []
Nothing ->
Html.text " Choose a Fact Table to see the generated SNAP Cube "
ddlTemplate v = [
"create olap index " ++ v.index_name ++ " on " ++ v.source_table_name,
" dimensions \"" ++ (v.dimensions |> List.map (\d -> d.name) |> String.join ", " ) ++ "\"",
" metrics \"" ++ (v.metrics |> List.map (\m -> m.name) |> String.join ", " ) ++ "\""
]
++
(v.not_nullables |> List.map (\d -> " dimension " ++ d.name ++ " is not nullable"))
++
(v.timestamp_dimensions
|> List.map (
\d -> (
" timestamp dimension " ++ d.name
++ (if d.name == v.index_timestamp then " is index timestamp " else "")
++ " spark timestamp format \"yyyy-MM-dd\" "
++ " is nullable nullvalue \"1992-01-01T00:00:00.000\" "
)
)
)
++
[" Options ( " ++ "path \"" ++ v.path ++ "\"" ++ """
rowFlushBoundary \"10000\",
nonAggregateQueryHandling \"push_project_and_filters\",
avgNumRowsPerPartition \"15000\",
preferredSegmentSize \"50mb\",
rowFlushBoundary \"1000\")
"""
]
-- ++ [ "partition by " ++ (v.partition_by |> List.map (\p -> p.name) |> String.join ",") ++ ";" ]
-- ++ [ "insert overwrite olap index " ++ v.index_name ++ " of " ++ v.source_table_name ++ ";" ]
-- ++ [ "insert overwrite olap index " ++ v.index_name ++ " of " ++ v.source_table_name ++ ";" ]
| elm |
[
{
"context": "Page -> Model\ndefaultModel key page =\n { name = \"Brian\"\n , page = page\n , key = key\n }\n\n\ntype Msg\n =",
"end": 566,
"score": 0.9996649027,
"start": 561,
"tag": "NAME",
"value": "Brian"
}
] | runner/elm-spec-harness/test/browserTests/harness/src/Navigation/App.elm | elm-review-bot/elm-spec | 0 | port module Navigation.App exposing (..)
import Html exposing (Html)
import Html.Attributes as Attr
import Html.Events as Events
import Http
import Json.Decode as Json
import Url exposing (Url)
import Url.Parser as UrlParser exposing (Parser)
import Url.Builder
import Browser exposing (UrlRequest(..))
import Browser.Navigation as Navigation
type alias Model =
{ name: String
, page: Page
, key: Navigation.Key
}
type Page
= Home
| Fun
| Awesome
| Super
defaultModel : Navigation.Key -> Page -> Model
defaultModel key page =
{ name = "Brian"
, page = page
, key = key
}
type Msg
= OnUrlChange Url
| OnUrlRequest UrlRequest
| NavigateToAwesome
| SendToExternalLocation String
init : Url -> Navigation.Key -> ( Model, Cmd Msg )
init url key =
let
page =
UrlParser.parse routes url
|> Maybe.withDefault Home
in
( defaultModel key page, Cmd.none )
routes =
UrlParser.oneOf
[ UrlParser.map Fun <| UrlParser.s "funPage"
, UrlParser.map Awesome <| UrlParser.s "awesomePage"
, UrlParser.map Super <| UrlParser.s "superPage"
, UrlParser.map Home <| UrlParser.top
]
view : Model -> Html Msg
view model =
case model.page of
Home ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text <| "Hey " ++ model.name ++ "!" ]
, Html.hr [] []
, Html.div []
[ Html.button [ Attr.id "awesome-location", Events.onClick NavigateToAwesome ] [ Html.text "Let's go!!!" ]
]
, Html.hr [] []
, Html.div []
[ Html.a [ Attr.id "super-link", Attr.href "/superPage" ] [ Html.text "A Super Link" ]
, Html.a [ Attr.id "external-link", Attr.href "http://fun-times.com/fun.html" ] [ Html.text "An External Link" ]
]
]
Fun ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the fun page!" ]
]
Awesome ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the awesome page!" ]
]
Super ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the super page!" ]
]
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
OnUrlChange url ->
UrlParser.parse routes url
|> Maybe.withDefault Home
|> \page ->
( { model | page = page }, Cmd.none )
OnUrlRequest urlRequest ->
case urlRequest of
Internal url ->
( model, Navigation.pushUrl model.key <| Url.toString url )
External externalUrl ->
( model, Navigation.load externalUrl )
NavigateToAwesome ->
( model, Navigation.pushUrl model.key <| Url.Builder.absolute [ "awesomePage" ] [] )
SendToExternalLocation url ->
( model, Navigation.load url )
port triggerLocationChange : (String -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ triggerLocationChange SendToExternalLocation
] | 15975 | port module Navigation.App exposing (..)
import Html exposing (Html)
import Html.Attributes as Attr
import Html.Events as Events
import Http
import Json.Decode as Json
import Url exposing (Url)
import Url.Parser as UrlParser exposing (Parser)
import Url.Builder
import Browser exposing (UrlRequest(..))
import Browser.Navigation as Navigation
type alias Model =
{ name: String
, page: Page
, key: Navigation.Key
}
type Page
= Home
| Fun
| Awesome
| Super
defaultModel : Navigation.Key -> Page -> Model
defaultModel key page =
{ name = "<NAME>"
, page = page
, key = key
}
type Msg
= OnUrlChange Url
| OnUrlRequest UrlRequest
| NavigateToAwesome
| SendToExternalLocation String
init : Url -> Navigation.Key -> ( Model, Cmd Msg )
init url key =
let
page =
UrlParser.parse routes url
|> Maybe.withDefault Home
in
( defaultModel key page, Cmd.none )
routes =
UrlParser.oneOf
[ UrlParser.map Fun <| UrlParser.s "funPage"
, UrlParser.map Awesome <| UrlParser.s "awesomePage"
, UrlParser.map Super <| UrlParser.s "superPage"
, UrlParser.map Home <| UrlParser.top
]
view : Model -> Html Msg
view model =
case model.page of
Home ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text <| "Hey " ++ model.name ++ "!" ]
, Html.hr [] []
, Html.div []
[ Html.button [ Attr.id "awesome-location", Events.onClick NavigateToAwesome ] [ Html.text "Let's go!!!" ]
]
, Html.hr [] []
, Html.div []
[ Html.a [ Attr.id "super-link", Attr.href "/superPage" ] [ Html.text "A Super Link" ]
, Html.a [ Attr.id "external-link", Attr.href "http://fun-times.com/fun.html" ] [ Html.text "An External Link" ]
]
]
Fun ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the fun page!" ]
]
Awesome ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the awesome page!" ]
]
Super ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the super page!" ]
]
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
OnUrlChange url ->
UrlParser.parse routes url
|> Maybe.withDefault Home
|> \page ->
( { model | page = page }, Cmd.none )
OnUrlRequest urlRequest ->
case urlRequest of
Internal url ->
( model, Navigation.pushUrl model.key <| Url.toString url )
External externalUrl ->
( model, Navigation.load externalUrl )
NavigateToAwesome ->
( model, Navigation.pushUrl model.key <| Url.Builder.absolute [ "awesomePage" ] [] )
SendToExternalLocation url ->
( model, Navigation.load url )
port triggerLocationChange : (String -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ triggerLocationChange SendToExternalLocation
] | true | port module Navigation.App exposing (..)
import Html exposing (Html)
import Html.Attributes as Attr
import Html.Events as Events
import Http
import Json.Decode as Json
import Url exposing (Url)
import Url.Parser as UrlParser exposing (Parser)
import Url.Builder
import Browser exposing (UrlRequest(..))
import Browser.Navigation as Navigation
type alias Model =
{ name: String
, page: Page
, key: Navigation.Key
}
type Page
= Home
| Fun
| Awesome
| Super
defaultModel : Navigation.Key -> Page -> Model
defaultModel key page =
{ name = "PI:NAME:<NAME>END_PI"
, page = page
, key = key
}
type Msg
= OnUrlChange Url
| OnUrlRequest UrlRequest
| NavigateToAwesome
| SendToExternalLocation String
init : Url -> Navigation.Key -> ( Model, Cmd Msg )
init url key =
let
page =
UrlParser.parse routes url
|> Maybe.withDefault Home
in
( defaultModel key page, Cmd.none )
routes =
UrlParser.oneOf
[ UrlParser.map Fun <| UrlParser.s "funPage"
, UrlParser.map Awesome <| UrlParser.s "awesomePage"
, UrlParser.map Super <| UrlParser.s "superPage"
, UrlParser.map Home <| UrlParser.top
]
view : Model -> Html Msg
view model =
case model.page of
Home ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text <| "Hey " ++ model.name ++ "!" ]
, Html.hr [] []
, Html.div []
[ Html.button [ Attr.id "awesome-location", Events.onClick NavigateToAwesome ] [ Html.text "Let's go!!!" ]
]
, Html.hr [] []
, Html.div []
[ Html.a [ Attr.id "super-link", Attr.href "/superPage" ] [ Html.text "A Super Link" ]
, Html.a [ Attr.id "external-link", Attr.href "http://fun-times.com/fun.html" ] [ Html.text "An External Link" ]
]
]
Fun ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the fun page!" ]
]
Awesome ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the awesome page!" ]
]
Super ->
Html.div []
[ Html.h1 [ Attr.id "title" ] [ Html.text "On the super page!" ]
]
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
OnUrlChange url ->
UrlParser.parse routes url
|> Maybe.withDefault Home
|> \page ->
( { model | page = page }, Cmd.none )
OnUrlRequest urlRequest ->
case urlRequest of
Internal url ->
( model, Navigation.pushUrl model.key <| Url.toString url )
External externalUrl ->
( model, Navigation.load externalUrl )
NavigateToAwesome ->
( model, Navigation.pushUrl model.key <| Url.Builder.absolute [ "awesomePage" ] [] )
SendToExternalLocation url ->
( model, Navigation.load url )
port triggerLocationChange : (String -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ triggerLocationChange SendToExternalLocation
] | elm |
[
{
"context": ", ( \" 345 m \", Ok 345 )\n\n -- 2020-03-12 from TheRealManiac (https://forum.botengine.org/t/last-version-of-mi",
"end": 632,
"score": 0.9995633364,
"start": 619,
"tag": "USERNAME",
"value": "TheRealManiac"
},
{
"context": ", ( \"6.621 m \", Ok 6621 )\n\n -- 2020-03-22 from istu233 at https://forum.botengine.org/t/mining-bot-probl",
"end": 759,
"score": 0.9996379018,
"start": 752,
"tag": "USERNAME",
"value": "istu233"
},
{
"context": "DCF580-[In Space with selected Ore Hold].zip' from Leon Bechen.\n , ( \"0/5.000,0 m³\", Ok { used = 0, maximum =",
"end": 1797,
"score": 0.9993306398,
"start": 1786,
"tag": "NAME",
"value": "Leon Bechen"
},
{
"context": "020-02-23 process-sample-FFE3312944 contributed by ORly (https://forum.botengine.org/t/mining-bot-i-canno",
"end": 2074,
"score": 0.9609827399,
"start": 2070,
"tag": "USERNAME",
"value": "ORly"
}
] | implement/alternate-ui/source/tests/ParseMemoryReadingTest.elm | Threepwood-eve/Sanderling | 0 | module ParseMemoryReadingTest exposing (allTests)
import Common.EffectOnWindow
import EveOnline.ParseUserInterface exposing (MaybeVisible(..))
import Expect
import Test exposing (..)
allTests : Test
allTests =
describe "Parse memory reading"
[ overview_entry_distance_text_to_meter
, inventory_capacity_gauge_text
, parse_module_button_tooltip_shortcut
]
overview_entry_distance_text_to_meter : Test
overview_entry_distance_text_to_meter =
[ ( "2,856 m", Ok 2856 )
, ( "123 m", Ok 123 )
, ( "16 km", Ok 16000 )
, ( " 345 m ", Ok 345 )
-- 2020-03-12 from TheRealManiac (https://forum.botengine.org/t/last-version-of-mining-bot/3149)
, ( "6.621 m ", Ok 6621 )
-- 2020-03-22 from istu233 at https://forum.botengine.org/t/mining-bot-problem/3169
, ( "2 980 m", Ok 2980 )
]
|> List.map
(\( displayText, expectedResult ) ->
test displayText <|
\_ ->
displayText
|> EveOnline.ParseUserInterface.parseOverviewEntryDistanceInMetersFromText
|> Expect.equal expectedResult
)
|> describe "Overview entry distance text"
inventory_capacity_gauge_text : Test
inventory_capacity_gauge_text =
[ ( "1,211.9/5,000.0 m³", Ok { used = 1211, maximum = Just 5000, selected = Nothing } )
, ( " 123.4 / 5,000.0 m³ ", Ok { used = 123, maximum = Just 5000, selected = Nothing } )
-- Example from https://forum.botengine.org/t/standard-mining-bot-problems/2715/14?u=viir
, ( "4 999,8/5 000,0 m³", Ok { used = 4999, maximum = Just 5000, selected = Nothing } )
-- 2020-01-31 sample 'process-sample-2FA2DCF580-[In Space with selected Ore Hold].zip' from Leon Bechen.
, ( "0/5.000,0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
-- 2020-02-16-eve-online-sample
, ( "(33.3) 53.6/450.0 m³", Ok { used = 53, maximum = Just 450, selected = Just 33 } )
-- 2020-02-23 process-sample-FFE3312944 contributed by ORly (https://forum.botengine.org/t/mining-bot-i-cannot-see-the-ore-hold-capacity-gauge/3101/5?u=viir)
, ( "0/5\u{00A0}000,0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
-- 2020-07-26 scenario shared by neolexo at https://forum.botengine.org/t/issue-with-mining/3469/3?u=viir
, ( "0/5’000.0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
]
|> List.map
(\( text, expectedResult ) ->
test text <|
\_ ->
text
|> EveOnline.ParseUserInterface.parseInventoryCapacityGaugeText
|> Expect.equal expectedResult
)
|> describe "Inventory capacity gauge text"
parse_module_button_tooltip_shortcut : Test
parse_module_button_tooltip_shortcut =
[ ( " F1 ", [ Common.EffectOnWindow.key_F1 ] )
, ( " CTRL-F3 ", [ Common.EffectOnWindow.VK_LCONTROL, Common.EffectOnWindow.key_F3 ] )
, ( " STRG-F4 ", [ Common.EffectOnWindow.VK_LCONTROL, Common.EffectOnWindow.key_F4 ] )
, ( " ALT+F4 ", [ Common.EffectOnWindow.VK_LMENU, Common.EffectOnWindow.key_F4 ] )
, ( " SHIFT - F5 ", [ Common.EffectOnWindow.VK_LSHIFT, Common.EffectOnWindow.key_F5 ] )
, ( " UMSCH-F6 ", [ Common.EffectOnWindow.VK_LSHIFT, Common.EffectOnWindow.key_F6 ] )
]
|> List.map
(\( text, expectedResult ) ->
test text <|
\_ ->
text
|> EveOnline.ParseUserInterface.parseModuleButtonTooltipShortcut
|> Expect.equal (Ok expectedResult)
)
|> describe "Parse module button tooltip shortcut"
| 25941 | module ParseMemoryReadingTest exposing (allTests)
import Common.EffectOnWindow
import EveOnline.ParseUserInterface exposing (MaybeVisible(..))
import Expect
import Test exposing (..)
allTests : Test
allTests =
describe "Parse memory reading"
[ overview_entry_distance_text_to_meter
, inventory_capacity_gauge_text
, parse_module_button_tooltip_shortcut
]
overview_entry_distance_text_to_meter : Test
overview_entry_distance_text_to_meter =
[ ( "2,856 m", Ok 2856 )
, ( "123 m", Ok 123 )
, ( "16 km", Ok 16000 )
, ( " 345 m ", Ok 345 )
-- 2020-03-12 from TheRealManiac (https://forum.botengine.org/t/last-version-of-mining-bot/3149)
, ( "6.621 m ", Ok 6621 )
-- 2020-03-22 from istu233 at https://forum.botengine.org/t/mining-bot-problem/3169
, ( "2 980 m", Ok 2980 )
]
|> List.map
(\( displayText, expectedResult ) ->
test displayText <|
\_ ->
displayText
|> EveOnline.ParseUserInterface.parseOverviewEntryDistanceInMetersFromText
|> Expect.equal expectedResult
)
|> describe "Overview entry distance text"
inventory_capacity_gauge_text : Test
inventory_capacity_gauge_text =
[ ( "1,211.9/5,000.0 m³", Ok { used = 1211, maximum = Just 5000, selected = Nothing } )
, ( " 123.4 / 5,000.0 m³ ", Ok { used = 123, maximum = Just 5000, selected = Nothing } )
-- Example from https://forum.botengine.org/t/standard-mining-bot-problems/2715/14?u=viir
, ( "4 999,8/5 000,0 m³", Ok { used = 4999, maximum = Just 5000, selected = Nothing } )
-- 2020-01-31 sample 'process-sample-2FA2DCF580-[In Space with selected Ore Hold].zip' from <NAME>.
, ( "0/5.000,0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
-- 2020-02-16-eve-online-sample
, ( "(33.3) 53.6/450.0 m³", Ok { used = 53, maximum = Just 450, selected = Just 33 } )
-- 2020-02-23 process-sample-FFE3312944 contributed by ORly (https://forum.botengine.org/t/mining-bot-i-cannot-see-the-ore-hold-capacity-gauge/3101/5?u=viir)
, ( "0/5\u{00A0}000,0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
-- 2020-07-26 scenario shared by neolexo at https://forum.botengine.org/t/issue-with-mining/3469/3?u=viir
, ( "0/5’000.0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
]
|> List.map
(\( text, expectedResult ) ->
test text <|
\_ ->
text
|> EveOnline.ParseUserInterface.parseInventoryCapacityGaugeText
|> Expect.equal expectedResult
)
|> describe "Inventory capacity gauge text"
parse_module_button_tooltip_shortcut : Test
parse_module_button_tooltip_shortcut =
[ ( " F1 ", [ Common.EffectOnWindow.key_F1 ] )
, ( " CTRL-F3 ", [ Common.EffectOnWindow.VK_LCONTROL, Common.EffectOnWindow.key_F3 ] )
, ( " STRG-F4 ", [ Common.EffectOnWindow.VK_LCONTROL, Common.EffectOnWindow.key_F4 ] )
, ( " ALT+F4 ", [ Common.EffectOnWindow.VK_LMENU, Common.EffectOnWindow.key_F4 ] )
, ( " SHIFT - F5 ", [ Common.EffectOnWindow.VK_LSHIFT, Common.EffectOnWindow.key_F5 ] )
, ( " UMSCH-F6 ", [ Common.EffectOnWindow.VK_LSHIFT, Common.EffectOnWindow.key_F6 ] )
]
|> List.map
(\( text, expectedResult ) ->
test text <|
\_ ->
text
|> EveOnline.ParseUserInterface.parseModuleButtonTooltipShortcut
|> Expect.equal (Ok expectedResult)
)
|> describe "Parse module button tooltip shortcut"
| true | module ParseMemoryReadingTest exposing (allTests)
import Common.EffectOnWindow
import EveOnline.ParseUserInterface exposing (MaybeVisible(..))
import Expect
import Test exposing (..)
allTests : Test
allTests =
describe "Parse memory reading"
[ overview_entry_distance_text_to_meter
, inventory_capacity_gauge_text
, parse_module_button_tooltip_shortcut
]
overview_entry_distance_text_to_meter : Test
overview_entry_distance_text_to_meter =
[ ( "2,856 m", Ok 2856 )
, ( "123 m", Ok 123 )
, ( "16 km", Ok 16000 )
, ( " 345 m ", Ok 345 )
-- 2020-03-12 from TheRealManiac (https://forum.botengine.org/t/last-version-of-mining-bot/3149)
, ( "6.621 m ", Ok 6621 )
-- 2020-03-22 from istu233 at https://forum.botengine.org/t/mining-bot-problem/3169
, ( "2 980 m", Ok 2980 )
]
|> List.map
(\( displayText, expectedResult ) ->
test displayText <|
\_ ->
displayText
|> EveOnline.ParseUserInterface.parseOverviewEntryDistanceInMetersFromText
|> Expect.equal expectedResult
)
|> describe "Overview entry distance text"
inventory_capacity_gauge_text : Test
inventory_capacity_gauge_text =
[ ( "1,211.9/5,000.0 m³", Ok { used = 1211, maximum = Just 5000, selected = Nothing } )
, ( " 123.4 / 5,000.0 m³ ", Ok { used = 123, maximum = Just 5000, selected = Nothing } )
-- Example from https://forum.botengine.org/t/standard-mining-bot-problems/2715/14?u=viir
, ( "4 999,8/5 000,0 m³", Ok { used = 4999, maximum = Just 5000, selected = Nothing } )
-- 2020-01-31 sample 'process-sample-2FA2DCF580-[In Space with selected Ore Hold].zip' from PI:NAME:<NAME>END_PI.
, ( "0/5.000,0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
-- 2020-02-16-eve-online-sample
, ( "(33.3) 53.6/450.0 m³", Ok { used = 53, maximum = Just 450, selected = Just 33 } )
-- 2020-02-23 process-sample-FFE3312944 contributed by ORly (https://forum.botengine.org/t/mining-bot-i-cannot-see-the-ore-hold-capacity-gauge/3101/5?u=viir)
, ( "0/5\u{00A0}000,0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
-- 2020-07-26 scenario shared by neolexo at https://forum.botengine.org/t/issue-with-mining/3469/3?u=viir
, ( "0/5’000.0 m³", Ok { used = 0, maximum = Just 5000, selected = Nothing } )
]
|> List.map
(\( text, expectedResult ) ->
test text <|
\_ ->
text
|> EveOnline.ParseUserInterface.parseInventoryCapacityGaugeText
|> Expect.equal expectedResult
)
|> describe "Inventory capacity gauge text"
parse_module_button_tooltip_shortcut : Test
parse_module_button_tooltip_shortcut =
[ ( " F1 ", [ Common.EffectOnWindow.key_F1 ] )
, ( " CTRL-F3 ", [ Common.EffectOnWindow.VK_LCONTROL, Common.EffectOnWindow.key_F3 ] )
, ( " STRG-F4 ", [ Common.EffectOnWindow.VK_LCONTROL, Common.EffectOnWindow.key_F4 ] )
, ( " ALT+F4 ", [ Common.EffectOnWindow.VK_LMENU, Common.EffectOnWindow.key_F4 ] )
, ( " SHIFT - F5 ", [ Common.EffectOnWindow.VK_LSHIFT, Common.EffectOnWindow.key_F5 ] )
, ( " UMSCH-F6 ", [ Common.EffectOnWindow.VK_LSHIFT, Common.EffectOnWindow.key_F6 ] )
]
|> List.map
(\( text, expectedResult ) ->
test text <|
\_ ->
text
|> EveOnline.ParseUserInterface.parseModuleButtonTooltipShortcut
|> Expect.equal (Ok expectedResult)
)
|> describe "Parse module button tooltip shortcut"
| elm |
[
{
"context": "\n1. Receive JWT from uPort a service: {'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXQiOnsiQGN...M0NjQ3fQ.3b9Io8IFmmGjJWljGBGzKR7U2AR209QF\\_WYp61qpgbc'}\n2. Convert \"token\" field data from base64 to j",
"end": 1784,
"score": 0.9991337657,
"start": 1676,
"tag": "KEY",
"value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXQiOnsiQGN...M0NjQ3fQ.3b9Io8IFmmGjJWljGBGzKR7U2AR209QF\\_WYp61qpgbc"
}
] | examples/complex/src/elm/Request/UPort.elm | Ippo343/elm-ethereum | 67 | module Request.UPort exposing (ErrorData, Message(..), RequestData, SuccessData, User, authEndpoint, decodeMessage, errorDecoder, messageDecoder, requestDecoder, successDecoder, userDecoder, userJWTDecoder)
import Base64
import Json.Decode as Decode exposing (Decoder, decodeString, map, oneOf, string)
import Json.Decode.Pipeline exposing (custom, decode, required, requiredAt)
import List.Extra as ListExtra
authEndpoint : String
authEndpoint =
"wss://uport-staging.opolis.co"
type Message
= Request RequestData
| Success SuccessData
| Error ErrorData
type alias RequestData =
{ uri : String
, qr : String
}
type alias SuccessData =
{ user : User }
type alias ErrorData =
{ error : String }
type alias User =
{ publicKey : String
, publicEncKey : String
, name : String
, email : String
, avatar : String
, address : String
, networkAddress : String
}
decodeMessage : (Message -> msg) -> String -> msg
decodeMessage tag raw =
case decodeString messageDecoder raw of
Err error ->
tag <| Error { error = error }
Ok message ->
tag message
messageDecoder : Decoder Message
messageDecoder =
oneOf
[ map Request requestDecoder
, map Success successDecoder
, map Error errorDecoder
]
requestDecoder : Decoder RequestData
requestDecoder =
decode RequestData
|> required "uri" string
|> required "qr" string
errorDecoder : Decoder ErrorData
errorDecoder =
decode ErrorData
|> required "error" string
{-| Turns a JWT into a User.
1. Receive JWT from uPort a service: {'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXQiOnsiQGN...M0NjQ3fQ.3b9Io8IFmmGjJWljGBGzKR7U2AR209QF\_WYp61qpgbc'}
2. Convert "token" field data from base64 to json string. "{'dat': { 'name': ..., 'email': ...} }"
3. Decode "dat" field into User type
-}
successDecoder : Decoder SuccessData
successDecoder =
decode SuccessData
|> required "token" userJWTDecoder
userJWTDecoder : Decoder User
userJWTDecoder =
let
base64ToUser : String -> Result String User
base64ToUser s =
String.split "." s
|> ListExtra.getAt 1
|> Result.fromMaybe "Error decoding JWT"
|> Result.andThen Base64.decode
|> Result.andThen (Decode.decodeString (Decode.field "dat" userDecoder))
in
Decode.string
|> Decode.andThen
(\str ->
case base64ToUser str of
Err err ->
Decode.fail err
Ok suc ->
Decode.succeed suc
)
userDecoder : Decoder User
userDecoder =
decode User
|> required "publicKey" string
|> required "publicEncKey" string
|> required "name" string
|> required "email" string
|> requiredAt [ "avatar", "uri" ] string
|> required "address" string
|> required "networkAddress" string
| 44779 | module Request.UPort exposing (ErrorData, Message(..), RequestData, SuccessData, User, authEndpoint, decodeMessage, errorDecoder, messageDecoder, requestDecoder, successDecoder, userDecoder, userJWTDecoder)
import Base64
import Json.Decode as Decode exposing (Decoder, decodeString, map, oneOf, string)
import Json.Decode.Pipeline exposing (custom, decode, required, requiredAt)
import List.Extra as ListExtra
authEndpoint : String
authEndpoint =
"wss://uport-staging.opolis.co"
type Message
= Request RequestData
| Success SuccessData
| Error ErrorData
type alias RequestData =
{ uri : String
, qr : String
}
type alias SuccessData =
{ user : User }
type alias ErrorData =
{ error : String }
type alias User =
{ publicKey : String
, publicEncKey : String
, name : String
, email : String
, avatar : String
, address : String
, networkAddress : String
}
decodeMessage : (Message -> msg) -> String -> msg
decodeMessage tag raw =
case decodeString messageDecoder raw of
Err error ->
tag <| Error { error = error }
Ok message ->
tag message
messageDecoder : Decoder Message
messageDecoder =
oneOf
[ map Request requestDecoder
, map Success successDecoder
, map Error errorDecoder
]
requestDecoder : Decoder RequestData
requestDecoder =
decode RequestData
|> required "uri" string
|> required "qr" string
errorDecoder : Decoder ErrorData
errorDecoder =
decode ErrorData
|> required "error" string
{-| Turns a JWT into a User.
1. Receive JWT from uPort a service: {'token': '<KEY>'}
2. Convert "token" field data from base64 to json string. "{'dat': { 'name': ..., 'email': ...} }"
3. Decode "dat" field into User type
-}
successDecoder : Decoder SuccessData
successDecoder =
decode SuccessData
|> required "token" userJWTDecoder
userJWTDecoder : Decoder User
userJWTDecoder =
let
base64ToUser : String -> Result String User
base64ToUser s =
String.split "." s
|> ListExtra.getAt 1
|> Result.fromMaybe "Error decoding JWT"
|> Result.andThen Base64.decode
|> Result.andThen (Decode.decodeString (Decode.field "dat" userDecoder))
in
Decode.string
|> Decode.andThen
(\str ->
case base64ToUser str of
Err err ->
Decode.fail err
Ok suc ->
Decode.succeed suc
)
userDecoder : Decoder User
userDecoder =
decode User
|> required "publicKey" string
|> required "publicEncKey" string
|> required "name" string
|> required "email" string
|> requiredAt [ "avatar", "uri" ] string
|> required "address" string
|> required "networkAddress" string
| true | module Request.UPort exposing (ErrorData, Message(..), RequestData, SuccessData, User, authEndpoint, decodeMessage, errorDecoder, messageDecoder, requestDecoder, successDecoder, userDecoder, userJWTDecoder)
import Base64
import Json.Decode as Decode exposing (Decoder, decodeString, map, oneOf, string)
import Json.Decode.Pipeline exposing (custom, decode, required, requiredAt)
import List.Extra as ListExtra
authEndpoint : String
authEndpoint =
"wss://uport-staging.opolis.co"
type Message
= Request RequestData
| Success SuccessData
| Error ErrorData
type alias RequestData =
{ uri : String
, qr : String
}
type alias SuccessData =
{ user : User }
type alias ErrorData =
{ error : String }
type alias User =
{ publicKey : String
, publicEncKey : String
, name : String
, email : String
, avatar : String
, address : String
, networkAddress : String
}
decodeMessage : (Message -> msg) -> String -> msg
decodeMessage tag raw =
case decodeString messageDecoder raw of
Err error ->
tag <| Error { error = error }
Ok message ->
tag message
messageDecoder : Decoder Message
messageDecoder =
oneOf
[ map Request requestDecoder
, map Success successDecoder
, map Error errorDecoder
]
requestDecoder : Decoder RequestData
requestDecoder =
decode RequestData
|> required "uri" string
|> required "qr" string
errorDecoder : Decoder ErrorData
errorDecoder =
decode ErrorData
|> required "error" string
{-| Turns a JWT into a User.
1. Receive JWT from uPort a service: {'token': 'PI:KEY:<KEY>END_PI'}
2. Convert "token" field data from base64 to json string. "{'dat': { 'name': ..., 'email': ...} }"
3. Decode "dat" field into User type
-}
successDecoder : Decoder SuccessData
successDecoder =
decode SuccessData
|> required "token" userJWTDecoder
userJWTDecoder : Decoder User
userJWTDecoder =
let
base64ToUser : String -> Result String User
base64ToUser s =
String.split "." s
|> ListExtra.getAt 1
|> Result.fromMaybe "Error decoding JWT"
|> Result.andThen Base64.decode
|> Result.andThen (Decode.decodeString (Decode.field "dat" userDecoder))
in
Decode.string
|> Decode.andThen
(\str ->
case base64ToUser str of
Err err ->
Decode.fail err
Ok suc ->
Decode.succeed suc
)
userDecoder : Decoder User
userDecoder =
decode User
|> required "publicKey" string
|> required "publicEncKey" string
|> required "name" string
|> required "email" string
|> requiredAt [ "avatar", "uri" ] string
|> required "address" string
|> required "networkAddress" string
| elm |
[
{
"context": "{-\n Models/Regex.elm\n Author: Henrique da Cunha Buss\n Creation: October/2020\n This file contains t",
"end": 56,
"score": 0.9998573661,
"start": 34,
"tag": "NAME",
"value": "Henrique da Cunha Buss"
}
] | src/Models/Regex.elm | NeoVier/LFC01 | 0 | {-
Models/Regex.elm
Author: Henrique da Cunha Buss
Creation: October/2020
This file contains the definitions of everything related to Regexes
-}
module Models.Regex exposing (..)
import Models.Alphabet as Alphabet
{- A Regex can either be Epsilon, a Symbol, the Union between two Regexes,
the Concatenation between two Regexes, or a Star, Plus or Question node
-}
type Regex
= Epsilon
| Symbol Alphabet.Symbol
| Union Regex Regex
| Concat Regex Regex
| Star Regex
| Plus Regex
| Question Regex
{- We can have Regexes with Ids -}
type alias IdRegex =
( String, Regex )
| 52462 | {-
Models/Regex.elm
Author: <NAME>
Creation: October/2020
This file contains the definitions of everything related to Regexes
-}
module Models.Regex exposing (..)
import Models.Alphabet as Alphabet
{- A Regex can either be Epsilon, a Symbol, the Union between two Regexes,
the Concatenation between two Regexes, or a Star, Plus or Question node
-}
type Regex
= Epsilon
| Symbol Alphabet.Symbol
| Union Regex Regex
| Concat Regex Regex
| Star Regex
| Plus Regex
| Question Regex
{- We can have Regexes with Ids -}
type alias IdRegex =
( String, Regex )
| true | {-
Models/Regex.elm
Author: PI:NAME:<NAME>END_PI
Creation: October/2020
This file contains the definitions of everything related to Regexes
-}
module Models.Regex exposing (..)
import Models.Alphabet as Alphabet
{- A Regex can either be Epsilon, a Symbol, the Union between two Regexes,
the Concatenation between two Regexes, or a Star, Plus or Question node
-}
type Regex
= Epsilon
| Symbol Alphabet.Symbol
| Union Regex Regex
| Concat Regex Regex
| Star Regex
| Plus Regex
| Question Regex
{- We can have Regexes with Ids -}
type alias IdRegex =
( String, Regex )
| elm |
[
{
"context": "preventDefaultOnKeyDown\n\n-}\n\n{-\n\n Copyright 2018 Fabian Kirchner\n\n Licensed under the Apache License, Version 2.",
"end": 1817,
"score": 0.9998784065,
"start": 1802,
"tag": "NAME",
"value": "Fabian Kirchner"
},
{
"context": "\n\n{-| If you want to use other UI libraries like `rtfeldman/elm-css` or\n`mdgriffith/elm-ui` you have to gener",
"end": 22276,
"score": 0.8355770111,
"start": 22267,
"tag": "USERNAME",
"value": "rtfeldman"
}
] | src/Listbox.elm | kirchner/elm-wai-aria-listbox | 0 | module Listbox exposing
( view, Instance, Label, labelledBy, label, noLabel
, Listbox, init
, update, Msg, subscriptions
, Behaviour
, TypeAhead, noTypeAhead, simpleTypeAhead, typeAhead
, Views, html
, custom, ListboxAttrs, OptionAttrs
, viewUnique, updateUnique
, focusEntryUnique, focusNextOrFirstEntryUnique, focusPreviousOrFirstEntryUnique
, focusedEntry, focusedEntryId, hoveredEntry
, focusEntry, focusNextOrFirstEntry, focusPreviousOrFirstEntry
, focus
, scrollToFocus
, preventDefaultOnKeyDown
)
{-| Implementation of the [listbox
widget](https://www.w3.org/TR/wai-aria-practices-1.1/#Listbox):
> A listbox widget presents a list of options and allows a user to select one
> or more of them.
Take a look at the documentation of `Behaviour` for the default keyboard
interactions this widget offers.
# View
@docs view, Instance, Label, labelledBy, label, noLabel
# State management
@docs Listbox, init
@docs update, Msg, subscriptions
@docs Behaviour
## Type-ahead
@docs TypeAhead, noTypeAhead, simpleTypeAhead, typeAhead
# View customization
@docs Views, html
## Advanced customization
@docs custom, ListboxAttrs, OptionAttrs
# Unique selection
If you need a `Listbox` allowing only **at most one** selection. You just have
to replace the `view`, `update`, ... functions with the following ones in this
section.
@docs viewUnique, updateUnique
@docs focusEntryUnique, focusNextOrFirstEntryUnique, focusPreviousOrFirstEntryUnique
# Advanced usage
## State info
@docs focusedEntry, focusedEntryId, hoveredEntry
## State manipulation
@docs focusEntry, focusNextOrFirstEntry, focusPreviousOrFirstEntry
## DOM Stuff
@docs focus
@docs scrollToFocus
@docs preventDefaultOnKeyDown
-}
{-
Copyright 2018 Fabian Kirchner
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.
-}
import Accessibility.Aria as Aria
import Accessibility.Role as Role
import Accessibility.Widget as Widget
import Browser.Dom as Dom
import Html exposing (Attribute, Html)
import Html.Attributes as Attributes
import Html.Events as Events
import Internal.KeyInfo as KeyInfo exposing (KeyInfo)
import Internal.Label as Internal exposing (Label(..))
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline as Decode
import Json.Encode exposing (Value)
import List.Extra as List
import Set
import Task exposing (Task)
import Time exposing (Posix)
{-| Tracks the keyboard and mouse focus as well as the current query. The full
list of entries and the currently selected option(s) live in your own model.
-}
type Listbox
= Listbox Data
type alias Data =
{ preventScroll : Bool
, query : Query
-- FOCUS
, focus : Focus
, hover : Maybe String
, maybeLastSelectedEntry : Maybe String
}
type Query
= NoQuery
| Query Int Time.Posix String
type Focus
= NoFocus
| Focus String
| Pending
{ id : String
, current : String
, pending : String
, shiftDown : Bool
}
currentFocus : Focus -> Maybe String
currentFocus theFocus =
case theFocus of
NoFocus ->
Nothing
Focus current ->
Just current
Pending { current } ->
Just current
{-| An initial listbox with no option focused.
-}
init : Listbox
init =
Listbox
{ preventScroll = False
, query = NoQuery
, focus = NoFocus
, hover = Nothing
, maybeLastSelectedEntry = Nothing
}
---- EXTERNAL STATE MANIPULATION
{-| A task to give the listbox focus. The first argument must match the
`Instance` used in the `view` function!
-}
focus : Instance a msg -> Task Dom.Error ()
focus { id } =
Dom.focus (printListId id)
{-| Returns the option which currently has keyboard focus.
-}
focusedEntry : (a -> String) -> List a -> Listbox -> Maybe a
focusedEntry uniqueId allEntries (Listbox listbox) =
Maybe.andThen (find uniqueId allEntries) (currentFocus listbox.focus)
{-| Returns the option which currently has mouse focus.
-}
hoveredEntry : (a -> String) -> List a -> Listbox -> Maybe a
hoveredEntry uniqueId allEntries (Listbox listbox) =
Maybe.andThen (find uniqueId allEntries) listbox.hover
{-| Sets the keyboard focus to the provided options.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> a
-> Listbox
-> List a
-> ( Listbox, List a )
focusEntry config newEntry (Listbox listbox) selection =
( Listbox
{ listbox
| query = NoQuery
, focus = Focus (config.uniqueId newEntry)
}
, if config.behaviour.selectionFollowsFocus then
[ newEntry ]
else
selection
)
{-| Sets the keyboard focus to the next option. If `jumpAtEnds` is true and the
focus is already on the last option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusNextOrFirstEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> List a
-> ( Listbox, List a )
focusNextOrFirstEntry config allEntries (Listbox listbox) selection =
let
{ uniqueId, behaviour } =
config
maybeA =
case currentFocus listbox.focus of
Nothing ->
List.head allEntries
Just hash ->
case findNext uniqueId allEntries hash of
Just (First a) ->
if behaviour.jumpAtEnds then
Just a
else
Nothing
Just (Next a) ->
Just a
Nothing ->
Nothing
in
case maybeA of
Nothing ->
( Listbox listbox, selection )
Just a ->
let
newListbox =
Listbox { listbox | focus = Focus (uniqueId a) }
in
if behaviour.selectionFollowsFocus then
( newListbox
, [ a ]
)
else
( newListbox
, selection
)
{-| Sets the keyboard focus to the previous option. If `jumpAtEnds` is true and the
focus is already on the first option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusPreviousOrFirstEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> List a
-> ( Listbox, List a )
focusPreviousOrFirstEntry config allEntries (Listbox listbox) selection =
let
{ uniqueId, behaviour } =
config
maybeA =
case currentFocus listbox.focus of
Nothing ->
List.head allEntries
Just hash ->
case findPrevious uniqueId allEntries hash of
Just (Last a) ->
if behaviour.jumpAtEnds then
Just a
else
Nothing
Just (Previous a) ->
Just a
Nothing ->
Nothing
in
case maybeA of
Nothing ->
( Listbox listbox, selection )
Just a ->
let
newListbox =
Listbox { listbox | focus = Focus (uniqueId a) }
in
if behaviour.selectionFollowsFocus then
( newListbox
, [ a ]
)
else
( newListbox
, selection
)
{-| A command adjusting the scroll position of the listbox such that the
current keyboard focus is visible.
-}
scrollToFocus : Behaviour a -> Instance a msg -> Listbox -> Cmd msg
scrollToFocus behaviour { id, lift } (Listbox listbox) =
Cmd.map lift
(case listbox.focus of
NoFocus ->
Cmd.none
Focus current ->
attemptToScrollToOption behaviour id current Nothing
Pending { current } ->
attemptToScrollToOption behaviour id current Nothing
)
---- UPDATE CONFIG
{-| **Available behaviour customizations**
You can customize the behaviour of the listbox with the following options:
- **jumpAtEnds**: Whether the keyboard focus should jump to the other end of
the list when pressing `ArrowUp` while focusing the first option (or
`ArrowDown` while focusing the last).
- **separateFocus**: Whether the mouse focus and the keyboard focus can be
different.
- **selectionFollowsFocus**: Do we automatically add the entry gaining
keyboard focus to the selection?
- **handleHomeAndEnd**: Should we handle the `Home` and `End` keys (to jump
to the top or bottom of the list)?
- **typeAhead**: Make it possible to jump to options by typing in a query.
Take a look at `TypeAhead` for more information.
- **minimalGap**: If the distance (in px) of the option having the keyboard
focus to the borders of the listbox's viewport is smaller then this value,
the listbox will adjust its scroll position so that this distance is at least
`initialGap`.
- **initialGap**: The minimal distance (in px) of the option having the
keyboard focus to the borders of the listbox's viewport after the scroll
position has been adjusted.
A behaviour configuration could look something like this:
behaviour : Behaviour String
behaviour =
{ jumpAtEnds = True
, separateFocus = True
, selectionFollowsFocus = False
, handleHomeAndEnd = True
, typeAhead = simpleTypeAhead 300 identity
, minimalGap = 30
, initialGap = 200
}
The listbox will behave as explained in the [WAI-ARIA Authoring Practices
1.1](https://www.w3.org/TR/wai-aria-practices-1.1/#Listbox) in the _Keyboard
Interaction_ section. Note that you get the _recommended selection model_ if
you choose `selectionFollowsFocus = False`, and the _alternative
selection model_ for `selectionFollowsFocus = True`.
-}
type alias Behaviour a =
{ jumpAtEnds : Bool
, separateFocus : Bool
, selectionFollowsFocus : Bool
, handleHomeAndEnd : Bool
, typeAhead : TypeAhead a
, minimalGap : Float
, initialGap : Float
}
{-| -}
type TypeAhead a
= NoTypeAhead
| TypeAhead Int (String -> a -> Bool)
{-| Use this inside `Behaviour` if you do not want to activate the type-ahead
functionality.
-}
noTypeAhead : TypeAhead a
noTypeAhead =
NoTypeAhead
{-| Activate the type-ahead functionality. When the user types in a search
query.
- The first argument is the timeout (in milliseconds) after which the query
is reseted.
- The second argument, `a -> String`, should be a reasonable stringification
of the options. It is used to check whether an option starts with this query
or not. The listbox will then move the keyboard focus forward to the next
matching option.
-}
simpleTypeAhead : Int -> (a -> String) -> TypeAhead a
simpleTypeAhead timeout entryToString =
TypeAhead timeout <|
\query a ->
String.toLower (entryToString a)
|> String.startsWith (String.toLower query)
{-| This works like `simpleTypeAhead` but gives you you more flexibility when
customizing the matching condition. The first argument is the timeout. The
second argument is a function which gets the current query and an option,
returning if the query matches this option.
-}
typeAhead : Int -> (String -> a -> Bool) -> TypeAhead a
typeAhead =
TypeAhead
---- VIEW
{-| To make a listbox unique in your application you have to provide this
information to the `view` function:
- **id**: The unique id of the listbox.
- **label**: Specify how the listbox is labelled. See `Label` for
possible options.
- **lift**: Your message type constructor wrapping the listbox `Msg`'s.
-}
type alias Instance a msg =
{ id : String
, label : Label
, lift : Msg a -> msg
}
{-| There are three possibilities to label a listbox: it can be
`labelledBy` by another DOM element with the given id, it can provide its own
`label`, or it can have `noLabel` at all.
The last case is only allowed when the listbox is part of another widget which
itself is labelled.
-}
type alias Label =
Internal.Label
{-| -}
labelledBy : String -> Label
labelledBy =
Internal.LabelledBy
{-| -}
label : String -> Label
label =
Internal.Label
{-| -}
noLabel : Label
noLabel =
Internal.NoLabel
{-| Take a list of all entries and a list of selected options and display it as
a listbox. You have to provide a `ViewConfig` for the styling and an `Instance`
to uniquely identify this listbox. For example:
view : Listbox -> List String -> Html Msg
view listbox selection =
Html.div []
[ Listbox.view viewConfig
{ id = "fruits-listbox"
, label = label "fruits"
, lift = ListboxMsg
}
fruits
listbox
selection
]
fruits : List (Entry String divider)
fruits =
List.map Listbox.option
[ "Apple", "Banana", "Cherry" ]
type Msg
= ListboxMsg Listbox.Msg
You can provide the following options:
- **uniqueId**: A hash function for the entries.
- **focusable**: Should the listbox be focusable?
-}
view :
Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> List a
-> node
view =
viewHelp True
viewHelp :
Bool
-> Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> List a
-> node
viewHelp multiSelectable (Views views) config instance allEntries (Listbox data) selection =
views.listbox
{ id = printListId instance.id
, role = "listbox"
, ariaMultiselectable = stringFromBool multiSelectable
, ariaLabelledby =
case instance.label of
LabelledBy id ->
Just id
Label _ ->
Nothing
NoLabel ->
Nothing
, ariaLabel =
case instance.label of
LabelledBy _ ->
Nothing
Label theLabel ->
Just theLabel
NoLabel ->
Nothing
, ariaActivedescendant =
if config.markActiveDescendant then
currentFocus data.focus
|> Maybe.andThen (find config.uniqueId allEntries)
|> Maybe.map (config.uniqueId >> printEntryId instance.id)
else
Nothing
, tabindex =
if config.focusable then
Just 0
else
Nothing
, preventDefaultOnKeydown =
Decode.andThen
(listKeyPress False instance.id
>> Decode.map (\msg -> ( instance.lift msg, True ))
)
KeyInfo.decoder
, onMousedown = instance.lift ListMouseDown
, onMouseup = instance.lift ListMouseUp
, onFocus = instance.lift (ListFocused instance.id)
, onBlur = instance.lift ListBlured
}
{ options =
List.map (viewOption multiSelectable views.option config instance selection data)
allEntries
}
viewOption :
Bool
->
(OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
)
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Data
-> a
-> node
viewOption multiSelectable toNode config instance selection data option =
let
maybeHash =
Just (config.uniqueId option)
selected =
List.any ((==) option) selection
hash =
config.uniqueId option
in
toNode
{ id = printEntryId instance.id hash
, role = "option"
, ariaSelected =
if multiSelectable then
Just (stringFromBool selected)
else if selected then
Just "true"
else
Nothing
, onMouseenter = instance.lift (EntryMouseEntered hash)
, onMouseleave = instance.lift EntryMouseLeft
, onClick = instance.lift (EntryClicked option)
}
{ selected = selected
, focused = currentFocus data.focus == maybeHash
, hovered = data.hover == maybeHash
, maybeQuery =
case data.query of
NoQuery ->
Nothing
Query _ _ text ->
Just text
}
option
stringFromBool : Bool -> String
stringFromBool bool =
if bool then
"true"
else
"false"
listKeyPress : Bool -> String -> KeyInfo -> Decoder (Msg a)
listKeyPress fromOutside id { code, altDown, controlDown, metaDown, shiftDown } =
let
noModifierDown =
not (altDown || controlDown || metaDown || shiftDown)
onlyShiftDown =
not altDown && not controlDown && not metaDown && shiftDown
onlyControlDown =
not altDown && controlDown && not metaDown && not shiftDown
notHandlingThatKey =
Decode.fail "not handling that key combination"
in
case code of
"ArrowUp" ->
if noModifierDown then
Decode.succeed (ListArrowUpDown id)
else if onlyShiftDown then
Decode.succeed (ListShiftArrowUpDown id)
else
notHandlingThatKey
"ArrowDown" ->
if noModifierDown then
Decode.succeed (ListArrowDownDown id)
else if onlyShiftDown then
Decode.succeed (ListShiftArrowDownDown id)
else
notHandlingThatKey
"Enter" ->
if noModifierDown then
Decode.succeed (ListEnterDown id)
else
notHandlingThatKey
" " ->
if not fromOutside then
if onlyShiftDown then
Decode.succeed (ListShiftSpaceDown id)
else if noModifierDown then
Decode.succeed (ListSpaceDown id)
else
notHandlingThatKey
else
notHandlingThatKey
"Home" ->
if not altDown && controlDown && not metaDown && shiftDown then
Decode.succeed (ListControlShiftHomeDown id)
else if noModifierDown then
Decode.succeed (ListHomeDown id)
else
notHandlingThatKey
"End" ->
if not altDown && controlDown && not metaDown && shiftDown then
Decode.succeed (ListControlShiftEndDown id)
else if noModifierDown then
Decode.succeed (ListEndDown id)
else
notHandlingThatKey
"a" ->
if not fromOutside then
if onlyControlDown then
Decode.succeed ListControlADown
else if noModifierDown && (String.length code == 1) then
Decode.succeed (ListKeyDown id code)
else
notHandlingThatKey
else
notHandlingThatKey
_ ->
if not fromOutside then
if noModifierDown && (String.length code == 1) then
Decode.succeed (ListKeyDown id code)
else
notHandlingThatKey
else
notHandlingThatKey
{-| Opaque type for providing view customization of the listbox widget.
-}
type Views a node msg
= Views
{ listbox : ListboxAttrs msg -> { options : List node } -> node
, option :
OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
}
{-| TODO
-}
type alias ListboxAttrs msg =
{ id : String
, role : String
, ariaMultiselectable : String
, ariaLabelledby : Maybe String
, ariaLabel : Maybe String
, ariaActivedescendant : Maybe String
, tabindex : Maybe Int
, preventDefaultOnKeydown : Decoder ( msg, Bool )
, onMousedown : msg
, onMouseup : msg
, onFocus : msg
, onBlur : msg
}
{-| TODO
-}
type alias OptionAttrs msg =
{ id : String
, role : String
, ariaSelected : Maybe String
, onMouseenter : msg
, onMouseleave : msg
, onClick : msg
}
{-| If you want to use other UI libraries like `rtfeldman/elm-css` or
`mdgriffith/elm-ui` you have to generate Views using this function. Take a look
at the implementation of `html` for a starting point. The `examples/` folder of
the package repository contains an implementation for `mdgriffith/elm-ui`.
-}
custom :
{ listbox :
ListboxAttrs msg
->
{ options : List node
}
-> node
, option :
OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
}
-> Views a node msg
custom =
Views
{-| Generate view customizations for the standard `elm/html` package. You can
customize the styling with the following fields:
- **ul**: A list of html attributes applied to the outer listbox.
- **li**: A function returning `HtmlDetails` for each option in your
entries list. It gets the actual option value `a` and flags telling you if
this option is currently `selected`, `focused` or `hovered`. If the user
typed in a query, you get this via the `maybeQuery` field.
The DOM structure of a listbox will be something like this:
listbox =
Html.ul
[ ... ] -- ul attributes
[ Html.li
[ ... ] -- liDivider attributes
[ ... ] -- liDivider children
, Html.li
[ ... ] -- liOption attributes
[ ... ] -- liOption children
, ...
, Html.li
[ ... ] -- liOption attributes
[ ... ] -- liOption children
]
-}
html :
{ ul : List (Attribute msg)
, li :
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
->
{ attributes : List (Attribute msg)
, children : List (Html msg)
}
}
-> Views a (Html msg) msg
html config =
Views
{ listbox =
\attrs { options } ->
let
addAriaLabelledBy htmlAttrs =
case attrs.ariaLabelledby of
Nothing ->
htmlAttrs
Just ariaLabelledby ->
Attributes.attribute "aria-labelledby" ariaLabelledby :: htmlAttrs
addAriaLabel htmlAttrs =
case attrs.ariaLabel of
Nothing ->
htmlAttrs
Just ariaLabel ->
Attributes.attribute "aria-label" ariaLabel :: htmlAttrs
addAriaActivedescendant htmlAttrs =
case attrs.ariaActivedescendant of
Nothing ->
htmlAttrs
Just ariaActivedescendant ->
Attributes.attribute "aria-activedescendant" ariaActivedescendant
:: htmlAttrs
addTabindex htmlAttrs =
case attrs.tabindex of
Nothing ->
htmlAttrs
Just tabindex ->
Attributes.tabindex tabindex :: htmlAttrs
in
Html.ul
(([ Attributes.id attrs.id
, Attributes.attribute "role" attrs.role
, Attributes.attribute "aria-multiselectable" attrs.ariaMultiselectable
, Events.preventDefaultOn "keydown" attrs.preventDefaultOnKeydown
, Events.onMouseDown attrs.onMousedown
, Events.onMouseUp attrs.onMouseup
, Events.onFocus attrs.onFocus
, Events.onBlur attrs.onFocus
]
|> addAriaLabelledBy
|> addAriaLabel
|> addAriaActivedescendant
|> addTabindex
)
++ config.ul
)
options
, option =
\attrs state a ->
let
htmlDetails =
config.li state a
addAriaSelected htmlAttrs =
case attrs.ariaSelected of
Nothing ->
htmlAttrs
Just ariaSelected ->
Attributes.attribute "aria-selected" ariaSelected :: htmlAttrs
in
Html.li
(([ Attributes.id attrs.id
, Attributes.attribute "role" attrs.role
, Events.onMouseEnter attrs.onMouseenter
, Events.onMouseLeave attrs.onMouseleave
, Events.onClick attrs.onClick
]
|> addAriaSelected
)
++ htmlDetails.attributes
)
htmlDetails.children
}
{-| This adds all the keydown event listener needed for the listbox on any DOM
node. For example, this could be an input field which keeps focused while the
listbox is displayed in a dropdown. You usually want to set `focusable = False`
inside the `ViewConfig` when using this event listener.
You must provide your own event decoder, which is tried **before** the
listbox's event decoder. This lets you prevent the listbox reacting on key
combinations. If you do not need to handle keydown events, just insert a failing decoder:
view =
Html.input
[ Html.Events.preventDefaultOn "keydown"
(preventDefaultOnKeyDown
{ id = "fruits-listbox"
, labelledBy = "fruits"
, lift = ListboxMsg
}
(Decode.fail "not handling this event here")
)
]
[]
In this example, pressing keys like `ArrowUp` and `ArrowDown` will adjust the
listbox's focus although the listbox itself is not focused.
-}
preventDefaultOnKeyDown : Instance a msg -> Decoder ( msg, Bool ) -> Decoder ( msg, Bool )
preventDefaultOnKeyDown instance decoder =
Decode.oneOf
[ decoder
, Decode.andThen
(listKeyPress True instance.id
>> Decode.map (\msg -> ( instance.lift msg, True ))
)
KeyInfo.decoder
]
{-| Returns the HTML id of the currently focused entry.
-}
focusedEntryId :
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> Maybe String
focusedEntryId config instance entries (Listbox listbox) =
case listbox.focus of
NoFocus ->
Nothing
Focus current ->
find config.uniqueId entries current
|> Maybe.map (printEntryId instance.id << config.uniqueId)
Pending { current } ->
find config.uniqueId entries current
|> Maybe.map (printEntryId instance.id << config.uniqueId)
---- UNIQUE SELECTION
{-| Use this instead of `view` if the user can only select **at
most one** entry in the listbox. The only difference between the type signature
of this function and the one of `view` is that the last argument is a `Maybe a`
instead of a `List a`.
-}
viewUnique :
Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> Maybe a
-> node
viewUnique views config instance entries listbox selection =
viewHelp False views config instance entries listbox (maybeToList selection)
{-| Use this function instead of `update` if the user can only
select **at most one** entry in the listbox. The only difference between the
type signature of this function and the one of `update` is that the last
argument is a `Maybe a` instead of a `List a`.
-}
updateUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Listbox
-> Maybe a
-> ( Listbox, Cmd (Msg a), Maybe a )
updateUnique config allEntries msg listbox selection =
let
( newListbox, cmd, newSelection ) =
update config allEntries msg listbox <|
maybeToList selection
in
( newListbox, cmd, listToMaybe newSelection )
{-| Sets the keyboard focus to the provided options.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusEntryUnique config newEntry listbox selection =
withUnique selection (focusEntry config newEntry listbox)
{-| Sets the keyboard focus to the next option. If `jumpAtEnds` is true and the
focus is already on the last option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusNextOrFirstEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusNextOrFirstEntryUnique config allEntries listbox selection =
withUnique selection (focusNextOrFirstEntry config allEntries listbox)
{-| Sets the keyboard focus to the previous option. If `jumpAtEnds` is true and the
focus is already on the first option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusPreviousOrFirstEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusPreviousOrFirstEntryUnique config allEntries listbox selection =
withUnique selection (focusPreviousOrFirstEntry config allEntries listbox)
withUnique : Maybe a -> (List a -> ( Listbox, List a )) -> ( Listbox, Maybe a )
withUnique selection func =
let
( listbox, list ) =
func (maybeToList selection)
in
( listbox, listToMaybe list )
maybeToList : Maybe a -> List a
maybeToList maybeA =
case maybeA of
Nothing ->
[]
Just a ->
[ a ]
listToMaybe : List a -> Maybe a
listToMaybe listA =
case listA of
[] ->
Nothing
a :: _ ->
Just a
-- UPDATE
{-| -}
type Msg a
= NoOp
| BrowserReturnedDomInfoOption a (Result Dom.Error DomInfoOption)
| ViewportOfListReceived Direction a (Result Dom.Error Dom.Viewport)
-- LIST
| ListMouseDown
| ListMouseUp
| ListFocused String
| ListBlured
| ListArrowUpDown String
| ListShiftArrowUpDown String
| ListArrowDownDown String
| ListShiftArrowDownDown String
| ListEnterDown String
| ListSpaceDown String
| ListShiftSpaceDown String
| ListHomeDown String
| ListControlShiftHomeDown String
| ListEndDown String
| ListControlShiftEndDown String
| ListControlADown
-- QUERY
| ListKeyDown String String
| CurrentTimeReceived String String Time.Posix
| Tick Time.Posix
-- ENTRY
| EntryMouseEntered String
| EntryMouseLeft
| EntryClicked a
type Direction
= Up
| Down
{-| Use this function to update the listbox state. You have to provide the same
entries and selection as given to your view function.
For example:
update msg model =
case msg of
ListboxMsg listboxMsg ->
let
( newListbox, listboxCmd, newSelection ) =
Listbox.update updateConfig
entries
listboxMsg
model.listbox
model.selection
in
( { model
| listbox = newListbox
, selection = newSelection
}
, Cmd.map ListboxMsg listboxCmd
)
In a more sophisticated example, the entries could be dynamic, as well. (For
example, loaded via an HTTP request.)
You can provide the following customizations:
- **uniqueId**: A hash function for the entries.
- **behaviour**: Behaviour customizations.
-}
update :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Listbox
-> List a
-> ( Listbox, Cmd (Msg a), List a )
update config entries msg (Listbox data) selection =
let
( newData, cmd, newSelection ) =
updateHelp config entries msg data selection
in
( Listbox newData, cmd, newSelection )
updateHelp :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Data
-> List a
-> ( Data, Cmd (Msg a), List a )
updateHelp ({ uniqueId, behaviour } as config) allEntries msg data selection =
let
unchanged =
( data
, Cmd.none
, selection
)
fromModel newData =
( newData
, Cmd.none
, selection
)
withEffect effect ( newData, _, newSelection ) =
( newData, effect, newSelection )
withSelection newSelection ( newData, effect, _ ) =
( newData, effect, newSelection )
-- SELECTION
select a listA ( newData, effect, newSelection ) =
{ newData | maybeLastSelectedEntry = Just (uniqueId a) }
|> fromModel
|> withSelection (List.uniqueBy uniqueId (a :: listA ++ newSelection))
unselect a ( newData, effect, newSelection ) =
newData
|> fromModel
|> withSelection (List.filter (\b -> a /= b) newSelection)
toggle a ( newData, effect, newSelection ) =
if List.member a newSelection then
newData
|> fromModel
|> withSelection (List.filter (\b -> a /= b) newSelection)
else
{ newData | maybeLastSelectedEntry = Just (uniqueId a) }
|> fromModel
|> withSelection (List.uniqueBy uniqueId (a :: newSelection))
-- FOCUS
initFocus id =
let
maybeA =
data.focus
|> currentFocus
|> or data.maybeLastSelectedEntry
|> Maybe.andThen (find uniqueId allEntries)
|> or (List.head selection)
|> Maybe.andThen (uniqueId >> find uniqueId allEntries)
|> or (List.head allEntries)
in
case maybeA of
Nothing ->
fromModel { data | query = NoQuery }
Just a ->
let
hash =
uniqueId a
newData =
{ data
| query = NoQuery
, focus = Focus hash
}
in
if behaviour.selectionFollowsFocus then
newData
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
|> select a []
else
newData
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
scheduleFocusPrevious id shiftDown current =
case findPrevious uniqueId allEntries current of
Just (Last a) ->
if behaviour.jumpAtEnds then
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = uniqueId a
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (getViewportOfList id Up a)
else if behaviour.selectionFollowsFocus then
case find uniqueId allEntries current of
Nothing ->
fromModel { data | query = NoQuery }
Just currentA ->
if shiftDown then
fromModel { data | query = NoQuery }
|> toggle currentA
else
fromModel { data | query = NoQuery }
|> withSelection [ currentA ]
else
fromModel { data | query = NoQuery }
Just (Previous a) ->
let
hash =
uniqueId a
in
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = hash
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (attemptToGetDomInfoOption id hash current a)
Nothing ->
initFocus id
scheduleFocusNext id shiftDown current =
case findNext uniqueId allEntries current of
Just (First a) ->
if behaviour.jumpAtEnds then
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = uniqueId a
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (getViewportOfList id Down a)
else if behaviour.selectionFollowsFocus then
case find uniqueId allEntries current of
Nothing ->
fromModel { data | query = NoQuery }
Just currentA ->
if shiftDown then
fromModel { data | query = NoQuery }
|> toggle currentA
else
fromModel { data | query = NoQuery }
|> withSelection [ currentA ]
else
fromModel { data | query = NoQuery }
Just (Next a) ->
let
hash =
uniqueId a
in
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = hash
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (attemptToGetDomInfoOption id hash current a)
Nothing ->
initFocus id
in
case msg of
NoOp ->
unchanged
BrowserReturnedDomInfoOption a (Err id) ->
unchanged
BrowserReturnedDomInfoOption a (Ok entryDomData) ->
case data.focus of
NoFocus ->
unchanged
Focus _ ->
unchanged
Pending { id, pending, shiftDown } ->
let
newData =
{ data | focus = Focus pending }
( x, y ) =
newPosition behaviour entryDomData
in
if behaviour.selectionFollowsFocus && not shiftDown then
newData
|> fromModel
|> withSelection [ a ]
|> withEffect (setViewportOf id x y)
else if shiftDown then
newData
|> fromModel
|> toggle a
|> withEffect (setViewportOf id x y)
else
fromModel newData
|> withEffect (setViewportOf id x y)
ViewportOfListReceived direction a (Err id) ->
unchanged
ViewportOfListReceived direction a (Ok viewport) ->
case data.focus of
NoFocus ->
unchanged
Focus _ ->
unchanged
Pending { id, pending, shiftDown } ->
let
newData =
{ data | focus = Focus pending }
effect =
case direction of
Up ->
setViewportOf id
viewport.viewport.x
viewport.scene.height
Down ->
setViewportOf id
viewport.viewport.x
0
in
if behaviour.selectionFollowsFocus && not shiftDown then
newData
|> fromModel
|> withSelection [ a ]
|> withEffect effect
else if shiftDown then
newData
|> fromModel
|> toggle a
|> withEffect effect
else
newData
|> fromModel
|> withEffect effect
-- LIST
ListMouseDown ->
fromModel { data | preventScroll = True }
ListMouseUp ->
fromModel { data | preventScroll = False }
ListFocused id ->
if data.preventScroll then
unchanged
else
initFocus id
ListBlured ->
fromModel
{ data
| query = NoQuery
, preventScroll = False
}
ListArrowUpDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusPrevious id False hash
Pending _ ->
unchanged
ListShiftArrowUpDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusPrevious id True hash
Pending _ ->
unchanged
ListArrowDownDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusNext id False hash
Pending _ ->
unchanged
ListShiftArrowDownDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusNext id True hash
Pending _ ->
unchanged
ListEnterDown id ->
case focusedEntry config.uniqueId allEntries (Listbox data) of
Nothing ->
unchanged
Just a ->
unchanged
|> toggle a
ListSpaceDown id ->
case focusedEntry config.uniqueId allEntries (Listbox data) of
Nothing ->
unchanged
Just a ->
unchanged
|> toggle a
ListShiftSpaceDown id ->
let
selected =
Maybe.map2 (range uniqueId allEntries)
(currentFocus data.focus)
data.maybeLastSelectedEntry
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
unchanged
|> select a listA
ListHomeDown id ->
case List.head allEntries of
Nothing ->
unchanged
Just a ->
{ data
| query = NoQuery
, focus = Focus (uniqueId a)
}
|> fromModel
|> withEffect (scrollListToTop id)
ListControlShiftHomeDown id ->
case Maybe.map uniqueId (List.head allEntries) of
Nothing ->
unchanged
Just hash ->
let
selected =
data.focus
|> currentFocus
|> Maybe.map (range uniqueId allEntries hash)
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
{ data
| focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> select a listA
|> withEffect (scrollListToTop id)
ListEndDown id ->
case lastEntry allEntries of
Nothing ->
unchanged
Just a ->
{ data
| query = NoQuery
, focus = Focus (uniqueId a)
}
|> fromModel
|> withEffect (scrollListToBottom id)
ListControlShiftEndDown id ->
case Maybe.map uniqueId (lastEntry allEntries) of
Nothing ->
unchanged
Just hash ->
let
selected =
data.focus
|> currentFocus
|> Maybe.map (range uniqueId allEntries hash)
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
{ data
| focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> select a listA
|> withEffect (scrollListToBottom id)
ListControlADown ->
let
allEntriesSet =
allEntries
|> List.map uniqueId
|> Set.fromList
selectionSet =
selection
|> List.map uniqueId
|> Set.fromList
in
if Set.isEmpty (Set.diff allEntriesSet selectionSet) then
unchanged
|> withSelection []
else
unchanged
|> withSelection allEntries
-- QUERY
ListKeyDown id key ->
case behaviour.typeAhead of
NoTypeAhead ->
unchanged
TypeAhead _ _ ->
unchanged
|> withEffect (Task.perform (CurrentTimeReceived id key) Time.now)
CurrentTimeReceived id key currentTime ->
case behaviour.typeAhead of
NoTypeAhead ->
unchanged
TypeAhead timeout matchesQuery ->
let
( newQuery, queryText ) =
case data.query of
NoQuery ->
( Query timeout currentTime key, key )
Query _ _ query ->
( Query timeout currentTime (query ++ key), query ++ key )
maybeHash =
Maybe.andThen
(findWith matchesQuery uniqueId queryText allEntries)
(currentFocus data.focus)
in
case maybeHash of
Nothing ->
unchanged
Just hash ->
{ data
| query = newQuery
, focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
Tick currentTime ->
case data.query of
NoQuery ->
unchanged
Query timeout time _ ->
if
(Time.posixToMillis currentTime - Time.posixToMillis time)
> timeout
then
fromModel { data | query = NoQuery }
else
unchanged
-- ENTRY
EntryMouseEntered newFocus ->
fromModel
{ data
| focus =
if behaviour.separateFocus then
data.focus
else
Focus newFocus
, hover = Just newFocus
}
EntryMouseLeft ->
fromModel
{ data
| hover =
if behaviour.separateFocus then
Nothing
else
data.hover
}
EntryClicked a ->
let
hash =
uniqueId a
in
if behaviour.selectionFollowsFocus then
{ data
| query = NoQuery
, focus = Focus hash
, hover = Just hash
}
|> fromModel
|> select a selection
else
{ data
| query = NoQuery
, focus = Focus hash
, hover = Just hash
}
|> fromModel
|> toggle a
focusPendingKeyboardFocus : Listbox -> Listbox
focusPendingKeyboardFocus (Listbox listbox) =
case listbox.focus of
NoFocus ->
Listbox listbox
Focus _ ->
Listbox listbox
Pending { pending } ->
Listbox { listbox | focus = Focus pending }
newPosition : Behaviour a -> DomInfoOption -> ( Float, Float )
newPosition behaviour entryDomData =
let
---- SCROLLING
viewport =
entryDomData.viewportList.viewport
list =
entryDomData.elementList
li =
entryDomData.elementLi
previousLi =
entryDomData.elementPreviousLi
-- MEASUREMENTS
liY =
li.element.y - list.element.y + viewport.y
liHeight =
li.element.height
previousLiY =
previousLi.element.y - list.element.y + viewport.y
previousLiHeight =
previousLi.element.height
-- CONDITIONS
previousEntryHidden =
(previousLiY + previousLiHeight < viewport.y)
|| (previousLiY > viewport.y + viewport.height)
newEntryTooLow =
liY + liHeight + behaviour.minimalGap > viewport.y + viewport.height
newEntryTooHigh =
liY - behaviour.minimalGap < viewport.y
in
if previousEntryHidden then
( viewport.x
, liY + liHeight / 2 - viewport.height / 2
)
else if newEntryTooLow then
( viewport.x
, liY + liHeight - viewport.height + behaviour.initialGap
)
else if newEntryTooHigh then
( viewport.x
, liY - behaviour.initialGap
)
else
( viewport.x
, viewport.y
)
andDo : effect -> ( a, b ) -> ( a, effect, b )
andDo effect ( a, b ) =
( a, effect, b )
or : Maybe a -> Maybe a -> Maybe a
or fallback default =
case default of
Nothing ->
fallback
Just _ ->
default
getViewportOfList : String -> Direction -> a -> Cmd (Msg a)
getViewportOfList id direction option =
Dom.getViewportOf (printListId id)
|> Task.attempt (ViewportOfListReceived direction option)
scrollListToTop : String -> Cmd (Msg a)
scrollListToTop id =
Dom.getViewportOf (printListId id)
|> Task.andThen
(\list ->
Dom.setViewportOf (printListId id)
list.viewport.x
0
)
|> Task.attempt (\_ -> NoOp)
scrollListToBottom : String -> Cmd (Msg a)
scrollListToBottom id =
Dom.getViewportOf (printListId id)
|> Task.andThen
(\list ->
Dom.setViewportOf (printListId id)
list.viewport.x
list.scene.height
)
|> Task.attempt (\_ -> NoOp)
attemptToGetDomInfoOption : String -> String -> String -> a -> Cmd (Msg a)
attemptToGetDomInfoOption id hash previousHash option =
getDomInfoOption id hash previousHash
|> Task.attempt (BrowserReturnedDomInfoOption option)
setViewportOf : String -> Float -> Float -> Cmd (Msg a)
setViewportOf id x y =
Dom.setViewportOf (printListId id) x y
|> Task.attempt (\_ -> NoOp)
attemptToScrollToOption : Behaviour msg -> String -> String -> Maybe String -> Cmd (Msg a)
attemptToScrollToOption behaviour id hash maybePreviousHash =
case maybePreviousHash of
Nothing ->
getDomInfoOptionInitial id hash
|> Task.andThen (scrollToOptionInitial behaviour id)
|> Task.attempt (\_ -> NoOp)
Just previousHash ->
getDomInfoOption id hash previousHash
|> Task.andThen (scrollToOption behaviour id)
|> Task.attempt (\_ -> NoOp)
-- TASKS
type alias DomInfoOptionInitial =
{ viewportList : Dom.Viewport
, elementList : Dom.Element
, elementLi : Dom.Element
}
type alias DomInfoOption =
{ viewportList : Dom.Viewport
, elementList : Dom.Element
, elementLi : Dom.Element
, elementPreviousLi : Dom.Element
}
getDomInfoOptionInitial : String -> String -> Task Dom.Error DomInfoOptionInitial
getDomInfoOptionInitial id hash =
Task.map3 DomInfoOptionInitial
(Dom.getViewportOf (printListId id))
(Dom.getElement (printListId id))
(Dom.getElement (printEntryId id hash))
getDomInfoOption : String -> String -> String -> Task Dom.Error DomInfoOption
getDomInfoOption id hash previousHash =
Task.map4 DomInfoOption
(Dom.getViewportOf (printListId id))
(Dom.getElement (printListId id))
(Dom.getElement (printEntryId id hash))
(Dom.getElement (printEntryId id previousHash))
scrollToOptionInitial : Behaviour msg -> String -> DomInfoOptionInitial -> Task Dom.Error ()
scrollToOptionInitial behaviour id { viewportList, elementList, elementLi } =
let
{ viewport } =
viewportList
liY =
elementLi.element.y - elementList.element.y + viewport.y
liHeight =
elementLi.element.height
entryHidden =
(liY + liHeight - behaviour.minimalGap < viewport.y)
|| (liY + behaviour.minimalGap > viewport.y + viewport.height)
in
if entryHidden then
Dom.setViewportOf (printListId id) viewport.x (liY + liHeight / 2 - viewport.height / 2)
else
Task.succeed ()
scrollToOption : Behaviour msg -> String -> DomInfoOption -> Task Dom.Error ()
scrollToOption behaviour id entryDomData =
let
viewport =
entryDomData.viewportList.viewport
list =
entryDomData.elementList
li =
entryDomData.elementLi
previousLi =
entryDomData.elementPreviousLi
-- MEASUREMENTS
liY =
li.element.y - list.element.y + viewport.y
liHeight =
li.element.height
previousLiY =
previousLi.element.y - list.element.y + viewport.y
previousLiHeight =
previousLi.element.height
-- CONDITIONS
previousEntryHidden =
(previousLiY + previousLiHeight < viewport.y)
|| (previousLiY > viewport.y + viewport.height)
newEntryTooLow =
liY + liHeight + behaviour.minimalGap > viewport.y + viewport.height
newEntryTooHigh =
liY - behaviour.minimalGap < viewport.y
-- EFFECT
centerNewEntry =
domSetViewportOf viewport.x <|
(liY + liHeight / 2 - viewport.height / 2)
scrollDownToNewEntry =
domSetViewportOf viewport.x <|
(liY + liHeight - viewport.height + behaviour.initialGap)
scrollUpToNewEntry =
domSetViewportOf viewport.x <|
(liY - behaviour.initialGap)
domSetViewportOf x y =
Dom.setViewportOf (printListId id) x y
in
if previousEntryHidden then
centerNewEntry
else if newEntryTooLow then
scrollDownToNewEntry
else if newEntryTooHigh then
scrollUpToNewEntry
else
Task.succeed ()
-- SUBSCRIPTIONS
{-| Do not forget to add this to your subscriptions:
subscriptions model =
Sub.map ListboxMsg
(Listbox.subscriptions model.listbox)
-}
subscriptions : Listbox -> Sub (Msg a)
subscriptions (Listbox listbox) =
case listbox.query of
NoQuery ->
Sub.none
Query timeout _ _ ->
Time.every (toFloat (timeout // 3)) Tick
-- IDS
printListId : String -> String
printListId id =
id
printEntryId : String -> String -> String
printEntryId id entryId =
id ++ "__element--" ++ entryId
-- FIND
indexOf : (a -> String) -> List a -> String -> Maybe Int
indexOf uniqueId entries selectedId =
findHelp 0 uniqueId entries selectedId
|> Maybe.map Tuple.first
find : (a -> String) -> List a -> String -> Maybe a
find uniqueId entries selectedId =
findHelp 0 uniqueId entries selectedId
|> Maybe.map Tuple.second
findHelp :
Int
-> (a -> String)
-> List a
-> String
-> Maybe ( Int, a )
findHelp index uniqueId entries selectedId =
case entries of
[] ->
Nothing
entry :: rest ->
if uniqueId entry == selectedId then
Just ( index, entry )
else
findHelp (index + 1) uniqueId rest selectedId
findWith :
(String -> a -> Bool)
-> (a -> String)
-> String
-> List a
-> String
-> Maybe String
findWith matchesQuery uniqueId query entries id =
case entries of
[] ->
Nothing
a :: rest ->
if uniqueId a == id then
if matchesQuery query a then
Just id
else
proceedWith matchesQuery uniqueId id query rest
else
findWith matchesQuery uniqueId query rest id
proceedWith :
(String -> a -> Bool)
-> (a -> String)
-> String
-> String
-> List a
-> Maybe String
proceedWith matchesQuery uniqueId id query entries =
case entries of
[] ->
Just id
a :: rest ->
if matchesQuery query a then
Just (uniqueId a)
else
proceedWith matchesQuery uniqueId id query rest
lastEntry : List a -> Maybe a
lastEntry entries =
List.head (List.reverse entries)
-- PREVIOUS
type Previous a
= Previous a
| Last a
findPrevious :
(a -> String)
-> List a
-> String
-> Maybe (Previous a)
findPrevious uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
entries
|> lastEntry
|> Maybe.map Last
else
findPreviousHelp first uniqueId rest currentId
findPreviousHelp :
a
-> (a -> String)
-> List a
-> String
-> Maybe (Previous a)
findPreviousHelp previous uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
Just (Previous previous)
else
findPreviousHelp first uniqueId rest currentId
-- NEXT
type Next a
= Next a
| First a
findNext : (a -> String) -> List a -> String -> Maybe (Next a)
findNext uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
List.head rest
|> Maybe.map Next
else
Just (findNextHelp first uniqueId rest currentId)
findNextHelp :
a
-> (a -> String)
-> List a
-> String
-> Next a
findNextHelp first uniqueId entries currentId =
case entries of
[] ->
First first
a :: rest ->
if uniqueId a == currentId then
List.head rest
|> Maybe.map Next
|> Maybe.withDefault (First first)
else
findNextHelp first uniqueId rest currentId
-- RANGE
range : (a -> String) -> List a -> String -> String -> List a
range uniqueId entries end start =
case entries of
[] ->
[]
a :: rest ->
if uniqueId a == start then
rangeHelp uniqueId [ a ] end rest
else if uniqueId a == end then
List.reverse (rangeHelp uniqueId [ a ] start rest)
else
range uniqueId rest start end
rangeHelp : (a -> String) -> List a -> String -> List a -> List a
rangeHelp uniqueId collected end entries =
case entries of
[] ->
[]
a :: rest ->
if uniqueId a == end then
a :: collected
else
rangeHelp uniqueId (a :: collected) end rest
| 10556 | module Listbox exposing
( view, Instance, Label, labelledBy, label, noLabel
, Listbox, init
, update, Msg, subscriptions
, Behaviour
, TypeAhead, noTypeAhead, simpleTypeAhead, typeAhead
, Views, html
, custom, ListboxAttrs, OptionAttrs
, viewUnique, updateUnique
, focusEntryUnique, focusNextOrFirstEntryUnique, focusPreviousOrFirstEntryUnique
, focusedEntry, focusedEntryId, hoveredEntry
, focusEntry, focusNextOrFirstEntry, focusPreviousOrFirstEntry
, focus
, scrollToFocus
, preventDefaultOnKeyDown
)
{-| Implementation of the [listbox
widget](https://www.w3.org/TR/wai-aria-practices-1.1/#Listbox):
> A listbox widget presents a list of options and allows a user to select one
> or more of them.
Take a look at the documentation of `Behaviour` for the default keyboard
interactions this widget offers.
# View
@docs view, Instance, Label, labelledBy, label, noLabel
# State management
@docs Listbox, init
@docs update, Msg, subscriptions
@docs Behaviour
## Type-ahead
@docs TypeAhead, noTypeAhead, simpleTypeAhead, typeAhead
# View customization
@docs Views, html
## Advanced customization
@docs custom, ListboxAttrs, OptionAttrs
# Unique selection
If you need a `Listbox` allowing only **at most one** selection. You just have
to replace the `view`, `update`, ... functions with the following ones in this
section.
@docs viewUnique, updateUnique
@docs focusEntryUnique, focusNextOrFirstEntryUnique, focusPreviousOrFirstEntryUnique
# Advanced usage
## State info
@docs focusedEntry, focusedEntryId, hoveredEntry
## State manipulation
@docs focusEntry, focusNextOrFirstEntry, focusPreviousOrFirstEntry
## DOM Stuff
@docs focus
@docs scrollToFocus
@docs preventDefaultOnKeyDown
-}
{-
Copyright 2018 <NAME>
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.
-}
import Accessibility.Aria as Aria
import Accessibility.Role as Role
import Accessibility.Widget as Widget
import Browser.Dom as Dom
import Html exposing (Attribute, Html)
import Html.Attributes as Attributes
import Html.Events as Events
import Internal.KeyInfo as KeyInfo exposing (KeyInfo)
import Internal.Label as Internal exposing (Label(..))
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline as Decode
import Json.Encode exposing (Value)
import List.Extra as List
import Set
import Task exposing (Task)
import Time exposing (Posix)
{-| Tracks the keyboard and mouse focus as well as the current query. The full
list of entries and the currently selected option(s) live in your own model.
-}
type Listbox
= Listbox Data
type alias Data =
{ preventScroll : Bool
, query : Query
-- FOCUS
, focus : Focus
, hover : Maybe String
, maybeLastSelectedEntry : Maybe String
}
type Query
= NoQuery
| Query Int Time.Posix String
type Focus
= NoFocus
| Focus String
| Pending
{ id : String
, current : String
, pending : String
, shiftDown : Bool
}
currentFocus : Focus -> Maybe String
currentFocus theFocus =
case theFocus of
NoFocus ->
Nothing
Focus current ->
Just current
Pending { current } ->
Just current
{-| An initial listbox with no option focused.
-}
init : Listbox
init =
Listbox
{ preventScroll = False
, query = NoQuery
, focus = NoFocus
, hover = Nothing
, maybeLastSelectedEntry = Nothing
}
---- EXTERNAL STATE MANIPULATION
{-| A task to give the listbox focus. The first argument must match the
`Instance` used in the `view` function!
-}
focus : Instance a msg -> Task Dom.Error ()
focus { id } =
Dom.focus (printListId id)
{-| Returns the option which currently has keyboard focus.
-}
focusedEntry : (a -> String) -> List a -> Listbox -> Maybe a
focusedEntry uniqueId allEntries (Listbox listbox) =
Maybe.andThen (find uniqueId allEntries) (currentFocus listbox.focus)
{-| Returns the option which currently has mouse focus.
-}
hoveredEntry : (a -> String) -> List a -> Listbox -> Maybe a
hoveredEntry uniqueId allEntries (Listbox listbox) =
Maybe.andThen (find uniqueId allEntries) listbox.hover
{-| Sets the keyboard focus to the provided options.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> a
-> Listbox
-> List a
-> ( Listbox, List a )
focusEntry config newEntry (Listbox listbox) selection =
( Listbox
{ listbox
| query = NoQuery
, focus = Focus (config.uniqueId newEntry)
}
, if config.behaviour.selectionFollowsFocus then
[ newEntry ]
else
selection
)
{-| Sets the keyboard focus to the next option. If `jumpAtEnds` is true and the
focus is already on the last option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusNextOrFirstEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> List a
-> ( Listbox, List a )
focusNextOrFirstEntry config allEntries (Listbox listbox) selection =
let
{ uniqueId, behaviour } =
config
maybeA =
case currentFocus listbox.focus of
Nothing ->
List.head allEntries
Just hash ->
case findNext uniqueId allEntries hash of
Just (First a) ->
if behaviour.jumpAtEnds then
Just a
else
Nothing
Just (Next a) ->
Just a
Nothing ->
Nothing
in
case maybeA of
Nothing ->
( Listbox listbox, selection )
Just a ->
let
newListbox =
Listbox { listbox | focus = Focus (uniqueId a) }
in
if behaviour.selectionFollowsFocus then
( newListbox
, [ a ]
)
else
( newListbox
, selection
)
{-| Sets the keyboard focus to the previous option. If `jumpAtEnds` is true and the
focus is already on the first option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusPreviousOrFirstEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> List a
-> ( Listbox, List a )
focusPreviousOrFirstEntry config allEntries (Listbox listbox) selection =
let
{ uniqueId, behaviour } =
config
maybeA =
case currentFocus listbox.focus of
Nothing ->
List.head allEntries
Just hash ->
case findPrevious uniqueId allEntries hash of
Just (Last a) ->
if behaviour.jumpAtEnds then
Just a
else
Nothing
Just (Previous a) ->
Just a
Nothing ->
Nothing
in
case maybeA of
Nothing ->
( Listbox listbox, selection )
Just a ->
let
newListbox =
Listbox { listbox | focus = Focus (uniqueId a) }
in
if behaviour.selectionFollowsFocus then
( newListbox
, [ a ]
)
else
( newListbox
, selection
)
{-| A command adjusting the scroll position of the listbox such that the
current keyboard focus is visible.
-}
scrollToFocus : Behaviour a -> Instance a msg -> Listbox -> Cmd msg
scrollToFocus behaviour { id, lift } (Listbox listbox) =
Cmd.map lift
(case listbox.focus of
NoFocus ->
Cmd.none
Focus current ->
attemptToScrollToOption behaviour id current Nothing
Pending { current } ->
attemptToScrollToOption behaviour id current Nothing
)
---- UPDATE CONFIG
{-| **Available behaviour customizations**
You can customize the behaviour of the listbox with the following options:
- **jumpAtEnds**: Whether the keyboard focus should jump to the other end of
the list when pressing `ArrowUp` while focusing the first option (or
`ArrowDown` while focusing the last).
- **separateFocus**: Whether the mouse focus and the keyboard focus can be
different.
- **selectionFollowsFocus**: Do we automatically add the entry gaining
keyboard focus to the selection?
- **handleHomeAndEnd**: Should we handle the `Home` and `End` keys (to jump
to the top or bottom of the list)?
- **typeAhead**: Make it possible to jump to options by typing in a query.
Take a look at `TypeAhead` for more information.
- **minimalGap**: If the distance (in px) of the option having the keyboard
focus to the borders of the listbox's viewport is smaller then this value,
the listbox will adjust its scroll position so that this distance is at least
`initialGap`.
- **initialGap**: The minimal distance (in px) of the option having the
keyboard focus to the borders of the listbox's viewport after the scroll
position has been adjusted.
A behaviour configuration could look something like this:
behaviour : Behaviour String
behaviour =
{ jumpAtEnds = True
, separateFocus = True
, selectionFollowsFocus = False
, handleHomeAndEnd = True
, typeAhead = simpleTypeAhead 300 identity
, minimalGap = 30
, initialGap = 200
}
The listbox will behave as explained in the [WAI-ARIA Authoring Practices
1.1](https://www.w3.org/TR/wai-aria-practices-1.1/#Listbox) in the _Keyboard
Interaction_ section. Note that you get the _recommended selection model_ if
you choose `selectionFollowsFocus = False`, and the _alternative
selection model_ for `selectionFollowsFocus = True`.
-}
type alias Behaviour a =
{ jumpAtEnds : Bool
, separateFocus : Bool
, selectionFollowsFocus : Bool
, handleHomeAndEnd : Bool
, typeAhead : TypeAhead a
, minimalGap : Float
, initialGap : Float
}
{-| -}
type TypeAhead a
= NoTypeAhead
| TypeAhead Int (String -> a -> Bool)
{-| Use this inside `Behaviour` if you do not want to activate the type-ahead
functionality.
-}
noTypeAhead : TypeAhead a
noTypeAhead =
NoTypeAhead
{-| Activate the type-ahead functionality. When the user types in a search
query.
- The first argument is the timeout (in milliseconds) after which the query
is reseted.
- The second argument, `a -> String`, should be a reasonable stringification
of the options. It is used to check whether an option starts with this query
or not. The listbox will then move the keyboard focus forward to the next
matching option.
-}
simpleTypeAhead : Int -> (a -> String) -> TypeAhead a
simpleTypeAhead timeout entryToString =
TypeAhead timeout <|
\query a ->
String.toLower (entryToString a)
|> String.startsWith (String.toLower query)
{-| This works like `simpleTypeAhead` but gives you you more flexibility when
customizing the matching condition. The first argument is the timeout. The
second argument is a function which gets the current query and an option,
returning if the query matches this option.
-}
typeAhead : Int -> (String -> a -> Bool) -> TypeAhead a
typeAhead =
TypeAhead
---- VIEW
{-| To make a listbox unique in your application you have to provide this
information to the `view` function:
- **id**: The unique id of the listbox.
- **label**: Specify how the listbox is labelled. See `Label` for
possible options.
- **lift**: Your message type constructor wrapping the listbox `Msg`'s.
-}
type alias Instance a msg =
{ id : String
, label : Label
, lift : Msg a -> msg
}
{-| There are three possibilities to label a listbox: it can be
`labelledBy` by another DOM element with the given id, it can provide its own
`label`, or it can have `noLabel` at all.
The last case is only allowed when the listbox is part of another widget which
itself is labelled.
-}
type alias Label =
Internal.Label
{-| -}
labelledBy : String -> Label
labelledBy =
Internal.LabelledBy
{-| -}
label : String -> Label
label =
Internal.Label
{-| -}
noLabel : Label
noLabel =
Internal.NoLabel
{-| Take a list of all entries and a list of selected options and display it as
a listbox. You have to provide a `ViewConfig` for the styling and an `Instance`
to uniquely identify this listbox. For example:
view : Listbox -> List String -> Html Msg
view listbox selection =
Html.div []
[ Listbox.view viewConfig
{ id = "fruits-listbox"
, label = label "fruits"
, lift = ListboxMsg
}
fruits
listbox
selection
]
fruits : List (Entry String divider)
fruits =
List.map Listbox.option
[ "Apple", "Banana", "Cherry" ]
type Msg
= ListboxMsg Listbox.Msg
You can provide the following options:
- **uniqueId**: A hash function for the entries.
- **focusable**: Should the listbox be focusable?
-}
view :
Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> List a
-> node
view =
viewHelp True
viewHelp :
Bool
-> Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> List a
-> node
viewHelp multiSelectable (Views views) config instance allEntries (Listbox data) selection =
views.listbox
{ id = printListId instance.id
, role = "listbox"
, ariaMultiselectable = stringFromBool multiSelectable
, ariaLabelledby =
case instance.label of
LabelledBy id ->
Just id
Label _ ->
Nothing
NoLabel ->
Nothing
, ariaLabel =
case instance.label of
LabelledBy _ ->
Nothing
Label theLabel ->
Just theLabel
NoLabel ->
Nothing
, ariaActivedescendant =
if config.markActiveDescendant then
currentFocus data.focus
|> Maybe.andThen (find config.uniqueId allEntries)
|> Maybe.map (config.uniqueId >> printEntryId instance.id)
else
Nothing
, tabindex =
if config.focusable then
Just 0
else
Nothing
, preventDefaultOnKeydown =
Decode.andThen
(listKeyPress False instance.id
>> Decode.map (\msg -> ( instance.lift msg, True ))
)
KeyInfo.decoder
, onMousedown = instance.lift ListMouseDown
, onMouseup = instance.lift ListMouseUp
, onFocus = instance.lift (ListFocused instance.id)
, onBlur = instance.lift ListBlured
}
{ options =
List.map (viewOption multiSelectable views.option config instance selection data)
allEntries
}
viewOption :
Bool
->
(OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
)
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Data
-> a
-> node
viewOption multiSelectable toNode config instance selection data option =
let
maybeHash =
Just (config.uniqueId option)
selected =
List.any ((==) option) selection
hash =
config.uniqueId option
in
toNode
{ id = printEntryId instance.id hash
, role = "option"
, ariaSelected =
if multiSelectable then
Just (stringFromBool selected)
else if selected then
Just "true"
else
Nothing
, onMouseenter = instance.lift (EntryMouseEntered hash)
, onMouseleave = instance.lift EntryMouseLeft
, onClick = instance.lift (EntryClicked option)
}
{ selected = selected
, focused = currentFocus data.focus == maybeHash
, hovered = data.hover == maybeHash
, maybeQuery =
case data.query of
NoQuery ->
Nothing
Query _ _ text ->
Just text
}
option
stringFromBool : Bool -> String
stringFromBool bool =
if bool then
"true"
else
"false"
listKeyPress : Bool -> String -> KeyInfo -> Decoder (Msg a)
listKeyPress fromOutside id { code, altDown, controlDown, metaDown, shiftDown } =
let
noModifierDown =
not (altDown || controlDown || metaDown || shiftDown)
onlyShiftDown =
not altDown && not controlDown && not metaDown && shiftDown
onlyControlDown =
not altDown && controlDown && not metaDown && not shiftDown
notHandlingThatKey =
Decode.fail "not handling that key combination"
in
case code of
"ArrowUp" ->
if noModifierDown then
Decode.succeed (ListArrowUpDown id)
else if onlyShiftDown then
Decode.succeed (ListShiftArrowUpDown id)
else
notHandlingThatKey
"ArrowDown" ->
if noModifierDown then
Decode.succeed (ListArrowDownDown id)
else if onlyShiftDown then
Decode.succeed (ListShiftArrowDownDown id)
else
notHandlingThatKey
"Enter" ->
if noModifierDown then
Decode.succeed (ListEnterDown id)
else
notHandlingThatKey
" " ->
if not fromOutside then
if onlyShiftDown then
Decode.succeed (ListShiftSpaceDown id)
else if noModifierDown then
Decode.succeed (ListSpaceDown id)
else
notHandlingThatKey
else
notHandlingThatKey
"Home" ->
if not altDown && controlDown && not metaDown && shiftDown then
Decode.succeed (ListControlShiftHomeDown id)
else if noModifierDown then
Decode.succeed (ListHomeDown id)
else
notHandlingThatKey
"End" ->
if not altDown && controlDown && not metaDown && shiftDown then
Decode.succeed (ListControlShiftEndDown id)
else if noModifierDown then
Decode.succeed (ListEndDown id)
else
notHandlingThatKey
"a" ->
if not fromOutside then
if onlyControlDown then
Decode.succeed ListControlADown
else if noModifierDown && (String.length code == 1) then
Decode.succeed (ListKeyDown id code)
else
notHandlingThatKey
else
notHandlingThatKey
_ ->
if not fromOutside then
if noModifierDown && (String.length code == 1) then
Decode.succeed (ListKeyDown id code)
else
notHandlingThatKey
else
notHandlingThatKey
{-| Opaque type for providing view customization of the listbox widget.
-}
type Views a node msg
= Views
{ listbox : ListboxAttrs msg -> { options : List node } -> node
, option :
OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
}
{-| TODO
-}
type alias ListboxAttrs msg =
{ id : String
, role : String
, ariaMultiselectable : String
, ariaLabelledby : Maybe String
, ariaLabel : Maybe String
, ariaActivedescendant : Maybe String
, tabindex : Maybe Int
, preventDefaultOnKeydown : Decoder ( msg, Bool )
, onMousedown : msg
, onMouseup : msg
, onFocus : msg
, onBlur : msg
}
{-| TODO
-}
type alias OptionAttrs msg =
{ id : String
, role : String
, ariaSelected : Maybe String
, onMouseenter : msg
, onMouseleave : msg
, onClick : msg
}
{-| If you want to use other UI libraries like `rtfeldman/elm-css` or
`mdgriffith/elm-ui` you have to generate Views using this function. Take a look
at the implementation of `html` for a starting point. The `examples/` folder of
the package repository contains an implementation for `mdgriffith/elm-ui`.
-}
custom :
{ listbox :
ListboxAttrs msg
->
{ options : List node
}
-> node
, option :
OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
}
-> Views a node msg
custom =
Views
{-| Generate view customizations for the standard `elm/html` package. You can
customize the styling with the following fields:
- **ul**: A list of html attributes applied to the outer listbox.
- **li**: A function returning `HtmlDetails` for each option in your
entries list. It gets the actual option value `a` and flags telling you if
this option is currently `selected`, `focused` or `hovered`. If the user
typed in a query, you get this via the `maybeQuery` field.
The DOM structure of a listbox will be something like this:
listbox =
Html.ul
[ ... ] -- ul attributes
[ Html.li
[ ... ] -- liDivider attributes
[ ... ] -- liDivider children
, Html.li
[ ... ] -- liOption attributes
[ ... ] -- liOption children
, ...
, Html.li
[ ... ] -- liOption attributes
[ ... ] -- liOption children
]
-}
html :
{ ul : List (Attribute msg)
, li :
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
->
{ attributes : List (Attribute msg)
, children : List (Html msg)
}
}
-> Views a (Html msg) msg
html config =
Views
{ listbox =
\attrs { options } ->
let
addAriaLabelledBy htmlAttrs =
case attrs.ariaLabelledby of
Nothing ->
htmlAttrs
Just ariaLabelledby ->
Attributes.attribute "aria-labelledby" ariaLabelledby :: htmlAttrs
addAriaLabel htmlAttrs =
case attrs.ariaLabel of
Nothing ->
htmlAttrs
Just ariaLabel ->
Attributes.attribute "aria-label" ariaLabel :: htmlAttrs
addAriaActivedescendant htmlAttrs =
case attrs.ariaActivedescendant of
Nothing ->
htmlAttrs
Just ariaActivedescendant ->
Attributes.attribute "aria-activedescendant" ariaActivedescendant
:: htmlAttrs
addTabindex htmlAttrs =
case attrs.tabindex of
Nothing ->
htmlAttrs
Just tabindex ->
Attributes.tabindex tabindex :: htmlAttrs
in
Html.ul
(([ Attributes.id attrs.id
, Attributes.attribute "role" attrs.role
, Attributes.attribute "aria-multiselectable" attrs.ariaMultiselectable
, Events.preventDefaultOn "keydown" attrs.preventDefaultOnKeydown
, Events.onMouseDown attrs.onMousedown
, Events.onMouseUp attrs.onMouseup
, Events.onFocus attrs.onFocus
, Events.onBlur attrs.onFocus
]
|> addAriaLabelledBy
|> addAriaLabel
|> addAriaActivedescendant
|> addTabindex
)
++ config.ul
)
options
, option =
\attrs state a ->
let
htmlDetails =
config.li state a
addAriaSelected htmlAttrs =
case attrs.ariaSelected of
Nothing ->
htmlAttrs
Just ariaSelected ->
Attributes.attribute "aria-selected" ariaSelected :: htmlAttrs
in
Html.li
(([ Attributes.id attrs.id
, Attributes.attribute "role" attrs.role
, Events.onMouseEnter attrs.onMouseenter
, Events.onMouseLeave attrs.onMouseleave
, Events.onClick attrs.onClick
]
|> addAriaSelected
)
++ htmlDetails.attributes
)
htmlDetails.children
}
{-| This adds all the keydown event listener needed for the listbox on any DOM
node. For example, this could be an input field which keeps focused while the
listbox is displayed in a dropdown. You usually want to set `focusable = False`
inside the `ViewConfig` when using this event listener.
You must provide your own event decoder, which is tried **before** the
listbox's event decoder. This lets you prevent the listbox reacting on key
combinations. If you do not need to handle keydown events, just insert a failing decoder:
view =
Html.input
[ Html.Events.preventDefaultOn "keydown"
(preventDefaultOnKeyDown
{ id = "fruits-listbox"
, labelledBy = "fruits"
, lift = ListboxMsg
}
(Decode.fail "not handling this event here")
)
]
[]
In this example, pressing keys like `ArrowUp` and `ArrowDown` will adjust the
listbox's focus although the listbox itself is not focused.
-}
preventDefaultOnKeyDown : Instance a msg -> Decoder ( msg, Bool ) -> Decoder ( msg, Bool )
preventDefaultOnKeyDown instance decoder =
Decode.oneOf
[ decoder
, Decode.andThen
(listKeyPress True instance.id
>> Decode.map (\msg -> ( instance.lift msg, True ))
)
KeyInfo.decoder
]
{-| Returns the HTML id of the currently focused entry.
-}
focusedEntryId :
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> Maybe String
focusedEntryId config instance entries (Listbox listbox) =
case listbox.focus of
NoFocus ->
Nothing
Focus current ->
find config.uniqueId entries current
|> Maybe.map (printEntryId instance.id << config.uniqueId)
Pending { current } ->
find config.uniqueId entries current
|> Maybe.map (printEntryId instance.id << config.uniqueId)
---- UNIQUE SELECTION
{-| Use this instead of `view` if the user can only select **at
most one** entry in the listbox. The only difference between the type signature
of this function and the one of `view` is that the last argument is a `Maybe a`
instead of a `List a`.
-}
viewUnique :
Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> Maybe a
-> node
viewUnique views config instance entries listbox selection =
viewHelp False views config instance entries listbox (maybeToList selection)
{-| Use this function instead of `update` if the user can only
select **at most one** entry in the listbox. The only difference between the
type signature of this function and the one of `update` is that the last
argument is a `Maybe a` instead of a `List a`.
-}
updateUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Listbox
-> Maybe a
-> ( Listbox, Cmd (Msg a), Maybe a )
updateUnique config allEntries msg listbox selection =
let
( newListbox, cmd, newSelection ) =
update config allEntries msg listbox <|
maybeToList selection
in
( newListbox, cmd, listToMaybe newSelection )
{-| Sets the keyboard focus to the provided options.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusEntryUnique config newEntry listbox selection =
withUnique selection (focusEntry config newEntry listbox)
{-| Sets the keyboard focus to the next option. If `jumpAtEnds` is true and the
focus is already on the last option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusNextOrFirstEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusNextOrFirstEntryUnique config allEntries listbox selection =
withUnique selection (focusNextOrFirstEntry config allEntries listbox)
{-| Sets the keyboard focus to the previous option. If `jumpAtEnds` is true and the
focus is already on the first option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusPreviousOrFirstEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusPreviousOrFirstEntryUnique config allEntries listbox selection =
withUnique selection (focusPreviousOrFirstEntry config allEntries listbox)
withUnique : Maybe a -> (List a -> ( Listbox, List a )) -> ( Listbox, Maybe a )
withUnique selection func =
let
( listbox, list ) =
func (maybeToList selection)
in
( listbox, listToMaybe list )
maybeToList : Maybe a -> List a
maybeToList maybeA =
case maybeA of
Nothing ->
[]
Just a ->
[ a ]
listToMaybe : List a -> Maybe a
listToMaybe listA =
case listA of
[] ->
Nothing
a :: _ ->
Just a
-- UPDATE
{-| -}
type Msg a
= NoOp
| BrowserReturnedDomInfoOption a (Result Dom.Error DomInfoOption)
| ViewportOfListReceived Direction a (Result Dom.Error Dom.Viewport)
-- LIST
| ListMouseDown
| ListMouseUp
| ListFocused String
| ListBlured
| ListArrowUpDown String
| ListShiftArrowUpDown String
| ListArrowDownDown String
| ListShiftArrowDownDown String
| ListEnterDown String
| ListSpaceDown String
| ListShiftSpaceDown String
| ListHomeDown String
| ListControlShiftHomeDown String
| ListEndDown String
| ListControlShiftEndDown String
| ListControlADown
-- QUERY
| ListKeyDown String String
| CurrentTimeReceived String String Time.Posix
| Tick Time.Posix
-- ENTRY
| EntryMouseEntered String
| EntryMouseLeft
| EntryClicked a
type Direction
= Up
| Down
{-| Use this function to update the listbox state. You have to provide the same
entries and selection as given to your view function.
For example:
update msg model =
case msg of
ListboxMsg listboxMsg ->
let
( newListbox, listboxCmd, newSelection ) =
Listbox.update updateConfig
entries
listboxMsg
model.listbox
model.selection
in
( { model
| listbox = newListbox
, selection = newSelection
}
, Cmd.map ListboxMsg listboxCmd
)
In a more sophisticated example, the entries could be dynamic, as well. (For
example, loaded via an HTTP request.)
You can provide the following customizations:
- **uniqueId**: A hash function for the entries.
- **behaviour**: Behaviour customizations.
-}
update :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Listbox
-> List a
-> ( Listbox, Cmd (Msg a), List a )
update config entries msg (Listbox data) selection =
let
( newData, cmd, newSelection ) =
updateHelp config entries msg data selection
in
( Listbox newData, cmd, newSelection )
updateHelp :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Data
-> List a
-> ( Data, Cmd (Msg a), List a )
updateHelp ({ uniqueId, behaviour } as config) allEntries msg data selection =
let
unchanged =
( data
, Cmd.none
, selection
)
fromModel newData =
( newData
, Cmd.none
, selection
)
withEffect effect ( newData, _, newSelection ) =
( newData, effect, newSelection )
withSelection newSelection ( newData, effect, _ ) =
( newData, effect, newSelection )
-- SELECTION
select a listA ( newData, effect, newSelection ) =
{ newData | maybeLastSelectedEntry = Just (uniqueId a) }
|> fromModel
|> withSelection (List.uniqueBy uniqueId (a :: listA ++ newSelection))
unselect a ( newData, effect, newSelection ) =
newData
|> fromModel
|> withSelection (List.filter (\b -> a /= b) newSelection)
toggle a ( newData, effect, newSelection ) =
if List.member a newSelection then
newData
|> fromModel
|> withSelection (List.filter (\b -> a /= b) newSelection)
else
{ newData | maybeLastSelectedEntry = Just (uniqueId a) }
|> fromModel
|> withSelection (List.uniqueBy uniqueId (a :: newSelection))
-- FOCUS
initFocus id =
let
maybeA =
data.focus
|> currentFocus
|> or data.maybeLastSelectedEntry
|> Maybe.andThen (find uniqueId allEntries)
|> or (List.head selection)
|> Maybe.andThen (uniqueId >> find uniqueId allEntries)
|> or (List.head allEntries)
in
case maybeA of
Nothing ->
fromModel { data | query = NoQuery }
Just a ->
let
hash =
uniqueId a
newData =
{ data
| query = NoQuery
, focus = Focus hash
}
in
if behaviour.selectionFollowsFocus then
newData
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
|> select a []
else
newData
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
scheduleFocusPrevious id shiftDown current =
case findPrevious uniqueId allEntries current of
Just (Last a) ->
if behaviour.jumpAtEnds then
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = uniqueId a
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (getViewportOfList id Up a)
else if behaviour.selectionFollowsFocus then
case find uniqueId allEntries current of
Nothing ->
fromModel { data | query = NoQuery }
Just currentA ->
if shiftDown then
fromModel { data | query = NoQuery }
|> toggle currentA
else
fromModel { data | query = NoQuery }
|> withSelection [ currentA ]
else
fromModel { data | query = NoQuery }
Just (Previous a) ->
let
hash =
uniqueId a
in
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = hash
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (attemptToGetDomInfoOption id hash current a)
Nothing ->
initFocus id
scheduleFocusNext id shiftDown current =
case findNext uniqueId allEntries current of
Just (First a) ->
if behaviour.jumpAtEnds then
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = uniqueId a
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (getViewportOfList id Down a)
else if behaviour.selectionFollowsFocus then
case find uniqueId allEntries current of
Nothing ->
fromModel { data | query = NoQuery }
Just currentA ->
if shiftDown then
fromModel { data | query = NoQuery }
|> toggle currentA
else
fromModel { data | query = NoQuery }
|> withSelection [ currentA ]
else
fromModel { data | query = NoQuery }
Just (Next a) ->
let
hash =
uniqueId a
in
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = hash
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (attemptToGetDomInfoOption id hash current a)
Nothing ->
initFocus id
in
case msg of
NoOp ->
unchanged
BrowserReturnedDomInfoOption a (Err id) ->
unchanged
BrowserReturnedDomInfoOption a (Ok entryDomData) ->
case data.focus of
NoFocus ->
unchanged
Focus _ ->
unchanged
Pending { id, pending, shiftDown } ->
let
newData =
{ data | focus = Focus pending }
( x, y ) =
newPosition behaviour entryDomData
in
if behaviour.selectionFollowsFocus && not shiftDown then
newData
|> fromModel
|> withSelection [ a ]
|> withEffect (setViewportOf id x y)
else if shiftDown then
newData
|> fromModel
|> toggle a
|> withEffect (setViewportOf id x y)
else
fromModel newData
|> withEffect (setViewportOf id x y)
ViewportOfListReceived direction a (Err id) ->
unchanged
ViewportOfListReceived direction a (Ok viewport) ->
case data.focus of
NoFocus ->
unchanged
Focus _ ->
unchanged
Pending { id, pending, shiftDown } ->
let
newData =
{ data | focus = Focus pending }
effect =
case direction of
Up ->
setViewportOf id
viewport.viewport.x
viewport.scene.height
Down ->
setViewportOf id
viewport.viewport.x
0
in
if behaviour.selectionFollowsFocus && not shiftDown then
newData
|> fromModel
|> withSelection [ a ]
|> withEffect effect
else if shiftDown then
newData
|> fromModel
|> toggle a
|> withEffect effect
else
newData
|> fromModel
|> withEffect effect
-- LIST
ListMouseDown ->
fromModel { data | preventScroll = True }
ListMouseUp ->
fromModel { data | preventScroll = False }
ListFocused id ->
if data.preventScroll then
unchanged
else
initFocus id
ListBlured ->
fromModel
{ data
| query = NoQuery
, preventScroll = False
}
ListArrowUpDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusPrevious id False hash
Pending _ ->
unchanged
ListShiftArrowUpDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusPrevious id True hash
Pending _ ->
unchanged
ListArrowDownDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusNext id False hash
Pending _ ->
unchanged
ListShiftArrowDownDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusNext id True hash
Pending _ ->
unchanged
ListEnterDown id ->
case focusedEntry config.uniqueId allEntries (Listbox data) of
Nothing ->
unchanged
Just a ->
unchanged
|> toggle a
ListSpaceDown id ->
case focusedEntry config.uniqueId allEntries (Listbox data) of
Nothing ->
unchanged
Just a ->
unchanged
|> toggle a
ListShiftSpaceDown id ->
let
selected =
Maybe.map2 (range uniqueId allEntries)
(currentFocus data.focus)
data.maybeLastSelectedEntry
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
unchanged
|> select a listA
ListHomeDown id ->
case List.head allEntries of
Nothing ->
unchanged
Just a ->
{ data
| query = NoQuery
, focus = Focus (uniqueId a)
}
|> fromModel
|> withEffect (scrollListToTop id)
ListControlShiftHomeDown id ->
case Maybe.map uniqueId (List.head allEntries) of
Nothing ->
unchanged
Just hash ->
let
selected =
data.focus
|> currentFocus
|> Maybe.map (range uniqueId allEntries hash)
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
{ data
| focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> select a listA
|> withEffect (scrollListToTop id)
ListEndDown id ->
case lastEntry allEntries of
Nothing ->
unchanged
Just a ->
{ data
| query = NoQuery
, focus = Focus (uniqueId a)
}
|> fromModel
|> withEffect (scrollListToBottom id)
ListControlShiftEndDown id ->
case Maybe.map uniqueId (lastEntry allEntries) of
Nothing ->
unchanged
Just hash ->
let
selected =
data.focus
|> currentFocus
|> Maybe.map (range uniqueId allEntries hash)
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
{ data
| focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> select a listA
|> withEffect (scrollListToBottom id)
ListControlADown ->
let
allEntriesSet =
allEntries
|> List.map uniqueId
|> Set.fromList
selectionSet =
selection
|> List.map uniqueId
|> Set.fromList
in
if Set.isEmpty (Set.diff allEntriesSet selectionSet) then
unchanged
|> withSelection []
else
unchanged
|> withSelection allEntries
-- QUERY
ListKeyDown id key ->
case behaviour.typeAhead of
NoTypeAhead ->
unchanged
TypeAhead _ _ ->
unchanged
|> withEffect (Task.perform (CurrentTimeReceived id key) Time.now)
CurrentTimeReceived id key currentTime ->
case behaviour.typeAhead of
NoTypeAhead ->
unchanged
TypeAhead timeout matchesQuery ->
let
( newQuery, queryText ) =
case data.query of
NoQuery ->
( Query timeout currentTime key, key )
Query _ _ query ->
( Query timeout currentTime (query ++ key), query ++ key )
maybeHash =
Maybe.andThen
(findWith matchesQuery uniqueId queryText allEntries)
(currentFocus data.focus)
in
case maybeHash of
Nothing ->
unchanged
Just hash ->
{ data
| query = newQuery
, focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
Tick currentTime ->
case data.query of
NoQuery ->
unchanged
Query timeout time _ ->
if
(Time.posixToMillis currentTime - Time.posixToMillis time)
> timeout
then
fromModel { data | query = NoQuery }
else
unchanged
-- ENTRY
EntryMouseEntered newFocus ->
fromModel
{ data
| focus =
if behaviour.separateFocus then
data.focus
else
Focus newFocus
, hover = Just newFocus
}
EntryMouseLeft ->
fromModel
{ data
| hover =
if behaviour.separateFocus then
Nothing
else
data.hover
}
EntryClicked a ->
let
hash =
uniqueId a
in
if behaviour.selectionFollowsFocus then
{ data
| query = NoQuery
, focus = Focus hash
, hover = Just hash
}
|> fromModel
|> select a selection
else
{ data
| query = NoQuery
, focus = Focus hash
, hover = Just hash
}
|> fromModel
|> toggle a
focusPendingKeyboardFocus : Listbox -> Listbox
focusPendingKeyboardFocus (Listbox listbox) =
case listbox.focus of
NoFocus ->
Listbox listbox
Focus _ ->
Listbox listbox
Pending { pending } ->
Listbox { listbox | focus = Focus pending }
newPosition : Behaviour a -> DomInfoOption -> ( Float, Float )
newPosition behaviour entryDomData =
let
---- SCROLLING
viewport =
entryDomData.viewportList.viewport
list =
entryDomData.elementList
li =
entryDomData.elementLi
previousLi =
entryDomData.elementPreviousLi
-- MEASUREMENTS
liY =
li.element.y - list.element.y + viewport.y
liHeight =
li.element.height
previousLiY =
previousLi.element.y - list.element.y + viewport.y
previousLiHeight =
previousLi.element.height
-- CONDITIONS
previousEntryHidden =
(previousLiY + previousLiHeight < viewport.y)
|| (previousLiY > viewport.y + viewport.height)
newEntryTooLow =
liY + liHeight + behaviour.minimalGap > viewport.y + viewport.height
newEntryTooHigh =
liY - behaviour.minimalGap < viewport.y
in
if previousEntryHidden then
( viewport.x
, liY + liHeight / 2 - viewport.height / 2
)
else if newEntryTooLow then
( viewport.x
, liY + liHeight - viewport.height + behaviour.initialGap
)
else if newEntryTooHigh then
( viewport.x
, liY - behaviour.initialGap
)
else
( viewport.x
, viewport.y
)
andDo : effect -> ( a, b ) -> ( a, effect, b )
andDo effect ( a, b ) =
( a, effect, b )
or : Maybe a -> Maybe a -> Maybe a
or fallback default =
case default of
Nothing ->
fallback
Just _ ->
default
getViewportOfList : String -> Direction -> a -> Cmd (Msg a)
getViewportOfList id direction option =
Dom.getViewportOf (printListId id)
|> Task.attempt (ViewportOfListReceived direction option)
scrollListToTop : String -> Cmd (Msg a)
scrollListToTop id =
Dom.getViewportOf (printListId id)
|> Task.andThen
(\list ->
Dom.setViewportOf (printListId id)
list.viewport.x
0
)
|> Task.attempt (\_ -> NoOp)
scrollListToBottom : String -> Cmd (Msg a)
scrollListToBottom id =
Dom.getViewportOf (printListId id)
|> Task.andThen
(\list ->
Dom.setViewportOf (printListId id)
list.viewport.x
list.scene.height
)
|> Task.attempt (\_ -> NoOp)
attemptToGetDomInfoOption : String -> String -> String -> a -> Cmd (Msg a)
attemptToGetDomInfoOption id hash previousHash option =
getDomInfoOption id hash previousHash
|> Task.attempt (BrowserReturnedDomInfoOption option)
setViewportOf : String -> Float -> Float -> Cmd (Msg a)
setViewportOf id x y =
Dom.setViewportOf (printListId id) x y
|> Task.attempt (\_ -> NoOp)
attemptToScrollToOption : Behaviour msg -> String -> String -> Maybe String -> Cmd (Msg a)
attemptToScrollToOption behaviour id hash maybePreviousHash =
case maybePreviousHash of
Nothing ->
getDomInfoOptionInitial id hash
|> Task.andThen (scrollToOptionInitial behaviour id)
|> Task.attempt (\_ -> NoOp)
Just previousHash ->
getDomInfoOption id hash previousHash
|> Task.andThen (scrollToOption behaviour id)
|> Task.attempt (\_ -> NoOp)
-- TASKS
type alias DomInfoOptionInitial =
{ viewportList : Dom.Viewport
, elementList : Dom.Element
, elementLi : Dom.Element
}
type alias DomInfoOption =
{ viewportList : Dom.Viewport
, elementList : Dom.Element
, elementLi : Dom.Element
, elementPreviousLi : Dom.Element
}
getDomInfoOptionInitial : String -> String -> Task Dom.Error DomInfoOptionInitial
getDomInfoOptionInitial id hash =
Task.map3 DomInfoOptionInitial
(Dom.getViewportOf (printListId id))
(Dom.getElement (printListId id))
(Dom.getElement (printEntryId id hash))
getDomInfoOption : String -> String -> String -> Task Dom.Error DomInfoOption
getDomInfoOption id hash previousHash =
Task.map4 DomInfoOption
(Dom.getViewportOf (printListId id))
(Dom.getElement (printListId id))
(Dom.getElement (printEntryId id hash))
(Dom.getElement (printEntryId id previousHash))
scrollToOptionInitial : Behaviour msg -> String -> DomInfoOptionInitial -> Task Dom.Error ()
scrollToOptionInitial behaviour id { viewportList, elementList, elementLi } =
let
{ viewport } =
viewportList
liY =
elementLi.element.y - elementList.element.y + viewport.y
liHeight =
elementLi.element.height
entryHidden =
(liY + liHeight - behaviour.minimalGap < viewport.y)
|| (liY + behaviour.minimalGap > viewport.y + viewport.height)
in
if entryHidden then
Dom.setViewportOf (printListId id) viewport.x (liY + liHeight / 2 - viewport.height / 2)
else
Task.succeed ()
scrollToOption : Behaviour msg -> String -> DomInfoOption -> Task Dom.Error ()
scrollToOption behaviour id entryDomData =
let
viewport =
entryDomData.viewportList.viewport
list =
entryDomData.elementList
li =
entryDomData.elementLi
previousLi =
entryDomData.elementPreviousLi
-- MEASUREMENTS
liY =
li.element.y - list.element.y + viewport.y
liHeight =
li.element.height
previousLiY =
previousLi.element.y - list.element.y + viewport.y
previousLiHeight =
previousLi.element.height
-- CONDITIONS
previousEntryHidden =
(previousLiY + previousLiHeight < viewport.y)
|| (previousLiY > viewport.y + viewport.height)
newEntryTooLow =
liY + liHeight + behaviour.minimalGap > viewport.y + viewport.height
newEntryTooHigh =
liY - behaviour.minimalGap < viewport.y
-- EFFECT
centerNewEntry =
domSetViewportOf viewport.x <|
(liY + liHeight / 2 - viewport.height / 2)
scrollDownToNewEntry =
domSetViewportOf viewport.x <|
(liY + liHeight - viewport.height + behaviour.initialGap)
scrollUpToNewEntry =
domSetViewportOf viewport.x <|
(liY - behaviour.initialGap)
domSetViewportOf x y =
Dom.setViewportOf (printListId id) x y
in
if previousEntryHidden then
centerNewEntry
else if newEntryTooLow then
scrollDownToNewEntry
else if newEntryTooHigh then
scrollUpToNewEntry
else
Task.succeed ()
-- SUBSCRIPTIONS
{-| Do not forget to add this to your subscriptions:
subscriptions model =
Sub.map ListboxMsg
(Listbox.subscriptions model.listbox)
-}
subscriptions : Listbox -> Sub (Msg a)
subscriptions (Listbox listbox) =
case listbox.query of
NoQuery ->
Sub.none
Query timeout _ _ ->
Time.every (toFloat (timeout // 3)) Tick
-- IDS
printListId : String -> String
printListId id =
id
printEntryId : String -> String -> String
printEntryId id entryId =
id ++ "__element--" ++ entryId
-- FIND
indexOf : (a -> String) -> List a -> String -> Maybe Int
indexOf uniqueId entries selectedId =
findHelp 0 uniqueId entries selectedId
|> Maybe.map Tuple.first
find : (a -> String) -> List a -> String -> Maybe a
find uniqueId entries selectedId =
findHelp 0 uniqueId entries selectedId
|> Maybe.map Tuple.second
findHelp :
Int
-> (a -> String)
-> List a
-> String
-> Maybe ( Int, a )
findHelp index uniqueId entries selectedId =
case entries of
[] ->
Nothing
entry :: rest ->
if uniqueId entry == selectedId then
Just ( index, entry )
else
findHelp (index + 1) uniqueId rest selectedId
findWith :
(String -> a -> Bool)
-> (a -> String)
-> String
-> List a
-> String
-> Maybe String
findWith matchesQuery uniqueId query entries id =
case entries of
[] ->
Nothing
a :: rest ->
if uniqueId a == id then
if matchesQuery query a then
Just id
else
proceedWith matchesQuery uniqueId id query rest
else
findWith matchesQuery uniqueId query rest id
proceedWith :
(String -> a -> Bool)
-> (a -> String)
-> String
-> String
-> List a
-> Maybe String
proceedWith matchesQuery uniqueId id query entries =
case entries of
[] ->
Just id
a :: rest ->
if matchesQuery query a then
Just (uniqueId a)
else
proceedWith matchesQuery uniqueId id query rest
lastEntry : List a -> Maybe a
lastEntry entries =
List.head (List.reverse entries)
-- PREVIOUS
type Previous a
= Previous a
| Last a
findPrevious :
(a -> String)
-> List a
-> String
-> Maybe (Previous a)
findPrevious uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
entries
|> lastEntry
|> Maybe.map Last
else
findPreviousHelp first uniqueId rest currentId
findPreviousHelp :
a
-> (a -> String)
-> List a
-> String
-> Maybe (Previous a)
findPreviousHelp previous uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
Just (Previous previous)
else
findPreviousHelp first uniqueId rest currentId
-- NEXT
type Next a
= Next a
| First a
findNext : (a -> String) -> List a -> String -> Maybe (Next a)
findNext uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
List.head rest
|> Maybe.map Next
else
Just (findNextHelp first uniqueId rest currentId)
findNextHelp :
a
-> (a -> String)
-> List a
-> String
-> Next a
findNextHelp first uniqueId entries currentId =
case entries of
[] ->
First first
a :: rest ->
if uniqueId a == currentId then
List.head rest
|> Maybe.map Next
|> Maybe.withDefault (First first)
else
findNextHelp first uniqueId rest currentId
-- RANGE
range : (a -> String) -> List a -> String -> String -> List a
range uniqueId entries end start =
case entries of
[] ->
[]
a :: rest ->
if uniqueId a == start then
rangeHelp uniqueId [ a ] end rest
else if uniqueId a == end then
List.reverse (rangeHelp uniqueId [ a ] start rest)
else
range uniqueId rest start end
rangeHelp : (a -> String) -> List a -> String -> List a -> List a
rangeHelp uniqueId collected end entries =
case entries of
[] ->
[]
a :: rest ->
if uniqueId a == end then
a :: collected
else
rangeHelp uniqueId (a :: collected) end rest
| true | module Listbox exposing
( view, Instance, Label, labelledBy, label, noLabel
, Listbox, init
, update, Msg, subscriptions
, Behaviour
, TypeAhead, noTypeAhead, simpleTypeAhead, typeAhead
, Views, html
, custom, ListboxAttrs, OptionAttrs
, viewUnique, updateUnique
, focusEntryUnique, focusNextOrFirstEntryUnique, focusPreviousOrFirstEntryUnique
, focusedEntry, focusedEntryId, hoveredEntry
, focusEntry, focusNextOrFirstEntry, focusPreviousOrFirstEntry
, focus
, scrollToFocus
, preventDefaultOnKeyDown
)
{-| Implementation of the [listbox
widget](https://www.w3.org/TR/wai-aria-practices-1.1/#Listbox):
> A listbox widget presents a list of options and allows a user to select one
> or more of them.
Take a look at the documentation of `Behaviour` for the default keyboard
interactions this widget offers.
# View
@docs view, Instance, Label, labelledBy, label, noLabel
# State management
@docs Listbox, init
@docs update, Msg, subscriptions
@docs Behaviour
## Type-ahead
@docs TypeAhead, noTypeAhead, simpleTypeAhead, typeAhead
# View customization
@docs Views, html
## Advanced customization
@docs custom, ListboxAttrs, OptionAttrs
# Unique selection
If you need a `Listbox` allowing only **at most one** selection. You just have
to replace the `view`, `update`, ... functions with the following ones in this
section.
@docs viewUnique, updateUnique
@docs focusEntryUnique, focusNextOrFirstEntryUnique, focusPreviousOrFirstEntryUnique
# Advanced usage
## State info
@docs focusedEntry, focusedEntryId, hoveredEntry
## State manipulation
@docs focusEntry, focusNextOrFirstEntry, focusPreviousOrFirstEntry
## DOM Stuff
@docs focus
@docs scrollToFocus
@docs preventDefaultOnKeyDown
-}
{-
Copyright 2018 PI:NAME:<NAME>END_PI
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.
-}
import Accessibility.Aria as Aria
import Accessibility.Role as Role
import Accessibility.Widget as Widget
import Browser.Dom as Dom
import Html exposing (Attribute, Html)
import Html.Attributes as Attributes
import Html.Events as Events
import Internal.KeyInfo as KeyInfo exposing (KeyInfo)
import Internal.Label as Internal exposing (Label(..))
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline as Decode
import Json.Encode exposing (Value)
import List.Extra as List
import Set
import Task exposing (Task)
import Time exposing (Posix)
{-| Tracks the keyboard and mouse focus as well as the current query. The full
list of entries and the currently selected option(s) live in your own model.
-}
type Listbox
= Listbox Data
type alias Data =
{ preventScroll : Bool
, query : Query
-- FOCUS
, focus : Focus
, hover : Maybe String
, maybeLastSelectedEntry : Maybe String
}
type Query
= NoQuery
| Query Int Time.Posix String
type Focus
= NoFocus
| Focus String
| Pending
{ id : String
, current : String
, pending : String
, shiftDown : Bool
}
currentFocus : Focus -> Maybe String
currentFocus theFocus =
case theFocus of
NoFocus ->
Nothing
Focus current ->
Just current
Pending { current } ->
Just current
{-| An initial listbox with no option focused.
-}
init : Listbox
init =
Listbox
{ preventScroll = False
, query = NoQuery
, focus = NoFocus
, hover = Nothing
, maybeLastSelectedEntry = Nothing
}
---- EXTERNAL STATE MANIPULATION
{-| A task to give the listbox focus. The first argument must match the
`Instance` used in the `view` function!
-}
focus : Instance a msg -> Task Dom.Error ()
focus { id } =
Dom.focus (printListId id)
{-| Returns the option which currently has keyboard focus.
-}
focusedEntry : (a -> String) -> List a -> Listbox -> Maybe a
focusedEntry uniqueId allEntries (Listbox listbox) =
Maybe.andThen (find uniqueId allEntries) (currentFocus listbox.focus)
{-| Returns the option which currently has mouse focus.
-}
hoveredEntry : (a -> String) -> List a -> Listbox -> Maybe a
hoveredEntry uniqueId allEntries (Listbox listbox) =
Maybe.andThen (find uniqueId allEntries) listbox.hover
{-| Sets the keyboard focus to the provided options.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> a
-> Listbox
-> List a
-> ( Listbox, List a )
focusEntry config newEntry (Listbox listbox) selection =
( Listbox
{ listbox
| query = NoQuery
, focus = Focus (config.uniqueId newEntry)
}
, if config.behaviour.selectionFollowsFocus then
[ newEntry ]
else
selection
)
{-| Sets the keyboard focus to the next option. If `jumpAtEnds` is true and the
focus is already on the last option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusNextOrFirstEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> List a
-> ( Listbox, List a )
focusNextOrFirstEntry config allEntries (Listbox listbox) selection =
let
{ uniqueId, behaviour } =
config
maybeA =
case currentFocus listbox.focus of
Nothing ->
List.head allEntries
Just hash ->
case findNext uniqueId allEntries hash of
Just (First a) ->
if behaviour.jumpAtEnds then
Just a
else
Nothing
Just (Next a) ->
Just a
Nothing ->
Nothing
in
case maybeA of
Nothing ->
( Listbox listbox, selection )
Just a ->
let
newListbox =
Listbox { listbox | focus = Focus (uniqueId a) }
in
if behaviour.selectionFollowsFocus then
( newListbox
, [ a ]
)
else
( newListbox
, selection
)
{-| Sets the keyboard focus to the previous option. If `jumpAtEnds` is true and the
focus is already on the first option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusPreviousOrFirstEntry :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> List a
-> ( Listbox, List a )
focusPreviousOrFirstEntry config allEntries (Listbox listbox) selection =
let
{ uniqueId, behaviour } =
config
maybeA =
case currentFocus listbox.focus of
Nothing ->
List.head allEntries
Just hash ->
case findPrevious uniqueId allEntries hash of
Just (Last a) ->
if behaviour.jumpAtEnds then
Just a
else
Nothing
Just (Previous a) ->
Just a
Nothing ->
Nothing
in
case maybeA of
Nothing ->
( Listbox listbox, selection )
Just a ->
let
newListbox =
Listbox { listbox | focus = Focus (uniqueId a) }
in
if behaviour.selectionFollowsFocus then
( newListbox
, [ a ]
)
else
( newListbox
, selection
)
{-| A command adjusting the scroll position of the listbox such that the
current keyboard focus is visible.
-}
scrollToFocus : Behaviour a -> Instance a msg -> Listbox -> Cmd msg
scrollToFocus behaviour { id, lift } (Listbox listbox) =
Cmd.map lift
(case listbox.focus of
NoFocus ->
Cmd.none
Focus current ->
attemptToScrollToOption behaviour id current Nothing
Pending { current } ->
attemptToScrollToOption behaviour id current Nothing
)
---- UPDATE CONFIG
{-| **Available behaviour customizations**
You can customize the behaviour of the listbox with the following options:
- **jumpAtEnds**: Whether the keyboard focus should jump to the other end of
the list when pressing `ArrowUp` while focusing the first option (or
`ArrowDown` while focusing the last).
- **separateFocus**: Whether the mouse focus and the keyboard focus can be
different.
- **selectionFollowsFocus**: Do we automatically add the entry gaining
keyboard focus to the selection?
- **handleHomeAndEnd**: Should we handle the `Home` and `End` keys (to jump
to the top or bottom of the list)?
- **typeAhead**: Make it possible to jump to options by typing in a query.
Take a look at `TypeAhead` for more information.
- **minimalGap**: If the distance (in px) of the option having the keyboard
focus to the borders of the listbox's viewport is smaller then this value,
the listbox will adjust its scroll position so that this distance is at least
`initialGap`.
- **initialGap**: The minimal distance (in px) of the option having the
keyboard focus to the borders of the listbox's viewport after the scroll
position has been adjusted.
A behaviour configuration could look something like this:
behaviour : Behaviour String
behaviour =
{ jumpAtEnds = True
, separateFocus = True
, selectionFollowsFocus = False
, handleHomeAndEnd = True
, typeAhead = simpleTypeAhead 300 identity
, minimalGap = 30
, initialGap = 200
}
The listbox will behave as explained in the [WAI-ARIA Authoring Practices
1.1](https://www.w3.org/TR/wai-aria-practices-1.1/#Listbox) in the _Keyboard
Interaction_ section. Note that you get the _recommended selection model_ if
you choose `selectionFollowsFocus = False`, and the _alternative
selection model_ for `selectionFollowsFocus = True`.
-}
type alias Behaviour a =
{ jumpAtEnds : Bool
, separateFocus : Bool
, selectionFollowsFocus : Bool
, handleHomeAndEnd : Bool
, typeAhead : TypeAhead a
, minimalGap : Float
, initialGap : Float
}
{-| -}
type TypeAhead a
= NoTypeAhead
| TypeAhead Int (String -> a -> Bool)
{-| Use this inside `Behaviour` if you do not want to activate the type-ahead
functionality.
-}
noTypeAhead : TypeAhead a
noTypeAhead =
NoTypeAhead
{-| Activate the type-ahead functionality. When the user types in a search
query.
- The first argument is the timeout (in milliseconds) after which the query
is reseted.
- The second argument, `a -> String`, should be a reasonable stringification
of the options. It is used to check whether an option starts with this query
or not. The listbox will then move the keyboard focus forward to the next
matching option.
-}
simpleTypeAhead : Int -> (a -> String) -> TypeAhead a
simpleTypeAhead timeout entryToString =
TypeAhead timeout <|
\query a ->
String.toLower (entryToString a)
|> String.startsWith (String.toLower query)
{-| This works like `simpleTypeAhead` but gives you you more flexibility when
customizing the matching condition. The first argument is the timeout. The
second argument is a function which gets the current query and an option,
returning if the query matches this option.
-}
typeAhead : Int -> (String -> a -> Bool) -> TypeAhead a
typeAhead =
TypeAhead
---- VIEW
{-| To make a listbox unique in your application you have to provide this
information to the `view` function:
- **id**: The unique id of the listbox.
- **label**: Specify how the listbox is labelled. See `Label` for
possible options.
- **lift**: Your message type constructor wrapping the listbox `Msg`'s.
-}
type alias Instance a msg =
{ id : String
, label : Label
, lift : Msg a -> msg
}
{-| There are three possibilities to label a listbox: it can be
`labelledBy` by another DOM element with the given id, it can provide its own
`label`, or it can have `noLabel` at all.
The last case is only allowed when the listbox is part of another widget which
itself is labelled.
-}
type alias Label =
Internal.Label
{-| -}
labelledBy : String -> Label
labelledBy =
Internal.LabelledBy
{-| -}
label : String -> Label
label =
Internal.Label
{-| -}
noLabel : Label
noLabel =
Internal.NoLabel
{-| Take a list of all entries and a list of selected options and display it as
a listbox. You have to provide a `ViewConfig` for the styling and an `Instance`
to uniquely identify this listbox. For example:
view : Listbox -> List String -> Html Msg
view listbox selection =
Html.div []
[ Listbox.view viewConfig
{ id = "fruits-listbox"
, label = label "fruits"
, lift = ListboxMsg
}
fruits
listbox
selection
]
fruits : List (Entry String divider)
fruits =
List.map Listbox.option
[ "Apple", "Banana", "Cherry" ]
type Msg
= ListboxMsg Listbox.Msg
You can provide the following options:
- **uniqueId**: A hash function for the entries.
- **focusable**: Should the listbox be focusable?
-}
view :
Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> List a
-> node
view =
viewHelp True
viewHelp :
Bool
-> Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> List a
-> node
viewHelp multiSelectable (Views views) config instance allEntries (Listbox data) selection =
views.listbox
{ id = printListId instance.id
, role = "listbox"
, ariaMultiselectable = stringFromBool multiSelectable
, ariaLabelledby =
case instance.label of
LabelledBy id ->
Just id
Label _ ->
Nothing
NoLabel ->
Nothing
, ariaLabel =
case instance.label of
LabelledBy _ ->
Nothing
Label theLabel ->
Just theLabel
NoLabel ->
Nothing
, ariaActivedescendant =
if config.markActiveDescendant then
currentFocus data.focus
|> Maybe.andThen (find config.uniqueId allEntries)
|> Maybe.map (config.uniqueId >> printEntryId instance.id)
else
Nothing
, tabindex =
if config.focusable then
Just 0
else
Nothing
, preventDefaultOnKeydown =
Decode.andThen
(listKeyPress False instance.id
>> Decode.map (\msg -> ( instance.lift msg, True ))
)
KeyInfo.decoder
, onMousedown = instance.lift ListMouseDown
, onMouseup = instance.lift ListMouseUp
, onFocus = instance.lift (ListFocused instance.id)
, onBlur = instance.lift ListBlured
}
{ options =
List.map (viewOption multiSelectable views.option config instance selection data)
allEntries
}
viewOption :
Bool
->
(OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
)
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Data
-> a
-> node
viewOption multiSelectable toNode config instance selection data option =
let
maybeHash =
Just (config.uniqueId option)
selected =
List.any ((==) option) selection
hash =
config.uniqueId option
in
toNode
{ id = printEntryId instance.id hash
, role = "option"
, ariaSelected =
if multiSelectable then
Just (stringFromBool selected)
else if selected then
Just "true"
else
Nothing
, onMouseenter = instance.lift (EntryMouseEntered hash)
, onMouseleave = instance.lift EntryMouseLeft
, onClick = instance.lift (EntryClicked option)
}
{ selected = selected
, focused = currentFocus data.focus == maybeHash
, hovered = data.hover == maybeHash
, maybeQuery =
case data.query of
NoQuery ->
Nothing
Query _ _ text ->
Just text
}
option
stringFromBool : Bool -> String
stringFromBool bool =
if bool then
"true"
else
"false"
listKeyPress : Bool -> String -> KeyInfo -> Decoder (Msg a)
listKeyPress fromOutside id { code, altDown, controlDown, metaDown, shiftDown } =
let
noModifierDown =
not (altDown || controlDown || metaDown || shiftDown)
onlyShiftDown =
not altDown && not controlDown && not metaDown && shiftDown
onlyControlDown =
not altDown && controlDown && not metaDown && not shiftDown
notHandlingThatKey =
Decode.fail "not handling that key combination"
in
case code of
"ArrowUp" ->
if noModifierDown then
Decode.succeed (ListArrowUpDown id)
else if onlyShiftDown then
Decode.succeed (ListShiftArrowUpDown id)
else
notHandlingThatKey
"ArrowDown" ->
if noModifierDown then
Decode.succeed (ListArrowDownDown id)
else if onlyShiftDown then
Decode.succeed (ListShiftArrowDownDown id)
else
notHandlingThatKey
"Enter" ->
if noModifierDown then
Decode.succeed (ListEnterDown id)
else
notHandlingThatKey
" " ->
if not fromOutside then
if onlyShiftDown then
Decode.succeed (ListShiftSpaceDown id)
else if noModifierDown then
Decode.succeed (ListSpaceDown id)
else
notHandlingThatKey
else
notHandlingThatKey
"Home" ->
if not altDown && controlDown && not metaDown && shiftDown then
Decode.succeed (ListControlShiftHomeDown id)
else if noModifierDown then
Decode.succeed (ListHomeDown id)
else
notHandlingThatKey
"End" ->
if not altDown && controlDown && not metaDown && shiftDown then
Decode.succeed (ListControlShiftEndDown id)
else if noModifierDown then
Decode.succeed (ListEndDown id)
else
notHandlingThatKey
"a" ->
if not fromOutside then
if onlyControlDown then
Decode.succeed ListControlADown
else if noModifierDown && (String.length code == 1) then
Decode.succeed (ListKeyDown id code)
else
notHandlingThatKey
else
notHandlingThatKey
_ ->
if not fromOutside then
if noModifierDown && (String.length code == 1) then
Decode.succeed (ListKeyDown id code)
else
notHandlingThatKey
else
notHandlingThatKey
{-| Opaque type for providing view customization of the listbox widget.
-}
type Views a node msg
= Views
{ listbox : ListboxAttrs msg -> { options : List node } -> node
, option :
OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
}
{-| TODO
-}
type alias ListboxAttrs msg =
{ id : String
, role : String
, ariaMultiselectable : String
, ariaLabelledby : Maybe String
, ariaLabel : Maybe String
, ariaActivedescendant : Maybe String
, tabindex : Maybe Int
, preventDefaultOnKeydown : Decoder ( msg, Bool )
, onMousedown : msg
, onMouseup : msg
, onFocus : msg
, onBlur : msg
}
{-| TODO
-}
type alias OptionAttrs msg =
{ id : String
, role : String
, ariaSelected : Maybe String
, onMouseenter : msg
, onMouseleave : msg
, onClick : msg
}
{-| If you want to use other UI libraries like `rtfeldman/elm-css` or
`mdgriffith/elm-ui` you have to generate Views using this function. Take a look
at the implementation of `html` for a starting point. The `examples/` folder of
the package repository contains an implementation for `mdgriffith/elm-ui`.
-}
custom :
{ listbox :
ListboxAttrs msg
->
{ options : List node
}
-> node
, option :
OptionAttrs msg
->
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
-> node
}
-> Views a node msg
custom =
Views
{-| Generate view customizations for the standard `elm/html` package. You can
customize the styling with the following fields:
- **ul**: A list of html attributes applied to the outer listbox.
- **li**: A function returning `HtmlDetails` for each option in your
entries list. It gets the actual option value `a` and flags telling you if
this option is currently `selected`, `focused` or `hovered`. If the user
typed in a query, you get this via the `maybeQuery` field.
The DOM structure of a listbox will be something like this:
listbox =
Html.ul
[ ... ] -- ul attributes
[ Html.li
[ ... ] -- liDivider attributes
[ ... ] -- liDivider children
, Html.li
[ ... ] -- liOption attributes
[ ... ] -- liOption children
, ...
, Html.li
[ ... ] -- liOption attributes
[ ... ] -- liOption children
]
-}
html :
{ ul : List (Attribute msg)
, li :
{ selected : Bool
, focused : Bool
, hovered : Bool
, maybeQuery : Maybe String
}
-> a
->
{ attributes : List (Attribute msg)
, children : List (Html msg)
}
}
-> Views a (Html msg) msg
html config =
Views
{ listbox =
\attrs { options } ->
let
addAriaLabelledBy htmlAttrs =
case attrs.ariaLabelledby of
Nothing ->
htmlAttrs
Just ariaLabelledby ->
Attributes.attribute "aria-labelledby" ariaLabelledby :: htmlAttrs
addAriaLabel htmlAttrs =
case attrs.ariaLabel of
Nothing ->
htmlAttrs
Just ariaLabel ->
Attributes.attribute "aria-label" ariaLabel :: htmlAttrs
addAriaActivedescendant htmlAttrs =
case attrs.ariaActivedescendant of
Nothing ->
htmlAttrs
Just ariaActivedescendant ->
Attributes.attribute "aria-activedescendant" ariaActivedescendant
:: htmlAttrs
addTabindex htmlAttrs =
case attrs.tabindex of
Nothing ->
htmlAttrs
Just tabindex ->
Attributes.tabindex tabindex :: htmlAttrs
in
Html.ul
(([ Attributes.id attrs.id
, Attributes.attribute "role" attrs.role
, Attributes.attribute "aria-multiselectable" attrs.ariaMultiselectable
, Events.preventDefaultOn "keydown" attrs.preventDefaultOnKeydown
, Events.onMouseDown attrs.onMousedown
, Events.onMouseUp attrs.onMouseup
, Events.onFocus attrs.onFocus
, Events.onBlur attrs.onFocus
]
|> addAriaLabelledBy
|> addAriaLabel
|> addAriaActivedescendant
|> addTabindex
)
++ config.ul
)
options
, option =
\attrs state a ->
let
htmlDetails =
config.li state a
addAriaSelected htmlAttrs =
case attrs.ariaSelected of
Nothing ->
htmlAttrs
Just ariaSelected ->
Attributes.attribute "aria-selected" ariaSelected :: htmlAttrs
in
Html.li
(([ Attributes.id attrs.id
, Attributes.attribute "role" attrs.role
, Events.onMouseEnter attrs.onMouseenter
, Events.onMouseLeave attrs.onMouseleave
, Events.onClick attrs.onClick
]
|> addAriaSelected
)
++ htmlDetails.attributes
)
htmlDetails.children
}
{-| This adds all the keydown event listener needed for the listbox on any DOM
node. For example, this could be an input field which keeps focused while the
listbox is displayed in a dropdown. You usually want to set `focusable = False`
inside the `ViewConfig` when using this event listener.
You must provide your own event decoder, which is tried **before** the
listbox's event decoder. This lets you prevent the listbox reacting on key
combinations. If you do not need to handle keydown events, just insert a failing decoder:
view =
Html.input
[ Html.Events.preventDefaultOn "keydown"
(preventDefaultOnKeyDown
{ id = "fruits-listbox"
, labelledBy = "fruits"
, lift = ListboxMsg
}
(Decode.fail "not handling this event here")
)
]
[]
In this example, pressing keys like `ArrowUp` and `ArrowDown` will adjust the
listbox's focus although the listbox itself is not focused.
-}
preventDefaultOnKeyDown : Instance a msg -> Decoder ( msg, Bool ) -> Decoder ( msg, Bool )
preventDefaultOnKeyDown instance decoder =
Decode.oneOf
[ decoder
, Decode.andThen
(listKeyPress True instance.id
>> Decode.map (\msg -> ( instance.lift msg, True ))
)
KeyInfo.decoder
]
{-| Returns the HTML id of the currently focused entry.
-}
focusedEntryId :
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> Maybe String
focusedEntryId config instance entries (Listbox listbox) =
case listbox.focus of
NoFocus ->
Nothing
Focus current ->
find config.uniqueId entries current
|> Maybe.map (printEntryId instance.id << config.uniqueId)
Pending { current } ->
find config.uniqueId entries current
|> Maybe.map (printEntryId instance.id << config.uniqueId)
---- UNIQUE SELECTION
{-| Use this instead of `view` if the user can only select **at
most one** entry in the listbox. The only difference between the type signature
of this function and the one of `view` is that the last argument is a `Maybe a`
instead of a `List a`.
-}
viewUnique :
Views a node msg
->
{ uniqueId : a -> String
, focusable : Bool
, markActiveDescendant : Bool
}
-> Instance a msg
-> List a
-> Listbox
-> Maybe a
-> node
viewUnique views config instance entries listbox selection =
viewHelp False views config instance entries listbox (maybeToList selection)
{-| Use this function instead of `update` if the user can only
select **at most one** entry in the listbox. The only difference between the
type signature of this function and the one of `update` is that the last
argument is a `Maybe a` instead of a `List a`.
-}
updateUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Listbox
-> Maybe a
-> ( Listbox, Cmd (Msg a), Maybe a )
updateUnique config allEntries msg listbox selection =
let
( newListbox, cmd, newSelection ) =
update config allEntries msg listbox <|
maybeToList selection
in
( newListbox, cmd, listToMaybe newSelection )
{-| Sets the keyboard focus to the provided options.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusEntryUnique config newEntry listbox selection =
withUnique selection (focusEntry config newEntry listbox)
{-| Sets the keyboard focus to the next option. If `jumpAtEnds` is true and the
focus is already on the last option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusNextOrFirstEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusNextOrFirstEntryUnique config allEntries listbox selection =
withUnique selection (focusNextOrFirstEntry config allEntries listbox)
{-| Sets the keyboard focus to the previous option. If `jumpAtEnds` is true and the
focus is already on the first option, the first option is selected.
**Note**: This will not adjust the scroll position of the listbox, so you might
want to apply `scrollToFocus` afterwards.
-}
focusPreviousOrFirstEntryUnique :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Listbox
-> Maybe a
-> ( Listbox, Maybe a )
focusPreviousOrFirstEntryUnique config allEntries listbox selection =
withUnique selection (focusPreviousOrFirstEntry config allEntries listbox)
withUnique : Maybe a -> (List a -> ( Listbox, List a )) -> ( Listbox, Maybe a )
withUnique selection func =
let
( listbox, list ) =
func (maybeToList selection)
in
( listbox, listToMaybe list )
maybeToList : Maybe a -> List a
maybeToList maybeA =
case maybeA of
Nothing ->
[]
Just a ->
[ a ]
listToMaybe : List a -> Maybe a
listToMaybe listA =
case listA of
[] ->
Nothing
a :: _ ->
Just a
-- UPDATE
{-| -}
type Msg a
= NoOp
| BrowserReturnedDomInfoOption a (Result Dom.Error DomInfoOption)
| ViewportOfListReceived Direction a (Result Dom.Error Dom.Viewport)
-- LIST
| ListMouseDown
| ListMouseUp
| ListFocused String
| ListBlured
| ListArrowUpDown String
| ListShiftArrowUpDown String
| ListArrowDownDown String
| ListShiftArrowDownDown String
| ListEnterDown String
| ListSpaceDown String
| ListShiftSpaceDown String
| ListHomeDown String
| ListControlShiftHomeDown String
| ListEndDown String
| ListControlShiftEndDown String
| ListControlADown
-- QUERY
| ListKeyDown String String
| CurrentTimeReceived String String Time.Posix
| Tick Time.Posix
-- ENTRY
| EntryMouseEntered String
| EntryMouseLeft
| EntryClicked a
type Direction
= Up
| Down
{-| Use this function to update the listbox state. You have to provide the same
entries and selection as given to your view function.
For example:
update msg model =
case msg of
ListboxMsg listboxMsg ->
let
( newListbox, listboxCmd, newSelection ) =
Listbox.update updateConfig
entries
listboxMsg
model.listbox
model.selection
in
( { model
| listbox = newListbox
, selection = newSelection
}
, Cmd.map ListboxMsg listboxCmd
)
In a more sophisticated example, the entries could be dynamic, as well. (For
example, loaded via an HTTP request.)
You can provide the following customizations:
- **uniqueId**: A hash function for the entries.
- **behaviour**: Behaviour customizations.
-}
update :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Listbox
-> List a
-> ( Listbox, Cmd (Msg a), List a )
update config entries msg (Listbox data) selection =
let
( newData, cmd, newSelection ) =
updateHelp config entries msg data selection
in
( Listbox newData, cmd, newSelection )
updateHelp :
{ uniqueId : a -> String
, behaviour : Behaviour a
}
-> List a
-> Msg a
-> Data
-> List a
-> ( Data, Cmd (Msg a), List a )
updateHelp ({ uniqueId, behaviour } as config) allEntries msg data selection =
let
unchanged =
( data
, Cmd.none
, selection
)
fromModel newData =
( newData
, Cmd.none
, selection
)
withEffect effect ( newData, _, newSelection ) =
( newData, effect, newSelection )
withSelection newSelection ( newData, effect, _ ) =
( newData, effect, newSelection )
-- SELECTION
select a listA ( newData, effect, newSelection ) =
{ newData | maybeLastSelectedEntry = Just (uniqueId a) }
|> fromModel
|> withSelection (List.uniqueBy uniqueId (a :: listA ++ newSelection))
unselect a ( newData, effect, newSelection ) =
newData
|> fromModel
|> withSelection (List.filter (\b -> a /= b) newSelection)
toggle a ( newData, effect, newSelection ) =
if List.member a newSelection then
newData
|> fromModel
|> withSelection (List.filter (\b -> a /= b) newSelection)
else
{ newData | maybeLastSelectedEntry = Just (uniqueId a) }
|> fromModel
|> withSelection (List.uniqueBy uniqueId (a :: newSelection))
-- FOCUS
initFocus id =
let
maybeA =
data.focus
|> currentFocus
|> or data.maybeLastSelectedEntry
|> Maybe.andThen (find uniqueId allEntries)
|> or (List.head selection)
|> Maybe.andThen (uniqueId >> find uniqueId allEntries)
|> or (List.head allEntries)
in
case maybeA of
Nothing ->
fromModel { data | query = NoQuery }
Just a ->
let
hash =
uniqueId a
newData =
{ data
| query = NoQuery
, focus = Focus hash
}
in
if behaviour.selectionFollowsFocus then
newData
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
|> select a []
else
newData
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
scheduleFocusPrevious id shiftDown current =
case findPrevious uniqueId allEntries current of
Just (Last a) ->
if behaviour.jumpAtEnds then
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = uniqueId a
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (getViewportOfList id Up a)
else if behaviour.selectionFollowsFocus then
case find uniqueId allEntries current of
Nothing ->
fromModel { data | query = NoQuery }
Just currentA ->
if shiftDown then
fromModel { data | query = NoQuery }
|> toggle currentA
else
fromModel { data | query = NoQuery }
|> withSelection [ currentA ]
else
fromModel { data | query = NoQuery }
Just (Previous a) ->
let
hash =
uniqueId a
in
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = hash
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (attemptToGetDomInfoOption id hash current a)
Nothing ->
initFocus id
scheduleFocusNext id shiftDown current =
case findNext uniqueId allEntries current of
Just (First a) ->
if behaviour.jumpAtEnds then
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = uniqueId a
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (getViewportOfList id Down a)
else if behaviour.selectionFollowsFocus then
case find uniqueId allEntries current of
Nothing ->
fromModel { data | query = NoQuery }
Just currentA ->
if shiftDown then
fromModel { data | query = NoQuery }
|> toggle currentA
else
fromModel { data | query = NoQuery }
|> withSelection [ currentA ]
else
fromModel { data | query = NoQuery }
Just (Next a) ->
let
hash =
uniqueId a
in
{ data
| query = NoQuery
, focus =
Pending
{ id = id
, current = current
, pending = hash
, shiftDown = shiftDown
}
}
|> fromModel
|> withEffect (attemptToGetDomInfoOption id hash current a)
Nothing ->
initFocus id
in
case msg of
NoOp ->
unchanged
BrowserReturnedDomInfoOption a (Err id) ->
unchanged
BrowserReturnedDomInfoOption a (Ok entryDomData) ->
case data.focus of
NoFocus ->
unchanged
Focus _ ->
unchanged
Pending { id, pending, shiftDown } ->
let
newData =
{ data | focus = Focus pending }
( x, y ) =
newPosition behaviour entryDomData
in
if behaviour.selectionFollowsFocus && not shiftDown then
newData
|> fromModel
|> withSelection [ a ]
|> withEffect (setViewportOf id x y)
else if shiftDown then
newData
|> fromModel
|> toggle a
|> withEffect (setViewportOf id x y)
else
fromModel newData
|> withEffect (setViewportOf id x y)
ViewportOfListReceived direction a (Err id) ->
unchanged
ViewportOfListReceived direction a (Ok viewport) ->
case data.focus of
NoFocus ->
unchanged
Focus _ ->
unchanged
Pending { id, pending, shiftDown } ->
let
newData =
{ data | focus = Focus pending }
effect =
case direction of
Up ->
setViewportOf id
viewport.viewport.x
viewport.scene.height
Down ->
setViewportOf id
viewport.viewport.x
0
in
if behaviour.selectionFollowsFocus && not shiftDown then
newData
|> fromModel
|> withSelection [ a ]
|> withEffect effect
else if shiftDown then
newData
|> fromModel
|> toggle a
|> withEffect effect
else
newData
|> fromModel
|> withEffect effect
-- LIST
ListMouseDown ->
fromModel { data | preventScroll = True }
ListMouseUp ->
fromModel { data | preventScroll = False }
ListFocused id ->
if data.preventScroll then
unchanged
else
initFocus id
ListBlured ->
fromModel
{ data
| query = NoQuery
, preventScroll = False
}
ListArrowUpDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusPrevious id False hash
Pending _ ->
unchanged
ListShiftArrowUpDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusPrevious id True hash
Pending _ ->
unchanged
ListArrowDownDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusNext id False hash
Pending _ ->
unchanged
ListShiftArrowDownDown id ->
case data.focus of
NoFocus ->
initFocus id
Focus hash ->
scheduleFocusNext id True hash
Pending _ ->
unchanged
ListEnterDown id ->
case focusedEntry config.uniqueId allEntries (Listbox data) of
Nothing ->
unchanged
Just a ->
unchanged
|> toggle a
ListSpaceDown id ->
case focusedEntry config.uniqueId allEntries (Listbox data) of
Nothing ->
unchanged
Just a ->
unchanged
|> toggle a
ListShiftSpaceDown id ->
let
selected =
Maybe.map2 (range uniqueId allEntries)
(currentFocus data.focus)
data.maybeLastSelectedEntry
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
unchanged
|> select a listA
ListHomeDown id ->
case List.head allEntries of
Nothing ->
unchanged
Just a ->
{ data
| query = NoQuery
, focus = Focus (uniqueId a)
}
|> fromModel
|> withEffect (scrollListToTop id)
ListControlShiftHomeDown id ->
case Maybe.map uniqueId (List.head allEntries) of
Nothing ->
unchanged
Just hash ->
let
selected =
data.focus
|> currentFocus
|> Maybe.map (range uniqueId allEntries hash)
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
{ data
| focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> select a listA
|> withEffect (scrollListToTop id)
ListEndDown id ->
case lastEntry allEntries of
Nothing ->
unchanged
Just a ->
{ data
| query = NoQuery
, focus = Focus (uniqueId a)
}
|> fromModel
|> withEffect (scrollListToBottom id)
ListControlShiftEndDown id ->
case Maybe.map uniqueId (lastEntry allEntries) of
Nothing ->
unchanged
Just hash ->
let
selected =
data.focus
|> currentFocus
|> Maybe.map (range uniqueId allEntries hash)
|> Maybe.withDefault []
in
case selected of
[] ->
unchanged
a :: listA ->
{ data
| focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> select a listA
|> withEffect (scrollListToBottom id)
ListControlADown ->
let
allEntriesSet =
allEntries
|> List.map uniqueId
|> Set.fromList
selectionSet =
selection
|> List.map uniqueId
|> Set.fromList
in
if Set.isEmpty (Set.diff allEntriesSet selectionSet) then
unchanged
|> withSelection []
else
unchanged
|> withSelection allEntries
-- QUERY
ListKeyDown id key ->
case behaviour.typeAhead of
NoTypeAhead ->
unchanged
TypeAhead _ _ ->
unchanged
|> withEffect (Task.perform (CurrentTimeReceived id key) Time.now)
CurrentTimeReceived id key currentTime ->
case behaviour.typeAhead of
NoTypeAhead ->
unchanged
TypeAhead timeout matchesQuery ->
let
( newQuery, queryText ) =
case data.query of
NoQuery ->
( Query timeout currentTime key, key )
Query _ _ query ->
( Query timeout currentTime (query ++ key), query ++ key )
maybeHash =
Maybe.andThen
(findWith matchesQuery uniqueId queryText allEntries)
(currentFocus data.focus)
in
case maybeHash of
Nothing ->
unchanged
Just hash ->
{ data
| query = newQuery
, focus = Focus hash
, hover =
if behaviour.separateFocus then
data.hover
else
Just hash
}
|> fromModel
|> withEffect (attemptToScrollToOption behaviour id hash Nothing)
Tick currentTime ->
case data.query of
NoQuery ->
unchanged
Query timeout time _ ->
if
(Time.posixToMillis currentTime - Time.posixToMillis time)
> timeout
then
fromModel { data | query = NoQuery }
else
unchanged
-- ENTRY
EntryMouseEntered newFocus ->
fromModel
{ data
| focus =
if behaviour.separateFocus then
data.focus
else
Focus newFocus
, hover = Just newFocus
}
EntryMouseLeft ->
fromModel
{ data
| hover =
if behaviour.separateFocus then
Nothing
else
data.hover
}
EntryClicked a ->
let
hash =
uniqueId a
in
if behaviour.selectionFollowsFocus then
{ data
| query = NoQuery
, focus = Focus hash
, hover = Just hash
}
|> fromModel
|> select a selection
else
{ data
| query = NoQuery
, focus = Focus hash
, hover = Just hash
}
|> fromModel
|> toggle a
focusPendingKeyboardFocus : Listbox -> Listbox
focusPendingKeyboardFocus (Listbox listbox) =
case listbox.focus of
NoFocus ->
Listbox listbox
Focus _ ->
Listbox listbox
Pending { pending } ->
Listbox { listbox | focus = Focus pending }
newPosition : Behaviour a -> DomInfoOption -> ( Float, Float )
newPosition behaviour entryDomData =
let
---- SCROLLING
viewport =
entryDomData.viewportList.viewport
list =
entryDomData.elementList
li =
entryDomData.elementLi
previousLi =
entryDomData.elementPreviousLi
-- MEASUREMENTS
liY =
li.element.y - list.element.y + viewport.y
liHeight =
li.element.height
previousLiY =
previousLi.element.y - list.element.y + viewport.y
previousLiHeight =
previousLi.element.height
-- CONDITIONS
previousEntryHidden =
(previousLiY + previousLiHeight < viewport.y)
|| (previousLiY > viewport.y + viewport.height)
newEntryTooLow =
liY + liHeight + behaviour.minimalGap > viewport.y + viewport.height
newEntryTooHigh =
liY - behaviour.minimalGap < viewport.y
in
if previousEntryHidden then
( viewport.x
, liY + liHeight / 2 - viewport.height / 2
)
else if newEntryTooLow then
( viewport.x
, liY + liHeight - viewport.height + behaviour.initialGap
)
else if newEntryTooHigh then
( viewport.x
, liY - behaviour.initialGap
)
else
( viewport.x
, viewport.y
)
andDo : effect -> ( a, b ) -> ( a, effect, b )
andDo effect ( a, b ) =
( a, effect, b )
or : Maybe a -> Maybe a -> Maybe a
or fallback default =
case default of
Nothing ->
fallback
Just _ ->
default
getViewportOfList : String -> Direction -> a -> Cmd (Msg a)
getViewportOfList id direction option =
Dom.getViewportOf (printListId id)
|> Task.attempt (ViewportOfListReceived direction option)
scrollListToTop : String -> Cmd (Msg a)
scrollListToTop id =
Dom.getViewportOf (printListId id)
|> Task.andThen
(\list ->
Dom.setViewportOf (printListId id)
list.viewport.x
0
)
|> Task.attempt (\_ -> NoOp)
scrollListToBottom : String -> Cmd (Msg a)
scrollListToBottom id =
Dom.getViewportOf (printListId id)
|> Task.andThen
(\list ->
Dom.setViewportOf (printListId id)
list.viewport.x
list.scene.height
)
|> Task.attempt (\_ -> NoOp)
attemptToGetDomInfoOption : String -> String -> String -> a -> Cmd (Msg a)
attemptToGetDomInfoOption id hash previousHash option =
getDomInfoOption id hash previousHash
|> Task.attempt (BrowserReturnedDomInfoOption option)
setViewportOf : String -> Float -> Float -> Cmd (Msg a)
setViewportOf id x y =
Dom.setViewportOf (printListId id) x y
|> Task.attempt (\_ -> NoOp)
attemptToScrollToOption : Behaviour msg -> String -> String -> Maybe String -> Cmd (Msg a)
attemptToScrollToOption behaviour id hash maybePreviousHash =
case maybePreviousHash of
Nothing ->
getDomInfoOptionInitial id hash
|> Task.andThen (scrollToOptionInitial behaviour id)
|> Task.attempt (\_ -> NoOp)
Just previousHash ->
getDomInfoOption id hash previousHash
|> Task.andThen (scrollToOption behaviour id)
|> Task.attempt (\_ -> NoOp)
-- TASKS
type alias DomInfoOptionInitial =
{ viewportList : Dom.Viewport
, elementList : Dom.Element
, elementLi : Dom.Element
}
type alias DomInfoOption =
{ viewportList : Dom.Viewport
, elementList : Dom.Element
, elementLi : Dom.Element
, elementPreviousLi : Dom.Element
}
getDomInfoOptionInitial : String -> String -> Task Dom.Error DomInfoOptionInitial
getDomInfoOptionInitial id hash =
Task.map3 DomInfoOptionInitial
(Dom.getViewportOf (printListId id))
(Dom.getElement (printListId id))
(Dom.getElement (printEntryId id hash))
getDomInfoOption : String -> String -> String -> Task Dom.Error DomInfoOption
getDomInfoOption id hash previousHash =
Task.map4 DomInfoOption
(Dom.getViewportOf (printListId id))
(Dom.getElement (printListId id))
(Dom.getElement (printEntryId id hash))
(Dom.getElement (printEntryId id previousHash))
scrollToOptionInitial : Behaviour msg -> String -> DomInfoOptionInitial -> Task Dom.Error ()
scrollToOptionInitial behaviour id { viewportList, elementList, elementLi } =
let
{ viewport } =
viewportList
liY =
elementLi.element.y - elementList.element.y + viewport.y
liHeight =
elementLi.element.height
entryHidden =
(liY + liHeight - behaviour.minimalGap < viewport.y)
|| (liY + behaviour.minimalGap > viewport.y + viewport.height)
in
if entryHidden then
Dom.setViewportOf (printListId id) viewport.x (liY + liHeight / 2 - viewport.height / 2)
else
Task.succeed ()
scrollToOption : Behaviour msg -> String -> DomInfoOption -> Task Dom.Error ()
scrollToOption behaviour id entryDomData =
let
viewport =
entryDomData.viewportList.viewport
list =
entryDomData.elementList
li =
entryDomData.elementLi
previousLi =
entryDomData.elementPreviousLi
-- MEASUREMENTS
liY =
li.element.y - list.element.y + viewport.y
liHeight =
li.element.height
previousLiY =
previousLi.element.y - list.element.y + viewport.y
previousLiHeight =
previousLi.element.height
-- CONDITIONS
previousEntryHidden =
(previousLiY + previousLiHeight < viewport.y)
|| (previousLiY > viewport.y + viewport.height)
newEntryTooLow =
liY + liHeight + behaviour.minimalGap > viewport.y + viewport.height
newEntryTooHigh =
liY - behaviour.minimalGap < viewport.y
-- EFFECT
centerNewEntry =
domSetViewportOf viewport.x <|
(liY + liHeight / 2 - viewport.height / 2)
scrollDownToNewEntry =
domSetViewportOf viewport.x <|
(liY + liHeight - viewport.height + behaviour.initialGap)
scrollUpToNewEntry =
domSetViewportOf viewport.x <|
(liY - behaviour.initialGap)
domSetViewportOf x y =
Dom.setViewportOf (printListId id) x y
in
if previousEntryHidden then
centerNewEntry
else if newEntryTooLow then
scrollDownToNewEntry
else if newEntryTooHigh then
scrollUpToNewEntry
else
Task.succeed ()
-- SUBSCRIPTIONS
{-| Do not forget to add this to your subscriptions:
subscriptions model =
Sub.map ListboxMsg
(Listbox.subscriptions model.listbox)
-}
subscriptions : Listbox -> Sub (Msg a)
subscriptions (Listbox listbox) =
case listbox.query of
NoQuery ->
Sub.none
Query timeout _ _ ->
Time.every (toFloat (timeout // 3)) Tick
-- IDS
printListId : String -> String
printListId id =
id
printEntryId : String -> String -> String
printEntryId id entryId =
id ++ "__element--" ++ entryId
-- FIND
indexOf : (a -> String) -> List a -> String -> Maybe Int
indexOf uniqueId entries selectedId =
findHelp 0 uniqueId entries selectedId
|> Maybe.map Tuple.first
find : (a -> String) -> List a -> String -> Maybe a
find uniqueId entries selectedId =
findHelp 0 uniqueId entries selectedId
|> Maybe.map Tuple.second
findHelp :
Int
-> (a -> String)
-> List a
-> String
-> Maybe ( Int, a )
findHelp index uniqueId entries selectedId =
case entries of
[] ->
Nothing
entry :: rest ->
if uniqueId entry == selectedId then
Just ( index, entry )
else
findHelp (index + 1) uniqueId rest selectedId
findWith :
(String -> a -> Bool)
-> (a -> String)
-> String
-> List a
-> String
-> Maybe String
findWith matchesQuery uniqueId query entries id =
case entries of
[] ->
Nothing
a :: rest ->
if uniqueId a == id then
if matchesQuery query a then
Just id
else
proceedWith matchesQuery uniqueId id query rest
else
findWith matchesQuery uniqueId query rest id
proceedWith :
(String -> a -> Bool)
-> (a -> String)
-> String
-> String
-> List a
-> Maybe String
proceedWith matchesQuery uniqueId id query entries =
case entries of
[] ->
Just id
a :: rest ->
if matchesQuery query a then
Just (uniqueId a)
else
proceedWith matchesQuery uniqueId id query rest
lastEntry : List a -> Maybe a
lastEntry entries =
List.head (List.reverse entries)
-- PREVIOUS
type Previous a
= Previous a
| Last a
findPrevious :
(a -> String)
-> List a
-> String
-> Maybe (Previous a)
findPrevious uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
entries
|> lastEntry
|> Maybe.map Last
else
findPreviousHelp first uniqueId rest currentId
findPreviousHelp :
a
-> (a -> String)
-> List a
-> String
-> Maybe (Previous a)
findPreviousHelp previous uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
Just (Previous previous)
else
findPreviousHelp first uniqueId rest currentId
-- NEXT
type Next a
= Next a
| First a
findNext : (a -> String) -> List a -> String -> Maybe (Next a)
findNext uniqueId entries currentId =
case entries of
[] ->
Nothing
first :: rest ->
if uniqueId first == currentId then
List.head rest
|> Maybe.map Next
else
Just (findNextHelp first uniqueId rest currentId)
findNextHelp :
a
-> (a -> String)
-> List a
-> String
-> Next a
findNextHelp first uniqueId entries currentId =
case entries of
[] ->
First first
a :: rest ->
if uniqueId a == currentId then
List.head rest
|> Maybe.map Next
|> Maybe.withDefault (First first)
else
findNextHelp first uniqueId rest currentId
-- RANGE
range : (a -> String) -> List a -> String -> String -> List a
range uniqueId entries end start =
case entries of
[] ->
[]
a :: rest ->
if uniqueId a == start then
rangeHelp uniqueId [ a ] end rest
else if uniqueId a == end then
List.reverse (rangeHelp uniqueId [ a ] start rest)
else
range uniqueId rest start end
rangeHelp : (a -> String) -> List a -> String -> List a -> List a
rangeHelp uniqueId collected end entries =
case entries of
[] ->
[]
a :: rest ->
if uniqueId a == end then
a :: collected
else
rangeHelp uniqueId (a :: collected) end rest
| elm |
[
{
"context": "/elm-lang.org/\" ] [ text \"开源\" ]\n , text \"。简体中文由 Alex Lei \"\n , a [ class \"grey-link\", href \"https://gith",
"end": 978,
"score": 0.998441875,
"start": 970,
"tag": "NAME",
"value": "Alex Lei"
},
{
"context": ", a [ class \"grey-link\", href \"https://github.com/devitcn/elm-lang.org\" ] [ text \"翻译\" ]\n , text \"。 — © 2",
"end": 1042,
"score": 0.9978670478,
"start": 1035,
"tag": "USERNAME",
"value": "devitcn"
},
{
"context": "\" ] [ text \"翻译\" ]\n , text \"。 — © 2012-2017 版权所有 Evan Czaplicki\"\n ]\n\n",
"end": 1120,
"score": 0.9998247623,
"start": 1106,
"tag": "NAME",
"value": "Evan Czaplicki"
}
] | src/shared/Skeleton.elm | devitcn/elm-lang.org | 5 | module Skeleton exposing (skeleton)
import Html exposing (..)
import Html.Attributes exposing (..)
(=>) = (,)
skeleton tabName content =
div []
(header tabName :: content ++ [footer])
-- HEADER
header name =
div [ id "tabs" ]
[ a [ href "/"
, style
[ "position" => "absolute"
, "left" => "1em"
, "top" => "1em"
]
]
[ img [ src "/assets/logo.svg", style [ "width" => "24px" ] ] []
]
, ul [] (List.map (tab name) [ ("examples","例子"), ("docs","文档"), ("community","社区"), ("blog","博客") ])
]
tab currentName (name , title) =
li []
[ a [ classList [ "tab" => True, "current" => (currentName == name) ]
, href ("/" ++ name)
]
[ text title ]
]
-- FOOTER
footer =
div [class "footer"]
[ text "网站源码也是用Elm写的,并且"
, a [ class "grey-link", href "https://github.com/elm-lang/elm-lang.org/" ] [ text "开源" ]
, text "。简体中文由 Alex Lei "
, a [ class "grey-link", href "https://github.com/devitcn/elm-lang.org" ] [ text "翻译" ]
, text "。 — © 2012-2017 版权所有 Evan Czaplicki"
]
| 51381 | module Skeleton exposing (skeleton)
import Html exposing (..)
import Html.Attributes exposing (..)
(=>) = (,)
skeleton tabName content =
div []
(header tabName :: content ++ [footer])
-- HEADER
header name =
div [ id "tabs" ]
[ a [ href "/"
, style
[ "position" => "absolute"
, "left" => "1em"
, "top" => "1em"
]
]
[ img [ src "/assets/logo.svg", style [ "width" => "24px" ] ] []
]
, ul [] (List.map (tab name) [ ("examples","例子"), ("docs","文档"), ("community","社区"), ("blog","博客") ])
]
tab currentName (name , title) =
li []
[ a [ classList [ "tab" => True, "current" => (currentName == name) ]
, href ("/" ++ name)
]
[ text title ]
]
-- FOOTER
footer =
div [class "footer"]
[ text "网站源码也是用Elm写的,并且"
, a [ class "grey-link", href "https://github.com/elm-lang/elm-lang.org/" ] [ text "开源" ]
, text "。简体中文由 <NAME> "
, a [ class "grey-link", href "https://github.com/devitcn/elm-lang.org" ] [ text "翻译" ]
, text "。 — © 2012-2017 版权所有 <NAME>"
]
| true | module Skeleton exposing (skeleton)
import Html exposing (..)
import Html.Attributes exposing (..)
(=>) = (,)
skeleton tabName content =
div []
(header tabName :: content ++ [footer])
-- HEADER
header name =
div [ id "tabs" ]
[ a [ href "/"
, style
[ "position" => "absolute"
, "left" => "1em"
, "top" => "1em"
]
]
[ img [ src "/assets/logo.svg", style [ "width" => "24px" ] ] []
]
, ul [] (List.map (tab name) [ ("examples","例子"), ("docs","文档"), ("community","社区"), ("blog","博客") ])
]
tab currentName (name , title) =
li []
[ a [ classList [ "tab" => True, "current" => (currentName == name) ]
, href ("/" ++ name)
]
[ text title ]
]
-- FOOTER
footer =
div [class "footer"]
[ text "网站源码也是用Elm写的,并且"
, a [ class "grey-link", href "https://github.com/elm-lang/elm-lang.org/" ] [ text "开源" ]
, text "。简体中文由 PI:NAME:<NAME>END_PI "
, a [ class "grey-link", href "https://github.com/devitcn/elm-lang.org" ] [ text "翻译" ]
, text "。 — © 2012-2017 版权所有 PI:NAME:<NAME>END_PI"
]
| elm |
[
{
"context": " FlatLink.default |> FlatLink.view [ href \"mailto: contact.us@nordea.com\", Attributes.css [ Css.display Css.inlineBlock ] ",
"end": 1516,
"score": 0.9999310374,
"start": 1495,
"tag": "EMAIL",
"value": "contact.us@nordea.com"
}
] | explorer/src/Stories/Error.elm | SGFinansAS/elm-components | 2 | module Stories.Error exposing (..)
import Css exposing (rem)
import Html.Styled as Html
import Html.Styled.Attributes as Attributes exposing (href)
import Nordea.Components.Error as Error
import Nordea.Components.FlatLink as FlatLink
import Nordea.Components.Text as Text
import UIExplorer exposing (UI)
import UIExplorer.Styled exposing (styledStoriesOf)
stories : UI a b {}
stories =
styledStoriesOf
"Error"
[ ( "Internal server error"
, \_ ->
Error.internalServerError .no
|> Error.view [] []
, {}
)
, ( "Page not found"
, \_ ->
Error.pageNotFound .no
|> Error.view [] []
, {}
)
, ( "Page not found with custom text"
, \_ ->
Error.pageNotFound .no
|> Error.view []
[ Html.div
[ Attributes.css [ Css.displayFlex, Css.flexDirection Css.column, Css.alignItems Css.center ] ]
[ Text.bodyTextLight
|> Text.view [ Attributes.css [ Css.paddingRight (rem 0.25), Css.textAlign Css.center ] ]
[ Html.text "This is a custom text for the page not found. Should include link to a page that works, e.g. the home or start page, and maybe also a way to "
, FlatLink.default |> FlatLink.view [ href "mailto: contact.us@nordea.com", Attributes.css [ Css.display Css.inlineBlock ] ] [ Html.text "contact us." ]
]
]
]
, {}
)
]
| 40599 | module Stories.Error exposing (..)
import Css exposing (rem)
import Html.Styled as Html
import Html.Styled.Attributes as Attributes exposing (href)
import Nordea.Components.Error as Error
import Nordea.Components.FlatLink as FlatLink
import Nordea.Components.Text as Text
import UIExplorer exposing (UI)
import UIExplorer.Styled exposing (styledStoriesOf)
stories : UI a b {}
stories =
styledStoriesOf
"Error"
[ ( "Internal server error"
, \_ ->
Error.internalServerError .no
|> Error.view [] []
, {}
)
, ( "Page not found"
, \_ ->
Error.pageNotFound .no
|> Error.view [] []
, {}
)
, ( "Page not found with custom text"
, \_ ->
Error.pageNotFound .no
|> Error.view []
[ Html.div
[ Attributes.css [ Css.displayFlex, Css.flexDirection Css.column, Css.alignItems Css.center ] ]
[ Text.bodyTextLight
|> Text.view [ Attributes.css [ Css.paddingRight (rem 0.25), Css.textAlign Css.center ] ]
[ Html.text "This is a custom text for the page not found. Should include link to a page that works, e.g. the home or start page, and maybe also a way to "
, FlatLink.default |> FlatLink.view [ href "mailto: <EMAIL>", Attributes.css [ Css.display Css.inlineBlock ] ] [ Html.text "contact us." ]
]
]
]
, {}
)
]
| true | module Stories.Error exposing (..)
import Css exposing (rem)
import Html.Styled as Html
import Html.Styled.Attributes as Attributes exposing (href)
import Nordea.Components.Error as Error
import Nordea.Components.FlatLink as FlatLink
import Nordea.Components.Text as Text
import UIExplorer exposing (UI)
import UIExplorer.Styled exposing (styledStoriesOf)
stories : UI a b {}
stories =
styledStoriesOf
"Error"
[ ( "Internal server error"
, \_ ->
Error.internalServerError .no
|> Error.view [] []
, {}
)
, ( "Page not found"
, \_ ->
Error.pageNotFound .no
|> Error.view [] []
, {}
)
, ( "Page not found with custom text"
, \_ ->
Error.pageNotFound .no
|> Error.view []
[ Html.div
[ Attributes.css [ Css.displayFlex, Css.flexDirection Css.column, Css.alignItems Css.center ] ]
[ Text.bodyTextLight
|> Text.view [ Attributes.css [ Css.paddingRight (rem 0.25), Css.textAlign Css.center ] ]
[ Html.text "This is a custom text for the page not found. Should include link to a page that works, e.g. the home or start page, and maybe also a way to "
, FlatLink.default |> FlatLink.view [ href "mailto: PI:EMAIL:<EMAIL>END_PI", Attributes.css [ Css.display Css.inlineBlock ] ] [ Html.text "contact us." ]
]
]
]
, {}
)
]
| elm |
[
{
"context": "on social networking system.\n-- Copyright (c) 2019 Bill St. Clair <billstclair@gmail.com>\n-- Some rights reserved.\n",
"end": 208,
"score": 0.999851048,
"start": 194,
"tag": "NAME",
"value": "Bill St. Clair"
},
{
"context": "ing system.\n-- Copyright (c) 2019 Bill St. Clair <billstclair@gmail.com>\n-- Some rights reserved.\n-- Distributed under th",
"end": 231,
"score": 0.9999278188,
"start": 210,
"tag": "EMAIL",
"value": "billstclair@gmail.com"
}
] | src/Mastodon/WebSocket.elm | billstclair/elm-mastodon-websocket | 0 | ----------------------------------------------------------------------
--
-- WebSocket.elm
-- An Elm client for the WebSocket API of the Mastodon social networking system.
-- Copyright (c) 2019 Bill St. Clair <billstclair@gmail.com>
-- Some rights reserved.
-- Distributed under the MIT License
-- See LICENSE
--
----------------------------------------------------------------------
module Mastodon.WebSocket exposing
( StreamType(..), Event(..)
, streamUrl, open, close, decodeEvent, eventDecoder
)
{-| The WebSocket API for the Mastodon Social Network.
# Types
@docs StreamType, Event
# Functions
@docs streamUrl, open, close, decodeEvent, eventDecoder
-}
import Json.Decode as JD exposing (Decoder)
import Json.Encode as JE exposing (Value)
import Mastodon.EncodeDecode as ED
import Mastodon.Entity exposing (Notification, Status)
import Mastodon.PortFunnels exposing (State)
import PortFunnel.WebSocket
import Url.Builder as Builder exposing (QueryParameter)
{-| Stream types.
Use `streamingUrl` to convert one of these into a url string.
The `String` arg to `PublicHashtagStream` and `LocalHashtagStream` is a hashtag.
The `String` arg to `ListStream` is a list ID.
The `String` arg to `GroupStream` is a group ID.
Groups are currently supported only by the Gab server code.
-}
type StreamType
= UserStream
| PublicStream
| LocalStream
| ProStream
| PublicHashtagStream String
| LocalHashtagStream String
| ListStream String
| DirectStream
| GroupStream String
{-| Convert a streaming API (e.g. "rss://mastodon.social"), access token, and stream type into a URL for the WebSocket connection.
streamUrl streaming_api accessToken streamType
If `accessToken` is `Nothing`, will attempt to connect without authentication. This works for the following `StreamType`s: [TODO]
-}
streamUrl : String -> Maybe String -> StreamType -> String
streamUrl streaming_api accessToken streamType =
Builder.crossOrigin
streaming_api
[ "api", "v1", "streaming" ]
(streamTypeToQueryParameters accessToken streamType)
streamTypeToQueryParameters : Maybe String -> StreamType -> List QueryParameter
streamTypeToQueryParameters accessToken streamType =
List.concat
[ case accessToken of
Nothing ->
[]
Just token ->
let
bearer =
"Bearer "
tok =
if String.startsWith bearer token then
String.dropLeft (String.length bearer) token
else
token
in
[ Builder.string "access_token" tok ]
, case streamType of
UserStream ->
[ Builder.string "stream" "user" ]
PublicStream ->
[ Builder.string "stream" "public" ]
LocalStream ->
[ Builder.string "stream" "public:local" ]
ProStream ->
[ Builder.string "stream" "pro" ]
PublicHashtagStream hashtag ->
[ Builder.string "stream" "hashtag"
, Builder.string "tag" hashtag
]
LocalHashtagStream hashtag ->
[ Builder.string "stream" "hashtag:local"
, Builder.string "tag" hashtag
]
ListStream id ->
[ Builder.string "stream" "list"
, Builder.string "list" id
]
DirectStream ->
[ Builder.string "stream" "direct" ]
GroupStream id ->
[ Builder.string "stream" "group"
, Builder.string "group" id
]
]
{-| Open a WebSocket connection.
open state key url
`state` is initially the result of `WebSocket.PortFunnels.initialState`.
`key` is a unique key string.
`url` is the result of a call to `streamUrl`.
-}
open : State msg -> String -> String -> Cmd msg
open state key url =
PortFunnel.WebSocket.makeOpenWithKey key url
|> PortFunnel.WebSocket.send state.cmdPort
{-| Close a socket opened with `open`.
close state key
-}
close : State msg -> String -> Cmd msg
close state key =
PortFunnel.WebSocket.makeClose key
|> PortFunnel.WebSocket.send state.cmdPort
{-| An event received over the websocket.
`NoEvent`, `UpdateEvent`, `NotificationEvent`, `DeleteEvent`, and
`FiltersChangedEvent` come over the wire as specified at
<https://docs.joinmastodon.org/api/streaming>.
`ConnectedEvent` is delivered as soon as the initial connection is made, right
after your send a `PortFunnels.WebSocket.makeOpen` message over the socket.
`ReconnectedEvent` is delivered if the connection is lost and auto-reconnected.
`ClosedEvent` is delivered if the reconnection fails, or you explicitly send
a `PortFunnels.WebSocket.makeClose` message.
-}
type Event
= NoEvent
| UpdateEvent Status
| NotificationEvent Notification
| DeleteEvent String
| FiltersChangedEvent
-- The string is the description from `PortFunnel.WebSocket.ConnectedResponse`
-- or `PortFunnel.WebSocket.ReconnectedResponse`.
| ConnectedEvent String
| ReconnectedEvent String
-- A message that can't be decoded
| UnknownEvent String
-- When the socket connection is closed
| ClosedEvent String
{-| Decode a string from the WebSocket stream.
-}
decodeEvent : String -> Result JD.Error Event
decodeEvent string =
if "" == string || ":" == String.left 1 string then
Ok NoEvent
else
JD.decodeString eventDecoder string
{-| The JSON decoder for a non-colon event.
You'll usually use `decodeEvent` on the string that comes over the WebSocket."
-}
eventDecoder : Decoder Event
eventDecoder =
JD.value
|> JD.andThen
(\value ->
case JD.decodeValue (JD.field "event" JD.string) value of
Err err ->
JD.fail "Can't decode event string"
Ok event ->
case JD.decodeValue (JD.field "payload" JD.string) value of
Err _ ->
JD.fail "Non-string or missing payload"
Ok payload ->
case event of
"update" ->
case
JD.decodeString
(ED.statusDecoder
|> JD.andThen
(\status ->
JD.succeed <|
UpdateEvent status
)
)
payload
of
Ok x ->
JD.succeed x
Err err ->
JD.fail <| JD.errorToString err
"notification" ->
case
JD.decodeString
(ED.notificationDecoder
|> JD.andThen
(\notification ->
JD.succeed <|
NotificationEvent
notification
)
)
payload
of
Ok x ->
JD.succeed x
Err err ->
JD.fail <| JD.errorToString err
"delete" ->
JD.succeed <| DeleteEvent payload
"filters_changed" ->
JD.succeed FiltersChangedEvent
"connected" ->
JD.succeed <| ConnectedEvent payload
"reconnected" ->
JD.succeed <| ReconnectedEvent payload
"nothing" ->
JD.succeed NoEvent
_ ->
JD.succeed <| UnknownEvent event
)
| 30383 | ----------------------------------------------------------------------
--
-- WebSocket.elm
-- An Elm client for the WebSocket API of the Mastodon social networking system.
-- Copyright (c) 2019 <NAME> <<EMAIL>>
-- Some rights reserved.
-- Distributed under the MIT License
-- See LICENSE
--
----------------------------------------------------------------------
module Mastodon.WebSocket exposing
( StreamType(..), Event(..)
, streamUrl, open, close, decodeEvent, eventDecoder
)
{-| The WebSocket API for the Mastodon Social Network.
# Types
@docs StreamType, Event
# Functions
@docs streamUrl, open, close, decodeEvent, eventDecoder
-}
import Json.Decode as JD exposing (Decoder)
import Json.Encode as JE exposing (Value)
import Mastodon.EncodeDecode as ED
import Mastodon.Entity exposing (Notification, Status)
import Mastodon.PortFunnels exposing (State)
import PortFunnel.WebSocket
import Url.Builder as Builder exposing (QueryParameter)
{-| Stream types.
Use `streamingUrl` to convert one of these into a url string.
The `String` arg to `PublicHashtagStream` and `LocalHashtagStream` is a hashtag.
The `String` arg to `ListStream` is a list ID.
The `String` arg to `GroupStream` is a group ID.
Groups are currently supported only by the Gab server code.
-}
type StreamType
= UserStream
| PublicStream
| LocalStream
| ProStream
| PublicHashtagStream String
| LocalHashtagStream String
| ListStream String
| DirectStream
| GroupStream String
{-| Convert a streaming API (e.g. "rss://mastodon.social"), access token, and stream type into a URL for the WebSocket connection.
streamUrl streaming_api accessToken streamType
If `accessToken` is `Nothing`, will attempt to connect without authentication. This works for the following `StreamType`s: [TODO]
-}
streamUrl : String -> Maybe String -> StreamType -> String
streamUrl streaming_api accessToken streamType =
Builder.crossOrigin
streaming_api
[ "api", "v1", "streaming" ]
(streamTypeToQueryParameters accessToken streamType)
streamTypeToQueryParameters : Maybe String -> StreamType -> List QueryParameter
streamTypeToQueryParameters accessToken streamType =
List.concat
[ case accessToken of
Nothing ->
[]
Just token ->
let
bearer =
"Bearer "
tok =
if String.startsWith bearer token then
String.dropLeft (String.length bearer) token
else
token
in
[ Builder.string "access_token" tok ]
, case streamType of
UserStream ->
[ Builder.string "stream" "user" ]
PublicStream ->
[ Builder.string "stream" "public" ]
LocalStream ->
[ Builder.string "stream" "public:local" ]
ProStream ->
[ Builder.string "stream" "pro" ]
PublicHashtagStream hashtag ->
[ Builder.string "stream" "hashtag"
, Builder.string "tag" hashtag
]
LocalHashtagStream hashtag ->
[ Builder.string "stream" "hashtag:local"
, Builder.string "tag" hashtag
]
ListStream id ->
[ Builder.string "stream" "list"
, Builder.string "list" id
]
DirectStream ->
[ Builder.string "stream" "direct" ]
GroupStream id ->
[ Builder.string "stream" "group"
, Builder.string "group" id
]
]
{-| Open a WebSocket connection.
open state key url
`state` is initially the result of `WebSocket.PortFunnels.initialState`.
`key` is a unique key string.
`url` is the result of a call to `streamUrl`.
-}
open : State msg -> String -> String -> Cmd msg
open state key url =
PortFunnel.WebSocket.makeOpenWithKey key url
|> PortFunnel.WebSocket.send state.cmdPort
{-| Close a socket opened with `open`.
close state key
-}
close : State msg -> String -> Cmd msg
close state key =
PortFunnel.WebSocket.makeClose key
|> PortFunnel.WebSocket.send state.cmdPort
{-| An event received over the websocket.
`NoEvent`, `UpdateEvent`, `NotificationEvent`, `DeleteEvent`, and
`FiltersChangedEvent` come over the wire as specified at
<https://docs.joinmastodon.org/api/streaming>.
`ConnectedEvent` is delivered as soon as the initial connection is made, right
after your send a `PortFunnels.WebSocket.makeOpen` message over the socket.
`ReconnectedEvent` is delivered if the connection is lost and auto-reconnected.
`ClosedEvent` is delivered if the reconnection fails, or you explicitly send
a `PortFunnels.WebSocket.makeClose` message.
-}
type Event
= NoEvent
| UpdateEvent Status
| NotificationEvent Notification
| DeleteEvent String
| FiltersChangedEvent
-- The string is the description from `PortFunnel.WebSocket.ConnectedResponse`
-- or `PortFunnel.WebSocket.ReconnectedResponse`.
| ConnectedEvent String
| ReconnectedEvent String
-- A message that can't be decoded
| UnknownEvent String
-- When the socket connection is closed
| ClosedEvent String
{-| Decode a string from the WebSocket stream.
-}
decodeEvent : String -> Result JD.Error Event
decodeEvent string =
if "" == string || ":" == String.left 1 string then
Ok NoEvent
else
JD.decodeString eventDecoder string
{-| The JSON decoder for a non-colon event.
You'll usually use `decodeEvent` on the string that comes over the WebSocket."
-}
eventDecoder : Decoder Event
eventDecoder =
JD.value
|> JD.andThen
(\value ->
case JD.decodeValue (JD.field "event" JD.string) value of
Err err ->
JD.fail "Can't decode event string"
Ok event ->
case JD.decodeValue (JD.field "payload" JD.string) value of
Err _ ->
JD.fail "Non-string or missing payload"
Ok payload ->
case event of
"update" ->
case
JD.decodeString
(ED.statusDecoder
|> JD.andThen
(\status ->
JD.succeed <|
UpdateEvent status
)
)
payload
of
Ok x ->
JD.succeed x
Err err ->
JD.fail <| JD.errorToString err
"notification" ->
case
JD.decodeString
(ED.notificationDecoder
|> JD.andThen
(\notification ->
JD.succeed <|
NotificationEvent
notification
)
)
payload
of
Ok x ->
JD.succeed x
Err err ->
JD.fail <| JD.errorToString err
"delete" ->
JD.succeed <| DeleteEvent payload
"filters_changed" ->
JD.succeed FiltersChangedEvent
"connected" ->
JD.succeed <| ConnectedEvent payload
"reconnected" ->
JD.succeed <| ReconnectedEvent payload
"nothing" ->
JD.succeed NoEvent
_ ->
JD.succeed <| UnknownEvent event
)
| true | ----------------------------------------------------------------------
--
-- WebSocket.elm
-- An Elm client for the WebSocket API of the Mastodon social networking system.
-- Copyright (c) 2019 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
-- Some rights reserved.
-- Distributed under the MIT License
-- See LICENSE
--
----------------------------------------------------------------------
module Mastodon.WebSocket exposing
( StreamType(..), Event(..)
, streamUrl, open, close, decodeEvent, eventDecoder
)
{-| The WebSocket API for the Mastodon Social Network.
# Types
@docs StreamType, Event
# Functions
@docs streamUrl, open, close, decodeEvent, eventDecoder
-}
import Json.Decode as JD exposing (Decoder)
import Json.Encode as JE exposing (Value)
import Mastodon.EncodeDecode as ED
import Mastodon.Entity exposing (Notification, Status)
import Mastodon.PortFunnels exposing (State)
import PortFunnel.WebSocket
import Url.Builder as Builder exposing (QueryParameter)
{-| Stream types.
Use `streamingUrl` to convert one of these into a url string.
The `String` arg to `PublicHashtagStream` and `LocalHashtagStream` is a hashtag.
The `String` arg to `ListStream` is a list ID.
The `String` arg to `GroupStream` is a group ID.
Groups are currently supported only by the Gab server code.
-}
type StreamType
= UserStream
| PublicStream
| LocalStream
| ProStream
| PublicHashtagStream String
| LocalHashtagStream String
| ListStream String
| DirectStream
| GroupStream String
{-| Convert a streaming API (e.g. "rss://mastodon.social"), access token, and stream type into a URL for the WebSocket connection.
streamUrl streaming_api accessToken streamType
If `accessToken` is `Nothing`, will attempt to connect without authentication. This works for the following `StreamType`s: [TODO]
-}
streamUrl : String -> Maybe String -> StreamType -> String
streamUrl streaming_api accessToken streamType =
Builder.crossOrigin
streaming_api
[ "api", "v1", "streaming" ]
(streamTypeToQueryParameters accessToken streamType)
streamTypeToQueryParameters : Maybe String -> StreamType -> List QueryParameter
streamTypeToQueryParameters accessToken streamType =
List.concat
[ case accessToken of
Nothing ->
[]
Just token ->
let
bearer =
"Bearer "
tok =
if String.startsWith bearer token then
String.dropLeft (String.length bearer) token
else
token
in
[ Builder.string "access_token" tok ]
, case streamType of
UserStream ->
[ Builder.string "stream" "user" ]
PublicStream ->
[ Builder.string "stream" "public" ]
LocalStream ->
[ Builder.string "stream" "public:local" ]
ProStream ->
[ Builder.string "stream" "pro" ]
PublicHashtagStream hashtag ->
[ Builder.string "stream" "hashtag"
, Builder.string "tag" hashtag
]
LocalHashtagStream hashtag ->
[ Builder.string "stream" "hashtag:local"
, Builder.string "tag" hashtag
]
ListStream id ->
[ Builder.string "stream" "list"
, Builder.string "list" id
]
DirectStream ->
[ Builder.string "stream" "direct" ]
GroupStream id ->
[ Builder.string "stream" "group"
, Builder.string "group" id
]
]
{-| Open a WebSocket connection.
open state key url
`state` is initially the result of `WebSocket.PortFunnels.initialState`.
`key` is a unique key string.
`url` is the result of a call to `streamUrl`.
-}
open : State msg -> String -> String -> Cmd msg
open state key url =
PortFunnel.WebSocket.makeOpenWithKey key url
|> PortFunnel.WebSocket.send state.cmdPort
{-| Close a socket opened with `open`.
close state key
-}
close : State msg -> String -> Cmd msg
close state key =
PortFunnel.WebSocket.makeClose key
|> PortFunnel.WebSocket.send state.cmdPort
{-| An event received over the websocket.
`NoEvent`, `UpdateEvent`, `NotificationEvent`, `DeleteEvent`, and
`FiltersChangedEvent` come over the wire as specified at
<https://docs.joinmastodon.org/api/streaming>.
`ConnectedEvent` is delivered as soon as the initial connection is made, right
after your send a `PortFunnels.WebSocket.makeOpen` message over the socket.
`ReconnectedEvent` is delivered if the connection is lost and auto-reconnected.
`ClosedEvent` is delivered if the reconnection fails, or you explicitly send
a `PortFunnels.WebSocket.makeClose` message.
-}
type Event
= NoEvent
| UpdateEvent Status
| NotificationEvent Notification
| DeleteEvent String
| FiltersChangedEvent
-- The string is the description from `PortFunnel.WebSocket.ConnectedResponse`
-- or `PortFunnel.WebSocket.ReconnectedResponse`.
| ConnectedEvent String
| ReconnectedEvent String
-- A message that can't be decoded
| UnknownEvent String
-- When the socket connection is closed
| ClosedEvent String
{-| Decode a string from the WebSocket stream.
-}
decodeEvent : String -> Result JD.Error Event
decodeEvent string =
if "" == string || ":" == String.left 1 string then
Ok NoEvent
else
JD.decodeString eventDecoder string
{-| The JSON decoder for a non-colon event.
You'll usually use `decodeEvent` on the string that comes over the WebSocket."
-}
eventDecoder : Decoder Event
eventDecoder =
JD.value
|> JD.andThen
(\value ->
case JD.decodeValue (JD.field "event" JD.string) value of
Err err ->
JD.fail "Can't decode event string"
Ok event ->
case JD.decodeValue (JD.field "payload" JD.string) value of
Err _ ->
JD.fail "Non-string or missing payload"
Ok payload ->
case event of
"update" ->
case
JD.decodeString
(ED.statusDecoder
|> JD.andThen
(\status ->
JD.succeed <|
UpdateEvent status
)
)
payload
of
Ok x ->
JD.succeed x
Err err ->
JD.fail <| JD.errorToString err
"notification" ->
case
JD.decodeString
(ED.notificationDecoder
|> JD.andThen
(\notification ->
JD.succeed <|
NotificationEvent
notification
)
)
payload
of
Ok x ->
JD.succeed x
Err err ->
JD.fail <| JD.errorToString err
"delete" ->
JD.succeed <| DeleteEvent payload
"filters_changed" ->
JD.succeed FiltersChangedEvent
"connected" ->
JD.succeed <| ConnectedEvent payload
"reconnected" ->
JD.succeed <| ReconnectedEvent payload
"nothing" ->
JD.succeed NoEvent
_ ->
JD.succeed <| UnknownEvent event
)
| elm |
[
{
"context": " Int Animal String\n animals =\n [ (Cat, \"Tom\"), (Mouse, \"Jerry\") ]\n |> fromList ani",
"end": 5033,
"score": 0.9946482182,
"start": 5030,
"tag": "NAME",
"value": "Tom"
},
{
"context": "ng\n animals =\n [ (Cat, \"Tom\"), (Mouse, \"Jerry\") ]\n |> fromList animalToInt\n\n get ",
"end": 5051,
"score": 0.9983315468,
"start": 5046,
"tag": "NAME",
"value": "Jerry"
},
{
"context": "ist animalToInt\n\n get Cat animals\n -> Just \"Tom\"\n\n get Mouse animals\n --> Just \"Jerry\"\n\n ",
"end": 5129,
"score": 0.9961722493,
"start": 5126,
"tag": "NAME",
"value": "Tom"
},
{
"context": "> Just \"Tom\"\n\n get Mouse animals\n --> Just \"Jerry\"\n\n get Dog animals\n --> Nothing\n\n-}\nget : k",
"end": 5173,
"score": 0.9969594479,
"start": 5168,
"tag": "NAME",
"value": "Jerry"
}
] | src/Dict/Any.elm | bluedogtraining/any-dict | 1 | module Dict.Any
exposing
( AnyDict
, diff
, empty
, filter
, foldl
, foldr
, fromList
, get
, insert
, intersect
, isEmpty
, keys
, map
, member
, merge
, partition
, remove
, singleton
, size
, toDict
, toList
, union
, update
, values
)
{-| A dictionary mapping unique keys to values.
Similar and based on Dict but without restriction on comparable keys.
Insert, remove, and query operations all take O(log n) time.
# Converting Types to Comparable
When writing a function for conversion from the type you want to use for keys to comparable
it's very important to make sure every distinct member of type k produces different value in set o of comparables.
Take for instance those two examples:
We can use Bool as a key for our Dict (No matter how unpractical it might seem)
boolToInt : Bool -> Int
boolToInt bool =
case bool of
False -> 0
True -> 1
empty boolToInt
|> insert True "foo"
|> get True
--> Just "foo"
or Maybe String.
comparableKey : Maybe String -> (Int, String)
comparableKey maybe =
case maybe of
Nothing -> (0, "")
Just str -> (1, str)
empty comparableKey
|> insert (Just "foo") 42
|> get (Just "foo")
--> Just 42
Note that we give Int code to either constructor and in Case of Nothing we default to `""` (empty string).
There is still a difference between `Nothing` and `Just ""` (`Int` value in the pair is different).
In fact, you can "hardcode" any value as the second member of the pair
in case of nothing but empty string seems like a reasonable option for this case.
Generally, this is how I would implement `toComparable` function for most of your custom data types.
Have a look at the longest constructor,
Define tuple where the first key is int (number of the constructor)
and other are types within the constructor and you're good to go.
# Dictionaries
@docs AnyDict
# Build
@docs empty, singleton, insert, update, remove
# Query
@docs isEmpty, member, get, size
# Lists
@docs keys, values, toList, fromList
# Transform
@docs map, foldl, foldr, filter, partition
# Combine
@docs union, intersect, diff, merge
# Dict
@docs toDict
-}
import Dict exposing (Dict)
{-| -}
type AnyDict comparable k v
= AnyDict
{ dict : Dict comparable ( k, v )
, toKey : k -> comparable
}
-- Build
{-| Create an empty dictionary by suppling function used for comparing keys.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
empty : (k -> comparable) -> AnyDict comparable k v
empty toKey =
AnyDict
{ dict = Dict.empty
, toKey = toKey
}
{-| Create a dictionary with one key-value pair.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
singleton : k -> v -> (k -> comparable) -> AnyDict comparable k v
singleton k v f =
empty f
|> insert k v
{-| Insert a key-value pair into a dictionary. Replaces value when there is a collision.
-}
insert : k -> v -> AnyDict comparable k v -> AnyDict comparable k v
insert k v (AnyDict inner) =
AnyDict { inner | dict = Dict.insert (inner.toKey k) ( k, v ) inner.dict }
{-| Update the value of a dictionary for a specific key with a given function.
-}
update : k -> (Maybe v -> Maybe v) -> AnyDict comparable k v -> AnyDict comparable k v
update k f (AnyDict inner) =
let
updateDict =
Maybe.map (\b -> ( k, b )) << f << Maybe.map Tuple.second
in
AnyDict { inner | dict = Dict.update (inner.toKey k) updateDict inner.dict }
{-| Remove a key-value pair from a dictionary.
If the key is not found, no changes are made.
-}
remove : k -> AnyDict comparable k v -> AnyDict comparable k v
remove k (AnyDict inner) =
AnyDict { inner | dict = Dict.remove (inner.toKey k) inner.dict }
-- Query
{-| Determine if a dictionary is empty.
isEmpty (empty identity)
--> True
singleton 1 "foo" identity
|> isEmpty
--> False
-}
isEmpty : AnyDict comparable k v -> Bool
isEmpty (AnyDict { dict }) =
Dict.isEmpty dict
{-| Determine if a key is in a dictionary.
-}
member : k -> AnyDict comparable k v -> Bool
member k (AnyDict { dict, toKey }) =
Dict.member (toKey k) dict
{-| Get the value associated with a key.
If the key is not found, return Nothing.
This is useful when you are not sure
if a key will be in the dictionary.
type Animal = Cat | Mouse | Dog
animalToInt : Animal -> Int
animalToInt animal =
case animal of
Cat -> 0
Mouse -> 1
Dog -> 2
animals : AnyDict Int Animal String
animals =
[ (Cat, "Tom"), (Mouse, "Jerry") ]
|> fromList animalToInt
get Cat animals
-> Just "Tom"
get Mouse animals
--> Just "Jerry"
get Dog animals
--> Nothing
-}
get : k -> AnyDict comparable k v -> Maybe v
get k (AnyDict { dict, toKey }) =
Dict.get (toKey k) dict
|> Maybe.map Tuple.second
{-| Determine the number of key-value pairs in the dictionary.
-}
size : AnyDict comparable k v -> Int
size (AnyDict { dict }) =
Dict.size dict
-- List
{-| Get all of the keys in a dictionary, sorted from lowest to highest.
-}
keys : AnyDict comparable k v -> List k
keys =
List.map Tuple.first << toList
{-| Get all of the values in a dictionary, in the order of their keys.
-}
values : AnyDict comparable k v -> List v
values =
List.map Tuple.second << toList
{-| Convert a dictionary into an association list of key-value pairs,
sorted by keys.
-}
toList : AnyDict comparable k v -> List ( k, v )
toList (AnyDict { dict }) =
Dict.values dict
{-| Convert an association list into a dictionary.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
fromList : (k -> comparable) -> List ( k, v ) -> AnyDict comparable k v
fromList f xs =
AnyDict
{ toKey = f
, dict = Dict.fromList <| List.map (\( k, v ) -> ( f k, ( k, v ) )) xs
}
-- Transform
{-| Apply a function to all values in a dictionary.
-}
map : (a -> b -> c) -> AnyDict comparable a b -> AnyDict comparable a c
map f (AnyDict { dict, toKey }) =
AnyDict
{ dict = Dict.map (\_ ( k, v ) -> ( k, f k v )) dict
, toKey = toKey
}
{-| Fold over the key-value pairs in a dictionary, in order from lowest key to highest key.
-}
foldl : (k -> v -> b -> b) -> b -> AnyDict comparable k v -> b
foldl f acc (AnyDict { dict }) =
Dict.foldl (\_ ( k, v ) -> f k v) acc dict
{-| Fold over the key-value pairs in a dictionary, in order from highest key to lowest key.
-}
foldr : (k -> v -> b -> b) -> b -> AnyDict comparable k v -> b
foldr f acc (AnyDict { dict }) =
Dict.foldr (\_ ( k, v ) -> f k v) acc dict
{-| Keep a key-value pair when it satisfies a predicate.
-}
filter : (k -> v -> Bool) -> AnyDict comparable k v -> AnyDict comparable k v
filter f (AnyDict inner) =
AnyDict { inner | dict = Dict.filter (\_ ( k, v ) -> f k v) inner.dict }
{-| Partition a dictionary according to a predicate.
The first dictionary contains all key-value pairs which satisfy the predicate,
and the second contains the rest.
-}
partition : (k -> v -> Bool) -> AnyDict comparable k v -> ( AnyDict comparable k v, AnyDict comparable k v )
partition f (AnyDict inner) =
let
( left, right ) =
Dict.partition (\_ ( k, v ) -> f k v) inner.dict
in
( AnyDict { inner | dict = left }
, AnyDict { inner | dict = right }
)
-- Combine
{-| Combine two dictionaries. If there is a collision, preference is given to the first dictionary.
-}
union : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
union (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.union inner.dict dict }
{-| Keep a key-value pair when its key appears in the second dictionary.
Preference is given to values in the first dictionary.
-}
intersect : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
intersect (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.intersect inner.dict dict }
{-| Keep a key-value pair when its key does not appear in the second dictionary.
-}
diff : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
diff (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.diff inner.dict dict }
{-| The most general way of combining two dictionaries.
You provide three accumulators for when a given key appears:
1. Only in the left dictionary.
2. In both dictionaries.
3. Only in the right dictionary.
Only in the left dictionary.
In both dictionaries.
Only in the right dictionary.
-}
merge :
(k -> a -> result -> result)
-> (k -> a -> b -> result -> result)
-> (k -> b -> result -> result)
-> AnyDict comparable k a
-> AnyDict comparable k b
-> result
-> result
merge f g h (AnyDict inner) (AnyDict { dict }) =
let
l fc _ ( k, v ) =
fc k v
in
Dict.merge (l f) (\_ ( k, a ) ( _, b ) -> g k a b) (l h) inner.dict dict
-- Dict
{-| Convert `AnyDict` to plain dictionary with comparable keys.
-}
toDict : AnyDict comparable k v -> Dict comparable v
toDict (AnyDict { dict }) =
Dict.map (always Tuple.second) dict
| 5240 | module Dict.Any
exposing
( AnyDict
, diff
, empty
, filter
, foldl
, foldr
, fromList
, get
, insert
, intersect
, isEmpty
, keys
, map
, member
, merge
, partition
, remove
, singleton
, size
, toDict
, toList
, union
, update
, values
)
{-| A dictionary mapping unique keys to values.
Similar and based on Dict but without restriction on comparable keys.
Insert, remove, and query operations all take O(log n) time.
# Converting Types to Comparable
When writing a function for conversion from the type you want to use for keys to comparable
it's very important to make sure every distinct member of type k produces different value in set o of comparables.
Take for instance those two examples:
We can use Bool as a key for our Dict (No matter how unpractical it might seem)
boolToInt : Bool -> Int
boolToInt bool =
case bool of
False -> 0
True -> 1
empty boolToInt
|> insert True "foo"
|> get True
--> Just "foo"
or Maybe String.
comparableKey : Maybe String -> (Int, String)
comparableKey maybe =
case maybe of
Nothing -> (0, "")
Just str -> (1, str)
empty comparableKey
|> insert (Just "foo") 42
|> get (Just "foo")
--> Just 42
Note that we give Int code to either constructor and in Case of Nothing we default to `""` (empty string).
There is still a difference between `Nothing` and `Just ""` (`Int` value in the pair is different).
In fact, you can "hardcode" any value as the second member of the pair
in case of nothing but empty string seems like a reasonable option for this case.
Generally, this is how I would implement `toComparable` function for most of your custom data types.
Have a look at the longest constructor,
Define tuple where the first key is int (number of the constructor)
and other are types within the constructor and you're good to go.
# Dictionaries
@docs AnyDict
# Build
@docs empty, singleton, insert, update, remove
# Query
@docs isEmpty, member, get, size
# Lists
@docs keys, values, toList, fromList
# Transform
@docs map, foldl, foldr, filter, partition
# Combine
@docs union, intersect, diff, merge
# Dict
@docs toDict
-}
import Dict exposing (Dict)
{-| -}
type AnyDict comparable k v
= AnyDict
{ dict : Dict comparable ( k, v )
, toKey : k -> comparable
}
-- Build
{-| Create an empty dictionary by suppling function used for comparing keys.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
empty : (k -> comparable) -> AnyDict comparable k v
empty toKey =
AnyDict
{ dict = Dict.empty
, toKey = toKey
}
{-| Create a dictionary with one key-value pair.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
singleton : k -> v -> (k -> comparable) -> AnyDict comparable k v
singleton k v f =
empty f
|> insert k v
{-| Insert a key-value pair into a dictionary. Replaces value when there is a collision.
-}
insert : k -> v -> AnyDict comparable k v -> AnyDict comparable k v
insert k v (AnyDict inner) =
AnyDict { inner | dict = Dict.insert (inner.toKey k) ( k, v ) inner.dict }
{-| Update the value of a dictionary for a specific key with a given function.
-}
update : k -> (Maybe v -> Maybe v) -> AnyDict comparable k v -> AnyDict comparable k v
update k f (AnyDict inner) =
let
updateDict =
Maybe.map (\b -> ( k, b )) << f << Maybe.map Tuple.second
in
AnyDict { inner | dict = Dict.update (inner.toKey k) updateDict inner.dict }
{-| Remove a key-value pair from a dictionary.
If the key is not found, no changes are made.
-}
remove : k -> AnyDict comparable k v -> AnyDict comparable k v
remove k (AnyDict inner) =
AnyDict { inner | dict = Dict.remove (inner.toKey k) inner.dict }
-- Query
{-| Determine if a dictionary is empty.
isEmpty (empty identity)
--> True
singleton 1 "foo" identity
|> isEmpty
--> False
-}
isEmpty : AnyDict comparable k v -> Bool
isEmpty (AnyDict { dict }) =
Dict.isEmpty dict
{-| Determine if a key is in a dictionary.
-}
member : k -> AnyDict comparable k v -> Bool
member k (AnyDict { dict, toKey }) =
Dict.member (toKey k) dict
{-| Get the value associated with a key.
If the key is not found, return Nothing.
This is useful when you are not sure
if a key will be in the dictionary.
type Animal = Cat | Mouse | Dog
animalToInt : Animal -> Int
animalToInt animal =
case animal of
Cat -> 0
Mouse -> 1
Dog -> 2
animals : AnyDict Int Animal String
animals =
[ (Cat, "<NAME>"), (Mouse, "<NAME>") ]
|> fromList animalToInt
get Cat animals
-> Just "<NAME>"
get Mouse animals
--> Just "<NAME>"
get Dog animals
--> Nothing
-}
get : k -> AnyDict comparable k v -> Maybe v
get k (AnyDict { dict, toKey }) =
Dict.get (toKey k) dict
|> Maybe.map Tuple.second
{-| Determine the number of key-value pairs in the dictionary.
-}
size : AnyDict comparable k v -> Int
size (AnyDict { dict }) =
Dict.size dict
-- List
{-| Get all of the keys in a dictionary, sorted from lowest to highest.
-}
keys : AnyDict comparable k v -> List k
keys =
List.map Tuple.first << toList
{-| Get all of the values in a dictionary, in the order of their keys.
-}
values : AnyDict comparable k v -> List v
values =
List.map Tuple.second << toList
{-| Convert a dictionary into an association list of key-value pairs,
sorted by keys.
-}
toList : AnyDict comparable k v -> List ( k, v )
toList (AnyDict { dict }) =
Dict.values dict
{-| Convert an association list into a dictionary.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
fromList : (k -> comparable) -> List ( k, v ) -> AnyDict comparable k v
fromList f xs =
AnyDict
{ toKey = f
, dict = Dict.fromList <| List.map (\( k, v ) -> ( f k, ( k, v ) )) xs
}
-- Transform
{-| Apply a function to all values in a dictionary.
-}
map : (a -> b -> c) -> AnyDict comparable a b -> AnyDict comparable a c
map f (AnyDict { dict, toKey }) =
AnyDict
{ dict = Dict.map (\_ ( k, v ) -> ( k, f k v )) dict
, toKey = toKey
}
{-| Fold over the key-value pairs in a dictionary, in order from lowest key to highest key.
-}
foldl : (k -> v -> b -> b) -> b -> AnyDict comparable k v -> b
foldl f acc (AnyDict { dict }) =
Dict.foldl (\_ ( k, v ) -> f k v) acc dict
{-| Fold over the key-value pairs in a dictionary, in order from highest key to lowest key.
-}
foldr : (k -> v -> b -> b) -> b -> AnyDict comparable k v -> b
foldr f acc (AnyDict { dict }) =
Dict.foldr (\_ ( k, v ) -> f k v) acc dict
{-| Keep a key-value pair when it satisfies a predicate.
-}
filter : (k -> v -> Bool) -> AnyDict comparable k v -> AnyDict comparable k v
filter f (AnyDict inner) =
AnyDict { inner | dict = Dict.filter (\_ ( k, v ) -> f k v) inner.dict }
{-| Partition a dictionary according to a predicate.
The first dictionary contains all key-value pairs which satisfy the predicate,
and the second contains the rest.
-}
partition : (k -> v -> Bool) -> AnyDict comparable k v -> ( AnyDict comparable k v, AnyDict comparable k v )
partition f (AnyDict inner) =
let
( left, right ) =
Dict.partition (\_ ( k, v ) -> f k v) inner.dict
in
( AnyDict { inner | dict = left }
, AnyDict { inner | dict = right }
)
-- Combine
{-| Combine two dictionaries. If there is a collision, preference is given to the first dictionary.
-}
union : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
union (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.union inner.dict dict }
{-| Keep a key-value pair when its key appears in the second dictionary.
Preference is given to values in the first dictionary.
-}
intersect : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
intersect (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.intersect inner.dict dict }
{-| Keep a key-value pair when its key does not appear in the second dictionary.
-}
diff : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
diff (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.diff inner.dict dict }
{-| The most general way of combining two dictionaries.
You provide three accumulators for when a given key appears:
1. Only in the left dictionary.
2. In both dictionaries.
3. Only in the right dictionary.
Only in the left dictionary.
In both dictionaries.
Only in the right dictionary.
-}
merge :
(k -> a -> result -> result)
-> (k -> a -> b -> result -> result)
-> (k -> b -> result -> result)
-> AnyDict comparable k a
-> AnyDict comparable k b
-> result
-> result
merge f g h (AnyDict inner) (AnyDict { dict }) =
let
l fc _ ( k, v ) =
fc k v
in
Dict.merge (l f) (\_ ( k, a ) ( _, b ) -> g k a b) (l h) inner.dict dict
-- Dict
{-| Convert `AnyDict` to plain dictionary with comparable keys.
-}
toDict : AnyDict comparable k v -> Dict comparable v
toDict (AnyDict { dict }) =
Dict.map (always Tuple.second) dict
| true | module Dict.Any
exposing
( AnyDict
, diff
, empty
, filter
, foldl
, foldr
, fromList
, get
, insert
, intersect
, isEmpty
, keys
, map
, member
, merge
, partition
, remove
, singleton
, size
, toDict
, toList
, union
, update
, values
)
{-| A dictionary mapping unique keys to values.
Similar and based on Dict but without restriction on comparable keys.
Insert, remove, and query operations all take O(log n) time.
# Converting Types to Comparable
When writing a function for conversion from the type you want to use for keys to comparable
it's very important to make sure every distinct member of type k produces different value in set o of comparables.
Take for instance those two examples:
We can use Bool as a key for our Dict (No matter how unpractical it might seem)
boolToInt : Bool -> Int
boolToInt bool =
case bool of
False -> 0
True -> 1
empty boolToInt
|> insert True "foo"
|> get True
--> Just "foo"
or Maybe String.
comparableKey : Maybe String -> (Int, String)
comparableKey maybe =
case maybe of
Nothing -> (0, "")
Just str -> (1, str)
empty comparableKey
|> insert (Just "foo") 42
|> get (Just "foo")
--> Just 42
Note that we give Int code to either constructor and in Case of Nothing we default to `""` (empty string).
There is still a difference between `Nothing` and `Just ""` (`Int` value in the pair is different).
In fact, you can "hardcode" any value as the second member of the pair
in case of nothing but empty string seems like a reasonable option for this case.
Generally, this is how I would implement `toComparable` function for most of your custom data types.
Have a look at the longest constructor,
Define tuple where the first key is int (number of the constructor)
and other are types within the constructor and you're good to go.
# Dictionaries
@docs AnyDict
# Build
@docs empty, singleton, insert, update, remove
# Query
@docs isEmpty, member, get, size
# Lists
@docs keys, values, toList, fromList
# Transform
@docs map, foldl, foldr, filter, partition
# Combine
@docs union, intersect, diff, merge
# Dict
@docs toDict
-}
import Dict exposing (Dict)
{-| -}
type AnyDict comparable k v
= AnyDict
{ dict : Dict comparable ( k, v )
, toKey : k -> comparable
}
-- Build
{-| Create an empty dictionary by suppling function used for comparing keys.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
empty : (k -> comparable) -> AnyDict comparable k v
empty toKey =
AnyDict
{ dict = Dict.empty
, toKey = toKey
}
{-| Create a dictionary with one key-value pair.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
singleton : k -> v -> (k -> comparable) -> AnyDict comparable k v
singleton k v f =
empty f
|> insert k v
{-| Insert a key-value pair into a dictionary. Replaces value when there is a collision.
-}
insert : k -> v -> AnyDict comparable k v -> AnyDict comparable k v
insert k v (AnyDict inner) =
AnyDict { inner | dict = Dict.insert (inner.toKey k) ( k, v ) inner.dict }
{-| Update the value of a dictionary for a specific key with a given function.
-}
update : k -> (Maybe v -> Maybe v) -> AnyDict comparable k v -> AnyDict comparable k v
update k f (AnyDict inner) =
let
updateDict =
Maybe.map (\b -> ( k, b )) << f << Maybe.map Tuple.second
in
AnyDict { inner | dict = Dict.update (inner.toKey k) updateDict inner.dict }
{-| Remove a key-value pair from a dictionary.
If the key is not found, no changes are made.
-}
remove : k -> AnyDict comparable k v -> AnyDict comparable k v
remove k (AnyDict inner) =
AnyDict { inner | dict = Dict.remove (inner.toKey k) inner.dict }
-- Query
{-| Determine if a dictionary is empty.
isEmpty (empty identity)
--> True
singleton 1 "foo" identity
|> isEmpty
--> False
-}
isEmpty : AnyDict comparable k v -> Bool
isEmpty (AnyDict { dict }) =
Dict.isEmpty dict
{-| Determine if a key is in a dictionary.
-}
member : k -> AnyDict comparable k v -> Bool
member k (AnyDict { dict, toKey }) =
Dict.member (toKey k) dict
{-| Get the value associated with a key.
If the key is not found, return Nothing.
This is useful when you are not sure
if a key will be in the dictionary.
type Animal = Cat | Mouse | Dog
animalToInt : Animal -> Int
animalToInt animal =
case animal of
Cat -> 0
Mouse -> 1
Dog -> 2
animals : AnyDict Int Animal String
animals =
[ (Cat, "PI:NAME:<NAME>END_PI"), (Mouse, "PI:NAME:<NAME>END_PI") ]
|> fromList animalToInt
get Cat animals
-> Just "PI:NAME:<NAME>END_PI"
get Mouse animals
--> Just "PI:NAME:<NAME>END_PI"
get Dog animals
--> Nothing
-}
get : k -> AnyDict comparable k v -> Maybe v
get k (AnyDict { dict, toKey }) =
Dict.get (toKey k) dict
|> Maybe.map Tuple.second
{-| Determine the number of key-value pairs in the dictionary.
-}
size : AnyDict comparable k v -> Int
size (AnyDict { dict }) =
Dict.size dict
-- List
{-| Get all of the keys in a dictionary, sorted from lowest to highest.
-}
keys : AnyDict comparable k v -> List k
keys =
List.map Tuple.first << toList
{-| Get all of the values in a dictionary, in the order of their keys.
-}
values : AnyDict comparable k v -> List v
values =
List.map Tuple.second << toList
{-| Convert a dictionary into an association list of key-value pairs,
sorted by keys.
-}
toList : AnyDict comparable k v -> List ( k, v )
toList (AnyDict { dict }) =
Dict.values dict
{-| Convert an association list into a dictionary.
** Note that it's important to make sure every key is turned to different comparable.
Otherwise keys would conflict and overwrite each other.**
-}
fromList : (k -> comparable) -> List ( k, v ) -> AnyDict comparable k v
fromList f xs =
AnyDict
{ toKey = f
, dict = Dict.fromList <| List.map (\( k, v ) -> ( f k, ( k, v ) )) xs
}
-- Transform
{-| Apply a function to all values in a dictionary.
-}
map : (a -> b -> c) -> AnyDict comparable a b -> AnyDict comparable a c
map f (AnyDict { dict, toKey }) =
AnyDict
{ dict = Dict.map (\_ ( k, v ) -> ( k, f k v )) dict
, toKey = toKey
}
{-| Fold over the key-value pairs in a dictionary, in order from lowest key to highest key.
-}
foldl : (k -> v -> b -> b) -> b -> AnyDict comparable k v -> b
foldl f acc (AnyDict { dict }) =
Dict.foldl (\_ ( k, v ) -> f k v) acc dict
{-| Fold over the key-value pairs in a dictionary, in order from highest key to lowest key.
-}
foldr : (k -> v -> b -> b) -> b -> AnyDict comparable k v -> b
foldr f acc (AnyDict { dict }) =
Dict.foldr (\_ ( k, v ) -> f k v) acc dict
{-| Keep a key-value pair when it satisfies a predicate.
-}
filter : (k -> v -> Bool) -> AnyDict comparable k v -> AnyDict comparable k v
filter f (AnyDict inner) =
AnyDict { inner | dict = Dict.filter (\_ ( k, v ) -> f k v) inner.dict }
{-| Partition a dictionary according to a predicate.
The first dictionary contains all key-value pairs which satisfy the predicate,
and the second contains the rest.
-}
partition : (k -> v -> Bool) -> AnyDict comparable k v -> ( AnyDict comparable k v, AnyDict comparable k v )
partition f (AnyDict inner) =
let
( left, right ) =
Dict.partition (\_ ( k, v ) -> f k v) inner.dict
in
( AnyDict { inner | dict = left }
, AnyDict { inner | dict = right }
)
-- Combine
{-| Combine two dictionaries. If there is a collision, preference is given to the first dictionary.
-}
union : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
union (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.union inner.dict dict }
{-| Keep a key-value pair when its key appears in the second dictionary.
Preference is given to values in the first dictionary.
-}
intersect : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
intersect (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.intersect inner.dict dict }
{-| Keep a key-value pair when its key does not appear in the second dictionary.
-}
diff : AnyDict comparable k v -> AnyDict comparable k v -> AnyDict comparable k v
diff (AnyDict inner) (AnyDict { dict }) =
AnyDict { inner | dict = Dict.diff inner.dict dict }
{-| The most general way of combining two dictionaries.
You provide three accumulators for when a given key appears:
1. Only in the left dictionary.
2. In both dictionaries.
3. Only in the right dictionary.
Only in the left dictionary.
In both dictionaries.
Only in the right dictionary.
-}
merge :
(k -> a -> result -> result)
-> (k -> a -> b -> result -> result)
-> (k -> b -> result -> result)
-> AnyDict comparable k a
-> AnyDict comparable k b
-> result
-> result
merge f g h (AnyDict inner) (AnyDict { dict }) =
let
l fc _ ( k, v ) =
fc k v
in
Dict.merge (l f) (\_ ( k, a ) ( _, b ) -> g k a b) (l h) inner.dict dict
-- Dict
{-| Convert `AnyDict` to plain dictionary with comparable keys.
-}
toDict : AnyDict comparable k v -> Dict comparable v
toDict (AnyDict { dict }) =
Dict.map (always Tuple.second) dict
| elm |
[
{
"context": " link\n { url = \"https://github.com/dillonkearns/elm-graphql\"\n , content = \"dillonk",
"end": 3725,
"score": 0.999371469,
"start": 3713,
"tag": "USERNAME",
"value": "dillonkearns"
},
{
"context": " link\n { url = \"https://github.com/dillonkearns/elm-graphql/tree/master/examples/src/subscription",
"end": 3963,
"score": 0.9996823668,
"start": 3951,
"tag": "USERNAME",
"value": "dillonkearns"
},
{
"context": "s.Id, String )\ncharacters =\n [ character 1000 \"Luke\"\n , character 1001 \"Vader\"\n , character 100",
"end": 4822,
"score": 0.9990344048,
"start": 4818,
"tag": "NAME",
"value": "Luke"
},
{
"context": " [ character 1000 \"Luke\"\n , character 1001 \"Vader\"\n , character 1002 \"Han\"\n , character 1003 ",
"end": 4851,
"score": 0.9993338585,
"start": 4846,
"tag": "NAME",
"value": "Vader"
},
{
"context": " , character 1001 \"Vader\"\n , character 1002 \"Han\"\n , character 1003 \"Leia\"\n , character 1004",
"end": 4878,
"score": 0.997269392,
"start": 4875,
"tag": "NAME",
"value": "Han"
},
{
"context": "\n , character 1002 \"Han\"\n , character 1003 \"Leia\"\n , character 1004 \"Tarkin\"\n , character 20",
"end": 4906,
"score": 0.9986689091,
"start": 4902,
"tag": "NAME",
"value": "Leia"
},
{
"context": " , character 1003 \"Leia\"\n , character 1004 \"Tarkin\"\n , character 2000 \"Threepio\"\n , character ",
"end": 4936,
"score": 0.9990285039,
"start": 4930,
"tag": "NAME",
"value": "Tarkin"
},
{
"context": " , character 1004 \"Tarkin\"\n , character 2000 \"Threepio\"\n , character 2001 \"Artoo\"\n ]\n\n\ncharacter i",
"end": 4968,
"score": 0.9991841912,
"start": 4960,
"tag": "NAME",
"value": "Threepio"
},
{
"context": ", character 2000 \"Threepio\"\n , character 2001 \"Artoo\"\n ]\n\n\ncharacter id name =\n ( CustomScalarCo",
"end": 4997,
"score": 0.9993999004,
"start": 4992,
"tag": "NAME",
"value": "Artoo"
}
] | examples/subscription/Main.elm | nadinda/elm-graphql | 625 | port module Main exposing (main)
import Browser
import CustomScalarCodecs
import Graphql.Document
import Graphql.Http
import Graphql.Operation exposing (RootSubscription)
import Graphql.SelectionSet as SelectionSet exposing (SelectionSet, with)
import Html exposing (Html, button, div, fieldset, h1, img, input, label, li, p, pre, text, ul)
import Html.Attributes exposing (href, name, src, style, target, type_)
import Html.Events exposing (onClick)
import Json.Decode
import Swapi.Enum.Phrase as Phrase exposing (Phrase)
import Swapi.Interface
import Swapi.Interface.Character
import Swapi.Mutation as Mutation
import Swapi.Object
import Swapi.Object.ChatMessage
import Swapi.Scalar
import Swapi.Subscription as Subscription
sendChatMessage : CustomScalarCodecs.Id -> Phrase -> SelectionSet () Graphql.Operation.RootMutation
sendChatMessage characterId phrase =
Mutation.sendMessage { characterId = characterId, phrase = phrase } SelectionSet.empty
|> SelectionSet.map (\_ -> ())
subscriptionDocument : SelectionSet ChatMessage RootSubscription
subscriptionDocument =
Subscription.newMessage chatMessageSelection
type alias ChatMessage =
{ phrase : Phrase
, character : Maybe Character
}
chatMessageSelection : SelectionSet ChatMessage Swapi.Object.ChatMessage
chatMessageSelection =
SelectionSet.succeed ChatMessage
|> with Swapi.Object.ChatMessage.phrase
|> with (Swapi.Object.ChatMessage.character characterSelection)
type alias Character =
{ name : String
, avatarUrl : String
}
characterSelection : SelectionSet Character Swapi.Interface.Character
characterSelection =
SelectionSet.succeed Character
|> with Swapi.Interface.Character.name
|> with Swapi.Interface.Character.avatarUrl
type alias Model =
{ data : List ChatMessage
, characterId : CustomScalarCodecs.Id
, subscriptionStatus : SubscriptionStatus
}
type Msg
= SendMessage Phrase
| SubscriptionDataReceived Json.Decode.Value
| SentMessage (Result (Graphql.Http.Error ()) ())
-- | SubscriptionStatusChanged Graphql.Subscription.Status
| ChangeCharacter CustomScalarCodecs.Id
| NewSubscriptionStatus SubscriptionStatus ()
init : () -> ( Model, Cmd Msg )
init flags =
-- let
-- ( graphqlSubscriptionModel, graphqlSubscriptionCmd ) =
-- Graphql.Subscription.init Protocol.phoenixAbsinthe socketUrl subscriptionDocument SubscriptionDataReceived
-- in
( { data = []
-- , subscriptionStatus = Graphql.Subscription.Uninitialized
-- , graphqlSubscriptionModel =
-- graphqlSubscriptionModel
-- |> Graphql.Subscription.onStatusChanged SubscriptionStatusChanged
, characterId = CustomScalarCodecs.Id 1001
, subscriptionStatus = NotConnected
}
, createSubscriptions (subscriptionDocument |> Graphql.Document.serializeSubscription)
)
port createSubscriptions : String -> Cmd msg
view : Model -> Html.Html Msg
view model =
case model.subscriptionStatus of
NotConnected ->
div []
[ headingView
, text "Connecting..."
]
Reconnecting ->
div []
[ headingView
, text "Reconnecting..."
, chatMessagesView model.data
]
Connected ->
div []
[ headingView
, characterRadioButtons
, messageButtons
, chatMessagesView model.data
]
headingView =
div []
[ h1 []
[ text "Star Chat - "
, link
{ url = "https://github.com/dillonkearns/elm-graphql"
, content = "dillonkearns/elm-graphql"
}
, text " Subscriptions Demo"
]
, Html.h2 []
[ link
{ url = "https://github.com/dillonkearns/elm-graphql/tree/master/examples/src/subscription"
, content = "See the code on Github"
}
]
]
link { url, content } =
Html.a
[ href url, target "_blank" ]
[ text content ]
characterRadioButton : ( CustomScalarCodecs.Id, String ) -> Html.Html Msg
characterRadioButton ( characterId, characterName ) =
label []
[ input
[ type_ "radio", name "character", onClick (ChangeCharacter characterId) ]
[]
, text characterName
]
characterRadioButtons : Html Msg
characterRadioButtons =
fieldset [] (characters |> List.map characterRadioButton)
messageButtons : Html.Html Msg
messageButtons =
div [] (List.map messageButton Phrase.list)
characters : List ( CustomScalarCodecs.Id, String )
characters =
[ character 1000 "Luke"
, character 1001 "Vader"
, character 1002 "Han"
, character 1003 "Leia"
, character 1004 "Tarkin"
, character 2000 "Threepio"
, character 2001 "Artoo"
]
character id name =
( CustomScalarCodecs.Id id, name )
messageButton : Phrase -> Html.Html Msg
messageButton phrase =
button [ onClick (SendMessage phrase) ] [ phrase |> phraseToString |> text ]
chatMessagesView : List ChatMessage -> Html.Html msg
chatMessagesView model =
ul []
(model
|> List.map
(\chatMessage ->
let
characterName =
chatMessage.character |> Maybe.map .name |> Maybe.withDefault ""
avatar =
chatMessage.character |> Maybe.map .avatarUrl |> Maybe.withDefault ""
in
li []
[ img
[ style "width" "40px"
, style "padding-right" "5px"
, src avatar
]
[]
, (characterName ++ ": " ++ (chatMessage.phrase |> phraseToString)) |> text
]
)
)
phraseToString : Phrase -> String
phraseToString phrase =
case phrase of
Phrase.Faith ->
"I find your lack of faith disturbing."
Phrase.Father ->
"I am your father."
Phrase.Help ->
"Help me, Obi-Wan Kenobi. You're my only hope."
Phrase.TheForce ->
"May the Force be with you."
Phrase.Try ->
"Do, or do not, there is no try."
Phrase.BadFeeling ->
"I've got a bad feeling about this."
Phrase.Droids ->
"These aren't the droids you're looking for."
Phrase.Traitor ->
"You are a part of the Rebel Alliance and a traitor!"
Phrase.Trap ->
"It's a trap!"
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
-- GraphqlSubscriptionMsg graphqlSubscriptionMsg ->
-- let
-- ( newModel, cmd ) =
-- Graphql.Subscription.update graphqlSubscriptionMsg model.graphqlSubscriptionModel
-- in
-- ( { model | graphqlSubscriptionModel = newModel }, cmd )
--
SendMessage phrase ->
( model
, sendChatMessage model.characterId phrase
|> Graphql.Http.mutationRequest "https://elm-graphql.herokuapp.com/"
|> Graphql.Http.send SentMessage
)
SubscriptionDataReceived newData ->
case Json.Decode.decodeValue (subscriptionDocument |> Graphql.Document.decoder) newData of
Ok chatMessage ->
( { model | data = chatMessage :: model.data }, Cmd.none )
Err error ->
( model, Cmd.none )
SentMessage _ ->
( model, Cmd.none )
-- SubscriptionStatusChanged newStatus ->
-- ( { model | subscriptionStatus = newStatus }, Cmd.none )
ChangeCharacter characterId ->
( { model | characterId = characterId }, Cmd.none )
NewSubscriptionStatus newStatus () ->
( { model | subscriptionStatus = newStatus }, Cmd.none )
type SubscriptionStatus
= NotConnected
| Connected
| Reconnecting
subscriptions : Model -> Sub Msg
subscriptions model =
-- Graphql.Subscription.listen GraphqlSubscriptionMsg model.graphqlSubscriptionModel
Sub.batch
[ gotSubscriptionData SubscriptionDataReceived
, socketStatusConnected (NewSubscriptionStatus Connected)
, socketStatusReconnecting (NewSubscriptionStatus Reconnecting)
]
port gotSubscriptionData : (Json.Decode.Value -> msg) -> Sub msg
port socketStatusConnected : (() -> msg) -> Sub msg
port socketStatusReconnecting : (() -> msg) -> Sub msg
main : Program () Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
| 41647 | port module Main exposing (main)
import Browser
import CustomScalarCodecs
import Graphql.Document
import Graphql.Http
import Graphql.Operation exposing (RootSubscription)
import Graphql.SelectionSet as SelectionSet exposing (SelectionSet, with)
import Html exposing (Html, button, div, fieldset, h1, img, input, label, li, p, pre, text, ul)
import Html.Attributes exposing (href, name, src, style, target, type_)
import Html.Events exposing (onClick)
import Json.Decode
import Swapi.Enum.Phrase as Phrase exposing (Phrase)
import Swapi.Interface
import Swapi.Interface.Character
import Swapi.Mutation as Mutation
import Swapi.Object
import Swapi.Object.ChatMessage
import Swapi.Scalar
import Swapi.Subscription as Subscription
sendChatMessage : CustomScalarCodecs.Id -> Phrase -> SelectionSet () Graphql.Operation.RootMutation
sendChatMessage characterId phrase =
Mutation.sendMessage { characterId = characterId, phrase = phrase } SelectionSet.empty
|> SelectionSet.map (\_ -> ())
subscriptionDocument : SelectionSet ChatMessage RootSubscription
subscriptionDocument =
Subscription.newMessage chatMessageSelection
type alias ChatMessage =
{ phrase : Phrase
, character : Maybe Character
}
chatMessageSelection : SelectionSet ChatMessage Swapi.Object.ChatMessage
chatMessageSelection =
SelectionSet.succeed ChatMessage
|> with Swapi.Object.ChatMessage.phrase
|> with (Swapi.Object.ChatMessage.character characterSelection)
type alias Character =
{ name : String
, avatarUrl : String
}
characterSelection : SelectionSet Character Swapi.Interface.Character
characterSelection =
SelectionSet.succeed Character
|> with Swapi.Interface.Character.name
|> with Swapi.Interface.Character.avatarUrl
type alias Model =
{ data : List ChatMessage
, characterId : CustomScalarCodecs.Id
, subscriptionStatus : SubscriptionStatus
}
type Msg
= SendMessage Phrase
| SubscriptionDataReceived Json.Decode.Value
| SentMessage (Result (Graphql.Http.Error ()) ())
-- | SubscriptionStatusChanged Graphql.Subscription.Status
| ChangeCharacter CustomScalarCodecs.Id
| NewSubscriptionStatus SubscriptionStatus ()
init : () -> ( Model, Cmd Msg )
init flags =
-- let
-- ( graphqlSubscriptionModel, graphqlSubscriptionCmd ) =
-- Graphql.Subscription.init Protocol.phoenixAbsinthe socketUrl subscriptionDocument SubscriptionDataReceived
-- in
( { data = []
-- , subscriptionStatus = Graphql.Subscription.Uninitialized
-- , graphqlSubscriptionModel =
-- graphqlSubscriptionModel
-- |> Graphql.Subscription.onStatusChanged SubscriptionStatusChanged
, characterId = CustomScalarCodecs.Id 1001
, subscriptionStatus = NotConnected
}
, createSubscriptions (subscriptionDocument |> Graphql.Document.serializeSubscription)
)
port createSubscriptions : String -> Cmd msg
view : Model -> Html.Html Msg
view model =
case model.subscriptionStatus of
NotConnected ->
div []
[ headingView
, text "Connecting..."
]
Reconnecting ->
div []
[ headingView
, text "Reconnecting..."
, chatMessagesView model.data
]
Connected ->
div []
[ headingView
, characterRadioButtons
, messageButtons
, chatMessagesView model.data
]
headingView =
div []
[ h1 []
[ text "Star Chat - "
, link
{ url = "https://github.com/dillonkearns/elm-graphql"
, content = "dillonkearns/elm-graphql"
}
, text " Subscriptions Demo"
]
, Html.h2 []
[ link
{ url = "https://github.com/dillonkearns/elm-graphql/tree/master/examples/src/subscription"
, content = "See the code on Github"
}
]
]
link { url, content } =
Html.a
[ href url, target "_blank" ]
[ text content ]
characterRadioButton : ( CustomScalarCodecs.Id, String ) -> Html.Html Msg
characterRadioButton ( characterId, characterName ) =
label []
[ input
[ type_ "radio", name "character", onClick (ChangeCharacter characterId) ]
[]
, text characterName
]
characterRadioButtons : Html Msg
characterRadioButtons =
fieldset [] (characters |> List.map characterRadioButton)
messageButtons : Html.Html Msg
messageButtons =
div [] (List.map messageButton Phrase.list)
characters : List ( CustomScalarCodecs.Id, String )
characters =
[ character 1000 "<NAME>"
, character 1001 "<NAME>"
, character 1002 "<NAME>"
, character 1003 "<NAME>"
, character 1004 "<NAME>"
, character 2000 "<NAME>"
, character 2001 "<NAME>"
]
character id name =
( CustomScalarCodecs.Id id, name )
messageButton : Phrase -> Html.Html Msg
messageButton phrase =
button [ onClick (SendMessage phrase) ] [ phrase |> phraseToString |> text ]
chatMessagesView : List ChatMessage -> Html.Html msg
chatMessagesView model =
ul []
(model
|> List.map
(\chatMessage ->
let
characterName =
chatMessage.character |> Maybe.map .name |> Maybe.withDefault ""
avatar =
chatMessage.character |> Maybe.map .avatarUrl |> Maybe.withDefault ""
in
li []
[ img
[ style "width" "40px"
, style "padding-right" "5px"
, src avatar
]
[]
, (characterName ++ ": " ++ (chatMessage.phrase |> phraseToString)) |> text
]
)
)
phraseToString : Phrase -> String
phraseToString phrase =
case phrase of
Phrase.Faith ->
"I find your lack of faith disturbing."
Phrase.Father ->
"I am your father."
Phrase.Help ->
"Help me, Obi-Wan Kenobi. You're my only hope."
Phrase.TheForce ->
"May the Force be with you."
Phrase.Try ->
"Do, or do not, there is no try."
Phrase.BadFeeling ->
"I've got a bad feeling about this."
Phrase.Droids ->
"These aren't the droids you're looking for."
Phrase.Traitor ->
"You are a part of the Rebel Alliance and a traitor!"
Phrase.Trap ->
"It's a trap!"
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
-- GraphqlSubscriptionMsg graphqlSubscriptionMsg ->
-- let
-- ( newModel, cmd ) =
-- Graphql.Subscription.update graphqlSubscriptionMsg model.graphqlSubscriptionModel
-- in
-- ( { model | graphqlSubscriptionModel = newModel }, cmd )
--
SendMessage phrase ->
( model
, sendChatMessage model.characterId phrase
|> Graphql.Http.mutationRequest "https://elm-graphql.herokuapp.com/"
|> Graphql.Http.send SentMessage
)
SubscriptionDataReceived newData ->
case Json.Decode.decodeValue (subscriptionDocument |> Graphql.Document.decoder) newData of
Ok chatMessage ->
( { model | data = chatMessage :: model.data }, Cmd.none )
Err error ->
( model, Cmd.none )
SentMessage _ ->
( model, Cmd.none )
-- SubscriptionStatusChanged newStatus ->
-- ( { model | subscriptionStatus = newStatus }, Cmd.none )
ChangeCharacter characterId ->
( { model | characterId = characterId }, Cmd.none )
NewSubscriptionStatus newStatus () ->
( { model | subscriptionStatus = newStatus }, Cmd.none )
type SubscriptionStatus
= NotConnected
| Connected
| Reconnecting
subscriptions : Model -> Sub Msg
subscriptions model =
-- Graphql.Subscription.listen GraphqlSubscriptionMsg model.graphqlSubscriptionModel
Sub.batch
[ gotSubscriptionData SubscriptionDataReceived
, socketStatusConnected (NewSubscriptionStatus Connected)
, socketStatusReconnecting (NewSubscriptionStatus Reconnecting)
]
port gotSubscriptionData : (Json.Decode.Value -> msg) -> Sub msg
port socketStatusConnected : (() -> msg) -> Sub msg
port socketStatusReconnecting : (() -> msg) -> Sub msg
main : Program () Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
| true | port module Main exposing (main)
import Browser
import CustomScalarCodecs
import Graphql.Document
import Graphql.Http
import Graphql.Operation exposing (RootSubscription)
import Graphql.SelectionSet as SelectionSet exposing (SelectionSet, with)
import Html exposing (Html, button, div, fieldset, h1, img, input, label, li, p, pre, text, ul)
import Html.Attributes exposing (href, name, src, style, target, type_)
import Html.Events exposing (onClick)
import Json.Decode
import Swapi.Enum.Phrase as Phrase exposing (Phrase)
import Swapi.Interface
import Swapi.Interface.Character
import Swapi.Mutation as Mutation
import Swapi.Object
import Swapi.Object.ChatMessage
import Swapi.Scalar
import Swapi.Subscription as Subscription
sendChatMessage : CustomScalarCodecs.Id -> Phrase -> SelectionSet () Graphql.Operation.RootMutation
sendChatMessage characterId phrase =
Mutation.sendMessage { characterId = characterId, phrase = phrase } SelectionSet.empty
|> SelectionSet.map (\_ -> ())
subscriptionDocument : SelectionSet ChatMessage RootSubscription
subscriptionDocument =
Subscription.newMessage chatMessageSelection
type alias ChatMessage =
{ phrase : Phrase
, character : Maybe Character
}
chatMessageSelection : SelectionSet ChatMessage Swapi.Object.ChatMessage
chatMessageSelection =
SelectionSet.succeed ChatMessage
|> with Swapi.Object.ChatMessage.phrase
|> with (Swapi.Object.ChatMessage.character characterSelection)
type alias Character =
{ name : String
, avatarUrl : String
}
characterSelection : SelectionSet Character Swapi.Interface.Character
characterSelection =
SelectionSet.succeed Character
|> with Swapi.Interface.Character.name
|> with Swapi.Interface.Character.avatarUrl
type alias Model =
{ data : List ChatMessage
, characterId : CustomScalarCodecs.Id
, subscriptionStatus : SubscriptionStatus
}
type Msg
= SendMessage Phrase
| SubscriptionDataReceived Json.Decode.Value
| SentMessage (Result (Graphql.Http.Error ()) ())
-- | SubscriptionStatusChanged Graphql.Subscription.Status
| ChangeCharacter CustomScalarCodecs.Id
| NewSubscriptionStatus SubscriptionStatus ()
init : () -> ( Model, Cmd Msg )
init flags =
-- let
-- ( graphqlSubscriptionModel, graphqlSubscriptionCmd ) =
-- Graphql.Subscription.init Protocol.phoenixAbsinthe socketUrl subscriptionDocument SubscriptionDataReceived
-- in
( { data = []
-- , subscriptionStatus = Graphql.Subscription.Uninitialized
-- , graphqlSubscriptionModel =
-- graphqlSubscriptionModel
-- |> Graphql.Subscription.onStatusChanged SubscriptionStatusChanged
, characterId = CustomScalarCodecs.Id 1001
, subscriptionStatus = NotConnected
}
, createSubscriptions (subscriptionDocument |> Graphql.Document.serializeSubscription)
)
port createSubscriptions : String -> Cmd msg
view : Model -> Html.Html Msg
view model =
case model.subscriptionStatus of
NotConnected ->
div []
[ headingView
, text "Connecting..."
]
Reconnecting ->
div []
[ headingView
, text "Reconnecting..."
, chatMessagesView model.data
]
Connected ->
div []
[ headingView
, characterRadioButtons
, messageButtons
, chatMessagesView model.data
]
headingView =
div []
[ h1 []
[ text "Star Chat - "
, link
{ url = "https://github.com/dillonkearns/elm-graphql"
, content = "dillonkearns/elm-graphql"
}
, text " Subscriptions Demo"
]
, Html.h2 []
[ link
{ url = "https://github.com/dillonkearns/elm-graphql/tree/master/examples/src/subscription"
, content = "See the code on Github"
}
]
]
link { url, content } =
Html.a
[ href url, target "_blank" ]
[ text content ]
characterRadioButton : ( CustomScalarCodecs.Id, String ) -> Html.Html Msg
characterRadioButton ( characterId, characterName ) =
label []
[ input
[ type_ "radio", name "character", onClick (ChangeCharacter characterId) ]
[]
, text characterName
]
characterRadioButtons : Html Msg
characterRadioButtons =
fieldset [] (characters |> List.map characterRadioButton)
messageButtons : Html.Html Msg
messageButtons =
div [] (List.map messageButton Phrase.list)
characters : List ( CustomScalarCodecs.Id, String )
characters =
[ character 1000 "PI:NAME:<NAME>END_PI"
, character 1001 "PI:NAME:<NAME>END_PI"
, character 1002 "PI:NAME:<NAME>END_PI"
, character 1003 "PI:NAME:<NAME>END_PI"
, character 1004 "PI:NAME:<NAME>END_PI"
, character 2000 "PI:NAME:<NAME>END_PI"
, character 2001 "PI:NAME:<NAME>END_PI"
]
character id name =
( CustomScalarCodecs.Id id, name )
messageButton : Phrase -> Html.Html Msg
messageButton phrase =
button [ onClick (SendMessage phrase) ] [ phrase |> phraseToString |> text ]
chatMessagesView : List ChatMessage -> Html.Html msg
chatMessagesView model =
ul []
(model
|> List.map
(\chatMessage ->
let
characterName =
chatMessage.character |> Maybe.map .name |> Maybe.withDefault ""
avatar =
chatMessage.character |> Maybe.map .avatarUrl |> Maybe.withDefault ""
in
li []
[ img
[ style "width" "40px"
, style "padding-right" "5px"
, src avatar
]
[]
, (characterName ++ ": " ++ (chatMessage.phrase |> phraseToString)) |> text
]
)
)
phraseToString : Phrase -> String
phraseToString phrase =
case phrase of
Phrase.Faith ->
"I find your lack of faith disturbing."
Phrase.Father ->
"I am your father."
Phrase.Help ->
"Help me, Obi-Wan Kenobi. You're my only hope."
Phrase.TheForce ->
"May the Force be with you."
Phrase.Try ->
"Do, or do not, there is no try."
Phrase.BadFeeling ->
"I've got a bad feeling about this."
Phrase.Droids ->
"These aren't the droids you're looking for."
Phrase.Traitor ->
"You are a part of the Rebel Alliance and a traitor!"
Phrase.Trap ->
"It's a trap!"
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
-- GraphqlSubscriptionMsg graphqlSubscriptionMsg ->
-- let
-- ( newModel, cmd ) =
-- Graphql.Subscription.update graphqlSubscriptionMsg model.graphqlSubscriptionModel
-- in
-- ( { model | graphqlSubscriptionModel = newModel }, cmd )
--
SendMessage phrase ->
( model
, sendChatMessage model.characterId phrase
|> Graphql.Http.mutationRequest "https://elm-graphql.herokuapp.com/"
|> Graphql.Http.send SentMessage
)
SubscriptionDataReceived newData ->
case Json.Decode.decodeValue (subscriptionDocument |> Graphql.Document.decoder) newData of
Ok chatMessage ->
( { model | data = chatMessage :: model.data }, Cmd.none )
Err error ->
( model, Cmd.none )
SentMessage _ ->
( model, Cmd.none )
-- SubscriptionStatusChanged newStatus ->
-- ( { model | subscriptionStatus = newStatus }, Cmd.none )
ChangeCharacter characterId ->
( { model | characterId = characterId }, Cmd.none )
NewSubscriptionStatus newStatus () ->
( { model | subscriptionStatus = newStatus }, Cmd.none )
type SubscriptionStatus
= NotConnected
| Connected
| Reconnecting
subscriptions : Model -> Sub Msg
subscriptions model =
-- Graphql.Subscription.listen GraphqlSubscriptionMsg model.graphqlSubscriptionModel
Sub.batch
[ gotSubscriptionData SubscriptionDataReceived
, socketStatusConnected (NewSubscriptionStatus Connected)
, socketStatusReconnecting (NewSubscriptionStatus Reconnecting)
]
port gotSubscriptionData : (Json.Decode.Value -> msg) -> Sub msg
port socketStatusConnected : (() -> msg) -> Sub msg
port socketStatusReconnecting : (() -> msg) -> Sub msg
main : Program () Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
| elm |
[
{
"context": "tNewPasswordForm { setNewPasswordForm | password = password }\n ]\n []\n ",
"end": 5007,
"score": 0.9983865619,
"start": 4999,
"tag": "PASSWORD",
"value": "password"
}
] | src/Page/SetNewPassword.elm | chaibax/ClasseA12 | 5 | module Page.SetNewPassword exposing (Model, Msg(..), init, update, view)
import Data.PeerTube
import Data.Session exposing (Session)
import Html as H
import Html.Attributes as HA
import Html.Events as HE
import Http
import Page.Common.Components
import Page.Common.Notifications as Notifications
import Request.PeerTube
import Route
type alias Model =
{ title : String
, userID : String
, verificationString : String
, setNewPasswordForm : SetNewPasswordForm
, notifications : Notifications.Model
, newPasswordRequest : Data.PeerTube.RemoteData String
}
type alias SetNewPasswordForm =
{ password : String
}
emptySetNewPasswordForm : SetNewPasswordForm
emptySetNewPasswordForm =
{ password = "" }
type Msg
= UpdateSetNewPasswordForm SetNewPasswordForm
| SetNewPassword
| NotificationMsg Notifications.Msg
| NewPasswordSet (Result Http.Error String)
init : String -> String -> Session -> ( Model, Cmd Msg )
init userID verificationString _ =
( { title = "Nouveau mot de passe"
, userID = userID
, verificationString = verificationString
, setNewPasswordForm = emptySetNewPasswordForm
, notifications = Notifications.init
, newPasswordRequest = Data.PeerTube.NotRequested
}
, Cmd.none
)
update : Session -> Msg -> Model -> ( Model, Cmd Msg )
update session msg model =
case msg of
UpdateSetNewPasswordForm setNewPasswordForm ->
( { model | setNewPasswordForm = setNewPasswordForm }, Cmd.none )
SetNewPassword ->
setNewPassword session.peerTubeURL model
NewPasswordSet (Ok _) ->
( { model | newPasswordRequest = Data.PeerTube.Received "Votre nouveau mot de passe a été enregistré" }
, Cmd.none
)
NewPasswordSet (Err _) ->
( { model
| notifications =
"Changement du mot de passe échoué"
|> Notifications.addError model.notifications
, newPasswordRequest = Data.PeerTube.NotRequested
}
, Cmd.none
)
NotificationMsg notificationMsg ->
( { model | notifications = Notifications.update notificationMsg model.notifications }, Cmd.none )
isSetNewPasswordFormComplete : SetNewPasswordForm -> Bool
isSetNewPasswordFormComplete setNewPasswordForm =
setNewPasswordForm.password /= ""
setNewPassword : String -> Model -> ( Model, Cmd Msg )
setNewPassword peerTubeURL model =
if isSetNewPasswordFormComplete model.setNewPasswordForm then
( { model | newPasswordRequest = Data.PeerTube.Requested }
, Request.PeerTube.changePassword model.userID model.verificationString model.setNewPasswordForm.password peerTubeURL NewPasswordSet
)
else
( model, Cmd.none )
view : Session -> Model -> Page.Common.Components.Document Msg
view _ { title, notifications, setNewPasswordForm, newPasswordRequest } =
{ title = title
, pageTitle = title
, pageSubTitle = ""
, body =
[ H.map NotificationMsg (Notifications.view notifications)
, H.div [ HA.class "section " ]
[ H.div [ HA.class "container" ]
[ case newPasswordRequest of
Data.PeerTube.Received message ->
H.div []
[ H.text message
, H.text ", vous pouvez maintenant "
, H.a [ Route.href Route.Login ] [ H.text "vous connecter en utilisant ce mot de passe." ]
]
_ ->
viewSetNewPasswordForm setNewPasswordForm newPasswordRequest
]
]
]
}
viewSetNewPasswordForm : SetNewPasswordForm -> Data.PeerTube.RemoteData String -> H.Html Msg
viewSetNewPasswordForm setNewPasswordForm newPasswordRequest =
let
formComplete =
isSetNewPasswordFormComplete setNewPasswordForm
buttonState =
if formComplete then
case newPasswordRequest of
Data.PeerTube.Requested ->
Page.Common.Components.Loading
_ ->
Page.Common.Components.NotLoading
else
Page.Common.Components.Disabled
submitButton =
Page.Common.Components.submitButton "Enregistrer ce nouveau mot de passe" buttonState
in
H.form
[ HE.onSubmit SetNewPassword ]
[ H.h1 [] [ H.text <| "Enregistrer un nouveau mot de passe" ]
, H.div [ HA.class "form__group" ]
[ H.label [ HA.for "password" ] [ H.text "Nouveau mot de passe" ]
, H.input
[ HA.type_ "password"
, HA.id "password"
, HA.value setNewPasswordForm.password
, HE.onInput <| \password -> UpdateSetNewPasswordForm { setNewPasswordForm | password = password }
]
[]
]
, submitButton
]
| 11914 | module Page.SetNewPassword exposing (Model, Msg(..), init, update, view)
import Data.PeerTube
import Data.Session exposing (Session)
import Html as H
import Html.Attributes as HA
import Html.Events as HE
import Http
import Page.Common.Components
import Page.Common.Notifications as Notifications
import Request.PeerTube
import Route
type alias Model =
{ title : String
, userID : String
, verificationString : String
, setNewPasswordForm : SetNewPasswordForm
, notifications : Notifications.Model
, newPasswordRequest : Data.PeerTube.RemoteData String
}
type alias SetNewPasswordForm =
{ password : String
}
emptySetNewPasswordForm : SetNewPasswordForm
emptySetNewPasswordForm =
{ password = "" }
type Msg
= UpdateSetNewPasswordForm SetNewPasswordForm
| SetNewPassword
| NotificationMsg Notifications.Msg
| NewPasswordSet (Result Http.Error String)
init : String -> String -> Session -> ( Model, Cmd Msg )
init userID verificationString _ =
( { title = "Nouveau mot de passe"
, userID = userID
, verificationString = verificationString
, setNewPasswordForm = emptySetNewPasswordForm
, notifications = Notifications.init
, newPasswordRequest = Data.PeerTube.NotRequested
}
, Cmd.none
)
update : Session -> Msg -> Model -> ( Model, Cmd Msg )
update session msg model =
case msg of
UpdateSetNewPasswordForm setNewPasswordForm ->
( { model | setNewPasswordForm = setNewPasswordForm }, Cmd.none )
SetNewPassword ->
setNewPassword session.peerTubeURL model
NewPasswordSet (Ok _) ->
( { model | newPasswordRequest = Data.PeerTube.Received "Votre nouveau mot de passe a été enregistré" }
, Cmd.none
)
NewPasswordSet (Err _) ->
( { model
| notifications =
"Changement du mot de passe échoué"
|> Notifications.addError model.notifications
, newPasswordRequest = Data.PeerTube.NotRequested
}
, Cmd.none
)
NotificationMsg notificationMsg ->
( { model | notifications = Notifications.update notificationMsg model.notifications }, Cmd.none )
isSetNewPasswordFormComplete : SetNewPasswordForm -> Bool
isSetNewPasswordFormComplete setNewPasswordForm =
setNewPasswordForm.password /= ""
setNewPassword : String -> Model -> ( Model, Cmd Msg )
setNewPassword peerTubeURL model =
if isSetNewPasswordFormComplete model.setNewPasswordForm then
( { model | newPasswordRequest = Data.PeerTube.Requested }
, Request.PeerTube.changePassword model.userID model.verificationString model.setNewPasswordForm.password peerTubeURL NewPasswordSet
)
else
( model, Cmd.none )
view : Session -> Model -> Page.Common.Components.Document Msg
view _ { title, notifications, setNewPasswordForm, newPasswordRequest } =
{ title = title
, pageTitle = title
, pageSubTitle = ""
, body =
[ H.map NotificationMsg (Notifications.view notifications)
, H.div [ HA.class "section " ]
[ H.div [ HA.class "container" ]
[ case newPasswordRequest of
Data.PeerTube.Received message ->
H.div []
[ H.text message
, H.text ", vous pouvez maintenant "
, H.a [ Route.href Route.Login ] [ H.text "vous connecter en utilisant ce mot de passe." ]
]
_ ->
viewSetNewPasswordForm setNewPasswordForm newPasswordRequest
]
]
]
}
viewSetNewPasswordForm : SetNewPasswordForm -> Data.PeerTube.RemoteData String -> H.Html Msg
viewSetNewPasswordForm setNewPasswordForm newPasswordRequest =
let
formComplete =
isSetNewPasswordFormComplete setNewPasswordForm
buttonState =
if formComplete then
case newPasswordRequest of
Data.PeerTube.Requested ->
Page.Common.Components.Loading
_ ->
Page.Common.Components.NotLoading
else
Page.Common.Components.Disabled
submitButton =
Page.Common.Components.submitButton "Enregistrer ce nouveau mot de passe" buttonState
in
H.form
[ HE.onSubmit SetNewPassword ]
[ H.h1 [] [ H.text <| "Enregistrer un nouveau mot de passe" ]
, H.div [ HA.class "form__group" ]
[ H.label [ HA.for "password" ] [ H.text "Nouveau mot de passe" ]
, H.input
[ HA.type_ "password"
, HA.id "password"
, HA.value setNewPasswordForm.password
, HE.onInput <| \password -> UpdateSetNewPasswordForm { setNewPasswordForm | password = <PASSWORD> }
]
[]
]
, submitButton
]
| true | module Page.SetNewPassword exposing (Model, Msg(..), init, update, view)
import Data.PeerTube
import Data.Session exposing (Session)
import Html as H
import Html.Attributes as HA
import Html.Events as HE
import Http
import Page.Common.Components
import Page.Common.Notifications as Notifications
import Request.PeerTube
import Route
type alias Model =
{ title : String
, userID : String
, verificationString : String
, setNewPasswordForm : SetNewPasswordForm
, notifications : Notifications.Model
, newPasswordRequest : Data.PeerTube.RemoteData String
}
type alias SetNewPasswordForm =
{ password : String
}
emptySetNewPasswordForm : SetNewPasswordForm
emptySetNewPasswordForm =
{ password = "" }
type Msg
= UpdateSetNewPasswordForm SetNewPasswordForm
| SetNewPassword
| NotificationMsg Notifications.Msg
| NewPasswordSet (Result Http.Error String)
init : String -> String -> Session -> ( Model, Cmd Msg )
init userID verificationString _ =
( { title = "Nouveau mot de passe"
, userID = userID
, verificationString = verificationString
, setNewPasswordForm = emptySetNewPasswordForm
, notifications = Notifications.init
, newPasswordRequest = Data.PeerTube.NotRequested
}
, Cmd.none
)
update : Session -> Msg -> Model -> ( Model, Cmd Msg )
update session msg model =
case msg of
UpdateSetNewPasswordForm setNewPasswordForm ->
( { model | setNewPasswordForm = setNewPasswordForm }, Cmd.none )
SetNewPassword ->
setNewPassword session.peerTubeURL model
NewPasswordSet (Ok _) ->
( { model | newPasswordRequest = Data.PeerTube.Received "Votre nouveau mot de passe a été enregistré" }
, Cmd.none
)
NewPasswordSet (Err _) ->
( { model
| notifications =
"Changement du mot de passe échoué"
|> Notifications.addError model.notifications
, newPasswordRequest = Data.PeerTube.NotRequested
}
, Cmd.none
)
NotificationMsg notificationMsg ->
( { model | notifications = Notifications.update notificationMsg model.notifications }, Cmd.none )
isSetNewPasswordFormComplete : SetNewPasswordForm -> Bool
isSetNewPasswordFormComplete setNewPasswordForm =
setNewPasswordForm.password /= ""
setNewPassword : String -> Model -> ( Model, Cmd Msg )
setNewPassword peerTubeURL model =
if isSetNewPasswordFormComplete model.setNewPasswordForm then
( { model | newPasswordRequest = Data.PeerTube.Requested }
, Request.PeerTube.changePassword model.userID model.verificationString model.setNewPasswordForm.password peerTubeURL NewPasswordSet
)
else
( model, Cmd.none )
view : Session -> Model -> Page.Common.Components.Document Msg
view _ { title, notifications, setNewPasswordForm, newPasswordRequest } =
{ title = title
, pageTitle = title
, pageSubTitle = ""
, body =
[ H.map NotificationMsg (Notifications.view notifications)
, H.div [ HA.class "section " ]
[ H.div [ HA.class "container" ]
[ case newPasswordRequest of
Data.PeerTube.Received message ->
H.div []
[ H.text message
, H.text ", vous pouvez maintenant "
, H.a [ Route.href Route.Login ] [ H.text "vous connecter en utilisant ce mot de passe." ]
]
_ ->
viewSetNewPasswordForm setNewPasswordForm newPasswordRequest
]
]
]
}
viewSetNewPasswordForm : SetNewPasswordForm -> Data.PeerTube.RemoteData String -> H.Html Msg
viewSetNewPasswordForm setNewPasswordForm newPasswordRequest =
let
formComplete =
isSetNewPasswordFormComplete setNewPasswordForm
buttonState =
if formComplete then
case newPasswordRequest of
Data.PeerTube.Requested ->
Page.Common.Components.Loading
_ ->
Page.Common.Components.NotLoading
else
Page.Common.Components.Disabled
submitButton =
Page.Common.Components.submitButton "Enregistrer ce nouveau mot de passe" buttonState
in
H.form
[ HE.onSubmit SetNewPassword ]
[ H.h1 [] [ H.text <| "Enregistrer un nouveau mot de passe" ]
, H.div [ HA.class "form__group" ]
[ H.label [ HA.for "password" ] [ H.text "Nouveau mot de passe" ]
, H.input
[ HA.type_ "password"
, HA.id "password"
, HA.value setNewPasswordForm.password
, HE.onInput <| \password -> UpdateSetNewPasswordForm { setNewPasswordForm | password = PI:PASSWORD:<PASSWORD>END_PI }
]
[]
]
, submitButton
]
| elm |
[
{
"context": " Norway?\n\nSo much so that a Norwegian tech firm ([Bekk](https://twitter.com/livetibekk)) is supporting a",
"end": 335,
"score": 0.9960927963,
"start": 331,
"tag": "USERNAME",
"value": "Bekk"
},
{
"context": "a Norwegian tech firm ([Bekk](https://twitter.com/livetibekk)) is supporting a core team member ([Robin](https",
"end": 367,
"score": 0.9997320175,
"start": 357,
"tag": "USERNAME",
"value": "livetibekk"
},
{
"context": "m/livetibekk)) is supporting a core team member ([Robin](https://twitter.com/robheghan)) to spend one wor",
"end": 410,
"score": 0.9984274507,
"start": 405,
"tag": "NAME",
"value": "Robin"
},
{
"context": "g a core team member ([Robin](https://twitter.com/robheghan)) to spend one workday each week working on Elm!\n",
"end": 441,
"score": 0.9997371435,
"start": 432,
"tag": "USERNAME",
"value": "robheghan"
},
{
"context": " explain why this is important for Elm.\n\n\n# Who is Robin?\n\nRobin got involved with the core team after doi",
"end": 635,
"score": 0.9967326522,
"start": 630,
"tag": "NAME",
"value": "Robin"
},
{
"context": "why this is important for Elm.\n\n\n# Who is Robin?\n\nRobin got involved with the core team after doing some ",
"end": 643,
"score": 0.9986504316,
"start": 638,
"tag": "NAME",
"value": "Robin"
},
{
"context": "). I was always excited when I get a document from Robin because I knew I would be learning about a bunch ",
"end": 895,
"score": 0.9924869537,
"start": 890,
"tag": "NAME",
"value": "Robin"
},
{
"context": "personal time! It has been such a joy to work with Robin, and it makes me really happy to see Bekk investi",
"end": 1246,
"score": 0.9897508621,
"start": 1241,
"tag": "NAME",
"value": "Robin"
},
{
"context": "rk with Robin, and it makes me really happy to see Bekk investing in his work on Elm!\n\n\n# Why is Bekk doi",
"end": 1288,
"score": 0.8192825317,
"start": 1284,
"tag": "NAME",
"value": "Bekk"
},
{
"context": "ng a community you appreciate!\n\nHvis du kan forstå norsk, besøk gjerne [bloggen](https://blogg.bekk.no/) d",
"end": 2133,
"score": 0.9125939012,
"start": 2128,
"tag": "NAME",
"value": "norsk"
}
] | pages/news/elm-and-bekk.elm | unchartedworks/elm-lang.org | 9 | import Html exposing (..)
import Skeleton
import Center
main =
Skeleton.news
"Elm + Bekk"
"Towards a Homegrown Programming Language"
Skeleton.evan
(Skeleton.Date 2019 9 3)
[ Center.markdown "600px" content ]
content = """
Did you know that Elm is big in Norway?
So much so that a Norwegian tech firm ([Bekk](https://twitter.com/livetibekk)) is supporting a core team member ([Robin](https://twitter.com/robheghan)) to spend one workday each week working on Elm!
You can learn a lot about a programming language from who pays for it, so I will try to explain why this is important for Elm.
# Who is Robin?
Robin got involved with the core team after doing some extremely thorough work on data structures, like [making Dict.insert 171% faster](https://groups.google.com/d/msg/elm-dev/--fK-wMoDig/p6zF4-5sAgAJ). I was always excited when I get a document from Robin because I knew I would be learning about a bunch of performance experiments, along with nicely organized profiling information. Over time, a lot of this work has made it into elm/core and the ecosystem has quietly gotten faster and more reliable as a result!
And that was all while working on personal time! It has been such a joy to work with Robin, and it makes me really happy to see Bekk investing in his work on Elm!
# Why is Bekk doing this?
Bekk is one of the larger design and tech companies in Norway, and they are using Elm on some of their most important projects. For example, helping people applying for drivers licence with the National Public Road Administration and selling railway tickets from Vy, Norway's largest transport provider. They particularly like how quickly interns can learn Elm and become productive!
So Bekk benefits from faster data structures like everyone else, but investing in core team members is not just about the ecosystem benefits. Companies that make serious ongoing investments in the core team members become a hub for the community. It is fun to be around that kind of work, and it feels good to work at a company that is supporting a community you appreciate!
Hvis du kan forstå norsk, besøk gjerne [bloggen](https://blogg.bekk.no/) deres!
# Why is this important for Elm?
Many languages are funded as strategic plays for [Traffic Acquisition Costs](https://fourweekmba.com/traffic-acquisition-cost/), cloud service moats, app store revenue, etc. Getting caught up in the power plays of big name companies has a huge impact on how a language and community develops. E.g. languages tend to have features to cover a wide range of preferences, online interactions tend to have more of a "customer service" vibe, you get some consumer tech firms applying the "iterate fast, see what works" mentality to programming frameworks, etc. Those are obvious benefits for many people, but not for everyone.
I am hoping Elm will follow a path similar to Python. [Their path](https://python-history.blogspot.com/2009/01/personal-history-part-1-cwi.html) started with small companies giving the language a chance. Those companies got larger over time, and the core team ended up distributed between a bunch of companies. That means the core team was hearing perspectives from more companies, more industries, and more people. It seems to me that when a community grows by investing in itself, by building personal relationships, by sharing their experiences word of mouth, you end up with something much more than a programming language!
So in an industry obsessed with making things faster and cheaper without regard for the social or structural implications, it makes me really happy that Bekk is investing in the homegrown path for Elm. Thank you!
"""
| 12880 | import Html exposing (..)
import Skeleton
import Center
main =
Skeleton.news
"Elm + Bekk"
"Towards a Homegrown Programming Language"
Skeleton.evan
(Skeleton.Date 2019 9 3)
[ Center.markdown "600px" content ]
content = """
Did you know that Elm is big in Norway?
So much so that a Norwegian tech firm ([Bekk](https://twitter.com/livetibekk)) is supporting a core team member ([<NAME>](https://twitter.com/robheghan)) to spend one workday each week working on Elm!
You can learn a lot about a programming language from who pays for it, so I will try to explain why this is important for Elm.
# Who is <NAME>?
<NAME> got involved with the core team after doing some extremely thorough work on data structures, like [making Dict.insert 171% faster](https://groups.google.com/d/msg/elm-dev/--fK-wMoDig/p6zF4-5sAgAJ). I was always excited when I get a document from <NAME> because I knew I would be learning about a bunch of performance experiments, along with nicely organized profiling information. Over time, a lot of this work has made it into elm/core and the ecosystem has quietly gotten faster and more reliable as a result!
And that was all while working on personal time! It has been such a joy to work with <NAME>, and it makes me really happy to see <NAME> investing in his work on Elm!
# Why is Bekk doing this?
Bekk is one of the larger design and tech companies in Norway, and they are using Elm on some of their most important projects. For example, helping people applying for drivers licence with the National Public Road Administration and selling railway tickets from Vy, Norway's largest transport provider. They particularly like how quickly interns can learn Elm and become productive!
So Bekk benefits from faster data structures like everyone else, but investing in core team members is not just about the ecosystem benefits. Companies that make serious ongoing investments in the core team members become a hub for the community. It is fun to be around that kind of work, and it feels good to work at a company that is supporting a community you appreciate!
Hvis du kan forstå <NAME>, besøk gjerne [bloggen](https://blogg.bekk.no/) deres!
# Why is this important for Elm?
Many languages are funded as strategic plays for [Traffic Acquisition Costs](https://fourweekmba.com/traffic-acquisition-cost/), cloud service moats, app store revenue, etc. Getting caught up in the power plays of big name companies has a huge impact on how a language and community develops. E.g. languages tend to have features to cover a wide range of preferences, online interactions tend to have more of a "customer service" vibe, you get some consumer tech firms applying the "iterate fast, see what works" mentality to programming frameworks, etc. Those are obvious benefits for many people, but not for everyone.
I am hoping Elm will follow a path similar to Python. [Their path](https://python-history.blogspot.com/2009/01/personal-history-part-1-cwi.html) started with small companies giving the language a chance. Those companies got larger over time, and the core team ended up distributed between a bunch of companies. That means the core team was hearing perspectives from more companies, more industries, and more people. It seems to me that when a community grows by investing in itself, by building personal relationships, by sharing their experiences word of mouth, you end up with something much more than a programming language!
So in an industry obsessed with making things faster and cheaper without regard for the social or structural implications, it makes me really happy that Bekk is investing in the homegrown path for Elm. Thank you!
"""
| true | import Html exposing (..)
import Skeleton
import Center
main =
Skeleton.news
"Elm + Bekk"
"Towards a Homegrown Programming Language"
Skeleton.evan
(Skeleton.Date 2019 9 3)
[ Center.markdown "600px" content ]
content = """
Did you know that Elm is big in Norway?
So much so that a Norwegian tech firm ([Bekk](https://twitter.com/livetibekk)) is supporting a core team member ([PI:NAME:<NAME>END_PI](https://twitter.com/robheghan)) to spend one workday each week working on Elm!
You can learn a lot about a programming language from who pays for it, so I will try to explain why this is important for Elm.
# Who is PI:NAME:<NAME>END_PI?
PI:NAME:<NAME>END_PI got involved with the core team after doing some extremely thorough work on data structures, like [making Dict.insert 171% faster](https://groups.google.com/d/msg/elm-dev/--fK-wMoDig/p6zF4-5sAgAJ). I was always excited when I get a document from PI:NAME:<NAME>END_PI because I knew I would be learning about a bunch of performance experiments, along with nicely organized profiling information. Over time, a lot of this work has made it into elm/core and the ecosystem has quietly gotten faster and more reliable as a result!
And that was all while working on personal time! It has been such a joy to work with PI:NAME:<NAME>END_PI, and it makes me really happy to see PI:NAME:<NAME>END_PI investing in his work on Elm!
# Why is Bekk doing this?
Bekk is one of the larger design and tech companies in Norway, and they are using Elm on some of their most important projects. For example, helping people applying for drivers licence with the National Public Road Administration and selling railway tickets from Vy, Norway's largest transport provider. They particularly like how quickly interns can learn Elm and become productive!
So Bekk benefits from faster data structures like everyone else, but investing in core team members is not just about the ecosystem benefits. Companies that make serious ongoing investments in the core team members become a hub for the community. It is fun to be around that kind of work, and it feels good to work at a company that is supporting a community you appreciate!
Hvis du kan forstå PI:NAME:<NAME>END_PI, besøk gjerne [bloggen](https://blogg.bekk.no/) deres!
# Why is this important for Elm?
Many languages are funded as strategic plays for [Traffic Acquisition Costs](https://fourweekmba.com/traffic-acquisition-cost/), cloud service moats, app store revenue, etc. Getting caught up in the power plays of big name companies has a huge impact on how a language and community develops. E.g. languages tend to have features to cover a wide range of preferences, online interactions tend to have more of a "customer service" vibe, you get some consumer tech firms applying the "iterate fast, see what works" mentality to programming frameworks, etc. Those are obvious benefits for many people, but not for everyone.
I am hoping Elm will follow a path similar to Python. [Their path](https://python-history.blogspot.com/2009/01/personal-history-part-1-cwi.html) started with small companies giving the language a chance. Those companies got larger over time, and the core team ended up distributed between a bunch of companies. That means the core team was hearing perspectives from more companies, more industries, and more people. It seems to me that when a community grows by investing in itself, by building personal relationships, by sharing their experiences word of mouth, you end up with something much more than a programming language!
So in an industry obsessed with making things faster and cheaper without regard for the social or structural implications, it makes me really happy that Bekk is investing in the homegrown path for Elm. Thank you!
"""
| elm |
[
{
"context": " x ->\n case s.name of\n \"Mash Kyrielight\" ->\n \"Lord Camelot\"\n\n ",
"end": 634,
"score": 0.9998987317,
"start": 619,
"tag": "NAME",
"value": "Mash Kyrielight"
},
{
"context": " \"Mash Kyrielight\" ->\n \"Lord Camelot\"\n\n \"Frankenstein\" ->\n ",
"end": 672,
"score": 0.999873817,
"start": 660,
"tag": "NAME",
"value": "Lord Camelot"
},
{
"context": " \"Lord Camelot\"\n\n \"Frankenstein\" ->\n \"D~\" ++ Rank.show x\n\n ",
"end": 704,
"score": 0.9987643957,
"start": 692,
"tag": "NAME",
"value": "Frankenstein"
},
{
"context": " \"E~\" ++ Rank.show x\n\n \"Henry Jekyll & Hyde\" ->\n \"Rank\" ++ R",
"end": 916,
"score": 0.6710433364,
"start": 914,
"tag": "NAME",
"value": "ry"
}
] | scraper/MaybeRank.elm | jnbooth/chaldeas | 18 | module MaybeRank exposing (MaybeRank(..), show)
import Model.Servant exposing (Servant)
import Model.Skill.Rank as Rank exposing (Rank(..))
type MaybeRank
= Unranked
| Pure Rank
| Upgrade Rank
| Unique Servant Rank
show : MaybeRank -> String
show a =
case a of
Unranked ->
"--"
Pure x ->
"Rank" ++ Rank.show x
Upgrade Unknown ->
"NP"
Upgrade x ->
"Rank '" ++ String.trim (Rank.show x) ++ "'"
Unique s Unknown ->
s.name
Unique s x ->
case s.name of
"Mash Kyrielight" ->
"Lord Camelot"
"Frankenstein" ->
"D~" ++ Rank.show x
"EMIYA" ->
"E~" ++ Rank.show x
"EMIYA (Alter)" ->
"E~" ++ Rank.show x
"Henry Jekyll & Hyde" ->
"Rank" ++ Rank.show x ++ " (Hyde)"
_ ->
s.name
| 11086 | module MaybeRank exposing (MaybeRank(..), show)
import Model.Servant exposing (Servant)
import Model.Skill.Rank as Rank exposing (Rank(..))
type MaybeRank
= Unranked
| Pure Rank
| Upgrade Rank
| Unique Servant Rank
show : MaybeRank -> String
show a =
case a of
Unranked ->
"--"
Pure x ->
"Rank" ++ Rank.show x
Upgrade Unknown ->
"NP"
Upgrade x ->
"Rank '" ++ String.trim (Rank.show x) ++ "'"
Unique s Unknown ->
s.name
Unique s x ->
case s.name of
"<NAME>" ->
"<NAME>"
"<NAME>" ->
"D~" ++ Rank.show x
"EMIYA" ->
"E~" ++ Rank.show x
"EMIYA (Alter)" ->
"E~" ++ Rank.show x
"Hen<NAME> Jekyll & Hyde" ->
"Rank" ++ Rank.show x ++ " (Hyde)"
_ ->
s.name
| true | module MaybeRank exposing (MaybeRank(..), show)
import Model.Servant exposing (Servant)
import Model.Skill.Rank as Rank exposing (Rank(..))
type MaybeRank
= Unranked
| Pure Rank
| Upgrade Rank
| Unique Servant Rank
show : MaybeRank -> String
show a =
case a of
Unranked ->
"--"
Pure x ->
"Rank" ++ Rank.show x
Upgrade Unknown ->
"NP"
Upgrade x ->
"Rank '" ++ String.trim (Rank.show x) ++ "'"
Unique s Unknown ->
s.name
Unique s x ->
case s.name of
"PI:NAME:<NAME>END_PI" ->
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI" ->
"D~" ++ Rank.show x
"EMIYA" ->
"E~" ++ Rank.show x
"EMIYA (Alter)" ->
"E~" ++ Rank.show x
"HenPI:NAME:<NAME>END_PI Jekyll & Hyde" ->
"Rank" ++ Rank.show x ++ " (Hyde)"
_ ->
s.name
| elm |
[
{
"context": "lagClick model\n { key = key\n , selectOptionHeight ",
"end": 4846,
"score": 0.410536617,
"start": 4843,
"tag": "KEY",
"value": "key"
}
] | src/R10/FormComponents/Internal/Phone.elm | jfmengels/r10 | 0 | module R10.FormComponents.Internal.Phone exposing
( countryOptions
, defaultTrailingIcon
, extraCss
, view
)
import Element exposing (..)
import Element.Events as Events
import Element.Font as Font
import Html.Attributes
import R10.Color.Utils
import R10.Country
import R10.FormComponents.Internal.IconButton
import R10.FormComponents.Internal.Phone.Common
import R10.FormComponents.Internal.Phone.Update
import R10.FormComponents.Internal.Phone.Views
import R10.FormComponents.Internal.Style
import R10.FormComponents.Internal.UI
import R10.FormComponents.Internal.UI.Color
import R10.FormComponents.Internal.Utils
import R10.FormTypes
import R10.SimpleMarkdown
import String.Extra
-- todo implement disabled style
-- todo implement custom logic for Radio (remove Input.Radio due to lack of customization. eg cannot apply disabled style)
-- About best UX for Radio Buttons:
-- https://uxplanet.org/radio-buttons-ux-design-588e5c0a50dc
-- constants
extraCss : String
extraCss =
""
defaultTrailingIcon : { a | opened : Bool, palette : R10.FormTypes.Palette } -> Element msg
defaultTrailingIcon { opened, palette } =
R10.FormComponents.Internal.IconButton.view []
{ msgOnClick = Nothing
, icon =
R10.FormComponents.Internal.UI.icons.combobox_arrow
[ rotate <|
degrees
(if opened then
180
else
0
)
, htmlAttribute <| Html.Attributes.style "transition" "all 0.13s"
]
(R10.FormComponents.Internal.UI.Color.label palette)
24
, palette = palette
, size = 24
}
--helpers Public
update : R10.FormComponents.Internal.Phone.Common.Msg -> R10.FormComponents.Internal.Phone.Common.Model -> ( R10.FormComponents.Internal.Phone.Common.Model, Cmd R10.FormComponents.Internal.Phone.Common.Msg )
update =
R10.FormComponents.Internal.Phone.Update.update
getFlagIcon : Int -> Maybe R10.Country.Country -> Element msg
getFlagIcon size maybeCountry =
el
[ Font.size size ]
<|
text
(case maybeCountry of
Just country ->
R10.Country.toFlag country
Nothing ->
R10.Country.emptyFlag
)
insertBold : List Int -> String -> String
insertBold indexes string =
string
|> R10.FormComponents.Internal.Utils.stringInsertAtMulti "**" indexes
|> String.Extra.surround "**"
viewOptionEl :
{ a
| search : String
, msgOnSelect : R10.Country.Country -> msg
}
-> R10.Country.Country
-> Element msg
viewOptionEl { search, msgOnSelect } country =
let
label =
R10.Country.toString country
insertPositions : List Int
insertPositions =
String.indexes (search |> R10.FormComponents.Internal.Phone.Common.normalizeString) (label |> R10.FormComponents.Internal.Phone.Common.normalizeString)
|> List.concatMap (\idx -> [ idx, idx + String.length search ])
withBold : String
withBold =
if List.isEmpty insertPositions then
label
else
insertBold insertPositions label
in
row
[ width fill
, height fill
, htmlAttribute <| Html.Attributes.style "z-index" "0"
, Events.onClick <| msgOnSelect country
, pointer
, paddingXY 12 0
, spacing 8
-- gradient for label overflow
, htmlAttribute <| Html.Attributes.style "mask-image" "linear-gradient(right, rgba(255,255,0,0), rgba(255,255,0, 1) 16px)"
, htmlAttribute <| Html.Attributes.style "-webkit-mask-image" "-webkit-linear-gradient(right, rgba(255,255,0,0) 10px, rgba(255,255,0, 1) 16px)"
]
[ getFlagIcon 24 <| Just country
, row [] (withBold |> R10.SimpleMarkdown.elementMarkdown)
, el [ alpha 0.5 ] <| text ("(" ++ R10.Country.toCountryTelCode country ++ ")")
]
getFlagButton :
{ palette : R10.FormTypes.Palette
, disabled : Bool
, toMsg : R10.FormComponents.Internal.Phone.Common.Msg -> msg
, key : String
, filteredCountryOptions : List R10.Country.Country
, model : R10.FormComponents.Internal.Phone.Common.Model
}
-> Element msg
getFlagButton { palette, disabled, toMsg, key, filteredCountryOptions, model } =
R10.FormComponents.Internal.IconButton.view []
{ msgOnClick =
if disabled then
Nothing
else
Just <|
toMsg <|
R10.FormComponents.Internal.Phone.Update.getMsgOnFlagClick model
{ key = key
, selectOptionHeight = 36
, maxDisplayCount = 5
}
filteredCountryOptions
, icon =
row [ width fill, centerY, centerX, moveLeft 2 ]
[ model.countryValue
|> getFlagIcon 20
|> el
[ width fill
, centerY
, centerX
, moveDown 2
]
, R10.FormComponents.Internal.UI.icons.combobox_arrow
[ width fill
, moveLeft 1
, centerY
, centerX
]
(R10.FormComponents.Internal.UI.Color.label palette)
16
]
, palette = palette
, size = 24
}
countryOptions : List R10.Country.Country
countryOptions =
R10.Country.list
view :
List (Attribute msg)
-> R10.FormComponents.Internal.Phone.Common.Model
->
{ valid : Maybe Bool
, toMsg : R10.FormComponents.Internal.Phone.Common.Msg -> msg
, label : String
, helperText : Maybe String
, disabled : Bool
, requiredLabel : Maybe String
, style : R10.FormComponents.Internal.Style.Style
, key : String
, palette : R10.FormTypes.Palette
, countryOptions : Maybe (List R10.Country.Country)
}
-> Element msg
view attrs model conf =
let
countryOptions_ : List R10.Country.Country
countryOptions_ =
conf.countryOptions
|> Maybe.withDefault countryOptions
filteredCountryOptions : List R10.Country.Country
filteredCountryOptions =
countryOptions_
|> R10.FormComponents.Internal.Phone.Common.filterBySearch model.search
args : R10.FormComponents.Internal.Phone.Common.Args msg
args =
{ valid = conf.valid
, toMsg = conf.toMsg
, label = conf.label
, helperText = conf.helperText
, disabled = conf.disabled
, requiredLabel = conf.requiredLabel
, style = conf.style
, key = conf.key
, palette = conf.palette
, countryOptions = countryOptions_
, toOptionEl =
viewOptionEl
{ search = model.search
, msgOnSelect = R10.FormComponents.Internal.Phone.Common.OnOptionSelect >> conf.toMsg
}
, selectOptionHeight = 36
, maxDisplayCount = 5
, leadingIcon =
Just <|
getFlagButton
{ palette = conf.palette
, disabled = conf.disabled
, toMsg = conf.toMsg
, key = conf.key
, filteredCountryOptions = filteredCountryOptions
, model = model
}
, trailingIcon = Just <| defaultTrailingIcon { opened = model.opened, palette = conf.palette }
}
in
R10.FormComponents.Internal.Phone.Views.view attrs model args
| 21853 | module R10.FormComponents.Internal.Phone exposing
( countryOptions
, defaultTrailingIcon
, extraCss
, view
)
import Element exposing (..)
import Element.Events as Events
import Element.Font as Font
import Html.Attributes
import R10.Color.Utils
import R10.Country
import R10.FormComponents.Internal.IconButton
import R10.FormComponents.Internal.Phone.Common
import R10.FormComponents.Internal.Phone.Update
import R10.FormComponents.Internal.Phone.Views
import R10.FormComponents.Internal.Style
import R10.FormComponents.Internal.UI
import R10.FormComponents.Internal.UI.Color
import R10.FormComponents.Internal.Utils
import R10.FormTypes
import R10.SimpleMarkdown
import String.Extra
-- todo implement disabled style
-- todo implement custom logic for Radio (remove Input.Radio due to lack of customization. eg cannot apply disabled style)
-- About best UX for Radio Buttons:
-- https://uxplanet.org/radio-buttons-ux-design-588e5c0a50dc
-- constants
extraCss : String
extraCss =
""
defaultTrailingIcon : { a | opened : Bool, palette : R10.FormTypes.Palette } -> Element msg
defaultTrailingIcon { opened, palette } =
R10.FormComponents.Internal.IconButton.view []
{ msgOnClick = Nothing
, icon =
R10.FormComponents.Internal.UI.icons.combobox_arrow
[ rotate <|
degrees
(if opened then
180
else
0
)
, htmlAttribute <| Html.Attributes.style "transition" "all 0.13s"
]
(R10.FormComponents.Internal.UI.Color.label palette)
24
, palette = palette
, size = 24
}
--helpers Public
update : R10.FormComponents.Internal.Phone.Common.Msg -> R10.FormComponents.Internal.Phone.Common.Model -> ( R10.FormComponents.Internal.Phone.Common.Model, Cmd R10.FormComponents.Internal.Phone.Common.Msg )
update =
R10.FormComponents.Internal.Phone.Update.update
getFlagIcon : Int -> Maybe R10.Country.Country -> Element msg
getFlagIcon size maybeCountry =
el
[ Font.size size ]
<|
text
(case maybeCountry of
Just country ->
R10.Country.toFlag country
Nothing ->
R10.Country.emptyFlag
)
insertBold : List Int -> String -> String
insertBold indexes string =
string
|> R10.FormComponents.Internal.Utils.stringInsertAtMulti "**" indexes
|> String.Extra.surround "**"
viewOptionEl :
{ a
| search : String
, msgOnSelect : R10.Country.Country -> msg
}
-> R10.Country.Country
-> Element msg
viewOptionEl { search, msgOnSelect } country =
let
label =
R10.Country.toString country
insertPositions : List Int
insertPositions =
String.indexes (search |> R10.FormComponents.Internal.Phone.Common.normalizeString) (label |> R10.FormComponents.Internal.Phone.Common.normalizeString)
|> List.concatMap (\idx -> [ idx, idx + String.length search ])
withBold : String
withBold =
if List.isEmpty insertPositions then
label
else
insertBold insertPositions label
in
row
[ width fill
, height fill
, htmlAttribute <| Html.Attributes.style "z-index" "0"
, Events.onClick <| msgOnSelect country
, pointer
, paddingXY 12 0
, spacing 8
-- gradient for label overflow
, htmlAttribute <| Html.Attributes.style "mask-image" "linear-gradient(right, rgba(255,255,0,0), rgba(255,255,0, 1) 16px)"
, htmlAttribute <| Html.Attributes.style "-webkit-mask-image" "-webkit-linear-gradient(right, rgba(255,255,0,0) 10px, rgba(255,255,0, 1) 16px)"
]
[ getFlagIcon 24 <| Just country
, row [] (withBold |> R10.SimpleMarkdown.elementMarkdown)
, el [ alpha 0.5 ] <| text ("(" ++ R10.Country.toCountryTelCode country ++ ")")
]
getFlagButton :
{ palette : R10.FormTypes.Palette
, disabled : Bool
, toMsg : R10.FormComponents.Internal.Phone.Common.Msg -> msg
, key : String
, filteredCountryOptions : List R10.Country.Country
, model : R10.FormComponents.Internal.Phone.Common.Model
}
-> Element msg
getFlagButton { palette, disabled, toMsg, key, filteredCountryOptions, model } =
R10.FormComponents.Internal.IconButton.view []
{ msgOnClick =
if disabled then
Nothing
else
Just <|
toMsg <|
R10.FormComponents.Internal.Phone.Update.getMsgOnFlagClick model
{ key = <KEY>
, selectOptionHeight = 36
, maxDisplayCount = 5
}
filteredCountryOptions
, icon =
row [ width fill, centerY, centerX, moveLeft 2 ]
[ model.countryValue
|> getFlagIcon 20
|> el
[ width fill
, centerY
, centerX
, moveDown 2
]
, R10.FormComponents.Internal.UI.icons.combobox_arrow
[ width fill
, moveLeft 1
, centerY
, centerX
]
(R10.FormComponents.Internal.UI.Color.label palette)
16
]
, palette = palette
, size = 24
}
countryOptions : List R10.Country.Country
countryOptions =
R10.Country.list
view :
List (Attribute msg)
-> R10.FormComponents.Internal.Phone.Common.Model
->
{ valid : Maybe Bool
, toMsg : R10.FormComponents.Internal.Phone.Common.Msg -> msg
, label : String
, helperText : Maybe String
, disabled : Bool
, requiredLabel : Maybe String
, style : R10.FormComponents.Internal.Style.Style
, key : String
, palette : R10.FormTypes.Palette
, countryOptions : Maybe (List R10.Country.Country)
}
-> Element msg
view attrs model conf =
let
countryOptions_ : List R10.Country.Country
countryOptions_ =
conf.countryOptions
|> Maybe.withDefault countryOptions
filteredCountryOptions : List R10.Country.Country
filteredCountryOptions =
countryOptions_
|> R10.FormComponents.Internal.Phone.Common.filterBySearch model.search
args : R10.FormComponents.Internal.Phone.Common.Args msg
args =
{ valid = conf.valid
, toMsg = conf.toMsg
, label = conf.label
, helperText = conf.helperText
, disabled = conf.disabled
, requiredLabel = conf.requiredLabel
, style = conf.style
, key = conf.key
, palette = conf.palette
, countryOptions = countryOptions_
, toOptionEl =
viewOptionEl
{ search = model.search
, msgOnSelect = R10.FormComponents.Internal.Phone.Common.OnOptionSelect >> conf.toMsg
}
, selectOptionHeight = 36
, maxDisplayCount = 5
, leadingIcon =
Just <|
getFlagButton
{ palette = conf.palette
, disabled = conf.disabled
, toMsg = conf.toMsg
, key = conf.key
, filteredCountryOptions = filteredCountryOptions
, model = model
}
, trailingIcon = Just <| defaultTrailingIcon { opened = model.opened, palette = conf.palette }
}
in
R10.FormComponents.Internal.Phone.Views.view attrs model args
| true | module R10.FormComponents.Internal.Phone exposing
( countryOptions
, defaultTrailingIcon
, extraCss
, view
)
import Element exposing (..)
import Element.Events as Events
import Element.Font as Font
import Html.Attributes
import R10.Color.Utils
import R10.Country
import R10.FormComponents.Internal.IconButton
import R10.FormComponents.Internal.Phone.Common
import R10.FormComponents.Internal.Phone.Update
import R10.FormComponents.Internal.Phone.Views
import R10.FormComponents.Internal.Style
import R10.FormComponents.Internal.UI
import R10.FormComponents.Internal.UI.Color
import R10.FormComponents.Internal.Utils
import R10.FormTypes
import R10.SimpleMarkdown
import String.Extra
-- todo implement disabled style
-- todo implement custom logic for Radio (remove Input.Radio due to lack of customization. eg cannot apply disabled style)
-- About best UX for Radio Buttons:
-- https://uxplanet.org/radio-buttons-ux-design-588e5c0a50dc
-- constants
extraCss : String
extraCss =
""
defaultTrailingIcon : { a | opened : Bool, palette : R10.FormTypes.Palette } -> Element msg
defaultTrailingIcon { opened, palette } =
R10.FormComponents.Internal.IconButton.view []
{ msgOnClick = Nothing
, icon =
R10.FormComponents.Internal.UI.icons.combobox_arrow
[ rotate <|
degrees
(if opened then
180
else
0
)
, htmlAttribute <| Html.Attributes.style "transition" "all 0.13s"
]
(R10.FormComponents.Internal.UI.Color.label palette)
24
, palette = palette
, size = 24
}
--helpers Public
update : R10.FormComponents.Internal.Phone.Common.Msg -> R10.FormComponents.Internal.Phone.Common.Model -> ( R10.FormComponents.Internal.Phone.Common.Model, Cmd R10.FormComponents.Internal.Phone.Common.Msg )
update =
R10.FormComponents.Internal.Phone.Update.update
getFlagIcon : Int -> Maybe R10.Country.Country -> Element msg
getFlagIcon size maybeCountry =
el
[ Font.size size ]
<|
text
(case maybeCountry of
Just country ->
R10.Country.toFlag country
Nothing ->
R10.Country.emptyFlag
)
insertBold : List Int -> String -> String
insertBold indexes string =
string
|> R10.FormComponents.Internal.Utils.stringInsertAtMulti "**" indexes
|> String.Extra.surround "**"
viewOptionEl :
{ a
| search : String
, msgOnSelect : R10.Country.Country -> msg
}
-> R10.Country.Country
-> Element msg
viewOptionEl { search, msgOnSelect } country =
let
label =
R10.Country.toString country
insertPositions : List Int
insertPositions =
String.indexes (search |> R10.FormComponents.Internal.Phone.Common.normalizeString) (label |> R10.FormComponents.Internal.Phone.Common.normalizeString)
|> List.concatMap (\idx -> [ idx, idx + String.length search ])
withBold : String
withBold =
if List.isEmpty insertPositions then
label
else
insertBold insertPositions label
in
row
[ width fill
, height fill
, htmlAttribute <| Html.Attributes.style "z-index" "0"
, Events.onClick <| msgOnSelect country
, pointer
, paddingXY 12 0
, spacing 8
-- gradient for label overflow
, htmlAttribute <| Html.Attributes.style "mask-image" "linear-gradient(right, rgba(255,255,0,0), rgba(255,255,0, 1) 16px)"
, htmlAttribute <| Html.Attributes.style "-webkit-mask-image" "-webkit-linear-gradient(right, rgba(255,255,0,0) 10px, rgba(255,255,0, 1) 16px)"
]
[ getFlagIcon 24 <| Just country
, row [] (withBold |> R10.SimpleMarkdown.elementMarkdown)
, el [ alpha 0.5 ] <| text ("(" ++ R10.Country.toCountryTelCode country ++ ")")
]
getFlagButton :
{ palette : R10.FormTypes.Palette
, disabled : Bool
, toMsg : R10.FormComponents.Internal.Phone.Common.Msg -> msg
, key : String
, filteredCountryOptions : List R10.Country.Country
, model : R10.FormComponents.Internal.Phone.Common.Model
}
-> Element msg
getFlagButton { palette, disabled, toMsg, key, filteredCountryOptions, model } =
R10.FormComponents.Internal.IconButton.view []
{ msgOnClick =
if disabled then
Nothing
else
Just <|
toMsg <|
R10.FormComponents.Internal.Phone.Update.getMsgOnFlagClick model
{ key = PI:KEY:<KEY>END_PI
, selectOptionHeight = 36
, maxDisplayCount = 5
}
filteredCountryOptions
, icon =
row [ width fill, centerY, centerX, moveLeft 2 ]
[ model.countryValue
|> getFlagIcon 20
|> el
[ width fill
, centerY
, centerX
, moveDown 2
]
, R10.FormComponents.Internal.UI.icons.combobox_arrow
[ width fill
, moveLeft 1
, centerY
, centerX
]
(R10.FormComponents.Internal.UI.Color.label palette)
16
]
, palette = palette
, size = 24
}
countryOptions : List R10.Country.Country
countryOptions =
R10.Country.list
view :
List (Attribute msg)
-> R10.FormComponents.Internal.Phone.Common.Model
->
{ valid : Maybe Bool
, toMsg : R10.FormComponents.Internal.Phone.Common.Msg -> msg
, label : String
, helperText : Maybe String
, disabled : Bool
, requiredLabel : Maybe String
, style : R10.FormComponents.Internal.Style.Style
, key : String
, palette : R10.FormTypes.Palette
, countryOptions : Maybe (List R10.Country.Country)
}
-> Element msg
view attrs model conf =
let
countryOptions_ : List R10.Country.Country
countryOptions_ =
conf.countryOptions
|> Maybe.withDefault countryOptions
filteredCountryOptions : List R10.Country.Country
filteredCountryOptions =
countryOptions_
|> R10.FormComponents.Internal.Phone.Common.filterBySearch model.search
args : R10.FormComponents.Internal.Phone.Common.Args msg
args =
{ valid = conf.valid
, toMsg = conf.toMsg
, label = conf.label
, helperText = conf.helperText
, disabled = conf.disabled
, requiredLabel = conf.requiredLabel
, style = conf.style
, key = conf.key
, palette = conf.palette
, countryOptions = countryOptions_
, toOptionEl =
viewOptionEl
{ search = model.search
, msgOnSelect = R10.FormComponents.Internal.Phone.Common.OnOptionSelect >> conf.toMsg
}
, selectOptionHeight = 36
, maxDisplayCount = 5
, leadingIcon =
Just <|
getFlagButton
{ palette = conf.palette
, disabled = conf.disabled
, toMsg = conf.toMsg
, key = conf.key
, filteredCountryOptions = filteredCountryOptions
, model = model
}
, trailingIcon = Just <| defaultTrailingIcon { opened = model.opened, palette = conf.palette }
}
in
R10.FormComponents.Internal.Phone.Views.view attrs model args
| elm |
[
{
"context": "\n { check = scan\n , info =\n { key = \"DuplicateImportedVariable\"\n , name = \"Duplicate Imported Variable\"\n ",
"end": 808,
"score": 0.5819234848,
"start": 783,
"tag": "KEY",
"value": "DuplicateImportedVariable"
}
] | src/Analyser/Checks/DuplicateImportedVariable.elm | matiashf/elm-analyse | 453 | module Analyser.Checks.DuplicateImportedVariable exposing (checker)
import AST.Ranges as Range
import ASTUtil.Inspector as Inspector exposing (Order(..), defaultConfig)
import Analyser.Checks.Base exposing (Checker)
import Analyser.Configuration exposing (Configuration)
import Analyser.FileContext exposing (FileContext)
import Analyser.Messages.Data as Data exposing (MessageData)
import Analyser.Messages.Schema as Schema
import Dict exposing (Dict)
import Elm.Syntax.Exposing exposing (Exposing(..), TopLevelExpose(..))
import Elm.Syntax.Import exposing (Import)
import Elm.Syntax.ModuleName exposing (ModuleName)
import Elm.Syntax.Node as Node exposing (Node(..))
import Elm.Syntax.Range as Syntax
checker : Checker
checker =
{ check = scan
, info =
{ key = "DuplicateImportedVariable"
, name = "Duplicate Imported Variable"
, description = "Importing a variable twice from the same module is noise. Remove this."
, schema =
Schema.schema
|> Schema.rangeListProp "ranges"
|> Schema.varProp "varName"
|> Schema.moduleProp "moduleName"
}
}
type alias Context =
{ constructors : Dict ModuleName (Dict String (List Syntax.Range))
, functionOrValues : Dict ModuleName (Dict String (List Syntax.Range))
}
scan : FileContext -> Configuration -> List MessageData
scan fileContext _ =
let
result =
Inspector.inspect
{ defaultConfig
| onImport = Post onImport
, onFunction = Skip
}
fileContext.ast
{ constructors = Dict.empty, functionOrValues = Dict.empty }
in
(findViolations result.functionOrValues ++ findViolations result.constructors)
|> List.map asMessageData
asMessageData : ( ModuleName, String, List Syntax.Range ) -> MessageData
asMessageData ( a, b, rs ) =
Data.init
(String.concat
[ "Variable `"
, b
, "` imported multiple times module `"
, String.join "." a
, "` at [ "
, String.join " | " (List.map Range.rangeToString rs)
, " ]"
]
)
|> Data.addModuleName "moduleName" a
|> Data.addVarName "varName" b
|> Data.addRanges "ranges" rs
findViolations : Dict ModuleName (Dict String (List Syntax.Range)) -> List ( ModuleName, String, List Syntax.Range )
findViolations d =
d
|> Dict.toList
|> List.concatMap (\( m, e ) -> Dict.toList e |> List.map (\( n, rs ) -> ( m, n, rs )))
|> List.filter (\( _, _, rs ) -> List.length rs >= 2)
onImport : Node Import -> Context -> Context
onImport (Node _ imp) context =
let
( cs, vs ) =
constructorsAndValues imp
in
{ context
| constructors = Dict.update (Node.value imp.moduleName) (Maybe.withDefault Dict.empty >> mergeImportedValue cs >> Just) context.constructors
, functionOrValues =
Dict.update (Node.value imp.moduleName)
(Maybe.withDefault Dict.empty >> mergeImportedValue vs >> Just)
context.functionOrValues
}
mergeImportedValue : List (Node String) -> Dict String (List Syntax.Range) -> Dict String (List Syntax.Range)
mergeImportedValue l entry =
let
addPair (Node v k) d =
Dict.update k
(\old ->
old
|> Maybe.map ((::) v)
|> Maybe.withDefault [ v ]
|> Just
)
d
in
List.foldl addPair entry l
constructorsAndValues : Import -> ( List (Node String), List (Node String) )
constructorsAndValues imp =
( []
, case imp.exposingList of
Nothing ->
[]
Just (Node _ (All _)) ->
[]
Just (Node _ (Explicit xs)) ->
List.map exposingValues xs
)
exposingValues : Node TopLevelExpose -> Node String
exposingValues (Node r t) =
Node r <|
case t of
TypeExpose s ->
s.name
InfixExpose s ->
s
FunctionExpose s ->
s
TypeOrAliasExpose s ->
s
| 22129 | module Analyser.Checks.DuplicateImportedVariable exposing (checker)
import AST.Ranges as Range
import ASTUtil.Inspector as Inspector exposing (Order(..), defaultConfig)
import Analyser.Checks.Base exposing (Checker)
import Analyser.Configuration exposing (Configuration)
import Analyser.FileContext exposing (FileContext)
import Analyser.Messages.Data as Data exposing (MessageData)
import Analyser.Messages.Schema as Schema
import Dict exposing (Dict)
import Elm.Syntax.Exposing exposing (Exposing(..), TopLevelExpose(..))
import Elm.Syntax.Import exposing (Import)
import Elm.Syntax.ModuleName exposing (ModuleName)
import Elm.Syntax.Node as Node exposing (Node(..))
import Elm.Syntax.Range as Syntax
checker : Checker
checker =
{ check = scan
, info =
{ key = "<KEY>"
, name = "Duplicate Imported Variable"
, description = "Importing a variable twice from the same module is noise. Remove this."
, schema =
Schema.schema
|> Schema.rangeListProp "ranges"
|> Schema.varProp "varName"
|> Schema.moduleProp "moduleName"
}
}
type alias Context =
{ constructors : Dict ModuleName (Dict String (List Syntax.Range))
, functionOrValues : Dict ModuleName (Dict String (List Syntax.Range))
}
scan : FileContext -> Configuration -> List MessageData
scan fileContext _ =
let
result =
Inspector.inspect
{ defaultConfig
| onImport = Post onImport
, onFunction = Skip
}
fileContext.ast
{ constructors = Dict.empty, functionOrValues = Dict.empty }
in
(findViolations result.functionOrValues ++ findViolations result.constructors)
|> List.map asMessageData
asMessageData : ( ModuleName, String, List Syntax.Range ) -> MessageData
asMessageData ( a, b, rs ) =
Data.init
(String.concat
[ "Variable `"
, b
, "` imported multiple times module `"
, String.join "." a
, "` at [ "
, String.join " | " (List.map Range.rangeToString rs)
, " ]"
]
)
|> Data.addModuleName "moduleName" a
|> Data.addVarName "varName" b
|> Data.addRanges "ranges" rs
findViolations : Dict ModuleName (Dict String (List Syntax.Range)) -> List ( ModuleName, String, List Syntax.Range )
findViolations d =
d
|> Dict.toList
|> List.concatMap (\( m, e ) -> Dict.toList e |> List.map (\( n, rs ) -> ( m, n, rs )))
|> List.filter (\( _, _, rs ) -> List.length rs >= 2)
onImport : Node Import -> Context -> Context
onImport (Node _ imp) context =
let
( cs, vs ) =
constructorsAndValues imp
in
{ context
| constructors = Dict.update (Node.value imp.moduleName) (Maybe.withDefault Dict.empty >> mergeImportedValue cs >> Just) context.constructors
, functionOrValues =
Dict.update (Node.value imp.moduleName)
(Maybe.withDefault Dict.empty >> mergeImportedValue vs >> Just)
context.functionOrValues
}
mergeImportedValue : List (Node String) -> Dict String (List Syntax.Range) -> Dict String (List Syntax.Range)
mergeImportedValue l entry =
let
addPair (Node v k) d =
Dict.update k
(\old ->
old
|> Maybe.map ((::) v)
|> Maybe.withDefault [ v ]
|> Just
)
d
in
List.foldl addPair entry l
constructorsAndValues : Import -> ( List (Node String), List (Node String) )
constructorsAndValues imp =
( []
, case imp.exposingList of
Nothing ->
[]
Just (Node _ (All _)) ->
[]
Just (Node _ (Explicit xs)) ->
List.map exposingValues xs
)
exposingValues : Node TopLevelExpose -> Node String
exposingValues (Node r t) =
Node r <|
case t of
TypeExpose s ->
s.name
InfixExpose s ->
s
FunctionExpose s ->
s
TypeOrAliasExpose s ->
s
| true | module Analyser.Checks.DuplicateImportedVariable exposing (checker)
import AST.Ranges as Range
import ASTUtil.Inspector as Inspector exposing (Order(..), defaultConfig)
import Analyser.Checks.Base exposing (Checker)
import Analyser.Configuration exposing (Configuration)
import Analyser.FileContext exposing (FileContext)
import Analyser.Messages.Data as Data exposing (MessageData)
import Analyser.Messages.Schema as Schema
import Dict exposing (Dict)
import Elm.Syntax.Exposing exposing (Exposing(..), TopLevelExpose(..))
import Elm.Syntax.Import exposing (Import)
import Elm.Syntax.ModuleName exposing (ModuleName)
import Elm.Syntax.Node as Node exposing (Node(..))
import Elm.Syntax.Range as Syntax
checker : Checker
checker =
{ check = scan
, info =
{ key = "PI:KEY:<KEY>END_PI"
, name = "Duplicate Imported Variable"
, description = "Importing a variable twice from the same module is noise. Remove this."
, schema =
Schema.schema
|> Schema.rangeListProp "ranges"
|> Schema.varProp "varName"
|> Schema.moduleProp "moduleName"
}
}
type alias Context =
{ constructors : Dict ModuleName (Dict String (List Syntax.Range))
, functionOrValues : Dict ModuleName (Dict String (List Syntax.Range))
}
scan : FileContext -> Configuration -> List MessageData
scan fileContext _ =
let
result =
Inspector.inspect
{ defaultConfig
| onImport = Post onImport
, onFunction = Skip
}
fileContext.ast
{ constructors = Dict.empty, functionOrValues = Dict.empty }
in
(findViolations result.functionOrValues ++ findViolations result.constructors)
|> List.map asMessageData
asMessageData : ( ModuleName, String, List Syntax.Range ) -> MessageData
asMessageData ( a, b, rs ) =
Data.init
(String.concat
[ "Variable `"
, b
, "` imported multiple times module `"
, String.join "." a
, "` at [ "
, String.join " | " (List.map Range.rangeToString rs)
, " ]"
]
)
|> Data.addModuleName "moduleName" a
|> Data.addVarName "varName" b
|> Data.addRanges "ranges" rs
findViolations : Dict ModuleName (Dict String (List Syntax.Range)) -> List ( ModuleName, String, List Syntax.Range )
findViolations d =
d
|> Dict.toList
|> List.concatMap (\( m, e ) -> Dict.toList e |> List.map (\( n, rs ) -> ( m, n, rs )))
|> List.filter (\( _, _, rs ) -> List.length rs >= 2)
onImport : Node Import -> Context -> Context
onImport (Node _ imp) context =
let
( cs, vs ) =
constructorsAndValues imp
in
{ context
| constructors = Dict.update (Node.value imp.moduleName) (Maybe.withDefault Dict.empty >> mergeImportedValue cs >> Just) context.constructors
, functionOrValues =
Dict.update (Node.value imp.moduleName)
(Maybe.withDefault Dict.empty >> mergeImportedValue vs >> Just)
context.functionOrValues
}
mergeImportedValue : List (Node String) -> Dict String (List Syntax.Range) -> Dict String (List Syntax.Range)
mergeImportedValue l entry =
let
addPair (Node v k) d =
Dict.update k
(\old ->
old
|> Maybe.map ((::) v)
|> Maybe.withDefault [ v ]
|> Just
)
d
in
List.foldl addPair entry l
constructorsAndValues : Import -> ( List (Node String), List (Node String) )
constructorsAndValues imp =
( []
, case imp.exposingList of
Nothing ->
[]
Just (Node _ (All _)) ->
[]
Just (Node _ (Explicit xs)) ->
List.map exposingValues xs
)
exposingValues : Node TopLevelExpose -> Node String
exposingValues (Node r t) =
Node r <|
case t of
TypeExpose s ->
s.name
InfixExpose s ->
s
FunctionExpose s ->
s
TypeOrAliasExpose s ->
s
| elm |
[
{
"context": "acted value.\n\n > let alice = { id = 1, name = \"Alice\" }\n | bob = { id = 2, name = \"Bob\" }\n |",
"end": 258,
"score": 0.9997907281,
"start": 253,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ame = \"Alice\" }\n | bob = { id = 2, name = \"Bob\" }\n | users =\n | in List.filter (byKey ",
"end": 299,
"score": 0.9997570515,
"start": 296,
"tag": "NAME",
"value": "Bob"
},
{
"context": "filter (byKey .id 2) users\n [{ id = 2, name = \"Bob\" }]\n\n-}\nbyKey : (a -> b) -> b -> a -> Bool\nbyKey ",
"end": 388,
"score": 0.9997091889,
"start": 385,
"tag": "NAME",
"value": "Bob"
}
] | src/Extras/Core.elm | reiner-dolp/elm-extras | 0 | module Extras.Core exposing
( byKey
, flip
, unless
)
{-| General convenience functions.
@docs byKey
@docs flip
@docs unless
-}
{-| Create a predicate that matches on a specific extracted value.
> let alice = { id = 1, name = "Alice" }
| bob = { id = 2, name = "Bob" }
| users =
| in List.filter (byKey .id 2) users
[{ id = 2, name = "Bob" }]
-}
byKey : (a -> b) -> b -> a -> Bool
byKey extract key =
extract >> (==) key
{-| Change the order of the arguments of a two argument function.
> flip (++) "Hello" "World"
"WorldHello" : String
-}
flip : (a -> b -> c) -> (b -> a -> c)
flip f a b =
f b a
{-| Negated, functional if-then-else.
Checks a condition and returns the respective value.
Allows writing more natural conditional atttributes, elements, etc:
div [] [ unless isLoggedIn (text "not logged in") (a [] [ text "logout" ]) ]
-}
unless : Bool -> a -> a -> a
unless condition onFalse onTrue =
if condition then
onTrue
else
onFalse
| 3606 | module Extras.Core exposing
( byKey
, flip
, unless
)
{-| General convenience functions.
@docs byKey
@docs flip
@docs unless
-}
{-| Create a predicate that matches on a specific extracted value.
> let alice = { id = 1, name = "<NAME>" }
| bob = { id = 2, name = "<NAME>" }
| users =
| in List.filter (byKey .id 2) users
[{ id = 2, name = "<NAME>" }]
-}
byKey : (a -> b) -> b -> a -> Bool
byKey extract key =
extract >> (==) key
{-| Change the order of the arguments of a two argument function.
> flip (++) "Hello" "World"
"WorldHello" : String
-}
flip : (a -> b -> c) -> (b -> a -> c)
flip f a b =
f b a
{-| Negated, functional if-then-else.
Checks a condition and returns the respective value.
Allows writing more natural conditional atttributes, elements, etc:
div [] [ unless isLoggedIn (text "not logged in") (a [] [ text "logout" ]) ]
-}
unless : Bool -> a -> a -> a
unless condition onFalse onTrue =
if condition then
onTrue
else
onFalse
| true | module Extras.Core exposing
( byKey
, flip
, unless
)
{-| General convenience functions.
@docs byKey
@docs flip
@docs unless
-}
{-| Create a predicate that matches on a specific extracted value.
> let alice = { id = 1, name = "PI:NAME:<NAME>END_PI" }
| bob = { id = 2, name = "PI:NAME:<NAME>END_PI" }
| users =
| in List.filter (byKey .id 2) users
[{ id = 2, name = "PI:NAME:<NAME>END_PI" }]
-}
byKey : (a -> b) -> b -> a -> Bool
byKey extract key =
extract >> (==) key
{-| Change the order of the arguments of a two argument function.
> flip (++) "Hello" "World"
"WorldHello" : String
-}
flip : (a -> b -> c) -> (b -> a -> c)
flip f a b =
f b a
{-| Negated, functional if-then-else.
Checks a condition and returns the respective value.
Allows writing more natural conditional atttributes, elements, etc:
div [] [ unless isLoggedIn (text "not logged in") (a [] [ text "logout" ]) ]
-}
unless : Bool -> a -> a -> a
unless condition onFalse onTrue =
if condition then
onTrue
else
onFalse
| elm |
[
{
"context": "[] [ text \"These sneakers are a collaboration with Nike and Off-White on the Women's Jordan 4 model.\"]\n ",
"end": 1926,
"score": 0.6847795248,
"start": 1922,
"tag": "NAME",
"value": "Nike"
},
{
"context": " p [] [ text \"These shoes are a collaboration with Nike and Dior on both the Air Jordan 1 Low and High mo",
"end": 2508,
"score": 0.7913014293,
"start": 2504,
"tag": "NAME",
"value": "Nike"
},
{
"context": "ext \"These shoes are a collaboration with Nike and Dior on both the Air Jordan 1 Low and High models. \"]\n",
"end": 2517,
"score": 0.7455468178,
"start": 2513,
"tag": "NAME",
"value": "Dior"
},
{
"context": "[] [ text \"These sneakers are a collaboration with Travis Scott's Cactus Jack record label and Nike on the Air Ma",
"end": 3258,
"score": 0.9998236299,
"start": 3246,
"tag": "NAME",
"value": "Travis Scott"
},
{
"context": "\n , div [ class \"body-div\"] [h2 [] [ text \"Ben & Jerry's x Nike SB Dunk Low Chunky Dunky\"]\n ",
"end": 3628,
"score": 0.9993129373,
"start": 3625,
"tag": "NAME",
"value": "Ben"
},
{
"context": " , div [ class \"body-div\"] [h2 [] [ text \"Ben & Jerry's x Nike SB Dunk Low Chunky Dunky\"]\n , img",
"end": 3636,
"score": 0.7691162825,
"start": 3631,
"tag": "NAME",
"value": "Jerry"
},
{
"context": "kers are a collaboration with Nike Skate Brand and Ben & Jerry's ice cream on the SB Dunk Low model.\"]\n ,",
"end": 3950,
"score": 0.8057768941,
"start": 3939,
"tag": "NAME",
"value": "Ben & Jerry"
}
] | src/Main.elm | jbentleyjp/jbs-shoe-news | 0 | module Main exposing (..)
import Browser
import Html exposing (Html, text, div, h1, img, p, h2)
import Html.Attributes exposing (src, class)
---- MODEL ----
type alias Model =
{}
init : ( Model, Cmd Msg )
init =
( {}, Cmd.none )
---- UPDATE ----
type Msg
= NoOp
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
( model, Cmd.none )
---- VIEW ----
view : Model -> Html Msg
view model =
div []
[ h1 [] [ text "JB's Sneaker News" ]
, div [ class "body-div"] [h2 [] [ text "Clot x Nike Air Max 1 Kiss of Death"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/05/C1AEEC74-DFF1-481C-B01D-79FF218ED13A.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Clot on the Air Max 1 model."]
, p [] [ text "They are expected to release sometime in 2021 and the retail is currently unknown."]
, p [] [ text "Clot and Nike's recent collaborations have been extremely popular and have had very high resale. The same is expected for these."]
]
, div [ class "body-div"] [h2 [] [ text "Greatful Dead x Nike SB Dunk Low Dancing Bear"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/05/CC76E8DF-8674-448F-AD8A-35DDE76830EA.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Greatful Dead on the SB Dunk Low model."]
, p [] [ text "They are expected to release sometime around October 2020. The predicted retail is around 12,000 yen"]
, p [] [ text "It's expected that there will be fairly high resale prices with really good margins."]
]
, div [ class "body-div"] [h2 [] [ text "Off-White x Nike Women's Air Jordan 4 Retro SP Sail"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/02/9AD6D1E6-A44A-47FE-813A-68FE300EC426.jpeg"] []
, p [] [ text "These sneakers are a collaboration with Nike and Off-White on the Women's Jordan 4 model."]
, p [] [ text "They are expected to release sometime July 2020, but the date is undetermined."]
, p [] [ text "Although the retail price is currently unknown, these sneakers are still expected to resell for around 70,000 yen."]
]
, div [ class "body-div"] [h2 [] [ text "Dior x Nike Air Jordan 1 Low & High OG"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/01/2DB00746-670B-4519-AD75-0669C1199B28-768x480.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Dior on both the Air Jordan 1 Low and High models. "]
, p [] [ text "These sneakers have been delayed once due to covid-19, and are now expected to release July 7 2020 for a huge 240,000 yen."]
, p [] [ text "Although the retail is extremely high, sources claim ther will only be 8500 pairs world-wide, therefore resale is expected to also be very large."]
]
, div [ class "body-div"] [h2 [] [ text "Travis Scott x Nike Air Max 270 Cactus Trails"]
, img [ src "https://static.nike.com/a/images/t_prod_ss/w_640,c_limit,f_auto/1dbb8e00-d0ae-4f61-b665-4d43021991e2/nike-x-travis-scott-air-max-270-cactus-trails-release-date.jpg"] []
, p [] [ text "These sneakers are a collaboration with Travis Scott's Cactus Jack record label and Nike on the Air Max 270 model."]
, p [] [text "They are set to release in Japan Friday May 29th 2020 at 9:30 on SNKRS app and release at various stores for 20,350 yen."]
, p [] [text "These sneakers are expected to resell for 60,000 - 70,000 yen on day one."]
]
, div [ class "body-div"] [h2 [] [ text "Ben & Jerry's x Nike SB Dunk Low Chunky Dunky"]
, img [ src "https://static.nike.com/a/images/t_prod_ss/w_640,c_limit,f_auto/07b5fdc5-8bfa-45ba-9a38-5d6c82b12559/sb-dunk-low-x-ben-jerrys-chunky-dunky-release-date.jpg"] []
, p [] [ text "These sneakers are a collaboration with Nike Skate Brand and Ben & Jerry's ice cream on the SB Dunk Low model."]
, p [] [ text "These shoes released May 25th 2020 for 12,100 yen"]
, p [] [ text "These sneakers are currently reselling from 120,000 - 170,000 yen depending on the size"]
]
]
---- PROGRAM ----
main : Program () Model Msg
main =
Browser.element
{ view = view
, init = \_ -> init
, update = update
, subscriptions = always Sub.none
}
| 36563 | module Main exposing (..)
import Browser
import Html exposing (Html, text, div, h1, img, p, h2)
import Html.Attributes exposing (src, class)
---- MODEL ----
type alias Model =
{}
init : ( Model, Cmd Msg )
init =
( {}, Cmd.none )
---- UPDATE ----
type Msg
= NoOp
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
( model, Cmd.none )
---- VIEW ----
view : Model -> Html Msg
view model =
div []
[ h1 [] [ text "JB's Sneaker News" ]
, div [ class "body-div"] [h2 [] [ text "Clot x Nike Air Max 1 Kiss of Death"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/05/C1AEEC74-DFF1-481C-B01D-79FF218ED13A.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Clot on the Air Max 1 model."]
, p [] [ text "They are expected to release sometime in 2021 and the retail is currently unknown."]
, p [] [ text "Clot and Nike's recent collaborations have been extremely popular and have had very high resale. The same is expected for these."]
]
, div [ class "body-div"] [h2 [] [ text "Greatful Dead x Nike SB Dunk Low Dancing Bear"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/05/CC76E8DF-8674-448F-AD8A-35DDE76830EA.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Greatful Dead on the SB Dunk Low model."]
, p [] [ text "They are expected to release sometime around October 2020. The predicted retail is around 12,000 yen"]
, p [] [ text "It's expected that there will be fairly high resale prices with really good margins."]
]
, div [ class "body-div"] [h2 [] [ text "Off-White x Nike Women's Air Jordan 4 Retro SP Sail"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/02/9AD6D1E6-A44A-47FE-813A-68FE300EC426.jpeg"] []
, p [] [ text "These sneakers are a collaboration with <NAME> and Off-White on the Women's Jordan 4 model."]
, p [] [ text "They are expected to release sometime July 2020, but the date is undetermined."]
, p [] [ text "Although the retail price is currently unknown, these sneakers are still expected to resell for around 70,000 yen."]
]
, div [ class "body-div"] [h2 [] [ text "Dior x Nike Air Jordan 1 Low & High OG"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/01/2DB00746-670B-4519-AD75-0669C1199B28-768x480.jpeg"] []
, p [] [ text "These shoes are a collaboration with <NAME> and <NAME> on both the Air Jordan 1 Low and High models. "]
, p [] [ text "These sneakers have been delayed once due to covid-19, and are now expected to release July 7 2020 for a huge 240,000 yen."]
, p [] [ text "Although the retail is extremely high, sources claim ther will only be 8500 pairs world-wide, therefore resale is expected to also be very large."]
]
, div [ class "body-div"] [h2 [] [ text "Travis Scott x Nike Air Max 270 Cactus Trails"]
, img [ src "https://static.nike.com/a/images/t_prod_ss/w_640,c_limit,f_auto/1dbb8e00-d0ae-4f61-b665-4d43021991e2/nike-x-travis-scott-air-max-270-cactus-trails-release-date.jpg"] []
, p [] [ text "These sneakers are a collaboration with <NAME>'s Cactus Jack record label and Nike on the Air Max 270 model."]
, p [] [text "They are set to release in Japan Friday May 29th 2020 at 9:30 on SNKRS app and release at various stores for 20,350 yen."]
, p [] [text "These sneakers are expected to resell for 60,000 - 70,000 yen on day one."]
]
, div [ class "body-div"] [h2 [] [ text "<NAME> & <NAME>'s x Nike SB Dunk Low Chunky Dunky"]
, img [ src "https://static.nike.com/a/images/t_prod_ss/w_640,c_limit,f_auto/07b5fdc5-8bfa-45ba-9a38-5d6c82b12559/sb-dunk-low-x-ben-jerrys-chunky-dunky-release-date.jpg"] []
, p [] [ text "These sneakers are a collaboration with Nike Skate Brand and <NAME>'s ice cream on the SB Dunk Low model."]
, p [] [ text "These shoes released May 25th 2020 for 12,100 yen"]
, p [] [ text "These sneakers are currently reselling from 120,000 - 170,000 yen depending on the size"]
]
]
---- PROGRAM ----
main : Program () Model Msg
main =
Browser.element
{ view = view
, init = \_ -> init
, update = update
, subscriptions = always Sub.none
}
| true | module Main exposing (..)
import Browser
import Html exposing (Html, text, div, h1, img, p, h2)
import Html.Attributes exposing (src, class)
---- MODEL ----
type alias Model =
{}
init : ( Model, Cmd Msg )
init =
( {}, Cmd.none )
---- UPDATE ----
type Msg
= NoOp
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
( model, Cmd.none )
---- VIEW ----
view : Model -> Html Msg
view model =
div []
[ h1 [] [ text "JB's Sneaker News" ]
, div [ class "body-div"] [h2 [] [ text "Clot x Nike Air Max 1 Kiss of Death"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/05/C1AEEC74-DFF1-481C-B01D-79FF218ED13A.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Clot on the Air Max 1 model."]
, p [] [ text "They are expected to release sometime in 2021 and the retail is currently unknown."]
, p [] [ text "Clot and Nike's recent collaborations have been extremely popular and have had very high resale. The same is expected for these."]
]
, div [ class "body-div"] [h2 [] [ text "Greatful Dead x Nike SB Dunk Low Dancing Bear"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/05/CC76E8DF-8674-448F-AD8A-35DDE76830EA.jpeg"] []
, p [] [ text "These shoes are a collaboration with Nike and Greatful Dead on the SB Dunk Low model."]
, p [] [ text "They are expected to release sometime around October 2020. The predicted retail is around 12,000 yen"]
, p [] [ text "It's expected that there will be fairly high resale prices with really good margins."]
]
, div [ class "body-div"] [h2 [] [ text "Off-White x Nike Women's Air Jordan 4 Retro SP Sail"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/02/9AD6D1E6-A44A-47FE-813A-68FE300EC426.jpeg"] []
, p [] [ text "These sneakers are a collaboration with PI:NAME:<NAME>END_PI and Off-White on the Women's Jordan 4 model."]
, p [] [ text "They are expected to release sometime July 2020, but the date is undetermined."]
, p [] [ text "Although the retail price is currently unknown, these sneakers are still expected to resell for around 70,000 yen."]
]
, div [ class "body-div"] [h2 [] [ text "Dior x Nike Air Jordan 1 Low & High OG"]
, img [ src "https://uptodate.tokyo/wp-content/uploads/2020/01/2DB00746-670B-4519-AD75-0669C1199B28-768x480.jpeg"] []
, p [] [ text "These shoes are a collaboration with PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI on both the Air Jordan 1 Low and High models. "]
, p [] [ text "These sneakers have been delayed once due to covid-19, and are now expected to release July 7 2020 for a huge 240,000 yen."]
, p [] [ text "Although the retail is extremely high, sources claim ther will only be 8500 pairs world-wide, therefore resale is expected to also be very large."]
]
, div [ class "body-div"] [h2 [] [ text "Travis Scott x Nike Air Max 270 Cactus Trails"]
, img [ src "https://static.nike.com/a/images/t_prod_ss/w_640,c_limit,f_auto/1dbb8e00-d0ae-4f61-b665-4d43021991e2/nike-x-travis-scott-air-max-270-cactus-trails-release-date.jpg"] []
, p [] [ text "These sneakers are a collaboration with PI:NAME:<NAME>END_PI's Cactus Jack record label and Nike on the Air Max 270 model."]
, p [] [text "They are set to release in Japan Friday May 29th 2020 at 9:30 on SNKRS app and release at various stores for 20,350 yen."]
, p [] [text "These sneakers are expected to resell for 60,000 - 70,000 yen on day one."]
]
, div [ class "body-div"] [h2 [] [ text "PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI's x Nike SB Dunk Low Chunky Dunky"]
, img [ src "https://static.nike.com/a/images/t_prod_ss/w_640,c_limit,f_auto/07b5fdc5-8bfa-45ba-9a38-5d6c82b12559/sb-dunk-low-x-ben-jerrys-chunky-dunky-release-date.jpg"] []
, p [] [ text "These sneakers are a collaboration with Nike Skate Brand and PI:NAME:<NAME>END_PI's ice cream on the SB Dunk Low model."]
, p [] [ text "These shoes released May 25th 2020 for 12,100 yen"]
, p [] [ text "These sneakers are currently reselling from 120,000 - 170,000 yen depending on the size"]
]
]
---- PROGRAM ----
main : Program () Model Msg
main =
Browser.element
{ view = view
, init = \_ -> init
, update = update
, subscriptions = always Sub.none
}
| elm |
[
{
"context": "ipt\n* Software Platform: Adobe Flash\n* Instructor: Blair Yeung-Meadows\n* Time: Year 12 - Highschool\n\n### How To Play\n\n* ",
"end": 873,
"score": 0.9998339415,
"start": 854,
"tag": "NAME",
"value": "Blair Yeung-Meadows"
},
{
"context": "ipt\n* Software Platform: Adobe Flash\n* Instructor: Blair Yeung-Meadows\n* Time: Year 12 - Highschool\n\n### How To Play\n\n* ",
"end": 1264,
"score": 0.999787569,
"start": 1245,
"tag": "NAME",
"value": "Blair Yeung-Meadows"
},
{
"context": "ipt\n* Software Platform: Adobe Flash\n* Instructor: Blair Yeung-Meadows\n* Time: Year 11 - Highschool\n\n### How To Play\n\n* ",
"end": 1614,
"score": 0.9998414516,
"start": 1595,
"tag": "NAME",
"value": "Blair Yeung-Meadows"
},
{
"context": "*\n\n[The Rest of the Portfolio](https://github.com/branjwong/portfolio)\n===========================\n\n* C\n *",
"end": 1826,
"score": 0.9994852543,
"start": 1817,
"tag": "USERNAME",
"value": "branjwong"
},
{
"context": "Resume and Portfolio Website\n * github.com/branjwong/website\n* Fireworks\n * Personal Logo\n * Sas",
"end": 2203,
"score": 0.9994257092,
"start": 2194,
"tag": "USERNAME",
"value": "branjwong"
},
{
"context": "* *\n\n[This Site's Source Code](https://github.com/branjwong/bjw-site)\n=========================\n\n* Frontend: ",
"end": 2429,
"score": 0.8397440314,
"start": 2420,
"tag": "USERNAME",
"value": "branjwong"
}
] | src/pages/Programming.elm | branjwong/personal-site | 0 | module Programming exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
--
import Model exposing (..)
import Update exposing (..)
import Markdown
import NavBar
import Notices
import Header
import Footer
import Disqus
view : Model -> Html Msg
view model =
div
[]
[ NavBar.navBar
, NavBar.navBarSpace
, Header.header "Programming" "Where my programming experience is here for viewing."
, programming
, Footer.footer
]
programming : Html msg
programming =
div
[ class "container" ]
[ div
[ class "row" ]
[ Markdown.toHtml [ class "Markdown" ] body ]
]
body : String
body =
"""
[Megaman Project](/megaman)
=================
* IT 12
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: Blair Yeung-Meadows
* Time: Year 12 - Highschool
### How To Play
* Goal: Reduce Metalman's HP to 0
* Use A/S/D/W to move Left/Down/Right/Up
* Press the up button to fire your buster
* Hold the up button to charge your buster
* Move to avoid Metalman's attacks
* * *
[Zelda Project](/zelda)
===============
* IT 12
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: Blair Yeung-Meadows
* Time: Year 12 - Highschool
### How To Play
* Goal: Navigate through Hyrule and find the Triforce
* Click on arrow buttons to navigate
* Click on enemies to defeat them before they attack you
* * *
[Duckhunt Project](/duckhunt)
===============
* IT 11
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: Blair Yeung-Meadows
* Time: Year 11 - Highschool
### How To Play
* Goal: Shoot ducks by clicking on them with the mouse
* Don't let the dog laugh at you for sucking
* * *
[The Rest of the Portfolio](https://github.com/branjwong/portfolio)
===========================
* C
* Build a Shell
* Extended Producer-Consumer Problem
* POSIX Threads and Producer-Consumer
* Codility Demo Problem
* C#
* Megaman
* C++
* Waiting in Line
* Word
* Trees
* Hash Tables and the Dictionary ADT
* Elm
* Bingo
* Online Resume and Portfolio Website
* github.com/branjwong/website
* Fireworks
* Personal Logo
* Sasaki Logo
* HTML/CSS
* Awesome Domain
* Java
* Wizards, Witches, and Horcruxes
* Python
* Wumpas World
* * *
[This Site's Source Code](https://github.com/branjwong/bjw-site)
=========================
* Frontend: [Elm](http://elm-lang.org/), [Bootstrap](http://getbootstrap.com/)
* Backend: [NodeJS](https://nodejs.org/en/)
* Tools Used: [Grunt](http://gruntjs.com/)
* Initial Commit: September 29th, 2015
"""
richardFeldmanQuote : String
richardFeldmanQuote =
"""
One of my coworkers had a great term for this. She said that learning a particular framework is horizontal growth. You get more familiar with that framework but it doesn't enrich your understanding of programming, give you more techniques that you can use in other places. But learning a different paradigm like functional programming is vertical growth. Because not only does it teach you how to use this new particular tool but it also gives you new tools that you can use then bring to other projects with different frameworks, different languages, et cetera. And it's definitely been true in my experience.
"""
| 34931 | module Programming exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
--
import Model exposing (..)
import Update exposing (..)
import Markdown
import NavBar
import Notices
import Header
import Footer
import Disqus
view : Model -> Html Msg
view model =
div
[]
[ NavBar.navBar
, NavBar.navBarSpace
, Header.header "Programming" "Where my programming experience is here for viewing."
, programming
, Footer.footer
]
programming : Html msg
programming =
div
[ class "container" ]
[ div
[ class "row" ]
[ Markdown.toHtml [ class "Markdown" ] body ]
]
body : String
body =
"""
[Megaman Project](/megaman)
=================
* IT 12
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: <NAME>
* Time: Year 12 - Highschool
### How To Play
* Goal: Reduce Metalman's HP to 0
* Use A/S/D/W to move Left/Down/Right/Up
* Press the up button to fire your buster
* Hold the up button to charge your buster
* Move to avoid Metalman's attacks
* * *
[Zelda Project](/zelda)
===============
* IT 12
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: <NAME>
* Time: Year 12 - Highschool
### How To Play
* Goal: Navigate through Hyrule and find the Triforce
* Click on arrow buttons to navigate
* Click on enemies to defeat them before they attack you
* * *
[Duckhunt Project](/duckhunt)
===============
* IT 11
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: <NAME>
* Time: Year 11 - Highschool
### How To Play
* Goal: Shoot ducks by clicking on them with the mouse
* Don't let the dog laugh at you for sucking
* * *
[The Rest of the Portfolio](https://github.com/branjwong/portfolio)
===========================
* C
* Build a Shell
* Extended Producer-Consumer Problem
* POSIX Threads and Producer-Consumer
* Codility Demo Problem
* C#
* Megaman
* C++
* Waiting in Line
* Word
* Trees
* Hash Tables and the Dictionary ADT
* Elm
* Bingo
* Online Resume and Portfolio Website
* github.com/branjwong/website
* Fireworks
* Personal Logo
* Sasaki Logo
* HTML/CSS
* Awesome Domain
* Java
* Wizards, Witches, and Horcruxes
* Python
* Wumpas World
* * *
[This Site's Source Code](https://github.com/branjwong/bjw-site)
=========================
* Frontend: [Elm](http://elm-lang.org/), [Bootstrap](http://getbootstrap.com/)
* Backend: [NodeJS](https://nodejs.org/en/)
* Tools Used: [Grunt](http://gruntjs.com/)
* Initial Commit: September 29th, 2015
"""
richardFeldmanQuote : String
richardFeldmanQuote =
"""
One of my coworkers had a great term for this. She said that learning a particular framework is horizontal growth. You get more familiar with that framework but it doesn't enrich your understanding of programming, give you more techniques that you can use in other places. But learning a different paradigm like functional programming is vertical growth. Because not only does it teach you how to use this new particular tool but it also gives you new tools that you can use then bring to other projects with different frameworks, different languages, et cetera. And it's definitely been true in my experience.
"""
| true | module Programming exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
--
import Model exposing (..)
import Update exposing (..)
import Markdown
import NavBar
import Notices
import Header
import Footer
import Disqus
view : Model -> Html Msg
view model =
div
[]
[ NavBar.navBar
, NavBar.navBarSpace
, Header.header "Programming" "Where my programming experience is here for viewing."
, programming
, Footer.footer
]
programming : Html msg
programming =
div
[ class "container" ]
[ div
[ class "row" ]
[ Markdown.toHtml [ class "Markdown" ] body ]
]
body : String
body =
"""
[Megaman Project](/megaman)
=================
* IT 12
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: PI:NAME:<NAME>END_PI
* Time: Year 12 - Highschool
### How To Play
* Goal: Reduce Metalman's HP to 0
* Use A/S/D/W to move Left/Down/Right/Up
* Press the up button to fire your buster
* Hold the up button to charge your buster
* Move to avoid Metalman's attacks
* * *
[Zelda Project](/zelda)
===============
* IT 12
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: PI:NAME:<NAME>END_PI
* Time: Year 12 - Highschool
### How To Play
* Goal: Navigate through Hyrule and find the Triforce
* Click on arrow buttons to navigate
* Click on enemies to defeat them before they attack you
* * *
[Duckhunt Project](/duckhunt)
===============
* IT 11
* Language: ActionScript
* Software Platform: Adobe Flash
* Instructor: PI:NAME:<NAME>END_PI
* Time: Year 11 - Highschool
### How To Play
* Goal: Shoot ducks by clicking on them with the mouse
* Don't let the dog laugh at you for sucking
* * *
[The Rest of the Portfolio](https://github.com/branjwong/portfolio)
===========================
* C
* Build a Shell
* Extended Producer-Consumer Problem
* POSIX Threads and Producer-Consumer
* Codility Demo Problem
* C#
* Megaman
* C++
* Waiting in Line
* Word
* Trees
* Hash Tables and the Dictionary ADT
* Elm
* Bingo
* Online Resume and Portfolio Website
* github.com/branjwong/website
* Fireworks
* Personal Logo
* Sasaki Logo
* HTML/CSS
* Awesome Domain
* Java
* Wizards, Witches, and Horcruxes
* Python
* Wumpas World
* * *
[This Site's Source Code](https://github.com/branjwong/bjw-site)
=========================
* Frontend: [Elm](http://elm-lang.org/), [Bootstrap](http://getbootstrap.com/)
* Backend: [NodeJS](https://nodejs.org/en/)
* Tools Used: [Grunt](http://gruntjs.com/)
* Initial Commit: September 29th, 2015
"""
richardFeldmanQuote : String
richardFeldmanQuote =
"""
One of my coworkers had a great term for this. She said that learning a particular framework is horizontal growth. You get more familiar with that framework but it doesn't enrich your understanding of programming, give you more techniques that you can use in other places. But learning a different paradigm like functional programming is vertical growth. Because not only does it teach you how to use this new particular tool but it also gives you new tools that you can use then bring to other projects with different frameworks, different languages, et cetera. And it's definitely been true in my experience.
"""
| elm |
[
{
"context": " this:\n\n```elm\n{ title = \"Steppenwolf\", author = \"Hesse\", pages = 237 }\n```\n\nAs we will soon see, it is a",
"end": 2034,
"score": 0.9996699691,
"start": 2029,
"tag": "NAME",
"value": "Hesse"
},
{
"context": " 4\n , z = 12\n }\n\n\n-- PEOPLE\n\nbill =\n { name = \"Gates\"\n , age = 57\n }\n\nsteve =\n { name = \"Jobs\"\n , ",
"end": 2347,
"score": 0.999555409,
"start": 2342,
"tag": "NAME",
"value": "Gates"
},
{
"context": "OPLE\n\nbill =\n { name = \"Gates\"\n , age = 57\n }\n\nsteve =\n { name = \"Jobs\"\n , age = 56\n }\n\nlarry =\n {",
"end": 2372,
"score": 0.7301417589,
"start": 2367,
"tag": "NAME",
"value": "steve"
},
{
"context": "e = \"Gates\"\n , age = 57\n }\n\nsteve =\n { name = \"Jobs\"\n , age = 56\n }\n\nlarry =\n { name = \"Page\"\n , ",
"end": 2391,
"score": 0.9986265898,
"start": 2387,
"tag": "NAME",
"value": "Jobs"
},
{
"context": "\n }\n\nsteve =\n { name = \"Jobs\"\n , age = 56\n }\n\nlarry =\n { name = \"Page\"\n , age = 39\n }\n\npeople =\n ",
"end": 2416,
"score": 0.9111968875,
"start": 2411,
"tag": "NAME",
"value": "larry"
},
{
"context": "me = \"Jobs\"\n , age = 56\n }\n\nlarry =\n { name = \"Page\"\n , age = 39\n }\n\npeople =\n [ bill\n , steve\n ",
"end": 2435,
"score": 0.9991365075,
"start": 2431,
"tag": "NAME",
"value": "Page"
},
{
"context": "=\n { name = \"Page\"\n , age = 39\n }\n\npeople =\n [ bill\n , steve\n , larry\n ]\n```\n\n## Access\n\nThere are",
"end": 2472,
"score": 0.9808123112,
"start": 2468,
"tag": "NAME",
"value": "bill"
},
{
"context": "e = \"Page\"\n , age = 39\n }\n\npeople =\n [ bill\n , steve\n , larry\n ]\n```\n\n## Access\n\nThere are a number ",
"end": 2482,
"score": 0.9891518354,
"start": 2477,
"tag": "NAME",
"value": "steve"
},
{
"context": "\n , age = 39\n }\n\npeople =\n [ bill\n , steve\n , larry\n ]\n```\n\n## Access\n\nThere are a number of ways to",
"end": 2492,
"score": 0.9939983487,
"start": 2487,
"tag": "NAME",
"value": "larry"
},
{
"context": "t3D.z -- 12\nbill.name -- \"Gates\"\n.name bill -- \"Gates\"\nList.map .age p",
"end": 2626,
"score": 0.9990056753,
"start": 2621,
"tag": "NAME",
"value": "Gates"
},
{
"context": " -- 12\nbill.name -- \"Gates\"\n.name bill -- \"Gates\"\nList.map .age people -- [5",
"end": 2638,
"score": 0.7861242294,
"start": 2634,
"tag": "NAME",
"value": "bill"
},
{
"context": " -- \"Gates\"\n.name bill -- \"Gates\"\nList.map .age people -- [57,56,39]\n```\n\nThe fir",
"end": 2659,
"score": 0.9982047081,
"start": 2654,
"tag": "NAME",
"value": "Gates"
},
{
"context": " -- { x = 0, y = 0, z = 12 }\n{ steve | name = \"Wozniak\" } -- { name = \"Wozniak\", age = 56 }\n```\n\nUpdate",
"end": 4493,
"score": 0.9996758699,
"start": 4486,
"tag": "NAME",
"value": "Wozniak"
},
{
"context": "= 12 }\n{ steve | name = \"Wozniak\" } -- { name = \"Wozniak\", age = 56 }\n```\n\nUpdates always produce a _new_ ",
"end": 4518,
"score": 0.9998044968,
"start": 4511,
"tag": "NAME",
"value": "Wozniak"
},
{
"context": "``elm\nlady : Named { age:Int }\nlady =\n { name = \"Lois Lane\"\n , age = 31\n }\n\ndude : Named (Moving (Position",
"end": 5648,
"score": 0.9998868704,
"start": 5639,
"tag": "NAME",
"value": "Lois Lane"
},
{
"context": "ioned {}))\ndude =\n { x = 0\n , y = 0\n , name = \"Clark Kent\"\n , velocity = 42\n , angle = degrees 30\n }\n```",
"end": 5755,
"score": 0.9998729825,
"start": 5745,
"tag": "NAME",
"value": "Clark Kent"
}
] | pages/docs/records.elm | unchartedworks/elm-lang.org | 1 | import Html exposing (..)
import Html.Attributes exposing (..)
import Skeleton
import Center
main =
Skeleton.docs
"Records"
[ Center.markdown "600px" content ]
content = """
The overall goal of records is to organize related data in a way that is super
easy to access and update. They kind of fill the role of objects in JavaScript
or Java, but with some key distinctions.
The structure of the following document is as follows:
- [Comparison with Objects](#comparison-of-records-and-objects)
- [What is a Record?](#what-is-a-record-)
- [Record Access](#access)
- [Pattern Matching for Records](#pattern-matching)
- [Updating Fields](#updating-records)
- [Record Types](#record-types)
## Comparison of Records and Objects
Records in Elm are quite similar to objects in JavaScript. The major differences
are that with records:
- You cannot ask for a field that does not exist.
- No field will ever be `undefined` or `null`.
- You cannot create recursive records with a `this` or `self` keyword.
I highly encourage a strict separation of data and logic, and as far as I can
tell, the ability to say `this` is primarily used to break this separation.
This is a systemic problem in Object Oriented languages that I would like to
avoid.
It is also important to note that many languages try to use objects for
*everything*. Records fill a much more limited role in Elm. If you want
modularity, you use modules. If you want something that seems like subtyping,
you probably want [custom types](/types/custom_types.html). So if you find
yourself struggling with records to make them act like objects, keep in mind
that there is probably a different tool for the job.
## What is a Record?
A record is a lightweight labeled data structure. For instance, if we wanted
to represent a point we just create a record with an `x` and `y` field:
```elm
{ x = 3, y = 4 }
```
Just like tuples, a record can hold values with different types, so we can
represent a book like this:
```elm
{ title = "Steppenwolf", author = "Hesse", pages = 237 }
```
As we will soon see, it is also possible to access and update these fields. We
will use the following records to define the rest of the record operations:
```elm
-- POINTS
point2D =
{ x = 0
, y = 0
}
point3D =
{ x = 3
, y = 4
, z = 12
}
-- PEOPLE
bill =
{ name = "Gates"
, age = 57
}
steve =
{ name = "Jobs"
, age = 56
}
larry =
{ name = "Page"
, age = 39
}
people =
[ bill
, steve
, larry
]
```
## Access
There are a number of ways to access records:
```elm
point3D.z -- 12
bill.name -- "Gates"
.name bill -- "Gates"
List.map .age people -- [57,56,39]
```
The first way to access records is fairly standard, appearing in many
languages, from JavaScript to OCaml. No spaces are permitted on either
side of the dot with this method.
The second way to access records is with a special function `.name` that
is equivalent to `(\\r -> r.name)`, making things a bit more concise.
The only requirement is that the accessor is used on a record that actually
has that field, the other fields in the record do not matter. So it is
perfectly acceptable to say:
```elm
.x point2D -- 0
.x point3D -- 3
.x { x = 4 } -- 4
```
No matter the shape of the record, the function `.x` will work as long as the
record has field `x`.
## Pattern Matching
It is also possible to pattern match on records. The following `hypotenuse`
function will “destructure” its argument. It will require that
whenever `hypotenuse` is called, the argument has at least an `x` and `y` field
that are floats.
```elm
hypotenuse {x,y} =
sqrt (x^2 + y^2)
-- hypotenuse point2D == 0
-- hypotenuse point3D == 5
```
So it can be used on both `point2D` and `point3D` no problem.
Here is another example that just figures out if the `age` field is less
than 50. Again, it works on any record that has an `age` field no matter what
other fields are in there.
```elm
under50 {age} =
age < 50
-- under50 bill == False
-- List.any under50 people == True
```
Patterns for destructuring records can appear in let expressions, lambda
expressions, and case expressions. Anywhere that patterns are allowed, you can
do this.
## Updating Records
It is often useful to “update” the values in a record.
```elm
{ point2D | y = 1 } -- { x = 0, y = 1 }
{ point3D | x = 0, y = 0 } -- { x = 0, y = 0, z = 12 }
{ steve | name = "Wozniak" } -- { name = "Wozniak", age = 56 }
```
Updates always produce a _new_ record.
## Record Types
A record type looks very similar to actual records. Say we wanted to work
with points that have an `x` and `y` field. We could add type annotations
as follows:
```elm
origin : { x : Float, y : Float }
origin =
{ x = 0
, y = 0
}
```
We can also use type aliases to make things much more concise.
```elm
type alias Point =
{ x : Float
, y : Float
}
hypotenuse : Point -> Float
hypotenuse {x,y} =
sqrt (x^2 + y^2)
```
You can also define extensible records. This use has not come up much in
practice so far, but it is pretty cool nonetheless.
```elm
type alias Positioned a =
{ a | x : Float, y : Float }
type alias Named a =
{ a | name : String }
type alias Moving a =
{ a | velocity : Float, angle : Float }
```
This syntax is defining types that have *at least* certain fields, but may have
others as well. So `Positioned a` is a record with at least an `x` and `y`
field.
This means you can define records that have any subsection of these fields.
For example,
```elm
lady : Named { age:Int }
lady =
{ name = "Lois Lane"
, age = 31
}
dude : Named (Moving (Positioned {}))
dude =
{ x = 0
, y = 0
, name = "Clark Kent"
, velocity = 42
, angle = degrees 30
}
```
Then we can make functions that only require some of those fields:
```elm
getName : Named a -> String
getName {name} =
name
names : List String
names =
[ getName dude, getName lady ]
getPos : Positioned a -> (Float,Float)
getPos {x,y} =
(x,y)
positions : List (Float,Float)
positions =
[ getPos origin, getPos dude ]
```
The `getName` function works on anything with a `name` field, so it can be used on both `lady` and `dude`. Same for `getPos` which can work on
anything with `x` and `y` fields.
So you can write small orthogonal functions that work with a wide variety of
records. You get much of the freedom of a dynamically
typed language, but the type checker will make sure that these functions are
used safely!
"""
| 33148 | import Html exposing (..)
import Html.Attributes exposing (..)
import Skeleton
import Center
main =
Skeleton.docs
"Records"
[ Center.markdown "600px" content ]
content = """
The overall goal of records is to organize related data in a way that is super
easy to access and update. They kind of fill the role of objects in JavaScript
or Java, but with some key distinctions.
The structure of the following document is as follows:
- [Comparison with Objects](#comparison-of-records-and-objects)
- [What is a Record?](#what-is-a-record-)
- [Record Access](#access)
- [Pattern Matching for Records](#pattern-matching)
- [Updating Fields](#updating-records)
- [Record Types](#record-types)
## Comparison of Records and Objects
Records in Elm are quite similar to objects in JavaScript. The major differences
are that with records:
- You cannot ask for a field that does not exist.
- No field will ever be `undefined` or `null`.
- You cannot create recursive records with a `this` or `self` keyword.
I highly encourage a strict separation of data and logic, and as far as I can
tell, the ability to say `this` is primarily used to break this separation.
This is a systemic problem in Object Oriented languages that I would like to
avoid.
It is also important to note that many languages try to use objects for
*everything*. Records fill a much more limited role in Elm. If you want
modularity, you use modules. If you want something that seems like subtyping,
you probably want [custom types](/types/custom_types.html). So if you find
yourself struggling with records to make them act like objects, keep in mind
that there is probably a different tool for the job.
## What is a Record?
A record is a lightweight labeled data structure. For instance, if we wanted
to represent a point we just create a record with an `x` and `y` field:
```elm
{ x = 3, y = 4 }
```
Just like tuples, a record can hold values with different types, so we can
represent a book like this:
```elm
{ title = "Steppenwolf", author = "<NAME>", pages = 237 }
```
As we will soon see, it is also possible to access and update these fields. We
will use the following records to define the rest of the record operations:
```elm
-- POINTS
point2D =
{ x = 0
, y = 0
}
point3D =
{ x = 3
, y = 4
, z = 12
}
-- PEOPLE
bill =
{ name = "<NAME>"
, age = 57
}
<NAME> =
{ name = "<NAME>"
, age = 56
}
<NAME> =
{ name = "<NAME>"
, age = 39
}
people =
[ <NAME>
, <NAME>
, <NAME>
]
```
## Access
There are a number of ways to access records:
```elm
point3D.z -- 12
bill.name -- "<NAME>"
.name <NAME> -- "<NAME>"
List.map .age people -- [57,56,39]
```
The first way to access records is fairly standard, appearing in many
languages, from JavaScript to OCaml. No spaces are permitted on either
side of the dot with this method.
The second way to access records is with a special function `.name` that
is equivalent to `(\\r -> r.name)`, making things a bit more concise.
The only requirement is that the accessor is used on a record that actually
has that field, the other fields in the record do not matter. So it is
perfectly acceptable to say:
```elm
.x point2D -- 0
.x point3D -- 3
.x { x = 4 } -- 4
```
No matter the shape of the record, the function `.x` will work as long as the
record has field `x`.
## Pattern Matching
It is also possible to pattern match on records. The following `hypotenuse`
function will “destructure” its argument. It will require that
whenever `hypotenuse` is called, the argument has at least an `x` and `y` field
that are floats.
```elm
hypotenuse {x,y} =
sqrt (x^2 + y^2)
-- hypotenuse point2D == 0
-- hypotenuse point3D == 5
```
So it can be used on both `point2D` and `point3D` no problem.
Here is another example that just figures out if the `age` field is less
than 50. Again, it works on any record that has an `age` field no matter what
other fields are in there.
```elm
under50 {age} =
age < 50
-- under50 bill == False
-- List.any under50 people == True
```
Patterns for destructuring records can appear in let expressions, lambda
expressions, and case expressions. Anywhere that patterns are allowed, you can
do this.
## Updating Records
It is often useful to “update” the values in a record.
```elm
{ point2D | y = 1 } -- { x = 0, y = 1 }
{ point3D | x = 0, y = 0 } -- { x = 0, y = 0, z = 12 }
{ steve | name = "<NAME>" } -- { name = "<NAME>", age = 56 }
```
Updates always produce a _new_ record.
## Record Types
A record type looks very similar to actual records. Say we wanted to work
with points that have an `x` and `y` field. We could add type annotations
as follows:
```elm
origin : { x : Float, y : Float }
origin =
{ x = 0
, y = 0
}
```
We can also use type aliases to make things much more concise.
```elm
type alias Point =
{ x : Float
, y : Float
}
hypotenuse : Point -> Float
hypotenuse {x,y} =
sqrt (x^2 + y^2)
```
You can also define extensible records. This use has not come up much in
practice so far, but it is pretty cool nonetheless.
```elm
type alias Positioned a =
{ a | x : Float, y : Float }
type alias Named a =
{ a | name : String }
type alias Moving a =
{ a | velocity : Float, angle : Float }
```
This syntax is defining types that have *at least* certain fields, but may have
others as well. So `Positioned a` is a record with at least an `x` and `y`
field.
This means you can define records that have any subsection of these fields.
For example,
```elm
lady : Named { age:Int }
lady =
{ name = "<NAME>"
, age = 31
}
dude : Named (Moving (Positioned {}))
dude =
{ x = 0
, y = 0
, name = "<NAME>"
, velocity = 42
, angle = degrees 30
}
```
Then we can make functions that only require some of those fields:
```elm
getName : Named a -> String
getName {name} =
name
names : List String
names =
[ getName dude, getName lady ]
getPos : Positioned a -> (Float,Float)
getPos {x,y} =
(x,y)
positions : List (Float,Float)
positions =
[ getPos origin, getPos dude ]
```
The `getName` function works on anything with a `name` field, so it can be used on both `lady` and `dude`. Same for `getPos` which can work on
anything with `x` and `y` fields.
So you can write small orthogonal functions that work with a wide variety of
records. You get much of the freedom of a dynamically
typed language, but the type checker will make sure that these functions are
used safely!
"""
| true | import Html exposing (..)
import Html.Attributes exposing (..)
import Skeleton
import Center
main =
Skeleton.docs
"Records"
[ Center.markdown "600px" content ]
content = """
The overall goal of records is to organize related data in a way that is super
easy to access and update. They kind of fill the role of objects in JavaScript
or Java, but with some key distinctions.
The structure of the following document is as follows:
- [Comparison with Objects](#comparison-of-records-and-objects)
- [What is a Record?](#what-is-a-record-)
- [Record Access](#access)
- [Pattern Matching for Records](#pattern-matching)
- [Updating Fields](#updating-records)
- [Record Types](#record-types)
## Comparison of Records and Objects
Records in Elm are quite similar to objects in JavaScript. The major differences
are that with records:
- You cannot ask for a field that does not exist.
- No field will ever be `undefined` or `null`.
- You cannot create recursive records with a `this` or `self` keyword.
I highly encourage a strict separation of data and logic, and as far as I can
tell, the ability to say `this` is primarily used to break this separation.
This is a systemic problem in Object Oriented languages that I would like to
avoid.
It is also important to note that many languages try to use objects for
*everything*. Records fill a much more limited role in Elm. If you want
modularity, you use modules. If you want something that seems like subtyping,
you probably want [custom types](/types/custom_types.html). So if you find
yourself struggling with records to make them act like objects, keep in mind
that there is probably a different tool for the job.
## What is a Record?
A record is a lightweight labeled data structure. For instance, if we wanted
to represent a point we just create a record with an `x` and `y` field:
```elm
{ x = 3, y = 4 }
```
Just like tuples, a record can hold values with different types, so we can
represent a book like this:
```elm
{ title = "Steppenwolf", author = "PI:NAME:<NAME>END_PI", pages = 237 }
```
As we will soon see, it is also possible to access and update these fields. We
will use the following records to define the rest of the record operations:
```elm
-- POINTS
point2D =
{ x = 0
, y = 0
}
point3D =
{ x = 3
, y = 4
, z = 12
}
-- PEOPLE
bill =
{ name = "PI:NAME:<NAME>END_PI"
, age = 57
}
PI:NAME:<NAME>END_PI =
{ name = "PI:NAME:<NAME>END_PI"
, age = 56
}
PI:NAME:<NAME>END_PI =
{ name = "PI:NAME:<NAME>END_PI"
, age = 39
}
people =
[ PI:NAME:<NAME>END_PI
, PI:NAME:<NAME>END_PI
, PI:NAME:<NAME>END_PI
]
```
## Access
There are a number of ways to access records:
```elm
point3D.z -- 12
bill.name -- "PI:NAME:<NAME>END_PI"
.name PI:NAME:<NAME>END_PI -- "PI:NAME:<NAME>END_PI"
List.map .age people -- [57,56,39]
```
The first way to access records is fairly standard, appearing in many
languages, from JavaScript to OCaml. No spaces are permitted on either
side of the dot with this method.
The second way to access records is with a special function `.name` that
is equivalent to `(\\r -> r.name)`, making things a bit more concise.
The only requirement is that the accessor is used on a record that actually
has that field, the other fields in the record do not matter. So it is
perfectly acceptable to say:
```elm
.x point2D -- 0
.x point3D -- 3
.x { x = 4 } -- 4
```
No matter the shape of the record, the function `.x` will work as long as the
record has field `x`.
## Pattern Matching
It is also possible to pattern match on records. The following `hypotenuse`
function will “destructure” its argument. It will require that
whenever `hypotenuse` is called, the argument has at least an `x` and `y` field
that are floats.
```elm
hypotenuse {x,y} =
sqrt (x^2 + y^2)
-- hypotenuse point2D == 0
-- hypotenuse point3D == 5
```
So it can be used on both `point2D` and `point3D` no problem.
Here is another example that just figures out if the `age` field is less
than 50. Again, it works on any record that has an `age` field no matter what
other fields are in there.
```elm
under50 {age} =
age < 50
-- under50 bill == False
-- List.any under50 people == True
```
Patterns for destructuring records can appear in let expressions, lambda
expressions, and case expressions. Anywhere that patterns are allowed, you can
do this.
## Updating Records
It is often useful to “update” the values in a record.
```elm
{ point2D | y = 1 } -- { x = 0, y = 1 }
{ point3D | x = 0, y = 0 } -- { x = 0, y = 0, z = 12 }
{ steve | name = "PI:NAME:<NAME>END_PI" } -- { name = "PI:NAME:<NAME>END_PI", age = 56 }
```
Updates always produce a _new_ record.
## Record Types
A record type looks very similar to actual records. Say we wanted to work
with points that have an `x` and `y` field. We could add type annotations
as follows:
```elm
origin : { x : Float, y : Float }
origin =
{ x = 0
, y = 0
}
```
We can also use type aliases to make things much more concise.
```elm
type alias Point =
{ x : Float
, y : Float
}
hypotenuse : Point -> Float
hypotenuse {x,y} =
sqrt (x^2 + y^2)
```
You can also define extensible records. This use has not come up much in
practice so far, but it is pretty cool nonetheless.
```elm
type alias Positioned a =
{ a | x : Float, y : Float }
type alias Named a =
{ a | name : String }
type alias Moving a =
{ a | velocity : Float, angle : Float }
```
This syntax is defining types that have *at least* certain fields, but may have
others as well. So `Positioned a` is a record with at least an `x` and `y`
field.
This means you can define records that have any subsection of these fields.
For example,
```elm
lady : Named { age:Int }
lady =
{ name = "PI:NAME:<NAME>END_PI"
, age = 31
}
dude : Named (Moving (Positioned {}))
dude =
{ x = 0
, y = 0
, name = "PI:NAME:<NAME>END_PI"
, velocity = 42
, angle = degrees 30
}
```
Then we can make functions that only require some of those fields:
```elm
getName : Named a -> String
getName {name} =
name
names : List String
names =
[ getName dude, getName lady ]
getPos : Positioned a -> (Float,Float)
getPos {x,y} =
(x,y)
positions : List (Float,Float)
positions =
[ getPos origin, getPos dude ]
```
The `getName` function works on anything with a `name` field, so it can be used on both `lady` and `dude`. Same for `getPos` which can work on
anything with `x` and `y` fields.
So you can write small orthogonal functions that work with a wide variety of
records. You get much of the freedom of a dynamically
typed language, but the type checker will make sure that these functions are
used safely!
"""
| elm |
[
{
"context": "://loicknuchel.fr/assets/img/bg_header.jpg\", alt \"Loïc Knuchel picture\", css [ Tw.h_6, Tw.w_6, Tw.rounded_full ]",
"end": 3230,
"score": 0.998021543,
"start": 3218,
"tag": "NAME",
"value": "Loïc Knuchel"
},
{
"context": "0 ] ]\n [ text \"Loïc Knuchel, Principal Engineer @ Doctolib\" ]\n ",
"end": 3441,
"score": 0.9998838305,
"start": 3429,
"tag": "NAME",
"value": "Loïc Knuchel"
}
] | src/Components/Slices/Feature.elm | loicknuchel/schema-viz | 2 | module Components.Slices.Feature exposing (featureChapter, featureListeSlice, featureSlice)
import Components.Atoms.Icon as Icon
import Css
import ElmBook.Chapter exposing (chapter, renderComponentList)
import ElmBook.ElmCSS exposing (Chapter)
import Gen.Route as Route
import Html.Styled exposing (Html, a, blockquote, br, div, footer, h2, h3, img, p, span, text)
import Html.Styled.Attributes exposing (alt, class, css, href, src)
import Libs.Html.Styled exposing (bText)
import Tailwind.Breakpoints as Bp
import Tailwind.Utilities as Tw
featureSlice : Html msg
featureSlice =
div [ css [ Tw.relative, Tw.pt_16, Tw.pb_32, Tw.overflow_hidden ] ]
[ div [ css [ Bp.lg [ Tw.mx_auto, Tw.max_w_7xl, Tw.px_8, Tw.grid, Tw.grid_cols_2, Tw.grid_flow_col_dense, Tw.gap_24 ] ] ]
[ div [ css [ Tw.px_4, Tw.max_w_xl, Tw.mx_auto, Bp.lg [ Tw.py_16, Tw.max_w_none, Tw.mx_0, Tw.px_0 ], Bp.sm [ Tw.px_6 ] ] ]
[ div []
[ div [ css [ Tw.mt_6 ] ]
[ h2 [ css [ Tw.text_3xl, Tw.font_extrabold, Tw.tracking_tight, Tw.text_gray_900 ] ]
[ text "Explore your database schema" ]
, p [ css [ Tw.mt_4, Tw.text_lg, Tw.text_gray_500 ] ]
[ text """Not everyone has the opportunity to work on brand you application where you create everything, including the data model.
Most of developers evolve and maintain existing applications with an already big schema, sometimes more than 50, 100 or even 500 tables.
Finding the right tables and relations to work with can be hard, and sincerely, no tool really helps. Until now."""
, br [] []
, bText "Azimutt"
, text " allows you to explore your schema: search for relevant tables, follow the relations, hide less interesting columns and even find the paths between tables."
]
, div [ css [ Tw.mt_6 ] ]
[ a [ href (Route.toHref Route.App), css [ Tw.inline_flex, Tw.bg_gradient_to_r, Tw.from_green_600, Tw.to_indigo_700, Tw.px_4, Tw.py_2, Tw.border, Tw.border_transparent, Tw.text_base, Tw.font_medium, Tw.rounded_md, Tw.shadow_sm, Tw.text_white, Css.hover [ Tw.from_green_700, Tw.to_indigo_600, Tw.text_white ] ] ]
[ text "Get started" ]
]
]
]
, div [ css [ Tw.mt_8, Tw.border_t, Tw.border_gray_200, Tw.pt_6 ] ]
[ blockquote []
[ div []
[ p [ css [ Tw.text_base, Tw.text_gray_500 ] ]
[ text "“Using Azimutt is like having superpowers!”" ]
]
, footer [ css [ Tw.mt_3 ] ]
[ div [ css [ Tw.flex, Tw.items_center, Tw.space_x_3 ] ]
[ div [ css [ Tw.flex_shrink_0 ] ]
[ img [ src "https://loicknuchel.fr/assets/img/bg_header.jpg", alt "Loïc Knuchel picture", css [ Tw.h_6, Tw.w_6, Tw.rounded_full ] ] [] ]
, div [ css [ Tw.text_base, Tw.font_medium, Tw.text_gray_700 ] ]
[ text "Loïc Knuchel, Principal Engineer @ Doctolib" ]
]
]
]
]
]
, div [ css [ Tw.mt_12, Bp.lg [ Tw.mt_0 ], Bp.sm [ Tw.mt_16 ] ] ]
[ div [ css [ Tw.pl_4, Tw.neg_mr_48, Bp.lg [ Tw.px_0, Tw.m_0, Tw.relative, Tw.h_full ], Bp.md [ Tw.neg_mr_16 ], Bp.sm [ Tw.pl_6 ] ] ]
[ span [ class "img-swipe" ]
[ img [ src "/screenshot.png", alt "Azimutt screenshot", class "img-default", css [ Tw.w_full, Tw.rounded_xl, Tw.shadow_xl, Tw.ring_1, Tw.ring_black, Tw.ring_opacity_5, Bp.lg [ Tw.absolute, Tw.left_0, Tw.h_full, Tw.w_auto, Tw.max_w_none ] ] ] []
, img [ src "/screenshot-complex.png", alt "Azimutt screenshot", class "img-hover", css [ Tw.w_full, Tw.rounded_xl, Tw.shadow_xl, Tw.ring_1, Tw.ring_black, Tw.ring_opacity_5, Bp.lg [ Tw.absolute, Tw.left_0, Tw.h_full, Tw.w_auto, Tw.max_w_none ] ] ] []
]
]
]
]
]
featureListeSlice : Html msg
featureListeSlice =
div [ css [ Tw.bg_gradient_to_r, Tw.from_green_800, Tw.to_indigo_700 ] ]
[ div [ css [ Tw.max_w_4xl, Tw.mx_auto, Tw.px_4, Tw.py_16, Bp.lg [ Tw.max_w_7xl, Tw.pt_24, Tw.px_8 ], Bp.sm [ Tw.px_6, Tw.pt_20, Tw.pb_24 ] ] ]
[ h2 [ css [ Tw.text_3xl, Tw.font_extrabold, Tw.text_white, Tw.tracking_tight ] ]
[ text "Explore your SQL schema like never before" ]
, p [ css [ Tw.mt_4, Tw.max_w_3xl, Tw.text_lg, Tw.text_purple_200 ] ]
[ text "Your new weapons to dig into your schema:" ]
, div [ css [ Tw.mt_12, Tw.grid, Tw.grid_cols_1, Tw.gap_x_6, Tw.gap_y_12, Tw.text_white, Bp.lg [ Tw.mt_16, Tw.grid_cols_3, Tw.gap_x_8, Tw.gap_y_16 ], Bp.sm [ Tw.grid_cols_2 ] ] ]
[ item Icon.inbox
"Partial display"
[ text """Maybe the less impressive but most useful feature when you work with a schema with 20, 40 or even 400 or 1000 tables!
Seeing only what you need is vital to understand how it works. This is true for tables but also for columns and relations!""" ]
, item Icon.documentSearch
"Search"
[ text """Search is awesome, don't know where to start? Just type a few words and you will have related tables and columns ranked by relevance.
Looking at table and column names, but also comments, keys or relations.""" ]
, item Icon.photograph
"Layouts"
[ text """Your database is probably supporting many use cases, why not save them and move from one to an other ?
Layouts are here for that: select tables and columns related to a feature and save them as a layout. So you can easily switch between them.""" ]
, item Icon.link
"Relation exploration"
[ text """Start from a table and look at its relations to display more.
Outgoing, of course (foreign keys), but incoming ones also (foreign keys from other tables)!""" ]
, item Icon.link
"Relation search"
[ text """Did you ever ask how to join two tables ?
Azimutt can help showing all the possible paths between two tables. But also between a table and a column!""" ]
, item Icon.link
"Lorem Ipsum"
[ text "You came this far ??? Awesome! You seem quite interested and ready to dig in ^^", br [] [], text """
The best you can do now is to """, a [ href (Route.toHref Route.App), class "link" ] [ text "try it out" ], text " right away :D" ]
]
]
]
item : Html msg -> String -> List (Html msg) -> Html msg
item icon title description =
div []
[ div []
[ span [ css [ Tw.flex, Tw.items_center, Tw.justify_center, Tw.h_12, Tw.w_12, Tw.rounded_md, Tw.bg_white, Tw.bg_opacity_10 ] ] [ icon ] ]
, div [ css [ Tw.mt_6 ] ]
[ h3 [ css [ Tw.text_lg, Tw.font_medium, Tw.text_white ] ] [ text title ]
, p [ css [ Tw.mt_2, Tw.text_base, Tw.text_purple_200 ] ] description
]
]
featureChapter : Chapter x
featureChapter =
chapter "Feature"
|> renderComponentList
[ ( "default", featureSlice )
, ( "list", featureListeSlice )
]
| 55961 | module Components.Slices.Feature exposing (featureChapter, featureListeSlice, featureSlice)
import Components.Atoms.Icon as Icon
import Css
import ElmBook.Chapter exposing (chapter, renderComponentList)
import ElmBook.ElmCSS exposing (Chapter)
import Gen.Route as Route
import Html.Styled exposing (Html, a, blockquote, br, div, footer, h2, h3, img, p, span, text)
import Html.Styled.Attributes exposing (alt, class, css, href, src)
import Libs.Html.Styled exposing (bText)
import Tailwind.Breakpoints as Bp
import Tailwind.Utilities as Tw
featureSlice : Html msg
featureSlice =
div [ css [ Tw.relative, Tw.pt_16, Tw.pb_32, Tw.overflow_hidden ] ]
[ div [ css [ Bp.lg [ Tw.mx_auto, Tw.max_w_7xl, Tw.px_8, Tw.grid, Tw.grid_cols_2, Tw.grid_flow_col_dense, Tw.gap_24 ] ] ]
[ div [ css [ Tw.px_4, Tw.max_w_xl, Tw.mx_auto, Bp.lg [ Tw.py_16, Tw.max_w_none, Tw.mx_0, Tw.px_0 ], Bp.sm [ Tw.px_6 ] ] ]
[ div []
[ div [ css [ Tw.mt_6 ] ]
[ h2 [ css [ Tw.text_3xl, Tw.font_extrabold, Tw.tracking_tight, Tw.text_gray_900 ] ]
[ text "Explore your database schema" ]
, p [ css [ Tw.mt_4, Tw.text_lg, Tw.text_gray_500 ] ]
[ text """Not everyone has the opportunity to work on brand you application where you create everything, including the data model.
Most of developers evolve and maintain existing applications with an already big schema, sometimes more than 50, 100 or even 500 tables.
Finding the right tables and relations to work with can be hard, and sincerely, no tool really helps. Until now."""
, br [] []
, bText "Azimutt"
, text " allows you to explore your schema: search for relevant tables, follow the relations, hide less interesting columns and even find the paths between tables."
]
, div [ css [ Tw.mt_6 ] ]
[ a [ href (Route.toHref Route.App), css [ Tw.inline_flex, Tw.bg_gradient_to_r, Tw.from_green_600, Tw.to_indigo_700, Tw.px_4, Tw.py_2, Tw.border, Tw.border_transparent, Tw.text_base, Tw.font_medium, Tw.rounded_md, Tw.shadow_sm, Tw.text_white, Css.hover [ Tw.from_green_700, Tw.to_indigo_600, Tw.text_white ] ] ]
[ text "Get started" ]
]
]
]
, div [ css [ Tw.mt_8, Tw.border_t, Tw.border_gray_200, Tw.pt_6 ] ]
[ blockquote []
[ div []
[ p [ css [ Tw.text_base, Tw.text_gray_500 ] ]
[ text "“Using Azimutt is like having superpowers!”" ]
]
, footer [ css [ Tw.mt_3 ] ]
[ div [ css [ Tw.flex, Tw.items_center, Tw.space_x_3 ] ]
[ div [ css [ Tw.flex_shrink_0 ] ]
[ img [ src "https://loicknuchel.fr/assets/img/bg_header.jpg", alt "<NAME> picture", css [ Tw.h_6, Tw.w_6, Tw.rounded_full ] ] [] ]
, div [ css [ Tw.text_base, Tw.font_medium, Tw.text_gray_700 ] ]
[ text "<NAME>, Principal Engineer @ Doctolib" ]
]
]
]
]
]
, div [ css [ Tw.mt_12, Bp.lg [ Tw.mt_0 ], Bp.sm [ Tw.mt_16 ] ] ]
[ div [ css [ Tw.pl_4, Tw.neg_mr_48, Bp.lg [ Tw.px_0, Tw.m_0, Tw.relative, Tw.h_full ], Bp.md [ Tw.neg_mr_16 ], Bp.sm [ Tw.pl_6 ] ] ]
[ span [ class "img-swipe" ]
[ img [ src "/screenshot.png", alt "Azimutt screenshot", class "img-default", css [ Tw.w_full, Tw.rounded_xl, Tw.shadow_xl, Tw.ring_1, Tw.ring_black, Tw.ring_opacity_5, Bp.lg [ Tw.absolute, Tw.left_0, Tw.h_full, Tw.w_auto, Tw.max_w_none ] ] ] []
, img [ src "/screenshot-complex.png", alt "Azimutt screenshot", class "img-hover", css [ Tw.w_full, Tw.rounded_xl, Tw.shadow_xl, Tw.ring_1, Tw.ring_black, Tw.ring_opacity_5, Bp.lg [ Tw.absolute, Tw.left_0, Tw.h_full, Tw.w_auto, Tw.max_w_none ] ] ] []
]
]
]
]
]
featureListeSlice : Html msg
featureListeSlice =
div [ css [ Tw.bg_gradient_to_r, Tw.from_green_800, Tw.to_indigo_700 ] ]
[ div [ css [ Tw.max_w_4xl, Tw.mx_auto, Tw.px_4, Tw.py_16, Bp.lg [ Tw.max_w_7xl, Tw.pt_24, Tw.px_8 ], Bp.sm [ Tw.px_6, Tw.pt_20, Tw.pb_24 ] ] ]
[ h2 [ css [ Tw.text_3xl, Tw.font_extrabold, Tw.text_white, Tw.tracking_tight ] ]
[ text "Explore your SQL schema like never before" ]
, p [ css [ Tw.mt_4, Tw.max_w_3xl, Tw.text_lg, Tw.text_purple_200 ] ]
[ text "Your new weapons to dig into your schema:" ]
, div [ css [ Tw.mt_12, Tw.grid, Tw.grid_cols_1, Tw.gap_x_6, Tw.gap_y_12, Tw.text_white, Bp.lg [ Tw.mt_16, Tw.grid_cols_3, Tw.gap_x_8, Tw.gap_y_16 ], Bp.sm [ Tw.grid_cols_2 ] ] ]
[ item Icon.inbox
"Partial display"
[ text """Maybe the less impressive but most useful feature when you work with a schema with 20, 40 or even 400 or 1000 tables!
Seeing only what you need is vital to understand how it works. This is true for tables but also for columns and relations!""" ]
, item Icon.documentSearch
"Search"
[ text """Search is awesome, don't know where to start? Just type a few words and you will have related tables and columns ranked by relevance.
Looking at table and column names, but also comments, keys or relations.""" ]
, item Icon.photograph
"Layouts"
[ text """Your database is probably supporting many use cases, why not save them and move from one to an other ?
Layouts are here for that: select tables and columns related to a feature and save them as a layout. So you can easily switch between them.""" ]
, item Icon.link
"Relation exploration"
[ text """Start from a table and look at its relations to display more.
Outgoing, of course (foreign keys), but incoming ones also (foreign keys from other tables)!""" ]
, item Icon.link
"Relation search"
[ text """Did you ever ask how to join two tables ?
Azimutt can help showing all the possible paths between two tables. But also between a table and a column!""" ]
, item Icon.link
"Lorem Ipsum"
[ text "You came this far ??? Awesome! You seem quite interested and ready to dig in ^^", br [] [], text """
The best you can do now is to """, a [ href (Route.toHref Route.App), class "link" ] [ text "try it out" ], text " right away :D" ]
]
]
]
item : Html msg -> String -> List (Html msg) -> Html msg
item icon title description =
div []
[ div []
[ span [ css [ Tw.flex, Tw.items_center, Tw.justify_center, Tw.h_12, Tw.w_12, Tw.rounded_md, Tw.bg_white, Tw.bg_opacity_10 ] ] [ icon ] ]
, div [ css [ Tw.mt_6 ] ]
[ h3 [ css [ Tw.text_lg, Tw.font_medium, Tw.text_white ] ] [ text title ]
, p [ css [ Tw.mt_2, Tw.text_base, Tw.text_purple_200 ] ] description
]
]
featureChapter : Chapter x
featureChapter =
chapter "Feature"
|> renderComponentList
[ ( "default", featureSlice )
, ( "list", featureListeSlice )
]
| true | module Components.Slices.Feature exposing (featureChapter, featureListeSlice, featureSlice)
import Components.Atoms.Icon as Icon
import Css
import ElmBook.Chapter exposing (chapter, renderComponentList)
import ElmBook.ElmCSS exposing (Chapter)
import Gen.Route as Route
import Html.Styled exposing (Html, a, blockquote, br, div, footer, h2, h3, img, p, span, text)
import Html.Styled.Attributes exposing (alt, class, css, href, src)
import Libs.Html.Styled exposing (bText)
import Tailwind.Breakpoints as Bp
import Tailwind.Utilities as Tw
featureSlice : Html msg
featureSlice =
div [ css [ Tw.relative, Tw.pt_16, Tw.pb_32, Tw.overflow_hidden ] ]
[ div [ css [ Bp.lg [ Tw.mx_auto, Tw.max_w_7xl, Tw.px_8, Tw.grid, Tw.grid_cols_2, Tw.grid_flow_col_dense, Tw.gap_24 ] ] ]
[ div [ css [ Tw.px_4, Tw.max_w_xl, Tw.mx_auto, Bp.lg [ Tw.py_16, Tw.max_w_none, Tw.mx_0, Tw.px_0 ], Bp.sm [ Tw.px_6 ] ] ]
[ div []
[ div [ css [ Tw.mt_6 ] ]
[ h2 [ css [ Tw.text_3xl, Tw.font_extrabold, Tw.tracking_tight, Tw.text_gray_900 ] ]
[ text "Explore your database schema" ]
, p [ css [ Tw.mt_4, Tw.text_lg, Tw.text_gray_500 ] ]
[ text """Not everyone has the opportunity to work on brand you application where you create everything, including the data model.
Most of developers evolve and maintain existing applications with an already big schema, sometimes more than 50, 100 or even 500 tables.
Finding the right tables and relations to work with can be hard, and sincerely, no tool really helps. Until now."""
, br [] []
, bText "Azimutt"
, text " allows you to explore your schema: search for relevant tables, follow the relations, hide less interesting columns and even find the paths between tables."
]
, div [ css [ Tw.mt_6 ] ]
[ a [ href (Route.toHref Route.App), css [ Tw.inline_flex, Tw.bg_gradient_to_r, Tw.from_green_600, Tw.to_indigo_700, Tw.px_4, Tw.py_2, Tw.border, Tw.border_transparent, Tw.text_base, Tw.font_medium, Tw.rounded_md, Tw.shadow_sm, Tw.text_white, Css.hover [ Tw.from_green_700, Tw.to_indigo_600, Tw.text_white ] ] ]
[ text "Get started" ]
]
]
]
, div [ css [ Tw.mt_8, Tw.border_t, Tw.border_gray_200, Tw.pt_6 ] ]
[ blockquote []
[ div []
[ p [ css [ Tw.text_base, Tw.text_gray_500 ] ]
[ text "“Using Azimutt is like having superpowers!”" ]
]
, footer [ css [ Tw.mt_3 ] ]
[ div [ css [ Tw.flex, Tw.items_center, Tw.space_x_3 ] ]
[ div [ css [ Tw.flex_shrink_0 ] ]
[ img [ src "https://loicknuchel.fr/assets/img/bg_header.jpg", alt "PI:NAME:<NAME>END_PI picture", css [ Tw.h_6, Tw.w_6, Tw.rounded_full ] ] [] ]
, div [ css [ Tw.text_base, Tw.font_medium, Tw.text_gray_700 ] ]
[ text "PI:NAME:<NAME>END_PI, Principal Engineer @ Doctolib" ]
]
]
]
]
]
, div [ css [ Tw.mt_12, Bp.lg [ Tw.mt_0 ], Bp.sm [ Tw.mt_16 ] ] ]
[ div [ css [ Tw.pl_4, Tw.neg_mr_48, Bp.lg [ Tw.px_0, Tw.m_0, Tw.relative, Tw.h_full ], Bp.md [ Tw.neg_mr_16 ], Bp.sm [ Tw.pl_6 ] ] ]
[ span [ class "img-swipe" ]
[ img [ src "/screenshot.png", alt "Azimutt screenshot", class "img-default", css [ Tw.w_full, Tw.rounded_xl, Tw.shadow_xl, Tw.ring_1, Tw.ring_black, Tw.ring_opacity_5, Bp.lg [ Tw.absolute, Tw.left_0, Tw.h_full, Tw.w_auto, Tw.max_w_none ] ] ] []
, img [ src "/screenshot-complex.png", alt "Azimutt screenshot", class "img-hover", css [ Tw.w_full, Tw.rounded_xl, Tw.shadow_xl, Tw.ring_1, Tw.ring_black, Tw.ring_opacity_5, Bp.lg [ Tw.absolute, Tw.left_0, Tw.h_full, Tw.w_auto, Tw.max_w_none ] ] ] []
]
]
]
]
]
featureListeSlice : Html msg
featureListeSlice =
div [ css [ Tw.bg_gradient_to_r, Tw.from_green_800, Tw.to_indigo_700 ] ]
[ div [ css [ Tw.max_w_4xl, Tw.mx_auto, Tw.px_4, Tw.py_16, Bp.lg [ Tw.max_w_7xl, Tw.pt_24, Tw.px_8 ], Bp.sm [ Tw.px_6, Tw.pt_20, Tw.pb_24 ] ] ]
[ h2 [ css [ Tw.text_3xl, Tw.font_extrabold, Tw.text_white, Tw.tracking_tight ] ]
[ text "Explore your SQL schema like never before" ]
, p [ css [ Tw.mt_4, Tw.max_w_3xl, Tw.text_lg, Tw.text_purple_200 ] ]
[ text "Your new weapons to dig into your schema:" ]
, div [ css [ Tw.mt_12, Tw.grid, Tw.grid_cols_1, Tw.gap_x_6, Tw.gap_y_12, Tw.text_white, Bp.lg [ Tw.mt_16, Tw.grid_cols_3, Tw.gap_x_8, Tw.gap_y_16 ], Bp.sm [ Tw.grid_cols_2 ] ] ]
[ item Icon.inbox
"Partial display"
[ text """Maybe the less impressive but most useful feature when you work with a schema with 20, 40 or even 400 or 1000 tables!
Seeing only what you need is vital to understand how it works. This is true for tables but also for columns and relations!""" ]
, item Icon.documentSearch
"Search"
[ text """Search is awesome, don't know where to start? Just type a few words and you will have related tables and columns ranked by relevance.
Looking at table and column names, but also comments, keys or relations.""" ]
, item Icon.photograph
"Layouts"
[ text """Your database is probably supporting many use cases, why not save them and move from one to an other ?
Layouts are here for that: select tables and columns related to a feature and save them as a layout. So you can easily switch between them.""" ]
, item Icon.link
"Relation exploration"
[ text """Start from a table and look at its relations to display more.
Outgoing, of course (foreign keys), but incoming ones also (foreign keys from other tables)!""" ]
, item Icon.link
"Relation search"
[ text """Did you ever ask how to join two tables ?
Azimutt can help showing all the possible paths between two tables. But also between a table and a column!""" ]
, item Icon.link
"Lorem Ipsum"
[ text "You came this far ??? Awesome! You seem quite interested and ready to dig in ^^", br [] [], text """
The best you can do now is to """, a [ href (Route.toHref Route.App), class "link" ] [ text "try it out" ], text " right away :D" ]
]
]
]
item : Html msg -> String -> List (Html msg) -> Html msg
item icon title description =
div []
[ div []
[ span [ css [ Tw.flex, Tw.items_center, Tw.justify_center, Tw.h_12, Tw.w_12, Tw.rounded_md, Tw.bg_white, Tw.bg_opacity_10 ] ] [ icon ] ]
, div [ css [ Tw.mt_6 ] ]
[ h3 [ css [ Tw.text_lg, Tw.font_medium, Tw.text_white ] ] [ text title ]
, p [ css [ Tw.mt_2, Tw.text_base, Tw.text_purple_200 ] ] description
]
]
featureChapter : Chapter x
featureChapter =
chapter "Feature"
|> renderComponentList
[ ( "default", featureSlice )
, ( "list", featureListeSlice )
]
| elm |
[
{
"context": "Ipsum.\n\n\nsource =\n \"\"\"\n|> Article \n author = Matthew Griffith\n title = How I Learned /elm-markup/\n descri",
"end": 6389,
"score": 0.9997951388,
"start": 6373,
"tag": "NAME",
"value": "Matthew Griffith"
}
] | examples/basic/Article.elm | jfmengels/elm-markup | 166 | module Main exposing (main, source)
{-| A /very/ simple blog post with a custom inline element for some cool text formatting.
This is to get you started.
-}
import Html exposing (Html)
import Html.Attributes as Attr
import Mark
import Mark.Error
main =
case Mark.compile document source of
Mark.Success html ->
Html.div [] html.body
Mark.Almost { result, errors } ->
-- This is the case where there has been an error,
-- but it has been caught by `Mark.onError` and is still rendereable.
Html.div []
[ Html.div [] (viewErrors errors)
, Html.div [] result.body
]
Mark.Failure errors ->
Html.div []
(viewErrors errors)
viewErrors errors =
List.map
(Mark.Error.toHtml Mark.Error.Light)
errors
stylesheet =
"""
@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
.italic {
font-style: italic;
}
.bold {
font-weight: bold;
}
.strike {
text-decoration: line-through;
}
body {
font-family: 'EB Garamond', serif;
font-size: 20px;
width: 600px;
margin-left:auto;
margin-right:auto;
padding: 48px 0;
}
.drop-capital {
font-size: 2.95em;
line-height: 0.89em;
float:left;
margin-right: 8px;
}
.lede {
font-variant: small-caps;
margin-left: -15px;
}
"""
document =
Mark.documentWith
(\meta body ->
{ metadata = meta
, body =
Html.node "style" [] [ Html.text stylesheet ]
:: Html.h1 [] meta.title
:: body
}
)
-- We have some required metadata that starts our document.
{ metadata = metadata
, body =
Mark.manyOf
[ header
, image
, list
, code
, Mark.map (Html.p []) text
]
}
{- Handle Text -}
text =
Mark.textWith
{ view =
\styles string ->
viewText styles string
, replacements = Mark.commonReplacements
, inlines =
[ Mark.annotation "link"
(\texts url ->
Html.a [ Attr.href url ] (List.map (applyTuple viewText) texts)
)
|> Mark.field "url" Mark.string
, Mark.verbatim "drop"
(\str ->
let
drop =
String.left 1 str
lede =
String.dropLeft 1 str
in
Html.span []
[ Html.span [ Attr.class "drop-capital" ]
[ Html.text drop ]
, Html.span [ Attr.class "lede" ]
[ Html.text lede ]
]
)
]
}
applyTuple fn ( one, two ) =
fn one two
viewText styles string =
if styles.bold || styles.italic || styles.strike then
Html.span
[ Attr.classList
[ ( "bold", styles.bold )
, ( "italic", styles.italic )
, ( "strike", styles.strike )
]
]
[ Html.text string ]
else
Html.text string
{- Handle Metadata -}
metadata =
Mark.record "Article"
(\author description title ->
{ author = author
, description = description
, title = title
}
)
|> Mark.field "author" Mark.string
|> Mark.field "description" text
|> Mark.field "title" text
|> Mark.toBlock
{- Handle Blocks -}
header =
Mark.block "H1"
(\children ->
Html.h1 []
children
)
text
image =
Mark.record "Image"
(\src description ->
Html.img
[ Attr.src src
, Attr.alt description
, Attr.style "float" "left"
, Attr.style "margin-right" "48px"
]
[]
)
|> Mark.field "src" Mark.string
|> Mark.field "description" Mark.string
|> Mark.toBlock
code =
Mark.block "Code"
(\str ->
Html.pre
[ Attr.style "padding" "12px"
, Attr.style "background-color" "#eee"
]
[ Html.text str ]
)
Mark.string
{- Handling bulleted and numbered lists -}
list : Mark.Block (Html msg)
list =
Mark.tree "List" renderList (Mark.map (Html.div []) text)
-- Note: we have to define this as a separate function because
-- `Items` and `Node` are a pair of mutually recursive data structures.
-- It's easiest to render them using two separate functions:
-- renderList and renderItem
renderList : Mark.Enumerated (Html msg) -> Html msg
renderList (Mark.Enumerated enum) =
let
group =
case enum.icon of
Mark.Bullet ->
Html.ul
Mark.Number ->
Html.ol
in
group []
(List.map renderItem enum.items)
renderItem : Mark.Item (Html msg) -> Html msg
renderItem (Mark.Item item) =
Html.li []
[ Html.div [] item.content
, renderList item.children
]
{- Article Source
Note: Here we're defining our source inline, but checkout the External Files example.
External files have a syntax highlighter in VS Code, and a CLI utility to check for errors. It's a way better experience!
-}
-- [Lorem Ipsum is simply---]{drop}}dummy text of the printing and [typesetting industry]{link| url = http://mechanical-elephant.com}. Lorem Ipsum has been the industry's /standard/ dummy text ever since the 1500's, when an "unknown printer" took a galley of type and scrambled it to<>make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was *popularised* in the 1960's with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
source =
"""
|> Article
author = Matthew Griffith
title = How I Learned /elm-markup/
description =
How I learned to use elm-markup.
`Lorem Ipsum is simply`{drop} --- dummy text of the printing and [typesetting industry]{link| url = http://mechanical-elephant.com }. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id pellentesque elit, id sollicitudin felis. Morbi eu risus molestie enim suscipit auctor. Morbi pharetra, nisl ut finibus ornare, dolor tortor aliquet est, quis feugiat odio sem ut sem. Nullam eu bibendum ligula. Nunc mollis tortor ac rutrum interdum. Nunc ultrices risus eu pretium interdum. Nullam maximus convallis quam vitae ullamcorper. Praesent sapien nulla, hendrerit quis tincidunt a, placerat et felis. Nullam consectetur magna nec lacinia egestas. Aenean rutrum nunc diam.
Morbi ut porta justo. Integer ac eleifend sem. Fusce sed auctor velit, et condimentum quam. Vivamus id mollis libero, mattis commodo mauris. In hac habitasse platea dictumst. Duis eu lobortis arcu, ac volutpat ante. Duis sapien enim, auctor vitae semper vitae, tincidunt et justo. Cras aliquet turpis nec enim mattis finibus. Nulla diam urna, semper ut elementum at, porttitor ut sapien. Pellentesque et dui neque. In eget lectus odio. Fusce nulla velit, eleifend sit amet malesuada ac, hendrerit id neque. Curabitur blandit elit et urna fringilla, id commodo quam fermentum.
But for real, here's a kitten.
|> Image
src = http://placekitten.com/g/200/300
description = What a cute kitten.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id pellentesque elit, id sollicitudin felis. Morbi eu risus molestie enim suscipit auctor. Morbi pharetra, nisl ut finibus ornare, dolor tortor aliquet est, quis feugiat odio sem ut sem. Nullam eu bibendum ligula. Nunc mollis tortor ac rutrum interdum. Nunc ultrices risus eu pretium interdum. Nullam maximus convallis quam vitae ullamcorper. Praesent sapien nulla, hendrerit quis tincidunt a, placerat et felis. Nullam consectetur magna nec lacinia egestas. Aenean rutrum nunc diam.
Morbi ut porta justo. Integer ac eleifend sem. Fusce sed auctor velit, et condimentum quam. Vivamus id mollis libero, mattis commodo mauris. In hac habitasse platea dictumst. Duis eu lobortis arcu, ac volutpat ante. Duis sapien enim, auctor vitae semper vitae, tincidunt et justo. Cras aliquet turpis nec enim mattis finibus. Nulla diam urna, semper ut elementum at, porttitor ut sapien. Pellentesque et dui neque. In eget lectus odio. Fusce nulla velit, eleifend sit amet malesuada ac, hendrerit id neque. Curabitur blandit elit et urna fringilla, id commodo quam fermentum.
|> Code
This is a code block
With Multiple lines
|> H1
My section on /lists/
What does a *list* look like?
|> List
1. This is definitely the first thing.
Add all together now
With some Content
-- Another thing.
1. sublist
-- more sublist
-- indented
-- other sublist
-- subthing
-- other subthing
-- and yet, another
-- and another one
With some content
"""
| 19392 | module Main exposing (main, source)
{-| A /very/ simple blog post with a custom inline element for some cool text formatting.
This is to get you started.
-}
import Html exposing (Html)
import Html.Attributes as Attr
import Mark
import Mark.Error
main =
case Mark.compile document source of
Mark.Success html ->
Html.div [] html.body
Mark.Almost { result, errors } ->
-- This is the case where there has been an error,
-- but it has been caught by `Mark.onError` and is still rendereable.
Html.div []
[ Html.div [] (viewErrors errors)
, Html.div [] result.body
]
Mark.Failure errors ->
Html.div []
(viewErrors errors)
viewErrors errors =
List.map
(Mark.Error.toHtml Mark.Error.Light)
errors
stylesheet =
"""
@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
.italic {
font-style: italic;
}
.bold {
font-weight: bold;
}
.strike {
text-decoration: line-through;
}
body {
font-family: 'EB Garamond', serif;
font-size: 20px;
width: 600px;
margin-left:auto;
margin-right:auto;
padding: 48px 0;
}
.drop-capital {
font-size: 2.95em;
line-height: 0.89em;
float:left;
margin-right: 8px;
}
.lede {
font-variant: small-caps;
margin-left: -15px;
}
"""
document =
Mark.documentWith
(\meta body ->
{ metadata = meta
, body =
Html.node "style" [] [ Html.text stylesheet ]
:: Html.h1 [] meta.title
:: body
}
)
-- We have some required metadata that starts our document.
{ metadata = metadata
, body =
Mark.manyOf
[ header
, image
, list
, code
, Mark.map (Html.p []) text
]
}
{- Handle Text -}
text =
Mark.textWith
{ view =
\styles string ->
viewText styles string
, replacements = Mark.commonReplacements
, inlines =
[ Mark.annotation "link"
(\texts url ->
Html.a [ Attr.href url ] (List.map (applyTuple viewText) texts)
)
|> Mark.field "url" Mark.string
, Mark.verbatim "drop"
(\str ->
let
drop =
String.left 1 str
lede =
String.dropLeft 1 str
in
Html.span []
[ Html.span [ Attr.class "drop-capital" ]
[ Html.text drop ]
, Html.span [ Attr.class "lede" ]
[ Html.text lede ]
]
)
]
}
applyTuple fn ( one, two ) =
fn one two
viewText styles string =
if styles.bold || styles.italic || styles.strike then
Html.span
[ Attr.classList
[ ( "bold", styles.bold )
, ( "italic", styles.italic )
, ( "strike", styles.strike )
]
]
[ Html.text string ]
else
Html.text string
{- Handle Metadata -}
metadata =
Mark.record "Article"
(\author description title ->
{ author = author
, description = description
, title = title
}
)
|> Mark.field "author" Mark.string
|> Mark.field "description" text
|> Mark.field "title" text
|> Mark.toBlock
{- Handle Blocks -}
header =
Mark.block "H1"
(\children ->
Html.h1 []
children
)
text
image =
Mark.record "Image"
(\src description ->
Html.img
[ Attr.src src
, Attr.alt description
, Attr.style "float" "left"
, Attr.style "margin-right" "48px"
]
[]
)
|> Mark.field "src" Mark.string
|> Mark.field "description" Mark.string
|> Mark.toBlock
code =
Mark.block "Code"
(\str ->
Html.pre
[ Attr.style "padding" "12px"
, Attr.style "background-color" "#eee"
]
[ Html.text str ]
)
Mark.string
{- Handling bulleted and numbered lists -}
list : Mark.Block (Html msg)
list =
Mark.tree "List" renderList (Mark.map (Html.div []) text)
-- Note: we have to define this as a separate function because
-- `Items` and `Node` are a pair of mutually recursive data structures.
-- It's easiest to render them using two separate functions:
-- renderList and renderItem
renderList : Mark.Enumerated (Html msg) -> Html msg
renderList (Mark.Enumerated enum) =
let
group =
case enum.icon of
Mark.Bullet ->
Html.ul
Mark.Number ->
Html.ol
in
group []
(List.map renderItem enum.items)
renderItem : Mark.Item (Html msg) -> Html msg
renderItem (Mark.Item item) =
Html.li []
[ Html.div [] item.content
, renderList item.children
]
{- Article Source
Note: Here we're defining our source inline, but checkout the External Files example.
External files have a syntax highlighter in VS Code, and a CLI utility to check for errors. It's a way better experience!
-}
-- [Lorem Ipsum is simply---]{drop}}dummy text of the printing and [typesetting industry]{link| url = http://mechanical-elephant.com}. Lorem Ipsum has been the industry's /standard/ dummy text ever since the 1500's, when an "unknown printer" took a galley of type and scrambled it to<>make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was *popularised* in the 1960's with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
source =
"""
|> Article
author = <NAME>
title = How I Learned /elm-markup/
description =
How I learned to use elm-markup.
`Lorem Ipsum is simply`{drop} --- dummy text of the printing and [typesetting industry]{link| url = http://mechanical-elephant.com }. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id pellentesque elit, id sollicitudin felis. Morbi eu risus molestie enim suscipit auctor. Morbi pharetra, nisl ut finibus ornare, dolor tortor aliquet est, quis feugiat odio sem ut sem. Nullam eu bibendum ligula. Nunc mollis tortor ac rutrum interdum. Nunc ultrices risus eu pretium interdum. Nullam maximus convallis quam vitae ullamcorper. Praesent sapien nulla, hendrerit quis tincidunt a, placerat et felis. Nullam consectetur magna nec lacinia egestas. Aenean rutrum nunc diam.
Morbi ut porta justo. Integer ac eleifend sem. Fusce sed auctor velit, et condimentum quam. Vivamus id mollis libero, mattis commodo mauris. In hac habitasse platea dictumst. Duis eu lobortis arcu, ac volutpat ante. Duis sapien enim, auctor vitae semper vitae, tincidunt et justo. Cras aliquet turpis nec enim mattis finibus. Nulla diam urna, semper ut elementum at, porttitor ut sapien. Pellentesque et dui neque. In eget lectus odio. Fusce nulla velit, eleifend sit amet malesuada ac, hendrerit id neque. Curabitur blandit elit et urna fringilla, id commodo quam fermentum.
But for real, here's a kitten.
|> Image
src = http://placekitten.com/g/200/300
description = What a cute kitten.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id pellentesque elit, id sollicitudin felis. Morbi eu risus molestie enim suscipit auctor. Morbi pharetra, nisl ut finibus ornare, dolor tortor aliquet est, quis feugiat odio sem ut sem. Nullam eu bibendum ligula. Nunc mollis tortor ac rutrum interdum. Nunc ultrices risus eu pretium interdum. Nullam maximus convallis quam vitae ullamcorper. Praesent sapien nulla, hendrerit quis tincidunt a, placerat et felis. Nullam consectetur magna nec lacinia egestas. Aenean rutrum nunc diam.
Morbi ut porta justo. Integer ac eleifend sem. Fusce sed auctor velit, et condimentum quam. Vivamus id mollis libero, mattis commodo mauris. In hac habitasse platea dictumst. Duis eu lobortis arcu, ac volutpat ante. Duis sapien enim, auctor vitae semper vitae, tincidunt et justo. Cras aliquet turpis nec enim mattis finibus. Nulla diam urna, semper ut elementum at, porttitor ut sapien. Pellentesque et dui neque. In eget lectus odio. Fusce nulla velit, eleifend sit amet malesuada ac, hendrerit id neque. Curabitur blandit elit et urna fringilla, id commodo quam fermentum.
|> Code
This is a code block
With Multiple lines
|> H1
My section on /lists/
What does a *list* look like?
|> List
1. This is definitely the first thing.
Add all together now
With some Content
-- Another thing.
1. sublist
-- more sublist
-- indented
-- other sublist
-- subthing
-- other subthing
-- and yet, another
-- and another one
With some content
"""
| true | module Main exposing (main, source)
{-| A /very/ simple blog post with a custom inline element for some cool text formatting.
This is to get you started.
-}
import Html exposing (Html)
import Html.Attributes as Attr
import Mark
import Mark.Error
main =
case Mark.compile document source of
Mark.Success html ->
Html.div [] html.body
Mark.Almost { result, errors } ->
-- This is the case where there has been an error,
-- but it has been caught by `Mark.onError` and is still rendereable.
Html.div []
[ Html.div [] (viewErrors errors)
, Html.div [] result.body
]
Mark.Failure errors ->
Html.div []
(viewErrors errors)
viewErrors errors =
List.map
(Mark.Error.toHtml Mark.Error.Light)
errors
stylesheet =
"""
@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
.italic {
font-style: italic;
}
.bold {
font-weight: bold;
}
.strike {
text-decoration: line-through;
}
body {
font-family: 'EB Garamond', serif;
font-size: 20px;
width: 600px;
margin-left:auto;
margin-right:auto;
padding: 48px 0;
}
.drop-capital {
font-size: 2.95em;
line-height: 0.89em;
float:left;
margin-right: 8px;
}
.lede {
font-variant: small-caps;
margin-left: -15px;
}
"""
document =
Mark.documentWith
(\meta body ->
{ metadata = meta
, body =
Html.node "style" [] [ Html.text stylesheet ]
:: Html.h1 [] meta.title
:: body
}
)
-- We have some required metadata that starts our document.
{ metadata = metadata
, body =
Mark.manyOf
[ header
, image
, list
, code
, Mark.map (Html.p []) text
]
}
{- Handle Text -}
text =
Mark.textWith
{ view =
\styles string ->
viewText styles string
, replacements = Mark.commonReplacements
, inlines =
[ Mark.annotation "link"
(\texts url ->
Html.a [ Attr.href url ] (List.map (applyTuple viewText) texts)
)
|> Mark.field "url" Mark.string
, Mark.verbatim "drop"
(\str ->
let
drop =
String.left 1 str
lede =
String.dropLeft 1 str
in
Html.span []
[ Html.span [ Attr.class "drop-capital" ]
[ Html.text drop ]
, Html.span [ Attr.class "lede" ]
[ Html.text lede ]
]
)
]
}
applyTuple fn ( one, two ) =
fn one two
viewText styles string =
if styles.bold || styles.italic || styles.strike then
Html.span
[ Attr.classList
[ ( "bold", styles.bold )
, ( "italic", styles.italic )
, ( "strike", styles.strike )
]
]
[ Html.text string ]
else
Html.text string
{- Handle Metadata -}
metadata =
Mark.record "Article"
(\author description title ->
{ author = author
, description = description
, title = title
}
)
|> Mark.field "author" Mark.string
|> Mark.field "description" text
|> Mark.field "title" text
|> Mark.toBlock
{- Handle Blocks -}
header =
Mark.block "H1"
(\children ->
Html.h1 []
children
)
text
image =
Mark.record "Image"
(\src description ->
Html.img
[ Attr.src src
, Attr.alt description
, Attr.style "float" "left"
, Attr.style "margin-right" "48px"
]
[]
)
|> Mark.field "src" Mark.string
|> Mark.field "description" Mark.string
|> Mark.toBlock
code =
Mark.block "Code"
(\str ->
Html.pre
[ Attr.style "padding" "12px"
, Attr.style "background-color" "#eee"
]
[ Html.text str ]
)
Mark.string
{- Handling bulleted and numbered lists -}
list : Mark.Block (Html msg)
list =
Mark.tree "List" renderList (Mark.map (Html.div []) text)
-- Note: we have to define this as a separate function because
-- `Items` and `Node` are a pair of mutually recursive data structures.
-- It's easiest to render them using two separate functions:
-- renderList and renderItem
renderList : Mark.Enumerated (Html msg) -> Html msg
renderList (Mark.Enumerated enum) =
let
group =
case enum.icon of
Mark.Bullet ->
Html.ul
Mark.Number ->
Html.ol
in
group []
(List.map renderItem enum.items)
renderItem : Mark.Item (Html msg) -> Html msg
renderItem (Mark.Item item) =
Html.li []
[ Html.div [] item.content
, renderList item.children
]
{- Article Source
Note: Here we're defining our source inline, but checkout the External Files example.
External files have a syntax highlighter in VS Code, and a CLI utility to check for errors. It's a way better experience!
-}
-- [Lorem Ipsum is simply---]{drop}}dummy text of the printing and [typesetting industry]{link| url = http://mechanical-elephant.com}. Lorem Ipsum has been the industry's /standard/ dummy text ever since the 1500's, when an "unknown printer" took a galley of type and scrambled it to<>make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was *popularised* in the 1960's with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
source =
"""
|> Article
author = PI:NAME:<NAME>END_PI
title = How I Learned /elm-markup/
description =
How I learned to use elm-markup.
`Lorem Ipsum is simply`{drop} --- dummy text of the printing and [typesetting industry]{link| url = http://mechanical-elephant.com }. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id pellentesque elit, id sollicitudin felis. Morbi eu risus molestie enim suscipit auctor. Morbi pharetra, nisl ut finibus ornare, dolor tortor aliquet est, quis feugiat odio sem ut sem. Nullam eu bibendum ligula. Nunc mollis tortor ac rutrum interdum. Nunc ultrices risus eu pretium interdum. Nullam maximus convallis quam vitae ullamcorper. Praesent sapien nulla, hendrerit quis tincidunt a, placerat et felis. Nullam consectetur magna nec lacinia egestas. Aenean rutrum nunc diam.
Morbi ut porta justo. Integer ac eleifend sem. Fusce sed auctor velit, et condimentum quam. Vivamus id mollis libero, mattis commodo mauris. In hac habitasse platea dictumst. Duis eu lobortis arcu, ac volutpat ante. Duis sapien enim, auctor vitae semper vitae, tincidunt et justo. Cras aliquet turpis nec enim mattis finibus. Nulla diam urna, semper ut elementum at, porttitor ut sapien. Pellentesque et dui neque. In eget lectus odio. Fusce nulla velit, eleifend sit amet malesuada ac, hendrerit id neque. Curabitur blandit elit et urna fringilla, id commodo quam fermentum.
But for real, here's a kitten.
|> Image
src = http://placekitten.com/g/200/300
description = What a cute kitten.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id pellentesque elit, id sollicitudin felis. Morbi eu risus molestie enim suscipit auctor. Morbi pharetra, nisl ut finibus ornare, dolor tortor aliquet est, quis feugiat odio sem ut sem. Nullam eu bibendum ligula. Nunc mollis tortor ac rutrum interdum. Nunc ultrices risus eu pretium interdum. Nullam maximus convallis quam vitae ullamcorper. Praesent sapien nulla, hendrerit quis tincidunt a, placerat et felis. Nullam consectetur magna nec lacinia egestas. Aenean rutrum nunc diam.
Morbi ut porta justo. Integer ac eleifend sem. Fusce sed auctor velit, et condimentum quam. Vivamus id mollis libero, mattis commodo mauris. In hac habitasse platea dictumst. Duis eu lobortis arcu, ac volutpat ante. Duis sapien enim, auctor vitae semper vitae, tincidunt et justo. Cras aliquet turpis nec enim mattis finibus. Nulla diam urna, semper ut elementum at, porttitor ut sapien. Pellentesque et dui neque. In eget lectus odio. Fusce nulla velit, eleifend sit amet malesuada ac, hendrerit id neque. Curabitur blandit elit et urna fringilla, id commodo quam fermentum.
|> Code
This is a code block
With Multiple lines
|> H1
My section on /lists/
What does a *list* look like?
|> List
1. This is definitely the first thing.
Add all together now
With some Content
-- Another thing.
1. sublist
-- more sublist
-- indented
-- other sublist
-- subthing
-- other subthing
-- and yet, another
-- and another one
With some content
"""
| elm |
[
{
"context": "String -> String -> UserOperation\nchangePassword = ChangePassword\n\n{-| UserOperation: Initiate a password r",
"end": 5459,
"score": 0.6560121179,
"start": 5453,
"tag": "PASSWORD",
"value": "Change"
},
{
"context": "Password : String -> UserOperation\nresetPassword = ResetPassword\n\n{-| Perform a user management operation ",
"end": 5658,
"score": 0.9492377639,
"start": 5653,
"tag": "PASSWORD",
"value": "Reset"
}
] | src/ElmFire/Auth.elm | ThomasWeiser/elmfire | 257 | module ElmFire.Auth
( Authentication
, getAuth, subscribeAuth, unsubscribeAuth
, Identification
, authenticate, unauthenticate
, asAnonymous, withPassword, withOAuthPopup, withOAuthRedirect
, withOAuthAccessToken, withOAuthCredentials, withCustomToken
, Options
, rememberDefault, rememberSessionOnly, rememberNone
, UserOperation
, userOperation
, createUser, removeUser, changeEmail, changePassword, resetPassword
) where
{-| Elm bindings to Firebase Authentication.
Note that all tasks in this module refer to a entire Firebase, not a specific path within a Firebase.
Therefore, only the root of the `Location` parameter is relevant.
# Getting Authentication Status
@docs Authentication, getAuth, subscribeAuth, unsubscribeAuth
# Perform Authentication
@docs Identification, authenticate, unauthenticate,
asAnonymous, withPassword, withOAuthPopup, withOAuthRedirect,
withOAuthAccessToken, withOAuthCredentials, withCustomToken
# Options
@docs Options, rememberDefault, rememberSessionOnly, rememberNone
# User Management
@docs UserOperation, userOperation,
createUser, removeUser, changeEmail, changePassword, resetPassword
-}
import Native.Firebase
import Native.ElmFire.Auth
import ElmFire exposing (Location, Reference, Error)
import Date exposing (Date)
import Json.Encode as JE
import Task exposing (Task)
{-| Authentication data. See Firebase doc for details. -}
type alias Authentication =
{ uid: String
, provider: String
, token: String
, expires: Date
, auth: JE.Value
, specifics: JE.Value
}
{-| Subscribe to changes to the client's authentication state -}
subscribeAuth : (Maybe Authentication -> Task x a) -> Location -> Task Error ()
subscribeAuth = Native.ElmFire.Auth.subscribeAuth
{-| Quit subscription to authentication state -}
unsubscribeAuth : Location -> Task Error ()
unsubscribeAuth = Native.ElmFire.Auth.unsubscribeAuth
{-| Retrieve the current authentication state of the client -}
getAuth : Location -> Task Error (Maybe Authentication)
getAuth = Native.ElmFire.Auth.getAuth
{-| Identification options to authenticate at a Firebase -}
type Identification
= Anonymous
| Password String String
| OAuthPopup String
| OAuthRedirect String
| OAuthAccessToken String String
| OAuthCredentials String (List (String, String))
| CustomToken String
{-| Identify as a anonymous, temporary guest -}
asAnonymous : Identification
asAnonymous = Anonymous
{-| Identify with email and password -}
withPassword : String -> String -> Identification
withPassword = Password
{-| Identify using a popup-based OAuth flow -}
withOAuthPopup : String -> Identification
withOAuthPopup = OAuthPopup
{-| Identify using a redirect-based OAuth flow -}
withOAuthRedirect : String -> Identification
withOAuthRedirect = OAuthRedirect
{-| Identify using OAuth access token -}
withOAuthAccessToken : String -> String -> Identification
withOAuthAccessToken = OAuthAccessToken
{-| Identify using OAuth credentials -}
withOAuthCredentials : String -> List (String, String) -> Identification
withOAuthCredentials = OAuthCredentials
{-| Identify using an authentication token or Firebase secret -}
withCustomToken : String -> Identification
withCustomToken = CustomToken
{-| Optional authentication parameters
All providers allow option `remember` to specify the presistency of authentication.
Specific provider may accept additional options. See Firebase docs.
-}
type alias Options = List (String, String)
{-| Option for default persistence:
Sessions are persisted for as long as it is configured in the Firebase's dashboard.
-}
rememberDefault : (String, String)
rememberDefault = ("remember", "default")
{-| Option for session only persistence:
Persistence is limited to the lifetime of the current window.
-}
rememberSessionOnly : (String, String)
rememberSessionOnly = ("remember", "sessionOnly")
{-| Option for no persistence:
No persistent authentication data is used. End authentication as soon as the page is closed.
-}
rememberNone : (String, String)
rememberNone = ("remember", "none")
{-| Authenticate client at a Firebase -}
authenticate : Location
-> Options
-> Identification
-> Task Error Authentication
authenticate = Native.ElmFire.Auth.authenticate
{-| Unauthenticate client at a Firebase -}
unauthenticate : Location -> Task Error ()
unauthenticate = Native.ElmFire.Auth.unauthenticate
{-| Specification of a user management operation -}
type UserOperation
= CreateUser String String -- email password
| RemoveUser String String -- email password
| ChangeEmail String String String -- email password newEmail
| ChangePassword String String String -- email password newPassword
| ResetPassword String -- email
{-| UserOperation: Create a user identity.
Parameter: email password -}
createUser : String -> String -> UserOperation
createUser = CreateUser
{-| UserOperation: Remove a user identity.
Parameter: email password -}
removeUser : String -> String -> UserOperation
removeUser = RemoveUser
{-| UserOperation: Change the email address of a user identity.
Parameter: oldEmail password newEmail -}
changeEmail : String -> String -> String -> UserOperation
changeEmail = ChangeEmail
{-| UserOperation: Change the password of a user identity.
Parameter: email oldPassword newPassword -}
changePassword : String -> String -> String -> UserOperation
changePassword = ChangePassword
{-| UserOperation: Initiate a password reset. Firebase will send an appropriate email to the account owner.
Parameter: email -}
resetPassword : String -> UserOperation
resetPassword = ResetPassword
{-| Perform a user management operation at a Firebase
Operation `createUser` returns a `Just uid` on success,
all other operations return `Nothing` on success.
-}
userOperation : Location
-> UserOperation
-> Task Error (Maybe String)
userOperation = Native.ElmFire.Auth.userOperation
| 27366 | module ElmFire.Auth
( Authentication
, getAuth, subscribeAuth, unsubscribeAuth
, Identification
, authenticate, unauthenticate
, asAnonymous, withPassword, withOAuthPopup, withOAuthRedirect
, withOAuthAccessToken, withOAuthCredentials, withCustomToken
, Options
, rememberDefault, rememberSessionOnly, rememberNone
, UserOperation
, userOperation
, createUser, removeUser, changeEmail, changePassword, resetPassword
) where
{-| Elm bindings to Firebase Authentication.
Note that all tasks in this module refer to a entire Firebase, not a specific path within a Firebase.
Therefore, only the root of the `Location` parameter is relevant.
# Getting Authentication Status
@docs Authentication, getAuth, subscribeAuth, unsubscribeAuth
# Perform Authentication
@docs Identification, authenticate, unauthenticate,
asAnonymous, withPassword, withOAuthPopup, withOAuthRedirect,
withOAuthAccessToken, withOAuthCredentials, withCustomToken
# Options
@docs Options, rememberDefault, rememberSessionOnly, rememberNone
# User Management
@docs UserOperation, userOperation,
createUser, removeUser, changeEmail, changePassword, resetPassword
-}
import Native.Firebase
import Native.ElmFire.Auth
import ElmFire exposing (Location, Reference, Error)
import Date exposing (Date)
import Json.Encode as JE
import Task exposing (Task)
{-| Authentication data. See Firebase doc for details. -}
type alias Authentication =
{ uid: String
, provider: String
, token: String
, expires: Date
, auth: JE.Value
, specifics: JE.Value
}
{-| Subscribe to changes to the client's authentication state -}
subscribeAuth : (Maybe Authentication -> Task x a) -> Location -> Task Error ()
subscribeAuth = Native.ElmFire.Auth.subscribeAuth
{-| Quit subscription to authentication state -}
unsubscribeAuth : Location -> Task Error ()
unsubscribeAuth = Native.ElmFire.Auth.unsubscribeAuth
{-| Retrieve the current authentication state of the client -}
getAuth : Location -> Task Error (Maybe Authentication)
getAuth = Native.ElmFire.Auth.getAuth
{-| Identification options to authenticate at a Firebase -}
type Identification
= Anonymous
| Password String String
| OAuthPopup String
| OAuthRedirect String
| OAuthAccessToken String String
| OAuthCredentials String (List (String, String))
| CustomToken String
{-| Identify as a anonymous, temporary guest -}
asAnonymous : Identification
asAnonymous = Anonymous
{-| Identify with email and password -}
withPassword : String -> String -> Identification
withPassword = Password
{-| Identify using a popup-based OAuth flow -}
withOAuthPopup : String -> Identification
withOAuthPopup = OAuthPopup
{-| Identify using a redirect-based OAuth flow -}
withOAuthRedirect : String -> Identification
withOAuthRedirect = OAuthRedirect
{-| Identify using OAuth access token -}
withOAuthAccessToken : String -> String -> Identification
withOAuthAccessToken = OAuthAccessToken
{-| Identify using OAuth credentials -}
withOAuthCredentials : String -> List (String, String) -> Identification
withOAuthCredentials = OAuthCredentials
{-| Identify using an authentication token or Firebase secret -}
withCustomToken : String -> Identification
withCustomToken = CustomToken
{-| Optional authentication parameters
All providers allow option `remember` to specify the presistency of authentication.
Specific provider may accept additional options. See Firebase docs.
-}
type alias Options = List (String, String)
{-| Option for default persistence:
Sessions are persisted for as long as it is configured in the Firebase's dashboard.
-}
rememberDefault : (String, String)
rememberDefault = ("remember", "default")
{-| Option for session only persistence:
Persistence is limited to the lifetime of the current window.
-}
rememberSessionOnly : (String, String)
rememberSessionOnly = ("remember", "sessionOnly")
{-| Option for no persistence:
No persistent authentication data is used. End authentication as soon as the page is closed.
-}
rememberNone : (String, String)
rememberNone = ("remember", "none")
{-| Authenticate client at a Firebase -}
authenticate : Location
-> Options
-> Identification
-> Task Error Authentication
authenticate = Native.ElmFire.Auth.authenticate
{-| Unauthenticate client at a Firebase -}
unauthenticate : Location -> Task Error ()
unauthenticate = Native.ElmFire.Auth.unauthenticate
{-| Specification of a user management operation -}
type UserOperation
= CreateUser String String -- email password
| RemoveUser String String -- email password
| ChangeEmail String String String -- email password newEmail
| ChangePassword String String String -- email password newPassword
| ResetPassword String -- email
{-| UserOperation: Create a user identity.
Parameter: email password -}
createUser : String -> String -> UserOperation
createUser = CreateUser
{-| UserOperation: Remove a user identity.
Parameter: email password -}
removeUser : String -> String -> UserOperation
removeUser = RemoveUser
{-| UserOperation: Change the email address of a user identity.
Parameter: oldEmail password newEmail -}
changeEmail : String -> String -> String -> UserOperation
changeEmail = ChangeEmail
{-| UserOperation: Change the password of a user identity.
Parameter: email oldPassword newPassword -}
changePassword : String -> String -> String -> UserOperation
changePassword = <PASSWORD>Password
{-| UserOperation: Initiate a password reset. Firebase will send an appropriate email to the account owner.
Parameter: email -}
resetPassword : String -> UserOperation
resetPassword = <PASSWORD>Password
{-| Perform a user management operation at a Firebase
Operation `createUser` returns a `Just uid` on success,
all other operations return `Nothing` on success.
-}
userOperation : Location
-> UserOperation
-> Task Error (Maybe String)
userOperation = Native.ElmFire.Auth.userOperation
| true | module ElmFire.Auth
( Authentication
, getAuth, subscribeAuth, unsubscribeAuth
, Identification
, authenticate, unauthenticate
, asAnonymous, withPassword, withOAuthPopup, withOAuthRedirect
, withOAuthAccessToken, withOAuthCredentials, withCustomToken
, Options
, rememberDefault, rememberSessionOnly, rememberNone
, UserOperation
, userOperation
, createUser, removeUser, changeEmail, changePassword, resetPassword
) where
{-| Elm bindings to Firebase Authentication.
Note that all tasks in this module refer to a entire Firebase, not a specific path within a Firebase.
Therefore, only the root of the `Location` parameter is relevant.
# Getting Authentication Status
@docs Authentication, getAuth, subscribeAuth, unsubscribeAuth
# Perform Authentication
@docs Identification, authenticate, unauthenticate,
asAnonymous, withPassword, withOAuthPopup, withOAuthRedirect,
withOAuthAccessToken, withOAuthCredentials, withCustomToken
# Options
@docs Options, rememberDefault, rememberSessionOnly, rememberNone
# User Management
@docs UserOperation, userOperation,
createUser, removeUser, changeEmail, changePassword, resetPassword
-}
import Native.Firebase
import Native.ElmFire.Auth
import ElmFire exposing (Location, Reference, Error)
import Date exposing (Date)
import Json.Encode as JE
import Task exposing (Task)
{-| Authentication data. See Firebase doc for details. -}
type alias Authentication =
{ uid: String
, provider: String
, token: String
, expires: Date
, auth: JE.Value
, specifics: JE.Value
}
{-| Subscribe to changes to the client's authentication state -}
subscribeAuth : (Maybe Authentication -> Task x a) -> Location -> Task Error ()
subscribeAuth = Native.ElmFire.Auth.subscribeAuth
{-| Quit subscription to authentication state -}
unsubscribeAuth : Location -> Task Error ()
unsubscribeAuth = Native.ElmFire.Auth.unsubscribeAuth
{-| Retrieve the current authentication state of the client -}
getAuth : Location -> Task Error (Maybe Authentication)
getAuth = Native.ElmFire.Auth.getAuth
{-| Identification options to authenticate at a Firebase -}
type Identification
= Anonymous
| Password String String
| OAuthPopup String
| OAuthRedirect String
| OAuthAccessToken String String
| OAuthCredentials String (List (String, String))
| CustomToken String
{-| Identify as a anonymous, temporary guest -}
asAnonymous : Identification
asAnonymous = Anonymous
{-| Identify with email and password -}
withPassword : String -> String -> Identification
withPassword = Password
{-| Identify using a popup-based OAuth flow -}
withOAuthPopup : String -> Identification
withOAuthPopup = OAuthPopup
{-| Identify using a redirect-based OAuth flow -}
withOAuthRedirect : String -> Identification
withOAuthRedirect = OAuthRedirect
{-| Identify using OAuth access token -}
withOAuthAccessToken : String -> String -> Identification
withOAuthAccessToken = OAuthAccessToken
{-| Identify using OAuth credentials -}
withOAuthCredentials : String -> List (String, String) -> Identification
withOAuthCredentials = OAuthCredentials
{-| Identify using an authentication token or Firebase secret -}
withCustomToken : String -> Identification
withCustomToken = CustomToken
{-| Optional authentication parameters
All providers allow option `remember` to specify the presistency of authentication.
Specific provider may accept additional options. See Firebase docs.
-}
type alias Options = List (String, String)
{-| Option for default persistence:
Sessions are persisted for as long as it is configured in the Firebase's dashboard.
-}
rememberDefault : (String, String)
rememberDefault = ("remember", "default")
{-| Option for session only persistence:
Persistence is limited to the lifetime of the current window.
-}
rememberSessionOnly : (String, String)
rememberSessionOnly = ("remember", "sessionOnly")
{-| Option for no persistence:
No persistent authentication data is used. End authentication as soon as the page is closed.
-}
rememberNone : (String, String)
rememberNone = ("remember", "none")
{-| Authenticate client at a Firebase -}
authenticate : Location
-> Options
-> Identification
-> Task Error Authentication
authenticate = Native.ElmFire.Auth.authenticate
{-| Unauthenticate client at a Firebase -}
unauthenticate : Location -> Task Error ()
unauthenticate = Native.ElmFire.Auth.unauthenticate
{-| Specification of a user management operation -}
type UserOperation
= CreateUser String String -- email password
| RemoveUser String String -- email password
| ChangeEmail String String String -- email password newEmail
| ChangePassword String String String -- email password newPassword
| ResetPassword String -- email
{-| UserOperation: Create a user identity.
Parameter: email password -}
createUser : String -> String -> UserOperation
createUser = CreateUser
{-| UserOperation: Remove a user identity.
Parameter: email password -}
removeUser : String -> String -> UserOperation
removeUser = RemoveUser
{-| UserOperation: Change the email address of a user identity.
Parameter: oldEmail password newEmail -}
changeEmail : String -> String -> String -> UserOperation
changeEmail = ChangeEmail
{-| UserOperation: Change the password of a user identity.
Parameter: email oldPassword newPassword -}
changePassword : String -> String -> String -> UserOperation
changePassword = PI:PASSWORD:<PASSWORD>END_PIPassword
{-| UserOperation: Initiate a password reset. Firebase will send an appropriate email to the account owner.
Parameter: email -}
resetPassword : String -> UserOperation
resetPassword = PI:PASSWORD:<PASSWORD>END_PIPassword
{-| Perform a user management operation at a Firebase
Operation `createUser` returns a `Just uid` on success,
all other operations return `Nothing` on success.
-}
userOperation : Location
-> UserOperation
-> Task Error (Maybe String)
userOperation = Native.ElmFire.Auth.userOperation
| elm |
[
{
"context": "-- Copyright 2018 Gregor Uhlenheuer\n--\n-- Licensed under the Apache License, Version ",
"end": 35,
"score": 0.9998854399,
"start": 18,
"tag": "NAME",
"value": "Gregor Uhlenheuer"
}
] | client/src/View.elm | kongo2002/ogonek | 1 | -- Copyright 2018 Gregor Uhlenheuer
--
-- 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.
module View exposing (view)
import Browser
import Dict
import Html exposing (Html, div, p, text)
import Html.Attributes exposing (class)
import Types
import View.Building
import View.Buildings
import View.Login
import View.Navigation
import View.Overview
import View.Planet
import View.Production
import View.Research
import View.Ships
import View.User
import View.Utils exposing (loggedIn)
import View.Weapons
view : Types.Model -> Browser.Document Types.Msg
view model =
let
loggedOutContent =
case model.route of
Types.HomeRoute ->
home
Types.LoginRoute ->
View.Login.login
_ ->
home
withPlanet view0 planet =
case Dict.get planet model.planets of
-- view a specific/known planet
Just pl ->
view0 pl
-- unknown planet-id -> fallback to overview
Nothing ->
View.Overview.overview
loggedInContent =
case model.route of
-- home/overview
Types.HomeRoute ->
View.Overview.overview
-- planet view
Types.PlanetRoute planet ->
withPlanet View.Planet.planet planet
-- buildings view
Types.BuildingsRoute planet ->
withPlanet View.Buildings.buildings planet
-- weapons
Types.WeaponsRoute planet ->
withPlanet View.Weapons.weapons planet
-- ships
Types.ShipsRoute planet ->
withPlanet View.Ships.ships planet
-- production
Types.ProductionRoute planet ->
withPlanet View.Production.production planet
-- building
Types.BuildingRoute building ->
View.Building.building building
-- research
Types.ResearchRoute ->
View.Research.research
-- user
Types.UserRoute ->
View.User.user
-- login
Types.LoginRoute ->
View.Login.login
-- general fallback to home/overview
_ ->
View.Overview.overview
content =
if loggedIn model then
loggedInContent
else
loggedOutContent
rows =
View.Navigation.navigation model :: content model
in
Browser.Document "ogonek" [ div [ class "container" ] rows ]
home : Types.Model -> List (Html Types.Msg)
home _ =
[ div []
[ p [] [ text "Welcome to ogonek!" ]
]
]
-- vim: et sw=2 sts=2
| 7425 | -- Copyright 2018 <NAME>
--
-- 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.
module View exposing (view)
import Browser
import Dict
import Html exposing (Html, div, p, text)
import Html.Attributes exposing (class)
import Types
import View.Building
import View.Buildings
import View.Login
import View.Navigation
import View.Overview
import View.Planet
import View.Production
import View.Research
import View.Ships
import View.User
import View.Utils exposing (loggedIn)
import View.Weapons
view : Types.Model -> Browser.Document Types.Msg
view model =
let
loggedOutContent =
case model.route of
Types.HomeRoute ->
home
Types.LoginRoute ->
View.Login.login
_ ->
home
withPlanet view0 planet =
case Dict.get planet model.planets of
-- view a specific/known planet
Just pl ->
view0 pl
-- unknown planet-id -> fallback to overview
Nothing ->
View.Overview.overview
loggedInContent =
case model.route of
-- home/overview
Types.HomeRoute ->
View.Overview.overview
-- planet view
Types.PlanetRoute planet ->
withPlanet View.Planet.planet planet
-- buildings view
Types.BuildingsRoute planet ->
withPlanet View.Buildings.buildings planet
-- weapons
Types.WeaponsRoute planet ->
withPlanet View.Weapons.weapons planet
-- ships
Types.ShipsRoute planet ->
withPlanet View.Ships.ships planet
-- production
Types.ProductionRoute planet ->
withPlanet View.Production.production planet
-- building
Types.BuildingRoute building ->
View.Building.building building
-- research
Types.ResearchRoute ->
View.Research.research
-- user
Types.UserRoute ->
View.User.user
-- login
Types.LoginRoute ->
View.Login.login
-- general fallback to home/overview
_ ->
View.Overview.overview
content =
if loggedIn model then
loggedInContent
else
loggedOutContent
rows =
View.Navigation.navigation model :: content model
in
Browser.Document "ogonek" [ div [ class "container" ] rows ]
home : Types.Model -> List (Html Types.Msg)
home _ =
[ div []
[ p [] [ text "Welcome to ogonek!" ]
]
]
-- vim: et sw=2 sts=2
| true | -- Copyright 2018 PI:NAME:<NAME>END_PI
--
-- 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.
module View exposing (view)
import Browser
import Dict
import Html exposing (Html, div, p, text)
import Html.Attributes exposing (class)
import Types
import View.Building
import View.Buildings
import View.Login
import View.Navigation
import View.Overview
import View.Planet
import View.Production
import View.Research
import View.Ships
import View.User
import View.Utils exposing (loggedIn)
import View.Weapons
view : Types.Model -> Browser.Document Types.Msg
view model =
let
loggedOutContent =
case model.route of
Types.HomeRoute ->
home
Types.LoginRoute ->
View.Login.login
_ ->
home
withPlanet view0 planet =
case Dict.get planet model.planets of
-- view a specific/known planet
Just pl ->
view0 pl
-- unknown planet-id -> fallback to overview
Nothing ->
View.Overview.overview
loggedInContent =
case model.route of
-- home/overview
Types.HomeRoute ->
View.Overview.overview
-- planet view
Types.PlanetRoute planet ->
withPlanet View.Planet.planet planet
-- buildings view
Types.BuildingsRoute planet ->
withPlanet View.Buildings.buildings planet
-- weapons
Types.WeaponsRoute planet ->
withPlanet View.Weapons.weapons planet
-- ships
Types.ShipsRoute planet ->
withPlanet View.Ships.ships planet
-- production
Types.ProductionRoute planet ->
withPlanet View.Production.production planet
-- building
Types.BuildingRoute building ->
View.Building.building building
-- research
Types.ResearchRoute ->
View.Research.research
-- user
Types.UserRoute ->
View.User.user
-- login
Types.LoginRoute ->
View.Login.login
-- general fallback to home/overview
_ ->
View.Overview.overview
content =
if loggedIn model then
loggedInContent
else
loggedOutContent
rows =
View.Navigation.navigation model :: content model
in
Browser.Document "ogonek" [ div [ class "container" ] rows ]
home : Types.Model -> List (Html Types.Msg)
home _ =
[ div []
[ p [] [ text "Welcome to ogonek!" ]
]
]
-- vim: et sw=2 sts=2
| elm |
[
{
"context": "h.init \"https://app.asana.com/-/oauth_authorize\" \"192968333753040\" \"https://localhost:8000\"\n\n\nview : Model -> Html ",
"end": 288,
"score": 0.8111597896,
"start": 273,
"tag": "KEY",
"value": "192968333753040"
}
] | OAuth/OAuthTest.elm | Asana/CSVana | 0 | module OAuth.OAuthTest exposing (main)
import OAuth.OAuth as OAuth
import Html exposing (..)
import Html.App exposing (..)
type alias Msg = OAuth.Msg
type alias Model = OAuth.Model
init : (Model, Cmd Msg)
init =
OAuth.init "https://app.asana.com/-/oauth_authorize" "192968333753040" "https://localhost:8000"
view : Model -> Html Msg
view model =
text <| toString model
update : Msg -> Model -> (Model, Cmd Msg)
update msg model =
let
(model', cmd) = OAuth.update msg model
in
case OAuth.getState model' of
OAuth.Ready ->
OAuth.authenticate model'
_ ->
(model', cmd)
main : Program Never
main =
program
{ init = init
, update = update
, subscriptions = OAuth.subscriptions
, view = view
}
| 17322 | module OAuth.OAuthTest exposing (main)
import OAuth.OAuth as OAuth
import Html exposing (..)
import Html.App exposing (..)
type alias Msg = OAuth.Msg
type alias Model = OAuth.Model
init : (Model, Cmd Msg)
init =
OAuth.init "https://app.asana.com/-/oauth_authorize" "<KEY>" "https://localhost:8000"
view : Model -> Html Msg
view model =
text <| toString model
update : Msg -> Model -> (Model, Cmd Msg)
update msg model =
let
(model', cmd) = OAuth.update msg model
in
case OAuth.getState model' of
OAuth.Ready ->
OAuth.authenticate model'
_ ->
(model', cmd)
main : Program Never
main =
program
{ init = init
, update = update
, subscriptions = OAuth.subscriptions
, view = view
}
| true | module OAuth.OAuthTest exposing (main)
import OAuth.OAuth as OAuth
import Html exposing (..)
import Html.App exposing (..)
type alias Msg = OAuth.Msg
type alias Model = OAuth.Model
init : (Model, Cmd Msg)
init =
OAuth.init "https://app.asana.com/-/oauth_authorize" "PI:KEY:<KEY>END_PI" "https://localhost:8000"
view : Model -> Html Msg
view model =
text <| toString model
update : Msg -> Model -> (Model, Cmd Msg)
update msg model =
let
(model', cmd) = OAuth.update msg model
in
case OAuth.getState model' of
OAuth.Ready ->
OAuth.authenticate model'
_ ->
(model', cmd)
main : Program Never
main =
program
{ init = init
, update = update
, subscriptions = OAuth.subscriptions
, view = view
}
| elm |
[
{
"context": "ser\nactiveUsers =\n [ Anonymous\n , LoggedIn \"Tom\"\n , LoggedIn \"Steve\"\n , Anonymous\n ]\n```",
"end": 2659,
"score": 0.9994982481,
"start": 2656,
"tag": "NAME",
"value": "Tom"
},
{
"context": " [ Anonymous\n , LoggedIn \"Tom\"\n , LoggedIn \"Steve\"\n , Anonymous\n ]\n```\n\nWe can mix data with ",
"end": 2682,
"score": 0.9996487498,
"start": 2677,
"tag": "NAME",
"value": "Steve"
},
{
"context": "userPhoto activeUsers\n-- [ \"anon.png\"\n-- , \"users/Tom/photo.png\"\n-- , \"users/Steve/photo.png\"\n-- , \"ano",
"end": 2944,
"score": 0.9475288987,
"start": 2941,
"tag": "NAME",
"value": "Tom"
},
{
"context": "\"anon.png\"\n-- , \"users/Tom/photo.png\"\n-- , \"users/Steve/photo.png\"\n-- , \"anon.png\"\n-- ]\n```\n\nAll the user",
"end": 2973,
"score": 0.9992502928,
"start": 2968,
"tag": "NAME",
"value": "Steve"
}
] | frontend/public/learn/Union-Types.elm | reverie/elm-lang.org | 0 | import Graphics.Element (..)
import Markdown
import Signal (Signal, (<~))
import Website.Skeleton (skeleton)
import Window
port title : String
port title = "Union Types"
main : Signal Element
main = skeleton "Learn" (\w -> width (min 600 w) content) <~ Window.dimensions
content : Element
content = Markdown.toElement """
# Union Types
A union type is a way to put together many different types. If you have Java
background, think of them as enums on steroids.
## Enumerating Possibilities
One common use of union types is to enumerate a couple possible states. Imagine
we are creating a [todo list](http://evancz.github.io/elm-todomvc/) and want to
create a filter on which tasks are visible. We can show all tasks, all the
active tasks, or all the completed tasks. We can represent these three states
like this:
```haskell
type Visibility
= All
| Active
| Completed
```
This defines a new type `Visibility` with exactly three possible values: `All`,
`Active`, and `Completed`. We use **case-expressions** to do different things
depending which value we are working with:
```haskell
toString : Visibility -> String
toString visibility =
case visibility of
All -> "All"
Active -> "Active"
Completed -> "Completed"
-- toString All == "All"
-- toString Active == "Active"
-- toString Completed == "Completed"
```
The case-expression is saying, “look at the structure of `visibility`.
If it is `All`, do this. If it is `Active`, do that. If it is `Completed` do
this other thing.”
This fills the same role as “enumerations” in other languages, but
union types are much more flexible than that!
## Enumeration + Data
Okay, what if we want to represent whether someone is logged in or not? With union
types we can say:
```haskell
type User
= Anonymous
| LoggedIn String
```
Notice that the `LoggedIn` value is associated with extra information! This is
saying that a user is either `Anonymous` or they are `LoggedIn` and we know
their user name. We can use that extra information with *case-expressions*. The
following code turns user info into image resources for their picture.
```haskell
userPhoto : User -> String
userPhoto user =
case user of
Anonymous ->
"anon.png"
LoggedIn name ->
"users/" ++ name ++ "/photo.png"
```
If they are not logged in we show a dummy photo, but if they *are* logged in
we show the photo we have saved. Now imagine we have a bunch of users all
collaborating on a document and we want to show all their pictures.
```haskell
activeUsers : List User
activeUsers =
[ Anonymous
, LoggedIn "Tom"
, LoggedIn "Steve"
, Anonymous
]
```
We can mix data with very different shapes in the same list. If we combine
the `userPhoto` function with our `activeUsers` list, we can get all the images
we need:
```haskell
map userPhoto activeUsers
-- [ "anon.png"
-- , "users/Tom/photo.png"
-- , "users/Steve/photo.png"
-- , "anon.png"
-- ]
```
All the users are turned into image resources. Okay, but union types can still
do more!
## Putting Types Together
Union types are all about putting together different types. We have seen some
special cases so far, but union types are much more flexible and are an
extremely important part of programming in Elm.
Say you are creating a dashboard with three different kinds of widgets. One
shows scatter plots, one shows recent log data, and one shows time plots. Type
unions make it really easy to put together the data we need:
```haskell
type Widget
= ScatterPlot (List (Int, Int))
| LogData (List String)
| TimePlot (List (Time, Int))
```
You can think of this as putting together three different types. Each type is
“tagged” with a name like `ScatterPlot` or `LogData`. This lets us
tell them apart when your program is running. Now we can write something to
render a widget like this:
```haskell
view : Widget -> Element
view widget =
case widget of
ScatterPlot points ->
viewScatterPlot points
LogData logs ->
flow down (map viewLog logs)
TimePlot occurances ->
viewTimePlot occurances
```
Depending on what kind of widget we are looking at, we will render it
differently. Perhaps we want to get a bit trickier and have some time plots that are showed on a logarithmic scale. We can augment our `Widget` type
a bit.
```haskell
type Scale = Normal | Logarithmic
type Widget
= ScatterPlot (List (Int, Int))
| LogData (List String)
| TimePlot Scale (List (Time, Int))
```
Notice that the `TimePlot` tag now has two pieces of data. Each tag can
actually hold a bunch of different types.
All of these strategies can be used if you are making a game and have a bunch
of different bad guys. Goombas should update one way, but Koopa Troopas do
something totally different. Use a union type to put them all together!
## No more NULL
Tons of languages have a concept of `null`. Any time you think you have a
`String` you just might have a `null` instead. Should you check? Did the person
giving you the value check? Maybe it will be fine? Maybe it will crash your
servers? I guess we will find out later!
Union types let us sidestep this problem entirely with a type called `Maybe`.
```haskell
type Maybe a
= Just a
| Nothing
```
Notice that this union type takes an argument `a` that we can fill in with any
type we want. We can have types like `(Maybe Int)` which is either `Just` an
integer or it is `Nothing`. For example, say we want to parse months from
strings.
```haskell
String.toInt : String -> Maybe Int
toMonth : String -> Maybe Int
toMonth rawString =
case String.toInt rawString of
Nothing -> Nothing
Just n ->
if n > 0 && n <= 12 then Just n else Nothing
```
Now our types explicitly tell everyone that you may end up with something
besides an integer. You never have to wonder if there is a `null` value
sneaking around. This may seem like a subtle improvement, but think about what
your life will be like when you never have to hunt for a null pointer
exception again!
## Recursive Data Structures
If you have ever implemented a [linked list](https://en.wikipedia.org/wiki/Linked_list)
in C or Java you will appreciate how easy this is in Elm.
The following union type represents a list. The front of a list
can only be one of two things: empty or something followed by a list.
We can turn this informal definition into a union type:
```haskell
type List a
= Empty
| Node a (List a)
```
So this creates a type called `List`. A list can either be empty or it can
have one element (called the *head* of the list) and “the rest of the
list” (called the *tail* of the list).
List also takes a type as an argument, so we can create `(List Int)` or
`(List String)` or whatever. The values that have the type `(List Int)`
would look like this:
- `Empty`
- `Node 1 Empty`
- `Node 3 (Node 2 (Node 1 Empty))`
All of these have the same type, so they can be used in all the same places.
So when we pattern match we can define what we want to do in each case.
Say we want to compute the sum of all of the numbers in a list. The
following function defines the logic for each possible scenario.
```haskell
sum : List Int -> Int
sum xs =
case xs of
Empty -> 0
Node first rest ->
first + sum rest
```
If we get an `Empty` value, the sum is 0. If we have a `Node` we add the first
element to the sum of all the remaining ones. So an expression like
`(sum (Node 1 (Node 2 (Node 3 Empty))))` is evaluated like this:
```haskell
sum (Node 1 (Node 2 (Node 3 Empty)))
1 + sum (Node 2 (Node 3 Empty))
1 + (2 + sum (Node 3 Empty))
1 + (2 + (3 + sum Empty))
1 + (2 + (3 + 0))
1 + (2 + 3)
1 + 5
6
```
On each line, we see one evaluation step. When we call `sum` it transforms the
list based on whether it is looking at a `Node` or an `Empty` value.
## Additional Resources
We can create all sorts of data structures, like [binary trees][binary].
[binary]: http://en.wikipedia.org/wiki/Binary_tree "Binary Trees"
```haskell
type Tree a
= Empty
| Node a (Tree a) (Tree a)
```
A tree is either empty or it is a node with a value and two children.
This is actually a generalization of lists. You could represent lists
by always having the left child be empty. There is way more discussion
of trees in [this example][trees]. If you can do all of the exercises
at the end of the example, consider yourself a capable user of union types.
[trees]: /edit/examples/Functional/Tree.elm "Tree Example"
We can even model a programming language! In this case, it is one that only
deals with [Boolean algebra][algebra]:
[algebra]: http://en.wikipedia.org/wiki/Boolean_algebra#Operations "Boolean Algebra"
```haskell
type Boolean
= T
| F
| Not Boolean
| Or Boolean Boolean
| And Boolean Boolean
true = Or T F
false = And T (Not T)
```
Once we have modeled the possible values we can define functions like `eval`
which reduces any `Boolean` to `True` or `False`. See [this example][bool] for
more about representing boolean expressions.
[bool]: /edit/examples/Functional/BooleanExpressions.elm
"""
| 8357 | import Graphics.Element (..)
import Markdown
import Signal (Signal, (<~))
import Website.Skeleton (skeleton)
import Window
port title : String
port title = "Union Types"
main : Signal Element
main = skeleton "Learn" (\w -> width (min 600 w) content) <~ Window.dimensions
content : Element
content = Markdown.toElement """
# Union Types
A union type is a way to put together many different types. If you have Java
background, think of them as enums on steroids.
## Enumerating Possibilities
One common use of union types is to enumerate a couple possible states. Imagine
we are creating a [todo list](http://evancz.github.io/elm-todomvc/) and want to
create a filter on which tasks are visible. We can show all tasks, all the
active tasks, or all the completed tasks. We can represent these three states
like this:
```haskell
type Visibility
= All
| Active
| Completed
```
This defines a new type `Visibility` with exactly three possible values: `All`,
`Active`, and `Completed`. We use **case-expressions** to do different things
depending which value we are working with:
```haskell
toString : Visibility -> String
toString visibility =
case visibility of
All -> "All"
Active -> "Active"
Completed -> "Completed"
-- toString All == "All"
-- toString Active == "Active"
-- toString Completed == "Completed"
```
The case-expression is saying, “look at the structure of `visibility`.
If it is `All`, do this. If it is `Active`, do that. If it is `Completed` do
this other thing.”
This fills the same role as “enumerations” in other languages, but
union types are much more flexible than that!
## Enumeration + Data
Okay, what if we want to represent whether someone is logged in or not? With union
types we can say:
```haskell
type User
= Anonymous
| LoggedIn String
```
Notice that the `LoggedIn` value is associated with extra information! This is
saying that a user is either `Anonymous` or they are `LoggedIn` and we know
their user name. We can use that extra information with *case-expressions*. The
following code turns user info into image resources for their picture.
```haskell
userPhoto : User -> String
userPhoto user =
case user of
Anonymous ->
"anon.png"
LoggedIn name ->
"users/" ++ name ++ "/photo.png"
```
If they are not logged in we show a dummy photo, but if they *are* logged in
we show the photo we have saved. Now imagine we have a bunch of users all
collaborating on a document and we want to show all their pictures.
```haskell
activeUsers : List User
activeUsers =
[ Anonymous
, LoggedIn "<NAME>"
, LoggedIn "<NAME>"
, Anonymous
]
```
We can mix data with very different shapes in the same list. If we combine
the `userPhoto` function with our `activeUsers` list, we can get all the images
we need:
```haskell
map userPhoto activeUsers
-- [ "anon.png"
-- , "users/<NAME>/photo.png"
-- , "users/<NAME>/photo.png"
-- , "anon.png"
-- ]
```
All the users are turned into image resources. Okay, but union types can still
do more!
## Putting Types Together
Union types are all about putting together different types. We have seen some
special cases so far, but union types are much more flexible and are an
extremely important part of programming in Elm.
Say you are creating a dashboard with three different kinds of widgets. One
shows scatter plots, one shows recent log data, and one shows time plots. Type
unions make it really easy to put together the data we need:
```haskell
type Widget
= ScatterPlot (List (Int, Int))
| LogData (List String)
| TimePlot (List (Time, Int))
```
You can think of this as putting together three different types. Each type is
“tagged” with a name like `ScatterPlot` or `LogData`. This lets us
tell them apart when your program is running. Now we can write something to
render a widget like this:
```haskell
view : Widget -> Element
view widget =
case widget of
ScatterPlot points ->
viewScatterPlot points
LogData logs ->
flow down (map viewLog logs)
TimePlot occurances ->
viewTimePlot occurances
```
Depending on what kind of widget we are looking at, we will render it
differently. Perhaps we want to get a bit trickier and have some time plots that are showed on a logarithmic scale. We can augment our `Widget` type
a bit.
```haskell
type Scale = Normal | Logarithmic
type Widget
= ScatterPlot (List (Int, Int))
| LogData (List String)
| TimePlot Scale (List (Time, Int))
```
Notice that the `TimePlot` tag now has two pieces of data. Each tag can
actually hold a bunch of different types.
All of these strategies can be used if you are making a game and have a bunch
of different bad guys. Goombas should update one way, but Koopa Troopas do
something totally different. Use a union type to put them all together!
## No more NULL
Tons of languages have a concept of `null`. Any time you think you have a
`String` you just might have a `null` instead. Should you check? Did the person
giving you the value check? Maybe it will be fine? Maybe it will crash your
servers? I guess we will find out later!
Union types let us sidestep this problem entirely with a type called `Maybe`.
```haskell
type Maybe a
= Just a
| Nothing
```
Notice that this union type takes an argument `a` that we can fill in with any
type we want. We can have types like `(Maybe Int)` which is either `Just` an
integer or it is `Nothing`. For example, say we want to parse months from
strings.
```haskell
String.toInt : String -> Maybe Int
toMonth : String -> Maybe Int
toMonth rawString =
case String.toInt rawString of
Nothing -> Nothing
Just n ->
if n > 0 && n <= 12 then Just n else Nothing
```
Now our types explicitly tell everyone that you may end up with something
besides an integer. You never have to wonder if there is a `null` value
sneaking around. This may seem like a subtle improvement, but think about what
your life will be like when you never have to hunt for a null pointer
exception again!
## Recursive Data Structures
If you have ever implemented a [linked list](https://en.wikipedia.org/wiki/Linked_list)
in C or Java you will appreciate how easy this is in Elm.
The following union type represents a list. The front of a list
can only be one of two things: empty or something followed by a list.
We can turn this informal definition into a union type:
```haskell
type List a
= Empty
| Node a (List a)
```
So this creates a type called `List`. A list can either be empty or it can
have one element (called the *head* of the list) and “the rest of the
list” (called the *tail* of the list).
List also takes a type as an argument, so we can create `(List Int)` or
`(List String)` or whatever. The values that have the type `(List Int)`
would look like this:
- `Empty`
- `Node 1 Empty`
- `Node 3 (Node 2 (Node 1 Empty))`
All of these have the same type, so they can be used in all the same places.
So when we pattern match we can define what we want to do in each case.
Say we want to compute the sum of all of the numbers in a list. The
following function defines the logic for each possible scenario.
```haskell
sum : List Int -> Int
sum xs =
case xs of
Empty -> 0
Node first rest ->
first + sum rest
```
If we get an `Empty` value, the sum is 0. If we have a `Node` we add the first
element to the sum of all the remaining ones. So an expression like
`(sum (Node 1 (Node 2 (Node 3 Empty))))` is evaluated like this:
```haskell
sum (Node 1 (Node 2 (Node 3 Empty)))
1 + sum (Node 2 (Node 3 Empty))
1 + (2 + sum (Node 3 Empty))
1 + (2 + (3 + sum Empty))
1 + (2 + (3 + 0))
1 + (2 + 3)
1 + 5
6
```
On each line, we see one evaluation step. When we call `sum` it transforms the
list based on whether it is looking at a `Node` or an `Empty` value.
## Additional Resources
We can create all sorts of data structures, like [binary trees][binary].
[binary]: http://en.wikipedia.org/wiki/Binary_tree "Binary Trees"
```haskell
type Tree a
= Empty
| Node a (Tree a) (Tree a)
```
A tree is either empty or it is a node with a value and two children.
This is actually a generalization of lists. You could represent lists
by always having the left child be empty. There is way more discussion
of trees in [this example][trees]. If you can do all of the exercises
at the end of the example, consider yourself a capable user of union types.
[trees]: /edit/examples/Functional/Tree.elm "Tree Example"
We can even model a programming language! In this case, it is one that only
deals with [Boolean algebra][algebra]:
[algebra]: http://en.wikipedia.org/wiki/Boolean_algebra#Operations "Boolean Algebra"
```haskell
type Boolean
= T
| F
| Not Boolean
| Or Boolean Boolean
| And Boolean Boolean
true = Or T F
false = And T (Not T)
```
Once we have modeled the possible values we can define functions like `eval`
which reduces any `Boolean` to `True` or `False`. See [this example][bool] for
more about representing boolean expressions.
[bool]: /edit/examples/Functional/BooleanExpressions.elm
"""
| true | import Graphics.Element (..)
import Markdown
import Signal (Signal, (<~))
import Website.Skeleton (skeleton)
import Window
port title : String
port title = "Union Types"
main : Signal Element
main = skeleton "Learn" (\w -> width (min 600 w) content) <~ Window.dimensions
content : Element
content = Markdown.toElement """
# Union Types
A union type is a way to put together many different types. If you have Java
background, think of them as enums on steroids.
## Enumerating Possibilities
One common use of union types is to enumerate a couple possible states. Imagine
we are creating a [todo list](http://evancz.github.io/elm-todomvc/) and want to
create a filter on which tasks are visible. We can show all tasks, all the
active tasks, or all the completed tasks. We can represent these three states
like this:
```haskell
type Visibility
= All
| Active
| Completed
```
This defines a new type `Visibility` with exactly three possible values: `All`,
`Active`, and `Completed`. We use **case-expressions** to do different things
depending which value we are working with:
```haskell
toString : Visibility -> String
toString visibility =
case visibility of
All -> "All"
Active -> "Active"
Completed -> "Completed"
-- toString All == "All"
-- toString Active == "Active"
-- toString Completed == "Completed"
```
The case-expression is saying, “look at the structure of `visibility`.
If it is `All`, do this. If it is `Active`, do that. If it is `Completed` do
this other thing.”
This fills the same role as “enumerations” in other languages, but
union types are much more flexible than that!
## Enumeration + Data
Okay, what if we want to represent whether someone is logged in or not? With union
types we can say:
```haskell
type User
= Anonymous
| LoggedIn String
```
Notice that the `LoggedIn` value is associated with extra information! This is
saying that a user is either `Anonymous` or they are `LoggedIn` and we know
their user name. We can use that extra information with *case-expressions*. The
following code turns user info into image resources for their picture.
```haskell
userPhoto : User -> String
userPhoto user =
case user of
Anonymous ->
"anon.png"
LoggedIn name ->
"users/" ++ name ++ "/photo.png"
```
If they are not logged in we show a dummy photo, but if they *are* logged in
we show the photo we have saved. Now imagine we have a bunch of users all
collaborating on a document and we want to show all their pictures.
```haskell
activeUsers : List User
activeUsers =
[ Anonymous
, LoggedIn "PI:NAME:<NAME>END_PI"
, LoggedIn "PI:NAME:<NAME>END_PI"
, Anonymous
]
```
We can mix data with very different shapes in the same list. If we combine
the `userPhoto` function with our `activeUsers` list, we can get all the images
we need:
```haskell
map userPhoto activeUsers
-- [ "anon.png"
-- , "users/PI:NAME:<NAME>END_PI/photo.png"
-- , "users/PI:NAME:<NAME>END_PI/photo.png"
-- , "anon.png"
-- ]
```
All the users are turned into image resources. Okay, but union types can still
do more!
## Putting Types Together
Union types are all about putting together different types. We have seen some
special cases so far, but union types are much more flexible and are an
extremely important part of programming in Elm.
Say you are creating a dashboard with three different kinds of widgets. One
shows scatter plots, one shows recent log data, and one shows time plots. Type
unions make it really easy to put together the data we need:
```haskell
type Widget
= ScatterPlot (List (Int, Int))
| LogData (List String)
| TimePlot (List (Time, Int))
```
You can think of this as putting together three different types. Each type is
“tagged” with a name like `ScatterPlot` or `LogData`. This lets us
tell them apart when your program is running. Now we can write something to
render a widget like this:
```haskell
view : Widget -> Element
view widget =
case widget of
ScatterPlot points ->
viewScatterPlot points
LogData logs ->
flow down (map viewLog logs)
TimePlot occurances ->
viewTimePlot occurances
```
Depending on what kind of widget we are looking at, we will render it
differently. Perhaps we want to get a bit trickier and have some time plots that are showed on a logarithmic scale. We can augment our `Widget` type
a bit.
```haskell
type Scale = Normal | Logarithmic
type Widget
= ScatterPlot (List (Int, Int))
| LogData (List String)
| TimePlot Scale (List (Time, Int))
```
Notice that the `TimePlot` tag now has two pieces of data. Each tag can
actually hold a bunch of different types.
All of these strategies can be used if you are making a game and have a bunch
of different bad guys. Goombas should update one way, but Koopa Troopas do
something totally different. Use a union type to put them all together!
## No more NULL
Tons of languages have a concept of `null`. Any time you think you have a
`String` you just might have a `null` instead. Should you check? Did the person
giving you the value check? Maybe it will be fine? Maybe it will crash your
servers? I guess we will find out later!
Union types let us sidestep this problem entirely with a type called `Maybe`.
```haskell
type Maybe a
= Just a
| Nothing
```
Notice that this union type takes an argument `a` that we can fill in with any
type we want. We can have types like `(Maybe Int)` which is either `Just` an
integer or it is `Nothing`. For example, say we want to parse months from
strings.
```haskell
String.toInt : String -> Maybe Int
toMonth : String -> Maybe Int
toMonth rawString =
case String.toInt rawString of
Nothing -> Nothing
Just n ->
if n > 0 && n <= 12 then Just n else Nothing
```
Now our types explicitly tell everyone that you may end up with something
besides an integer. You never have to wonder if there is a `null` value
sneaking around. This may seem like a subtle improvement, but think about what
your life will be like when you never have to hunt for a null pointer
exception again!
## Recursive Data Structures
If you have ever implemented a [linked list](https://en.wikipedia.org/wiki/Linked_list)
in C or Java you will appreciate how easy this is in Elm.
The following union type represents a list. The front of a list
can only be one of two things: empty or something followed by a list.
We can turn this informal definition into a union type:
```haskell
type List a
= Empty
| Node a (List a)
```
So this creates a type called `List`. A list can either be empty or it can
have one element (called the *head* of the list) and “the rest of the
list” (called the *tail* of the list).
List also takes a type as an argument, so we can create `(List Int)` or
`(List String)` or whatever. The values that have the type `(List Int)`
would look like this:
- `Empty`
- `Node 1 Empty`
- `Node 3 (Node 2 (Node 1 Empty))`
All of these have the same type, so they can be used in all the same places.
So when we pattern match we can define what we want to do in each case.
Say we want to compute the sum of all of the numbers in a list. The
following function defines the logic for each possible scenario.
```haskell
sum : List Int -> Int
sum xs =
case xs of
Empty -> 0
Node first rest ->
first + sum rest
```
If we get an `Empty` value, the sum is 0. If we have a `Node` we add the first
element to the sum of all the remaining ones. So an expression like
`(sum (Node 1 (Node 2 (Node 3 Empty))))` is evaluated like this:
```haskell
sum (Node 1 (Node 2 (Node 3 Empty)))
1 + sum (Node 2 (Node 3 Empty))
1 + (2 + sum (Node 3 Empty))
1 + (2 + (3 + sum Empty))
1 + (2 + (3 + 0))
1 + (2 + 3)
1 + 5
6
```
On each line, we see one evaluation step. When we call `sum` it transforms the
list based on whether it is looking at a `Node` or an `Empty` value.
## Additional Resources
We can create all sorts of data structures, like [binary trees][binary].
[binary]: http://en.wikipedia.org/wiki/Binary_tree "Binary Trees"
```haskell
type Tree a
= Empty
| Node a (Tree a) (Tree a)
```
A tree is either empty or it is a node with a value and two children.
This is actually a generalization of lists. You could represent lists
by always having the left child be empty. There is way more discussion
of trees in [this example][trees]. If you can do all of the exercises
at the end of the example, consider yourself a capable user of union types.
[trees]: /edit/examples/Functional/Tree.elm "Tree Example"
We can even model a programming language! In this case, it is one that only
deals with [Boolean algebra][algebra]:
[algebra]: http://en.wikipedia.org/wiki/Boolean_algebra#Operations "Boolean Algebra"
```haskell
type Boolean
= T
| F
| Not Boolean
| Or Boolean Boolean
| And Boolean Boolean
true = Or T F
false = And T (Not T)
```
Once we have modeled the possible values we can define functions like `eval`
which reduces any `Boolean` to `True` or `False`. See [this example][bool] for
more about representing boolean expressions.
[bool]: /edit/examples/Functional/BooleanExpressions.elm
"""
| elm |
[
{
"context": " ]\n ]\n [ lia \"https://github.com/FRosner/cluster-broccoli\" \"Source Code\"\n , lia \"ht",
"end": 2255,
"score": 0.9251866341,
"start": 2248,
"tag": "USERNAME",
"value": "FRosner"
},
{
"context": "\" \"Source Code\"\n , lia \"https://github.com/FRosner/cluster-broccoli/wiki\" \"Documentation\"\n , ",
"end": 2329,
"score": 0.9996884465,
"start": 2322,
"tag": "USERNAME",
"value": "FRosner"
},
{
"context": "\"Documentation\"\n , lia \"https://github.com/FRosner/cluster-broccoli/issues/new\" \"Report a Bug\"\n ",
"end": 2410,
"score": 0.9996854663,
"start": 2403,
"tag": "USERNAME",
"value": "FRosner"
},
{
"context": "\" \"Report a Bug\"\n , lia \"https://gitter.im/FRosner/cluster-broccoli\" \"Get Help\"\n ]\n\n\nlia aHre",
"end": 2495,
"score": 0.999702394,
"start": 2488,
"tag": "USERNAME",
"value": "FRosner"
},
{
"context": "nput EnterUserName\n , placeholder \"User\"\n , value loginFormModel.username\n",
"end": 8377,
"score": 0.9829565287,
"start": 8373,
"tag": "USERNAME",
"value": "User"
},
{
"context": "oginIncorrect) ) ]\n , placeholder \"Password\"\n , value loginFormModel.password\n",
"end": 8806,
"score": 0.9974631667,
"start": 8798,
"tag": "PASSWORD",
"value": "Password"
}
] | webui/src/Views/Header.elm | FRosner/cluster-broccoli | 67 | module Views.Header exposing (view)
import Models.Resources.AboutInfo exposing (AboutInfo)
import Models.Resources.UserInfo exposing (UserInfo)
import Models.Ui.LoginForm exposing (LoginForm)
import Messages exposing (AnyMsg(..))
import Updates.Messages exposing (UpdateLoginFormMsg(..))
import Utils.HtmlUtils exposing (icon)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onInput, onSubmit)
import Regex exposing (Regex)
view : Maybe AboutInfo -> LoginForm -> Maybe Bool -> String -> String -> Html AnyMsg
view maybeAboutInfo loginFormModel maybeAuthRequired templateFilterString instanceFilterString =
let
( maybeUserInfo, maybeAuthEnabled ) =
( Maybe.map (\i -> i.authInfo.userInfo) maybeAboutInfo
, Maybe.map (\i -> i.authInfo.enabled) maybeAboutInfo
)
in
div
[ class "container" ]
[ nav
[ class "navbar navbar-default navbar-fixed-top" ]
[ div
[ class "container-fluid"
, style
[ ( "padding-right", "35px" )
]
]
[ navbarHeader maybeAboutInfo
, navbarCollapse maybeAboutInfo maybeUserInfo maybeAuthEnabled maybeAuthRequired loginFormModel templateFilterString instanceFilterString
]
]
]
navbarHeader maybeAboutInfo =
div
[ class "navbar-header"
, style
[ ( "margin-left", "35px" )
]
]
[ navbarToggleButton
, navbarBrand
, navbarBrandDropdown maybeAboutInfo
]
navbarBrand =
a
[ class "navbar-brand dropdown-toggle"
, attribute "data-toggle" "dropdown"
, attribute "role" "button"
, attribute "aria-haspopup" "true"
, attribute "aria-expanded" "false"
, href "#"
]
[ text "Cluster Broccoli"
, span [ class "caret" ] []
]
navbarBrandDropdown maybeAboutInfo =
ul
[ class "dropdown-menu"
, style
[ ( "margin-left", "35px" )
]
]
[ lia "https://github.com/FRosner/cluster-broccoli" "Source Code"
, lia "https://github.com/FRosner/cluster-broccoli/wiki" "Documentation"
, lia "https://github.com/FRosner/cluster-broccoli/issues/new" "Report a Bug"
, lia "https://gitter.im/FRosner/cluster-broccoli" "Get Help"
]
lia aHref content =
li []
[ a
[ href aHref ]
[ text content ]
]
navbarToggleButton =
button
[ type_ "button"
, class "navbar-toggle collapsed"
, attribute "data-toggle" "collapse"
, attribute "data-target" "#navbar-collapse"
, attribute "aria-expanded" "false"
]
[ span [ class "sr-only" ] [ text "Toggle menu" ]
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
]
navbarCollapse : Maybe AboutInfo -> Maybe UserInfo -> Maybe Bool -> Maybe Bool -> LoginForm -> String -> String -> Html AnyMsg
navbarCollapse maybeAboutInfo maybeUserInfo maybeAuthEnabled maybeAuthRequired loginFormModel templateFilterString instanceFilterString =
div
[ class "collapse navbar-collapse"
, id "navbar-collapse"
]
(List.concat
[ [ Html.map UpdateLoginFormMsg (loginLogoutView loginFormModel maybeAuthEnabled maybeAuthRequired)
, userInfoView maybeUserInfo
]
, if (maybeAuthRequired == Just True || maybeAuthRequired == Nothing || (maybeAuthRequired == Just False && maybeAuthEnabled == Nothing)) then
[]
else
[ templateFilter templateFilterString
, instanceFilter instanceFilterString
]
]
)
templateFilter filterString =
ul
[ class "nav navbar-nav navbar-left" ]
[ li []
[ div [ class "form-group navbar-form" ]
[ div
[ class "input-group" ]
[ span
[ class "input-group-addon" ]
[ icon "fa fa-filter" [ title "Template Filter" ] ]
, input
[ type_ "text"
, id "header-template-filter"
, class "form-control"
, onInput TemplateFilter
, placeholder "Template Filter"
, value filterString
]
[]
]
]
]
]
instanceFilter filterString =
ul
[ class "nav navbar-nav navbar-left" ]
[ li []
[ div [ class "form-group navbar-form" ]
[ div
[ class "input-group" ]
[ span
[ class "input-group-addon" ]
[ icon "fa fa-filter" [ title "Instance Filter" ] ]
, input
[ type_ "text"
, id "header-instance-filter"
, class "form-control"
, onInput InstanceFilter
, placeholder "Instance Filter"
, value filterString
]
[]
]
]
]
]
userInfoView : Maybe UserInfo -> Html a
userInfoView maybeUserInfo =
case maybeUserInfo of
Just userInfo ->
ul
[ class "nav navbar-nav navbar-right" ]
[ li
[ class "dropdown" ]
[ a
[ class "dropdown-toggle"
, attribute "data-toggle" "dropdown"
, attribute "role" "button"
, attribute "aria-haspopup" "true"
, attribute "aria-expanded" "false"
]
[ text userInfo.name
, span [ class "caret" ] []
]
, ul
[ class "dropdown-menu" ]
[ li []
[ a []
[ text "Role: "
, code [] [ text (toString userInfo.role) ]
]
]
, li []
[ a []
[ text "Instances: "
, code [] [ text userInfo.instanceRegex ]
]
]
]
]
]
_ ->
span [] []
redIfLoginFailed loginFailed =
if (loginFailed) then
"#fee"
else
"#fff"
attentionIfLoginFailed loginFailed =
if (loginFailed) then
"animated shake"
else
""
loginLogoutView loginFormModel maybeAuthEnabled maybeAuthRequired =
case maybeAuthRequired of
Nothing ->
span [] []
Just True ->
loginFormView loginFormModel
Just False ->
case maybeAuthEnabled of
Nothing ->
span [] []
Just True ->
logoutFormView
Just False ->
span [] []
loginFormView loginFormModel =
Html.form
[ id "header-login-form"
, class
(String.concat
[ "navbar-form navbar-right "
, (attentionIfLoginFailed loginFormModel.loginIncorrect)
]
)
, onSubmit <| LoginAttempt loginFormModel.username loginFormModel.password
]
[ div [ class "form-group" ]
[ input
[ type_ "text"
, id "header-login-username"
, class "form-control"
, style [ ( "background-color", (redIfLoginFailed loginFormModel.loginIncorrect) ) ]
, onInput EnterUserName
, placeholder "User"
, value loginFormModel.username
]
[]
, text " "
, input
[ type_ "password"
, id "header-login-password"
, onInput EnterPassword
, class "form-control"
, style [ ( "background-color", (redIfLoginFailed loginFormModel.loginIncorrect) ) ]
, placeholder "Password"
, value loginFormModel.password
]
[]
]
, text " " -- otherwise Bootstrap layout breaks, doh
, button
[ type_ "submit"
, class "btn btn-default"
, title "Login"
]
[ icon "glyphicon glyphicon-arrow-right" [] ]
]
logoutFormView =
Html.form
[ id "header-logout-form"
, class "navbar-form navbar-right"
, onSubmit LogoutAttempt
]
[ div [ class "form-group" ]
[ button
[ type_ "submit"
, class "btn btn-default"
, title "Logout"
]
[ icon "glyphicon glyphicon-log-out" [] ]
]
]
| 52836 | module Views.Header exposing (view)
import Models.Resources.AboutInfo exposing (AboutInfo)
import Models.Resources.UserInfo exposing (UserInfo)
import Models.Ui.LoginForm exposing (LoginForm)
import Messages exposing (AnyMsg(..))
import Updates.Messages exposing (UpdateLoginFormMsg(..))
import Utils.HtmlUtils exposing (icon)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onInput, onSubmit)
import Regex exposing (Regex)
view : Maybe AboutInfo -> LoginForm -> Maybe Bool -> String -> String -> Html AnyMsg
view maybeAboutInfo loginFormModel maybeAuthRequired templateFilterString instanceFilterString =
let
( maybeUserInfo, maybeAuthEnabled ) =
( Maybe.map (\i -> i.authInfo.userInfo) maybeAboutInfo
, Maybe.map (\i -> i.authInfo.enabled) maybeAboutInfo
)
in
div
[ class "container" ]
[ nav
[ class "navbar navbar-default navbar-fixed-top" ]
[ div
[ class "container-fluid"
, style
[ ( "padding-right", "35px" )
]
]
[ navbarHeader maybeAboutInfo
, navbarCollapse maybeAboutInfo maybeUserInfo maybeAuthEnabled maybeAuthRequired loginFormModel templateFilterString instanceFilterString
]
]
]
navbarHeader maybeAboutInfo =
div
[ class "navbar-header"
, style
[ ( "margin-left", "35px" )
]
]
[ navbarToggleButton
, navbarBrand
, navbarBrandDropdown maybeAboutInfo
]
navbarBrand =
a
[ class "navbar-brand dropdown-toggle"
, attribute "data-toggle" "dropdown"
, attribute "role" "button"
, attribute "aria-haspopup" "true"
, attribute "aria-expanded" "false"
, href "#"
]
[ text "Cluster Broccoli"
, span [ class "caret" ] []
]
navbarBrandDropdown maybeAboutInfo =
ul
[ class "dropdown-menu"
, style
[ ( "margin-left", "35px" )
]
]
[ lia "https://github.com/FRosner/cluster-broccoli" "Source Code"
, lia "https://github.com/FRosner/cluster-broccoli/wiki" "Documentation"
, lia "https://github.com/FRosner/cluster-broccoli/issues/new" "Report a Bug"
, lia "https://gitter.im/FRosner/cluster-broccoli" "Get Help"
]
lia aHref content =
li []
[ a
[ href aHref ]
[ text content ]
]
navbarToggleButton =
button
[ type_ "button"
, class "navbar-toggle collapsed"
, attribute "data-toggle" "collapse"
, attribute "data-target" "#navbar-collapse"
, attribute "aria-expanded" "false"
]
[ span [ class "sr-only" ] [ text "Toggle menu" ]
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
]
navbarCollapse : Maybe AboutInfo -> Maybe UserInfo -> Maybe Bool -> Maybe Bool -> LoginForm -> String -> String -> Html AnyMsg
navbarCollapse maybeAboutInfo maybeUserInfo maybeAuthEnabled maybeAuthRequired loginFormModel templateFilterString instanceFilterString =
div
[ class "collapse navbar-collapse"
, id "navbar-collapse"
]
(List.concat
[ [ Html.map UpdateLoginFormMsg (loginLogoutView loginFormModel maybeAuthEnabled maybeAuthRequired)
, userInfoView maybeUserInfo
]
, if (maybeAuthRequired == Just True || maybeAuthRequired == Nothing || (maybeAuthRequired == Just False && maybeAuthEnabled == Nothing)) then
[]
else
[ templateFilter templateFilterString
, instanceFilter instanceFilterString
]
]
)
templateFilter filterString =
ul
[ class "nav navbar-nav navbar-left" ]
[ li []
[ div [ class "form-group navbar-form" ]
[ div
[ class "input-group" ]
[ span
[ class "input-group-addon" ]
[ icon "fa fa-filter" [ title "Template Filter" ] ]
, input
[ type_ "text"
, id "header-template-filter"
, class "form-control"
, onInput TemplateFilter
, placeholder "Template Filter"
, value filterString
]
[]
]
]
]
]
instanceFilter filterString =
ul
[ class "nav navbar-nav navbar-left" ]
[ li []
[ div [ class "form-group navbar-form" ]
[ div
[ class "input-group" ]
[ span
[ class "input-group-addon" ]
[ icon "fa fa-filter" [ title "Instance Filter" ] ]
, input
[ type_ "text"
, id "header-instance-filter"
, class "form-control"
, onInput InstanceFilter
, placeholder "Instance Filter"
, value filterString
]
[]
]
]
]
]
userInfoView : Maybe UserInfo -> Html a
userInfoView maybeUserInfo =
case maybeUserInfo of
Just userInfo ->
ul
[ class "nav navbar-nav navbar-right" ]
[ li
[ class "dropdown" ]
[ a
[ class "dropdown-toggle"
, attribute "data-toggle" "dropdown"
, attribute "role" "button"
, attribute "aria-haspopup" "true"
, attribute "aria-expanded" "false"
]
[ text userInfo.name
, span [ class "caret" ] []
]
, ul
[ class "dropdown-menu" ]
[ li []
[ a []
[ text "Role: "
, code [] [ text (toString userInfo.role) ]
]
]
, li []
[ a []
[ text "Instances: "
, code [] [ text userInfo.instanceRegex ]
]
]
]
]
]
_ ->
span [] []
redIfLoginFailed loginFailed =
if (loginFailed) then
"#fee"
else
"#fff"
attentionIfLoginFailed loginFailed =
if (loginFailed) then
"animated shake"
else
""
loginLogoutView loginFormModel maybeAuthEnabled maybeAuthRequired =
case maybeAuthRequired of
Nothing ->
span [] []
Just True ->
loginFormView loginFormModel
Just False ->
case maybeAuthEnabled of
Nothing ->
span [] []
Just True ->
logoutFormView
Just False ->
span [] []
loginFormView loginFormModel =
Html.form
[ id "header-login-form"
, class
(String.concat
[ "navbar-form navbar-right "
, (attentionIfLoginFailed loginFormModel.loginIncorrect)
]
)
, onSubmit <| LoginAttempt loginFormModel.username loginFormModel.password
]
[ div [ class "form-group" ]
[ input
[ type_ "text"
, id "header-login-username"
, class "form-control"
, style [ ( "background-color", (redIfLoginFailed loginFormModel.loginIncorrect) ) ]
, onInput EnterUserName
, placeholder "User"
, value loginFormModel.username
]
[]
, text " "
, input
[ type_ "password"
, id "header-login-password"
, onInput EnterPassword
, class "form-control"
, style [ ( "background-color", (redIfLoginFailed loginFormModel.loginIncorrect) ) ]
, placeholder "<PASSWORD>"
, value loginFormModel.password
]
[]
]
, text " " -- otherwise Bootstrap layout breaks, doh
, button
[ type_ "submit"
, class "btn btn-default"
, title "Login"
]
[ icon "glyphicon glyphicon-arrow-right" [] ]
]
logoutFormView =
Html.form
[ id "header-logout-form"
, class "navbar-form navbar-right"
, onSubmit LogoutAttempt
]
[ div [ class "form-group" ]
[ button
[ type_ "submit"
, class "btn btn-default"
, title "Logout"
]
[ icon "glyphicon glyphicon-log-out" [] ]
]
]
| true | module Views.Header exposing (view)
import Models.Resources.AboutInfo exposing (AboutInfo)
import Models.Resources.UserInfo exposing (UserInfo)
import Models.Ui.LoginForm exposing (LoginForm)
import Messages exposing (AnyMsg(..))
import Updates.Messages exposing (UpdateLoginFormMsg(..))
import Utils.HtmlUtils exposing (icon)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onInput, onSubmit)
import Regex exposing (Regex)
view : Maybe AboutInfo -> LoginForm -> Maybe Bool -> String -> String -> Html AnyMsg
view maybeAboutInfo loginFormModel maybeAuthRequired templateFilterString instanceFilterString =
let
( maybeUserInfo, maybeAuthEnabled ) =
( Maybe.map (\i -> i.authInfo.userInfo) maybeAboutInfo
, Maybe.map (\i -> i.authInfo.enabled) maybeAboutInfo
)
in
div
[ class "container" ]
[ nav
[ class "navbar navbar-default navbar-fixed-top" ]
[ div
[ class "container-fluid"
, style
[ ( "padding-right", "35px" )
]
]
[ navbarHeader maybeAboutInfo
, navbarCollapse maybeAboutInfo maybeUserInfo maybeAuthEnabled maybeAuthRequired loginFormModel templateFilterString instanceFilterString
]
]
]
navbarHeader maybeAboutInfo =
div
[ class "navbar-header"
, style
[ ( "margin-left", "35px" )
]
]
[ navbarToggleButton
, navbarBrand
, navbarBrandDropdown maybeAboutInfo
]
navbarBrand =
a
[ class "navbar-brand dropdown-toggle"
, attribute "data-toggle" "dropdown"
, attribute "role" "button"
, attribute "aria-haspopup" "true"
, attribute "aria-expanded" "false"
, href "#"
]
[ text "Cluster Broccoli"
, span [ class "caret" ] []
]
navbarBrandDropdown maybeAboutInfo =
ul
[ class "dropdown-menu"
, style
[ ( "margin-left", "35px" )
]
]
[ lia "https://github.com/FRosner/cluster-broccoli" "Source Code"
, lia "https://github.com/FRosner/cluster-broccoli/wiki" "Documentation"
, lia "https://github.com/FRosner/cluster-broccoli/issues/new" "Report a Bug"
, lia "https://gitter.im/FRosner/cluster-broccoli" "Get Help"
]
lia aHref content =
li []
[ a
[ href aHref ]
[ text content ]
]
navbarToggleButton =
button
[ type_ "button"
, class "navbar-toggle collapsed"
, attribute "data-toggle" "collapse"
, attribute "data-target" "#navbar-collapse"
, attribute "aria-expanded" "false"
]
[ span [ class "sr-only" ] [ text "Toggle menu" ]
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
]
navbarCollapse : Maybe AboutInfo -> Maybe UserInfo -> Maybe Bool -> Maybe Bool -> LoginForm -> String -> String -> Html AnyMsg
navbarCollapse maybeAboutInfo maybeUserInfo maybeAuthEnabled maybeAuthRequired loginFormModel templateFilterString instanceFilterString =
div
[ class "collapse navbar-collapse"
, id "navbar-collapse"
]
(List.concat
[ [ Html.map UpdateLoginFormMsg (loginLogoutView loginFormModel maybeAuthEnabled maybeAuthRequired)
, userInfoView maybeUserInfo
]
, if (maybeAuthRequired == Just True || maybeAuthRequired == Nothing || (maybeAuthRequired == Just False && maybeAuthEnabled == Nothing)) then
[]
else
[ templateFilter templateFilterString
, instanceFilter instanceFilterString
]
]
)
templateFilter filterString =
ul
[ class "nav navbar-nav navbar-left" ]
[ li []
[ div [ class "form-group navbar-form" ]
[ div
[ class "input-group" ]
[ span
[ class "input-group-addon" ]
[ icon "fa fa-filter" [ title "Template Filter" ] ]
, input
[ type_ "text"
, id "header-template-filter"
, class "form-control"
, onInput TemplateFilter
, placeholder "Template Filter"
, value filterString
]
[]
]
]
]
]
instanceFilter filterString =
ul
[ class "nav navbar-nav navbar-left" ]
[ li []
[ div [ class "form-group navbar-form" ]
[ div
[ class "input-group" ]
[ span
[ class "input-group-addon" ]
[ icon "fa fa-filter" [ title "Instance Filter" ] ]
, input
[ type_ "text"
, id "header-instance-filter"
, class "form-control"
, onInput InstanceFilter
, placeholder "Instance Filter"
, value filterString
]
[]
]
]
]
]
userInfoView : Maybe UserInfo -> Html a
userInfoView maybeUserInfo =
case maybeUserInfo of
Just userInfo ->
ul
[ class "nav navbar-nav navbar-right" ]
[ li
[ class "dropdown" ]
[ a
[ class "dropdown-toggle"
, attribute "data-toggle" "dropdown"
, attribute "role" "button"
, attribute "aria-haspopup" "true"
, attribute "aria-expanded" "false"
]
[ text userInfo.name
, span [ class "caret" ] []
]
, ul
[ class "dropdown-menu" ]
[ li []
[ a []
[ text "Role: "
, code [] [ text (toString userInfo.role) ]
]
]
, li []
[ a []
[ text "Instances: "
, code [] [ text userInfo.instanceRegex ]
]
]
]
]
]
_ ->
span [] []
redIfLoginFailed loginFailed =
if (loginFailed) then
"#fee"
else
"#fff"
attentionIfLoginFailed loginFailed =
if (loginFailed) then
"animated shake"
else
""
loginLogoutView loginFormModel maybeAuthEnabled maybeAuthRequired =
case maybeAuthRequired of
Nothing ->
span [] []
Just True ->
loginFormView loginFormModel
Just False ->
case maybeAuthEnabled of
Nothing ->
span [] []
Just True ->
logoutFormView
Just False ->
span [] []
loginFormView loginFormModel =
Html.form
[ id "header-login-form"
, class
(String.concat
[ "navbar-form navbar-right "
, (attentionIfLoginFailed loginFormModel.loginIncorrect)
]
)
, onSubmit <| LoginAttempt loginFormModel.username loginFormModel.password
]
[ div [ class "form-group" ]
[ input
[ type_ "text"
, id "header-login-username"
, class "form-control"
, style [ ( "background-color", (redIfLoginFailed loginFormModel.loginIncorrect) ) ]
, onInput EnterUserName
, placeholder "User"
, value loginFormModel.username
]
[]
, text " "
, input
[ type_ "password"
, id "header-login-password"
, onInput EnterPassword
, class "form-control"
, style [ ( "background-color", (redIfLoginFailed loginFormModel.loginIncorrect) ) ]
, placeholder "PI:PASSWORD:<PASSWORD>END_PI"
, value loginFormModel.password
]
[]
]
, text " " -- otherwise Bootstrap layout breaks, doh
, button
[ type_ "submit"
, class "btn btn-default"
, title "Login"
]
[ icon "glyphicon glyphicon-arrow-right" [] ]
]
logoutFormView =
Html.form
[ id "header-logout-form"
, class "navbar-form navbar-right"
, onSubmit LogoutAttempt
]
[ div [ class "form-group" ]
[ button
[ type_ "submit"
, class "btn btn-default"
, title "Logout"
]
[ icon "glyphicon glyphicon-log-out" [] ]
]
]
| elm |
[
{
"context": "lt\n in Typescript\n\n Copyright (c) 2014 -- 2020 Christian Speckner and contributors\n\n Permission is hereby granted",
"end": 143,
"score": 0.9997484088,
"start": 125,
"tag": "NAME",
"value": "Christian Speckner"
}
] | src/frontend/elm/Stellerator/Media.elm | 6502ts/6502.ts | 49 | {-
This file is part of 6502.ts, an emulator for 6502 based systems built
in Typescript
Copyright (c) 2014 -- 2020 Christian Speckner and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-}
module Stellerator.Media exposing (watchMediaCommand, watchMediaSubscription)
import Stellerator.Model exposing (Media(..), Msg(..))
import Stellerator.Ports as Ports
watchMediaCommand : Int -> Cmd msg
watchMediaCommand uiSize =
let
breakpoint =
(750 * uiSize) // 100
in
Ports.watchMedia [ "(max-width: " ++ String.fromInt breakpoint ++ "px)" ]
watchMediaSubscription : Sub Msg
watchMediaSubscription =
List.head
>> Maybe.map
(\x ->
ChangeMedia <|
if x then
MediaNarrow
else
MediaWide
)
>> Maybe.withDefault None
|> Ports.onMediaUpdate
| 9287 | {-
This file is part of 6502.ts, an emulator for 6502 based systems built
in Typescript
Copyright (c) 2014 -- 2020 <NAME> and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-}
module Stellerator.Media exposing (watchMediaCommand, watchMediaSubscription)
import Stellerator.Model exposing (Media(..), Msg(..))
import Stellerator.Ports as Ports
watchMediaCommand : Int -> Cmd msg
watchMediaCommand uiSize =
let
breakpoint =
(750 * uiSize) // 100
in
Ports.watchMedia [ "(max-width: " ++ String.fromInt breakpoint ++ "px)" ]
watchMediaSubscription : Sub Msg
watchMediaSubscription =
List.head
>> Maybe.map
(\x ->
ChangeMedia <|
if x then
MediaNarrow
else
MediaWide
)
>> Maybe.withDefault None
|> Ports.onMediaUpdate
| true | {-
This file is part of 6502.ts, an emulator for 6502 based systems built
in Typescript
Copyright (c) 2014 -- 2020 PI:NAME:<NAME>END_PI and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-}
module Stellerator.Media exposing (watchMediaCommand, watchMediaSubscription)
import Stellerator.Model exposing (Media(..), Msg(..))
import Stellerator.Ports as Ports
watchMediaCommand : Int -> Cmd msg
watchMediaCommand uiSize =
let
breakpoint =
(750 * uiSize) // 100
in
Ports.watchMedia [ "(max-width: " ++ String.fromInt breakpoint ++ "px)" ]
watchMediaSubscription : Sub Msg
watchMediaSubscription =
List.head
>> Maybe.map
(\x ->
ChangeMedia <|
if x then
MediaNarrow
else
MediaWide
)
>> Maybe.withDefault None
|> Ports.onMediaUpdate
| elm |
[
{
"context": "\n\ntype alias User =\n { firstName : String\n , lastName : String\n , balance : NDTh\n , holidaysLeft ",
"end": 2637,
"score": 0.6770328879,
"start": 2629,
"tag": "NAME",
"value": "lastName"
},
{
"context": " String\n }\n\n\nemptyUser : User\nemptyUser =\n { firstName = \"\"\n , lastName = \"\"\n , balance = 0.0\n ",
"end": 2806,
"score": 0.9020286798,
"start": 2797,
"tag": "NAME",
"value": "firstName"
},
{
"context": "User : User\nemptyUser =\n { firstName = \"\"\n , lastName = \"\"\n , balance = 0.0\n , holidaysLeft = 0.0",
"end": 2826,
"score": 0.9014011621,
"start": 2818,
"tag": "NAME",
"value": "lastName"
},
{
"context": "er =\n Decode.succeed User\n |> required \"firstName\" string\n |> required \"lastName\" string\n ",
"end": 3034,
"score": 0.7040803432,
"start": 3025,
"tag": "NAME",
"value": "firstName"
}
] | src/Types.elm | futurice/futuhours-next | 16 | module Types exposing (..)
import AnySet exposing (AnySet)
import Date
import Dict exposing (Dict)
import Http
import Iso8601 as Iso
import Json.Decode as Decode exposing (Decoder, bool, dict, field, float, int, list, string)
import Json.Decode.Pipeline exposing (hardcoded, optional, required)
import Json.Encode as Encode
import Set
import Task
import Time
type alias Week =
{ year : Int
, weekNum : Int
}
type alias EditingWeek =
{ week : Week
, days : AnySet Date.Weekday
, entries : List Entry
}
type alias Identifier =
Int
type alias NDTh =
Float
type alias NDTd =
Float
type alias Day =
String
dayToWeek : Day -> Week
dayToWeek d =
let
date =
Date.fromIsoString d
weekNum =
Result.map Date.weekNumber date
|> Result.withDefault 0
year =
Result.map Date.weekYear date
|> Result.withDefault 1970
in
Week year weekNum
getMonthNumber : Day -> Int
getMonthNumber d =
Date.fromIsoString d
|> Result.map Date.monthNumber
|> Result.withDefault 0
getDay : Day -> Int
getDay d =
Date.fromIsoString d
|> Result.map Date.day
|> Result.withDefault 0
dayToMillis : Day -> Int
dayToMillis d =
Iso.toTime d
|> Result.map Time.posixToMillis
|> Result.withDefault 0
type alias Month =
String
type alias Login =
String
type alias Project task =
{ id : Identifier
, name : String
, tasks : List task
, closed : Bool
}
projectDecoder : Decoder task -> Decoder (Project task)
projectDecoder taskDecoder =
Decode.succeed Project
|> required "id" int
|> required "name" string
|> required "tasks" (list taskDecoder)
|> required "closed" bool
type alias ReportableTask =
{ id : Identifier
, name : String
, closed : Bool
, hoursRemaining : Maybe NDTh
}
reportableTaskDecoder : Decoder ReportableTask
reportableTaskDecoder =
Decode.succeed ReportableTask
|> required "id" int
|> required "name" string
|> required "closed" bool
|> optional "hoursRemaining" (Decode.maybe float) Nothing
type alias MarkableTask =
{ id : Identifier
, name : String
, closed : Bool
, absence : Bool
}
markableTaskDecoder : Decoder MarkableTask
markableTaskDecoder =
Decode.succeed MarkableTask
|> required "id" int
|> required "name" string
|> required "closed" bool
|> required "absence" bool
type alias User =
{ firstName : String
, lastName : String
, balance : NDTh
, holidaysLeft : NDTd
, utilizationRate : Float
, profilePicture : String
}
emptyUser : User
emptyUser =
{ firstName = ""
, lastName = ""
, balance = 0.0
, holidaysLeft = 0.0
, utilizationRate = 0.0
, profilePicture = ""
}
userDecoder : Decoder User
userDecoder =
Decode.succeed User
|> required "firstName" string
|> required "lastName" string
|> required "balance" float
|> required "holidaysLeft" float
|> required "utilizationRate" float
|> required "profilePicture" string
type alias HoursResponse =
{ defaultWorkHours : NDTh
, reportableProjects : List (Project ReportableTask)
, markedProjects : List (Project MarkableTask)
, months : Dict Month HoursMonth
}
hoursResponseDecoder : Decoder HoursResponse
hoursResponseDecoder =
Decode.succeed HoursResponse
|> required "defaultWorkHours" float
|> required "reportableProjects" (list (projectDecoder reportableTaskDecoder))
|> required "markedProjects" (list (projectDecoder markableTaskDecoder))
|> required "months" (dict hoursMonthDecoder)
mergeHoursResponse : HoursResponse -> HoursResponse -> HoursResponse
mergeHoursResponse newHours oldHours =
let
mergeLists : List (Project a) -> List (Project a) -> List (Project a)
mergeLists new old =
AnySet.union (AnySet.fromList new) (AnySet.fromList old)
|> AnySet.toList
in
HoursResponse
newHours.defaultWorkHours
(mergeLists newHours.reportableProjects oldHours.reportableProjects)
(mergeLists newHours.markedProjects oldHours.markedProjects)
(Dict.merge
Dict.insert
(\key a b ->
Dict.insert key
{ a | days = Dict.union a.days b.days }
)
Dict.insert
newHours.months
oldHours.months
Dict.empty
)
sanitizeHoursResponse: HoursResponse -> HoursResponse
sanitizeHoursResponse hours =
let
cleanProjects =
hours.reportableProjects
|> List.filter (not << String.contains "Absence" << .name)
in
{ hours | reportableProjects = cleanProjects }
hoursToProjectDict : HoursResponse -> Dict Identifier String
hoursToProjectDict hours =
let
toDict projects =
projects
|> List.map (\t -> ( t.id, t.name ))
|> Dict.fromList
reportable =
toDict hours.reportableProjects
marked =
toDict hours.markedProjects
in
Dict.union marked reportable
hoursToTaskDict : HoursResponse -> Dict Identifier String
hoursToTaskDict hours =
let
toTasks projects =
List.map .tasks projects
|> List.foldl (++) []
|> List.map (\t -> ( t.id, t.name ))
reportableTasks =
toTasks hours.reportableProjects
markedTasks =
toTasks hours.markedProjects
in
(reportableTasks ++ markedTasks)
|> Dict.fromList
allEntries : HoursResponse -> List Entry
allEntries hours =
hours.months
|> Dict.values
|> List.concatMap (\m -> m.days |> Dict.values)
|> List.concatMap .entries
|> List.sortBy (\e -> dayToMillis e.day)
allEntriesAsDict : HoursResponse -> Dict Day (List Entry)
allEntriesAsDict hours =
let
blankDict =
hours.months
|> Dict.values
|> List.concatMap (Dict.keys << .days)
|> List.foldl (\d dic -> Dict.insert d [] dic) Dict.empty
insertOrAdd e dic =
if Dict.member e.day dic then
Dict.update e.day (Maybe.map ((::) e)) dic
else
Dict.insert e.day [ e ] dic
in
allEntries hours
|> List.foldl insertOrAdd blankDict
latestEntry : HoursResponse -> Maybe Entry
latestEntry hours =
allEntries hours
|> List.reverse
|> List.head
entryEditable : Maybe HoursResponse -> Entry -> Bool
entryEditable hours e =
case e.billable of
Absence ->
False
Unknown ->
False
_ ->
Maybe.map (\h -> List.member e.projectId <| List.map .id h.reportableProjects) hours
|> Maybe.withDefault False
latestEditableEntries : HoursResponse -> List Entry
latestEditableEntries hours =
allEntries hours
|> List.filter (entryEditable <| Just hours)
|> List.reverse
latestEditableEntry : HoursResponse -> Maybe Entry
latestEditableEntry hours =
latestEditableEntries hours
|> List.head
oldestEntry : HoursResponse -> Maybe Entry
oldestEntry hours =
allEntries hours
|> List.head
allDays : HoursResponse -> List Day
allDays hours =
hours.months
|> Dict.values
|> List.map .days
|> List.concatMap Dict.keys
allDaysAsDict : HoursResponse -> Dict Day HoursDay
allDaysAsDict hours =
hours.months
|> Dict.values
|> List.map .days
|> List.foldl Dict.union Dict.empty
latestDay : HoursResponse -> Maybe Day
latestDay hours =
allDays hours
|> List.sortBy dayToMillis
|> List.reverse
|> List.head
oldestDay : HoursResponse -> Maybe Day
oldestDay hours =
allDays hours
|> List.sortBy dayToMillis
|> List.head
type alias HoursMonth =
{ hours : NDTh
, capacity : NDTh
, utilizationRate : Float
, days : Dict Day HoursDay
}
hoursMonthDecoder : Decoder HoursMonth
hoursMonthDecoder =
Decode.succeed HoursMonth
|> required "hours" float
|> required "capacity" float
|> required "utilizationRate" float
|> required "days" (dict hoursDayDecoder)
type alias HoursDay =
{ type_ : DayType
, hours : NDTh
, entries : List Entry
, closed : Bool
}
hoursDayDecoder : Decoder HoursDay
hoursDayDecoder =
Decode.succeed HoursDay
|> required "type" dayTypeDecoder
|> required "hours" float
|> required "entries" (list entryDecoder)
|> required "closed" bool
type DayType
= Normal
| Weekend
| Holiday String
dayTypeDecoder : Decoder DayType
dayTypeDecoder =
Decode.oneOf
[ bool
|> Decode.andThen
(\b ->
if b then
Decode.succeed Weekend
else
Decode.succeed Normal
)
, string |> Decode.andThen (\a -> Decode.succeed (Holiday a))
]
type EntryAge
= Old
| New
| Deleted
| DeletedNew
type EntryDesc
= Filled String
| Default String
entryDescToString : EntryDesc -> String
entryDescToString desc =
case desc of
Filled str ->
str
Default str ->
str
filledToDefault : EntryDesc -> EntryDesc
filledToDefault desc =
case desc of
Filled str ->
Default str
Default str ->
Default str
type alias Entry =
{ id : Identifier
, projectId : Identifier
, taskId : Identifier
, day : Day
, description : EntryDesc
, closed : Bool
, hours : NDTh
, billable : EntryType
, age : EntryAge
}
entryDecoder : Decoder Entry
entryDecoder =
Decode.succeed Entry
|> required "id" int
|> required "projectId" int
|> required "taskId" int
|> required "day" string
|> required "description" (Decode.map Filled string)
|> required "closed" bool
|> required "hours" float
|> required "billable" entryTypeDecoder
|> hardcoded Old
makeEntry : Day -> NDTh -> List (Project ReportableTask) -> Entry
makeEntry date defaultHours projects =
let
project =
List.head projects
task =
project
|> Maybe.map .tasks
|> Maybe.andThen List.head
in
{ id = 0
, projectId = Maybe.map .id project |> Maybe.withDefault 0
, taskId = Maybe.map .id task |> Maybe.withDefault 0
, day = date
, description = Default "description here"
, closed = False
, hours = defaultHours
, billable = Billable
, age = New
}
isEntryDeleted : Entry -> Bool
isEntryDeleted e =
case e.age of
Deleted ->
True
DeletedNew ->
True
_ ->
False
markDeletedEntry : Entry -> Entry
markDeletedEntry e =
case e.age of
New ->
{ e | age = DeletedNew }
Old ->
{ e | age = Deleted }
_ ->
e
type EntryType
= Billable
| NonBillable
| Absence
| Unknown
entryTypeDecoder : Decoder EntryType
entryTypeDecoder =
Decode.oneOf
[ string
|> Decode.andThen
(\str ->
case str of
"billable" ->
Decode.succeed Billable
"non-billable" ->
Decode.succeed NonBillable
"absence" ->
Decode.succeed Absence
_ ->
Decode.succeed Unknown
)
, Decode.succeed Unknown
]
type alias EntryUpdateResponse =
{ user : User
, hours : HoursResponse
}
entryUpdateResponseDecoder : Decoder EntryUpdateResponse
entryUpdateResponseDecoder =
Decode.succeed EntryUpdateResponse
|> required "user" userDecoder
|> required "hours" hoursResponseDecoder
type alias EntryUpdate =
{ taskId : Identifier
, projectId : Identifier
, description : String
, date : Day
, hours : NDTh
, closed : Bool
}
entryUpdateEncoder : EntryUpdate -> Encode.Value
entryUpdateEncoder eu =
Encode.object
[ ( "taskId", Encode.int eu.taskId )
, ( "projectId", Encode.int eu.projectId )
, ( "description", Encode.string eu.description )
, ( "date", Encode.string eu.date )
, ( "hours", Encode.float eu.hours )
, ( "closed", Encode.bool eu.closed )
]
entryToUpdate : Entry -> EntryUpdate
entryToUpdate e =
{ taskId = e.taskId
, projectId = e.projectId
, description = entryDescToString e.description
, date = e.day
, hours = e.hours
, closed = e.closed
}
entryToJsonBody : Entry -> Encode.Value
entryToJsonBody e =
entryToUpdate e
|> entryUpdateEncoder
| 7816 | module Types exposing (..)
import AnySet exposing (AnySet)
import Date
import Dict exposing (Dict)
import Http
import Iso8601 as Iso
import Json.Decode as Decode exposing (Decoder, bool, dict, field, float, int, list, string)
import Json.Decode.Pipeline exposing (hardcoded, optional, required)
import Json.Encode as Encode
import Set
import Task
import Time
type alias Week =
{ year : Int
, weekNum : Int
}
type alias EditingWeek =
{ week : Week
, days : AnySet Date.Weekday
, entries : List Entry
}
type alias Identifier =
Int
type alias NDTh =
Float
type alias NDTd =
Float
type alias Day =
String
dayToWeek : Day -> Week
dayToWeek d =
let
date =
Date.fromIsoString d
weekNum =
Result.map Date.weekNumber date
|> Result.withDefault 0
year =
Result.map Date.weekYear date
|> Result.withDefault 1970
in
Week year weekNum
getMonthNumber : Day -> Int
getMonthNumber d =
Date.fromIsoString d
|> Result.map Date.monthNumber
|> Result.withDefault 0
getDay : Day -> Int
getDay d =
Date.fromIsoString d
|> Result.map Date.day
|> Result.withDefault 0
dayToMillis : Day -> Int
dayToMillis d =
Iso.toTime d
|> Result.map Time.posixToMillis
|> Result.withDefault 0
type alias Month =
String
type alias Login =
String
type alias Project task =
{ id : Identifier
, name : String
, tasks : List task
, closed : Bool
}
projectDecoder : Decoder task -> Decoder (Project task)
projectDecoder taskDecoder =
Decode.succeed Project
|> required "id" int
|> required "name" string
|> required "tasks" (list taskDecoder)
|> required "closed" bool
type alias ReportableTask =
{ id : Identifier
, name : String
, closed : Bool
, hoursRemaining : Maybe NDTh
}
reportableTaskDecoder : Decoder ReportableTask
reportableTaskDecoder =
Decode.succeed ReportableTask
|> required "id" int
|> required "name" string
|> required "closed" bool
|> optional "hoursRemaining" (Decode.maybe float) Nothing
type alias MarkableTask =
{ id : Identifier
, name : String
, closed : Bool
, absence : Bool
}
markableTaskDecoder : Decoder MarkableTask
markableTaskDecoder =
Decode.succeed MarkableTask
|> required "id" int
|> required "name" string
|> required "closed" bool
|> required "absence" bool
type alias User =
{ firstName : String
, <NAME> : String
, balance : NDTh
, holidaysLeft : NDTd
, utilizationRate : Float
, profilePicture : String
}
emptyUser : User
emptyUser =
{ <NAME> = ""
, <NAME> = ""
, balance = 0.0
, holidaysLeft = 0.0
, utilizationRate = 0.0
, profilePicture = ""
}
userDecoder : Decoder User
userDecoder =
Decode.succeed User
|> required "<NAME>" string
|> required "lastName" string
|> required "balance" float
|> required "holidaysLeft" float
|> required "utilizationRate" float
|> required "profilePicture" string
type alias HoursResponse =
{ defaultWorkHours : NDTh
, reportableProjects : List (Project ReportableTask)
, markedProjects : List (Project MarkableTask)
, months : Dict Month HoursMonth
}
hoursResponseDecoder : Decoder HoursResponse
hoursResponseDecoder =
Decode.succeed HoursResponse
|> required "defaultWorkHours" float
|> required "reportableProjects" (list (projectDecoder reportableTaskDecoder))
|> required "markedProjects" (list (projectDecoder markableTaskDecoder))
|> required "months" (dict hoursMonthDecoder)
mergeHoursResponse : HoursResponse -> HoursResponse -> HoursResponse
mergeHoursResponse newHours oldHours =
let
mergeLists : List (Project a) -> List (Project a) -> List (Project a)
mergeLists new old =
AnySet.union (AnySet.fromList new) (AnySet.fromList old)
|> AnySet.toList
in
HoursResponse
newHours.defaultWorkHours
(mergeLists newHours.reportableProjects oldHours.reportableProjects)
(mergeLists newHours.markedProjects oldHours.markedProjects)
(Dict.merge
Dict.insert
(\key a b ->
Dict.insert key
{ a | days = Dict.union a.days b.days }
)
Dict.insert
newHours.months
oldHours.months
Dict.empty
)
sanitizeHoursResponse: HoursResponse -> HoursResponse
sanitizeHoursResponse hours =
let
cleanProjects =
hours.reportableProjects
|> List.filter (not << String.contains "Absence" << .name)
in
{ hours | reportableProjects = cleanProjects }
hoursToProjectDict : HoursResponse -> Dict Identifier String
hoursToProjectDict hours =
let
toDict projects =
projects
|> List.map (\t -> ( t.id, t.name ))
|> Dict.fromList
reportable =
toDict hours.reportableProjects
marked =
toDict hours.markedProjects
in
Dict.union marked reportable
hoursToTaskDict : HoursResponse -> Dict Identifier String
hoursToTaskDict hours =
let
toTasks projects =
List.map .tasks projects
|> List.foldl (++) []
|> List.map (\t -> ( t.id, t.name ))
reportableTasks =
toTasks hours.reportableProjects
markedTasks =
toTasks hours.markedProjects
in
(reportableTasks ++ markedTasks)
|> Dict.fromList
allEntries : HoursResponse -> List Entry
allEntries hours =
hours.months
|> Dict.values
|> List.concatMap (\m -> m.days |> Dict.values)
|> List.concatMap .entries
|> List.sortBy (\e -> dayToMillis e.day)
allEntriesAsDict : HoursResponse -> Dict Day (List Entry)
allEntriesAsDict hours =
let
blankDict =
hours.months
|> Dict.values
|> List.concatMap (Dict.keys << .days)
|> List.foldl (\d dic -> Dict.insert d [] dic) Dict.empty
insertOrAdd e dic =
if Dict.member e.day dic then
Dict.update e.day (Maybe.map ((::) e)) dic
else
Dict.insert e.day [ e ] dic
in
allEntries hours
|> List.foldl insertOrAdd blankDict
latestEntry : HoursResponse -> Maybe Entry
latestEntry hours =
allEntries hours
|> List.reverse
|> List.head
entryEditable : Maybe HoursResponse -> Entry -> Bool
entryEditable hours e =
case e.billable of
Absence ->
False
Unknown ->
False
_ ->
Maybe.map (\h -> List.member e.projectId <| List.map .id h.reportableProjects) hours
|> Maybe.withDefault False
latestEditableEntries : HoursResponse -> List Entry
latestEditableEntries hours =
allEntries hours
|> List.filter (entryEditable <| Just hours)
|> List.reverse
latestEditableEntry : HoursResponse -> Maybe Entry
latestEditableEntry hours =
latestEditableEntries hours
|> List.head
oldestEntry : HoursResponse -> Maybe Entry
oldestEntry hours =
allEntries hours
|> List.head
allDays : HoursResponse -> List Day
allDays hours =
hours.months
|> Dict.values
|> List.map .days
|> List.concatMap Dict.keys
allDaysAsDict : HoursResponse -> Dict Day HoursDay
allDaysAsDict hours =
hours.months
|> Dict.values
|> List.map .days
|> List.foldl Dict.union Dict.empty
latestDay : HoursResponse -> Maybe Day
latestDay hours =
allDays hours
|> List.sortBy dayToMillis
|> List.reverse
|> List.head
oldestDay : HoursResponse -> Maybe Day
oldestDay hours =
allDays hours
|> List.sortBy dayToMillis
|> List.head
type alias HoursMonth =
{ hours : NDTh
, capacity : NDTh
, utilizationRate : Float
, days : Dict Day HoursDay
}
hoursMonthDecoder : Decoder HoursMonth
hoursMonthDecoder =
Decode.succeed HoursMonth
|> required "hours" float
|> required "capacity" float
|> required "utilizationRate" float
|> required "days" (dict hoursDayDecoder)
type alias HoursDay =
{ type_ : DayType
, hours : NDTh
, entries : List Entry
, closed : Bool
}
hoursDayDecoder : Decoder HoursDay
hoursDayDecoder =
Decode.succeed HoursDay
|> required "type" dayTypeDecoder
|> required "hours" float
|> required "entries" (list entryDecoder)
|> required "closed" bool
type DayType
= Normal
| Weekend
| Holiday String
dayTypeDecoder : Decoder DayType
dayTypeDecoder =
Decode.oneOf
[ bool
|> Decode.andThen
(\b ->
if b then
Decode.succeed Weekend
else
Decode.succeed Normal
)
, string |> Decode.andThen (\a -> Decode.succeed (Holiday a))
]
type EntryAge
= Old
| New
| Deleted
| DeletedNew
type EntryDesc
= Filled String
| Default String
entryDescToString : EntryDesc -> String
entryDescToString desc =
case desc of
Filled str ->
str
Default str ->
str
filledToDefault : EntryDesc -> EntryDesc
filledToDefault desc =
case desc of
Filled str ->
Default str
Default str ->
Default str
type alias Entry =
{ id : Identifier
, projectId : Identifier
, taskId : Identifier
, day : Day
, description : EntryDesc
, closed : Bool
, hours : NDTh
, billable : EntryType
, age : EntryAge
}
entryDecoder : Decoder Entry
entryDecoder =
Decode.succeed Entry
|> required "id" int
|> required "projectId" int
|> required "taskId" int
|> required "day" string
|> required "description" (Decode.map Filled string)
|> required "closed" bool
|> required "hours" float
|> required "billable" entryTypeDecoder
|> hardcoded Old
makeEntry : Day -> NDTh -> List (Project ReportableTask) -> Entry
makeEntry date defaultHours projects =
let
project =
List.head projects
task =
project
|> Maybe.map .tasks
|> Maybe.andThen List.head
in
{ id = 0
, projectId = Maybe.map .id project |> Maybe.withDefault 0
, taskId = Maybe.map .id task |> Maybe.withDefault 0
, day = date
, description = Default "description here"
, closed = False
, hours = defaultHours
, billable = Billable
, age = New
}
isEntryDeleted : Entry -> Bool
isEntryDeleted e =
case e.age of
Deleted ->
True
DeletedNew ->
True
_ ->
False
markDeletedEntry : Entry -> Entry
markDeletedEntry e =
case e.age of
New ->
{ e | age = DeletedNew }
Old ->
{ e | age = Deleted }
_ ->
e
type EntryType
= Billable
| NonBillable
| Absence
| Unknown
entryTypeDecoder : Decoder EntryType
entryTypeDecoder =
Decode.oneOf
[ string
|> Decode.andThen
(\str ->
case str of
"billable" ->
Decode.succeed Billable
"non-billable" ->
Decode.succeed NonBillable
"absence" ->
Decode.succeed Absence
_ ->
Decode.succeed Unknown
)
, Decode.succeed Unknown
]
type alias EntryUpdateResponse =
{ user : User
, hours : HoursResponse
}
entryUpdateResponseDecoder : Decoder EntryUpdateResponse
entryUpdateResponseDecoder =
Decode.succeed EntryUpdateResponse
|> required "user" userDecoder
|> required "hours" hoursResponseDecoder
type alias EntryUpdate =
{ taskId : Identifier
, projectId : Identifier
, description : String
, date : Day
, hours : NDTh
, closed : Bool
}
entryUpdateEncoder : EntryUpdate -> Encode.Value
entryUpdateEncoder eu =
Encode.object
[ ( "taskId", Encode.int eu.taskId )
, ( "projectId", Encode.int eu.projectId )
, ( "description", Encode.string eu.description )
, ( "date", Encode.string eu.date )
, ( "hours", Encode.float eu.hours )
, ( "closed", Encode.bool eu.closed )
]
entryToUpdate : Entry -> EntryUpdate
entryToUpdate e =
{ taskId = e.taskId
, projectId = e.projectId
, description = entryDescToString e.description
, date = e.day
, hours = e.hours
, closed = e.closed
}
entryToJsonBody : Entry -> Encode.Value
entryToJsonBody e =
entryToUpdate e
|> entryUpdateEncoder
| true | module Types exposing (..)
import AnySet exposing (AnySet)
import Date
import Dict exposing (Dict)
import Http
import Iso8601 as Iso
import Json.Decode as Decode exposing (Decoder, bool, dict, field, float, int, list, string)
import Json.Decode.Pipeline exposing (hardcoded, optional, required)
import Json.Encode as Encode
import Set
import Task
import Time
type alias Week =
{ year : Int
, weekNum : Int
}
type alias EditingWeek =
{ week : Week
, days : AnySet Date.Weekday
, entries : List Entry
}
type alias Identifier =
Int
type alias NDTh =
Float
type alias NDTd =
Float
type alias Day =
String
dayToWeek : Day -> Week
dayToWeek d =
let
date =
Date.fromIsoString d
weekNum =
Result.map Date.weekNumber date
|> Result.withDefault 0
year =
Result.map Date.weekYear date
|> Result.withDefault 1970
in
Week year weekNum
getMonthNumber : Day -> Int
getMonthNumber d =
Date.fromIsoString d
|> Result.map Date.monthNumber
|> Result.withDefault 0
getDay : Day -> Int
getDay d =
Date.fromIsoString d
|> Result.map Date.day
|> Result.withDefault 0
dayToMillis : Day -> Int
dayToMillis d =
Iso.toTime d
|> Result.map Time.posixToMillis
|> Result.withDefault 0
type alias Month =
String
type alias Login =
String
type alias Project task =
{ id : Identifier
, name : String
, tasks : List task
, closed : Bool
}
projectDecoder : Decoder task -> Decoder (Project task)
projectDecoder taskDecoder =
Decode.succeed Project
|> required "id" int
|> required "name" string
|> required "tasks" (list taskDecoder)
|> required "closed" bool
type alias ReportableTask =
{ id : Identifier
, name : String
, closed : Bool
, hoursRemaining : Maybe NDTh
}
reportableTaskDecoder : Decoder ReportableTask
reportableTaskDecoder =
Decode.succeed ReportableTask
|> required "id" int
|> required "name" string
|> required "closed" bool
|> optional "hoursRemaining" (Decode.maybe float) Nothing
type alias MarkableTask =
{ id : Identifier
, name : String
, closed : Bool
, absence : Bool
}
markableTaskDecoder : Decoder MarkableTask
markableTaskDecoder =
Decode.succeed MarkableTask
|> required "id" int
|> required "name" string
|> required "closed" bool
|> required "absence" bool
type alias User =
{ firstName : String
, PI:NAME:<NAME>END_PI : String
, balance : NDTh
, holidaysLeft : NDTd
, utilizationRate : Float
, profilePicture : String
}
emptyUser : User
emptyUser =
{ PI:NAME:<NAME>END_PI = ""
, PI:NAME:<NAME>END_PI = ""
, balance = 0.0
, holidaysLeft = 0.0
, utilizationRate = 0.0
, profilePicture = ""
}
userDecoder : Decoder User
userDecoder =
Decode.succeed User
|> required "PI:NAME:<NAME>END_PI" string
|> required "lastName" string
|> required "balance" float
|> required "holidaysLeft" float
|> required "utilizationRate" float
|> required "profilePicture" string
type alias HoursResponse =
{ defaultWorkHours : NDTh
, reportableProjects : List (Project ReportableTask)
, markedProjects : List (Project MarkableTask)
, months : Dict Month HoursMonth
}
hoursResponseDecoder : Decoder HoursResponse
hoursResponseDecoder =
Decode.succeed HoursResponse
|> required "defaultWorkHours" float
|> required "reportableProjects" (list (projectDecoder reportableTaskDecoder))
|> required "markedProjects" (list (projectDecoder markableTaskDecoder))
|> required "months" (dict hoursMonthDecoder)
mergeHoursResponse : HoursResponse -> HoursResponse -> HoursResponse
mergeHoursResponse newHours oldHours =
let
mergeLists : List (Project a) -> List (Project a) -> List (Project a)
mergeLists new old =
AnySet.union (AnySet.fromList new) (AnySet.fromList old)
|> AnySet.toList
in
HoursResponse
newHours.defaultWorkHours
(mergeLists newHours.reportableProjects oldHours.reportableProjects)
(mergeLists newHours.markedProjects oldHours.markedProjects)
(Dict.merge
Dict.insert
(\key a b ->
Dict.insert key
{ a | days = Dict.union a.days b.days }
)
Dict.insert
newHours.months
oldHours.months
Dict.empty
)
sanitizeHoursResponse: HoursResponse -> HoursResponse
sanitizeHoursResponse hours =
let
cleanProjects =
hours.reportableProjects
|> List.filter (not << String.contains "Absence" << .name)
in
{ hours | reportableProjects = cleanProjects }
hoursToProjectDict : HoursResponse -> Dict Identifier String
hoursToProjectDict hours =
let
toDict projects =
projects
|> List.map (\t -> ( t.id, t.name ))
|> Dict.fromList
reportable =
toDict hours.reportableProjects
marked =
toDict hours.markedProjects
in
Dict.union marked reportable
hoursToTaskDict : HoursResponse -> Dict Identifier String
hoursToTaskDict hours =
let
toTasks projects =
List.map .tasks projects
|> List.foldl (++) []
|> List.map (\t -> ( t.id, t.name ))
reportableTasks =
toTasks hours.reportableProjects
markedTasks =
toTasks hours.markedProjects
in
(reportableTasks ++ markedTasks)
|> Dict.fromList
allEntries : HoursResponse -> List Entry
allEntries hours =
hours.months
|> Dict.values
|> List.concatMap (\m -> m.days |> Dict.values)
|> List.concatMap .entries
|> List.sortBy (\e -> dayToMillis e.day)
allEntriesAsDict : HoursResponse -> Dict Day (List Entry)
allEntriesAsDict hours =
let
blankDict =
hours.months
|> Dict.values
|> List.concatMap (Dict.keys << .days)
|> List.foldl (\d dic -> Dict.insert d [] dic) Dict.empty
insertOrAdd e dic =
if Dict.member e.day dic then
Dict.update e.day (Maybe.map ((::) e)) dic
else
Dict.insert e.day [ e ] dic
in
allEntries hours
|> List.foldl insertOrAdd blankDict
latestEntry : HoursResponse -> Maybe Entry
latestEntry hours =
allEntries hours
|> List.reverse
|> List.head
entryEditable : Maybe HoursResponse -> Entry -> Bool
entryEditable hours e =
case e.billable of
Absence ->
False
Unknown ->
False
_ ->
Maybe.map (\h -> List.member e.projectId <| List.map .id h.reportableProjects) hours
|> Maybe.withDefault False
latestEditableEntries : HoursResponse -> List Entry
latestEditableEntries hours =
allEntries hours
|> List.filter (entryEditable <| Just hours)
|> List.reverse
latestEditableEntry : HoursResponse -> Maybe Entry
latestEditableEntry hours =
latestEditableEntries hours
|> List.head
oldestEntry : HoursResponse -> Maybe Entry
oldestEntry hours =
allEntries hours
|> List.head
allDays : HoursResponse -> List Day
allDays hours =
hours.months
|> Dict.values
|> List.map .days
|> List.concatMap Dict.keys
allDaysAsDict : HoursResponse -> Dict Day HoursDay
allDaysAsDict hours =
hours.months
|> Dict.values
|> List.map .days
|> List.foldl Dict.union Dict.empty
latestDay : HoursResponse -> Maybe Day
latestDay hours =
allDays hours
|> List.sortBy dayToMillis
|> List.reverse
|> List.head
oldestDay : HoursResponse -> Maybe Day
oldestDay hours =
allDays hours
|> List.sortBy dayToMillis
|> List.head
type alias HoursMonth =
{ hours : NDTh
, capacity : NDTh
, utilizationRate : Float
, days : Dict Day HoursDay
}
hoursMonthDecoder : Decoder HoursMonth
hoursMonthDecoder =
Decode.succeed HoursMonth
|> required "hours" float
|> required "capacity" float
|> required "utilizationRate" float
|> required "days" (dict hoursDayDecoder)
type alias HoursDay =
{ type_ : DayType
, hours : NDTh
, entries : List Entry
, closed : Bool
}
hoursDayDecoder : Decoder HoursDay
hoursDayDecoder =
Decode.succeed HoursDay
|> required "type" dayTypeDecoder
|> required "hours" float
|> required "entries" (list entryDecoder)
|> required "closed" bool
type DayType
= Normal
| Weekend
| Holiday String
dayTypeDecoder : Decoder DayType
dayTypeDecoder =
Decode.oneOf
[ bool
|> Decode.andThen
(\b ->
if b then
Decode.succeed Weekend
else
Decode.succeed Normal
)
, string |> Decode.andThen (\a -> Decode.succeed (Holiday a))
]
type EntryAge
= Old
| New
| Deleted
| DeletedNew
type EntryDesc
= Filled String
| Default String
entryDescToString : EntryDesc -> String
entryDescToString desc =
case desc of
Filled str ->
str
Default str ->
str
filledToDefault : EntryDesc -> EntryDesc
filledToDefault desc =
case desc of
Filled str ->
Default str
Default str ->
Default str
type alias Entry =
{ id : Identifier
, projectId : Identifier
, taskId : Identifier
, day : Day
, description : EntryDesc
, closed : Bool
, hours : NDTh
, billable : EntryType
, age : EntryAge
}
entryDecoder : Decoder Entry
entryDecoder =
Decode.succeed Entry
|> required "id" int
|> required "projectId" int
|> required "taskId" int
|> required "day" string
|> required "description" (Decode.map Filled string)
|> required "closed" bool
|> required "hours" float
|> required "billable" entryTypeDecoder
|> hardcoded Old
makeEntry : Day -> NDTh -> List (Project ReportableTask) -> Entry
makeEntry date defaultHours projects =
let
project =
List.head projects
task =
project
|> Maybe.map .tasks
|> Maybe.andThen List.head
in
{ id = 0
, projectId = Maybe.map .id project |> Maybe.withDefault 0
, taskId = Maybe.map .id task |> Maybe.withDefault 0
, day = date
, description = Default "description here"
, closed = False
, hours = defaultHours
, billable = Billable
, age = New
}
isEntryDeleted : Entry -> Bool
isEntryDeleted e =
case e.age of
Deleted ->
True
DeletedNew ->
True
_ ->
False
markDeletedEntry : Entry -> Entry
markDeletedEntry e =
case e.age of
New ->
{ e | age = DeletedNew }
Old ->
{ e | age = Deleted }
_ ->
e
type EntryType
= Billable
| NonBillable
| Absence
| Unknown
entryTypeDecoder : Decoder EntryType
entryTypeDecoder =
Decode.oneOf
[ string
|> Decode.andThen
(\str ->
case str of
"billable" ->
Decode.succeed Billable
"non-billable" ->
Decode.succeed NonBillable
"absence" ->
Decode.succeed Absence
_ ->
Decode.succeed Unknown
)
, Decode.succeed Unknown
]
type alias EntryUpdateResponse =
{ user : User
, hours : HoursResponse
}
entryUpdateResponseDecoder : Decoder EntryUpdateResponse
entryUpdateResponseDecoder =
Decode.succeed EntryUpdateResponse
|> required "user" userDecoder
|> required "hours" hoursResponseDecoder
type alias EntryUpdate =
{ taskId : Identifier
, projectId : Identifier
, description : String
, date : Day
, hours : NDTh
, closed : Bool
}
entryUpdateEncoder : EntryUpdate -> Encode.Value
entryUpdateEncoder eu =
Encode.object
[ ( "taskId", Encode.int eu.taskId )
, ( "projectId", Encode.int eu.projectId )
, ( "description", Encode.string eu.description )
, ( "date", Encode.string eu.date )
, ( "hours", Encode.float eu.hours )
, ( "closed", Encode.bool eu.closed )
]
entryToUpdate : Entry -> EntryUpdate
entryToUpdate e =
{ taskId = e.taskId
, projectId = e.projectId
, description = entryDescToString e.description
, date = e.day
, hours = e.hours
, closed = e.closed
}
entryToJsonBody : Entry -> Encode.Value
entryToJsonBody e =
entryToUpdate e
|> entryUpdateEncoder
| elm |
[
{
"context": "\n{-| This is an Elm port of the Hashids library by Ivan Akimov.\nThis is _not_ a cryptographic hashing algorithm.",
"end": 433,
"score": 0.9998213649,
"start": 422,
"tag": "NAME",
"value": "Ivan Akimov"
}
] | src/Hashids.elm | elm-review-bot/elm-hashids | 18 | module Hashids
exposing
( Context
, createHashidsContext
, decode
, decodeHex
, decodeHexUsingSalt
, decodeUsingSalt
, encode
, encodeHex
, encodeHexUsingSalt
, encodeList
, encodeListUsingSalt
, encodeUsingSalt
, hashidsMinimum
, hashidsSimple
)
{-| This is an Elm port of the Hashids library by Ivan Akimov.
This is _not_ a cryptographic hashing algorithm. Hashids is typically
used to encode numbers to a format suitable for appearance in places
like urls.
See the official Hashids home page: [<http://hashids.org>](http://hashids.org)
Hashids is a small open-source library that generates short, unique,
non-sequential ids from numbers. It converts numbers like 347 into
strings like @yr8@, or a list of numbers like [27, 986] into @3kTMd@.
You can also decode those ids back. This is useful in bundling several
parameters into one or simply using them as short UIDs.
# Types
@docs Context
# Context object constructors
@docs createHashidsContext, hashidsSimple, hashidsMinimum
# Encoding and decoding
@docs encodeHex, decodeHex, encode, encodeList, decode
# Convenience wrappers
@docs encodeUsingSalt, encodeListUsingSalt, decodeUsingSalt, encodeHexUsingSalt, decodeHexUsingSalt
-}
import Array exposing (Array)
import Char
import Regex exposing (Regex)
import String
import Tuple exposing (first)
{-| A record with various internals required for encoding and decoding.
-}
type alias Context =
{ guards : String
, seps : String
, salt : String
, minHashLength : Int
, alphabet : String
}
containsChar : Char -> String -> Bool
containsChar =
String.contains << String.fromChar
unique : String -> String
unique str =
let
addIfNotMember c xs =
if containsChar c xs then
xs
else
String.cons c xs
in
String.foldr addIfNotMember "" str
intersect : String -> String -> String
intersect first second =
let
member c =
containsChar c second
in
String.filter member first
exclude : String -> String -> String
exclude toBeExcluded from =
let
member c =
not <| containsChar c toBeExcluded
in
String.filter member from
forceGet : Int -> Array Char -> Char
forceGet i axs =
Array.get i axs |> Maybe.withDefault ' '
swap : Int -> Int -> String -> String
swap i j str =
let
strArray =
Array.fromList <| String.toList str
iElem =
forceGet i strArray
jElem =
forceGet j strArray
in
Array.set i jElem strArray
|> Array.set j iElem
|> Array.toList
|> String.fromList
{-| reorder a string acording to salt
-}
reorder : String -> String -> String
reorder string salt =
let
saltLen =
String.length salt
alphaLen =
String.length string
saltArray =
Array.fromList <| String.toList salt
shuffle i index integerSum str =
if i > 0 then
let
newIndex =
modBy saltLen index
integer =
Char.toCode <| forceGet newIndex saltArray
newIntegerSum =
integerSum + integer
j =
modBy i (integer + newIndex + newIntegerSum)
newStr =
swap i j str
in
shuffle (i - 1) (newIndex + 1) newIntegerSum newStr
else
str
in
if saltLen == 0 then
string
else
shuffle (alphaLen - 1) 0 0 string
{-| Create a context object using the given salt, a minimum hash length, and
a custom alphabet. If you only need to supply the salt, or the first two
arguments, use 'hashidsSimple' or 'hashidsMinimum' instead.
Changing the alphabet is useful if you want to make your hashes unique,
i.e., create hashes different from those generated by other applications
relying on the same algorithm.
-}
createHashidsContext :
String
-- Salt
-> Int
-- Minimum required hash length
-> String
-- Alphabet
-> Context
createHashidsContext salt minHashLen alphabet =
let
minAlphabetLength =
16
sepDiv =
3.5
guardDiv =
12
clean alpha =
let
seps =
"cfhistuCFHISTU"
seps1 =
intersect seps alpha
hasSpaces =
String.contains " " alpha
alpha1 =
exclude seps1 <| unique alpha
alphabetIsSmall =
String.length (alpha1 ++ seps1) < minAlphabetLength
in
case ( hasSpaces, alphabetIsSmall ) of
( True, _ ) ->
-- "alphabet provided has spaces, using default"
( seps, exclude seps defaultAlphabet )
( _, True ) ->
-- "alphabet too small, using default"
( seps, exclude seps defaultAlphabet )
( False, False ) ->
( seps1, alpha1 )
validSeps ( seps, alpha ) =
let
seps1 =
reorder seps salt
lenSeps =
String.length seps1
lenAlpha =
String.length alpha
minSeps =
ceiling <| toFloat lenAlpha / sepDiv
in
if lenSeps < minSeps then
let
minSeps1 =
if minSeps == 1 then
2
else
minSeps
in
if minSeps1 > lenSeps then
let
splitAt =
minSeps1 - lenSeps
seps2 =
seps1 ++ String.left splitAt alpha
alpha1 =
String.dropLeft splitAt alpha
in
( seps2, alpha1 )
else
( seps1, alpha )
else
( seps1, alpha )
withGuard ( seps, alpha ) =
let
alpha1 =
reorder alpha salt
lenAlpha =
String.length alpha
numGuards =
ceiling <| toFloat lenAlpha / guardDiv
in
if lenAlpha < 3 then
( String.dropLeft numGuards seps, alpha1, String.left numGuards seps )
else
( seps, String.dropLeft numGuards alpha1, String.left numGuards alpha1 )
( seps1b, alphabet1, guards ) =
clean alphabet
|> validSeps
|> withGuard
in
{ guards = guards
, seps = seps1b
, salt = salt
, minHashLength = minHashLen
, alphabet = alphabet1
}
defaultAlphabet : String
defaultAlphabet =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
{-| Create a context object using the default alphabet and the provided salt,
without any minimum required length.
-}
hashidsSimple :
String
-- Salt
-> Context
hashidsSimple salt =
createHashidsContext salt 0 defaultAlphabet
{-| Create a context object using the default alphabet and the provided salt.
The generated hashes will have a minimum length as specified by the second
argument.
-}
hashidsMinimum :
String
-- Salt
-> Int
-- Minimum required hash length
-> Context
hashidsMinimum salt minimum =
createHashidsContext salt minimum defaultAlphabet
{-| Decode a hash generated with 'encodeHex'.
Example use:
decodeHex context "yzgwD"
-}
decodeHex :
Context
-- Hashids context object
-> String
-- Hash
-> String
decodeHex context hash =
let
numbers =
decode context hash
in
concatMap (\n -> String.dropLeft 1 <| String.fromInt n) numbers
concatMap : (a -> String) -> List a -> String
concatMap f =
String.concat << List.map f
{-| Encode a hexadecimal number.
Example use:
encodeHex context "ff83"
-}
encodeHex :
Context
-- A Hashids context object
-> String
-- Hexadecimal number represented as a string
-> String
encodeHex context str =
if String.all Char.isHexDigit str then
encodeList context <| List.map (\chunk -> fromHex ("1" ++ chunk)) <| chunksOf 12 str
else
""
chunksOf : Int -> String -> List String
chunksOf size origStr =
let
split str acc =
if String.length str > size then
split (String.dropRight size str) (String.right size str :: acc)
else
str :: acc
in
split origStr []
fromHex : String -> Int
fromHex hex =
let
toDig n =
case Char.toUpper n of
'1' ->
1
'2' ->
2
'3' ->
3
'4' ->
4
'5' ->
5
'6' ->
6
'7' ->
7
'8' ->
8
'9' ->
9
'A' ->
10
'B' ->
11
'C' ->
12
'D' ->
13
'E' ->
14
'F' ->
15
_ ->
0
go current ( acc, pow ) =
( acc + toDig current * (16 ^ pow), pow + 1 )
in
first <| String.foldr go ( 0, 0 ) hex
{-| Decode a hash.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
decode context "rD"
-- == [5]
-}
decode :
Context
-- A Hashids context object
-> String
-- Hash
-> List Int
decode context hash =
if hash == "" then
[]
else
let
{ guards, seps, salt, minHashLength, alphabet } =
context
guardParts =
splitOn guards hash
guardPartsLen =
List.length guardParts
hash1 =
Maybe.withDefault "" <|
List.head <|
if (2 <= guardPartsLen) && (guardPartsLen <= 3) then
List.drop 1 guardParts
else
guardParts
hash2 =
String.dropLeft 1 hash1
lotteryChar =
String.left 1 hash1
hashParts =
splitOn seps hash2
numbers =
if String.isEmpty hash1 then
[]
else
first <| List.foldl go ( [], alphabet ) hashParts
go part ( acc, alpha ) =
let
alphaSalt =
String.left (String.length alpha) (lotteryChar ++ salt ++ alpha)
alpha1 =
reorder alpha alphaSalt
in
( acc ++ [ unhash part alpha1 ], alpha1 )
unhash part alpha =
let
partLen =
String.length part
alphaLen =
String.length alpha
partList =
List.map String.fromChar <| String.toList part
position c =
String.indexes c alpha |> List.head >> Maybe.withDefault 0
in
List.sum <| List.indexedMap (\i c -> position c * alphaLen ^ (partLen - i - 1)) partList
in
if encodeList context numbers /= hash then
[]
else
numbers
regex : String -> Regex
regex str =
Maybe.withDefault Regex.never <|
Regex.fromString str
splitOn : String -> String -> List String
splitOn splitters str =
Regex.split (regex <| "[" ++ splitters ++ "]") str
{-| Encode a single number.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
encode context 5
-- == "rD"
-}
encode :
Context
-- A Hashids context object
-> Int
-- Number to encode
-> String
encode context n =
encodeList context [ n ]
{-| Encode a list of numbers.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
encodeList context [ 2, 3, 5, 7, 11 ]
-- == "EOurh6cbTD"
-}
encodeList :
Context
-- A Hashids context object
-> List Int
-- List of numbers
-> String
encodeList context numbers =
let
{ guards, seps, salt, minHashLength, alphabet } =
context
alphaLen =
String.length alphabet
sepsLen =
String.length seps
valuesHash =
List.sum <| List.indexedMap (\i n -> modBy (i + 100) n) numbers
--encoded = lottery = alphabet[values_hash % len(alphabet)]
lottery =
strGet (modBy alphaLen valuesHash) alphabet
hash value alpha acc =
let
alphaLen_ =
String.length alpha
value1 =
value // alphaLen
acc1 =
strGet (modBy alphaLen_ value) alpha ++ acc
in
if value1 == 0 then
acc1
else
hash value1 alpha acc1
go ( i, value ) ( acc, alpha ) =
let
alphaSalt =
String.left alphaLen (lottery ++ salt ++ alpha)
alpha1_ =
reorder alpha alphaSalt
last =
hash value alpha1_ ""
firstCode =
ordOfIdx 0 last
value1 =
modBy (firstCode + i) value
sepEnc =
strGet (modBy sepsLen value1) seps
in
( acc ++ [ last ++ sepEnc ], alpha1_ )
( encodedList, alpha1 ) =
List.indexedMap (\a b -> ( a, b )) numbers
|> List.foldl go ( [ lottery ], alphabet )
encodedPre =
String.concat encodedList
encoded =
String.dropRight 1 encodedPre
-- cut off last separator
in
if String.length encoded >= minHashLength then
encoded
else
ensureLength encoded minHashLength alpha1 guards valuesHash
strGet : Int -> String -> String
strGet i str =
String.left 1 <| String.dropLeft i str
ordOfIdx : Int -> String -> Int
ordOfIdx i str =
String.dropLeft i str
|> String.toList
|> List.head
|> Maybe.map Char.toCode
|> Maybe.withDefault 0
ensureLength : String -> Int -> String -> String -> Int -> String
ensureLength encoded minHashLength alphabet guards valuesHash =
let
guardsLen =
String.length guards
guardIndex =
modBy guardsLen (valuesHash + ordOfIdx 0 encoded)
acc =
strGet guardIndex guards ++ encoded
guardIndex1 =
modBy guardsLen (valuesHash + ordOfIdx 2 acc)
acc1 =
if String.length acc < minHashLength then
acc ++ strGet guardIndex1 guards
else
acc
splitAt =
String.length alphabet // 2
extend encoded_ alpha =
let
alpha1 =
reorder alpha alpha
encodedPre =
String.dropLeft splitAt alpha1
++ encoded_
++ String.left splitAt alpha1
excess =
String.length encodedPre - minHashLength
fromIndex =
excess // 2
encoded1 =
if excess > 0 then
String.left minHashLength <| String.dropLeft fromIndex encodedPre
else
encodedPre
in
if String.length encoded1 < minHashLength then
extend encoded1 alpha1
else
encoded1
in
extend acc1 alphabet
{-| Encode a number using the provided salt.
This convenience function creates a context with the default alphabet.
If the same context is used repeatedly, use 'encode' with one of the
constructors instead.
-}
encodeUsingSalt :
String
-- Salt
-> Int
-- Number
-> String
encodeUsingSalt =
encode << hashidsSimple
{-| Encode a list of numbers using the provided salt.
This function wrapper creates a context with the default alphabet.
If the same context is used repeatedly, use 'encodeList' with one of the
constructors instead.
-}
encodeListUsingSalt :
String
-- Salt
-> List Int
-- Numbers
-> String
encodeListUsingSalt =
encodeList << hashidsSimple
{-| Decode a hash using the provided salt.
This convenience function creates a context with the default alphabet.
If the same context is used repeatedly, use 'decode' with one of the
constructors instead.
-}
decodeUsingSalt :
String
-- Salt
-> String
-- Hash
-> List Int
decodeUsingSalt =
decode << hashidsSimple
{-| Shortcut for 'encodeHex'.
-}
encodeHexUsingSalt :
String
-- Salt
-> String
-- Hexadecimal number represented as a string
-> String
encodeHexUsingSalt =
encodeHex << hashidsSimple
{-| Shortcut for 'decodeHex'.
-}
decodeHexUsingSalt :
String
-- Salt
-> String
-- Hash
-> String
decodeHexUsingSalt =
decodeHex << hashidsSimple
| 24540 | module Hashids
exposing
( Context
, createHashidsContext
, decode
, decodeHex
, decodeHexUsingSalt
, decodeUsingSalt
, encode
, encodeHex
, encodeHexUsingSalt
, encodeList
, encodeListUsingSalt
, encodeUsingSalt
, hashidsMinimum
, hashidsSimple
)
{-| This is an Elm port of the Hashids library by <NAME>.
This is _not_ a cryptographic hashing algorithm. Hashids is typically
used to encode numbers to a format suitable for appearance in places
like urls.
See the official Hashids home page: [<http://hashids.org>](http://hashids.org)
Hashids is a small open-source library that generates short, unique,
non-sequential ids from numbers. It converts numbers like 347 into
strings like @yr8@, or a list of numbers like [27, 986] into @3kTMd@.
You can also decode those ids back. This is useful in bundling several
parameters into one or simply using them as short UIDs.
# Types
@docs Context
# Context object constructors
@docs createHashidsContext, hashidsSimple, hashidsMinimum
# Encoding and decoding
@docs encodeHex, decodeHex, encode, encodeList, decode
# Convenience wrappers
@docs encodeUsingSalt, encodeListUsingSalt, decodeUsingSalt, encodeHexUsingSalt, decodeHexUsingSalt
-}
import Array exposing (Array)
import Char
import Regex exposing (Regex)
import String
import Tuple exposing (first)
{-| A record with various internals required for encoding and decoding.
-}
type alias Context =
{ guards : String
, seps : String
, salt : String
, minHashLength : Int
, alphabet : String
}
containsChar : Char -> String -> Bool
containsChar =
String.contains << String.fromChar
unique : String -> String
unique str =
let
addIfNotMember c xs =
if containsChar c xs then
xs
else
String.cons c xs
in
String.foldr addIfNotMember "" str
intersect : String -> String -> String
intersect first second =
let
member c =
containsChar c second
in
String.filter member first
exclude : String -> String -> String
exclude toBeExcluded from =
let
member c =
not <| containsChar c toBeExcluded
in
String.filter member from
forceGet : Int -> Array Char -> Char
forceGet i axs =
Array.get i axs |> Maybe.withDefault ' '
swap : Int -> Int -> String -> String
swap i j str =
let
strArray =
Array.fromList <| String.toList str
iElem =
forceGet i strArray
jElem =
forceGet j strArray
in
Array.set i jElem strArray
|> Array.set j iElem
|> Array.toList
|> String.fromList
{-| reorder a string acording to salt
-}
reorder : String -> String -> String
reorder string salt =
let
saltLen =
String.length salt
alphaLen =
String.length string
saltArray =
Array.fromList <| String.toList salt
shuffle i index integerSum str =
if i > 0 then
let
newIndex =
modBy saltLen index
integer =
Char.toCode <| forceGet newIndex saltArray
newIntegerSum =
integerSum + integer
j =
modBy i (integer + newIndex + newIntegerSum)
newStr =
swap i j str
in
shuffle (i - 1) (newIndex + 1) newIntegerSum newStr
else
str
in
if saltLen == 0 then
string
else
shuffle (alphaLen - 1) 0 0 string
{-| Create a context object using the given salt, a minimum hash length, and
a custom alphabet. If you only need to supply the salt, or the first two
arguments, use 'hashidsSimple' or 'hashidsMinimum' instead.
Changing the alphabet is useful if you want to make your hashes unique,
i.e., create hashes different from those generated by other applications
relying on the same algorithm.
-}
createHashidsContext :
String
-- Salt
-> Int
-- Minimum required hash length
-> String
-- Alphabet
-> Context
createHashidsContext salt minHashLen alphabet =
let
minAlphabetLength =
16
sepDiv =
3.5
guardDiv =
12
clean alpha =
let
seps =
"cfhistuCFHISTU"
seps1 =
intersect seps alpha
hasSpaces =
String.contains " " alpha
alpha1 =
exclude seps1 <| unique alpha
alphabetIsSmall =
String.length (alpha1 ++ seps1) < minAlphabetLength
in
case ( hasSpaces, alphabetIsSmall ) of
( True, _ ) ->
-- "alphabet provided has spaces, using default"
( seps, exclude seps defaultAlphabet )
( _, True ) ->
-- "alphabet too small, using default"
( seps, exclude seps defaultAlphabet )
( False, False ) ->
( seps1, alpha1 )
validSeps ( seps, alpha ) =
let
seps1 =
reorder seps salt
lenSeps =
String.length seps1
lenAlpha =
String.length alpha
minSeps =
ceiling <| toFloat lenAlpha / sepDiv
in
if lenSeps < minSeps then
let
minSeps1 =
if minSeps == 1 then
2
else
minSeps
in
if minSeps1 > lenSeps then
let
splitAt =
minSeps1 - lenSeps
seps2 =
seps1 ++ String.left splitAt alpha
alpha1 =
String.dropLeft splitAt alpha
in
( seps2, alpha1 )
else
( seps1, alpha )
else
( seps1, alpha )
withGuard ( seps, alpha ) =
let
alpha1 =
reorder alpha salt
lenAlpha =
String.length alpha
numGuards =
ceiling <| toFloat lenAlpha / guardDiv
in
if lenAlpha < 3 then
( String.dropLeft numGuards seps, alpha1, String.left numGuards seps )
else
( seps, String.dropLeft numGuards alpha1, String.left numGuards alpha1 )
( seps1b, alphabet1, guards ) =
clean alphabet
|> validSeps
|> withGuard
in
{ guards = guards
, seps = seps1b
, salt = salt
, minHashLength = minHashLen
, alphabet = alphabet1
}
defaultAlphabet : String
defaultAlphabet =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
{-| Create a context object using the default alphabet and the provided salt,
without any minimum required length.
-}
hashidsSimple :
String
-- Salt
-> Context
hashidsSimple salt =
createHashidsContext salt 0 defaultAlphabet
{-| Create a context object using the default alphabet and the provided salt.
The generated hashes will have a minimum length as specified by the second
argument.
-}
hashidsMinimum :
String
-- Salt
-> Int
-- Minimum required hash length
-> Context
hashidsMinimum salt minimum =
createHashidsContext salt minimum defaultAlphabet
{-| Decode a hash generated with 'encodeHex'.
Example use:
decodeHex context "yzgwD"
-}
decodeHex :
Context
-- Hashids context object
-> String
-- Hash
-> String
decodeHex context hash =
let
numbers =
decode context hash
in
concatMap (\n -> String.dropLeft 1 <| String.fromInt n) numbers
concatMap : (a -> String) -> List a -> String
concatMap f =
String.concat << List.map f
{-| Encode a hexadecimal number.
Example use:
encodeHex context "ff83"
-}
encodeHex :
Context
-- A Hashids context object
-> String
-- Hexadecimal number represented as a string
-> String
encodeHex context str =
if String.all Char.isHexDigit str then
encodeList context <| List.map (\chunk -> fromHex ("1" ++ chunk)) <| chunksOf 12 str
else
""
chunksOf : Int -> String -> List String
chunksOf size origStr =
let
split str acc =
if String.length str > size then
split (String.dropRight size str) (String.right size str :: acc)
else
str :: acc
in
split origStr []
fromHex : String -> Int
fromHex hex =
let
toDig n =
case Char.toUpper n of
'1' ->
1
'2' ->
2
'3' ->
3
'4' ->
4
'5' ->
5
'6' ->
6
'7' ->
7
'8' ->
8
'9' ->
9
'A' ->
10
'B' ->
11
'C' ->
12
'D' ->
13
'E' ->
14
'F' ->
15
_ ->
0
go current ( acc, pow ) =
( acc + toDig current * (16 ^ pow), pow + 1 )
in
first <| String.foldr go ( 0, 0 ) hex
{-| Decode a hash.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
decode context "rD"
-- == [5]
-}
decode :
Context
-- A Hashids context object
-> String
-- Hash
-> List Int
decode context hash =
if hash == "" then
[]
else
let
{ guards, seps, salt, minHashLength, alphabet } =
context
guardParts =
splitOn guards hash
guardPartsLen =
List.length guardParts
hash1 =
Maybe.withDefault "" <|
List.head <|
if (2 <= guardPartsLen) && (guardPartsLen <= 3) then
List.drop 1 guardParts
else
guardParts
hash2 =
String.dropLeft 1 hash1
lotteryChar =
String.left 1 hash1
hashParts =
splitOn seps hash2
numbers =
if String.isEmpty hash1 then
[]
else
first <| List.foldl go ( [], alphabet ) hashParts
go part ( acc, alpha ) =
let
alphaSalt =
String.left (String.length alpha) (lotteryChar ++ salt ++ alpha)
alpha1 =
reorder alpha alphaSalt
in
( acc ++ [ unhash part alpha1 ], alpha1 )
unhash part alpha =
let
partLen =
String.length part
alphaLen =
String.length alpha
partList =
List.map String.fromChar <| String.toList part
position c =
String.indexes c alpha |> List.head >> Maybe.withDefault 0
in
List.sum <| List.indexedMap (\i c -> position c * alphaLen ^ (partLen - i - 1)) partList
in
if encodeList context numbers /= hash then
[]
else
numbers
regex : String -> Regex
regex str =
Maybe.withDefault Regex.never <|
Regex.fromString str
splitOn : String -> String -> List String
splitOn splitters str =
Regex.split (regex <| "[" ++ splitters ++ "]") str
{-| Encode a single number.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
encode context 5
-- == "rD"
-}
encode :
Context
-- A Hashids context object
-> Int
-- Number to encode
-> String
encode context n =
encodeList context [ n ]
{-| Encode a list of numbers.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
encodeList context [ 2, 3, 5, 7, 11 ]
-- == "EOurh6cbTD"
-}
encodeList :
Context
-- A Hashids context object
-> List Int
-- List of numbers
-> String
encodeList context numbers =
let
{ guards, seps, salt, minHashLength, alphabet } =
context
alphaLen =
String.length alphabet
sepsLen =
String.length seps
valuesHash =
List.sum <| List.indexedMap (\i n -> modBy (i + 100) n) numbers
--encoded = lottery = alphabet[values_hash % len(alphabet)]
lottery =
strGet (modBy alphaLen valuesHash) alphabet
hash value alpha acc =
let
alphaLen_ =
String.length alpha
value1 =
value // alphaLen
acc1 =
strGet (modBy alphaLen_ value) alpha ++ acc
in
if value1 == 0 then
acc1
else
hash value1 alpha acc1
go ( i, value ) ( acc, alpha ) =
let
alphaSalt =
String.left alphaLen (lottery ++ salt ++ alpha)
alpha1_ =
reorder alpha alphaSalt
last =
hash value alpha1_ ""
firstCode =
ordOfIdx 0 last
value1 =
modBy (firstCode + i) value
sepEnc =
strGet (modBy sepsLen value1) seps
in
( acc ++ [ last ++ sepEnc ], alpha1_ )
( encodedList, alpha1 ) =
List.indexedMap (\a b -> ( a, b )) numbers
|> List.foldl go ( [ lottery ], alphabet )
encodedPre =
String.concat encodedList
encoded =
String.dropRight 1 encodedPre
-- cut off last separator
in
if String.length encoded >= minHashLength then
encoded
else
ensureLength encoded minHashLength alpha1 guards valuesHash
strGet : Int -> String -> String
strGet i str =
String.left 1 <| String.dropLeft i str
ordOfIdx : Int -> String -> Int
ordOfIdx i str =
String.dropLeft i str
|> String.toList
|> List.head
|> Maybe.map Char.toCode
|> Maybe.withDefault 0
ensureLength : String -> Int -> String -> String -> Int -> String
ensureLength encoded minHashLength alphabet guards valuesHash =
let
guardsLen =
String.length guards
guardIndex =
modBy guardsLen (valuesHash + ordOfIdx 0 encoded)
acc =
strGet guardIndex guards ++ encoded
guardIndex1 =
modBy guardsLen (valuesHash + ordOfIdx 2 acc)
acc1 =
if String.length acc < minHashLength then
acc ++ strGet guardIndex1 guards
else
acc
splitAt =
String.length alphabet // 2
extend encoded_ alpha =
let
alpha1 =
reorder alpha alpha
encodedPre =
String.dropLeft splitAt alpha1
++ encoded_
++ String.left splitAt alpha1
excess =
String.length encodedPre - minHashLength
fromIndex =
excess // 2
encoded1 =
if excess > 0 then
String.left minHashLength <| String.dropLeft fromIndex encodedPre
else
encodedPre
in
if String.length encoded1 < minHashLength then
extend encoded1 alpha1
else
encoded1
in
extend acc1 alphabet
{-| Encode a number using the provided salt.
This convenience function creates a context with the default alphabet.
If the same context is used repeatedly, use 'encode' with one of the
constructors instead.
-}
encodeUsingSalt :
String
-- Salt
-> Int
-- Number
-> String
encodeUsingSalt =
encode << hashidsSimple
{-| Encode a list of numbers using the provided salt.
This function wrapper creates a context with the default alphabet.
If the same context is used repeatedly, use 'encodeList' with one of the
constructors instead.
-}
encodeListUsingSalt :
String
-- Salt
-> List Int
-- Numbers
-> String
encodeListUsingSalt =
encodeList << hashidsSimple
{-| Decode a hash using the provided salt.
This convenience function creates a context with the default alphabet.
If the same context is used repeatedly, use 'decode' with one of the
constructors instead.
-}
decodeUsingSalt :
String
-- Salt
-> String
-- Hash
-> List Int
decodeUsingSalt =
decode << hashidsSimple
{-| Shortcut for 'encodeHex'.
-}
encodeHexUsingSalt :
String
-- Salt
-> String
-- Hexadecimal number represented as a string
-> String
encodeHexUsingSalt =
encodeHex << hashidsSimple
{-| Shortcut for 'decodeHex'.
-}
decodeHexUsingSalt :
String
-- Salt
-> String
-- Hash
-> String
decodeHexUsingSalt =
decodeHex << hashidsSimple
| true | module Hashids
exposing
( Context
, createHashidsContext
, decode
, decodeHex
, decodeHexUsingSalt
, decodeUsingSalt
, encode
, encodeHex
, encodeHexUsingSalt
, encodeList
, encodeListUsingSalt
, encodeUsingSalt
, hashidsMinimum
, hashidsSimple
)
{-| This is an Elm port of the Hashids library by PI:NAME:<NAME>END_PI.
This is _not_ a cryptographic hashing algorithm. Hashids is typically
used to encode numbers to a format suitable for appearance in places
like urls.
See the official Hashids home page: [<http://hashids.org>](http://hashids.org)
Hashids is a small open-source library that generates short, unique,
non-sequential ids from numbers. It converts numbers like 347 into
strings like @yr8@, or a list of numbers like [27, 986] into @3kTMd@.
You can also decode those ids back. This is useful in bundling several
parameters into one or simply using them as short UIDs.
# Types
@docs Context
# Context object constructors
@docs createHashidsContext, hashidsSimple, hashidsMinimum
# Encoding and decoding
@docs encodeHex, decodeHex, encode, encodeList, decode
# Convenience wrappers
@docs encodeUsingSalt, encodeListUsingSalt, decodeUsingSalt, encodeHexUsingSalt, decodeHexUsingSalt
-}
import Array exposing (Array)
import Char
import Regex exposing (Regex)
import String
import Tuple exposing (first)
{-| A record with various internals required for encoding and decoding.
-}
type alias Context =
{ guards : String
, seps : String
, salt : String
, minHashLength : Int
, alphabet : String
}
containsChar : Char -> String -> Bool
containsChar =
String.contains << String.fromChar
unique : String -> String
unique str =
let
addIfNotMember c xs =
if containsChar c xs then
xs
else
String.cons c xs
in
String.foldr addIfNotMember "" str
intersect : String -> String -> String
intersect first second =
let
member c =
containsChar c second
in
String.filter member first
exclude : String -> String -> String
exclude toBeExcluded from =
let
member c =
not <| containsChar c toBeExcluded
in
String.filter member from
forceGet : Int -> Array Char -> Char
forceGet i axs =
Array.get i axs |> Maybe.withDefault ' '
swap : Int -> Int -> String -> String
swap i j str =
let
strArray =
Array.fromList <| String.toList str
iElem =
forceGet i strArray
jElem =
forceGet j strArray
in
Array.set i jElem strArray
|> Array.set j iElem
|> Array.toList
|> String.fromList
{-| reorder a string acording to salt
-}
reorder : String -> String -> String
reorder string salt =
let
saltLen =
String.length salt
alphaLen =
String.length string
saltArray =
Array.fromList <| String.toList salt
shuffle i index integerSum str =
if i > 0 then
let
newIndex =
modBy saltLen index
integer =
Char.toCode <| forceGet newIndex saltArray
newIntegerSum =
integerSum + integer
j =
modBy i (integer + newIndex + newIntegerSum)
newStr =
swap i j str
in
shuffle (i - 1) (newIndex + 1) newIntegerSum newStr
else
str
in
if saltLen == 0 then
string
else
shuffle (alphaLen - 1) 0 0 string
{-| Create a context object using the given salt, a minimum hash length, and
a custom alphabet. If you only need to supply the salt, or the first two
arguments, use 'hashidsSimple' or 'hashidsMinimum' instead.
Changing the alphabet is useful if you want to make your hashes unique,
i.e., create hashes different from those generated by other applications
relying on the same algorithm.
-}
createHashidsContext :
String
-- Salt
-> Int
-- Minimum required hash length
-> String
-- Alphabet
-> Context
createHashidsContext salt minHashLen alphabet =
let
minAlphabetLength =
16
sepDiv =
3.5
guardDiv =
12
clean alpha =
let
seps =
"cfhistuCFHISTU"
seps1 =
intersect seps alpha
hasSpaces =
String.contains " " alpha
alpha1 =
exclude seps1 <| unique alpha
alphabetIsSmall =
String.length (alpha1 ++ seps1) < minAlphabetLength
in
case ( hasSpaces, alphabetIsSmall ) of
( True, _ ) ->
-- "alphabet provided has spaces, using default"
( seps, exclude seps defaultAlphabet )
( _, True ) ->
-- "alphabet too small, using default"
( seps, exclude seps defaultAlphabet )
( False, False ) ->
( seps1, alpha1 )
validSeps ( seps, alpha ) =
let
seps1 =
reorder seps salt
lenSeps =
String.length seps1
lenAlpha =
String.length alpha
minSeps =
ceiling <| toFloat lenAlpha / sepDiv
in
if lenSeps < minSeps then
let
minSeps1 =
if minSeps == 1 then
2
else
minSeps
in
if minSeps1 > lenSeps then
let
splitAt =
minSeps1 - lenSeps
seps2 =
seps1 ++ String.left splitAt alpha
alpha1 =
String.dropLeft splitAt alpha
in
( seps2, alpha1 )
else
( seps1, alpha )
else
( seps1, alpha )
withGuard ( seps, alpha ) =
let
alpha1 =
reorder alpha salt
lenAlpha =
String.length alpha
numGuards =
ceiling <| toFloat lenAlpha / guardDiv
in
if lenAlpha < 3 then
( String.dropLeft numGuards seps, alpha1, String.left numGuards seps )
else
( seps, String.dropLeft numGuards alpha1, String.left numGuards alpha1 )
( seps1b, alphabet1, guards ) =
clean alphabet
|> validSeps
|> withGuard
in
{ guards = guards
, seps = seps1b
, salt = salt
, minHashLength = minHashLen
, alphabet = alphabet1
}
defaultAlphabet : String
defaultAlphabet =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
{-| Create a context object using the default alphabet and the provided salt,
without any minimum required length.
-}
hashidsSimple :
String
-- Salt
-> Context
hashidsSimple salt =
createHashidsContext salt 0 defaultAlphabet
{-| Create a context object using the default alphabet and the provided salt.
The generated hashes will have a minimum length as specified by the second
argument.
-}
hashidsMinimum :
String
-- Salt
-> Int
-- Minimum required hash length
-> Context
hashidsMinimum salt minimum =
createHashidsContext salt minimum defaultAlphabet
{-| Decode a hash generated with 'encodeHex'.
Example use:
decodeHex context "yzgwD"
-}
decodeHex :
Context
-- Hashids context object
-> String
-- Hash
-> String
decodeHex context hash =
let
numbers =
decode context hash
in
concatMap (\n -> String.dropLeft 1 <| String.fromInt n) numbers
concatMap : (a -> String) -> List a -> String
concatMap f =
String.concat << List.map f
{-| Encode a hexadecimal number.
Example use:
encodeHex context "ff83"
-}
encodeHex :
Context
-- A Hashids context object
-> String
-- Hexadecimal number represented as a string
-> String
encodeHex context str =
if String.all Char.isHexDigit str then
encodeList context <| List.map (\chunk -> fromHex ("1" ++ chunk)) <| chunksOf 12 str
else
""
chunksOf : Int -> String -> List String
chunksOf size origStr =
let
split str acc =
if String.length str > size then
split (String.dropRight size str) (String.right size str :: acc)
else
str :: acc
in
split origStr []
fromHex : String -> Int
fromHex hex =
let
toDig n =
case Char.toUpper n of
'1' ->
1
'2' ->
2
'3' ->
3
'4' ->
4
'5' ->
5
'6' ->
6
'7' ->
7
'8' ->
8
'9' ->
9
'A' ->
10
'B' ->
11
'C' ->
12
'D' ->
13
'E' ->
14
'F' ->
15
_ ->
0
go current ( acc, pow ) =
( acc + toDig current * (16 ^ pow), pow + 1 )
in
first <| String.foldr go ( 0, 0 ) hex
{-| Decode a hash.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
decode context "rD"
-- == [5]
-}
decode :
Context
-- A Hashids context object
-> String
-- Hash
-> List Int
decode context hash =
if hash == "" then
[]
else
let
{ guards, seps, salt, minHashLength, alphabet } =
context
guardParts =
splitOn guards hash
guardPartsLen =
List.length guardParts
hash1 =
Maybe.withDefault "" <|
List.head <|
if (2 <= guardPartsLen) && (guardPartsLen <= 3) then
List.drop 1 guardParts
else
guardParts
hash2 =
String.dropLeft 1 hash1
lotteryChar =
String.left 1 hash1
hashParts =
splitOn seps hash2
numbers =
if String.isEmpty hash1 then
[]
else
first <| List.foldl go ( [], alphabet ) hashParts
go part ( acc, alpha ) =
let
alphaSalt =
String.left (String.length alpha) (lotteryChar ++ salt ++ alpha)
alpha1 =
reorder alpha alphaSalt
in
( acc ++ [ unhash part alpha1 ], alpha1 )
unhash part alpha =
let
partLen =
String.length part
alphaLen =
String.length alpha
partList =
List.map String.fromChar <| String.toList part
position c =
String.indexes c alpha |> List.head >> Maybe.withDefault 0
in
List.sum <| List.indexedMap (\i c -> position c * alphaLen ^ (partLen - i - 1)) partList
in
if encodeList context numbers /= hash then
[]
else
numbers
regex : String -> Regex
regex str =
Maybe.withDefault Regex.never <|
Regex.fromString str
splitOn : String -> String -> List String
splitOn splitters str =
Regex.split (regex <| "[" ++ splitters ++ "]") str
{-| Encode a single number.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
encode context 5
-- == "rD"
-}
encode :
Context
-- A Hashids context object
-> Int
-- Number to encode
-> String
encode context n =
encodeList context [ n ]
{-| Encode a list of numbers.
Example use:
hash =
let
context =
hashidsSimple "this is my salt"
in
encodeList context [ 2, 3, 5, 7, 11 ]
-- == "EOurh6cbTD"
-}
encodeList :
Context
-- A Hashids context object
-> List Int
-- List of numbers
-> String
encodeList context numbers =
let
{ guards, seps, salt, minHashLength, alphabet } =
context
alphaLen =
String.length alphabet
sepsLen =
String.length seps
valuesHash =
List.sum <| List.indexedMap (\i n -> modBy (i + 100) n) numbers
--encoded = lottery = alphabet[values_hash % len(alphabet)]
lottery =
strGet (modBy alphaLen valuesHash) alphabet
hash value alpha acc =
let
alphaLen_ =
String.length alpha
value1 =
value // alphaLen
acc1 =
strGet (modBy alphaLen_ value) alpha ++ acc
in
if value1 == 0 then
acc1
else
hash value1 alpha acc1
go ( i, value ) ( acc, alpha ) =
let
alphaSalt =
String.left alphaLen (lottery ++ salt ++ alpha)
alpha1_ =
reorder alpha alphaSalt
last =
hash value alpha1_ ""
firstCode =
ordOfIdx 0 last
value1 =
modBy (firstCode + i) value
sepEnc =
strGet (modBy sepsLen value1) seps
in
( acc ++ [ last ++ sepEnc ], alpha1_ )
( encodedList, alpha1 ) =
List.indexedMap (\a b -> ( a, b )) numbers
|> List.foldl go ( [ lottery ], alphabet )
encodedPre =
String.concat encodedList
encoded =
String.dropRight 1 encodedPre
-- cut off last separator
in
if String.length encoded >= minHashLength then
encoded
else
ensureLength encoded minHashLength alpha1 guards valuesHash
strGet : Int -> String -> String
strGet i str =
String.left 1 <| String.dropLeft i str
ordOfIdx : Int -> String -> Int
ordOfIdx i str =
String.dropLeft i str
|> String.toList
|> List.head
|> Maybe.map Char.toCode
|> Maybe.withDefault 0
ensureLength : String -> Int -> String -> String -> Int -> String
ensureLength encoded minHashLength alphabet guards valuesHash =
let
guardsLen =
String.length guards
guardIndex =
modBy guardsLen (valuesHash + ordOfIdx 0 encoded)
acc =
strGet guardIndex guards ++ encoded
guardIndex1 =
modBy guardsLen (valuesHash + ordOfIdx 2 acc)
acc1 =
if String.length acc < minHashLength then
acc ++ strGet guardIndex1 guards
else
acc
splitAt =
String.length alphabet // 2
extend encoded_ alpha =
let
alpha1 =
reorder alpha alpha
encodedPre =
String.dropLeft splitAt alpha1
++ encoded_
++ String.left splitAt alpha1
excess =
String.length encodedPre - minHashLength
fromIndex =
excess // 2
encoded1 =
if excess > 0 then
String.left minHashLength <| String.dropLeft fromIndex encodedPre
else
encodedPre
in
if String.length encoded1 < minHashLength then
extend encoded1 alpha1
else
encoded1
in
extend acc1 alphabet
{-| Encode a number using the provided salt.
This convenience function creates a context with the default alphabet.
If the same context is used repeatedly, use 'encode' with one of the
constructors instead.
-}
encodeUsingSalt :
String
-- Salt
-> Int
-- Number
-> String
encodeUsingSalt =
encode << hashidsSimple
{-| Encode a list of numbers using the provided salt.
This function wrapper creates a context with the default alphabet.
If the same context is used repeatedly, use 'encodeList' with one of the
constructors instead.
-}
encodeListUsingSalt :
String
-- Salt
-> List Int
-- Numbers
-> String
encodeListUsingSalt =
encodeList << hashidsSimple
{-| Decode a hash using the provided salt.
This convenience function creates a context with the default alphabet.
If the same context is used repeatedly, use 'decode' with one of the
constructors instead.
-}
decodeUsingSalt :
String
-- Salt
-> String
-- Hash
-> List Int
decodeUsingSalt =
decode << hashidsSimple
{-| Shortcut for 'encodeHex'.
-}
encodeHexUsingSalt :
String
-- Salt
-> String
-- Hexadecimal number represented as a string
-> String
encodeHexUsingSalt =
encodeHex << hashidsSimple
{-| Shortcut for 'decodeHex'.
-}
decodeHexUsingSalt :
String
-- Salt
-> String
-- Hash
-> String
decodeHexUsingSalt =
decodeHex << hashidsSimple
| elm |
[
{
"context": "xt-6xl py-5\" ] [ text \"Hochzeit\", br [] [], text \"Birte & Jeremias\" ]\n , p [ class \"text-3xl\" ] [ ",
"end": 1270,
"score": 0.9949429631,
"start": 1265,
"tag": "NAME",
"value": "Birte"
},
{
"context": "py-5\" ] [ text \"Hochzeit\", br [] [], text \"Birte & Jeremias\" ]\n , p [ class \"text-3xl\" ] [ text \"Mach ",
"end": 1281,
"score": 0.9992836118,
"start": 1273,
"tag": "NAME",
"value": "Jeremias"
},
{
"context": "l = el [ centerX, centerY, fontL ] (Element.text \"Birte\")\n }\n , Input.button [ ",
"end": 2429,
"score": 0.9994480014,
"start": 2424,
"tag": "NAME",
"value": "Birte"
},
{
"context": "l = el [ centerX, centerY, fontL ] (Element.text \"Jeremias\")\n }\n ]\n , el [ ",
"end": 2683,
"score": 0.9994996786,
"start": 2675,
"tag": "NAME",
"value": "Jeremias"
},
{
"context": " , questionStateButton question.state \"Jeremias\" id (Answered Groom)\n , questionStateB",
"end": 4649,
"score": 0.6780631542,
"start": 4644,
"tag": "NAME",
"value": "emias"
},
{
"context": "ent.rgb 0.4 0.4 0.4) ] (Element.text \"Hochzeit von Birte & Jeremias\")\n , questionView data\n ",
"end": 7140,
"score": 0.8640322685,
"start": 7135,
"tag": "NAME",
"value": "Birte"
},
{
"context": "0.4 0.4 0.4) ] (Element.text \"Hochzeit von Birte & Jeremias\")\n , questionView data\n , Element.t",
"end": 7151,
"score": 0.9880149961,
"start": 7143,
"tag": "NAME",
"value": "Jeremias"
},
{
"context": " SvgA.y \"66.716469\" ]\n [ Svg.text \"Birte\" ]\n , Svg.text_ [ svgTextStyle, SvgA.x",
"end": 10090,
"score": 0.8971469402,
"start": 10085,
"tag": "NAME",
"value": "Birte"
},
{
"context": " SvgA.y \"66.716469\" ]\n [ Svg.text \"Jeremias\" ]\n , Svg.text_ [ svgTextStyle, SvgA.x",
"end": 10211,
"score": 0.9989699125,
"start": 10203,
"tag": "NAME",
"value": "Jeremias"
}
] | src/frontend/Page/Wedding.elm | kreibaum/pomp | 0 | module Page.Wedding exposing (view)
import Element exposing (Element, centerX, centerY, column, el, fill, height, padding, paragraph, px, rgb, row, spacing, width)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Element.Input as Input
import Html exposing (Html, br, button, div, node, p, text)
import Html.Attributes exposing (class)
import Html.Events exposing (on, onClick)
import Json.Decode
import List.Extra as List
import Svg exposing (Svg)
import Svg.Attributes as SvgA
import Thunderstorm exposing (thunderstorm)
import WeddingData exposing (..)
view : WeddingView -> Html WeddingEvent
view model =
case model of
SignUp ->
signUpView
Guest data ->
Element.layout [] (guestView data)
Host data ->
Element.layout [] (hostView data)
Projector data ->
Element.layout [] (projectorView data)
-- Sign up ---------------------------------------------------------------------
--------------------------------------------------------------------------------
signUpView : Html WeddingEvent
signUpView =
div [ class "p-5 text-center" ]
[ p [ class "text-6xl py-5" ] [ text "Hochzeit", br [] [], text "Birte & Jeremias" ]
, p [ class "text-3xl" ] [ text "Mach mit beim Hochzeitsspiel!" ]
, br [] []
, node "name-input" [ on "name-input" decodeNameFromCustomEvent ] []
]
decodeNameFromCustomEvent : Json.Decode.Decoder WeddingEvent
decodeNameFromCustomEvent =
Json.Decode.at [ "detail", "name" ] Json.Decode.string
|> Json.Decode.map (\name -> SetName name)
-- Guest -----------------------------------------------------------------------
--------------------------------------------------------------------------------
fontL : Element.Attr () a
fontL =
Font.size 50
fontM : Element.Attr () a
fontM =
Font.size 40
gap : Int
gap =
20
guestView : GuestView -> Element WeddingEvent
guestView data =
column [ padding gap, spacing gap, width fill ]
[ el [ centerX, fontL ] (Element.text data.question)
, row [ spacing gap, width fill, height (px 200) ]
[ Input.button [ width fill, height fill, Border.width 5, guessButtonBg data.guess Bride ]
{ onPress = Just (SetGuess Bride)
, label = el [ centerX, centerY, fontL ] (Element.text "Birte")
}
, Input.button [ width fill, height fill, Border.width 5, guessButtonBg data.guess Groom ]
{ onPress = Just (SetGuess Groom)
, label = el [ centerX, centerY, fontL ] (Element.text "Jeremias")
}
]
, el [ fontM ] (Element.text ("Du spielst als " ++ data.name ++ "."))
, el [ fontM ] (Element.text ("Du hast " ++ String.fromInt data.score ++ " Punkte."))
, Input.button [ Border.width 5, Border.color (Element.rgb 0.2 0.2 0.2) ]
{ onPress = Just RemoveName
, label = el [ fontM, padding 5, Font.color (Element.rgb 0.2 0.2 0.2) ] (Element.text "Meinen Namen ändern")
}
]
guessButtonBg : Maybe Espoused -> Espoused -> Element.Attr () a
guessButtonBg enteredGuess buttonMeaning =
if enteredGuess == Just buttonMeaning then
Background.color (rgb 0.6 0.6 0.9)
else
Background.color (rgb 1.0 1.0 1.0)
-- Host ------------------------------------------------------------------------
--------------------------------------------------------------------------------
hostView : HostView -> Element WeddingEvent
hostView data =
column [ width fill, padding 5, spacing 5 ]
[ selectedQuestionView data
, pauseView
, questionListView data
]
selectedQuestionView : HostView -> Element WeddingEvent
selectedQuestionView data =
case getCurrentQuestion data of
Nothing ->
el [] (Element.text "Keine Frage ausgewählt")
Just ( id, question ) ->
activeQuestionView id question
activeQuestionView : Int -> QuestionView -> Element WeddingEvent
activeQuestionView id question =
column [ padding 10, spacing 5, width fill ]
[ Element.text question.text
, Element.text ("Votes: " ++ votesString question)
, row [ spacing 5, width fill ]
[ questionStateButton question.state "Abstimmung offen" id GuestsCanVote
, questionStateButton question.state "Abstimmung beendet" id VotingClosed
, questionStateButton question.state "Birte" id (Answered Bride)
, questionStateButton question.state "Jeremias" id (Answered Groom)
, questionStateButton question.state "Konflikt" id ConflictAnswer
]
]
questionStateButton : QuestionState -> String -> Int -> QuestionState -> Element WeddingEvent
questionStateButton currentState caption id targetState =
if currentState == targetState then
Input.button [ width fill, padding 5, Border.width 1, Background.color (rgb 0.6 0.6 0.9) ]
{ onPress = Nothing
, label = Element.text caption
}
else
Input.button [ width fill, padding 5, Border.width 1 ]
{ onPress = Just (SetQuestionState id targetState)
, label = Element.text caption
}
getCurrentQuestion : HostView -> Maybe ( Int, QuestionView )
getCurrentQuestion data =
case data.currentQuestion of
Nothing ->
Nothing
Just id ->
List.getAt id data.questions
|> Maybe.map (\question -> ( id, question ))
pauseView : Element WeddingEvent
pauseView =
row [ width fill, spacing 5 ]
[ Element.text "Pause - "
, Input.button []
{ onPress = Just (SetQuestion Nothing)
, label = Element.text "Pause"
}
]
questionListView : HostView -> Element WeddingEvent
questionListView data =
column [ spacing 5 ]
(List.indexedMap
(\i question ->
oneQuestionView question (Just i == data.currentQuestion) i
)
data.questions
)
oneQuestionView : QuestionView -> Bool -> Int -> Element WeddingEvent
oneQuestionView question isActive i =
row []
[ Element.text question.text
, Element.text " - "
, Element.text (votesString question)
, Element.text " - "
, Input.button []
{ onPress = Just (SetQuestion (Just i))
, label = Element.text "[Zeigen]"
}
]
votesString : QuestionView -> String
votesString question =
"Bi = " ++ String.fromInt question.brideGuesses ++ ", Je = " ++ String.fromInt question.groomGuesses
-- Projector -------------------------------------------------------------------
--------------------------------------------------------------------------------
projectorView : ProjectorView -> Element a
projectorView data =
column [ width fill, padding 10, spacing 5 ]
[ el [ centerX, Font.size 50, Font.color (Element.rgb 0.4 0.4 0.4) ] (Element.text "Hochzeit von Birte & Jeremias")
, questionView data
, Element.text ("Es spielen " ++ String.fromInt (List.length data.connectedUsers) ++ " Gäste:")
, paragraph [ width fill ]
(List.map (\name -> Element.text (name ++ ", ")) data.connectedUsers)
]
questionView : ProjectorView -> Element a
questionView data =
column [ width fill, spacing 5, Element.paddingEach { top = 0, right = 0, bottom = 35, left = 0 } ]
[ el [ centerX, Font.size 40, Element.paddingEach { top = 0, right = 0, bottom = 15, left = 0 } ] (Element.text (questionText data))
, row [ width fill ]
[ el [ width fill ] (scoreView "Bestenliste (Frage)" data.currentQuestionHighScores)
, el [ width fill ] (graphView data)
, el [ width fill ] (scoreView "Bestenliste (Gesamt)" data.highScores)
]
]
questionText : ProjectorView -> String
questionText data =
case data.question of
Just hostQuestion ->
hostQuestion.text
Nothing ->
"Gleich geht es los!"
graphView : ProjectorView -> Element a
graphView data =
case data.question of
Just hostQuestion ->
el [ centerX ] (Element.html (graph hostQuestion))
Nothing ->
Element.none
scoreView : String -> List HighScoreEntry -> Element a
scoreView caption scores =
column [ width fill, spacing 5 ]
(el [ centerX, Font.bold ] (Element.text caption)
:: List.map
(\entry ->
row [ spacing 5, centerX ]
[ el [ width fill ] (Element.text (String.fromInt entry.score))
, el [ width fill ] (Element.text entry.name)
]
)
scores
)
graph : QuestionView -> Html a
graph hostQuestion =
let
maxGuesses =
max hostQuestion.brideGuesses hostQuestion.groomGuesses
hBride =
if maxGuesses == 0 then
0
else
(toFloat hostQuestion.brideGuesses / toFloat maxGuesses) * 50
hGroom =
if maxGuesses == 0 then
0
else
(toFloat hostQuestion.groomGuesses / toFloat maxGuesses) * 50
colorBride =
if hostQuestion.state == Answered Bride then
"#ff0000"
else
"#aa7777"
colorGroom =
if hostQuestion.state == Answered Groom then
"#0000ff"
else
"#7777aa"
thunderOverlay =
if hostQuestion.state == ConflictAnswer then
thunderstorm
else
[]
in
Svg.svg [ SvgA.width "70mm", SvgA.height "70mm", SvgA.viewBox "0 0 70 70" ]
(Svg.g []
[ Svg.text_ [ svgTextStyle, SvgA.x "13.149777", SvgA.y "66.716469" ]
[ Svg.text "Birte" ]
, Svg.text_ [ svgTextStyle, SvgA.x "38.147503", SvgA.y "66.716469" ]
[ Svg.text "Jeremias" ]
, Svg.text_ [ svgTextStyle, SvgA.x "19.951769", SvgA.y "7.4098768" ]
[ Svg.tspan [ SvgA.style "text-align:center;text-anchor:middle" ] [ Svg.text (String.fromInt hostQuestion.brideGuesses) ] ]
, Svg.text_ [ svgTextStyle, SvgA.x "49.951767", SvgA.y "7.4642406" ]
[ Svg.tspan [ SvgA.style "text-align:center;text-anchor:middle" ] [ Svg.text (String.fromInt hostQuestion.groomGuesses) ] ]
, Svg.rect
[ SvgA.style ("fill:" ++ colorBride ++ ";stroke-width:8.94427;stroke-linecap:round;stroke-linejoin:round")
, SvgA.width "20"
, SvgA.height (String.fromFloat hBride)
, SvgA.x "10"
, SvgA.y (String.fromFloat (60 - hBride))
, SvgA.rx "3"
, SvgA.ry "3"
]
[]
, Svg.rect
[ SvgA.style ("fill:" ++ colorGroom ++ ";stroke-width:8.94427;stroke-linecap:round;stroke-linejoin:round")
, SvgA.width "20"
, SvgA.height (String.fromFloat hGroom)
, SvgA.x "40"
, SvgA.y (String.fromFloat (60 - hGroom))
, SvgA.rx "3"
, SvgA.ry "3"
]
[]
]
:: thunderOverlay
)
svgTextStyle : Svg.Attribute a
svgTextStyle =
SvgA.style "font-size:5.64444px;line-height:1.25;font-family:sans-serif;stroke-width:0.264583"
| 653 | module Page.Wedding exposing (view)
import Element exposing (Element, centerX, centerY, column, el, fill, height, padding, paragraph, px, rgb, row, spacing, width)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Element.Input as Input
import Html exposing (Html, br, button, div, node, p, text)
import Html.Attributes exposing (class)
import Html.Events exposing (on, onClick)
import Json.Decode
import List.Extra as List
import Svg exposing (Svg)
import Svg.Attributes as SvgA
import Thunderstorm exposing (thunderstorm)
import WeddingData exposing (..)
view : WeddingView -> Html WeddingEvent
view model =
case model of
SignUp ->
signUpView
Guest data ->
Element.layout [] (guestView data)
Host data ->
Element.layout [] (hostView data)
Projector data ->
Element.layout [] (projectorView data)
-- Sign up ---------------------------------------------------------------------
--------------------------------------------------------------------------------
signUpView : Html WeddingEvent
signUpView =
div [ class "p-5 text-center" ]
[ p [ class "text-6xl py-5" ] [ text "Hochzeit", br [] [], text "<NAME> & <NAME>" ]
, p [ class "text-3xl" ] [ text "Mach mit beim Hochzeitsspiel!" ]
, br [] []
, node "name-input" [ on "name-input" decodeNameFromCustomEvent ] []
]
decodeNameFromCustomEvent : Json.Decode.Decoder WeddingEvent
decodeNameFromCustomEvent =
Json.Decode.at [ "detail", "name" ] Json.Decode.string
|> Json.Decode.map (\name -> SetName name)
-- Guest -----------------------------------------------------------------------
--------------------------------------------------------------------------------
fontL : Element.Attr () a
fontL =
Font.size 50
fontM : Element.Attr () a
fontM =
Font.size 40
gap : Int
gap =
20
guestView : GuestView -> Element WeddingEvent
guestView data =
column [ padding gap, spacing gap, width fill ]
[ el [ centerX, fontL ] (Element.text data.question)
, row [ spacing gap, width fill, height (px 200) ]
[ Input.button [ width fill, height fill, Border.width 5, guessButtonBg data.guess Bride ]
{ onPress = Just (SetGuess Bride)
, label = el [ centerX, centerY, fontL ] (Element.text "<NAME>")
}
, Input.button [ width fill, height fill, Border.width 5, guessButtonBg data.guess Groom ]
{ onPress = Just (SetGuess Groom)
, label = el [ centerX, centerY, fontL ] (Element.text "<NAME>")
}
]
, el [ fontM ] (Element.text ("Du spielst als " ++ data.name ++ "."))
, el [ fontM ] (Element.text ("Du hast " ++ String.fromInt data.score ++ " Punkte."))
, Input.button [ Border.width 5, Border.color (Element.rgb 0.2 0.2 0.2) ]
{ onPress = Just RemoveName
, label = el [ fontM, padding 5, Font.color (Element.rgb 0.2 0.2 0.2) ] (Element.text "Meinen Namen ändern")
}
]
guessButtonBg : Maybe Espoused -> Espoused -> Element.Attr () a
guessButtonBg enteredGuess buttonMeaning =
if enteredGuess == Just buttonMeaning then
Background.color (rgb 0.6 0.6 0.9)
else
Background.color (rgb 1.0 1.0 1.0)
-- Host ------------------------------------------------------------------------
--------------------------------------------------------------------------------
hostView : HostView -> Element WeddingEvent
hostView data =
column [ width fill, padding 5, spacing 5 ]
[ selectedQuestionView data
, pauseView
, questionListView data
]
selectedQuestionView : HostView -> Element WeddingEvent
selectedQuestionView data =
case getCurrentQuestion data of
Nothing ->
el [] (Element.text "Keine Frage ausgewählt")
Just ( id, question ) ->
activeQuestionView id question
activeQuestionView : Int -> QuestionView -> Element WeddingEvent
activeQuestionView id question =
column [ padding 10, spacing 5, width fill ]
[ Element.text question.text
, Element.text ("Votes: " ++ votesString question)
, row [ spacing 5, width fill ]
[ questionStateButton question.state "Abstimmung offen" id GuestsCanVote
, questionStateButton question.state "Abstimmung beendet" id VotingClosed
, questionStateButton question.state "Birte" id (Answered Bride)
, questionStateButton question.state "Jer<NAME>" id (Answered Groom)
, questionStateButton question.state "Konflikt" id ConflictAnswer
]
]
questionStateButton : QuestionState -> String -> Int -> QuestionState -> Element WeddingEvent
questionStateButton currentState caption id targetState =
if currentState == targetState then
Input.button [ width fill, padding 5, Border.width 1, Background.color (rgb 0.6 0.6 0.9) ]
{ onPress = Nothing
, label = Element.text caption
}
else
Input.button [ width fill, padding 5, Border.width 1 ]
{ onPress = Just (SetQuestionState id targetState)
, label = Element.text caption
}
getCurrentQuestion : HostView -> Maybe ( Int, QuestionView )
getCurrentQuestion data =
case data.currentQuestion of
Nothing ->
Nothing
Just id ->
List.getAt id data.questions
|> Maybe.map (\question -> ( id, question ))
pauseView : Element WeddingEvent
pauseView =
row [ width fill, spacing 5 ]
[ Element.text "Pause - "
, Input.button []
{ onPress = Just (SetQuestion Nothing)
, label = Element.text "Pause"
}
]
questionListView : HostView -> Element WeddingEvent
questionListView data =
column [ spacing 5 ]
(List.indexedMap
(\i question ->
oneQuestionView question (Just i == data.currentQuestion) i
)
data.questions
)
oneQuestionView : QuestionView -> Bool -> Int -> Element WeddingEvent
oneQuestionView question isActive i =
row []
[ Element.text question.text
, Element.text " - "
, Element.text (votesString question)
, Element.text " - "
, Input.button []
{ onPress = Just (SetQuestion (Just i))
, label = Element.text "[Zeigen]"
}
]
votesString : QuestionView -> String
votesString question =
"Bi = " ++ String.fromInt question.brideGuesses ++ ", Je = " ++ String.fromInt question.groomGuesses
-- Projector -------------------------------------------------------------------
--------------------------------------------------------------------------------
projectorView : ProjectorView -> Element a
projectorView data =
column [ width fill, padding 10, spacing 5 ]
[ el [ centerX, Font.size 50, Font.color (Element.rgb 0.4 0.4 0.4) ] (Element.text "Hochzeit von <NAME> & <NAME>")
, questionView data
, Element.text ("Es spielen " ++ String.fromInt (List.length data.connectedUsers) ++ " Gäste:")
, paragraph [ width fill ]
(List.map (\name -> Element.text (name ++ ", ")) data.connectedUsers)
]
questionView : ProjectorView -> Element a
questionView data =
column [ width fill, spacing 5, Element.paddingEach { top = 0, right = 0, bottom = 35, left = 0 } ]
[ el [ centerX, Font.size 40, Element.paddingEach { top = 0, right = 0, bottom = 15, left = 0 } ] (Element.text (questionText data))
, row [ width fill ]
[ el [ width fill ] (scoreView "Bestenliste (Frage)" data.currentQuestionHighScores)
, el [ width fill ] (graphView data)
, el [ width fill ] (scoreView "Bestenliste (Gesamt)" data.highScores)
]
]
questionText : ProjectorView -> String
questionText data =
case data.question of
Just hostQuestion ->
hostQuestion.text
Nothing ->
"Gleich geht es los!"
graphView : ProjectorView -> Element a
graphView data =
case data.question of
Just hostQuestion ->
el [ centerX ] (Element.html (graph hostQuestion))
Nothing ->
Element.none
scoreView : String -> List HighScoreEntry -> Element a
scoreView caption scores =
column [ width fill, spacing 5 ]
(el [ centerX, Font.bold ] (Element.text caption)
:: List.map
(\entry ->
row [ spacing 5, centerX ]
[ el [ width fill ] (Element.text (String.fromInt entry.score))
, el [ width fill ] (Element.text entry.name)
]
)
scores
)
graph : QuestionView -> Html a
graph hostQuestion =
let
maxGuesses =
max hostQuestion.brideGuesses hostQuestion.groomGuesses
hBride =
if maxGuesses == 0 then
0
else
(toFloat hostQuestion.brideGuesses / toFloat maxGuesses) * 50
hGroom =
if maxGuesses == 0 then
0
else
(toFloat hostQuestion.groomGuesses / toFloat maxGuesses) * 50
colorBride =
if hostQuestion.state == Answered Bride then
"#ff0000"
else
"#aa7777"
colorGroom =
if hostQuestion.state == Answered Groom then
"#0000ff"
else
"#7777aa"
thunderOverlay =
if hostQuestion.state == ConflictAnswer then
thunderstorm
else
[]
in
Svg.svg [ SvgA.width "70mm", SvgA.height "70mm", SvgA.viewBox "0 0 70 70" ]
(Svg.g []
[ Svg.text_ [ svgTextStyle, SvgA.x "13.149777", SvgA.y "66.716469" ]
[ Svg.text "<NAME>" ]
, Svg.text_ [ svgTextStyle, SvgA.x "38.147503", SvgA.y "66.716469" ]
[ Svg.text "<NAME>" ]
, Svg.text_ [ svgTextStyle, SvgA.x "19.951769", SvgA.y "7.4098768" ]
[ Svg.tspan [ SvgA.style "text-align:center;text-anchor:middle" ] [ Svg.text (String.fromInt hostQuestion.brideGuesses) ] ]
, Svg.text_ [ svgTextStyle, SvgA.x "49.951767", SvgA.y "7.4642406" ]
[ Svg.tspan [ SvgA.style "text-align:center;text-anchor:middle" ] [ Svg.text (String.fromInt hostQuestion.groomGuesses) ] ]
, Svg.rect
[ SvgA.style ("fill:" ++ colorBride ++ ";stroke-width:8.94427;stroke-linecap:round;stroke-linejoin:round")
, SvgA.width "20"
, SvgA.height (String.fromFloat hBride)
, SvgA.x "10"
, SvgA.y (String.fromFloat (60 - hBride))
, SvgA.rx "3"
, SvgA.ry "3"
]
[]
, Svg.rect
[ SvgA.style ("fill:" ++ colorGroom ++ ";stroke-width:8.94427;stroke-linecap:round;stroke-linejoin:round")
, SvgA.width "20"
, SvgA.height (String.fromFloat hGroom)
, SvgA.x "40"
, SvgA.y (String.fromFloat (60 - hGroom))
, SvgA.rx "3"
, SvgA.ry "3"
]
[]
]
:: thunderOverlay
)
svgTextStyle : Svg.Attribute a
svgTextStyle =
SvgA.style "font-size:5.64444px;line-height:1.25;font-family:sans-serif;stroke-width:0.264583"
| true | module Page.Wedding exposing (view)
import Element exposing (Element, centerX, centerY, column, el, fill, height, padding, paragraph, px, rgb, row, spacing, width)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Element.Input as Input
import Html exposing (Html, br, button, div, node, p, text)
import Html.Attributes exposing (class)
import Html.Events exposing (on, onClick)
import Json.Decode
import List.Extra as List
import Svg exposing (Svg)
import Svg.Attributes as SvgA
import Thunderstorm exposing (thunderstorm)
import WeddingData exposing (..)
view : WeddingView -> Html WeddingEvent
view model =
case model of
SignUp ->
signUpView
Guest data ->
Element.layout [] (guestView data)
Host data ->
Element.layout [] (hostView data)
Projector data ->
Element.layout [] (projectorView data)
-- Sign up ---------------------------------------------------------------------
--------------------------------------------------------------------------------
signUpView : Html WeddingEvent
signUpView =
div [ class "p-5 text-center" ]
[ p [ class "text-6xl py-5" ] [ text "Hochzeit", br [] [], text "PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI" ]
, p [ class "text-3xl" ] [ text "Mach mit beim Hochzeitsspiel!" ]
, br [] []
, node "name-input" [ on "name-input" decodeNameFromCustomEvent ] []
]
decodeNameFromCustomEvent : Json.Decode.Decoder WeddingEvent
decodeNameFromCustomEvent =
Json.Decode.at [ "detail", "name" ] Json.Decode.string
|> Json.Decode.map (\name -> SetName name)
-- Guest -----------------------------------------------------------------------
--------------------------------------------------------------------------------
fontL : Element.Attr () a
fontL =
Font.size 50
fontM : Element.Attr () a
fontM =
Font.size 40
gap : Int
gap =
20
guestView : GuestView -> Element WeddingEvent
guestView data =
column [ padding gap, spacing gap, width fill ]
[ el [ centerX, fontL ] (Element.text data.question)
, row [ spacing gap, width fill, height (px 200) ]
[ Input.button [ width fill, height fill, Border.width 5, guessButtonBg data.guess Bride ]
{ onPress = Just (SetGuess Bride)
, label = el [ centerX, centerY, fontL ] (Element.text "PI:NAME:<NAME>END_PI")
}
, Input.button [ width fill, height fill, Border.width 5, guessButtonBg data.guess Groom ]
{ onPress = Just (SetGuess Groom)
, label = el [ centerX, centerY, fontL ] (Element.text "PI:NAME:<NAME>END_PI")
}
]
, el [ fontM ] (Element.text ("Du spielst als " ++ data.name ++ "."))
, el [ fontM ] (Element.text ("Du hast " ++ String.fromInt data.score ++ " Punkte."))
, Input.button [ Border.width 5, Border.color (Element.rgb 0.2 0.2 0.2) ]
{ onPress = Just RemoveName
, label = el [ fontM, padding 5, Font.color (Element.rgb 0.2 0.2 0.2) ] (Element.text "Meinen Namen ändern")
}
]
guessButtonBg : Maybe Espoused -> Espoused -> Element.Attr () a
guessButtonBg enteredGuess buttonMeaning =
if enteredGuess == Just buttonMeaning then
Background.color (rgb 0.6 0.6 0.9)
else
Background.color (rgb 1.0 1.0 1.0)
-- Host ------------------------------------------------------------------------
--------------------------------------------------------------------------------
hostView : HostView -> Element WeddingEvent
hostView data =
column [ width fill, padding 5, spacing 5 ]
[ selectedQuestionView data
, pauseView
, questionListView data
]
selectedQuestionView : HostView -> Element WeddingEvent
selectedQuestionView data =
case getCurrentQuestion data of
Nothing ->
el [] (Element.text "Keine Frage ausgewählt")
Just ( id, question ) ->
activeQuestionView id question
activeQuestionView : Int -> QuestionView -> Element WeddingEvent
activeQuestionView id question =
column [ padding 10, spacing 5, width fill ]
[ Element.text question.text
, Element.text ("Votes: " ++ votesString question)
, row [ spacing 5, width fill ]
[ questionStateButton question.state "Abstimmung offen" id GuestsCanVote
, questionStateButton question.state "Abstimmung beendet" id VotingClosed
, questionStateButton question.state "Birte" id (Answered Bride)
, questionStateButton question.state "JerPI:NAME:<NAME>END_PI" id (Answered Groom)
, questionStateButton question.state "Konflikt" id ConflictAnswer
]
]
questionStateButton : QuestionState -> String -> Int -> QuestionState -> Element WeddingEvent
questionStateButton currentState caption id targetState =
if currentState == targetState then
Input.button [ width fill, padding 5, Border.width 1, Background.color (rgb 0.6 0.6 0.9) ]
{ onPress = Nothing
, label = Element.text caption
}
else
Input.button [ width fill, padding 5, Border.width 1 ]
{ onPress = Just (SetQuestionState id targetState)
, label = Element.text caption
}
getCurrentQuestion : HostView -> Maybe ( Int, QuestionView )
getCurrentQuestion data =
case data.currentQuestion of
Nothing ->
Nothing
Just id ->
List.getAt id data.questions
|> Maybe.map (\question -> ( id, question ))
pauseView : Element WeddingEvent
pauseView =
row [ width fill, spacing 5 ]
[ Element.text "Pause - "
, Input.button []
{ onPress = Just (SetQuestion Nothing)
, label = Element.text "Pause"
}
]
questionListView : HostView -> Element WeddingEvent
questionListView data =
column [ spacing 5 ]
(List.indexedMap
(\i question ->
oneQuestionView question (Just i == data.currentQuestion) i
)
data.questions
)
oneQuestionView : QuestionView -> Bool -> Int -> Element WeddingEvent
oneQuestionView question isActive i =
row []
[ Element.text question.text
, Element.text " - "
, Element.text (votesString question)
, Element.text " - "
, Input.button []
{ onPress = Just (SetQuestion (Just i))
, label = Element.text "[Zeigen]"
}
]
votesString : QuestionView -> String
votesString question =
"Bi = " ++ String.fromInt question.brideGuesses ++ ", Je = " ++ String.fromInt question.groomGuesses
-- Projector -------------------------------------------------------------------
--------------------------------------------------------------------------------
projectorView : ProjectorView -> Element a
projectorView data =
column [ width fill, padding 10, spacing 5 ]
[ el [ centerX, Font.size 50, Font.color (Element.rgb 0.4 0.4 0.4) ] (Element.text "Hochzeit von PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI")
, questionView data
, Element.text ("Es spielen " ++ String.fromInt (List.length data.connectedUsers) ++ " Gäste:")
, paragraph [ width fill ]
(List.map (\name -> Element.text (name ++ ", ")) data.connectedUsers)
]
questionView : ProjectorView -> Element a
questionView data =
column [ width fill, spacing 5, Element.paddingEach { top = 0, right = 0, bottom = 35, left = 0 } ]
[ el [ centerX, Font.size 40, Element.paddingEach { top = 0, right = 0, bottom = 15, left = 0 } ] (Element.text (questionText data))
, row [ width fill ]
[ el [ width fill ] (scoreView "Bestenliste (Frage)" data.currentQuestionHighScores)
, el [ width fill ] (graphView data)
, el [ width fill ] (scoreView "Bestenliste (Gesamt)" data.highScores)
]
]
questionText : ProjectorView -> String
questionText data =
case data.question of
Just hostQuestion ->
hostQuestion.text
Nothing ->
"Gleich geht es los!"
graphView : ProjectorView -> Element a
graphView data =
case data.question of
Just hostQuestion ->
el [ centerX ] (Element.html (graph hostQuestion))
Nothing ->
Element.none
scoreView : String -> List HighScoreEntry -> Element a
scoreView caption scores =
column [ width fill, spacing 5 ]
(el [ centerX, Font.bold ] (Element.text caption)
:: List.map
(\entry ->
row [ spacing 5, centerX ]
[ el [ width fill ] (Element.text (String.fromInt entry.score))
, el [ width fill ] (Element.text entry.name)
]
)
scores
)
graph : QuestionView -> Html a
graph hostQuestion =
let
maxGuesses =
max hostQuestion.brideGuesses hostQuestion.groomGuesses
hBride =
if maxGuesses == 0 then
0
else
(toFloat hostQuestion.brideGuesses / toFloat maxGuesses) * 50
hGroom =
if maxGuesses == 0 then
0
else
(toFloat hostQuestion.groomGuesses / toFloat maxGuesses) * 50
colorBride =
if hostQuestion.state == Answered Bride then
"#ff0000"
else
"#aa7777"
colorGroom =
if hostQuestion.state == Answered Groom then
"#0000ff"
else
"#7777aa"
thunderOverlay =
if hostQuestion.state == ConflictAnswer then
thunderstorm
else
[]
in
Svg.svg [ SvgA.width "70mm", SvgA.height "70mm", SvgA.viewBox "0 0 70 70" ]
(Svg.g []
[ Svg.text_ [ svgTextStyle, SvgA.x "13.149777", SvgA.y "66.716469" ]
[ Svg.text "PI:NAME:<NAME>END_PI" ]
, Svg.text_ [ svgTextStyle, SvgA.x "38.147503", SvgA.y "66.716469" ]
[ Svg.text "PI:NAME:<NAME>END_PI" ]
, Svg.text_ [ svgTextStyle, SvgA.x "19.951769", SvgA.y "7.4098768" ]
[ Svg.tspan [ SvgA.style "text-align:center;text-anchor:middle" ] [ Svg.text (String.fromInt hostQuestion.brideGuesses) ] ]
, Svg.text_ [ svgTextStyle, SvgA.x "49.951767", SvgA.y "7.4642406" ]
[ Svg.tspan [ SvgA.style "text-align:center;text-anchor:middle" ] [ Svg.text (String.fromInt hostQuestion.groomGuesses) ] ]
, Svg.rect
[ SvgA.style ("fill:" ++ colorBride ++ ";stroke-width:8.94427;stroke-linecap:round;stroke-linejoin:round")
, SvgA.width "20"
, SvgA.height (String.fromFloat hBride)
, SvgA.x "10"
, SvgA.y (String.fromFloat (60 - hBride))
, SvgA.rx "3"
, SvgA.ry "3"
]
[]
, Svg.rect
[ SvgA.style ("fill:" ++ colorGroom ++ ";stroke-width:8.94427;stroke-linecap:round;stroke-linejoin:round")
, SvgA.width "20"
, SvgA.height (String.fromFloat hGroom)
, SvgA.x "40"
, SvgA.y (String.fromFloat (60 - hGroom))
, SvgA.rx "3"
, SvgA.ry "3"
]
[]
]
:: thunderOverlay
)
svgTextStyle : Svg.Attribute a
svgTextStyle =
SvgA.style "font-size:5.64444px;line-height:1.25;font-family:sans-serif;stroke-width:0.264583"
| elm |
[
{
"context": "\n{-| Plug in your own API key.\n-}\n\n\napiKey =\n \"5dfb3b4e401fe275c036353591771500\"\n",
"end": 110,
"score": 0.999761641,
"start": 78,
"tag": "KEY",
"value": "5dfb3b4e401fe275c036353591771500"
}
] | src/Config.elm | sd0s/elm-weather | 0 | module Config exposing (..)
{-| Plug in your own API key.
-}
apiKey =
"5dfb3b4e401fe275c036353591771500"
| 7610 | module Config exposing (..)
{-| Plug in your own API key.
-}
apiKey =
"<KEY>"
| true | module Config exposing (..)
{-| Plug in your own API key.
-}
apiKey =
"PI:KEY:<KEY>END_PI"
| elm |
[
{
"context": " the muzzle energy computer.\n-- Copyright (c) 2020 Bill St. Clair <billstclair@gmail.com>\n-- Some rights reserved.\n",
"end": 165,
"score": 0.9998756647,
"start": 151,
"tag": "NAME",
"value": "Bill St. Clair"
},
{
"context": "y computer.\n-- Copyright (c) 2020 Bill St. Clair <billstclair@gmail.com>\n-- Some rights reserved.\n-- Distributed under th",
"end": 188,
"score": 0.9999281168,
"start": 167,
"tag": "EMAIL",
"value": "billstclair@gmail.com"
}
] | src/Energy/Math.elm | billstclair/muzzle-energy | 1 | -----------------------------------------------------------------
--
-- Math.elm
-- All the math for the muzzle energy computer.
-- Copyright (c) 2020 Bill St. Clair <billstclair@gmail.com>
-- Some rights reserved.
-- Distributed under the MIT License
-- See LICENSE
--
----------------------------------------------------------------------
module Energy.Math exposing
( Energy
, Measurements
, computeEnergy
, constants
, diameterInGaugeToInches
, diameterInInchesToGauge
, emptyEnergy
, emptyMeasurements
, encodeMeasurements
, grainsToOunces
, measurementsDecoder
, ouncesToGrains
)
import Json.Decode as JD exposing (Decoder)
import Json.Decode.Pipeline as DP exposing (custom, hardcoded, optional, required)
import Json.Encode as JE exposing (Value)
type alias Measurements =
{ grains : Float
, diameterInInches : Float
, ounces : Float
, gauge : Float
, feetPerSecond : Float
}
emptyMeasurements : Measurements
emptyMeasurements =
Measurements 0 0 0 0 0
encodeMeasurements : Measurements -> Value
encodeMeasurements { grains, diameterInInches, ounces, gauge, feetPerSecond } =
JE.object
[ ( "grains", JE.float grains )
, ( "diameterInInches", JE.float diameterInInches )
, ( "feetPerSecond", JE.float feetPerSecond )
]
measurementsDecoder : Decoder Measurements
measurementsDecoder =
JD.succeed Measurements
|> required "grains" JD.float
|> required "diameterInInches" JD.float
|> hardcoded 0
|> hardcoded 0
|> required "feetPerSecond" JD.float
|> JD.andThen
(\m ->
grainsToOunces m
|> diameterInInchesToGauge
|> JD.succeed
)
type alias Energy =
{ footPounds : Float
, efficacy : Float
, sectionalDensity : Float
}
emptyEnergy : Energy
emptyEnergy =
Energy 0 0 0
constants =
{ grainsPerLb = 7000.0
, lbsPerSlug = 32.17405
, grainsPerSlug = 7000.0 * 32.17405
, gaugeTimesInchesCubed = 4.648224
, feetPerMeter = 3.281
, grainsPerGram = 15.429718
, cmPerInch = 2.54
}
grainsToOunces : Measurements -> Measurements
grainsToOunces m =
{ m | ounces = 16 * m.grains / 6999 }
ouncesToGrains : Measurements -> Measurements
ouncesToGrains m =
{ m | grains = m.ounces * 6999 / 16 }
diameterInInchesToGauge : Measurements -> Measurements
diameterInInchesToGauge m =
{ m | gauge = constants.gaugeTimesInchesCubed / (m.diameterInInches ^ 3) }
diameterInGaugeToInches : Measurements -> Measurements
diameterInGaugeToInches m =
{ m | diameterInInches = (constants.gaugeTimesInchesCubed / m.gauge) ^ (1 / 3) }
computeEnergy : Measurements -> Energy
computeEnergy m =
let
footPounds =
0.5 * (m.grains / constants.grainsPerSlug) * (m.feetPerSecond ^ 2)
r =
m.diameterInInches / 2
efficacy =
footPounds * pi * r * r
secdens =
(m.grains / constants.grainsPerLb)
/ (m.diameterInInches ^ 2)
in
{ footPounds = footPounds
, efficacy = efficacy
, sectionalDensity = secdens
}
| 47150 | -----------------------------------------------------------------
--
-- Math.elm
-- All the math for the muzzle energy computer.
-- Copyright (c) 2020 <NAME> <<EMAIL>>
-- Some rights reserved.
-- Distributed under the MIT License
-- See LICENSE
--
----------------------------------------------------------------------
module Energy.Math exposing
( Energy
, Measurements
, computeEnergy
, constants
, diameterInGaugeToInches
, diameterInInchesToGauge
, emptyEnergy
, emptyMeasurements
, encodeMeasurements
, grainsToOunces
, measurementsDecoder
, ouncesToGrains
)
import Json.Decode as JD exposing (Decoder)
import Json.Decode.Pipeline as DP exposing (custom, hardcoded, optional, required)
import Json.Encode as JE exposing (Value)
type alias Measurements =
{ grains : Float
, diameterInInches : Float
, ounces : Float
, gauge : Float
, feetPerSecond : Float
}
emptyMeasurements : Measurements
emptyMeasurements =
Measurements 0 0 0 0 0
encodeMeasurements : Measurements -> Value
encodeMeasurements { grains, diameterInInches, ounces, gauge, feetPerSecond } =
JE.object
[ ( "grains", JE.float grains )
, ( "diameterInInches", JE.float diameterInInches )
, ( "feetPerSecond", JE.float feetPerSecond )
]
measurementsDecoder : Decoder Measurements
measurementsDecoder =
JD.succeed Measurements
|> required "grains" JD.float
|> required "diameterInInches" JD.float
|> hardcoded 0
|> hardcoded 0
|> required "feetPerSecond" JD.float
|> JD.andThen
(\m ->
grainsToOunces m
|> diameterInInchesToGauge
|> JD.succeed
)
type alias Energy =
{ footPounds : Float
, efficacy : Float
, sectionalDensity : Float
}
emptyEnergy : Energy
emptyEnergy =
Energy 0 0 0
constants =
{ grainsPerLb = 7000.0
, lbsPerSlug = 32.17405
, grainsPerSlug = 7000.0 * 32.17405
, gaugeTimesInchesCubed = 4.648224
, feetPerMeter = 3.281
, grainsPerGram = 15.429718
, cmPerInch = 2.54
}
grainsToOunces : Measurements -> Measurements
grainsToOunces m =
{ m | ounces = 16 * m.grains / 6999 }
ouncesToGrains : Measurements -> Measurements
ouncesToGrains m =
{ m | grains = m.ounces * 6999 / 16 }
diameterInInchesToGauge : Measurements -> Measurements
diameterInInchesToGauge m =
{ m | gauge = constants.gaugeTimesInchesCubed / (m.diameterInInches ^ 3) }
diameterInGaugeToInches : Measurements -> Measurements
diameterInGaugeToInches m =
{ m | diameterInInches = (constants.gaugeTimesInchesCubed / m.gauge) ^ (1 / 3) }
computeEnergy : Measurements -> Energy
computeEnergy m =
let
footPounds =
0.5 * (m.grains / constants.grainsPerSlug) * (m.feetPerSecond ^ 2)
r =
m.diameterInInches / 2
efficacy =
footPounds * pi * r * r
secdens =
(m.grains / constants.grainsPerLb)
/ (m.diameterInInches ^ 2)
in
{ footPounds = footPounds
, efficacy = efficacy
, sectionalDensity = secdens
}
| true | -----------------------------------------------------------------
--
-- Math.elm
-- All the math for the muzzle energy computer.
-- Copyright (c) 2020 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
-- Some rights reserved.
-- Distributed under the MIT License
-- See LICENSE
--
----------------------------------------------------------------------
module Energy.Math exposing
( Energy
, Measurements
, computeEnergy
, constants
, diameterInGaugeToInches
, diameterInInchesToGauge
, emptyEnergy
, emptyMeasurements
, encodeMeasurements
, grainsToOunces
, measurementsDecoder
, ouncesToGrains
)
import Json.Decode as JD exposing (Decoder)
import Json.Decode.Pipeline as DP exposing (custom, hardcoded, optional, required)
import Json.Encode as JE exposing (Value)
type alias Measurements =
{ grains : Float
, diameterInInches : Float
, ounces : Float
, gauge : Float
, feetPerSecond : Float
}
emptyMeasurements : Measurements
emptyMeasurements =
Measurements 0 0 0 0 0
encodeMeasurements : Measurements -> Value
encodeMeasurements { grains, diameterInInches, ounces, gauge, feetPerSecond } =
JE.object
[ ( "grains", JE.float grains )
, ( "diameterInInches", JE.float diameterInInches )
, ( "feetPerSecond", JE.float feetPerSecond )
]
measurementsDecoder : Decoder Measurements
measurementsDecoder =
JD.succeed Measurements
|> required "grains" JD.float
|> required "diameterInInches" JD.float
|> hardcoded 0
|> hardcoded 0
|> required "feetPerSecond" JD.float
|> JD.andThen
(\m ->
grainsToOunces m
|> diameterInInchesToGauge
|> JD.succeed
)
type alias Energy =
{ footPounds : Float
, efficacy : Float
, sectionalDensity : Float
}
emptyEnergy : Energy
emptyEnergy =
Energy 0 0 0
constants =
{ grainsPerLb = 7000.0
, lbsPerSlug = 32.17405
, grainsPerSlug = 7000.0 * 32.17405
, gaugeTimesInchesCubed = 4.648224
, feetPerMeter = 3.281
, grainsPerGram = 15.429718
, cmPerInch = 2.54
}
grainsToOunces : Measurements -> Measurements
grainsToOunces m =
{ m | ounces = 16 * m.grains / 6999 }
ouncesToGrains : Measurements -> Measurements
ouncesToGrains m =
{ m | grains = m.ounces * 6999 / 16 }
diameterInInchesToGauge : Measurements -> Measurements
diameterInInchesToGauge m =
{ m | gauge = constants.gaugeTimesInchesCubed / (m.diameterInInches ^ 3) }
diameterInGaugeToInches : Measurements -> Measurements
diameterInGaugeToInches m =
{ m | diameterInInches = (constants.gaugeTimesInchesCubed / m.gauge) ^ (1 / 3) }
computeEnergy : Measurements -> Energy
computeEnergy m =
let
footPounds =
0.5 * (m.grains / constants.grainsPerSlug) * (m.feetPerSecond ^ 2)
r =
m.diameterInInches / 2
efficacy =
footPounds * pi * r * r
secdens =
(m.grains / constants.grainsPerLb)
/ (m.diameterInInches ^ 2)
in
{ footPounds = footPounds
, efficacy = efficacy
, sectionalDensity = secdens
}
| elm |
[
{
"context": "{-\n Swaggy Jenkins\n Jenkins API clients generated from Swagger / O",
"end": 20,
"score": 0.9994902611,
"start": 6,
"tag": "NAME",
"value": "Swaggy Jenkins"
},
{
"context": "cation\n\n OpenAPI spec version: 1.1.1\n Contact: blah@cliffano.com\n\n NOTE: This file is auto generated by the open",
"end": 153,
"score": 0.9999142289,
"start": 136,
"tag": "EMAIL",
"value": "blah@cliffano.com"
},
{
"context": "d by the openapi-generator.\n https://github.com/openapitools/openapi-generator.git\n Do not edit this file ma",
"end": 252,
"score": 0.9996241331,
"start": 240,
"tag": "USERNAME",
"value": "openapitools"
}
] | clients/elm/generated/src/Data/ListView.elm | PankTrue/swaggy-jenkins | 23 | {-
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
OpenAPI spec version: 1.1.1
Contact: blah@cliffano.com
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.ListView exposing (ListView, listViewDecoder, listViewEncoder)
import Data.FreeStyleProject exposing (FreeStyleProject, freeStyleProjectDecoder, freeStyleProjectEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (decode, optional, required)
import Json.Encode as Encode
import Maybe exposing (map, withDefault)
type alias ListView =
{ class : Maybe String
, description : Maybe String
, jobs : Maybe (List FreeStyleProject)
, name : Maybe String
, url : Maybe String
}
listViewDecoder : Decoder ListView
listViewDecoder =
decode ListView
|> optional "_class" (Decode.nullable Decode.string) Nothing
|> optional "description" (Decode.nullable Decode.string) Nothing
|> optional "jobs" (Decode.nullable (Decode.list freeStyleProjectDecoder)) Nothing
|> optional "name" (Decode.nullable Decode.string) Nothing
|> optional "url" (Decode.nullable Decode.string) Nothing
listViewEncoder : ListView -> Encode.Value
listViewEncoder model =
Encode.object
[ ( "_class", withDefault Encode.null (map Encode.string model.class) )
, ( "description", withDefault Encode.null (map Encode.string model.description) )
, ( "jobs", withDefault Encode.null (map (Encode.list << List.map freeStyleProjectEncoder) model.jobs) )
, ( "name", withDefault Encode.null (map Encode.string model.name) )
, ( "url", withDefault Encode.null (map Encode.string model.url) )
]
| 52670 | {-
<NAME>
Jenkins API clients generated from Swagger / Open API specification
OpenAPI spec version: 1.1.1
Contact: <EMAIL>
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.ListView exposing (ListView, listViewDecoder, listViewEncoder)
import Data.FreeStyleProject exposing (FreeStyleProject, freeStyleProjectDecoder, freeStyleProjectEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (decode, optional, required)
import Json.Encode as Encode
import Maybe exposing (map, withDefault)
type alias ListView =
{ class : Maybe String
, description : Maybe String
, jobs : Maybe (List FreeStyleProject)
, name : Maybe String
, url : Maybe String
}
listViewDecoder : Decoder ListView
listViewDecoder =
decode ListView
|> optional "_class" (Decode.nullable Decode.string) Nothing
|> optional "description" (Decode.nullable Decode.string) Nothing
|> optional "jobs" (Decode.nullable (Decode.list freeStyleProjectDecoder)) Nothing
|> optional "name" (Decode.nullable Decode.string) Nothing
|> optional "url" (Decode.nullable Decode.string) Nothing
listViewEncoder : ListView -> Encode.Value
listViewEncoder model =
Encode.object
[ ( "_class", withDefault Encode.null (map Encode.string model.class) )
, ( "description", withDefault Encode.null (map Encode.string model.description) )
, ( "jobs", withDefault Encode.null (map (Encode.list << List.map freeStyleProjectEncoder) model.jobs) )
, ( "name", withDefault Encode.null (map Encode.string model.name) )
, ( "url", withDefault Encode.null (map Encode.string model.url) )
]
| true | {-
PI:NAME:<NAME>END_PI
Jenkins API clients generated from Swagger / Open API specification
OpenAPI spec version: 1.1.1
Contact: PI:EMAIL:<EMAIL>END_PI
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.ListView exposing (ListView, listViewDecoder, listViewEncoder)
import Data.FreeStyleProject exposing (FreeStyleProject, freeStyleProjectDecoder, freeStyleProjectEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (decode, optional, required)
import Json.Encode as Encode
import Maybe exposing (map, withDefault)
type alias ListView =
{ class : Maybe String
, description : Maybe String
, jobs : Maybe (List FreeStyleProject)
, name : Maybe String
, url : Maybe String
}
listViewDecoder : Decoder ListView
listViewDecoder =
decode ListView
|> optional "_class" (Decode.nullable Decode.string) Nothing
|> optional "description" (Decode.nullable Decode.string) Nothing
|> optional "jobs" (Decode.nullable (Decode.list freeStyleProjectDecoder)) Nothing
|> optional "name" (Decode.nullable Decode.string) Nothing
|> optional "url" (Decode.nullable Decode.string) Nothing
listViewEncoder : ListView -> Encode.Value
listViewEncoder model =
Encode.object
[ ( "_class", withDefault Encode.null (map Encode.string model.class) )
, ( "description", withDefault Encode.null (map Encode.string model.description) )
, ( "jobs", withDefault Encode.null (map (Encode.list << List.map freeStyleProjectEncoder) model.jobs) )
, ( "name", withDefault Encode.null (map Encode.string model.name) )
, ( "url", withDefault Encode.null (map Encode.string model.url) )
]
| elm |
[
{
"context": " \\() ->\n reverseIt \"Missy Elliott\"\n |> Expect.equal \"ttoillE",
"end": 359,
"score": 0.9998334646,
"start": 346,
"tag": "NAME",
"value": "Missy Elliott"
}
] | tests/Test/ReverserTest.elm | thewoolleyman/elm-json-patch | 0 | module Test.ReverserTest exposing (..)
import Test exposing (..)
import Expect
import Fuzz exposing (..)
import String exposing (reverse)
import JsonPatch.Reverser exposing (reverseIt)
reverser =
describe "Reverser reverseIt"
[ describe "test"
[ test "reverses" <|
\() ->
reverseIt "Missy Elliott"
|> Expect.equal "ttoillE yssiM"
]
, describe "fuzz"
[ fuzzWith { runs = 100 } (string) "reverses" <|
\str ->
reverseIt str
|> Expect.equal (reverse str)
]
]
| 35797 | module Test.ReverserTest exposing (..)
import Test exposing (..)
import Expect
import Fuzz exposing (..)
import String exposing (reverse)
import JsonPatch.Reverser exposing (reverseIt)
reverser =
describe "Reverser reverseIt"
[ describe "test"
[ test "reverses" <|
\() ->
reverseIt "<NAME>"
|> Expect.equal "ttoillE yssiM"
]
, describe "fuzz"
[ fuzzWith { runs = 100 } (string) "reverses" <|
\str ->
reverseIt str
|> Expect.equal (reverse str)
]
]
| true | module Test.ReverserTest exposing (..)
import Test exposing (..)
import Expect
import Fuzz exposing (..)
import String exposing (reverse)
import JsonPatch.Reverser exposing (reverseIt)
reverser =
describe "Reverser reverseIt"
[ describe "test"
[ test "reverses" <|
\() ->
reverseIt "PI:NAME:<NAME>END_PI"
|> Expect.equal "ttoillE yssiM"
]
, describe "fuzz"
[ fuzzWith { runs = 100 } (string) "reverses" <|
\str ->
reverseIt str
|> Expect.equal (reverse str)
]
]
| elm |
[
{
"context": " ]\n\n\ntestData : SomeData\ntestData =\n { name = \"ciccio\", age = 33 }\n\n\n-- VIEW\n\n\nview : Model -> Html Msg",
"end": 1571,
"score": 0.8896190524,
"start": 1565,
"tag": "NAME",
"value": "ciccio"
}
] | Main.elm | gjuljo/elm-ports-example | 0 | port module Main exposing (Model, Msg(..), fromElm, fromElmWithInteger, fromJavaScript, main, subscriptions, update, view)
import Browser
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
import Json.Decode as Decode exposing (Decoder, Value, bool, int, list, string)
import Json.Decode.Pipeline exposing (optional, required)
import Json.Encode as Encode
import String
import Task
main : Program () Model Msg
main =
Browser.element
{ init = \() -> init
, view = view
, update = update
, subscriptions = subscriptions
}
-- SUBSCRIPTIONS
port fromElmWithInteger : Encode.Value -> Cmd msg
port fromElmWithData : Encode.Value -> Cmd msg
port fromElm : () -> Cmd msg
port fromJavaScript : (Int -> msg) -> Sub msg
port echoDataFromJavaScript: (SomeData -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch [
fromJavaScript ReceiveIntegerFromJavaScript,
echoDataFromJavaScript ReceiveSomeDataFromJavaScript
]
-- MODEL
type alias SomeData =
{ name : String
, age : Int
}
type alias Model =
{ number : Int }
someDataDecoder : Decoder SomeData
someDataDecoder =
Decode.succeed SomeData
|> required "name" string
|> required "age" int
someDataEncoder : SomeData -> Encode.Value
someDataEncoder data =
Encode.object
[ ( "name", Encode.string data.name )
, ( "age", Encode.int data.age )
]
testData : SomeData
testData =
{ name = "ciccio", age = 33 }
-- VIEW
view : Model -> Html Msg
view model =
div []
[ button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick (SendDataToJavaScript testData) ] [ text "Send JSON" ]
, br [] []
, button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick RequestIntegerFromJavaScript ] [ text "Gen Random" ]
, br [] []
, button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick (SendIntegerToJavaScript model.number) ] [ text "Double" ]
, p [] []
, text (String.fromInt model.number)
]
-- UPDATE
type Msg
= ReceiveIntegerFromJavaScript Int
| ReceiveSomeDataFromJavaScript SomeData
| RequestIntegerFromJavaScript
| SendIntegerToJavaScript Int
| SendDataToJavaScript SomeData
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case Debug.log "ELM: " msg of
ReceiveIntegerFromJavaScript x ->
( {model | number = x}, Cmd.none )
RequestIntegerFromJavaScript ->
( model, fromElm () )
SendIntegerToJavaScript data ->
( model, fromElmWithInteger (Encode.int data) )
SendDataToJavaScript data ->
( model, fromElmWithData (someDataEncoder data) )
ReceiveSomeDataFromJavaScript data ->
( model, Cmd.none )
-- INIT
init : ( Model, Cmd Msg )
init =
{- Send a message through port upon initialization. -}
( Model 0, Cmd.none )
| 48916 | port module Main exposing (Model, Msg(..), fromElm, fromElmWithInteger, fromJavaScript, main, subscriptions, update, view)
import Browser
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
import Json.Decode as Decode exposing (Decoder, Value, bool, int, list, string)
import Json.Decode.Pipeline exposing (optional, required)
import Json.Encode as Encode
import String
import Task
main : Program () Model Msg
main =
Browser.element
{ init = \() -> init
, view = view
, update = update
, subscriptions = subscriptions
}
-- SUBSCRIPTIONS
port fromElmWithInteger : Encode.Value -> Cmd msg
port fromElmWithData : Encode.Value -> Cmd msg
port fromElm : () -> Cmd msg
port fromJavaScript : (Int -> msg) -> Sub msg
port echoDataFromJavaScript: (SomeData -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch [
fromJavaScript ReceiveIntegerFromJavaScript,
echoDataFromJavaScript ReceiveSomeDataFromJavaScript
]
-- MODEL
type alias SomeData =
{ name : String
, age : Int
}
type alias Model =
{ number : Int }
someDataDecoder : Decoder SomeData
someDataDecoder =
Decode.succeed SomeData
|> required "name" string
|> required "age" int
someDataEncoder : SomeData -> Encode.Value
someDataEncoder data =
Encode.object
[ ( "name", Encode.string data.name )
, ( "age", Encode.int data.age )
]
testData : SomeData
testData =
{ name = "<NAME>", age = 33 }
-- VIEW
view : Model -> Html Msg
view model =
div []
[ button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick (SendDataToJavaScript testData) ] [ text "Send JSON" ]
, br [] []
, button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick RequestIntegerFromJavaScript ] [ text "Gen Random" ]
, br [] []
, button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick (SendIntegerToJavaScript model.number) ] [ text "Double" ]
, p [] []
, text (String.fromInt model.number)
]
-- UPDATE
type Msg
= ReceiveIntegerFromJavaScript Int
| ReceiveSomeDataFromJavaScript SomeData
| RequestIntegerFromJavaScript
| SendIntegerToJavaScript Int
| SendDataToJavaScript SomeData
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case Debug.log "ELM: " msg of
ReceiveIntegerFromJavaScript x ->
( {model | number = x}, Cmd.none )
RequestIntegerFromJavaScript ->
( model, fromElm () )
SendIntegerToJavaScript data ->
( model, fromElmWithInteger (Encode.int data) )
SendDataToJavaScript data ->
( model, fromElmWithData (someDataEncoder data) )
ReceiveSomeDataFromJavaScript data ->
( model, Cmd.none )
-- INIT
init : ( Model, Cmd Msg )
init =
{- Send a message through port upon initialization. -}
( Model 0, Cmd.none )
| true | port module Main exposing (Model, Msg(..), fromElm, fromElmWithInteger, fromJavaScript, main, subscriptions, update, view)
import Browser
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
import Json.Decode as Decode exposing (Decoder, Value, bool, int, list, string)
import Json.Decode.Pipeline exposing (optional, required)
import Json.Encode as Encode
import String
import Task
main : Program () Model Msg
main =
Browser.element
{ init = \() -> init
, view = view
, update = update
, subscriptions = subscriptions
}
-- SUBSCRIPTIONS
port fromElmWithInteger : Encode.Value -> Cmd msg
port fromElmWithData : Encode.Value -> Cmd msg
port fromElm : () -> Cmd msg
port fromJavaScript : (Int -> msg) -> Sub msg
port echoDataFromJavaScript: (SomeData -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch [
fromJavaScript ReceiveIntegerFromJavaScript,
echoDataFromJavaScript ReceiveSomeDataFromJavaScript
]
-- MODEL
type alias SomeData =
{ name : String
, age : Int
}
type alias Model =
{ number : Int }
someDataDecoder : Decoder SomeData
someDataDecoder =
Decode.succeed SomeData
|> required "name" string
|> required "age" int
someDataEncoder : SomeData -> Encode.Value
someDataEncoder data =
Encode.object
[ ( "name", Encode.string data.name )
, ( "age", Encode.int data.age )
]
testData : SomeData
testData =
{ name = "PI:NAME:<NAME>END_PI", age = 33 }
-- VIEW
view : Model -> Html Msg
view model =
div []
[ button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick (SendDataToJavaScript testData) ] [ text "Send JSON" ]
, br [] []
, button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick RequestIntegerFromJavaScript ] [ text "Gen Random" ]
, br [] []
, button [ style "border" "none", style "color" "white", style "background-color" "#4CAF50", style "width" "100px", onClick (SendIntegerToJavaScript model.number) ] [ text "Double" ]
, p [] []
, text (String.fromInt model.number)
]
-- UPDATE
type Msg
= ReceiveIntegerFromJavaScript Int
| ReceiveSomeDataFromJavaScript SomeData
| RequestIntegerFromJavaScript
| SendIntegerToJavaScript Int
| SendDataToJavaScript SomeData
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case Debug.log "ELM: " msg of
ReceiveIntegerFromJavaScript x ->
( {model | number = x}, Cmd.none )
RequestIntegerFromJavaScript ->
( model, fromElm () )
SendIntegerToJavaScript data ->
( model, fromElmWithInteger (Encode.int data) )
SendDataToJavaScript data ->
( model, fromElmWithData (someDataEncoder data) )
ReceiveSomeDataFromJavaScript data ->
( model, Cmd.none )
-- INIT
init : ( Model, Cmd Msg )
init =
{- Send a message through port upon initialization. -}
( Model 0, Cmd.none )
| elm |
[
{
"context": "\n testCase =\n \"((@name is either Max or Joe) or (@surname is neither Oliinyk nor Doe))",
"end": 521,
"score": 0.9996644258,
"start": 518,
"tag": "NAME",
"value": "Max"
},
{
"context": " testCase =\n \"((@name is either Max or Joe) or (@surname is neither Oliinyk nor Doe)) and ((",
"end": 528,
"score": 0.9993830919,
"start": 525,
"tag": "NAME",
"value": "Joe"
},
{
"context": "k nor Doe)) and ((@age is not 27) or (@forename is Oliinyk)) or @surname is not Smirnov\"\n in\n describe",
"end": 618,
"score": 0.9215174317,
"start": 611,
"tag": "NAME",
"value": "Oliinyk"
},
{
"context": " 27) or (@forename is Oliinyk)) or @surname is not Smirnov\"\n in\n describe \"Parser.run\"\n [ descr",
"end": 647,
"score": 0.992685616,
"start": 640,
"tag": "NAME",
"value": "Smirnov"
},
{
"context": " , right = Leaf (MultipleValues [ \"Max\", \"Joe\" ])\n ",
"end": 1714,
"score": 0.9994108677,
"start": 1711,
"tag": "NAME",
"value": "Max"
},
{
"context": " , right = Leaf (MultipleValues [ \"Max\", \"Joe\" ])\n ",
"end": 1721,
"score": 0.9991207123,
"start": 1718,
"tag": "NAME",
"value": "Joe"
},
{
"context": " , right = Leaf (MultipleValues [ \"Oliinyk\", \"Doe\" ])\n ",
"end": 2223,
"score": 0.8459413052,
"start": 2216,
"tag": "NAME",
"value": "Oliinyk"
},
{
"context": " , right = Leaf (MultipleValues [ \"Oliinyk\", \"Doe\" ])\n ",
"end": 2230,
"score": 0.998629868,
"start": 2227,
"tag": "NAME",
"value": "Doe"
},
{
"context": " , right = Leaf (SingleValue \"Smirnov\")\n }\n ",
"end": 3808,
"score": 0.6953338981,
"start": 3806,
"tag": "NAME",
"value": "ir"
}
] | tests/parser/Parser_1_7_2.elm | maximoleinyk/atBox | 4 | module Parser_1_7_2 exposing (..)
import Expect
import GlobalTypes exposing (AST(..), OutputOperatorType(AndOperatorType, IsEitherOperatorType, IsInOperatorType, IsNeitherOperatorType, IsNotInOperatorType, IsNotOperatorType, IsOperatorType, OrOperatorType), OutputValueType(MultipleValues, SingleValue))
import Lexer
import MockModel exposing (getDefaultModel)
import Parser
import Test exposing (Test, describe, test)
import Tokenizer
suite : Test
suite =
let
testCase =
"((@name is either Max or Joe) or (@surname is neither Oliinyk nor Doe)) and ((@age is not 27) or (@forename is Oliinyk)) or @surname is not Smirnov"
in
describe "Parser.run"
[ describe "is in / is not in"
[ test testCase <|
\_ ->
let
model =
getDefaultModel
( tokens, remainingStates ) =
Tokenizer.run testCase model
lexemes =
Lexer.run tokens model
in
Expect.equal (Parser.run lexemes model)
(Node
{ left =
Node
{ left =
Node
{ left =
Node
{ left = Leaf (SingleValue "name")
, value = IsEitherOperatorType
, right = Leaf (MultipleValues [ "Max", "Joe" ])
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "surname")
, value = IsNeitherOperatorType
, right = Leaf (MultipleValues [ "Oliinyk", "Doe" ])
}
}
, value = AndOperatorType
, right =
Node
{ left =
Node
{ left = Leaf (SingleValue "age")
, value = IsNotOperatorType
, right = Leaf (SingleValue "27")
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "forename")
, value = IsOperatorType
, right = Leaf (SingleValue "Oliinyk")
}
}
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "surname")
, value = IsNotOperatorType
, right = Leaf (SingleValue "Smirnov")
}
}
)
]
]
| 5586 | module Parser_1_7_2 exposing (..)
import Expect
import GlobalTypes exposing (AST(..), OutputOperatorType(AndOperatorType, IsEitherOperatorType, IsInOperatorType, IsNeitherOperatorType, IsNotInOperatorType, IsNotOperatorType, IsOperatorType, OrOperatorType), OutputValueType(MultipleValues, SingleValue))
import Lexer
import MockModel exposing (getDefaultModel)
import Parser
import Test exposing (Test, describe, test)
import Tokenizer
suite : Test
suite =
let
testCase =
"((@name is either <NAME> or <NAME>) or (@surname is neither Oliinyk nor Doe)) and ((@age is not 27) or (@forename is <NAME>)) or @surname is not <NAME>"
in
describe "Parser.run"
[ describe "is in / is not in"
[ test testCase <|
\_ ->
let
model =
getDefaultModel
( tokens, remainingStates ) =
Tokenizer.run testCase model
lexemes =
Lexer.run tokens model
in
Expect.equal (Parser.run lexemes model)
(Node
{ left =
Node
{ left =
Node
{ left =
Node
{ left = Leaf (SingleValue "name")
, value = IsEitherOperatorType
, right = Leaf (MultipleValues [ "<NAME>", "<NAME>" ])
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "surname")
, value = IsNeitherOperatorType
, right = Leaf (MultipleValues [ "<NAME>", "<NAME>" ])
}
}
, value = AndOperatorType
, right =
Node
{ left =
Node
{ left = Leaf (SingleValue "age")
, value = IsNotOperatorType
, right = Leaf (SingleValue "27")
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "forename")
, value = IsOperatorType
, right = Leaf (SingleValue "Oliinyk")
}
}
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "surname")
, value = IsNotOperatorType
, right = Leaf (SingleValue "Sm<NAME>nov")
}
}
)
]
]
| true | module Parser_1_7_2 exposing (..)
import Expect
import GlobalTypes exposing (AST(..), OutputOperatorType(AndOperatorType, IsEitherOperatorType, IsInOperatorType, IsNeitherOperatorType, IsNotInOperatorType, IsNotOperatorType, IsOperatorType, OrOperatorType), OutputValueType(MultipleValues, SingleValue))
import Lexer
import MockModel exposing (getDefaultModel)
import Parser
import Test exposing (Test, describe, test)
import Tokenizer
suite : Test
suite =
let
testCase =
"((@name is either PI:NAME:<NAME>END_PI or PI:NAME:<NAME>END_PI) or (@surname is neither Oliinyk nor Doe)) and ((@age is not 27) or (@forename is PI:NAME:<NAME>END_PI)) or @surname is not PI:NAME:<NAME>END_PI"
in
describe "Parser.run"
[ describe "is in / is not in"
[ test testCase <|
\_ ->
let
model =
getDefaultModel
( tokens, remainingStates ) =
Tokenizer.run testCase model
lexemes =
Lexer.run tokens model
in
Expect.equal (Parser.run lexemes model)
(Node
{ left =
Node
{ left =
Node
{ left =
Node
{ left = Leaf (SingleValue "name")
, value = IsEitherOperatorType
, right = Leaf (MultipleValues [ "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI" ])
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "surname")
, value = IsNeitherOperatorType
, right = Leaf (MultipleValues [ "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI" ])
}
}
, value = AndOperatorType
, right =
Node
{ left =
Node
{ left = Leaf (SingleValue "age")
, value = IsNotOperatorType
, right = Leaf (SingleValue "27")
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "forename")
, value = IsOperatorType
, right = Leaf (SingleValue "Oliinyk")
}
}
}
, value = OrOperatorType
, right =
Node
{ left = Leaf (SingleValue "surname")
, value = IsNotOperatorType
, right = Leaf (SingleValue "SmPI:NAME:<NAME>END_PInov")
}
}
)
]
]
| elm |
[
{
"context": "y : List (Html Msg) }\nview model =\n { title = \"dillonkearns/elm-markdown demo\"\n , body =\n [ Element",
"end": 392,
"score": 0.8330723643,
"start": 380,
"tag": "USERNAME",
"value": "dillonkearns"
},
{
"context": "s\n\nYou just render it like this\n\n```\n<bio\n name=\"Dillon Kearns\"\n photo=\"https://avatars2.githubusercontent.com/",
"end": 4744,
"score": 0.9998662472,
"start": 4731,
"tag": "NAME",
"value": "Dillon Kearns"
},
{
"context": "tars2.githubusercontent.com/u/1384166\"\n twitter=\"dillontkearns\"\n github=\"dillonkearns\"\n>\nDillon really likes bu",
"end": 4829,
"score": 0.9995694757,
"start": 4816,
"tag": "USERNAME",
"value": "dillontkearns"
},
{
"context": "om/u/1384166\"\n twitter=\"dillontkearns\"\n github=\"dillonkearns\"\n>\nDillon really likes building things with Elm! ",
"end": 4853,
"score": 0.9995387197,
"start": 4841,
"tag": "USERNAME",
"value": "dillonkearns"
},
{
"context": "nd you get a custom view like this!\n\n<bio\n name=\"Dillon Kearns\"\n photo=\"https://avatars2.githubusercontent.com/",
"end": 5050,
"score": 0.9998752475,
"start": 5037,
"tag": "NAME",
"value": "Dillon Kearns"
},
{
"context": "tars2.githubusercontent.com/u/1384166\"\n twitter=\"dillontkearns\"\n github=\"dillonkearns\"\n>\nDillon really likes bu",
"end": 5135,
"score": 0.9995412827,
"start": 5122,
"tag": "USERNAME",
"value": "dillontkearns"
},
{
"context": "om/u/1384166\"\n twitter=\"dillontkearns\"\n github=\"dillonkearns\"\n>\nDillon really likes building things with Elm! ",
"end": 5159,
"score": 0.9995577931,
"start": 5147,
"tag": "USERNAME",
"value": "dillonkearns"
}
] | examples/src/CustomHtmlBlockSignupForm.elm | klaftertief/elm-markdown | 83 | module CustomHtmlBlockSignupForm exposing (main)
import Browser
import Element exposing (Element)
import Element.Border
import Element.Font as Font
import Element.Input
import ElmUi
import Html exposing (Attribute, Html)
import Markdown.Html
import Markdown.Parser
import Markdown.Renderer
view : Model -> { title : String, body : List (Html Msg) }
view model =
{ title = "dillonkearns/elm-markdown demo"
, body =
[ Element.layout [ Element.width Element.fill ]
(Element.row [ Element.width Element.fill ]
[ Element.Input.multiline [ Element.width (Element.px 400) ]
{ onChange = OnMarkdownInput
, text = model
, placeholder = Nothing
, label = Element.Input.labelHidden "Markdown input"
, spellcheck = False
}
, case markdownView model of
Ok rendered ->
Element.column
[ Element.spacing 30
, Element.padding 80
, Element.width (Element.fill |> Element.maximum 1000)
, Element.centerX
]
rendered
Err errors ->
Element.text errors
]
)
]
}
markdownView : String -> Result String (List (Element Msg))
markdownView markdown =
markdown
|> Markdown.Parser.parse
|> Result.mapError (\error -> error |> List.map Markdown.Parser.deadEndToString |> String.join "\n")
|> Result.andThen (Markdown.Renderer.render renderer)
elmUiRenderer =
ElmUi.renderer
renderer : Markdown.Renderer.Renderer (Element Msg)
renderer =
{ elmUiRenderer
| html =
Markdown.Html.oneOf
[ Markdown.Html.tag "bio"
(\name photoUrl twitter github dribbble renderedChildren ->
bioView renderedChildren name photoUrl twitter github dribbble
)
|> Markdown.Html.withAttribute "name"
|> Markdown.Html.withAttribute "photo"
|> Markdown.Html.withOptionalAttribute "twitter"
|> Markdown.Html.withOptionalAttribute "github"
|> Markdown.Html.withOptionalAttribute "dribbble"
]
}
bioView renderedChildren name photoUrl twitter github dribbble =
Element.column
[ Element.Border.shadow
{ offset = ( 0.3, 0.3 )
, size = 2
, blur = 0.5
, color = Element.rgba255 0 0 0 0.22
}
, Element.padding 20
, Element.spacing 30
, Element.centerX
, Font.center
]
(Element.row [ Element.spacing 20 ]
[ avatarView photoUrl
, Element.el
[ Font.bold
, Font.size 30
]
(Element.text name)
, icons twitter github dribbble
]
:: renderedChildren
)
icons twitter github dribbble =
Element.row []
([ twitter
|> Maybe.map
(\twitterHandle ->
Element.link []
{ url = "https://twitter.com/" ++ twitterHandle
, label =
Element.image [] { src = "https://i.imgur.com/tXSoThF.png", description = "Twitter Logo" }
}
)
, github
|> Maybe.map
(\twitterHandle ->
Element.link []
{ url = "https://github.com/" ++ twitterHandle
, label =
Element.image [] { src = "https://i.imgur.com/0o48UoR.png", description = "Github Logo" }
}
)
, dribbble
|> Maybe.map
(\dribbbleHandle ->
Element.link []
{ url = "https://dribbble.com/" ++ dribbbleHandle
, label =
Element.image [] { src = "https://i.imgur.com/1AGmwO3.png", description = "Dribbble Logo" }
}
)
]
|> List.filterMap identity
)
avatarView avatarUrl =
Element.image [ Element.width Element.fill ]
{ src = avatarUrl, description = "Avatar image" }
|> Element.el
[ Element.width (Element.px 80) ]
markdownBody =
"""# Custom HTML Renderers
You just render it like this
```
<bio
name="Dillon Kearns"
photo="https://avatars2.githubusercontent.com/u/1384166"
twitter="dillontkearns"
github="dillonkearns"
>
Dillon really likes building things with Elm! Here are some links
- [Articles](https://incrementalelm.com/articles)
</bio>
```
And you get a custom view like this!
<bio
name="Dillon Kearns"
photo="https://avatars2.githubusercontent.com/u/1384166"
twitter="dillontkearns"
github="dillonkearns"
>
Dillon really likes building things with Elm! Here are some links
- [Articles](https://incrementalelm.com/articles)
</bio>
Note that these attributes are all optional. Try removing them and see what happens!
Or you can add `dribbble="something"` and see that icon show up if it's provided.
"""
type Msg
= OnMarkdownInput String
type alias Flags =
()
type alias Model =
String
main : Platform.Program Flags Model Msg
main =
Browser.document
{ init = \flags -> ( markdownBody, Cmd.none )
, view = view
, update = update
, subscriptions = \model -> Sub.none
}
update msg model =
case msg of
OnMarkdownInput newMarkdown ->
( newMarkdown, Cmd.none )
| 48023 | module CustomHtmlBlockSignupForm exposing (main)
import Browser
import Element exposing (Element)
import Element.Border
import Element.Font as Font
import Element.Input
import ElmUi
import Html exposing (Attribute, Html)
import Markdown.Html
import Markdown.Parser
import Markdown.Renderer
view : Model -> { title : String, body : List (Html Msg) }
view model =
{ title = "dillonkearns/elm-markdown demo"
, body =
[ Element.layout [ Element.width Element.fill ]
(Element.row [ Element.width Element.fill ]
[ Element.Input.multiline [ Element.width (Element.px 400) ]
{ onChange = OnMarkdownInput
, text = model
, placeholder = Nothing
, label = Element.Input.labelHidden "Markdown input"
, spellcheck = False
}
, case markdownView model of
Ok rendered ->
Element.column
[ Element.spacing 30
, Element.padding 80
, Element.width (Element.fill |> Element.maximum 1000)
, Element.centerX
]
rendered
Err errors ->
Element.text errors
]
)
]
}
markdownView : String -> Result String (List (Element Msg))
markdownView markdown =
markdown
|> Markdown.Parser.parse
|> Result.mapError (\error -> error |> List.map Markdown.Parser.deadEndToString |> String.join "\n")
|> Result.andThen (Markdown.Renderer.render renderer)
elmUiRenderer =
ElmUi.renderer
renderer : Markdown.Renderer.Renderer (Element Msg)
renderer =
{ elmUiRenderer
| html =
Markdown.Html.oneOf
[ Markdown.Html.tag "bio"
(\name photoUrl twitter github dribbble renderedChildren ->
bioView renderedChildren name photoUrl twitter github dribbble
)
|> Markdown.Html.withAttribute "name"
|> Markdown.Html.withAttribute "photo"
|> Markdown.Html.withOptionalAttribute "twitter"
|> Markdown.Html.withOptionalAttribute "github"
|> Markdown.Html.withOptionalAttribute "dribbble"
]
}
bioView renderedChildren name photoUrl twitter github dribbble =
Element.column
[ Element.Border.shadow
{ offset = ( 0.3, 0.3 )
, size = 2
, blur = 0.5
, color = Element.rgba255 0 0 0 0.22
}
, Element.padding 20
, Element.spacing 30
, Element.centerX
, Font.center
]
(Element.row [ Element.spacing 20 ]
[ avatarView photoUrl
, Element.el
[ Font.bold
, Font.size 30
]
(Element.text name)
, icons twitter github dribbble
]
:: renderedChildren
)
icons twitter github dribbble =
Element.row []
([ twitter
|> Maybe.map
(\twitterHandle ->
Element.link []
{ url = "https://twitter.com/" ++ twitterHandle
, label =
Element.image [] { src = "https://i.imgur.com/tXSoThF.png", description = "Twitter Logo" }
}
)
, github
|> Maybe.map
(\twitterHandle ->
Element.link []
{ url = "https://github.com/" ++ twitterHandle
, label =
Element.image [] { src = "https://i.imgur.com/0o48UoR.png", description = "Github Logo" }
}
)
, dribbble
|> Maybe.map
(\dribbbleHandle ->
Element.link []
{ url = "https://dribbble.com/" ++ dribbbleHandle
, label =
Element.image [] { src = "https://i.imgur.com/1AGmwO3.png", description = "Dribbble Logo" }
}
)
]
|> List.filterMap identity
)
avatarView avatarUrl =
Element.image [ Element.width Element.fill ]
{ src = avatarUrl, description = "Avatar image" }
|> Element.el
[ Element.width (Element.px 80) ]
markdownBody =
"""# Custom HTML Renderers
You just render it like this
```
<bio
name="<NAME>"
photo="https://avatars2.githubusercontent.com/u/1384166"
twitter="dillontkearns"
github="dillonkearns"
>
Dillon really likes building things with Elm! Here are some links
- [Articles](https://incrementalelm.com/articles)
</bio>
```
And you get a custom view like this!
<bio
name="<NAME>"
photo="https://avatars2.githubusercontent.com/u/1384166"
twitter="dillontkearns"
github="dillonkearns"
>
Dillon really likes building things with Elm! Here are some links
- [Articles](https://incrementalelm.com/articles)
</bio>
Note that these attributes are all optional. Try removing them and see what happens!
Or you can add `dribbble="something"` and see that icon show up if it's provided.
"""
type Msg
= OnMarkdownInput String
type alias Flags =
()
type alias Model =
String
main : Platform.Program Flags Model Msg
main =
Browser.document
{ init = \flags -> ( markdownBody, Cmd.none )
, view = view
, update = update
, subscriptions = \model -> Sub.none
}
update msg model =
case msg of
OnMarkdownInput newMarkdown ->
( newMarkdown, Cmd.none )
| true | module CustomHtmlBlockSignupForm exposing (main)
import Browser
import Element exposing (Element)
import Element.Border
import Element.Font as Font
import Element.Input
import ElmUi
import Html exposing (Attribute, Html)
import Markdown.Html
import Markdown.Parser
import Markdown.Renderer
view : Model -> { title : String, body : List (Html Msg) }
view model =
{ title = "dillonkearns/elm-markdown demo"
, body =
[ Element.layout [ Element.width Element.fill ]
(Element.row [ Element.width Element.fill ]
[ Element.Input.multiline [ Element.width (Element.px 400) ]
{ onChange = OnMarkdownInput
, text = model
, placeholder = Nothing
, label = Element.Input.labelHidden "Markdown input"
, spellcheck = False
}
, case markdownView model of
Ok rendered ->
Element.column
[ Element.spacing 30
, Element.padding 80
, Element.width (Element.fill |> Element.maximum 1000)
, Element.centerX
]
rendered
Err errors ->
Element.text errors
]
)
]
}
markdownView : String -> Result String (List (Element Msg))
markdownView markdown =
markdown
|> Markdown.Parser.parse
|> Result.mapError (\error -> error |> List.map Markdown.Parser.deadEndToString |> String.join "\n")
|> Result.andThen (Markdown.Renderer.render renderer)
elmUiRenderer =
ElmUi.renderer
renderer : Markdown.Renderer.Renderer (Element Msg)
renderer =
{ elmUiRenderer
| html =
Markdown.Html.oneOf
[ Markdown.Html.tag "bio"
(\name photoUrl twitter github dribbble renderedChildren ->
bioView renderedChildren name photoUrl twitter github dribbble
)
|> Markdown.Html.withAttribute "name"
|> Markdown.Html.withAttribute "photo"
|> Markdown.Html.withOptionalAttribute "twitter"
|> Markdown.Html.withOptionalAttribute "github"
|> Markdown.Html.withOptionalAttribute "dribbble"
]
}
bioView renderedChildren name photoUrl twitter github dribbble =
Element.column
[ Element.Border.shadow
{ offset = ( 0.3, 0.3 )
, size = 2
, blur = 0.5
, color = Element.rgba255 0 0 0 0.22
}
, Element.padding 20
, Element.spacing 30
, Element.centerX
, Font.center
]
(Element.row [ Element.spacing 20 ]
[ avatarView photoUrl
, Element.el
[ Font.bold
, Font.size 30
]
(Element.text name)
, icons twitter github dribbble
]
:: renderedChildren
)
icons twitter github dribbble =
Element.row []
([ twitter
|> Maybe.map
(\twitterHandle ->
Element.link []
{ url = "https://twitter.com/" ++ twitterHandle
, label =
Element.image [] { src = "https://i.imgur.com/tXSoThF.png", description = "Twitter Logo" }
}
)
, github
|> Maybe.map
(\twitterHandle ->
Element.link []
{ url = "https://github.com/" ++ twitterHandle
, label =
Element.image [] { src = "https://i.imgur.com/0o48UoR.png", description = "Github Logo" }
}
)
, dribbble
|> Maybe.map
(\dribbbleHandle ->
Element.link []
{ url = "https://dribbble.com/" ++ dribbbleHandle
, label =
Element.image [] { src = "https://i.imgur.com/1AGmwO3.png", description = "Dribbble Logo" }
}
)
]
|> List.filterMap identity
)
avatarView avatarUrl =
Element.image [ Element.width Element.fill ]
{ src = avatarUrl, description = "Avatar image" }
|> Element.el
[ Element.width (Element.px 80) ]
markdownBody =
"""# Custom HTML Renderers
You just render it like this
```
<bio
name="PI:NAME:<NAME>END_PI"
photo="https://avatars2.githubusercontent.com/u/1384166"
twitter="dillontkearns"
github="dillonkearns"
>
Dillon really likes building things with Elm! Here are some links
- [Articles](https://incrementalelm.com/articles)
</bio>
```
And you get a custom view like this!
<bio
name="PI:NAME:<NAME>END_PI"
photo="https://avatars2.githubusercontent.com/u/1384166"
twitter="dillontkearns"
github="dillonkearns"
>
Dillon really likes building things with Elm! Here are some links
- [Articles](https://incrementalelm.com/articles)
</bio>
Note that these attributes are all optional. Try removing them and see what happens!
Or you can add `dribbble="something"` and see that icon show up if it's provided.
"""
type Msg
= OnMarkdownInput String
type alias Flags =
()
type alias Model =
String
main : Platform.Program Flags Model Msg
main =
Browser.document
{ init = \flags -> ( markdownBody, Cmd.none )
, view = view
, update = update
, subscriptions = \model -> Sub.none
}
update msg model =
case msg of
OnMarkdownInput newMarkdown ->
( newMarkdown, Cmd.none )
| elm |
[
{
"context": "g\n\n url \"http://example.com/users\" [ (\"name\", \"john doe\"), (\"age\", \"30\") ]\n --> \"http://example.co",
"end": 1718,
"score": 0.9977914691,
"start": 1710,
"tag": "NAME",
"value": "john doe"
},
{
"context": "30\") ]\n --> \"http://example.com/users?name=john+doe&age=30\"\n\n-}\nurl : String -> List ( String, St",
"end": 1785,
"score": 0.7868226171,
"start": 1781,
"tag": "NAME",
"value": "john"
},
{
"context": "]\n --> \"http://example.com/users?name=john+doe&age=30\"\n\n-}\nurl : String -> List ( String, String",
"end": 1789,
"score": 0.5278210044,
"start": 1786,
"tag": "NAME",
"value": "doe"
}
] | src/Http017.elm | Gizra/elm-compat-019 | 1 | module Http017 exposing
( url, uriEncode, uriDecode
, getString, get, post, Error(..)
, Body, empty, string, multipart, Data, stringData
, send, Request, Settings, defaultSettings
, Response, Value(..), fromJson, RawError(..)
)
{-| Elm 0.18 made significant changes to the `Http` API. This module
re-implements the entire Elm 0.17 API.
Note that we could not avoid adding an extra parameter to the `string`
function. We also could not avoid adding a new constructor to `RawError`
and `Error`.
# Encoding and Decoding
@docs url, uriEncode, uriDecode
# Fetch Strings and JSON
@docs getString, get, post, Error
# Body Values
@docs Body, empty, string, multipart, Data, stringData
# Arbitrary Requests
@docs send, Request, Settings, defaultSettings
# Responses
@docs Response, Value, fromJson, RawError
-}
import Basics018 exposing (uncurry)
import Dict exposing (Dict)
import Http exposing (Body, Part, emptyBody, expectStringResponse, header, multipartBody, request, stringBody, stringPart, toTask)
import Json.Decode exposing (Decoder)
import Json.Decode018 exposing (decodeString)
import Task exposing (Task, mapError)
import Time018 exposing (Time)
import Url exposing (percentDecode, percentEncode)
{-| Create a properly encoded URL with a [query string][qs]. The first argument is
the portion of the URL before the query string, which is assumed to be
properly encoded already. The second argument is a list of all the
key/value pairs needed for the query string. Both the keys and values
will be appropriately encoded, so they can contain spaces, ampersands, etc.
[qs]: http://en.wikipedia.org/wiki/Query_string
url "http://example.com/users" [ ("name", "john doe"), ("age", "30") ]
--> "http://example.com/users?name=john+doe&age=30"
-}
url : String -> List ( String, String ) -> String
url baseUrl args =
-- You could almost do this with Elm 0.19's Url.Builder, but it always adds
-- a slash at the end of the `baseUrl`, so it's better to reproduce the
-- original code from Elm 0.17.
case args of
[] ->
baseUrl
_ ->
baseUrl ++ "?" ++ String.join "&" (List.map queryPair args)
queryPair : ( String, String ) -> String
queryPair ( key, value ) =
queryEscape key ++ "=" ++ queryEscape value
queryEscape : String -> String
queryEscape input =
String.join "+" (String.split "%20" (uriEncode input))
{-| Encode a string to be placed in any part of a URI. Same behavior as
JavaScript's `encodeURIComponent` function.
uriEncode "hat" --> "hat"
uriEncode "to be" --> "to%20be"
uriEncode "99%" --> "99%25"
-}
uriEncode : String -> String
uriEncode =
percentEncode
{-| Decode a URI string. Same behavior as JavaScript's `decodeURIComponent`
function.
-- ASCII
uriDecode "hat" --> "hat"
uriDecode "to%20be" --> "to be"
uriDecode "99%25" --> "99%"
-- UTF-8
uriDecode "%24" --> "$"
uriDecode "%C2%A2" --> "¢"
uriDecode "%E2%82%AC" --> "€"
-- Failing
uriDecode "%" --> "%" -- not followed by two hex digits
uriDecode "%XY" --> "%XY" -- not followed by two HEX digits
uriDecode "%C2" --> "%C2" -- half of the "¢" encoding "%C2%A2"
> In later verions of Elm, the signature of the equivalent functions is
> `String -> Maybe String` to account for the fact that the input may be
> invalidly encoded. We can't do exactly that here, so if the input is
> invalid, we return it unchanged.
-}
uriDecode : String -> String
uriDecode input =
percentDecode input
|> Maybe.withDefault input
{-| Fully specify the request you want to send. For example, if you want to
send a request between domains (CORS request) you will need to specify some
headers manually.
corsPost : Request
corsPost =
{ verb = "POST"
, headers =
[ ( "Origin", "http://elm-lang.org" )
, ( "Access-Control-Request-Method", "POST" )
, ( "Access-Control-Request-Headers", "X-Custom-Header" )
]
, url = "http://example.com/hats"
, body = empty
}
> In later versions of Elm, this becomes an opaque type.
-}
type alias Request =
{ verb : String
, headers : List ( String, String )
, url : String
, body : Body
}
{-| An opaque type representing the body of your HTTP message. With GET
requests this is empty, but in other cases it may be a string or blob.
-}
type alias Body =
Http.Body
{-| An empty request body, no value will be sent along.
-}
empty : Body
empty =
emptyBody
{-| Provide a string as the body of the request.
Notice that the first argument is a [MIME type][mime] so we know to add
`Content-Type: application/json` to our request headers. Make sure your
MIME type matches your data. Some servers are strict about this!
[mime]: https://en.wikipedia.org/wiki/Media_type
> Im Elm 0.17, the first parameter was missing, and it seems that Elm
> did not send a `Content-type` header at all. In later versions of Elm,
> there is no way of avoiding sending a `Content-type` header, so we have
> to supply the content type here. Thus, you will need to modify your code
> to specify the desired content type.
-}
string : String -> String -> Body
string =
stringBody
{-| Represents data that can be put in a multi-part body. Right now it only
supports strings, but we will support blobs and files when we get an API for
them in Elm.
-}
type alias Data =
Part
{-| Create multi-part request bodies, allowing you to send many chunks of data
all in one request. All chunks of data must be given a name.
Currently, you can only construct `stringData`, but we will support `blobData`
and `fileData` once we have proper APIs for those types of data in Elm.
-}
multipart : List Data -> Body
multipart =
multipartBody
{-| A named chunk of string data.
import Json.Encode as JS
body =
multipart
[ stringData "user" (JS.encode user)
, stringData "payload" (JS.encode payload)
]
-}
stringData : String -> String -> Data
stringData =
stringPart
{-| Configure your request if you need specific behavior.
- `timeout` lets you specify how long you are willing to wait for a response
before giving up. By default it is 0 which means “never give
up!”
> It is not feasible to re-implement the `onStart` or `onProgress` fields
> with the same signatures as in Elm 0.17. For this reason, those fields
> have been omitted ... to track progress, you will need to use the Elm 0.19
> APIs.
>
> It is also not possible in Elm 0.19 to re-implement what Elm 0.17 did with
> the `desiredResponseType` field. Therefore, it has also been omitted.
-}
type alias Settings =
{ timeout : Time
, withCredentials : Bool
}
{-| The default settings used by `get` and `post`.
{ timeout = 0
, onStart = Nothing
, onProgress = Nothing
, desiredResponseType = Nothing
, withCredentials = False
}
-}
defaultSettings : Settings
defaultSettings =
{ timeout = 0
, withCredentials = False
}
{-| All the details of the response. There are many weird facts about
responses which include:
- The `status` may be 0 in the case that you load something from `file://`
- You cannot handle redirects yourself, they will all be followed
automatically. If you want to know if you have gone through one or more
redirect, the `url` field will let you know who sent you the response, so
you will know if it does not match the URL you requested.
- You are allowed to have duplicate headers, and their values will be
combined into a single comma-separated string.
We have left these underlying facts about `XMLHttpRequest` as is because one
goal of this library is to give a low-level enough API that others can build
whatever helpful behavior they want on top of it.
-}
type alias Response =
{ status : Int
, statusText : String
, headers : Dict String String
, url : String
, value : Value
}
{-| The information given in the response. Currently there is no way to handle
`Blob` types since we do not have an Elm API for that yet. This type will
expand as more values become available in Elm itself.
-}
type Value
= Text String
| Blob Blob
{-| This wasn't exported in Elm 0.17, even though the `Value` constructors were.
-}
type Blob
= TODO_implement_blob_in_another_library
{-| The things that count as errors at the lowest level. Technically, getting
a response back with status 404 is a “successful” response in that
you actually got all the information you asked for.
The `fromJson` function and `Error` type provide higher-level errors, but the
point of `RawError` is to allow you to define higher-level errors however you
want.
> We needed to add a new constructor `RawBadUrl` to cover an error state
> added in Elm 0.18.
-}
type RawError
= RawTimeout
| RawNetworkError
| RawBadUrl String
{-| The kinds of errors you typically want in practice. When you get a
response but its status is not in the 200 range, it will trigger a
`BadResponse`. When you try to decode JSON but something goes wrong,
you will get an `UnexpectedPayload`.
> A new `BadUrl` constructor has been added which was not in Elm 0.17.
-}
type Error
= Timeout
| NetworkError
| UnexpectedPayload String
| BadResponse Int String
| BadUrl String
{-| Send a request exactly how you want it. The `Settings` argument lets you
configure things like timeouts and progress monitoring. The `Request` argument
defines all the information that will actually be sent along to a server.
crossOriginGet : String -> String -> Task RawError Response
crossOriginGet origin url =
send defaultSettings
{ verb = "GET"
, headers = [ ( "Origin", origin ) ]
, url = url
, body = empty
}
-}
send : Settings -> Request -> Task RawError Response
send settings req =
let
timeout =
if settings.timeout <= 0 then
Nothing
else
Just settings.timeout
headers =
List.map (uncurry header) req.headers
convertResponse response =
{ status = response.status.code
, statusText = response.status.message
, headers = response.headers
, url = response.url
, value = Text response.body
}
handleError error =
case error of
Http.BadUrl x ->
Task.fail (RawBadUrl x)
Http.Timeout ->
Task.fail RawTimeout
Http.NetworkError ->
Task.fail RawNetworkError
Http.BadStatus response ->
-- In the Elm 0.17 scheme, the `RawError` type didn't
-- consider this an error. So, we actually succeed here.
Task.succeed (convertResponse response)
Http.BadPayload _ response ->
-- This one is impossible here, because our `Expect` always
-- succeeds. However, we can't convince the compiler of
-- that, so we have to provide some value.
Task.succeed (convertResponse response)
in
{ method = req.verb
, headers = headers
, url = req.url
, body = req.body
, timeout = timeout
, expect = expectStringResponse Ok
, withCredentials = settings.withCredentials
}
|> request
|> toTask
|> Task.map convertResponse
|> Task.onError handleError
-- HIGH-LEVEL REQUESTS
{-| Send a GET request to the given URL. You will get the entire response as a
string.
hats : Task Error String
hats =
getString "http://example.com/hat-categories.markdown"
-}
getString : String -> Task Error String
getString input =
{ verb = "GET"
, headers = []
, url = input
, body = empty
}
|> send defaultSettings
|> Task.mapError promoteError
|> Task.andThen (handleResponse Task.succeed)
{-| Send a GET request to the given URL. You also specify how to decode the
response.
hats : Task Error (List String)
hats =
get (list string) "http://example.com/hat-categories.json"
-}
get : Decoder value -> String -> Task Error value
get decoder input =
let
request =
{ verb = "GET"
, headers = []
, url = input
, body = empty
}
in
fromJson decoder (send defaultSettings request)
{-| Send a POST request to the given URL, carrying the given body. You also
specify how to decode the response with [a JSON decoder][json].
[json]: http://package.elm-lang.org/packages/elm-lang/core/latest/Json-Decode#Decoder
hats : Task Error (List String)
hats =
post (list string) "http://example.com/hat-categories.json" empty
-}
post : Decoder value -> String -> Body -> Task Error value
post decoder input body =
let
request =
{ verb = "POST"
, headers = []
, url = input
, body = body
}
in
fromJson decoder (send defaultSettings request)
{-| Turn a `Response` into an Elm value that is easier to deal with. Helpful
if you are making customized HTTP requests with `send`, as is the case with
`get` and `post`.
Given a `Response` this function will:
- Check that the status code is in the 200 range.
- Make sure the response `Value` is a string.
- Convert the string to Elm with the given `Decoder`.
Assuming all these steps succeed, you will get an Elm value as the result!
-}
fromJson : Decoder a -> Task RawError Response -> Task Error a
fromJson decoder response =
let
decode str =
case decodeString decoder str of
Ok v ->
Task.succeed v
Err msg ->
Task.fail (UnexpectedPayload msg)
in
mapError promoteError response
|> Task.andThen (handleResponse decode)
handleResponse : (String -> Task Error a) -> Response -> Task Error a
handleResponse handle response =
if 200 <= response.status && response.status < 300 then
case response.value of
Text str ->
handle str
Blob _ ->
Task.fail (UnexpectedPayload "Response body is a blob, expecting a string.")
else
Task.fail (BadResponse response.status response.statusText)
promoteError : RawError -> Error
promoteError rawError =
case rawError of
RawBadUrl x ->
BadUrl x
RawTimeout ->
Timeout
RawNetworkError ->
NetworkError
| 24901 | module Http017 exposing
( url, uriEncode, uriDecode
, getString, get, post, Error(..)
, Body, empty, string, multipart, Data, stringData
, send, Request, Settings, defaultSettings
, Response, Value(..), fromJson, RawError(..)
)
{-| Elm 0.18 made significant changes to the `Http` API. This module
re-implements the entire Elm 0.17 API.
Note that we could not avoid adding an extra parameter to the `string`
function. We also could not avoid adding a new constructor to `RawError`
and `Error`.
# Encoding and Decoding
@docs url, uriEncode, uriDecode
# Fetch Strings and JSON
@docs getString, get, post, Error
# Body Values
@docs Body, empty, string, multipart, Data, stringData
# Arbitrary Requests
@docs send, Request, Settings, defaultSettings
# Responses
@docs Response, Value, fromJson, RawError
-}
import Basics018 exposing (uncurry)
import Dict exposing (Dict)
import Http exposing (Body, Part, emptyBody, expectStringResponse, header, multipartBody, request, stringBody, stringPart, toTask)
import Json.Decode exposing (Decoder)
import Json.Decode018 exposing (decodeString)
import Task exposing (Task, mapError)
import Time018 exposing (Time)
import Url exposing (percentDecode, percentEncode)
{-| Create a properly encoded URL with a [query string][qs]. The first argument is
the portion of the URL before the query string, which is assumed to be
properly encoded already. The second argument is a list of all the
key/value pairs needed for the query string. Both the keys and values
will be appropriately encoded, so they can contain spaces, ampersands, etc.
[qs]: http://en.wikipedia.org/wiki/Query_string
url "http://example.com/users" [ ("name", "<NAME>"), ("age", "30") ]
--> "http://example.com/users?name=<NAME>+<NAME>&age=30"
-}
url : String -> List ( String, String ) -> String
url baseUrl args =
-- You could almost do this with Elm 0.19's Url.Builder, but it always adds
-- a slash at the end of the `baseUrl`, so it's better to reproduce the
-- original code from Elm 0.17.
case args of
[] ->
baseUrl
_ ->
baseUrl ++ "?" ++ String.join "&" (List.map queryPair args)
queryPair : ( String, String ) -> String
queryPair ( key, value ) =
queryEscape key ++ "=" ++ queryEscape value
queryEscape : String -> String
queryEscape input =
String.join "+" (String.split "%20" (uriEncode input))
{-| Encode a string to be placed in any part of a URI. Same behavior as
JavaScript's `encodeURIComponent` function.
uriEncode "hat" --> "hat"
uriEncode "to be" --> "to%20be"
uriEncode "99%" --> "99%25"
-}
uriEncode : String -> String
uriEncode =
percentEncode
{-| Decode a URI string. Same behavior as JavaScript's `decodeURIComponent`
function.
-- ASCII
uriDecode "hat" --> "hat"
uriDecode "to%20be" --> "to be"
uriDecode "99%25" --> "99%"
-- UTF-8
uriDecode "%24" --> "$"
uriDecode "%C2%A2" --> "¢"
uriDecode "%E2%82%AC" --> "€"
-- Failing
uriDecode "%" --> "%" -- not followed by two hex digits
uriDecode "%XY" --> "%XY" -- not followed by two HEX digits
uriDecode "%C2" --> "%C2" -- half of the "¢" encoding "%C2%A2"
> In later verions of Elm, the signature of the equivalent functions is
> `String -> Maybe String` to account for the fact that the input may be
> invalidly encoded. We can't do exactly that here, so if the input is
> invalid, we return it unchanged.
-}
uriDecode : String -> String
uriDecode input =
percentDecode input
|> Maybe.withDefault input
{-| Fully specify the request you want to send. For example, if you want to
send a request between domains (CORS request) you will need to specify some
headers manually.
corsPost : Request
corsPost =
{ verb = "POST"
, headers =
[ ( "Origin", "http://elm-lang.org" )
, ( "Access-Control-Request-Method", "POST" )
, ( "Access-Control-Request-Headers", "X-Custom-Header" )
]
, url = "http://example.com/hats"
, body = empty
}
> In later versions of Elm, this becomes an opaque type.
-}
type alias Request =
{ verb : String
, headers : List ( String, String )
, url : String
, body : Body
}
{-| An opaque type representing the body of your HTTP message. With GET
requests this is empty, but in other cases it may be a string or blob.
-}
type alias Body =
Http.Body
{-| An empty request body, no value will be sent along.
-}
empty : Body
empty =
emptyBody
{-| Provide a string as the body of the request.
Notice that the first argument is a [MIME type][mime] so we know to add
`Content-Type: application/json` to our request headers. Make sure your
MIME type matches your data. Some servers are strict about this!
[mime]: https://en.wikipedia.org/wiki/Media_type
> Im Elm 0.17, the first parameter was missing, and it seems that Elm
> did not send a `Content-type` header at all. In later versions of Elm,
> there is no way of avoiding sending a `Content-type` header, so we have
> to supply the content type here. Thus, you will need to modify your code
> to specify the desired content type.
-}
string : String -> String -> Body
string =
stringBody
{-| Represents data that can be put in a multi-part body. Right now it only
supports strings, but we will support blobs and files when we get an API for
them in Elm.
-}
type alias Data =
Part
{-| Create multi-part request bodies, allowing you to send many chunks of data
all in one request. All chunks of data must be given a name.
Currently, you can only construct `stringData`, but we will support `blobData`
and `fileData` once we have proper APIs for those types of data in Elm.
-}
multipart : List Data -> Body
multipart =
multipartBody
{-| A named chunk of string data.
import Json.Encode as JS
body =
multipart
[ stringData "user" (JS.encode user)
, stringData "payload" (JS.encode payload)
]
-}
stringData : String -> String -> Data
stringData =
stringPart
{-| Configure your request if you need specific behavior.
- `timeout` lets you specify how long you are willing to wait for a response
before giving up. By default it is 0 which means “never give
up!”
> It is not feasible to re-implement the `onStart` or `onProgress` fields
> with the same signatures as in Elm 0.17. For this reason, those fields
> have been omitted ... to track progress, you will need to use the Elm 0.19
> APIs.
>
> It is also not possible in Elm 0.19 to re-implement what Elm 0.17 did with
> the `desiredResponseType` field. Therefore, it has also been omitted.
-}
type alias Settings =
{ timeout : Time
, withCredentials : Bool
}
{-| The default settings used by `get` and `post`.
{ timeout = 0
, onStart = Nothing
, onProgress = Nothing
, desiredResponseType = Nothing
, withCredentials = False
}
-}
defaultSettings : Settings
defaultSettings =
{ timeout = 0
, withCredentials = False
}
{-| All the details of the response. There are many weird facts about
responses which include:
- The `status` may be 0 in the case that you load something from `file://`
- You cannot handle redirects yourself, they will all be followed
automatically. If you want to know if you have gone through one or more
redirect, the `url` field will let you know who sent you the response, so
you will know if it does not match the URL you requested.
- You are allowed to have duplicate headers, and their values will be
combined into a single comma-separated string.
We have left these underlying facts about `XMLHttpRequest` as is because one
goal of this library is to give a low-level enough API that others can build
whatever helpful behavior they want on top of it.
-}
type alias Response =
{ status : Int
, statusText : String
, headers : Dict String String
, url : String
, value : Value
}
{-| The information given in the response. Currently there is no way to handle
`Blob` types since we do not have an Elm API for that yet. This type will
expand as more values become available in Elm itself.
-}
type Value
= Text String
| Blob Blob
{-| This wasn't exported in Elm 0.17, even though the `Value` constructors were.
-}
type Blob
= TODO_implement_blob_in_another_library
{-| The things that count as errors at the lowest level. Technically, getting
a response back with status 404 is a “successful” response in that
you actually got all the information you asked for.
The `fromJson` function and `Error` type provide higher-level errors, but the
point of `RawError` is to allow you to define higher-level errors however you
want.
> We needed to add a new constructor `RawBadUrl` to cover an error state
> added in Elm 0.18.
-}
type RawError
= RawTimeout
| RawNetworkError
| RawBadUrl String
{-| The kinds of errors you typically want in practice. When you get a
response but its status is not in the 200 range, it will trigger a
`BadResponse`. When you try to decode JSON but something goes wrong,
you will get an `UnexpectedPayload`.
> A new `BadUrl` constructor has been added which was not in Elm 0.17.
-}
type Error
= Timeout
| NetworkError
| UnexpectedPayload String
| BadResponse Int String
| BadUrl String
{-| Send a request exactly how you want it. The `Settings` argument lets you
configure things like timeouts and progress monitoring. The `Request` argument
defines all the information that will actually be sent along to a server.
crossOriginGet : String -> String -> Task RawError Response
crossOriginGet origin url =
send defaultSettings
{ verb = "GET"
, headers = [ ( "Origin", origin ) ]
, url = url
, body = empty
}
-}
send : Settings -> Request -> Task RawError Response
send settings req =
let
timeout =
if settings.timeout <= 0 then
Nothing
else
Just settings.timeout
headers =
List.map (uncurry header) req.headers
convertResponse response =
{ status = response.status.code
, statusText = response.status.message
, headers = response.headers
, url = response.url
, value = Text response.body
}
handleError error =
case error of
Http.BadUrl x ->
Task.fail (RawBadUrl x)
Http.Timeout ->
Task.fail RawTimeout
Http.NetworkError ->
Task.fail RawNetworkError
Http.BadStatus response ->
-- In the Elm 0.17 scheme, the `RawError` type didn't
-- consider this an error. So, we actually succeed here.
Task.succeed (convertResponse response)
Http.BadPayload _ response ->
-- This one is impossible here, because our `Expect` always
-- succeeds. However, we can't convince the compiler of
-- that, so we have to provide some value.
Task.succeed (convertResponse response)
in
{ method = req.verb
, headers = headers
, url = req.url
, body = req.body
, timeout = timeout
, expect = expectStringResponse Ok
, withCredentials = settings.withCredentials
}
|> request
|> toTask
|> Task.map convertResponse
|> Task.onError handleError
-- HIGH-LEVEL REQUESTS
{-| Send a GET request to the given URL. You will get the entire response as a
string.
hats : Task Error String
hats =
getString "http://example.com/hat-categories.markdown"
-}
getString : String -> Task Error String
getString input =
{ verb = "GET"
, headers = []
, url = input
, body = empty
}
|> send defaultSettings
|> Task.mapError promoteError
|> Task.andThen (handleResponse Task.succeed)
{-| Send a GET request to the given URL. You also specify how to decode the
response.
hats : Task Error (List String)
hats =
get (list string) "http://example.com/hat-categories.json"
-}
get : Decoder value -> String -> Task Error value
get decoder input =
let
request =
{ verb = "GET"
, headers = []
, url = input
, body = empty
}
in
fromJson decoder (send defaultSettings request)
{-| Send a POST request to the given URL, carrying the given body. You also
specify how to decode the response with [a JSON decoder][json].
[json]: http://package.elm-lang.org/packages/elm-lang/core/latest/Json-Decode#Decoder
hats : Task Error (List String)
hats =
post (list string) "http://example.com/hat-categories.json" empty
-}
post : Decoder value -> String -> Body -> Task Error value
post decoder input body =
let
request =
{ verb = "POST"
, headers = []
, url = input
, body = body
}
in
fromJson decoder (send defaultSettings request)
{-| Turn a `Response` into an Elm value that is easier to deal with. Helpful
if you are making customized HTTP requests with `send`, as is the case with
`get` and `post`.
Given a `Response` this function will:
- Check that the status code is in the 200 range.
- Make sure the response `Value` is a string.
- Convert the string to Elm with the given `Decoder`.
Assuming all these steps succeed, you will get an Elm value as the result!
-}
fromJson : Decoder a -> Task RawError Response -> Task Error a
fromJson decoder response =
let
decode str =
case decodeString decoder str of
Ok v ->
Task.succeed v
Err msg ->
Task.fail (UnexpectedPayload msg)
in
mapError promoteError response
|> Task.andThen (handleResponse decode)
handleResponse : (String -> Task Error a) -> Response -> Task Error a
handleResponse handle response =
if 200 <= response.status && response.status < 300 then
case response.value of
Text str ->
handle str
Blob _ ->
Task.fail (UnexpectedPayload "Response body is a blob, expecting a string.")
else
Task.fail (BadResponse response.status response.statusText)
promoteError : RawError -> Error
promoteError rawError =
case rawError of
RawBadUrl x ->
BadUrl x
RawTimeout ->
Timeout
RawNetworkError ->
NetworkError
| true | module Http017 exposing
( url, uriEncode, uriDecode
, getString, get, post, Error(..)
, Body, empty, string, multipart, Data, stringData
, send, Request, Settings, defaultSettings
, Response, Value(..), fromJson, RawError(..)
)
{-| Elm 0.18 made significant changes to the `Http` API. This module
re-implements the entire Elm 0.17 API.
Note that we could not avoid adding an extra parameter to the `string`
function. We also could not avoid adding a new constructor to `RawError`
and `Error`.
# Encoding and Decoding
@docs url, uriEncode, uriDecode
# Fetch Strings and JSON
@docs getString, get, post, Error
# Body Values
@docs Body, empty, string, multipart, Data, stringData
# Arbitrary Requests
@docs send, Request, Settings, defaultSettings
# Responses
@docs Response, Value, fromJson, RawError
-}
import Basics018 exposing (uncurry)
import Dict exposing (Dict)
import Http exposing (Body, Part, emptyBody, expectStringResponse, header, multipartBody, request, stringBody, stringPart, toTask)
import Json.Decode exposing (Decoder)
import Json.Decode018 exposing (decodeString)
import Task exposing (Task, mapError)
import Time018 exposing (Time)
import Url exposing (percentDecode, percentEncode)
{-| Create a properly encoded URL with a [query string][qs]. The first argument is
the portion of the URL before the query string, which is assumed to be
properly encoded already. The second argument is a list of all the
key/value pairs needed for the query string. Both the keys and values
will be appropriately encoded, so they can contain spaces, ampersands, etc.
[qs]: http://en.wikipedia.org/wiki/Query_string
url "http://example.com/users" [ ("name", "PI:NAME:<NAME>END_PI"), ("age", "30") ]
--> "http://example.com/users?name=PI:NAME:<NAME>END_PI+PI:NAME:<NAME>END_PI&age=30"
-}
url : String -> List ( String, String ) -> String
url baseUrl args =
-- You could almost do this with Elm 0.19's Url.Builder, but it always adds
-- a slash at the end of the `baseUrl`, so it's better to reproduce the
-- original code from Elm 0.17.
case args of
[] ->
baseUrl
_ ->
baseUrl ++ "?" ++ String.join "&" (List.map queryPair args)
queryPair : ( String, String ) -> String
queryPair ( key, value ) =
queryEscape key ++ "=" ++ queryEscape value
queryEscape : String -> String
queryEscape input =
String.join "+" (String.split "%20" (uriEncode input))
{-| Encode a string to be placed in any part of a URI. Same behavior as
JavaScript's `encodeURIComponent` function.
uriEncode "hat" --> "hat"
uriEncode "to be" --> "to%20be"
uriEncode "99%" --> "99%25"
-}
uriEncode : String -> String
uriEncode =
percentEncode
{-| Decode a URI string. Same behavior as JavaScript's `decodeURIComponent`
function.
-- ASCII
uriDecode "hat" --> "hat"
uriDecode "to%20be" --> "to be"
uriDecode "99%25" --> "99%"
-- UTF-8
uriDecode "%24" --> "$"
uriDecode "%C2%A2" --> "¢"
uriDecode "%E2%82%AC" --> "€"
-- Failing
uriDecode "%" --> "%" -- not followed by two hex digits
uriDecode "%XY" --> "%XY" -- not followed by two HEX digits
uriDecode "%C2" --> "%C2" -- half of the "¢" encoding "%C2%A2"
> In later verions of Elm, the signature of the equivalent functions is
> `String -> Maybe String` to account for the fact that the input may be
> invalidly encoded. We can't do exactly that here, so if the input is
> invalid, we return it unchanged.
-}
uriDecode : String -> String
uriDecode input =
percentDecode input
|> Maybe.withDefault input
{-| Fully specify the request you want to send. For example, if you want to
send a request between domains (CORS request) you will need to specify some
headers manually.
corsPost : Request
corsPost =
{ verb = "POST"
, headers =
[ ( "Origin", "http://elm-lang.org" )
, ( "Access-Control-Request-Method", "POST" )
, ( "Access-Control-Request-Headers", "X-Custom-Header" )
]
, url = "http://example.com/hats"
, body = empty
}
> In later versions of Elm, this becomes an opaque type.
-}
type alias Request =
{ verb : String
, headers : List ( String, String )
, url : String
, body : Body
}
{-| An opaque type representing the body of your HTTP message. With GET
requests this is empty, but in other cases it may be a string or blob.
-}
type alias Body =
Http.Body
{-| An empty request body, no value will be sent along.
-}
empty : Body
empty =
emptyBody
{-| Provide a string as the body of the request.
Notice that the first argument is a [MIME type][mime] so we know to add
`Content-Type: application/json` to our request headers. Make sure your
MIME type matches your data. Some servers are strict about this!
[mime]: https://en.wikipedia.org/wiki/Media_type
> Im Elm 0.17, the first parameter was missing, and it seems that Elm
> did not send a `Content-type` header at all. In later versions of Elm,
> there is no way of avoiding sending a `Content-type` header, so we have
> to supply the content type here. Thus, you will need to modify your code
> to specify the desired content type.
-}
string : String -> String -> Body
string =
stringBody
{-| Represents data that can be put in a multi-part body. Right now it only
supports strings, but we will support blobs and files when we get an API for
them in Elm.
-}
type alias Data =
Part
{-| Create multi-part request bodies, allowing you to send many chunks of data
all in one request. All chunks of data must be given a name.
Currently, you can only construct `stringData`, but we will support `blobData`
and `fileData` once we have proper APIs for those types of data in Elm.
-}
multipart : List Data -> Body
multipart =
multipartBody
{-| A named chunk of string data.
import Json.Encode as JS
body =
multipart
[ stringData "user" (JS.encode user)
, stringData "payload" (JS.encode payload)
]
-}
stringData : String -> String -> Data
stringData =
stringPart
{-| Configure your request if you need specific behavior.
- `timeout` lets you specify how long you are willing to wait for a response
before giving up. By default it is 0 which means “never give
up!”
> It is not feasible to re-implement the `onStart` or `onProgress` fields
> with the same signatures as in Elm 0.17. For this reason, those fields
> have been omitted ... to track progress, you will need to use the Elm 0.19
> APIs.
>
> It is also not possible in Elm 0.19 to re-implement what Elm 0.17 did with
> the `desiredResponseType` field. Therefore, it has also been omitted.
-}
type alias Settings =
{ timeout : Time
, withCredentials : Bool
}
{-| The default settings used by `get` and `post`.
{ timeout = 0
, onStart = Nothing
, onProgress = Nothing
, desiredResponseType = Nothing
, withCredentials = False
}
-}
defaultSettings : Settings
defaultSettings =
{ timeout = 0
, withCredentials = False
}
{-| All the details of the response. There are many weird facts about
responses which include:
- The `status` may be 0 in the case that you load something from `file://`
- You cannot handle redirects yourself, they will all be followed
automatically. If you want to know if you have gone through one or more
redirect, the `url` field will let you know who sent you the response, so
you will know if it does not match the URL you requested.
- You are allowed to have duplicate headers, and their values will be
combined into a single comma-separated string.
We have left these underlying facts about `XMLHttpRequest` as is because one
goal of this library is to give a low-level enough API that others can build
whatever helpful behavior they want on top of it.
-}
type alias Response =
{ status : Int
, statusText : String
, headers : Dict String String
, url : String
, value : Value
}
{-| The information given in the response. Currently there is no way to handle
`Blob` types since we do not have an Elm API for that yet. This type will
expand as more values become available in Elm itself.
-}
type Value
= Text String
| Blob Blob
{-| This wasn't exported in Elm 0.17, even though the `Value` constructors were.
-}
type Blob
= TODO_implement_blob_in_another_library
{-| The things that count as errors at the lowest level. Technically, getting
a response back with status 404 is a “successful” response in that
you actually got all the information you asked for.
The `fromJson` function and `Error` type provide higher-level errors, but the
point of `RawError` is to allow you to define higher-level errors however you
want.
> We needed to add a new constructor `RawBadUrl` to cover an error state
> added in Elm 0.18.
-}
type RawError
= RawTimeout
| RawNetworkError
| RawBadUrl String
{-| The kinds of errors you typically want in practice. When you get a
response but its status is not in the 200 range, it will trigger a
`BadResponse`. When you try to decode JSON but something goes wrong,
you will get an `UnexpectedPayload`.
> A new `BadUrl` constructor has been added which was not in Elm 0.17.
-}
type Error
= Timeout
| NetworkError
| UnexpectedPayload String
| BadResponse Int String
| BadUrl String
{-| Send a request exactly how you want it. The `Settings` argument lets you
configure things like timeouts and progress monitoring. The `Request` argument
defines all the information that will actually be sent along to a server.
crossOriginGet : String -> String -> Task RawError Response
crossOriginGet origin url =
send defaultSettings
{ verb = "GET"
, headers = [ ( "Origin", origin ) ]
, url = url
, body = empty
}
-}
send : Settings -> Request -> Task RawError Response
send settings req =
let
timeout =
if settings.timeout <= 0 then
Nothing
else
Just settings.timeout
headers =
List.map (uncurry header) req.headers
convertResponse response =
{ status = response.status.code
, statusText = response.status.message
, headers = response.headers
, url = response.url
, value = Text response.body
}
handleError error =
case error of
Http.BadUrl x ->
Task.fail (RawBadUrl x)
Http.Timeout ->
Task.fail RawTimeout
Http.NetworkError ->
Task.fail RawNetworkError
Http.BadStatus response ->
-- In the Elm 0.17 scheme, the `RawError` type didn't
-- consider this an error. So, we actually succeed here.
Task.succeed (convertResponse response)
Http.BadPayload _ response ->
-- This one is impossible here, because our `Expect` always
-- succeeds. However, we can't convince the compiler of
-- that, so we have to provide some value.
Task.succeed (convertResponse response)
in
{ method = req.verb
, headers = headers
, url = req.url
, body = req.body
, timeout = timeout
, expect = expectStringResponse Ok
, withCredentials = settings.withCredentials
}
|> request
|> toTask
|> Task.map convertResponse
|> Task.onError handleError
-- HIGH-LEVEL REQUESTS
{-| Send a GET request to the given URL. You will get the entire response as a
string.
hats : Task Error String
hats =
getString "http://example.com/hat-categories.markdown"
-}
getString : String -> Task Error String
getString input =
{ verb = "GET"
, headers = []
, url = input
, body = empty
}
|> send defaultSettings
|> Task.mapError promoteError
|> Task.andThen (handleResponse Task.succeed)
{-| Send a GET request to the given URL. You also specify how to decode the
response.
hats : Task Error (List String)
hats =
get (list string) "http://example.com/hat-categories.json"
-}
get : Decoder value -> String -> Task Error value
get decoder input =
let
request =
{ verb = "GET"
, headers = []
, url = input
, body = empty
}
in
fromJson decoder (send defaultSettings request)
{-| Send a POST request to the given URL, carrying the given body. You also
specify how to decode the response with [a JSON decoder][json].
[json]: http://package.elm-lang.org/packages/elm-lang/core/latest/Json-Decode#Decoder
hats : Task Error (List String)
hats =
post (list string) "http://example.com/hat-categories.json" empty
-}
post : Decoder value -> String -> Body -> Task Error value
post decoder input body =
let
request =
{ verb = "POST"
, headers = []
, url = input
, body = body
}
in
fromJson decoder (send defaultSettings request)
{-| Turn a `Response` into an Elm value that is easier to deal with. Helpful
if you are making customized HTTP requests with `send`, as is the case with
`get` and `post`.
Given a `Response` this function will:
- Check that the status code is in the 200 range.
- Make sure the response `Value` is a string.
- Convert the string to Elm with the given `Decoder`.
Assuming all these steps succeed, you will get an Elm value as the result!
-}
fromJson : Decoder a -> Task RawError Response -> Task Error a
fromJson decoder response =
let
decode str =
case decodeString decoder str of
Ok v ->
Task.succeed v
Err msg ->
Task.fail (UnexpectedPayload msg)
in
mapError promoteError response
|> Task.andThen (handleResponse decode)
handleResponse : (String -> Task Error a) -> Response -> Task Error a
handleResponse handle response =
if 200 <= response.status && response.status < 300 then
case response.value of
Text str ->
handle str
Blob _ ->
Task.fail (UnexpectedPayload "Response body is a blob, expecting a string.")
else
Task.fail (BadResponse response.status response.statusText)
promoteError : RawError -> Error
promoteError rawError =
case rawError of
RawBadUrl x ->
BadUrl x
RawTimeout ->
Timeout
RawNetworkError ->
NetworkError
| elm |
[
{
"context": "elper.find\n\n\n{-| query string to Value\n\n \"name=John&position=captain\" |> QuerySafeDecode.split\n --",
"end": 1625,
"score": 0.9968684316,
"start": 1621,
"tag": "NAME",
"value": "John"
},
{
"context": "=captain\" |> QuerySafeDecode.split\n -- [ \"name=John\", \"position=captain\" ]\n -}\nsplit : String -> Valu",
"end": 1688,
"score": 0.9986281395,
"start": 1684,
"tag": "NAME",
"value": "John"
}
] | src/Getto/Url/Query/SafeDecode.elm | getto-systems/elm-url | 0 | module Getto.Url.Query.SafeDecode exposing
( Value
, Decoder
, string
, int
, entryAt
, listAt
, boolAt
, split
)
{-| decode url query string safety
value = "count=4&position[]=captain&admin" |> QuerySafeDecode.split
value |> QueryDecode.entryAt ["count"] (QuerySafeDecode.int 0)
value |> QueryDecode.listAt ["position"] (QuerySafeDecode.string "")
value |> QueryDecode.boolAt ["admin"]
# Definition
@docs Value, Decoder
# Decoders
@docs string, int
# Decode
@docs entryAt, listAt, boolAt
# Helper
@docs split
-}
import Getto.Url.Query.Decode as QueryDecode
import Getto.Url.Query.DecodeHelper as QueryDecodeHelper
import Url
{-| decode target : actually this is List String
-}
type alias Value = QueryDecode.Value
{-| decoder : Value -> Maybe a
-}
type alias Decoder a = Value -> a
type alias ValueDecoder a = Maybe String -> a
{-| string decoder
-}
string : String -> ValueDecoder String
string default = Maybe.andThen QueryDecode.string >> Maybe.withDefault default
{-| int decoder
-}
int : Int -> ValueDecoder Int
int default = Maybe.andThen QueryDecode.int >> Maybe.withDefault default
{-| decode entry
-}
entryAt : List String -> ValueDecoder a -> Decoder a
entryAt names decoder =
QueryDecodeHelper.filter names ""
>> List.head
>> decoder
{-| decode list
-}
listAt : List String -> ValueDecoder a -> Decoder (List a)
listAt names decoder =
QueryDecodeHelper.filter names "[]"
>> List.map (Just >> decoder)
{-| decode bool
-}
boolAt : List String -> Decoder Bool
boolAt = QueryDecodeHelper.find
{-| query string to Value
"name=John&position=captain" |> QuerySafeDecode.split
-- [ "name=John", "position=captain" ]
-}
split : String -> Value
split = QueryDecode.split
| 48931 | module Getto.Url.Query.SafeDecode exposing
( Value
, Decoder
, string
, int
, entryAt
, listAt
, boolAt
, split
)
{-| decode url query string safety
value = "count=4&position[]=captain&admin" |> QuerySafeDecode.split
value |> QueryDecode.entryAt ["count"] (QuerySafeDecode.int 0)
value |> QueryDecode.listAt ["position"] (QuerySafeDecode.string "")
value |> QueryDecode.boolAt ["admin"]
# Definition
@docs Value, Decoder
# Decoders
@docs string, int
# Decode
@docs entryAt, listAt, boolAt
# Helper
@docs split
-}
import Getto.Url.Query.Decode as QueryDecode
import Getto.Url.Query.DecodeHelper as QueryDecodeHelper
import Url
{-| decode target : actually this is List String
-}
type alias Value = QueryDecode.Value
{-| decoder : Value -> Maybe a
-}
type alias Decoder a = Value -> a
type alias ValueDecoder a = Maybe String -> a
{-| string decoder
-}
string : String -> ValueDecoder String
string default = Maybe.andThen QueryDecode.string >> Maybe.withDefault default
{-| int decoder
-}
int : Int -> ValueDecoder Int
int default = Maybe.andThen QueryDecode.int >> Maybe.withDefault default
{-| decode entry
-}
entryAt : List String -> ValueDecoder a -> Decoder a
entryAt names decoder =
QueryDecodeHelper.filter names ""
>> List.head
>> decoder
{-| decode list
-}
listAt : List String -> ValueDecoder a -> Decoder (List a)
listAt names decoder =
QueryDecodeHelper.filter names "[]"
>> List.map (Just >> decoder)
{-| decode bool
-}
boolAt : List String -> Decoder Bool
boolAt = QueryDecodeHelper.find
{-| query string to Value
"name=<NAME>&position=captain" |> QuerySafeDecode.split
-- [ "name=<NAME>", "position=captain" ]
-}
split : String -> Value
split = QueryDecode.split
| true | module Getto.Url.Query.SafeDecode exposing
( Value
, Decoder
, string
, int
, entryAt
, listAt
, boolAt
, split
)
{-| decode url query string safety
value = "count=4&position[]=captain&admin" |> QuerySafeDecode.split
value |> QueryDecode.entryAt ["count"] (QuerySafeDecode.int 0)
value |> QueryDecode.listAt ["position"] (QuerySafeDecode.string "")
value |> QueryDecode.boolAt ["admin"]
# Definition
@docs Value, Decoder
# Decoders
@docs string, int
# Decode
@docs entryAt, listAt, boolAt
# Helper
@docs split
-}
import Getto.Url.Query.Decode as QueryDecode
import Getto.Url.Query.DecodeHelper as QueryDecodeHelper
import Url
{-| decode target : actually this is List String
-}
type alias Value = QueryDecode.Value
{-| decoder : Value -> Maybe a
-}
type alias Decoder a = Value -> a
type alias ValueDecoder a = Maybe String -> a
{-| string decoder
-}
string : String -> ValueDecoder String
string default = Maybe.andThen QueryDecode.string >> Maybe.withDefault default
{-| int decoder
-}
int : Int -> ValueDecoder Int
int default = Maybe.andThen QueryDecode.int >> Maybe.withDefault default
{-| decode entry
-}
entryAt : List String -> ValueDecoder a -> Decoder a
entryAt names decoder =
QueryDecodeHelper.filter names ""
>> List.head
>> decoder
{-| decode list
-}
listAt : List String -> ValueDecoder a -> Decoder (List a)
listAt names decoder =
QueryDecodeHelper.filter names "[]"
>> List.map (Just >> decoder)
{-| decode bool
-}
boolAt : List String -> Decoder Bool
boolAt = QueryDecodeHelper.find
{-| query string to Value
"name=PI:NAME:<NAME>END_PI&position=captain" |> QuerySafeDecode.split
-- [ "name=PI:NAME:<NAME>END_PI", "position=captain" ]
-}
split : String -> Value
split = QueryDecode.split
| elm |
[
{
"context": "le\n ] \n [TyCo.text \"Teilnehmer\"]\n ]\n {-- Äquivalentes gilt für",
"end": 11903,
"score": 0.9250058532,
"start": 11893,
"tag": "NAME",
"value": "Teilnehmer"
},
{
"context": "le\n ] \n [TyCo.text \"Gewicht\"]\n ]\n {-- Nun erzeugen wir 3 Gr",
"end": 12289,
"score": 0.8302718997,
"start": 12282,
"tag": "NAME",
"value": "Gewicht"
}
] | Elm/src/VisualizationA.elm | maxhenze/exam-information-visualization | 0 | module VisualizationA exposing (..)
-- IMPORTS
import List
import Html exposing (Html)
import Scale
import TypedSvg
import TypedSvg.Attributes as TyAt
import TypedSvg.Attributes.InPx as TyAtIn
import TypedSvg.Core as TyCo
import TypedSvg.Types exposing (AnchorAlignment(..), Opacity(..), Paint(..), Transform(..))
import Color
import Debug exposing (toString)
import List.Extra as LiEx
import DataProcessing as DP
import Model as MO
import Constants as CO
import Functions as FU
{-- Diese Funktion zeichnet mit Hilfe der pointCircle Funktion alle
Kreise einer Datenmenge von Records. In unserer Abbildung
repräsentieren Kreise Kniebeugenversuche. Wir erhalten 2 Skalen.
Jeweils in x und in y Richtung um die ebenfalls übergebene
Liste an x-Koordinaten und Record Tupeln richtig zu skalieren
Die pointCircle Funktion etrahiert dazu die y-Koordinate aus dem Record.
--}
circles : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List(Float, MO.OpenPowerliftingData) -> List (TyCo.Svg msg)
circles scaleX scaleY dataTupleList =
List.map (pointCircle scaleX scaleY) dataTupleList
{-- Äquivalent wie bei den Kreisen, nur dass Quadrate einen Bankdrückversuch
später kennzeichnen.
--}
squares : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List ( Float, MO.OpenPowerliftingData ) -> List (TyCo.Svg msg)
squares scaleX scaleY coord =
List.map (pointSquare scaleX scaleY) coord
{-- Äquivalent wie bei den Kreisen, nur dass Dreiecke einen Kreuzhebenversuch
später kennzeichnen.
--}
triangles : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List ( Float, MO.OpenPowerliftingData ) -> List (TyCo.Svg msg)
triangles scaleX scaleY coord =
List.map (pointTriangle scaleX scaleY) coord
{-- Diese Funktion erzeugt einen Kreis für ein (x-Koordinaten,Record) Tupelpaar
--}
pointCircle : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointCircle scaleX scaleY ( xCoord, data ) =
let
{-- Als erstes holen wir uns aus dem Record alle Kniebeugenversuche,
da ja nur diese durch Kreise dargestellt werden sollen.
Da es sich bei diesen um Maybes handelt müssen, wir sie mit
Maybe.withDefault in sichere Float Werte umwandeln. Es sollte aber
nie ein Nothing drin stehen, da schon bei der Verarbeitung der
Rohdaten die Zeilen mit Nothing Werten gefiltert werden.
--}
squatAttempts =
List.map
(Maybe.withDefault 0)
[data.squat1Kg, data.squat2Kg, data.squat3Kg]
in
{-- Nun erzeugen wir eine Grußße in der wir jeden Versuch haben,
welcher eine Klasse bekommt, mit Hilfe der übergebenen
x und y Skalen richtig transformiert wird und anschließend
als Kreis gezeichnet wird.
Ererhält eine leichte durchsichtigkeit um Punktansammlungen besser
unterscheiden zu können.
Ebenso erhält er einen "Namen", welcher beim drüber hovern
angezeigt werden soll.
Dafür wird die Funktion createTextForPoint aus dem Modul Functions
verwendet.
--}
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-circle" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.circle
[ TyAtIn.cx 0
, TyAtIn.cy 0
, TyAtIn.r 3
, TyAt.fill <| Paint (Color.rgb255 255 68 0)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "squat"]
]
)
squatAttempts)
{-- Diese Funktion funktioniert Äquivalent wie pointCircles für Quadrate.
--}
pointSquare : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointSquare scaleX scaleY ( xCoord, data ) =
let
benchAttempts
= List.map
(Maybe.withDefault 0)
[data.bench1Kg, data.bench2Kg, data.bench3Kg]
in
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-rect" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.rect
[ TyAtIn.width 5
, TyAtIn.height 5
, TyAtIn.x -2.5
, TyAtIn.y -2.5
, TyAt.fill <| Paint (Color.rgb255 0 184 255)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "bench"]
]
)
benchAttempts)
{-- Diese Funktion funktioniert Äquivalent wie pointCircles für Dreiecke.
Allerdings müssen vorher die Punkte so berechnet werden, dass das
entstehende Dreieck zentriert auf der Linie des Athleten im Scatterplot ist.
Dies wird über polygon gemacht, da es kein eigenes TypeSvg Element für
Dreiecke gibt.
--}
pointTriangle : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointTriangle scaleX scaleY ( xCoord, data ) =
let
deadAttempts =
List.map
(Maybe.withDefault 0)
[data.dead1Kg, data.dead2Kg, data.dead3Kg]
sideLength = 6
topPoint = (0, -(sqrt 3)/3 * sideLength)
leftCorner = ( -(sideLength / 2), (sqrt 3)/6 * sideLength)
rightCorner = ( (sideLength / 2), (sqrt 3)/6 * sideLength)
in
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-triangle" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.polygon
[ TyAt.points [topPoint, leftCorner, rightCorner]
, TyAt.fill <| Paint (Color.rgb255 255 230 0)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "dead"]
]
)
deadAttempts)
{-- drawScatter ist die Funktion, welche wir später in Main aufrufen, wenn
wir einen Scatterplot darstellen möchten.
Sie bekommt die Liste an Records, welche im Scatterplot dargestellt werden
sollen und gibt eine Liste von Svg msg zurück.
--}
drawScatter : List MO.OpenPowerliftingData -> List (TyCo.Svg msg)
drawScatter dataList =
let
{-- Als erstes benötigen wir eine Liste aller Übungen. Um später
die Werte der y-Achse an die Person die den höchsten bzw.
niedrigsten Wert in einer Kategorie hat anzupassen.
Ansonsten könnte es passieren, dass Werte außerhalb unseres
Scatterplots erscheinen.
--}
completeList = DP.getCompleteExcerciseWeightsList dataList
{-- Da wir auf der y-Achse numerisch die Athleten aufzählen wollen
benötigen wir als x-Koordinate für jeden Athleten die
korrespondierende Zahl um sie später mit einem Koordinatentupel zu
übergeben.
Mit Hilfe von range können wir diese umjeweils 1 ansteigende
Reihe erzeugen. Wir übergeben dazu der Funktion den kleinsten
Wert (1) und den größten Wert (Länge der Liste)
--}
range =
List.map toFloat
<| List.range 1
<| List.length dataList
{-- Als nächstes erzeugen wir uns noch unsere Skalen für die x und
y-Achsen. Die Funktionen dazu sind im Modul Functions und
sind die gleichen wie wir sie am Anfang der Vorlesung in den Übungen
verwendet hatten.
Die x-Achse erzeugen/skalieren wir mit Hilfe der range Liste und
die y-Achste erzeugen/skalieren wir mit Hilfe der completeList.
--}
xScaleLocal = FU.xScaleFromList range
yScaleLocal = FU.yScale completeList
in
{-- Zuerst legen wir mit TypedSvg.style fest, dass der/das jeweilige
Kreise/Dreick/Quadrat beim drüber hovern undurchsichtig wird
und eine schwarze Umrandung zur besseren Identifizierung bekommt.
--}
[ TypedSvg.style
[]
[TyCo.text
"""
.data-point-circle text { display: none; }
.data-point-circle:hover text { display: inline; }
.data-point-circle:hover circle{opacity: 1; stroke: black; stroke-width: 1}
.data-point-rect text { display: none; }
.data-point-rect:hover text { display: inline; }
.data-point-rect:hover rect {opacity: 1; stroke: black; stroke-width: 1}
.data-point-triangle text { display: none; }
.data-point-triangle:hover text { display: inline; }
.data-point-triangle:hover polygon{opacity: 1; stroke: black; stroke-width: 1}
"""]
{-- Als nächstes erzeugen wir eine Gruppe, welche unsere x-Achse
enthält. Diese muss mit Hilfe von transform und Translate an
das Standard-Padding angepasst werden.
Dann wird die x-Achse mit entsprechender Beschriftung eingefügt.
--}
, TypedSvg.g [ TyAt.transform [ Translate (CO.padding - 1) (CO.h - CO.padding) ] ]
[ (FU.xAxisFromList range)
, TypedSvg.text_
[ TyAtIn.x 350
, TyAtIn.y 40
, TyAt.textAnchor AnchorMiddle
]
[TyCo.text "Teilnehmer"]
]
{-- Äquivalentes gilt für die y-Achse
--}
, TypedSvg.g [ TyAt.transform [ Translate (CO.padding - 1) CO.padding ] ]
[ (FU.yAxis completeList)
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -20
, TyAt.textAnchor AnchorMiddle
]
[TyCo.text "Gewicht"]
]
{-- Nun erzeugen wir 3 Gruppen. Jeweils eine für Kreise/Quadrate und
Dreiecke.
Mit Hilfe der entsprechenden Funktion squares, triangles oder
circles erzeugen wir diese.
Alle Funktionen bekommen eine Skala für die x-Achse und die y-Achse
um die Punkte richtig zu positionieren.
Ebenso erzeugen wir Tupel mit Hilfe von zip aus dem List.Extra
Modul.
Die Tupel sehen dann so aus, dass sie vorne die Teilnehmer Position
und hinten den Record haben:
(1, Record1), (2, Record2), ...
--}
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "squares" ]
]
( squares xScaleLocal yScaleLocal (LiEx.zip range dataList))
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "triangles" ]
]
( triangles xScaleLocal yScaleLocal (LiEx.zip range dataList))
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "circles" ]
]
( circles xScaleLocal yScaleLocal (LiEx.zip range dataList))
]
| 10646 | module VisualizationA exposing (..)
-- IMPORTS
import List
import Html exposing (Html)
import Scale
import TypedSvg
import TypedSvg.Attributes as TyAt
import TypedSvg.Attributes.InPx as TyAtIn
import TypedSvg.Core as TyCo
import TypedSvg.Types exposing (AnchorAlignment(..), Opacity(..), Paint(..), Transform(..))
import Color
import Debug exposing (toString)
import List.Extra as LiEx
import DataProcessing as DP
import Model as MO
import Constants as CO
import Functions as FU
{-- Diese Funktion zeichnet mit Hilfe der pointCircle Funktion alle
Kreise einer Datenmenge von Records. In unserer Abbildung
repräsentieren Kreise Kniebeugenversuche. Wir erhalten 2 Skalen.
Jeweils in x und in y Richtung um die ebenfalls übergebene
Liste an x-Koordinaten und Record Tupeln richtig zu skalieren
Die pointCircle Funktion etrahiert dazu die y-Koordinate aus dem Record.
--}
circles : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List(Float, MO.OpenPowerliftingData) -> List (TyCo.Svg msg)
circles scaleX scaleY dataTupleList =
List.map (pointCircle scaleX scaleY) dataTupleList
{-- Äquivalent wie bei den Kreisen, nur dass Quadrate einen Bankdrückversuch
später kennzeichnen.
--}
squares : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List ( Float, MO.OpenPowerliftingData ) -> List (TyCo.Svg msg)
squares scaleX scaleY coord =
List.map (pointSquare scaleX scaleY) coord
{-- Äquivalent wie bei den Kreisen, nur dass Dreiecke einen Kreuzhebenversuch
später kennzeichnen.
--}
triangles : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List ( Float, MO.OpenPowerliftingData ) -> List (TyCo.Svg msg)
triangles scaleX scaleY coord =
List.map (pointTriangle scaleX scaleY) coord
{-- Diese Funktion erzeugt einen Kreis für ein (x-Koordinaten,Record) Tupelpaar
--}
pointCircle : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointCircle scaleX scaleY ( xCoord, data ) =
let
{-- Als erstes holen wir uns aus dem Record alle Kniebeugenversuche,
da ja nur diese durch Kreise dargestellt werden sollen.
Da es sich bei diesen um Maybes handelt müssen, wir sie mit
Maybe.withDefault in sichere Float Werte umwandeln. Es sollte aber
nie ein Nothing drin stehen, da schon bei der Verarbeitung der
Rohdaten die Zeilen mit Nothing Werten gefiltert werden.
--}
squatAttempts =
List.map
(Maybe.withDefault 0)
[data.squat1Kg, data.squat2Kg, data.squat3Kg]
in
{-- Nun erzeugen wir eine Grußße in der wir jeden Versuch haben,
welcher eine Klasse bekommt, mit Hilfe der übergebenen
x und y Skalen richtig transformiert wird und anschließend
als Kreis gezeichnet wird.
Ererhält eine leichte durchsichtigkeit um Punktansammlungen besser
unterscheiden zu können.
Ebenso erhält er einen "Namen", welcher beim drüber hovern
angezeigt werden soll.
Dafür wird die Funktion createTextForPoint aus dem Modul Functions
verwendet.
--}
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-circle" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.circle
[ TyAtIn.cx 0
, TyAtIn.cy 0
, TyAtIn.r 3
, TyAt.fill <| Paint (Color.rgb255 255 68 0)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "squat"]
]
)
squatAttempts)
{-- Diese Funktion funktioniert Äquivalent wie pointCircles für Quadrate.
--}
pointSquare : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointSquare scaleX scaleY ( xCoord, data ) =
let
benchAttempts
= List.map
(Maybe.withDefault 0)
[data.bench1Kg, data.bench2Kg, data.bench3Kg]
in
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-rect" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.rect
[ TyAtIn.width 5
, TyAtIn.height 5
, TyAtIn.x -2.5
, TyAtIn.y -2.5
, TyAt.fill <| Paint (Color.rgb255 0 184 255)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "bench"]
]
)
benchAttempts)
{-- Diese Funktion funktioniert Äquivalent wie pointCircles für Dreiecke.
Allerdings müssen vorher die Punkte so berechnet werden, dass das
entstehende Dreieck zentriert auf der Linie des Athleten im Scatterplot ist.
Dies wird über polygon gemacht, da es kein eigenes TypeSvg Element für
Dreiecke gibt.
--}
pointTriangle : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointTriangle scaleX scaleY ( xCoord, data ) =
let
deadAttempts =
List.map
(Maybe.withDefault 0)
[data.dead1Kg, data.dead2Kg, data.dead3Kg]
sideLength = 6
topPoint = (0, -(sqrt 3)/3 * sideLength)
leftCorner = ( -(sideLength / 2), (sqrt 3)/6 * sideLength)
rightCorner = ( (sideLength / 2), (sqrt 3)/6 * sideLength)
in
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-triangle" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.polygon
[ TyAt.points [topPoint, leftCorner, rightCorner]
, TyAt.fill <| Paint (Color.rgb255 255 230 0)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "dead"]
]
)
deadAttempts)
{-- drawScatter ist die Funktion, welche wir später in Main aufrufen, wenn
wir einen Scatterplot darstellen möchten.
Sie bekommt die Liste an Records, welche im Scatterplot dargestellt werden
sollen und gibt eine Liste von Svg msg zurück.
--}
drawScatter : List MO.OpenPowerliftingData -> List (TyCo.Svg msg)
drawScatter dataList =
let
{-- Als erstes benötigen wir eine Liste aller Übungen. Um später
die Werte der y-Achse an die Person die den höchsten bzw.
niedrigsten Wert in einer Kategorie hat anzupassen.
Ansonsten könnte es passieren, dass Werte außerhalb unseres
Scatterplots erscheinen.
--}
completeList = DP.getCompleteExcerciseWeightsList dataList
{-- Da wir auf der y-Achse numerisch die Athleten aufzählen wollen
benötigen wir als x-Koordinate für jeden Athleten die
korrespondierende Zahl um sie später mit einem Koordinatentupel zu
übergeben.
Mit Hilfe von range können wir diese umjeweils 1 ansteigende
Reihe erzeugen. Wir übergeben dazu der Funktion den kleinsten
Wert (1) und den größten Wert (Länge der Liste)
--}
range =
List.map toFloat
<| List.range 1
<| List.length dataList
{-- Als nächstes erzeugen wir uns noch unsere Skalen für die x und
y-Achsen. Die Funktionen dazu sind im Modul Functions und
sind die gleichen wie wir sie am Anfang der Vorlesung in den Übungen
verwendet hatten.
Die x-Achse erzeugen/skalieren wir mit Hilfe der range Liste und
die y-Achste erzeugen/skalieren wir mit Hilfe der completeList.
--}
xScaleLocal = FU.xScaleFromList range
yScaleLocal = FU.yScale completeList
in
{-- Zuerst legen wir mit TypedSvg.style fest, dass der/das jeweilige
Kreise/Dreick/Quadrat beim drüber hovern undurchsichtig wird
und eine schwarze Umrandung zur besseren Identifizierung bekommt.
--}
[ TypedSvg.style
[]
[TyCo.text
"""
.data-point-circle text { display: none; }
.data-point-circle:hover text { display: inline; }
.data-point-circle:hover circle{opacity: 1; stroke: black; stroke-width: 1}
.data-point-rect text { display: none; }
.data-point-rect:hover text { display: inline; }
.data-point-rect:hover rect {opacity: 1; stroke: black; stroke-width: 1}
.data-point-triangle text { display: none; }
.data-point-triangle:hover text { display: inline; }
.data-point-triangle:hover polygon{opacity: 1; stroke: black; stroke-width: 1}
"""]
{-- Als nächstes erzeugen wir eine Gruppe, welche unsere x-Achse
enthält. Diese muss mit Hilfe von transform und Translate an
das Standard-Padding angepasst werden.
Dann wird die x-Achse mit entsprechender Beschriftung eingefügt.
--}
, TypedSvg.g [ TyAt.transform [ Translate (CO.padding - 1) (CO.h - CO.padding) ] ]
[ (FU.xAxisFromList range)
, TypedSvg.text_
[ TyAtIn.x 350
, TyAtIn.y 40
, TyAt.textAnchor AnchorMiddle
]
[TyCo.text "<NAME>"]
]
{-- Äquivalentes gilt für die y-Achse
--}
, TypedSvg.g [ TyAt.transform [ Translate (CO.padding - 1) CO.padding ] ]
[ (FU.yAxis completeList)
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -20
, TyAt.textAnchor AnchorMiddle
]
[TyCo.text "<NAME>"]
]
{-- Nun erzeugen wir 3 Gruppen. Jeweils eine für Kreise/Quadrate und
Dreiecke.
Mit Hilfe der entsprechenden Funktion squares, triangles oder
circles erzeugen wir diese.
Alle Funktionen bekommen eine Skala für die x-Achse und die y-Achse
um die Punkte richtig zu positionieren.
Ebenso erzeugen wir Tupel mit Hilfe von zip aus dem List.Extra
Modul.
Die Tupel sehen dann so aus, dass sie vorne die Teilnehmer Position
und hinten den Record haben:
(1, Record1), (2, Record2), ...
--}
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "squares" ]
]
( squares xScaleLocal yScaleLocal (LiEx.zip range dataList))
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "triangles" ]
]
( triangles xScaleLocal yScaleLocal (LiEx.zip range dataList))
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "circles" ]
]
( circles xScaleLocal yScaleLocal (LiEx.zip range dataList))
]
| true | module VisualizationA exposing (..)
-- IMPORTS
import List
import Html exposing (Html)
import Scale
import TypedSvg
import TypedSvg.Attributes as TyAt
import TypedSvg.Attributes.InPx as TyAtIn
import TypedSvg.Core as TyCo
import TypedSvg.Types exposing (AnchorAlignment(..), Opacity(..), Paint(..), Transform(..))
import Color
import Debug exposing (toString)
import List.Extra as LiEx
import DataProcessing as DP
import Model as MO
import Constants as CO
import Functions as FU
{-- Diese Funktion zeichnet mit Hilfe der pointCircle Funktion alle
Kreise einer Datenmenge von Records. In unserer Abbildung
repräsentieren Kreise Kniebeugenversuche. Wir erhalten 2 Skalen.
Jeweils in x und in y Richtung um die ebenfalls übergebene
Liste an x-Koordinaten und Record Tupeln richtig zu skalieren
Die pointCircle Funktion etrahiert dazu die y-Koordinate aus dem Record.
--}
circles : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List(Float, MO.OpenPowerliftingData) -> List (TyCo.Svg msg)
circles scaleX scaleY dataTupleList =
List.map (pointCircle scaleX scaleY) dataTupleList
{-- Äquivalent wie bei den Kreisen, nur dass Quadrate einen Bankdrückversuch
später kennzeichnen.
--}
squares : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List ( Float, MO.OpenPowerliftingData ) -> List (TyCo.Svg msg)
squares scaleX scaleY coord =
List.map (pointSquare scaleX scaleY) coord
{-- Äquivalent wie bei den Kreisen, nur dass Dreiecke einen Kreuzhebenversuch
später kennzeichnen.
--}
triangles : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> List ( Float, MO.OpenPowerliftingData ) -> List (TyCo.Svg msg)
triangles scaleX scaleY coord =
List.map (pointTriangle scaleX scaleY) coord
{-- Diese Funktion erzeugt einen Kreis für ein (x-Koordinaten,Record) Tupelpaar
--}
pointCircle : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointCircle scaleX scaleY ( xCoord, data ) =
let
{-- Als erstes holen wir uns aus dem Record alle Kniebeugenversuche,
da ja nur diese durch Kreise dargestellt werden sollen.
Da es sich bei diesen um Maybes handelt müssen, wir sie mit
Maybe.withDefault in sichere Float Werte umwandeln. Es sollte aber
nie ein Nothing drin stehen, da schon bei der Verarbeitung der
Rohdaten die Zeilen mit Nothing Werten gefiltert werden.
--}
squatAttempts =
List.map
(Maybe.withDefault 0)
[data.squat1Kg, data.squat2Kg, data.squat3Kg]
in
{-- Nun erzeugen wir eine Grußße in der wir jeden Versuch haben,
welcher eine Klasse bekommt, mit Hilfe der übergebenen
x und y Skalen richtig transformiert wird und anschließend
als Kreis gezeichnet wird.
Ererhält eine leichte durchsichtigkeit um Punktansammlungen besser
unterscheiden zu können.
Ebenso erhält er einen "Namen", welcher beim drüber hovern
angezeigt werden soll.
Dafür wird die Funktion createTextForPoint aus dem Modul Functions
verwendet.
--}
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-circle" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.circle
[ TyAtIn.cx 0
, TyAtIn.cy 0
, TyAtIn.r 3
, TyAt.fill <| Paint (Color.rgb255 255 68 0)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "squat"]
]
)
squatAttempts)
{-- Diese Funktion funktioniert Äquivalent wie pointCircles für Quadrate.
--}
pointSquare : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointSquare scaleX scaleY ( xCoord, data ) =
let
benchAttempts
= List.map
(Maybe.withDefault 0)
[data.bench1Kg, data.bench2Kg, data.bench3Kg]
in
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-rect" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.rect
[ TyAtIn.width 5
, TyAtIn.height 5
, TyAtIn.x -2.5
, TyAtIn.y -2.5
, TyAt.fill <| Paint (Color.rgb255 0 184 255)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "bench"]
]
)
benchAttempts)
{-- Diese Funktion funktioniert Äquivalent wie pointCircles für Dreiecke.
Allerdings müssen vorher die Punkte so berechnet werden, dass das
entstehende Dreieck zentriert auf der Linie des Athleten im Scatterplot ist.
Dies wird über polygon gemacht, da es kein eigenes TypeSvg Element für
Dreiecke gibt.
--}
pointTriangle : Scale.ContinuousScale Float -> Scale.ContinuousScale Float -> (Float, MO.OpenPowerliftingData) -> (TyCo.Svg msg)
pointTriangle scaleX scaleY ( xCoord, data ) =
let
deadAttempts =
List.map
(Maybe.withDefault 0)
[data.dead1Kg, data.dead2Kg, data.dead3Kg]
sideLength = 6
topPoint = (0, -(sqrt 3)/3 * sideLength)
leftCorner = ( -(sideLength / 2), (sqrt 3)/6 * sideLength)
rightCorner = ( (sideLength / 2), (sqrt 3)/6 * sideLength)
in
TypedSvg.g
[]
(List.indexedMap
( \i elem ->
TypedSvg.g
[ TyAt.class [ "data-point-triangle" ]
, TyAt.transform
[ Translate
(Scale.convert scaleX xCoord)
(Scale.convert scaleY elem)
]
]
[ TypedSvg.polygon
[ TyAt.points [topPoint, leftCorner, rightCorner]
, TyAt.fill <| Paint (Color.rgb255 255 230 0)
, TyAtIn.strokeWidth 0
, TyAt.stroke <| PaintNone
, TyAt.opacity <| Opacity 0.3
]
[]
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -8
, TyAt.textAnchor AnchorMiddle
]
[FU.createTextForPoint data i elem "dead"]
]
)
deadAttempts)
{-- drawScatter ist die Funktion, welche wir später in Main aufrufen, wenn
wir einen Scatterplot darstellen möchten.
Sie bekommt die Liste an Records, welche im Scatterplot dargestellt werden
sollen und gibt eine Liste von Svg msg zurück.
--}
drawScatter : List MO.OpenPowerliftingData -> List (TyCo.Svg msg)
drawScatter dataList =
let
{-- Als erstes benötigen wir eine Liste aller Übungen. Um später
die Werte der y-Achse an die Person die den höchsten bzw.
niedrigsten Wert in einer Kategorie hat anzupassen.
Ansonsten könnte es passieren, dass Werte außerhalb unseres
Scatterplots erscheinen.
--}
completeList = DP.getCompleteExcerciseWeightsList dataList
{-- Da wir auf der y-Achse numerisch die Athleten aufzählen wollen
benötigen wir als x-Koordinate für jeden Athleten die
korrespondierende Zahl um sie später mit einem Koordinatentupel zu
übergeben.
Mit Hilfe von range können wir diese umjeweils 1 ansteigende
Reihe erzeugen. Wir übergeben dazu der Funktion den kleinsten
Wert (1) und den größten Wert (Länge der Liste)
--}
range =
List.map toFloat
<| List.range 1
<| List.length dataList
{-- Als nächstes erzeugen wir uns noch unsere Skalen für die x und
y-Achsen. Die Funktionen dazu sind im Modul Functions und
sind die gleichen wie wir sie am Anfang der Vorlesung in den Übungen
verwendet hatten.
Die x-Achse erzeugen/skalieren wir mit Hilfe der range Liste und
die y-Achste erzeugen/skalieren wir mit Hilfe der completeList.
--}
xScaleLocal = FU.xScaleFromList range
yScaleLocal = FU.yScale completeList
in
{-- Zuerst legen wir mit TypedSvg.style fest, dass der/das jeweilige
Kreise/Dreick/Quadrat beim drüber hovern undurchsichtig wird
und eine schwarze Umrandung zur besseren Identifizierung bekommt.
--}
[ TypedSvg.style
[]
[TyCo.text
"""
.data-point-circle text { display: none; }
.data-point-circle:hover text { display: inline; }
.data-point-circle:hover circle{opacity: 1; stroke: black; stroke-width: 1}
.data-point-rect text { display: none; }
.data-point-rect:hover text { display: inline; }
.data-point-rect:hover rect {opacity: 1; stroke: black; stroke-width: 1}
.data-point-triangle text { display: none; }
.data-point-triangle:hover text { display: inline; }
.data-point-triangle:hover polygon{opacity: 1; stroke: black; stroke-width: 1}
"""]
{-- Als nächstes erzeugen wir eine Gruppe, welche unsere x-Achse
enthält. Diese muss mit Hilfe von transform und Translate an
das Standard-Padding angepasst werden.
Dann wird die x-Achse mit entsprechender Beschriftung eingefügt.
--}
, TypedSvg.g [ TyAt.transform [ Translate (CO.padding - 1) (CO.h - CO.padding) ] ]
[ (FU.xAxisFromList range)
, TypedSvg.text_
[ TyAtIn.x 350
, TyAtIn.y 40
, TyAt.textAnchor AnchorMiddle
]
[TyCo.text "PI:NAME:<NAME>END_PI"]
]
{-- Äquivalentes gilt für die y-Achse
--}
, TypedSvg.g [ TyAt.transform [ Translate (CO.padding - 1) CO.padding ] ]
[ (FU.yAxis completeList)
, TypedSvg.text_
[ TyAtIn.x 0
, TyAtIn.y -20
, TyAt.textAnchor AnchorMiddle
]
[TyCo.text "PI:NAME:<NAME>END_PI"]
]
{-- Nun erzeugen wir 3 Gruppen. Jeweils eine für Kreise/Quadrate und
Dreiecke.
Mit Hilfe der entsprechenden Funktion squares, triangles oder
circles erzeugen wir diese.
Alle Funktionen bekommen eine Skala für die x-Achse und die y-Achse
um die Punkte richtig zu positionieren.
Ebenso erzeugen wir Tupel mit Hilfe von zip aus dem List.Extra
Modul.
Die Tupel sehen dann so aus, dass sie vorne die Teilnehmer Position
und hinten den Record haben:
(1, Record1), (2, Record2), ...
--}
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "squares" ]
]
( squares xScaleLocal yScaleLocal (LiEx.zip range dataList))
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "triangles" ]
]
( triangles xScaleLocal yScaleLocal (LiEx.zip range dataList))
, TypedSvg.g
[ TyAt.transform
[ Translate CO.padding CO.padding ]
, TyAt.class [ "circles" ]
]
( circles xScaleLocal yScaleLocal (LiEx.zip range dataList))
]
| elm |
[
{
"context": "{-\n Swaggy Jenkins\n Jenkins API clients generated from Swagger / O",
"end": 20,
"score": 0.999479413,
"start": 6,
"tag": "NAME",
"value": "Swaggy Jenkins"
},
{
"context": "cation\n\n OpenAPI spec version: 1.1.1\n Contact: blah@cliffano.com\n\n NOTE: This file is auto generated by the open",
"end": 153,
"score": 0.999915719,
"start": 136,
"tag": "EMAIL",
"value": "blah@cliffano.com"
},
{
"context": "d by the openapi-generator.\n https://github.com/openapitools/openapi-generator.git\n Do not edit this file ma",
"end": 252,
"score": 0.9996337891,
"start": 240,
"tag": "USERNAME",
"value": "openapitools"
}
] | clients/elm/generated/src/Data/ExtensionClassContainerImpl1map.elm | PankTrue/swaggy-jenkins | 23 | {-
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
OpenAPI spec version: 1.1.1
Contact: blah@cliffano.com
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.ExtensionClassContainerImpl1map exposing (ExtensionClassContainerImpl1map, extensionClassContainerImpl1mapDecoder, extensionClassContainerImpl1mapEncoder)
import Data.ExtensionClassImpl exposing (ExtensionClassImpl, extensionClassImplDecoder, extensionClassImplEncoder)
import Data.ExtensionClassImpl exposing (ExtensionClassImpl, extensionClassImplDecoder, extensionClassImplEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (decode, optional, required)
import Json.Encode as Encode
import Maybe exposing (map, withDefault)
type alias ExtensionClassContainerImpl1map =
{ ioJenkinsBlueoceanServiceEmbeddedRestPipelineImpl : Maybe ExtensionClassImpl
, ioJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl : Maybe ExtensionClassImpl
, class : Maybe String
}
extensionClassContainerImpl1mapDecoder : Decoder ExtensionClassContainerImpl1map
extensionClassContainerImpl1mapDecoder =
decode ExtensionClassContainerImpl1map
|> optional "io.jenkins.blueocean.service.embedded.rest.PipelineImpl" (Decode.nullable extensionClassImplDecoder) Nothing
|> optional "io.jenkins.blueocean.service.embedded.rest.MultiBranchPipelineImpl" (Decode.nullable extensionClassImplDecoder) Nothing
|> optional "_class" (Decode.nullable Decode.string) Nothing
extensionClassContainerImpl1mapEncoder : ExtensionClassContainerImpl1map -> Encode.Value
extensionClassContainerImpl1mapEncoder model =
Encode.object
[ ( "io.jenkins.blueocean.service.embedded.rest.PipelineImpl", withDefault Encode.null (map extensionClassImplEncoder model.ioJenkinsBlueoceanServiceEmbeddedRestPipelineImpl) )
, ( "io.jenkins.blueocean.service.embedded.rest.MultiBranchPipelineImpl", withDefault Encode.null (map extensionClassImplEncoder model.ioJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl) )
, ( "_class", withDefault Encode.null (map Encode.string model.class) )
]
| 53512 | {-
<NAME>
Jenkins API clients generated from Swagger / Open API specification
OpenAPI spec version: 1.1.1
Contact: <EMAIL>
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.ExtensionClassContainerImpl1map exposing (ExtensionClassContainerImpl1map, extensionClassContainerImpl1mapDecoder, extensionClassContainerImpl1mapEncoder)
import Data.ExtensionClassImpl exposing (ExtensionClassImpl, extensionClassImplDecoder, extensionClassImplEncoder)
import Data.ExtensionClassImpl exposing (ExtensionClassImpl, extensionClassImplDecoder, extensionClassImplEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (decode, optional, required)
import Json.Encode as Encode
import Maybe exposing (map, withDefault)
type alias ExtensionClassContainerImpl1map =
{ ioJenkinsBlueoceanServiceEmbeddedRestPipelineImpl : Maybe ExtensionClassImpl
, ioJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl : Maybe ExtensionClassImpl
, class : Maybe String
}
extensionClassContainerImpl1mapDecoder : Decoder ExtensionClassContainerImpl1map
extensionClassContainerImpl1mapDecoder =
decode ExtensionClassContainerImpl1map
|> optional "io.jenkins.blueocean.service.embedded.rest.PipelineImpl" (Decode.nullable extensionClassImplDecoder) Nothing
|> optional "io.jenkins.blueocean.service.embedded.rest.MultiBranchPipelineImpl" (Decode.nullable extensionClassImplDecoder) Nothing
|> optional "_class" (Decode.nullable Decode.string) Nothing
extensionClassContainerImpl1mapEncoder : ExtensionClassContainerImpl1map -> Encode.Value
extensionClassContainerImpl1mapEncoder model =
Encode.object
[ ( "io.jenkins.blueocean.service.embedded.rest.PipelineImpl", withDefault Encode.null (map extensionClassImplEncoder model.ioJenkinsBlueoceanServiceEmbeddedRestPipelineImpl) )
, ( "io.jenkins.blueocean.service.embedded.rest.MultiBranchPipelineImpl", withDefault Encode.null (map extensionClassImplEncoder model.ioJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl) )
, ( "_class", withDefault Encode.null (map Encode.string model.class) )
]
| true | {-
PI:NAME:<NAME>END_PI
Jenkins API clients generated from Swagger / Open API specification
OpenAPI spec version: 1.1.1
Contact: PI:EMAIL:<EMAIL>END_PI
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.ExtensionClassContainerImpl1map exposing (ExtensionClassContainerImpl1map, extensionClassContainerImpl1mapDecoder, extensionClassContainerImpl1mapEncoder)
import Data.ExtensionClassImpl exposing (ExtensionClassImpl, extensionClassImplDecoder, extensionClassImplEncoder)
import Data.ExtensionClassImpl exposing (ExtensionClassImpl, extensionClassImplDecoder, extensionClassImplEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline exposing (decode, optional, required)
import Json.Encode as Encode
import Maybe exposing (map, withDefault)
type alias ExtensionClassContainerImpl1map =
{ ioJenkinsBlueoceanServiceEmbeddedRestPipelineImpl : Maybe ExtensionClassImpl
, ioJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl : Maybe ExtensionClassImpl
, class : Maybe String
}
extensionClassContainerImpl1mapDecoder : Decoder ExtensionClassContainerImpl1map
extensionClassContainerImpl1mapDecoder =
decode ExtensionClassContainerImpl1map
|> optional "io.jenkins.blueocean.service.embedded.rest.PipelineImpl" (Decode.nullable extensionClassImplDecoder) Nothing
|> optional "io.jenkins.blueocean.service.embedded.rest.MultiBranchPipelineImpl" (Decode.nullable extensionClassImplDecoder) Nothing
|> optional "_class" (Decode.nullable Decode.string) Nothing
extensionClassContainerImpl1mapEncoder : ExtensionClassContainerImpl1map -> Encode.Value
extensionClassContainerImpl1mapEncoder model =
Encode.object
[ ( "io.jenkins.blueocean.service.embedded.rest.PipelineImpl", withDefault Encode.null (map extensionClassImplEncoder model.ioJenkinsBlueoceanServiceEmbeddedRestPipelineImpl) )
, ( "io.jenkins.blueocean.service.embedded.rest.MultiBranchPipelineImpl", withDefault Encode.null (map extensionClassImplEncoder model.ioJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl) )
, ( "_class", withDefault Encode.null (map Encode.string model.class) )
]
| elm |
[
{
"context": " , a\n [ href \"https://github.com/WnP/vp-calendar\"\n , target \"_blank\"\n ",
"end": 5964,
"score": 0.9843999743,
"start": 5961,
"tag": "USERNAME",
"value": "WnP"
},
{
"context": "yleft\" ] [ text \"©\" ]\n , text \"2020 Steeve Chailloux - MIT License\"\n ]\n , a\n",
"end": 6129,
"score": 0.999861896,
"start": 6113,
"tag": "NAME",
"value": "Steeve Chailloux"
},
{
"context": " [ href \"https://www.buymeacoffee.com/steevec\"\n , target \"_blank\"\n ",
"end": 6239,
"score": 0.9995002151,
"start": 6232,
"tag": "USERNAME",
"value": "steevec"
}
] | src/Main.elm | WnP/vp-calendar | 0 | module Main exposing (Msg(..), main, update, view)
import Browser
import Html exposing (Html, a, div, hr, img, input, option, select, span, text)
import Html.Attributes exposing (alt, class, href, id, selected, src, style, target, type_, value)
import Html.Events exposing (onInput)
import I18n
import Iso8601
import Task
import Time
import Time.Format.I18n.I_fr_fr as Fr
main : Program String Model Msg
main =
Browser.document
{ init = init
, view = view
, update = update
, subscriptions = \_ -> Sub.none
}
type alias Model =
{ firstDay : Maybe Time.Posix
, currentValue : Int
, monthFormater : Time.Month -> String
, dayFormater : Time.Weekday -> String
, language : I18n.Language
}
init : String -> ( Model, Cmd Msg )
init lang =
( { firstDay = getFirstDayOfTheYear 1070
, currentValue = 0
, monthFormater = Fr.monthName
, dayFormater = Fr.dayShort
, language = I18n.parseLang lang
}
, Task.perform GotNow Time.now
)
getFirstDayOfTheYear : Int -> Maybe Time.Posix
getFirstDayOfTheYear year =
String.fromInt year
++ "-01-01"
|> Iso8601.toTime
|> Result.toMaybe
dayLength : Int
dayLength =
24 * 60 * 60 * 1000
calFirstDay : Time.Posix -> Time.Posix
calFirstDay firstDay =
case Time.toWeekday Time.utc firstDay of
Time.Mon ->
firstDay
Time.Tue ->
computeDays -1 firstDay
Time.Wed ->
computeDays -2 firstDay
Time.Thu ->
computeDays -3 firstDay
Time.Fri ->
computeDays -4 firstDay
Time.Sat ->
computeDays -5 firstDay
Time.Sun ->
computeDays -6 firstDay
calLastDay : Time.Posix -> Time.Posix
calLastDay firstDay =
let
lastDay =
firstDay
|> Time.toYear Time.utc
|> String.fromInt
|> (\year -> year ++ "-12-31")
|> Iso8601.toTime
|> Result.withDefault (Time.millisToPosix 0)
in
case Time.toWeekday Time.utc lastDay of
Time.Mon ->
computeDays 6 lastDay
Time.Tue ->
computeDays 5 lastDay
Time.Wed ->
computeDays 4 lastDay
Time.Thu ->
computeDays 3 lastDay
Time.Fri ->
computeDays 2 lastDay
Time.Sat ->
computeDays 1 lastDay
Time.Sun ->
lastDay
computeDays : Int -> Time.Posix -> Time.Posix
computeDays days time =
(Time.posixToMillis time + days * dayLength)
|> Time.millisToPosix
calDays : Time.Posix -> List Time.Posix
calDays firstDay =
let
cfd =
calFirstDay firstDay
cld =
calLastDay firstDay
in
(toFloat (Time.posixToMillis cld) - toFloat (Time.posixToMillis cfd))
/ toFloat dayLength
|> floor
|> List.range 0
|> List.map (\i -> computeDays i cfd)
splitByWeek : List Time.Posix -> List (List Time.Posix)
splitByWeek days =
let
rest =
List.drop 7 days
in
List.take 7 days
:: (if List.isEmpty rest then
[]
else
splitByWeek rest
)
type Msg
= GotNow Time.Posix
| GotInput String
| SetLang I18n.Language
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
GotNow time ->
let
currentYear =
Time.toYear Time.utc time
month =
Time.toMonth Time.utc time
year =
if
List.member month
[ Time.Jan
, Time.Feb
, Time.Mar
, Time.Apr
, Time.May
, Time.Jun
]
then
currentYear
else
currentYear + 1
in
update
(SetLang model.language)
{ model | firstDay = getFirstDayOfTheYear year }
GotInput value ->
let
v =
value
|> String.toFloat
|> Maybe.withDefault 1
|> floor
in
( { model
| firstDay = getFirstDayOfTheYear v
, currentValue = v
}
, Cmd.none
)
SetLang lang ->
( { model
| language = lang
, monthFormater = I18n.getMonthFormater lang
, dayFormater = I18n.getDayFormater lang
}
, Cmd.none
)
view : Model -> Browser.Document Msg
view model =
{ title = "Calendar"
, body =
[ div [ class "no-print container nav" ]
[ input
[ value
(model.firstDay
|> Maybe.map (Time.toYear Time.utc)
|> Maybe.withDefault model.currentValue
|> String.fromInt
)
, type_ "number"
, onInput GotInput
]
[]
, select [ onInput (\lang -> SetLang (I18n.parseLang lang)) ]
(I18n.availableLanguages
|> List.map
(\lang ->
option
[ value (I18n.shortCode lang)
, selected (model.language == lang)
]
[ text (I18n.toString lang) ]
)
)
, a
[ href "https://github.com/WnP/vp-calendar"
, target "_blank"
]
[ span [ id "copyleft" ] [ text "©" ]
, text "2020 Steeve Chailloux - MIT License"
]
, a
[ href "https://www.buymeacoffee.com/steevec"
, target "_blank"
]
[ img
[ src "https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
, alt "Buy Me A Coffee"
, style "height" "60px"
, style "width" "217px"
]
[]
]
]
, div [ class "container" ]
[ div [ class "page front-page" ]
[ div []
[ model.firstDay
|> Maybe.map (Time.toYear Time.utc)
|> Maybe.map String.fromInt
|> Maybe.withDefault (String.fromInt model.currentValue)
|> text
]
]
]
, div [ class "pagebreak" ] []
, model.firstDay
|> Maybe.map calDays
|> Maybe.map splitByWeek
|> Maybe.map (List.map (viewWeek model))
|> Maybe.withDefault []
|> div [ class "container" ]
]
}
viewWeek : Model -> List Time.Posix -> Html Msg
viewWeek model week =
let
leftFirstDay =
week
|> List.head
|> Maybe.withDefault (Time.millisToPosix 0)
rightFirstDay =
week
|> List.drop 3
|> List.head
|> Maybe.withDefault (Time.millisToPosix 0)
in
div []
[ div [ class "page" ]
([ viewHeader model leftFirstDay
, hr [] []
, div [ class "cell" ] [ div [ class "notes" ] [ text "Notes" ] ]
, hr [] []
]
++ viewDays model (List.take 3 week)
)
, div [ class "pagebreak" ] []
, div [ class "page" ]
([ viewHeader model rightFirstDay
, hr [] []
]
++ viewDays model (List.drop 3 week)
)
, div [ class "pagebreak" ] []
]
viewHeader : Model -> Time.Posix -> Html Msg
viewHeader model day =
div [ class "page-header" ]
[ div [ class "month" ]
[ day
|> Time.toMonth Time.utc
|> model.monthFormater
|> text
]
, div [ class "month" ]
[ day
|> Time.toYear Time.utc
|> String.fromInt
|> text
]
]
viewDays : Model -> List Time.Posix -> List (Html Msg)
viewDays model days =
days
|> List.map
(\d ->
div [ class "cell" ]
[ div [ class "day" ]
[ div [ class "name" ]
[ d
|> Time.toWeekday Time.utc
|> model.dayFormater
|> text
]
, div [ class "number" ]
[ d
|> Time.toDay Time.utc
|> String.fromInt
|> text
]
]
, div [ class "comments" ] []
]
)
|> List.intersperse (hr [] [])
| 1739 | module Main exposing (Msg(..), main, update, view)
import Browser
import Html exposing (Html, a, div, hr, img, input, option, select, span, text)
import Html.Attributes exposing (alt, class, href, id, selected, src, style, target, type_, value)
import Html.Events exposing (onInput)
import I18n
import Iso8601
import Task
import Time
import Time.Format.I18n.I_fr_fr as Fr
main : Program String Model Msg
main =
Browser.document
{ init = init
, view = view
, update = update
, subscriptions = \_ -> Sub.none
}
type alias Model =
{ firstDay : Maybe Time.Posix
, currentValue : Int
, monthFormater : Time.Month -> String
, dayFormater : Time.Weekday -> String
, language : I18n.Language
}
init : String -> ( Model, Cmd Msg )
init lang =
( { firstDay = getFirstDayOfTheYear 1070
, currentValue = 0
, monthFormater = Fr.monthName
, dayFormater = Fr.dayShort
, language = I18n.parseLang lang
}
, Task.perform GotNow Time.now
)
getFirstDayOfTheYear : Int -> Maybe Time.Posix
getFirstDayOfTheYear year =
String.fromInt year
++ "-01-01"
|> Iso8601.toTime
|> Result.toMaybe
dayLength : Int
dayLength =
24 * 60 * 60 * 1000
calFirstDay : Time.Posix -> Time.Posix
calFirstDay firstDay =
case Time.toWeekday Time.utc firstDay of
Time.Mon ->
firstDay
Time.Tue ->
computeDays -1 firstDay
Time.Wed ->
computeDays -2 firstDay
Time.Thu ->
computeDays -3 firstDay
Time.Fri ->
computeDays -4 firstDay
Time.Sat ->
computeDays -5 firstDay
Time.Sun ->
computeDays -6 firstDay
calLastDay : Time.Posix -> Time.Posix
calLastDay firstDay =
let
lastDay =
firstDay
|> Time.toYear Time.utc
|> String.fromInt
|> (\year -> year ++ "-12-31")
|> Iso8601.toTime
|> Result.withDefault (Time.millisToPosix 0)
in
case Time.toWeekday Time.utc lastDay of
Time.Mon ->
computeDays 6 lastDay
Time.Tue ->
computeDays 5 lastDay
Time.Wed ->
computeDays 4 lastDay
Time.Thu ->
computeDays 3 lastDay
Time.Fri ->
computeDays 2 lastDay
Time.Sat ->
computeDays 1 lastDay
Time.Sun ->
lastDay
computeDays : Int -> Time.Posix -> Time.Posix
computeDays days time =
(Time.posixToMillis time + days * dayLength)
|> Time.millisToPosix
calDays : Time.Posix -> List Time.Posix
calDays firstDay =
let
cfd =
calFirstDay firstDay
cld =
calLastDay firstDay
in
(toFloat (Time.posixToMillis cld) - toFloat (Time.posixToMillis cfd))
/ toFloat dayLength
|> floor
|> List.range 0
|> List.map (\i -> computeDays i cfd)
splitByWeek : List Time.Posix -> List (List Time.Posix)
splitByWeek days =
let
rest =
List.drop 7 days
in
List.take 7 days
:: (if List.isEmpty rest then
[]
else
splitByWeek rest
)
type Msg
= GotNow Time.Posix
| GotInput String
| SetLang I18n.Language
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
GotNow time ->
let
currentYear =
Time.toYear Time.utc time
month =
Time.toMonth Time.utc time
year =
if
List.member month
[ Time.Jan
, Time.Feb
, Time.Mar
, Time.Apr
, Time.May
, Time.Jun
]
then
currentYear
else
currentYear + 1
in
update
(SetLang model.language)
{ model | firstDay = getFirstDayOfTheYear year }
GotInput value ->
let
v =
value
|> String.toFloat
|> Maybe.withDefault 1
|> floor
in
( { model
| firstDay = getFirstDayOfTheYear v
, currentValue = v
}
, Cmd.none
)
SetLang lang ->
( { model
| language = lang
, monthFormater = I18n.getMonthFormater lang
, dayFormater = I18n.getDayFormater lang
}
, Cmd.none
)
view : Model -> Browser.Document Msg
view model =
{ title = "Calendar"
, body =
[ div [ class "no-print container nav" ]
[ input
[ value
(model.firstDay
|> Maybe.map (Time.toYear Time.utc)
|> Maybe.withDefault model.currentValue
|> String.fromInt
)
, type_ "number"
, onInput GotInput
]
[]
, select [ onInput (\lang -> SetLang (I18n.parseLang lang)) ]
(I18n.availableLanguages
|> List.map
(\lang ->
option
[ value (I18n.shortCode lang)
, selected (model.language == lang)
]
[ text (I18n.toString lang) ]
)
)
, a
[ href "https://github.com/WnP/vp-calendar"
, target "_blank"
]
[ span [ id "copyleft" ] [ text "©" ]
, text "2020 <NAME> - MIT License"
]
, a
[ href "https://www.buymeacoffee.com/steevec"
, target "_blank"
]
[ img
[ src "https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
, alt "Buy Me A Coffee"
, style "height" "60px"
, style "width" "217px"
]
[]
]
]
, div [ class "container" ]
[ div [ class "page front-page" ]
[ div []
[ model.firstDay
|> Maybe.map (Time.toYear Time.utc)
|> Maybe.map String.fromInt
|> Maybe.withDefault (String.fromInt model.currentValue)
|> text
]
]
]
, div [ class "pagebreak" ] []
, model.firstDay
|> Maybe.map calDays
|> Maybe.map splitByWeek
|> Maybe.map (List.map (viewWeek model))
|> Maybe.withDefault []
|> div [ class "container" ]
]
}
viewWeek : Model -> List Time.Posix -> Html Msg
viewWeek model week =
let
leftFirstDay =
week
|> List.head
|> Maybe.withDefault (Time.millisToPosix 0)
rightFirstDay =
week
|> List.drop 3
|> List.head
|> Maybe.withDefault (Time.millisToPosix 0)
in
div []
[ div [ class "page" ]
([ viewHeader model leftFirstDay
, hr [] []
, div [ class "cell" ] [ div [ class "notes" ] [ text "Notes" ] ]
, hr [] []
]
++ viewDays model (List.take 3 week)
)
, div [ class "pagebreak" ] []
, div [ class "page" ]
([ viewHeader model rightFirstDay
, hr [] []
]
++ viewDays model (List.drop 3 week)
)
, div [ class "pagebreak" ] []
]
viewHeader : Model -> Time.Posix -> Html Msg
viewHeader model day =
div [ class "page-header" ]
[ div [ class "month" ]
[ day
|> Time.toMonth Time.utc
|> model.monthFormater
|> text
]
, div [ class "month" ]
[ day
|> Time.toYear Time.utc
|> String.fromInt
|> text
]
]
viewDays : Model -> List Time.Posix -> List (Html Msg)
viewDays model days =
days
|> List.map
(\d ->
div [ class "cell" ]
[ div [ class "day" ]
[ div [ class "name" ]
[ d
|> Time.toWeekday Time.utc
|> model.dayFormater
|> text
]
, div [ class "number" ]
[ d
|> Time.toDay Time.utc
|> String.fromInt
|> text
]
]
, div [ class "comments" ] []
]
)
|> List.intersperse (hr [] [])
| true | module Main exposing (Msg(..), main, update, view)
import Browser
import Html exposing (Html, a, div, hr, img, input, option, select, span, text)
import Html.Attributes exposing (alt, class, href, id, selected, src, style, target, type_, value)
import Html.Events exposing (onInput)
import I18n
import Iso8601
import Task
import Time
import Time.Format.I18n.I_fr_fr as Fr
main : Program String Model Msg
main =
Browser.document
{ init = init
, view = view
, update = update
, subscriptions = \_ -> Sub.none
}
type alias Model =
{ firstDay : Maybe Time.Posix
, currentValue : Int
, monthFormater : Time.Month -> String
, dayFormater : Time.Weekday -> String
, language : I18n.Language
}
init : String -> ( Model, Cmd Msg )
init lang =
( { firstDay = getFirstDayOfTheYear 1070
, currentValue = 0
, monthFormater = Fr.monthName
, dayFormater = Fr.dayShort
, language = I18n.parseLang lang
}
, Task.perform GotNow Time.now
)
getFirstDayOfTheYear : Int -> Maybe Time.Posix
getFirstDayOfTheYear year =
String.fromInt year
++ "-01-01"
|> Iso8601.toTime
|> Result.toMaybe
dayLength : Int
dayLength =
24 * 60 * 60 * 1000
calFirstDay : Time.Posix -> Time.Posix
calFirstDay firstDay =
case Time.toWeekday Time.utc firstDay of
Time.Mon ->
firstDay
Time.Tue ->
computeDays -1 firstDay
Time.Wed ->
computeDays -2 firstDay
Time.Thu ->
computeDays -3 firstDay
Time.Fri ->
computeDays -4 firstDay
Time.Sat ->
computeDays -5 firstDay
Time.Sun ->
computeDays -6 firstDay
calLastDay : Time.Posix -> Time.Posix
calLastDay firstDay =
let
lastDay =
firstDay
|> Time.toYear Time.utc
|> String.fromInt
|> (\year -> year ++ "-12-31")
|> Iso8601.toTime
|> Result.withDefault (Time.millisToPosix 0)
in
case Time.toWeekday Time.utc lastDay of
Time.Mon ->
computeDays 6 lastDay
Time.Tue ->
computeDays 5 lastDay
Time.Wed ->
computeDays 4 lastDay
Time.Thu ->
computeDays 3 lastDay
Time.Fri ->
computeDays 2 lastDay
Time.Sat ->
computeDays 1 lastDay
Time.Sun ->
lastDay
computeDays : Int -> Time.Posix -> Time.Posix
computeDays days time =
(Time.posixToMillis time + days * dayLength)
|> Time.millisToPosix
calDays : Time.Posix -> List Time.Posix
calDays firstDay =
let
cfd =
calFirstDay firstDay
cld =
calLastDay firstDay
in
(toFloat (Time.posixToMillis cld) - toFloat (Time.posixToMillis cfd))
/ toFloat dayLength
|> floor
|> List.range 0
|> List.map (\i -> computeDays i cfd)
splitByWeek : List Time.Posix -> List (List Time.Posix)
splitByWeek days =
let
rest =
List.drop 7 days
in
List.take 7 days
:: (if List.isEmpty rest then
[]
else
splitByWeek rest
)
type Msg
= GotNow Time.Posix
| GotInput String
| SetLang I18n.Language
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
GotNow time ->
let
currentYear =
Time.toYear Time.utc time
month =
Time.toMonth Time.utc time
year =
if
List.member month
[ Time.Jan
, Time.Feb
, Time.Mar
, Time.Apr
, Time.May
, Time.Jun
]
then
currentYear
else
currentYear + 1
in
update
(SetLang model.language)
{ model | firstDay = getFirstDayOfTheYear year }
GotInput value ->
let
v =
value
|> String.toFloat
|> Maybe.withDefault 1
|> floor
in
( { model
| firstDay = getFirstDayOfTheYear v
, currentValue = v
}
, Cmd.none
)
SetLang lang ->
( { model
| language = lang
, monthFormater = I18n.getMonthFormater lang
, dayFormater = I18n.getDayFormater lang
}
, Cmd.none
)
view : Model -> Browser.Document Msg
view model =
{ title = "Calendar"
, body =
[ div [ class "no-print container nav" ]
[ input
[ value
(model.firstDay
|> Maybe.map (Time.toYear Time.utc)
|> Maybe.withDefault model.currentValue
|> String.fromInt
)
, type_ "number"
, onInput GotInput
]
[]
, select [ onInput (\lang -> SetLang (I18n.parseLang lang)) ]
(I18n.availableLanguages
|> List.map
(\lang ->
option
[ value (I18n.shortCode lang)
, selected (model.language == lang)
]
[ text (I18n.toString lang) ]
)
)
, a
[ href "https://github.com/WnP/vp-calendar"
, target "_blank"
]
[ span [ id "copyleft" ] [ text "©" ]
, text "2020 PI:NAME:<NAME>END_PI - MIT License"
]
, a
[ href "https://www.buymeacoffee.com/steevec"
, target "_blank"
]
[ img
[ src "https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
, alt "Buy Me A Coffee"
, style "height" "60px"
, style "width" "217px"
]
[]
]
]
, div [ class "container" ]
[ div [ class "page front-page" ]
[ div []
[ model.firstDay
|> Maybe.map (Time.toYear Time.utc)
|> Maybe.map String.fromInt
|> Maybe.withDefault (String.fromInt model.currentValue)
|> text
]
]
]
, div [ class "pagebreak" ] []
, model.firstDay
|> Maybe.map calDays
|> Maybe.map splitByWeek
|> Maybe.map (List.map (viewWeek model))
|> Maybe.withDefault []
|> div [ class "container" ]
]
}
viewWeek : Model -> List Time.Posix -> Html Msg
viewWeek model week =
let
leftFirstDay =
week
|> List.head
|> Maybe.withDefault (Time.millisToPosix 0)
rightFirstDay =
week
|> List.drop 3
|> List.head
|> Maybe.withDefault (Time.millisToPosix 0)
in
div []
[ div [ class "page" ]
([ viewHeader model leftFirstDay
, hr [] []
, div [ class "cell" ] [ div [ class "notes" ] [ text "Notes" ] ]
, hr [] []
]
++ viewDays model (List.take 3 week)
)
, div [ class "pagebreak" ] []
, div [ class "page" ]
([ viewHeader model rightFirstDay
, hr [] []
]
++ viewDays model (List.drop 3 week)
)
, div [ class "pagebreak" ] []
]
viewHeader : Model -> Time.Posix -> Html Msg
viewHeader model day =
div [ class "page-header" ]
[ div [ class "month" ]
[ day
|> Time.toMonth Time.utc
|> model.monthFormater
|> text
]
, div [ class "month" ]
[ day
|> Time.toYear Time.utc
|> String.fromInt
|> text
]
]
viewDays : Model -> List Time.Posix -> List (Html Msg)
viewDays model days =
days
|> List.map
(\d ->
div [ class "cell" ]
[ div [ class "day" ]
[ div [ class "name" ]
[ d
|> Time.toWeekday Time.utc
|> model.dayFormater
|> text
]
, div [ class "number" ]
[ d
|> Time.toDay Time.utc
|> String.fromInt
|> text
]
]
, div [ class "comments" ] []
]
)
|> List.intersperse (hr [] [])
| elm |
[
{
"context": "a, rivi riviltä heitä luen:\nHänkin siis ja myöskin Hän, nuori, vanha, nuoruuteni kansa, herkkä\nlapsi, tu",
"end": 1250,
"score": 0.9181668758,
"start": 1247,
"tag": "NAME",
"value": "Hän"
},
{
"context": "i, vanha, nuoruuteni kansa, herkkä\nlapsi, tutiseva vanhus, vieri vierin somereen suojissa, kuinka on\nvuorol",
"end": 1313,
"score": 0.9412447214,
"start": 1307,
"tag": "NAME",
"value": "vanhus"
},
{
"context": " kaipauksen kipeä kuulto.\nHämärtää silmääni kumara vanhus, tutiseva, kyhmyinen käsi kuluneella\nsauvan kouku",
"end": 1717,
"score": 0.9477599859,
"start": 1711,
"tag": "NAME",
"value": "vanhus"
}
] | SmallDataSource.elm | ohanhi/muhkeimmat-sanaparit | 0 | module SmallDataSource (alastalo) where
-- Retrieved from http://wunderdog.fi/static/alastalon_salissa.zip
alastalo = """
Suvinen, sunnuntainen ehtoopuoli. Hiljainen saaristokirkko hautausmaan
keskellä. Kirkon musta paanukatto kohoo korkeana ja vakavana
lehviköissään, läntisen auringon välke leikkii sen punaisella
seinämällä kirkastaen valkeat akkunanpielet. Sanomaton rauha ilmassa ja
ylt'ympärillä. Ainoana äänenä vain haapojen lepatus sammaltuneen
kiviaidan vierillä.
Olen aukaissut kirkkotarhan rautaportin, vingahtaen kumahtaa se kiinni
takanani saranoillaan ja käytävän somer narahtaa jalkojeni alla.
Harmaita haaltuneita puuristejä kahden puolen, tuolla täällä musta
malmiristi messinkikilvin, seassa muita korkeampana joku
rautatangolleen pujotettu peltilevy, jonka kaartuvalta pinnalta
himertää silmään ruostunut, sammaltunut kirjoitus. Hiljaisempaako vielä
ristimetsässä, kuin äsken pyhäehtoiseen lepoonsa suljetun rautaportin
suulla?
Pujottelen ristien lomitse, tapailen silmilläni haaltuneita
kirjoituksia, selvitän nimen siellä, nimen täällä. Sinäkö siinä lepäät
ja Sinäkö tämän turpeen turvissa? Nimeä nimen jälkeen, tuttua kuin oma
lapsuus, tavailen; yksitellen, kumpu kummulta, rivi riviltä heitä luen:
Hänkin siis ja myöskin Hän, nuori, vanha, nuoruuteni kansa, herkkä
lapsi, tutiseva vanhus, vieri vierin somereen suojissa, kuinka on
vuorollensa kumahdellut kuolinkello! Vilahtaa mieleeni ammoisten
muistojen komeroista aivinaisella pieluksella lepäävä pikkutyttösen
pää, riutuneilla ohimoilla sinervät suonet, kalpealla laihtuneella
poskella joku eksynyt köyhä tuhanvärinen hiussuortuva, harmaissa
silmissä orpo, elämän toivon heittänyt kaipauksen kipeä kuulto.
Hämärtää silmääni kumara vanhus, tutiseva, kyhmyinen käsi kuluneella
sauvan koukulla, ohuet hallavan valkeat hiussuortuvain rippeet kuin
kurttuihinsa haihtuvien, kärsimyksellisesti kalpeiden kasvojen
ympärillä, jotka elämä jo on riisunut niin tyyten, ettei kuolemalla
liene ollut suurta työtä niiden kasvojen sammuttamisessa. Kummulta
kummulle, ristiltä ristille vaellan, luen sammaltuneita kirjoituksia
sammuneitten ihmisten haudoilla, sammuneitten, jo vuosia ja
vuosikymmeniä sitten sammuneitten, joitten elämä kuitenkin on edessäni
kuin eilinen päivä.
"""
| 434 | module SmallDataSource (alastalo) where
-- Retrieved from http://wunderdog.fi/static/alastalon_salissa.zip
alastalo = """
Suvinen, sunnuntainen ehtoopuoli. Hiljainen saaristokirkko hautausmaan
keskellä. Kirkon musta paanukatto kohoo korkeana ja vakavana
lehviköissään, läntisen auringon välke leikkii sen punaisella
seinämällä kirkastaen valkeat akkunanpielet. Sanomaton rauha ilmassa ja
ylt'ympärillä. Ainoana äänenä vain haapojen lepatus sammaltuneen
kiviaidan vierillä.
Olen aukaissut kirkkotarhan rautaportin, vingahtaen kumahtaa se kiinni
takanani saranoillaan ja käytävän somer narahtaa jalkojeni alla.
Harmaita haaltuneita puuristejä kahden puolen, tuolla täällä musta
malmiristi messinkikilvin, seassa muita korkeampana joku
rautatangolleen pujotettu peltilevy, jonka kaartuvalta pinnalta
himertää silmään ruostunut, sammaltunut kirjoitus. Hiljaisempaako vielä
ristimetsässä, kuin äsken pyhäehtoiseen lepoonsa suljetun rautaportin
suulla?
Pujottelen ristien lomitse, tapailen silmilläni haaltuneita
kirjoituksia, selvitän nimen siellä, nimen täällä. Sinäkö siinä lepäät
ja Sinäkö tämän turpeen turvissa? Nimeä nimen jälkeen, tuttua kuin oma
lapsuus, tavailen; yksitellen, kumpu kummulta, rivi riviltä heitä luen:
Hänkin siis ja myöskin <NAME>, nuori, vanha, nuoruuteni kansa, herkkä
lapsi, tutiseva <NAME>, vieri vierin somereen suojissa, kuinka on
vuorollensa kumahdellut kuolinkello! Vilahtaa mieleeni ammoisten
muistojen komeroista aivinaisella pieluksella lepäävä pikkutyttösen
pää, riutuneilla ohimoilla sinervät suonet, kalpealla laihtuneella
poskella joku eksynyt köyhä tuhanvärinen hiussuortuva, harmaissa
silmissä orpo, elämän toivon heittänyt kaipauksen kipeä kuulto.
Hämärtää silmääni kumara <NAME>, tutiseva, kyhmyinen käsi kuluneella
sauvan koukulla, ohuet hallavan valkeat hiussuortuvain rippeet kuin
kurttuihinsa haihtuvien, kärsimyksellisesti kalpeiden kasvojen
ympärillä, jotka elämä jo on riisunut niin tyyten, ettei kuolemalla
liene ollut suurta työtä niiden kasvojen sammuttamisessa. Kummulta
kummulle, ristiltä ristille vaellan, luen sammaltuneita kirjoituksia
sammuneitten ihmisten haudoilla, sammuneitten, jo vuosia ja
vuosikymmeniä sitten sammuneitten, joitten elämä kuitenkin on edessäni
kuin eilinen päivä.
"""
| true | module SmallDataSource (alastalo) where
-- Retrieved from http://wunderdog.fi/static/alastalon_salissa.zip
alastalo = """
Suvinen, sunnuntainen ehtoopuoli. Hiljainen saaristokirkko hautausmaan
keskellä. Kirkon musta paanukatto kohoo korkeana ja vakavana
lehviköissään, läntisen auringon välke leikkii sen punaisella
seinämällä kirkastaen valkeat akkunanpielet. Sanomaton rauha ilmassa ja
ylt'ympärillä. Ainoana äänenä vain haapojen lepatus sammaltuneen
kiviaidan vierillä.
Olen aukaissut kirkkotarhan rautaportin, vingahtaen kumahtaa se kiinni
takanani saranoillaan ja käytävän somer narahtaa jalkojeni alla.
Harmaita haaltuneita puuristejä kahden puolen, tuolla täällä musta
malmiristi messinkikilvin, seassa muita korkeampana joku
rautatangolleen pujotettu peltilevy, jonka kaartuvalta pinnalta
himertää silmään ruostunut, sammaltunut kirjoitus. Hiljaisempaako vielä
ristimetsässä, kuin äsken pyhäehtoiseen lepoonsa suljetun rautaportin
suulla?
Pujottelen ristien lomitse, tapailen silmilläni haaltuneita
kirjoituksia, selvitän nimen siellä, nimen täällä. Sinäkö siinä lepäät
ja Sinäkö tämän turpeen turvissa? Nimeä nimen jälkeen, tuttua kuin oma
lapsuus, tavailen; yksitellen, kumpu kummulta, rivi riviltä heitä luen:
Hänkin siis ja myöskin PI:NAME:<NAME>END_PI, nuori, vanha, nuoruuteni kansa, herkkä
lapsi, tutiseva PI:NAME:<NAME>END_PI, vieri vierin somereen suojissa, kuinka on
vuorollensa kumahdellut kuolinkello! Vilahtaa mieleeni ammoisten
muistojen komeroista aivinaisella pieluksella lepäävä pikkutyttösen
pää, riutuneilla ohimoilla sinervät suonet, kalpealla laihtuneella
poskella joku eksynyt köyhä tuhanvärinen hiussuortuva, harmaissa
silmissä orpo, elämän toivon heittänyt kaipauksen kipeä kuulto.
Hämärtää silmääni kumara PI:NAME:<NAME>END_PI, tutiseva, kyhmyinen käsi kuluneella
sauvan koukulla, ohuet hallavan valkeat hiussuortuvain rippeet kuin
kurttuihinsa haihtuvien, kärsimyksellisesti kalpeiden kasvojen
ympärillä, jotka elämä jo on riisunut niin tyyten, ettei kuolemalla
liene ollut suurta työtä niiden kasvojen sammuttamisessa. Kummulta
kummulle, ristiltä ristille vaellan, luen sammaltuneita kirjoituksia
sammuneitten ihmisten haudoilla, sammuneitten, jo vuosia ja
vuosikymmeniä sitten sammuneitten, joitten elämä kuitenkin on edessäni
kuin eilinen päivä.
"""
| elm |
[
{
"context": "]\n [ el [ Font.bold ] <|\n text \"Marlowe \"\n , el [] <|\n text \"Mobile\"\n ",
"end": 6811,
"score": 0.9997470975,
"start": 6804,
"tag": "NAME",
"value": "Marlowe"
}
] | src/Main.elm | thistent/MarloweMobile | 0 | module Main exposing (..)
import Browser
import Browser.Dom as Dom
import Browser.Events as Events
import Browser.Navigation as Nav
import Element exposing (..)
import Element.Background as Bg
import Element.Border as Border
import Element.Events as ElEvent
import Element.Font as Font
import Element.Input as Input
import Highlight as Hi
import Keyboard as Kb
import Marlowe.Semantics as Sem exposing (Msg(..), SampleContract(..))
import Task
import Url
-- Main Function --
main : Program () Model Msg
main =
Browser.application
{ init = init
, subscriptions = subs
, update = update
, view = view
-- Stuff --
, onUrlChange = NewUrl
, onUrlRequest = Link
}
-- Model & Types --
type alias Model =
{ key : Nav.Key
, url : Url.Url
, timeDelta : Float
, blink : Hi.Blink
, sampleContract : Sem.Contract
, keyboardState : Bool
, menuVisible : Bool
, display : Dom.Viewport
, selected : Maybe Sem.Anno
}
-- Highlight Theme --
theme : Hi.Theme
theme =
Hi.lightTheme
-- Initialization --
dummyViewport : Dom.Viewport
dummyViewport =
{ scene =
{ width = 0
, height = 0
}
, viewport =
{ x = 0
, y = 0
, width = 0
, height = 0
}
}
init : () -> Url.Url -> Nav.Key -> ( Model, Cmd Msg )
init () url key =
( Model key url 0.0 Hi.Empty Sem.escrow False False dummyViewport Nothing
, Cmd.batch
[ Task.perform UpdateViewport Dom.getViewport
]
)
-- Subscriptions --
subs : Model -> Sub Msg
subs model =
Sub.batch
[ Events.onAnimationFrameDelta TimeDelta
, Events.onResize ScreenSize
]
-- Update Function --
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Link _ ->
( model, Cmd.none )
NewUrl _ ->
( model, Cmd.none )
TimeDelta delta ->
let
newDelta =
model.timeDelta + delta
in
if newDelta <= 800 then
( { model
| blink =
if newDelta <= 200 then
Hi.Empty
else if newDelta <= 400 then
Hi.HalfFull
else if newDelta <= 600 then
Hi.Full
else
Hi.HalfEmpty
, timeDelta = model.timeDelta + delta
}
, Cmd.none
)
else
( { model | timeDelta = 0 }
, Cmd.none
)
SwitchContract contract ->
case contract of
CouponBond ->
( { model | sampleContract = Sem.couponBondGuaranteed }
, Cmd.none
)
Escrow ->
( { model | sampleContract = Sem.escrow }
, Cmd.none
)
Swap ->
( { model | sampleContract = Sem.swap }
, Cmd.none
)
ZeroCoupon ->
( { model | sampleContract = Sem.zeroCouponBond }
, Cmd.none
)
NilContract ->
( { model | sampleContract = Sem.Close }
, Cmd.none
)
ToggleKeyboard ->
( { model | keyboardState = not model.keyboardState }
, Cmd.none
)
ToggleMenu ->
( { model | menuVisible = not model.menuVisible }
, Cmd.none
)
UpdateViewport vp ->
( { model | display = vp }, Cmd.none )
Select maybeAnno ->
( { model
| selected = maybeAnno
, keyboardState = True --not model.keyboardState
}
, Cmd.none
)
ScreenSize x y ->
let
oldDisp =
model.display
oldVp =
oldDisp.viewport
newVp =
{ oldVp | width = toFloat x, height = toFloat y }
newDisp =
{ oldDisp | viewport = newVp }
in
( { model | display = newDisp }
, Cmd.none
--, Cmd.batch
-- [ Task.perform UpdateViewport Dom.getViewport
-- ]
)
-- View Function --
view : Model -> Browser.Document Msg
view model =
{ title = "Marlowe Mobile"
, body =
[ Element.layout
[ width fill
, height fill
, Font.size <| round <| model.display.viewport.width / 20
, Font.color theme.accent
, Bg.color theme.bg
, Font.family
[ Font.typeface "Helvetica"
, Font.sansSerif
]
, inFront <| topRow model
, inFront <|
if model.keyboardState then
Kb.kb model.display.viewport
else
none
]
<|
el
[ width fill
, height fill --<| px <| round model.viewport.viewport.height
, Bg.color theme.bg
, paddingEach
{ edges
| left = 2 * margin
, right = 2 * margin
, top = round <| model.display.viewport.width / 5.5
, bottom = round <| model.display.viewport.height / 2
}
--, ElEvent.onClick ToggleKeyboard
, clipY
, scrollbarY
]
([ topHeader Hi.Empty (Hi.darken theme.contract) "Contract such that" Nothing
, subScope <|
genContractView Hi.Empty {- model.blink -} <|
Sem.annotateContract model.sampleContract
]
|> scopeBlock Hi.Empty (Hi.darken theme.contract)
)
]
}
topRow : Model -> Element Msg
topRow model =
row
[ Font.size <| round <| model.display.viewport.width / 12
, Font.letterSpacing 1.5
, Font.color theme.fg
, Bg.color <| Hi.addAlpha 0.9 theme.barBg
, Border.widthEach { edges | bottom = borderWidth }
, Border.dotted
, Border.color theme.accent
, width fill
, height shrink
, paddingXY (margin * 2) margin
]
[ el [ Font.bold ] <|
text "Marlowe "
, el [] <|
text "Mobile"
, Input.button
[ padding margin
, alignRight
, below <|
if model.menuVisible then
column
[ height shrink
, width shrink
, Font.size <| round <| model.display.viewport.width / 35
, Font.color theme.accent
, Border.width borderWidth
, Bg.color <| Hi.addAlpha 0.9 theme.barBg
, Border.dotted
, alignRight
, padding <| margin * 2
, spacing <| margin * 4
]
[ el [ width fill, padding margin ] <|
text <|
String.fromFloat model.display.viewport.width
++ " x "
++ String.fromFloat model.display.viewport.height
++ " screen"
, sampleButton CouponBond "CouponBondGuaranteed"
, sampleButton Escrow "Escrow"
, sampleButton Swap "Swap"
, sampleButton ZeroCoupon "ZeroCouponBond"
, sampleButton NilContract "Nil"
]
else
none
]
{ onPress = Just ToggleMenu
, label = text "≣"
}
]
margin : Int
margin =
10
gap : Int
gap =
6
borderWidth : Int
borderWidth =
2
sampleButton : SampleContract -> String -> Element Msg
sampleButton c s =
Input.button
[ width fill
, Border.width borderWidth
, Border.rounded margin
, paddingXY (margin * 2) margin
]
{ onPress = Just (SwitchContract c)
, label = text s
}
edges =
{ top = 0
, bottom = 0
, right = 0
, left = 0
}
corners =
{ topLeft = 0
, topRight = 0
, bottomLeft = 0
, bottomRight = 0
}
-- Marlow View Components --
genContractView : Hi.Blink -> Sem.AnnoContract -> Element Msg
genContractView blink contract =
let
color =
theme.contract
in
case contract of
Sem.AnnoClose anno ->
singletonHeader blink color "Close Contract" <| Just anno
Sem.AnnoPay p1 p2 tok v a anno ->
[ topHeader blink color "Pay from" <| Just anno
, subScope <| genPartyView blink p1
, midHeader blink color "to" <| Just anno
, subScope <| genPayeeView blink p2
, midHeader blink color "the amount of" <| Just anno
, subScope <| genValueView blink v
, midHeader blink color "of currency" <| Just anno
, subScope <| genTokenView blink tok
, midHeader blink color "and continue with" <| Just anno
, subScope <| genContractView blink a
]
|> scopeBlock blink color
Sem.AnnoIf o a b anno ->
[ topHeader blink color "If" <| Just anno
, subScope <| genObservationView blink o
, midHeader blink color "then" <| Just anno
, subScope <| genContractView blink a
, midHeader blink color "else" <| Just anno
, subScope <| genContractView blink b
]
|> scopeBlock blink color
Sem.AnnoWhen cases t y anno ->
[ topHeader blink color "When" <| Just anno
, column
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, spacing 15
]
(cases
|> List.map (genCaseView blink)
|> (\x ->
(++) x
[ singletonHeader blink theme.caseColor "..." <| Just anno ]
)
)
, midHeader blink color "after slot" <| Just anno
, subScope <| genNumberView blink color t
, midHeader blink color "continue as" <| Just anno
, subScope <| genContractView blink y
]
|> scopeBlock blink color
Sem.AnnoLet id val a anno ->
[ topHeader blink color "Let the number" <| Just anno
, subScope <| genNumberView blink color id
, midHeader blink color "identify the value" <| Just anno
, subScope <| genValueView blink val
, midHeader blink color "in" <| Just anno
, subScope <| genContractView blink a
]
|> scopeBlock blink color
genCaseView : Hi.Blink -> Sem.AnnoCase Sem.AnnoAction Sem.AnnoContract -> Element Msg
genCaseView blink (Sem.AnnoCase a c anno) =
let
color =
theme.caseColor
in
[ topHeader blink color "Case" <| Just anno
, subScope <| genActionView blink a
, midHeader blink color "continue as" <| Just anno
, subScope <| genContractView blink c
]
|> scopeBlock blink color
genPayeeView : Hi.Blink -> Sem.AnnoPayee -> Element Msg
genPayeeView blink payee =
case payee of
Sem.AnnoAccount id anno ->
genAccountIdView blink id
Sem.AnnoParty name anno ->
genPartyView blink name
genAccountIdView : Hi.Blink -> Sem.AnnoAccountId -> Element Msg
genAccountIdView blink (Sem.AnnoAccountId num owner anno) =
let
color =
theme.payee
in
[ topHeader blink color "Account" <| Just anno
, subScope <| genNumberView blink color num
, midHeader blink color "with owner" <| Just anno
, subScope <| genStringView blink color owner
]
|> scopeBlock blink color
genPartyView : Hi.Blink -> Sem.AnnoParty -> Element Msg
genPartyView blink party =
let
color =
theme.party
in
case party of
Sem.AnnoPK str anno ->
[ topHeader blink color "Public Key" <| Just anno
, subScope <| genStringView blink color str
]
|> scopeBlock blink color
Sem.AnnoRole str anno ->
[ topHeader blink color "Role" <| Just anno
, subScope <| genStringView blink color str
]
|> scopeBlock blink color
genStringView : Hi.Blink -> Color -> Sem.AnnoString -> Element Msg
genStringView blink color (Sem.AnnoString str anno) =
let
newColor =
Hi.lighten color
in
singletonHeader blink
newColor
("\"" ++ str ++ "\"")
<|
Just anno
genNumberView : Hi.Blink -> Color -> Sem.AnnoNum -> Element Msg
genNumberView blink color (Sem.AnnoNum num anno) =
let
newColor =
Hi.lighten color
in
singletonHeader blink newColor (String.fromInt num) <| Just anno
genTokenView : Hi.Blink -> Sem.AnnoToken -> Element Msg
genTokenView blink (Sem.AnnoToken sym name anno) =
singletonHeader blink
theme.token
(if sym == "" && name == "" then
"Ada"
else
"Token with currency "
++ sym
++ "and name "
++ name
)
<|
Just anno
genValueView : Hi.Blink -> Sem.AnnoValue Sem.AnnoObservation -> Element Msg
genValueView blink val =
let
color =
theme.value
in
case val of
Sem.AnnoAvailableMoney anno ->
singletonHeader blink color "Available Money" <| Just anno
Sem.AnnoConstant num anno ->
[ topHeader blink color "Constant" <| Just anno
, subScope <| genNumberView blink color num
]
|> scopeBlock blink color
Sem.AnnoNegValue v anno ->
[ topHeader blink color "negative" <| Just anno
, subScope <| genValueView blink v
]
|> scopeBlock blink color
Sem.AnnoAddValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "plus" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoSubValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "minus" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoMulValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "times" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoScale rat v anno ->
[ topHeader blink color "Scale by" <| Just anno
, subScope <| genRationalView blink rat
, midHeader blink color "the value" <| Just anno
, subScope <| genValueView blink v
]
|> scopeBlock blink color
Sem.AnnoChoiceValue id anno ->
[ topHeader blink color "Choice value" <| Just anno
, subScope <| genChoiceIdView blink id
]
|> scopeBlock blink color
Sem.AnnoSlotIntervalStart anno ->
singletonHeader blink color "Start of slot interval" <| Just anno
Sem.AnnoSlotIntervalEnd anno ->
singletonHeader blink color "End of slot interval" <| Just anno
Sem.AnnoUseValue id anno ->
[ topHeader blink color "Use value with identity" <| Just anno
, subScope <| genNumberView blink color id
]
|> scopeBlock blink color
Sem.AnnoCond o a b anno ->
[ topHeader blink color "If it's observed that" <| Just anno
, subScope <| genObservationView blink o
, midHeader blink color "then use the value" <| Just anno
, subScope <| genValueView blink a
, midHeader blink color "otherwise use" <| Just anno
, subScope <| genValueView blink b
]
|> scopeBlock blink color
genObservationView : Hi.Blink -> Sem.AnnoObservation -> Element Msg
genObservationView blink obs =
let
color =
theme.observation
in
case obs of
Sem.AnnoAndObs o1 o2 anno ->
[ subScope <| genObservationView blink o1
, midHeader blink color "and" <| Just anno
, subScope <| genObservationView blink o2
]
|> scopeBlock blink color
Sem.AnnoOrObs o1 o2 anno ->
[ subScope <| genObservationView blink o1
, midHeader blink color "or" <| Just anno
, subScope <| genObservationView blink o2
]
|> scopeBlock blink color
Sem.AnnoNotObs o anno ->
[ topHeader blink color "not" <| Just anno
, subScope <| genObservationView blink o
]
|> scopeBlock blink color
Sem.AnnoChooseSomething id anno ->
[ topHeader blink color "This choice is made" <| Just anno
, subScope <| genChoiceIdView blink id
]
|> scopeBlock blink color
Sem.AnnoValueGE v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is greater than or equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueGT v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is greater than" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueLT v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is less than" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueLE v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is less than or equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueEQ v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoTrueObs anno ->
singletonHeader blink color "True" <| Just anno
Sem.AnnoFalseObs anno ->
singletonHeader blink color "False" <| Just anno
genActionView : Hi.Blink -> Sem.AnnoAction -> Element Msg
genActionView blink action =
let
color =
theme.action
in
case action of
Sem.AnnoDeposit getter giver tok val anno ->
[ topHeader blink color "Deposit by" <| Just anno
, subScope <| genPartyView blink giver
, midHeader blink color "the amount of" <| Just anno
, subScope <| genValueView blink val
, midHeader blink color "currency" <| Just anno
, subScope <| genTokenView blink tok
, midHeader blink color "into account of" <| Just anno
, subScope <| genPartyView blink getter
]
|> scopeBlock blink color
Sem.AnnoChoice choice bounds anno ->
[ topHeader blink color "A choice made" <| Just anno
, subScope <| genChoiceIdView blink choice
, midHeader blink color "with bounds" <| Just anno
, column
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, spacing 15
]
--(bounds |> List.map (genBoundsView blink))
(bounds
|> List.map (genBoundsView blink)
|> (\x ->
(++) x
[ singletonHeader blink theme.bound "..." <| Just anno ]
)
)
--, subScope <| singletonHeader blink theme.bound "..." <| Just anno
]
|> scopeBlock blink color
Sem.AnnoNotify obs anno ->
[ topHeader blink color "Notification of" <| Just anno
, subScope <| genObservationView blink obs
]
|> scopeBlock blink color
genBoundsView : Hi.Blink -> Sem.AnnoBound -> Element Msg
genBoundsView blink (Sem.AnnoBound a b anno) =
let
color =
theme.bound
in
[ topHeader blink color "Between" <| Just anno
, subScope <| genNumberView blink color a
, midHeader blink color "and" <| Just anno
, subScope <| genNumberView blink color b
]
|> scopeBlock blink color
genChoiceIdView : Hi.Blink -> Sem.AnnoChoiceId -> Element Msg
genChoiceIdView blink (Sem.AnnoChoiceId choice owner anno) =
let
color =
theme.value
in
[ topHeader blink color "Choice ID" <| Just anno
, subScope <| genStringView blink color choice
, midHeader blink color "owned by" <| Just anno
, subScope <| genPartyView blink owner
]
|> scopeBlock blink color
genRationalView : Hi.Blink -> Sem.AnnoRational -> Element Msg
genRationalView blink (Sem.AnnoRational n d anno) =
let
color =
theme.value
in
[ subScope <| genNumberView blink color n
, midHeader blink color "over" <| Just anno
, subScope <| genNumberView blink color d
]
|> scopeBlock blink theme.value
-- Managing View Complexity --
scopeBlock : Hi.Blink -> Color -> List (Element Msg) -> Element Msg
scopeBlock blink color elems =
column
[ Border.widthEach { edges | left = borderWidth }
, Border.roundEach { corners | topLeft = margin, bottomLeft = margin }
, Font.color <| Hi.blinkColor blink color
]
elems
topHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
topHeader blink color label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| topLeft = margin
, topRight = margin
, bottomRight = margin
}
, Font.color <| Hi.blinkColor blink color
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
--, Bg.color Hi.bgBlue
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
midHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
midHeader blink color label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| topRight = margin
, bottomRight = margin
}
--, Bg.color Hi.bgBlue
, Font.color <| Hi.blinkColor blink color
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
{-
endHeader : String -> Maybe Sem.Anno -> Element Msg
endHeader label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| bottomLeft = margin
, topRight = margin
, bottomRight = margin
}
, Bg.color Hi.bgBlue
, Font.justify
, paddingXY (margin * 2) margin
]
in
maybeButton style label maybeAnno
-}
maybeButton : List (Attribute Msg) -> String -> Maybe Sem.Anno -> Element Msg
maybeButton style label maybeAnno =
case maybeAnno of
Nothing ->
el style <| paragraph [] [ text label ]
Just _ ->
Input.button style
{ onPress = Just <| Select maybeAnno
, label = paragraph [] [ text label ]
}
singletonHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
singletonHeader blink color label maybeAnno =
let
style =
[ Font.color <| Hi.blinkColor blink color
, Border.width borderWidth
, Border.rounded margin
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
subScope : Element Msg -> Element Msg
subScope elem =
el
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, width fill
]
elem
-- Keyboard Extras --
keyboardButton : Hi.Blink -> Color -> String -> Element Msg
keyboardButton blink color label =
el
[ Font.color <| Hi.blinkColor blink color
, Font.center
, Border.width borderWidth
, Border.rounded margin
, width fill
, paddingXY (margin * 2) margin
--, height fill
]
<|
el [ centerY, centerX ] <|
text label
| 50251 | module Main exposing (..)
import Browser
import Browser.Dom as Dom
import Browser.Events as Events
import Browser.Navigation as Nav
import Element exposing (..)
import Element.Background as Bg
import Element.Border as Border
import Element.Events as ElEvent
import Element.Font as Font
import Element.Input as Input
import Highlight as Hi
import Keyboard as Kb
import Marlowe.Semantics as Sem exposing (Msg(..), SampleContract(..))
import Task
import Url
-- Main Function --
main : Program () Model Msg
main =
Browser.application
{ init = init
, subscriptions = subs
, update = update
, view = view
-- Stuff --
, onUrlChange = NewUrl
, onUrlRequest = Link
}
-- Model & Types --
type alias Model =
{ key : Nav.Key
, url : Url.Url
, timeDelta : Float
, blink : Hi.Blink
, sampleContract : Sem.Contract
, keyboardState : Bool
, menuVisible : Bool
, display : Dom.Viewport
, selected : Maybe Sem.Anno
}
-- Highlight Theme --
theme : Hi.Theme
theme =
Hi.lightTheme
-- Initialization --
dummyViewport : Dom.Viewport
dummyViewport =
{ scene =
{ width = 0
, height = 0
}
, viewport =
{ x = 0
, y = 0
, width = 0
, height = 0
}
}
init : () -> Url.Url -> Nav.Key -> ( Model, Cmd Msg )
init () url key =
( Model key url 0.0 Hi.Empty Sem.escrow False False dummyViewport Nothing
, Cmd.batch
[ Task.perform UpdateViewport Dom.getViewport
]
)
-- Subscriptions --
subs : Model -> Sub Msg
subs model =
Sub.batch
[ Events.onAnimationFrameDelta TimeDelta
, Events.onResize ScreenSize
]
-- Update Function --
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Link _ ->
( model, Cmd.none )
NewUrl _ ->
( model, Cmd.none )
TimeDelta delta ->
let
newDelta =
model.timeDelta + delta
in
if newDelta <= 800 then
( { model
| blink =
if newDelta <= 200 then
Hi.Empty
else if newDelta <= 400 then
Hi.HalfFull
else if newDelta <= 600 then
Hi.Full
else
Hi.HalfEmpty
, timeDelta = model.timeDelta + delta
}
, Cmd.none
)
else
( { model | timeDelta = 0 }
, Cmd.none
)
SwitchContract contract ->
case contract of
CouponBond ->
( { model | sampleContract = Sem.couponBondGuaranteed }
, Cmd.none
)
Escrow ->
( { model | sampleContract = Sem.escrow }
, Cmd.none
)
Swap ->
( { model | sampleContract = Sem.swap }
, Cmd.none
)
ZeroCoupon ->
( { model | sampleContract = Sem.zeroCouponBond }
, Cmd.none
)
NilContract ->
( { model | sampleContract = Sem.Close }
, Cmd.none
)
ToggleKeyboard ->
( { model | keyboardState = not model.keyboardState }
, Cmd.none
)
ToggleMenu ->
( { model | menuVisible = not model.menuVisible }
, Cmd.none
)
UpdateViewport vp ->
( { model | display = vp }, Cmd.none )
Select maybeAnno ->
( { model
| selected = maybeAnno
, keyboardState = True --not model.keyboardState
}
, Cmd.none
)
ScreenSize x y ->
let
oldDisp =
model.display
oldVp =
oldDisp.viewport
newVp =
{ oldVp | width = toFloat x, height = toFloat y }
newDisp =
{ oldDisp | viewport = newVp }
in
( { model | display = newDisp }
, Cmd.none
--, Cmd.batch
-- [ Task.perform UpdateViewport Dom.getViewport
-- ]
)
-- View Function --
view : Model -> Browser.Document Msg
view model =
{ title = "Marlowe Mobile"
, body =
[ Element.layout
[ width fill
, height fill
, Font.size <| round <| model.display.viewport.width / 20
, Font.color theme.accent
, Bg.color theme.bg
, Font.family
[ Font.typeface "Helvetica"
, Font.sansSerif
]
, inFront <| topRow model
, inFront <|
if model.keyboardState then
Kb.kb model.display.viewport
else
none
]
<|
el
[ width fill
, height fill --<| px <| round model.viewport.viewport.height
, Bg.color theme.bg
, paddingEach
{ edges
| left = 2 * margin
, right = 2 * margin
, top = round <| model.display.viewport.width / 5.5
, bottom = round <| model.display.viewport.height / 2
}
--, ElEvent.onClick ToggleKeyboard
, clipY
, scrollbarY
]
([ topHeader Hi.Empty (Hi.darken theme.contract) "Contract such that" Nothing
, subScope <|
genContractView Hi.Empty {- model.blink -} <|
Sem.annotateContract model.sampleContract
]
|> scopeBlock Hi.Empty (Hi.darken theme.contract)
)
]
}
topRow : Model -> Element Msg
topRow model =
row
[ Font.size <| round <| model.display.viewport.width / 12
, Font.letterSpacing 1.5
, Font.color theme.fg
, Bg.color <| Hi.addAlpha 0.9 theme.barBg
, Border.widthEach { edges | bottom = borderWidth }
, Border.dotted
, Border.color theme.accent
, width fill
, height shrink
, paddingXY (margin * 2) margin
]
[ el [ Font.bold ] <|
text "<NAME> "
, el [] <|
text "Mobile"
, Input.button
[ padding margin
, alignRight
, below <|
if model.menuVisible then
column
[ height shrink
, width shrink
, Font.size <| round <| model.display.viewport.width / 35
, Font.color theme.accent
, Border.width borderWidth
, Bg.color <| Hi.addAlpha 0.9 theme.barBg
, Border.dotted
, alignRight
, padding <| margin * 2
, spacing <| margin * 4
]
[ el [ width fill, padding margin ] <|
text <|
String.fromFloat model.display.viewport.width
++ " x "
++ String.fromFloat model.display.viewport.height
++ " screen"
, sampleButton CouponBond "CouponBondGuaranteed"
, sampleButton Escrow "Escrow"
, sampleButton Swap "Swap"
, sampleButton ZeroCoupon "ZeroCouponBond"
, sampleButton NilContract "Nil"
]
else
none
]
{ onPress = Just ToggleMenu
, label = text "≣"
}
]
margin : Int
margin =
10
gap : Int
gap =
6
borderWidth : Int
borderWidth =
2
sampleButton : SampleContract -> String -> Element Msg
sampleButton c s =
Input.button
[ width fill
, Border.width borderWidth
, Border.rounded margin
, paddingXY (margin * 2) margin
]
{ onPress = Just (SwitchContract c)
, label = text s
}
edges =
{ top = 0
, bottom = 0
, right = 0
, left = 0
}
corners =
{ topLeft = 0
, topRight = 0
, bottomLeft = 0
, bottomRight = 0
}
-- Marlow View Components --
genContractView : Hi.Blink -> Sem.AnnoContract -> Element Msg
genContractView blink contract =
let
color =
theme.contract
in
case contract of
Sem.AnnoClose anno ->
singletonHeader blink color "Close Contract" <| Just anno
Sem.AnnoPay p1 p2 tok v a anno ->
[ topHeader blink color "Pay from" <| Just anno
, subScope <| genPartyView blink p1
, midHeader blink color "to" <| Just anno
, subScope <| genPayeeView blink p2
, midHeader blink color "the amount of" <| Just anno
, subScope <| genValueView blink v
, midHeader blink color "of currency" <| Just anno
, subScope <| genTokenView blink tok
, midHeader blink color "and continue with" <| Just anno
, subScope <| genContractView blink a
]
|> scopeBlock blink color
Sem.AnnoIf o a b anno ->
[ topHeader blink color "If" <| Just anno
, subScope <| genObservationView blink o
, midHeader blink color "then" <| Just anno
, subScope <| genContractView blink a
, midHeader blink color "else" <| Just anno
, subScope <| genContractView blink b
]
|> scopeBlock blink color
Sem.AnnoWhen cases t y anno ->
[ topHeader blink color "When" <| Just anno
, column
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, spacing 15
]
(cases
|> List.map (genCaseView blink)
|> (\x ->
(++) x
[ singletonHeader blink theme.caseColor "..." <| Just anno ]
)
)
, midHeader blink color "after slot" <| Just anno
, subScope <| genNumberView blink color t
, midHeader blink color "continue as" <| Just anno
, subScope <| genContractView blink y
]
|> scopeBlock blink color
Sem.AnnoLet id val a anno ->
[ topHeader blink color "Let the number" <| Just anno
, subScope <| genNumberView blink color id
, midHeader blink color "identify the value" <| Just anno
, subScope <| genValueView blink val
, midHeader blink color "in" <| Just anno
, subScope <| genContractView blink a
]
|> scopeBlock blink color
genCaseView : Hi.Blink -> Sem.AnnoCase Sem.AnnoAction Sem.AnnoContract -> Element Msg
genCaseView blink (Sem.AnnoCase a c anno) =
let
color =
theme.caseColor
in
[ topHeader blink color "Case" <| Just anno
, subScope <| genActionView blink a
, midHeader blink color "continue as" <| Just anno
, subScope <| genContractView blink c
]
|> scopeBlock blink color
genPayeeView : Hi.Blink -> Sem.AnnoPayee -> Element Msg
genPayeeView blink payee =
case payee of
Sem.AnnoAccount id anno ->
genAccountIdView blink id
Sem.AnnoParty name anno ->
genPartyView blink name
genAccountIdView : Hi.Blink -> Sem.AnnoAccountId -> Element Msg
genAccountIdView blink (Sem.AnnoAccountId num owner anno) =
let
color =
theme.payee
in
[ topHeader blink color "Account" <| Just anno
, subScope <| genNumberView blink color num
, midHeader blink color "with owner" <| Just anno
, subScope <| genStringView blink color owner
]
|> scopeBlock blink color
genPartyView : Hi.Blink -> Sem.AnnoParty -> Element Msg
genPartyView blink party =
let
color =
theme.party
in
case party of
Sem.AnnoPK str anno ->
[ topHeader blink color "Public Key" <| Just anno
, subScope <| genStringView blink color str
]
|> scopeBlock blink color
Sem.AnnoRole str anno ->
[ topHeader blink color "Role" <| Just anno
, subScope <| genStringView blink color str
]
|> scopeBlock blink color
genStringView : Hi.Blink -> Color -> Sem.AnnoString -> Element Msg
genStringView blink color (Sem.AnnoString str anno) =
let
newColor =
Hi.lighten color
in
singletonHeader blink
newColor
("\"" ++ str ++ "\"")
<|
Just anno
genNumberView : Hi.Blink -> Color -> Sem.AnnoNum -> Element Msg
genNumberView blink color (Sem.AnnoNum num anno) =
let
newColor =
Hi.lighten color
in
singletonHeader blink newColor (String.fromInt num) <| Just anno
genTokenView : Hi.Blink -> Sem.AnnoToken -> Element Msg
genTokenView blink (Sem.AnnoToken sym name anno) =
singletonHeader blink
theme.token
(if sym == "" && name == "" then
"Ada"
else
"Token with currency "
++ sym
++ "and name "
++ name
)
<|
Just anno
genValueView : Hi.Blink -> Sem.AnnoValue Sem.AnnoObservation -> Element Msg
genValueView blink val =
let
color =
theme.value
in
case val of
Sem.AnnoAvailableMoney anno ->
singletonHeader blink color "Available Money" <| Just anno
Sem.AnnoConstant num anno ->
[ topHeader blink color "Constant" <| Just anno
, subScope <| genNumberView blink color num
]
|> scopeBlock blink color
Sem.AnnoNegValue v anno ->
[ topHeader blink color "negative" <| Just anno
, subScope <| genValueView blink v
]
|> scopeBlock blink color
Sem.AnnoAddValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "plus" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoSubValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "minus" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoMulValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "times" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoScale rat v anno ->
[ topHeader blink color "Scale by" <| Just anno
, subScope <| genRationalView blink rat
, midHeader blink color "the value" <| Just anno
, subScope <| genValueView blink v
]
|> scopeBlock blink color
Sem.AnnoChoiceValue id anno ->
[ topHeader blink color "Choice value" <| Just anno
, subScope <| genChoiceIdView blink id
]
|> scopeBlock blink color
Sem.AnnoSlotIntervalStart anno ->
singletonHeader blink color "Start of slot interval" <| Just anno
Sem.AnnoSlotIntervalEnd anno ->
singletonHeader blink color "End of slot interval" <| Just anno
Sem.AnnoUseValue id anno ->
[ topHeader blink color "Use value with identity" <| Just anno
, subScope <| genNumberView blink color id
]
|> scopeBlock blink color
Sem.AnnoCond o a b anno ->
[ topHeader blink color "If it's observed that" <| Just anno
, subScope <| genObservationView blink o
, midHeader blink color "then use the value" <| Just anno
, subScope <| genValueView blink a
, midHeader blink color "otherwise use" <| Just anno
, subScope <| genValueView blink b
]
|> scopeBlock blink color
genObservationView : Hi.Blink -> Sem.AnnoObservation -> Element Msg
genObservationView blink obs =
let
color =
theme.observation
in
case obs of
Sem.AnnoAndObs o1 o2 anno ->
[ subScope <| genObservationView blink o1
, midHeader blink color "and" <| Just anno
, subScope <| genObservationView blink o2
]
|> scopeBlock blink color
Sem.AnnoOrObs o1 o2 anno ->
[ subScope <| genObservationView blink o1
, midHeader blink color "or" <| Just anno
, subScope <| genObservationView blink o2
]
|> scopeBlock blink color
Sem.AnnoNotObs o anno ->
[ topHeader blink color "not" <| Just anno
, subScope <| genObservationView blink o
]
|> scopeBlock blink color
Sem.AnnoChooseSomething id anno ->
[ topHeader blink color "This choice is made" <| Just anno
, subScope <| genChoiceIdView blink id
]
|> scopeBlock blink color
Sem.AnnoValueGE v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is greater than or equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueGT v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is greater than" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueLT v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is less than" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueLE v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is less than or equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueEQ v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoTrueObs anno ->
singletonHeader blink color "True" <| Just anno
Sem.AnnoFalseObs anno ->
singletonHeader blink color "False" <| Just anno
genActionView : Hi.Blink -> Sem.AnnoAction -> Element Msg
genActionView blink action =
let
color =
theme.action
in
case action of
Sem.AnnoDeposit getter giver tok val anno ->
[ topHeader blink color "Deposit by" <| Just anno
, subScope <| genPartyView blink giver
, midHeader blink color "the amount of" <| Just anno
, subScope <| genValueView blink val
, midHeader blink color "currency" <| Just anno
, subScope <| genTokenView blink tok
, midHeader blink color "into account of" <| Just anno
, subScope <| genPartyView blink getter
]
|> scopeBlock blink color
Sem.AnnoChoice choice bounds anno ->
[ topHeader blink color "A choice made" <| Just anno
, subScope <| genChoiceIdView blink choice
, midHeader blink color "with bounds" <| Just anno
, column
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, spacing 15
]
--(bounds |> List.map (genBoundsView blink))
(bounds
|> List.map (genBoundsView blink)
|> (\x ->
(++) x
[ singletonHeader blink theme.bound "..." <| Just anno ]
)
)
--, subScope <| singletonHeader blink theme.bound "..." <| Just anno
]
|> scopeBlock blink color
Sem.AnnoNotify obs anno ->
[ topHeader blink color "Notification of" <| Just anno
, subScope <| genObservationView blink obs
]
|> scopeBlock blink color
genBoundsView : Hi.Blink -> Sem.AnnoBound -> Element Msg
genBoundsView blink (Sem.AnnoBound a b anno) =
let
color =
theme.bound
in
[ topHeader blink color "Between" <| Just anno
, subScope <| genNumberView blink color a
, midHeader blink color "and" <| Just anno
, subScope <| genNumberView blink color b
]
|> scopeBlock blink color
genChoiceIdView : Hi.Blink -> Sem.AnnoChoiceId -> Element Msg
genChoiceIdView blink (Sem.AnnoChoiceId choice owner anno) =
let
color =
theme.value
in
[ topHeader blink color "Choice ID" <| Just anno
, subScope <| genStringView blink color choice
, midHeader blink color "owned by" <| Just anno
, subScope <| genPartyView blink owner
]
|> scopeBlock blink color
genRationalView : Hi.Blink -> Sem.AnnoRational -> Element Msg
genRationalView blink (Sem.AnnoRational n d anno) =
let
color =
theme.value
in
[ subScope <| genNumberView blink color n
, midHeader blink color "over" <| Just anno
, subScope <| genNumberView blink color d
]
|> scopeBlock blink theme.value
-- Managing View Complexity --
scopeBlock : Hi.Blink -> Color -> List (Element Msg) -> Element Msg
scopeBlock blink color elems =
column
[ Border.widthEach { edges | left = borderWidth }
, Border.roundEach { corners | topLeft = margin, bottomLeft = margin }
, Font.color <| Hi.blinkColor blink color
]
elems
topHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
topHeader blink color label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| topLeft = margin
, topRight = margin
, bottomRight = margin
}
, Font.color <| Hi.blinkColor blink color
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
--, Bg.color Hi.bgBlue
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
midHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
midHeader blink color label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| topRight = margin
, bottomRight = margin
}
--, Bg.color Hi.bgBlue
, Font.color <| Hi.blinkColor blink color
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
{-
endHeader : String -> Maybe Sem.Anno -> Element Msg
endHeader label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| bottomLeft = margin
, topRight = margin
, bottomRight = margin
}
, Bg.color Hi.bgBlue
, Font.justify
, paddingXY (margin * 2) margin
]
in
maybeButton style label maybeAnno
-}
maybeButton : List (Attribute Msg) -> String -> Maybe Sem.Anno -> Element Msg
maybeButton style label maybeAnno =
case maybeAnno of
Nothing ->
el style <| paragraph [] [ text label ]
Just _ ->
Input.button style
{ onPress = Just <| Select maybeAnno
, label = paragraph [] [ text label ]
}
singletonHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
singletonHeader blink color label maybeAnno =
let
style =
[ Font.color <| Hi.blinkColor blink color
, Border.width borderWidth
, Border.rounded margin
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
subScope : Element Msg -> Element Msg
subScope elem =
el
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, width fill
]
elem
-- Keyboard Extras --
keyboardButton : Hi.Blink -> Color -> String -> Element Msg
keyboardButton blink color label =
el
[ Font.color <| Hi.blinkColor blink color
, Font.center
, Border.width borderWidth
, Border.rounded margin
, width fill
, paddingXY (margin * 2) margin
--, height fill
]
<|
el [ centerY, centerX ] <|
text label
| true | module Main exposing (..)
import Browser
import Browser.Dom as Dom
import Browser.Events as Events
import Browser.Navigation as Nav
import Element exposing (..)
import Element.Background as Bg
import Element.Border as Border
import Element.Events as ElEvent
import Element.Font as Font
import Element.Input as Input
import Highlight as Hi
import Keyboard as Kb
import Marlowe.Semantics as Sem exposing (Msg(..), SampleContract(..))
import Task
import Url
-- Main Function --
main : Program () Model Msg
main =
Browser.application
{ init = init
, subscriptions = subs
, update = update
, view = view
-- Stuff --
, onUrlChange = NewUrl
, onUrlRequest = Link
}
-- Model & Types --
type alias Model =
{ key : Nav.Key
, url : Url.Url
, timeDelta : Float
, blink : Hi.Blink
, sampleContract : Sem.Contract
, keyboardState : Bool
, menuVisible : Bool
, display : Dom.Viewport
, selected : Maybe Sem.Anno
}
-- Highlight Theme --
theme : Hi.Theme
theme =
Hi.lightTheme
-- Initialization --
dummyViewport : Dom.Viewport
dummyViewport =
{ scene =
{ width = 0
, height = 0
}
, viewport =
{ x = 0
, y = 0
, width = 0
, height = 0
}
}
init : () -> Url.Url -> Nav.Key -> ( Model, Cmd Msg )
init () url key =
( Model key url 0.0 Hi.Empty Sem.escrow False False dummyViewport Nothing
, Cmd.batch
[ Task.perform UpdateViewport Dom.getViewport
]
)
-- Subscriptions --
subs : Model -> Sub Msg
subs model =
Sub.batch
[ Events.onAnimationFrameDelta TimeDelta
, Events.onResize ScreenSize
]
-- Update Function --
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Link _ ->
( model, Cmd.none )
NewUrl _ ->
( model, Cmd.none )
TimeDelta delta ->
let
newDelta =
model.timeDelta + delta
in
if newDelta <= 800 then
( { model
| blink =
if newDelta <= 200 then
Hi.Empty
else if newDelta <= 400 then
Hi.HalfFull
else if newDelta <= 600 then
Hi.Full
else
Hi.HalfEmpty
, timeDelta = model.timeDelta + delta
}
, Cmd.none
)
else
( { model | timeDelta = 0 }
, Cmd.none
)
SwitchContract contract ->
case contract of
CouponBond ->
( { model | sampleContract = Sem.couponBondGuaranteed }
, Cmd.none
)
Escrow ->
( { model | sampleContract = Sem.escrow }
, Cmd.none
)
Swap ->
( { model | sampleContract = Sem.swap }
, Cmd.none
)
ZeroCoupon ->
( { model | sampleContract = Sem.zeroCouponBond }
, Cmd.none
)
NilContract ->
( { model | sampleContract = Sem.Close }
, Cmd.none
)
ToggleKeyboard ->
( { model | keyboardState = not model.keyboardState }
, Cmd.none
)
ToggleMenu ->
( { model | menuVisible = not model.menuVisible }
, Cmd.none
)
UpdateViewport vp ->
( { model | display = vp }, Cmd.none )
Select maybeAnno ->
( { model
| selected = maybeAnno
, keyboardState = True --not model.keyboardState
}
, Cmd.none
)
ScreenSize x y ->
let
oldDisp =
model.display
oldVp =
oldDisp.viewport
newVp =
{ oldVp | width = toFloat x, height = toFloat y }
newDisp =
{ oldDisp | viewport = newVp }
in
( { model | display = newDisp }
, Cmd.none
--, Cmd.batch
-- [ Task.perform UpdateViewport Dom.getViewport
-- ]
)
-- View Function --
view : Model -> Browser.Document Msg
view model =
{ title = "Marlowe Mobile"
, body =
[ Element.layout
[ width fill
, height fill
, Font.size <| round <| model.display.viewport.width / 20
, Font.color theme.accent
, Bg.color theme.bg
, Font.family
[ Font.typeface "Helvetica"
, Font.sansSerif
]
, inFront <| topRow model
, inFront <|
if model.keyboardState then
Kb.kb model.display.viewport
else
none
]
<|
el
[ width fill
, height fill --<| px <| round model.viewport.viewport.height
, Bg.color theme.bg
, paddingEach
{ edges
| left = 2 * margin
, right = 2 * margin
, top = round <| model.display.viewport.width / 5.5
, bottom = round <| model.display.viewport.height / 2
}
--, ElEvent.onClick ToggleKeyboard
, clipY
, scrollbarY
]
([ topHeader Hi.Empty (Hi.darken theme.contract) "Contract such that" Nothing
, subScope <|
genContractView Hi.Empty {- model.blink -} <|
Sem.annotateContract model.sampleContract
]
|> scopeBlock Hi.Empty (Hi.darken theme.contract)
)
]
}
topRow : Model -> Element Msg
topRow model =
row
[ Font.size <| round <| model.display.viewport.width / 12
, Font.letterSpacing 1.5
, Font.color theme.fg
, Bg.color <| Hi.addAlpha 0.9 theme.barBg
, Border.widthEach { edges | bottom = borderWidth }
, Border.dotted
, Border.color theme.accent
, width fill
, height shrink
, paddingXY (margin * 2) margin
]
[ el [ Font.bold ] <|
text "PI:NAME:<NAME>END_PI "
, el [] <|
text "Mobile"
, Input.button
[ padding margin
, alignRight
, below <|
if model.menuVisible then
column
[ height shrink
, width shrink
, Font.size <| round <| model.display.viewport.width / 35
, Font.color theme.accent
, Border.width borderWidth
, Bg.color <| Hi.addAlpha 0.9 theme.barBg
, Border.dotted
, alignRight
, padding <| margin * 2
, spacing <| margin * 4
]
[ el [ width fill, padding margin ] <|
text <|
String.fromFloat model.display.viewport.width
++ " x "
++ String.fromFloat model.display.viewport.height
++ " screen"
, sampleButton CouponBond "CouponBondGuaranteed"
, sampleButton Escrow "Escrow"
, sampleButton Swap "Swap"
, sampleButton ZeroCoupon "ZeroCouponBond"
, sampleButton NilContract "Nil"
]
else
none
]
{ onPress = Just ToggleMenu
, label = text "≣"
}
]
margin : Int
margin =
10
gap : Int
gap =
6
borderWidth : Int
borderWidth =
2
sampleButton : SampleContract -> String -> Element Msg
sampleButton c s =
Input.button
[ width fill
, Border.width borderWidth
, Border.rounded margin
, paddingXY (margin * 2) margin
]
{ onPress = Just (SwitchContract c)
, label = text s
}
edges =
{ top = 0
, bottom = 0
, right = 0
, left = 0
}
corners =
{ topLeft = 0
, topRight = 0
, bottomLeft = 0
, bottomRight = 0
}
-- Marlow View Components --
genContractView : Hi.Blink -> Sem.AnnoContract -> Element Msg
genContractView blink contract =
let
color =
theme.contract
in
case contract of
Sem.AnnoClose anno ->
singletonHeader blink color "Close Contract" <| Just anno
Sem.AnnoPay p1 p2 tok v a anno ->
[ topHeader blink color "Pay from" <| Just anno
, subScope <| genPartyView blink p1
, midHeader blink color "to" <| Just anno
, subScope <| genPayeeView blink p2
, midHeader blink color "the amount of" <| Just anno
, subScope <| genValueView blink v
, midHeader blink color "of currency" <| Just anno
, subScope <| genTokenView blink tok
, midHeader blink color "and continue with" <| Just anno
, subScope <| genContractView blink a
]
|> scopeBlock blink color
Sem.AnnoIf o a b anno ->
[ topHeader blink color "If" <| Just anno
, subScope <| genObservationView blink o
, midHeader blink color "then" <| Just anno
, subScope <| genContractView blink a
, midHeader blink color "else" <| Just anno
, subScope <| genContractView blink b
]
|> scopeBlock blink color
Sem.AnnoWhen cases t y anno ->
[ topHeader blink color "When" <| Just anno
, column
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, spacing 15
]
(cases
|> List.map (genCaseView blink)
|> (\x ->
(++) x
[ singletonHeader blink theme.caseColor "..." <| Just anno ]
)
)
, midHeader blink color "after slot" <| Just anno
, subScope <| genNumberView blink color t
, midHeader blink color "continue as" <| Just anno
, subScope <| genContractView blink y
]
|> scopeBlock blink color
Sem.AnnoLet id val a anno ->
[ topHeader blink color "Let the number" <| Just anno
, subScope <| genNumberView blink color id
, midHeader blink color "identify the value" <| Just anno
, subScope <| genValueView blink val
, midHeader blink color "in" <| Just anno
, subScope <| genContractView blink a
]
|> scopeBlock blink color
genCaseView : Hi.Blink -> Sem.AnnoCase Sem.AnnoAction Sem.AnnoContract -> Element Msg
genCaseView blink (Sem.AnnoCase a c anno) =
let
color =
theme.caseColor
in
[ topHeader blink color "Case" <| Just anno
, subScope <| genActionView blink a
, midHeader blink color "continue as" <| Just anno
, subScope <| genContractView blink c
]
|> scopeBlock blink color
genPayeeView : Hi.Blink -> Sem.AnnoPayee -> Element Msg
genPayeeView blink payee =
case payee of
Sem.AnnoAccount id anno ->
genAccountIdView blink id
Sem.AnnoParty name anno ->
genPartyView blink name
genAccountIdView : Hi.Blink -> Sem.AnnoAccountId -> Element Msg
genAccountIdView blink (Sem.AnnoAccountId num owner anno) =
let
color =
theme.payee
in
[ topHeader blink color "Account" <| Just anno
, subScope <| genNumberView blink color num
, midHeader blink color "with owner" <| Just anno
, subScope <| genStringView blink color owner
]
|> scopeBlock blink color
genPartyView : Hi.Blink -> Sem.AnnoParty -> Element Msg
genPartyView blink party =
let
color =
theme.party
in
case party of
Sem.AnnoPK str anno ->
[ topHeader blink color "Public Key" <| Just anno
, subScope <| genStringView blink color str
]
|> scopeBlock blink color
Sem.AnnoRole str anno ->
[ topHeader blink color "Role" <| Just anno
, subScope <| genStringView blink color str
]
|> scopeBlock blink color
genStringView : Hi.Blink -> Color -> Sem.AnnoString -> Element Msg
genStringView blink color (Sem.AnnoString str anno) =
let
newColor =
Hi.lighten color
in
singletonHeader blink
newColor
("\"" ++ str ++ "\"")
<|
Just anno
genNumberView : Hi.Blink -> Color -> Sem.AnnoNum -> Element Msg
genNumberView blink color (Sem.AnnoNum num anno) =
let
newColor =
Hi.lighten color
in
singletonHeader blink newColor (String.fromInt num) <| Just anno
genTokenView : Hi.Blink -> Sem.AnnoToken -> Element Msg
genTokenView blink (Sem.AnnoToken sym name anno) =
singletonHeader blink
theme.token
(if sym == "" && name == "" then
"Ada"
else
"Token with currency "
++ sym
++ "and name "
++ name
)
<|
Just anno
genValueView : Hi.Blink -> Sem.AnnoValue Sem.AnnoObservation -> Element Msg
genValueView blink val =
let
color =
theme.value
in
case val of
Sem.AnnoAvailableMoney anno ->
singletonHeader blink color "Available Money" <| Just anno
Sem.AnnoConstant num anno ->
[ topHeader blink color "Constant" <| Just anno
, subScope <| genNumberView blink color num
]
|> scopeBlock blink color
Sem.AnnoNegValue v anno ->
[ topHeader blink color "negative" <| Just anno
, subScope <| genValueView blink v
]
|> scopeBlock blink color
Sem.AnnoAddValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "plus" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoSubValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "minus" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoMulValue v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "times" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoScale rat v anno ->
[ topHeader blink color "Scale by" <| Just anno
, subScope <| genRationalView blink rat
, midHeader blink color "the value" <| Just anno
, subScope <| genValueView blink v
]
|> scopeBlock blink color
Sem.AnnoChoiceValue id anno ->
[ topHeader blink color "Choice value" <| Just anno
, subScope <| genChoiceIdView blink id
]
|> scopeBlock blink color
Sem.AnnoSlotIntervalStart anno ->
singletonHeader blink color "Start of slot interval" <| Just anno
Sem.AnnoSlotIntervalEnd anno ->
singletonHeader blink color "End of slot interval" <| Just anno
Sem.AnnoUseValue id anno ->
[ topHeader blink color "Use value with identity" <| Just anno
, subScope <| genNumberView blink color id
]
|> scopeBlock blink color
Sem.AnnoCond o a b anno ->
[ topHeader blink color "If it's observed that" <| Just anno
, subScope <| genObservationView blink o
, midHeader blink color "then use the value" <| Just anno
, subScope <| genValueView blink a
, midHeader blink color "otherwise use" <| Just anno
, subScope <| genValueView blink b
]
|> scopeBlock blink color
genObservationView : Hi.Blink -> Sem.AnnoObservation -> Element Msg
genObservationView blink obs =
let
color =
theme.observation
in
case obs of
Sem.AnnoAndObs o1 o2 anno ->
[ subScope <| genObservationView blink o1
, midHeader blink color "and" <| Just anno
, subScope <| genObservationView blink o2
]
|> scopeBlock blink color
Sem.AnnoOrObs o1 o2 anno ->
[ subScope <| genObservationView blink o1
, midHeader blink color "or" <| Just anno
, subScope <| genObservationView blink o2
]
|> scopeBlock blink color
Sem.AnnoNotObs o anno ->
[ topHeader blink color "not" <| Just anno
, subScope <| genObservationView blink o
]
|> scopeBlock blink color
Sem.AnnoChooseSomething id anno ->
[ topHeader blink color "This choice is made" <| Just anno
, subScope <| genChoiceIdView blink id
]
|> scopeBlock blink color
Sem.AnnoValueGE v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is greater than or equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueGT v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is greater than" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueLT v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is less than" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueLE v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is less than or equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoValueEQ v1 v2 anno ->
[ subScope <| genValueView blink v1
, midHeader blink color "is equal to" <| Just anno
, subScope <| genValueView blink v2
]
|> scopeBlock blink color
Sem.AnnoTrueObs anno ->
singletonHeader blink color "True" <| Just anno
Sem.AnnoFalseObs anno ->
singletonHeader blink color "False" <| Just anno
genActionView : Hi.Blink -> Sem.AnnoAction -> Element Msg
genActionView blink action =
let
color =
theme.action
in
case action of
Sem.AnnoDeposit getter giver tok val anno ->
[ topHeader blink color "Deposit by" <| Just anno
, subScope <| genPartyView blink giver
, midHeader blink color "the amount of" <| Just anno
, subScope <| genValueView blink val
, midHeader blink color "currency" <| Just anno
, subScope <| genTokenView blink tok
, midHeader blink color "into account of" <| Just anno
, subScope <| genPartyView blink getter
]
|> scopeBlock blink color
Sem.AnnoChoice choice bounds anno ->
[ topHeader blink color "A choice made" <| Just anno
, subScope <| genChoiceIdView blink choice
, midHeader blink color "with bounds" <| Just anno
, column
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, spacing 15
]
--(bounds |> List.map (genBoundsView blink))
(bounds
|> List.map (genBoundsView blink)
|> (\x ->
(++) x
[ singletonHeader blink theme.bound "..." <| Just anno ]
)
)
--, subScope <| singletonHeader blink theme.bound "..." <| Just anno
]
|> scopeBlock blink color
Sem.AnnoNotify obs anno ->
[ topHeader blink color "Notification of" <| Just anno
, subScope <| genObservationView blink obs
]
|> scopeBlock blink color
genBoundsView : Hi.Blink -> Sem.AnnoBound -> Element Msg
genBoundsView blink (Sem.AnnoBound a b anno) =
let
color =
theme.bound
in
[ topHeader blink color "Between" <| Just anno
, subScope <| genNumberView blink color a
, midHeader blink color "and" <| Just anno
, subScope <| genNumberView blink color b
]
|> scopeBlock blink color
genChoiceIdView : Hi.Blink -> Sem.AnnoChoiceId -> Element Msg
genChoiceIdView blink (Sem.AnnoChoiceId choice owner anno) =
let
color =
theme.value
in
[ topHeader blink color "Choice ID" <| Just anno
, subScope <| genStringView blink color choice
, midHeader blink color "owned by" <| Just anno
, subScope <| genPartyView blink owner
]
|> scopeBlock blink color
genRationalView : Hi.Blink -> Sem.AnnoRational -> Element Msg
genRationalView blink (Sem.AnnoRational n d anno) =
let
color =
theme.value
in
[ subScope <| genNumberView blink color n
, midHeader blink color "over" <| Just anno
, subScope <| genNumberView blink color d
]
|> scopeBlock blink theme.value
-- Managing View Complexity --
scopeBlock : Hi.Blink -> Color -> List (Element Msg) -> Element Msg
scopeBlock blink color elems =
column
[ Border.widthEach { edges | left = borderWidth }
, Border.roundEach { corners | topLeft = margin, bottomLeft = margin }
, Font.color <| Hi.blinkColor blink color
]
elems
topHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
topHeader blink color label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| topLeft = margin
, topRight = margin
, bottomRight = margin
}
, Font.color <| Hi.blinkColor blink color
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
--, Bg.color Hi.bgBlue
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
midHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
midHeader blink color label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| topRight = margin
, bottomRight = margin
}
--, Bg.color Hi.bgBlue
, Font.color <| Hi.blinkColor blink color
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
{-
endHeader : String -> Maybe Sem.Anno -> Element Msg
endHeader label maybeAnno =
let
style =
[ Border.widthEach
{ edges
| top = borderWidth
, right = borderWidth
, bottom = borderWidth
}
, Border.roundEach
{ corners
| bottomLeft = margin
, topRight = margin
, bottomRight = margin
}
, Bg.color Hi.bgBlue
, Font.justify
, paddingXY (margin * 2) margin
]
in
maybeButton style label maybeAnno
-}
maybeButton : List (Attribute Msg) -> String -> Maybe Sem.Anno -> Element Msg
maybeButton style label maybeAnno =
case maybeAnno of
Nothing ->
el style <| paragraph [] [ text label ]
Just _ ->
Input.button style
{ onPress = Just <| Select maybeAnno
, label = paragraph [] [ text label ]
}
singletonHeader : Hi.Blink -> Color -> String -> Maybe Sem.Anno -> Element Msg
singletonHeader blink color label maybeAnno =
let
style =
[ Font.color <| Hi.blinkColor blink color
, Border.width borderWidth
, Border.rounded margin
, Bg.color <| Hi.addAlpha 0.2 <| Hi.blinkColor blink color
, Font.justify
, paddingXY (gap * 2) gap
]
in
maybeButton style label maybeAnno
subScope : Element Msg -> Element Msg
subScope elem =
el
[ paddingEach { edges | top = 15, left = 15, bottom = 15 }
, width fill
]
elem
-- Keyboard Extras --
keyboardButton : Hi.Blink -> Color -> String -> Element Msg
keyboardButton blink color label =
el
[ Font.color <| Hi.blinkColor blink color
, Font.center
, Border.width borderWidth
, Border.rounded margin
, width fill
, paddingXY (margin * 2) margin
--, height fill
]
<|
el [ centerY, centerX ] <|
text label
| elm |
[
{
"context": "-default btn-xs\"\n , href \"mailto:marick@roundingpegs.com?subject=Browser%20report\"\n ]\n ",
"end": 1362,
"score": 0.9999222755,
"start": 1339,
"tag": "EMAIL",
"value": "marick@roundingpegs.com"
}
] | web/elm/IV/View/MainPage.elm | marick/eecrit | 10 | module IV.View.MainPage exposing (view)
import Animation
import Html exposing (..)
import Html.Attributes exposing (..)
import Svg
import Svg.Attributes as SA
import Vendor
import IV.Pile.HtmlShorthand exposing (..)
import IV.View.Layout as Layout
import IV.Main exposing (Model)
import IV.Msg exposing (Msg(..))
import IV.Scenario.View as Scenario
import IV.Apparatus.View as Apparatus
import IV.Clock.View as Clock
graphics = {width = "400px", height = "400px"}
mainSvg contents =
row []
[ Svg.svg
[ SA.version "1.1"
, SA.x "0"
, SA.y "0"
, SA.width graphics.width
, SA.height graphics.height
]
contents
]
view : Model -> Html Msg
view model =
div []
[ Layout.headerWith (Scenario.viewScenarioChoices model.scenario)
, Scenario.viewCaseBackgroundEditor model.scenario
, div [class "row" ]
[ div [ class "col-sm-6" ]
[ mainSvg (Apparatus.view model.apparatus ++ Clock.view model.clock)
]
, div [ class "col-sm-6" ]
[ Scenario.viewTreatmentEditor model.scenario
]
]
, Layout.footerWith aboutThisBrowser Layout.defaultFooterNav
]
aboutThisBrowser =
let
letMeKnow = a [ type_ "button"
, class "btn btn-default btn-xs"
, href "mailto:marick@roundingpegs.com?subject=Browser%20report"
]
[ text "let me know" ]
default = [ text "Note: I don't know if the drawing or animation "
, text "will work on your browser. If it does, "
, letMeKnow
]
body =
case Vendor.prefix of
Vendor.Webkit ->
[ text "Note: "
, text "This app's animation is known to work on the latest version of your browser. "
, text "If you are having problems, you can try upgrading."
]
Vendor.Moz ->
[ span [style [("color", "red")]]
[ text "This app's drawing and animation is known "
, b [] [text "not"]
, text " to work on the Macintosh version of Firefox, and it "
, text " probably doesn't work on any version. If it "
, b [] [text "does"]
, text " work, "
, letMeKnow
]
]
Vendor.MS ->
[ text "Note: I don't have a Windows computer, so I don't know if "
, text "this will work with your browser. If it does, "
, letMeKnow
]
_ ->
default
in
row [ class "col-sm-12" ] body
| 25912 | module IV.View.MainPage exposing (view)
import Animation
import Html exposing (..)
import Html.Attributes exposing (..)
import Svg
import Svg.Attributes as SA
import Vendor
import IV.Pile.HtmlShorthand exposing (..)
import IV.View.Layout as Layout
import IV.Main exposing (Model)
import IV.Msg exposing (Msg(..))
import IV.Scenario.View as Scenario
import IV.Apparatus.View as Apparatus
import IV.Clock.View as Clock
graphics = {width = "400px", height = "400px"}
mainSvg contents =
row []
[ Svg.svg
[ SA.version "1.1"
, SA.x "0"
, SA.y "0"
, SA.width graphics.width
, SA.height graphics.height
]
contents
]
view : Model -> Html Msg
view model =
div []
[ Layout.headerWith (Scenario.viewScenarioChoices model.scenario)
, Scenario.viewCaseBackgroundEditor model.scenario
, div [class "row" ]
[ div [ class "col-sm-6" ]
[ mainSvg (Apparatus.view model.apparatus ++ Clock.view model.clock)
]
, div [ class "col-sm-6" ]
[ Scenario.viewTreatmentEditor model.scenario
]
]
, Layout.footerWith aboutThisBrowser Layout.defaultFooterNav
]
aboutThisBrowser =
let
letMeKnow = a [ type_ "button"
, class "btn btn-default btn-xs"
, href "mailto:<EMAIL>?subject=Browser%20report"
]
[ text "let me know" ]
default = [ text "Note: I don't know if the drawing or animation "
, text "will work on your browser. If it does, "
, letMeKnow
]
body =
case Vendor.prefix of
Vendor.Webkit ->
[ text "Note: "
, text "This app's animation is known to work on the latest version of your browser. "
, text "If you are having problems, you can try upgrading."
]
Vendor.Moz ->
[ span [style [("color", "red")]]
[ text "This app's drawing and animation is known "
, b [] [text "not"]
, text " to work on the Macintosh version of Firefox, and it "
, text " probably doesn't work on any version. If it "
, b [] [text "does"]
, text " work, "
, letMeKnow
]
]
Vendor.MS ->
[ text "Note: I don't have a Windows computer, so I don't know if "
, text "this will work with your browser. If it does, "
, letMeKnow
]
_ ->
default
in
row [ class "col-sm-12" ] body
| true | module IV.View.MainPage exposing (view)
import Animation
import Html exposing (..)
import Html.Attributes exposing (..)
import Svg
import Svg.Attributes as SA
import Vendor
import IV.Pile.HtmlShorthand exposing (..)
import IV.View.Layout as Layout
import IV.Main exposing (Model)
import IV.Msg exposing (Msg(..))
import IV.Scenario.View as Scenario
import IV.Apparatus.View as Apparatus
import IV.Clock.View as Clock
graphics = {width = "400px", height = "400px"}
mainSvg contents =
row []
[ Svg.svg
[ SA.version "1.1"
, SA.x "0"
, SA.y "0"
, SA.width graphics.width
, SA.height graphics.height
]
contents
]
view : Model -> Html Msg
view model =
div []
[ Layout.headerWith (Scenario.viewScenarioChoices model.scenario)
, Scenario.viewCaseBackgroundEditor model.scenario
, div [class "row" ]
[ div [ class "col-sm-6" ]
[ mainSvg (Apparatus.view model.apparatus ++ Clock.view model.clock)
]
, div [ class "col-sm-6" ]
[ Scenario.viewTreatmentEditor model.scenario
]
]
, Layout.footerWith aboutThisBrowser Layout.defaultFooterNav
]
aboutThisBrowser =
let
letMeKnow = a [ type_ "button"
, class "btn btn-default btn-xs"
, href "mailto:PI:EMAIL:<EMAIL>END_PI?subject=Browser%20report"
]
[ text "let me know" ]
default = [ text "Note: I don't know if the drawing or animation "
, text "will work on your browser. If it does, "
, letMeKnow
]
body =
case Vendor.prefix of
Vendor.Webkit ->
[ text "Note: "
, text "This app's animation is known to work on the latest version of your browser. "
, text "If you are having problems, you can try upgrading."
]
Vendor.Moz ->
[ span [style [("color", "red")]]
[ text "This app's drawing and animation is known "
, b [] [text "not"]
, text " to work on the Macintosh version of Firefox, and it "
, text " probably doesn't work on any version. If it "
, b [] [text "does"]
, text " work, "
, letMeKnow
]
]
Vendor.MS ->
[ text "Note: I don't have a Windows computer, so I don't know if "
, text "this will work with your browser. If it does, "
, letMeKnow
]
_ ->
default
in
row [ class "col-sm-12" ] body
| elm |
[
{
"context": "nf.ValidationSpecs )\n keys =\n R10.Form.Internal.Update.allValidationKeysMaker form\n",
"end": 3652,
"score": 0.6064716578,
"start": 3651,
"tag": "KEY",
"value": "0"
}
] | src/R10/FormComponents/Internal/Utils.elm | rakutentech/rakuten-ui | 0 | module R10.FormComponents.Internal.Utils exposing
( entitiesValidationOutcomes
, entitiesWithErrors
, errorsList
, listSlice
, stringInsertAtMulti
)
{-| same as String.Extra.insertAt but allows to input at several positions at once
-}
import R10.Form.Internal.Converter
import R10.Form.Internal.Dict
import R10.Form.Internal.FieldConf
import R10.Form.Internal.FieldState
import R10.Form.Internal.Key
import R10.Form.Internal.Shared
import R10.Form.Internal.Translator
import R10.Form.Internal.Update
import R10.FormComponents.Internal.Validations
import R10.FormTypes
import String.Extra
stringInsertAtMulti : String -> List Int -> String -> String
stringInsertAtMulti insert positions string =
let
insertLen : Int
insertLen =
String.length insert
insertAtOffset : Int -> { c | offset : Int, str : String } -> { offset : Int, str : String }
insertAtOffset pos { str, offset } =
{ str = String.Extra.insertAt insert (pos + offset) str
, offset = offset + insertLen
}
in
List.foldl insertAtOffset { str = string, offset = 0 } positions
|> .str
listSlice : Int -> Int -> List b -> List b
listSlice from to list =
if from >= to then
[]
else
List.drop from list
|> List.indexedMap
(\idx opt ->
if idx < (to - from) then
Just opt
else
Nothing
)
|> List.filterMap identity
errorsList :
R10.Form.Internal.Shared.Form
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, spec )
-> List ( ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, spec ), R10.Form.Internal.FieldState.FieldState )
errorsList form entitiesWithErrors_ =
entitiesWithErrors_
|> List.map (\( key, fieldType, spec ) -> ( ( key, fieldType, spec ), R10.Form.Internal.Dict.get key form.state.fieldsState ))
|> List.filterMap
(\( ( key, fieldType, spec ), maybeFieldState ) ->
case maybeFieldState of
Nothing ->
Nothing
Just fieldState ->
Just ( ( key, fieldType, spec ), fieldState )
)
entitiesWithErrors :
R10.Form.Internal.Shared.Form
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
entitiesWithErrors form =
let
allKeys : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
allKeys =
R10.Form.Internal.Update.allValidationKeysMaker form
fieldsWithErrors_ : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
fieldsWithErrors_ =
R10.Form.Internal.Update.entitiesWithErrors allKeys form.state.fieldsState
in
fieldsWithErrors_
entitiesValidationOutcomes :
R10.Form.Internal.Shared.Form
-> Maybe R10.Form.Internal.Translator.Translator
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, R10.FormComponents.Internal.Validations.ValidationForView )
entitiesValidationOutcomes form maybeTranslator =
let
translator : R10.Form.Internal.Translator.Translator
translator =
Maybe.withDefault R10.Form.Internal.Translator.translator maybeTranslator
keys : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
keys =
R10.Form.Internal.Update.allValidationKeysMaker form
in
form.state.fieldsState
|> R10.Form.Internal.Update.entitiesWithErrors keys
|> errorsList form
|> List.map
(\( ( key, fieldType, validationSpec ), fieldState ) ->
( key
, fieldType
, R10.Form.Internal.Converter.fromFieldStateValidationToComponentValidation
validationSpec
fieldState.validation
(translator key)
)
)
| 48436 | module R10.FormComponents.Internal.Utils exposing
( entitiesValidationOutcomes
, entitiesWithErrors
, errorsList
, listSlice
, stringInsertAtMulti
)
{-| same as String.Extra.insertAt but allows to input at several positions at once
-}
import R10.Form.Internal.Converter
import R10.Form.Internal.Dict
import R10.Form.Internal.FieldConf
import R10.Form.Internal.FieldState
import R10.Form.Internal.Key
import R10.Form.Internal.Shared
import R10.Form.Internal.Translator
import R10.Form.Internal.Update
import R10.FormComponents.Internal.Validations
import R10.FormTypes
import String.Extra
stringInsertAtMulti : String -> List Int -> String -> String
stringInsertAtMulti insert positions string =
let
insertLen : Int
insertLen =
String.length insert
insertAtOffset : Int -> { c | offset : Int, str : String } -> { offset : Int, str : String }
insertAtOffset pos { str, offset } =
{ str = String.Extra.insertAt insert (pos + offset) str
, offset = offset + insertLen
}
in
List.foldl insertAtOffset { str = string, offset = 0 } positions
|> .str
listSlice : Int -> Int -> List b -> List b
listSlice from to list =
if from >= to then
[]
else
List.drop from list
|> List.indexedMap
(\idx opt ->
if idx < (to - from) then
Just opt
else
Nothing
)
|> List.filterMap identity
errorsList :
R10.Form.Internal.Shared.Form
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, spec )
-> List ( ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, spec ), R10.Form.Internal.FieldState.FieldState )
errorsList form entitiesWithErrors_ =
entitiesWithErrors_
|> List.map (\( key, fieldType, spec ) -> ( ( key, fieldType, spec ), R10.Form.Internal.Dict.get key form.state.fieldsState ))
|> List.filterMap
(\( ( key, fieldType, spec ), maybeFieldState ) ->
case maybeFieldState of
Nothing ->
Nothing
Just fieldState ->
Just ( ( key, fieldType, spec ), fieldState )
)
entitiesWithErrors :
R10.Form.Internal.Shared.Form
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
entitiesWithErrors form =
let
allKeys : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
allKeys =
R10.Form.Internal.Update.allValidationKeysMaker form
fieldsWithErrors_ : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
fieldsWithErrors_ =
R10.Form.Internal.Update.entitiesWithErrors allKeys form.state.fieldsState
in
fieldsWithErrors_
entitiesValidationOutcomes :
R10.Form.Internal.Shared.Form
-> Maybe R10.Form.Internal.Translator.Translator
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, R10.FormComponents.Internal.Validations.ValidationForView )
entitiesValidationOutcomes form maybeTranslator =
let
translator : R10.Form.Internal.Translator.Translator
translator =
Maybe.withDefault R10.Form.Internal.Translator.translator maybeTranslator
keys : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
keys =
R1<KEY>.Form.Internal.Update.allValidationKeysMaker form
in
form.state.fieldsState
|> R10.Form.Internal.Update.entitiesWithErrors keys
|> errorsList form
|> List.map
(\( ( key, fieldType, validationSpec ), fieldState ) ->
( key
, fieldType
, R10.Form.Internal.Converter.fromFieldStateValidationToComponentValidation
validationSpec
fieldState.validation
(translator key)
)
)
| true | module R10.FormComponents.Internal.Utils exposing
( entitiesValidationOutcomes
, entitiesWithErrors
, errorsList
, listSlice
, stringInsertAtMulti
)
{-| same as String.Extra.insertAt but allows to input at several positions at once
-}
import R10.Form.Internal.Converter
import R10.Form.Internal.Dict
import R10.Form.Internal.FieldConf
import R10.Form.Internal.FieldState
import R10.Form.Internal.Key
import R10.Form.Internal.Shared
import R10.Form.Internal.Translator
import R10.Form.Internal.Update
import R10.FormComponents.Internal.Validations
import R10.FormTypes
import String.Extra
stringInsertAtMulti : String -> List Int -> String -> String
stringInsertAtMulti insert positions string =
let
insertLen : Int
insertLen =
String.length insert
insertAtOffset : Int -> { c | offset : Int, str : String } -> { offset : Int, str : String }
insertAtOffset pos { str, offset } =
{ str = String.Extra.insertAt insert (pos + offset) str
, offset = offset + insertLen
}
in
List.foldl insertAtOffset { str = string, offset = 0 } positions
|> .str
listSlice : Int -> Int -> List b -> List b
listSlice from to list =
if from >= to then
[]
else
List.drop from list
|> List.indexedMap
(\idx opt ->
if idx < (to - from) then
Just opt
else
Nothing
)
|> List.filterMap identity
errorsList :
R10.Form.Internal.Shared.Form
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, spec )
-> List ( ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, spec ), R10.Form.Internal.FieldState.FieldState )
errorsList form entitiesWithErrors_ =
entitiesWithErrors_
|> List.map (\( key, fieldType, spec ) -> ( ( key, fieldType, spec ), R10.Form.Internal.Dict.get key form.state.fieldsState ))
|> List.filterMap
(\( ( key, fieldType, spec ), maybeFieldState ) ->
case maybeFieldState of
Nothing ->
Nothing
Just fieldState ->
Just ( ( key, fieldType, spec ), fieldState )
)
entitiesWithErrors :
R10.Form.Internal.Shared.Form
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
entitiesWithErrors form =
let
allKeys : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
allKeys =
R10.Form.Internal.Update.allValidationKeysMaker form
fieldsWithErrors_ : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
fieldsWithErrors_ =
R10.Form.Internal.Update.entitiesWithErrors allKeys form.state.fieldsState
in
fieldsWithErrors_
entitiesValidationOutcomes :
R10.Form.Internal.Shared.Form
-> Maybe R10.Form.Internal.Translator.Translator
-> List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, R10.FormComponents.Internal.Validations.ValidationForView )
entitiesValidationOutcomes form maybeTranslator =
let
translator : R10.Form.Internal.Translator.Translator
translator =
Maybe.withDefault R10.Form.Internal.Translator.translator maybeTranslator
keys : List ( R10.Form.Internal.Key.Key, R10.FormTypes.FieldType, Maybe R10.Form.Internal.FieldConf.ValidationSpecs )
keys =
R1PI:KEY:<KEY>END_PI.Form.Internal.Update.allValidationKeysMaker form
in
form.state.fieldsState
|> R10.Form.Internal.Update.entitiesWithErrors keys
|> errorsList form
|> List.map
(\( ( key, fieldType, validationSpec ), fieldState ) ->
( key
, fieldType
, R10.Form.Internal.Converter.fromFieldStateValidationToComponentValidation
validationSpec
fieldState.validation
(translator key)
)
)
| elm |
[
{
"context": "ap\n (\\item ->\n if item.name == \"Aged Brie\" || item.name == \"Backstage passes to a TAFKAL80E",
"end": 270,
"score": 0.9998416901,
"start": 261,
"tag": "NAME",
"value": "Aged Brie"
},
{
"context": "item.sell_by }\n\n else if item.name /= \"Aged Brie\" && item.name /= \"Sulfuras, Hand of Ragnaros\" the",
"end": 1251,
"score": 0.9998314381,
"start": 1242,
"tag": "NAME",
"value": "Aged Brie"
},
{
"context": "else if item.name /= \"Aged Brie\" && item.name /= \"Sulfuras, Hand of Ragnaros\" then\n if item.s",
"end": 1278,
"score": 0.9993610382,
"start": 1270,
"tag": "NAME",
"value": "Sulfuras"
}
] | elm/src/GildedRose.elm | yangyangisyou/GildedRose-Refactoring-Kata | 2,201 | module GildedRose exposing (Item, update_quality)
type alias Item =
{ name : String
, sell_by : Int
, quality : Int
}
update_quality : List Item -> List Item
update_quality items =
List.map
(\item ->
if item.name == "Aged Brie" || item.name == "Backstage passes to a TAFKAL80ETC concert" then
if item.quality < 50 then
if item.name == "Backstage passes to a TAFKAL80ETC concert" then
if item.sell_by < 0 then
{ item | sell_by = item.sell_by - 1, quality = 0 }
else if item.sell_by < 6 then
{ item | sell_by = item.sell_by - 1, quality = item.quality + 3 }
else if item.sell_by < 11 then
{ item | sell_by = item.sell_by - 1, quality = item.quality + 2 }
else
{ item | sell_by = item.sell_by - 1, quality = item.quality + 1 }
else
{ item | sell_by = item.sell_by - 1, quality = item.quality + 1 }
else
{ item | sell_by = item.sell_by }
else if item.name /= "Aged Brie" && item.name /= "Sulfuras, Hand of Ragnaros" then
if item.sell_by < 0 && item.quality > 0 then
if item.quality >= 2 then
{ item | sell_by = item.sell_by - 1, quality = item.quality - 2 }
else
{ item | sell_by = item.sell_by - 1, quality = 0 }
else if item.quality >= 1 then
{ item | sell_by = item.sell_by - 1, quality = item.quality - 1 }
else
{ item | sell_by = item.sell_by - 1, quality = 0 }
else
item
)
items
| 28876 | module GildedRose exposing (Item, update_quality)
type alias Item =
{ name : String
, sell_by : Int
, quality : Int
}
update_quality : List Item -> List Item
update_quality items =
List.map
(\item ->
if item.name == "<NAME>" || item.name == "Backstage passes to a TAFKAL80ETC concert" then
if item.quality < 50 then
if item.name == "Backstage passes to a TAFKAL80ETC concert" then
if item.sell_by < 0 then
{ item | sell_by = item.sell_by - 1, quality = 0 }
else if item.sell_by < 6 then
{ item | sell_by = item.sell_by - 1, quality = item.quality + 3 }
else if item.sell_by < 11 then
{ item | sell_by = item.sell_by - 1, quality = item.quality + 2 }
else
{ item | sell_by = item.sell_by - 1, quality = item.quality + 1 }
else
{ item | sell_by = item.sell_by - 1, quality = item.quality + 1 }
else
{ item | sell_by = item.sell_by }
else if item.name /= "<NAME>" && item.name /= "<NAME>, Hand of Ragnaros" then
if item.sell_by < 0 && item.quality > 0 then
if item.quality >= 2 then
{ item | sell_by = item.sell_by - 1, quality = item.quality - 2 }
else
{ item | sell_by = item.sell_by - 1, quality = 0 }
else if item.quality >= 1 then
{ item | sell_by = item.sell_by - 1, quality = item.quality - 1 }
else
{ item | sell_by = item.sell_by - 1, quality = 0 }
else
item
)
items
| true | module GildedRose exposing (Item, update_quality)
type alias Item =
{ name : String
, sell_by : Int
, quality : Int
}
update_quality : List Item -> List Item
update_quality items =
List.map
(\item ->
if item.name == "PI:NAME:<NAME>END_PI" || item.name == "Backstage passes to a TAFKAL80ETC concert" then
if item.quality < 50 then
if item.name == "Backstage passes to a TAFKAL80ETC concert" then
if item.sell_by < 0 then
{ item | sell_by = item.sell_by - 1, quality = 0 }
else if item.sell_by < 6 then
{ item | sell_by = item.sell_by - 1, quality = item.quality + 3 }
else if item.sell_by < 11 then
{ item | sell_by = item.sell_by - 1, quality = item.quality + 2 }
else
{ item | sell_by = item.sell_by - 1, quality = item.quality + 1 }
else
{ item | sell_by = item.sell_by - 1, quality = item.quality + 1 }
else
{ item | sell_by = item.sell_by }
else if item.name /= "PI:NAME:<NAME>END_PI" && item.name /= "PI:NAME:<NAME>END_PI, Hand of Ragnaros" then
if item.sell_by < 0 && item.quality > 0 then
if item.quality >= 2 then
{ item | sell_by = item.sell_by - 1, quality = item.quality - 2 }
else
{ item | sell_by = item.sell_by - 1, quality = 0 }
else if item.quality >= 1 then
{ item | sell_by = item.sell_by - 1, quality = item.quality - 1 }
else
{ item | sell_by = item.sell_by - 1, quality = 0 }
else
item
)
items
| elm |
[
{
"context": "bzwnogh]rynudxihckzattbz[dshxeaqusdlhydtm]rvqzuffgqtysfzxp\nunfjgussbjxzlhopoqg[ppdnqkiuooukdmbqlo]flfiieiitmettblfln\nhgtbgxarmgbxqrhghxb[hflfvoetxfisqsj]syhkugztqkywetyhad[fmptjuaqittvvyooda]cjkxbnylglnlfleelzu\nnpxhwtitqnddkwg[gmzggwnvygsroeaadtc]gudnfyefqbbgyspdxjw[ilthbdqubqnveowv]xitfldhfjyjsomygjg[knmrlvoiqyytigytlum]dlfpsnyzmhkmeevfwsf\nwjzwftiuixvwyzmgoe[jbfghrqhyywwhlu]wcijbojvlgjjdtowzpv[lgfvxfdusgxddsppbxb]pagicuiuerzeydww[wlpjklgzyilrifonz]gdicckmxibtwwoesaxf\neilrieezaciolhnhrc[hcisnfomqiiaculxfv]bfyxxhgrakqogthzft\nxijomgpzpilomlpy[sfgwaovcybyhoogrxsv]ufncwrahejwlhyvz\nnojlhdpfkjbh",
"end": 1467,
"score": 0.6772916317,
"start": 971,
"tag": "KEY",
"value": "qtysfzxp\nunfjgussbjxzlhopoqg[ppdnqkiuooukdmbqlo]flfiieiitmettblfln\nhgtbgxarmgbxqrhghxb[hflfvoetxfisqsj]syhkugztqkywetyhad[fmptjuaqittvvyooda]cjkxbnylglnlfleelzu\nnpxhwtitqnddkwg[gmzggwnvygsroeaadtc]gudnfyefqbbgyspdxjw[ilthbdqubqnveowv]xitfldhfjyjsomygjg[knmrlvoiqyytigytlum]dlfpsnyzmhkmeevfwsf\nwjzwftiuixvwyzmgoe[jbfghrqhyywwhlu]wcijbojvlgjjdtowzpv[lgfvxfdusgxddsppbxb]pagicuiuerzeydww[wlpjklgzyilrifonz]gdicckmxibtwwoesaxf\neilrieezaciolhnhrc[hcisnfomqiiaculxfv]bfyxxhgrakqogthzft\nxijomgpzpilomlpy"
},
{
"context": "fomqiiaculxfv]bfyxxhgrakqogthzft\nxijomgpzpilomlpy[sfgwaovcybyhoogrxsv]ufncwrahejwlhyvz\nnojlhdpfkjbhahgqo[lqrkjabuijutlcbq]caszlkvkofxjyqzsttc[isqicyomykud",
"end": 1522,
"score": 0.5834002495,
"start": 1468,
"tag": "KEY",
"value": "sfgwaovcybyhoogrxsv]ufncwrahejwlhyvz\nnojlhdpfkjbhahgqo"
},
{
"context": "ovcybyhoogrxsv]ufncwrahejwlhyvz\nnojlhdpfkjbhahgqo[lqrkjabuijutlcbq]caszlkvkofxjyqzsttc[isqicyomykudneq]izuzehgtmwnnv",
"end": 1539,
"score": 0.5732030272,
"start": 1523,
"tag": "KEY",
"value": "lqrkjabuijutlcbq"
},
{
"context": "ncwrahejwlhyvz\nnojlhdpfkjbhahgqo[lqrkjabuijutlcbq]caszlkvkofxjyqzsttc[isqicyomykudneq]izuzehgtmwnnvfrlrja\nqwfvuzrogqzvn",
"end": 1559,
"score": 0.558016181,
"start": 1540,
"tag": "KEY",
"value": "caszlkvkofxjyqzsttc"
},
{
"context": "fkjbhahgqo[lqrkjabuijutlcbq]caszlkvkofxjyqzsttc[isqicyomykudneq]izuzehgtmwnnvfrlrja\nqwfvuzrogqzvnhyqdv[qhnjhafmrt",
"end": 1575,
"score": 0.566208601,
"start": 1562,
"tag": "KEY",
"value": "qicyomykudneq"
},
{
"context": "kjabuijutlcbq]caszlkvkofxjyqzsttc[isqicyomykudneq]izuzehgtmwnnvfrlrja\nqwfvuzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlp",
"end": 1595,
"score": 0.5676500797,
"start": 1576,
"tag": "KEY",
"value": "izuzehgtmwnnvfrlrja"
},
{
"context": "ofxjyqzsttc[isqicyomykudneq]izuzehgtmwnnvfrlrja\nqwfvuzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[ko",
"end": 1605,
"score": 0.515586555,
"start": 1598,
"tag": "KEY",
"value": "fvuzrog"
},
{
"context": "tc[isqicyomykudneq]izuzehgtmwnnvfrlrja\nqwfvuzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefj",
"end": 1611,
"score": 0.5131123662,
"start": 1607,
"tag": "KEY",
"value": "vnhy"
},
{
"context": "nvfrlrja\nqwfvuzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\n",
"end": 1639,
"score": 0.5123906136,
"start": 1637,
"tag": "KEY",
"value": "mw"
},
{
"context": "qwfvuzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\nfrfongnae",
"end": 1648,
"score": 0.5130238533,
"start": 1646,
"tag": "KEY",
"value": "mt"
},
{
"context": "uzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\nfrfongnaecavm",
"end": 1652,
"score": 0.5204709768,
"start": 1650,
"tag": "KEY",
"value": "ne"
},
{
"context": "vnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\nfrfongnaecavmrhj[uup",
"end": 1659,
"score": 0.5208582282,
"start": 1657,
"tag": "KEY",
"value": "he"
},
{
"context": "[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\nfrfongnaecavmrhj[uuptwvcqoz",
"end": 1666,
"score": 0.5054454207,
"start": 1664,
"tag": "KEY",
"value": "ad"
},
{
"context": "fmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\nfrfongnaecavmrhj[uuptwvcqozxnglsd",
"end": 1672,
"score": 0.513053596,
"start": 1671,
"tag": "KEY",
"value": "q"
},
{
"context": "tgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz\nfrfongnaecavmrhj[uuptwvcqozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohm",
"end": 1705,
"score": 0.5373274684,
"start": 1691,
"tag": "KEY",
"value": "fongnaecavmrhj"
},
{
"context": "jqtqadhj]myqisirynftmtzvxvvz\nfrfongnaecavmrhj[uuptwvcqozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuah",
"end": 1713,
"score": 0.528749764,
"start": 1710,
"tag": "KEY",
"value": "wvc"
},
{
"context": "rynftmtzvxvvz\nfrfongnaecavmrhj[uuptwvcqozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuahonmbhsmfglltm\nwdqcwcbtpex",
"end": 1738,
"score": 0.5295372605,
"start": 1725,
"tag": "KEY",
"value": "povfwuhmqjkog"
},
{
"context": "frfongnaecavmrhj[uuptwvcqozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuahonmbhsmfglltm\nwdqcwcbtpexduecepe[zwrcpctlwg",
"end": 1756,
"score": 0.5214058161,
"start": 1739,
"tag": "KEY",
"value": "phtrgysxaltvbohmv"
},
{
"context": "uptwvcqozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuahonmbhsmfglltm\nwdqcwcbtpexduecepe[zwrcpctlwglgfpa",
"end": 1761,
"score": 0.543307066,
"start": 1757,
"tag": "KEY",
"value": "abhu"
},
{
"context": "qozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuahonmbhsmfglltm\nwdqcwcbtpexduecepe[zwrcpctlwglgfpappb]zda",
"end": 1768,
"score": 0.5258287787,
"start": 1763,
"tag": "KEY",
"value": "onmbh"
},
{
"context": "sd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuahonmbhsmfglltm\nwdqcwcbtpexduecepe[zwrcpctlwglgfpappb]zdadimzdcpx",
"end": 1776,
"score": 0.510330379,
"start": 1770,
"tag": "KEY",
"value": "fglltm"
},
{
"context": "zdcpxhxwde[yquulvwgyyzwcfsvkdt]thgziwclyxxfyjpbpc[ypkjfrfkxlkavboh]hxylcecamgezuoljh\nyqxkafpkuuxfafe[zehlwtvpprtiqbl]qswqigaeaneovxm[bqoieihtxarwyrqegb]yzdopgmqklqaizxjm[jhrsftklywefyevvha]xuvydwcntczjvuduj\njudhawjtmpsxfocai[qghshlgvbitxevt]xehceioknrewezihnb[jvrzemakemtgmqiqmvj]wewpjflvqmottqx\nuhokpvanmvdobqitn[eosarcmqnukoczgz]rmoowtgbbyimkptlxdu[rqhewmnpypqpyosgehz]nqdwglwscsizxey\nsbnojmynueuyyutr[oonxqrbbjxwvwafad]krqlneuehyrghmkrq[khsckkfwowubtglegu]xweufrmlufamzbcedk\nnmgjmbwyrvcbthw[ogtvotifzugvvrsfe]jucqbvfqclkuxzumoed\nuaokpcytcrfpitfursj[lweyfahryjfprulw]dsdutsxdtugaced\nahshwqihivxlgsj[ldnmuwbrmoxtypqluyz]intafryfavcnotgxu[xjggdyvoarfajgp]zhfgnytzjhuyheqdy[yeynlfshsyrhjxrzguu]onvyhjfwooikmmqzwgc\ndjkgxfnfojgjpxec[ngwqajfbywoxlbm]oqdqigzeqadgqjt[tvojayieruftbjokeeq]gxwtruomnhorqqrpzt[bxppvnbiwhkhdka]rhpffqekyrcgwqmoi\naasbwiocfkaahrjwerr[dvlemehlhfzxnzymqn]okxibfrlswfvmreuf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosm",
"end": 2728,
"score": 0.7226475477,
"start": 1871,
"tag": "KEY",
"value": "ypkjfrfkxlkavboh]hxylcecamgezuoljh\nyqxkafpkuuxfafe[zehlwtvpprtiqbl]qswqigaeaneovxm[bqoieihtxarwyrqegb]yzdopgmqklqaizxjm[jhrsftklywefyevvha]xuvydwcntczjvuduj\njudhawjtmpsxfocai[qghshlgvbitxevt]xehceioknrewezihnb[jvrzemakemtgmqiqmvj]wewpjflvqmottqx\nuhokpvanmvdobqitn[eosarcmqnukoczgz]rmoowtgbbyimkptlxdu[rqhewmnpypqpyosgehz]nqdwglwscsizxey\nsbnojmynueuyyutr[oonxqrbbjxwvwafad]krqlneuehyrghmkrq[khsckkfwowubtglegu]xweufrmlufamzbcedk\nnmgjmbwyrvcbthw[ogtvotifzugvvrsfe]jucqbvfqclkuxzumoed\nuaokpcytcrfpitfursj[lweyfahryjfprulw]dsdutsxdtugaced\nahshwqihivxlgsj[ldnmuwbrmoxtypqluyz]intafryfavcnotgxu[xjggdyvoarfajgp]zhfgnytzjhuyheqdy[yeynlfshsyrhjxrzguu]onvyhjfwooikmmqzwgc\ndjkgxfnfojgjpxec[ngwqajfbywoxlbm]oqdqigzeqadgqjt[tvojayieruftbjokeeq]gxwtruomnhorqqrpzt[bxppvnbiwhkhdka]rhpffqekyrcgwqmoi\naasbwiocfkaahrjwerr[dvlemehlhfzxnzymqn]okxibfrlswfvmreuf\nrwcjoknjvyufkrp"
},
{
"context": "emehlhfzxnzymqn]okxibfrlswfvmreuf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmlty",
"end": 2731,
"score": 0.5113853812,
"start": 2729,
"tag": "KEY",
"value": "hs"
},
{
"context": "lhfzxnzymqn]okxibfrlswfvmreuf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmltyxt[z",
"end": 2735,
"score": 0.5276578665,
"start": 2733,
"tag": "KEY",
"value": "wh"
},
{
"context": "xnzymqn]okxibfrlswfvmreuf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmltyxt[zoaa",
"end": 2738,
"score": 0.504768312,
"start": 2737,
"tag": "KEY",
"value": "w"
},
{
"context": "mqn]okxibfrlswfvmreuf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmltyxt[zoaaqnowmm",
"end": 2744,
"score": 0.5272500515,
"start": 2741,
"tag": "KEY",
"value": "thp"
},
{
"context": "fvmreuf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmltyxt[zoaaqnowmmwkmfkq]lgusvzwn",
"end": 2759,
"score": 0.5310841203,
"start": 2755,
"tag": "KEY",
"value": "hzgl"
},
{
"context": "uf\nrwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmltyxt[zoaaqnowmmwkmfkq]lgusvzwnimv",
"end": 2762,
"score": 0.519524157,
"start": 2760,
"tag": "KEY",
"value": "li"
},
{
"context": "rwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq\nazawpddzkqbosmltyxt[zoaaqnowmmwkmfkq]lgusvzwnimvgagupkt[scbjhqdftzssbvnvff]coiaslgcrwvyioxx[jouvwdiwvbsembzf]popmlnhjkoaeahcny\nsnucfdhspcbcsgjnmcc[qbicureolmbzhsy]cuabqhzbcbkezsumkq[cnggwqizurflommitua]ajtxxkqwqynnwroi\nbsxzwpiauwlqelesq[uqfdggoirtlucvedpl]asacxftfqfswiapmj[nqohanbbzodfgkxihtt]lhshhkgjvjkumja\nbeewgulkwnmwxenstrz[vybrrqhcdpkhfnshccv]xdfvqzdslwosulzatc[kuknmynmjntvtyduwlh]trfvychdobyghnrxrfy\noxrwmqpvxntdkohmxb[wugyubwxumwnxlk]jidpzvtbomuymyf\npqzbwlnmvtytsfre[pmtmcnxkylmqaeb]alfdaofnqpohulpmfoj\nqopdwichdepaubxxeu[ifjozmlqttahyugyt]mfmlwxifscsnuom[kiyjlqqxunsxfmht]icofrxpdpsktwiifyb[hetijegmockky",
"end": 3329,
"score": 0.6879383922,
"start": 2764,
"tag": "KEY",
"value": "azawpddzkqbosmltyxt[zoaaqnowmmwkmfkq]lgusvzwnimvgagupkt[scbjhqdftzssbvnvff]coiaslgcrwvyioxx[jouvwdiwvbsembzf]popmlnhjkoaeahcny\nsnucfdhspcbcsgjnmcc[qbicureolmbzhsy]cuabqhzbcbkezsumkq[cnggwqizurflommitua]ajtxxkqwqynnwroi\nbsxzwpiauwlqelesq[uqfdggoirtlucvedpl]asacxftfqfswiapmj[nqohanbbzodfgkxihtt]lhshhkgjvjkumja\nbeewgulkwnmwxenstrz[vybrrqhcdpkhfnshccv]xdfvqzdslwosulzatc[kuknmynmjntvtyduwlh]trfvychdobyghnrxrfy\noxrwmqpvxntdkohmxb[wugyubwxumwnxlk]jidpzvtbomuymyf\npqzbwlnmvtytsfre[pmtmcnxkylmqaeb]alfdaofnqpohulpmfoj\nqopdwichdepaubxxeu[ifjozmlqttahyugyt]mfmlwxifscsnuom"
},
{
"context": "dwichdepaubxxeu[ifjozmlqttahyugyt]mfmlwxifscsnuom[kiyjlqqxunsxfmht]icofrxpdpsktwiifyb[hetijegmockkyjhhc]aarioqngqmdpkti\nklumchkwczxuuek",
"end": 3365,
"score": 0.566755116,
"start": 3330,
"tag": "KEY",
"value": "kiyjlqqxunsxfmht]icofrxpdpsktwiifyb"
},
{
"context": "mlwxifscsnuom[kiyjlqqxunsxfmht]icofrxpdpsktwiifyb[hetijegmockkyjhhc]aarioqngqmdpkti\nklumchkwczxuuekdb[nlalmjunselydybqxdj]alagfcxocldfyzdnzd[abfnqrgrxb",
"end": 3417,
"score": 0.5658410192,
"start": 3366,
"tag": "KEY",
"value": "hetijegmockkyjhhc]aarioqngqmdpkti\nklumchkwczxuuekdb"
},
{
"context": "tijegmockkyjhhc]aarioqngqmdpkti\nklumchkwczxuuekdb[nlalmjunselydybqxdj]alagfcxocldfyzdnzd[abfnqrgrxbscagj]cohrecgrcaxljkz\ndjydzyiyydcneoubp[gorqzujuwkjsqhelfrp]pvtvbhztirfzmwcopfv[wfjumxbfvvgvzltlcf]ergdkkakrtfzcxmqcc[vwnkrxhayzbvbauvn]yjoqveipzibbmjq\nqbdruhoywfjhalj",
"end": 3584,
"score": 0.607106626,
"start": 3418,
"tag": "KEY",
"value": "nlalmjunselydybqxdj]alagfcxocldfyzdnzd[abfnqrgrxbscagj]cohrecgrcaxljkz\ndjydzyiyydcneoubp[gorqzujuwkjsqhelfrp]pvtvbhztirfzmwcopfv[wfjumxbfvvgvzltlcf]ergdkkakrtfzcxmqcc"
},
{
"context": "irfzmwcopfv[wfjumxbfvvgvzltlcf]ergdkkakrtfzcxmqcc[vwnkrxhayzbvbauvn]yjoqveipzibbmjq\nqbdruhoywfjhaljfkoy[tznfe",
"end": 3594,
"score": 0.5521367788,
"start": 3585,
"tag": "KEY",
"value": "vwnkrxhay"
},
{
"context": "v[wfjumxbfvvgvzltlcf]ergdkkakrtfzcxmqcc[vwnkrxhayzbvbauvn]yjoqveipzibbmjq\nqbdruhoywfjhaljfkoy[tznfejprrnzrr",
"end": 3602,
"score": 0.5695813894,
"start": 3595,
"tag": "KEY",
"value": "bvbauvn"
},
{
"context": "bfvvgvzltlcf]ergdkkakrtfzcxmqcc[vwnkrxhayzbvbauvn]yjoqveipzibbmjq\nqbdruhoywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcq",
"end": 3618,
"score": 0.5650317669,
"start": 3603,
"tag": "KEY",
"value": "yjoqveipzibbmjq"
},
{
"context": "kkakrtfzcxmqcc[vwnkrxhayzbvbauvn]yjoqveipzibbmjq\nqbdruhoywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtbhvhlnw",
"end": 3626,
"score": 0.558678627,
"start": 3620,
"tag": "KEY",
"value": "bdruho"
},
{
"context": "bdruhoywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewo",
"end": 3671,
"score": 0.5285310745,
"start": 3670,
"tag": "KEY",
"value": "h"
},
{
"context": "uhoywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxg",
"end": 3676,
"score": 0.5049490333,
"start": 3673,
"tag": "KEY",
"value": "lnw"
},
{
"context": "jhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]tr",
"end": 3681,
"score": 0.5129178166,
"start": 3679,
"tag": "KEY",
"value": "ah"
},
{
"context": "jfkoy[tznfejprrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhd",
"end": 3686,
"score": 0.5244437456,
"start": 3683,
"tag": "KEY",
"value": "lhe"
},
{
"context": "znfejprrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiu",
"end": 3693,
"score": 0.5243442059,
"start": 3690,
"tag": "KEY",
"value": "rdq"
},
{
"context": "prrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nl",
"end": 3699,
"score": 0.5086497664,
"start": 3695,
"tag": "KEY",
"value": "moan"
},
{
"context": "ewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxp",
"end": 3706,
"score": 0.5126048326,
"start": 3702,
"tag": "KEY",
"value": "ioum"
},
{
"context": "iputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvc",
"end": 3710,
"score": 0.5202078819,
"start": 3709,
"tag": "KEY",
"value": "u"
},
{
"context": "gqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[",
"end": 3716,
"score": 0.5164583921,
"start": 3713,
"tag": "KEY",
"value": "mcv"
},
{
"context": "hvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwu",
"end": 3725,
"score": 0.5101559162,
"start": 3720,
"tag": "KEY",
"value": "ovprx"
},
{
"context": "ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwuztc",
"end": 3728,
"score": 0.5203861594,
"start": 3727,
"tag": "KEY",
"value": "d"
},
{
"context": "tlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkj",
"end": 3742,
"score": 0.5201137662,
"start": 3732,
"tag": "KEY",
"value": "mnhdvtsisi"
},
{
"context": "tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkjmofeyd",
"end": 3747,
"score": 0.5406622887,
"start": 3744,
"tag": "KEY",
"value": "qjk"
},
{
"context": "jmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkjmofeydvfy[hmbracjdcwxfe",
"end": 3765,
"score": 0.5649209619,
"start": 3749,
"tag": "KEY",
"value": "lojixxpxtvcwxaxp"
},
{
"context": "xkewovprxgzd]trnmnhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkjmofeydvfy[hmbracjdcwxfeva]jkiybiomykfexj",
"end": 3782,
"score": 0.5517753959,
"start": 3766,
"tag": "KEY",
"value": "rurmhymwuztchngs"
},
{
"context": "nhdvtsisiujqjk\nllojixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkjmofeydvfy[hmbracjdcwxfeva]jkiybiomykfexjlyg[pgrlrqgoxqqtoio",
"end": 3801,
"score": 0.551650703,
"start": 3783,
"tag": "KEY",
"value": "weaefxdkjmofeydvfy"
},
{
"context": "ixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkjmofeydvfy[hmbracjdcwxfeva]jkiybiomykfexjlyg[pgrlrqgoxqqtoio]rdynpcndtqarmkagbw\nkislmybuoblnps",
"end": 3835,
"score": 0.552875936,
"start": 3802,
"tag": "KEY",
"value": "hmbracjdcwxfeva]jkiybiomykfexjlyg"
},
{
"context": "efxdkjmofeydvfy[hmbracjdcwxfeva]jkiybiomykfexjlyg[pgrlrqgoxqqtoio]rdynpcndtqarmkagbw\nkislmybuoblnpsc[dvsrnwlsvxxmzuu]jakczftcvijbavhjgb[osdyplcgliragfnpezx]kihkywmwgbkjtgxn[tdsgdadcvcax",
"end": 3921,
"score": 0.5750419497,
"start": 3836,
"tag": "KEY",
"value": "pgrlrqgoxqqtoio]rdynpcndtqarmkagbw\nkislmybuoblnpsc[dvsrnwlsvxxmzuu]jakczftcvijbavhjgb"
},
{
"context": "islmybuoblnpsc[dvsrnwlsvxxmzuu]jakczftcvijbavhjgb[osdyplcgliragfnpezx]kihkywmwgbkjtgxn[tdsgdadcvcaxfrbur]lzyjmrjqztybfdmm\norfngwdzlrucbk",
"end": 3958,
"score": 0.567220211,
"start": 3922,
"tag": "KEY",
"value": "osdyplcgliragfnpezx]kihkywmwgbkjtgxn"
},
{
"context": "vijbavhjgb[osdyplcgliragfnpezx]kihkywmwgbkjtgxn[tdsgdadcvcaxfrbur]lzyjmrjqztybfdmm\norfngwdzlrucbkbqd[ibvlkwlnnzwkhn",
"end": 3976,
"score": 0.5485047102,
"start": 3961,
"tag": "KEY",
"value": "sgdadcvcaxfrbur"
},
{
"context": "lcgliragfnpezx]kihkywmwgbkjtgxn[tdsgdadcvcaxfrbur]lzyjmrjqztybfdmm\norfngwdzlrucbkbqd[ibvlkwlnnzwkhnoad]brstantuaxwkib",
"end": 3993,
"score": 0.5593153834,
"start": 3977,
"tag": "KEY",
"value": "lzyjmrjqztybfdmm"
},
{
"context": "ywmwgbkjtgxn[tdsgdadcvcaxfrbur]lzyjmrjqztybfdmm\norfngwdzlrucbkbqd[ibvlkwlnnzwkhnoad]brstantuaxwkibofh\nvuumejklanuom",
"end": 4011,
"score": 0.5442579389,
"start": 3996,
"tag": "KEY",
"value": "fngwdzlrucbkbqd"
},
{
"context": "adcvcaxfrbur]lzyjmrjqztybfdmm\norfngwdzlrucbkbqd[ibvlkwlnnzwkhnoad]brstantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsp",
"end": 4029,
"score": 0.5251055956,
"start": 4014,
"tag": "KEY",
"value": "vlkwlnnzwkhnoad"
},
{
"context": "jmrjqztybfdmm\norfngwdzlrucbkbqd[ibvlkwlnnzwkhnoad]brstantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvu",
"end": 4047,
"score": 0.5401517153,
"start": 4030,
"tag": "KEY",
"value": "brstantuaxwkibofh"
},
{
"context": "dzlrucbkbqd[ibvlkwlnnzwkhnoad]brstantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelel",
"end": 4067,
"score": 0.5366224647,
"start": 4050,
"tag": "KEY",
"value": "umejklanuomqqdbva"
},
{
"context": "nnzwkhnoad]brstantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd",
"end": 4071,
"score": 0.5124892592,
"start": 4069,
"tag": "KEY",
"value": "wj"
},
{
"context": "khnoad]brstantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflv",
"end": 4077,
"score": 0.5127785206,
"start": 4073,
"tag": "KEY",
"value": "parg"
},
{
"context": "brstantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnni",
"end": 4082,
"score": 0.504645288,
"start": 4080,
"tag": "KEY",
"value": "zk"
},
{
"context": "tantuaxwkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuo",
"end": 4085,
"score": 0.5280972719,
"start": 4083,
"tag": "KEY",
"value": "ha"
},
{
"context": "wkibofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn",
"end": 4091,
"score": 0.5127471089,
"start": 4090,
"tag": "KEY",
"value": "k"
},
{
"context": "bofh\nvuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdg",
"end": 4099,
"score": 0.5146682858,
"start": 4093,
"tag": "KEY",
"value": "mbrvuc"
},
{
"context": "bva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzm",
"end": 4116,
"score": 0.5127032399,
"start": 4114,
"tag": "KEY",
"value": "le"
},
{
"context": "wjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthp",
"end": 4121,
"score": 0.512349546,
"start": 4119,
"tag": "KEY",
"value": "hd"
},
{
"context": "rgsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwy",
"end": 4127,
"score": 0.5124228001,
"start": 4125,
"tag": "KEY",
"value": "lv"
},
{
"context": "hzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nft",
"end": 4131,
"score": 0.512719214,
"start": 4129,
"tag": "KEY",
"value": "nn"
},
{
"context": "haaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszaki",
"end": 4140,
"score": 0.5145283937,
"start": 4133,
"tag": "KEY",
"value": "uojihdm"
},
{
"context": "brvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszakisxhzjh",
"end": 4146,
"score": 0.5049683452,
"start": 4144,
"tag": "KEY",
"value": "rn"
},
{
"context": "yyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszakisxhzjhbo[khf",
"end": 4152,
"score": 0.512940824,
"start": 4150,
"tag": "KEY",
"value": "ag"
},
{
"context": "zhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszakisxhzjhbo[khfshezpopvjaki]pdnns",
"end": 4170,
"score": 0.5205730796,
"start": 4168,
"tag": "KEY",
"value": "th"
},
{
"context": "iflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszakisxhzjhbo[khfshezpopvjaki]pdnnsqmgpga",
"end": 4176,
"score": 0.5089684129,
"start": 4173,
"tag": "KEY",
"value": "hww"
},
{
"context": "lnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszakisxhzjhbo[khfshezpopvjaki]pdnnsqmgpgatvu",
"end": 4178,
"score": 0.5047379136,
"start": 4178,
"tag": "KEY",
"value": ""
},
{
"context": "jdgzagktjrys]edtbmzmcbthpixhwwyz\nftaciyszakisxhzjhbo[khfshezpopvjaki]pdnnsqmgpgatvubllrr[ovjrouomglbpg",
"end": 4198,
"score": 0.5046131611,
"start": 4196,
"tag": "KEY",
"value": "bo"
},
{
"context": "bpgvtya]ifwcvhascqptbvbums[cfpimraygtnuimiup]zeykmilehidtlstjux\nnzgbxxiimmzsvhe[ixypsgextxvdckbjelq]jpk",
"end": 4298,
"score": 0.5049051642,
"start": 4295,
"tag": "KEY",
"value": "ile"
},
{
"context": "nahunrvrfv[lwbganvrrgnasnkqjz]yuoncrmethwiglfiy\npljibizefgbrfauieem[yadmbpkftrtwjrize]fuzpxdpomsdxfoc",
"end": 5706,
"score": 0.5053469539,
"start": 5705,
"tag": "KEY",
"value": "j"
},
{
"context": "[lwbganvrrgnasnkqjz]yuoncrmethwiglfiy\npljibizefgbrfauieem[yadmbpkftrtwjrize]fuzpxdpomsdxfocc[lvoahklov",
"end": 5717,
"score": 0.505137682,
"start": 5715,
"tag": "KEY",
"value": "fa"
},
{
"context": "mccqxvfdps[izfaeewfadfhuwwd]yffzgiqtmayebphb\nznzxjrdnxhfydrhr[kwafvmygvlylite]hmskvvpqyoblrygj\ngkxzwei",
"end": 6442,
"score": 0.5120011568,
"start": 6440,
"tag": "KEY",
"value": "rd"
},
{
"context": "iqtmayebphb\nznzxjrdnxhfydrhr[kwafvmygvlylite]hmskvvpqyoblrygj\ngkxzweijinwxyajq[jzljdfxlossksqa]octzjmr",
"end": 6475,
"score": 0.5037871599,
"start": 6473,
"tag": "KEY",
"value": "vp"
},
{
"context": "\nznzxjrdnxhfydrhr[kwafvmygvlylite]hmskvvpqyoblrygj\ngkxzweijinwxyajq[jzljdfxlossksqa]octzjmrvxkumtpn[j",
"end": 6484,
"score": 0.5490484238,
"start": 6484,
"tag": "KEY",
"value": ""
},
{
"context": "zxjrdnxhfydrhr[kwafvmygvlylite]hmskvvpqyoblrygj\ngkxzweijinwxyajq[jzljdfxlossksqa]octzjmrvxkumtpn[jypbqguwpybykguwn",
"end": 6501,
"score": 0.5630942583,
"start": 6487,
"tag": "KEY",
"value": "xzweijinwxyajq"
},
{
"context": "kwafvmygvlylite]hmskvvpqyoblrygj\ngkxzweijinwxyajq[jzljdfxlossksqa]octzjmrvxkumtpn[jypbqguwpybykguwn]ngriygtjydfznsf[cpwtojpifkhwtfk",
"end": 6533,
"score": 0.5648727417,
"start": 6502,
"tag": "KEY",
"value": "jzljdfxlossksqa]octzjmrvxkumtpn"
},
{
"context": "\ngkxzweijinwxyajq[jzljdfxlossksqa]octzjmrvxkumtpn[jypbqguwpybykguwn]ngriygtjydfznsf[cpwtojpifkhwtfknjsg]zahxvqxjtoutvvsphh\nkmvndjahzayidho[fitbtgfncjvmbyrbvnf]fodwrbklqhxpsrqwh[ccwvgmocbtbqvwzu]uuidhylekzxzvmce[qbhkjfhnczasecv]ctsfirxwjfvrmayoeb\noktwbkikybfwojcweal[pnhqkawxmfxggabhgpa]kdjghdalrpgsdhqj[bxjcqdytenfjirvb]odnhihekqyskaoedyor[pqsixozypkjdnnntbng]negjtmkqfykrjgewt\nhriyrcurqmacydyay[gfblxaovvngyesfa]tmftedgxujvmjze[knivpbneiuxdsowc",
"end": 6879,
"score": 0.6043017507,
"start": 6534,
"tag": "KEY",
"value": "jypbqguwpybykguwn]ngriygtjydfznsf[cpwtojpifkhwtfknjsg]zahxvqxjtoutvvsphh\nkmvndjahzayidho[fitbtgfncjvmbyrbvnf]fodwrbklqhxpsrqwh[ccwvgmocbtbqvwzu]uuidhylekzxzvmce[qbhkjfhnczasecv]ctsfirxwjfvrmayoeb\noktwbkikybfwojcweal[pnhqkawxmfxggabhgpa]kdjghdalrpgsdhqj[bxjcqdytenfjirvb]odnhihekqyskaoedyor[pqsixozypkjdnnntbng]negjtmkqfykrjgewt\nhriyrcurqmacydyay"
},
{
"context": "pkjdnnntbng]negjtmkqfykrjgewt\nhriyrcurqmacydyay[gfblxaovvngyesfa]tmftedgxujvmjze[knivpbneiuxdsowcxdt]zzncnfcouzopp",
"end": 6896,
"score": 0.549749434,
"start": 6882,
"tag": "KEY",
"value": "blxaovvngyesfa"
},
{
"context": "mkqfykrjgewt\nhriyrcurqmacydyay[gfblxaovvngyesfa]tmftedgxujvmjze[knivpbneiuxdsowcxdt]zzncnfcouzoppog\nedabqgdgbyjqk",
"end": 6912,
"score": 0.550986886,
"start": 6899,
"tag": "KEY",
"value": "ftedgxujvmjze"
},
{
"context": "yrcurqmacydyay[gfblxaovvngyesfa]tmftedgxujvmjze[knivpbneiuxdsowcxdt]zzncnfcouzoppog\nedabqgdgbyjqkzjvzhr[rdejmmymhnvfr",
"end": 6932,
"score": 0.5487772226,
"start": 6915,
"tag": "KEY",
"value": "ivpbneiuxdsowcxdt"
},
{
"context": "lxaovvngyesfa]tmftedgxujvmjze[knivpbneiuxdsowcxdt]zzncnfcouzoppog\nedabqgdgbyjqkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlnc",
"end": 6948,
"score": 0.5448114276,
"start": 6933,
"tag": "KEY",
"value": "zzncnfcouzoppog"
},
{
"context": "edgxujvmjze[knivpbneiuxdsowcxdt]zzncnfcouzoppog\nedabqgdgbyjqkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycf",
"end": 6968,
"score": 0.5494263172,
"start": 6951,
"tag": "KEY",
"value": "abqgdgbyjqkzjvzhr"
},
{
"context": "eiuxdsowcxdt]zzncnfcouzoppog\nedabqgdgbyjqkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltck",
"end": 6985,
"score": 0.5335588455,
"start": 6970,
"tag": "KEY",
"value": "dejmmymhnvfrqvf"
},
{
"context": "fcouzoppog\nedabqgdgbyjqkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltckrsb\nrxcyawcfxcjtd",
"end": 7002,
"score": 0.5461656451,
"start": 6988,
"tag": "KEY",
"value": "nrxaqjohlncvwc"
},
{
"context": "gdgbyjqkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltckrsb\nrxcyawcfxcjtdshxg[z",
"end": 7008,
"score": 0.5190668106,
"start": 7004,
"tag": "KEY",
"value": "cpuo"
},
{
"context": "qkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltckrsb\nrxcyawcfxcjtdshxg[zvggbsrobeko",
"end": 7019,
"score": 0.5217577219,
"start": 7010,
"tag": "KEY",
"value": "kvwgjycfm"
},
{
"context": "dejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltckrsb\nrxcyawcfxcjtdshxg[zvggbsrobekoxidyx]zdpvqowndwgdu",
"end": 7038,
"score": 0.5290254354,
"start": 7020,
"tag": "KEY",
"value": "ohuebodqzydltckrsb"
},
{
"context": "aqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltckrsb\nrxcyawcfxcjtdshxg[zvggbsrobekoxidyx]zdpvqowndwgdubbhst\nqng",
"end": 7047,
"score": 0.5192505717,
"start": 7041,
"tag": "KEY",
"value": "cyawcf"
},
{
"context": "vwgjycfm]ohuebodqzydltckrsb\nrxcyawcfxcjtdshxg[zvggbsrobekoxidyx]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[krac",
"end": 7065,
"score": 0.5110064745,
"start": 7061,
"tag": "KEY",
"value": "bsro"
},
{
"context": "dqzydltckrsb\nrxcyawcfxcjtdshxg[zvggbsrobekoxidyx]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmf",
"end": 7091,
"score": 0.524418056,
"start": 7076,
"tag": "KEY",
"value": "dpvqowndwgdubbh"
},
{
"context": "cfxcjtdshxg[zvggbsrobekoxidyx]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[p",
"end": 7101,
"score": 0.5142669678,
"start": 7095,
"tag": "KEY",
"value": "ngajrg"
},
{
"context": "hxg[zvggbsrobekoxidyx]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbz",
"end": 7105,
"score": 0.5501377583,
"start": 7103,
"tag": "KEY",
"value": "ua"
},
{
"context": "zvggbsrobekoxidyx]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkr",
"end": 7109,
"score": 0.5116193891,
"start": 7107,
"tag": "KEY",
"value": "vk"
},
{
"context": "robekoxidyx]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdp",
"end": 7115,
"score": 0.5033081174,
"start": 7113,
"tag": "KEY",
"value": "ac"
},
{
"context": "]zdpvqowndwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiyn",
"end": 7125,
"score": 0.5036795735,
"start": 7124,
"tag": "KEY",
"value": "q"
},
{
"context": "dwgdubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiynfssuwhprev",
"end": 7135,
"score": 0.5038509369,
"start": 7133,
"tag": "KEY",
"value": "dd"
},
{
"context": "dubbhst\nqngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiynfssuwhprevmzm\ndi",
"end": 7141,
"score": 0.5113767982,
"start": 7136,
"tag": "KEY",
"value": "dpqmf"
},
{
"context": "qngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiynfssuwhprevmzm\ndihkldb",
"end": 7146,
"score": 0.5036689043,
"start": 7144,
"tag": "KEY",
"value": "ah"
},
{
"context": "zuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiynfssuwhprevmzm\ndihkldbnjicztjf",
"end": 7154,
"score": 0.5031782389,
"start": 7152,
"tag": "KEY",
"value": "mb"
},
{
"context": "ev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiynfssuwhprevmzm\ndihkldbnjicztjfrvga[qtlevmacqkefjomc]opjaojct",
"end": 7184,
"score": 0.5110403299,
"start": 7178,
"tag": "KEY",
"value": "uwhpre"
},
{
"context": "cpcpexnyx]qnouppkcuggjmod[oeiywfzmbjrhtxz]mvhoarchbrpndgwhxga\nqyncschbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycw",
"end": 7316,
"score": 0.5383093357,
"start": 7305,
"tag": "KEY",
"value": "brpndgwhxga"
},
{
"context": "kcuggjmod[oeiywfzmbjrhtxz]mvhoarchbrpndgwhxga\nqyncschbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycwzqn\nlwvovybfksid",
"end": 7333,
"score": 0.527095437,
"start": 7321,
"tag": "KEY",
"value": "schbsnqwgvfu"
},
{
"context": "mbjrhtxz]mvhoarchbrpndgwhxga\nqyncschbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzoupln",
"end": 7351,
"score": 0.5240116715,
"start": 7338,
"tag": "KEY",
"value": "fdcfbfqiwgwqi"
},
{
"context": "hbrpndgwhxga\nqyncschbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtf",
"end": 7363,
"score": 0.5188366771,
"start": 7354,
"tag": "KEY",
"value": "zbontuosp"
},
{
"context": "a\nqyncschbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzw",
"end": 7370,
"score": 0.5186417103,
"start": 7365,
"tag": "KEY",
"value": "cwzqn"
},
{
"context": "hbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudp",
"end": 7385,
"score": 0.5311326981,
"start": 7373,
"tag": "KEY",
"value": "vovybfksidta"
},
{
"context": "dcfbfqiwgwqi]pqzbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levo",
"end": 7397,
"score": 0.5132061243,
"start": 7389,
"tag": "KEY",
"value": "rtqmrxzo"
},
{
"context": "]pqzbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnx",
"end": 7402,
"score": 0.5132921934,
"start": 7401,
"tag": "KEY",
"value": "j"
},
{
"context": "zbontuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhk",
"end": 7406,
"score": 0.5051951408,
"start": 7404,
"tag": "KEY",
"value": "zk"
},
{
"context": "tuospgycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wb",
"end": 7411,
"score": 0.5052296519,
"start": 7408,
"tag": "KEY",
"value": "ail"
},
{
"context": "gycwzqn\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyu",
"end": 7418,
"score": 0.5090246201,
"start": 7413,
"tag": "KEY",
"value": "jtszl"
},
{
"context": "\nlwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutuki",
"end": 7422,
"score": 0.5209354758,
"start": 7420,
"tag": "KEY",
"value": "wh"
},
{
"context": "ajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbob",
"end": 7439,
"score": 0.5105099678,
"start": 7434,
"tag": "KEY",
"value": "phwgu"
},
{
"context": "tqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqud",
"end": 7442,
"score": 0.5050392151,
"start": 7440,
"tag": "KEY",
"value": "mg"
},
{
"context": "njogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxu",
"end": 7456,
"score": 0.5051540136,
"start": 7450,
"tag": "KEY",
"value": "nxjqhk"
},
{
"context": "zwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzuto",
"end": 7472,
"score": 0.5051165223,
"start": 7469,
"tag": "KEY",
"value": "uki"
},
{
"context": "gqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyf",
"end": 7477,
"score": 0.5128603578,
"start": 7476,
"tag": "KEY",
"value": "m"
},
{
"context": "gudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyfhuho]je",
"end": 7484,
"score": 0.5092611313,
"start": 7481,
"tag": "KEY",
"value": "wwl"
},
{
"context": "fmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyfhuho]jehejxjvf",
"end": 7491,
"score": 0.5051483512,
"start": 7489,
"tag": "KEY",
"value": "qu"
},
{
"context": "vofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyfhuho]jehejxjvfpqeifog",
"end": 7497,
"score": 0.5283328891,
"start": 7495,
"tag": "KEY",
"value": "ur"
},
{
"context": "hkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl",
"end": 7515,
"score": 0.5364020467,
"start": 7504,
"tag": "KEY",
"value": "xuczuxzeatp"
},
{
"context": "tukiavenm]olkwwlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspo",
"end": 7531,
"score": 0.539665997,
"start": 7518,
"tag": "KEY",
"value": "zutosphyfhuho"
},
{
"context": "wlrbbobqudwvnur\nyeqiptxuczuxzeatp[upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkislt",
"end": 7549,
"score": 0.5319453478,
"start": 7532,
"tag": "KEY",
"value": "jehejxjvfpqeifogn"
},
{
"context": "ptxuczuxzeatp[upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihk",
"end": 7555,
"score": 0.5325454473,
"start": 7552,
"tag": "KEY",
"value": "hlt"
},
{
"context": "zuxzeatp[upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelyk",
"end": 7565,
"score": 0.5346912146,
"start": 7557,
"tag": "KEY",
"value": "dcwwmshl"
},
{
"context": "upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby\n",
"end": 7568,
"score": 0.5283132195,
"start": 7566,
"tag": "KEY",
"value": "co"
},
{
"context": "tosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby\nnmciqyaovp",
"end": 7578,
"score": 0.5383199453,
"start": 7570,
"tag": "KEY",
"value": "fdamogig"
},
{
"context": "ejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby\nnmciqyaovpdwzldwt[zoaowvxkrpf",
"end": 7597,
"score": 0.5182344913,
"start": 7585,
"tag": "KEY",
"value": "ppfhysfwfkis"
},
{
"context": "[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby\nnmciqyaovpdwzldwt[zoaowvxkrpfuwny",
"end": 7601,
"score": 0.5205745101,
"start": 7599,
"tag": "KEY",
"value": "wr"
},
{
"context": "hltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby\nnmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvgu",
"end": 7617,
"score": 0.5283999443,
"start": 7602,
"tag": "KEY",
"value": "ihkaelrbcelykby"
},
{
"context": "fdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby\nnmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzok",
"end": 7635,
"score": 0.5334063768,
"start": 7620,
"tag": "KEY",
"value": "ciqyaovpdwzldwt"
},
{
"context": "fhysfwfkisltwr]ihkaelrbcelykby\nnmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]",
"end": 7641,
"score": 0.547991991,
"start": 7637,
"tag": "KEY",
"value": "oaow"
},
{
"context": "rbcelykby\nnmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifz",
"end": 7662,
"score": 0.5209691525,
"start": 7658,
"tag": "KEY",
"value": "qlmm"
},
{
"context": "ykby\nnmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooa",
"end": 7665,
"score": 0.5055859685,
"start": 7663,
"tag": "KEY",
"value": "xx"
},
{
"context": "y\nnmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooabiqm",
"end": 7669,
"score": 0.5364525318,
"start": 7666,
"tag": "KEY",
"value": "guu"
},
{
"context": "iqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooabiqmuicfq",
"end": 7674,
"score": 0.5089890957,
"start": 7671,
"tag": "KEY",
"value": "awb"
},
{
"context": "oaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooabiqmuicfqi[tvaqijdwxsbamx",
"end": 7690,
"score": 0.5048149824,
"start": 7687,
"tag": "KEY",
"value": "abc"
},
{
"context": "krpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooabiqmuicfqi[tvaqijdwxsbamxzg]zncut",
"end": 7698,
"score": 0.5260443687,
"start": 7693,
"tag": "KEY",
"value": "mswns"
},
{
"context": "cb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooabiqmuicfqi[tvaqijdwxsbamxzg]zncutzbfmraage",
"end": 7707,
"score": 0.5128546953,
"start": 7703,
"tag": "KEY",
"value": "budi"
},
{
"context": "uajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi\npifzooabiqmuicfqi[tvaqijdwxsbamxzg]zncutzbfmraagej\njpgkrbovsws",
"end": 7720,
"score": 0.505320251,
"start": 7718,
"tag": "KEY",
"value": "mu"
},
{
"context": "abiqmuicfqi[tvaqijdwxsbamxzg]zncutzbfmraagej\njpgkrbovswsjnbcj[bjybzimnzszdkqj]mvwmgdithrxecpselt[kghbh",
"end": 7766,
"score": 0.5053315163,
"start": 7764,
"tag": "KEY",
"value": "bo"
},
{
"context": "fmhz\niuonniejtavofqdqsln[ynjrsfsqrdsgydhpdvh]xvqtjledtcgkjkealws\nfhbxdtddlvkjrmjyae[nwwjmjvxtabdwdezfdy]iwnsmstiulolahbxka[lqrxlwifzndbeid]jilfjomwrbjeniwybv\niptzrdexpfzabqcqkm[kvaxgarrbrobtmu]fqaedifschjkoep",
"end": 8323,
"score": 0.6002004147,
"start": 8216,
"tag": "KEY",
"value": "ledtcgkjkealws\nfhbxdtddlvkjrmjyae[nwwjmjvxtabdwdezfdy]iwnsmstiulolahbxka[lqrxlwifzndbeid]jilfjomwrbjeniwybv"
},
{
"context": "iulolahbxka[lqrxlwifzndbeid]jilfjomwrbjeniwybv\niptzrdexpfzabqcqkm[kvaxgarrbrobtmu]fqaedifschjkoepn[widcirixuswhcvcq",
"end": 8342,
"score": 0.5861316919,
"start": 8327,
"tag": "KEY",
"value": "zrdexpfzabqcqkm"
},
{
"context": "lwifzndbeid]jilfjomwrbjeniwybv\niptzrdexpfzabqcqkm[kvaxgarrbrobtmu]fqaedifschjkoepn[widcirixuswhcvcqywp]kpkxphryiwwnkmb\nzbeoanntetxhv",
"end": 8375,
"score": 0.5618060231,
"start": 8343,
"tag": "KEY",
"value": "kvaxgarrbrobtmu]fqaedifschjkoepn"
},
{
"context": "tzrdexpfzabqcqkm[kvaxgarrbrobtmu]fqaedifschjkoepn[widcirixuswhcvcqywp]kpkxphryiwwnkmb\nzbeoanntetxhvigve[fhwvhghpujcldib]ncrcyvevibooqesy[ougjirkquasabeqa",
"end": 8429,
"score": 0.5707044601,
"start": 8376,
"tag": "KEY",
"value": "widcirixuswhcvcqywp]kpkxphryiwwnkmb\nzbeoanntetxhvigve"
},
{
"context": "irixuswhcvcqywp]kpkxphryiwwnkmb\nzbeoanntetxhvigve[fhwvhghpujcldib]ncrcyvevibooqesy[ougjirkquasabeqad]ydufeicmimcwgtbg\njaocnzcwgxknex",
"end": 8462,
"score": 0.589609921,
"start": 8430,
"tag": "KEY",
"value": "fhwvhghpujcldib]ncrcyvevibooqesy"
},
{
"context": "beoanntetxhvigve[fhwvhghpujcldib]ncrcyvevibooqesy[ougjirkquasabeqad]ydufeicmimcwgtbg\njaocnzcwgxknexaf[cqykwbyvxtcwnurw]udxjnumyhelfogapi\nsduqgjoijyfrcn",
"end": 8514,
"score": 0.5845763087,
"start": 8463,
"tag": "KEY",
"value": "ougjirkquasabeqad]ydufeicmimcwgtbg\njaocnzcwgxknexaf"
},
{
"context": "gjirkquasabeqad]ydufeicmimcwgtbg\njaocnzcwgxknexaf[cqykwbyvxtcwnurw]udxjnumyhelfogapi\nsduqgjoijyfrcnfencj[uxuiwklsiuq",
"end": 8531,
"score": 0.5767869949,
"start": 8515,
"tag": "KEY",
"value": "cqykwbyvxtcwnurw"
},
{
"context": "dufeicmimcwgtbg\njaocnzcwgxknexaf[cqykwbyvxtcwnurw]udxjnumyhelfogapi\nsduqgjoijyfrcnfencj[uxuiwklsiuqwjjrzcfn]epnvqcjspwopyffl[mwghrhtfclod",
"end": 8569,
"score": 0.5819172859,
"start": 8532,
"tag": "KEY",
"value": "udxjnumyhelfogapi\nsduqgjoijyfrcnfencj"
},
{
"context": "byvxtcwnurw]udxjnumyhelfogapi\nsduqgjoijyfrcnfencj[uxuiwklsiuqwjjrzcfn]epnvqcjspwopyffl[mwghrhtfclodjan]ghamugnhrrzjwmnc\nwoygyvtrlmjzaete",
"end": 8606,
"score": 0.5737391114,
"start": 8570,
"tag": "KEY",
"value": "uxuiwklsiuqwjjrzcfn]epnvqcjspwopyffl"
},
{
"context": "ijyfrcnfencj[uxuiwklsiuqwjjrzcfn]epnvqcjspwopyffl[mwghrhtfclodjan]ghamugnhrrzjwmnc\nwoygyvtrlmjzaeteuj[vvvfohavzuuzy",
"end": 8622,
"score": 0.5645061135,
"start": 8607,
"tag": "KEY",
"value": "mwghrhtfclodjan"
},
{
"context": "iwklsiuqwjjrzcfn]epnvqcjspwopyffl[mwghrhtfclodjan]ghamugnhrrzjwmnc\nwoygyvtrlmjzaeteuj[vvvfohavzuuzyzgu]xjjcxhosambmkixiie[lqholbwbktlvd",
"end": 8658,
"score": 0.5795351267,
"start": 8623,
"tag": "KEY",
"value": "ghamugnhrrzjwmnc\nwoygyvtrlmjzaeteuj"
},
{
"context": "ghrhtfclodjan]ghamugnhrrzjwmnc\nwoygyvtrlmjzaeteuj[vvvfohavzuuzyzgu]xjjcxhosambmkixiie[lqholbwbktlvdljmapw]diufpkdnjm",
"end": 8675,
"score": 0.5490995646,
"start": 8659,
"tag": "KEY",
"value": "vvvfohavzuuzyzgu"
},
{
"context": "mugnhrrzjwmnc\nwoygyvtrlmjzaeteuj[vvvfohavzuuzyzgu]xjjcxhosambmkixiie[lqholbwbktlvdljmapw]diufpkdnjmjnmyc[ehjexwagbmezm",
"end": 8694,
"score": 0.5574893951,
"start": 8676,
"tag": "KEY",
"value": "xjjcxhosambmkixiie"
},
{
"context": "vtrlmjzaeteuj[vvvfohavzuuzyzgu]xjjcxhosambmkixiie[lqholbwbktlvdljmapw]diufpkdnjmjnmyc[ehjexwagbmezmpj]czhwzecixzxfykaia",
"end": 8714,
"score": 0.5706812143,
"start": 8695,
"tag": "KEY",
"value": "lqholbwbktlvdljmapw"
},
{
"context": "avzuuzyzgu]xjjcxhosambmkixiie[lqholbwbktlvdljmapw]diufpkdnjmjnmyc[ehjexwagbmezmpj]czhwzecixzxfykaiafj\nnkijgkhyilzqv",
"end": 8730,
"score": 0.5698039532,
"start": 8715,
"tag": "KEY",
"value": "diufpkdnjmjnmyc"
},
{
"context": "hosambmkixiie[lqholbwbktlvdljmapw]diufpkdnjmjnmyc[ehjexwagbmezmpj]czhwzecixzxfykaiafj\nnkijgkhyilzqvtgj[llydwhyhnhpcracxxd]zgtsspcwpyujndbxvp\nnawnrsgxqpc",
"end": 8783,
"score": 0.5638659,
"start": 8731,
"tag": "KEY",
"value": "ehjexwagbmezmpj]czhwzecixzxfykaiafj\nnkijgkhyilzqvtgj"
},
{
"context": "exwagbmezmpj]czhwzecixzxfykaiafj\nnkijgkhyilzqvtgj[llydwhyhnhpcracxxd]zgtsspcwpyujndbxvp\nnawnrsgxqpctinyek[ieguugfkwujn",
"end": 8802,
"score": 0.545565784,
"start": 8784,
"tag": "KEY",
"value": "llydwhyhnhpcracxxd"
},
{
"context": "cixzxfykaiafj\nnkijgkhyilzqvtgj[llydwhyhnhpcracxxd]zgtsspcwpyujndbxvp\nnawnrsgxqpctinyek[ieguugfkwujnymij]rfmqypeekkdstt",
"end": 8821,
"score": 0.5478995442,
"start": 8803,
"tag": "KEY",
"value": "zgtsspcwpyujndbxvp"
},
{
"context": "hyilzqvtgj[llydwhyhnhpcracxxd]zgtsspcwpyujndbxvp\nnawnrsgxqpctinyek[ieguugfkwujnymij]rfmqypeekkdsttdw[rfuan",
"end": 8829,
"score": 0.5107966065,
"start": 8823,
"tag": "KEY",
"value": "awnrsg"
},
{
"context": "tgj[llydwhyhnhpcracxxd]zgtsspcwpyujndbxvp\nnawnrsgxqpctinyek[ieguugfkwujnymij]rfmqypeekkdsttdw[rfuanabg",
"end": 8832,
"score": 0.5132225156,
"start": 8830,
"tag": "KEY",
"value": "qp"
},
{
"context": "ttdw[rfuanabgfjgctueaaqo]vranbomhrynvjyywmh[zjncmschlfmkvhd]gfeoftxsawcgrzvrlx\njgazasxbickiiiz[duuskjo",
"end": 8921,
"score": 0.50537467,
"start": 8919,
"tag": "KEY",
"value": "ch"
},
{
"context": "ueaaqo]vranbomhrynvjyywmh[zjncmschlfmkvhd]gfeoftxsawcgrzvrlx\njgazasxbickiiiz[duuskjowanfmieegl]cwgdwtr",
"end": 8939,
"score": 0.5053611398,
"start": 8937,
"tag": "KEY",
"value": "aw"
},
{
"context": "kiiiz[duuskjowanfmieegl]cwgdwtrzpbfemqitbhb\nlahkgoaoeofjlocsei[bwxyguvgmenwnpwlp]jigdlgdjptkimoyipa[zl",
"end": 9010,
"score": 0.5134586096,
"start": 9008,
"tag": "KEY",
"value": "ao"
},
{
"context": "icusqzq\njhkxinkbwhpddvjzgod[fypyyhptvewejlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\n",
"end": 9137,
"score": 0.5209929943,
"start": 9135,
"tag": "KEY",
"value": "ag"
},
{
"context": "qzq\njhkxinkbwhpddvjzgod[fypyyhptvewejlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedige",
"end": 9144,
"score": 0.5234541893,
"start": 9139,
"tag": "KEY",
"value": "qhjyd"
},
{
"context": "hpddvjzgod[fypyyhptvewejlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[x",
"end": 9157,
"score": 0.5156894326,
"start": 9152,
"tag": "KEY",
"value": "ppnjs"
},
{
"context": "od[fypyyhptvewejlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtprad",
"end": 9166,
"score": 0.5102214813,
"start": 9160,
"tag": "KEY",
"value": "wshtpo"
},
{
"context": "hptvewejlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngio",
"end": 9171,
"score": 0.5053390265,
"start": 9168,
"tag": "KEY",
"value": "iaq"
},
{
"context": "jlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieo",
"end": 9182,
"score": 0.5209281445,
"start": 9175,
"tag": "KEY",
"value": "olwklwz"
},
{
"context": "eagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpt",
"end": 9186,
"score": 0.5129481554,
"start": 9184,
"tag": "KEY",
"value": "kg"
},
{
"context": "ydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxk",
"end": 9200,
"score": 0.51519382,
"start": 9192,
"tag": "KEY",
"value": "gezzdkql"
},
{
"context": "wshtpo]piaqxcwqolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smre",
"end": 9212,
"score": 0.5051034689,
"start": 9210,
"tag": "KEY",
"value": "ht"
},
{
"context": "qolwklwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva",
"end": 9226,
"score": 0.5129146576,
"start": 9224,
"tag": "KEY",
"value": "on"
},
{
"context": "klwzsfkg\nsjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva[pylb",
"end": 9231,
"score": 0.520486474,
"start": 9228,
"tag": "KEY",
"value": "rie"
},
{
"context": "sjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva[pylbyttmhyg",
"end": 9238,
"score": 0.5206066966,
"start": 9237,
"tag": "KEY",
"value": "h"
},
{
"context": "gezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva[pylbyttmhyggonlk",
"end": 9243,
"score": 0.5051589012,
"start": 9242,
"tag": "KEY",
"value": "q"
},
{
"context": "htpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva[pylbyttmhyggonlk]dwqkzjmatybpmgeb\nk",
"end": 9262,
"score": 0.5051530004,
"start": 9260,
"tag": "KEY",
"value": "re"
},
{
"context": "onmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva[pylbyttmhyggonlk]dwqkzjmatybpmgeb\nktfcuvnwueamlwv",
"end": 9276,
"score": 0.5048705935,
"start": 9274,
"tag": "KEY",
"value": "va"
},
{
"context": "zv]smrebfwpnhskzlknva[pylbyttmhyggonlk]dwqkzjmatybpmgeb\nktfcuvnwueamlwvgwmq[czcgevditrtvddgfh]djmmelqe",
"end": 9307,
"score": 0.5052296519,
"start": 9305,
"tag": "KEY",
"value": "pm"
},
{
"context": "rebfwpnhskzlknva[pylbyttmhyggonlk]dwqkzjmatybpmgeb\nktfcuvnwueamlwvgwmq[czcgevditrtvddgfh]djmmelqewdnz",
"end": 9310,
"score": 0.5123856068,
"start": 9310,
"tag": "KEY",
"value": ""
},
{
"context": "fwpnhskzlknva[pylbyttmhyggonlk]dwqkzjmatybpmgeb\nktfcuvnwueamlwvgwmq[czcgevditrtvddgfh]djmmelqewdnzrlqliz[fkpieaipgy",
"end": 9328,
"score": 0.5274850726,
"start": 9313,
"tag": "KEY",
"value": "fcuvnwueamlwvgw"
},
{
"context": "tmhyggonlk]dwqkzjmatybpmgeb\nktfcuvnwueamlwvgwmq[czcgevditrtvddgfh]djmmelqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfp",
"end": 9346,
"score": 0.5111214519,
"start": 9333,
"tag": "KEY",
"value": "cgevditrtvddg"
},
{
"context": "atybpmgeb\nktfcuvnwueamlwvgwmq[czcgevditrtvddgfh]djmmelqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfpvczv\ntixjemagwmyn",
"end": 9363,
"score": 0.5184047222,
"start": 9351,
"tag": "KEY",
"value": "mmelqewdnzrl"
},
{
"context": "mq[czcgevditrtvddgfh]djmmelqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsniv",
"end": 9382,
"score": 0.5088326335,
"start": 9378,
"tag": "KEY",
"value": "xnkm"
},
{
"context": "evditrtvddgfh]djmmelqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjq",
"end": 9398,
"score": 0.5239310265,
"start": 9385,
"tag": "KEY",
"value": "rdpkfzvqpfpvc"
},
{
"context": "jmmelqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlo",
"end": 9400,
"score": 0.5510237217,
"start": 9400,
"tag": "KEY",
"value": ""
},
{
"context": "melqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxc",
"end": 9419,
"score": 0.5368757248,
"start": 9402,
"tag": "KEY",
"value": "ixjemagwmynkihelk"
},
{
"context": "eaipgyxnkmjp]rdpkfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etm",
"end": 9428,
"score": 0.5153157115,
"start": 9422,
"tag": "KEY",
"value": "wfmkug"
},
{
"context": "p]rdpkfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrp",
"end": 9435,
"score": 0.5050228238,
"start": 9433,
"tag": "KEY",
"value": "dm"
},
{
"context": "kfzvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpg",
"end": 9439,
"score": 0.5203774571,
"start": 9438,
"tag": "KEY",
"value": "c"
},
{
"context": "zvqpfpvczv\ntixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqj",
"end": 9455,
"score": 0.5192711353,
"start": 9440,
"tag": "KEY",
"value": "nlasqrjqrlorszi"
},
{
"context": "mynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsi",
"end": 9466,
"score": 0.5154395103,
"start": 9460,
"tag": "KEY",
"value": "ouwdhe"
},
{
"context": "k[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcc",
"end": 9470,
"score": 0.5129328966,
"start": 9468,
"tag": "KEY",
"value": "ch"
},
{
"context": "wfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhq",
"end": 9474,
"score": 0.5126268864,
"start": 9472,
"tag": "KEY",
"value": "hd"
},
{
"context": "gsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\na",
"end": 9479,
"score": 0.5126969814,
"start": 9477,
"tag": "KEY",
"value": "mb"
},
{
"context": "dmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxn",
"end": 9484,
"score": 0.505320251,
"start": 9483,
"tag": "KEY",
"value": "r"
},
{
"context": "skc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbr",
"end": 9490,
"score": 0.5078484416,
"start": 9486,
"tag": "KEY",
"value": "rpgq"
},
{
"context": "rszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocyn",
"end": 9504,
"score": 0.5167807341,
"start": 9501,
"tag": "KEY",
"value": "msq"
},
{
"context": "atouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyaw",
"end": 9509,
"score": 0.5048683286,
"start": 9508,
"tag": "KEY",
"value": "q"
},
{
"context": "dhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn",
"end": 9527,
"score": 0.5204706788,
"start": 9513,
"tag": "KEY",
"value": "psimhcckrhqvek"
},
{
"context": "ytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn[jhmlgjsu",
"end": 9537,
"score": 0.5284805298,
"start": 9530,
"tag": "KEY",
"value": "udxncgo"
},
{
"context": "gqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn[jhmlgjsuffl",
"end": 9540,
"score": 0.5208192468,
"start": 9538,
"tag": "KEY",
"value": "br"
},
{
"context": "ahfkfjmsqjycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn[jhmlgjsufflkdgw]ld",
"end": 9547,
"score": 0.5130844712,
"start": 9545,
"tag": "KEY",
"value": "ll"
},
{
"context": "jycaq]mispsimhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn[jhmlgjsufflkdgw]ldmdclrkorzj",
"end": 9557,
"score": 0.5203267336,
"start": 9554,
"tag": "KEY",
"value": "buy"
},
{
"context": "imhcckrhqvek\nabudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn[jhmlgjsufflkdgw]ldmdclrkorzjtbjqcrn\nal",
"end": 9567,
"score": 0.5052092075,
"start": 9565,
"tag": "KEY",
"value": "hr"
},
{
"context": "htb]xsgtthuifmsqidyh\nejrplkjjbnjjouesaph[bdtybzkfyictcjuagr]ivtcttyunertnzgmpqv[roikukeznmtkqomqbk]lsxzsjrnsrdlxevj\nqgcebktqtyjjwsav[naozjsnqufkkgkp]evimphuulhzflub[weanrdvlsmmypnh]rojhwlyxtszxsjiuai\nzludmyuqlfpefvxcm[hejpyhwaqdndtwslan]ldtxkxxtegoqpntsnwg[olhtlkpvkdgkkxkisp]hursraavetjgloks\nrosuljoqspxeovaqr[ocjdnpuzmwioylt]txylrlsndrifxiuxuyg[jnubpcjyfzhiwul]pdtcjcrkpmzlayzcty[gasynfnouxnvrplkym]naxwpqsxlsbvyuavty\noxbyqbqmpckkdpfjtr[ggnmfcjtyfspqrqkg]tzapjijawrabozckadp[varichgjrivmseddxv]admqmnzxzqcbapdquwd\njvhvqxvhqfxnjzmv[hwfwxvwhxorzqizc]rpjpwggqxqkaznkuqn\nyrsucbqcfaukancrr[nabtowgijsnzryuvbiv]sfpffzxrftnrkjx[qfyfsbkyhetcedf]xdykjbymrqgheanxx[oxchcwrkbqvvfeyi]bztjlknshikocxztjm\niniqqqqprdeznwhr[arooglolfjgprfrbhbm]sczcmpftuhbaagwgedq[yutgzaqyxntjxoglmb]vswbhlspwfulowkif\nbjcjrdzwhmssgoinrcj[jobrpyapaxkasve]hzacshssrxkdtrlqhr[yygotqrmvhiqjrja]ljwfwudymzkpczysknf\nlrnqnaxtavkhwfebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]",
"end": 10888,
"score": 0.726523459,
"start": 10042,
"tag": "KEY",
"value": "ictcjuagr]ivtcttyunertnzgmpqv[roikukeznmtkqomqbk]lsxzsjrnsrdlxevj\nqgcebktqtyjjwsav[naozjsnqufkkgkp]evimphuulhzflub[weanrdvlsmmypnh]rojhwlyxtszxsjiuai\nzludmyuqlfpefvxcm[hejpyhwaqdndtwslan]ldtxkxxtegoqpntsnwg[olhtlkpvkdgkkxkisp]hursraavetjgloks\nrosuljoqspxeovaqr[ocjdnpuzmwioylt]txylrlsndrifxiuxuyg[jnubpcjyfzhiwul]pdtcjcrkpmzlayzcty[gasynfnouxnvrplkym]naxwpqsxlsbvyuavty\noxbyqbqmpckkdpfjtr[ggnmfcjtyfspqrqkg]tzapjijawrabozckadp[varichgjrivmseddxv]admqmnzxzqcbapdquwd\njvhvqxvhqfxnjzmv[hwfwxvwhxorzqizc]rpjpwggqxqkaznkuqn\nyrsucbqcfaukancrr[nabtowgijsnzryuvbiv]sfpffzxrftnrkjx[qfyfsbkyhetcedf]xdykjbymrqgheanxx[oxchcwrkbqvvfeyi]bztjlknshikocxztjm\niniqqqqprdeznwhr[arooglolfjgprfrbhbm]sczcmpftuhbaagwgedq[yutgzaqyxntjxoglmb]vswbhlspwfulowkif\nbjcjrdzwhmssgoinrcj[jobrpyapaxkasve]hzacshssrxkdtrlqhr[yygotqrmvhiqjrja]ljwfwudymzkpczysknf\nlrnqnaxtavkhwfebb"
},
{
"context": "qrmvhiqjrja]ljwfwudymzkpczysknf\nlrnqnaxtavkhwfebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfg",
"end": 10904,
"score": 0.5549734831,
"start": 10889,
"tag": "KEY",
"value": "vwyqnqkveujnlzv"
},
{
"context": "wudymzkpczysknf\nlrnqnaxtavkhwfebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh\nccjjszgrboz",
"end": 10917,
"score": 0.5449303985,
"start": 10905,
"tag": "KEY",
"value": "coizhrfmviiz"
},
{
"context": "qnaxtavkhwfebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh\nccjjszgrbozbpopagns",
"end": 10925,
"score": 0.5130252242,
"start": 10924,
"tag": "KEY",
"value": "q"
},
{
"context": "vkhwfebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh\nccjjszgrbozbpopagns[abiuz",
"end": 10931,
"score": 0.5283489823,
"start": 10930,
"tag": "KEY",
"value": "w"
},
{
"context": "ebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh\nccjjszgrbozbpopagns[abiuzirqfza",
"end": 10937,
"score": 0.5430998802,
"start": 10935,
"tag": "KEY",
"value": "jx"
},
{
"context": "[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh\nccjjszgrbozbpopagns[abiuzirqfzactu",
"end": 10940,
"score": 0.5198686123,
"start": 10938,
"tag": "KEY",
"value": "nx"
},
{
"context": "jnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh\nccjjszgrbozbpopagns[abiuzirqfzactus]eemrbqrkhh",
"end": 10952,
"score": 0.5427303314,
"start": 10949,
"tag": "KEY",
"value": "ros"
},
{
"context": "qyunnihulfp[vzxzosekvamoofva]bbtonpohbgdwfmt[xwzkmwrwruatcdqrj]enrapbeqoxrufgp\nlowqonzaekybouni[uehkpbaxwfixuwlj",
"end": 12787,
"score": 0.5603601933,
"start": 12775,
"tag": "KEY",
"value": "wrwruatcdqrj"
},
{
"context": "zxzosekvamoofva]bbtonpohbgdwfmt[xwzkmwrwruatcdqrj]enrapbeqoxrufgp\nlowqonzaekybouni[uehkpbaxwfixuwlj]ionorsihznoszwzyq[cnatlobscugfpv",
"end": 12820,
"score": 0.5634662509,
"start": 12788,
"tag": "KEY",
"value": "enrapbeqoxrufgp\nlowqonzaekybouni"
},
{
"context": "wzkmwrwruatcdqrj]enrapbeqoxrufgp\nlowqonzaekybouni[uehkpbaxwfixuwlj]ionorsihznoszwzyq[cnatlobscugfpvpbw]lnsmgieepzvmhvbz[lsjebmtctttclk",
"end": 12855,
"score": 0.5764559507,
"start": 12821,
"tag": "KEY",
"value": "uehkpbaxwfixuwlj]ionorsihznoszwzyq"
},
{
"context": "wqonzaekybouni[uehkpbaxwfixuwlj]ionorsihznoszwzyq[cnatlobscugfpvpbw]lnsmgieepzvmhvbz[lsjebmtctttclkxqok]jwevnfmcrtmgjyniiuf\nltxumfyzdinfqrlf[jyiwmlpqkbnbgmu]bnicegkghtwivvyozea[qhgoiugrookfmdsln]fpokyqsoknuahpmutnm[smzqellevlxgdbbet]vsadiuyglyyuccgkrz\nfvhanaukvcjdkhsydnz[pbjsoundyybhvaqglj]esjjvkdvjmgmlox\nhcckhzdfmmvnsmuzjg[uuajvdzksgilxpjmnv]opbmjvfljnqzxkql[pgdelzddxqrfdoqnit]hqrrfnwrokufpybg\novtjlczqesucgox[kiqphngcbakoelqncyi]jhrwrpwdjxbhnqp[kqvqdyokyuxul",
"end": 13219,
"score": 0.6241283417,
"start": 12856,
"tag": "KEY",
"value": "cnatlobscugfpvpbw]lnsmgieepzvmhvbz[lsjebmtctttclkxqok]jwevnfmcrtmgjyniiuf\nltxumfyzdinfqrlf[jyiwmlpqkbnbgmu]bnicegkghtwivvyozea[qhgoiugrookfmdsln]fpokyqsoknuahpmutnm[smzqellevlxgdbbet]vsadiuyglyyuccgkrz\nfvhanaukvcjdkhsydnz[pbjsoundyybhvaqglj]esjjvkdvjmgmlox\nhcckhzdfmmvnsmuzjg[uuajvdzksgilxpjmnv]opbmjvfljnqzxkql[pgdelzddxqrfdoqnit]hqrrfnwrokufpybg\novtjlczqesucgox"
},
{
"context": "delzddxqrfdoqnit]hqrrfnwrokufpybg\novtjlczqesucgox[kiqphngcbakoelqncyi]jhrwrpwdjxbhnqp[kqvqdyokyuxulxidc]qumskxudarjyage",
"end": 13239,
"score": 0.5530496836,
"start": 13220,
"tag": "KEY",
"value": "kiqphngcbakoelqncyi"
},
{
"context": "rfnwrokufpybg\novtjlczqesucgox[kiqphngcbakoelqncyi]jhrwrpwdjxbhnqp[kqvqdyokyuxulxidc]qumskxudarjyagegy\nmxrxpfkynraga",
"end": 13255,
"score": 0.5626186132,
"start": 13240,
"tag": "KEY",
"value": "jhrwrpwdjxbhnqp"
},
{
"context": "tjlczqesucgox[kiqphngcbakoelqncyi]jhrwrpwdjxbhnqp[kqvqdyokyuxulxidc]qumskxudarjyagegy\nmxrxpfkynragapzrmdv[rdhsbrxgeyw",
"end": 13273,
"score": 0.5620858073,
"start": 13256,
"tag": "KEY",
"value": "kqvqdyokyuxulxidc"
},
{
"context": "hngcbakoelqncyi]jhrwrpwdjxbhnqp[kqvqdyokyuxulxidc]qumskxudarjyagegy\nmxrxpfkynragapzrmdv[rdhsbrxgeywqbqh]rpoerdiwdiscia",
"end": 13291,
"score": 0.5669093728,
"start": 13274,
"tag": "KEY",
"value": "qumskxudarjyagegy"
},
{
"context": "rpwdjxbhnqp[kqvqdyokyuxulxidc]qumskxudarjyagegy\nmxrxpfkynragapzrmdv[rdhsbrxgeywqbqh]rpoerdiwdisciarhl\nejbdfeqrdsrijzt",
"end": 13311,
"score": 0.5523399711,
"start": 13294,
"tag": "KEY",
"value": "rxpfkynragapzrmdv"
},
{
"context": "okyuxulxidc]qumskxudarjyagegy\nmxrxpfkynragapzrmdv[rdhsbrxgeywqbqh]rpoerdiwdisciarhl\nejbdfeqrdsrijztlibc[beglofnxvei",
"end": 13327,
"score": 0.5340653658,
"start": 13312,
"tag": "KEY",
"value": "rdhsbrxgeywqbqh"
},
{
"context": "kxudarjyagegy\nmxrxpfkynragapzrmdv[rdhsbrxgeywqbqh]rpoerdiwdisciarhl\nejbdfeqrdsrijztlibc[beglofnxveiorftulay]jslqibpnun",
"end": 13345,
"score": 0.5320726633,
"start": 13328,
"tag": "KEY",
"value": "rpoerdiwdisciarhl"
},
{
"context": "kynragapzrmdv[rdhsbrxgeywqbqh]rpoerdiwdisciarhl\nejbdfeqrdsrijztlibc[beglofnxveiorftulay]jslqibpnunabgqmi\nuplsbqle",
"end": 13361,
"score": 0.5276688933,
"start": 13348,
"tag": "KEY",
"value": "bdfeqrdsrijzt"
},
{
"context": "easi\ngicahlhkuxbhppe[cypyeqpzkrggfqrielv]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs\njtzwiyeu",
"end": 13502,
"score": 0.5120258331,
"start": 13500,
"tag": "KEY",
"value": "nd"
},
{
"context": "hkuxbhppe[cypyeqpzkrggfqrielv]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs\njtzwiyeueztuiwysyv[",
"end": 13513,
"score": 0.5194058418,
"start": 13511,
"tag": "KEY",
"value": "nn"
},
{
"context": "pe[cypyeqpzkrggfqrielv]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs\njtzwiyeueztuiwysyv[awibgss",
"end": 13520,
"score": 0.5043773651,
"start": 13518,
"tag": "KEY",
"value": "am"
},
{
"context": "cypyeqpzkrggfqrielv]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs\njtzwiyeueztuiwysyv[awibgssyys",
"end": 13523,
"score": 0.5119704008,
"start": 13521,
"tag": "KEY",
"value": "mp"
},
{
"context": "rggfqrielv]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs\njtzwiyeueztuiwysyv[awibgssyyssrnuxrvuw]mmy",
"end": 13536,
"score": 0.509885788,
"start": 13530,
"tag": "KEY",
"value": "gnkxtb"
},
{
"context": "]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs\njtzwiyeueztuiwysyv[awibgssyyssrnuxrvuw]mmyvqfgaar",
"end": 13543,
"score": 0.5155205131,
"start": 13540,
"tag": "KEY",
"value": "uhs"
},
{
"context": "euauhblqnq[oksqvawybtejxmdw]jrbwmyxdggncxitwcms[fvhnmupxnynxmprs]odbifiqqxskxaqn[xwdwagplcltcepjmtf]zsfevibkmzwtzoq\nkflcnlkdujmtiug[rwydvjaazfgmfcn]qolbbuxzxhoizfqcwn[tprjkbylcrlvmbggae]pjwhgcmgxzhxbxdceme\ndonbjfkqtygixfpaa[lhfcyuzcmsgixjbr]njvgmbwgzimrtpdmvf[eonodblqfpgtmex]rkakjzfmuyeajvhs[lmgtvenasnqbyby]jdbxoeqnwoednoncq\nlaiyueskjnlltkwm[lzrgjwrjchpmnais]pqltpskalrwtmtagvm[luctnpiuqvulmtmw]awlqbuutunlbpusn[hdetxhrtzhkyfktmfn]qpmezabxzrtquidbjc\nhritvdzjxipitctgoex[jtbjcyaysbefjme]ebbcyqglydfhqjfa[uwuwqhwanfydpxqk]enevryjyzduawrfc\naxxprqpxpifqnwte[qwkkhbywyixngun]ufwcbmerbqiblbdmn[mguzyerbfhpqnybh]gscgmmckgfxvvwgxxm[gfjzckcxdowpwmhmg]hjblyfatzhxjyvlccb\nqzzkrqfnnzvgfmrpjr[sktcrqxcctcduir]vmhsrsedrxpnrugm\nmpxgzowtjabzwfcbeg[olgfqepvinejmstbrj]fnqxcfzuxojvkscyk[pxbyuusrrbjwrygkxm]wiojjquwvhineivnkys\nvqcisychxuswbqlzdkj[jetvpggxtqqguuh]tyllnzfyfphoudijzj[xlnznxybxscqjktjn]oysyrlqascsqbclsb[rzhxpwwrjwakoldm]mrwzibdjlhsdsbew\nrttdskfweqmkjolrgsd[gmdwcimmgetwiprem]wkyklvpjyhp",
"end": 14572,
"score": 0.8645502329,
"start": 13688,
"tag": "KEY",
"value": "hnmupxnynxmprs]odbifiqqxskxaqn[xwdwagplcltcepjmtf]zsfevibkmzwtzoq\nkflcnlkdujmtiug[rwydvjaazfgmfcn]qolbbuxzxhoizfqcwn[tprjkbylcrlvmbggae]pjwhgcmgxzhxbxdceme\ndonbjfkqtygixfpaa[lhfcyuzcmsgixjbr]njvgmbwgzimrtpdmvf[eonodblqfpgtmex]rkakjzfmuyeajvhs[lmgtvenasnqbyby]jdbxoeqnwoednoncq\nlaiyueskjnlltkwm[lzrgjwrjchpmnais]pqltpskalrwtmtagvm[luctnpiuqvulmtmw]awlqbuutunlbpusn[hdetxhrtzhkyfktmfn]qpmezabxzrtquidbjc\nhritvdzjxipitctgoex[jtbjcyaysbefjme]ebbcyqglydfhqjfa[uwuwqhwanfydpxqk]enevryjyzduawrfc\naxxprqpxpifqnwte[qwkkhbywyixngun]ufwcbmerbqiblbdmn[mguzyerbfhpqnybh]gscgmmckgfxvvwgxxm[gfjzckcxdowpwmhmg]hjblyfatzhxjyvlccb\nqzzkrqfnnzvgfmrpjr[sktcrqxcctcduir]vmhsrsedrxpnrugm\nmpxgzowtjabzwfcbeg[olgfqepvinejmstbrj]fnqxcfzuxojvkscyk[pxbyuusrrbjwrygkxm]wiojjquwvhineivnkys\nvqcisychxuswbqlzdkj[jetvpggxtqqguuh]tyllnzfyfphoudijzj[xlnznxybxscqjktjn]oysyrlqascsqbclsb[rzhxpwwrjwakoldm]mrwzibdjlhsdsbew"
},
{
"context": "rlqascsqbclsb[rzhxpwwrjwakoldm]mrwzibdjlhsdsbew\nrttdskfweqmkjolrgsd[gmdwcimmgetwiprem]wkyklvpjyhpzvmsh[zftyxsr",
"end": 14585,
"score": 0.5411511064,
"start": 14575,
"tag": "KEY",
"value": "tdskfweqmk"
},
{
"context": "[rzhxpwwrjwakoldm]mrwzibdjlhsdsbew\nrttdskfweqmkjolrgsd[gmdwcimmgetwiprem]wkyklvpjyhpzvmsh[zftyxsrvhnioom",
"end": 14592,
"score": 0.5743862391,
"start": 14588,
"tag": "KEY",
"value": "rgsd"
},
{
"context": "pwwrjwakoldm]mrwzibdjlhsdsbew\nrttdskfweqmkjolrgsd[gmdwcimmgetwiprem]wkyklvpjyhpzvmsh[zftyxsrvhnioomw]mrvoyvyyrlguwedz[xyrajtcatyabfqig",
"end": 14627,
"score": 0.5781574249,
"start": 14593,
"tag": "KEY",
"value": "gmdwcimmgetwiprem]wkyklvpjyhpzvmsh"
},
{
"context": "kfweqmkjolrgsd[gmdwcimmgetwiprem]wkyklvpjyhpzvmsh[zftyxsrvhnioomw]mrvoyvyyrlguwedz[xyrajtcatyabfqigup]srjmohoxwdybksfv\nxzeexlrzdznmh",
"end": 14660,
"score": 0.5947996378,
"start": 14628,
"tag": "KEY",
"value": "zftyxsrvhnioomw]mrvoyvyyrlguwedz"
},
{
"context": "wkyklvpjyhpzvmsh[zftyxsrvhnioomw]mrvoyvyyrlguwedz[xyrajtcatyabfqigup]srjmohoxwdybksfv\nxzeexlrzdznmhbph[vobtfjuyowqppxw]mjxwhgwveozusndvi[jthhtubbkbmdiep",
"end": 14713,
"score": 0.5925214291,
"start": 14661,
"tag": "KEY",
"value": "xyrajtcatyabfqigup]srjmohoxwdybksfv\nxzeexlrzdznmhbph"
},
{
"context": "ajtcatyabfqigup]srjmohoxwdybksfv\nxzeexlrzdznmhbph[vobtfjuyowqppxw]mjxwhgwveozusndvi[jthhtubbkbmdiepfh]gtedeqwesiwzlrfny[tppxuofhnwwkbkysg]aygwlnvczaarhfgkw\nzxirxtzlqkptwqd[vwdzostlmrbjclfj]aluxqfcdbjwbeerhr[nsjcafnammlxjafrzaa]kipaqywrtrpkbcdtnyi\nvovbpdgnfhmeuadh[bcgvleartfaspvvjjz]ajyzrbirtimuifvs[lykguucpvkxuupcbims]qplsipqneiycefb\nalqzdecagmvodcigcd[atmngaijkfehfbc]cprsiaclouvtbpaab[lfrxlrzuuooqdtfirbj]olcjwtrkndcvykp[lelvgglysdxycvk]uyakjndqzxtzmxs\nsyngsortxjqcdwcz[qkiseyvolwhibxdg]ucuxqdozkfgaxqwo",
"end": 15120,
"score": 0.6236557961,
"start": 14714,
"tag": "KEY",
"value": "vobtfjuyowqppxw]mjxwhgwveozusndvi[jthhtubbkbmdiepfh]gtedeqwesiwzlrfny[tppxuofhnwwkbkysg]aygwlnvczaarhfgkw\nzxirxtzlqkptwqd[vwdzostlmrbjclfj]aluxqfcdbjwbeerhr[nsjcafnammlxjafrzaa]kipaqywrtrpkbcdtnyi\nvovbpdgnfhmeuadh[bcgvleartfaspvvjjz]ajyzrbirtimuifvs[lykguucpvkxuupcbims]qplsipqneiycefb\nalqzdecagmvodcigcd[atmngaijkfehfbc]cprsiaclouvtbpaab[lfrxlrzuuooqdtfirbj]olcjwtrkndcvykp[lelvgglysdxycvk]uyakjndqzxtzmxs"
},
{
"context": "lcjwtrkndcvykp[lelvgglysdxycvk]uyakjndqzxtzmxs\nsyngsortxjqcdwcz[qkiseyvolwhibxdg]ucuxqdozkfgaxqwovk[eqeessuwvcayh",
"end": 15137,
"score": 0.6002706289,
"start": 15124,
"tag": "KEY",
"value": "gsortxjqcdwcz"
},
{
"context": "[lelvgglysdxycvk]uyakjndqzxtzmxs\nsyngsortxjqcdwcz[qkiseyvolwhibxdg]ucuxqdozkfgaxqwovk[eqeessuwvcayhpc]wkhzcbkxgakgxnmho\nbhtxesznfkwqbod",
"end": 15173,
"score": 0.5925461054,
"start": 15138,
"tag": "KEY",
"value": "qkiseyvolwhibxdg]ucuxqdozkfgaxqwovk"
},
{
"context": "ortxjqcdwcz[qkiseyvolwhibxdg]ucuxqdozkfgaxqwovk[eqeessuwvcayhpc]wkhzcbkxgakgxnmho\nbhtxesznfkwqbodb[ptpuhbdsvbcjpmnsl]oohvgktjsjwxqgyxov\nudnbbnkojrde",
"end": 15224,
"score": 0.5755463839,
"start": 15176,
"tag": "KEY",
"value": "eessuwvcayhpc]wkhzcbkxgakgxnmho\nbhtxesznfkwqbodb"
},
{
"context": "essuwvcayhpc]wkhzcbkxgakgxnmho\nbhtxesznfkwqbodb[ptpuhbdsvbcjpmnsl]oohvgktjsjwxqgyxov\nudnbbnkojrdevgujkg[cramyjeucky",
"end": 15242,
"score": 0.5440334082,
"start": 15227,
"tag": "KEY",
"value": "puhbdsvbcjpmnsl"
},
{
"context": "zcbkxgakgxnmho\nbhtxesznfkwqbodb[ptpuhbdsvbcjpmnsl]oohvgktjsjwxqgyxov\nudnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm",
"end": 15261,
"score": 0.547980547,
"start": 15243,
"tag": "KEY",
"value": "oohvgktjsjwxqgyxov"
},
{
"context": "znfkwqbodb[ptpuhbdsvbcjpmnsl]oohvgktjsjwxqgyxov\nudnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibm",
"end": 15280,
"score": 0.5297214985,
"start": 15264,
"tag": "KEY",
"value": "nbbnkojrdevgujkg"
},
{
"context": "vbcjpmnsl]oohvgktjsjwxqgyxov\nudnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgx",
"end": 15288,
"score": 0.5246940255,
"start": 15283,
"tag": "KEY",
"value": "amyje"
},
{
"context": "]oohvgktjsjwxqgyxov\nudnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmh",
"end": 15296,
"score": 0.5129529238,
"start": 15292,
"tag": "KEY",
"value": "wtuw"
},
{
"context": "tjsjwxqgyxov\nudnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtk",
"end": 15307,
"score": 0.5287635326,
"start": 15299,
"tag": "KEY",
"value": "ldussgog"
},
{
"context": "\nudnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmme",
"end": 15312,
"score": 0.528421998,
"start": 15311,
"tag": "KEY",
"value": "m"
},
{
"context": "bnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmmeuttwyklv[",
"end": 15321,
"score": 0.5089498758,
"start": 15316,
"tag": "KEY",
"value": "acyaf"
},
{
"context": "gujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmmeuttwyklv[rgnrxk",
"end": 15327,
"score": 0.5130460262,
"start": 15325,
"tag": "KEY",
"value": "gb"
},
{
"context": "[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmmeuttwyklv[rgnrxkbavqa",
"end": 15332,
"score": 0.5127713084,
"start": 15330,
"tag": "KEY",
"value": "wn"
},
{
"context": "yjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmmeuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfm",
"end": 15351,
"score": 0.5468453169,
"start": 15335,
"tag": "KEY",
"value": "sgxmywenrmhdctxg"
},
{
"context": "gogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmmeuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfmplba\nkvbjvjxyqiqiti",
"end": 15370,
"score": 0.5227935314,
"start": 15354,
"tag": "KEY",
"value": "qtkzkmmeuttwyklv"
},
{
"context": "kvgbibmwn]xvsgxmywenrmhdctxg\nuzqtkzkmmeuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfmplba\nkvbjvjxyqiqitikvm[vkzunkivwcpvxng",
"end": 15389,
"score": 0.5277340412,
"start": 15373,
"tag": "KEY",
"value": "nrxkbavqabukxvnp"
},
{
"context": "wenrmhdctxg\nuzqtkzkmmeuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfmplba\nkvbjvjxyqiqitikvm[vkzunkivwcpvxng]totvodotoqiqoko",
"end": 15405,
"score": 0.5507098436,
"start": 15390,
"tag": "KEY",
"value": "whhgpmwocfmplba"
},
{
"context": "zkmmeuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfmplba\nkvbjvjxyqiqitikvm[vkzunkivwcpvxng]totvodotoqiqokouz[l",
"end": 15409,
"score": 0.5442010164,
"start": 15407,
"tag": "KEY",
"value": "vb"
},
{
"context": "meuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfmplba\nkvbjvjxyqiqitikvm[vkzunkivwcpvxng]totvodotoqiqokouz[luzygityr",
"end": 15417,
"score": 0.5191806555,
"start": 15410,
"tag": "KEY",
"value": "vjxyqiq"
},
{
"context": "rgnrxkbavqabukxvnp]whhgpmwocfmplba\nkvbjvjxyqiqitikvm[vkzunkivwcpvxng]totvodotoqiqokouz[luzygityrnpuiih",
"end": 15423,
"score": 0.5130665302,
"start": 15421,
"tag": "KEY",
"value": "vm"
},
{
"context": "tyrnpuiih]eadddxqveeuujmvnek[nyxhwlkatungkgm]bdhobvhktlnfpjelr\ninmnseeoqimzjwzhltk[ntwlsdvvybtdoqciu]jaurhomtnyudxxmslj[wqygsctddywlbxg]apsdlaftsghmhtj\npxieimaprtbntgvm[xuvwwsinhwjjapu]taeomoijctvzyeijfr[gitzztxejfefzvepf]udobxonjlqagrkpaehc[fkqjhfjicleroxp]hxpzoklhbgtngtagcz\nlqmoxvnknpqzcgs[zktsmqcgzqjponj]wfhhzvqiqkxfwrrw[actbxtcdlogatfkprc]tvzphmtxfrptzlopv\nczdnqiwqhighizbmivy[tptpsvsahslbsovazkk]ycppvkqvuggebgxibe[qutumfpnpzjkgqyfkok]ixywxvmvliftixfie[qipgniycxomhgmwje]vnhxbcnofkcnzep\nigvdicnzsefxlgk[dzppkxdievabwyh]fvyywjzcyfcqahv\nbjzwblslduiolbezybz[flvsgshhznvzmrxo]lottitaizuksqfihn[kgsgzawzjlqjsep]ihadewtrfpsudggga[oecgswhnbhslysd]flpdpxndzacxeskzmn\nsyxfjuakhrnntipfpb[xmntswflflstndkv]lityfpfignnxsyirja\nunggjaqgvzrckyqx[llllagrmuioghea]qafuiwqpxcljhvf[tevtmuvcyqqrzvrduc]kqnaadyfxfyyzjuco\ncpjvjnocqphsagdizq[rzfbvtnodwqrqprvqh]rnlzshtjhrevjgdu[lbozqegfwoaikxbnt]cqmzymvkummuzjfx[vtknqltevighwfdnjv]djhfeemiljlvkgqkpp\nadbbbgxmiqomckxesb[dmwxvrammletdiim]eiozjsockohij",
"end": 16398,
"score": 0.7465872765,
"start": 15514,
"tag": "KEY",
"value": "vhktlnfpjelr\ninmnseeoqimzjwzhltk[ntwlsdvvybtdoqciu]jaurhomtnyudxxmslj[wqygsctddywlbxg]apsdlaftsghmhtj\npxieimaprtbntgvm[xuvwwsinhwjjapu]taeomoijctvzyeijfr[gitzztxejfefzvepf]udobxonjlqagrkpaehc[fkqjhfjicleroxp]hxpzoklhbgtngtagcz\nlqmoxvnknpqzcgs[zktsmqcgzqjponj]wfhhzvqiqkxfwrrw[actbxtcdlogatfkprc]tvzphmtxfrptzlopv\nczdnqiwqhighizbmivy[tptpsvsahslbsovazkk]ycppvkqvuggebgxibe[qutumfpnpzjkgqyfkok]ixywxvmvliftixfie[qipgniycxomhgmwje]vnhxbcnofkcnzep\nigvdicnzsefxlgk[dzppkxdievabwyh]fvyywjzcyfcqahv\nbjzwblslduiolbezybz[flvsgshhznvzmrxo]lottitaizuksqfihn[kgsgzawzjlqjsep]ihadewtrfpsudggga[oecgswhnbhslysd]flpdpxndzacxeskzmn\nsyxfjuakhrnntipfpb[xmntswflflstndkv]lityfpfignnxsyirja\nunggjaqgvzrckyqx[llllagrmuioghea]qafuiwqpxcljhvf[tevtmuvcyqqrzvrduc]kqnaadyfxfyyzjuco\ncpjvjnocqphsagdizq[rzfbvtnodwqrqprvqh]rnlzshtjhrevjgdu[lbozqegfwoaikxbnt]cqmzymvkummuzjfx[vtknqltevighwfdnjv]djhfeemiljlvkgqkpp"
},
{
"context": "dyqyfvpkhdulwuj\njivforicorwbkmccpgj[oviyldmrjjzbojbs]wpztdiwcdrwttmfdw[jgylosmbgxlrogsa]htkvwsfczzoascpunqr[uemtqxhcvvphnvktio]xkghvnicljrlndjtsv\nzkzjccnvukaraob[asytykcstvxtkvermx]lqgjlittfqpyxcq[dwyrqfxmwryvxjzr]edufjnmxhzxokjgphk[ucthvgtgfpzxikmnjv]yqumujliwpjujnymcen\nbhbndmsnnbhspzjby[llodpdecwrlspsbhbhm]zqulqmxwcerescalp\nozkoqhvatxmivox[qffeloluwcgsimvcrnu]pweywrdkmtqjiflvcm\nrznstgdzevfsthcc[jpgjzgeibmumtatu]asgwjccfkwzaigwp[soegoylmysqcequdsw]pennknxcwwasonjz\nafniplpdesiwqvdioov[xfkwuijxjgtqbhqow]idmgzrcmwzmrfbsubkz[mjwyiznfpjztbfervj]cythmqghdkjcfrt[ekhpwckuwduoexycc]htaeivvotvlstvsrpj\ngecbcvpiswzjjeiriav[ivbfdesbkamvngogjb]xphdszgbcburesbfi\nuldzgctwccgqdbxrmpo[guiftcqomdqlqua]dmxluytucnlndazic[mhmdapmemlrwmvdzwkn]oqyvwmhlabcwxpzioz\nmganrfqbsckpjsnvlh[vlwmfxhxlnnpsghrhmr]eqyrkxjcwpkahqpxeqr\nwpbzefalgkbnrke[qruzjqtrkbzsvfgwz]vahtniazgsicquatrg[zzslttuxbwolldy]cuejnzjsuwgkobp[yspyowiamjpzcaqwb]vhakhmjrncjoroe\nycxznczxbzrprsiw[oggkqxyiyvsrmxck]asjjivqayantzzf",
"end": 18199,
"score": 0.7227195501,
"start": 17322,
"tag": "KEY",
"value": "bs]wpztdiwcdrwttmfdw[jgylosmbgxlrogsa]htkvwsfczzoascpunqr[uemtqxhcvvphnvktio]xkghvnicljrlndjtsv\nzkzjccnvukaraob[asytykcstvxtkvermx]lqgjlittfqpyxcq[dwyrqfxmwryvxjzr]edufjnmxhzxokjgphk[ucthvgtgfpzxikmnjv]yqumujliwpjujnymcen\nbhbndmsnnbhspzjby[llodpdecwrlspsbhbhm]zqulqmxwcerescalp\nozkoqhvatxmivox[qffeloluwcgsimvcrnu]pweywrdkmtqjiflvcm\nrznstgdzevfsthcc[jpgjzgeibmumtatu]asgwjccfkwzaigwp[soegoylmysqcequdsw]pennknxcwwasonjz\nafniplpdesiwqvdioov[xfkwuijxjgtqbhqow]idmgzrcmwzmrfbsubkz[mjwyiznfpjztbfervj]cythmqghdkjcfrt[ekhpwckuwduoexycc]htaeivvotvlstvsrpj\ngecbcvpiswzjjeiriav[ivbfdesbkamvngogjb]xphdszgbcburesbfi\nuldzgctwccgqdbxrmpo[guiftcqomdqlqua]dmxluytucnlndazic[mhmdapmemlrwmvdzwkn]oqyvwmhlabcwxpzioz\nmganrfqbsckpjsnvlh[vlwmfxhxlnnpsghrhmr]eqyrkxjcwpkahqpxeqr\nwpbzefalgkbnrke[qruzjqtrkbzsvfgwz]vahtniazgsicquatrg[zzslttuxbwolldy]cuejnzjsuwgkobp[yspyowiamjpzcaqwb]vhakhmjrncjoroe"
},
{
"context": "uejnzjsuwgkobp[yspyowiamjpzcaqwb]vhakhmjrncjoroe\nycxznczxbzrprsiw[oggkqxyiyvsrmxck]asjjivqayantzzfysr\newbllymppqrdn",
"end": 18216,
"score": 0.5729309916,
"start": 18201,
"tag": "KEY",
"value": "cxznczxbzrprsiw"
},
{
"context": "\nycxznczxbzrprsiw[oggkqxyiyvsrmxck]asjjivqayantzzfysr\newbllymppqrdnaeni[qkytupytcgsftpprv]jfepwibznfbypfnf[lrparpwtkrzlxwep]vdsywhvslycyohef[lxhwibvmyypfrkdsley]kookbjfsapqphmywuu\ncfpbgrwdsnrgddzzh[vbqzujunswprxyxnk]efqzsevzxurynhnm[cyctdnsmqdssnmzyrg]vvswrmqzxnrbkhunu[homwjhndwctdbecwh]cdvggafdchgeuqy\nlihwrhvzkhbrgct[hmwzxlaycaimxchybqf]ruvcpltuinwybvv[xjbzxcihznlkorih]zxnxeqobqveujyrdnur[ijhueqaqprdlrdcjsh]blwxhcuajnskuntgo\niroxkwgrjpzdodvmohd[wexdltrhssaqwqnh]ynvmdpomrekdsfrjccp\ngfusgnroizvfwwcsc[jgvlrznerrnjretc]dcbnruamgkyrowp",
"end": 18685,
"score": 0.6287028193,
"start": 18249,
"tag": "KEY",
"value": "ysr\newbllymppqrdnaeni[qkytupytcgsftpprv]jfepwibznfbypfnf[lrparpwtkrzlxwep]vdsywhvslycyohef[lxhwibvmyypfrkdsley]kookbjfsapqphmywuu\ncfpbgrwdsnrgddzzh[vbqzujunswprxyxnk]efqzsevzxurynhnm[cyctdnsmqdssnmzyrg]vvswrmqzxnrbkhunu[homwjhndwctdbecwh]cdvggafdchgeuqy\nlihwrhvzkhbrgct[hmwzxlaycaimxchybqf]ruvcpltuinwybvv[xjbzxcihznlkorih]zxnxeqobqveujyrdnur[ijhueqaqprdlrdcjsh]blwxhcuajnskuntgo\niroxkwgrjpzdodvmohd[wexdltrhssaqwqnh]ynvmdpomrekdsfrjccp"
},
{
"context": "pzdodvmohd[wexdltrhssaqwqnh]ynvmdpomrekdsfrjccp\ngfusgnroizvfwwcsc[jgvlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqt",
"end": 18703,
"score": 0.5786248446,
"start": 18688,
"tag": "KEY",
"value": "usgnroizvfwwcsc"
},
{
"context": "rhssaqwqnh]ynvmdpomrekdsfrjccp\ngfusgnroizvfwwcsc[jgvlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzo",
"end": 18720,
"score": 0.5326651931,
"start": 18705,
"tag": "KEY",
"value": "gvlrznerrnjretc"
},
{
"context": "rekdsfrjccp\ngfusgnroizvfwwcsc[jgvlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnos",
"end": 18739,
"score": 0.5584486127,
"start": 18724,
"tag": "KEY",
"value": "nruamgkyrowpglv"
},
{
"context": "nroizvfwwcsc[jgvlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswg",
"end": 18752,
"score": 0.533444643,
"start": 18741,
"tag": "KEY",
"value": "busonvwwycq"
},
{
"context": "jgvlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswgulg",
"end": 18755,
"score": 0.5282946825,
"start": 18754,
"tag": "KEY",
"value": "k"
},
{
"context": "vlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswgulguic\nbsjpzlhhqvng",
"end": 18771,
"score": 0.5446487069,
"start": 18756,
"tag": "KEY",
"value": "oqngfriboradzof"
},
{
"context": "bnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswgulguic\nbsjpzlhhqvnghwnp[gakh",
"end": 18780,
"score": 0.5302984118,
"start": 18773,
"tag": "KEY",
"value": "osalcux"
},
{
"context": "owpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswgulguic\nbsjpzlhhqvnghwnp[gakhkxegeohljl",
"end": 18790,
"score": 0.5244765282,
"start": 18783,
"tag": "KEY",
"value": "xpjnoss"
},
{
"context": "sonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswgulguic\nbsjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbd",
"end": 18808,
"score": 0.5406551957,
"start": 18793,
"tag": "KEY",
"value": "unwgykswgulguic"
},
{
"context": "riboradzof[yosalcuxlovxpjnoss]teunwgykswgulguic\nbsjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpa",
"end": 18825,
"score": 0.5406054258,
"start": 18811,
"tag": "KEY",
"value": "jpzlhhqvnghwnp"
},
{
"context": "xlovxpjnoss]teunwgykswgulguic\nbsjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpagptx[ufqdptheyevt",
"end": 18842,
"score": 0.5129304528,
"start": 18829,
"tag": "KEY",
"value": "hkxegeohljlwz"
},
{
"context": "unwgykswgulguic\nbsjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]te",
"end": 18852,
"score": 0.5207432508,
"start": 18843,
"tag": "KEY",
"value": "hfhculyhg"
},
{
"context": "guic\nbsjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]tekvtwjv",
"end": 18858,
"score": 0.5310971141,
"start": 18854,
"tag": "KEY",
"value": "cflb"
},
{
"context": "sjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]tekvtwjvapc",
"end": 18860,
"score": 0.5126803517,
"start": 18860,
"tag": "KEY",
"value": ""
},
{
"context": "lhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujaj",
"end": 18878,
"score": 0.539665103,
"start": 18864,
"tag": "KEY",
"value": "qyejfhrpvpagpt"
},
{
"context": "egeohljlwz]hfhculyhgdwcflbdt\nataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhant",
"end": 18899,
"score": 0.5258249044,
"start": 18882,
"tag": "KEY",
"value": "qdptheyevtxqjuqsm"
},
{
"context": "wcflbdt\nataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlr",
"end": 18919,
"score": 0.5171635747,
"start": 18903,
"tag": "KEY",
"value": "vtwjvapcyamluzbn"
},
{
"context": "vpagptx[ufqdptheyevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabg",
"end": 18930,
"score": 0.5109634399,
"start": 18922,
"tag": "KEY",
"value": "ktujajfn"
},
{
"context": "qdptheyevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubb",
"end": 18934,
"score": 0.5208733678,
"start": 18932,
"tag": "KEY",
"value": "ff"
},
{
"context": "yevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwa",
"end": 18939,
"score": 0.535662055,
"start": 18938,
"tag": "KEY",
"value": "c"
},
{
"context": "xqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwanvf\nqkyfobviahzasb",
"end": 18957,
"score": 0.5340561867,
"start": 18942,
"tag": "KEY",
"value": "pinhantulzwpqug"
},
{
"context": "pcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwanvf\nqkyfobviahzasbi[dq",
"end": 18961,
"score": 0.5284585357,
"start": 18959,
"tag": "KEY",
"value": "am"
},
{
"context": "uzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwanvf\nqkyfobviahzasbi[dqhxzkbapqmrub",
"end": 18973,
"score": 0.5267220736,
"start": 18965,
"tag": "KEY",
"value": "xvlrwccp"
},
{
"context": "ajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwanvf\nqkyfobviahzasbi[dqhxzkbapqmrubogqg]aenfdyclijdpkeq",
"end": 18992,
"score": 0.5390680432,
"start": 18976,
"tag": "KEY",
"value": "zabgrubbhhwwanvf"
},
{
"context": "nhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwanvf\nqkyfobviahzasbi[dqhxzkbapqmrubogqg]aenfdyclijdpkeqzc[fbetcpbytjyw",
"end": 19008,
"score": 0.5404267311,
"start": 18994,
"tag": "KEY",
"value": "kyfobviahzasbi"
},
{
"context": "krynxvlrwccp]bgzabgrubbhhwwanvf\nqkyfobviahzasbi[dqhxzkbapqmrubogqg]aenfdyclijdpkeqzc[fbetcpbytjywomh]mqzvwjmgiexjfeh",
"end": 19027,
"score": 0.5266584754,
"start": 19011,
"tag": "KEY",
"value": "hxzkbapqmrubogqg"
},
{
"context": "grubbhhwwanvf\nqkyfobviahzasbi[dqhxzkbapqmrubogqg]aenfdyclijdpkeqzc[fbetcpbytjywomh]mqzvwjmgiexjfehor[ntw",
"end": 19033,
"score": 0.5243929625,
"start": 19029,
"tag": "KEY",
"value": "enfd"
},
{
"context": "hhwwanvf\nqkyfobviahzasbi[dqhxzkbapqmrubogqg]aenfdyclijdpkeqzc[fbetcpbytjywomh]mqzvwjmgiexjfehor[ntwcsnflvlaxmfq",
"end": 19045,
"score": 0.5373150706,
"start": 19034,
"tag": "KEY",
"value": "clijdpkeqzc"
},
{
"context": "[dqhxzkbapqmrubogqg]aenfdyclijdpkeqzc[fbetcpbytjywomh]mqzvwjmgiexjfehor[ntwcsnflvlaxmfqh]uvubufoducqwac",
"end": 19061,
"score": 0.508829236,
"start": 19058,
"tag": "KEY",
"value": "omh"
},
{
"context": "hrazilaqswz[gdxchlzickidnqfeo]wmadrvyuoczftbdbbij[jxlyycfmgmbujmas]gsreebayzepseakylr\nzeenyzzskgvaysxe[drhsgkqipilrdmcl]xyhouejaqgfdhoshp\nsclmsgjqcijlilhtyn[tyxuebqjqjqdnzg]rfeqmnwynyzfwsfq[jnrjwlqvcnvziqjqnz]zjyeqebxncecsykm[jizuywrcdskgjpv]nkogvpblfiwwnynxf\nrkklgzusmfikiyxsk[zfcqvybbvwxwxlosyhk]pbcybycsiegagdr[jfrnxtonuvihkiueuhz]xlfvapkzcpysqoi\nnllzirippgseojljl[oahmzicssbyckdhyb]qqaeuleefpxlwfl[orimgxtsfwsplrbuppt]eyzeliykpnmmklg\nsypyjddvabqnknl[zfoknkriiqmevubru]rcxkbkzngjzzcchl\nuveautnfudowpkocevc[xqckexnnmsrzxwrgnwo]fbrkssqktfmvbebfs[jmkkvbmhembpojk]vrixaskbnwyzibmtux[evdzaxyibnensgkua]djjjewnszeukvelm\nxcidhycxopgdfgzxp[wcybbxckgqmwttrrvq]zjynrtlsoibooaiqg[zzsjshnyyytzmrcskh]lnvmmzokrgnyqfvsi[kjpgxjqiyimfzec]bpdjsrxzsbwigarmwi\nzytphsjaeavezjmtjf[ocfrxoepijrllfc]gsnkhdomwvsrvmctk\nhjrxkkrrutrkmsiax[zwsclcwdqaukxxwmbgk]jjvxzyshctodfeeonp[eklzpyupurxmcvgndo]neaovsspupkhdclbo\nagrgepnpjdjmmzxtoz[yptupgqukzyiwko]zegusqzhdpylmvh",
"end": 20921,
"score": 0.7094765902,
"start": 20081,
"tag": "KEY",
"value": "jxlyycfmgmbujmas]gsreebayzepseakylr\nzeenyzzskgvaysxe[drhsgkqipilrdmcl]xyhouejaqgfdhoshp\nsclmsgjqcijlilhtyn[tyxuebqjqjqdnzg]rfeqmnwynyzfwsfq[jnrjwlqvcnvziqjqnz]zjyeqebxncecsykm[jizuywrcdskgjpv]nkogvpblfiwwnynxf\nrkklgzusmfikiyxsk[zfcqvybbvwxwxlosyhk]pbcybycsiegagdr[jfrnxtonuvihkiueuhz]xlfvapkzcpysqoi\nnllzirippgseojljl[oahmzicssbyckdhyb]qqaeuleefpxlwfl[orimgxtsfwsplrbuppt]eyzeliykpnmmklg\nsypyjddvabqnknl[zfoknkriiqmevubru]rcxkbkzngjzzcchl\nuveautnfudowpkocevc[xqckexnnmsrzxwrgnwo]fbrkssqktfmvbebfs[jmkkvbmhembpojk]vrixaskbnwyzibmtux[evdzaxyibnensgkua]djjjewnszeukvelm\nxcidhycxopgdfgzxp[wcybbxckgqmwttrrvq]zjynrtlsoibooaiqg[zzsjshnyyytzmrcskh]lnvmmzokrgnyqfvsi[kjpgxjqiyimfzec]bpdjsrxzsbwigarmwi\nzytphsjaeavezjmtjf[ocfrxoepijrllfc]gsnkhdomwvsrvmctk\nhjrxkkrrutrkmsiax[zwsclcwdqaukxxwmbgk]jjvxzyshctodfeeonp[eklzpyupurxmcvgndo]neaovsspupkhdclbo"
},
{
"context": "todfeeonp[eklzpyupurxmcvgndo]neaovsspupkhdclbo\nagrgepnpjdjmmzxtoz[yptupgqukzyiwko]zegusqzhdpylmvhgh[ftclkim",
"end": 20932,
"score": 0.5710164309,
"start": 20925,
"tag": "KEY",
"value": "gepnpjd"
},
{
"context": "p[eklzpyupurxmcvgndo]neaovsspupkhdclbo\nagrgepnpjdjmmzxtoz[yptupgqukzyiwko]zegusqzhdpylmvhgh[ftclkimlyjeiqx",
"end": 20939,
"score": 0.5314869881,
"start": 20933,
"tag": "KEY",
"value": "mmzxto"
},
{
"context": "ptupgqukzyiwko]zegusqzhdpylmvhgh[ftclkimlyjeiqxymyc]qplgypcugeybdlznf\nclmaojwiieaxtkf[hybxxzkuvyvljxs]nqyvgwkyfgwgpvjix[ffrpmlqwqbfqfpyn]wewixukrkkavdgpr[zabgeqjcvdsvydus]crgezocdrhjcufljyf\nxwekgqqxadszfqxp[xgftweqykbpaqymyaev]aawdhgjkmwqayhfuja\ntynmzjhrddacgjexrr[kgxebvnmaazmffon]qercmbticxiauyauxmp\nueswrzmngurxaqja[yzlfxoaxangzjbyqm]zrwxnhpmqiespczu\ncaxoesrhrghfcyunxkf[lmalmkbhrhijrvmafw]sdbhqytqtaviurkzi[ozohqgqrkgcbhet]wgwgtjtcfcqzvymnp[zxuhhoxlpsgrfcrejmn]hkopyalfpjzbptgetj\nosmyszkhkpaedzdy[xfincacxeotivra]lksiavomozgiywoxrdu\nfzbuakjjvpyjimycrt[vvbkutdqqtyjgqz]rxzeygtijyrfiqm[qxcgvagpoqyoxhziej]tfoadqfiddsurhergel[sxqvskkcvlkpavpls]ivztxqjuntogjxx\nhphqkgxgqhazalmlqoe[ovhvftdmpwudzdicfkc]tdfnmaosfddlzbhv[obkkfppmoqirgmih]xrsrqaohawnwlxpvq[btfonxzgatdqmohserb]bukakcwcagvcuuwvhtw\ncknwenzzehwdrlje[sctyfugmaxgbetxzf]fcsbyyqvoowzutlge\ngpjdtjgclynikoh[vicphcxycqsiiiglrsw]bcjlerxdimzupbpnw[waevcaeooffjikclq]nhajkvqepdnzgiijfrm[lvmtxqhswljuvux]rnmiklyolpctf",
"end": 21859,
"score": 0.6990645528,
"start": 20992,
"tag": "KEY",
"value": "c]qplgypcugeybdlznf\nclmaojwiieaxtkf[hybxxzkuvyvljxs]nqyvgwkyfgwgpvjix[ffrpmlqwqbfqfpyn]wewixukrkkavdgpr[zabgeqjcvdsvydus]crgezocdrhjcufljyf\nxwekgqqxadszfqxp[xgftweqykbpaqymyaev]aawdhgjkmwqayhfuja\ntynmzjhrddacgjexrr[kgxebvnmaazmffon]qercmbticxiauyauxmp\nueswrzmngurxaqja[yzlfxoaxangzjbyqm]zrwxnhpmqiespczu\ncaxoesrhrghfcyunxkf[lmalmkbhrhijrvmafw]sdbhqytqtaviurkzi[ozohqgqrkgcbhet]wgwgtjtcfcqzvymnp[zxuhhoxlpsgrfcrejmn]hkopyalfpjzbptgetj\nosmyszkhkpaedzdy[xfincacxeotivra]lksiavomozgiywoxrdu\nfzbuakjjvpyjimycrt[vvbkutdqqtyjgqz]rxzeygtijyrfiqm[qxcgvagpoqyoxhziej]tfoadqfiddsurhergel[sxqvskkcvlkpavpls]ivztxqjuntogjxx\nhphqkgxgqhazalmlqoe[ovhvftdmpwudzdicfkc]tdfnmaosfddlzbhv[obkkfppmoqirgmih]xrsrqaohawnwlxpvq[btfonxzgatdqmohserb]bukakcwcagvcuuwvhtw\ncknwenzzehwdrlje[sctyfugmaxgbetxzf]fcsbyyqvoowzutlge\ngpjdtjgclynikoh[vicphcxycqsiiiglrsw]bcjlerxdimzupbpnw[waevcaeooffjikclq"
},
{
"context": "xycqsiiiglrsw]bcjlerxdimzupbpnw[waevcaeooffjikclq]nhajkvqepdnzgiijfrm[lvmtxqhswljuvux]rnmiklyolpctfrfgxs\nweolymxfeyqeml",
"end": 21879,
"score": 0.5352326632,
"start": 21860,
"tag": "KEY",
"value": "nhajkvqepdnzgiijfrm"
},
{
"context": "aevcaeooffjikclq]nhajkvqepdnzgiijfrm[lvmtxqhswljuvux]rnmiklyolpctfrfgxs\nweolymxfeyqemlpxulo[ifjuypsxwr",
"end": 21895,
"score": 0.5348204374,
"start": 21893,
"tag": "KEY",
"value": "ux"
},
{
"context": "caeooffjikclq]nhajkvqepdnzgiijfrm[lvmtxqhswljuvux]rnmiklyolpctfrfgxs\nweolymxfeyqemlpxulo[ifjuypsxwrwczhpsw]hziolxpchkfouvegj[svfsshaljdhmwcmu]zqbrupsvenlvvfiuhf\nmxvfnwvzsyldqyi[bvfuwmmrksbxbzcmzrz]wktcxsiresexdodbtl[hijoaneecbrhpmaa]xajfvvnvwcocpcbrhbc\npboivziugjszfopvkwa[kdcvzroeislbcymt]plydaqvkrjbbtlutgvv\ndtzdswmudibubrthcxc[vgmrnyfsqtutxfq]xwbupswdznzazrecwr[ijppmhwabxmhfgcqu]rwvltmqsymbydmqfnzp\nagaxfzobcsjhyutfk[ftmcykjveqrlmvizdt]agbgsgsmhehzvoy\nfbgqlgcyjmcjajxgq[xrxyfyshmvxgquv]ubfzmnkgipmqeucbk[ebcveyedtkxwqcni]dvujsyfjdfowgxfh[oubuurnpwusoxrx]bzxtjgpylljsuruwlq\nnbctombtbcumuwmay[pryqddzmpxgkjlz]bwwebcrzdpkqlex\npvwqgvrjhkhjycm[luquegjefcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvy",
"end": 22488,
"score": 0.6709812284,
"start": 21896,
"tag": "KEY",
"value": "rnmiklyolpctfrfgxs\nweolymxfeyqemlpxulo[ifjuypsxwrwczhpsw]hziolxpchkfouvegj[svfsshaljdhmwcmu]zqbrupsvenlvvfiuhf\nmxvfnwvzsyldqyi[bvfuwmmrksbxbzcmzrz]wktcxsiresexdodbtl[hijoaneecbrhpmaa]xajfvvnvwcocpcbrhbc\npboivziugjszfopvkwa[kdcvzroeislbcymt]plydaqvkrjbbtlutgvv\ndtzdswmudibubrthcxc[vgmrnyfsqtutxfq]xwbupswdznzazrecwr[ijppmhwabxmhfgcqu]rwvltmqsymbydmqfnzp\nagaxfzobcsjhyutfk[ftmcykjveqrlmvizdt]agbgsgsmhehzvoy\nfbgqlgcyjmcjajxgq[xrxyfyshmvxgquv]ubfzmnkgipmqeucbk[ebcveyedtkxwqcni]dvujsyfjdfowgxfh[oubuurnpwusoxrx]bzxtjgpylljsuruwlq\nnbctombtbcumuwmay[pryqddzmpxgkjlz]bwwebcrzdpkqlex\npvwqgvrjhkhjycm"
},
{
"context": "y[pryqddzmpxgkjlz]bwwebcrzdpkqlex\npvwqgvrjhkhjycm[luquegjefcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvymcgtgxky",
"end": 22496,
"score": 0.5313976407,
"start": 22489,
"tag": "KEY",
"value": "luquegj"
},
{
"context": "mpxgkjlz]bwwebcrzdpkqlex\npvwqgvrjhkhjycm[luquegjefcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvymcgtgxky]tmjyqmzqxuh",
"end": 22508,
"score": 0.5505509973,
"start": 22498,
"tag": "KEY",
"value": "cvhweovots"
},
{
"context": "webcrzdpkqlex\npvwqgvrjhkhjycm[luquegjefcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvymcgtgxky]tmjyqmzqxuhzxjekwpw[jdszwjkhkx",
"end": 22527,
"score": 0.5543941259,
"start": 22509,
"tag": "KEY",
"value": "vddsjvlawwxvkcepqx"
},
{
"context": "rjhkhjycm[luquegjefcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvymcgtgxky]tmjyqmzqxuhzxjekwpw[jdszwjkhkxkkpjjwkvh]jnlsvhnyi",
"end": 22546,
"score": 0.5512898564,
"start": 22529,
"tag": "KEY",
"value": "komwqdwvymcgtgxky"
},
{
"context": "fcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvymcgtgxky]tmjyqmzqxuhzxjekwpw[jdszwjkhkxkkpjjwkvh]jnlsvhnyijndbcavtlh\nccitzedsd",
"end": 22566,
"score": 0.5505948663,
"start": 22547,
"tag": "KEY",
"value": "tmjyqmzqxuhzxjekwpw"
},
{
"context": "wwxvkcepqx[xkomwqdwvymcgtgxky]tmjyqmzqxuhzxjekwpw[jdszwjkhkxkkpjjwkvh]jnlsvhnyijndbcavtlh\nccitzedsdvzmktzl[qjtmlhlgdmhomythbe]skkosmhqaqyxvrpwyvi[toqfnarddgzlwhipiqf]vlallikphqpggunc\naapudqmdqsoadhf[bptieajhwtguxpprkdn]fiopmsokjtonm",
"end": 22699,
"score": 0.5979734659,
"start": 22567,
"tag": "KEY",
"value": "jdszwjkhkxkkpjjwkvh]jnlsvhnyijndbcavtlh\nccitzedsdvzmktzl[qjtmlhlgdmhomythbe]skkosmhqaqyxvrpwyvi[toqfnarddgzlwhipiqf]vlallikphqpggunc"
},
{
"context": "ozoduzht[wqccswxyzozewtayycz]zngifgtxacyrwiacyd\nmkdselqpwqchnwxgydj[orjtmojhzkuxfbpmxa]udrbphkhzchgiyq[ckkhkoltyjlfzrro]kdyudnkzdsjpvonrw\nbpjaenogjpzaxxkejpa[jqgajznyesxfcdhph]euziwygknckkkkunxux\nbtjnlodtnbaubkvb[topsbnzgxbfanulah]uksjmxxfwfzxqfcij\nzkfnmdwdaviehibtjy[adnmoctsyzhtangoxtk]rjydanokxyuxajmnx[rbamopbudxevhpoezc]mzurnxtacbelmitu[oidbxqghkpqjzyqrrox]ezgwbeyokfmjwblqq\nnwefqukauecrgki[ofkmtkzupjriwlml]diautbiayphukxvmhlo[iggbxeudmmbkayonzyc]hkijrjxiffmncybco\nytgimnonvbqexhbabc[jbkbctatpdataxjqtee]bxzwvqoqyazdgoy\nbjztbbhxzzuannkyvet[mngxjhitobvkzvls]abhmarswjsswftn[ihxeotxkwnknkbmkvjs]iovgdoevhkarwuraoef[wvsvcnptmpcktslrn]ldjniscnknkjaheayp\navmlgtbubxrilqdbvd[eqaifmlaniocwybqh]juzknvgrahckcrhagh\ndyvzlyoefrbtxizlod[ussgexxviaibhrkb]tcgkgkyckgkyew",
"end": 24385,
"score": 0.6974861622,
"start": 23724,
"tag": "KEY",
"value": "dselqpwqchnwxgydj[orjtmojhzkuxfbpmxa]udrbphkhzchgiyq[ckkhkoltyjlfzrro]kdyudnkzdsjpvonrw\nbpjaenogjpzaxxkejpa[jqgajznyesxfcdhph]euziwygknckkkkunxux\nbtjnlodtnbaubkvb[topsbnzgxbfanulah]uksjmxxfwfzxqfcij\nzkfnmdwdaviehibtjy[adnmoctsyzhtangoxtk]rjydanokxyuxajmnx[rbamopbudxevhpoezc]mzurnxtacbelmitu[oidbxqghkpqjzyqrrox]ezgwbeyokfmjwblqq\nnwefqukauecrgki[ofkmtkzupjriwlml]diautbiayphukxvmhlo[iggbxeudmmbkayonzyc]hkijrjxiffmncybco\nytgimnonvbqexhbabc[jbkbctatpdataxjqtee]bxzwvqoqyazdgoy\nbjztbbhxzzuannkyvet[mngxjhitobvkzvls]abhmarswjsswftn[ihxeotxkwnknkbmkvjs]iovgdoevhkarwuraoef[wvsvcnptmpcktslrn]ldjniscnknkjaheayp\navmlgtbubxrilqdbvd[eqaifmlaniocwybqh]juzknvgrahckcrhagh"
},
{
"context": "bxrilqdbvd[eqaifmlaniocwybqh]juzknvgrahckcrhagh\ndyvzlyoefrbtxizlod[ussgexxviaibhrkb]tcgkgkyckgkyewp\njvrsopjyjarbkeno",
"end": 24404,
"score": 0.5695049167,
"start": 24388,
"tag": "KEY",
"value": "vzlyoefrbtxizlod"
},
{
"context": "iocwybqh]juzknvgrahckcrhagh\ndyvzlyoefrbtxizlod[ussgexxviaibhrkb]tcgkgkyckgkyewp\njvrsopjyjarbkenouax[gwyjvegfpwvjsdl]crgcqjzhywhasbuzdji[wqqiwpzcllmno",
"end": 24457,
"score": 0.5705784559,
"start": 24408,
"tag": "KEY",
"value": "gexxviaibhrkb]tcgkgkyckgkyewp\njvrsopjyjarbkenouax"
},
{
"context": "gexxviaibhrkb]tcgkgkyckgkyewp\njvrsopjyjarbkenouax[gwyjvegfpwvjsdl]crgcqjzhywhasbuzdji[wqqiwpzcllmnopvbf]hpirheoriudpernd\ncpykkvqvowwhoi",
"end": 24493,
"score": 0.6068440676,
"start": 24458,
"tag": "KEY",
"value": "gwyjvegfpwvjsdl]crgcqjzhywhasbuzdji"
},
{
"context": "jyjarbkenouax[gwyjvegfpwvjsdl]crgcqjzhywhasbuzdji[wqqiwpzcllmnopvbf]hpirheoriudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocr",
"end": 24545,
"score": 0.6025767922,
"start": 24494,
"tag": "KEY",
"value": "wqqiwpzcllmnopvbf]hpirheoriudpernd\ncpykkvqvowwhoiys"
},
{
"context": "iwpzcllmnopvbf]hpirheoriudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]",
"end": 24549,
"score": 0.5436825752,
"start": 24547,
"tag": "KEY",
"value": "jo"
},
{
"context": "llmnopvbf]hpirheoriudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvi",
"end": 24553,
"score": 0.5206140876,
"start": 24552,
"tag": "KEY",
"value": "x"
},
{
"context": "pvbf]hpirheoriudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgz",
"end": 24559,
"score": 0.5280095935,
"start": 24557,
"tag": "KEY",
"value": "ct"
},
{
"context": "]hpirheoriudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhs",
"end": 24563,
"score": 0.53561306,
"start": 24561,
"tag": "KEY",
"value": "og"
},
{
"context": "heoriudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngs",
"end": 24568,
"score": 0.5356854796,
"start": 24566,
"tag": "KEY",
"value": "lc"
},
{
"context": "riudpernd\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngsyxcrkn",
"end": 24574,
"score": 0.5395874381,
"start": 24569,
"tag": "KEY",
"value": "vgbug"
},
{
"context": "d\ncpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngsyxcrknbxxy",
"end": 24578,
"score": 0.5205167532,
"start": 24577,
"tag": "KEY",
"value": "q"
},
{
"context": "pykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngsyxcrknbxxyhvns",
"end": 24582,
"score": 0.5350717902,
"start": 24580,
"tag": "KEY",
"value": "bc"
},
{
"context": "wwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngsyxcrknbxxyhvnss[zymlfgpc",
"end": 24592,
"score": 0.5125360489,
"start": 24588,
"tag": "KEY",
"value": "whqy"
},
{
"context": "yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngsyxcrknbxxyhvnss[zymlfgpcupgtzy",
"end": 24598,
"score": 0.5121413469,
"start": 24596,
"tag": "KEY",
"value": "sd"
},
{
"context": "xfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli\ngsyxcrknbxxyhvnss[zymlfgpcupgtzycu]sjucevsghhzpuq",
"end": 24615,
"score": 0.5381695628,
"start": 24602,
"tag": "KEY",
"value": "ipsvdgzruhsli"
},
{
"context": "drnkitax]fwfzssjntanttkkboq[afgwfwvsudpprmpne]fbzhbkoxpxavaskchfq\njcyrspmtzwxqtomkqab[xqivjfrwadfvtfmp]fxkhdbiczc",
"end": 25574,
"score": 0.5195189714,
"start": 25561,
"tag": "KEY",
"value": "bkoxpxavaskch"
},
{
"context": "jntanttkkboq[afgwfwvsudpprmpne]fbzhbkoxpxavaskchfq\njcyrspmtzwxqtomkqab[xqivjfrwadfvtfmp]fxkhdbiczckph",
"end": 25576,
"score": 0.5207931995,
"start": 25576,
"tag": "KEY",
"value": ""
},
{
"context": "oq[afgwfwvsudpprmpne]fbzhbkoxpxavaskchfq\njcyrspmtzwxqtomkqab[xqivjfrwadfvtfmp]fxkhdbiczckphwhil[ztemqps",
"end": 25589,
"score": 0.5054991841,
"start": 25586,
"tag": "KEY",
"value": "wxq"
},
{
"context": "ne]fbzhbkoxpxavaskchfq\njcyrspmtzwxqtomkqab[xqivjfrwadfvtfmp]fxkhdbiczckphwhil[ztemqpsvuwhwhfdfip]zxqe",
"end": 25605,
"score": 0.5055934787,
"start": 25604,
"tag": "KEY",
"value": "w"
},
{
"context": "q\njcyrspmtzwxqtomkqab[xqivjfrwadfvtfmp]fxkhdbiczckphwhil[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak\nozgxtokk",
"end": 25627,
"score": 0.5054436922,
"start": 25625,
"tag": "KEY",
"value": "ph"
},
{
"context": "rwadfvtfmp]fxkhdbiczckphwhil[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak\nozgxtokkrotpphxsnt[txgvekxlxkhufcwi",
"end": 25654,
"score": 0.5055683851,
"start": 25653,
"tag": "KEY",
"value": "q"
},
{
"context": "dbiczckphwhil[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak\nozgxtokkrotpphxsnt[txgvekxlxkhufcwi]hspcyxwyijgjaq",
"end": 25668,
"score": 0.504986763,
"start": 25668,
"tag": "KEY",
"value": ""
},
{
"context": "ckphwhil[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak\nozgxtokkrotpphxsnt[txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bc",
"end": 25676,
"score": 0.5131242871,
"start": 25673,
"tag": "KEY",
"value": "tok"
},
{
"context": "whil[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak\nozgxtokkrotpphxsnt[txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bcjgs",
"end": 25679,
"score": 0.5288664699,
"start": 25677,
"tag": "KEY",
"value": "ro"
},
{
"context": "[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak\nozgxtokkrotpphxsnt[txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bcjgsvsfz",
"end": 25683,
"score": 0.5133385658,
"start": 25681,
"tag": "KEY",
"value": "ph"
},
{
"context": "txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bcjgsvsfzmvjklh]bxjmkqkynrusvvq\nwofaptbytcugaluqc[qdgdqupqigweysd",
"end": 25739,
"score": 0.5053325891,
"start": 25738,
"tag": "KEY",
"value": "h"
},
{
"context": "hspcyxwyijgjaqsyfw[bcjgsvsfzmvjklh]bxjmkqkynrusvvq\nwofaptbytcugaluqc[qdgdqupqigweysdhq]saaeqyqazqqaun",
"end": 25755,
"score": 0.5050347447,
"start": 25755,
"tag": "KEY",
"value": ""
},
{
"context": "yxwyijgjaqsyfw[bcjgsvsfzmvjklh]bxjmkqkynrusvvq\nwofaptbytcugaluqc[qdgdqupqigweysdhq]saaeqyqazqqaunofl[iorc",
"end": 25764,
"score": 0.5131160021,
"start": 25759,
"tag": "KEY",
"value": "aptby"
},
{
"context": "fw[bcjgsvsfzmvjklh]bxjmkqkynrusvvq\nwofaptbytcugaluqc[qdgdqupqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfma",
"end": 25773,
"score": 0.5129853487,
"start": 25771,
"tag": "KEY",
"value": "qc"
},
{
"context": "mkqkynrusvvq\nwofaptbytcugaluqc[qdgdqupqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\ni",
"end": 25795,
"score": 0.5211284161,
"start": 25793,
"tag": "KEY",
"value": "aa"
},
{
"context": "svvq\nwofaptbytcugaluqc[qdgdqupqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzys",
"end": 25804,
"score": 0.5132238865,
"start": 25801,
"tag": "KEY",
"value": "qqa"
},
{
"context": "qc[qdgdqupqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzysqefbfgpae[uypfoutav",
"end": 25823,
"score": 0.5208061934,
"start": 25821,
"tag": "KEY",
"value": "ma"
},
{
"context": "gdqupqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzysqefbfgpae[uypfoutavxnzfp",
"end": 25828,
"score": 0.5053519607,
"start": 25826,
"tag": "KEY",
"value": "ow"
},
{
"context": "upqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzysqefbfgpae[uypfoutavxnzfpcfa",
"end": 25831,
"score": 0.5209246278,
"start": 25829,
"tag": "KEY",
"value": "rc"
},
{
"context": "dhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzysqefbfgpae[uypfoutavxnzfpcfafy]moghr",
"end": 25839,
"score": 0.5055171251,
"start": 25838,
"tag": "KEY",
"value": "w"
},
{
"context": "aaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzysqefbfgpae[uypfoutavxnzfpcfafy]moghronhxp",
"end": 25843,
"score": 0.5129326582,
"start": 25843,
"tag": "KEY",
"value": ""
},
{
"context": "qazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax\nicrmudvzysqefbfgpae[uypfoutavxnzfpcfafy]moghronhxpgorkpy",
"end": 25850,
"score": 0.5130589604,
"start": 25848,
"tag": "KEY",
"value": "ud"
},
{
"context": "ipfvtrgwofiqxx[dxncthyfpoivapdpf]tzlnjrfggtbgdxec[tmlpzqicqjfhxwjcigo]uzmkhvbltpwdbpxzfpi[yfkkmkzokekiidxpugj]jbmagsjlfozkajt\nxhrfhwrsgduyobjodd[pazkwxnflbwbpwxych]yvasgopohztnfcsbc[dohwmwtdklyjkbaqe]cttccmlckzlioizfufc\nlygkfdlnlrukwjskxqp[tcskymqclunvdqywv]rhxfxbjftjxdepuwax[eoqchqlngjnnshc]gvjhyrvjgueweik\ncehpocjxzxkpnxglhzc[ltjmejyuouzkisdnlah]ytzdlqcewgwzxdz[hcupzenhdmtvigdodq]oivalfgkscgnaxih[opciwwcvzkrsehcznh]iveqylobdjvqqrbb\nofluwuxajcsnkanvg[vwpsezopzkpvhlobfos]gmnrtcprhthefopis[yvcgpesbspnlbvdcdj]unooggcrpjinkxmqsg[stfmzxmnwkyujhwqilj]editpyjnpwaefawwq\ncdneyarppztbtwsaqy[euyswrwxaaolxkzgcx]cqqabzealhvuwzo[hvnmwoqlzyjguvyy]goqjeapcwghvfszwsc\nhohlnwotueozwhyfgg[bdiawrubvrnulfemv]yohmiujjdfjexybb[uyyzvnainybidq",
"end": 28944,
"score": 0.6774194837,
"start": 28317,
"tag": "KEY",
"value": "tmlpzqicqjfhxwjcigo]uzmkhvbltpwdbpxzfpi[yfkkmkzokekiidxpugj]jbmagsjlfozkajt\nxhrfhwrsgduyobjodd[pazkwxnflbwbpwxych]yvasgopohztnfcsbc[dohwmwtdklyjkbaqe]cttccmlckzlioizfufc\nlygkfdlnlrukwjskxqp[tcskymqclunvdqywv]rhxfxbjftjxdepuwax[eoqchqlngjnnshc]gvjhyrvjgueweik\ncehpocjxzxkpnxglhzc[ltjmejyuouzkisdnlah]ytzdlqcewgwzxdz[hcupzenhdmtvigdodq]oivalfgkscgnaxih[opciwwcvzkrsehcznh]iveqylobdjvqqrbb\nofluwuxajcsnkanvg[vwpsezopzkpvhlobfos]gmnrtcprhthefopis[yvcgpesbspnlbvdcdj]unooggcrpjinkxmqsg[stfmzxmnwkyujhwqilj]editpyjnpwaefawwq\ncdneyarppztbtwsaqy[euyswrwxaaolxkzgcx]cqqabzealhvuwzo[hvnmwoqlzyjguvyy]goqjeapcwghvfszwsc\nhohlnwotueozwhyfgg"
},
{
"context": "oqlzyjguvyy]goqjeapcwghvfszwsc\nhohlnwotueozwhyfgg[bdiawrubvrnulfemv]yohmiujjdfjexybb[uyyzvnainybidqfmll]pyybgwdxcdqdgjp[qpowhiuynwospq",
"end": 28979,
"score": 0.5984219313,
"start": 28945,
"tag": "KEY",
"value": "bdiawrubvrnulfemv]yohmiujjdfjexybb"
},
{
"context": "nwotueozwhyfgg[bdiawrubvrnulfemv]yohmiujjdfjexybb[uyyzvnainybidqfmll]pyybgwdxcdqdgjp[qpowhiuynwospqdgui]lqdoiaufqbqljkvhgjj\ntirxyuvikznzsavp[omifkdfvljmhlrk]ouzmaxynnznyhfrud\niyoipjyrywuhpip",
"end": 29070,
"score": 0.6068068743,
"start": 28980,
"tag": "KEY",
"value": "uyyzvnainybidqfmll]pyybgwdxcdqdgjp[qpowhiuynwospqdgui]lqdoiaufqbqljkvhgjj\ntirxyuvikznzsavp"
},
{
"context": "uynwospqdgui]lqdoiaufqbqljkvhgjj\ntirxyuvikznzsavp[omifkdfvljmhlrk]ouzmaxynnznyhfrud\niyoipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzg",
"end": 29104,
"score": 0.5776708126,
"start": 29071,
"tag": "KEY",
"value": "omifkdfvljmhlrk]ouzmaxynnznyhfrud"
},
{
"context": "irxyuvikznzsavp[omifkdfvljmhlrk]ouzmaxynnznyhfrud\niyoipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzgkbwuh\nyebynyhsovfu",
"end": 29122,
"score": 0.5679475665,
"start": 29105,
"tag": "KEY",
"value": "iyoipjyrywuhpipcx"
},
{
"context": "dfvljmhlrk]ouzmaxynnznyhfrud\niyoipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzgkbwuh\nyebynyhsovfufkhwoe",
"end": 29128,
"score": 0.5133594871,
"start": 29126,
"tag": "KEY",
"value": "us"
},
{
"context": "mhlrk]ouzmaxynnznyhfrud\niyoipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzgkbwuh\nyebynyhsovfufkhwoel[rqg",
"end": 29133,
"score": 0.536703825,
"start": 29131,
"tag": "KEY",
"value": "up"
},
{
"context": "]ouzmaxynnznyhfrud\niyoipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzgkbwuh\nyebynyhsovfufkhwoel[rqgwgiuuz",
"end": 29139,
"score": 0.5052537322,
"start": 29136,
"tag": "KEY",
"value": "uls"
},
{
"context": "oipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzgkbwuh\nyebynyhsovfufkhwoel[rqgwgiuuztoboxqo]tbcahalhrqzp",
"end": 29159,
"score": 0.5054843426,
"start": 29157,
"tag": "KEY",
"value": "uh"
},
{
"context": "giuuztoboxqo]tbcahalhrqzpqxhud\nmxvixuvpntcsxjzvpy[jnjtyjwuivtsxlko]zugkjugtwymssxd\nddxewdmzqrmjcdx[tehlbyapxxetbkp]lkfkrutmzvjsvynmt[aryjfitktobzfnhcxu]rrbqdbzhgjwwnfpkxbx[ggbsnbwuwlduhlfp]bdniebubtcxsubscaad\nosbvoidqyhsnydypy[virseojzmlplzxfwcdk]qyyespqaegmtzgckltr[kjowbsggjlyrbtcxj]poychjfbatvhkrs\nrlvvjqnaiasedvpjbr[fufrhampzwdniipjc]oqjmidcyiekvayqfl\nhvtczuskhiykvchxno[benlaiuubpaghzlwbf]tarjrksfzvilwquxj[wehwbwsxfuaptyty]gvvlkkyayfstbcut[hxnojqaxevtbvmaz]jnhvumhqfgkaqhumxt\nthxtkuentusmryim[hzgibspwboqacdlwc]clsunqcnrlgldjbsvz[scnclutgijjilirutnn]izdwhvipobyzirg[hliollkyedcuomrwyyq]dpibjmbezvzyspmkgwj\napezafwfsqifmip[kuxynugvrndkdifwhd]pixpqmsbuqspsdpqnzw[qfiqdwcdzbtidgm]otzbkrciacwchdnqa[kiblvlkmtkqjzyyv]hnucmptrhrodosk\nnuiovzzixafjgvl[slswktlejrrsmxujjrk]cjassomselslooj\nvnlustrakmrdrkjwju[nnlzyowyjshralbkgo]jpwjwpehndfweegrnq\nhdiueeojljpcqrdkdfk[aseznfnjilqktdx]fubppvpqwksxeiwpm\nkjlbdmnhtzcagcpc[wybonbamfkugypt]gnjrawnjietdzhaf",
"end": 30080,
"score": 0.7052645087,
"start": 29234,
"tag": "KEY",
"value": "jnjtyjwuivtsxlko]zugkjugtwymssxd\nddxewdmzqrmjcdx[tehlbyapxxetbkp]lkfkrutmzvjsvynmt[aryjfitktobzfnhcxu]rrbqdbzhgjwwnfpkxbx[ggbsnbwuwlduhlfp]bdniebubtcxsubscaad\nosbvoidqyhsnydypy[virseojzmlplzxfwcdk]qyyespqaegmtzgckltr[kjowbsggjlyrbtcxj]poychjfbatvhkrs\nrlvvjqnaiasedvpjbr[fufrhampzwdniipjc]oqjmidcyiekvayqfl\nhvtczuskhiykvchxno[benlaiuubpaghzlwbf]tarjrksfzvilwquxj[wehwbwsxfuaptyty]gvvlkkyayfstbcut[hxnojqaxevtbvmaz]jnhvumhqfgkaqhumxt\nthxtkuentusmryim[hzgibspwboqacdlwc]clsunqcnrlgldjbsvz[scnclutgijjilirutnn]izdwhvipobyzirg[hliollkyedcuomrwyyq]dpibjmbezvzyspmkgwj\napezafwfsqifmip[kuxynugvrndkdifwhd]pixpqmsbuqspsdpqnzw[qfiqdwcdzbtidgm]otzbkrciacwchdnqa[kiblvlkmtkqjzyyv]hnucmptrhrodosk\nnuiovzzixafjgvl[slswktlejrrsmxujjrk]cjassomselslooj\nvnlustrakmrdrkjwju[nnlzyowyjshralbkgo]jpwjwpehndfweegrnq\nhdiueeojljpcqrdkdfk[aseznfnjilqktdx]fubppvpqwksxeiwpm"
},
{
"context": "eojljpcqrdkdfk[aseznfnjilqktdx]fubppvpqwksxeiwpm\nkjlbdmnhtzcagcpc[wybonbamfkugypt]gnjrawnjietdzhaf\nufmoyzcmc",
"end": 30090,
"score": 0.5516152382,
"start": 30082,
"tag": "KEY",
"value": "jlbdmnht"
},
{
"context": "kdfk[aseznfnjilqktdx]fubppvpqwksxeiwpm\nkjlbdmnhtzcagcpc[wybonbamfkugypt]gnjrawnjietdzhaf\nufmoyzcmcxoqq",
"end": 30094,
"score": 0.5290086865,
"start": 30092,
"tag": "KEY",
"value": "ag"
},
{
"context": "k[aseznfnjilqktdx]fubppvpqwksxeiwpm\nkjlbdmnhtzcagcpc[wybonbamfkugypt]gnjrawnjietdzhaf\nufmoyzcmcxoqqpsg",
"end": 30097,
"score": 0.5821250677,
"start": 30095,
"tag": "KEY",
"value": "pc"
},
{
"context": "qhbzyekcln[dijevkhdfkfwmppnert]uuxxnhhkbmcegbtugap\nijgtsfvyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhw",
"end": 30371,
"score": 0.503192246,
"start": 30371,
"tag": "KEY",
"value": ""
},
{
"context": "zyekcln[dijevkhdfkfwmppnert]uuxxnhhkbmcegbtugap\nijgtsfvyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo\n",
"end": 30379,
"score": 0.5075215697,
"start": 30374,
"tag": "KEY",
"value": "gtsfv"
},
{
"context": "wmppnert]uuxxnhhkbmcegbtugap\nijgtsfvyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo\nydjcoqvktwdjucx[",
"end": 30395,
"score": 0.5192643404,
"start": 30393,
"tag": "KEY",
"value": "hm"
},
{
"context": "cegbtugap\nijgtsfvyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo\nydjcoqvktwdjucx[riqvhezqqrwpizvn]p",
"end": 30413,
"score": 0.5194776058,
"start": 30412,
"tag": "KEY",
"value": "h"
},
{
"context": "p\nijgtsfvyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo\nydjcoqvktwdjucx[riqvhezqqrwpizvn]pptmsnmubb",
"end": 30422,
"score": 0.5112072229,
"start": 30420,
"tag": "KEY",
"value": "hw"
},
{
"context": "vyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo\nydjcoqvktwdjucx[riqvhezqqrwpizvn]pptmsnmubbjzwozxy",
"end": 30428,
"score": 0.5187144279,
"start": 30428,
"tag": "KEY",
"value": ""
},
{
"context": "grzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo\nydjcoqvktwdjucx[riqvhezqqrwpizvn]pptmsnmubbjzwozxy[rbzbtfn",
"end": 30437,
"score": 0.5311934352,
"start": 30431,
"tag": "KEY",
"value": "jcoqvk"
},
{
"context": "zahddhwrhudyo\nydjcoqvktwdjucx[riqvhezqqrwpizvn]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndord",
"end": 30471,
"score": 0.5214859247,
"start": 30465,
"tag": "KEY",
"value": "msnmub"
},
{
"context": "udyo\nydjcoqvktwdjucx[riqvhezqqrwpizvn]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwt",
"end": 30476,
"score": 0.526894033,
"start": 30474,
"tag": "KEY",
"value": "wo"
},
{
"context": "qvhezqqrwpizvn]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwoje",
"end": 30499,
"score": 0.503349483,
"start": 30497,
"tag": "KEY",
"value": "hu"
},
{
"context": "qqrwpizvn]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]g",
"end": 30503,
"score": 0.5117548704,
"start": 30502,
"tag": "KEY",
"value": "q"
},
{
"context": "wpizvn]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirh",
"end": 30509,
"score": 0.5150920749,
"start": 30505,
"tag": "KEY",
"value": "qcco"
},
{
"context": "]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirhxegm",
"end": 30513,
"score": 0.511466682,
"start": 30511,
"tag": "KEY",
"value": "lf"
},
{
"context": "snmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirhxegmrgis",
"end": 30516,
"score": 0.5033258796,
"start": 30516,
"tag": "KEY",
"value": ""
},
{
"context": "mubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirhxegmrgishf[u",
"end": 30521,
"score": 0.511582315,
"start": 30518,
"tag": "KEY",
"value": "ord"
},
{
"context": "zwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirhxegmrgishf[ueivw",
"end": 30525,
"score": 0.5038953424,
"start": 30523,
"tag": "KEY",
"value": "xw"
},
{
"context": "hjhu]hnqyyqccouflfzmk\ndordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirhxegmrgishf[ueivwcnfptgagdj]kzqyptwgfyk",
"end": 30547,
"score": 0.5037486553,
"start": 30545,
"tag": "KEY",
"value": "wo"
},
{
"context": "mymncvgrkqlusommh[wtkwqtpboedpdwaxoxv]iezxkyrvialjrev\nnjvacohjeagiztos[afpmzgmxbvpzrkpikb]cxbsozlksnpvdxh\nwnpqmnhzhaclqkn[neseqjerkxmpddehzpv]buwoodytrhkaffpb[zpqzycmuzkevvyl]iqdqjuqnmddqdmktojn[ocbknhhzdyzcpzi]srfnmfblqrqzwtusu\npaxcryjinpwgadnzgdn[pedljgwehinbuvueies]wykembvekyliivgd[mjonnndjrswlfvlo]vuanwryeqmmovavhf[pouuyesundysqaxzciv]itixbjpcioinvfkh\nvmlgtgupmvpnwkh[cpuwomxbeionmrkx]zwjdjcytxjxbzltbp\ngxbttoltnwfholw[srbxnbzsdlwegml]ufeghhwivplxych[kesniuppshrvbic]ongllrrsyzxurhxc[ucssycrhethdlhyzd]jvhniomjxluggwtcv\nkpwrbbrusxmusejnwz[wbgriazubzccotlcdbh]dxnvqwslhdxbbufe[pobrzwumffnjxfghv]qplrnuqjguonrpmpv[xxwugdzbckpvhhr]vbrmirtrwprtqli\nmlonozngubrbmumjxb[vzvxodkubovdionkb]uidfhtqhxxsetsnvy[spdgbqevotzyz",
"end": 31686,
"score": 0.6740928888,
"start": 31068,
"tag": "KEY",
"value": "rev\nnjvacohjeagiztos[afpmzgmxbvpzrkpikb]cxbsozlksnpvdxh\nwnpqmnhzhaclqkn[neseqjerkxmpddehzpv]buwoodytrhkaffpb[zpqzycmuzkevvyl]iqdqjuqnmddqdmktojn[ocbknhhzdyzcpzi]srfnmfblqrqzwtusu\npaxcryjinpwgadnzgdn[pedljgwehinbuvueies]wykembvekyliivgd[mjonnndjrswlfvlo]vuanwryeqmmovavhf[pouuyesundysqaxzciv]itixbjpcioinvfkh\nvmlgtgupmvpnwkh[cpuwomxbeionmrkx]zwjdjcytxjxbzltbp\ngxbttoltnwfholw[srbxnbzsdlwegml]ufeghhwivplxych[kesniuppshrvbic]ongllrrsyzxurhxc[ucssycrhethdlhyzd]jvhniomjxluggwtcv\nkpwrbbrusxmusejnwz[wbgriazubzccotlcdbh]dxnvqwslhdxbbufe[pobrzwumffnjxfghv]qplrnuqjguonrpmpv[xxwugdzbckpvhhr]vbrmirtrwprtqli\nmlonozngubrbmumjxb"
},
{
"context": "xwugdzbckpvhhr]vbrmirtrwprtqli\nmlonozngubrbmumjxb[vzvxodkubovdionkb]uidfhtqhxxsetsnvy[spdgbqevotzyzhtyy]mjvctpqrtpxrbqeckq\nwftjnmpwffdunhwr[nzepzikompkwgje]rahnwuphbxpmwmtwboe[wcwxzwqppyaeihnxrvi]wozbvaemreqcvsoafr\nlmfgslqcwpzvgxgmgty[ihjhsbvhdnsbkroszc]scwicucudbqrvtygt[iomkilvjwsofqnjqtd]amzyfxiaogrsdikrgye\nfcjsdhrxji",
"end": 31908,
"score": 0.6121678352,
"start": 31687,
"tag": "KEY",
"value": "vzvxodkubovdionkb]uidfhtqhxxsetsnvy[spdgbqevotzyzhtyy]mjvctpqrtpxrbqeckq\nwftjnmpwffdunhwr[nzepzikompkwgje]rahnwuphbxpmwmtwboe[wcwxzwqppyaeihnxrvi]wozbvaemreqcvsoafr\nlmfgslqcwpzvgxgmgty[ihjhsbvhdnsbkroszc]scwicucudbqrvtygt"
},
{
"context": "cwpzvgxgmgty[ihjhsbvhdnsbkroszc]scwicucudbqrvtygt[iomkilvjwsofqnjqtd]amzyfxiaogrsdikrgye\nfcjsdhrxjiuugivwyk[kazerfwbmgeiituwksg]nalxpcedxo",
"end": 31947,
"score": 0.5849893093,
"start": 31909,
"tag": "KEY",
"value": "iomkilvjwsofqnjqtd]amzyfxiaogrsdikrgye"
},
{
"context": "bqrvtygt[iomkilvjwsofqnjqtd]amzyfxiaogrsdikrgye\nfcjsdhrxjiuugivwyk[kazerfwbmgeiituwksg]nalxpcedxoajytfpg[lld",
"end": 31958,
"score": 0.5399179459,
"start": 31950,
"tag": "KEY",
"value": "jsdhrxji"
},
{
"context": "mkilvjwsofqnjqtd]amzyfxiaogrsdikrgye\nfcjsdhrxjiuugivwyk[kazerfwbmgeiituwksg]nalxpcedxoajytfpg[lldrwcgz",
"end": 31963,
"score": 0.5212510228,
"start": 31961,
"tag": "KEY",
"value": "iv"
},
{
"context": "dhrxjiuugivwyk[kazerfwbmgeiituwksg]nalxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvv",
"end": 32004,
"score": 0.504729569,
"start": 32002,
"tag": "KEY",
"value": "pg"
},
{
"context": "iuugivwyk[kazerfwbmgeiituwksg]nalxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[l",
"end": 32011,
"score": 0.5159685612,
"start": 32007,
"tag": "KEY",
"value": "drwc"
},
{
"context": "wyk[kazerfwbmgeiituwksg]nalxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgr",
"end": 32016,
"score": 0.5318061113,
"start": 32013,
"tag": "KEY",
"value": "whm"
},
{
"context": "azerfwbmgeiituwksg]nalxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtl",
"end": 32024,
"score": 0.5230989456,
"start": 32018,
"tag": "KEY",
"value": "pmsvot"
},
{
"context": "geiituwksg]nalxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutw",
"end": 32037,
"score": 0.513650775,
"start": 32026,
"tag": "KEY",
"value": "zsnbooxncfh"
},
{
"context": "lxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuama",
"end": 32041,
"score": 0.5158640146,
"start": 32039,
"tag": "KEY",
"value": "qi"
},
{
"context": "dxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[e",
"end": 32049,
"score": 0.531868875,
"start": 32044,
"tag": "KEY",
"value": "jwrow"
},
{
"context": "tfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtag",
"end": 32057,
"score": 0.5105882883,
"start": 32050,
"tag": "KEY",
"value": "mpvvwvs"
},
{
"context": "ukpmsvot]yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkks",
"end": 32073,
"score": 0.5223986506,
"start": 32066,
"tag": "KEY",
"value": "fdcwoht"
},
{
"context": "yzsnbooxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziz",
"end": 32078,
"score": 0.50400424,
"start": 32075,
"tag": "KEY",
"value": "any"
},
{
"context": "booxncfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlra",
"end": 32082,
"score": 0.5162141323,
"start": 32079,
"tag": "KEY",
"value": "huq"
},
{
"context": "cfhjdqi\nljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgs",
"end": 32097,
"score": 0.5276502371,
"start": 32084,
"tag": "KEY",
"value": "utwnuamaahpwa"
},
{
"context": "mpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqh",
"end": 32107,
"score": 0.5178531408,
"start": 32100,
"tag": "KEY",
"value": "oifbtag"
},
{
"context": "[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghu",
"end": 32111,
"score": 0.5280465484,
"start": 32109,
"tag": "KEY",
"value": "zz"
},
{
"context": "zgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghufawas",
"end": 32116,
"score": 0.5195639133,
"start": 32113,
"tag": "KEY",
"value": "bsf"
},
{
"context": "wohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghufawaskgezjl",
"end": 32122,
"score": 0.527762413,
"start": 32119,
"tag": "KEY",
"value": "hkk"
},
{
"context": "lany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghufawaskgezjl]tikipez",
"end": 32130,
"score": 0.5071197152,
"start": 32124,
"tag": "KEY",
"value": "jziztl"
},
{
"context": "nutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghufawaskgezjl]tikipezkvitc",
"end": 32134,
"score": 0.5427291393,
"start": 32133,
"tag": "KEY",
"value": "f"
},
{
"context": "wnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghufawaskgezjl]tikipezkvitcxtefpg[rwvlyjcgev",
"end": 32152,
"score": 0.53630054,
"start": 32136,
"tag": "KEY",
"value": "ggqdwibskgshrkyc"
},
{
"context": "btagkrzzjybsf]fehkkskjziztlravf\nqggqdwibskgshrkyc[bcqhsghufawaskgezjl]tikipezkvitcxtefpg[rwvlyjcgevwbikop]ygxubvtkciptbh",
"end": 32173,
"score": 0.5309875011,
"start": 32153,
"tag": "KEY",
"value": "bcqhsghufawaskgezjl]"
},
{
"context": "iztlravf\nqggqdwibskgshrkyc[bcqhsghufawaskgezjl]tikipezkvitcxtefpg[rwvlyjcgevwbikop]ygxubvtkciptbhi\ngmlqugapdwdohic[",
"end": 32191,
"score": 0.5352689624,
"start": 32176,
"tag": "KEY",
"value": "ipezkvitcxtefpg"
},
{
"context": "bskgshrkyc[bcqhsghufawaskgezjl]tikipezkvitcxtefpg[rwvlyjcgevwbikop]ygxubvtkciptbhi\ngmlqugapdwdohic[fbxygwjlnwqygmnxma]sgnfeprkyxrzspd\ngtokbujgojpkdt",
"end": 32240,
"score": 0.5558204055,
"start": 32192,
"tag": "KEY",
"value": "rwvlyjcgevwbikop]ygxubvtkciptbhi\ngmlqugapdwdohic"
},
{
"context": "[rwvlyjcgevwbikop]ygxubvtkciptbhi\ngmlqugapdwdohic[fbxygwjlnwqygmnxma]sgnfeprkyxrzspd\ngtokbujgojpkdtrvt[hxtbjjffjwxnpco]vaxogwcclwrodfdxlfp[hihtvdymxjotb",
"end": 32293,
"score": 0.5702398419,
"start": 32241,
"tag": "KEY",
"value": "fbxygwjlnwqygmnxma]sgnfeprkyxrzspd\ngtokbujgojpkdtrvt"
},
{
"context": "ygwjlnwqygmnxma]sgnfeprkyxrzspd\ngtokbujgojpkdtrvt[hxtbjjffjwxnpco]vaxogwcclwrodfdxlfp[hihtvdymxjotbfuyfr]muubeuzwzbdsydkkss\nrpqdqfjuutd",
"end": 32329,
"score": 0.5663224459,
"start": 32294,
"tag": "KEY",
"value": "hxtbjjffjwxnpco]vaxogwcclwrodfdxlfp"
},
{
"context": "bujgojpkdtrvt[hxtbjjffjwxnpco]vaxogwcclwrodfdxlfp[hihtvdymxjotbfuyfr]muubeuzwzbdsydkkss\nrpqdqfjuutdfbaarkgb[nihwtvhhcmxwbgr]evovoyejllhtmpv[qvkudqduftuvccmeb",
"end": 32387,
"score": 0.5580518246,
"start": 32330,
"tag": "KEY",
"value": "hihtvdymxjotbfuyfr]muubeuzwzbdsydkkss\nrpqdqfjuutdfbaarkgb"
},
{
"context": "xjotbfuyfr]muubeuzwzbdsydkkss\nrpqdqfjuutdfbaarkgb[nihwtvhhcmxwbgr]evovoyejllhtmpv[qvkudqduftuvccmeby]caeupguvwobwkc",
"end": 32403,
"score": 0.5428460836,
"start": 32388,
"tag": "KEY",
"value": "nihwtvhhcmxwbgr"
},
{
"context": "uzwzbdsydkkss\nrpqdqfjuutdfbaarkgb[nihwtvhhcmxwbgr]evovoyejllhtmpv[qvkudqduftuvccmeby]caeupguvwobwkccojl\ngxqxcqpcbqm",
"end": 32419,
"score": 0.5572545528,
"start": 32404,
"tag": "KEY",
"value": "evovoyejllhtmpv"
},
{
"context": "qdqfjuutdfbaarkgb[nihwtvhhcmxwbgr]evovoyejllhtmpv[qvkudqduftuvccmeby]caeupguvwobwkccojl\ngxqxcqpcbqmscefvj[jodkjejtlvhh",
"end": 32438,
"score": 0.5473977327,
"start": 32420,
"tag": "KEY",
"value": "qvkudqduftuvccmeby"
},
{
"context": "ihwtvhhcmxwbgr]evovoyejllhtmpv[qvkudqduftuvccmeby]caeupguvwobwkccojl\ngxqxcqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemy",
"end": 32457,
"score": 0.5451130867,
"start": 32439,
"tag": "KEY",
"value": "caeupguvwobwkccojl"
},
{
"context": "ejllhtmpv[qvkudqduftuvccmeby]caeupguvwobwkccojl\ngxqxcqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolil",
"end": 32475,
"score": 0.5414873362,
"start": 32460,
"tag": "KEY",
"value": "qxcqpcbqmscefvj"
},
{
"context": "uftuvccmeby]caeupguvwobwkccojl\ngxqxcqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjcc",
"end": 32491,
"score": 0.5297902226,
"start": 32477,
"tag": "KEY",
"value": "odkjejtlvhhyrw"
},
{
"context": "uvwobwkccojl\ngxqxcqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqx",
"end": 32506,
"score": 0.5290030241,
"start": 32495,
"tag": "KEY",
"value": "uukfamepbpe"
},
{
"context": "gxqxcqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccx",
"end": 32510,
"score": 0.5353475213,
"start": 32508,
"tag": "KEY",
"value": "ol"
},
{
"context": "cqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnr",
"end": 32515,
"score": 0.5272555351,
"start": 32512,
"tag": "KEY",
"value": "cho"
},
{
"context": "qmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnrizs]plz",
"end": 32522,
"score": 0.5353857875,
"start": 32517,
"tag": "KEY",
"value": "nuqlo"
},
{
"context": "[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnrizs]plzdntlmgc",
"end": 32529,
"score": 0.5080393553,
"start": 32525,
"tag": "KEY",
"value": "idyp"
},
{
"context": "jejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnrizs]plzdntlmgcnrwawrxdm\njvbbytsct",
"end": 32548,
"score": 0.5386217237,
"start": 32530,
"tag": "KEY",
"value": "rsjsqlxmjccoipqueq"
},
{
"context": "epbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnrizs]plzdntlmgcnrwawrxdm\njvbbytsctqrwjrdr[xtqorzwdmhun",
"end": 32568,
"score": 0.5214225054,
"start": 32551,
"tag": "KEY",
"value": "xonqxtccxuwcnrizs"
},
{
"context": "olilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnrizs]plzdntlmgcnrwawrxdm\njvbbytsctqrwjrdr[xtqorzwdmhunrtevfb]qqxbyumulbmrs",
"end": 32588,
"score": 0.5465457439,
"start": 32571,
"tag": "KEY",
"value": "zdntlmgcnrwawrxdm"
},
{
"context": "coipqueq[qlxonqxtccxuwcnrizs]plzdntlmgcnrwawrxdm\njvbbytsctqrwjrdr[xtqorzwdmhunrtevfb]qqxbyumulbmrsbhtx\ny",
"end": 32594,
"score": 0.504640162,
"start": 32590,
"tag": "KEY",
"value": "vbby"
},
{
"context": "eq[qlxonqxtccxuwcnrizs]plzdntlmgcnrwawrxdm\njvbbytsctqrwjrdr[xtqorzwdmhunrtevfb]qqxbyumulbmrsbhtx\nyoenmlw",
"end": 32600,
"score": 0.512745738,
"start": 32596,
"tag": "KEY",
"value": "ctqr"
},
{
"context": "oejulsas]jxmoefzlxhchgmspo\nnnwqedoiuhqmmbqewzx[ocxrbmgeqxsjeorfrde]agqexvigcnntkdck[vopzcxqdokfydsh]aajrpilxdhftxbprqn\ngieaqwfwcaktnyrak[ckstsfspnaxvkkecu]nywzcpsrpeypytm\nnlsmbjepecyztmhys[yseyspewhduijglnxs]nmttyybnzhxcbuvcm\ngzimfexrobypudb[fmrtikpcalnxzjco]qbxokzuhvtgzerkwgig[otsumbzbiecnrsfvgox]pnbeigikjxbnesh[ifovbpoycogawpmbtuj]qjoaetsrenrirpvb\nybjllzyznkniidrl[txlisrbknkopgbgutv]rspeuydexyushei\nnnigaodunsopocfqf[fdkbcjzyxamtnwn]obloxevzqyrmswtc[jkuniykbwsytpivsh]ceuzwuogyqxferdic\ngyuypjyncazpj",
"end": 33313,
"score": 0.6130542755,
"start": 32909,
"tag": "KEY",
"value": "rbmgeqxsjeorfrde]agqexvigcnntkdck[vopzcxqdokfydsh]aajrpilxdhftxbprqn\ngieaqwfwcaktnyrak[ckstsfspnaxvkkecu]nywzcpsrpeypytm\nnlsmbjepecyztmhys[yseyspewhduijglnxs]nmttyybnzhxcbuvcm\ngzimfexrobypudb[fmrtikpcalnxzjco]qbxokzuhvtgzerkwgig[otsumbzbiecnrsfvgox]pnbeigikjxbnesh[ifovbpoycogawpmbtuj]qjoaetsrenrirpvb\nybjllzyznkniidrl[txlisrbknkopgbgutv]rspeuydexyushei\nnnigaodunsopocfqf[fdkbcjzyxamtnwn]obloxevzqyrmswtc"
},
{
"context": "nigaodunsopocfqf[fdkbcjzyxamtnwn]obloxevzqyrmswtc[jkuniykbwsytpivsh]ceuzwuogyqxferdic\ngyuypjyncazpjtbni[aietrzglhhgxscvnwvu]ccqmabbzdawwoctwywe[fassebimi",
"end": 33367,
"score": 0.5848622322,
"start": 33314,
"tag": "KEY",
"value": "jkuniykbwsytpivsh]ceuzwuogyqxferdic\ngyuypjyncazpjtbni"
},
{
"context": "iykbwsytpivsh]ceuzwuogyqxferdic\ngyuypjyncazpjtbni[aietrzglhhgxscvnwvu]ccqmabbzdawwoctwywe[fassebimijhpenb]bwqtcbfdilruikksetv\nldxvntffkplnj",
"end": 33407,
"score": 0.5878837109,
"start": 33368,
"tag": "KEY",
"value": "aietrzglhhgxscvnwvu]ccqmabbzdawwoctwywe"
},
{
"context": "cazpjtbni[aietrzglhhgxscvnwvu]ccqmabbzdawwoctwywe[fassebimijhpenb]bwqtcbfdilruikksetv\nldxvntffkplnjgt[lhwtwwfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvm",
"end": 33459,
"score": 0.5770686269,
"start": 33408,
"tag": "KEY",
"value": "fassebimijhpenb]bwqtcbfdilruikksetv\nldxvntffkplnjgt"
},
{
"context": "ssebimijhpenb]bwqtcbfdilruikksetv\nldxvntffkplnjgt[lhwtwwfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboi",
"end": 33479,
"score": 0.564286828,
"start": 33460,
"tag": "KEY",
"value": "lhwtwwfoyuoumxngqbp"
},
{
"context": "fdilruikksetv\nldxvntffkplnjgt[lhwtwwfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboidqya\ntpnxkxbhphx",
"end": 33495,
"score": 0.5641689897,
"start": 33480,
"tag": "KEY",
"value": "eyoreivfgqwyfet"
},
{
"context": "vntffkplnjgt[lhwtwwfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfads",
"end": 33510,
"score": 0.541642189,
"start": 33497,
"tag": "KEY",
"value": "lipomgffukvmj"
},
{
"context": "wtwwfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfadsgjpd",
"end": 33514,
"score": 0.5437518358,
"start": 33512,
"tag": "KEY",
"value": "vu"
},
{
"context": "wfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljy",
"end": 33533,
"score": 0.5525121689,
"start": 33515,
"tag": "KEY",
"value": "npvyofzmqlyboidqya"
},
{
"context": "vfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpo",
"end": 33552,
"score": 0.534891665,
"start": 33536,
"tag": "KEY",
"value": "nxkxbhphxzetonae"
},
{
"context": "fukvmjynvu]npvyofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[ge",
"end": 33559,
"score": 0.509381175,
"start": 33554,
"tag": "KEY",
"value": "ugfad"
},
{
"context": "nvu]npvyofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnn",
"end": 33568,
"score": 0.5229959488,
"start": 33561,
"tag": "KEY",
"value": "jpdwxup"
},
{
"context": "ofzmqlyboidqya\ntpnxkxbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxb",
"end": 33586,
"score": 0.5272029638,
"start": 33569,
"tag": "KEY",
"value": "jainzhhwfvgcljydo"
},
{
"context": "xbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxbslxld\nlzeizipamzynf",
"end": 33606,
"score": 0.5418031812,
"start": 33589,
"tag": "KEY",
"value": "llwzqtwsmvdpoivdm"
},
{
"context": "sgjpdwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxbslxld\nlzeizipamzynfflhuh",
"end": 33611,
"score": 0.5211168528,
"start": 33609,
"tag": "KEY",
"value": "id"
},
{
"context": "dwxup]jainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxbslxld\nlzeizipamzynfflhuhz[qzwbfn",
"end": 33619,
"score": 0.5106032491,
"start": 33613,
"tag": "KEY",
"value": "ypnnns"
},
{
"context": "ainzhhwfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxbslxld\nlzeizipamzynfflhuhz[qzwbfnjeulp",
"end": 33624,
"score": 0.5326305032,
"start": 33620,
"tag": "KEY",
"value": "jjgc"
},
{
"context": "wfvgcljydo\nuzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxbslxld\nlzeizipamzynfflhuhz[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyug",
"end": 33662,
"score": 0.5462193489,
"start": 33626,
"tag": "KEY",
"value": "twpieaxgzxbslxld\nlzeizipamzynfflhuhz"
},
{
"context": "nnnszjjgc]vtwpieaxgzxbslxld\nlzeizipamzynfflhuhz[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwi",
"end": 33678,
"score": 0.5199158788,
"start": 33665,
"tag": "KEY",
"value": "wbfnjeulpgjjn"
},
{
"context": "eaxgzxbslxld\nlzeizipamzynfflhuhz[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhg",
"end": 33693,
"score": 0.5375436544,
"start": 33680,
"tag": "KEY",
"value": "apdqkjbpljvnv"
},
{
"context": "eizipamzynfflhuhz[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]k",
"end": 33701,
"score": 0.5181250572,
"start": 33695,
"tag": "KEY",
"value": "qhauhy"
},
{
"context": "nfflhuhz[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]kmbwxqqwf",
"end": 33709,
"score": 0.5182343125,
"start": 33704,
"tag": "KEY",
"value": "ojxco"
},
{
"context": "[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]kmbwxqqwfjxawb",
"end": 33714,
"score": 0.5204170942,
"start": 33712,
"tag": "KEY",
"value": "lc"
},
{
"context": "fnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]kmbwxqqwfjxawbj\nivq",
"end": 33719,
"score": 0.5054807663,
"start": 33717,
"tag": "KEY",
"value": "fl"
},
{
"context": "jjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]kmbwxqqwfjxawbj\nivqhauvcbmb",
"end": 33727,
"score": 0.5131412148,
"start": 33725,
"tag": "KEY",
"value": "gw"
},
{
"context": "kubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]kmbwxqqwfjxawbj\nivqhauvcbmbzijrl[lbsmgujvpbayaoy]ktea",
"end": 33753,
"score": 0.5052415729,
"start": 33751,
"tag": "KEY",
"value": "mb"
},
{
"context": "vqhauvcbmbzijrl[lbsmgujvpbayaoy]kteathfvlzvbfzdgw[xkpwoqzbkbdgrsjzn]hnihhzpetldtahy[ocottuvddcefplijb]vfolexdinkkgmcd",
"end": 33834,
"score": 0.5612785816,
"start": 33817,
"tag": "KEY",
"value": "xkpwoqzbkbdgrsjzn"
},
{
"context": "smgujvpbayaoy]kteathfvlzvbfzdgw[xkpwoqzbkbdgrsjzn]hnihhzpetldtahy[ocottuvddcefplijb]vfolexdinkkgmcdwfyc\nvqblvnbutgx",
"end": 33850,
"score": 0.5788455606,
"start": 33835,
"tag": "KEY",
"value": "hnihhzpetldtahy"
},
{
"context": "eathfvlzvbfzdgw[xkpwoqzbkbdgrsjzn]hnihhzpetldtahy[ocottuvddcefplijb]vfolexdinkkgmcdwfyc\nvqblvnbutgxixnfcwc[kphevjpgctxpkavh]riyfeqvpyvgcka",
"end": 33888,
"score": 0.558537364,
"start": 33851,
"tag": "KEY",
"value": "ocottuvddcefplijb]vfolexdinkkgmcdwfyc"
},
{
"context": "petldtahy[ocottuvddcefplijb]vfolexdinkkgmcdwfyc\nvqblvnbutgxixnfcwc[kphevjpgctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsn",
"end": 33907,
"score": 0.5598347783,
"start": 33891,
"tag": "KEY",
"value": "blvnbutgxixnfcwc"
},
{
"context": "cefplijb]vfolexdinkkgmcdwfyc\nvqblvnbutgxixnfcwc[kphevjpgctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsnlqdagr]shrflexwtlaivfow\nlreoiyjedxzdy",
"end": 33944,
"score": 0.5434855223,
"start": 33910,
"tag": "KEY",
"value": "hevjpgctxpkavh]riyfeqvpyvgckaselrb"
},
{
"context": "tgxixnfcwc[kphevjpgctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsnlqdagr]shrflexwtlaivfow\nlreoiyjedxzdyhdnld",
"end": 33949,
"score": 0.5522968769,
"start": 33947,
"tag": "KEY",
"value": "ol"
},
{
"context": "nfcwc[kphevjpgctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsnlqdagr]shrflexwtlaivfow\nlreoiyjedxzdyhdnlde[levs",
"end": 33955,
"score": 0.5406606197,
"start": 33952,
"tag": "KEY",
"value": "liq"
},
{
"context": "[kphevjpgctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsnlqdagr]shrflexwtlaivfow\nlreoiyjedxzdyhdnlde[levshlupf",
"end": 33960,
"score": 0.5366535187,
"start": 33957,
"tag": "KEY",
"value": "lqd"
},
{
"context": "ctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsnlqdagr]shrflexwtlaivfow\nlreoiyjedxzdyhdnlde[levshlupfrkvdfdeav]ehfmfwbetbsduiudzr[uoxbgzrwlqk",
"end": 34000,
"score": 0.5601662397,
"start": 33966,
"tag": "KEY",
"value": "rflexwtlaivfow\nlreoiyjedxzdyhdnlde"
},
{
"context": "xliqsnlqdagr]shrflexwtlaivfow\nlreoiyjedxzdyhdnlde[levshlupfrkvdfdeav]ehfmfwbetbsduiudzr[uoxbgzrwlqkbkcwo]wjlwlixknhzeuyw\nabnhwwybagtjfrh[jaoeeifkdmlksncnjp]rulgazssxsmrrwe[hisspgixyvssxiumqtj]ohkxzqzkfnkvvgvrhgf\ndrtqdxxqsrkujjyyb[jxitdcumljupwcmxx]kmzgykavruhbpl",
"end": 34162,
"score": 0.5907031894,
"start": 34001,
"tag": "KEY",
"value": "levshlupfrkvdfdeav]ehfmfwbetbsduiudzr[uoxbgzrwlqkbkcwo]wjlwlixknhzeuyw\nabnhwwybagtjfrh[jaoeeifkdmlksncnjp]rulgazssxsmrrwe[hisspgixyvssxiumqtj]ohkxzqzkfnkvvgvrhgf"
},
{
"context": "sxsmrrwe[hisspgixyvssxiumqtj]ohkxzqzkfnkvvgvrhgf\ndrtqdxxqsrkujjyyb[jxitdcumljupwcmxx]kmzgykavruhbplvjjp[tjxjcibaznga",
"end": 34180,
"score": 0.5825752616,
"start": 34164,
"tag": "KEY",
"value": "rtqdxxqsrkujjyyb"
},
{
"context": "yvssxiumqtj]ohkxzqzkfnkvvgvrhgf\ndrtqdxxqsrkujjyyb[jxitdcumljupwcmxx]kmzgykavruhbplvjjp[tjxjcibazngasivc]iuhgnmtzaozyk",
"end": 34198,
"score": 0.5587843657,
"start": 34181,
"tag": "KEY",
"value": "jxitdcumljupwcmxx"
},
{
"context": "zkfnkvvgvrhgf\ndrtqdxxqsrkujjyyb[jxitdcumljupwcmxx]kmzgykavruhbplvjjp[tjxjcibazngasivc]iuhgnmtzaozykgtedes[pproeupegrai",
"end": 34217,
"score": 0.5672308803,
"start": 34199,
"tag": "KEY",
"value": "kmzgykavruhbplvjjp"
},
{
"context": "xxqsrkujjyyb[jxitdcumljupwcmxx]kmzgykavruhbplvjjp[tjxjcibazngasivc]iuhgnmtzaozykgtedes[pproeupegraihkv]vuptfrfnrwopi",
"end": 34234,
"score": 0.5543439388,
"start": 34218,
"tag": "KEY",
"value": "tjxjcibazngasivc"
},
{
"context": "dcumljupwcmxx]kmzgykavruhbplvjjp[tjxjcibazngasivc]iuhgnmtzaozykgtedes[pproeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlg",
"end": 34254,
"score": 0.5526204705,
"start": 34235,
"tag": "KEY",
"value": "iuhgnmtzaozykgtedes"
},
{
"context": "avruhbplvjjp[tjxjcibazngasivc]iuhgnmtzaozykgtedes[pproeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjco",
"end": 34270,
"score": 0.5317482948,
"start": 34255,
"tag": "KEY",
"value": "pproeupegraihkv"
},
{
"context": "jcibazngasivc]iuhgnmtzaozykgtedes[pproeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjcoqs",
"end": 34272,
"score": 0.5133624077,
"start": 34271,
"tag": "KEY",
"value": "v"
},
{
"context": "azngasivc]iuhgnmtzaozykgtedes[pproeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxo",
"end": 34290,
"score": 0.5356458426,
"start": 34275,
"tag": "KEY",
"value": "frfnrwopiczzkos"
},
{
"context": "tedes[pproeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxosriuc\nqklk",
"end": 34301,
"score": 0.5059152842,
"start": 34299,
"tag": "KEY",
"value": "hy"
},
{
"context": "es[pproeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxosriuc\nqklkbdi",
"end": 34304,
"score": 0.5137197971,
"start": 34302,
"tag": "KEY",
"value": "lg"
},
{
"context": "roeupegraihkv]vuptfrfnrwopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxosriuc\nqklkbdielutwm",
"end": 34310,
"score": 0.5057581663,
"start": 34307,
"tag": "KEY",
"value": "pwe"
},
{
"context": "wopiczzkos\nkbkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxosriuc\nqklkbdielutwmtwkgz[dtruujvmzvmannceu]",
"end": 34334,
"score": 0.5098280907,
"start": 34330,
"tag": "KEY",
"value": "keaa"
},
{
"context": "bkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxosriuc\nqklkbdielutwmtwkgz[dtruujvmzvmannceu]xmrwrcevkg",
"end": 34344,
"score": 0.5057710409,
"start": 34342,
"tag": "KEY",
"value": "ri"
},
{
"context": "tguzwgwxd]rdmgzgfprxmavttnoz\nmubjhrjxqggcrus[ammffdekmguajiq]wvtsxaabnjzbekpx[thnwbdcskocytas]yimpbasvxqiylaqn[mrrzwqztanrkdqwvw]uvtlhtffzkcautuvm\nxbnvzradisweizc[ogurjxmpvzglqbgjlpc]hhujtmvfmcqqcukjvjp[wgkwvyjkwkufvventj]ehdkswmxyekfimbk[ovbdceenqmnrjeqvf]oqvujeqvjlplnzgi\nggbrbreeteveahudoxy[wuvddvvvugkdows]ftzrwbghewsdfqaigt\nshelsgoglooyenhx[lylymuuhrtnflwww]muaexmsuihzdiyly\nslmxqaktxwfpfgrqv[ekjhbymdpfpiqvm]zybjhwobkrylohor[xflqcdxcgvqpzzdd]txshvtkbijbkbnsh\nbpocmihqoplucwnvyb[scxgrmfmuycybgura]yupkvewviiggoszst[suowhbqfktiboyik]hqqmqjvjczoxgeoqof\nelmexemdeoaajpjhu[kilercdwmwidrkpx]pvyefsmytxvaxuzsq[xyyhrtmwtglmcqik]spnsavadaexrodemqbq[wzzqmadwqbqbuvdxpmv]tuvloljoyhrqccyd\nrzngofliosgytzkunp[cyjzxhswcqeeqhmkjn]ymhsqcfuowylqtjrb[pwocjlxtfqsmelq]ezhrwjlzjtsdqorfsn[iekekpprqmwpdyl]aduyoxkvlkxejyjnqdz\nyhwdblscdqhpdbthaac[xadcyjrkldvjlntkxl]tcohssfmczzbomezqdr[wspvzvkctwmmhfujxm]fgxpvtsninxayplzlas[poflalkhzwwqwotgldo]mihbeaapilajefhlxs\nxgwckmpjph",
"end": 35591,
"score": 0.6372144818,
"start": 34734,
"tag": "KEY",
"value": "dekmguajiq]wvtsxaabnjzbekpx[thnwbdcskocytas]yimpbasvxqiylaqn[mrrzwqztanrkdqwvw]uvtlhtffzkcautuvm\nxbnvzradisweizc[ogurjxmpvzglqbgjlpc]hhujtmvfmcqqcukjvjp[wgkwvyjkwkufvventj]ehdkswmxyekfimbk[ovbdceenqmnrjeqvf]oqvujeqvjlplnzgi\nggbrbreeteveahudoxy[wuvddvvvugkdows]ftzrwbghewsdfqaigt\nshelsgoglooyenhx[lylymuuhrtnflwww]muaexmsuihzdiyly\nslmxqaktxwfpfgrqv[ekjhbymdpfpiqvm]zybjhwobkrylohor[xflqcdxcgvqpzzdd]txshvtkbijbkbnsh\nbpocmihqoplucwnvyb[scxgrmfmuycybgura]yupkvewviiggoszst[suowhbqfktiboyik]hqqmqjvjczoxgeoqof\nelmexemdeoaajpjhu[kilercdwmwidrkpx]pvyefsmytxvaxuzsq[xyyhrtmwtglmcqik]spnsavadaexrodemqbq[wzzqmadwqbqbuvdxpmv]tuvloljoyhrqccyd\nrzngofliosgytzkunp[cyjzxhswcqeeqhmkjn]ymhsqcfuowylqtjrb[pwocjlxtfqsmelq]ezhrwjlzjtsdqorfsn[iekekpprqmwpdyl]aduyoxkvlkxejyjnqdz\nyhwdblscdqhpdbthaac[xadcyjrkldvjlntkxl]tcohssfmczzbomezqdr[wspvzvkctwmmhfujxm]fgxpvtsninxayplzlas"
},
{
"context": "zzbomezqdr[wspvzvkctwmmhfujxm]fgxpvtsninxayplzlas[poflalkhzwwqwotgldo]mihbeaapilajefhlxs\nxgwckmpjphdwvzujv[svfq",
"end": 35603,
"score": 0.5300483108,
"start": 35592,
"tag": "KEY",
"value": "poflalkhzww"
},
{
"context": "vkctwmmhfujxm]fgxpvtsninxayplzlas[poflalkhzwwqwotgldo]mihbeaapilajefhlxs\nxgwckmpjphdwvzujv[svfqqafftzlg",
"end": 35611,
"score": 0.5361022949,
"start": 35608,
"tag": "KEY",
"value": "ldo"
},
{
"context": "wmmhfujxm]fgxpvtsninxayplzlas[poflalkhzwwqwotgldo]mihbeaapilajefhlxs\nxgwckmpjphdwvzujv[svfqqafftzlgoifup]pezixwr",
"end": 35624,
"score": 0.5322887301,
"start": 35612,
"tag": "KEY",
"value": "mihbeaapilaj"
},
{
"context": "vtsninxayplzlas[poflalkhzwwqwotgldo]mihbeaapilajefhlxs\nxgwckmpjphdwvzujv[svfqqafftzlgoifup]pezixwriwatkc",
"end": 35630,
"score": 0.5283070207,
"start": 35626,
"tag": "KEY",
"value": "hlxs"
},
{
"context": "xxoygegwmitbzkt[qxivglwljmpsfzn]mfvhkhhddithgxaokf\nnpkhgeapbthebsqk[bwoqhnxqzhkkwcm]alwpwqgoitrupvsz[",
"end": 35737,
"score": 0.513081193,
"start": 35737,
"tag": "KEY",
"value": ""
},
{
"context": "ygegwmitbzkt[qxivglwljmpsfzn]mfvhkhhddithgxaokf\nnpkhgeapbthebsqk[bwoqhnxqzhkkwcm]alwpwqgoitrupvsz[yqvcrithxqfdgzux",
"end": 35754,
"score": 0.5421580076,
"start": 35740,
"tag": "KEY",
"value": "khgeapbthebsqk"
},
{
"context": "vglwljmpsfzn]mfvhkhhddithgxaokf\nnpkhgeapbthebsqk[bwoqhnxqzhkkwcm]alwpwqgoitrupvsz[yqvcrithxqfdgzux]adoiatxqsplvllz",
"end": 35770,
"score": 0.5385381579,
"start": 35756,
"tag": "KEY",
"value": "woqhnxqzhkkwcm"
},
{
"context": "vhkhhddithgxaokf\nnpkhgeapbthebsqk[bwoqhnxqzhkkwcm]alwpwqgoitrupvsz[yqvcrithxqfdgzux]adoiatxqsplvllzivzb[fcfyicpoiqaa",
"end": 35787,
"score": 0.5307742357,
"start": 35771,
"tag": "KEY",
"value": "alwpwqgoitrupvsz"
},
{
"context": "hgeapbthebsqk[bwoqhnxqzhkkwcm]alwpwqgoitrupvsz[yqvcrithxqfdgzux]adoiatxqsplvllzivzb[fcfyicpoiqaagrb]lummgoxyspqibx",
"end": 35805,
"score": 0.5332426429,
"start": 35791,
"tag": "KEY",
"value": "crithxqfdgzux]"
},
{
"context": "qhnxqzhkkwcm]alwpwqgoitrupvsz[yqvcrithxqfdgzux]adoiatxqsplvllzivzb[fcfyicpoiqaagrb]lummgoxyspqibxaq\nvikqemveklzlaqdx",
"end": 35824,
"score": 0.5468714833,
"start": 35808,
"tag": "KEY",
"value": "iatxqsplvllzivzb"
},
{
"context": "oitrupvsz[yqvcrithxqfdgzux]adoiatxqsplvllzivzb[fcfyicpoiqaagrb]lummgoxyspqibxaq\nvikqemveklzlaqdxvev[tsqfmvvhysvd",
"end": 35840,
"score": 0.5506904125,
"start": 35828,
"tag": "KEY",
"value": "yicpoiqaagrb"
},
{
"context": "crithxqfdgzux]adoiatxqsplvllzivzb[fcfyicpoiqaagrb]lummgoxyspqibxaq\nvikqemveklzlaqdxvev[tsqfmvvhysvdmlspknc]ejryfsjgnpmxcvks[ecwobztvirmo",
"end": 35877,
"score": 0.5860709548,
"start": 35841,
"tag": "KEY",
"value": "lummgoxyspqibxaq\nvikqemveklzlaqdxvev"
},
{
"context": "cpoiqaagrb]lummgoxyspqibxaq\nvikqemveklzlaqdxvev[tsqfmvvhysvdmlspknc]ejryfsjgnpmxcvks[ecwobztvirmokwcf]siwzbkgxlniwnmhzyhd\nltlhegkfxhbn",
"end": 35914,
"score": 0.5894029737,
"start": 35880,
"tag": "KEY",
"value": "qfmvvhysvdmlspknc]ejryfsjgnpmxcvks"
},
{
"context": "eklzlaqdxvev[tsqfmvvhysvdmlspknc]ejryfsjgnpmxcvks[ecwobztvirmokwcf]siwzbkgxlniwnmhzyhd\nltlhegkfxhbndmfcpo[pmcjzvzmerxvsdo]dijdhpewjuwnate",
"end": 35951,
"score": 0.5886614919,
"start": 35915,
"tag": "KEY",
"value": "ecwobztvirmokwcf]siwzbkgxlniwnmhzyhd"
},
{
"context": "jgnpmxcvks[ecwobztvirmokwcf]siwzbkgxlniwnmhzyhd\nltlhegkfxhbndmfcpo[pmcjzvzmerxvsdo]dijdhpewjuwnatewmg[ylninmvyjhiqvi",
"end": 35970,
"score": 0.6085694432,
"start": 35954,
"tag": "KEY",
"value": "lhegkfxhbndmfcpo"
},
{
"context": "tvirmokwcf]siwzbkgxlniwnmhzyhd\nltlhegkfxhbndmfcpo[pmcjzvzmerxvsdo]dijdhpewjuwnatewmg[ylninmvyjhiqvicagy]cqrtolyldnbzfufnju\nmxsbpkqgsuh",
"end": 36005,
"score": 0.5740439892,
"start": 35971,
"tag": "KEY",
"value": "pmcjzvzmerxvsdo]dijdhpewjuwnatewmg"
},
{
"context": "egkfxhbndmfcpo[pmcjzvzmerxvsdo]dijdhpewjuwnatewmg[ylninmvyjhiqvicagy]cqrtolyldnbzfufnju\nmxsbpkqgsuhpvsrwzdl[dlrlhbdjvmrjwwthq]rqowmkoukgclzrfh[djjugwzxaaqtqa",
"end": 36063,
"score": 0.5801160932,
"start": 36006,
"tag": "KEY",
"value": "ylninmvyjhiqvicagy]cqrtolyldnbzfufnju\nmxsbpkqgsuhpvsrwzdl"
},
{
"context": "iqvicagy]cqrtolyldnbzfufnju\nmxsbpkqgsuhpvsrwzdl[dlrlhbdjvmrjwwthq]rqowmkoukgclzrfh[djjugwzxaaqtqavlo]gdzvdzibnckhkqb[xvfheuckvskmouv",
"end": 36098,
"score": 0.5680475831,
"start": 36066,
"tag": "KEY",
"value": "rlhbdjvmrjwwthq]rqowmkoukgclzrfh"
},
{
"context": "kqgsuhpvsrwzdl[dlrlhbdjvmrjwwthq]rqowmkoukgclzrfh[djjugwzxaaqtqavlo]gdzvdzibnckhkqb[xvfheuckvskmouv]uwrmeqlloqbtbfc\ne",
"end": 36116,
"score": 0.5510888696,
"start": 36099,
"tag": "KEY",
"value": "djjugwzxaaqtqavlo"
},
{
"context": "lhbdjvmrjwwthq]rqowmkoukgclzrfh[djjugwzxaaqtqavlo]gdzvdzibnckhkqb[xvfheuckvskmouv]uwrmeqlloqbtbfc\nemfplgnlzranlwxnk",
"end": 36132,
"score": 0.5528498888,
"start": 36117,
"tag": "KEY",
"value": "gdzvdzibnckhkqb"
},
{
"context": "owmkoukgclzrfh[djjugwzxaaqtqavlo]gdzvdzibnckhkqb[xvfheuckvskmouv]uwrmeqlloqbtbfc\nemfplgnlzranlwxnk[ubuhxoejgoxfcia",
"end": 36148,
"score": 0.5423606634,
"start": 36134,
"tag": "KEY",
"value": "vfheuckvskmouv"
},
{
"context": "djjugwzxaaqtqavlo]gdzvdzibnckhkqb[xvfheuckvskmouv]uwrmeqlloqbtbfc\nemfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfne",
"end": 36164,
"score": 0.547637701,
"start": 36149,
"tag": "KEY",
"value": "uwrmeqlloqbtbfc"
},
{
"context": "dzvdzibnckhkqb[xvfheuckvskmouv]uwrmeqlloqbtbfc\nemfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb\ntlkmvlcqcb",
"end": 36182,
"score": 0.5554909706,
"start": 36168,
"tag": "KEY",
"value": "plgnlzranlwxnk"
},
{
"context": "fheuckvskmouv]uwrmeqlloqbtbfc\nemfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb\ntlkmvlcqcbaqozlwn[",
"end": 36190,
"score": 0.5262653232,
"start": 36185,
"tag": "KEY",
"value": "uhxoe"
},
{
"context": "v]uwrmeqlloqbtbfc\nemfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb\ntlkmvlcqcbaqozlwn[lbupwjeefg",
"end": 36200,
"score": 0.5058751106,
"start": 36197,
"tag": "KEY",
"value": "arj"
},
{
"context": "lloqbtbfc\nemfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb\ntlkmvlcqcbaqozlwn[lbupwjeefgtoovnrkkh]",
"end": 36210,
"score": 0.5264475346,
"start": 36205,
"tag": "KEY",
"value": "cfagj"
},
{
"context": "c\nemfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb\ntlkmvlcqcbaqozlwn[lbupwjeefgtoovnrkkh]sdzgkexzx",
"end": 36219,
"score": 0.5341104865,
"start": 36213,
"tag": "KEY",
"value": "newbxx"
},
{
"context": "ranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb\ntlkmvlcqcbaqozlwn[lbupwjeefgtoovnrkkh]sdzgkexzxzcpdjgaid[q",
"end": 36230,
"score": 0.5253775716,
"start": 36224,
"tag": "KEY",
"value": "kmvlcq"
},
{
"context": "vnrkkh]sdzgkexzxzcpdjgaid[qisspueisheejzkfxdi]inhxlauecmmkpenqqf\nfdtrgsgechhugwnidpi[dtwwiqlxgtadmnrte",
"end": 36305,
"score": 0.5057319403,
"start": 36303,
"tag": "KEY",
"value": "la"
},
{
"context": "h]sdzgkexzxzcpdjgaid[qisspueisheejzkfxdi]inhxlauecmmkpenqqf\nfdtrgsgechhugwnidpi[dtwwiqlxgtadmnrtej]hdg",
"end": 36310,
"score": 0.5136625171,
"start": 36308,
"tag": "KEY",
"value": "mm"
},
{
"context": "gmzkoyulfbt]bbvorytlrgqknqz[zwseofceynlohaooxzm]hfzyxxxfpjmubbjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjt",
"end": 37483,
"score": 0.5253258944,
"start": 37466,
"tag": "KEY",
"value": "zyxxxfpjmubbjysld"
},
{
"context": "gqknqz[zwseofceynlohaooxzm]hfzyxxxfpjmubbjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[il",
"end": 37491,
"score": 0.5099917054,
"start": 37487,
"tag": "KEY",
"value": "gwcw"
},
{
"context": "eofceynlohaooxzm]hfzyxxxfpjmubbjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[ilkcycomeq",
"end": 37499,
"score": 0.5199638009,
"start": 37497,
"tag": "KEY",
"value": "do"
},
{
"context": "aooxzm]hfzyxxxfpjmubbjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[ilkcycomeqvcsuwmmq]iridicaw",
"end": 37516,
"score": 0.5249570608,
"start": 37507,
"tag": "KEY",
"value": "wtuhkltaq"
},
{
"context": "xxxfpjmubbjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[ilkcycomeqvcsuwmmq]iridicawanwka",
"end": 37520,
"score": 0.5160089135,
"start": 37518,
"tag": "KEY",
"value": "uh"
},
{
"context": "bjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz\nsun",
"end": 37531,
"score": 0.5126488805,
"start": 37527,
"tag": "KEY",
"value": "hwaw"
},
{
"context": "[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz\nsunhpdr",
"end": 37535,
"score": 0.5202455521,
"start": 37533,
"tag": "KEY",
"value": "gc"
},
{
"context": "tgwcwvhctlndovx]jxflzwtuhkltaqmnuh\nnmyrirhwawjtgcgma[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz\nsunhpdrgrj",
"end": 37538,
"score": 0.5201058388,
"start": 37536,
"tag": "KEY",
"value": "ma"
},
{
"context": "hwawjtgcgma[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz\nsunhpdrgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrwei",
"end": 37577,
"score": 0.5120628476,
"start": 37577,
"tag": "KEY",
"value": ""
},
{
"context": "jtgcgma[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz\nsunhpdrgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincoci",
"end": 37583,
"score": 0.5045697093,
"start": 37581,
"tag": "KEY",
"value": "hp"
},
{
"context": "kcycomeqvcsuwmmq]iridicawanwkaeumbvz\nsunhpdrgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincocilom\njhoqhw",
"end": 37593,
"score": 0.5047761798,
"start": 37591,
"tag": "KEY",
"value": "vk"
},
{
"context": "vz\nsunhpdrgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zs",
"end": 37627,
"score": 0.504522264,
"start": 37625,
"tag": "KEY",
"value": "we"
},
{
"context": "unhpdrgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezv",
"end": 37631,
"score": 0.5124082565,
"start": 37629,
"tag": "KEY",
"value": "co"
},
{
"context": "drgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwm",
"end": 37636,
"score": 0.5159311295,
"start": 37633,
"tag": "KEY",
"value": "lom"
},
{
"context": "ztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcf",
"end": 37645,
"score": 0.5128135085,
"start": 37638,
"tag": "KEY",
"value": "hoqhwlk"
},
{
"context": "[mtztitboyfmtysqeqzl]unugkiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoio",
"end": 37649,
"score": 0.5165836811,
"start": 37646,
"tag": "KEY",
"value": "ccm"
},
{
"context": "qzl]unugkiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopo",
"end": 37669,
"score": 0.5074757934,
"start": 37663,
"tag": "KEY",
"value": "ztlndo"
},
{
"context": "kiwrweincocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhk",
"end": 37672,
"score": 0.5125800967,
"start": 37671,
"tag": "KEY",
"value": "m"
},
{
"context": "incocilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[",
"end": 37679,
"score": 0.5203051567,
"start": 37677,
"tag": "KEY",
"value": "fe"
},
{
"context": "cilom\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdh",
"end": 37683,
"score": 0.5204093456,
"start": 37681,
"tag": "KEY",
"value": "lp"
},
{
"context": "m\njhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegm",
"end": 37689,
"score": 0.5240738392,
"start": 37685,
"tag": "KEY",
"value": "wmfw"
},
{
"context": "rlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyue",
"end": 37704,
"score": 0.5087484121,
"start": 37700,
"tag": "KEY",
"value": "mgpe"
},
{
"context": "ackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetsplt",
"end": 37709,
"score": 0.5200745463,
"start": 37708,
"tag": "KEY",
"value": "m"
},
{
"context": "tlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvw",
"end": 37723,
"score": 0.5218619108,
"start": 37714,
"tag": "KEY",
"value": "onopokhkg"
},
{
"context": "zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvwhltky",
"end": 37728,
"score": 0.5201413631,
"start": 37725,
"tag": "KEY",
"value": "mhp"
},
{
"context": "uzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvwhltkyk[imgupkeeknlltl",
"end": 37744,
"score": 0.5097932816,
"start": 37733,
"tag": "KEY",
"value": "dmwegmihhkh"
},
{
"context": "ionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjb",
"end": 37754,
"score": 0.5144784451,
"start": 37747,
"tag": "KEY",
"value": "jjkcyue"
},
{
"context": "ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcja",
"end": 37762,
"score": 0.5199887753,
"start": 37760,
"tag": "KEY",
"value": "pl"
},
{
"context": "nopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswh",
"end": 37776,
"score": 0.5139523745,
"start": 37765,
"tag": "KEY",
"value": "ocivjbvwhlt"
},
{
"context": "wegmihhkh]dgjjkcyuetspltxpl\nsiocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[v",
"end": 37787,
"score": 0.5047248602,
"start": 37785,
"tag": "KEY",
"value": "ke"
},
{
"context": "l\nsiocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxi",
"end": 37814,
"score": 0.5040323138,
"start": 37811,
"tag": "KEY",
"value": "jas"
},
{
"context": "ocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxicc",
"end": 37815,
"score": 0.5198985338,
"start": 37815,
"tag": "KEY",
"value": ""
},
{
"context": "ivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfs",
"end": 37819,
"score": 0.5046051741,
"start": 37817,
"tag": "KEY",
"value": "sw"
},
{
"context": "vwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffck",
"end": 37826,
"score": 0.5176678896,
"start": 37821,
"tag": "KEY",
"value": "fwswh"
},
{
"context": "k[imgupkeeknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkored",
"end": 37833,
"score": 0.504864037,
"start": 37828,
"tag": "KEY",
"value": "gohhy"
},
{
"context": "eknlltlk]qxfcqnjbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]",
"end": 37840,
"score": 0.5121611953,
"start": 37837,
"tag": "KEY",
"value": "ams"
},
{
"context": "jbjtenubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjq",
"end": 37854,
"score": 0.5042335391,
"start": 37852,
"tag": "KEY",
"value": "ls"
},
{
"context": "nubcjasr\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemt",
"end": 37860,
"score": 0.5048114061,
"start": 37857,
"tag": "KEY",
"value": "qre"
},
{
"context": "\nhswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgk",
"end": 37867,
"score": 0.5046895146,
"start": 37865,
"tag": "KEY",
"value": "cg"
},
{
"context": "gnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfz",
"end": 37870,
"score": 0.5043721199,
"start": 37869,
"tag": "KEY",
"value": "q"
},
{
"context": "vo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfzfzqho[wfluvctfqhr",
"end": 37887,
"score": 0.5046367049,
"start": 37883,
"tag": "KEY",
"value": "wdpc"
},
{
"context": "kcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfzfzqho[wfluvctfqhrwznyzfsa]z",
"end": 37897,
"score": 0.5173001289,
"start": 37891,
"tag": "KEY",
"value": "jdjsrq"
},
{
"context": "svls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfzfzqho[wfluvctfqhrwznyzfsa]zriira",
"end": 37902,
"score": 0.5043807626,
"start": 37900,
"tag": "KEY",
"value": "bf"
},
{
"context": "]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfzfzqho[wfluvctfqhrwznyzfsa]zriirahfdp",
"end": 37905,
"score": 0.5354053974,
"start": 37904,
"tag": "KEY",
"value": "f"
},
{
"context": "qrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfzfzqho[wfluvctfqhrwznyzfsa]zriirahfdpleznfto[dugecvl",
"end": 37921,
"score": 0.5169818997,
"start": 37907,
"tag": "KEY",
"value": "emtumhnmgkgfzf"
},
{
"context": "fckymkoredwdpcmx]vjdjsrqxttbfjqf\nqemtumhnmgkgfzfzqho[wfluvctfqhrwznyzfsa]zriirahfdpleznfto[dugecvltxsf",
"end": 37925,
"score": 0.5045535564,
"start": 37923,
"tag": "KEY",
"value": "ho"
},
{
"context": "znyzfsa]zriirahfdpleznfto[dugecvltxsfumxvjaah]lvudvknmsbudzxoadg\nmvrjzvsrconakgifqj[ehgbxxxhfqcigyhuyy",
"end": 37990,
"score": 0.5127739906,
"start": 37988,
"tag": "KEY",
"value": "vk"
},
{
"context": "nlhnvrz[qdajsuhymeavrqpdoy]nspfggpgnwnalzuk\nsejkhhjswpiqukaddwc[vwdsuuxtfaxqbrcne]njkrzolxoqpmmua\nfumc",
"end": 38142,
"score": 0.512702167,
"start": 38140,
"tag": "KEY",
"value": "js"
},
{
"context": "ejkhhjswpiqukaddwc[vwdsuuxtfaxqbrcne]njkrzolxoqpmmua\nfumcwsiexfoqklovype[bzxfxytncrmwtfrojv]bfvsmplxar",
"end": 38187,
"score": 0.5045819283,
"start": 38185,
"tag": "KEY",
"value": "ua"
},
{
"context": "evmuryxipqcgfdwz]wxjkmuhjootmigfietn[flfcoqhksuopnwk]cewizdzpgetongprkb[pqizytyliwhnetg]uknrvmoahsbicm",
"end": 38392,
"score": 0.5598823428,
"start": 38390,
"tag": "KEY",
"value": "wk"
},
{
"context": "uryxipqcgfdwz]wxjkmuhjootmigfietn[flfcoqhksuopnwk]cewizdzpgetongprkb[pqizytyliwhnetg]uknrvmoahsbicmeg\nevyofxtcsyfbjtbm",
"end": 38411,
"score": 0.5388237834,
"start": 38393,
"tag": "KEY",
"value": "cewizdzpgetongprkb"
},
{
"context": "jootmigfietn[flfcoqhksuopnwk]cewizdzpgetongprkb[pqizytyliwhnetg]uknrvmoahsbicmeg\nevyofxtcsyfbjtbml[wjqpsedellhzgm",
"end": 38427,
"score": 0.5358734131,
"start": 38414,
"tag": "KEY",
"value": "izytyliwhnetg"
},
{
"context": "lfcoqhksuopnwk]cewizdzpgetongprkb[pqizytyliwhnetg]uknrvmoahsbicmeg\nevyofxtcsyfbjtbml[wjqpsedellhzgmvk]emdpcwxuuaccubk",
"end": 38444,
"score": 0.5444732308,
"start": 38428,
"tag": "KEY",
"value": "uknrvmoahsbicmeg"
},
{
"context": "zdzpgetongprkb[pqizytyliwhnetg]uknrvmoahsbicmeg\nevyofxtcsyfbjtbml[wjqpsedellhzgmvk]emdpcwxuuaccubksbqb[krehpfhgyibf",
"end": 38462,
"score": 0.5736495256,
"start": 38447,
"tag": "KEY",
"value": "yofxtcsyfbjtbml"
},
{
"context": "zytyliwhnetg]uknrvmoahsbicmeg\nevyofxtcsyfbjtbml[wjqpsedellhzgmvk]emdpcwxuuaccubksbqb[krehpfhgyibfxepo]imvfvflnagwu",
"end": 38479,
"score": 0.5751937628,
"start": 38465,
"tag": "KEY",
"value": "qpsedellhzgmvk"
},
{
"context": "nrvmoahsbicmeg\nevyofxtcsyfbjtbml[wjqpsedellhzgmvk]emdpcwxuuaccubksbqb[krehpfhgyibfxepo]imvfvflnagwulpcp[cldtyjrcehkgtfy",
"end": 38499,
"score": 0.5915549994,
"start": 38480,
"tag": "KEY",
"value": "emdpcwxuuaccubksbqb"
},
{
"context": "xtcsyfbjtbml[wjqpsedellhzgmvk]emdpcwxuuaccubksbqb[krehpfhgyibfxepo]imvfvflnagwulpcp[cldtyjrcehkgtfyxnws]gaicllkdzufdmja\nplinmvdjkasws",
"end": 38533,
"score": 0.5761424303,
"start": 38500,
"tag": "KEY",
"value": "krehpfhgyibfxepo]imvfvflnagwulpcp"
},
{
"context": "cwxuuaccubksbqb[krehpfhgyibfxepo]imvfvflnagwulpcp[cldtyjrcehkgtfyxnws]gaicllkdzufdmja\nplinmvdjkaswskiw[zejltttlwtcetjb]uqkwaifdtedvcmiqcs[smlzeqfmbhssmvvmvh]lgypwtxchfxksqgmeb[fqygohnnxmmvazctrl]rwbjopgpdkeejeb\nhgxczafqluesrmrtuc[jkowxyxlufhgbmk]zbiycjiafsngeoz[mltnmcbnsrmdjini]",
"end": 38713,
"score": 0.6010910273,
"start": 38534,
"tag": "KEY",
"value": "cldtyjrcehkgtfyxnws]gaicllkdzufdmja\nplinmvdjkaswskiw[zejltttlwtcetjb]uqkwaifdtedvcmiqcs[smlzeqfmbhssmvvmvh]lgypwtxchfxksqgmeb[fqygohnnxmmvazctrl]rwbjopgpdkeejeb\nhgxczafqluesrmrtuc"
},
{
"context": "ohnnxmmvazctrl]rwbjopgpdkeejeb\nhgxczafqluesrmrtuc[jkowxyxlufhgbmk]zbiycjiafsngeoz[mltnmcbnsrmdjini]wtokbcbelvzibjncpat[dmjqentqrspi",
"end": 38745,
"score": 0.5669368505,
"start": 38714,
"tag": "KEY",
"value": "jkowxyxlufhgbmk]zbiycjiafsngeoz"
},
{
"context": "gxczafqluesrmrtuc[jkowxyxlufhgbmk]zbiycjiafsngeoz[mltnmcbnsrmdjini]wtokbcbelvzibjncpat[dmjqentqrspifbnind]drpbucndawosqjk\nhqaysnyyigyfvz",
"end": 38782,
"score": 0.56202209,
"start": 38746,
"tag": "KEY",
"value": "mltnmcbnsrmdjini]wtokbcbelvzibjncpat"
},
{
"context": "ycjiafsngeoz[mltnmcbnsrmdjini]wtokbcbelvzibjncpat[dmjqentqrspifbnind]drpbucndawosqjk\nhqaysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlac",
"end": 38817,
"score": 0.5697514415,
"start": 38783,
"tag": "KEY",
"value": "dmjqentqrspifbnind]drpbucndawosqjk"
},
{
"context": "elvzibjncpat[dmjqentqrspifbnind]drpbucndawosqjk\nhqaysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewml",
"end": 38832,
"score": 0.543722868,
"start": 38820,
"tag": "KEY",
"value": "aysnyyigyfvz"
},
{
"context": "entqrspifbnind]drpbucndawosqjk\nhqaysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqk",
"end": 38844,
"score": 0.5350822806,
"start": 38837,
"tag": "KEY",
"value": "qjwqmhi"
},
{
"context": "fbnind]drpbucndawosqjk\nhqaysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomz",
"end": 38851,
"score": 0.5240342021,
"start": 38845,
"tag": "KEY",
"value": "wsbblf"
},
{
"context": "pbucndawosqjk\nhqaysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuup",
"end": 38869,
"score": 0.5224336386,
"start": 38854,
"tag": "KEY",
"value": "wseacbmleqwlaci"
},
{
"context": "ysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnw",
"end": 38882,
"score": 0.5254474282,
"start": 38871,
"tag": "KEY",
"value": "isrrgcmewml"
},
{
"context": "[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsuj",
"end": 38889,
"score": 0.513715446,
"start": 38884,
"tag": "KEY",
"value": "kremg"
},
{
"context": "mhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofft",
"end": 38901,
"score": 0.5242167711,
"start": 38891,
"tag": "KEY",
"value": "fqkdkghomz"
},
{
"context": "]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesr",
"end": 38905,
"score": 0.521543622,
"start": 38903,
"tag": "KEY",
"value": "ia"
},
{
"context": "acbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvg",
"end": 38907,
"score": 0.5212089419,
"start": 38907,
"tag": "KEY",
"value": ""
},
{
"context": "bmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupkn",
"end": 38913,
"score": 0.5140596628,
"start": 38909,
"tag": "KEY",
"value": "rcyy"
},
{
"context": "wlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcyw",
"end": 38924,
"score": 0.5151422024,
"start": 38914,
"tag": "KEY",
"value": "pfuupvipsu"
},
{
"context": "lsqkremg]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]",
"end": 38934,
"score": 0.5138918757,
"start": 38931,
"tag": "KEY",
"value": "wgh"
},
{
"context": "]hfqkdkghomzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkgg",
"end": 38945,
"score": 0.5161885619,
"start": 38939,
"tag": "KEY",
"value": "blbiwy"
},
{
"context": "homzddiaeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkggxpzmf",
"end": 38950,
"score": 0.5291281939,
"start": 38947,
"tag": "KEY",
"value": "off"
},
{
"context": "aeq\nqrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkggxpzmfy\nqjttccgwn",
"end": 38961,
"score": 0.5138231516,
"start": 38954,
"tag": "KEY",
"value": "rxvghup"
},
{
"context": "uor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkggxpzmfy\nqjttccgwnqwdehsoz[dfbrk",
"end": 38975,
"score": 0.5293534994,
"start": 38973,
"tag": "KEY",
"value": "ww"
},
{
"context": "ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkggxpzmfy\nqjttccgwnqwdehsoz[dfbrkdapo",
"end": 38979,
"score": 0.5293288827,
"start": 38977,
"tag": "KEY",
"value": "ke"
},
{
"context": "wghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkggxpzmfy\nqjttccgwnqwdehsoz[dfbrkdapobhqv",
"end": 38983,
"score": 0.5136345625,
"start": 38981,
"tag": "KEY",
"value": "jo"
},
{
"context": "mdtnmfhtkiyqqct[patbobzwiwlidazpoc]nzbneeilwcjqnxqwh\nobtckokgcgcwbtyww[gxpfdpaggfbadjvdo]trethfifqwrfexv[uiucztyublzgcky",
"end": 39322,
"score": 0.6048392057,
"start": 39302,
"tag": "KEY",
"value": "wh\nobtckokgcgcwbtyww"
},
{
"context": "bzwiwlidazpoc]nzbneeilwcjqnxqwh\nobtckokgcgcwbtyww[gxpfdpaggfbadjvdo]trethfifqwrfexv[uiucztyublzgcky]msapdqrbpbwxkoeuidi\nyfhewfkbdwvgwvmhqbd[fqginmtqmkcubfvci]aidxbpzcktshamejexi\njjjryxfwjklxrkhhcxu[gwwrmyzrpjmjtmfl]fvjaxkdviibxaodo[csagiwfbhogtnpixzc]miorozrdmimmefh\ntzpxkatetacnqzombnn[bwzhrlkgwcolxczvcbg]rplchqjvjthsortjqb[oyqjdlyeyqhqtrfbfh]munhcovgrhuwhvkjzja\nslrtmwlceytivwzb[xapqxilotekdngaekz]rzohiqiljdhennylmk[whtwrgrfpxkgqrs]rtlehyggcuplhrfwsvs\nvjregfcqrdxbfntljq[xpfnzsjsmphfbppf]kwfjfcrvygtqwtdgh\nmnrnbytuhhsxrzgz[nzdxekogduhxbpipobg]ydgjseiypncodnm[oylueeldnmgcwmqhq]svqllgtwmhshzqaxf\nxhcxtoxuqumfxatsl[qlkqdcziwtbclcph]ysfpbfueqmlluib[jjvxhqopyhgxgvb]flovcgpyjyubpbdmp\nnvpcfbzmykatqdp",
"end": 39922,
"score": 0.6533940434,
"start": 39323,
"tag": "KEY",
"value": "gxpfdpaggfbadjvdo]trethfifqwrfexv[uiucztyublzgcky]msapdqrbpbwxkoeuidi\nyfhewfkbdwvgwvmhqbd[fqginmtqmkcubfvci]aidxbpzcktshamejexi\njjjryxfwjklxrkhhcxu[gwwrmyzrpjmjtmfl]fvjaxkdviibxaodo[csagiwfbhogtnpixzc]miorozrdmimmefh\ntzpxkatetacnqzombnn[bwzhrlkgwcolxczvcbg]rplchqjvjthsortjqb[oyqjdlyeyqhqtrfbfh]munhcovgrhuwhvkjzja\nslrtmwlceytivwzb[xapqxilotekdngaekz]rzohiqiljdhennylmk[whtwrgrfpxkgqrs]rtlehyggcuplhrfwsvs\nvjregfcqrdxbfntljq[xpfnzsjsmphfbppf]kwfjfcrvygtqwtdgh\nmnrnbytuhhsxrzgz[nzdxekogduhxbpipobg]ydgjseiypncodnm[oylueeldnmgcwmqhq]svqllgtwmhshzqaxf\nxhcxtoxuqumfxatsl[qlkqdcziwtbclcph]ysfpbfueqmlluib"
},
{
"context": "hcxtoxuqumfxatsl[qlkqdcziwtbclcph]ysfpbfueqmlluib[jjvxhqopyhgxgvb]flovcgpyjyubpbdmp\nnvpcfbzmykatqdpgpv[eywcemzcjnlhwhfbjv]gcnnnrxczlzbtufuie\nrhikymyqgbq",
"end": 39975,
"score": 0.6003717184,
"start": 39923,
"tag": "KEY",
"value": "jjvxhqopyhgxgvb]flovcgpyjyubpbdmp\nnvpcfbzmykatqdpgpv"
},
{
"context": "xhqopyhgxgvb]flovcgpyjyubpbdmp\nnvpcfbzmykatqdpgpv[eywcemzcjnlhwhfbjv]gcnnnrxczlzbtufuie\nrhikymyqgbqbwgw[eeitheuwdamcndqibp]aiikebogsqexfbob[tcsuzyilztxrr",
"end": 40029,
"score": 0.5809136033,
"start": 39976,
"tag": "KEY",
"value": "eywcemzcjnlhwhfbjv]gcnnnrxczlzbtufuie\nrhikymyqgbqbwgw"
},
{
"context": "zcjnlhwhfbjv]gcnnnrxczlzbtufuie\nrhikymyqgbqbwgw[eeitheuwdamcndqibp]aiikebogsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvpt",
"end": 40048,
"score": 0.5669019818,
"start": 40032,
"tag": "KEY",
"value": "itheuwdamcndqibp"
},
{
"context": "nrxczlzbtufuie\nrhikymyqgbqbwgw[eeitheuwdamcndqibp]aiikebogsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvptoqn\nkokyhjebbwnio",
"end": 40065,
"score": 0.5750601888,
"start": 40049,
"tag": "KEY",
"value": "aiikebogsqexfbob"
},
{
"context": "myqgbqbwgw[eeitheuwdamcndqibp]aiikebogsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvptoqn\nkokyhjebbwniohsgrbr[ggsocxmup",
"end": 40081,
"score": 0.5527053475,
"start": 40069,
"tag": "KEY",
"value": "uzyilztxrrqa"
},
{
"context": "itheuwdamcndqibp]aiikebogsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvptoqn\nkokyhjebbwniohsgrbr[ggsocxmupmielega]esekvzvbajss",
"end": 40101,
"score": 0.5783841014,
"start": 40082,
"tag": "KEY",
"value": "wutfkolihzuhbvptoqn"
},
{
"context": "ebogsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvptoqn\nkokyhjebbwniohsgrbr[ggsocxmupmielega]esekvzvbajssesin",
"end": 40105,
"score": 0.5365662575,
"start": 40103,
"tag": "KEY",
"value": "ok"
},
{
"context": "gsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvptoqn\nkokyhjebbwniohsgrbr[ggsocxmupmielega]esekvzvbajssesin[ipwqyvkwospydzp",
"end": 40121,
"score": 0.5548642874,
"start": 40106,
"tag": "KEY",
"value": "hjebbwniohsgrbr"
},
{
"context": "]byhqabwpjuihcpgipx\npizgcsuyqldtehjc[utwlsnwndcjqnndpppe]qxzxhkayzcicvstxiws[tjqhoiifvxdzdkigtb]zjquhrplvjxruwjpyl\noadivwkprasfyitu[yygivqpjckczybxrq]bezhtnyscekflpszt[eqvoapqpfnmwddehqbe]mnkqjstlvogsipe[vmcrcaytblgxyarcrx]nwvjubzclcaxtdmgl\ngimpphsdpyklrcsbk[qphbkjzijutqysed]fpokchopspibqiyyb[owxliqxhpvjjqjzvs]ttjeutzqspjqklxsx[nvxybvsgtxxwagkvg]pximctvjdqxbodwbid\nxmgqacsovxksrfnypy[jjybvmwissplkcttnp]ksakyoqvswnbrezeze\nxoxquvrpgiiopvepjd[xakbfdhgtdrxixz]uuidqssmeiardumqppv[ewdkbrnwbodzzyb]kuyvmhqxititvvmf\nujuuypsguepvtqiurq[psgjujogkcbqrtrr]ckjvvhzookepzzwyuye\nlwnhrcbjrjqarzdx[jezkqlffqqbioajjbnl]zssjjsdouwbegdbnxx\njghqoqlqghfqdfh[jswcksaiwouxhnssqin]kqcasjkrnihqmenbqbh[mgpmbwkzu",
"end": 40812,
"score": 0.6829012036,
"start": 40223,
"tag": "KEY",
"value": "ndpppe]qxzxhkayzcicvstxiws[tjqhoiifvxdzdkigtb]zjquhrplvjxruwjpyl\noadivwkprasfyitu[yygivqpjckczybxrq]bezhtnyscekflpszt[eqvoapqpfnmwddehqbe]mnkqjstlvogsipe[vmcrcaytblgxyarcrx]nwvjubzclcaxtdmgl\ngimpphsdpyklrcsbk[qphbkjzijutqysed]fpokchopspibqiyyb[owxliqxhpvjjqjzvs]ttjeutzqspjqklxsx[nvxybvsgtxxwagkvg]pximctvjdqxbodwbid\nxmgqacsovxksrfnypy[jjybvmwissplkcttnp]ksakyoqvswnbrezeze\nxoxquvrpgiiopvepjd[xakbfdhgtdrxixz]uuidqssmeiardumqppv[ewdkbrnwbodzzyb]kuyvmhqxititvvmf\nujuuypsguepvtqiurq[psgjujogkcbqrtrr]ckjvvhzookepzzwyuye\nlwnhrcbjrjqarzdx[jezkqlffqqbioajjbnl]zssjjsdouwbegdbnxx\njghqoqlqghfqdfh"
},
{
"context": "lffqqbioajjbnl]zssjjsdouwbegdbnxx\njghqoqlqghfqdfh[jswcksaiwouxhnssqin]kqcasjkrnihqmenbqbh[mgpmbwkzuduzsmnjb]dxsvhizedmabyjo[rbupdqkkgeihkyw",
"end": 40852,
"score": 0.5868753791,
"start": 40813,
"tag": "KEY",
"value": "jswcksaiwouxhnssqin]kqcasjkrnihqmenbqbh"
},
{
"context": "lqghfqdfh[jswcksaiwouxhnssqin]kqcasjkrnihqmenbqbh[mgpmbwkzuduzsmnjb]dxsvhizedmabyjo[rbupdqkkgeihkywitk]pcgvmkrlpkbqfhune\neopvqwwlvnto",
"end": 40886,
"score": 0.5771220922,
"start": 40853,
"tag": "KEY",
"value": "mgpmbwkzuduzsmnjb]dxsvhizedmabyjo"
},
{
"context": "sjkrnihqmenbqbh[mgpmbwkzuduzsmnjb]dxsvhizedmabyjo[rbupdqkkgeihkywitk]pcgvmkrlpkbqfhune\neopvqwwlvntomltpv[bwkbunwyjojuxoteyua]arbceqrmsfln",
"end": 40923,
"score": 0.5817827582,
"start": 40887,
"tag": "KEY",
"value": "rbupdqkkgeihkywitk]pcgvmkrlpkbqfhune"
},
{
"context": "hizedmabyjo[rbupdqkkgeihkywitk]pcgvmkrlpkbqfhune\neopvqwwlvntomltpv[bwkbunwyjojuxoteyua]arbceqrmsflnytkl\nrcgjbumerakf",
"end": 40941,
"score": 0.594135046,
"start": 40925,
"tag": "KEY",
"value": "opvqwwlvntomltpv"
},
{
"context": "qkkgeihkywitk]pcgvmkrlpkbqfhune\neopvqwwlvntomltpv[bwkbunwyjojuxoteyua]arbceqrmsflnytkl\nrcgjbumerakfnebou[qimexcxydncncunkhv]frixowswdjgq",
"end": 40978,
"score": 0.569196701,
"start": 40942,
"tag": "KEY",
"value": "bwkbunwyjojuxoteyua]arbceqrmsflnytkl"
},
{
"context": "lvntomltpv[bwkbunwyjojuxoteyua]arbceqrmsflnytkl\nrcgjbumerakfnebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnso",
"end": 40992,
"score": 0.5495881438,
"start": 40981,
"tag": "KEY",
"value": "gjbumerakfn"
},
{
"context": "kbunwyjojuxoteyua]arbceqrmsflnytkl\nrcgjbumerakfnebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgva",
"end": 40996,
"score": 0.5738431215,
"start": 40994,
"tag": "KEY",
"value": "ou"
},
{
"context": "wyjojuxoteyua]arbceqrmsflnytkl\nrcgjbumerakfnebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvric",
"end": 41015,
"score": 0.5612645149,
"start": 40998,
"tag": "KEY",
"value": "imexcxydncncunkhv"
},
{
"context": "eqrmsflnytkl\nrcgjbumerakfnebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzqu",
"end": 41033,
"score": 0.547206223,
"start": 41016,
"tag": "KEY",
"value": "frixowswdjgqndoos"
},
{
"context": "erakfnebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dx",
"end": 41040,
"score": 0.5304771066,
"start": 41036,
"tag": "KEY",
"value": "jdmn"
},
{
"context": "ebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstw",
"end": 41044,
"score": 0.5199456215,
"start": 41042,
"tag": "KEY",
"value": "fg"
},
{
"context": "u[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznv",
"end": 41047,
"score": 0.5434421897,
"start": 41045,
"tag": "KEY",
"value": "ag"
},
{
"context": "cncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith\nzjd",
"end": 41059,
"score": 0.5121629834,
"start": 41057,
"tag": "KEY",
"value": "dk"
},
{
"context": "hv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith\nzjddycxtbubali",
"end": 41070,
"score": 0.5244594216,
"start": 41063,
"tag": "KEY",
"value": "icswsrn"
},
{
"context": "jgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith\nzjddycxtbubaliviw[cwm",
"end": 41077,
"score": 0.5122359395,
"start": 41075,
"tag": "KEY",
"value": "bl"
},
{
"context": "jdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith\nzjddycxtbubaliviw[cwmjgucnnrbsy",
"end": 41087,
"score": 0.5277010798,
"start": 41086,
"tag": "KEY",
"value": "w"
},
{
"context": "sofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith\nzjddycxtbubaliviw[cwmjgucnnrbsybtpx",
"end": 41091,
"score": 0.5044823885,
"start": 41090,
"tag": "KEY",
"value": "n"
},
{
"context": "vagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith\nzjddycxtbubaliviw[cwmjgucnnrbsybtpxu]zhm",
"end": 41096,
"score": 0.5047064424,
"start": 41094,
"tag": "KEY",
"value": "zn"
},
{
"context": "nvmwyawith\nzjddycxtbubaliviw[cwmjgucnnrbsybtpxu]zhmadkawbwtdlnjwb[qovxqaebehomoacpxyw]qctfbtyvbabebup[b",
"end": 41148,
"score": 0.5042297244,
"start": 41145,
"tag": "KEY",
"value": "mad"
},
{
"context": "with\nzjddycxtbubaliviw[cwmjgucnnrbsybtpxu]zhmadkawbwtdlnjwb[qovxqaebehomoacpxyw]qctfbtyvbabebup[bwqjuu",
"end": 41153,
"score": 0.5040929317,
"start": 41151,
"tag": "KEY",
"value": "bw"
},
{
"context": "viw[cwmjgucnnrbsybtpxu]zhmadkawbwtdlnjwb[qovxqaebehomoacpxyw]qctfbtyvbabebup[bwqjuutjmbgfdznqfa]jzite",
"end": 41171,
"score": 0.5045450926,
"start": 41170,
"tag": "KEY",
"value": "h"
},
{
"context": "pxyw]qctfbtyvbabebup[bwqjuutjmbgfdznqfa]jzitebxzsshsmoge\nhogrxyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslld",
"end": 41228,
"score": 0.5042897463,
"start": 41226,
"tag": "KEY",
"value": "hs"
},
{
"context": "]qctfbtyvbabebup[bwqjuutjmbgfdznqfa]jzitebxzsshsmoge\nhogrxyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiok",
"end": 41232,
"score": 0.5078723431,
"start": 41230,
"tag": "KEY",
"value": "ge"
},
{
"context": "btyvbabebup[bwqjuutjmbgfdznqfa]jzitebxzsshsmoge\nhogrxyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiokooob\nj",
"end": 41239,
"score": 0.5085523725,
"start": 41235,
"tag": "KEY",
"value": "grxy"
},
{
"context": "utjmbgfdznqfa]jzitebxzsshsmoge\nhogrxyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiokooob\njdduztuhjzvbooej",
"end": 41254,
"score": 0.5198446512,
"start": 41252,
"tag": "KEY",
"value": "we"
},
{
"context": "hogrxyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiokooob\njdduztuhjzvbooejd[mcudzrhxonujxksbibe]ybhfelray",
"end": 41285,
"score": 0.5045509338,
"start": 41283,
"tag": "KEY",
"value": "oo"
},
{
"context": "xyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiokooob\njdduztuhjzvbooejd[mcudzrhxonujxksbibe]ybhfelrayyxu",
"end": 41287,
"score": 0.511446774,
"start": 41287,
"tag": "KEY",
"value": ""
},
{
"context": "rrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiokooob\njdduztuhjzvbooejd[mcudzrhxonujxksbibe]ybhfelrayyxuuhuwmyx[lgshxd",
"end": 41302,
"score": 0.5278429389,
"start": 41289,
"tag": "KEY",
"value": "dduztuhjzvboo"
},
{
"context": "njncgvxhpud]orhfjkslldcjiokooob\njdduztuhjzvbooejd[mcudzrhxonujxksbibe]ybhfelrayyxuuhuwmyx[lgshxdlzxbzcwhuru]zdkvnjkyhau",
"end": 41325,
"score": 0.5289196968,
"start": 41306,
"tag": "KEY",
"value": "mcudzrhxonujxksbibe"
},
{
"context": "ldcjiokooob\njdduztuhjzvbooejd[mcudzrhxonujxksbibe]ybhfelrayyxuuhuwmyx[lgshxdlzxbzcwhuru]zdkvnjkyhausdby\nxsuzxmrqkqtxmch",
"end": 41345,
"score": 0.5441995859,
"start": 41326,
"tag": "KEY",
"value": "ybhfelrayyxuuhuwmyx"
},
{
"context": "jzvbooejd[mcudzrhxonujxksbibe]ybhfelrayyxuuhuwmyx[lgshxdlzxbzcwhuru]zdkvnjkyhausdby\nxsuzxmrqkqtxmchz[dmgddhaltnlpfzkf]dexcfjfqdnajuzccluj\nezpxycrcxzxy",
"end": 41396,
"score": 0.5547412038,
"start": 41346,
"tag": "KEY",
"value": "lgshxdlzxbzcwhuru]zdkvnjkyhausdby\nxsuzxmrqkqtxmchz"
},
{
"context": "gshxdlzxbzcwhuru]zdkvnjkyhausdby\nxsuzxmrqkqtxmchz[dmgddhaltnlpfzkf]dexcfjfqdnajuzccluj\nezpxycrcxzxycllpyc[stdgybwrxfzewkqqvzx]sxivpekfrrr",
"end": 41433,
"score": 0.5530048609,
"start": 41397,
"tag": "KEY",
"value": "dmgddhaltnlpfzkf]dexcfjfqdnajuzccluj"
},
{
"context": "rqkqtxmchz[dmgddhaltnlpfzkf]dexcfjfqdnajuzccluj\nezpxycrcxzxycllpyc[stdgybwrxfzewkqqvzx]sxivpekfrrrqlfhg[nolxlfvwwqvk",
"end": 41452,
"score": 0.5750602484,
"start": 41436,
"tag": "KEY",
"value": "pxycrcxzxycllpyc"
},
{
"context": "altnlpfzkf]dexcfjfqdnajuzccluj\nezpxycrcxzxycllpyc[stdgybwrxfzewkqqvzx]sxivpekfrrrqlfhg[nolxlfvwwqvkhou]psuyhkfiyohkogwf",
"end": 41472,
"score": 0.5463206768,
"start": 41453,
"tag": "KEY",
"value": "stdgybwrxfzewkqqvzx"
},
{
"context": "juzccluj\nezpxycrcxzxycllpyc[stdgybwrxfzewkqqvzx]sxivpekfrrrqlfhg[nolxlfvwwqvkhou]psuyhkfiyohkogwfmt[zxwiqmslanvyrq",
"end": 41489,
"score": 0.5471837521,
"start": 41475,
"tag": "KEY",
"value": "ivpekfrrrqlfhg"
},
{
"context": "rcxzxycllpyc[stdgybwrxfzewkqqvzx]sxivpekfrrrqlfhg[nolxlfvwwqvkhou]psuyhkfiyohkogwfmt[zxwiqmslanvyrquhqa]fereljocexs",
"end": 41505,
"score": 0.5485128164,
"start": 41490,
"tag": "KEY",
"value": "nolxlfvwwqvkhou"
},
{
"context": "gybwrxfzewkqqvzx]sxivpekfrrrqlfhg[nolxlfvwwqvkhou]psuyhkfiyohkogwfmt[zxwiqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgit",
"end": 41524,
"score": 0.5441500545,
"start": 41506,
"tag": "KEY",
"value": "psuyhkfiyohkogwfmt"
},
{
"context": "pekfrrrqlfhg[nolxlfvwwqvkhou]psuyhkfiyohkogwfmt[zxwiqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrby",
"end": 41543,
"score": 0.5374085307,
"start": 41527,
"tag": "KEY",
"value": "wiqmslanvyrquhqa"
},
{
"context": "lfvwwqvkhou]psuyhkfiyohkogwfmt[zxwiqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzq",
"end": 41559,
"score": 0.5289134383,
"start": 41544,
"tag": "KEY",
"value": "fereljocexswrvs"
},
{
"context": "fiyohkogwfmt[zxwiqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaix",
"end": 41563,
"score": 0.5586012602,
"start": 41562,
"tag": "KEY",
"value": "o"
},
{
"context": "kogwfmt[zxwiqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpv",
"end": 41571,
"score": 0.5122656822,
"start": 41567,
"tag": "KEY",
"value": "cbpr"
},
{
"context": "[zxwiqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxav",
"end": 41576,
"score": 0.5121603608,
"start": 41574,
"tag": "KEY",
"value": "mq"
},
{
"context": "iqmslanvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxaviev",
"end": 41579,
"score": 0.5200241208,
"start": 41578,
"tag": "KEY",
"value": "h"
},
{
"context": "anvyrquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxke",
"end": 41585,
"score": 0.503988564,
"start": 41583,
"tag": "KEY",
"value": "bx"
},
{
"context": "rquhqa]fereljocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zk",
"end": 41590,
"score": 0.516217947,
"start": 41587,
"tag": "KEY",
"value": "wrc"
},
{
"context": "ocexswrvs\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nm",
"end": 41605,
"score": 0.5080178976,
"start": 41600,
"tag": "KEY",
"value": "ugbam"
},
{
"context": "\naeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajt",
"end": 41611,
"score": 0.512124002,
"start": 41609,
"tag": "KEY",
"value": "qa"
},
{
"context": "avcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajtfbplms",
"end": 41617,
"score": 0.504355967,
"start": 41615,
"tag": "KEY",
"value": "pa"
},
{
"context": "yneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwig",
"end": 41644,
"score": 0.5043394566,
"start": 41642,
"tag": "KEY",
"value": "wf"
},
{
"context": "]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwigecrik",
"end": 41649,
"score": 0.5124429464,
"start": 41648,
"tag": "KEY",
"value": "m"
},
{
"context": "amrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwigecrikkyoij",
"end": 41653,
"score": 0.5116669536,
"start": 41653,
"tag": "KEY",
"value": ""
},
{
"context": "jgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwigecrikkyoijkeow",
"end": 41658,
"score": 0.5355883837,
"start": 41656,
"tag": "KEY",
"value": "ch"
},
{
"context": "xjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy\nmvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwigecrikkyoijkeow\nfnwf",
"end": 41663,
"score": 0.5046473145,
"start": 41662,
"tag": "KEY",
"value": "b"
},
{
"context": "fkwtrmtaoy\nmvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwigecrikkyoijkeow\nfnwfspmlakldfdhc[ujbeoudcbtqjmjy]tgi",
"end": 41695,
"score": 0.5123776793,
"start": 41693,
"tag": "KEY",
"value": "ge"
},
{
"context": "]dxwuwvsdiehvzqmafo[ihbhwnmxkbkypmum]enkexramnrjguwuxq\nftdnelzrwzvxobrhjtb[kwnjqdhwztogpvvt]frxznutubezaczhwucd\nwtvnfoqoqvuioaotdqv[qwzmcsqjvpkrudkdu]vdcgzytjsihjytaunui[vxnbnlwvtribvbzv]lclrytcczbraubnr[fptsjqwofyngtnurf]izhrnmwjxwvsdcfai\nnqmhpgsurlnnjikyotm[nxxdysiylpgivpuc]uofofpqgcbojfofja[gmborbfjvlfokmkjlx]yptrgkpiarzgsgl\npolwihnjvtlojae[iyjbafwjoxqcjbwn]ecidvqragdcuotbw[ununcsfdoxstecbass]knnitckftuczdpblih[wylrqjxehihxfvzjn]lpjuibfkwrcmcijkho\ngsvfujdbedschya[owwscbzhfkkymsfy]bbxedxnzigfiogb[sebiwzxbshqohku]wqmnnhmldplmhwnngu\ncvgevjryjbmodqfw[jskismdjblbsjgmhilp]xhjlblnepxqayxpw[pmifrcxnxmadetumwm]lvjmmbceghwqdmk\njgssirdflqhglgopgx[epcwzeqqkidejdrw]mjnozbbmubmqooiqr[wacqyepsgljjipi]vowguayfwcghbghhoyp\ntfkqxobejvvmglhqrgw[ddleaoforgpypavf]flnaiggwuxdbldb[rqqrjlzosctaouurtsr]bduvfxlomgfdwhxj\niwhaxbggngkgdfi[xklwprhyorwyfcyo]lbrfcbprxedylzpfjk\nixorpegqzuxidsasn[pwuwcywpavudpbkmdrk]stfjklbehmjd",
"end": 42856,
"score": 0.7121031284,
"start": 42047,
"tag": "KEY",
"value": "wuxq\nftdnelzrwzvxobrhjtb[kwnjqdhwztogpvvt]frxznutubezaczhwucd\nwtvnfoqoqvuioaotdqv[qwzmcsqjvpkrudkdu]vdcgzytjsihjytaunui[vxnbnlwvtribvbzv]lclrytcczbraubnr[fptsjqwofyngtnurf]izhrnmwjxwvsdcfai\nnqmhpgsurlnnjikyotm[nxxdysiylpgivpuc]uofofpqgcbojfofja[gmborbfjvlfokmkjlx]yptrgkpiarzgsgl\npolwihnjvtlojae[iyjbafwjoxqcjbwn]ecidvqragdcuotbw[ununcsfdoxstecbass]knnitckftuczdpblih[wylrqjxehihxfvzjn]lpjuibfkwrcmcijkho\ngsvfujdbedschya[owwscbzhfkkymsfy]bbxedxnzigfiogb[sebiwzxbshqohku]wqmnnhmldplmhwnngu\ncvgevjryjbmodqfw[jskismdjblbsjgmhilp]xhjlblnepxqayxpw[pmifrcxnxmadetumwm]lvjmmbceghwqdmk\njgssirdflqhglgopgx[epcwzeqqkidejdrw]mjnozbbmubmqooiqr[wacqyepsgljjipi]vowguayfwcghbghhoyp\ntfkqxobejvvmglhqrgw[ddleaoforgpypavf]flnaiggwuxdbldb[rqqrjlzosctaouurtsr]bduvfxlomgfdwhxj\niwhaxbggngkgdfi[xklwprhyorwyfcyo]lbrfcbprxedylzpfjk"
},
{
"context": "xbggngkgdfi[xklwprhyorwyfcyo]lbrfcbprxedylzpfjk\nixorpegqzuxidsasn[pwuwcywpavudpbkmdrk]stfjklbehmjdobcr[ziugachuezez",
"end": 42874,
"score": 0.5505221486,
"start": 42859,
"tag": "KEY",
"value": "orpegqzuxidsasn"
},
{
"context": "cbprxedylzpfjk\nixorpegqzuxidsasn[pwuwcywpavudpbkmdrk]stfjklbehmjdobcr[ziugachuezezjsw]dzwuijfiexsbbxjc",
"end": 42894,
"score": 0.5055445433,
"start": 42892,
"tag": "KEY",
"value": "rk"
},
{
"context": "zpfjk\nixorpegqzuxidsasn[pwuwcywpavudpbkmdrk]stfjklbehmjdobcr[ziugachuezezjsw]dzwuijfiexsbbxjcga\nlcstmefg",
"end": 42905,
"score": 0.5134825706,
"start": 42901,
"tag": "KEY",
"value": "behm"
},
{
"context": "wpavudpbkmdrk]stfjklbehmjdobcr[ziugachuezezjsw]dzwuijfiexsbbxjcga\nlcstmefgsfxelap[iaroxcldkoxjprhpni]e",
"end": 42933,
"score": 0.5130733848,
"start": 42931,
"tag": "KEY",
"value": "ui"
},
{
"context": "]stfjklbehmjdobcr[ziugachuezezjsw]dzwuijfiexsbbxjcga\nlcstmefgsfxelap[iaroxcldkoxjprhpni]erzoueqtwtyftu",
"end": 42946,
"score": 0.5518416762,
"start": 42944,
"tag": "KEY",
"value": "ga"
},
{
"context": "klbehmjdobcr[ziugachuezezjsw]dzwuijfiexsbbxjcga\nlcstmefgsfxelap[iaroxcldkoxjprhpni]erzoueqtwtyftuvz\ngsnvneyjuacyh",
"end": 42962,
"score": 0.5348969102,
"start": 42949,
"tag": "KEY",
"value": "stmefgsfxelap"
},
{
"context": "achuezezjsw]dzwuijfiexsbbxjcga\nlcstmefgsfxelap[iaroxcldkoxjprhpni]erzoueqtwtyftuvz\ngsnvneyjuacyhipd[aglvnvpawajzbbgk]ptnrpilavksgzjyyo\nfrxawoaynynrnx",
"end": 43015,
"score": 0.5520650148,
"start": 42966,
"tag": "KEY",
"value": "oxcldkoxjprhpni]erzoueqtwtyftuvz\ngsnvneyjuacyhipd"
},
{
"context": "oxcldkoxjprhpni]erzoueqtwtyftuvz\ngsnvneyjuacyhipd[aglvnvpawajzbbgk]ptnrpilavksgzjyyo\nfrxawoaynynrnxzk[agbtdjypjtpqskh]ljshzsnnynqotgog[ckariglbjzvbcedrap]sqdkygpetxuwfnk\nnuxleplcklptuce[fxsyqwfblquzwqjw]ndnvzriqecbqphdoc[pmvfypuinsxgglg]vcgzvoddzudwrapmyh[laengialdtihgzitt]ktbypjipfpnczyqw\nsnghsdifwlabsbpzw[xgnrqjnhwdqkbhowzaz]cygljjwohwpzvxuaw\nhhxorrjxjnhcavt[lkeigkktbiaquqqh]ernbnsmtunqyccft[jiespyeonlsjliwt]vbhzvdhvvgsdgijg[lkxvfabwpujiaeaidj]dkilxjpizbzeqxkzt\nukgapmfifvftpexnr[jydugqlbqyhvbsmoxd]kwvttiyqdmyaxidts[lqfofueuycoihkxig]vqbdiqazwnqetguq[fxhgbqqsilfcaflj]oissblxkisbkmolspwp\nhanudfleaqpnnykwfu[kllfsqanmahiwkqz]mkyztkpwilxirukacz[vnwdxbzbjrcvmmbx]lsjlgrnzdilnkxp[hhepketmdumjgjjsu]zrgaagprkrmgggpk\nqcaodhkekjwrjeu[bvbkikapkhneodeaqox]xxshbrfdxgvyabbuj[nnyshhdaogs",
"end": 43699,
"score": 0.6621890068,
"start": 43016,
"tag": "KEY",
"value": "aglvnvpawajzbbgk]ptnrpilavksgzjyyo\nfrxawoaynynrnxzk[agbtdjypjtpqskh]ljshzsnnynqotgog[ckariglbjzvbcedrap]sqdkygpetxuwfnk\nnuxleplcklptuce[fxsyqwfblquzwqjw]ndnvzriqecbqphdoc[pmvfypuinsxgglg]vcgzvoddzudwrapmyh[laengialdtihgzitt]ktbypjipfpnczyqw\nsnghsdifwlabsbpzw[xgnrqjnhwdqkbhowzaz]cygljjwohwpzvxuaw\nhhxorrjxjnhcavt[lkeigkktbiaquqqh]ernbnsmtunqyccft[jiespyeonlsjliwt]vbhzvdhvvgsdgijg[lkxvfabwpujiaeaidj]dkilxjpizbzeqxkzt\nukgapmfifvftpexnr[jydugqlbqyhvbsmoxd]kwvttiyqdmyaxidts[lqfofueuycoihkxig]vqbdiqazwnqetguq[fxhgbqqsilfcaflj]oissblxkisbkmolspwp\nhanudfleaqpnnykwfu[kllfsqanmahiwkqz]mkyztkpwilxirukacz[vnwdxbzbjrcvmmbx]lsjlgrnzdilnkxp[hhepketmdumjgjjsu]zrgaagprkrmgggpk\nqcaodhkekjwrjeu"
},
{
"context": "hepketmdumjgjjsu]zrgaagprkrmgggpk\nqcaodhkekjwrjeu[bvbkikapkhneodeaqox]xxshbrfdxgvyabbuj[nnyshhdaogsermyisk]ieutdajliten",
"end": 43719,
"score": 0.5836789012,
"start": 43700,
"tag": "KEY",
"value": "bvbkikapkhneodeaqox"
},
{
"context": "aagprkrmgggpk\nqcaodhkekjwrjeu[bvbkikapkhneodeaqox]xxshbrfdxgvyabbuj[nnyshhdaogsermyisk]ieutdajlitenkmoh\nryfcblckaejca",
"end": 43737,
"score": 0.5815777779,
"start": 43720,
"tag": "KEY",
"value": "xxshbrfdxgvyabbuj"
},
{
"context": "ekjwrjeu[bvbkikapkhneodeaqox]xxshbrfdxgvyabbuj[nnyshhdaogsermyisk]ieutdajlitenkmoh\nryfcblckaejcahgy[kymhoizkyffsxyb",
"end": 43756,
"score": 0.5372594595,
"start": 43741,
"tag": "KEY",
"value": "shhdaogsermyisk"
},
{
"context": "pkhneodeaqox]xxshbrfdxgvyabbuj[nnyshhdaogsermyisk]ieutdajlitenkmoh\nryfcblckaejcahgy[kymhoizkyffsxybzdta]olmhiudvbcfb",
"end": 43773,
"score": 0.5396704078,
"start": 43757,
"tag": "KEY",
"value": "ieutdajlitenkmoh"
},
{
"context": "xgvyabbuj[nnyshhdaogsermyisk]ieutdajlitenkmoh\nryfcblckaejcahgy[kymhoizkyffsxybzdta]olmhiudvbcfbkjb\njry",
"end": 43780,
"score": 0.5043124557,
"start": 43778,
"tag": "KEY",
"value": "bl"
},
{
"context": "qpazdakfwczn[tyjorxvairghzrqi]aunhzwxnkjqryibre\nmlcynvuzmmcgoqkft[fkeqzbjanvjoieooecy]muvosxtjytdkhuh",
"end": 43954,
"score": 0.5202012062,
"start": 43953,
"tag": "KEY",
"value": "c"
},
{
"context": "czn[tyjorxvairghzrqi]aunhzwxnkjqryibre\nmlcynvuzmmcgoqkft[fkeqzbjanvjoieooecy]muvosxtjytdkhuh[gsdxscdeh",
"end": 43964,
"score": 0.5045896769,
"start": 43962,
"tag": "KEY",
"value": "go"
},
{
"context": "mlcynvuzmmcgoqkft[fkeqzbjanvjoieooecy]muvosxtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxu",
"end": 44004,
"score": 0.5198484659,
"start": 44001,
"tag": "KEY",
"value": "huh"
},
{
"context": "oqkft[fkeqzbjanvjoieooecy]muvosxtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiy",
"end": 44022,
"score": 0.5272369385,
"start": 44013,
"tag": "KEY",
"value": "hocmajsnh"
},
{
"context": "anvjoieooecy]muvosxtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntun",
"end": 44027,
"score": 0.5200598836,
"start": 44026,
"tag": "KEY",
"value": "q"
},
{
"context": "joieooecy]muvosxtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgo",
"end": 44036,
"score": 0.5199997425,
"start": 44029,
"tag": "KEY",
"value": "wpizpjw"
},
{
"context": "muvosxtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgofeh[",
"end": 44040,
"score": 0.5116199255,
"start": 44039,
"tag": "KEY",
"value": "b"
},
{
"context": "xtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgofeh[ivxhcnvflsb",
"end": 44051,
"score": 0.5239266157,
"start": 44044,
"tag": "KEY",
"value": "yyoozoc"
},
{
"context": "cdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgofeh[ivxhcnvflsbnmktk]akwwtuwpdpbnes",
"end": 44071,
"score": 0.5243143439,
"start": 44060,
"tag": "KEY",
"value": "fvxcgoavxoi"
},
{
"context": "]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgofeh[ivxhcnvflsbnmktk]akwwtuwpdpbnesmrk",
"end": 44073,
"score": 0.5269041657,
"start": 44073,
"tag": "KEY",
"value": ""
},
{
"context": "itwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgofeh[ivxhcnvflsbnmktk]akwwtuwpdpbnesmrklw\nhicudrdjoglr",
"end": 44089,
"score": 0.5444735885,
"start": 44077,
"tag": "KEY",
"value": "aljqogcgofeh"
},
{
"context": "pnyyoozocsxurfl]obfvxcgoavxoiyy\ntunaljqogcgofeh[ivxhcnvflsbnmktk]akwwtuwpdpbnesmrklw\nhicudrdjoglrnongron[mxaxjxojm",
"end": 44106,
"score": 0.5381222963,
"start": 44092,
"tag": "KEY",
"value": "xhcnvflsbnmktk"
},
{
"context": "bfvxcgoavxoiyy\ntunaljqogcgofeh[ivxhcnvflsbnmktk]akwwtuwpdpbnesmrklw\nhicudrdjoglrnongron[mxaxjxojmjgutxg]tbetamqqcheyjbpa[itozzzbcpnyerpth",
"end": 44146,
"score": 0.5517295599,
"start": 44109,
"tag": "KEY",
"value": "wwtuwpdpbnesmrklw\nhicudrdjoglrnongron"
},
{
"context": "sbnmktk]akwwtuwpdpbnesmrklw\nhicudrdjoglrnongron[mxaxjxojmjgutxg]tbetamqqcheyjbpa[itozzzbcpnyerpth]brqcvektqfaxazd",
"end": 44162,
"score": 0.5353350639,
"start": 44149,
"tag": "KEY",
"value": "axjxojmjgutxg"
},
{
"context": "wpdpbnesmrklw\nhicudrdjoglrnongron[mxaxjxojmjgutxg]tbetamqqcheyjbpa[itozzzbcpnyerpth]brqcvektqfaxazdfivl\npdyuonakwvug",
"end": 44179,
"score": 0.5322808027,
"start": 44163,
"tag": "KEY",
"value": "tbetamqqcheyjbpa"
},
{
"context": "djoglrnongron[mxaxjxojmjgutxg]tbetamqqcheyjbpa[itozzzbcpnyerpth]brqcvektqfaxazdfivl\npdyuonakwvugssuduom[sw",
"end": 44189,
"score": 0.5199460387,
"start": 44183,
"tag": "KEY",
"value": "zzzbcp"
},
{
"context": "mxaxjxojmjgutxg]tbetamqqcheyjbpa[itozzzbcpnyerpth]brqcvektqfaxazdfivl\npdyuonakwvugssuduom[swhnhhzcbkrrpovuomy]ecfconssgftuhtwswfd[mjdgnwmnc",
"end": 44236,
"score": 0.54643929,
"start": 44197,
"tag": "KEY",
"value": "brqcvektqfaxazdfivl\npdyuonakwvugssuduom"
},
{
"context": "cpnyerpth]brqcvektqfaxazdfivl\npdyuonakwvugssuduom[swhnhhzcbkrrpovuomy]ecfconssgftuhtwswfd[mjdgnwmncbjoxlinm]oklhmwptexy",
"end": 44256,
"score": 0.556692481,
"start": 44237,
"tag": "KEY",
"value": "swhnhhzcbkrrpovuomy"
},
{
"context": "axazdfivl\npdyuonakwvugssuduom[swhnhhzcbkrrpovuomy]ecfconssgftuhtwswfd[mjdgnwmncbjoxlinm]oklhmwptexymbgyfdaa\nhcxljuahgmi",
"end": 44276,
"score": 0.5504357219,
"start": 44257,
"tag": "KEY",
"value": "ecfconssgftuhtwswfd"
},
{
"context": "ugssuduom[swhnhhzcbkrrpovuomy]ecfconssgftuhtwswfd[mjdgnwmncbjoxlinm]oklhmwptexymbgyfdaa\nhcxljuahgmiolty[kulhszpqyvsur",
"end": 44294,
"score": 0.550501883,
"start": 44277,
"tag": "KEY",
"value": "mjdgnwmncbjoxlinm"
},
{
"context": "bkrrpovuomy]ecfconssgftuhtwswfd[mjdgnwmncbjoxlinm]oklhmwptexymbgyfdaa\nhcxljuahgmiolty[kulhszpqyvsurma]xwknankkjfsieauadw",
"end": 44314,
"score": 0.5491089225,
"start": 44295,
"tag": "KEY",
"value": "oklhmwptexymbgyfdaa"
},
{
"context": "tuhtwswfd[mjdgnwmncbjoxlinm]oklhmwptexymbgyfdaa\nhcxljuahgmiolty[kulhszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkod",
"end": 44328,
"score": 0.5727232099,
"start": 44317,
"tag": "KEY",
"value": "xljuahgmiol"
},
{
"context": "nwmncbjoxlinm]oklhmwptexymbgyfdaa\nhcxljuahgmiolty[kulhszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkodeaagy]iupvtabiqsyk",
"end": 44346,
"score": 0.5489000678,
"start": 44331,
"tag": "KEY",
"value": "kulhszpqyvsurma"
},
{
"context": "lhmwptexymbgyfdaa\nhcxljuahgmiolty[kulhszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomii",
"end": 44365,
"score": 0.5487520695,
"start": 44347,
"tag": "KEY",
"value": "xwknankkjfsieauadw"
},
{
"context": "ljuahgmiolty[kulhszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idf",
"end": 44375,
"score": 0.5350602269,
"start": 44368,
"tag": "KEY",
"value": "ajqqpwd"
},
{
"context": "y[kulhszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdh",
"end": 44380,
"score": 0.5431770682,
"start": 44379,
"tag": "KEY",
"value": "a"
},
{
"context": "hszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgi",
"end": 44403,
"score": 0.5466867089,
"start": 44384,
"tag": "KEY",
"value": "iupvtabiqsykmohiisl"
},
{
"context": "jfsieauadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgit[xinv",
"end": 44410,
"score": 0.5330699086,
"start": 44405,
"tag": "KEY",
"value": "ruhvi"
},
{
"context": "uadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgit[xinvdhbq",
"end": 44414,
"score": 0.5348645449,
"start": 44411,
"tag": "KEY",
"value": "omi"
},
{
"context": "anajqqpwdkodeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgit[xinvdhbqhbvq",
"end": 44418,
"score": 0.5276340246,
"start": 44416,
"tag": "KEY",
"value": "co"
},
{
"context": "odeaagy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgit[xinvdhbqhbvqrjx]zdamlv",
"end": 44428,
"score": 0.5122078657,
"start": 44426,
"tag": "KEY",
"value": "bg"
},
{
"context": "agy]iupvtabiqsykmohiisl\nqruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgit[xinvdhbqhbvqrjx]zdamlvlunj",
"end": 44432,
"score": 0.5123258233,
"start": 44430,
"tag": "KEY",
"value": "am"
},
{
"context": "ffbgdhamsshlinl]ygsinapdnmzvgit[xinvdhbqhbvqrjx]zdamlvlunjkkhof\nzyeynxvzdmmiybab[vhgjepcwqjbolwnft]aopz",
"end": 44477,
"score": 0.5119732618,
"start": 44474,
"tag": "KEY",
"value": "aml"
},
{
"context": "dnmzvgit[xinvdhbqhbvqrjx]zdamlvlunjkkhof\nzyeynxvzdmmiybab[vhgjepcwqjbolwnft]aopzcryhnpswgmds[yynbcrcge",
"end": 44499,
"score": 0.5049068332,
"start": 44497,
"tag": "KEY",
"value": "mm"
},
{
"context": "egnrpsk]munxtddzxyvzwwcosq[igdwjifdopnhwzv]oyebiutkmraayzr\nonkgxvprjaynfipxeum[jjwmjcepwxbleahq]ofvhiw",
"end": 44600,
"score": 0.5046111345,
"start": 44598,
"tag": "KEY",
"value": "km"
},
{
"context": "y[ropmbbvjvupftps]swngrcigiqzdkie[hjhbsazzxdxrseczxyi]pjymgjgdksaalxbav\nftvggoxgdteaxbrq[tifvvmwnraoipr",
"end": 45695,
"score": 0.5204951763,
"start": 45692,
"tag": "KEY",
"value": "xyi"
},
{
"context": "pmbbvjvupftps]swngrcigiqzdkie[hjhbsazzxdxrseczxyi]pjymgjgdksaalxbav\nftvggoxgdteaxbrq[tifvvmwnraoiprgs]xopjvpddfjnbmcux",
"end": 45713,
"score": 0.5297609568,
"start": 45696,
"tag": "KEY",
"value": "pjymgjgdksaalxbav"
},
{
"context": "igiqzdkie[hjhbsazzxdxrseczxyi]pjymgjgdksaalxbav\nftvggoxgdteaxbrq[tifvvmwnraoiprgs]xopjvpddfjnbmcuxpu\nbuzursiffpqcw",
"end": 45730,
"score": 0.5215501785,
"start": 45716,
"tag": "KEY",
"value": "vggoxgdteaxbrq"
},
{
"context": "xdxrseczxyi]pjymgjgdksaalxbav\nftvggoxgdteaxbrq[tifvvmwnraoiprgs]xopjvpddfjnbmcuxpu\nbuzursiffpqcwnlsl[plvkitdlxiyi",
"end": 45747,
"score": 0.5166720152,
"start": 45734,
"tag": "KEY",
"value": "vvmwnraoiprgs"
},
{
"context": "mgjgdksaalxbav\nftvggoxgdteaxbrq[tifvvmwnraoiprgs]xopjvpddfjnbmcuxpu\nbuzursiffpqcwnlsl[plvkitdlxiyiotdk]anlvhgektgbpsls",
"end": 45766,
"score": 0.5289086699,
"start": 45749,
"tag": "KEY",
"value": "opjvpddfjnbmcuxpu"
},
{
"context": "oxgdteaxbrq[tifvvmwnraoiprgs]xopjvpddfjnbmcuxpu\nbuzursiffpqcwnlsl[plvkitdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdny",
"end": 45782,
"score": 0.5282044411,
"start": 45769,
"tag": "KEY",
"value": "zursiffpqcwnl"
},
{
"context": "wnraoiprgs]xopjvpddfjnbmcuxpu\nbuzursiffpqcwnlsl[plvkitdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdnywwguf]bydbjfxclhxyf",
"end": 45801,
"score": 0.5224803686,
"start": 45787,
"tag": "KEY",
"value": "vkitdlxiyiotdk"
},
{
"context": "ddfjnbmcuxpu\nbuzursiffpqcwnlsl[plvkitdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdnywwguf]bydbjfxclhxyfgruke\nindbphvhghzxs",
"end": 45820,
"score": 0.5322893262,
"start": 45804,
"tag": "KEY",
"value": "lvhgektgbpslsiai"
},
{
"context": "iffpqcwnlsl[plvkitdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdnywwguf]bydbjfxclhxyfgruke\nindbphvhghzxsuy[izgrijg",
"end": 45830,
"score": 0.5299676061,
"start": 45823,
"tag": "KEY",
"value": "gwwvjcd"
},
{
"context": "sl[plvkitdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdnywwguf]bydbjfxclhxyfgruke\nindbphvhghzxsuy[izgrijghgwhcoo",
"end": 45837,
"score": 0.5356788635,
"start": 45832,
"tag": "KEY",
"value": "wwguf"
},
{
"context": "tdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdnywwguf]bydbjfxclhxyfgruke\nindbphvhghzxsuy[izgrijghgwhcooc]gkaqbcpwwiyfwmv[xxlzhbqmxquoawq]g",
"end": 45872,
"score": 0.5446832776,
"start": 45840,
"tag": "KEY",
"value": "dbjfxclhxyfgruke\nindbphvhghzxsuy"
},
{
"context": "wvjcdnywwguf]bydbjfxclhxyfgruke\nindbphvhghzxsuy[izgrijghgwhcooc]gkaqbcpwwiyfwmv[xxlzhbqmxquoawq]gbazvlthqbviupchz\nqofufmkbljfygwxym[egvtczslvioufuzsyk]uscakosnjpjbcrggach[gnyghyvmgir",
"end": 45957,
"score": 0.585534513,
"start": 45875,
"tag": "KEY",
"value": "grijghgwhcooc]gkaqbcpwwiyfwmv[xxlzhbqmxquoawq]gbazvlthqbviupchz\nqofufmkbljfygwxym["
},
{
"context": "hbqmxquoawq]gbazvlthqbviupchz\nqofufmkbljfygwxym[egvtczslvioufuzsyk]uscakosnjpjbcrggach[gnyghyvmgirmwolh]rotkdpwevcsipnxjokp\njwaktcuuojll",
"end": 45995,
"score": 0.5744430423,
"start": 45959,
"tag": "KEY",
"value": "vtczslvioufuzsyk]uscakosnjpjbcrggach"
},
{
"context": "bljfygwxym[egvtczslvioufuzsyk]uscakosnjpjbcrggach[gnyghyvmgirmwolh]rotkdpwevcsipnxjokp\njwaktcuuojllglwmr[dfntqdtznawzmzgwbj]gjykvnqmtzelkaus[eghpxrcnnhijh",
"end": 46050,
"score": 0.5785275698,
"start": 45996,
"tag": "KEY",
"value": "gnyghyvmgirmwolh]rotkdpwevcsipnxjokp\njwaktcuuojllglwmr"
},
{
"context": "yvmgirmwolh]rotkdpwevcsipnxjokp\njwaktcuuojllglwmr[dfntqdtznawzmzgwbj]gjykvnqmtzelkaus[eghpxrcnnhijhev]osfvouazhsijprtbtnm\nrqrtzzgqsnzzf",
"end": 46086,
"score": 0.5580779314,
"start": 46051,
"tag": "KEY",
"value": "dfntqdtznawzmzgwbj]gjykvnqmtzelkaus"
},
{
"context": "tcuuojllglwmr[dfntqdtznawzmzgwbj]gjykvnqmtzelkaus[eghpxrcnnhijhev]osfvouazhsijprtbtnm\nrqrtzzgqsnzzfntl[mrleyuyknyxyjhoibf]mwxfdxpeiyuhjcbdyi\nxgqwglrrdtu",
"end": 46139,
"score": 0.561322093,
"start": 46087,
"tag": "KEY",
"value": "eghpxrcnnhijhev]osfvouazhsijprtbtnm\nrqrtzzgqsnzzfntl"
},
{
"context": "rcnnhijhev]osfvouazhsijprtbtnm\nrqrtzzgqsnzzfntl[mrleyuyknyxyjhoibf]mwxfdxpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ay",
"end": 46148,
"score": 0.5172456503,
"start": 46142,
"tag": "KEY",
"value": "leyuyk"
},
{
"context": "ev]osfvouazhsijprtbtnm\nrqrtzzgqsnzzfntl[mrleyuyknyxyjhoibf]mwxfdxpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgd",
"end": 46158,
"score": 0.5138832331,
"start": 46150,
"tag": "KEY",
"value": "xyjhoibf"
},
{
"context": "hsijprtbtnm\nrqrtzzgqsnzzfntl[mrleyuyknyxyjhoibf]mwxfdxpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvk",
"end": 46177,
"score": 0.5207694769,
"start": 46161,
"tag": "KEY",
"value": "xfdxpeiyuhjcbdyi"
},
{
"context": "qsnzzfntl[mrleyuyknyxyjhoibf]mwxfdxpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncg",
"end": 46191,
"score": 0.5165131688,
"start": 46180,
"tag": "KEY",
"value": "qwglrrdtupb"
},
{
"context": "ibf]mwxfdxpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwek",
"end": 46207,
"score": 0.5047257543,
"start": 46205,
"tag": "KEY",
"value": "bg"
},
{
"context": "xfdxpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwj",
"end": 46213,
"score": 0.5117611885,
"start": 46211,
"tag": "KEY",
"value": "qg"
},
{
"context": "xpeiyuhjcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwjgig]fw",
"end": 46219,
"score": 0.5096411109,
"start": 46214,
"tag": "KEY",
"value": "hslqx"
},
{
"context": "jcbdyi\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyr",
"end": 46225,
"score": 0.5202965736,
"start": 46221,
"tag": "KEY",
"value": "ijoh"
},
{
"context": "\nxgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyrznigiw",
"end": 46231,
"score": 0.5122554302,
"start": 46227,
"tag": "KEY",
"value": "klkn"
},
{
"context": "dtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyrznigiwq\nbellebg",
"end": 46240,
"score": 0.5239531994,
"start": 46236,
"tag": "KEY",
"value": "qhnc"
},
{
"context": "ebgddghqg]hslqxsvijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyrznigiwq\nbellebgmjpcruwv[njhctge",
"end": 46256,
"score": 0.504447937,
"start": 46254,
"tag": "KEY",
"value": "we"
},
{
"context": "ijohmvklknkz\nsfqhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyrznigiwq\nbellebgmjpcruwv[njhctgeptjieourukf]sgybs",
"end": 46273,
"score": 0.5047610402,
"start": 46271,
"tag": "KEY",
"value": "ce"
},
{
"context": "qhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyrznigiwq\nbellebgmjpcruwv[njhctgeptjieourukf]sgybshminsxktqlfxr\nm",
"end": 46288,
"score": 0.5127514601,
"start": 46286,
"tag": "KEY",
"value": "le"
},
{
"context": "rfygccokretvo]ydomrtoamoecceekrr[lgslvkhwnmsovxvhqhs]cbyuvbrusqqpvkmlhm[wrvxwjyyzsvxvxwpdq]amynjoncmem",
"end": 46411,
"score": 0.5039922595,
"start": 46409,
"tag": "KEY",
"value": "hs"
},
{
"context": "retvo]ydomrtoamoecceekrr[lgslvkhwnmsovxvhqhs]cbyuvbrusqqpvkmlhm[wrvxwjyyzsvxvxwpdq]amynjoncmemftlnqa\ni",
"end": 46419,
"score": 0.504373014,
"start": 46417,
"tag": "KEY",
"value": "br"
},
{
"context": "o]ydomrtoamoecceekrr[lgslvkhwnmsovxvhqhs]cbyuvbrusqqpvkmlhm[wrvxwjyyzsvxvxwpdq]amynjoncmemftlnqa\niniemtnmqwdm",
"end": 46430,
"score": 0.5122212172,
"start": 46421,
"tag": "KEY",
"value": "qqpvkmlhm"
},
{
"context": "hqhs]cbyuvbrusqqpvkmlhm[wrvxwjyyzsvxvxwpdq]amynjoncmemftlnqa\niniemtnmqwdmxvpicqn[drdrbflsylzhzltq]orj",
"end": 46458,
"score": 0.5044836998,
"start": 46457,
"tag": "KEY",
"value": "c"
},
{
"context": "brusqqpvkmlhm[wrvxwjyyzsvxvxwpdq]amynjoncmemftlnqa\niniemtnmqwdmxvpicqn[drdrbflsylzhzltq]orjcjdsbzijkf",
"end": 46467,
"score": 0.5043426752,
"start": 46467,
"tag": "KEY",
"value": ""
},
{
"context": "lhm[wrvxwjyyzsvxvxwpdq]amynjoncmemftlnqa\niniemtnmqwdmxvpicqn[drdrbflsylzhzltq]orjcjdsbzijkfwhdhz[mrfov",
"end": 46479,
"score": 0.5279574394,
"start": 46477,
"tag": "KEY",
"value": "wd"
},
{
"context": "ikxjuaszxpapss\nynnxsnsrjdaqbbaa[lyifxbzcyzenzpzzulj]xejnjfbuykeojbeatvf[uhpeylmwgllqxtj]hirppxrtcuybulsuek[tzbdcyvsbmqtrzbakxj]kzpsdszfyuvgbtlksus\nujrrrtdxpyhlpcyxs[molsrkbbxoexpbqhnhx]aesumqacmujuchpxv[jlwaktyumxuiyvt]mmwjujsvuvxsxxmsfr\nuehksybnnztmczl[suqgywouppzavyoi]zbndcbjuexdgscb[cliuxzpullifofbhgy]kupndcjvxqiavpk[hqgafivwddbbepkvjj]lrqalseezuhjjbkese\ndjidmbcuqbjpfolm[cbbrttiwmetodejw]ghgnojuvsogrchwfp[qpikwfkqkfphshxbmxm]gsinzrkbzacyutlxso\nnvvjtnsnglopvcmna[opnjujeqmpgipfm]rudoacagklnjajjye[fqrtapichjqkhhf]zpkowfxfuoecvzq[juwjiqcolafbxzsw]fogkbzmrovqvbxbxeb\nixciqkqggdxskbso[wkjptmoonusnkzyadmx]tvbhebhhaqhopjbjqht\ngepgaafxcogfkyecgs[jdqmpkhjkqefzkwxglq]zfpkqukaelflilmzwph[fndatrnmtrwgbwpj]bndevgsiouveums[fqxvkjthzmyryobt]ywgqodizmhsymako\ngjlyyrwgrugaulnj[zwsmlmyahggpvugef]ppqrrbxasqowhwz[ngwudjmonpelxhubwnj]ucfcaicagnbvlboiwky\nlfckmicaonarlbnu[qnigowwaziwjlmf]ihypnqqozcilwpm\nxmtcgkcyfjppjwaa[jlzhrxmfyfjfmadttpo]vucnncbadihuewzn\nsviknjiphswrawyskzz[vlsdhjduekvalqgwy]qlvefwhnwmx",
"end": 47493,
"score": 0.8234536052,
"start": 46596,
"tag": "KEY",
"value": "j]xejnjfbuykeojbeatvf[uhpeylmwgllqxtj]hirppxrtcuybulsuek[tzbdcyvsbmqtrzbakxj]kzpsdszfyuvgbtlksus\nujrrrtdxpyhlpcyxs[molsrkbbxoexpbqhnhx]aesumqacmujuchpxv[jlwaktyumxuiyvt]mmwjujsvuvxsxxmsfr\nuehksybnnztmczl[suqgywouppzavyoi]zbndcbjuexdgscb[cliuxzpullifofbhgy]kupndcjvxqiavpk[hqgafivwddbbepkvjj]lrqalseezuhjjbkese\ndjidmbcuqbjpfolm[cbbrttiwmetodejw]ghgnojuvsogrchwfp[qpikwfkqkfphshxbmxm]gsinzrkbzacyutlxso\nnvvjtnsnglopvcmna[opnjujeqmpgipfm]rudoacagklnjajjye[fqrtapichjqkhhf]zpkowfxfuoecvzq[juwjiqcolafbxzsw]fogkbzmrovqvbxbxeb\nixciqkqggdxskbso[wkjptmoonusnkzyadmx]tvbhebhhaqhopjbjqht\ngepgaafxcogfkyecgs[jdqmpkhjkqefzkwxglq]zfpkqukaelflilmzwph[fndatrnmtrwgbwpj]bndevgsiouveums[fqxvkjthzmyryobt]ywgqodizmhsymako\ngjlyyrwgrugaulnj[zwsmlmyahggpvugef]ppqrrbxasqowhwz[ngwudjmonpelxhubwnj]ucfcaicagnbvlboiwky\nlfckmicaonarlbnu[qnigowwaziwjlmf]ihypnqqozcilwpm\nxmtcgkcyfjppjwaa[jlzhrxmfyfjfmadttpo]vucnncbadihuewzn"
},
{
"context": "gkcyfjppjwaa[jlzhrxmfyfjfmadttpo]vucnncbadihuewzn\nsviknjiphswrawyskzz[vlsdhjduekvalqgwy]qlvefwhnwmxrzgxq[dwnapnjsuiowoq",
"end": 47513,
"score": 0.5940734148,
"start": 47494,
"tag": "KEY",
"value": "sviknjiphswrawyskzz"
},
{
"context": "fyfjfmadttpo]vucnncbadihuewzn\nsviknjiphswrawyskzz[vlsdhjduekvalqgwy]qlvefwhnwmxrzgxq[dwnapnjsuiowoqjts]pnepuekbrlbssw",
"end": 47531,
"score": 0.5407187343,
"start": 47514,
"tag": "KEY",
"value": "vlsdhjduekvalqgwy"
},
{
"context": "cbadihuewzn\nsviknjiphswrawyskzz[vlsdhjduekvalqgwy]qlvefwhnwmxrzgxq[dwnapnjsuiowoqjts]pnepuekbrlbsswijr\nfknvwkusyvzle",
"end": 47548,
"score": 0.5383723974,
"start": 47532,
"tag": "KEY",
"value": "qlvefwhnwmxrzgxq"
},
{
"context": "jiphswrawyskzz[vlsdhjduekvalqgwy]qlvefwhnwmxrzgxq[dwnapnjsuiowoqjts]pnepuekbrlbsswijr\nfknvwkusyvzledp[qzplkidoxmvxrxc",
"end": 47566,
"score": 0.5312222838,
"start": 47549,
"tag": "KEY",
"value": "dwnapnjsuiowoqjts"
},
{
"context": "dhjduekvalqgwy]qlvefwhnwmxrzgxq[dwnapnjsuiowoqjts]pnepuekbrlbsswijr\nfknvwkusyvzledp[qzplkidoxmvxrxcfs]jxdhirqylkerndfd",
"end": 47584,
"score": 0.5261187553,
"start": 47567,
"tag": "KEY",
"value": "pnepuekbrlbsswijr"
},
{
"context": "whnwmxrzgxq[dwnapnjsuiowoqjts]pnepuekbrlbsswijr\nfknvwkusyvzledp[qzplkidoxmvxrxcfs]jxdhirqylkerndfd[vlqmngoqxsbmlj",
"end": 47600,
"score": 0.5356033444,
"start": 47587,
"tag": "KEY",
"value": "nvwkusyvzledp"
},
{
"context": "pnjsuiowoqjts]pnepuekbrlbsswijr\nfknvwkusyvzledp[qzplkidoxmvxrxcfs]jxdhirqylkerndfd[vlqmngoqxsbmljcle]rtwemwvqkpfwfr",
"end": 47618,
"score": 0.5377696753,
"start": 47603,
"tag": "KEY",
"value": "plkidoxmvxrxcfs"
},
{
"context": "epuekbrlbsswijr\nfknvwkusyvzledp[qzplkidoxmvxrxcfs]jxdhirqylkerndfd[vlqmngoqxsbmljcle]rtwemwvqkpfwfri\ncujhxofpcjpskrg",
"end": 47635,
"score": 0.5298967361,
"start": 47619,
"tag": "KEY",
"value": "jxdhirqylkerndfd"
},
{
"context": "vwkusyvzledp[qzplkidoxmvxrxcfs]jxdhirqylkerndfd[vlqmngoqxsbmljcle]rtwemwvqkpfwfri\ncujhxofpcjpskrgn[jxxgrxhgnutgsusr",
"end": 47653,
"score": 0.5279077888,
"start": 47638,
"tag": "KEY",
"value": "qmngoqxsbmljcle"
},
{
"context": "lkidoxmvxrxcfs]jxdhirqylkerndfd[vlqmngoqxsbmljcle]rtwemwvqkpfwfri\ncujhxofpcjpskrgn[jxxgrxhgnutgsusruvy]dewdqleqewbqftd[nfjzhgvvqummw",
"end": 47686,
"score": 0.5407392383,
"start": 47654,
"tag": "KEY",
"value": "rtwemwvqkpfwfri\ncujhxofpcjpskrgn"
},
{
"context": "qmngoqxsbmljcle]rtwemwvqkpfwfri\ncujhxofpcjpskrgn[jxxgrxhgnutgsusruvy]dewdqleqewbqftd[nfjzhgvvqummwzhyd]yrccepfnpbehqei",
"end": 47706,
"score": 0.5375196338,
"start": 47688,
"tag": "KEY",
"value": "xxgrxhgnutgsusruvy"
},
{
"context": "emwvqkpfwfri\ncujhxofpcjpskrgn[jxxgrxhgnutgsusruvy]dewdqleqewbqftd[nfjzhgvvqummwzhyd]yrccepfnpbehqei\ndmfygizbsbrtgnz",
"end": 47722,
"score": 0.5471456051,
"start": 47707,
"tag": "KEY",
"value": "dewdqleqewbqftd"
},
{
"context": "hxofpcjpskrgn[jxxgrxhgnutgsusruvy]dewdqleqewbqftd[nfjzhgvvqummwzhyd]yrccepfnpbehqei\ndmfygizbsbrtgnzam[xdnnacheufcqahv",
"end": 47740,
"score": 0.5443489552,
"start": 47723,
"tag": "KEY",
"value": "nfjzhgvvqummwzhyd"
},
{
"context": "rxhgnutgsusruvy]dewdqleqewbqftd[nfjzhgvvqummwzhyd]yrccepfnpbehqei\ndmfygizbsbrtgnzam[xdnnacheufcqahvx]rxtljkenkwxgkhr",
"end": 47756,
"score": 0.5588071942,
"start": 47741,
"tag": "KEY",
"value": "yrccepfnpbehqei"
},
{
"context": "wdqleqewbqftd[nfjzhgvvqummwzhyd]yrccepfnpbehqei\ndmfygizbsbrtgnzam[xdnnacheufcqahvx]rxtljkenkwxgkhrwos[xnxicyqemngzg",
"end": 47774,
"score": 0.5648248792,
"start": 47759,
"tag": "KEY",
"value": "fygizbsbrtgnzam"
},
{
"context": "hgvvqummwzhyd]yrccepfnpbehqei\ndmfygizbsbrtgnzam[xdnnacheufcqahvx]rxtljkenkwxgkhrwos[xnxicyqemngzgjp]slcfzksterjpmi",
"end": 47791,
"score": 0.5398981571,
"start": 47777,
"tag": "KEY",
"value": "nnacheufcqahvx"
},
{
"context": "rccepfnpbehqei\ndmfygizbsbrtgnzam[xdnnacheufcqahvx]rxtljkenkwxgkhrwos[xnxicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfya",
"end": 47810,
"score": 0.5427224636,
"start": 47792,
"tag": "KEY",
"value": "rxtljkenkwxgkhrwos"
},
{
"context": "izbsbrtgnzam[xdnnacheufcqahvx]rxtljkenkwxgkhrwos[xnxicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfdd",
"end": 47826,
"score": 0.5353913307,
"start": 47812,
"tag": "KEY",
"value": "nxicyqemngzgjp"
},
{
"context": "nnacheufcqahvx]rxtljkenkwxgkhrwos[xnxicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypm",
"end": 47842,
"score": 0.5321714878,
"start": 47827,
"tag": "KEY",
"value": "slcfzksterjpmiz"
},
{
"context": "ljkenkwxgkhrwos[xnxicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzls",
"end": 47856,
"score": 0.5210665464,
"start": 47845,
"tag": "KEY",
"value": "dqdoipoqwco"
},
{
"context": "wos[xnxicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipasw",
"end": 47862,
"score": 0.5324881077,
"start": 47857,
"tag": "KEY",
"value": "fyamu"
},
{
"context": "xicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgya",
"end": 47866,
"score": 0.5249042511,
"start": 47863,
"tag": "KEY",
"value": "cmo"
},
{
"context": "emngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpw",
"end": 47882,
"score": 0.5221030116,
"start": 47868,
"tag": "KEY",
"value": "niphnfddoywbne"
},
{
"context": "terjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpwc[tjgxnibylfay",
"end": 47897,
"score": 0.5191257596,
"start": 47884,
"tag": "KEY",
"value": "afdrqypmxjzxb"
},
{
"context": "poqwcoyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpwc[tjgxnibylfayarir",
"end": 47901,
"score": 0.5057970881,
"start": 47900,
"tag": "KEY",
"value": "j"
},
{
"context": "coyfyamu]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpwc[tjgxnibylfayarir]phs",
"end": 47905,
"score": 0.5058067441,
"start": 47904,
"tag": "KEY",
"value": "l"
},
{
"context": "u]cmoedniphnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpwc[tjgxnibylfayarir]phswgvlkkfj",
"end": 47913,
"score": 0.5057214499,
"start": 47911,
"tag": "KEY",
"value": "wm"
},
{
"context": "phnfddoywbne\noafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpwc[tjgxnibylfayarir]phswgvlkkfjjetrhdl[p",
"end": 47922,
"score": 0.5214388371,
"start": 47920,
"tag": "KEY",
"value": "ll"
},
{
"context": "hsjhykq[jhweoafdbntsmxcg]fwqrvlhlltfeygpcnyi[wzibgavydimypgdao]ocomuevbncyimhlbppq\nvzatvkicsxcmgcx[lembxneuonlldqupk]svfxiuungebjjgfre[ijwzrpepzkmvdwrjck]bhjiggmcfirhzyjljkd\nnlauzkixeqoldqwd[dwvmcwkqnwjlzqscj]hnnwnarbtuijzys[umpmhpnsrbypmpulhf]nijrnkqfvbyjfvgseaw\ngefcvkqyyecmnorr[unfzknqltdwwrejeix]quyfoemcjnbrarjuowo[znhhaogjluucobyvq]nozfnuqwkqrcbtwujxt\nkeerveohuokinft[vtganysszjzosaco]ufsxvtiyupbeddibmt[wrlgimiwaspamrdp]wdjcaxuqikgauum[jpwldupwbuuufjnx]tumqrmftbkrmohls\nrtgtdqksqxgvgxadbjy[uclopjtrzpccvdpjq]hiqaonacbzvgvigg[dirbsktzndttpzmtznz]laimumxqrcnhoitaokp\niqthbpkfocdhsvzje[jbxkmkvmrbnqjwlp]kycbbizaasoayspojv[iojspytksdfugqsqhvf]dlkjrsotrfugfft[zuzflpijcwgbioujw]tgyhlfclaxcsjnavdkh\nlmekqqiuknygtdo[ramnjnqzfihksfpoqsv]jhhvgphkjifxgap[dmpwxrhmhkwfs",
"end": 49096,
"score": 0.6399551034,
"start": 48431,
"tag": "KEY",
"value": "avydimypgdao]ocomuevbncyimhlbppq\nvzatvkicsxcmgcx[lembxneuonlldqupk]svfxiuungebjjgfre[ijwzrpepzkmvdwrjck]bhjiggmcfirhzyjljkd\nnlauzkixeqoldqwd[dwvmcwkqnwjlzqscj]hnnwnarbtuijzys[umpmhpnsrbypmpulhf]nijrnkqfvbyjfvgseaw\ngefcvkqyyecmnorr[unfzknqltdwwrejeix]quyfoemcjnbrarjuowo[znhhaogjluucobyvq]nozfnuqwkqrcbtwujxt\nkeerveohuokinft[vtganysszjzosaco]ufsxvtiyupbeddibmt[wrlgimiwaspamrdp]wdjcaxuqikgauum[jpwldupwbuuufjnx]tumqrmftbkrmohls\nrtgtdqksqxgvgxadbjy[uclopjtrzpccvdpjq]hiqaonacbzvgvigg[dirbsktzndttpzmtznz]laimumxqrcnhoitaokp\niqthbpkfocdhsvzje[jbxkmkvmrbnqjwlp]kycbbizaasoayspojv[iojspytksdfugqsqhvf]dlkjrsotrfugfft[zuzflpijcwgbioujw]tgyhlfclaxcsjnavdkh\nlmekqqiuknygtdo"
},
{
"context": "lpijcwgbioujw]tgyhlfclaxcsjnavdkh\nlmekqqiuknygtdo[ramnjnqzfihksfpoqsv]jhhvgphkjifxgap[dmpwxrhmhkwfsfgtn]mfzdjfhxmkrascd\nfywgfyehgheiqhbayw[ntuqlvjvldeyzokdepc]jrqpaluvezoujks[ijkurhccihukz",
"end": 49185,
"score": 0.5869514346,
"start": 49097,
"tag": "KEY",
"value": "ramnjnqzfihksfpoqsv]jhhvgphkjifxgap[dmpwxrhmhkwfsfgtn]mfzdjfhxmkrascd\nfywgfyehgheiqhbayw"
},
{
"context": "wxrhmhkwfsfgtn]mfzdjfhxmkrascd\nfywgfyehgheiqhbayw[ntuqlvjvldeyzokdepc]jrqpaluvezoujks[ijkurhccihukzuis]cljvkxweuvldevt\nudnphzgdlussuata",
"end": 49221,
"score": 0.5632885098,
"start": 49186,
"tag": "KEY",
"value": "ntuqlvjvldeyzokdepc]jrqpaluvezoujks"
},
{
"context": "gheiqhbayw[ntuqlvjvldeyzokdepc]jrqpaluvezoujks[ijkurhccihukzuis]cljvkxweuvldevt\nudnphzgdlussuatatj[phfqqkmuhvlehlo]cyvspnwlrcmatb",
"end": 49254,
"score": 0.566287756,
"start": 49225,
"tag": "KEY",
"value": "urhccihukzuis]cljvkxweuvldevt"
},
{
"context": "qpaluvezoujks[ijkurhccihukzuis]cljvkxweuvldevt\nudnphzgdlussuatatj[phfqqkmuhvlehlo]cyvspnwlrcmatbwoua\nloz",
"end": 49262,
"score": 0.5702445507,
"start": 49258,
"tag": "KEY",
"value": "phzg"
},
{
"context": "yvspnwlrcmatbwoua\nlozehtimrottjudo[krocuifdrqwhsmm]uhauuuzfssimtfl[lyshrfrnvlueierymi]xogtepsflxfwcpau[nurlztguypvwjvoldsn]yxwnuqtvewgmlbfj\nqkioxzfrxxwbcddg[iecvjowpxnrevqrhl]qxpciafqndxasahsvoo[adfpiuoapzqsasajd]lduzndmefgsvzzdpmcg\nklfxwvnampkmmqjmfc[pcaeswcdleyweirmxpv]jnwkgamdjeoakjcnuep[hjwzdndjlvqfzkarwk]ewwgtcnyjuczgmyif[eaaehzgwbkdfbcgbz]eeioocxrjsulyuj\neptlgbashiewmonaaal[ohtsrundioavfrouii]aydjhcanascnanbfzvd\nikhfkzncdqyitenbg[ldqqsrhumdmiraztslw]aydpjfypxqllkevec[aponlfgxnzgcaddwt]yxlzqyhbilnsgjen[dwdrsgergyrzumtlpvd]srlqivkdhbdbevnq\nxpjwxwgiyzqfwajto[msisxrvzebbtxiv]zkuujbuznilsymuuxq\nvkmqsygowhcqzdxlslt[fnaztaplxaputnm]ykkslsosxwczlrwbpmc[orlhcrbdjuujhaj]odtfvozkxuwqdpsm\nqqxdpjpmujaveczctbz[gulkmdfhbgvyxuyd]jtxafmzqwqxauaxjt[jgfnrwhgdtkwdfgt]unidfciwdvpazpgfa\nlfcczmpjpqgqonvcvb[iflurylkaiuflxp]dbepqquyeagxsmrhbwr[vjjohmujkozstni]suvejhnfwknjusxgxwr[wkjnfmxxzwulujmw]qyawlzkyazbwftlw\nuwmrxdaxrlsvujdjrm[dmdnqcmdmnmnhhwicwk]uowycyvqvjwrjgtpfqu\nzbxlifyzw",
"end": 50216,
"score": 0.7426557541,
"start": 49342,
"tag": "KEY",
"value": "uhauuuzfssimtfl[lyshrfrnvlueierymi]xogtepsflxfwcpau[nurlztguypvwjvoldsn]yxwnuqtvewgmlbfj\nqkioxzfrxxwbcddg[iecvjowpxnrevqrhl]qxpciafqndxasahsvoo[adfpiuoapzqsasajd]lduzndmefgsvzzdpmcg\nklfxwvnampkmmqjmfc[pcaeswcdleyweirmxpv]jnwkgamdjeoakjcnuep[hjwzdndjlvqfzkarwk]ewwgtcnyjuczgmyif[eaaehzgwbkdfbcgbz]eeioocxrjsulyuj\neptlgbashiewmonaaal[ohtsrundioavfrouii]aydjhcanascnanbfzvd\nikhfkzncdqyitenbg[ldqqsrhumdmiraztslw]aydpjfypxqllkevec[aponlfgxnzgcaddwt]yxlzqyhbilnsgjen[dwdrsgergyrzumtlpvd]srlqivkdhbdbevnq\nxpjwxwgiyzqfwajto[msisxrvzebbtxiv]zkuujbuznilsymuuxq\nvkmqsygowhcqzdxlslt[fnaztaplxaputnm]ykkslsosxwczlrwbpmc[orlhcrbdjuujhaj]odtfvozkxuwqdpsm\nqqxdpjpmujaveczctbz[gulkmdfhbgvyxuyd]jtxafmzqwqxauaxjt[jgfnrwhgdtkwdfgt]unidfciwdvpazpgfa\nlfcczmpjpqgqonvcvb[iflurylkaiuflxp]dbepqquyeagxsmrhbwr[vjjohmujkozstni]suvejhnfwknjusxgxwr[wkjnfmxxzwulujmw]qyawlzkyazbwftlw\nuwmrxdaxrlsvujdjrm"
},
{
"context": "nfmxxzwulujmw]qyawlzkyazbwftlw\nuwmrxdaxrlsvujdjrm[dmdnqcmdmnmnhhwicwk]uowycyvqvjwrjgtpfqu\nzbxlifyzwnwujvs[pyyy",
"end": 50227,
"score": 0.5547116995,
"start": 50217,
"tag": "KEY",
"value": "dmdnqcmdmn"
},
{
"context": "w]qyawlzkyazbwftlw\nuwmrxdaxrlsvujdjrm[dmdnqcmdmnmnhhwicwk]uowycyvqvjwrjgtpfqu\nzbxlifyzwnwujvs[pyyyjxylpmpwgbh]iu",
"end": 50241,
"score": 0.5439324379,
"start": 50229,
"tag": "KEY",
"value": "hhwicwk]uowy"
},
{
"context": "ftlw\nuwmrxdaxrlsvujdjrm[dmdnqcmdmnmnhhwicwk]uowycyvqvjwrjgtpfqu\nzbxlifyzwnwujvs[pyyyjxylpmpwgbh]iutvnonqqqtb",
"end": 50251,
"score": 0.5250227451,
"start": 50243,
"tag": "KEY",
"value": "vqvjwrjg"
},
{
"context": "daxrlsvujdjrm[dmdnqcmdmnmnhhwicwk]uowycyvqvjwrjgtpfqu\nzbxlifyzwnwujvs[pyyyjxylpmpwgbh]iutvnonqqqtbxisfo",
"end": 50256,
"score": 0.5364853144,
"start": 50253,
"tag": "KEY",
"value": "fqu"
},
{
"context": "wnqbwtsxuh[ekjrlmzyakgkzlemnxp]gbktdprzdyhcifmigxt\newjfrgfxriqmbvczdtw[wlbdrngfgnwdvkt]vxgbaaggmwndxl",
"end": 50458,
"score": 0.5048037767,
"start": 50458,
"tag": "KEY",
"value": ""
},
{
"context": "bwtsxuh[ekjrlmzyakgkzlemnxp]gbktdprzdyhcifmigxt\newjfrgfxriqmbvczdtw[wlbdrngfgnwdvkt]vxgbaaggmwndxlms[vup",
"end": 50465,
"score": 0.5169047713,
"start": 50461,
"tag": "KEY",
"value": "jfrg"
},
{
"context": "h[ekjrlmzyakgkzlemnxp]gbktdprzdyhcifmigxt\newjfrgfxriqmbvczdtw[wlbdrngfgnwdvkt]vxgbaaggmwndxlms[vupgwxf",
"end": 50469,
"score": 0.5207972527,
"start": 50467,
"tag": "KEY",
"value": "ri"
},
{
"context": "yhcifmigxt\newjfrgfxriqmbvczdtw[wlbdrngfgnwdvkt]vxgbaaggmwndxlms[vupgwxfgfpxtnen]kfeekrdualqqnril\nawkkejmti",
"end": 50504,
"score": 0.5104281306,
"start": 50498,
"tag": "KEY",
"value": "baaggm"
},
{
"context": "]vxgbaaggmwndxlms[vupgwxfgfpxtnen]kfeekrdualqqnril\nawkkejmtiopfrqfasgn[alciuobkmtbxngulv]qlowmadlrlap",
"end": 50544,
"score": 0.520265162,
"start": 50544,
"tag": "KEY",
"value": ""
},
{
"context": "eacetmksrrodjqdffk[aunntgaemlyoabfgpf]yrlrzbdjfejbmskdtrz\nuegpnmuaxvvpcsuzi[pxcbpsgaecuqyhvov]oiyjoyra",
"end": 50675,
"score": 0.5048822761,
"start": 50673,
"tag": "KEY",
"value": "ms"
},
{
"context": "cbuynia[duyxsbzyzibjwejygq]mszplxmgtkqorlklg[kkbpzdcqtwkteqfpm]nvgoipyzmaxtizqkxk[dkjpvseaxvosmsh]ourguqaabxzzovsn\novojqexhiiwdqunfvpy[ijzonrwpmtbftrqgs]zkmuxgcckijagmj[oygvczrrilsowmxrcwq]jpwamodaidqrzmal[yglvklzzljuqykuxte]cifhyowckekufubnmu\nhqsemgdtjpiikngtrd[bqryvzqcejlkziqbeg]gycysifcawyjyeu\ntgdpvbxtvxlyqvouu[xqefdugumgqctwvihz]yxymyatxjpknmpb\nmghmbjssqzjlzlg[kilmyfmenoqjnmwg]hzuujufmwyperhvdl\nieqarqlveeycgazb[azjmtbkbixtazbcv]xroiknhtlbefpgh[xnhgnpluemfqqkxg]okbkpxswfoikufwzazc\nphtjaokeiocojxb[snjwozbjnpwckhr]cjwsbiopkgqjjaz[rxkobmvupvjvobifvx]edubeedqalxklpb[nyfuqcxwtynmofmfg]zwdaaonmcoczxvfr\nfddrwtloipcoigpruvm[nmnolrurottdlkhfwzy]dzztqofiytbyhhzwsy[ovdmmhigvmzuuji]jirdnbaefkkdpgi[orlijsvzupzadsvi]",
"end": 51775,
"score": 0.6931952834,
"start": 51160,
"tag": "KEY",
"value": "dcqtwkteqfpm]nvgoipyzmaxtizqkxk[dkjpvseaxvosmsh]ourguqaabxzzovsn\novojqexhiiwdqunfvpy[ijzonrwpmtbftrqgs]zkmuxgcckijagmj[oygvczrrilsowmxrcwq]jpwamodaidqrzmal[yglvklzzljuqykuxte]cifhyowckekufubnmu\nhqsemgdtjpiikngtrd[bqryvzqcejlkziqbeg]gycysifcawyjyeu\ntgdpvbxtvxlyqvouu[xqefdugumgqctwvihz]yxymyatxjpknmpb\nmghmbjssqzjlzlg[kilmyfmenoqjnmwg]hzuujufmwyperhvdl\nieqarqlveeycgazb[azjmtbkbixtazbcv]xroiknhtlbefpgh[xnhgnpluemfqqkxg]okbkpxswfoikufwzazc\nphtjaokeiocojxb[snjwozbjnpwckhr]cjwsbiopkgqjjaz[rxkobmvupvjvobifvx]edubeedqalxklpb[nyfuqcxwtynmofmfg]zwdaaonmcoczxvfr\nfddrwtloipcoigpruvm[nmnolrurottdlkhfwzy]dzztqofiytbyhhzwsy"
},
{
"context": "pcoigpruvm[nmnolrurottdlkhfwzy]dzztqofiytbyhhzwsy[ovdmmhigvmzuuji]jirdnbaefkkdpgi[orlijsvzupzadsvi]mnmwussnnikjigkkr\ngspafobrohvirg",
"end": 51807,
"score": 0.5674407482,
"start": 51776,
"tag": "KEY",
"value": "ovdmmhigvmzuuji]jirdnbaefkkdpgi"
},
{
"context": "zztqofiytbyhhzwsy[ovdmmhigvmzuuji]jirdnbaefkkdpgi[orlijsvzupzadsvi]mnmwussnnikjigkkr\ngspafobrohvirgeaxdq[igehxnlnjtwfcuc]aeibhshuiyekgcymyty[xhoayxpksnfvdzjwh]ktkoteqwnsouvwcftyu[eqfnhshsnakdnxwonzz]wwfzvzaupuirropirue\nbpyvotpfgrefzidpn[pyvnycicdpcutcayrv]twcjgpggepbt",
"end": 51976,
"score": 0.6456064582,
"start": 51808,
"tag": "KEY",
"value": "orlijsvzupzadsvi]mnmwussnnikjigkkr\ngspafobrohvirgeaxdq[igehxnlnjtwfcuc]aeibhshuiyekgcymyty[xhoayxpksnfvdzjwh]ktkoteqwnsouvwcftyu[eqfnhshsnakdnxwonzz]wwfzvzaupuirropirue"
},
{
"context": "gepbtnute[fdumsgxervdixwv]ydccutccndbxxfjrxh\nokzxxrtdrfviychsj[ymguzlptohblvsj]ofquaojgbjuxhkrm[ingfu",
"end": 52072,
"score": 0.5054283738,
"start": 52071,
"tag": "KEY",
"value": "r"
},
{
"context": "tccndbxxfjrxh\nokzxxrtdrfviychsj[ymguzlptohblvsj]ofquaojgbjuxhkrm[ingfugdcfpjtyoj]xwplthdujgksrosmv\njbwwu",
"end": 52106,
"score": 0.5089429617,
"start": 52102,
"tag": "KEY",
"value": "quao"
},
{
"context": "h\nokzxxrtdrfviychsj[ymguzlptohblvsj]ofquaojgbjuxhkrm[ingfugdcfpjtyoj]xwplthdujgksrosmv\njbwwuuqkuwrrzxm",
"end": 52116,
"score": 0.5126286149,
"start": 52114,
"tag": "KEY",
"value": "rm"
},
{
"context": "lvsj]ofquaojgbjuxhkrm[ingfugdcfpjtyoj]xwplthdujgksrosmv\njbwwuuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotc",
"end": 52147,
"score": 0.5205039382,
"start": 52145,
"tag": "KEY",
"value": "ro"
},
{
"context": "ojgbjuxhkrm[ingfugdcfpjtyoj]xwplthdujgksrosmv\njbwwuuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu\nr",
"end": 52157,
"score": 0.5053244829,
"start": 52155,
"tag": "KEY",
"value": "uu"
},
{
"context": "bjuxhkrm[ingfugdcfpjtyoj]xwplthdujgksrosmv\njbwwuuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu\nrojsk",
"end": 52161,
"score": 0.5053478479,
"start": 52158,
"tag": "KEY",
"value": "kuw"
},
{
"context": "gksrosmv\njbwwuuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwa",
"end": 52194,
"score": 0.5050567389,
"start": 52192,
"tag": "KEY",
"value": "ma"
},
{
"context": "v\njbwwuuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcan",
"end": 52201,
"score": 0.5127568245,
"start": 52199,
"tag": "KEY",
"value": "bm"
},
{
"context": "uuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhj",
"end": 52205,
"score": 0.5279042125,
"start": 52205,
"tag": "KEY",
"value": ""
},
{
"context": "kuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnh",
"end": 52219,
"score": 0.5310574174,
"start": 52208,
"tag": "KEY",
"value": "jskmdnydeou"
},
{
"context": "tnyqwndsntckqex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]q",
"end": 52226,
"score": 0.528392911,
"start": 52224,
"tag": "KEY",
"value": "mu"
},
{
"context": "wndsntckqex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzda",
"end": 52236,
"score": 0.5167175531,
"start": 52228,
"tag": "KEY",
"value": "kcabowco"
},
{
"context": "ex]mgmaotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgs",
"end": 52239,
"score": 0.5282582045,
"start": 52237,
"tag": "KEY",
"value": "he"
},
{
"context": "maotcyybmuihu\nrojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkr",
"end": 52254,
"score": 0.5243776441,
"start": 52242,
"tag": "KEY",
"value": "waohorcanpby"
},
{
"context": "rojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenp",
"end": 52258,
"score": 0.5125947595,
"start": 52256,
"tag": "KEY",
"value": "ii"
},
{
"context": "mdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]",
"end": 52263,
"score": 0.5283861756,
"start": 52261,
"tag": "KEY",
"value": "pc"
},
{
"context": "deouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbiv",
"end": 52274,
"score": 0.5142964721,
"start": 52265,
"tag": "KEY",
"value": "hxnhligil"
},
{
"context": "uavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbivcpcpcoqr\niztjh",
"end": 52288,
"score": 0.5302388668,
"start": 52275,
"tag": "KEY",
"value": "qbzwurxyzdakg"
},
{
"context": "znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbivcpcpcoqr\niztjhisgps",
"end": 52293,
"score": 0.5203078389,
"start": 52290,
"tag": "KEY",
"value": "wvh"
},
{
"context": "orcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbivcpcpcoqr\niztjhisgpskdgwxwfdq[avnaibsrk",
"end": 52312,
"score": 0.5233139992,
"start": 52296,
"tag": "KEY",
"value": "tfivzqkrrenpxmsj"
},
{
"context": "hxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbivcpcpcoqr\niztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtk",
"end": 52332,
"score": 0.5464188457,
"start": 52315,
"tag": "KEY",
"value": "bcrgpjbivcpcpcoqr"
},
{
"context": "akgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbivcpcpcoqr\niztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzp",
"end": 52352,
"score": 0.5306755304,
"start": 52335,
"tag": "KEY",
"value": "tjhisgpskdgwxwfdq"
},
{
"context": "enpxmsj]dfbcrgpjbivcpcpcoqr\niztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyr",
"end": 52357,
"score": 0.5207477808,
"start": 52355,
"tag": "KEY",
"value": "na"
},
{
"context": "bcrgpjbivcpcpcoqr\niztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelu",
"end": 52367,
"score": 0.5051863194,
"start": 52365,
"tag": "KEY",
"value": "av"
},
{
"context": "pcpcoqr\niztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[c",
"end": 52377,
"score": 0.5048034787,
"start": 52375,
"tag": "KEY",
"value": "nb"
},
{
"context": "qr\niztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[cmafky",
"end": 52382,
"score": 0.5051003098,
"start": 52380,
"tag": "KEY",
"value": "mt"
},
{
"context": "iztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[cmafkyaou",
"end": 52385,
"score": 0.5053884387,
"start": 52383,
"tag": "KEY",
"value": "pl"
},
{
"context": "yuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp\nmcxijhkidam",
"end": 52420,
"score": 0.5206050873,
"start": 52418,
"tag": "KEY",
"value": "he"
},
{
"context": "nunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp\nmcxijhkidamijcggv[bu",
"end": 52429,
"score": 0.5050469041,
"start": 52427,
"tag": "KEY",
"value": "ma"
},
{
"context": "kplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp\nmcxijhkidamijcggv[buvpvu",
"end": 52433,
"score": 0.505348742,
"start": 52432,
"tag": "KEY",
"value": "a"
},
{
"context": "svmjqjzpswjyrju]adcnelughetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp\nmcxijhkidamijcggv[buvpvujncpcwxvvt]xortwrcne",
"end": 52453,
"score": 0.5106928945,
"start": 52444,
"tag": "KEY",
"value": "habfxgwxd"
},
{
"context": "u]adcnelughetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp\nmcxijhkidamijcggv[buvpvujncpcwxvvt]xortwrcnebozere",
"end": 52458,
"score": 0.5281493068,
"start": 52458,
"tag": "KEY",
"value": ""
},
{
"context": "hetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp\nmcxijhkidamijcggv[buvpvujncpcwxvvt]xortwrcnebozerevim[ylisqie",
"end": 52470,
"score": 0.5054436922,
"start": 52468,
"tag": "KEY",
"value": "am"
},
{
"context": "dqxcponrlivi[pxltpufeegjrawwanax]apuwyiawecyuqhgjc[vtenugjmwgebqzdt]jpstgvxeivppyaqwdbh\nbjnvrqvazthxmzqe[vhhndcvzvvtdjpu]xvyoyqrjtbnonsstb\nrglwwateiuipzihomf[rvlceqfsjsdeajp]umwquiuviykogvs[nyxtxtkhyplexemcvjk]kgqhfvraxxybvapgs\njfhopiiqntjmgdsj[lrijxadhlagitvp]uiwltkpdmqcvklmj[celhtexfpelokeyl]jucghcilfpxmuhsxlj[lnzbuosgycapkcujcsq]uipyywsuzrkxcxma\nzbczjtvnmirbqohanm[bssrqrthbgrtjlfdeyh]sajloorydqhdlpfx[twqasimfthlutzbvc]xdyjyaewqxknvdz[exppwmacezbuavlhe]cldjcsqujgldchzigys\nxvhlvnfixnvekmxfzr[mnmpxowwvahbtuiltn]facqroxwyyelgbeupk[liawlvgwyfizmas]yxgndlsxircarikrb\nyjisbltbmhloiojwzy[uiqmflerfnevkzvnfmy]kecwgynuudxejjvth[joscliommzmbkqcqa]pwypdesmkawikue\nhsiwncahwnipmmjwspf[icngtprynzjdnsgmh]htclvcobutyrczggpic[saypixczich",
"end": 53618,
"score": 0.7087942958,
"start": 52989,
"tag": "KEY",
"value": "vtenugjmwgebqzdt]jpstgvxeivppyaqwdbh\nbjnvrqvazthxmzqe[vhhndcvzvvtdjpu]xvyoyqrjtbnonsstb\nrglwwateiuipzihomf[rvlceqfsjsdeajp]umwquiuviykogvs[nyxtxtkhyplexemcvjk]kgqhfvraxxybvapgs\njfhopiiqntjmgdsj[lrijxadhlagitvp]uiwltkpdmqcvklmj[celhtexfpelokeyl]jucghcilfpxmuhsxlj[lnzbuosgycapkcujcsq]uipyywsuzrkxcxma\nzbczjtvnmirbqohanm[bssrqrthbgrtjlfdeyh]sajloorydqhdlpfx[twqasimfthlutzbvc]xdyjyaewqxknvdz[exppwmacezbuavlhe]cldjcsqujgldchzigys\nxvhlvnfixnvekmxfzr[mnmpxowwvahbtuiltn]facqroxwyyelgbeupk[liawlvgwyfizmas]yxgndlsxircarikrb\nyjisbltbmhloiojwzy[uiqmflerfnevkzvnfmy]kecwgynuudxejjvth[joscliommzmbkqcqa]pwypdesmkawikue\nhsiwncahwnipmmjwspf"
},
{
"context": "liommzmbkqcqa]pwypdesmkawikue\nhsiwncahwnipmmjwspf[icngtprynzjdnsgmh]htclvcobutyrczggpic[saypixczichbjeve]jmpwkwrnvhjcpglrul\naagdbakqyfrii",
"end": 53656,
"score": 0.575481832,
"start": 53619,
"tag": "KEY",
"value": "icngtprynzjdnsgmh]htclvcobutyrczggpic"
},
{
"context": "wnipmmjwspf[icngtprynzjdnsgmh]htclvcobutyrczggpic[saypixczichbjeve]jmpwkwrnvhjcpglrul\naagdbakqyfriiolq[cjlhszgovtyhykgikl]excahvgfswdnpe",
"end": 53692,
"score": 0.5757231712,
"start": 53657,
"tag": "KEY",
"value": "saypixczichbjeve]jmpwkwrnvhjcpglrul"
},
{
"context": "butyrczggpic[saypixczichbjeve]jmpwkwrnvhjcpglrul\naagdbakqyfriiolq[cjlhszgovtyhykgikl]excahvgfswdnpezh[typkmvlnkgjkm",
"end": 53709,
"score": 0.5640388131,
"start": 53694,
"tag": "KEY",
"value": "agdbakqyfriiolq"
},
{
"context": "pixczichbjeve]jmpwkwrnvhjcpglrul\naagdbakqyfriiolq[cjlhszgovtyhykgikl]excahvgfswdnpezh[typkmvlnkgjkmherbx]zuhrtvvwvcvhu",
"end": 53728,
"score": 0.5570694804,
"start": 53710,
"tag": "KEY",
"value": "cjlhszgovtyhykgikl"
},
{
"context": "nvhjcpglrul\naagdbakqyfriiolq[cjlhszgovtyhykgikl]excahvgfswdnpezh[typkmvlnkgjkmherbx]zuhrtvvwvcvhuzalde\nqdunnnxbbpk",
"end": 53745,
"score": 0.5605911613,
"start": 53731,
"tag": "KEY",
"value": "cahvgfswdnpezh"
},
{
"context": "akqyfriiolq[cjlhszgovtyhykgikl]excahvgfswdnpezh[typkmvlnkgjkmherbx]zuhrtvvwvcvhuzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyz",
"end": 53764,
"score": 0.5489969254,
"start": 53748,
"tag": "KEY",
"value": "pkmvlnkgjkmherbx"
},
{
"context": "zgovtyhykgikl]excahvgfswdnpezh[typkmvlnkgjkmherbx]zuhrtvvwvcvhuzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[",
"end": 53783,
"score": 0.5542091131,
"start": 53765,
"tag": "KEY",
"value": "zuhrtvvwvcvhuzalde"
},
{
"context": "vgfswdnpezh[typkmvlnkgjkmherbx]zuhrtvvwvcvhuzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvw",
"end": 53799,
"score": 0.5671579838,
"start": 53784,
"tag": "KEY",
"value": "qdunnnxbbpkljlj"
},
{
"context": "lnkgjkmherbx]zuhrtvvwvcvhuzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyx",
"end": 53811,
"score": 0.5225127935,
"start": 53802,
"tag": "KEY",
"value": "uhjxcwbtv"
},
{
"context": "x]zuhrtvvwvcvhuzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpm",
"end": 53815,
"score": 0.5132234693,
"start": 53813,
"tag": "KEY",
"value": "zd"
},
{
"context": "hrtvvwvcvhuzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz\ndrtu",
"end": 53824,
"score": 0.5324241519,
"start": 53817,
"tag": "KEY",
"value": "qsaxqcm"
},
{
"context": "uzalde\nqdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz\ndrtuyztubz",
"end": 53830,
"score": 0.5048490167,
"start": 53827,
"tag": "KEY",
"value": "agn"
},
{
"context": "qdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz\ndrtuyztubzingcdv",
"end": 53836,
"score": 0.536283195,
"start": 53834,
"tag": "KEY",
"value": "bb"
},
{
"context": "nnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz\ndrtuyztubzingcdvpy[i",
"end": 53840,
"score": 0.5053440332,
"start": 53838,
"tag": "KEY",
"value": "ok"
},
{
"context": "bpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz\ndrtuyztubzingcdvpy[ichlj",
"end": 53844,
"score": 0.5129763484,
"start": 53842,
"tag": "KEY",
"value": "jl"
},
{
"context": "hjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz\ndrtuyztubzingcdvpy[ichljckfcgomhcfa",
"end": 53855,
"score": 0.5131406784,
"start": 53853,
"tag": "KEY",
"value": "vg"
},
{
"context": "vgscumyxkrpmyrwz\ndrtuyztubzingcdvpy[ichljckfcgomhcfah]wpkgosokfjvzabii[gufmzunfeecjsbgg]pbtuedlavgbxdqq",
"end": 53906,
"score": 0.5754222274,
"start": 53903,
"tag": "KEY",
"value": "fah"
},
{
"context": "umyxkrpmyrwz\ndrtuyztubzingcdvpy[ichljckfcgomhcfah]wpkgosokfjvzabii[gufmzunfeecjsbgg]pbtuedlavgbxdqq[vbbhreveuzdzbjyg",
"end": 53923,
"score": 0.5482149124,
"start": 53907,
"tag": "KEY",
"value": "wpkgosokfjvzabii"
},
{
"context": "yztubzingcdvpy[ichljckfcgomhcfah]wpkgosokfjvzabii[gufmzunfeecjsbgg]pbtuedlavgbxdqq[vbbhreveuzdzbjygt]kglhdfghynsujkvnug\niccedgowicdl",
"end": 53956,
"score": 0.5554676652,
"start": 53924,
"tag": "KEY",
"value": "gufmzunfeecjsbgg]pbtuedlavgbxdqq"
},
{
"context": "wpkgosokfjvzabii[gufmzunfeecjsbgg]pbtuedlavgbxdqq[vbbhreveuzdzbjygt]kglhdfghynsujkvnug\niccedgowicdllievwww[jrxauxixbmexkgfvvz]fysjauceldu",
"end": 53993,
"score": 0.5564898252,
"start": 53957,
"tag": "KEY",
"value": "vbbhreveuzdzbjygt]kglhdfghynsujkvnug"
},
{
"context": "dlavgbxdqq[vbbhreveuzdzbjygt]kglhdfghynsujkvnug\niccedgowicdllievwww[jrxauxixbmexkgfvvz]fysjaucelduzrxp[kubsdwfsoejcsk",
"end": 54013,
"score": 0.5743227005,
"start": 53996,
"tag": "KEY",
"value": "cedgowicdllievwww"
},
{
"context": "zdzbjygt]kglhdfghynsujkvnug\niccedgowicdllievwww[jrxauxixbmexkgfvvz]fysjaucelduzrxp[kubsdwfsoejcskemvl]wszejdloyalatpjq\noujirnbrjgnlq",
"end": 54048,
"score": 0.5552541018,
"start": 54016,
"tag": "KEY",
"value": "xauxixbmexkgfvvz]fysjaucelduzrxp"
},
{
"context": "gowicdllievwww[jrxauxixbmexkgfvvz]fysjaucelduzrxp[kubsdwfsoejcskemvl]wszejdloyalatpjq\noujirnbrjgnlqaksps[lphfkzalpspyhuxf]kuscphbgysuwhwyhot\nvwpxodocwmfhzkhyf[srbxugrfpcalangfdj]bopxssvinpngkthdqyw[vkkyaqsjhizvounptrb]iiwhyeuatcqnojoidrn[xiuphhwus",
"end": 54196,
"score": 0.5898568034,
"start": 54049,
"tag": "KEY",
"value": "kubsdwfsoejcskemvl]wszejdloyalatpjq\noujirnbrjgnlqaksps[lphfkzalpspyhuxf]kuscphbgysuwhwyhot\nvwpxodocwmfhzkhyf[srbxugrfpcalangfdj]bopxssvinpngkthdqyw"
},
{
"context": "cwmfhzkhyf[srbxugrfpcalangfdj]bopxssvinpngkthdqyw[vkkyaqsjhizvounptrb]iiwhyeuatcqnojoidrn[xiuphhwusooiewosd]gggtfejwtpburzqyr\nysoiymdfphxmw",
"end": 54236,
"score": 0.5841132998,
"start": 54197,
"tag": "KEY",
"value": "vkkyaqsjhizvounptrb]iiwhyeuatcqnojoidrn"
},
{
"context": "ngkthdqyw[vkkyaqsjhizvounptrb]iiwhyeuatcqnojoidrn[xiuphhwusooiewosd]gggtfejwtpburzqyr\nysoiymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhd",
"end": 54272,
"score": 0.5694506764,
"start": 54237,
"tag": "KEY",
"value": "xiuphhwusooiewosd]gggtfejwtpburzqyr"
},
{
"context": "atcqnojoidrn[xiuphhwusooiewosd]gggtfejwtpburzqyr\nysoiymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmants",
"end": 54291,
"score": 0.5861731768,
"start": 54274,
"tag": "KEY",
"value": "soiymdfphxmwlmlbm"
},
{
"context": "wusooiewosd]gggtfejwtpburzqyr\nysoiymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmof",
"end": 54307,
"score": 0.5388499498,
"start": 54293,
"tag": "KEY",
"value": "udcbwwqdfabqxc"
},
{
"context": "tfejwtpburzqyr\nysoiymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy",
"end": 54310,
"score": 0.5291778445,
"start": 54308,
"tag": "KEY",
"value": "ad"
},
{
"context": "wtpburzqyr\nysoiymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprla",
"end": 54325,
"score": 0.5533670187,
"start": 54312,
"tag": "KEY",
"value": "qcsxmpxwrhdwp"
},
{
"context": "ymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpv",
"end": 54343,
"score": 0.5315634608,
"start": 54327,
"tag": "KEY",
"value": "ullnmgtapmantsqr"
},
{
"context": "cbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgv",
"end": 54358,
"score": 0.5258952379,
"start": 54345,
"tag": "KEY",
"value": "kmzsizznrmofz"
},
{
"context": "csxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[w",
"end": 54364,
"score": 0.5060492754,
"start": 54363,
"tag": "KEY",
"value": "n"
},
{
"context": "xwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxu",
"end": 54370,
"score": 0.5214806199,
"start": 54368,
"tag": "KEY",
"value": "dh"
},
{
"context": "wp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcww",
"end": 54374,
"score": 0.5214218497,
"start": 54373,
"tag": "KEY",
"value": "l"
},
{
"context": "ullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcwwxhkp",
"end": 54378,
"score": 0.5291107893,
"start": 54377,
"tag": "KEY",
"value": "d"
},
{
"context": "nmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyv",
"end": 54394,
"score": 0.5233952999,
"start": 54380,
"tag": "KEY",
"value": "ffnyurmoaxrpvd"
},
{
"context": "mzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi\nvlyfxbogdlw",
"end": 54408,
"score": 0.5319579244,
"start": 54396,
"tag": "KEY",
"value": "ouuuowcgcsgv"
},
{
"context": "afdhfprlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi\nvlyfxbogdlwgzbuy[bkgd",
"end": 54418,
"score": 0.5058839321,
"start": 54416,
"tag": "KEY",
"value": "ns"
},
{
"context": "rlarkd]pffnyurmoaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi\nvlyfxbogdlwgzbuy[bkgdkemihx",
"end": 54424,
"score": 0.5139847994,
"start": 54422,
"tag": "KEY",
"value": "ww"
},
{
"context": "moaxrpvd\npouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi\nvlyfxbogdlwgzbuy[bkgdkemihxctcppam]ckevcp",
"end": 54438,
"score": 0.521723628,
"start": 54436,
"tag": "KEY",
"value": "gp"
},
{
"context": "\npouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi\nvlyfxbogdlwgzbuy[bkgdkemihxctcppam]ckevcpesenqjad",
"end": 54446,
"score": 0.5057782531,
"start": 54444,
"tag": "KEY",
"value": "vi"
},
{
"context": "cgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi\nvlyfxbogdlwgzbuy[bkgdkemihxctcppam]ckevcpesenqjadifwz[smx",
"end": 54454,
"score": 0.5292859077,
"start": 54452,
"tag": "KEY",
"value": "bo"
},
{
"context": "xyvi\nvlyfxbogdlwgzbuy[bkgdkemihxctcppam]ckevcpesenqjadifwz[smxfhxaidkueomhxyc]qwokiceophbpdyjovvy[tmz",
"end": 54493,
"score": 0.5059894323,
"start": 54492,
"tag": "KEY",
"value": "q"
},
{
"context": "phbpdyjovvy[tmzeqvagzhvviakrh]hionrvofdutctqdb\nupsxlrmcnqiikdzhlcy[hehttqfmtzwgrmxfo]irippmddtqadjgytw[zkxut",
"end": 54586,
"score": 0.5137666464,
"start": 54578,
"tag": "KEY",
"value": "xlrmcnqi"
},
{
"context": "tmzeqvagzhvviakrh]hionrvofdutctqdb\nupsxlrmcnqiikdzhlcy[hehttqfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgp",
"end": 54592,
"score": 0.5137815475,
"start": 54590,
"tag": "KEY",
"value": "hl"
},
{
"context": "dutctqdb\nupsxlrmcnqiikdzhlcy[hehttqfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noew",
"end": 54619,
"score": 0.5293720961,
"start": 54616,
"tag": "KEY",
"value": "ppm"
},
{
"context": "b\nupsxlrmcnqiikdzhlcy[hehttqfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noewwtzgqso",
"end": 54626,
"score": 0.5210808516,
"start": 54623,
"tag": "KEY",
"value": "adj"
},
{
"context": "lcy[hehttqfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noewwtzgqsoedpidbn[rjmmegjghjfp",
"end": 54646,
"score": 0.5056656599,
"start": 54641,
"tag": "KEY",
"value": "penbx"
},
{
"context": "httqfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noewwtzgqsoedpidbn[rjmmegjghjfposh",
"end": 54649,
"score": 0.5135216117,
"start": 54647,
"tag": "KEY",
"value": "co"
},
{
"context": "qfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuq",
"end": 54659,
"score": 0.5214464068,
"start": 54650,
"tag": "KEY",
"value": "iqjvbhjet"
},
{
"context": "o]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuqxnv",
"end": 54662,
"score": 0.5061076283,
"start": 54661,
"tag": "KEY",
"value": "r"
},
{
"context": "ddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek\noewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuqxnvfpopcg[iwwv",
"end": 54673,
"score": 0.5139632821,
"start": 54669,
"tag": "KEY",
"value": "wtzg"
},
{
"context": "nbx]coziqjvbhjetosrtek\noewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuqxnvfpopcg[iwwvjgzvbmkhcmlhm]teygdqux",
"end": 54695,
"score": 0.5059319139,
"start": 54693,
"tag": "KEY",
"value": "jf"
},
{
"context": "srtek\noewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuqxnvfpopcg[iwwvjgzvbmkhcmlhm]teygdquxhyhkrtiyjse[sknqn",
"end": 54712,
"score": 0.5059458613,
"start": 54710,
"tag": "KEY",
"value": "nv"
},
{
"context": "ek\noewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuqxnvfpopcg[iwwvjgzvbmkhcmlhm]teygdquxhyhkrtiyjse[sknqnxtiu",
"end": 54716,
"score": 0.529040575,
"start": 54713,
"tag": "KEY",
"value": "pop"
},
{
"context": "gwgzdgvdopqgknwbqt]jaxeauvefzuvvgxlid[fpahofmhzzirjuw]enbiyknxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihj",
"end": 54863,
"score": 0.5053943396,
"start": 54860,
"tag": "KEY",
"value": "juw"
},
{
"context": "pqgknwbqt]jaxeauvefzuvvgxlid[fpahofmhzzirjuw]enbiyknxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihjkejl\noazlgrzhv",
"end": 54877,
"score": 0.5190843344,
"start": 54869,
"tag": "KEY",
"value": "knxsjhux"
},
{
"context": "auvefzuvvgxlid[fpahofmhzzirjuw]enbiyknxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnba",
"end": 54889,
"score": 0.5081210732,
"start": 54883,
"tag": "KEY",
"value": "vtjwkk"
},
{
"context": "gxlid[fpahofmhzzirjuw]enbiyknxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrf",
"end": 54897,
"score": 0.5261740088,
"start": 54892,
"tag": "KEY",
"value": "cgeby"
},
{
"context": "ofmhzzirjuw]enbiyknxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpm",
"end": 54917,
"score": 0.5226426125,
"start": 54902,
"tag": "KEY",
"value": "vpqmpgzvihjkejl"
},
{
"context": "knxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnz",
"end": 54933,
"score": 0.5404046774,
"start": 54919,
"tag": "KEY",
"value": "azlgrzhvtekbje"
},
{
"context": "wkkhelcgebywj]ldvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]s",
"end": 54942,
"score": 0.5362427831,
"start": 54936,
"tag": "KEY",
"value": "nbajbb"
},
{
"context": "bywj]ldvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]svtfacsj",
"end": 54949,
"score": 0.5324105024,
"start": 54945,
"tag": "KEY",
"value": "rfap"
},
{
"context": "dvpqmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]svtfacsjwezo",
"end": 54953,
"score": 0.5285181999,
"start": 54951,
"tag": "KEY",
"value": "uh"
},
{
"context": "qmpgzvihjkejl\noazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]svtfacsjwezouqnyfa[ujbucyylrrv",
"end": 54971,
"score": 0.5493498445,
"start": 54954,
"tag": "KEY",
"value": "gtddpwaqibjnpmfhp"
},
{
"context": "zhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]svtfacsjwezouqnyfa[ujbucyylrrvuijybde]bgumlrbysgom",
"end": 54991,
"score": 0.5390194058,
"start": 54974,
"tag": "KEY",
"value": "arpxagmnzespusnm]"
},
{
"context": "ikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]svtfacsjwezouqnyfa[ujbucyylrrvuijybde]bgumlrbysgompdeo\neyescsulrvrxy",
"end": 55009,
"score": 0.5507384539,
"start": 54993,
"tag": "KEY",
"value": "tfacsjwezouqnyfa"
},
{
"context": "ibjnpmfhp[zxarpxagmnzespusnm]svtfacsjwezouqnyfa[ujbucyylrrvuijybde]bgumlrbysgompdeo\neyescsulrvrxyngf[wpzojptmtmqywwv",
"end": 55028,
"score": 0.5429599285,
"start": 55012,
"tag": "KEY",
"value": "bucyylrrvuijybde"
},
{
"context": "gmnzespusnm]svtfacsjwezouqnyfa[ujbucyylrrvuijybde]bgumlrbysgompdeo\neyescsulrvrxyngf[wpzojptmtmqywwvdz]oicscctycvplkhs",
"end": 55045,
"score": 0.5609161258,
"start": 55029,
"tag": "KEY",
"value": "bgumlrbysgompdeo"
},
{
"context": "jwezouqnyfa[ujbucyylrrvuijybde]bgumlrbysgompdeo\neyescsulrvrxyngf[wpzojptmtmqywwvdz]oicscctycvplkhsb\necwhdlfufxxytt",
"end": 55062,
"score": 0.5550533533,
"start": 55048,
"tag": "KEY",
"value": "escsulrvrxyngf"
},
{
"context": "yylrrvuijybde]bgumlrbysgompdeo\neyescsulrvrxyngf[wpzojptmtmqywwvdz]oicscctycvplkhsb\necwhdlfufxxytti[tjpmriwkymqufurt",
"end": 55080,
"score": 0.5364733338,
"start": 55065,
"tag": "KEY",
"value": "zojptmtmqywwvdz"
},
{
"context": "umlrbysgompdeo\neyescsulrvrxyngf[wpzojptmtmqywwvdz]oicscctycvplkhsb\necwhdlfufxxytti[tjpmriwkymqufurtux]kvcdcihmfxydmxb",
"end": 55097,
"score": 0.5509416461,
"start": 55081,
"tag": "KEY",
"value": "oicscctycvplkhsb"
},
{
"context": "csulrvrxyngf[wpzojptmtmqywwvdz]oicscctycvplkhsb\necwhdlfufxxytti[tjpmriwkymqufurtux]kvcdcihmfxydmxb\ntmlzauuiszcwim",
"end": 55113,
"score": 0.5605072975,
"start": 55100,
"tag": "KEY",
"value": "whdlfufxxytti"
},
{
"context": "ojptmtmqywwvdz]oicscctycvplkhsb\necwhdlfufxxytti[tjpmriwkymqufurtux]kvcdcihmfxydmxb\ntmlzauuiszcwimcvli[vnvyjnebqbpoao",
"end": 55132,
"score": 0.5409827232,
"start": 55116,
"tag": "KEY",
"value": "pmriwkymqufurtux"
},
{
"context": "cscctycvplkhsb\necwhdlfufxxytti[tjpmriwkymqufurtux]kvcdcihmfxydmxb\ntmlzauuiszcwimcvli[vnvyjnebqbpoaotvcre]eupqvhojcmo",
"end": 55148,
"score": 0.5413182378,
"start": 55133,
"tag": "KEY",
"value": "kvcdcihmfxydmxb"
},
{
"context": "dlfufxxytti[tjpmriwkymqufurtux]kvcdcihmfxydmxb\ntmlzauuiszcwimcvli[vnvyjnebqbpoaotvcre]eupqvhojcmoweveps[cmjkegzrksp",
"end": 55167,
"score": 0.5421820879,
"start": 55152,
"tag": "KEY",
"value": "zauuiszcwimcvli"
},
{
"context": "iwkymqufurtux]kvcdcihmfxydmxb\ntmlzauuiszcwimcvli[vnvyjnebqbpoaotvcre]eupqvhojcmoweveps[cmjkegzrkspdwmdyuo]rjcxvzssaopi",
"end": 55187,
"score": 0.5263807178,
"start": 55169,
"tag": "KEY",
"value": "nvyjnebqbpoaotvcre"
},
{
"context": "hmfxydmxb\ntmlzauuiszcwimcvli[vnvyjnebqbpoaotvcre]eupqvhojcmoweveps[cmjkegzrkspdwmdyuo]rjcxvzssaopikbi\nwmgjjrccewrspn",
"end": 55205,
"score": 0.5362128615,
"start": 55189,
"tag": "KEY",
"value": "upqvhojcmoweveps"
},
{
"context": "zcwimcvli[vnvyjnebqbpoaotvcre]eupqvhojcmoweveps[cmjkegzrkspdwmdyuo]rjcxvzssaopikbi\nwmgjjrccewrspnkcdg[kqagiunuhskruq",
"end": 55224,
"score": 0.5277507305,
"start": 55208,
"tag": "KEY",
"value": "jkegzrkspdwmdyuo"
},
{
"context": "bpoaotvcre]eupqvhojcmoweveps[cmjkegzrkspdwmdyuo]rjcxvzssaopikbi\nwmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuk",
"end": 55240,
"score": 0.5307607055,
"start": 55227,
"tag": "KEY",
"value": "cxvzssaopikbi"
},
{
"context": "vhojcmoweveps[cmjkegzrkspdwmdyuo]rjcxvzssaopikbi\nwmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkg",
"end": 55259,
"score": 0.5460087657,
"start": 55242,
"tag": "KEY",
"value": "mgjjrccewrspnkcdg"
},
{
"context": "dwmdyuo]rjcxvzssaopikbi\nwmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hww",
"end": 55269,
"score": 0.5133277774,
"start": 55267,
"tag": "KEY",
"value": "uh"
},
{
"context": "yuo]rjcxvzssaopikbi\nwmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwf",
"end": 55279,
"score": 0.5180612803,
"start": 55271,
"tag": "KEY",
"value": "ruqpsmql"
},
{
"context": "ikbi\nwmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmv",
"end": 55289,
"score": 0.5212644339,
"start": 55286,
"tag": "KEY",
"value": "gek"
},
{
"context": "wmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkx",
"end": 55293,
"score": 0.5212815404,
"start": 55291,
"tag": "KEY",
"value": "lf"
},
{
"context": "jjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkxwcv",
"end": 55296,
"score": 0.5208659768,
"start": 55294,
"tag": "KEY",
"value": "mu"
},
{
"context": "uhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn",
"end": 55319,
"score": 0.5057255626,
"start": 55317,
"tag": "KEY",
"value": "ww"
},
{
"context": "smql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsv",
"end": 55327,
"score": 0.5055687428,
"start": 55325,
"tag": "KEY",
"value": "cc"
},
{
"context": "ajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbf",
"end": 55335,
"score": 0.5292722583,
"start": 55334,
"tag": "KEY",
"value": "w"
},
{
"context": "zmu[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbfy[coophwm",
"end": 55344,
"score": 0.5059610009,
"start": 55343,
"tag": "KEY",
"value": "w"
},
{
"context": "[caldsteatfkgwqogjb]hwweftyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbfy[coophwmyxhb",
"end": 55348,
"score": 0.5057479739,
"start": 55346,
"tag": "KEY",
"value": "uv"
},
{
"context": "qogjb]hwweftyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbfy[coophwmyxhbhjjzvf]applfppvb",
"end": 55364,
"score": 0.529006958,
"start": 55360,
"tag": "KEY",
"value": "wknd"
},
{
"context": "tyntccwfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbfy[coophwmyxhbhjjzvf]applfppvbrejnvz[ipyt",
"end": 55375,
"score": 0.5056205988,
"start": 55371,
"tag": "KEY",
"value": "npct"
},
{
"context": "wfmw\nlvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbfy[coophwmyxhbhjjzvf]applfppvbrejnvz[ipytgybly",
"end": 55380,
"score": 0.5134661198,
"start": 55377,
"tag": "KEY",
"value": "jkq"
},
{
"context": "wkndxgtwn]jnpctsvjkqsybbfy[coophwmyxhbhjjzvf]applfppvbrejnvz[ipytgyblyicrnet]ogktxhleyrrhjwqqt\nxuiednr",
"end": 55412,
"score": 0.5136791468,
"start": 55410,
"tag": "KEY",
"value": "pp"
},
{
"context": "hjjzvf]applfppvbrejnvz[ipytgyblyicrnet]ogktxhleyrrhjwqqt\nxuiednrxcdyejmgcsg[mlmhqtzingaekkj]xmvjiydsu",
"end": 55449,
"score": 0.5058727264,
"start": 55448,
"tag": "KEY",
"value": "h"
},
{
"context": "hlyejxezndbs\nmhsngxyweukngbybc[uiapxfrpfptauhiw]ruywrhlzekcudjgkw\nurxtzdmrfedalnuuha[ioeyevidklsxpqkaahw]jhcrcdzwljhnudk[dfvcwbualikbx",
"end": 57599,
"score": 0.5990290642,
"start": 57565,
"tag": "KEY",
"value": "ywrhlzekcudjgkw\nurxtzdmrfedalnuuha"
},
{
"context": "xfrpfptauhiw]ruywrhlzekcudjgkw\nurxtzdmrfedalnuuha[ioeyevidklsxpqkaahw]jhcrcdzwljhnudk[dfvcwbualikbxihqg]rhhwlhcfpbkexew",
"end": 57619,
"score": 0.566036284,
"start": 57600,
"tag": "KEY",
"value": "ioeyevidklsxpqkaahw"
},
{
"context": "zekcudjgkw\nurxtzdmrfedalnuuha[ioeyevidklsxpqkaahw]jhcrcdzwljhnudk[dfvcwbualikbxihqg]rhhwlhcfpbkexewpgn[gkgaygbsxbox",
"end": 57635,
"score": 0.5730041265,
"start": 57620,
"tag": "KEY",
"value": "jhcrcdzwljhnudk"
},
{
"context": "rfedalnuuha[ioeyevidklsxpqkaahw]jhcrcdzwljhnudk[dfvcwbualikbxihqg]rhhwlhcfpbkexewpgn[gkgaygbsxboxypxbq]trsaulacafchpndootk\njmlhqgixgtf",
"end": 57672,
"score": 0.5581317544,
"start": 57638,
"tag": "KEY",
"value": "vcwbualikbxihqg]rhhwlhcfpbkexewpgn"
},
{
"context": "rcdzwljhnudk[dfvcwbualikbxihqg]rhhwlhcfpbkexewpgn[gkgaygbsxboxypxbq]trsaulacafchpndootk\njmlhqgixgtfbcxyt[vhwpsfjufpbampqyqa]wwzszedhhdmztex\nexilqpohtavxyp",
"end": 57727,
"score": 0.549021244,
"start": 57673,
"tag": "KEY",
"value": "gkgaygbsxboxypxbq]trsaulacafchpndootk\njmlhqgixgtfbcxyt"
},
{
"context": "bsxboxypxbq]trsaulacafchpndootk\njmlhqgixgtfbcxyt[vhwpsfjufpbampqyqa]wwzszedhhdmztex\nexilqpohtavxypsco[wtjdsrkpmulcrao",
"end": 57746,
"score": 0.5326455235,
"start": 57729,
"tag": "KEY",
"value": "hwpsfjufpbampqyqa"
},
{
"context": "acafchpndootk\njmlhqgixgtfbcxyt[vhwpsfjufpbampqyqa]wwzszedhhdmztex\nexilqpohtavxypsco[wtjdsrkpmulcraoaooz]ozlzxuml",
"end": 57759,
"score": 0.5365684628,
"start": 57747,
"tag": "KEY",
"value": "wwzszedhhdmz"
},
{
"context": "mlhqgixgtfbcxyt[vhwpsfjufpbampqyqa]wwzszedhhdmztex\nexilqpohtavxypsco[wtjdsrkpmulcraoaooz]ozlzxumlxhyy",
"end": 57762,
"score": 0.6043623686,
"start": 57762,
"tag": "KEY",
"value": ""
},
{
"context": "qgixgtfbcxyt[vhwpsfjufpbampqyqa]wwzszedhhdmztex\nexilqpohtavxypsco[wtjdsrkpmulcraoaooz]ozlzxumlxhyyvcg[btpzjjbgjlydtfq]suniwwnwobellpbwd\nglgwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhab",
"end": 57850,
"score": 0.5805445313,
"start": 57765,
"tag": "KEY",
"value": "ilqpohtavxypsco[wtjdsrkpmulcraoaooz]ozlzxumlxhyyvcg[btpzjjbgjlydtfq]suniwwnwobellpbwd"
},
{
"context": "lzxumlxhyyvcg[btpzjjbgjlydtfq]suniwwnwobellpbwd\nglgwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhabbrazqtgu[howksatec",
"end": 57869,
"score": 0.5570647717,
"start": 57853,
"tag": "KEY",
"value": "gwpqmljnfxjwsgae"
},
{
"context": "zjjbgjlydtfq]suniwwnwobellpbwd\nglgwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhabbrazqtgu[howksatecaqyemgxpye]b",
"end": 57881,
"score": 0.5133315325,
"start": 57870,
"tag": "KEY",
"value": "hdnpgizkkaf"
},
{
"context": "niwwnwobellpbwd\nglgwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhabbrazqtgu[howksatecaqyemgxpye]bvrcfhawv",
"end": 57889,
"score": 0.5288221836,
"start": 57885,
"tag": "KEY",
"value": "alpg"
},
{
"context": "wobellpbwd\nglgwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhabbrazqtgu[howksatecaqyemgxpye]bvrcfhawviubspmkeon",
"end": 57899,
"score": 0.5240699053,
"start": 57890,
"tag": "KEY",
"value": "pskoghwqh"
},
{
"context": "gwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhabbrazqtgu[howksatecaqyemgxpye]bvrcfhawviubspmkeon[qciouynjd",
"end": 57909,
"score": 0.5262179971,
"start": 57903,
"tag": "KEY",
"value": "azqtgu"
},
{
"context": "kqfalpg]pskoghwqhabbrazqtgu[howksatecaqyemgxpye]bvrcfhawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbs",
"end": 57949,
"score": 0.5226948857,
"start": 57932,
"tag": "KEY",
"value": "rcfhawviubspmkeon"
},
{
"context": "azqtgu[howksatecaqyemgxpye]bvrcfhawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbsj[nslt",
"end": 57955,
"score": 0.5131992698,
"start": 57953,
"tag": "KEY",
"value": "ou"
},
{
"context": "ksatecaqyemgxpye]bvrcfhawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbsj[nsltoiyaeyfkyg",
"end": 57965,
"score": 0.505284667,
"start": 57963,
"tag": "KEY",
"value": "lp"
},
{
"context": "ecaqyemgxpye]bvrcfhawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvx",
"end": 57979,
"score": 0.5145611167,
"start": 57967,
"tag": "KEY",
"value": "ruofqzvhiaqb"
},
{
"context": "vrcfhawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvxmee",
"end": 57981,
"score": 0.528490901,
"start": 57981,
"tag": "KEY",
"value": ""
},
{
"context": "hawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvxmeeknddd",
"end": 57987,
"score": 0.5135318041,
"start": 57985,
"tag": "KEY",
"value": "qq"
},
{
"context": "iubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm\nekyqqslkiuaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvxmeekndddu[wa",
"end": 57991,
"score": 0.5210566521,
"start": 57989,
"tag": "KEY",
"value": "ki"
},
{
"context": "gzxjbsdl]avnrytuqubaojek\noklkhatqbeccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbm",
"end": 58482,
"score": 0.5203469992,
"start": 58477,
"tag": "KEY",
"value": "ampkh"
},
{
"context": "l]avnrytuqubaojek\noklkhatqbeccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravs",
"end": 58486,
"score": 0.5281752348,
"start": 58484,
"tag": "KEY",
"value": "jw"
},
{
"context": "vnrytuqubaojek\noklkhatqbeccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndaz",
"end": 58491,
"score": 0.5320335627,
"start": 58487,
"tag": "KEY",
"value": "hwne"
},
{
"context": "ubaojek\noklkhatqbeccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgb",
"end": 58500,
"score": 0.5257384181,
"start": 58494,
"tag": "KEY",
"value": "haixem"
},
{
"context": "atqbeccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udn",
"end": 58510,
"score": 0.5205215216,
"start": 58507,
"tag": "KEY",
"value": "nqu"
},
{
"context": "ccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqyd",
"end": 58513,
"score": 0.5284012556,
"start": 58512,
"tag": "KEY",
"value": "q"
},
{
"context": "aq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzf",
"end": 58518,
"score": 0.5282558203,
"start": 58517,
"tag": "KEY",
"value": "b"
},
{
"context": "jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllm",
"end": 58521,
"score": 0.5358822346,
"start": 58520,
"tag": "KEY",
"value": "m"
},
{
"context": "vcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuv",
"end": 58537,
"score": 0.5267502069,
"start": 58522,
"tag": "KEY",
"value": "rpyliiqlbmravsu"
},
{
"context": "nefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxi",
"end": 58552,
"score": 0.5207529664,
"start": 58539,
"tag": "KEY",
"value": "azldpxyqjgbih"
},
{
"context": "[xbnquvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmr",
"end": 58556,
"score": 0.5203793645,
"start": 58554,
"tag": "KEY",
"value": "nl"
},
{
"context": "uvzqozdzbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb",
"end": 58564,
"score": 0.512929976,
"start": 58559,
"tag": "KEY",
"value": "nqydj"
},
{
"context": "zbntm]rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgek",
"end": 58570,
"score": 0.5168001652,
"start": 58566,
"tag": "KEY",
"value": "zfll"
},
{
"context": "rpyliiqlbmravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvab",
"end": 58576,
"score": 0.5166339874,
"start": 58572,
"tag": "KEY",
"value": "ayne"
},
{
"context": "mravsu\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh\nzoo",
"end": 58585,
"score": 0.5050389767,
"start": 58581,
"tag": "KEY",
"value": "vmgb"
},
{
"context": "u\ndazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh\nzoojpgbyoj",
"end": 58592,
"score": 0.5129230618,
"start": 58586,
"tag": "KEY",
"value": "uvgxtm"
},
{
"context": "nl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh\nzoojpgbyojsophrflji[bobvppel",
"end": 58610,
"score": 0.5101105571,
"start": 58604,
"tag": "KEY",
"value": "mrobll"
},
{
"context": "fllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh\nzoojpgbyojsophrflji[bobvppelwuyynrwin",
"end": 58619,
"score": 0.5207508206,
"start": 58617,
"tag": "KEY",
"value": "ge"
},
{
"context": "xayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh\nzoojpgbyojsophrflji[bobvppelwuyynrwinzj]kfsldwgeqt",
"end": 58631,
"score": 0.5238314271,
"start": 58621,
"tag": "KEY",
"value": "umvabcjzmh"
},
{
"context": "xuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh\nzoojpgbyojsophrflji[bobvppelwuyynrwinzj]kfsldwgeqtbvtsfy[icdvpxikjxhd",
"end": 58651,
"score": 0.5427452326,
"start": 58635,
"tag": "KEY",
"value": "jpgbyojsophrflji"
},
{
"context": "ujmrobllilgb]rrgekfumvabcjzmh\nzoojpgbyojsophrflji[bobvppelwuyynrwinzj]kfsldwgeqtbvtsfy[icdvpxikjxhdaipte]kxyxztmtqiks",
"end": 58669,
"score": 0.5272828341,
"start": 58652,
"tag": "KEY",
"value": "bobvppelwuyynrwin"
},
{
"context": "mvabcjzmh\nzoojpgbyojsophrflji[bobvppelwuyynrwinzj]kfsldwgeqtbvtsfy[icdvpxikjxhdaipte]kxyxztmtqiksvidn\nensxpontjxipkc",
"end": 58688,
"score": 0.5425568819,
"start": 58672,
"tag": "KEY",
"value": "kfsldwgeqtbvtsfy"
},
{
"context": "yojsophrflji[bobvppelwuyynrwinzj]kfsldwgeqtbvtsfy[icdvpxikjxhdaipte]kxyxztmtqiksvidn\nensxpontjxipkckasr[bdikuxubz",
"end": 58702,
"score": 0.5402627587,
"start": 58689,
"tag": "KEY",
"value": "icdvpxikjxhda"
},
{
"context": "vppelwuyynrwinzj]kfsldwgeqtbvtsfy[icdvpxikjxhdaipte]kxyxztmtqiksvidn\nensxpontjxipkckasr[bdikuxubzmiuhsb]rffefjgowtxzjlt",
"end": 58723,
"score": 0.5505982637,
"start": 58705,
"tag": "KEY",
"value": "e]kxyxztmtqiksvidn"
},
{
"context": "wgeqtbvtsfy[icdvpxikjxhdaipte]kxyxztmtqiksvidn\nensxpontjxipkckasr[bdikuxubzmiuhsb]rffefjgowtxzjltz\nsuqgbqjkbymetile",
"end": 58742,
"score": 0.5566200614,
"start": 58727,
"tag": "KEY",
"value": "xpontjxipkckasr"
},
{
"context": "pxikjxhdaipte]kxyxztmtqiksvidn\nensxpontjxipkckasr[bdikuxubzmiuhsb]rffefjgowtxzjltz\nsuqgbqjkbymetile[jmgtojqeprpffko",
"end": 58758,
"score": 0.5404411554,
"start": 58743,
"tag": "KEY",
"value": "bdikuxubzmiuhsb"
},
{
"context": "yxztmtqiksvidn\nensxpontjxipkckasr[bdikuxubzmiuhsb]rffefjgowtxzjltz\nsuqgbqjkbymetile[jmgtojqeprpffkogv]pnffnorgbyrwddl",
"end": 58775,
"score": 0.5420649648,
"start": 58759,
"tag": "KEY",
"value": "rffefjgowtxzjltz"
},
{
"context": "pontjxipkckasr[bdikuxubzmiuhsb]rffefjgowtxzjltz\nsuqgbqjkbymetile[jmgtojqeprpffkogv]pnffnorgbyrwddlm[pozvbivhruebmm",
"end": 58792,
"score": 0.5622411966,
"start": 58778,
"tag": "KEY",
"value": "qgbqjkbymetile"
},
{
"context": "bdikuxubzmiuhsb]rffefjgowtxzjltz\nsuqgbqjkbymetile[jmgtojqeprpffkogv]pnffnorgbyrwddlm[pozvbivhruebmmjwogs]fuleotnbbnpu",
"end": 58810,
"score": 0.533233285,
"start": 58793,
"tag": "KEY",
"value": "jmgtojqeprpffkogv"
},
{
"context": "fefjgowtxzjltz\nsuqgbqjkbymetile[jmgtojqeprpffkogv]pnffnorgbyrwddlm[pozvbivhruebmmjwogs]fuleotnbbnpuqre\nyjwcijeeaqhjd",
"end": 58827,
"score": 0.5492866039,
"start": 58811,
"tag": "KEY",
"value": "pnffnorgbyrwddlm"
},
{
"context": "bqjkbymetile[jmgtojqeprpffkogv]pnffnorgbyrwddlm[pozvbivhruebmmjwogs]fuleotnbbnpuqre\nyjwcijeeaqhjdmu[emqntgsefvphvpc]h",
"end": 58847,
"score": 0.5397187471,
"start": 58830,
"tag": "KEY",
"value": "zvbivhruebmmjwogs"
},
{
"context": "jqeprpffkogv]pnffnorgbyrwddlm[pozvbivhruebmmjwogs]fuleotnbbnpuqre\nyjwcijeeaqhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[",
"end": 58863,
"score": 0.5630551577,
"start": 58848,
"tag": "KEY",
"value": "fuleotnbbnpuqre"
},
{
"context": "norgbyrwddlm[pozvbivhruebmmjwogs]fuleotnbbnpuqre\nyjwcijeeaqhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihw",
"end": 58879,
"score": 0.5533638,
"start": 58865,
"tag": "KEY",
"value": "jwcijeeaqhjdmu"
},
{
"context": "ivhruebmmjwogs]fuleotnbbnpuqre\nyjwcijeeaqhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbyt",
"end": 58886,
"score": 0.5168566704,
"start": 58883,
"tag": "KEY",
"value": "ntg"
},
{
"context": "mmjwogs]fuleotnbbnpuqre\nyjwcijeeaqhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluo",
"end": 58895,
"score": 0.5202183723,
"start": 58890,
"tag": "KEY",
"value": "phvpc"
},
{
"context": "s]fuleotnbbnpuqre\nyjwcijeeaqhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluoygddky[fbkfhkdwubn",
"end": 58913,
"score": 0.5213803053,
"start": 58896,
"tag": "KEY",
"value": "hddshsiudkvrzghal"
},
{
"context": "qhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfap",
"end": 58924,
"score": 0.5053699613,
"start": 58923,
"tag": "KEY",
"value": "j"
},
{
"context": "mu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshm",
"end": 58931,
"score": 0.5125776529,
"start": 58927,
"tag": "KEY",
"value": "hwli"
},
{
"context": "qntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshmwi",
"end": 58933,
"score": 0.5046058297,
"start": 58932,
"tag": "KEY",
"value": "b"
},
{
"context": "phvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshmwis\nfbqpgkdmhvtjmkep",
"end": 58951,
"score": 0.5217536688,
"start": 58940,
"tag": "KEY",
"value": "mcluoygddky"
},
{
"context": "ufjmtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshmwis\nfbqpgkdmhvtjmkepui[harjpumdzotcylumk]",
"end": 58972,
"score": 0.5052538514,
"start": 58971,
"tag": "KEY",
"value": "f"
},
{
"context": "mtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshmwis\nfbqpgkdmhvtjmkepui[harjpumdzotcylumk]fglgadntxizpj",
"end": 58984,
"score": 0.519190073,
"start": 58974,
"tag": "KEY",
"value": "gcqrshmwis"
},
{
"context": "eummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshmwis\nfbqpgkdmhvtjmkepui[harjpumdzotcylumk]fglgadntxizpjsy\niforzbbzeepoddb",
"end": 59003,
"score": 0.5309875011,
"start": 58987,
"tag": "KEY",
"value": "qpgkdmhvtjmkepui"
},
{
"context": "pgcqrshmwis\nfbqpgkdmhvtjmkepui[harjpumdzotcylumk]fglgadntxizpjsy\niforzbbzeepoddbalyb[cutsqxklmoljnexuaxo]",
"end": 59028,
"score": 0.516808629,
"start": 59023,
"tag": "KEY",
"value": "glgad"
},
{
"context": "s\nfbqpgkdmhvtjmkepui[harjpumdzotcylumk]fglgadntxizpjsy\niforzbbzeepoddbalyb[cutsqxklmoljnexuaxo]ajmokylz",
"end": 59036,
"score": 0.5284221172,
"start": 59033,
"tag": "KEY",
"value": "pjs"
},
{
"context": "hvtjmkepui[harjpumdzotcylumk]fglgadntxizpjsy\niforzbbzeepoddbalyb[cutsqxklmoljnexuaxo]ajmokylzrakmmlxcub[",
"end": 59047,
"score": 0.509205997,
"start": 59043,
"tag": "KEY",
"value": "bbze"
},
{
"context": "epui[harjpumdzotcylumk]fglgadntxizpjsy\niforzbbzeepoddbalyb[cutsqxklmoljnexuaxo]ajmokylzrakmmlxcub[rxim",
"end": 59051,
"score": 0.5053862333,
"start": 59049,
"tag": "KEY",
"value": "od"
},
{
"context": "xizpjsy\niforzbbzeepoddbalyb[cutsqxklmoljnexuaxo]ajmokylzrakmmlxcub[rximbemhrndnogfzf]pokqtdgeipqlswvri",
"end": 59082,
"score": 0.5049253702,
"start": 59080,
"tag": "KEY",
"value": "mo"
},
{
"context": "exuaxo]ajmokylzrakmmlxcub[rximbemhrndnogfzf]pokqtdgeipqlswvrim\numtkjkgoyutnxym[nizqgpcfftiydbqutr]rzgv",
"end": 59123,
"score": 0.5053706169,
"start": 59121,
"tag": "KEY",
"value": "ge"
},
{
"context": "mokylzrakmmlxcub[rximbemhrndnogfzf]pokqtdgeipqlswvrim\numtkjkgoyutnxym[nizqgpcfftiydbqutr]rzgvklegcqnetq",
"end": 59133,
"score": 0.5126444101,
"start": 59130,
"tag": "KEY",
"value": "rim"
},
{
"context": "kgoyutnxym[nizqgpcfftiydbqutr]rzgvklegcqnetqkg\nzdykayyaybkihcyc[qgmrngcbixqqdbvx]hcicjeavoycywax[bkjnxv",
"end": 59192,
"score": 0.5054420233,
"start": 59189,
"tag": "KEY",
"value": "kay"
},
{
"context": "nxym[nizqgpcfftiydbqutr]rzgvklegcqnetqkg\nzdykayyaybkihcyc[qgmrngcbixqqdbvx]hcicjeavoycywax[bkjnxvfknauo",
"end": 59198,
"score": 0.5052002668,
"start": 59195,
"tag": "KEY",
"value": "bki"
},
{
"context": "ehmw[bushvhvxdeznysxjr]hnrekmeoxifqrsq[ynfaykimagehxbcxhka]ucdpjqxgcyyhvhobmdj[ywcjwcveqtzgqkzx]poruhxqfxuyhgqog\nmcxpgupgbiznbdjjfzn[nxackwalqammtynl]qnrwciginnlyfxiyiv[hvovgilkgigolcolf]fyqfptzmgmzbgkh\nkwzvwimdnfngglsqk[tvhytletnpwmogdq]zjndivdpftqyecxhnyi[iiqioqsyphxjxdy]diyppzzxximnlgyhzh[ylyboefbsjwjkkxbar]fuvxtvpoyomnkwjwsg\nvlcyiigmifwxnvcdw[enlnmvlfghlbwib]lwsaxkcpgluzkmx[kglnyaprvaagswvfg]vvdeqkfdrjeqhfp[fcqxurkfmmorcenve]copdpqayaaolcox\nrxjfsazvypysbra[pwnsoibariykvjgubu]nyuqsygdavnxfakwlm\nkkgyhdbiwyexyhxgd[aigctwltgdrvyxbs]xypkkzuhuzpxygupvcz[lwjjxozwzniiywpv]koyfescfdlnyzhcgxin\ncmgqspcojjombguppb[atincfnafdmbhtgzk]bidgxkkmgvgbeilvk\nfphcdhkhetqucchmtm[ieoeogxnvdaxsayhc]xeigwycormzmwgf[cllkxjnlkjdinvouy]ammsmdyoyvlpldkgy\npjewtnwxajalxzrw[sreuxtjgiwxqmsfkj]nghqriebzmyhgcgoks\ntrtaefztlkjjzbxpip[fgpnmiewbmzvqfxoikc]wpemgpznkrerwlgr[ptjdchwakbcdmrjwxnf]unaxvqinaglgfeoi[ekfifzrybpfkjiehpsi]bxkuqrbzgfctzult\noyuobptvcbpmiiw[fhefjfnvmrpohae]uykwxrtssawavbuk[cyabwfmaxwqgmudcmpx]vahdtwp",
"end": 60270,
"score": 0.9039510489,
"start": 59371,
"tag": "KEY",
"value": "hxbcxhka]ucdpjqxgcyyhvhobmdj[ywcjwcveqtzgqkzx]poruhxqfxuyhgqog\nmcxpgupgbiznbdjjfzn[nxackwalqammtynl]qnrwciginnlyfxiyiv[hvovgilkgigolcolf]fyqfptzmgmzbgkh\nkwzvwimdnfngglsqk[tvhytletnpwmogdq]zjndivdpftqyecxhnyi[iiqioqsyphxjxdy]diyppzzxximnlgyhzh[ylyboefbsjwjkkxbar]fuvxtvpoyomnkwjwsg\nvlcyiigmifwxnvcdw[enlnmvlfghlbwib]lwsaxkcpgluzkmx[kglnyaprvaagswvfg]vvdeqkfdrjeqhfp[fcqxurkfmmorcenve]copdpqayaaolcox\nrxjfsazvypysbra[pwnsoibariykvjgubu]nyuqsygdavnxfakwlm\nkkgyhdbiwyexyhxgd[aigctwltgdrvyxbs]xypkkzuhuzpxygupvcz[lwjjxozwzniiywpv]koyfescfdlnyzhcgxin\ncmgqspcojjombguppb[atincfnafdmbhtgzk]bidgxkkmgvgbeilvk\nfphcdhkhetqucchmtm[ieoeogxnvdaxsayhc]xeigwycormzmwgf[cllkxjnlkjdinvouy]ammsmdyoyvlpldkgy\npjewtnwxajalxzrw[sreuxtjgiwxqmsfkj]nghqriebzmyhgcgoks\ntrtaefztlkjjzbxpip[fgpnmiewbmzvqfxoikc]wpemgpznkrerwlgr[ptjdchwakbcdmrjwxnf]unaxvqinaglgfeoi[ekfifzrybpfkjiehpsi]bxkuqrbzgfctzult\noyuobptvcbpmiiw[fhefjfnvmr"
},
{
"context": "ckltxyfxyj[vdlbfpobsnokudzqab]dhhsatcnsuifpwsqe\niscfknfmwdnipkvxcma[shkdzhzbrpdpacel]nrbkhvxfyoslwfhkldm\npoxfvymkfzuhovx[wyjhfwnozjdghzuenkx]tpldycstgwuagjrz\ntaqbysrkuxvxncweld[vquzvmysufavywl]irixymrfapfwvnorzx[wznvlqeltnvzjhd]wgpdkhhoypflubfznpa\nveeytotjubsezxvh[mlbakwdftkyfbpid]qehdyxzxctrdvvmpil[cfnhvbvjkuqwyzgie]wxbvbxibaqoefhzkimu[vcdhqkaxllbdmbuxowp]ifrawmsqulaizxxqytk\npbwglxgdiijskqrksnc[xryasmfvaqakaovslr]wslyywaninmrddik[uhieoolqnqxdmmltpyp]sgjoghttawugzcwzstd[zwhohshbhultyyoti]anvjcthgqapmftxhe\nwmqxexytqfmdfgzkw[gbjexhyoufthdghiibi]ejhfohkfsaixzvtx\nmsrjuadzrxxolmxfxq[slurgkvzzfgqpnwdhxg]mhvtwtqplrxzvrmwtw\nvzrfylnagvwqrbukxkt[wofldsbvtgzqsfxbl]scrfvyjrwyqmrsbot[bngltozaybaghfij]msdphikahbxebdar\ncqpwfhfmgioybwsq[judebliwtcirgrtjcs]zrprctntnwcrszilkws[qwoaitshrtavmpse]zubuyfygpgdycnytnt[ctkvsrkjluwdqeeyku]ksncsilzwvkwtmn\nlwtwlwmtqtjqiym[nxfgdevoxcdimcnb]koarjfajilpityyhmbc[emidtlwzhvfmrpqbhik]gsefmkukbjyhgdclj\nfesirdkrgzn",
"end": 62027,
"score": 0.7072552443,
"start": 61184,
"tag": "KEY",
"value": "cfknfmwdnipkvxcma[shkdzhzbrpdpacel]nrbkhvxfyoslwfhkldm\npoxfvymkfzuhovx[wyjhfwnozjdghzuenkx]tpldycstgwuagjrz\ntaqbysrkuxvxncweld[vquzvmysufavywl]irixymrfapfwvnorzx[wznvlqeltnvzjhd]wgpdkhhoypflubfznpa\nveeytotjubsezxvh[mlbakwdftkyfbpid]qehdyxzxctrdvvmpil[cfnhvbvjkuqwyzgie]wxbvbxibaqoefhzkimu[vcdhqkaxllbdmbuxowp]ifrawmsqulaizxxqytk\npbwglxgdiijskqrksnc[xryasmfvaqakaovslr]wslyywaninmrddik[uhieoolqnqxdmmltpyp]sgjoghttawugzcwzstd[zwhohshbhultyyoti]anvjcthgqapmftxhe\nwmqxexytqfmdfgzkw[gbjexhyoufthdghiibi]ejhfohkfsaixzvtx\nmsrjuadzrxxolmxfxq[slurgkvzzfgqpnwdhxg]mhvtwtqplrxzvrmwtw\nvzrfylnagvwqrbukxkt[wofldsbvtgzqsfxbl]scrfvyjrwyqmrsbot[bngltozaybaghfij]msdphikahbxebdar\ncqpwfhfmgioybwsq[judebliwtcirgrtjcs]zrprctntnwcrszilkws[qwoaitshrtavmpse]zubuyfygpgdycnytnt[ctkvsrkjluwdqeeyku]ksncsilzwvkwtmn\nlwtwlwmtqtjqiym[nxfgdevoxcdimcnb]koarjfajilpityyhmbc"
},
{
"context": "wlwmtqtjqiym[nxfgdevoxcdimcnb]koarjfajilpityyhmbc[emidtlwzhvfmrpqbhik]gsefmkukbjyhgdclj\nfesirdkrgznhplitqo[erpgpujpndzzaho]wqzethjbporhxo",
"end": 62065,
"score": 0.5397151113,
"start": 62028,
"tag": "KEY",
"value": "emidtlwzhvfmrpqbhik]gsefmkukbjyhgdclj"
},
{
"context": "tlwzhvfmrpqbhik]gsefmkukbjyhgdclj\nfesirdkrgznhplitqo[erpgpujpndzzaho]wqzethjbporhxokift[rwelvzaswcwwstny]xgqpqjlcukivddrlv\nzozyeoozrjrbdccroq[pffesupjavtnanbmhae]gatiaxphiwsrnnwloj[viampjpkjyrhypjmto]vsqwksazgcaggsv\nfycnqvxfihmjnkjogf[jjxnxjolrlkbcqp]pdqtmmxyrfzpbbdm[fdaejpjrasjphazkc]hntqbpjeliiqmtne\nyeounyqfhbnbmjc[mzbietsligfkult]bywnnvpavyhinsm[xuwaqmeiaffetkpkvoq]ufmjhazqnhdmqyecja[ztqflfgjsoqybaf]pjnbnrsnmfrgqamxb\nycyxnmxnttqiqnsnmi[wkrtuoeddszbizysqv]yzbksxesoscmlzquqfp[unqyazgxjzdgvhjylfd]kunijisskcelgtxzp[ciyxcpyyefoyhqm]eoqszchkgdhttjn\nevecetgcdniectsnadi[skxzpvvuabkudplm]zqykqoduyjvgssjin[uyojccqmnfbztpdnwvs]uzysyjyjvowlsvpqa\ncqkietrmjexdkqb[rhubbesuoeclwmtakqe]ivdnvnndssfznwmhbrk[zmjmfprnnowiedabycu]rmgmbgvihdcuzarhbum\nzdhjklxbktkqeglhts[iqagcckadjftptawh]ezdtjbiebkjvivekdzt[gwehifbjyqnazsgzziv]fhdnwvcwnamqdaeb[rgxvlygqlocpfgqfpd]kkssrbltmsamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqna",
"end": 62905,
"score": 0.7672768235,
"start": 62082,
"tag": "KEY",
"value": "qo[erpgpujpndzzaho]wqzethjbporhxokift[rwelvzaswcwwstny]xgqpqjlcukivddrlv\nzozyeoozrjrbdccroq[pffesupjavtnanbmhae]gatiaxphiwsrnnwloj[viampjpkjyrhypjmto]vsqwksazgcaggsv\nfycnqvxfihmjnkjogf[jjxnxjolrlkbcqp]pdqtmmxyrfzpbbdm[fdaejpjrasjphazkc]hntqbpjeliiqmtne\nyeounyqfhbnbmjc[mzbietsligfkult]bywnnvpavyhinsm[xuwaqmeiaffetkpkvoq]ufmjhazqnhdmqyecja[ztqflfgjsoqybaf]pjnbnrsnmfrgqamxb\nycyxnmxnttqiqnsnmi[wkrtuoeddszbizysqv]yzbksxesoscmlzquqfp[unqyazgxjzdgvhjylfd]kunijisskcelgtxzp[ciyxcpyyefoyhqm]eoqszchkgdhttjn\nevecetgcdniectsnadi[skxzpvvuabkudplm]zqykqoduyjvgssjin[uyojccqmnfbztpdnwvs]uzysyjyjvowlsvpqa\ncqkietrmjexdkqb[rhubbesuoeclwmtakqe]ivdnvnndssfznwmhbrk[zmjmfprnnowiedabycu]rmgmbgvihdcuzarhbum\nzdhjklxbktkqeglhts[iqagcckadjftptawh]ezdtjbiebkjvivekdzt[gwehifbjyqnazsgzziv]fhdnwvcwnamqdaeb[rgxvlygqlocpfgqfpd]kkssrbltmsamrpiedjw"
},
{
"context": "wnamqdaeb[rgxvlygqlocpfgqfpd]kkssrbltmsamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\nc",
"end": 62912,
"score": 0.5725073814,
"start": 62907,
"tag": "KEY",
"value": "lttcs"
},
{
"context": "aeb[rgxvlygqlocpfgqfpd]kkssrbltmsamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmg",
"end": 62923,
"score": 0.5591800213,
"start": 62913,
"tag": "KEY",
"value": "wphepmcike"
},
{
"context": "locpfgqfpd]kkssrbltmsamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmgtofy",
"end": 62927,
"score": 0.5038158894,
"start": 62925,
"tag": "KEY",
"value": "uf"
},
{
"context": "]kkssrbltmsamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmgtofy[hhoqwyrkh",
"end": 62937,
"score": 0.5349294543,
"start": 62935,
"tag": "KEY",
"value": "vk"
},
{
"context": "bltmsamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmgtofy[hhoqwyrkhuweoet",
"end": 62943,
"score": 0.5191069245,
"start": 62941,
"tag": "KEY",
"value": "fu"
},
{
"context": "msamrpiedjw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fv",
"end": 62950,
"score": 0.5217395425,
"start": 62944,
"tag": "KEY",
"value": "ioqzvl"
},
{
"context": "djw\njlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fvpxylsiw",
"end": 62957,
"score": 0.5190611482,
"start": 62952,
"tag": "KEY",
"value": "jqnav"
},
{
"context": "tcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv\ncfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fvpxylsiwyin",
"end": 62960,
"score": 0.5120315552,
"start": 62959,
"tag": "KEY",
"value": "v"
},
{
"context": "jqnavymv\ncfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fvpxylsiwyinialjsg[hqahlwsskotrjlid]azfumcjerwanpukap[iqjcxdwtvmvjkoukcvq]koeodiiywozmrtktxur\nllaevsbyxpkahrii[dxfpfzvxwpzedtvhtlx]corhjnbybhlahvogj[aeukoetmokgjlswve]iwamrxgeszbcnzsxy\nabxkqpiyavrfgxjbmx[uqzsbujxbmrjyxf]dsiktkwxjovhabuir[baqaipezkcvfjyqc]svvyuknankhxlttwng[kwsoccnvjnctnxa]zgnsnelphgyhfolihu\noquaqiwlkhwwfxnox[rifozvbwcclekccqk]mmmgicxioqwhlvjpsu[tndpmsoarmdojex]spywovxndxncbpshb[rgceaghxxvddklc]osijkijuctxjhtbv\newucowyzjaqacfu[hruhcyudsttblexjwy]mjxsgzalkyasstkuzi[drnyfhqgaemafei]uuimofkacnittaoorr\nnyzetoiyaqbsxum[jowknmpjwqdutjlfwo]oalwqxqoyovfjriwb[lvwabzjorjiiemeaacg]znsbvpusrratzywwwyk\nlsjzqfxbbuihsdx[akccvjqdtzmxywakf]fkxrqzurzmqusrx[wmkamfvugczykevpq]avcvjbiwezkocfvo\nohoszcqvqivamuaisf[lyyacjpyelrsgafmyl]icwpankirjvekeg\nkruylpszzrkzbfxbmk[thxwtofeyjsijenmom]gjblnnkhejpqdomos[xjfzkxpgfltzzfdby]fnbkcvyhwtwmvpykj\ndtqrdvxfjedeydhdsz[depsrsktdbsiwudc]unbdedwnchjgetnwf[bhojevqkvcgac",
"end": 63859,
"score": 0.778005302,
"start": 63002,
"tag": "KEY",
"value": "ylsiwyinialjsg[hqahlwsskotrjlid]azfumcjerwanpukap[iqjcxdwtvmvjkoukcvq]koeodiiywozmrtktxur\nllaevsbyxpkahrii[dxfpfzvxwpzedtvhtlx]corhjnbybhlahvogj[aeukoetmokgjlswve]iwamrxgeszbcnzsxy\nabxkqpiyavrfgxjbmx[uqzsbujxbmrjyxf]dsiktkwxjovhabuir[baqaipezkcvfjyqc]svvyuknankhxlttwng[kwsoccnvjnctnxa]zgnsnelphgyhfolihu\noquaqiwlkhwwfxnox[rifozvbwcclekccqk]mmmgicxioqwhlvjpsu[tndpmsoarmdojex]spywovxndxncbpshb[rgceaghxxvddklc]osijkijuctxjhtbv\newucowyzjaqacfu[hruhcyudsttblexjwy]mjxsgzalkyasstkuzi[drnyfhqgaemafei]uuimofkacnittaoorr\nnyzetoiyaqbsxum[jowknmpjwqdutjlfwo]oalwqxqoyovfjriwb[lvwabzjorjiiemeaacg]znsbvpusrratzywwwyk\nlsjzqfxbbuihsdx[akccvjqdtzmxywakf]fkxrqzurzmqusrx[wmkamfvugczykevpq]avcvjbiwezkocfvo\nohoszcqvqivamuaisf[lyyacjpyelrsgafmyl]icwpankirjvekeg\nkruylpszzrkzbfxbmk[thxwtofeyjsijenmom]gjblnnkhejpqdomos[xjfzkxpgfltzzfdby]fnbkcvyhwtwmvpykj\ndtqrdvxfjedeydhds"
},
{
"context": "dvxfjedeydhdsz[depsrsktdbsiwudc]unbdedwnchjgetnwf[bhojevqkvcgacid]jmyzzhyslvuhnaizc\ndwlyvffagjfzbevant[baalozybgljljwj]jomnxqrlanqrkcjds\nkjdsccouzjkqxgicub[ghhfptkxbsgatseoxgz]jiqgnfilkycyuvlwbid\nsxbgpazgvlipytzq[fixpxpdcuetwlqprcs]qcvdieujpvhwveur\ngerfcffcrfrwvsjw[ypgmjuvhhzvvavtyulf]cjhqxizulglhcvy[mpjpctaxpnlrfhalp]wmhafecpyzjuagisv[aumyqoujcjkxusu]skhuivrgveucfrfzb\nrqkibcopsltsjwq[gmnenbrlgqtvqflnt]xuczjcgsxmtbmeaysdk[rkjjglznqblxednxx]npiikosjigixuvlnzes[vqdtacxnqagckmz]bnrzgyqhejnbmtqa\nekzqugvzksupljx[hsjwrqxwwgcdhqhhzo]cqnomxxbemqmhqnnw[udcfrvgkcibabyssusn]zfuxkqiwlbbhssd[pfvscossyfdhjyed]zlwsqyhygkdgfah\nuhfxysjbqxaerhsanh[zyuotxgmbwkahzyevkq]dricwyfpfffhxncjn\ncmccqegbarzixhqucrl[ztgvmqmqpjtfgfuqjjj]ubawaltzbmhdhqioav[sszfycahkeptflx]otogjwoazgidspib\nfgfdvktoaiucefhets[qwjumhonvmtimauqsy]zkzorsvmedrlycqel[caaejbjnvlaqlqonk]ndndrqbsaaweqoyi[ovnpneqkmsbqsav]cepurdlgjkedaaeo\nnfhaistnlhzethu[gyozecvbgbkutaiuiiy]vbmcwkesewbbcdvw[zxgnhhbnldllaacb]kbtgbqxtmqtatjc",
"end": 64773,
"score": 0.8038426638,
"start": 63896,
"tag": "KEY",
"value": "bhojevqkvcgacid]jmyzzhyslvuhnaizc\ndwlyvffagjfzbevant[baalozybgljljwj]jomnxqrlanqrkcjds\nkjdsccouzjkqxgicub[ghhfptkxbsgatseoxgz]jiqgnfilkycyuvlwbid\nsxbgpazgvlipytzq[fixpxpdcuetwlqprcs]qcvdieujpvhwveur\ngerfcffcrfrwvsjw[ypgmjuvhhzvvavtyulf]cjhqxizulglhcvy[mpjpctaxpnlrfhalp]wmhafecpyzjuagisv[aumyqoujcjkxusu]skhuivrgveucfrfzb\nrqkibcopsltsjwq[gmnenbrlgqtvqflnt]xuczjcgsxmtbmeaysdk[rkjjglznqblxednxx]npiikosjigixuvlnzes[vqdtacxnqagckmz]bnrzgyqhejnbmtqa\nekzqugvzksupljx[hsjwrqxwwgcdhqhhzo]cqnomxxbemqmhqnnw[udcfrvgkcibabyssusn]zfuxkqiwlbbhssd[pfvscossyfdhjyed]zlwsqyhygkdgfah\nuhfxysjbqxaerhsanh[zyuotxgmbwkahzyevkq]dricwyfpfffhxncjn\ncmccqegbarzixhqucrl[ztgvmqmqpjtfgfuqjjj]ubawaltzbmhdhqioav[sszfycahkeptflx]otogjwoazgidspib\nfgfdvktoaiucefhets[qwjumhonvmtimauqsy]zkzorsvmedrlycqel[caaejbjnvlaqlqonk]ndndrqbsaaweqoyi[ovnpneqkmsbqsav]cepurdlgjkedaaeo\nnfhaistnlhzethu[gyozecvbgbkutaiuiiy"
},
{
"context": "urdlgjkedaaeo\nnfhaistnlhzethu[gyozecvbgbkutaiuiiy]vbmcwkesewbbcdvw[zxgnhhbnldllaacb]kbtgbqxtmqtatjc\nnuxiknpvosedex",
"end": 64788,
"score": 0.5353848934,
"start": 64774,
"tag": "KEY",
"value": "vbmcwkesewbbcd"
},
{
"context": "stnlhzethu[gyozecvbgbkutaiuiiy]vbmcwkesewbbcdvw[zxgnhhbnldllaacb]kbtgbqxtmqtatjc\nnuxiknpvosedexey[gfixiukjvo",
"end": 64801,
"score": 0.5908303261,
"start": 64793,
"tag": "KEY",
"value": "gnhhbnld"
},
{
"context": "gyozecvbgbkutaiuiiy]vbmcwkesewbbcdvw[zxgnhhbnldllaacb]kbtgbqxtmqtatjc\nnuxiknpvosedexey[gfixiukjvovooybkr]nkprytbsajposdjcv[ahjzndfqmisqonz]kzybggzczcwhlnrerfd\npuxghpwmypdrhykyd[xioiypketoaohdxa]lybkoxvoraessmzzztd\nqwlzyfwnqvxylbttyy[idtjcszoblpujfkf]nbwtcwowujbgzsz[mqckgqkhmbzpwtuekcf]xyquvnuptbiwlqdn[gwgdvbsouphvvovkg]buqxksahwsgvruovojo\nnvjqtzkgoenxnismrq[mxybkgtvioipfjecdma]wtgqwbkpqfepskvvay[qqxflmtbhprambdu]iqtqqujmqrlzpdwbljh[cmdesejkyvjzwhevg]qkclggetgpamrach\nntxnwuudhhghcgd[rlyqxrlsbpsdrdlls]qfzxlyrfjeshhmsyz\nrxgpjhpklloihtpptpy[pcbbsflfkrknahkeq]uljnjuavjkhklwwcm\nbyxqwjjdyqqsdnt[nkxqnfrxqqjtwsnpj]xstdzfnmxpkyszg[yswyxmgmqsrvaxdkx]sjfpeyrrswxgeflbncz[likexnumjhlodzimm]crnvrjyaumqgmjmy\nskwhvjyhmosrbbziiaw[dbztswjofjvkcbjtapg]yrzwevkwnjjefwzl[ifwifdeiaqpvuyiidrz]kqnqtbvgpxkejxvf[ubyvhimnnmhkbbnbu]zsqpbztopdvjzbpj\njttcdvuuyawsjnode[ahfzcsoxjswcdysclk]ubdipqyzzhafcdusjuf[wtsiychncfnaztdn]teqnxwryvsfwqbbw\ngsoacpemvpypmizazb[rzluiccnkviutvg]bxmhsnyomypyue",
"end": 65675,
"score": 0.7165518403,
"start": 64804,
"tag": "KEY",
"value": "acb]kbtgbqxtmqtatjc\nnuxiknpvosedexey[gfixiukjvovooybkr]nkprytbsajposdjcv[ahjzndfqmisqonz]kzybggzczcwhlnrerfd\npuxghpwmypdrhykyd[xioiypketoaohdxa]lybkoxvoraessmzzztd\nqwlzyfwnqvxylbttyy[idtjcszoblpujfkf]nbwtcwowujbgzsz[mqckgqkhmbzpwtuekcf]xyquvnuptbiwlqdn[gwgdvbsouphvvovkg]buqxksahwsgvruovojo\nnvjqtzkgoenxnismrq[mxybkgtvioipfjecdma]wtgqwbkpqfepskvvay[qqxflmtbhprambdu]iqtqqujmqrlzpdwbljh[cmdesejkyvjzwhevg]qkclggetgpamrach\nntxnwuudhhghcgd[rlyqxrlsbpsdrdlls]qfzxlyrfjeshhmsyz\nrxgpjhpklloihtpptpy[pcbbsflfkrknahkeq]uljnjuavjkhklwwcm\nbyxqwjjdyqqsdnt[nkxqnfrxqqjtwsnpj]xstdzfnmxpkyszg[yswyxmgmqsrvaxdkx]sjfpeyrrswxgeflbncz[likexnumjhlodzimm]crnvrjyaumqgmjmy\nskwhvjyhmosrbbziiaw[dbztswjofjvkcbjtapg]yrzwevkwnjjefwzl[ifwifdeiaqpvuyiidrz]kqnqtbvgpxkejxvf[ubyvhimnnmhkbbnbu]zsqpbztopdvjzbpj\njttcdvuuyawsjnode[ahfzcsoxjswcdysclk]ubdipqyzzhafcdusjuf[wtsiychncfnaztdn]teqnxwryvsfwqbbw"
},
{
"context": "tsxpkgewemam\ncdqotetervrpkaiz[tohfcmgrtozdfduhk]mlgpfaviqgvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk",
"end": 65809,
"score": 0.5121187568,
"start": 65807,
"tag": "KEY",
"value": "gp"
},
{
"context": "tetervrpkaiz[tohfcmgrtozdfduhk]mlgpfaviqgvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]h",
"end": 65829,
"score": 0.5198668242,
"start": 65824,
"tag": "KEY",
"value": "phhqu"
},
{
"context": "z[tohfcmgrtozdfduhk]mlgpfaviqgvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbp",
"end": 65836,
"score": 0.5044747591,
"start": 65835,
"tag": "KEY",
"value": "q"
},
{
"context": "fduhk]mlgpfaviqgvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neit",
"end": 65851,
"score": 0.504167974,
"start": 65849,
"tag": "KEY",
"value": "rs"
},
{
"context": "mlgpfaviqgvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnv",
"end": 65858,
"score": 0.5082931519,
"start": 65855,
"tag": "KEY",
"value": "qow"
},
{
"context": "gvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qd",
"end": 65868,
"score": 0.5200741291,
"start": 65864,
"tag": "KEY",
"value": "leka"
},
{
"context": "phhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxn",
"end": 65877,
"score": 0.5197814703,
"start": 65874,
"tag": "KEY",
"value": "chh"
},
{
"context": "ukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxnjowy",
"end": 65881,
"score": 0.520052731,
"start": 65879,
"tag": "KEY",
"value": "hr"
},
{
"context": "gqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxnjowyar]oxizltx",
"end": 65891,
"score": 0.5200305581,
"start": 65884,
"tag": "KEY",
"value": "bpzzarq"
},
{
"context": "edworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxnjowyar]oxizltxvldoo",
"end": 65896,
"score": 0.5043556094,
"start": 65894,
"tag": "KEY",
"value": "ww"
},
{
"context": "orrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxnjowyar]oxizltxvldookd",
"end": 65897,
"score": 0.5192736983,
"start": 65897,
"tag": "KEY",
"value": ""
},
{
"context": "rsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxnjowyar]oxizltxvldookdlomn[igmwlbhxgszc",
"end": 65915,
"score": 0.5341606736,
"start": 65899,
"tag": "KEY",
"value": "itniklfnvnilfttm"
},
{
"context": "aqtuqhhchh]hhrerrbpzzarqnxiwwk\neitniklfnvnilfttm[qduauheufxnjowyar]oxizltxvldookdlomn[igmwlbhxgszcvhshy]knibbdqqnftzglqjodl\nibypwndwhrb",
"end": 65952,
"score": 0.5505135059,
"start": 65917,
"tag": "KEY",
"value": "duauheufxnjowyar]oxizltxvldookdlomn"
},
{
"context": "klfnvnilfttm[qduauheufxnjowyar]oxizltxvldookdlomn[igmwlbhxgszcvhshy]knibbdqqnftzglqjodl\nibypwndwhrbzbowoa[wyrgxqcbqoqayqkf]rlnhzutwptjhfwrsme[cfpmzztsrhtdc",
"end": 66008,
"score": 0.5572233796,
"start": 65953,
"tag": "KEY",
"value": "igmwlbhxgszcvhshy]knibbdqqnftzglqjodl\nibypwndwhrbzbowoa"
},
{
"context": "gszcvhshy]knibbdqqnftzglqjodl\nibypwndwhrbzbowoa[wyrgxqcbqoqayqkf]rlnhzutwptjhfwrsme[cfpmzztsrhtdcgy]tdvricsznenk",
"end": 66023,
"score": 0.5274314284,
"start": 66011,
"tag": "KEY",
"value": "rgxqcbqoqayq"
},
{
"context": "dqqnftzglqjodl\nibypwndwhrbzbowoa[wyrgxqcbqoqayqkf]rlnhzutwptjhfwrsme[cfpmzztsrhtdcgy]tdvricsznenkyphwzt\norvqewlxihoswv",
"end": 66044,
"score": 0.5326928496,
"start": 66026,
"tag": "KEY",
"value": "rlnhzutwptjhfwrsme"
},
{
"context": "dwhrbzbowoa[wyrgxqcbqoqayqkf]rlnhzutwptjhfwrsme[cfpmzztsrhtdcgy]tdvricsznenkyphwzt\norvqewlxihoswvwlx[ifiaqweqqmae",
"end": 66060,
"score": 0.5218157172,
"start": 66047,
"tag": "KEY",
"value": "pmzztsrhtdcgy"
},
{
"context": "xqcbqoqayqkf]rlnhzutwptjhfwrsme[cfpmzztsrhtdcgy]tdvricsznenkyphwzt\norvqewlxihoswvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrb",
"end": 66079,
"score": 0.5281290412,
"start": 66063,
"tag": "KEY",
"value": "vricsznenkyphwzt"
},
{
"context": "twptjhfwrsme[cfpmzztsrhtdcgy]tdvricsznenkyphwzt\norvqewlxihoswvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbj",
"end": 66097,
"score": 0.5351344943,
"start": 66082,
"tag": "KEY",
"value": "vqewlxihoswvwlx"
},
{
"context": "ztsrhtdcgy]tdvricsznenkyphwzt\norvqewlxihoswvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfk",
"end": 66117,
"score": 0.5392936468,
"start": 66100,
"tag": "KEY",
"value": "iaqweqqmaeasrkvxt"
},
{
"context": "enkyphwzt\norvqewlxihoswvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfkpjewzd\nlzshelyjac",
"end": 66134,
"score": 0.5418145657,
"start": 66120,
"tag": "KEY",
"value": "mqkogypgrbjoij"
},
{
"context": "lxihoswvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfkpjewzd\nlzshelyjacfkrkyk",
"end": 66140,
"score": 0.5504359007,
"start": 66136,
"tag": "KEY",
"value": "nkoo"
},
{
"context": "wvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylssk",
"end": 66153,
"score": 0.5317161083,
"start": 66142,
"tag": "KEY",
"value": "icmbjhormbu"
},
{
"context": "eqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpb",
"end": 66173,
"score": 0.5333362222,
"start": 66154,
"tag": "KEY",
"value": "wkpucublpyqfkpjewzd"
},
{
"context": "pgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwc",
"end": 66185,
"score": 0.5276297927,
"start": 66176,
"tag": "KEY",
"value": "shelyjacf"
},
{
"context": "bjhormbu]wkpucublpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibyk",
"end": 66197,
"score": 0.5198633075,
"start": 66195,
"tag": "KEY",
"value": "hb"
},
{
"context": "rmbu]wkpucublpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrn",
"end": 66200,
"score": 0.5280089378,
"start": 66199,
"tag": "KEY",
"value": "l"
},
{
"context": "u]wkpucublpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]n",
"end": 66203,
"score": 0.5046323538,
"start": 66202,
"tag": "KEY",
"value": "k"
},
{
"context": "blpyqfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]nykxibwjj",
"end": 66211,
"score": 0.5354871154,
"start": 66210,
"tag": "KEY",
"value": "h"
},
{
"context": "qfkpjewzd\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]nykxibwjjcaacg",
"end": 66216,
"score": 0.5358453393,
"start": 66214,
"tag": "KEY",
"value": "no"
},
{
"context": "\nlzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]nykxibwjjcaacgg\nfgdrabfqaog",
"end": 66229,
"score": 0.507183075,
"start": 66223,
"tag": "KEY",
"value": "byrytr"
},
{
"context": "ylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]nykxibwjjcaacgg\nfgdrabfqaogxyvpqfgs[bandjgjgkuuux",
"end": 66251,
"score": 0.5081671476,
"start": 66248,
"tag": "KEY",
"value": "rnm"
},
{
"context": "]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]nykxibwjjcaacgg\nfgdrabfqaogxyvpqfgs[bandjgjgkuuuxfuh]wwxxsusu",
"end": 66263,
"score": 0.5045332313,
"start": 66261,
"tag": "KEY",
"value": "ca"
},
{
"context": "lclfrqx[zdmxvurgzzrompujt]ausuaokslerjqiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[n",
"end": 66402,
"score": 0.5126618147,
"start": 66400,
"tag": "KEY",
"value": "xf"
},
{
"context": "[zdmxvurgzzrompujt]ausuaokslerjqiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgkta",
"end": 66409,
"score": 0.5198609829,
"start": 66407,
"tag": "KEY",
"value": "js"
},
{
"context": "zrompujt]ausuaokslerjqiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]f",
"end": 66419,
"score": 0.5044648051,
"start": 66417,
"tag": "KEY",
"value": "za"
},
{
"context": "jt]ausuaokslerjqiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukas",
"end": 66428,
"score": 0.5249913335,
"start": 66423,
"tag": "KEY",
"value": "wgjnk"
},
{
"context": "aokslerjqiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukasplt",
"end": 66431,
"score": 0.5201002359,
"start": 66430,
"tag": "KEY",
"value": "j"
},
{
"context": "lerjqiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhl",
"end": 66436,
"score": 0.5037277341,
"start": 66434,
"tag": "KEY",
"value": "hx"
},
{
"context": "qiveplk\njyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfr",
"end": 66450,
"score": 0.514508307,
"start": 66438,
"tag": "KEY",
"value": "antcneqrxeqi"
},
{
"context": "rdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qr",
"end": 66456,
"score": 0.5123005509,
"start": 66454,
"tag": "KEY",
"value": "rg"
},
{
"context": "ififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs\nnltgn",
"end": 66478,
"score": 0.5175887942,
"start": 66469,
"tag": "KEY",
"value": "jyinlukas"
},
{
"context": "]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs\nnltgngsggdruwr",
"end": 66487,
"score": 0.5117049217,
"start": 66481,
"tag": "KEY",
"value": "shmhlh"
},
{
"context": "eqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs\nnltgngsggdruwrahzhq[gvju",
"end": 66497,
"score": 0.5198389292,
"start": 66493,
"tag": "KEY",
"value": "ccgl"
},
{
"context": "ktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs\nnltgngsggdruwrahzhq[gvjujsgoyasfqql",
"end": 66508,
"score": 0.5039587021,
"start": 66506,
"tag": "KEY",
"value": "mb"
},
{
"context": "cpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs\nnltgngsggdruwrahzhq[gvjujsgoyasfqql]btwmnkkccd",
"end": 66519,
"score": 0.5198626518,
"start": 66511,
"tag": "KEY",
"value": "cccjrsrd"
},
{
"context": "spltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs\nnltgngsggdruwrahzhq[gvjujsgoyasfqql]btwmnkkccdcvuyniu[tsqzwyyp",
"end": 66535,
"score": 0.5202076435,
"start": 66527,
"tag": "KEY",
"value": "ngsggdru"
},
{
"context": "wqavlapyesbfea]trqscgjokafiarh\nqsycbrrefosycpzj[guklennkilcmomyngzq]numvvwtbyvtfarlt[frfzzodqottlwzj]qumundqekohrpin[rsxaymghybsvzymha",
"end": 67603,
"score": 0.5892124176,
"start": 67569,
"tag": "KEY",
"value": "klennkilcmomyngzq]numvvwtbyvtfarlt"
},
{
"context": "brrefosycpzj[guklennkilcmomyngzq]numvvwtbyvtfarlt[frfzzodqottlwzj]qumundqekohrpin[rsxaymghybsvzymhac]wkmbavpbqtoewxruut\nerpqoualxstxkzkwgf[spsetkclioxmkpobkij]mocioemqrazrpexy\nryeoamcyfewnjlbdfsu[mmelohdonphatmxblhd]wgkjtelxmbwunvaxfne[xgohvvrmkweaabsd]dkukcrasqoceqjyehjs\nzkmkqzphahjdzwot[objfpvwrjdcdxinuvi]goabmmhuvavbjgebdow[jbqupsngpnuoubvn]xofdcclnjyfofxnzyvk[mkmshdjabucvgpkteh]kqxuwhyogoxhgwqyyvf\nyqlzjzpztzgtpomj[qcmfrvyamtxxtcv]hupfwqhpdvdwfvu[edoxxlncqxfxpsls]iyflxxkaztzxodxfd[xavxxfdkzquifiwuu]bkjzjuxybfdjcqw\ngspnkpswktczjhi[pkpwicpaszrfnsa]reqjlqsucfsixykwmg[matrmmvriujnldbcuaf]lckpqdyikkaprdje\npbkxtroofyzt",
"end": 68127,
"score": 0.6235538125,
"start": 67604,
"tag": "KEY",
"value": "frfzzodqottlwzj]qumundqekohrpin[rsxaymghybsvzymhac]wkmbavpbqtoewxruut\nerpqoualxstxkzkwgf[spsetkclioxmkpobkij]mocioemqrazrpexy\nryeoamcyfewnjlbdfsu[mmelohdonphatmxblhd]wgkjtelxmbwunvaxfne[xgohvvrmkweaabsd]dkukcrasqoceqjyehjs\nzkmkqzphahjdzwot[objfpvwrjdcdxinuvi]goabmmhuvavbjgebdow[jbqupsngpnuoubvn]xofdcclnjyfofxnzyvk[mkmshdjabucvgpkteh]kqxuwhyogoxhgwqyyvf\nyqlzjzpztzgtpomj[qcmfrvyamtxxtcv]hupfwqhpdvdwfvu[edoxxlncqxfxpsls]iyflxxkaztzxodxfd[xavxxfdkzquifiwuu]bkjzjuxybfdjcqw\ngspnkpswktczjhi[pkpwicpaszrfnsa]reqjlqsucfsixykwmg"
},
{
"context": "spnkpswktczjhi[pkpwicpaszrfnsa]reqjlqsucfsixykwmg[matrmmvriujnldbcuaf]lckpqdyikkaprdje\npbkxtroofyztckqg[arrmawhzlhytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljx",
"end": 68181,
"score": 0.5762534142,
"start": 68128,
"tag": "KEY",
"value": "matrmmvriujnldbcuaf]lckpqdyikkaprdje\npbkxtroofyztckqg"
},
{
"context": "riujnldbcuaf]lckpqdyikkaprdje\npbkxtroofyztckqg[arrmawhzlhytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmx",
"end": 68193,
"score": 0.5506198406,
"start": 68185,
"tag": "KEY",
"value": "mawhzlhy"
},
{
"context": "af]lckpqdyikkaprdje\npbkxtroofyztckqg[arrmawhzlhytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoyl",
"end": 68199,
"score": 0.5502423048,
"start": 68195,
"tag": "KEY",
"value": "odqb"
},
{
"context": "kpqdyikkaprdje\npbkxtroofyztckqg[arrmawhzlhytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihc",
"end": 68217,
"score": 0.5620770454,
"start": 68200,
"tag": "KEY",
"value": "pirguzqkvbgxznqnn"
},
{
"context": "troofyztckqg[arrmawhzlhytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturf",
"end": 68234,
"score": 0.5429782867,
"start": 68219,
"tag": "KEY",
"value": "mybfuxiqgljxdih"
},
{
"context": "whzlhytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qc",
"end": 68239,
"score": 0.5274313092,
"start": 68237,
"tag": "KEY",
"value": "gf"
},
{
"context": "hytfodqb]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmaz",
"end": 68247,
"score": 0.5067341328,
"start": 68241,
"tag": "KEY",
"value": "mxryeo"
},
{
"context": "b]pirguzqkvbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd\ne",
"end": 68254,
"score": 0.5502563119,
"start": 68248,
"tag": "KEY",
"value": "limdqp"
},
{
"context": "vbgxznqnn\nmmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt",
"end": 68270,
"score": 0.5480812788,
"start": 68258,
"tag": "KEY",
"value": "jwwrhnihcakb"
},
{
"context": "uxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypk",
"end": 68286,
"score": 0.525177598,
"start": 68273,
"tag": "KEY",
"value": "plrxabbturflf"
},
{
"context": "gfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypkcz]disd",
"end": 68293,
"score": 0.542353034,
"start": 68287,
"tag": "KEY",
"value": "qclfld"
},
{
"context": "yeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypkcz]disdlwcxksxjgh",
"end": 68302,
"score": 0.5518410802,
"start": 68294,
"tag": "KEY",
"value": "mazmigmd"
},
{
"context": "vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysv",
"end": 68315,
"score": 0.5478595495,
"start": 68305,
"tag": "KEY",
"value": "hynsvqvhtz"
},
{
"context": "akb[njplrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomsz",
"end": 68320,
"score": 0.5312460661,
"start": 68317,
"tag": "KEY",
"value": "fjt"
},
{
"context": "plrxabbturflf]qclfldtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmw",
"end": 68331,
"score": 0.5212987661,
"start": 68323,
"tag": "KEY",
"value": "zxptfigw"
},
{
"context": "dtmazmigmd\nexhynsvqvhtzexfjt[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmwenbksdvfihvxvz[vrxbmhxkfjwg",
"end": 68358,
"score": 0.5284720063,
"start": 68342,
"tag": "KEY",
"value": "dlwcxksxjghkkbqe"
},
{
"context": "htzexfjt[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmwenbksdvfihvxvz[vrxbmhxkfjwgktuy]xpyef",
"end": 68368,
"score": 0.516544044,
"start": 68362,
"tag": "KEY",
"value": "ysvjom"
},
{
"context": "[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmwenbksdvfihvxvz[vrxbmhxkfjwgktuy]xpyefkts",
"end": 68371,
"score": 0.503932178,
"start": 68370,
"tag": "KEY",
"value": "w"
},
{
"context": "zxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmwenbksdvfihvxvz[vrxbmhxkfjwgktuy]xpyefktsqohx",
"end": 68375,
"score": 0.5033370256,
"start": 68373,
"tag": "KEY",
"value": "mq"
},
{
"context": "worypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmwenbksdvfihvxvz[vrxbmhxkfjwgktuy]xpyefktsqohxwkaowk\ni",
"end": 68383,
"score": 0.5570204258,
"start": 68380,
"tag": "KEY",
"value": "wen"
},
{
"context": "oiartx]lkyzzzynibifaahjewx[ijvyqumtxyumrnpyfz]hddwfrbrgifyegaji[tguxrbbrdvhmssvbopf]ykkkdwtdtlajkmbgnww\nomqzieitwyasnbuae[citxwhjdkqyzmfotup]enzrramzittuhgjcv[fierpodjceckpxwoiav]edtoxignggotlwka[sbjkaiypsozrukh]hdwihijpdemzcdvlsz\nrummzhhnmypaltcxrja[nbcaecgbuslkyfar]hhfbjgrmbmjexlllok[swzivorldyknmqbnmtp]yjimyhqwgrgdphl\nmvpjigwjeejzhnr[zmxoaofpatkxkbecaq]szixqtsjizfgvfioq\numnruavumjfrbywaswu[aeypnvqccjmqfflsyyn]anbehjastasljxkg[kwsjaebdtuslcbae]corzitvsrhthwmjsny[gzojgomcsqjubqrwor]tcektreziofkfzlyp\natrjsjmfiyyhjjpcq[aygsawvwkgmvjly]nvxcabdkjbowvfiuqim[nxwlnfgnkfmmr",
"end": 70779,
"score": 0.626283288,
"start": 70306,
"tag": "KEY",
"value": "frbrgifyegaji[tguxrbbrdvhmssvbopf]ykkkdwtdtlajkmbgnww\nomqzieitwyasnbuae[citxwhjdkqyzmfotup]enzrramzittuhgjcv[fierpodjceckpxwoiav]edtoxignggotlwka[sbjkaiypsozrukh]hdwihijpdemzcdvlsz\nrummzhhnmypaltcxrja[nbcaecgbuslkyfar]hhfbjgrmbmjexlllok[swzivorldyknmqbnmtp]yjimyhqwgrgdphl\nmvpjigwjeejzhnr[zmxoaofpatkxkbecaq]szixqtsjizfgvfioq\numnruavumjfrbywaswu[aeypnvqccjmqfflsyyn]anbehjastasljxkg[kwsjaebdtuslcbae]corzitvsrhthwmjsny[gzojgomcsqjubqrwor]tcektreziofkfzlyp\natrjsjmfiyyhjjpcq"
},
{
"context": "omcsqjubqrwor]tcektreziofkfzlyp\natrjsjmfiyyhjjpcq[aygsawvwkgmvjly]nvxcabdkjbowvfiuqim[nxwlnfgnkfmmrdqwva]bjqsncyahbgqgcck[kudkiazyfbbvw",
"end": 70815,
"score": 0.5802639723,
"start": 70780,
"tag": "KEY",
"value": "aygsawvwkgmvjly]nvxcabdkjbowvfiuqim"
},
{
"context": "sjmfiyyhjjpcq[aygsawvwkgmvjly]nvxcabdkjbowvfiuqim[nxwlnfgnkfmmrdqwva]bjqsncyahbgqgcck[kudkiazyfbbvwvae]egtutxkpkpibqcxd\nyyxasjrusephnhg",
"end": 70851,
"score": 0.5757057667,
"start": 70816,
"tag": "KEY",
"value": "nxwlnfgnkfmmrdqwva]bjqsncyahbgqgcck"
},
{
"context": "dkjbowvfiuqim[nxwlnfgnkfmmrdqwva]bjqsncyahbgqgcck[kudkiazyfbbvwvae]egtutxkpkpibqcxd\nyyxasjrusephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiue",
"end": 70885,
"score": 0.5659040213,
"start": 70852,
"tag": "KEY",
"value": "kudkiazyfbbvwvae]egtutxkpkpibqcxd"
},
{
"context": "sncyahbgqgcck[kudkiazyfbbvwvae]egtutxkpkpibqcxd\nyyxasjrusephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapc",
"end": 70902,
"score": 0.556473732,
"start": 70888,
"tag": "KEY",
"value": "xasjrusephnhgz"
},
{
"context": "dkiazyfbbvwvae]egtutxkpkpibqcxd\nyyxasjrusephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcj",
"end": 70912,
"score": 0.5377472043,
"start": 70904,
"tag": "KEY",
"value": "bgueaajl"
},
{
"context": "vwvae]egtutxkpkpibqcxd\nyyxasjrusephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtka",
"end": 70922,
"score": 0.5201671124,
"start": 70913,
"tag": "KEY",
"value": "klmqfzfxx"
},
{
"context": "kpkpibqcxd\nyyxasjrusephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwiz",
"end": 70938,
"score": 0.52889359,
"start": 70925,
"tag": "KEY",
"value": "irjquhusiueda"
},
{
"context": "sephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssr",
"end": 70954,
"score": 0.5139457583,
"start": 70944,
"tag": "KEY",
"value": "gowviapcam"
},
{
"context": "ueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun\n",
"end": 70962,
"score": 0.5355546474,
"start": 70956,
"tag": "KEY",
"value": "wwwfcj"
},
{
"context": "lmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun\nouzhmpm",
"end": 70969,
"score": 0.5204315782,
"start": 70964,
"tag": "KEY",
"value": "uokiv"
},
{
"context": "xx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun\nouzhmpmtsx",
"end": 70972,
"score": 0.5434985161,
"start": 70970,
"tag": "KEY",
"value": "ka"
},
{
"context": "jquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun\nouzhmpmtsxtbpgxd[xk",
"end": 70981,
"score": 0.5125311017,
"start": 70977,
"tag": "KEY",
"value": "cech"
},
{
"context": "iueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun\nouzhmpmtsxtbpgxd[xkpvjnalwhbhi",
"end": 70992,
"score": 0.5161306262,
"start": 70983,
"tag": "KEY",
"value": "mtwizhjzb"
},
{
"context": "wviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun\nouzhmpmtsxtbpgxd[xkpvjnalwhbhiwl]dohtpyllehgsmfqwio[pswfztwnlizwbh",
"end": 71028,
"score": 0.5481796265,
"start": 70996,
"tag": "KEY",
"value": "bbjncssrsdpyvun\nouzhmpmtsxtbpgxd"
},
{
"context": "ttmtwizhjzb]ilybbjncssrsdpyvun\nouzhmpmtsxtbpgxd[xkpvjnalwhbhiwl]dohtpyllehgsmfqwio[pswfztwnlizwbhbopug]znhnnlkxrl",
"end": 71044,
"score": 0.5551578403,
"start": 71031,
"tag": "KEY",
"value": "pvjnalwhbhiwl"
},
{
"context": "ybbjncssrsdpyvun\nouzhmpmtsxtbpgxd[xkpvjnalwhbhiwl]dohtpyllehgsmfqwio[pswfztwnlizwbhbopug]znhnnlkxrlsswkgrb\nwdfqtfgtawj",
"end": 71063,
"score": 0.5650676489,
"start": 71045,
"tag": "KEY",
"value": "dohtpyllehgsmfqwio"
},
{
"context": "zhmpmtsxtbpgxd[xkpvjnalwhbhiwl]dohtpyllehgsmfqwio[pswfztwnlizwbhbopug]znhnnlkxrlsswkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudj",
"end": 71083,
"score": 0.549570024,
"start": 71064,
"tag": "KEY",
"value": "pswfztwnlizwbhbopug"
},
{
"context": "nalwhbhiwl]dohtpyllehgsmfqwio[pswfztwnlizwbhbopug]znhnnlkxrlsswkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiadd",
"end": 71120,
"score": 0.5551025271,
"start": 71084,
"tag": "KEY",
"value": "znhnnlkxrlsswkgrb\nwdfqtfgtawjujjnipv"
},
{
"context": "pug]znhnnlkxrlsswkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimew",
"end": 71132,
"score": 0.5121794939,
"start": 71130,
"tag": "KEY",
"value": "ud"
},
{
"context": "]znhnnlkxrlsswkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimewbjg",
"end": 71135,
"score": 0.5041300058,
"start": 71133,
"tag": "KEY",
"value": "we"
},
{
"context": "hnnlkxrlsswkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimewbjgoju",
"end": 71138,
"score": 0.527559042,
"start": 71136,
"tag": "KEY",
"value": "xa"
},
{
"context": "lkxrlsswkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimewbjgojubbk[",
"end": 71142,
"score": 0.5035589933,
"start": 71139,
"tag": "KEY",
"value": "uix"
},
{
"context": "swkgrb\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimewbjgojubbk[cmkrj",
"end": 71147,
"score": 0.511921823,
"start": 71145,
"tag": "KEY",
"value": "xq"
},
{
"context": "b\nwdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimewbjgojubbk[cmkrjtwjwjnd",
"end": 71154,
"score": 0.5115448236,
"start": 71150,
"tag": "KEY",
"value": "nbro"
},
{
"context": "wbjgojubbk[cmkrjtwjwjndagjoidq]kuaetseghitsonmjxez\nhinvjpjfkrcfikcsnk[neznqyunxrviafftsv]xxzaxudvxzpzayzu[igikyqxlllewgxp]bbrmixylwkvzstannjk\njnfqvpcsjlhmsgttoo[keugkkuywiztndixql]fwcomunksourfiufwgf[vwalfwhhknnkmlelb]lxwrjniskrxyxxfgbj\nhmxhwwoaovcmrsjng[caxzefbacuvtevwsn]lgybmbmfeizwrbfrzuc[usgudhgiwtuirjfkpz]dmohwrrvvujowdchnh\nsuctmalsyteahln[iwbpvohjintrccllib]zdppjeyrkkjlwgfp\nhmnzkxvelkvxzminaj[llmbrsvokhyfowaimt]otgsfjkhormfnubhirp[cbycbwoqvdgyvbnmkz]gnnjznpxfxwfvaoc\njniltxvpjudmaao[ukqflhglxrfpfjg]djvtunwwabljjdirgrj[zkfyhzxkarvjfrbzbhx]zrrzbzubefvchvrpftc\nlyqyzdgisrvolizgkvq[fcdlhezvozbrglr]lcuqsfwchyucocowuz[acdcsqmgffussoy]jlnuxatzdobackkwgwp\ngwcvsoqytskjaqo[rfzimztlooyjbodjcud]ewbpnbzdilxvjmwy[ugoqefqofiwkgnv]pugnbbxqbmpephsby\nbbzqqwyepafkukwqjbb[sprroemdjetnbhdu]donxkujxpajsakirfap[ybomycmhvmvslykfxuo]auqvkrofncqftmjshtz\nqbxmiueonhzkluju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwla",
"end": 72041,
"score": 0.7089952826,
"start": 71232,
"tag": "KEY",
"value": "hinvjpjfkrcfikcsnk[neznqyunxrviafftsv]xxzaxudvxzpzayzu[igikyqxlllewgxp]bbrmixylwkvzstannjk\njnfqvpcsjlhmsgttoo[keugkkuywiztndixql]fwcomunksourfiufwgf[vwalfwhhknnkmlelb]lxwrjniskrxyxxfgbj\nhmxhwwoaovcmrsjng[caxzefbacuvtevwsn]lgybmbmfeizwrbfrzuc[usgudhgiwtuirjfkpz]dmohwrrvvujowdchnh\nsuctmalsyteahln[iwbpvohjintrccllib]zdppjeyrkkjlwgfp\nhmnzkxvelkvxzminaj[llmbrsvokhyfowaimt]otgsfjkhormfnubhirp[cbycbwoqvdgyvbnmkz]gnnjznpxfxwfvaoc\njniltxvpjudmaao[ukqflhglxrfpfjg]djvtunwwabljjdirgrj[zkfyhzxkarvjfrbzbhx]zrrzbzubefvchvrpftc\nlyqyzdgisrvolizgkvq[fcdlhezvozbrglr]lcuqsfwchyucocowuz[acdcsqmgffussoy]jlnuxatzdobackkwgwp\ngwcvsoqytskjaqo[rfzimztlooyjbodjcud]ewbpnbzdilxvjmwy[ugoqefqofiwkgnv]pugnbbxqbmpephsby\nbbzqqwyepafkukwqjbb[sprroemdjetnbhdu]donxkujxpajsakirfap[ybomycmhvmvslykfxuo]auqvkrofncqftmjshtz\nqbxmiueonhzkluju"
},
{
"context": "vmvslykfxuo]auqvkrofncqftmjshtz\nqbxmiueonhzkluju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouyd",
"end": 72058,
"score": 0.5373411775,
"start": 72043,
"tag": "KEY",
"value": "ocqzkbdskeisgvm"
},
{
"context": "krofncqftmjshtz\nqbxmiueonhzkluju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshur",
"end": 72071,
"score": 0.5197860599,
"start": 72059,
"tag": "KEY",
"value": "kaasgmyupwos"
},
{
"context": "z\nqbxmiueonhzkluju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshurolnith",
"end": 72077,
"score": 0.5397433639,
"start": 72073,
"tag": "KEY",
"value": "bumq"
},
{
"context": "ueonhzkluju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshurolnithdof]sscgv",
"end": 72086,
"score": 0.5337243676,
"start": 72080,
"tag": "KEY",
"value": "qmadnw"
},
{
"context": "uju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshurolnithdof]sscgvlgvp",
"end": 72090,
"score": 0.5129879117,
"start": 72088,
"tag": "KEY",
"value": "wl"
},
{
"context": "ocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgk",
"end": 72095,
"score": 0.5048580766,
"start": 72093,
"tag": "KEY",
"value": "nb"
},
{
"context": "bdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgkhtszr",
"end": 72100,
"score": 0.5286812186,
"start": 72098,
"tag": "KEY",
"value": "ld"
},
{
"context": "]zxldpcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgkhtszr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksos",
"end": 72147,
"score": 0.5357416272,
"start": 72145,
"tag": "KEY",
"value": "ht"
},
{
"context": "dpcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgkhtszr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdl",
"end": 72150,
"score": 0.5509490967,
"start": 72149,
"tag": "KEY",
"value": "r"
},
{
"context": "bouydtatpo[dqdshurolnithdof]sscgvlgvpgthgkhtszr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixi",
"end": 72162,
"score": 0.5234521031,
"start": 72153,
"tag": "KEY",
"value": "cvcnjawde"
},
{
"context": "dshurolnithdof]sscgvlgvpgthgkhtszr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklr",
"end": 72169,
"score": 0.5278669596,
"start": 72166,
"tag": "KEY",
"value": "hoh"
},
{
"context": "ithdof]sscgvlgvpgthgkhtszr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklryllfyd[b",
"end": 72177,
"score": 0.51248914,
"start": 72174,
"tag": "KEY",
"value": "zls"
},
{
"context": "gthgkhtszr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklryllfyd[bdtcggfxvupbohvclg",
"end": 72194,
"score": 0.5202251673,
"start": 72190,
"tag": "KEY",
"value": "csdk"
},
{
"context": "szr\nuzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwn",
"end": 72199,
"score": 0.5046123862,
"start": 72197,
"tag": "KEY",
"value": "gb"
},
{
"context": "uzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphu",
"end": 72205,
"score": 0.527692616,
"start": 72201,
"tag": "KEY",
"value": "rexd"
},
{
"context": "jawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnoc",
"end": 72223,
"score": 0.5213517547,
"start": 72207,
"tag": "KEY",
"value": "iiixiatixklryllf"
},
{
"context": "xekacx]ogcbcsdksosgbdlrexd\nkiiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtw",
"end": 72244,
"score": 0.5176708102,
"start": 72229,
"tag": "KEY",
"value": "cggfxvupbohvclg"
},
{
"context": "osgbdlrexd\nkiiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjq",
"end": 72255,
"score": 0.5217404366,
"start": 72245,
"tag": "KEY",
"value": "rxwnmgvwph"
},
{
"context": "iiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjlds",
"end": 72259,
"score": 0.5200526714,
"start": 72257,
"tag": "KEY",
"value": "yg"
},
{
"context": "ixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wl",
"end": 72268,
"score": 0.51239115,
"start": 72264,
"tag": "KEY",
"value": "bxeq"
},
{
"context": "fyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbe",
"end": 72274,
"score": 0.5199737549,
"start": 72272,
"tag": "KEY",
"value": "ce"
},
{
"context": "xvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn",
"end": 72284,
"score": 0.5121943951,
"start": 72283,
"tag": "KEY",
"value": "b"
},
{
"context": "bohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdio",
"end": 72296,
"score": 0.5170399547,
"start": 72287,
"tag": "KEY",
"value": "urbvmtwuc"
},
{
"context": "nmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrp",
"end": 72299,
"score": 0.5045725107,
"start": 72298,
"tag": "KEY",
"value": "k"
},
{
"context": "wphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[",
"end": 72303,
"score": 0.5050284266,
"start": 72302,
"tag": "KEY",
"value": "r"
},
{
"context": "eqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnx",
"end": 72318,
"score": 0.504206121,
"start": 72316,
"tag": "KEY",
"value": "wl"
},
{
"context": "nocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrl",
"end": 72321,
"score": 0.5279606581,
"start": 72320,
"tag": "KEY",
"value": "c"
},
{
"context": "crtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrlb]szegp",
"end": 72328,
"score": 0.5162001848,
"start": 72324,
"tag": "KEY",
"value": "pdkw"
},
{
"context": "bsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrlb]szegppqkdzrw",
"end": 72334,
"score": 0.5350570083,
"start": 72333,
"tag": "KEY",
"value": "n"
},
{
"context": "zurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrlb]szegppqkdzrwkokbi\nojlbyagshif",
"end": 72352,
"score": 0.5510444641,
"start": 72336,
"tag": "KEY",
"value": "avkcpvzdiowrpduy"
},
{
"context": "jqjldshzvbrn]wlmkcxbepdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrlb]szegppqkdzrwkokbi\nojlbyagshifmlrv[qexvdlykxlebrlr",
"end": 72372,
"score": 0.5423515439,
"start": 72353,
"tag": "KEY",
"value": "lujfjaxzrmxxcnxfrlb"
},
{
"context": "epdkwafeovn\nxavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrlb]szegppqkdzrwkokbi\nojlbyagshifmlrv[qexvdlykxlebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsq",
"end": 72406,
"score": 0.5531671643,
"start": 72373,
"tag": "KEY",
"value": "szegppqkdzrwkokbi\nojlbyagshifmlrv"
},
{
"context": "jaxzrmxxcnxfrlb]szegppqkdzrwkokbi\nojlbyagshifmlrv[qexvdlykxlebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfgan",
"end": 72423,
"score": 0.5234782696,
"start": 72407,
"tag": "KEY",
"value": "qexvdlykxlebrlrj"
},
{
"context": "gppqkdzrwkokbi\nojlbyagshifmlrv[qexvdlykxlebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeul",
"end": 72428,
"score": 0.5039352179,
"start": 72426,
"tag": "KEY",
"value": "lv"
},
{
"context": "dzrwkokbi\nojlbyagshifmlrv[qexvdlykxlebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxac",
"end": 72441,
"score": 0.5237534046,
"start": 72431,
"tag": "KEY",
"value": "hyszjfkocb"
},
{
"context": "yagshifmlrv[qexvdlykxlebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]",
"end": 72447,
"score": 0.5124133825,
"start": 72445,
"tag": "KEY",
"value": "or"
},
{
"context": "lebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]unmkoyxobuuzfwduxa\npj",
"end": 72468,
"score": 0.5199829936,
"start": 72466,
"tag": "KEY",
"value": "nl"
},
{
"context": "rlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]unmkoyxobuuzfwduxa\npjhpw",
"end": 72471,
"score": 0.5046643615,
"start": 72469,
"tag": "KEY",
"value": "fg"
},
{
"context": "lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]unmkoyxobuuzfwduxa\npjhpwsfoiufy",
"end": 72478,
"score": 0.520185709,
"start": 72476,
"tag": "KEY",
"value": "ul"
},
{
"context": "szjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]unmkoyxobuuzfwduxa\npjhpwsfoiufywtd[pzu",
"end": 72485,
"score": 0.5125186443,
"start": 72483,
"tag": "KEY",
"value": "ol"
},
{
"context": "pnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]unmkoyxobuuzfwduxa\npjhpwsfoiufywtd[pzudakbhkrvzepfl]cnmjmtmacyjulpcu[",
"end": 72515,
"score": 0.5175577402,
"start": 72497,
"tag": "KEY",
"value": "unmkoyxobuuzfwduxa"
},
{
"context": "fdtlbltfjevgp[oftsoxfpwolpbvflmvk]xfbcennewbsxcgin\nxoajbdvgnaxyewthsyy[gbvxbmhptnkenvoef]iyxfsrwruprn",
"end": 73208,
"score": 0.5423163176,
"start": 73208,
"tag": "KEY",
"value": ""
},
{
"context": "lbltfjevgp[oftsoxfpwolpbvflmvk]xfbcennewbsxcgin\nxoajbdvgnaxyewthsyy[gbvxbmhptnkenvoef]iyxfsrwruprnhml[pwrbjucvopfozdj",
"end": 73228,
"score": 0.532869339,
"start": 73211,
"tag": "KEY",
"value": "ajbdvgnaxyewthsyy"
},
{
"context": "pwolpbvflmvk]xfbcennewbsxcgin\nxoajbdvgnaxyewthsyy[gbvxbmhptnkenvoef]iyxfsrwruprnhml[pwrbjucvopfozdjlg]ntsdilgkqjkwi",
"end": 73244,
"score": 0.5410860777,
"start": 73229,
"tag": "KEY",
"value": "gbvxbmhptnkenvo"
},
{
"context": "nnewbsxcgin\nxoajbdvgnaxyewthsyy[gbvxbmhptnkenvoef]iyxfsrwruprnhml[pwrbjucvopfozdjlg]ntsdilgkqjkwifjcmqq[gqtizyvtmqy",
"end": 73262,
"score": 0.558134973,
"start": 73247,
"tag": "KEY",
"value": "iyxfsrwruprnhml"
},
{
"context": "bdvgnaxyewthsyy[gbvxbmhptnkenvoef]iyxfsrwruprnhml[pwrbjucvopfozdjlg]ntsdilgkqjkwifjcmqq[gqtizyvtmqydqdemxx]llggegbgpbiebcsg\nosoqemdejeowl",
"end": 73300,
"score": 0.5595965385,
"start": 73263,
"tag": "KEY",
"value": "pwrbjucvopfozdjlg]ntsdilgkqjkwifjcmqq"
},
{
"context": "srwruprnhml[pwrbjucvopfozdjlg]ntsdilgkqjkwifjcmqq[gqtizyvtmqydqdemxx]llggegbgpbiebcsg\nosoqemdejeowlmtbr[gvnuwetgdhuzlfoyp]ynbzmlvpoydjai",
"end": 73336,
"score": 0.5577905774,
"start": 73301,
"tag": "KEY",
"value": "gqtizyvtmqydqdemxx]llggegbgpbiebcsg"
},
{
"context": "jkwifjcmqq[gqtizyvtmqydqdemxx]llggegbgpbiebcsg\nosoqemdejeowlmtbr[gvnuwetgdhuzlfoyp]ynbzmlvpoydjaix\nxmtosmglxiswygq",
"end": 73354,
"score": 0.5362868905,
"start": 73340,
"tag": "KEY",
"value": "qemdejeowlmtbr"
},
{
"context": "vtmqydqdemxx]llggegbgpbiebcsg\nosoqemdejeowlmtbr[gvnuwetgdhuzlfoyp]ynbzmlvpoydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]",
"end": 73372,
"score": 0.5188502073,
"start": 73357,
"tag": "KEY",
"value": "nuwetgdhuzlfoyp"
},
{
"context": "gbgpbiebcsg\nosoqemdejeowlmtbr[gvnuwetgdhuzlfoyp]ynbzmlvpoydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp",
"end": 73388,
"score": 0.5237784982,
"start": 73375,
"tag": "KEY",
"value": "bzmlvpoydjaix"
},
{
"context": "emdejeowlmtbr[gvnuwetgdhuzlfoyp]ynbzmlvpoydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqo",
"end": 73405,
"score": 0.5180401802,
"start": 73391,
"tag": "KEY",
"value": "tosmglxiswygqd"
},
{
"context": "nuwetgdhuzlfoyp]ynbzmlvpoydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xe",
"end": 73411,
"score": 0.5047377348,
"start": 73407,
"tag": "KEY",
"value": "jjpc"
},
{
"context": "oyp]ynbzmlvpoydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikk",
"end": 73421,
"score": 0.5275648236,
"start": 73419,
"tag": "KEY",
"value": "he"
},
{
"context": "nbzmlvpoydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coo",
"end": 73428,
"score": 0.5160146952,
"start": 73424,
"tag": "KEY",
"value": "rcuj"
},
{
"context": "poydjaix\nxmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpz",
"end": 73439,
"score": 0.5198868513,
"start": 73430,
"tag": "KEY",
"value": "pfpmpqaqp"
},
{
"context": "osmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjm",
"end": 73458,
"score": 0.5246822238,
"start": 73442,
"tag": "KEY",
"value": "ffzaniobvxkqobrz"
},
{
"context": "cftewakmxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]sol",
"end": 73464,
"score": 0.5043308735,
"start": 73460,
"tag": "KEY",
"value": "emvs"
},
{
"context": "mxhe]cxrcujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfb",
"end": 73471,
"score": 0.5044254065,
"start": 73467,
"tag": "KEY",
"value": "pikk"
},
{
"context": "cujdbpfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug\ns",
"end": 73479,
"score": 0.516012907,
"start": 73475,
"tag": "KEY",
"value": "coop"
},
{
"context": "pfpmpqaqp\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug\nsyuvjlrlr",
"end": 73487,
"score": 0.5274343491,
"start": 73480,
"tag": "KEY",
"value": "xaqcwwv"
},
{
"context": "\nkmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug\nsyuvjlrlrotbc",
"end": 73491,
"score": 0.5125199556,
"start": 73489,
"tag": "KEY",
"value": "zz"
},
{
"context": "ffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug\nsyuvjlrlrotbcxtm",
"end": 73494,
"score": 0.5037793517,
"start": 73492,
"tag": "KEY",
"value": "wc"
},
{
"context": "pikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug\nsyuvjlrlrotbcxtmqlh[plnbhkottpkhbgrmmc]tp",
"end": 73519,
"score": 0.5044668317,
"start": 73517,
"tag": "KEY",
"value": "ry"
},
{
"context": "gnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug\nsyuvjlrlrotbcxtmqlh[plnbhkottpkhbgrmmc]tpkce",
"end": 73522,
"score": 0.5203199387,
"start": 73521,
"tag": "KEY",
"value": "h"
},
{
"context": "bihtythngvjelm[flrqufrqlvaamtlt]gbuppvlrpotvhgoivu\nwdovdejwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqig",
"end": 75017,
"score": 0.5120393634,
"start": 75017,
"tag": "KEY",
"value": ""
},
{
"context": "htythngvjelm[flrqufrqlvaamtlt]gbuppvlrpotvhgoivu\nwdovdejwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqigkaxi[eirojs",
"end": 75029,
"score": 0.5114325881,
"start": 75019,
"tag": "KEY",
"value": "dovdejwygf"
},
{
"context": "frqlvaamtlt]gbuppvlrpotvhgoivu\nwdovdejwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqigkaxi[eirojscvpewshvdsl",
"end": 75040,
"score": 0.5119550824,
"start": 75037,
"tag": "KEY",
"value": "acy"
},
{
"context": "aamtlt]gbuppvlrpotvhgoivu\nwdovdejwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqigkaxi[eirojscvpewshvdslgs]oloathxik",
"end": 75052,
"score": 0.513712585,
"start": 75042,
"tag": "KEY",
"value": "fmzugdiwfy"
},
{
"context": "lrpotvhgoivu\nwdovdejwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqigkaxi[eirojscvpewshvdslgs]oloathxikscihfpy[vbwlxhdnmpcv",
"end": 75072,
"score": 0.5257805586,
"start": 75055,
"tag": "KEY",
"value": "boqkjmpktiqigkaxi"
},
{
"context": "jwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqigkaxi[eirojscvpewshvdslgs]oloathxikscihfpy[vbwlxhdnmpcvhrdwm]zxwsxrhoksbg",
"end": 75090,
"score": 0.5286807418,
"start": 75074,
"tag": "KEY",
"value": "irojscvpewshvdsl"
},
{
"context": "mzugdiwfy]hbboqkjmpktiqigkaxi[eirojscvpewshvdslgs]oloathxikscihfpy[vbwlxhdnmpcvhrdwm]zxwsxrhoksbgnyva\nvuaiucuvucxmow",
"end": 75109,
"score": 0.5314933062,
"start": 75093,
"tag": "KEY",
"value": "oloathxikscihfpy"
},
{
"context": "ktiqigkaxi[eirojscvpewshvdslgs]oloathxikscihfpy[vbwlxhdnmpcvhrdwm]zxwsxrhoksbgnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkyn",
"end": 75127,
"score": 0.5382441282,
"start": 75112,
"tag": "KEY",
"value": "wlxhdnmpcvhrdwm"
},
{
"context": "scvpewshvdslgs]oloathxikscihfpy[vbwlxhdnmpcvhrdwm]zxwsxrhoksbgnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsi",
"end": 75144,
"score": 0.5362246633,
"start": 75128,
"tag": "KEY",
"value": "zxwsxrhoksbgnyva"
},
{
"context": "thxikscihfpy[vbwlxhdnmpcvhrdwm]zxwsxrhoksbgnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxw",
"end": 75161,
"score": 0.5267297029,
"start": 75147,
"tag": "KEY",
"value": "aiucuvucxmowfv"
},
{
"context": "dnmpcvhrdwm]zxwsxrhoksbgnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgag",
"end": 75168,
"score": 0.5048284531,
"start": 75166,
"tag": "KEY",
"value": "ww"
},
{
"context": "xwsxrhoksbgnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgagl[jsdkwvzzfvx",
"end": 75181,
"score": 0.504697144,
"start": 75179,
"tag": "KEY",
"value": "on"
},
{
"context": "oksbgnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgagl[jsdkwvzzfvxuxsmka",
"end": 75187,
"score": 0.5279586315,
"start": 75185,
"tag": "KEY",
"value": "gu"
},
{
"context": "gnyva\nvuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgagl[jsdkwvzzfvxuxsmkans]cw",
"end": 75192,
"score": 0.5087082386,
"start": 75189,
"tag": "KEY",
"value": "xgq"
},
{
"context": "uvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgagl[jsdkwvzzfvxuxsmkans]cwhuierxyqjm",
"end": 75201,
"score": 0.5120637417,
"start": 75201,
"tag": "KEY",
"value": ""
},
{
"context": "ucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgagl[jsdkwvzzfvxuxsmkans]cwhuierxyqjmuee",
"end": 75205,
"score": 0.5282895565,
"start": 75203,
"tag": "KEY",
"value": "he"
},
{
"context": "owfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon\nnhegyhsxwcesxgagl[jsdkwvzzfvxuxsmkans]cwhuierxyqjmueehii\nnm",
"end": 75211,
"score": 0.52029109,
"start": 75207,
"tag": "KEY",
"value": "hsxw"
},
{
"context": "]ggadublqxpfyoyc\nrvoblfajodmlbftahtv[dgglfidheitvcqob]uzvojeukksuthhlpyoc[ovnskmuaaxulloi]wqhxsjbtaqbgjpbw[ohmzmzpqzevicbzmtk]yjrbmkldmwmmcndia\nrnsgsacbysmwnhlqjps[hmjfyywxcpxwsicxit]rnikgavmgagtsoqjnfp[qvcofkevjqjqhiqhzek]vlhfbggnwqwohspyig[ibsdkevufgsnowonkj]ufazmdkexffmxxfwf\nqkcfiavyhcmknbqcjtq[lknppgsvbdvpftnzcgo]qswbyhtruabsyhvz[ilrimrzzjctbbwhc]knpudsvkdphxsuevep\nwmeryhgvkftqiyctbt[terkorqjaagtbsp]hilrpcfcjsyguukcehn[scmgvajuiuybvzt]enjhgqtdjabbkgh\nkvczijzgmasricwj[xhgvyfhnaxeugzje]xwcxqjegagsjbvnuskc[iiokktbsnmwxknkqch]vtuobocpydqweamu[jgmazxfjiryndgtcqjx]pykbsnsoxbfgacvgpz\nguthejosohmrswzgk[uqthzxkpgxlcmqyop]fxedavqwkrmzbfr[itsvdugwjezrjtgqmua]yotsdzczslbvzatsom\nlyltslrourlevnxw[dtiihjdbejwusjmfap]hdmttxgttdqytvdfpp[qhdrjcwprncegzdfl]iinunfljrfhgifws[fvjgcqtqgxqtgca]bzlvdtdsxgrtzuvh\nndwwncgabwoynmn[zbxvlpndrsbczbklwrb]bkcrlonwivcipxe[eoliublkzenpeyxfk]voydcapbmbsiuvqfywt[mmiirgxvnbpnkyjh]pgkocrralcozybthp\nlvrcxgzomstmslr[vczvuydqcmhfmlt]gmogxiffrfsazqbh[",
"end": 77543,
"score": 0.8034866452,
"start": 76667,
"tag": "KEY",
"value": "qob]uzvojeukksuthhlpyoc[ovnskmuaaxulloi]wqhxsjbtaqbgjpbw[ohmzmzpqzevicbzmtk]yjrbmkldmwmmcndia\nrnsgsacbysmwnhlqjps[hmjfyywxcpxwsicxit]rnikgavmgagtsoqjnfp[qvcofkevjqjqhiqhzek]vlhfbggnwqwohspyig[ibsdkevufgsnowonkj]ufazmdkexffmxxfwf\nqkcfiavyhcmknbqcjtq[lknppgsvbdvpftnzcgo]qswbyhtruabsyhvz[ilrimrzzjctbbwhc]knpudsvkdphxsuevep\nwmeryhgvkftqiyctbt[terkorqjaagtbsp]hilrpcfcjsyguukcehn[scmgvajuiuybvzt]enjhgqtdjabbkgh\nkvczijzgmasricwj[xhgvyfhnaxeugzje]xwcxqjegagsjbvnuskc[iiokktbsnmwxknkqch]vtuobocpydqweamu[jgmazxfjiryndgtcqjx]pykbsnsoxbfgacvgpz\nguthejosohmrswzgk[uqthzxkpgxlcmqyop]fxedavqwkrmzbfr[itsvdugwjezrjtgqmua]yotsdzczslbvzatsom\nlyltslrourlevnxw[dtiihjdbejwusjmfap]hdmttxgttdqytvdfpp[qhdrjcwprncegzdfl]iinunfljrfhgifws[fvjgcqtqgxqtgca]bzlvdtdsxgrtzuvh\nndwwncgabwoynmn[zbxvlpndrsbczbklwrb]bkcrlonwivcipxe[eoliublkzenpeyxfk]voydcapbmbsiuvqfywt[mmiirgxvnbpnkyjh]pgkocrralcozybthp"
},
{
"context": "siuvqfywt[mmiirgxvnbpnkyjh]pgkocrralcozybthp\nlvrcxgzomstmslr[vczvuydqcmhfmlt]gmogxiffrfsazqbh[yvnoqlav",
"end": 77551,
"score": 0.5369910598,
"start": 77549,
"tag": "KEY",
"value": "gz"
},
{
"context": "rgxvnbpnkyjh]pgkocrralcozybthp\nlvrcxgzomstmslr[vczvuydqcmhfmlt]gmogxiffrfsazqbh[yvnoqlavmbnattcrgd]tsb",
"end": 77565,
"score": 0.5057910681,
"start": 77563,
"tag": "KEY",
"value": "vu"
},
{
"context": "nbpnkyjh]pgkocrralcozybthp\nlvrcxgzomstmslr[vczvuydqcmhfmlt]gmogxiffrfsazqbh[yvnoqlavmbnattcrgd]tsbkxinrrb",
"end": 77572,
"score": 0.5238822699,
"start": 77567,
"tag": "KEY",
"value": "qcmhf"
},
{
"context": "h]pgkocrralcozybthp\nlvrcxgzomstmslr[vczvuydqcmhfmlt]gmogxiffrfsazqbh[yvnoqlavmbnattcrgd]tsbkxinrrbbxypwnafo[pgtfpwnnlxibpjchgd]hznabthirzxjipjd\njtczttrstcpmsko[mabkmpwpcytkqdmhjc]jntwxslpyrkrehj[cqbvlkhugmarodmoqeo]weaiacdfakrkuizqw[uiwkgtbzmmffxrhtn]lhygapgcdaszgoyy\nahnbwmiwwwivkykv[pcsiuyrowqrqfxcvw]mgksjiinoudrumr[ocwtmprzvamougd]lvqqlgaftlflllvqo[akvkgazplkkvqshgbk]zvyvtmxkttxnxxdy\ntsbifacnljabpczi[cmmjarpfeeyoeplv]zsjcjdfidfjvcgdd\nvaviqqmsbqellpw[xjjzxupmjbkyuzq]putpqaavecqypslf[nkyslewbmmsxvdy]maszkbnmujztqfbzq[hjwtywxdrybhcvplncc]bvgsnjtjidiuvggo\njhejwzckrrrzcjgs[vjkxxdonhncwkykwi]kyuvbdlmkffyzept[jloktbqtmtczmjbdord]uzggzgltjzngpsboyxy\nrkrntmebnqrkoboby[gujdrcqoqatyewm]qhrzxubcwkrkqibjwl[hvnezryivakciaoukrd]teefauinxaijxil\nzkuajphbyhsxocacplf[tqkosililhbxgsgp]xttqprajeocotwoixkw[hdmduoyjxcizwpa]cihkdwlaxhjzpjw\nxzcmplyeabfrcpfr[qhfkyjzmivvhbqeblph]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglcki",
"end": 78390,
"score": 0.6712049246,
"start": 77574,
"tag": "KEY",
"value": "t]gmogxiffrfsazqbh[yvnoqlavmbnattcrgd]tsbkxinrrbbxypwnafo[pgtfpwnnlxibpjchgd]hznabthirzxjipjd\njtczttrstcpmsko[mabkmpwpcytkqdmhjc]jntwxslpyrkrehj[cqbvlkhugmarodmoqeo]weaiacdfakrkuizqw[uiwkgtbzmmffxrhtn]lhygapgcdaszgoyy\nahnbwmiwwwivkykv[pcsiuyrowqrqfxcvw]mgksjiinoudrumr[ocwtmprzvamougd]lvqqlgaftlflllvqo[akvkgazplkkvqshgbk]zvyvtmxkttxnxxdy\ntsbifacnljabpczi[cmmjarpfeeyoeplv]zsjcjdfidfjvcgdd\nvaviqqmsbqellpw[xjjzxupmjbkyuzq]putpqaavecqypslf[nkyslewbmmsxvdy]maszkbnmujztqfbzq[hjwtywxdrybhcvplncc]bvgsnjtjidiuvggo\njhejwzckrrrzcjgs[vjkxxdonhncwkykwi]kyuvbdlmkffyzept[jloktbqtmtczmjbdord]uzggzgltjzngpsboyxy\nrkrntmebnqrkoboby[gujdrcqoqatyewm]qhrzxubcwkrkqibjwl[hvnezryivakciaoukrd]teefauinxaijxil\nzkuajphbyhsxocacplf[tqkosililhbxgsgp]xttqprajeocotwoixkw[hdmduoyjxcizwpa]cihkdwlaxhjzpjw\nxzcmplyeabfrcpfr[qhfkyjzmivvhbqeblph"
},
{
"context": "kdwlaxhjzpjw\nxzcmplyeabfrcpfr[qhfkyjzmivvhbqeblph]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpa",
"end": 78409,
"score": 0.5693440437,
"start": 78391,
"tag": "KEY",
"value": "bkwydbvhtutbtytnrx"
},
{
"context": "yeabfrcpfr[qhfkyjzmivvhbqeblph]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoaneb",
"end": 78425,
"score": 0.5396653414,
"start": 78410,
"tag": "KEY",
"value": "oslchcvrlcxmsnb"
},
{
"context": "zmivvhbqeblph]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoanebmeh",
"end": 78428,
"score": 0.5513368249,
"start": 78427,
"tag": "KEY",
"value": "q"
},
{
"context": "vhbqeblph]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoanebmehzfwyt\nbjr",
"end": 78437,
"score": 0.536233902,
"start": 78431,
"tag": "KEY",
"value": "ggbegl"
},
{
"context": "h]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoanebmehzfwyt\nbjrvsfw",
"end": 78441,
"score": 0.5362012982,
"start": 78439,
"tag": "KEY",
"value": "ih"
},
{
"context": "ydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoanebmehzfwyt\nbjrvsfwownh",
"end": 78445,
"score": 0.5204482675,
"start": 78444,
"tag": "KEY",
"value": "q"
},
{
"context": "vrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoanebmehzfwyt\nbjrvsfwownhpxsowafm[dtmxsbtquavgypbi",
"end": 78470,
"score": 0.5322597027,
"start": 78466,
"tag": "KEY",
"value": "mgiz"
},
{
"context": "tbynx]olddxeqctucllsvrvhn[pxfftvrdqdglkvll]xymmmimcqskfozlkyos\nrlqkqjeaqkqkdsfb[igleoesoxntrdwsyoz]ujmbnjtysangjwpsod[nniriilejnvzrrnn]mbqjytlwauzscjj\negnnnubdxhgpiypsha[byoisscizhhpsjy]hmtbmbgshscaxadry\nqjafhagbtdpvszwlpz[ipehjbasniypubhfb]hreoxsqzigscxhnaf[rntqxzmxfxdldnpxqb]jriknndggvtkifa[kavxsbypdwmsildd]uisivvrtykssbvmsm\nrwxhzignxkrqeuy[memzudqlzcfrgudefyh]pyoldsepksbcbthfdcw\njhgyboztenuwlqu[zjsmipieimgaypipjm]jbjlglomhxosmwypq[lvpsqwjvzepgvzbfs]ergqdyrvicbsgxg[ugcuougnecjcrpav]pzgpppoonvamxhkbg\nmdmifuoicysmavfkvtr[rdcuzujskhncvsy]ypspsiiizkvopyb\ntlwbtllklxrkyivnnuw[zqphdjfrntryqssd]uuefrmazhsiqdbodatx[zdptibmcvohmnwrv]jofpqdvwggfsdkz\nrkgfksxcpqkspdsx[zubzkcjhpvtdvow]bkbmwwrfqtmaosodlhx[shxfozufozglsgfj]tbtwcavcbvhjourcvu\nayayqmsdvbzfnut[nzwcajbcbcduifari]eazisrtfqhzophb[zkgweftquububoothq]lrpktclkzizrutnybq[guuneltajlsxbbx]rrakswukxamcewdy\ndtuezfpubkdvxojau[ipzyfbjcwxazbqeslhs]nelubzldtozljzyj[uqkgjszhpokhonrpg]pgaebrtqevqblaxqa\nbbduqlqjpilanyikfb[iwngaxahwxongrgf]krgrarolzgmzd",
"end": 80291,
"score": 0.7717140913,
"start": 79392,
"tag": "KEY",
"value": "cqskfozlkyos\nrlqkqjeaqkqkdsfb[igleoesoxntrdwsyoz]ujmbnjtysangjwpsod[nniriilejnvzrrnn]mbqjytlwauzscjj\negnnnubdxhgpiypsha[byoisscizhhpsjy]hmtbmbgshscaxadry\nqjafhagbtdpvszwlpz[ipehjbasniypubhfb]hreoxsqzigscxhnaf[rntqxzmxfxdldnpxqb]jriknndggvtkifa[kavxsbypdwmsildd]uisivvrtykssbvmsm\nrwxhzignxkrqeuy[memzudqlzcfrgudefyh]pyoldsepksbcbthfdcw\njhgyboztenuwlqu[zjsmipieimgaypipjm]jbjlglomhxosmwypq[lvpsqwjvzepgvzbfs]ergqdyrvicbsgxg[ugcuougnecjcrpav]pzgpppoonvamxhkbg\nmdmifuoicysmavfkvtr[rdcuzujskhncvsy]ypspsiiizkvopyb\ntlwbtllklxrkyivnnuw[zqphdjfrntryqssd]uuefrmazhsiqdbodatx[zdptibmcvohmnwrv]jofpqdvwggfsdkz\nrkgfksxcpqkspdsx[zubzkcjhpvtdvow]bkbmwwrfqtmaosodlhx[shxfozufozglsgfj]tbtwcavcbvhjourcvu\nayayqmsdvbzfnut[nzwcajbcbcduifari]eazisrtfqhzophb[zkgweftquububoothq]lrpktclkzizrutnybq[guuneltajlsxbbx]rrakswukxamcewdy\ndtuezfpubkdvxojau[ipzyfbjcwxazbqeslhs]nelubzldtozljzyj[uqkgjszhpokhonrpg]pgaebrtqevqblaxqa"
},
{
"context": "ubzldtozljzyj[uqkgjszhpokhonrpg]pgaebrtqevqblaxqa\nbbduqlqjpilanyikfb[iwngaxahwxongrgf]krgrarolzgmzdtj[mbsttcbkbedk",
"end": 80306,
"score": 0.5516452193,
"start": 80292,
"tag": "KEY",
"value": "bbduqlqjpilany"
},
{
"context": "kgjszhpokhonrpg]pgaebrtqevqblaxqa\nbbduqlqjpilanyikfb[iwngaxahwxongrgf]krgrarolzgmzdtj[mbsttcbkbedkcmbl",
"end": 80310,
"score": 0.5664847493,
"start": 80308,
"tag": "KEY",
"value": "fb"
},
{
"context": "momchyeghsp\negmftdtwkpmhdpda[jlxrjvldyikwjlcwx]inqnhjexcxubtzbx[nxiniqbbzoedxkyc]siepprpdulpnkrussom[srrupzubqhkmccxcnas]qylljcyzwypwzumem\nikjwnxkhkzqmppk[tzaysscnyqriqxcg]miabsouchfluijdwa[cmxeoduyguwjxqcj]ilprgkdcvvopotdzzon\ncauxikrtpgqgwydmagf[nrnvqarumgmthrf]xyyopmoyoampemafwe[jwjgmglxphjkvfg]oxltiecspkarhualt\npjzcgmqitucfyph[cxxlbsznvwpxvzghv]woqulnjvvfjvjzy[wgxczusgzxnpkakki]fvtepvwjkaozguggqk\nfgwvbbyiyljwmkgcmic[gnohlyijeqfjldrpqey]qbdzxnxuiprcwjsn[ogtlzpxxzbtgfbjx]wxgaduaiyihyumprhe\nmgemsvccgqreluv[qrlpjfkdoinuyou]ovkiqoqefrjmrzgb[fzmqpuzoufcybpuc",
"end": 83514,
"score": 0.6255608797,
"start": 83053,
"tag": "KEY",
"value": "nhjexcxubtzbx[nxiniqbbzoedxkyc]siepprpdulpnkrussom[srrupzubqhkmccxcnas]qylljcyzwypwzumem\nikjwnxkhkzqmppk[tzaysscnyqriqxcg]miabsouchfluijdwa[cmxeoduyguwjxqcj]ilprgkdcvvopotdzzon\ncauxikrtpgqgwydmagf[nrnvqarumgmthrf]xyyopmoyoampemafwe[jwjgmglxphjkvfg]oxltiecspkarhualt\npjzcgmqitucfyph[cxxlbsznvwpxvzghv]woqulnjvvfjvjzy[wgxczusgzxnpkakki]fvtepvwjkaozguggqk\nfgwvbbyiyljwmkgcmic[gnohlyijeqfjldrpqey]qbdzxnxuiprcwjsn[ogtlzpxxzbtgfbjx]wxgaduaiyihyumprhe\nmgemsvccgqreluv"
},
{
"context": "lzpxxzbtgfbjx]wxgaduaiyihyumprhe\nmgemsvccgqreluv[qrlpjfkdoinuyou]ovkiqoqefrjmrzgb[fzmqpuzoufcybpucq]aaftwlldjkhole",
"end": 83530,
"score": 0.5483199954,
"start": 83516,
"tag": "KEY",
"value": "rlpjfkdoinuyou"
},
{
"context": "xgaduaiyihyumprhe\nmgemsvccgqreluv[qrlpjfkdoinuyou]ovkiqoqefrjmrzgb[fzmqpuzoufcybpucq]aaftwlldjkholezzpk\nvxfsphugegto",
"end": 83547,
"score": 0.5475839376,
"start": 83531,
"tag": "KEY",
"value": "ovkiqoqefrjmrzgb"
},
{
"context": "gemsvccgqreluv[qrlpjfkdoinuyou]ovkiqoqefrjmrzgb[fzmqpuzoufcybpucq]aaftwlldjkholezzpk\nvxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxeg",
"end": 83584,
"score": 0.5385076404,
"start": 83550,
"tag": "KEY",
"value": "mqpuzoufcybpucq]aaftwlldjkholezzpk"
},
{
"context": "oqefrjmrzgb[fzmqpuzoufcybpucq]aaftwlldjkholezzpk\nvxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxd",
"end": 83601,
"score": 0.5304145217,
"start": 83586,
"tag": "KEY",
"value": "xfsphugegtougth"
},
{
"context": "oufcybpucq]aaftwlldjkholezzpk\nvxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvn",
"end": 83609,
"score": 0.5204443932,
"start": 83605,
"tag": "KEY",
"value": "kvni"
},
{
"context": "pucq]aaftwlldjkholezzpk\nvxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]k",
"end": 83613,
"score": 0.5130742192,
"start": 83611,
"tag": "KEY",
"value": "ll"
},
{
"context": "holezzpk\nvxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfkt",
"end": 83628,
"score": 0.5358449817,
"start": 83626,
"tag": "KEY",
"value": "gb"
},
{
"context": "zzpk\nvxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfktw\nltlrncoq",
"end": 83638,
"score": 0.512778163,
"start": 83630,
"tag": "KEY",
"value": "osxegeco"
},
{
"context": "gtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfktw\nltlrncoqeeupwtoxv[",
"end": 83648,
"score": 0.5165131092,
"start": 83644,
"tag": "KEY",
"value": "ptnx"
},
{
"context": "k[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfktw\nltlrncoqeeupwtoxv[yoosiu",
"end": 83654,
"score": 0.5129896998,
"start": 83652,
"tag": "KEY",
"value": "ka"
},
{
"context": "yzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfktw\nltlrncoqeeupwtoxv[yoosiulyjjmwa",
"end": 83661,
"score": 0.5046091676,
"start": 83659,
"tag": "KEY",
"value": "ue"
},
{
"context": "tosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfktw\nltlrncoqeeupwtoxv[yoosiulyjjmwacymwfk]v",
"end": 83669,
"score": 0.5152786374,
"start": 83663,
"tag": "KEY",
"value": "clnhnp"
},
{
"context": "oxv[yoosiulyjjmwacymwfk]vdgfdfcjubkcbhiixv\nediaeekjpbzidrfpu[rowhynyrchamhzrp]wetzubsftjwuksnd[yqbtzngplxcqkyx",
"end": 83754,
"score": 0.5334493518,
"start": 83744,
"tag": "KEY",
"value": "jpbzidrfpu"
},
{
"context": "mwacymwfk]vdgfdfcjubkcbhiixv\nediaeekjpbzidrfpu[rowhynyrchamhzrp]wetzubsftjwuksnd[yqbtzngplxcqkyxf]blz",
"end": 83759,
"score": 0.5437039137,
"start": 83758,
"tag": "KEY",
"value": "h"
},
{
"context": "cymwfk]vdgfdfcjubkcbhiixv\nediaeekjpbzidrfpu[rowhynyrchamhzrp]wetzubsftjwuksnd[yqbtzngplxcqkyxf]blzuvnektffqbkf",
"end": 83771,
"score": 0.5325727463,
"start": 83761,
"tag": "KEY",
"value": "yrchamhzrp"
},
{
"context": "dfcjubkcbhiixv\nediaeekjpbzidrfpu[rowhynyrchamhzrp]wetzubsftjwuksnd[yqbtzngplxcqkyxf]blzuvnektffqbkf[egmvyplsbysvfjjk",
"end": 83788,
"score": 0.5411450863,
"start": 83772,
"tag": "KEY",
"value": "wetzubsftjwuksnd"
},
{
"context": "eekjpbzidrfpu[rowhynyrchamhzrp]wetzubsftjwuksnd[yqbtzngplxcqkyxf]blzuvnektffqbkf[egmvyplsbysvfjjkr]ikrllifuchlkthknpqb\nohspsyvzulz",
"end": 83821,
"score": 0.5651292801,
"start": 83791,
"tag": "KEY",
"value": "btzngplxcqkyxf]blzuvnektffqbkf"
},
{
"context": "tzubsftjwuksnd[yqbtzngplxcqkyxf]blzuvnektffqbkf[egmvyplsbysvfjjkr]ikrllifuchlkthknpqb\nohspsyvzulzfsgghvbu[tvtbzqptc",
"end": 83839,
"score": 0.5540502071,
"start": 83824,
"tag": "KEY",
"value": "mvyplsbysvfjjkr"
},
{
"context": "tzngplxcqkyxf]blzuvnektffqbkf[egmvyplsbysvfjjkr]ikrllifuchlkthknpqb\nohspsyvzulzfsgghvbu[tvtbzqptcpguecpgb]zyadwosbwch",
"end": 83859,
"score": 0.5643666387,
"start": 83842,
"tag": "KEY",
"value": "rllifuchlkthknpqb"
},
{
"context": "hvagaasozym]tvgkhkooyejddnhv\nuxtuhgkkulhrvowswt[etzltbttiofnkeyh]gsgnleidfbomktjtbrq\nowccdxohulgarvvxx[pbbuwbbkrgqlhxa]lqbqozlyegslpxvr[arduobjtbducuoiwykm]tfziqcucaqjcfrc\nfoxbwdzngattycaunku[lnkqgrufdcqreruqp]otrfaarzydubngucw[hhaqnaieublicggcep]jjvurleoxyatgtlexjd\nbxercunxdkmyxoo[zuvlzxstpwfmbnv]laszhsamraptopjmfx[syvqwydkiawwwpb]dyrhipcnwwbhmcotha\nmrcbhykyikojmqmxr[gijdvcjehxyzlpxms]bkzqdkykgcvrlbdcpck\ndqdrhkhanojahvaof[msammceatlnnwypjnk]yxkhkmiroydwvls[bgxvfxasrtzmiqpueoy]esjxrbelpjsvdcdx\ntuxcluskqsebpcm[xplkqkfmkdsjlgnome]qkweswhvzqmpkujows\nnbpwnioczrkicxddphr[zmtlntcztddnmcl]gjultcfncpmekcsosbn[pzwvjmfvfkanh",
"end": 84493,
"score": 0.7091796398,
"start": 83971,
"tag": "KEY",
"value": "zltbttiofnkeyh]gsgnleidfbomktjtbrq\nowccdxohulgarvvxx[pbbuwbbkrgqlhxa]lqbqozlyegslpxvr[arduobjtbducuoiwykm]tfziqcucaqjcfrc\nfoxbwdzngattycaunku[lnkqgrufdcqreruqp]otrfaarzydubngucw[hhaqnaieublicggcep]jjvurleoxyatgtlexjd\nbxercunxdkmyxoo[zuvlzxstpwfmbnv]laszhsamraptopjmfx[syvqwydkiawwwpb]dyrhipcnwwbhmcotha\nmrcbhykyikojmqmxr[gijdvcjehxyzlpxms]bkzqdkykgcvrlbdcpck\ndqdrhkhanojahvaof[msammceatlnnwypjnk]yxkhkmiroydwvls[bgxvfxasrtzmiqpueoy]esjxrbelpjsvdcdx\ntuxcluskqsebpcm[xplkqkfmkdsjlgnome]qkweswhvzqmpkujows\nnbpwnioczrkicxddphr"
},
{
"context": "dsjlgnome]qkweswhvzqmpkujows\nnbpwnioczrkicxddphr[zmtlntcztddnmcl]gjultcfncpmekcsosbn[pzwvjmfvfkanhxbhcy]kafsqjaraeicizjy\ndrcviwihoplft",
"end": 84529,
"score": 0.6154536605,
"start": 84495,
"tag": "KEY",
"value": "mtlntcztddnmcl]gjultcfncpmekcsosbn"
},
{
"context": "oczrkicxddphr[zmtlntcztddnmcl]gjultcfncpmekcsosbn[pzwvjmfvfkanhxbhcy]kafsqjaraeicizjy\ndrcviwihoplftyb[xykuycwejtdqehmuf]kfmgemdaoetwhczw\niuqdiepdheskvv",
"end": 84581,
"score": 0.6043701768,
"start": 84530,
"tag": "KEY",
"value": "pzwvjmfvfkanhxbhcy]kafsqjaraeicizjy\ndrcviwihoplftyb"
},
{
"context": "jmfvfkanhxbhcy]kafsqjaraeicizjy\ndrcviwihoplftyb[xykuycwejtdqehmuf]kfmgemdaoetwhczw\niuqdiepdheskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqed",
"end": 84616,
"score": 0.5681045651,
"start": 84584,
"tag": "KEY",
"value": "kuycwejtdqehmuf]kfmgemdaoetwhczw"
},
{
"context": "viwihoplftyb[xykuycwejtdqehmuf]kfmgemdaoetwhczw\niuqdiepdheskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqedfsrdg[rvdqhetiopoy",
"end": 84635,
"score": 0.5601145029,
"start": 84619,
"tag": "KEY",
"value": "qdiepdheskvvgvix"
},
{
"context": "wejtdqehmuf]kfmgemdaoetwhczw\niuqdiepdheskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqedfsrdg[rvdqhetiopoykpopol]lnq",
"end": 84645,
"score": 0.5407458544,
"start": 84638,
"tag": "KEY",
"value": "fqccpns"
},
{
"context": "uf]kfmgemdaoetwhczw\niuqdiepdheskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqedfsrdg[rvdqhetiopoykpopol]lnqyxioswrs",
"end": 84653,
"score": 0.529180944,
"start": 84647,
"tag": "KEY",
"value": "awotpt"
},
{
"context": "daoetwhczw\niuqdiepdheskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqedfsrdg[rvdqhetiopoykpopol]lnqyxioswrssucownvu\numqpsyqwaf",
"end": 84672,
"score": 0.5497006774,
"start": 84656,
"tag": "KEY",
"value": "mljfmrhvqedfsrdg"
},
{
"context": "heskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqedfsrdg[rvdqhetiopoykpopol]lnqyxioswrssucownvu\numqpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[",
"end": 84711,
"score": 0.5601270795,
"start": 84675,
"tag": "KEY",
"value": "dqhetiopoykpopol]lnqyxioswrssucownvu"
},
{
"context": "qedfsrdg[rvdqhetiopoykpopol]lnqyxioswrssucownvu\numqpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln",
"end": 84729,
"score": 0.5925204158,
"start": 84714,
"tag": "KEY",
"value": "qpsyqwafisrktta"
},
{
"context": "oykpopol]lnqyxioswrssucownvu\numqpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfr",
"end": 84745,
"score": 0.5302898288,
"start": 84733,
"tag": "KEY",
"value": "cbzzavysoixd"
},
{
"context": "xioswrssucownvu\numqpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhsstt",
"end": 84754,
"score": 0.5308235884,
"start": 84746,
"tag": "KEY",
"value": "wdtnkvsv"
},
{
"context": "cownvu\numqpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsv",
"end": 84761,
"score": 0.5417874455,
"start": 84755,
"tag": "KEY",
"value": "fcvfks"
},
{
"context": "qpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxl",
"end": 84779,
"score": 0.5425704718,
"start": 84764,
"tag": "KEY",
"value": "joivoqobrzeepln"
},
{
"context": "qncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu\nqjlmfjwtglo",
"end": 84796,
"score": 0.5564169884,
"start": 84781,
"tag": "KEY",
"value": "iqmbmxwsppwzfro"
},
{
"context": "nkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu\nqjlmfjwtglolrdxv",
"end": 84801,
"score": 0.5444970131,
"start": 84799,
"tag": "KEY",
"value": "hs"
},
{
"context": "vfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu\nqjlmfjwtglolrdxvqk[yufnm",
"end": 84809,
"score": 0.5135891438,
"start": 84807,
"tag": "KEY",
"value": "dg"
},
{
"context": "pjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu\nqjlmfjwtglolrdxvqk[yufnmwyfhjr",
"end": 84815,
"score": 0.5210626125,
"start": 84813,
"tag": "KEY",
"value": "ov"
},
{
"context": "qobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu\nqjlmfjwtglolrdxvqk[yufnmwyfhjrqzrxrddv",
"end": 84823,
"score": 0.5135900378,
"start": 84819,
"tag": "KEY",
"value": "dvcs"
},
{
"context": "pln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu\nqjlmfjwtglolrdxvqk[yufnmwyfhjrqzrxrddv]pzcaaeoiti",
"end": 84834,
"score": 0.5274903178,
"start": 84826,
"tag": "KEY",
"value": "hxllpblu"
},
{
"context": "vqk[yufnmwyfhjrqzrxrddv]pzcaaeoitighunvg[eamjujwzolooemhj]mxbnbjvuikcycvnfuh\nzykdcejnrxpiimmbf[ofuzkgknvcexqzxpu]ketlytmhcmzvwtssaq[pgruobcnyaqmyjvospf]jkkvdoervshvgeqwj[fiexihxudpdrzdwp]pzmgprenvskgbgupy\nedesihewpfcjzkjhhk[ydoqcgosoyuebpoib]oaxftiagsynwawlukdo[pobikbzlxzzatth]tzvwglytrgbmlsdikum\nrvdcduthikkjrfx[oxwihjkewocfvjpq]wtpoobflhevxjuwnqr[ltfcdcjnkkfetnor]obpzfslqfunurzhpr\nihikssgoutovoropq[nitrordhoxvqfbjfc]lxnjmoufkqnxizdcthn\nnsnkrlllkoyukbkwikp[anhzfrtqwndvwcndm]xyvidixcvjwqwxbsctb[awnmlqopvrjxyvjlbn]ldmgegtwfkvwjurzk\ndvjmhdavqxdhnbglm[qopsknwswyqoqccp]jycpmzubidfbwsskm\ndstxfmmohcyoivxmci[prdroxyvxqzdrdsu]qzczowwyxtufoewluu[ywzeufezgbazekly]tiifyttcldlhravctc\nanocufhbdffrnyhxt[sopxugpfxbbjlsgtdc]nvnnbdsjqfevwbgbaif[ljuuwzmlrnpjvxgbp]hoeejpqdkbrafcmv\nmvoaumknaokkjrduxj[anhqilrxkkqawmtdwhd]zuugnxwinmpwchymrx[ftylpriufvgtanapyy]xnizqpmgcbbotfpru[ilovypboxtuyozqag]aldfcdeyubuntmvyv\nxlvezhyhuvbnhgezw[yvaxeeokyjwjgzr]hqtybqtojttsyhycsy\nbjcbsmjssbubqixiqmu[uzycqzxxixenmtvz]ykvtnssyurdi",
"end": 85805,
"score": 0.8318135142,
"start": 84900,
"tag": "KEY",
"value": "looemhj]mxbnbjvuikcycvnfuh\nzykdcejnrxpiimmbf[ofuzkgknvcexqzxpu]ketlytmhcmzvwtssaq[pgruobcnyaqmyjvospf]jkkvdoervshvgeqwj[fiexihxudpdrzdwp]pzmgprenvskgbgupy\nedesihewpfcjzkjhhk[ydoqcgosoyuebpoib]oaxftiagsynwawlukdo[pobikbzlxzzatth]tzvwglytrgbmlsdikum\nrvdcduthikkjrfx[oxwihjkewocfvjpq]wtpoobflhevxjuwnqr[ltfcdcjnkkfetnor]obpzfslqfunurzhpr\nihikssgoutovoropq[nitrordhoxvqfbjfc]lxnjmoufkqnxizdcthn\nnsnkrlllkoyukbkwikp[anhzfrtqwndvwcndm]xyvidixcvjwqwxbsctb[awnmlqopvrjxyvjlbn]ldmgegtwfkvwjurzk\ndvjmhdavqxdhnbglm[qopsknwswyqoqccp]jycpmzubidfbwsskm\ndstxfmmohcyoivxmci[prdroxyvxqzdrdsu]qzczowwyxtufoewluu[ywzeufezgbazekly]tiifyttcldlhravctc\nanocufhbdffrnyhxt[sopxugpfxbbjlsgtdc]nvnnbdsjqfevwbgbaif[ljuuwzmlrnpjvxgbp]hoeejpqdkbrafcmv\nmvoaumknaokkjrduxj[anhqilrxkkqawmtdwhd]zuugnxwinmpwchymrx[ftylpriufvgtanapyy]xnizqpmgcbbotfpru[ilovypboxtuyozqag]aldfcdeyubuntmvyv\nxlvezhyhuvbnhgezw[yvaxeeokyjwjgzr]hqtybqtojttsyhycsy"
},
{
"context": "ezhyhuvbnhgezw[yvaxeeokyjwjgzr]hqtybqtojttsyhycsy\nbjcbsmjssbubqixiqmu[uzycqzxxixenmtvz]ykvtnssyurdixcswneu\ngw",
"end": 85815,
"score": 0.6135957241,
"start": 85806,
"tag": "KEY",
"value": "bjcbsmjss"
},
{
"context": "ubqixiqmu[uzycqzxxixenmtvz]ykvtnssyurdixcswneu\ngwcwwzlhdufsjwaxal[howbmljowljdsvbm]jggvldehjwoafvshlw[",
"end": 85868,
"score": 0.513412416,
"start": 85866,
"tag": "KEY",
"value": "ww"
},
{
"context": "wneu\ngwcwwzlhdufsjwaxal[howbmljowljdsvbm]jggvldehjwoafvshlw[bfevufuakhrccqcc]dfufvaxzavehxgwb\nxuigvxgn",
"end": 85910,
"score": 0.5130938292,
"start": 85908,
"tag": "KEY",
"value": "wo"
},
{
"context": "gvldehjwoafvshlw[bfevufuakhrccqcc]dfufvaxzavehxgwb\nxuigvxgnmagtmdke[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[",
"end": 85951,
"score": 0.5048648119,
"start": 85951,
"tag": "KEY",
"value": ""
},
{
"context": "dehjwoafvshlw[bfevufuakhrccqcc]dfufvaxzavehxgwb\nxuigvxgnmagtmdke[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[bqpabinchcjqcjy]",
"end": 85968,
"score": 0.5307716131,
"start": 85954,
"tag": "KEY",
"value": "igvxgnmagtmdke"
},
{
"context": "vufuakhrccqcc]dfufvaxzavehxgwb\nxuigvxgnmagtmdke[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[bqpabinchcjqcjy]ysktjdirrevjyqy",
"end": 85983,
"score": 0.5286685824,
"start": 85971,
"tag": "KEY",
"value": "kzzxieoqxbae"
},
{
"context": "ufvaxzavehxgwb\nxuigvxgnmagtmdke[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[bqpabinchcjqcjy]ysktjdirrevjyqyc[rwtodjwpnppdvig]",
"end": 86001,
"score": 0.537201941,
"start": 85987,
"tag": "KEY",
"value": "npncmtrsiytxhy"
},
{
"context": "xuigvxgnmagtmdke[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[bqpabinchcjqcjy]ysktjdirrevjyqyc[rwtodjwpnppdvig]cxedadgimutpobyk",
"end": 86017,
"score": 0.545532465,
"start": 86002,
"tag": "KEY",
"value": "bqpabinchcjqcjy"
},
{
"context": "[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[bqpabinchcjqcjy]ysktjdirrevjyqyc[rwtodjwpnppdvig]cxedadgimutpobykf\ndaqanavryjmzxfl",
"end": 86034,
"score": 0.5496219397,
"start": 86018,
"tag": "KEY",
"value": "ysktjdirrevjyqyc"
},
{
"context": "nqnpncmtrsiytxhy[bqpabinchcjqcjy]ysktjdirrevjyqyc[rwtodjwpnppdvig]cxedadgimutpobykf\ndaqanavryjmzxflo[vcpyomgckepdft",
"end": 86050,
"score": 0.554127872,
"start": 86035,
"tag": "KEY",
"value": "rwtodjwpnppdvig"
},
{
"context": "qpabinchcjqcjy]ysktjdirrevjyqyc[rwtodjwpnppdvig]cxedadgimutpobykf\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedh",
"end": 86068,
"score": 0.5539351702,
"start": 86053,
"tag": "KEY",
"value": "edadgimutpobykf"
},
{
"context": "tjdirrevjyqyc[rwtodjwpnppdvig]cxedadgimutpobykf\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqv",
"end": 86085,
"score": 0.548833251,
"start": 86071,
"tag": "KEY",
"value": "qanavryjmzxflo"
},
{
"context": "odjwpnppdvig]cxedadgimutpobykf\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyyk",
"end": 86095,
"score": 0.5128056407,
"start": 86088,
"tag": "KEY",
"value": "pyomgck"
},
{
"context": "vig]cxedadgimutpobykf\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutf",
"end": 86100,
"score": 0.5170326233,
"start": 86097,
"tag": "KEY",
"value": "dft"
},
{
"context": "edadgimutpobykf\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidc",
"end": 86109,
"score": 0.5208399296,
"start": 86103,
"tag": "KEY",
"value": "izgysg"
},
{
"context": "tpobykf\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeu",
"end": 86116,
"score": 0.5285015106,
"start": 86111,
"tag": "KEY",
"value": "funtq"
},
{
"context": "\ndaqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeuqmjv",
"end": 86120,
"score": 0.5203193426,
"start": 86118,
"tag": "KEY",
"value": "hp"
},
{
"context": "navryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeuqmjvryo]baclxsovuumhg",
"end": 86137,
"score": 0.5149092674,
"start": 86123,
"tag": "KEY",
"value": "asgyhpytrbqvgf"
},
{
"context": "omgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeuqmjvryo]baclxsovuumhgjffx\nlpyeghloevh",
"end": 86153,
"score": 0.5196074843,
"start": 86140,
"tag": "KEY",
"value": "jwyykxvutfihl"
},
{
"context": "ysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeuqmjvryo]baclxsovuumhgjffx\nlpyeghloevhgthedzjl[schxctqynpi",
"end": 86173,
"score": 0.5261007547,
"start": 86156,
"tag": "KEY",
"value": "idcqrglxeuqmjvryo"
},
{
"context": "sgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeuqmjvryo]baclxsovuumhgjffx\nlpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsv",
"end": 86190,
"score": 0.5370040536,
"start": 86174,
"tag": "KEY",
"value": "baclxsovuumhgjff"
},
{
"context": "wyykxvutfihl[dgidcqrglxeuqmjvryo]baclxsovuumhgjffx\nlpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfw",
"end": 86207,
"score": 0.5481903553,
"start": 86192,
"tag": "KEY",
"value": "lpyeghloevhgthe"
},
{
"context": "qrglxeuqmjvryo]baclxsovuumhgjffx\nlpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmr",
"end": 86211,
"score": 0.5128674507,
"start": 86209,
"tag": "KEY",
"value": "jl"
},
{
"context": "qmjvryo]baclxsovuumhgjffx\nlpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmei",
"end": 86219,
"score": 0.5209146738,
"start": 86216,
"tag": "KEY",
"value": "ctq"
},
{
"context": "baclxsovuumhgjffx\nlpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini",
"end": 86231,
"score": 0.5187686682,
"start": 86224,
"tag": "KEY",
"value": "oswgvwv"
},
{
"context": "uumhgjffx\nlpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjd",
"end": 86246,
"score": 0.5247370601,
"start": 86232,
"tag": "KEY",
"value": "jpuvctsvrdpdhw"
},
{
"context": "vhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfk",
"end": 86252,
"score": 0.5056917667,
"start": 86251,
"tag": "KEY",
"value": "j"
},
{
"context": "thedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkx",
"end": 86255,
"score": 0.5055207014,
"start": 86254,
"tag": "KEY",
"value": "q"
},
{
"context": "dzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkxwhrke",
"end": 86260,
"score": 0.5131640434,
"start": 86257,
"tag": "KEY",
"value": "odm"
},
{
"context": "ctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkxwhrkeugsccp\nc",
"end": 86268,
"score": 0.5054373741,
"start": 86266,
"tag": "KEY",
"value": "me"
},
{
"context": "ctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkxwhrkeugsccp\nctvifkpejmwnuapjpjh[g",
"end": 86288,
"score": 0.5053824782,
"start": 86286,
"tag": "KEY",
"value": "co"
},
{
"context": "djqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkxwhrkeugsccp\nctvifkpejmwnuapjpjh[glykzeqimofbvi",
"end": 86301,
"score": 0.5055938363,
"start": 86300,
"tag": "KEY",
"value": "f"
},
{
"context": "fwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkxwhrkeugsccp\nctvifkpejmwnuapjpjh[glykzeqimofbvirvv]kbzjj",
"end": 86310,
"score": 0.5158835649,
"start": 86305,
"tag": "KEY",
"value": "whrke"
},
{
"context": "hitgmyeb[eikuuslkfgergykosp]fthsbtteuspbrqpssb\nxpgwgflgtkmtzhw[prdmpsbkrcbmjfitdyn]kqiyknqfoudyfvdmlhz[zswwgwvjkyvrjlg]zzmkyxkalhbbgcouvog\ndgxbmggkttasrcjotn[hsfrmfxeeuvovzuij]lnbdybfhkdsrymhu\nryjamwprtdolosp[nkucayakarxezyxpgkp]qnezibzbjadqvqzz[kehgcplpjdlitdsg]nagotxuswnxikkicoi[fbpbayqjockutfqu]gnylxqhcacwdrdhlp\nquayrjbyxiviwukq[mwkxplqhlociiriaaao]lswnrperjoqewphn[nmwqzenrjmgikodk]sagkvoqqoayykkzri[uyenuakxyohedlz]ffzfpyguqryzodjwqxj\nfkymdwjnylzqnxhl[lsrorhrzdxpfkmai]vfytomporosnlpzc[pwpodimqjyfmczra]nibuxkjazxghetmxe\nvlrxyrxugxmmxnr[gioetjknstpngomi]jgzsfyvgbteacpupi[aeyhvaqkilxenfy]ezhnkbgkqgbymgzolq[dkzztikgwfghpltsd]nrslpkmvahlvwfhavn\nxpjvbcihegkoyjg[ddyxkmnhpnucgbeu]xnvxewhefxmfesoqkfo\nqgavdsmekecmyuuxln[toczsvzymwfzzrxprb]igonrcvkpxvekefo[abktdknxsdmpionl]uhhlekwqmalhfauva\nuveiuvjjvxlrlyxpc[ucbsqehsihiilfmxz]nvhvrtaxdpiqpbuyj[rhtfedxbiqutzvaucj]dxtgbmuwqxxqpfbohfb\nqerjjnnafocowost[axrfofdityutyzgv]acicnljrpsxzlcg",
"end": 87537,
"score": 0.71141541,
"start": 86701,
"tag": "KEY",
"value": "wgflgtkmtzhw[prdmpsbkrcbmjfitdyn]kqiyknqfoudyfvdmlhz[zswwgwvjkyvrjlg]zzmkyxkalhbbgcouvog\ndgxbmggkttasrcjotn[hsfrmfxeeuvovzuij]lnbdybfhkdsrymhu\nryjamwprtdolosp[nkucayakarxezyxpgkp]qnezibzbjadqvqzz[kehgcplpjdlitdsg]nagotxuswnxikkicoi[fbpbayqjockutfqu]gnylxqhcacwdrdhlp\nquayrjbyxiviwukq[mwkxplqhlociiriaaao]lswnrperjoqewphn[nmwqzenrjmgikodk]sagkvoqqoayykkzri[uyenuakxyohedlz]ffzfpyguqryzodjwqxj\nfkymdwjnylzqnxhl[lsrorhrzdxpfkmai]vfytomporosnlpzc[pwpodimqjyfmczra]nibuxkjazxghetmxe\nvlrxyrxugxmmxnr[gioetjknstpngomi]jgzsfyvgbteacpupi[aeyhvaqkilxenfy]ezhnkbgkqgbymgzolq[dkzztikgwfghpltsd]nrslpkmvahlvwfhavn\nxpjvbcihegkoyjg[ddyxkmnhpnucgbeu]xnvxewhefxmfesoqkfo\nqgavdsmekecmyuuxln[toczsvzymwfzzrxprb]igonrcvkpxvekefo[abktdknxsdmpionl]uhhlekwqmalhfauva\nuveiuvjjvxlrlyxpc[ucbsqehsihiilfmxz]nvhvrtaxdpiqpbuyj[rhtfedxbiqutzvaucj]dxtgbmuwqxxqpfbohfb"
},
{
"context": "yzgv]acicnljrpsxzlcg[dhslugmdfaxclhrdecs]ekxnsbqhlxcfuron\njknvvunefcyqagtj[zhgsvdlsfrlcfyoqt]srtokcehvdjwwkcwczm\nwwwyfmlxivfqcmnwtw[kaeymickhvsdlqkfuqc]dyzktnegiqbohljysa[qmnzkoqxsgtpattmt]oxxczwgodhiecoyp[swszkqetvvgdctkhyxo]qrjhaothcmyajmpy\noldhdgmnxrbjncj[kkrntxgkrpbrsyi]qjronlhwmcpdnpp[ksqudrshtdnenqxt]wzbkmgdhgylcfpberv[nyddphsypgzienevnmx]memczjhmgzeyjchv\njxojiumgecewqlc[nmiruhzcybahusxwt]pqlrbrwjitwylvzx[rjwehkmounctpcecz]jbhagxjlhngeibhh\nlbpildbxlosyqfun[razlyptphvjizuyonoy]atrqbzjakphxrguvmbt[ybdqfljkspdlgisypun]xttstfdytowwtxytsn\ntxrzvdxevhqzpkb[xbsfvyjkimceqeog]ilzhcjiezytvmdd[kuhqkwaweasjoae]fuyyczwcpbdblxtxjgt[ujdwvuypmibgdbdtkij]vhrvswtmxfqkwmtjjld\nzipaigqfaywgroxzyh[nfaubfwofvgmjrlxw]srjdkzejhrpctlhbevh\nmtshlkbkfdacuvtjkbk[qemjvtgzaxmgvojtfl]emvduvrdlxnwgqrquk\nnekajppmdnadytnn[ynkibteahksyzvpenmp]jqxybiytpkgzgws[whyeilzvjokewweunf]ndkfvbdnbdoszwfugue\nfwfviekoibnqhpis[esurgsppgqchztm]vaxsbcgtqipiemvr",
"end": 88444,
"score": 0.7824908495,
"start": 87617,
"tag": "KEY",
"value": "xcfuron\njknvvunefcyqagtj[zhgsvdlsfrlcfyoqt]srtokcehvdjwwkcwczm\nwwwyfmlxivfqcmnwtw[kaeymickhvsdlqkfuqc]dyzktnegiqbohljysa[qmnzkoqxsgtpattmt]oxxczwgodhiecoyp[swszkqetvvgdctkhyxo]qrjhaothcmyajmpy\noldhdgmnxrbjncj[kkrntxgkrpbrsyi]qjronlhwmcpdnpp[ksqudrshtdnenqxt]wzbkmgdhgylcfpberv[nyddphsypgzienevnmx]memczjhmgzeyjchv\njxojiumgecewqlc[nmiruhzcybahusxwt]pqlrbrwjitwylvzx[rjwehkmounctpcecz]jbhagxjlhngeibhh\nlbpildbxlosyqfun[razlyptphvjizuyonoy]atrqbzjakphxrguvmbt[ybdqfljkspdlgisypun]xttstfdytowwtxytsn\ntxrzvdxevhqzpkb[xbsfvyjkimceqeog]ilzhcjiezytvmdd[kuhqkwaweasjoae]fuyyczwcpbdblxtxjgt[ujdwvuypmibgdbdtkij]vhrvswtmxfqkwmtjjld\nzipaigqfaywgroxzyh[nfaubfwofvgmjrlxw]srjdkzejhrpctlhbevh\nmtshlkbkfdacuvtjkbk[qemjvtgzaxmgvojtfl]emvduvrdlxnwgqrquk\nnekajppmdnadytnn[ynkibteahksyzvpenmp]jqxybiytpkgzgws[whyeilzvjokewweunf]ndkfvbdnbdoszwfugue"
},
{
"context": "tpkgzgws[whyeilzvjokewweunf]ndkfvbdnbdoszwfugue\nfwfviekoibnqhpis[esurgsppgqchztm]vaxsbcgtqipiemvreaw[ytkxl",
"end": 88453,
"score": 0.5291531086,
"start": 88447,
"tag": "KEY",
"value": "fvieko"
},
{
"context": "weunf]ndkfvbdnbdoszwfugue\nfwfviekoibnqhpis[esurgsppgqchztm]vaxsbcgtqipiemvreaw[ytkxlxyzfifrxgmbggv]tyg",
"end": 88471,
"score": 0.5138841271,
"start": 88469,
"tag": "KEY",
"value": "pg"
},
{
"context": "mphcwk]rghcxpkbbmimkui\nyyutoljmokemaksyh[ofyxkifbjqhrdklh]ltfjtukyeekhbjd\nuolodqcxatkpbywxs[qdpmghhjdsvuolwk]qfvcnuajofrynqndg[cpojwkswcxdorxvknrg]hluvdzuqsjsvhnqd[coemqesbuoorqrcht]oymvojeakuzzydb\nqrghrzhmccfpfymd[ejpldprfcjwhfthnli]wayofelvbtvjfesq[crskpxtazgepeguyywt]hedblyskngtnxnchdz\ngvebyckhjgfmqrxmmd[eklljmmtwggtlqdq]hmxazjnitvfcjmlactd[qhlsytdoiaksvney]jsdeegafywarxlsnkl[ycoyqpbbwsanlnoes]mnfxjeakujicrhn\nttowopleauigqfzpuws[rwaipjqlxeajbszmt]ewurrgikabumnsg[hqhoudrdngplyncdoq]jvazavwibnayzbkmei[yfeaerzswqrhjiiqbb]khsqzfojtdimvcgsxuv\nzysbeejbuanxhomwne[wzcjovlgygbogvj]wqqbmqmudmkidhnm\nhzetqrjsokpzsfe[sfvglwbyaoczjozubjo]fisxeqpvyscesgy\ntxsslfbzdakhenov[pdzbirgfxvyufuz]mwbclrbkpszfpgbrh",
"end": 90059,
"score": 0.6642135382,
"start": 89459,
"tag": "KEY",
"value": "qhrdklh]ltfjtukyeekhbjd\nuolodqcxatkpbywxs[qdpmghhjdsvuolwk]qfvcnuajofrynqndg[cpojwkswcxdorxvknrg]hluvdzuqsjsvhnqd[coemqesbuoorqrcht]oymvojeakuzzydb\nqrghrzhmccfpfymd[ejpldprfcjwhfthnli]wayofelvbtvjfesq[crskpxtazgepeguyywt]hedblyskngtnxnchdz\ngvebyckhjgfmqrxmmd[eklljmmtwggtlqdq]hmxazjnitvfcjmlactd[qhlsytdoiaksvney]jsdeegafywarxlsnkl[ycoyqpbbwsanlnoes]mnfxjeakujicrhn\nttowopleauigqfzpuws[rwaipjqlxeajbszmt]ewurrgikabumnsg[hqhoudrdngplyncdoq]jvazavwibnayzbkmei[yfeaerzswqrhjiiqbb]khsqzfojtdimvcgsxuv\nzysbeejbuanxhomwne[wzcjovlgygbogvj]wqqbmqmudmkidhnm\nhzetqrjsokpzsfe[sfvglwbyaoczjozubjo]fisxeqpvyscesgy"
},
{
"context": "qrjsokpzsfe[sfvglwbyaoczjozubjo]fisxeqpvyscesgy\ntxsslfbzdakhenov[pdzbirgfxvyufuz]mwbclrbkpszfpgbrhu[ozmwusngkhbklu",
"end": 90076,
"score": 0.5812216401,
"start": 90062,
"tag": "KEY",
"value": "sslfbzdakhenov"
},
{
"context": "glwbyaoczjozubjo]fisxeqpvyscesgy\ntxsslfbzdakhenov[pdzbirgfxvyufuz]mwbclrbkpszfpgbrhu[ozmwusngkhbkluzvgo]wuwvzagakqc",
"end": 90092,
"score": 0.5538637042,
"start": 90077,
"tag": "KEY",
"value": "pdzbirgfxvyufuz"
},
{
"context": "]fisxeqpvyscesgy\ntxsslfbzdakhenov[pdzbirgfxvyufuz]mwbclrbkpszfpgbrhu[ozmwusngkhbkluzvgo]wuwvzagakqcmcrcq\nvxmeolvgvkzdb",
"end": 90111,
"score": 0.5875123143,
"start": 90093,
"tag": "KEY",
"value": "mwbclrbkpszfpgbrhu"
},
{
"context": "lfbzdakhenov[pdzbirgfxvyufuz]mwbclrbkpszfpgbrhu[ozmwusngkhbkluzvgo]wuwvzagakqcmcrcq\nvxmeolvgvkzdbldvid[ebhmwbfcvzykllewj]ngsvjbjjbyyoybnai[vvhfsezmrbmdkoxbdmj]pxxmcprffpzqadbu\nkagnhnyzbogn",
"end": 90202,
"score": 0.5843133926,
"start": 90114,
"tag": "KEY",
"value": "mwusngkhbkluzvgo]wuwvzagakqcmcrcq\nvxmeolvgvkzdbldvid[ebhmwbfcvzykllewj]ngsvjbjjbyyoybnai"
},
{
"context": "lvgvkzdbldvid[ebhmwbfcvzykllewj]ngsvjbjjbyyoybnai[vvhfsezmrbmdkoxbdmj]pxxmcprffpzqadbu\nkagnhnyzbognzsmifby[rujzhkfynwygbcpuoq]wfgodhqkde",
"end": 90239,
"score": 0.595143795,
"start": 90203,
"tag": "KEY",
"value": "vvhfsezmrbmdkoxbdmj]pxxmcprffpzqadbu"
},
{
"context": "bjjbyyoybnai[vvhfsezmrbmdkoxbdmj]pxxmcprffpzqadbu\nkagnhnyzbognzsmifby[rujzhkfynwygbcpuoq]wfgodhqkdextspa\nmeyjysyguijkye",
"end": 90259,
"score": 0.5715708137,
"start": 90240,
"tag": "KEY",
"value": "kagnhnyzbognzsmifby"
},
{
"context": "mdkoxbdmj]pxxmcprffpzqadbu\nkagnhnyzbognzsmifby[rujzhkfynwygbcpuoq]wfgodhqkdextspa\nmeyjysyguijkyen[vjyh",
"end": 90265,
"score": 0.5131476521,
"start": 90263,
"tag": "KEY",
"value": "zh"
},
{
"context": "dmj]pxxmcprffpzqadbu\nkagnhnyzbognzsmifby[rujzhkfynwygbcpuoq]wfgodhqkdextspa\nmeyjysyguijkyen[vjyhsmvoyopp",
"end": 90273,
"score": 0.5167768002,
"start": 90269,
"tag": "KEY",
"value": "wygb"
},
{
"context": "jaqwucpzrgob[utcloaeoixtgcssljwg]daazkyzlexvrwrvcoho[hesdrjjliusilwgn]kflojebucroplzdkid[mxvmzdobkvksv",
"end": 91286,
"score": 0.5970976949,
"start": 91284,
"tag": "KEY",
"value": "ho"
},
{
"context": "wucpzrgob[utcloaeoixtgcssljwg]daazkyzlexvrwrvcoho[hesdrjjliusilwgn]kflojebucroplzdkid[mxvmzdobkvksvvzg]mllhibzchrvzahrj\numabodjruykdkzuebe[pdyqfuwbwbnhvbgh]mvwcfyrzvyzbwbhen\nuuvjgoiafuuacqj[ccihiuugtipqyyve]xmtwktbgcgwvwchsseg\noldckvjhhtvodiljhx[nqcvjxjohtdbukds]qsspbsmfdcamiwwr\ndzilyknpfbgtdnvntf[fzelzighvnvvqypxz]ntthcasrqrblqsk\nhphpardvfoqnqncq[ppvkmutvbzybiwmmcuz]kgfwazxcanccijxdxr[kvvrehncwizamjfbv]ptzvpznypbvmrshiq\niteoprxpltaartmz[mnybqocmkusetlywx]mxfikdltxvgvkla",
"end": 91661,
"score": 0.60515517,
"start": 91287,
"tag": "KEY",
"value": "hesdrjjliusilwgn]kflojebucroplzdkid[mxvmzdobkvksvvzg]mllhibzchrvzahrj\numabodjruykdkzuebe[pdyqfuwbwbnhvbgh]mvwcfyrzvyzbwbhen\nuuvjgoiafuuacqj[ccihiuugtipqyyve]xmtwktbgcgwvwchsseg\noldckvjhhtvodiljhx[nqcvjxjohtdbukds]qsspbsmfdcamiwwr\ndzilyknpfbgtdnvntf[fzelzighvnvvqypxz]ntthcasrqrblqsk\nhphpardvfoqnqncq[ppvkmutvbzybiwmmcuz]kgfwazxcanccijxdxr[kvvrehncwizamjfbv]ptzvpznypbvmrshiq"
},
{
"context": "anccijxdxr[kvvrehncwizamjfbv]ptzvpznypbvmrshiq\niteoprxpltaartmz[mnybqocmkusetlywx]mxfikdltxvgvklaxzqt\nqxldpbwuuya",
"end": 91678,
"score": 0.5754448771,
"start": 91665,
"tag": "KEY",
"value": "oprxpltaartmz"
},
{
"context": "rehncwizamjfbv]ptzvpznypbvmrshiq\niteoprxpltaartmz[mnybqocmkusetlywx]mxfikdltxvgvklaxzqt\nqxldpbwuuyarzvlokm[pe",
"end": 91688,
"score": 0.5526717305,
"start": 91679,
"tag": "KEY",
"value": "mnybqocmk"
},
{
"context": "v]ptzvpznypbvmrshiq\niteoprxpltaartmz[mnybqocmkusetlywx]mxfikdltxvgvklaxzqt\nqxldpbwuuyarzvlokm[peamzjnqawztknvnssx]pjacikdaebe",
"end": 91716,
"score": 0.5669156313,
"start": 91692,
"tag": "KEY",
"value": "lywx]mxfikdltxvgvklaxzqt"
},
{
"context": "pltaartmz[mnybqocmkusetlywx]mxfikdltxvgvklaxzqt\nqxldpbwuuyarzvlokm[peamzjnqawztknvnssx]pjacikdaebekzndkqbs\nkswrzqhft",
"end": 91735,
"score": 0.5875267982,
"start": 91719,
"tag": "KEY",
"value": "ldpbwuuyarzvlokm"
},
{
"context": "mkusetlywx]mxfikdltxvgvklaxzqt\nqxldpbwuuyarzvlokm[peamzjnqawztknvnssx]pjacikdaebekzndkqbs\nkswrzqhftfhqqgetg[bplpppimgpy",
"end": 91755,
"score": 0.5343311429,
"start": 91736,
"tag": "KEY",
"value": "peamzjnqawztknvnssx"
},
{
"context": "vgvklaxzqt\nqxldpbwuuyarzvlokm[peamzjnqawztknvnssx]pjacikdaebekzndkqbs\nkswrzqhftfhqqgetg[bplpppimgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfx",
"end": 91793,
"score": 0.5552741289,
"start": 91756,
"tag": "KEY",
"value": "pjacikdaebekzndkqbs\nkswrzqhftfhqqgetg"
},
{
"context": "awztknvnssx]pjacikdaebekzndkqbs\nkswrzqhftfhqqgetg[bplpppimgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiu",
"end": 91813,
"score": 0.5452098846,
"start": 91794,
"tag": "KEY",
"value": "bplpppimgpytieviwci"
},
{
"context": "ebekzndkqbs\nkswrzqhftfhqqgetg[bplpppimgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo\njbyalllemspb",
"end": 91829,
"score": 0.5560623407,
"start": 91814,
"tag": "KEY",
"value": "gfeqifrktgdqxzw"
},
{
"context": "hftfhqqgetg[bplpppimgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo\njbyalllemspbiba[fihpzyuwtii",
"end": 91844,
"score": 0.5415320992,
"start": 91832,
"tag": "KEY",
"value": "zjvdvhoocfxo"
},
{
"context": "lpppimgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo\njbyalllemspbiba[fihpzyuwtiisva",
"end": 91847,
"score": 0.5510749817,
"start": 91846,
"tag": "KEY",
"value": "b"
},
{
"context": "imgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo\njbyalllemspbiba[fihpzyuwtiisvalzl]egftfecpkrowpxz[",
"end": 91866,
"score": 0.5305443406,
"start": 91850,
"tag": "KEY",
"value": "ullyfbzrzbtiujxo"
},
{
"context": "ifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo\njbyalllemspbiba[fihpzyuwtiisvalzl]egftfecpkrowpxz[fwy",
"end": 91870,
"score": 0.5283991098,
"start": 91868,
"tag": "KEY",
"value": "by"
},
{
"context": "gdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo\njbyalllemspbiba[fihpzyuwtiisvalzl]egftfecpkrowpxz[fwyjugfywhzgpbg",
"end": 91882,
"score": 0.5089692473,
"start": 91873,
"tag": "KEY",
"value": "lemspbiba"
},
{
"context": "tiisvalzl]egftfecpkrowpxz[fwyjugfywhzgpbgxam]iuwakremprjkdfqep[cwjewifgwauyxaqa]gfnznfakypqatvp\ngtdsif",
"end": 91943,
"score": 0.5052543283,
"start": 91941,
"tag": "KEY",
"value": "re"
},
{
"context": "hzgpbgxam]iuwakremprjkdfqep[cwjewifgwauyxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]al",
"end": 91977,
"score": 0.5207733512,
"start": 91976,
"tag": "KEY",
"value": "f"
},
{
"context": "pbgxam]iuwakremprjkdfqep[cwjewifgwauyxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvm",
"end": 91984,
"score": 0.518089354,
"start": 91979,
"tag": "KEY",
"value": "ypqat"
},
{
"context": "iuwakremprjkdfqep[cwjewifgwauyxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpd",
"end": 91986,
"score": 0.5203606486,
"start": 91986,
"tag": "KEY",
"value": ""
},
{
"context": "remprjkdfqep[cwjewifgwauyxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycig",
"end": 91999,
"score": 0.5188311338,
"start": 91991,
"tag": "KEY",
"value": "ifvoatfw"
},
{
"context": "p[cwjewifgwauyxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyi",
"end": 92004,
"score": 0.5052120686,
"start": 92002,
"tag": "KEY",
"value": "sg"
},
{
"context": "fgwauyxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyiopmdx[yuu",
"end": 92013,
"score": 0.528457284,
"start": 92010,
"tag": "KEY",
"value": "wcn"
},
{
"context": "yxaqa]gfnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyiopmdx[yuuvtuoepn",
"end": 92020,
"score": 0.5103005767,
"start": 92015,
"tag": "KEY",
"value": "fiuzx"
},
{
"context": "fnznfakypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyiopmdx[yuuvtuoepntnqh",
"end": 92024,
"score": 0.5437809229,
"start": 92022,
"tag": "KEY",
"value": "ad"
},
{
"context": "akypqatvp\ngtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyiopmdx[yuuvtuoepntnqhkof]atumrmkzfhin",
"end": 92040,
"score": 0.5227588415,
"start": 92027,
"tag": "KEY",
"value": "nsyodvmgpdxqk"
},
{
"context": "tfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyiopmdx[yuuvtuoepntnqhkof]atumrmkzfhinoqq\nwrk",
"end": 92047,
"score": 0.5052577853,
"start": 92046,
"tag": "KEY",
"value": "c"
},
{
"context": "[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk\nffyhycigkhlyiopmdx[yuuvtuoepntnqhkof]atumrmkzfhinoqq\nwrkcbbifeyemfp",
"end": 92058,
"score": 0.5051605105,
"start": 92056,
"tag": "KEY",
"value": "md"
},
{
"context": "xjhdjysgmklbjp[scteqtgrnyuxsonvbx]kzbopsageoqsymtcfo\njtsjoerkjzurnysfnwe[jqglomdcjmtvcwvhir]rozwrmwjuehpapebmgz\nqnscyvubszfeloscaez[povhdeeifvqfpyd]hdpspdtgtqpklhwqjec[xtqeoudrdzirwfxrowf]dllykbtfgrdwdlchn[fsjzptvngbbulfkpkh]nvyonktuxkjzpsciihm\njzrrmwegexitufpbx[orlvlpnnuklsapk]kpwkwfggbcxwdxvp\nhfvhjwieruryoqk[qrtlruplpqjtwpuhhoa]ddbsdfqczwrmnrpm[hjjqrsppkjnvxmjq]juvwgpsglqllqhrc\nwogxentwvncxpjbntf[lunrnlkbjpkqcxprp]yanygvijbyhhpohijj\nkjwqxolclqanoyfes[oeasucvzznhjxkzlqb]bbxecjmmedvyfzapfif\nhfdiajyktrmlfzfbv[vdnyppvsruscsgvji]opwnmoadgirnedufn\nmrkqlpkzkhbfncol[huvazflnaswuhnv]pznbrubmgazkzfvkltx\nlfqfiunlwragtrknwpx[quvtbwmfgutkzaeng]kcdzgwyybqugyfgf[mjngrfgzmtbehzxzsbg]zjvpmzakgijjfyz[ghpyxsxuycqgdipdua]bjqtbqlzwyinovhnmmu\nayagxnelxjvkqkwhax[zlimrxwrtlqtkvdny]nosfkooohodpzjp[hsrgztcucnuagedqoz]aujduldshdugxgbszom\nwkeqhrtgnhyektefk[afuwzaqdvmzzzgnuvw]aaisrnfyhuifpglpgp\nkpqqecovarltptjfdf[fwpprvpqfsntlobpdm]dtnujgpbbrqwqdyzs\nalnyvjvicoig",
"end": 93050,
"score": 0.6849685311,
"start": 92201,
"tag": "KEY",
"value": "fo\njtsjoerkjzurnysfnwe[jqglomdcjmtvcwvhir]rozwrmwjuehpapebmgz\nqnscyvubszfeloscaez[povhdeeifvqfpyd]hdpspdtgtqpklhwqjec[xtqeoudrdzirwfxrowf]dllykbtfgrdwdlchn[fsjzptvngbbulfkpkh]nvyonktuxkjzpsciihm\njzrrmwegexitufpbx[orlvlpnnuklsapk]kpwkwfggbcxwdxvp\nhfvhjwieruryoqk[qrtlruplpqjtwpuhhoa]ddbsdfqczwrmnrpm[hjjqrsppkjnvxmjq]juvwgpsglqllqhrc\nwogxentwvncxpjbntf[lunrnlkbjpkqcxprp]yanygvijbyhhpohijj\nkjwqxolclqanoyfes[oeasucvzznhjxkzlqb]bbxecjmmedvyfzapfif\nhfdiajyktrmlfzfbv[vdnyppvsruscsgvji]opwnmoadgirnedufn\nmrkqlpkzkhbfncol[huvazflnaswuhnv]pznbrubmgazkzfvkltx\nlfqfiunlwragtrknwpx[quvtbwmfgutkzaeng]kcdzgwyybqugyfgf[mjngrfgzmtbehzxzsbg]zjvpmzakgijjfyz[ghpyxsxuycqgdipdua]bjqtbqlzwyinovhnmmu\nayagxnelxjvkqkwhax[zlimrxwrtlqtkvdny]nosfkooohodpzjp[hsrgztcucnuagedqoz]aujduldshdugxgbszom\nwkeqhrtgnhyektefk[afuwzaqdvmzzzgnuvw]aaisrnfyhuifpglpgp\nkpqqecovarltptjfdf"
},
{
"context": "mzzzgnuvw]aaisrnfyhuifpglpgp\nkpqqecovarltptjfdf[fwpprvpqfsntlobpdm]dtnujgpbbrqwqdyzs\nalnyvjvicoigistbmh[ueworb",
"end": 93063,
"score": 0.5251367092,
"start": 93053,
"tag": "KEY",
"value": "pprvpqfsnt"
},
{
"context": "srnfyhuifpglpgp\nkpqqecovarltptjfdf[fwpprvpqfsntlobpdm]dtnujgpbbrqwqdyzs\nalnyvjvicoigistbmh[ueworbfuagjn",
"end": 93069,
"score": 0.528126955,
"start": 93066,
"tag": "KEY",
"value": "pdm"
},
{
"context": "yhuifpglpgp\nkpqqecovarltptjfdf[fwpprvpqfsntlobpdm]dtnujgpbbrqwqdyzs\nalnyvjvicoigistbmh[ueworbfuagjnech]dpzdovbhhbguxp",
"end": 93087,
"score": 0.5412590504,
"start": 93070,
"tag": "KEY",
"value": "dtnujgpbbrqwqdyzs"
},
{
"context": "qwqdyzs\nalnyvjvicoigistbmh[ueworbfuagjnech]dpzdovbhhbguxpginqy\neiumooyxoukvaqoiv[qrygigmnybosyay]byhcqoggajjtotnuw[wpgsucwktfgcuhhi]hwoelhsxarzriqxtwao[nvemgikmzntrcfr]uguazrjfisipwrhcbn\nghierhnuwvmisxxa[cmfxbenynymgvcrr]oknavjpheqtlsvwabd[izrzgzwvdgymivghdpv]fbqrtbvhcjgvbkwjs[ivdprbnygkhgzgaym]ziwhfgnbawgtpmkswvu\npqcsccgpceupnvtr[bzfagcvmbelgxyns]uxkvxgveigehxsugzj[oojovkdwhojqcbilwvh]xeamwxhelypwwefsabq\niltmsmcvjnhczdxoti[umsmolikbpmqnsyah]tdtojhhqszysiqkfqr\neubknijqrihrbulq[hfmdunzrzrgseunf]qgdasqmtmgoacfid[duazrfhejbzxepx]apwgpewymhnhxsrx[judrexlgitldqqlnrpb]ynfdtcugmjvpdajapon\nlqwdkmmktuhdbawow[lsrovmkjyktyduf]utmrjitsbijombwo[abvvufjkwoxsthzbao]wteqdxfhbqrakiqenh\nphudxliosbjdplwzx[wmreutzkdlbxfksjt]onwnwzbffksdsrrvxuy[fuklieqfenqwinbmf]ckltdwaxzrpebmksn\nmldqsgldkmerpwqlg[thmshstolghijyjy]xzhkcpjyjuydgxjm\nwpsseyevqcibokcb[hnqscfwtkqckqmao]jsnvfanwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\n",
"end": 93951,
"score": 0.6980232596,
"start": 93130,
"tag": "KEY",
"value": "hhbguxpginqy\neiumooyxoukvaqoiv[qrygigmnybosyay]byhcqoggajjtotnuw[wpgsucwktfgcuhhi]hwoelhsxarzriqxtwao[nvemgikmzntrcfr]uguazrjfisipwrhcbn\nghierhnuwvmisxxa[cmfxbenynymgvcrr]oknavjpheqtlsvwabd[izrzgzwvdgymivghdpv]fbqrtbvhcjgvbkwjs[ivdprbnygkhgzgaym]ziwhfgnbawgtpmkswvu\npqcsccgpceupnvtr[bzfagcvmbelgxyns]uxkvxgveigehxsugzj[oojovkdwhojqcbilwvh]xeamwxhelypwwefsabq\niltmsmcvjnhczdxoti[umsmolikbpmqnsyah]tdtojhhqszysiqkfqr\neubknijqrihrbulq[hfmdunzrzrgseunf]qgdasqmtmgoacfid[duazrfhejbzxepx]apwgpewymhnhxsrx[judrexlgitldqqlnrpb]ynfdtcugmjvpdajapon\nlqwdkmmktuhdbawow[lsrovmkjyktyduf]utmrjitsbijombwo[abvvufjkwoxsthzbao]wteqdxfhbqrakiqenh\nphudxliosbjdplwzx[wmreutzkdlbxfksjt]onwnwzbffksdsrrvxuy[fuklieqfenqwinbmf]ckltdwaxzrpebmksn\nmldqsgldkmerpwqlg[thmshstolghijyjy]xzhkcpjyjuydgxjm\nwpsseyevqcibokcb[hnqscfwtkqckqmao]jsnvfanwiodlasx"
},
{
"context": "wpsseyevqcibokcb[hnqscfwtkqckqmao]jsnvfanwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxa",
"end": 93963,
"score": 0.5571684241,
"start": 93952,
"tag": "KEY",
"value": "pomqeoawmwh"
},
{
"context": "okcb[hnqscfwtkqckqmao]jsnvfanwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucn",
"end": 93967,
"score": 0.5599304438,
"start": 93964,
"tag": "KEY",
"value": "jaq"
},
{
"context": "nqscfwtkqckqmao]jsnvfanwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucnjv[xf",
"end": 93972,
"score": 0.5057208538,
"start": 93970,
"tag": "KEY",
"value": "tm"
},
{
"context": "wtkqckqmao]jsnvfanwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucnjv[xffwyrqfcqouy",
"end": 93983,
"score": 0.5076512098,
"start": 93975,
"tag": "KEY",
"value": "midqwcft"
},
{
"context": "]jsnvfanwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucnjv[xffwyrqfcqouyxmkr",
"end": 93987,
"score": 0.5445020199,
"start": 93985,
"tag": "KEY",
"value": "ke"
},
{
"context": "anwiodlasx\npomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucnjv[xffwyrqfcqouyxmkrro]ezewjlxapp",
"end": 94000,
"score": 0.5269749761,
"start": 93991,
"tag": "KEY",
"value": "ruqgmnpoi"
},
{
"context": "mqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucnjv[xffwyrqfcqouyxmkrro]ezewjlxapphabveea[jf",
"end": 94010,
"score": 0.5162138343,
"start": 94004,
"tag": "KEY",
"value": "crdetw"
},
{
"context": "hijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi\ntwkcrdetwuxaxucnjv[xffwyrqfcqouyxmkrro]ezewjlxapphabveea[jfyjgbpk",
"end": 94016,
"score": 0.5213016272,
"start": 94012,
"tag": "KEY",
"value": "axuc"
},
{
"context": "ohndboxh\nfatrlhuimyqjjobdq[xvvmkavirljwcgmkvx]kbesaoxeeabtywsxcwr[pmvliimbudlzabbz]vseagltcmulcdib\nvowrlwyrxwivzacnop[fegbzczrceczdasjr]orroaksljdcydlk[clwvvrdfhommqcn]yqigbtlwvklqxxiors[uliodgyotgxdymyi]lqverjsyuxifpjoru\nwevsnwwlgslgxsof[eyjhzwdmvusnuerbqmh]mjzmgpkhaatmwptbo\nhljbwkfykqbnpqhkfuv[uirnlrjpryuhtqztz]ackmzmullgwefgug\nlmumdzgnhyjajoazd[yksltxstrsvugowym]xcmwqzbluyzdlbpkfkj[sbnktloqdabygsmyp]pyavvgzsxokeecxh[xcoublhmghnexnts]sdbkqumfdezjvqp\nstnccrfzofqwbcafssa[toskkshmnjeywtuq]kbkyxwghqfgrtxs[myvqujeowntxqiekgxh]dplyqviwehtzoxrrix[covstbqzxjrditsf]qxyocadbpdqqqpadl\nevgjdjnbnzmbzjpbfm[cxhsxvxtdtdowbd]wceyuozkwdjdsrsarl\nrbnbqreygxxaufhws[alsptejilzoslxfj]xirgkoxgpdsolbhqiqb\nkpzbxjsrsdgzstpc[jnpsoqmjqnfzkfsgq]tunpisxseqxjtyfwij\nkegehkcwqdyujtyv[qfprszwdyjylowrl]yqhpsvfmcofhrfn\nusfdjspdmrsmwotku[phpquxkrbrefnesvoig]vbrbyhzjjueflzur\nahcrumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmp",
"end": 95769,
"score": 0.7735508084,
"start": 94969,
"tag": "KEY",
"value": "aoxeeabtywsxcwr[pmvliimbudlzabbz]vseagltcmulcdib\nvowrlwyrxwivzacnop[fegbzczrceczdasjr]orroaksljdcydlk[clwvvrdfhommqcn]yqigbtlwvklqxxiors[uliodgyotgxdymyi]lqverjsyuxifpjoru\nwevsnwwlgslgxsof[eyjhzwdmvusnuerbqmh]mjzmgpkhaatmwptbo\nhljbwkfykqbnpqhkfuv[uirnlrjpryuhtqztz]ackmzmullgwefgug\nlmumdzgnhyjajoazd[yksltxstrsvugowym]xcmwqzbluyzdlbpkfkj[sbnktloqdabygsmyp]pyavvgzsxokeecxh[xcoublhmghnexnts]sdbkqumfdezjvqp\nstnccrfzofqwbcafssa[toskkshmnjeywtuq]kbkyxwghqfgrtxs[myvqujeowntxqiekgxh]dplyqviwehtzoxrrix[covstbqzxjrditsf]qxyocadbpdqqqpadl\nevgjdjnbnzmbzjpbfm[cxhsxvxtdtdowbd]wceyuozkwdjdsrsarl\nrbnbqreygxxaufhws[alsptejilzoslxfj]xirgkoxgpdsolbhqiqb\nkpzbxjsrsdgzstpc[jnpsoqmjqnfzkfsgq]tunpisxseqxjtyfwij\nkegehkcwqdyujtyv[qfprszwdyjylowrl]yqhpsvfmcofhrfn\nusfdjspdmrsmwotku[phpquxkrbrefnesvoig]vbrbyhzjjueflzur"
},
{
"context": "spdmrsmwotku[phpquxkrbrefnesvoig]vbrbyhzjjueflzur\nahcrumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr\negorqvqrhdxdcw",
"end": 95785,
"score": 0.5956525207,
"start": 95770,
"tag": "KEY",
"value": "ahcrumgrsucgvcv"
},
{
"context": "nesvoig]vbrbyhzjjueflzur\nahcrumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr\negorqvqrhdxdcwglb[pewidggmj",
"end": 95798,
"score": 0.521378696,
"start": 95795,
"tag": "KEY",
"value": "doc"
},
{
"context": "]vbrbyhzjjueflzur\nahcrumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr\negorqvqrhdxdcwglb[pewidggmjfdwchm",
"end": 95804,
"score": 0.5214235783,
"start": 95802,
"tag": "KEY",
"value": "ve"
},
{
"context": "flzur\nahcrumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr\negorqvqrhdxdcwglb[pewidggmjfdwchmpuxq]vfpginbb",
"end": 95817,
"score": 0.5055937767,
"start": 95814,
"tag": "KEY",
"value": "ays"
},
{
"context": "crumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr\negorqvqrhdxdcwglb[pewidggmjfdwchmpuxq]vfpginbbwnzhzutt\nr",
"end": 95827,
"score": 0.50991714,
"start": 95822,
"tag": "KEY",
"value": "gorqv"
},
{
"context": "ucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr\negorqvqrhdxdcwglb[pewidggmjfdwchmpuxq]vfpginbbwnzhzutt\nrbwgx",
"end": 95831,
"score": 0.560246408,
"start": 95829,
"tag": "KEY",
"value": "hd"
},
{
"context": "pe[fpuzplowwtztimw]zsebojrxdfyouujqu[jieuliemrlsrrhaaral]vapfxmifbvtdzjpqfn\nkxqzgqwklgxylpccai[scugeso",
"end": 95993,
"score": 0.5204156041,
"start": 95991,
"tag": "KEY",
"value": "ha"
},
{
"context": "tztimw]zsebojrxdfyouujqu[jieuliemrlsrrhaaral]vapfxmifbvtdzjpqfn\nkxqzgqwklgxylpccai[scugesodkfdyduxfgp",
"end": 96004,
"score": 0.5050349236,
"start": 96003,
"tag": "KEY",
"value": "m"
},
{
"context": "rxdfyouujqu[jieuliemrlsrrhaaral]vapfxmifbvtdzjpqfn\nkxqzgqwklgxylpccai[scugesodkfdyduxfgpq]qeoajrdmbka",
"end": 96016,
"score": 0.5120524764,
"start": 96016,
"tag": "KEY",
"value": ""
},
{
"context": "fyouujqu[jieuliemrlsrrhaaral]vapfxmifbvtdzjpqfn\nkxqzgqwklgxylpccai[scugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxe",
"end": 96035,
"score": 0.5406825542,
"start": 96019,
"tag": "KEY",
"value": "qzgqwklgxylpccai"
},
{
"context": "srrhaaral]vapfxmifbvtdzjpqfn\nkxqzgqwklgxylpccai[scugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotf",
"end": 96053,
"score": 0.5348447561,
"start": 96038,
"tag": "KEY",
"value": "ugesodkfdyduxfg"
},
{
"context": "bvtdzjpqfn\nkxqzgqwklgxylpccai[scugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlk",
"end": 96068,
"score": 0.5336457491,
"start": 96056,
"tag": "KEY",
"value": "qeoajrdmbkaw"
},
{
"context": "gqwklgxylpccai[scugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlkuirbi",
"end": 96073,
"score": 0.5124124289,
"start": 96071,
"tag": "KEY",
"value": "de"
},
{
"context": "gxylpccai[scugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlkuirbixakjbg]shhs",
"end": 96084,
"score": 0.5320261121,
"start": 96076,
"tag": "KEY",
"value": "plavixox"
},
{
"context": "ugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlkuirbixakjbg]shhslgefljk",
"end": 96091,
"score": 0.5357257128,
"start": 96088,
"tag": "KEY",
"value": "voq"
},
{
"context": "odkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlkuirbixakjbg]shhslgefljkjhdu\nxltaldprsvinvs",
"end": 96110,
"score": 0.5388187766,
"start": 96092,
"tag": "KEY",
"value": "oefgpvukotfhzxvdpt"
},
{
"context": "dmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlkuirbixakjbg]shhslgefljkjhdu\nxltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvx",
"end": 96145,
"score": 0.5381054282,
"start": 96112,
"tag": "KEY",
"value": "fffrlkuirbixakjbg]shhslgefljkjhdu"
},
{
"context": "vukotfhzxvdpt[vfffrlkuirbixakjbg]shhslgefljkjhdu\nxltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiek",
"end": 96163,
"score": 0.5402293801,
"start": 96147,
"tag": "KEY",
"value": "ltaldprsvinvsgfg"
},
{
"context": "irbixakjbg]shhslgefljkjhdu\nxltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzq",
"end": 96172,
"score": 0.5086963177,
"start": 96169,
"tag": "KEY",
"value": "byu"
},
{
"context": "akjbg]shhslgefljkjhdu\nxltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquu",
"end": 96177,
"score": 0.5205417871,
"start": 96174,
"tag": "KEY",
"value": "hrm"
},
{
"context": "shhslgefljkjhdu\nxltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanaz",
"end": 96183,
"score": 0.5204232931,
"start": 96180,
"tag": "KEY",
"value": "pam"
},
{
"context": "fljkjhdu\nxltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbn",
"end": 96198,
"score": 0.5138842463,
"start": 96187,
"tag": "KEY",
"value": "jpfchnwvxfb"
},
{
"context": "invsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]to",
"end": 96210,
"score": 0.5048632026,
"start": 96206,
"tag": "KEY",
"value": "ffbm"
},
{
"context": "imhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxr",
"end": 96224,
"score": 0.512536943,
"start": 96222,
"tag": "KEY",
"value": "fw"
},
{
"context": "mxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\n",
"end": 96228,
"score": 0.5048046112,
"start": 96226,
"tag": "KEY",
"value": "ug"
},
{
"context": "amxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhr",
"end": 96236,
"score": 0.5202195048,
"start": 96231,
"tag": "KEY",
"value": "azihe"
},
{
"context": "chnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhrxzzvn",
"end": 96241,
"score": 0.5050916076,
"start": 96240,
"tag": "KEY",
"value": "h"
},
{
"context": "gupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhrxzzvniaegfw[vfxiqme",
"end": 96255,
"score": 0.5126452446,
"start": 96253,
"tag": "KEY",
"value": "nd"
},
{
"context": "kzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhrxzzvniaegfw[vfxiqmehxnnjheiszxb]",
"end": 96268,
"score": 0.5099598765,
"start": 96262,
"tag": "KEY",
"value": "zbwrda"
},
{
"context": "wquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhrxzzvniaegfw[vfxiqmehxnnjheiszxb]txrwpqbqkd",
"end": 96277,
"score": 0.5070138574,
"start": 96273,
"tag": "KEY",
"value": "rbqh"
},
{
"context": "nazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhrxzzvniaegfw[vfxiqmehxnnjheiszxb]txrwpqbqkdbnsv",
"end": 96282,
"score": 0.512824595,
"start": 96280,
"tag": "KEY",
"value": "ii"
},
{
"context": "hei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh\nqgiiylhrxzzvniaegfw[vfxiqmehxnnjheiszxb]txrwpqbqkdbnsvt[vo",
"end": 96286,
"score": 0.5129266381,
"start": 96284,
"tag": "KEY",
"value": "hr"
},
{
"context": "mnoqrieeqn[tvyurwrpjzolmoqn]odvpdodyhdjvcaqi\nleufyoljrgauyshjmdn[omwkxoqtffghqvn]iqpnagprpvmlsvo[glbht",
"end": 96844,
"score": 0.512634635,
"start": 96842,
"tag": "KEY",
"value": "ol"
},
{
"context": "ydhukb]mzldoxgjdeckpdvu[obojbnmmlhdwsman]nssaclvkjwmoozuissi\nupgpcxmqbimkrcvcmp[ivnacnyueiepraljdh]vfagabi",
"end": 97082,
"score": 0.5044620037,
"start": 97076,
"tag": "KEY",
"value": "wmoozu"
},
{
"context": "doxgjdeckpdvu[obojbnmmlhdwsman]nssaclvkjwmoozuissi\nupgpcxmqbimkrcvcmp[ivnacnyueiepraljdh]vfagabifynlp",
"end": 97086,
"score": 0.5504505038,
"start": 97086,
"tag": "KEY",
"value": ""
},
{
"context": "jdeckpdvu[obojbnmmlhdwsman]nssaclvkjwmoozuissi\nupgpcxmqbimkrcvcmp[ivnacnyueiepraljdh]vfagabifynlpbjdc[dobimimkhmy",
"end": 97103,
"score": 0.5172864795,
"start": 97090,
"tag": "KEY",
"value": "pcxmqbimkrcvc"
},
{
"context": "mytben]pgasxhypmszdnvjwnwh[nvcvwfgrqenthqcqlw]cdvvgepmrqskpffhw\nfifgarfuqaoifkymgx[mvgawkhnxvgaqdmzat]fu",
"end": 97205,
"score": 0.5084588528,
"start": 97201,
"tag": "KEY",
"value": "gepm"
},
{
"context": "ypmszdnvjwnwh[nvcvwfgrqenthqcqlw]cdvvgepmrqskpffhw\nfifgarfuqaoifkymgx[mvgawkhnxvgaqdmzat]fuemwmfadtla",
"end": 97214,
"score": 0.5040873289,
"start": 97214,
"tag": "KEY",
"value": ""
},
{
"context": "zdnvjwnwh[nvcvwfgrqenthqcqlw]cdvvgepmrqskpffhw\nfifgarfuqaoifkymgx[mvgawkhnxvgaqdmzat]fuemwmfadtlaxwyslr\nbcbt",
"end": 97226,
"score": 0.5142431259,
"start": 97218,
"tag": "KEY",
"value": "garfuqao"
},
{
"context": "enthqcqlw]cdvvgepmrqskpffhw\nfifgarfuqaoifkymgx[mvgawkhnxvgaqdmzat]fuemwmfadtlaxwyslr\nbcbtmtmkhecpaemtm",
"end": 97239,
"score": 0.5045562387,
"start": 97237,
"tag": "KEY",
"value": "aw"
},
{
"context": "mgx[mvgawkhnxvgaqdmzat]fuemwmfadtlaxwyslr\nbcbtmtmkhecpaemtmec[apsgtrjqwqreuntmdyq]qecxvrivzvlkwwnzcfv\n",
"end": 97282,
"score": 0.5047419071,
"start": 97280,
"tag": "KEY",
"value": "he"
},
{
"context": "e[dxxxiulybtkhkstynq]mjntafrkgppmgisnz\nvbijkdmufqxhuinw[nqkbpwcxoozkrllibiu]maiisvopemncukdedg[flspngj",
"end": 97999,
"score": 0.5051916242,
"start": 97997,
"tag": "KEY",
"value": "hu"
},
{
"context": "huqvdzpiyaw\nfvfozofyprhtptnvfvv[cvjusvxzqhknsrfuw]wwjlogceospgxpoq\nlboiooritgdlzti[dcvmycwryuiwrxuf]rgsvwmbouwqweusds",
"end": 98665,
"score": 0.5494667292,
"start": 98649,
"tag": "KEY",
"value": "wwjlogceospgxpoq"
},
{
"context": "fyprhtptnvfvv[cvjusvxzqhknsrfuw]wwjlogceospgxpoq\nlboiooritgdlzti[dcvmycwryuiwrxuf]rgsvwmbouwqweusdsrb[ncalmljnmldx",
"end": 98681,
"score": 0.5576195717,
"start": 98667,
"tag": "KEY",
"value": "boiooritgdlzti"
},
{
"context": "usvxzqhknsrfuw]wwjlogceospgxpoq\nlboiooritgdlzti[dcvmycwryuiwrxuf]rgsvwmbouwqweusdsrb[ncalmljnmldxtgjyn]digztuhetum",
"end": 98698,
"score": 0.5604423285,
"start": 98684,
"tag": "KEY",
"value": "vmycwryuiwrxuf"
},
{
"context": "wwjlogceospgxpoq\nlboiooritgdlzti[dcvmycwryuiwrxuf]rgsvwmbouwqweusdsrb[ncalmljnmldxtgjyn]digztuhetumfrmzwg[jxhgzioinwtdf",
"end": 98718,
"score": 0.5443688035,
"start": 98699,
"tag": "KEY",
"value": "rgsvwmbouwqweusdsrb"
},
{
"context": "ooritgdlzti[dcvmycwryuiwrxuf]rgsvwmbouwqweusdsrb[ncalmljnmldxtgjyn]digztuhetumfrmzwg[jxhgzioinwtdfvsczf]ormtzakkenig",
"end": 98736,
"score": 0.5313464999,
"start": 98720,
"tag": "KEY",
"value": "calmljnmldxtgjyn"
},
{
"context": "yuiwrxuf]rgsvwmbouwqweusdsrb[ncalmljnmldxtgjyn]digztuhetumfrmzwg[jxhgzioinwtdfvsczf]ormtzakkenigohbn\njjgkkenzhjxre",
"end": 98754,
"score": 0.541818738,
"start": 98740,
"tag": "KEY",
"value": "ztuhetumfrmzwg"
},
{
"context": "uwqweusdsrb[ncalmljnmldxtgjyn]digztuhetumfrmzwg[jxhgzioinwtdfvsczf]ormtzakkenigohbn\njjgkkenzhjxreujjury[oqbhgbvyvybh",
"end": 98773,
"score": 0.5336287022,
"start": 98757,
"tag": "KEY",
"value": "hgzioinwtdfvsczf"
},
{
"context": "dxtgjyn]digztuhetumfrmzwg[jxhgzioinwtdfvsczf]ormtzakkenigohbn\njjgkkenzhjxreujjury[oqbhgbvyvybhznj]lzzpsybrpvmfxf",
"end": 98790,
"score": 0.5388891101,
"start": 98779,
"tag": "KEY",
"value": "akkenigohbn"
},
{
"context": "hetumfrmzwg[jxhgzioinwtdfvsczf]ormtzakkenigohbn\njjgkkenzhjxreujjury[oqbhgbvyvybhznj]lzzpsybrpvmfxftasjv[fajchcbbxzyjz",
"end": 98810,
"score": 0.5604121685,
"start": 98793,
"tag": "KEY",
"value": "gkkenzhjxreujjury"
},
{
"context": "inwtdfvsczf]ormtzakkenigohbn\njjgkkenzhjxreujjury[oqbhgbvyvybhznj]lzzpsybrpvmfxftasjv[fajchcbbxzyjzdmzju]jbyovxsryh",
"end": 98826,
"score": 0.557341814,
"start": 98812,
"tag": "KEY",
"value": "qbhgbvyvybhznj"
},
{
"context": "tzakkenigohbn\njjgkkenzhjxreujjury[oqbhgbvyvybhznj]lzzpsybrpvmfxftasjv[fajchcbbxzyjzdmzju]jbyovxsryhenhqd\nkimqpwhmrecjic",
"end": 98846,
"score": 0.5629092455,
"start": 98827,
"tag": "KEY",
"value": "lzzpsybrpvmfxftasjv"
},
{
"context": "nzhjxreujjury[oqbhgbvyvybhznj]lzzpsybrpvmfxftasjv[fajchcbbxzyjzdmzju]jbyovxsryhenhqd\nkimqpwhmrecjichuf[biclfkhxsptyasun]cykzrmdsfvyszfldtxb[foamaxeacbbfukrav]kpdkasbbrjuqndsjf\nixiemjwdwfauy",
"end": 98936,
"score": 0.5781010389,
"start": 98847,
"tag": "KEY",
"value": "fajchcbbxzyjzdmzju]jbyovxsryhenhqd\nkimqpwhmrecjichuf[biclfkhxsptyasun]cykzrmdsfvyszfldtxb"
},
{
"context": "whmrecjichuf[biclfkhxsptyasun]cykzrmdsfvyszfldtxb[foamaxeacbbfukrav]kpdkasbbrjuqndsjf\nixiemjwdwfauydlzrf[ehczcannzlhrpuu]zgmsdfleegepchl",
"end": 98972,
"score": 0.5737752318,
"start": 98937,
"tag": "KEY",
"value": "foamaxeacbbfukrav]kpdkasbbrjuqndsjf"
},
{
"context": "fvyszfldtxb[foamaxeacbbfukrav]kpdkasbbrjuqndsjf\nixiemjwdwfauydlzrf[ehczcannzlhrpuu]zgmsdfleegepchlbml[pxixfrfqusymny",
"end": 98991,
"score": 0.5676929355,
"start": 98975,
"tag": "KEY",
"value": "iemjwdwfauydlzrf"
},
{
"context": "eacbbfukrav]kpdkasbbrjuqndsjf\nixiemjwdwfauydlzrf[ehczcannzlhrpuu]zgmsdfleegepchlbml[pxixfrfqusymnyad]wynixqpqilkig",
"end": 99007,
"score": 0.5594698787,
"start": 98993,
"tag": "KEY",
"value": "hczcannzlhrpuu"
},
{
"context": "asbbrjuqndsjf\nixiemjwdwfauydlzrf[ehczcannzlhrpuu]zgmsdfleegepchlbml[pxixfrfqusymnyad]wynixqpqilkigha[ujtjksmgswjsqlt]",
"end": 99026,
"score": 0.5656380057,
"start": 99009,
"tag": "KEY",
"value": "gmsdfleegepchlbml"
},
{
"context": "mjwdwfauydlzrf[ehczcannzlhrpuu]zgmsdfleegepchlbml[pxixfrfqusymnyad]wynixqpqilkigha[ujtjksmgswjsqlt]uabmyxgfqtqxbtggvoh\nvvxrjenkffmja",
"end": 99059,
"score": 0.5526801348,
"start": 99027,
"tag": "KEY",
"value": "pxixfrfqusymnyad]wynixqpqilkigha"
},
{
"context": "msdfleegepchlbml[pxixfrfqusymnyad]wynixqpqilkigha[ujtjksmgswjsqlt]uabmyxgfqtqxbtggvoh\nvvxrjenkffmjasf[zxizrnxsywrjp",
"end": 99075,
"score": 0.5537704229,
"start": 99060,
"tag": "KEY",
"value": "ujtjksmgswjsqlt"
},
{
"context": "[pxixfrfqusymnyad]wynixqpqilkigha[ujtjksmgswjsqlt]uabmyxgfqtqxbtggvoh\nvvxrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt",
"end": 99095,
"score": 0.5700362325,
"start": 99076,
"tag": "KEY",
"value": "uabmyxgfqtqxbtggvoh"
},
{
"context": "ixqpqilkigha[ujtjksmgswjsqlt]uabmyxgfqtqxbtggvoh\nvvxrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzx",
"end": 99111,
"score": 0.5574324727,
"start": 99097,
"tag": "KEY",
"value": "vxrjenkffmjasf"
},
{
"context": "ksmgswjsqlt]uabmyxgfqtqxbtggvoh\nvvxrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnha",
"end": 99128,
"score": 0.5285534859,
"start": 99114,
"tag": "KEY",
"value": "izrnxsywrjpbsy"
},
{
"context": "myxgfqtqxbtggvoh\nvvxrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwj",
"end": 99142,
"score": 0.5386382937,
"start": 99129,
"tag": "KEY",
"value": "danlwskfpxmwo"
},
{
"context": "oh\nvvxrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygv",
"end": 99146,
"score": 0.5122799873,
"start": 99143,
"tag": "KEY",
"value": "azt"
},
{
"context": "xrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzl",
"end": 99158,
"score": 0.5198531151,
"start": 99148,
"tag": "KEY",
"value": "dbwqsphlab"
},
{
"context": "f[zxizrnxsywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguf",
"end": 99166,
"score": 0.514461875,
"start": 99160,
"tag": "KEY",
"value": "xxhrgo"
},
{
"context": "sywrjpbsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguftv[ol",
"end": 99171,
"score": 0.5124508142,
"start": 99169,
"tag": "KEY",
"value": "ld"
},
{
"context": "bsy]danlwskfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguftv[olhsgnhi",
"end": 99177,
"score": 0.5039667487,
"start": 99175,
"tag": "KEY",
"value": "nh"
},
{
"context": "kfpxmwozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguftv[olhsgnhicqlhqcopiai",
"end": 99188,
"score": 0.5124231577,
"start": 99185,
"tag": "KEY",
"value": "kxo"
},
{
"context": "wozazt\nhdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguftv[olhsgnhicqlhqcopiai]azubeqximm",
"end": 99199,
"score": 0.5107769966,
"start": 99190,
"tag": "KEY",
"value": "wjpygvftw"
},
{
"context": "hlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguftv[olhsgnhicqlhqcopiai]azubeqximmxxruopb",
"end": 99206,
"score": 0.5048950315,
"start": 99204,
"tag": "KEY",
"value": "hf"
},
{
"context": "bkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw\neynyhfzlfnvsrguftv[olhsgnhicqlhqcopiai]azubeqximmxxruopbcv\n",
"end": 99209,
"score": 0.5203082561,
"start": 99207,
"tag": "KEY",
"value": "lf"
},
{
"context": "v[olhsgnhicqlhqcopiai]azubeqximmxxruopbcv\nixkfvfumxiagjybsn[frwibevmaiibyzd]qzqfzepjziatdpyqmr[onsezbg",
"end": 99269,
"score": 0.5047367811,
"start": 99267,
"tag": "KEY",
"value": "xi"
},
{
"context": "sggrmwypppcnkmws[ipqmpwdvbohtnbs]nutezdkbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbl",
"end": 99567,
"score": 0.5207087994,
"start": 99567,
"tag": "KEY",
"value": ""
},
{
"context": "rmwypppcnkmws[ipqmpwdvbohtnbs]nutezdkbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfn",
"end": 99580,
"score": 0.5300552249,
"start": 99570,
"tag": "KEY",
"value": "xpxuuvsdip"
},
{
"context": "ws[ipqmpwdvbohtnbs]nutezdkbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaic",
"end": 99583,
"score": 0.5055060983,
"start": 99581,
"tag": "KEY",
"value": "jv"
},
{
"context": "mpwdvbohtnbs]nutezdkbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv",
"end": 99593,
"score": 0.5260679722,
"start": 99587,
"tag": "KEY",
"value": "frkyfv"
},
{
"context": "nbs]nutezdkbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyl",
"end": 99599,
"score": 0.524787426,
"start": 99596,
"tag": "KEY",
"value": "mhw"
},
{
"context": "nutezdkbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsu",
"end": 99602,
"score": 0.5055032372,
"start": 99600,
"tag": "KEY",
"value": "fd"
},
{
"context": "kbigrjnveau\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\n",
"end": 99614,
"score": 0.5246891379,
"start": 99606,
"tag": "KEY",
"value": "cyrhdiys"
},
{
"context": "au\nftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikl",
"end": 99621,
"score": 0.5182495117,
"start": 99615,
"tag": "KEY",
"value": "pbldrq"
},
{
"context": "xuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikldqb",
"end": 99624,
"score": 0.5049616098,
"start": 99622,
"tag": "KEY",
"value": "qp"
},
{
"context": "dipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikldqbizpscet",
"end": 99631,
"score": 0.5247887373,
"start": 99627,
"tag": "KEY",
"value": "hfna"
},
{
"context": "yfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikldqbizpsceti[skfmnlrtbw",
"end": 99643,
"score": 0.5169106722,
"start": 99640,
"tag": "KEY",
"value": "flv"
},
{
"context": "ucmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgb",
"end": 99661,
"score": 0.5318968296,
"start": 99644,
"tag": "KEY",
"value": "rskyllsuaaxidlokg"
},
{
"context": "szpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgbhni",
"end": 99663,
"score": 0.5513528585,
"start": 99663,
"tag": "KEY",
"value": ""
},
{
"context": "pbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz\ngqnlikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgbhnixj[kmlxwcfmudgamal",
"end": 99682,
"score": 0.5401647091,
"start": 99665,
"tag": "KEY",
"value": "qnlikldqbizpsceti"
},
{
"context": "oldftflv]rskyllsuaaxidlokgxz\ngqnlikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgbhnixj[kmlxwcfmudgamallj]tfwinixbevrrgz",
"end": 99699,
"score": 0.5353730321,
"start": 99685,
"tag": "KEY",
"value": "fmnlrtbwyqrwpi"
},
{
"context": "suaaxidlokgxz\ngqnlikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgbhnixj[kmlxwcfmudgamallj]tfwinixbevrrgzozw[iufudfqiwsyjc",
"end": 99716,
"score": 0.5477532148,
"start": 99700,
"tag": "KEY",
"value": "ubwivkayvgbhnixj"
},
{
"context": "ikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgbhnixj[kmlxwcfmudgamallj]tfwinixbevrrgzozw[iufudfqiwsyjcyqrs]ujixfobkouvxhm",
"end": 99735,
"score": 0.5312764645,
"start": 99718,
"tag": "KEY",
"value": "mlxwcfmudgamallj]"
},
{
"context": "nlrtbwyqrwpi]ubwivkayvgbhnixj[kmlxwcfmudgamallj]tfwinixbevrrgzozw[iufudfqiwsyjcyqrs]ujixfobkouvxhmvcql\niddngjedxnwl",
"end": 99752,
"score": 0.5582745075,
"start": 99737,
"tag": "KEY",
"value": "winixbevrrgzozw"
},
{
"context": "ivkayvgbhnixj[kmlxwcfmudgamallj]tfwinixbevrrgzozw[iufudfqiwsyjcyqrs]ujixfobkouvxhmvcql\niddngjedxnwlbcxhkw[yqwiebcdacegykn]saybhmmqxdoxrrzced[bqjiuuqpbxczshymt]qagtwkbyyslughgsxrd[wjjqtpphygi",
"end": 99843,
"score": 0.5766080618,
"start": 99753,
"tag": "KEY",
"value": "iufudfqiwsyjcyqrs]ujixfobkouvxhmvcql\niddngjedxnwlbcxhkw[yqwiebcdacegykn]saybhmmqxdoxrrzced"
},
{
"context": "gjedxnwlbcxhkw[yqwiebcdacegykn]saybhmmqxdoxrrzced[bqjiuuqpbxczshymt]qagtwkbyyslughgsxrd[wjjqtpphygirijzcnun]lvwqqctdkjvaatovttj\nqzarsgfoj",
"end": 99881,
"score": 0.5720077753,
"start": 99844,
"tag": "KEY",
"value": "bqjiuuqpbxczshymt]qagtwkbyyslughgsxrd"
},
{
"context": "qxdoxrrzced[bqjiuuqpbxczshymt]qagtwkbyyslughgsxrd[wjjqtpphygirijzcnun]lvwqqctdkjvaatovttj\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuv",
"end": 99921,
"score": 0.5625233054,
"start": 99882,
"tag": "KEY",
"value": "wjjqtpphygirijzcnun]lvwqqctdkjvaatovttj"
},
{
"context": "ghgsxrd[wjjqtpphygirijzcnun]lvwqqctdkjvaatovttj\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviq",
"end": 99937,
"score": 0.5593657494,
"start": 99924,
"tag": "KEY",
"value": "arsgfojoaqkzb"
},
{
"context": "ygirijzcnun]lvwqqctdkjvaatovttj\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpm",
"end": 99948,
"score": 0.5246810913,
"start": 99940,
"tag": "KEY",
"value": "uvvyihog"
},
{
"context": "n]lvwqqctdkjvaatovttj\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfq",
"end": 99953,
"score": 0.5248504281,
"start": 99950,
"tag": "KEY",
"value": "omq"
},
{
"context": "qqctdkjvaatovttj\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelg",
"end": 99957,
"score": 0.5127739906,
"start": 99955,
"tag": "KEY",
"value": "qs"
},
{
"context": "kjvaatovttj\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcanknc",
"end": 99969,
"score": 0.5206385851,
"start": 99960,
"tag": "KEY",
"value": "acrjmxsud"
},
{
"context": "j\nqzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyai",
"end": 99974,
"score": 0.509067893,
"start": 99970,
"tag": "KEY",
"value": "uvjd"
},
{
"context": "ojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]",
"end": 99981,
"score": 0.5052219033,
"start": 99979,
"tag": "KEY",
"value": "wx"
},
{
"context": "qkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsi",
"end": 99984,
"score": 0.5053415895,
"start": 99983,
"tag": "KEY",
"value": "b"
},
{
"context": "jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsieyimsc",
"end": 99990,
"score": 0.5050644875,
"start": 99988,
"tag": "KEY",
"value": "ui"
},
{
"context": "vyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsieyimscyfva",
"end": 99994,
"score": 0.5204963684,
"start": 99992,
"tag": "KEY",
"value": "lu"
},
{
"context": "momqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsieyimscyfvaeduf\nep",
"end": 100001,
"score": 0.5052736402,
"start": 99999,
"tag": "KEY",
"value": "by"
},
{
"context": "bviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsieyimscyfvaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunnc",
"end": 100034,
"score": 0.5054408908,
"start": 100033,
"tag": "KEY",
"value": "i"
},
{
"context": "lu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsieyimscyfvaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkio",
"end": 100044,
"score": 0.5288158655,
"start": 100042,
"tag": "KEY",
"value": "va"
},
{
"context": "fqhelgtpic[xcankncgcyaixxcuaj]jsieyimscyfvaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkioklsoktfp[kjv",
"end": 100056,
"score": 0.5108089447,
"start": 100051,
"tag": "KEY",
"value": "qisdv"
},
{
"context": "tpic[xcankncgcyaixxcuaj]jsieyimscyfvaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkioklsoktfp[kjvjyt",
"end": 100059,
"score": 0.5212295055,
"start": 100057,
"tag": "KEY",
"value": "vc"
},
{
"context": "[xcankncgcyaixxcuaj]jsieyimscyfvaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkioklsoktfp[kjvjytinyt",
"end": 100063,
"score": 0.505558908,
"start": 100061,
"tag": "KEY",
"value": "xc"
},
{
"context": "nkncgcyaixxcuaj]jsieyimscyfvaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkioklsoktfp[kjvjytinytggju",
"end": 100067,
"score": 0.5209895372,
"start": 100065,
"tag": "KEY",
"value": "uu"
},
{
"context": "vaeduf\nepqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkioklsoktfp[kjvjytinytggjurws]oekjstnakyoohller\nyidewjs",
"end": 100096,
"score": 0.5054870844,
"start": 100092,
"tag": "KEY",
"value": "iokl"
},
{
"context": "nncv]iibgrkioklsoktfp[kjvjytinytggjurws]oekjstnakyoohller\nyidewjsqwykhvakby[ewhvuvpzmeexvwtd]mygypbsba",
"end": 100133,
"score": 0.5209569931,
"start": 100131,
"tag": "KEY",
"value": "oo"
},
{
"context": "llhnasdzaku[brkdsnedgdlzlhxzlzg]ygvficcbzjonmzh\nvzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdz",
"end": 100613,
"score": 0.5144888163,
"start": 100605,
"tag": "KEY",
"value": "dkvwtqbq"
},
{
"context": "rkdsnedgdlzlhxzlzg]ygvficcbzjonmzh\nvzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvve",
"end": 100619,
"score": 0.5045978427,
"start": 100618,
"tag": "KEY",
"value": "b"
},
{
"context": "gdlzlhxzlzg]ygvficcbzjonmzh\nvzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvveioipoj]",
"end": 100626,
"score": 0.528316319,
"start": 100625,
"tag": "KEY",
"value": "w"
},
{
"context": "zlhxzlzg]ygvficcbzjonmzh\nvzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvveioipoj]xkpb",
"end": 100630,
"score": 0.5050627589,
"start": 100628,
"tag": "KEY",
"value": "xx"
},
{
"context": "gvficcbzjonmzh\nvzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvveioipoj]xkpbfwdxvkcndrb",
"end": 100641,
"score": 0.524279952,
"start": 100638,
"tag": "KEY",
"value": "lhe"
},
{
"context": "cbzjonmzh\nvzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvveioipoj]xkpbfwdxvkcndrbfgya[qvewltgem",
"end": 100655,
"score": 0.517098546,
"start": 100643,
"tag": "KEY",
"value": "kpbahpgjtvax"
},
{
"context": "kvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvveioipoj]xkpbfwdxvkcndrbfgya[qvewltgemzljlokhjxi]bufpvhmvhrndnkmjsjr\nmynfnfbjl",
"end": 100695,
"score": 0.5312530398,
"start": 100656,
"tag": "KEY",
"value": "lbfhfdztehvveioipoj]xkpbfwdxvkcndrbfgya"
},
{
"context": "ahpgjtvax[lbfhfdztehvveioipoj]xkpbfwdxvkcndrbfgya[qvewltgemzljlokhjxi]bufpvhmvhrndnkmjsjr\nmynfnfbjlwljwoqbenl[wnuganfnmpqrgcdxvn]kpcfvfegyibrhoeouiv[tmquruuijo",
"end": 100755,
"score": 0.5619222522,
"start": 100696,
"tag": "KEY",
"value": "qvewltgemzljlokhjxi]bufpvhmvhrndnkmjsjr\nmynfnfbjlwljwoqbenl"
},
{
"context": "ljlokhjxi]bufpvhmvhrndnkmjsjr\nmynfnfbjlwljwoqbenl[wnuganfnmpqrgcdxvn]kpcfvfegyibrhoeouiv[tmquruuijoivdluhc]lnspgmbphvh",
"end": 100774,
"score": 0.5466083884,
"start": 100756,
"tag": "KEY",
"value": "wnuganfnmpqrgcdxvn"
},
{
"context": "rndnkmjsjr\nmynfnfbjlwljwoqbenl[wnuganfnmpqrgcdxvn]kpcfvfegyibrhoeouiv[tmquruuijoivdluhc]lnspgmbphvhxlcw[slrraibkhqkaupb",
"end": 100794,
"score": 0.5479820967,
"start": 100775,
"tag": "KEY",
"value": "kpcfvfegyibrhoeouiv"
},
{
"context": "jwoqbenl[wnuganfnmpqrgcdxvn]kpcfvfegyibrhoeouiv[tmquruuijoivdluhc]lnspgmbphvhxlcw[slrraibkhqkaupb]vxwczoqsrepmgzz\ne",
"end": 100812,
"score": 0.5463185906,
"start": 100797,
"tag": "KEY",
"value": "quruuijoivdluhc"
},
{
"context": "nmpqrgcdxvn]kpcfvfegyibrhoeouiv[tmquruuijoivdluhc]lnspgmbphvhxlcw[slrraibkhqkaupb]vxwczoqsrepmgzz\neaeovlebqlahuiztd",
"end": 100828,
"score": 0.5375397801,
"start": 100813,
"tag": "KEY",
"value": "lnspgmbphvhxlcw"
},
{
"context": "egyibrhoeouiv[tmquruuijoivdluhc]lnspgmbphvhxlcw[slrraibkhqkaupb]vxwczoqsrepmgzz\neaeovlebqlahuiztd[dngzrklmortvzks",
"end": 100844,
"score": 0.5291249752,
"start": 100831,
"tag": "KEY",
"value": "rraibkhqkaupb"
},
{
"context": "tmquruuijoivdluhc]lnspgmbphvhxlcw[slrraibkhqkaupb]vxwczoqsrepmgzz\neaeovlebqlahuiztd[dngzrklmortvzksk]atunvakfxeqeymw",
"end": 100860,
"score": 0.5376055837,
"start": 100845,
"tag": "KEY",
"value": "vxwczoqsrepmgzz"
},
{
"context": "qwdkjfni[lalstrvjalnttmwr]xbezkjpklkrnlpzjjn[wbpwhbukoixcfsqnu]xknhkqjktuybkfnz\nykvyxzavfcirelraq[itraxkxjwslzkxkigcm]ndbwcybrgayecrpjao\njqwujyllrskoetkbz[akunxyvvaxrysiygb]ynqqotupdoqbfwncn[yyszfaxjmgqmwxrvdx]zeacfwrreohtnzvobhj\nfsfgewroujqwaek[mryrrkeqgtpibzn]vlmavzfvsadxbdiph[tdlovgncglhaoqafic]ziupjyryletstrull\nfosmjgkqrqvjjigrtf[ejrefcyognxkuvlwl]bzhpufedodqwsztzng[rgxidklqahcldewgfrl]eodokojqopkrrhfpmmf[yqwaeuztmjkelpwlj]zijgacsyrbtwkxh\ncehnutkhbzhfouyk[pdiacmcgcdpmsvgvkmp]uaslakppkycqbzn[ldbaomdftjcnpasl]fgdrrrzumavxzlojm[iyknsyaoypsbqicx]ggtbqnjftvmqkmiu\nnmezigjskmagkzcsyhb[rfrggycsxoxxnxrhyb]zjlrnpgxzgljzfw[ztdnrdocidkgbqmmqa]hnuqryossbzlfaivij[dkaufcpwgzsxztpqsk]tzkdznvnizjtbrnqosj\nzcdfhyoyrbwonet[otdhxcbmwxzgoyoo]kbkvqasgmhmuynqth\nwajbfmurouvueehl[dvyueqwzbqcpdvbjfr]vkujmhhlqbdaqcsvomz[wlekuxdiumhnwms]yzgtuwxfirpmllcek[tzipbxbzpxcvzxzmtr]tynktoelqfhedvavge\nhueffzriwkhilam[zheswsymmryugjawlxy]rptwswnecdpsdj",
"end": 102228,
"score": 0.8794225454,
"start": 101399,
"tag": "KEY",
"value": "bukoixcfsqnu]xknhkqjktuybkfnz\nykvyxzavfcirelraq[itraxkxjwslzkxkigcm]ndbwcybrgayecrpjao\njqwujyllrskoetkbz[akunxyvvaxrysiygb]ynqqotupdoqbfwncn[yyszfaxjmgqmwxrvdx]zeacfwrreohtnzvobhj\nfsfgewroujqwaek[mryrrkeqgtpibzn]vlmavzfvsadxbdiph[tdlovgncglhaoqafic]ziupjyryletstrull\nfosmjgkqrqvjjigrtf[ejrefcyognxkuvlwl]bzhpufedodqwsztzng[rgxidklqahcldewgfrl]eodokojqopkrrhfpmmf[yqwaeuztmjkelpwlj]zijgacsyrbtwkxh\ncehnutkhbzhfouyk[pdiacmcgcdpmsvgvkmp]uaslakppkycqbzn[ldbaomdftjcnpasl]fgdrrrzumavxzlojm[iyknsyaoypsbqicx]ggtbqnjftvmqkmiu\nnmezigjskmagkzcsyhb[rfrggycsxoxxnxrhyb]zjlrnpgxzgljzfw[ztdnrdocidkgbqmmqa]hnuqryossbzlfaivij[dkaufcpwgzsxztpqsk]tzkdznvnizjtbrnqosj\nzcdfhyoyrbwonet[otdhxcbmwxzgoyoo]kbkvqasgmhmuynqth\nwajbfmurouvueehl[dvyueqwzbqcpdvbjfr]vkujmhhlqbdaqcsvomz[wlekuxdiumhnwms]yzgtuwxfirpmllcek[tzipbxbzpxcvzxzmtr]tynktoelqfhedvavge"
},
{
"context": "rpmllcek[tzipbxbzpxcvzxzmtr]tynktoelqfhedvavge\nhueffzriwkhilam[zheswsymmryugjawlxy]rptwswnecdpsdjujnt[rjyipvpqzb",
"end": 102244,
"score": 0.5659917593,
"start": 102232,
"tag": "KEY",
"value": "ffzriwkhilam"
},
{
"context": "xbzpxcvzxzmtr]tynktoelqfhedvavge\nhueffzriwkhilam[zheswsymmryugjawlxy]rptwswnecdpsdjujnt[rjyipvpqzbnvtugvi]xkicvyasotmr",
"end": 102264,
"score": 0.5584027767,
"start": 102246,
"tag": "KEY",
"value": "heswsymmryugjawlxy"
},
{
"context": "hueffzriwkhilam[zheswsymmryugjawlxy]rptwswnecdpsdjujnt[rjyipvpqzbnvtugvi]xkicvyasotmrxvqj\nrqbhugeaozfj",
"end": 102281,
"score": 0.5133743286,
"start": 102279,
"tag": "KEY",
"value": "uj"
},
{
"context": "riwkhilam[zheswsymmryugjawlxy]rptwswnecdpsdjujnt[rjyipvpqzbnvtugvi]xkicvyasotmrxvqj\nrqbhugeaozfjbqm[blpvbvcvrytbekhj",
"end": 102301,
"score": 0.5413506627,
"start": 102285,
"tag": "KEY",
"value": "jyipvpqzbnvtugvi"
},
{
"context": "ryugjawlxy]rptwswnecdpsdjujnt[rjyipvpqzbnvtugvi]xkicvyasotmrxvqj\nrqbhugeaozfjbqm[blpvbvcvrytbekhjfo]twsrzdeuojhqpaa\nfymuqqbklufqakg[wfsqzzrvdqcubxbdr]yzvdgnwitopzvtha[vhrdzzbmubhgovut]tfkcybfbdsxbxaxnmm[ruvfmuciecbfoxbummm]ysaeetmynjhyegk\nkoqhuxoxhzmsycbr[vbpklymhqueodieomz]jmstuovitaskfbay[mpccjuzuqwkhvnzlbl]jvdqgfkbyzaaeaxjfcl\nsbryyigqipvwczxty[ypjxmlzyfjkfqxyxibv]ktqvnmbdtykqyiu\nvivvjcfrqdbkyopqjdd[wkpuxloudonlcsutb]wpcbavtlbxcojarsj[wxihbnghmpfppwqlykz]dpyadzmpvgwtjoiz[jgagjiqugqvjnehajcv]tvrrkzjwwxaswbaz\ntkpkdqijrxmpddkkau[yljmixrzauogowt]yngihfgazktusprrt[ggqtnksekzzypkpud]rxvvuhfakfcxjieaa[spuvyobjexcgobltmk]radfcjxnsgsntezrerl\nhywcvnclwvvcmkdk[teiryduhljxirhrjbt]brkfilaybgtdkdh[zjqmovlmzogwvfmmi]czmtshoirukgjgeug\nsdbxirgqauygushqq[itvwniqwuzmpzqbuug]dnrxseaisdgklwodsgq[euqpdyvpyncxocy]ggchswamymfpxaiap\nnzteyxnakzfebtcszx[uctynyhtavkzfcudvke]uasdfpeleelxacxq[kyqsinbcwbvlrmr]zelddmnaqlkhmbsw\nttzhosgzkuxfwsy[",
"end": 103131,
"score": 0.7124387026,
"start": 102304,
"tag": "KEY",
"value": "icvyasotmrxvqj\nrqbhugeaozfjbqm[blpvbvcvrytbekhjfo]twsrzdeuojhqpaa\nfymuqqbklufqakg[wfsqzzrvdqcubxbdr]yzvdgnwitopzvtha[vhrdzzbmubhgovut]tfkcybfbdsxbxaxnmm[ruvfmuciecbfoxbummm]ysaeetmynjhyegk\nkoqhuxoxhzmsycbr[vbpklymhqueodieomz]jmstuovitaskfbay[mpccjuzuqwkhvnzlbl]jvdqgfkbyzaaeaxjfcl\nsbryyigqipvwczxty[ypjxmlzyfjkfqxyxibv]ktqvnmbdtykqyiu\nvivvjcfrqdbkyopqjdd[wkpuxloudonlcsutb]wpcbavtlbxcojarsj[wxihbnghmpfppwqlykz]dpyadzmpvgwtjoiz[jgagjiqugqvjnehajcv]tvrrkzjwwxaswbaz\ntkpkdqijrxmpddkkau[yljmixrzauogowt]yngihfgazktusprrt[ggqtnksekzzypkpud]rxvvuhfakfcxjieaa[spuvyobjexcgobltmk]radfcjxnsgsntezrerl\nhywcvnclwvvcmkdk[teiryduhljxirhrjbt]brkfilaybgtdkdh[zjqmovlmzogwvfmmi]czmtshoirukgjgeug\nsdbxirgqauygushqq[itvwniqwuzmpzqbuug]dnrxseaisdgklwodsgq[euqpdyvpyncxocy]ggchswamymfpxaiap\nnzteyxnakzfebtcszx[uctynyhtavkzfcudvke]uasdfpeleelxacxq"
},
{
"context": "nakzfebtcszx[uctynyhtavkzfcudvke]uasdfpeleelxacxq[kyqsinbcwbvlrmr]zelddmnaqlkhmbsw\nttzhosgzkuxfwsy[carsvskefzrusoih",
"end": 103147,
"score": 0.5397362709,
"start": 103132,
"tag": "KEY",
"value": "kyqsinbcwbvlrmr"
},
{
"context": "ynyhtavkzfcudvke]uasdfpeleelxacxq[kyqsinbcwbvlrmr]zelddmnaqlkhmbsw\nttzhosgzkuxfwsy[carsvskefzrusoihqw]qiuobbcgndqquk",
"end": 103164,
"score": 0.5398203135,
"start": 103148,
"tag": "KEY",
"value": "zelddmnaqlkhmbsw"
},
{
"context": "sdfpeleelxacxq[kyqsinbcwbvlrmr]zelddmnaqlkhmbsw\nttzhosgzkuxfwsy[carsvskefzrusoihqw]qiuobbcgndqqukuvbmp",
"end": 103169,
"score": 0.5595344901,
"start": 103167,
"tag": "KEY",
"value": "zh"
},
{
"context": "kuxfwsy[carsvskefzrusoihqw]qiuobbcgndqqukuvbmp\nwihzjoazedelgsojb[ftgarhsuahimrocy]umttbzcrvgzroprh\nitojzylgycblvbao[xgmeltpmzvzvyfnso]kuohqnawebyjdrerwty[oslthgekjbgpsnkyk]jifnogopgpnkfdrwi\nnvyowfknauliiht[tskhxdgvaggvgsbk]blgylrovweecglu\nhvzpbfqqlwjennnj[vnmqrqlfiqeqdmg]hfofuvqicttlcxka[ievkgdwazpamrdzz]aoofvzixtqamcvhbh\nyuxckarjmwgyvqjl[nvlegkojdyybpty]hvkrieawbpkcjit[tewpyncidhvdtomjq]dtgggmzwogtyoxrepi\njobfkxxyhcfvetxwuc[nreuagzglpniuwkvui]seztmibtqvrdepqyt[skrxasyhbotymilzgzr]jnhqwvcpirmpnltnyn\nhoqhdburqwecnzksmd[gnegphjoyuvflxlujbs]zhuvrcztcfgorbwuc[pjxxfqyqmnhyopaeh]ewbvxrexhvdawazw[kbngpgqwtgkzuwupwj]kmatbuqigzqrzmbq\nltjrhusfbjbciixg[swlhqxnykjxumuifqdd]romkzpszqgaflgbjpsp[lbaqcvazaucueltnp]wovkfmiuwjdqxovf[vuundonjprqrxakp]wxeulnkckdufqjy\nxkdmgtutsfumpzteeh[yvkilakqbawvedm]dwwaexrzzsyjpzsn[pxitznlnnvnjyrs]kcnhpbkzicorrgncowu[ogyvmiykolbwdtv]vjaksxdrtpuuyykihe\neyzjheolvkemumxpo[ipwxnrhyldvgewl]zbrzwobnthndxxvthe[gkfleabqwkpjxbtdlt]wywjazwwxwmuqkpwj[omgsyntzcnhj",
"end": 104106,
"score": 0.8269663453,
"start": 103223,
"tag": "KEY",
"value": "zjoazedelgsojb[ftgarhsuahimrocy]umttbzcrvgzroprh\nitojzylgycblvbao[xgmeltpmzvzvyfnso]kuohqnawebyjdrerwty[oslthgekjbgpsnkyk]jifnogopgpnkfdrwi\nnvyowfknauliiht[tskhxdgvaggvgsbk]blgylrovweecglu\nhvzpbfqqlwjennnj[vnmqrqlfiqeqdmg]hfofuvqicttlcxka[ievkgdwazpamrdzz]aoofvzixtqamcvhbh\nyuxckarjmwgyvqjl[nvlegkojdyybpty]hvkrieawbpkcjit[tewpyncidhvdtomjq]dtgggmzwogtyoxrepi\njobfkxxyhcfvetxwuc[nreuagzglpniuwkvui]seztmibtqvrdepqyt[skrxasyhbotymilzgzr]jnhqwvcpirmpnltnyn\nhoqhdburqwecnzksmd[gnegphjoyuvflxlujbs]zhuvrcztcfgorbwuc[pjxxfqyqmnhyopaeh]ewbvxrexhvdawazw[kbngpgqwtgkzuwupwj]kmatbuqigzqrzmbq\nltjrhusfbjbciixg[swlhqxnykjxumuifqdd]romkzpszqgaflgbjpsp[lbaqcvazaucueltnp]wovkfmiuwjdqxovf[vuundonjprqrxakp]wxeulnkckdufqjy\nxkdmgtutsfumpzteeh[yvkilakqbawvedm]dwwaexrzzsyjpzsn[pxitznlnnvnjyrs]kcnhpbkzicorrgncowu[ogyvmiykolbwdtv]vjaksxdrtpuuyykihe\neyzjheolvkemumxpo[ipwxnrhyldvgewl]zbrzwobnthndxxvthe"
},
{
"context": "heolvkemumxpo[ipwxnrhyldvgewl]zbrzwobnthndxxvthe[gkfleabqwkpjxbtdlt]wywjazwwxwmuqkpwj[omgsyntzcnhjvsu]asknyjsgb",
"end": 104119,
"score": 0.5345373154,
"start": 104108,
"tag": "KEY",
"value": "kfleabqwkpj"
},
{
"context": "[ipwxnrhyldvgewl]zbrzwobnthndxxvthe[gkfleabqwkpjxbtdlt]wywjazwwxwmuqkpwj[omgsyntzcnhjvsu]asknyjsgbofzyft",
"end": 104125,
"score": 0.5279940367,
"start": 104121,
"tag": "KEY",
"value": "tdlt"
},
{
"context": "nrhyldvgewl]zbrzwobnthndxxvthe[gkfleabqwkpjxbtdlt]wywjazwwxwmuqkpwj[omgsyntzcnhjvsu]asknyjsgbofzyfte\nkxxpalmmgdqwahfxs[zwafxcjjypzibafhrag]qfnbakvxozjqgbnnizp[bqhtnoqzctknrmmh]zvmyctoitshakgx[dzatbhonulhknbio]eufzjykwmqoignzm\nbeenkdmzqibirws[majntndkzawkbfpi]biygjiawnioazizbt[yonbljzgueyiuirtv]umjmhspfocrpobmrfu[dwegjekvrmgoaqc]dorpbifeqhmtglavx\nsstlfeielfmztngzpbl[alzfrbyqiqangbkwi]qcomrirvulgipuk[mdvsghpkpisxplgit]aykwuhadobubmrdtvvj[pqdycsmawculwsz]oemcgayshwppgbwanxk\nqwhfnqzudzysqxwebj[nhsrdvugubbtuuseux]etcjsefcsjblcjgshh\ncgagbjtoxvwwqonb[crbqhpfajsdwtudybm]dquyiuqtarcupaeujhk\nqjsqqlgdczcqarhftri[rchwsuodsdofjpd]mrpwnlqgetejijnwnr[lwusdojqkioapaxwc]ioumfyxtwspuyztz[dgncyjfldlapoasebgz]raelsaeajwuhnabrgw\ntihnitxxkxjvudnrj[neqbqspcfnldrna]qkkcggwjgejtbmggemx[ffhkzdeopnhrdfpbrfn]rucxwfyfiavskfahg\nzralvoiqdvpvjkkf[ttvdslqoxnlvnyyskq]joucwcxixdqsagu[tulodbmorpbjnzz]qkknyrgruwgrgupgb\nfgfaohmvjameqyl[riumppkgphbaziwbfcn]gspevtjsfjazl",
"end": 104971,
"score": 0.6755933762,
"start": 104126,
"tag": "KEY",
"value": "wywjazwwxwmuqkpwj[omgsyntzcnhjvsu]asknyjsgbofzyfte\nkxxpalmmgdqwahfxs[zwafxcjjypzibafhrag]qfnbakvxozjqgbnnizp[bqhtnoqzctknrmmh]zvmyctoitshakgx[dzatbhonulhknbio]eufzjykwmqoignzm\nbeenkdmzqibirws[majntndkzawkbfpi]biygjiawnioazizbt[yonbljzgueyiuirtv]umjmhspfocrpobmrfu[dwegjekvrmgoaqc]dorpbifeqhmtglavx\nsstlfeielfmztngzpbl[alzfrbyqiqangbkwi]qcomrirvulgipuk[mdvsghpkpisxplgit]aykwuhadobubmrdtvvj[pqdycsmawculwsz]oemcgayshwppgbwanxk\nqwhfnqzudzysqxwebj[nhsrdvugubbtuuseux]etcjsefcsjblcjgshh\ncgagbjtoxvwwqonb[crbqhpfajsdwtudybm]dquyiuqtarcupaeujhk\nqjsqqlgdczcqarhftri[rchwsuodsdofjpd]mrpwnlqgetejijnwnr[lwusdojqkioapaxwc]ioumfyxtwspuyztz[dgncyjfldlapoasebgz]raelsaeajwuhnabrgw\ntihnitxxkxjvudnrj[neqbqspcfnldrna]qkkcggwjgejtbmggemx[ffhkzdeopnhrdfpbrfn]rucxwfyfiavskfahg\nzralvoiqdvpvjkkf[ttvdslqoxnlvnyyskq]joucwcxixdqsagu[tulodbmorpbjnzz]qkknyrgruwgrgupgb"
},
{
"context": "ucwcxixdqsagu[tulodbmorpbjnzz]qkknyrgruwgrgupgb\nfgfaohmvjameqyl[riumppkgphbaziwbfcn]gspevtjsfjazlolblh[sue",
"end": 104980,
"score": 0.5151927471,
"start": 104974,
"tag": "KEY",
"value": "faohmv"
},
{
"context": "grgupgb\nfgfaohmvjameqyl[riumppkgphbaziwbfcn]gspevtjsfjazlolblh[sueqarjummrmwdgzsr]szmltztnwpqshlr\nlgcu",
"end": 105016,
"score": 0.5117766857,
"start": 105014,
"tag": "KEY",
"value": "js"
},
{
"context": "spevtjsfjazlolblh[sueqarjummrmwdgzsr]szmltztnwpqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrz",
"end": 105061,
"score": 0.504756093,
"start": 105059,
"tag": "KEY",
"value": "lr"
},
{
"context": "jsfjazlolblh[sueqarjummrmwdgzsr]szmltztnwpqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoi",
"end": 105065,
"score": 0.5126484036,
"start": 105064,
"tag": "KEY",
"value": "c"
},
{
"context": "lblh[sueqarjummrmwdgzsr]szmltztnwpqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki\nelrybw",
"end": 105074,
"score": 0.5281317234,
"start": 105072,
"tag": "KEY",
"value": "oo"
},
{
"context": "[sueqarjummrmwdgzsr]szmltztnwpqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki\nelrybwwbkt",
"end": 105078,
"score": 0.5047764182,
"start": 105076,
"tag": "KEY",
"value": "hu"
},
{
"context": "mmrmwdgzsr]szmltztnwpqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki\nelrybwwbktbemldjqeu",
"end": 105087,
"score": 0.5046278834,
"start": 105085,
"tag": "KEY",
"value": "mk"
},
{
"context": "wdgzsr]szmltztnwpqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki\nelrybwwbktbemldjqeu[moigtqyrbf",
"end": 105098,
"score": 0.5188427567,
"start": 105089,
"tag": "KEY",
"value": "dsfquxleu"
},
{
"context": "pqshlr\nlgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki\nelrybwwbktbemldjqeu[moigtqyrbfwcdtjkm]cfquoomooaqr",
"end": 105117,
"score": 0.5365322232,
"start": 105105,
"tag": "KEY",
"value": "mmxwsrzqoiki"
},
{
"context": "vsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki\nelrybwwbktbemldjqeu[moigtqyrbfwcdtjkm]cfquoomooaqrsuomty\nrihnsvwngk",
"end": 105135,
"score": 0.5346055627,
"start": 105120,
"tag": "KEY",
"value": "rybwwbktbemldjq"
},
{
"context": "sfquxleu]icefstmmxwsrzqoiki\nelrybwwbktbemldjqeu[moigtqyrbfwcdtjkm]cfquoomooaqrsuomty\nrihnsvwngkabincos[hrafbjoluwrkoaqb]genyvelnsrwqpljgdf[ytnarqybnwaeawssx]bdhppadoofmwwbcbl[acnqxbqukongbge]tptnvsrcborwgumweyb\nsesxnxaikeytqds[groytsrabjvakklwp]jzexhtzpseseauk[sdndnglavrmhzyjdh]mpsxlaxqnazayppc\nozkfwwrdoftbpnqwa[mvzpilxwrdeszungggo]fbjxevczxrypzzegxmv[zvzaovlhirczrlwnvk]yulsjotokxaurjibuk[hygvqlsqfygujup]ijtuoskhnrvxmmnety\nssoavardlqlejqfndz[emljlpogavcsyvavr]izdkqsihedwjaxva\nwixidnoyhmsiuz",
"end": 105535,
"score": 0.6481252313,
"start": 105140,
"tag": "KEY",
"value": "igtqyrbfwcdtjkm]cfquoomooaqrsuomty\nrihnsvwngkabincos[hrafbjoluwrkoaqb]genyvelnsrwqpljgdf[ytnarqybnwaeawssx]bdhppadoofmwwbcbl[acnqxbqukongbge]tptnvsrcborwgumweyb\nsesxnxaikeytqds[groytsrabjvakklwp]jzexhtzpseseauk[sdndnglavrmhzyjdh]mpsxlaxqnazayppc\nozkfwwrdoftbpnqwa[mvzpilxwrdeszungggo]fbjxevczxrypzzegxmv[zvzaovlhirczrlwnvk]yulsjotokxaurjibuk[hygvqlsqfygujup]ijtuoskhnrvxmmnety\nssoavardlqlejqfndz"
},
{
"context": "qlsqfygujup]ijtuoskhnrvxmmnety\nssoavardlqlejqfndz[emljlpogavcsyvavr]izdkqsihedwjaxva\nwixidnoyhmsiuzwbm[jgqpnkzbobknrufgif]yaarbsalkqgscyv\nhgcggfqnkhbjlhhipc[cgcrrzyspqlllhee]czfvtkjhfgnrwwua\nggnsczivqxwhung",
"end": 105642,
"score": 0.6001833677,
"start": 105536,
"tag": "KEY",
"value": "emljlpogavcsyvavr]izdkqsihedwjaxva\nwixidnoyhmsiuzwbm[jgqpnkzbobknrufgif]yaarbsalkqgscyv\nhgcggfqnkhbjlhhipc"
},
{
"context": "nkzbobknrufgif]yaarbsalkqgscyv\nhgcggfqnkhbjlhhipc[cgcrrzyspqlllhee]czfvtkjhfgnrwwua\nggnsczivqxwhungxmb[foslhzlzqyhcwepvhga]qgqnwrpvfji",
"end": 105676,
"score": 0.5847799778,
"start": 105643,
"tag": "KEY",
"value": "cgcrrzyspqlllhee]czfvtkjhfgnrwwua"
},
{
"context": "gfqnkhbjlhhipc[cgcrrzyspqlllhee]czfvtkjhfgnrwwua\nggnsczivqxwhungxmb[foslhzlzqyhcwepvhga]qgqnwrpvfjilhnttbv[uhuhvuqwbx",
"end": 105695,
"score": 0.5936017632,
"start": 105678,
"tag": "KEY",
"value": "gnsczivqxwhungxmb"
},
{
"context": "rrzyspqlllhee]czfvtkjhfgnrwwua\nggnsczivqxwhungxmb[foslhzlzqyhcwepvhga]qgqnwrpvfjilhnttbv[uhuhvuqwbxsjxqbmqfs]pvwkiufdudmyabq[ffqrrfjgkmegf",
"end": 105734,
"score": 0.5729492903,
"start": 105696,
"tag": "KEY",
"value": "foslhzlzqyhcwepvhga]qgqnwrpvfjilhnttbv"
},
{
"context": "qxwhungxmb[foslhzlzqyhcwepvhga]qgqnwrpvfjilhnttbv[uhuhvuqwbxsjxqbmqfs]pvwkiufdudmyabq[ffqrrfjgkmegfls]pvuflwvnbnllckrmdas\nllelndaczjibs",
"end": 105770,
"score": 0.5850622058,
"start": 105735,
"tag": "KEY",
"value": "uhuhvuqwbxsjxqbmqfs]pvwkiufdudmyabq"
},
{
"context": "rpvfjilhnttbv[uhuhvuqwbxsjxqbmqfs]pvwkiufdudmyabq[ffqrrfjgkmegfls]pvuflwvnbnllckrmdas\nllelndaczjibswzoaen[dzvunuujhpmgqdyond]slkfwoyxpgo",
"end": 105806,
"score": 0.5864585042,
"start": 105771,
"tag": "KEY",
"value": "ffqrrfjgkmegfls]pvuflwvnbnllckrmdas"
},
{
"context": "ufdudmyabq[ffqrrfjgkmegfls]pvuflwvnbnllckrmdas\nllelndaczjibswzoaen[dzvunuujhpmgqdyond]slkfwoyxpgohhelexsl[hvtucjohyv",
"end": 105826,
"score": 0.6018226743,
"start": 105810,
"tag": "KEY",
"value": "lndaczjibswzoaen"
},
{
"context": "kmegfls]pvuflwvnbnllckrmdas\nllelndaczjibswzoaen[dzvunuujhpmgqdyond]slkfwoyxpgohhelexsl[hvtucjohyvbuihbonup]mwatlwbwx",
"end": 105845,
"score": 0.561019361,
"start": 105829,
"tag": "KEY",
"value": "vunuujhpmgqdyond"
},
{
"context": "nllckrmdas\nllelndaczjibswzoaen[dzvunuujhpmgqdyond]slkfwoyxpgohhelexsl[hvtucjohyvbuihbonup]mwatlwbwxntozpiymy\nepjldiafxy",
"end": 105865,
"score": 0.5746680498,
"start": 105846,
"tag": "KEY",
"value": "slkfwoyxpgohhelexsl"
},
{
"context": "jibswzoaen[dzvunuujhpmgqdyond]slkfwoyxpgohhelexsl[hvtucjohyvbuihbonup]mwatlwbwxntozpiymy\nepjldiafxyinaljee[zfgytlqlzoaa",
"end": 105885,
"score": 0.5512193441,
"start": 105866,
"tag": "KEY",
"value": "hvtucjohyvbuihbonup"
},
{
"context": "pmgqdyond]slkfwoyxpgohhelexsl[hvtucjohyvbuihbonup]mwatlwbwxntozpiymy\nepjldiafxyinaljee[zfgytlqlzoaauszrn]gvyukiahumeme",
"end": 105904,
"score": 0.5472108722,
"start": 105886,
"tag": "KEY",
"value": "mwatlwbwxntozpiymy"
},
{
"context": "tlqlzoaauszrn]gvyukiahumemeqnsy\nvldhkwyfpfssriaiwe[yuluhcsjdkyumyhnd]wggzcfalpkmnsudzr[qisyeltbpzmkvqr]kmbnsrdjgspckgmwfj\nqkxpyonwbsteomlyhxz[wdkzqjywdsbiccr]ojkvswlubvbbskvnbdw[ejvtytntukhcuuad]hspfdjitkfetytyb[hlgziyjqrulvyaoco]rfhwusvjmkzkpmjvrm\nlnmjprwzvaboyyobux[lncninvpqfpuaswssjs]vodhkkndlvixtbsdfph[gdufsyhihlynxuluvx]oyczgnpmusuvligf[jqtdbytmuyavcyfaia]mcdloputyodiezffqpd\nawulgpuvbkountidkgx[rzatlqccygoyamniyaw]zmkfnkaiuzjgdsxd[dornnqierejrlxbitfn]qyhlxykziurpdxpz[fjaesxiowwxjvoxzq]oujzxyreqtbosriwkl\nhcycycsytqzpijy[pptcwgiggnlhewdwfa]aqrsokplrsmbzzovz\nszlezpesytqglub[hlmouktdjtcglvvb]wgcrjqyvabgnnirxs[cafdqrjgmugvsjarx]uomjcavfgggsyknjge[syhraisenfpvlekk]voyezwktjlqoirx\nltjosfxwsqmgdrnpyav[revxajvfbpuqqscgxb]pnjpsoikmxwrpbk[frqghuqvbomoddukohb]egfbhndnpnlxjhyv\nydyzmmgkrvbycjgeheq[xmrcsrshrtogjfez]vberqebkqhindvsj\nusczwnycqbxdrcfr[papmzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdx",
"end": 106794,
"score": 0.7728738785,
"start": 105978,
"tag": "KEY",
"value": "yuluhcsjdkyumyhnd]wggzcfalpkmnsudzr[qisyeltbpzmkvqr]kmbnsrdjgspckgmwfj\nqkxpyonwbsteomlyhxz[wdkzqjywdsbiccr]ojkvswlubvbbskvnbdw[ejvtytntukhcuuad]hspfdjitkfetytyb[hlgziyjqrulvyaoco]rfhwusvjmkzkpmjvrm\nlnmjprwzvaboyyobux[lncninvpqfpuaswssjs]vodhkkndlvixtbsdfph[gdufsyhihlynxuluvx]oyczgnpmusuvligf[jqtdbytmuyavcyfaia]mcdloputyodiezffqpd\nawulgpuvbkountidkgx[rzatlqccygoyamniyaw]zmkfnkaiuzjgdsxd[dornnqierejrlxbitfn]qyhlxykziurpdxpz[fjaesxiowwxjvoxzq]oujzxyreqtbosriwkl\nhcycycsytqzpijy[pptcwgiggnlhewdwfa]aqrsokplrsmbzzovz\nszlezpesytqglub[hlmouktdjtcglvvb]wgcrjqyvabgnnirxs[cafdqrjgmugvsjarx]uomjcavfgggsyknjge[syhraisenfpvlekk]voyezwktjlqoirx\nltjosfxwsqmgdrnpyav[revxajvfbpuqqscgxb]pnjpsoikmxwrpbk[frqghuqvbomoddukohb]egfbhndnpnlxjhyv\nydyzmmgkrvbycjgeheq[xmrcsrshrtogjfez]vberqebkqhindvsj\nusczwnycqbxdrcfr[papmzhuxspnfexyr"
},
{
"context": "berqebkqhindvsj\nusczwnycqbxdrcfr[papmzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfis",
"end": 106802,
"score": 0.5595837235,
"start": 106795,
"tag": "KEY",
"value": "pwsybme"
},
{
"context": "ndvsj\nusczwnycqbxdrcfr[papmzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfiswfowh",
"end": 106807,
"score": 0.5582284927,
"start": 106805,
"tag": "KEY",
"value": "gf"
},
{
"context": "sj\nusczwnycqbxdrcfr[papmzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfiswfowhnwcu",
"end": 106811,
"score": 0.5346969962,
"start": 106808,
"tag": "KEY",
"value": "tkc"
},
{
"context": "czwnycqbxdrcfr[papmzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfiswfowhnwcuusmd[dhhjz",
"end": 106821,
"score": 0.5134483576,
"start": 106813,
"tag": "KEY",
"value": "miatnbqk"
},
{
"context": "mzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfiswfowhnwcuusmd[dhhjzfujepawktlh]quzyrwo",
"end": 106840,
"score": 0.5395032167,
"start": 106831,
"tag": "KEY",
"value": "whejsdpzz"
},
{
"context": "pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfiswfowhnwcuusmd[dhhjzfujepawktlh]quzyrwoerrtncn",
"end": 106847,
"score": 0.5653941631,
"start": 106845,
"tag": "KEY",
"value": "wm"
},
{
"context": "xcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm\nvfiswfowhnwcuusmd[dhhjzfujepawktlh]quzyrwoerrtncnnxup[ek",
"end": 106854,
"score": 0.5124725699,
"start": 106852,
"tag": "KEY",
"value": "wf"
},
{
"context": "xkdxgwm\nvfiswfowhnwcuusmd[dhhjzfujepawktlh]quzyrwoerrtncnnxup[ekhrriqhoudhiwiju]exzcmnyrtbnxlchf\nfmobpaevmkephhfuu[pjbpnzxkqpvoafxj]ickqqwfifesukyx[uzfultsftvuzbipz]jgvjewotmlkzqhvvc[fhfgcekzgmgxosyuac]gwbmgqtvkhyqidnehhy\nzbwadipvxkyqwsaassl[wcojcviexybrfhdfc]euliyskdckqzozfnlpn[fsvqspcvigzxlzya]vzabwryzpqlmvns\nwavahkemgrtwnvbocse[hnzvxqcxzisfehcy]mqvssniqlwekgowu[cusnrkcbwuichekh]cfvncmjjykeaufknu\nwvtptjerlrfvtbywes[ciopqzpfjdoclfyxxqy]sleyhkequxorssls[weyxuuiigtkjsmnugij]onxiowvkwaaycpv\ncsanwgypabdqhiinan[gujzhrxowlgejtk]mkczaemurigewvqw[lsqtuuxcsuphogl]acfqrkiewfykgnx\nennvxqkaqdppzmj[litdmoukvydtepvji]hfuqcwyuufmxcxy[bilbdvnquchtcjquymu]yjndoqqpyzrjudd\nvhkrlicuffddtktngy[opctcwvtlypwglpaoi]iscxtzlmlkjdgty[xadnwdasnszzmwwid]uijlqxpfgkkcmwga[ykqorpoxpbjkepibk]dmuojdumobwfmkvqg\nwgcihfnjvadtczgqbj[psdtqjwifivgbhp]ocykhmjfvbppiltqpvv[ermpbuyieexqujuiji]vjioxemsjslsdxso[bmsocpaehaeadsaqzbm]hqlzlnedzwgbxbcacf\nreesvrozyerxeid[ymtiurpepvrvnkf]thobixnwiqrdkih[u",
"end": 107758,
"score": 0.8050081134,
"start": 106890,
"tag": "KEY",
"value": "errtncnnxup[ekhrriqhoudhiwiju]exzcmnyrtbnxlchf\nfmobpaevmkephhfuu[pjbpnzxkqpvoafxj]ickqqwfifesukyx[uzfultsftvuzbipz]jgvjewotmlkzqhvvc[fhfgcekzgmgxosyuac]gwbmgqtvkhyqidnehhy\nzbwadipvxkyqwsaassl[wcojcviexybrfhdfc]euliyskdckqzozfnlpn[fsvqspcvigzxlzya]vzabwryzpqlmvns\nwavahkemgrtwnvbocse[hnzvxqcxzisfehcy]mqvssniqlwekgowu[cusnrkcbwuichekh]cfvncmjjykeaufknu\nwvtptjerlrfvtbywes[ciopqzpfjdoclfyxxqy]sleyhkequxorssls[weyxuuiigtkjsmnugij]onxiowvkwaaycpv\ncsanwgypabdqhiinan[gujzhrxowlgejtk]mkczaemurigewvqw[lsqtuuxcsuphogl]acfqrkiewfykgnx\nennvxqkaqdppzmj[litdmoukvydtepvji]hfuqcwyuufmxcxy[bilbdvnquchtcjquymu]yjndoqqpyzrjudd\nvhkrlicuffddtktngy[opctcwvtlypwglpaoi]iscxtzlmlkjdgty[xadnwdasnszzmwwid]uijlqxpfgkkcmwga[ykqorpoxpbjkepibk]dmuojdumobwfmkvqg\nwgcihfnjvadtczgqbj[psdtqjwifivgbhp]ocykhmjfvbppiltqpvv[ermpbuyieexqujuiji]vjioxemsjslsdxso[bmsocpaehaeadsaqzbm]hqlzlnedzwgbxbcacf"
},
{
"context": "dzwgbxbcacf\nreesvrozyerxeid[ymtiurpepvrvnkf]thobixnwiqrdkih[uipdwllkuudcydjinew]lzpxeltetaixzfjxvf[ewlhchkdie",
"end": 107806,
"score": 0.5971418023,
"start": 107797,
"tag": "KEY",
"value": "nwiqrdkih"
},
{
"context": "f\nreesvrozyerxeid[ymtiurpepvrvnkf]thobixnwiqrdkih[uipdwllkuudcydjinew]lzpxeltetaixzfjxvf[ewlhchkdiewigxy]wfeiqnngnifjzb",
"end": 107826,
"score": 0.5683825612,
"start": 107807,
"tag": "KEY",
"value": "uipdwllkuudcydjinew"
},
{
"context": "tiurpepvrvnkf]thobixnwiqrdkih[uipdwllkuudcydjinew]lzpxeltetaixzfjxvf[ewlhchkdiewigxy]wfeiqnngnifjzbpikb\nrxgukabwlgxzax",
"end": 107845,
"score": 0.5649067163,
"start": 107827,
"tag": "KEY",
"value": "lzpxeltetaixzfjxvf"
},
{
"context": "xnwiqrdkih[uipdwllkuudcydjinew]lzpxeltetaixzfjxvf[ewlhchkdiewigxy]wfeiqnngnifjzbpikb\nrxgukabwlgxzaxjxch[ljrblzdmvcwcxdoomq]ksidvuwcwvwlvrpe[yrnyjokakcbwdxh]nertnqwigrzbtdmj[gxbsdsdmishqjeswt]dsgnhlagonywspbr\njjdfvvurvfljscocvr[ueywpzuumfihiocoe]lmcrxdlkqsouhpimc\nqgelmqtmcfsdu",
"end": 108022,
"score": 0.5805556774,
"start": 107846,
"tag": "KEY",
"value": "ewlhchkdiewigxy]wfeiqnngnifjzbpikb\nrxgukabwlgxzaxjxch[ljrblzdmvcwcxdoomq]ksidvuwcwvwlvrpe[yrnyjokakcbwdxh]nertnqwigrzbtdmj[gxbsdsdmishqjeswt]dsgnhlagonywspbr\njjdfvvurvfljscocvr"
},
{
"context": "dsdmishqjeswt]dsgnhlagonywspbr\njjdfvvurvfljscocvr[ueywpzuumfihiocoe]lmcrxdlkqsouhpimc\nqgelmqtmcfsdugg[jpbrzcblivebxazpamj]jpkxrusyqkjnndao[nqcxhhmkpfgr",
"end": 108074,
"score": 0.5786925554,
"start": 108023,
"tag": "KEY",
"value": "ueywpzuumfihiocoe]lmcrxdlkqsouhpimc\nqgelmqtmcfsdugg"
},
{
"context": "ywpzuumfihiocoe]lmcrxdlkqsouhpimc\nqgelmqtmcfsdugg[jpbrzcblivebxazpamj]jpkxrusyqkjnndao[nqcxhhmkpfgrcwhsoyr]wvigixehqklwvrscmz[xutrclaofz",
"end": 108111,
"score": 0.5811669827,
"start": 108075,
"tag": "KEY",
"value": "jpbrzcblivebxazpamj]jpkxrusyqkjnndao"
},
{
"context": "lmqtmcfsdugg[jpbrzcblivebxazpamj]jpkxrusyqkjnndao[nqcxhhmkpfgrcwhsoyr]wvigixehqklwvrscmz[xutrclaofzczcvfnxll]xsyxrvfnovmohxfbt\naqhrsqbyxtx",
"end": 108150,
"score": 0.5852495432,
"start": 108112,
"tag": "KEY",
"value": "nqcxhhmkpfgrcwhsoyr]wvigixehqklwvrscmz"
},
{
"context": "syqkjnndao[nqcxhhmkpfgrcwhsoyr]wvigixehqklwvrscmz[xutrclaofzczcvfnxll]xsyxrvfnovmohxfbt\naqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzei",
"end": 108188,
"score": 0.5850998759,
"start": 108151,
"tag": "KEY",
"value": "xutrclaofzczcvfnxll]xsyxrvfnovmohxfbt"
},
{
"context": "klwvrscmz[xutrclaofzczcvfnxll]xsyxrvfnovmohxfbt\naqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzeiy\ntrqnrkulbvip",
"end": 108203,
"score": 0.5419237018,
"start": 108191,
"tag": "KEY",
"value": "hrsqbyxtxhsv"
},
{
"context": "ofzczcvfnxll]xsyxrvfnovmohxfbt\naqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzeiy\ntrqnrkulbvipvmj[mgsdn",
"end": 108212,
"score": 0.5128296614,
"start": 108208,
"tag": "KEY",
"value": "fpcl"
},
{
"context": "syxrvfnovmohxfbt\naqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzeiy\ntrqnrkulbvipvmj[mgsdnaqnayymjyp]o",
"end": 108224,
"score": 0.5126869678,
"start": 108222,
"tag": "KEY",
"value": "gp"
},
{
"context": "vfnovmohxfbt\naqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzeiy\ntrqnrkulbvipvmj[mgsdnaqnayymjyp]otecdnz",
"end": 108230,
"score": 0.5207359791,
"start": 108226,
"tag": "KEY",
"value": "rgiz"
},
{
"context": "ohxfbt\naqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzeiy\ntrqnrkulbvipvmj[mgsdnaqnayymjyp]otecdnzhhcu",
"end": 108234,
"score": 0.5050107837,
"start": 108232,
"tag": "KEY",
"value": "ue"
},
{
"context": "pcpcdttjo[qbmnhadshlheoavsbxi]wnwuahdcagpellgs\nayqxaqtrqzbxyhu[wkplzaetynfxqzhtkco]jpgbztbvmojlflc[ojm",
"end": 108524,
"score": 0.5288485289,
"start": 108522,
"tag": "KEY",
"value": "xa"
},
{
"context": "shlheoavsbxi]wnwuahdcagpellgs\nayqxaqtrqzbxyhu[wkplzaetynfxqzhtkco]jpgbztbvmojlflc[ojmgjvfxdvlyzih]levv",
"end": 108541,
"score": 0.5054324865,
"start": 108539,
"tag": "KEY",
"value": "za"
},
{
"context": "aetynfxqzhtkco]jpgbztbvmojlflc[ojmgjvfxdvlyzih]levvkelkzftbzwzkow[fmszxqchzjhxtwfm]vihmoqcosarkzsad\nni",
"end": 108592,
"score": 0.5053738356,
"start": 108590,
"tag": "KEY",
"value": "vk"
},
{
"context": "bzqiqafambcv]ywbltgpjxcwlkyahg\nvmgyovkavazsxwed[anpflkjsqieufhscn]uizulvgasvsstuhfn[ygxgsfldybdnsleqy",
"end": 108716,
"score": 0.5054471493,
"start": 108715,
"tag": "KEY",
"value": "p"
},
{
"context": "qafambcv]ywbltgpjxcwlkyahg\nvmgyovkavazsxwed[anpflkjsqieufhscn]uizulvgasvsstuhfn[ygxgsfldybdnsleqy]tztu",
"end": 108721,
"score": 0.5051146746,
"start": 108719,
"tag": "KEY",
"value": "js"
},
{
"context": "treocsrfevpy[yxqmsidajmknyrae]whoydkufyieuqhmqv\njyhhfbftixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tze",
"end": 108830,
"score": 0.533428967,
"start": 108824,
"tag": "KEY",
"value": "hhfbft"
},
{
"context": "vpy[yxqmsidajmknyrae]whoydkufyieuqhmqv\njyhhfbftixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupga",
"end": 108839,
"score": 0.5204735398,
"start": 108833,
"tag": "KEY",
"value": "ntuozg"
},
{
"context": "ajmknyrae]whoydkufyieuqhmqv\njyhhfbftixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzv",
"end": 108853,
"score": 0.5188094378,
"start": 108844,
"tag": "KEY",
"value": "rzhxpaezb"
},
{
"context": "hoydkufyieuqhmqv\njyhhfbftixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpiecz",
"end": 108859,
"score": 0.5163224936,
"start": 108855,
"tag": "KEY",
"value": "ndbo"
},
{
"context": "yieuqhmqv\njyhhfbftixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpieczbjdsr[zeenwxfhhxb",
"end": 108876,
"score": 0.5433161855,
"start": 108862,
"tag": "KEY",
"value": "wvaoziercfpmeo"
},
{
"context": "tixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpieczbjdsr[zeenwxfhhxbdgjkr]ojqxbcxci",
"end": 108891,
"score": 0.5202138424,
"start": 108879,
"tag": "KEY",
"value": "eluvflupgart"
},
{
"context": "frzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpieczbjdsr[zeenwxfhhxbdgjkr]ojqxbcxciclzwth",
"end": 108897,
"score": 0.5080919862,
"start": 108893,
"tag": "KEY",
"value": "jes]"
},
{
"context": "aezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpieczbjdsr[zeenwxfhhxbdgjkr]ojqxbcxciclzwthvqyv\nolhruodhjmai",
"end": 108914,
"score": 0.5481888056,
"start": 108899,
"tag": "KEY",
"value": "fmzvmpieczbjdsr"
},
{
"context": "oziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpieczbjdsr[zeenwxfhhxbdgjkr]ojqxbcxciclzwthvqyv\nolhruodhjmaicslbgw[upvujuuazyolckot]gcwfjukdneuxqreeg[tnnnlficumlgwk",
"end": 108970,
"score": 0.5623512864,
"start": 108915,
"tag": "KEY",
"value": "zeenwxfhhxbdgjkr]ojqxbcxciclzwthvqyv\nolhruodhjmaicslbgw"
},
{
"context": "fhhxbdgjkr]ojqxbcxciclzwthvqyv\nolhruodhjmaicslbgw[upvujuuazyolckot]gcwfjukdneuxqreeg[tnnnlficumlgwkdsxus]pxrxdntakudobpo\nvdowqzktnmpim",
"end": 109005,
"score": 0.5505646467,
"start": 108971,
"tag": "KEY",
"value": "upvujuuazyolckot]gcwfjukdneuxqreeg"
},
{
"context": "dhjmaicslbgw[upvujuuazyolckot]gcwfjukdneuxqreeg[tnnnlficumlgwkdsxus]pxrxdntakudobpo\nvdowqzktnmpimsvok[gggjvxecgicglrk",
"end": 109025,
"score": 0.5363149643,
"start": 109008,
"tag": "KEY",
"value": "nnlficumlgwkdsxus"
},
{
"context": "uuazyolckot]gcwfjukdneuxqreeg[tnnnlficumlgwkdsxus]pxrxdntakudobpo\nvdowqzktnmpimsvok[gggjvxecgicglrkuvfb]xtsuhbzqpovnoqhnbs\nhxvziijhff",
"end": 109059,
"score": 0.5429535508,
"start": 109026,
"tag": "KEY",
"value": "pxrxdntakudobpo\nvdowqzktnmpimsvok"
},
{
"context": "icumlgwkdsxus]pxrxdntakudobpo\nvdowqzktnmpimsvok[gggjvxecgicglrkuvfb]xtsuhbzqpovnoqhnbs\nhxvziijhffbzjnjv",
"end": 109065,
"score": 0.5399360657,
"start": 109062,
"tag": "KEY",
"value": "gjv"
},
{
"context": "wkdsxus]pxrxdntakudobpo\nvdowqzktnmpimsvok[gggjvxecgicglrkuvfb]xtsuhbzqpovnoqhnbs\nhxvziijhffbzjnjvgoc[sealjvjgnj",
"end": 109079,
"score": 0.533158958,
"start": 109068,
"tag": "KEY",
"value": "gicglrkuvfb"
},
{
"context": "dntakudobpo\nvdowqzktnmpimsvok[gggjvxecgicglrkuvfb]xtsuhbzqpovnoqhnbs\nhxvziijhffbzjnjvgoc[sealjvjgnjnkzac]neuhdwcgtjcvpku\nqryaqhtnjvickffeb",
"end": 109118,
"score": 0.5502423048,
"start": 109080,
"tag": "KEY",
"value": "xtsuhbzqpovnoqhnbs\nhxvziijhffbzjnjvgoc"
},
{
"context": "glrkuvfb]xtsuhbzqpovnoqhnbs\nhxvziijhffbzjnjvgoc[sealjvjgnjnkzac]neuhdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqq",
"end": 109134,
"score": 0.529117465,
"start": 109121,
"tag": "KEY",
"value": "aljvjgnjnkzac"
},
{
"context": "bzqpovnoqhnbs\nhxvziijhffbzjnjvgoc[sealjvjgnjnkzac]neuhdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzq",
"end": 109150,
"score": 0.5472528338,
"start": 109135,
"tag": "KEY",
"value": "neuhdwcgtjcvpku"
},
{
"context": "ziijhffbzjnjvgoc[sealjvjgnjnkzac]neuhdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqs",
"end": 109168,
"score": 0.5270923376,
"start": 109152,
"tag": "KEY",
"value": "ryaqhtnjvickffeb"
},
{
"context": "jgnjnkzac]neuhdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkr",
"end": 109178,
"score": 0.508990407,
"start": 109175,
"tag": "KEY",
"value": "ffk"
},
{
"context": "kzac]neuhdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlb",
"end": 109182,
"score": 0.5045115352,
"start": 109180,
"tag": "KEY",
"value": "wb"
},
{
"context": "]neuhdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxg",
"end": 109186,
"score": 0.5045496225,
"start": 109184,
"tag": "KEY",
"value": "dm"
},
{
"context": "hdwcgtjcvpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxl",
"end": 109195,
"score": 0.5223380327,
"start": 109188,
"tag": "KEY",
"value": "rwihiol"
},
{
"context": "vpku\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvw",
"end": 109198,
"score": 0.5047940016,
"start": 109196,
"tag": "KEY",
"value": "fu"
},
{
"context": "\nqryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvweijpl",
"end": 109203,
"score": 0.512922883,
"start": 109200,
"tag": "KEY",
"value": "qpk"
},
{
"context": "ckffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvweijplm[dldqxbqxe",
"end": 109214,
"score": 0.5361558199,
"start": 109212,
"tag": "KEY",
"value": "ge"
},
{
"context": "fksmwbqqdm]zrwihiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvweijplm[dldqxbqxenksncnwhxo]st",
"end": 109227,
"score": 0.5050486326,
"start": 109226,
"tag": "KEY",
"value": "k"
},
{
"context": "hiolnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvweijplm[dldqxbqxenksncnwhxo]steqcncxfskqcfwfnb",
"end": 109243,
"score": 0.5049635768,
"start": 109241,
"tag": "KEY",
"value": "ul"
},
{
"context": "lnfuqzqpkxn\negbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvweijplm[dldqxbqxenksncnwhxo]steqcncxfskqcfwfnbm\nd",
"end": 109246,
"score": 0.5127080679,
"start": 109244,
"tag": "KEY",
"value": "ld"
},
{
"context": "rpulxldvweijplm[dldqxbqxenksncnwhxo]steqcncxfskqcfwfnbm\ndhusxmzjdacdrqor[tzblogyadgggzbi]vssexeogwduos",
"end": 109291,
"score": 0.5045977831,
"start": 109289,
"tag": "KEY",
"value": "wf"
},
{
"context": "qk\nyizxcouxlbjqbijqmj[kkqvlcusdkmkbmuia]pidiunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydv",
"end": 109836,
"score": 0.5049602389,
"start": 109834,
"tag": "KEY",
"value": "ap"
},
{
"context": "ouxlbjqbijqmj[kkqvlcusdkmkbmuia]pidiunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpq",
"end": 109842,
"score": 0.5350545049,
"start": 109842,
"tag": "KEY",
"value": ""
},
{
"context": "lbjqbijqmj[kkqvlcusdkmkbmuia]pidiunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[e",
"end": 109846,
"score": 0.5127180815,
"start": 109845,
"tag": "KEY",
"value": "z"
},
{
"context": "qbijqmj[kkqvlcusdkmkbmuia]pidiunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxek",
"end": 109859,
"score": 0.5126027465,
"start": 109848,
"tag": "KEY",
"value": "zasgtnjdbdh"
},
{
"context": "usdkmkbmuia]pidiunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpj",
"end": 109868,
"score": 0.5279101729,
"start": 109862,
"tag": "KEY",
"value": "guangj"
},
{
"context": "]pidiunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixv",
"end": 109875,
"score": 0.5043390989,
"start": 109873,
"tag": "KEY",
"value": "qm"
},
{
"context": "iunjwlkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\n",
"end": 109880,
"score": 0.5163322687,
"start": 109877,
"tag": "KEY",
"value": "fpq"
},
{
"context": "lkapojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkma",
"end": 109884,
"score": 0.504320085,
"start": 109882,
"tag": "KEY",
"value": "qy"
},
{
"context": "ojzzmf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkmabki",
"end": 109887,
"score": 0.5045619607,
"start": 109886,
"tag": "KEY",
"value": "b"
},
{
"context": "mf\ndfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkmabkiiltlvop",
"end": 109894,
"score": 0.5081925988,
"start": 109890,
"tag": "KEY",
"value": "qpqt"
},
{
"context": "ngjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkmabkiiltlvopaxec[utofhywhxjucodwke]",
"end": 109917,
"score": 0.5046292543,
"start": 109915,
"tag": "KEY",
"value": "wp"
},
{
"context": "eruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkmabkiiltlvopaxec[utofhywhxjucodwke]dwxa",
"end": 109921,
"score": 0.5124439597,
"start": 109919,
"tag": "KEY",
"value": "gu"
},
{
"context": "]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkmabkiiltlvopaxec[utofhywhxjucodwke]dwxatuzweb",
"end": 109927,
"score": 0.5123867989,
"start": 109925,
"tag": "KEY",
"value": "hl"
},
{
"context": "qpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk\njkmabkiiltlvopaxec[utofhywhxjucodwke]dwxatuzwebnyu",
"end": 109929,
"score": 0.5120754242,
"start": 109929,
"tag": "KEY",
"value": ""
},
{
"context": "nyulyt[iajptbioysozunsws]nmfnmtguoqipjmigsyn\nyxletutyrgisbrm[ljtuifjmgxupgerhuhb]wpqnfedngiollocqbfh\nzs",
"end": 110030,
"score": 0.5045982599,
"start": 110027,
"tag": "KEY",
"value": "uty"
},
{
"context": "\nmxcepmkacvzxddcpnsf[jviddcgbglreegewbj]qmqdhescnuuswkhpvxn\nltsouowwsvovkbie[huwwuaptbopxsixrb]skscogxrektbbmuwqu[niaczcnnxkymnnuu]sfczdkldegoynqw[mrjssleiutncang]jkfgyuzcaisvrjekiwe\nmfqowsxqmywlvauv[fziifhafjuiwdizvm]gmaxzryznwavsaxsv\nokmehkbnqsegqinj[dxddmmglnqftiunfuea]todmrlalqdfqfkbq[vrktligspzyclnfz]jwdvkpuvhpwffrnyxw\nmybozskxkccdsuuptc[mrlkqwbdhhktuxpzjxi]xrujoxxkxwqcthydsw\njupphmpmynzxsfkr[xhvcemrobysjizesgs]ijjlrwbpchbbiblvr\nvpabzrcqfzsejjgln[segfzwfyprsfqskhop]gksthicdjyagobs\ntuhzaznrumhuwud[szqusyzaykegklbcdoo]prwjxzrwyrgcouehrg\ndfvbjgrshvnvfumqxh[tgnhpzveumwngrnoc]qpntyvcxxoofgsk[jibdpycgwklugip]mgkzhcifwyzxsbuwj\nmbdpghflpcondfk[ftzfdsbexmnznqqmfaa]xznzgqjdfkmjzvwni\nojjaanxihagtezp[pxqpdgygyklexhrpc]lapqmhronwsmwbbf[rzuhtemugsniacn]apixdvsnjpsplmjwvn[iwdpiqgoztjamenyyw]zjyidlwjbvevovgf\npijmbdkeyhcjzuwclu[onazufaoibbwzepmbr]jhjaqudvrdoqcvobs[lrwjikvojmgdtkwb]gfxgoeihxughdfbetm[yjhxesdcdudwszwv]hgfdxuejwfuedpdu\nhvdutkvozvxwpvx",
"end": 111387,
"score": 0.6603784561,
"start": 110537,
"tag": "KEY",
"value": "uswkhpvxn\nltsouowwsvovkbie[huwwuaptbopxsixrb]skscogxrektbbmuwqu[niaczcnnxkymnnuu]sfczdkldegoynqw[mrjssleiutncang]jkfgyuzcaisvrjekiwe\nmfqowsxqmywlvauv[fziifhafjuiwdizvm]gmaxzryznwavsaxsv\nokmehkbnqsegqinj[dxddmmglnqftiunfuea]todmrlalqdfqfkbq[vrktligspzyclnfz]jwdvkpuvhpwffrnyxw\nmybozskxkccdsuuptc[mrlkqwbdhhktuxpzjxi]xrujoxxkxwqcthydsw\njupphmpmynzxsfkr[xhvcemrobysjizesgs]ijjlrwbpchbbiblvr\nvpabzrcqfzsejjgln[segfzwfyprsfqskhop]gksthicdjyagobs\ntuhzaznrumhuwud[szqusyzaykegklbcdoo]prwjxzrwyrgcouehrg\ndfvbjgrshvnvfumqxh[tgnhpzveumwngrnoc]qpntyvcxxoofgsk[jibdpycgwklugip]mgkzhcifwyzxsbuwj\nmbdpghflpcondfk[ftzfdsbexmnznqqmfaa]xznzgqjdfkmjzvwni\nojjaanxihagtezp[pxqpdgygyklexhrpc]lapqmhronwsmwbbf[rzuhtemugsniacn]apixdvsnjpsplmjwvn[iwdpiqgoztjamenyyw]zjyidlwjbvevovgf\npijmbdkeyhcjzuwclu[onazufaoibbwzepmbr]jhjaqudvrdoqcvobs[lrwjikvojmgdtkwb]gfxgoeihxughdfbetm"
},
{
"context": "qudvrdoqcvobs[lrwjikvojmgdtkwb]gfxgoeihxughdfbetm[yjhxesdcdudwszwv]hgfdxuejwfuedpdu\nhvdutkvozvxwpvx[beubpipzuwaclrev",
"end": 111404,
"score": 0.5379199386,
"start": 111388,
"tag": "KEY",
"value": "yjhxesdcdudwszwv"
},
{
"context": "jikvojmgdtkwb]gfxgoeihxughdfbetm[yjhxesdcdudwszwv]hgfdxuejwfuedpdu\nhvdutkvozvxwpvx[beubpipzuwaclrev]lqeylkxqdqmcdqd[",
"end": 111421,
"score": 0.5295256376,
"start": 111405,
"tag": "KEY",
"value": "hgfdxuejwfuedpdu"
},
{
"context": "jccnbtkwpbxqpg]hgsswdjiudnvmvijt\njzbqaqfubdsfinobsdu[rojkizavtvueepedxw]lcsyjeoyieqjcim[nszibgczunpslecxo]louacmgeotayemh[zvpjwwpeyjjdhjc]jidkptxmhccryujojap\nrrofkfoljuossrced[ymvijcmdvrzhcyh]zegkwrmeneexpcnrh\neniwjwjnmgyzescoz[semlscmtbagknxpbvte]ysqfgrshborwtgnwtr[bossxfqcyadppdflbr]pyiuttfsuegwjwcxzr[yaymomeitxwdfvsr]elhifdegwfstqyniqta\nxauanaojjnhdgcpuwwj[ccitjseyrwjqvaljv]ebbwxnquaqlhgqjsgwc[jybietxintbtpzncpw]wfkwxwffzxwqucjhyvs\nipmxdranyxbmwlo[ueimjvadwbdjithwn]ifmvlcsneopyffsums[ejornegszbqxtosc]iucimozjnkqkeysden[vvtdfnvjnzqbxujml]klrpisgrmdbrqbupc\nevolkocwyejqtcazj[dzleqjleocyexjivik]zmvqrxiqhsjtoezm[sskndhlmxrucdyqvop]murrraduofedtltbtg[kuzqpodvwnewwqdil]otvalnjnbexltsbitwi\nppqnetrairzkzlt[hyydyimhgzayzgnxqn]lwubwuvowsyovjjfgp[xbzmifaqcmpyuev]wtgcnccsysrfvbtb\njpecpgdrvunkjfrp[eevsiosfybfgdgalp]veprfliqlxmoctjx[bcfelthvqqxthqwpuoz]beufleuquitnnsti[aslupsydyktxgqsolq]gctlsoauflrjprdn\nyekfawwakhkqvpqf[cvenkdpepuyimstwmnz]fphlenyhtsxx",
"end": 114157,
"score": 0.8004871607,
"start": 113302,
"tag": "KEY",
"value": "du[rojkizavtvueepedxw]lcsyjeoyieqjcim[nszibgczunpslecxo]louacmgeotayemh[zvpjwwpeyjjdhjc]jidkptxmhccryujojap\nrrofkfoljuossrced[ymvijcmdvrzhcyh]zegkwrmeneexpcnrh\neniwjwjnmgyzescoz[semlscmtbagknxpbvte]ysqfgrshborwtgnwtr[bossxfqcyadppdflbr]pyiuttfsuegwjwcxzr[yaymomeitxwdfvsr]elhifdegwfstqyniqta\nxauanaojjnhdgcpuwwj[ccitjseyrwjqvaljv]ebbwxnquaqlhgqjsgwc[jybietxintbtpzncpw]wfkwxwffzxwqucjhyvs\nipmxdranyxbmwlo[ueimjvadwbdjithwn]ifmvlcsneopyffsums[ejornegszbqxtosc]iucimozjnkqkeysden[vvtdfnvjnzqbxujml]klrpisgrmdbrqbupc\nevolkocwyejqtcazj[dzleqjleocyexjivik]zmvqrxiqhsjtoezm[sskndhlmxrucdyqvop]murrraduofedtltbtg[kuzqpodvwnewwqdil]otvalnjnbexltsbitwi\nppqnetrairzkzlt[hyydyimhgzayzgnxqn]lwubwuvowsyovjjfgp[xbzmifaqcmpyuev]wtgcnccsysrfvbtb\njpecpgdrvunkjfrp[eevsiosfybfgdgalp]veprfliqlxmoctjx[bcfelthvqqxthqwpuoz]beufleuquitnnsti[aslupsydyktxgqsolq]gctlsoauflrjprdn"
},
{
"context": "leuquitnnsti[aslupsydyktxgqsolq]gctlsoauflrjprdn\nyekfawwakhkqvpqf[cvenkdpepuyimstwmnz]fphlenyhtsxxeyst[yohciybb",
"end": 114170,
"score": 0.5452452302,
"start": 114159,
"tag": "KEY",
"value": "ekfawwakhkq"
},
{
"context": "aslupsydyktxgqsolq]gctlsoauflrjprdn\nyekfawwakhkqvpqf[cvenkdpepuyimstwmnz]fphlenyhtsxxeyst[yohciybbsiok",
"end": 114174,
"score": 0.5128486753,
"start": 114172,
"tag": "KEY",
"value": "qf"
},
{
"context": "mcmpsiyizqx]pzjcivraubvgbkdahk[yydvhvyumdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqr",
"end": 115145,
"score": 0.5223712921,
"start": 115137,
"tag": "KEY",
"value": "fljbkwod"
},
{
"context": "x]pzjcivraubvgbkdahk[yydvhvyumdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyz",
"end": 115151,
"score": 0.5163812637,
"start": 115147,
"tag": "KEY",
"value": "jenu"
},
{
"context": "raubvgbkdahk[yydvhvyumdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyzrqhbhr[vd",
"end": 115160,
"score": 0.5100676417,
"start": 115155,
"tag": "KEY",
"value": "agxhn"
},
{
"context": "kdahk[yydvhvyumdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyzrqhbhr[vdcbkam",
"end": 115165,
"score": 0.5086044669,
"start": 115162,
"tag": "KEY",
"value": "kwc"
},
{
"context": "[yydvhvyumdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyzrqhbhr[vdcbkamwyjnxp",
"end": 115171,
"score": 0.5277842283,
"start": 115167,
"tag": "KEY",
"value": "pcuc"
},
{
"context": "umdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyzrqhbhr[vdcbkamwyjnxpgjpm]afxbzzxzrtaa",
"end": 115187,
"score": 0.5289741158,
"start": 115175,
"tag": "KEY",
"value": "ysdrigussqum"
},
{
"context": "bkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyzrqhbhr[vdcbkamwyjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreq",
"end": 115207,
"score": 0.537568152,
"start": 115190,
"tag": "KEY",
"value": "cxkqrspacyzrqhbhr"
},
{
"context": "vgkwcivpcuc]sanysdrigussqum\nlpcxkqrspacyzrqhbhr[vdcbkamwyjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlct",
"end": 115225,
"score": 0.5279563069,
"start": 115210,
"tag": "KEY",
"value": "cbkamwyjnxpgjpm"
},
{
"context": "rigussqum\nlpcxkqrspacyzrqhbhr[vdcbkamwyjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicp",
"end": 115241,
"score": 0.5334377885,
"start": 115228,
"tag": "KEY",
"value": "xbzzxzrtaacby"
},
{
"context": "pacyzrqhbhr[vdcbkamwyjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyj",
"end": 115257,
"score": 0.5240345001,
"start": 115246,
"tag": "KEY",
"value": "bpiplrdrreq"
},
{
"context": "cbkamwyjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxt",
"end": 115262,
"score": 0.5195444822,
"start": 115260,
"tag": "KEY",
"value": "hw"
},
{
"context": "yjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxtegqbait\nduchvjo",
"end": 115277,
"score": 0.5343478322,
"start": 115266,
"tag": "KEY",
"value": "lvfojrlctjk"
},
{
"context": "xzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxtegqbait\nduchvjohwoouxgmmxds[",
"end": 115290,
"score": 0.5139348507,
"start": 115282,
"tag": "KEY",
"value": "ibzklhic"
},
{
"context": "q[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxtegqbait\nduchvjohwoouxgmmxds[qscgkenyg",
"end": 115299,
"score": 0.5163012743,
"start": 115292,
"tag": "KEY",
"value": "jvzrnza"
},
{
"context": "lrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxtegqbait\nduchvjohwoouxgmmxds[qscgkenygik",
"end": 115301,
"score": 0.5200169086,
"start": 115300,
"tag": "KEY",
"value": "b"
},
{
"context": "reqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxtegqbait\nduchvjohwoouxgmmxds[qscgkenygikbdrsqc]iovrgoggtgiebylbu[iqqrytrhujzcy",
"end": 115339,
"score": 0.5628722906,
"start": 115304,
"tag": "KEY",
"value": "kyjigxxtegqbait\nduchvjohwoouxgmmxds"
},
{
"context": "pqjvzrnza]bmekkyjigxxtegqbait\nduchvjohwoouxgmmxds[qscgkenygikbdrsqc]iovrgoggtgiebylbu[iqqrytrhujzcywwq]ybgfnnhqwfpfios[dryqypecmskrqux]",
"end": 115375,
"score": 0.5790174603,
"start": 115340,
"tag": "KEY",
"value": "qscgkenygikbdrsqc]iovrgoggtgiebylbu"
},
{
"context": "ohwoouxgmmxds[qscgkenygikbdrsqc]iovrgoggtgiebylbu[iqqrytrhujzcywwq]ybgfnnhqwfpfios[dryqypecmskrqux]klqhpvydovzggsqo\ngwgojmuthbgcalzv",
"end": 115408,
"score": 0.5764220357,
"start": 115376,
"tag": "KEY",
"value": "iqqrytrhujzcywwq]ybgfnnhqwfpfios"
},
{
"context": "ovrgoggtgiebylbu[iqqrytrhujzcywwq]ybgfnnhqwfpfios[dryqypecmskrqux]klqhpvydovzggsqo\ngwgojmuthbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdq",
"end": 115441,
"score": 0.5552334785,
"start": 115409,
"tag": "KEY",
"value": "dryqypecmskrqux]klqhpvydovzggsqo"
},
{
"context": "bgfnnhqwfpfios[dryqypecmskrqux]klqhpvydovzggsqo\ngwgojmuthbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea\nyokzqvwcycv",
"end": 115461,
"score": 0.5481691957,
"start": 115444,
"tag": "KEY",
"value": "gojmuthbgcalzvdxh"
},
{
"context": "qypecmskrqux]klqhpvydovzggsqo\ngwgojmuthbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea\nyokzqvwcycvjgouoyw[st",
"end": 115471,
"score": 0.5200294256,
"start": 115462,
"tag": "KEY",
"value": "njicnwbqd"
},
{
"context": "vydovzggsqo\ngwgojmuthbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea\nyokzqvwcycvjgouoyw[starlvyjnijea",
"end": 115482,
"score": 0.535509944,
"start": 115480,
"tag": "KEY",
"value": "rw"
},
{
"context": "ovzggsqo\ngwgojmuthbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea\nyokzqvwcycvjgouoyw[starlvyjnijeacjseo]iehvle",
"end": 115494,
"score": 0.5187183022,
"start": 115483,
"tag": "KEY",
"value": "ptcssdkdqth"
},
{
"context": "thbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea\nyokzqvwcycvjgouoyw[starlvyjnijeacjseo]iehvlergdbsw",
"end": 115499,
"score": 0.5277758241,
"start": 115499,
"tag": "KEY",
"value": ""
},
{
"context": "lzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea\nyokzqvwcycvjgouoyw[starlvyjnijeacjseo]iehvlergdbswibmzci[",
"end": 115507,
"score": 0.5047411919,
"start": 115505,
"tag": "KEY",
"value": "vw"
},
{
"context": "ygzkwqdebiqsr]icaeuutjodsizqzfvj[qapmsqsaoniuinsz]ppgtfxsblzgtqtaiiey[xlkzyyvcgyhlmvnzrpr]htorgwwkbhas",
"end": 116057,
"score": 0.5047164559,
"start": 116055,
"tag": "KEY",
"value": "pp"
},
{
"context": "wqdebiqsr]icaeuutjodsizqzfvj[qapmsqsaoniuinsz]ppgtfxsblzgtqtaiiey[xlkzyyvcgyhlmvnzrpr]htorgwwkbhasrsbvemq",
"end": 116064,
"score": 0.5122504234,
"start": 116059,
"tag": "KEY",
"value": "fxsbl"
},
{
"context": "caeuutjodsizqzfvj[qapmsqsaoniuinsz]ppgtfxsblzgtqtaiiey[xlkzyyvcgyhlmvnzrpr]htorgwwkbhasrsbvemq\ncoiurrj",
"end": 116072,
"score": 0.5045533776,
"start": 116070,
"tag": "KEY",
"value": "ii"
},
{
"context": "insz]ppgtfxsblzgtqtaiiey[xlkzyyvcgyhlmvnzrpr]htorgwwkbhasrsbvemq\ncoiurrjhxxkcplh[nkusmllwtsuddqasyc]vy",
"end": 116102,
"score": 0.512414813,
"start": 116100,
"tag": "KEY",
"value": "ww"
},
{
"context": "]ppgtfxsblzgtqtaiiey[xlkzyyvcgyhlmvnzrpr]htorgwwkbhasrsbvemq\ncoiurrjhxxkcplh[nkusmllwtsuddqasyc]vyxzujq",
"end": 116107,
"score": 0.5044274926,
"start": 116104,
"tag": "KEY",
"value": "has"
},
{
"context": "pcimw[rgawfayyoopbosvc]owgryasogyewgxchxgr\nsmseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmv",
"end": 116232,
"score": 0.5048937201,
"start": 116230,
"tag": "KEY",
"value": "ur"
},
{
"context": "osvc]owgryasogyewgxchxgr\nsmseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pf",
"end": 116250,
"score": 0.5123082995,
"start": 116248,
"tag": "KEY",
"value": "ay"
},
{
"context": "owgryasogyewgxchxgr\nsmseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizab",
"end": 116258,
"score": 0.5070115924,
"start": 116253,
"tag": "KEY",
"value": "kwdvc"
},
{
"context": "ogyewgxchxgr\nsmseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnq",
"end": 116262,
"score": 0.5039864182,
"start": 116260,
"tag": "KEY",
"value": "hp"
},
{
"context": "gxchxgr\nsmseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azd",
"end": 116270,
"score": 0.5273131132,
"start": 116265,
"tag": "KEY",
"value": "ayaat"
},
{
"context": "smseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkf",
"end": 116276,
"score": 0.5123693943,
"start": 116273,
"tag": "KEY",
"value": "rll"
},
{
"context": "surmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbx",
"end": 116279,
"score": 0.519030571,
"start": 116279,
"tag": "KEY",
"value": ""
},
{
"context": "mfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmd",
"end": 116297,
"score": 0.5393866897,
"start": 116282,
"tag": "KEY",
"value": "gbtjdigbhhywarz"
},
{
"context": "ayrwykwdvcjjhp]byayaatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojp",
"end": 116316,
"score": 0.5318949223,
"start": 116298,
"tag": "KEY",
"value": "pfrhqtizabthnqrvvw"
},
{
"context": "aatpurrllyzd\nmvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncq",
"end": 116332,
"score": 0.5296900272,
"start": 116317,
"tag": "KEY",
"value": "azdztfkkfizbxsy"
},
{
"context": "btjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]",
"end": 116338,
"score": 0.5273835659,
"start": 116333,
"tag": "KEY",
"value": "jozzj"
},
{
"context": "hhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjga",
"end": 116347,
"score": 0.5192660093,
"start": 116340,
"tag": "KEY",
"value": "kscklmd"
},
{
"context": "frhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaz",
"end": 116367,
"score": 0.5355157852,
"start": 116349,
"tag": "KEY",
"value": "ucnptpblgcgmkeojpl"
},
{
"context": "zdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaztne",
"end": 116370,
"score": 0.5034717321,
"start": 116368,
"tag": "KEY",
"value": "nq"
},
{
"context": "fkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottq",
"end": 116387,
"score": 0.5192365646,
"start": 116372,
"tag": "KEY",
"value": "bfqdphdncqgigis"
},
{
"context": "zkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrnc",
"end": 116402,
"score": 0.5284232497,
"start": 116389,
"tag": "KEY",
"value": "ecpixjgagdgkb"
},
{
"context": "tpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncpt",
"end": 116403,
"score": 0.5503990054,
"start": 116403,
"tag": "KEY",
"value": ""
},
{
"context": "lgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcf",
"end": 116420,
"score": 0.5409671664,
"start": 116406,
"tag": "KEY",
"value": "uzikehgrfaztne"
},
{
"context": "ybfqdphdncqgigis]yecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuai",
"end": 116432,
"score": 0.5286465287,
"start": 116421,
"tag": "KEY",
"value": "oaxgeczbaaf"
},
{
"context": "s]yecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvy",
"end": 116438,
"score": 0.5267654657,
"start": 116436,
"tag": "KEY",
"value": "qg"
},
{
"context": "ecpixjgagdgkbz\nzyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvm",
"end": 116455,
"score": 0.5462473631,
"start": 116439,
"tag": "KEY",
"value": "kuuggppqtgrncptm"
},
{
"context": "zikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq",
"end": 116461,
"score": 0.5194675326,
"start": 116457,
"tag": "KEY",
"value": "cfny"
},
{
"context": "rfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbq",
"end": 116474,
"score": 0.5206583738,
"start": 116463,
"tag": "KEY",
"value": "qcijfcfdljh"
},
{
"context": "eczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkr",
"end": 116489,
"score": 0.528450191,
"start": 116475,
"tag": "KEY",
"value": "pwntuaixpqfvyo"
},
{
"context": "ppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkruoevsjr[q",
"end": 116498,
"score": 0.511949718,
"start": 116494,
"tag": "KEY",
"value": "owgv"
},
{
"context": "ncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkruoevsjr[qnvq",
"end": 116501,
"score": 0.5122498274,
"start": 116500,
"tag": "KEY",
"value": "r"
},
{
"context": "cfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkruoevsjr[qnvqsxlasjy",
"end": 116508,
"score": 0.5121802688,
"start": 116507,
"tag": "KEY",
"value": "p"
},
{
"context": "yqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkruoevsjr[qnvqsxlasjyrdy",
"end": 116511,
"score": 0.5040081143,
"start": 116510,
"tag": "KEY",
"value": "q"
},
{
"context": "cijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkruoevsjr[qnvqsxlasjyrdyyz]kl",
"end": 116516,
"score": 0.5122352242,
"start": 116514,
"tag": "KEY",
"value": "op"
},
{
"context": "fdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti\nostutlkruoevsjr[qnvqsxlasjyrdyyz]klwvhuhmv",
"end": 116523,
"score": 0.504224062,
"start": 116519,
"tag": "KEY",
"value": "igjb"
},
{
"context": "tqhhbi]urolmsuobvbecvcnv[toagfgryhwfgfwxmvs]btjwiwdrxnpzxlxdsdi\ngnjmrczrqiryaodop[etlqbnstgjysesf]ggmbohbzrtfbapbjg\nwwkqbdcmlkfwxwdu[firsfuftyxwxpcicu]cntzxuydyjkgkkfvdl\ncvcsgxflnidiwtvy[hhzzbmygwugzsfnus]evzlovhsgqumejki[btikqitubnwzkhfyhh]xwxvlgyojlmkwljv\nbzuxzgeuobcctajvva[lpqpidtuzmrrnnlgkqu]lhyxsevugkrdimm[umbmngadfcujqpqr]nizwephuepdykbgj[hfheiymxxfgyxyl]zlurubnhkwxdrwllatg\ngkwahvrljkerohucrty[lgxqhorgrscmkjqcziq]otxkbzuzncbznvr\nhpoehzfotnjpnhl[yrkyqbolznetbgxmy]fblwkhzfebmzavscyyl[lxvxgdkjvtoxjpu]oetusxkoxlpceierbt[faylwjcdxicxbqr]ledknznfnaiaovejww\nxifdyajgrrrhakdqhg[qtzmwfjraqbrwstiibr]juciognmzyafmai[lgbmgoxqtjngqpqkwt]zzkhrunuborvoajlvul\nekecthrkwdbjhsy[klxbdnucasemwhlpjj]jbvenwrnvynlfyjybm[zgfxxurrduhtlmsbelf]lxuxlahnrqvjssffj[wzcpjiesgsbwbtnlrs]sofzsskbviyfvlo\njscqvqqdwvkvrqcb[vzfqbgopfnjcekjs]dmspregwlklxptp[lsxjobfksvzwshdre]yqfwrvjrykinzeon\nrbtqjtepvufhwpjugj[vkdhjmfkeocnauedxp]vpoqmfpnmjdpcxw\nihhaztfuasflyghkndl[vseslcbeufhmrpyfqb]mtcgpfjhje",
"end": 117837,
"score": 0.8848062754,
"start": 116965,
"tag": "KEY",
"value": "drxnpzxlxdsdi\ngnjmrczrqiryaodop[etlqbnstgjysesf]ggmbohbzrtfbapbjg\nwwkqbdcmlkfwxwdu[firsfuftyxwxpcicu]cntzxuydyjkgkkfvdl\ncvcsgxflnidiwtvy[hhzzbmygwugzsfnus]evzlovhsgqumejki[btikqitubnwzkhfyhh]xwxvlgyojlmkwljv\nbzuxzgeuobcctajvva[lpqpidtuzmrrnnlgkqu]lhyxsevugkrdimm[umbmngadfcujqpqr]nizwephuepdykbgj[hfheiymxxfgyxyl]zlurubnhkwxdrwllatg\ngkwahvrljkerohucrty[lgxqhorgrscmkjqcziq]otxkbzuzncbznvr\nhpoehzfotnjpnhl[yrkyqbolznetbgxmy]fblwkhzfebmzavscyyl[lxvxgdkjvtoxjpu]oetusxkoxlpceierbt[faylwjcdxicxbqr]ledknznfnaiaovejww\nxifdyajgrrrhakdqhg[qtzmwfjraqbrwstiibr]juciognmzyafmai[lgbmgoxqtjngqpqkwt]zzkhrunuborvoajlvul\nekecthrkwdbjhsy[klxbdnucasemwhlpjj]jbvenwrnvynlfyjybm[zgfxxurrduhtlmsbelf]lxuxlahnrqvjssffj[wzcpjiesgsbwbtnlrs]sofzsskbviyfvlo\njscqvqqdwvkvrqcb[vzfqbgopfnjcekjs]dmspregwlklxptp[lsxjobfksvzwshdre]yqfwrvjrykinzeon\nrbtqjtepvufhwpjugj[vkdhjmfkeocnauedxp]vpoqmfpnmjdpcxw"
},
{
"context": "jtepvufhwpjugj[vkdhjmfkeocnauedxp]vpoqmfpnmjdpcxw\nihhaztfuasflyghkndl[vseslcbeufhmrpyfqb]mtcgpfjhjeowjpqc[cabeopcrmhjhu",
"end": 117857,
"score": 0.6332631707,
"start": 117838,
"tag": "KEY",
"value": "ihhaztfuasflyghkndl"
},
{
"context": "mfkeocnauedxp]vpoqmfpnmjdpcxw\nihhaztfuasflyghkndl[vseslcbeufhmrpyfqb]mtcgpfjhjeowjpqc[cabeopcrmhjhudob]f",
"end": 117862,
"score": 0.6585857868,
"start": 117858,
"tag": "KEY",
"value": "vses"
},
{
"context": "ogpyfcmtfhso\nlcbrfrsccsbhyhurc[mheohludmokwwjx]bezowkrdzwhssgbvydq[kiwqvuebvywyegmdyy]ioskcrvqcagocnnh",
"end": 118783,
"score": 0.5058938265,
"start": 118781,
"tag": "KEY",
"value": "ow"
},
{
"context": "bezowkrdzwhssgbvydq[kiwqvuebvywyegmdyy]ioskcrvqcagocnnh[zgttakbraxpcsqsc]hmmqufyflbmjlcciqvn\nezmqplezxylc",
"end": 118833,
"score": 0.5056442618,
"start": 118828,
"tag": "KEY",
"value": "ocnnh"
},
{
"context": "egmdyy]ioskcrvqcagocnnh[zgttakbraxpcsqsc]hmmqufyflbmjlcciqvn\nezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]y",
"end": 118862,
"score": 0.5055523515,
"start": 118860,
"tag": "KEY",
"value": "bm"
},
{
"context": "yy]ioskcrvqcagocnnh[zgttakbraxpcsqsc]hmmqufyflbmjlcciqvn\nezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]yokri",
"end": 118866,
"score": 0.5212715268,
"start": 118864,
"tag": "KEY",
"value": "cc"
},
{
"context": "kcrvqcagocnnh[zgttakbraxpcsqsc]hmmqufyflbmjlcciqvn\nezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]yokricbfoo",
"end": 118870,
"score": 0.5287027955,
"start": 118870,
"tag": "KEY",
"value": ""
},
{
"context": "\nezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]yokricbfoocmehi[cffrwwrwhmilnyf]uaybztxphgccfuu\nxnjslvbmmapiw",
"end": 118922,
"score": 0.5058519244,
"start": 118920,
"tag": "KEY",
"value": "oc"
},
{
"context": "lckxcqjxn[pdzarngoyfbjgyxqxgt]yokricbfoocmehi[cffrwwrwhmilnyf]uaybztxphgccfuu\nxnjslvbmmapiwwpq[qmuxema",
"end": 118933,
"score": 0.5059837103,
"start": 118931,
"tag": "KEY",
"value": "ww"
},
{
"context": "fbjgyxqxgt]yokricbfoocmehi[cffrwwrwhmilnyf]uaybztxphgccfuu\nxnjslvbmmapiwwpq[qmuxemavopeoiwnebts]xmrajp",
"end": 118952,
"score": 0.5137491226,
"start": 118950,
"tag": "KEY",
"value": "ph"
},
{
"context": "gt]yokricbfoocmehi[cffrwwrwhmilnyf]uaybztxphgccfuu\nxnjslvbmmapiwwpq[qmuxemavopeoiwnebts]xmrajpgpgeojt",
"end": 118958,
"score": 0.5363819003,
"start": 118958,
"tag": "KEY",
"value": ""
},
{
"context": "yokricbfoocmehi[cffrwwrwhmilnyf]uaybztxphgccfuu\nxnjslvbmmapiwwpq[qmuxemavopeoiwnebts]xmrajpgpgeojtabumm[tbjjrgip",
"end": 118973,
"score": 0.5342511535,
"start": 118961,
"tag": "KEY",
"value": "jslvbmmapiww"
},
{
"context": "rwwrwhmilnyf]uaybztxphgccfuu\nxnjslvbmmapiwwpq[qmuxemavopeoiwnebts]xmrajpgpgeojtabumm[tbjjrgipnfzjafi]hcuirvleol",
"end": 118991,
"score": 0.5274982452,
"start": 118980,
"tag": "KEY",
"value": "emavopeoiwn"
},
{
"context": "bztxphgccfuu\nxnjslvbmmapiwwpq[qmuxemavopeoiwnebts]xmrajpgpgeojtabumm[tbjjrgipnfzjafi]hcuirvleolclticur\neltfnqblogwvtjg",
"end": 119014,
"score": 0.5358647704,
"start": 118996,
"tag": "KEY",
"value": "xmrajpgpgeojtabumm"
},
{
"context": "mapiwwpq[qmuxemavopeoiwnebts]xmrajpgpgeojtabumm[tbjjrgipnfzjafi]hcuirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahv",
"end": 119030,
"score": 0.5212720037,
"start": 119017,
"tag": "KEY",
"value": "jjrgipnfzjafi"
},
{
"context": "mavopeoiwnebts]xmrajpgpgeojtabumm[tbjjrgipnfzjafi]hcuirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwab",
"end": 119048,
"score": 0.5485893488,
"start": 119031,
"tag": "KEY",
"value": "hcuirvleolclticur"
},
{
"context": "gpgeojtabumm[tbjjrgipnfzjafi]hcuirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleq",
"end": 119063,
"score": 0.5355951786,
"start": 119052,
"tag": "KEY",
"value": "fnqblogwvtj"
},
{
"context": "tbjjrgipnfzjafi]hcuirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobf",
"end": 119066,
"score": 0.5211371779,
"start": 119065,
"tag": "KEY",
"value": "i"
},
{
"context": "jjrgipnfzjafi]hcuirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]g",
"end": 119074,
"score": 0.5250594616,
"start": 119067,
"tag": "KEY",
"value": "bjfxnnm"
},
{
"context": "afi]hcuirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcb",
"end": 119081,
"score": 0.5175708532,
"start": 119077,
"tag": "KEY",
"value": "ahvp"
},
{
"context": "uirvleolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtu",
"end": 119086,
"score": 0.5367151499,
"start": 119083,
"tag": "KEY",
"value": "vku"
},
{
"context": "eolclticur\neltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdt",
"end": 119101,
"score": 0.5327691436,
"start": 119088,
"tag": "KEY",
"value": "ingohwswwabsb"
},
{
"context": "blogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobc",
"end": 119108,
"score": 0.5289945602,
"start": 119105,
"tag": "KEY",
"value": "xsq"
},
{
"context": "i[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmad",
"end": 119122,
"score": 0.5135181546,
"start": 119115,
"tag": "KEY",
"value": "fpxlaxj"
},
{
"context": "mgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrw",
"end": 119140,
"score": 0.5242531896,
"start": 119123,
"tag": "KEY",
"value": "gfsbsvcbbnwtuktuw"
},
{
"context": "ohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqx",
"end": 119150,
"score": 0.5290254354,
"start": 119141,
"tag": "KEY",
"value": "wrgcswhmd"
},
{
"context": "[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvva",
"end": 119159,
"score": 0.5236026645,
"start": 119153,
"tag": "KEY",
"value": "vxobcu"
},
{
"context": "leqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvvajkc",
"end": 119162,
"score": 0.5518628359,
"start": 119160,
"tag": "KEY",
"value": "wg"
},
{
"context": "bfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohi",
"end": 119176,
"score": 0.5387887359,
"start": 119164,
"tag": "KEY",
"value": "iklaxmadgnjd"
},
{
"context": "cbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmth",
"end": 119193,
"score": 0.5493875742,
"start": 119179,
"tag": "KEY",
"value": "puygixzfwrwzpz"
},
{
"context": "swhmdtssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmthhhi",
"end": 119196,
"score": 0.529001832,
"start": 119195,
"tag": "KEY",
"value": "w"
},
{
"context": "tssvxobcu]wgsniklaxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmthhhijq[fz",
"end": 119201,
"score": 0.5058088899,
"start": 119200,
"tag": "KEY",
"value": "q"
},
{
"context": "laxmadgnjd\nkxpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmthhhijq[fznmygfcqewzomfgbc]qczlousn",
"end": 119226,
"score": 0.5166597366,
"start": 119216,
"tag": "KEY",
"value": "scshpiffoh"
},
{
"context": "xpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmthhhijq[fznmygfcqewzomfgbc]qczlousnoccgyr",
"end": 119231,
"score": 0.516051054,
"start": 119228,
"tag": "KEY",
"value": "sgm"
},
{
"context": "xzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmthhhijq[fznmygfcqewzomfgbc]qczlousnoccgyrgs\nimtfi",
"end": 119240,
"score": 0.5240168571,
"start": 119234,
"tag": "KEY",
"value": "chugxb"
},
{
"context": "sbw[uqxqvvupyvvajkcysh]scshpiffohigsgm\novchugxbmthhhijq[fznmygfcqewzomfgbc]qczlousnoccgyrgs\nimtfinjtt",
"end": 119244,
"score": 0.5060669184,
"start": 119243,
"tag": "KEY",
"value": "h"
},
{
"context": "ltzzajc[iweuafprefmbuekk]rwelzzbkbqjwjrw\nkluxazqhqmcrvldfv[dbxzgwsfmxettwmgj]rgvfmxibxzbajitnud[vtlbs",
"end": 119777,
"score": 0.5048501492,
"start": 119776,
"tag": "KEY",
"value": "m"
},
{
"context": "pdycyraaqooszqa[eyliotjigekmtov]eiopplzmedvdvmwt\nmlozzkwmfcrdlvns[wsdduzxzfvlvldpjvgg]ywqncwocnslofij[sakivxan",
"end": 119900,
"score": 0.5171929598,
"start": 119890,
"tag": "KEY",
"value": "lozzkwmfcr"
},
{
"context": "medvdvmwt\nmlozzkwmfcrdlvns[wsdduzxzfvlvldpjvgg]ywqncwocnslofij[sakivxaniergaouc]nzmhdlkxeiehdpuok[zfwt",
"end": 119931,
"score": 0.5043516159,
"start": 119929,
"tag": "KEY",
"value": "nc"
},
{
"context": "vdvmwt\nmlozzkwmfcrdlvns[wsdduzxzfvlvldpjvgg]ywqncwocnslofij[sakivxaniergaouc]nzmhdlkxeiehdpuok[zfwtadjlizj",
"end": 119938,
"score": 0.5043821931,
"start": 119932,
"tag": "KEY",
"value": "ocnslo"
},
{
"context": "etsxqxi\nuwrxhstckbebnlw[yhflbfhsqhshieo]dvmzzqknrjcnwixhgk[upxuqrlwzvvsgpa]bmnfpjynunfbwunupiv[mbcmrpoxtbzcbijmmu]icdxewwtwcibjotjf\npscqchwjixrhpzprdla[nzfglspgwpsaiph]xtypkrtleiujsfmcso\nllcxlfghzjvyhgill[vtqyiyrwujkovfctkk]arbtetvtixtnyavydg[ozxyyroceqktxhpv]maekylkkwdbgwgug\nbzagcsgcadoffot[demvhzpdjthrniiuvj]nwwrkguuemsdtvspi[sququtlqggtpszucm]pqaqqxpssdgniycn[lkdwrbxkrkiqdxjc]bqngsdxlxxvxdvqww\nwijjgkptnkbnzpqr[zylewxhygsxcrlyi]nanyoaosbxahyvdsett[kojrflwbltrombqxo]lfdpaptujhwfgrrnf[slsmmogpspgpuwnce]sihedfdnqnejevnw\nnutyeltkszkulqpt[cpgdmqleitivdtr]veieyzmfjafragrcht[nzudyhtmpopacz",
"end": 121090,
"score": 0.628058672,
"start": 120599,
"tag": "KEY",
"value": "cnwixhgk[upxuqrlwzvvsgpa]bmnfpjynunfbwunupiv[mbcmrpoxtbzcbijmmu]icdxewwtwcibjotjf\npscqchwjixrhpzprdla[nzfglspgwpsaiph]xtypkrtleiujsfmcso\nllcxlfghzjvyhgill[vtqyiyrwujkovfctkk]arbtetvtixtnyavydg[ozxyyroceqktxhpv]maekylkkwdbgwgug\nbzagcsgcadoffot[demvhzpdjthrniiuvj]nwwrkguuemsdtvspi[sququtlqggtpszucm]pqaqqxpssdgniycn[lkdwrbxkrkiqdxjc]bqngsdxlxxvxdvqww\nwijjgkptnkbnzpqr[zylewxhygsxcrlyi]nanyoaosbxahyvdsett[kojrflwbltrombqxo]lfdpaptujhwfgrrnf[slsmmogpspgpuwnce]sihedfdnqnejevnw\nnutyeltkszkulqpt"
},
{
"context": "smmogpspgpuwnce]sihedfdnqnejevnw\nnutyeltkszkulqpt[cpgdmqleitivdtr]veieyzmfjafragrcht[nzudyhtmpopacznkq]dmywgwmnrieiohcuf[ctbktcgxznhoq",
"end": 121125,
"score": 0.5880596042,
"start": 121091,
"tag": "KEY",
"value": "cpgdmqleitivdtr]veieyzmfjafragrcht"
},
{
"context": "tyeltkszkulqpt[cpgdmqleitivdtr]veieyzmfjafragrcht[nzudyhtmpopacznkq]dmywgwmnrieiohcuf[ctbktcgxznhoqoxczzf]bqzffvqraxpjdcvt\nakgmlcznqnhn",
"end": 121161,
"score": 0.5970861912,
"start": 121126,
"tag": "KEY",
"value": "nzudyhtmpopacznkq]dmywgwmnrieiohcuf"
},
{
"context": "zmfjafragrcht[nzudyhtmpopacznkq]dmywgwmnrieiohcuf[ctbktcgxznhoqoxczzf]bqzffvqraxpjdcvt\nakgmlcznqnhncjknbp[bwdbsrdxqqmaavngjc]cwyygvcrkagmmrciout[nkpzkdmfll",
"end": 121217,
"score": 0.5881123543,
"start": 121162,
"tag": "KEY",
"value": "ctbktcgxznhoqoxczzf]bqzffvqraxpjdcvt\nakgmlcznqnhncjknbp"
},
{
"context": "gxznhoqoxczzf]bqzffvqraxpjdcvt\nakgmlcznqnhncjknbp[bwdbsrdxqqmaavngjc]cwyygvcrkagmmrciout[nkpzkdmflljxczogs]mqkafcpxslquyrudeui[clvbdgnkrjd",
"end": 121256,
"score": 0.5744618177,
"start": 121218,
"tag": "KEY",
"value": "bwdbsrdxqqmaavngjc]cwyygvcrkagmmrciout"
},
{
"context": "qnhncjknbp[bwdbsrdxqqmaavngjc]cwyygvcrkagmmrciout[nkpzkdmflljxczogs]mqkafcpxslquyrudeui[clvbdgnkrjdpptqwq]cyygmkgtftxvsbbbfgc\nfxlpnkdskyn",
"end": 121294,
"score": 0.5743415356,
"start": 121257,
"tag": "KEY",
"value": "nkpzkdmflljxczogs]mqkafcpxslquyrudeui"
},
{
"context": "kagmmrciout[nkpzkdmflljxczogs]mqkafcpxslquyrudeui[clvbdgnkrjdpptqwq]cyygmkgtftxvsbbbfgc\nfxlpnkdskynkosqpp[efnouhxslwitteqrtx]xjxojaxrbampbcknga[ugewjlmzbsp",
"end": 121350,
"score": 0.5863054395,
"start": 121295,
"tag": "KEY",
"value": "clvbdgnkrjdpptqwq]cyygmkgtftxvsbbbfgc\nfxlpnkdskynkosqpp"
},
{
"context": "rjdpptqwq]cyygmkgtftxvsbbbfgc\nfxlpnkdskynkosqpp[efnouhxslwitteqrtx]xjxojaxrbampbcknga[ugewjlmzbspxhtejamk]nrtflumsbb",
"end": 121369,
"score": 0.5591742992,
"start": 121353,
"tag": "KEY",
"value": "nouhxslwitteqrtx"
},
{
"context": "tftxvsbbbfgc\nfxlpnkdskynkosqpp[efnouhxslwitteqrtx]xjxojaxrbampbcknga[ugewjlmzbspxhtejamk]nrtflumsbbtkejw\nvzrzmtwbxwfhy",
"end": 121388,
"score": 0.5699873567,
"start": 121370,
"tag": "KEY",
"value": "xjxojaxrbampbcknga"
},
{
"context": "dskynkosqpp[efnouhxslwitteqrtx]xjxojaxrbampbcknga[ugewjlmzbspxhtejamk]nrtflumsbbtkejw\nvzrzmtwbxwfhyjvcmft[wrdvmieyzckyc",
"end": 121408,
"score": 0.5514472723,
"start": 121389,
"tag": "KEY",
"value": "ugewjlmzbspxhtejamk"
},
{
"context": "lwitteqrtx]xjxojaxrbampbcknga[ugewjlmzbspxhtejamk]nrtflumsbbtkejw\nvzrzmtwbxwfhyjvcmft[wrdvmieyzckycagwma]izyptswwlz",
"end": 121424,
"score": 0.5465487838,
"start": 121409,
"tag": "KEY",
"value": "nrtflumsbbtkejw"
},
{
"context": "ampbcknga[ugewjlmzbspxhtejamk]nrtflumsbbtkejw\nvzrzmtwbxwfhyjvcmft[wrdvmieyzckycagwma]izyptswwlzgivtgyf",
"end": 121431,
"score": 0.5364614725,
"start": 121429,
"tag": "KEY",
"value": "mt"
},
{
"context": "bcknga[ugewjlmzbspxhtejamk]nrtflumsbbtkejw\nvzrzmtwbxwfhyjvcmft[wrdvmieyzckycagwma]izyptswwlzgivtgyfd[jaujt",
"end": 121438,
"score": 0.5541655421,
"start": 121432,
"tag": "KEY",
"value": "bxwfhy"
},
{
"context": "yaolp]itcthqpgksvedadl[stfrippovsfrwglisp]eodicmiszqhwnuymlgn\njznqrbdgjcokdqdlser[xemhfhnwbftgxgjukrf]mhcovplrxcsixrh[xyswalpqqvgsvmqvx]kjeuyxksnmydfkakhq[zcaydzhceioawvrlsm]wzezpqlhvwcgzjzigtn\nvedqtirgwrgutas[eegbxmhgykfrwrwy]pzslegjrbmdmeub\nlespviexybwomljka[dxvrexedlclnaurw]wzevexsobirvepgpmt[rseoofjlimvxwro]cyojbkugwdzjlxsqd\nfsdyxosfmlqfwoqpy[mwypxaxulrbjsfi]ghywyebrmgjsrshgc[lggfwxlpovrwthxtlln]zmtqqhkwabuhvtnabwh\nsmsgvpvsfaxhocsyz[hgbjpapisxsillo]qsgxbvoijxlwhxpt\nfyfpxellnptlqfxvdn[hpopfkwhgcbjoze]sopowsrtqgbpysjfz\nqenbpbnrikfrnwpq[nmkndzwogcgtzhm]zhuslfffixielmjaqpb[dtmldnpqizrcb",
"end": 123834,
"score": 0.6653747559,
"start": 123341,
"tag": "KEY",
"value": "zqhwnuymlgn\njznqrbdgjcokdqdlser[xemhfhnwbftgxgjukrf]mhcovplrxcsixrh[xyswalpqqvgsvmqvx]kjeuyxksnmydfkakhq[zcaydzhceioawvrlsm]wzezpqlhvwcgzjzigtn\nvedqtirgwrgutas[eegbxmhgykfrwrwy]pzslegjrbmdmeub\nlespviexybwomljka[dxvrexedlclnaurw]wzevexsobirvepgpmt[rseoofjlimvxwro]cyojbkugwdzjlxsqd\nfsdyxosfmlqfwoqpy[mwypxaxulrbjsfi]ghywyebrmgjsrshgc[lggfwxlpovrwthxtlln]zmtqqhkwabuhvtnabwh\nsmsgvpvsfaxhocsyz[hgbjpapisxsillo]qsgxbvoijxlwhxpt\nfyfpxellnptlqfxvdn[hpopfkwhgcbjoze]sopowsrtqgbpysjfz\nqenbpbnrikfrnwpq"
},
{
"context": "popfkwhgcbjoze]sopowsrtqgbpysjfz\nqenbpbnrikfrnwpq[nmkndzwogcgtzhm]zhuslfffixielmjaqpb[dtmldnpqizrcbxixto]wpspaoprebgbksq\nvhjgpbgdoeolji",
"end": 123870,
"score": 0.594066143,
"start": 123835,
"tag": "KEY",
"value": "nmkndzwogcgtzhm]zhuslfffixielmjaqpb"
},
{
"context": "bpbnrikfrnwpq[nmkndzwogcgtzhm]zhuslfffixielmjaqpb[dtmldnpqizrcbxixto]wpspaoprebgbksq\nvhjgpbgdoeoljigkqde[aqojnqwgpiredyffb]vmlvnnohhbwzouwi[rldlmezoquqcod",
"end": 123925,
"score": 0.5884867907,
"start": 123871,
"tag": "KEY",
"value": "dtmldnpqizrcbxixto]wpspaoprebgbksq\nvhjgpbgdoeoljigkqde"
},
{
"context": "qizrcbxixto]wpspaoprebgbksq\nvhjgpbgdoeoljigkqde[aqojnqwgpiredyffb]vmlvnnohhbwzouwi[rldlmezoquqcodxghov]bhwnyaxsnyyi",
"end": 123943,
"score": 0.5388689041,
"start": 123928,
"tag": "KEY",
"value": "ojnqwgpiredyffb"
},
{
"context": "aoprebgbksq\nvhjgpbgdoeoljigkqde[aqojnqwgpiredyffb]vmlvnnohhbwzouwi[rldlmezoquqcodxghov]bhwnyaxsnyyihhgv[gjjezirrmfvk",
"end": 123960,
"score": 0.5623134971,
"start": 123944,
"tag": "KEY",
"value": "vmlvnnohhbwzouwi"
},
{
"context": "bgdoeoljigkqde[aqojnqwgpiredyffb]vmlvnnohhbwzouwi[rldlmezoquqcodxghov]bhwnyaxsnyyihhgv[gjjezirrmfvkpvfayb]uaxxuikjcwpps",
"end": 123980,
"score": 0.5437866449,
"start": 123961,
"tag": "KEY",
"value": "rldlmezoquqcodxghov"
},
{
"context": "qwgpiredyffb]vmlvnnohhbwzouwi[rldlmezoquqcodxghov]bhwnyaxsnyyihhgv[gjjezirrmfvkpvfayb]uaxxuikjcwppslge\nfnwyhfrnoxxjp",
"end": 123997,
"score": 0.5530056357,
"start": 123981,
"tag": "KEY",
"value": "bhwnyaxsnyyihhgv"
},
{
"context": "nnohhbwzouwi[rldlmezoquqcodxghov]bhwnyaxsnyyihhgv[gjjezirrmfvkpvfayb]uaxxuikjcwppslge\nfnwyhfrnoxxjpubwe[rflutoqwauqbztk]tmbmyhpncgpkzcqvv[dgksjzbgbuzlozns]psdmkqjzxdwvllstru\nvnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguz",
"end": 124137,
"score": 0.5945954323,
"start": 123998,
"tag": "KEY",
"value": "gjjezirrmfvkpvfayb]uaxxuikjcwppslge\nfnwyhfrnoxxjpubwe[rflutoqwauqbztk]tmbmyhpncgpkzcqvv[dgksjzbgbuzlozns]psdmkqjzxdwvllstru\nvnrsujzctbuqnbu"
},
{
"context": "gbuzlozns]psdmkqjzxdwvllstru\nvnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguztg]xhgvtoqwo",
"end": 124149,
"score": 0.5159877539,
"start": 124143,
"tag": "KEY",
"value": "fmfeuo"
},
{
"context": "psdmkqjzxdwvllstru\nvnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguztg]xhgvtoqwouusyah",
"end": 124155,
"score": 0.5363217592,
"start": 124153,
"tag": "KEY",
"value": "qp"
},
{
"context": "kqjzxdwvllstru\nvnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguztg]xhgvtoqwouusyahedc[",
"end": 124159,
"score": 0.51301229,
"start": 124157,
"tag": "KEY",
"value": "bh"
},
{
"context": "llstru\nvnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguztg]xhgvtoqwouusyahedc[zcchxnll",
"end": 124167,
"score": 0.5288549662,
"start": 124165,
"tag": "KEY",
"value": "xs"
},
{
"context": "tru\nvnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguztg]xhgvtoqwouusyahedc[zcchxnllfer",
"end": 124170,
"score": 0.5288416743,
"start": 124168,
"tag": "KEY",
"value": "op"
},
{
"context": "hgvtoqwouusyahedc[zcchxnllferklyt]avgtwloloznygrb\nrojtxmpwxsledhm[xibuxgovbxiejlegyc]xihwoxmzghhwlsthiou[ywkngtjxrhhozglwo]zfncywcurhmsfxxqjbt\nvxoojfqikhnbnrh[trdtiatykaontxlv]xenfwokorxaeweoz[itbylohijtfjgdtmkvc]butficisomglwjzaa\nwkofaduihyxhiyrvjs[deskgjgenvxxxupntfl]ralmugesymrxreommk\nozsnpcdvkykxguzltcp[caargzwxildtwswp]capkmhbfpfmdegigg[sigilgehfnfxlza]trtpmbccrrkpggioz\npfuhqwjjgyzbbea[yexwnbudioaikfsqlca]vaobiurftgeglgrzl[thjpurqfzaezqxfajme]seuekovcvvtdmlixf[mknpvkntvdftjhhhfgh]dlgqajapwlgdjnwybp\njbtzwsypehgrmzeg[gwskjuqbwedzxfcehr]xpkfcuejevonsinxs[upnrxgjqhohlyeyp]dsyhrudzqsibolxnvw\nskjjsxxumbobzsckqk[sqlnqpubrayffzs]hseibigmtjtcgbav[khvlknemnqiekxy]fkzvtfscvoatsfqrd\ndozlslrkuemgbykifp[bzvnluuiqdffwtf]tignkmwpnqrnmefaqm\nppxwcouehvqfwo",
"end": 124894,
"score": 0.6378363371,
"start": 124241,
"tag": "KEY",
"value": "rojtxmpwxsledhm[xibuxgovbxiejlegyc]xihwoxmzghhwlsthiou[ywkngtjxrhhozglwo]zfncywcurhmsfxxqjbt\nvxoojfqikhnbnrh[trdtiatykaontxlv]xenfwokorxaeweoz[itbylohijtfjgdtmkvc]butficisomglwjzaa\nwkofaduihyxhiyrvjs[deskgjgenvxxxupntfl]ralmugesymrxreommk\nozsnpcdvkykxguzltcp[caargzwxildtwswp]capkmhbfpfmdegigg[sigilgehfnfxlza]trtpmbccrrkpggioz\npfuhqwjjgyzbbea[yexwnbudioaikfsqlca]vaobiurftgeglgrzl[thjpurqfzaezqxfajme]seuekovcvvtdmlixf[mknpvkntvdftjhhhfgh]dlgqajapwlgdjnwybp\njbtzwsypehgrmzeg[gwskjuqbwedzxfcehr]xpkfcuejevonsinxs[upnrxgjqhohlyeyp]dsyhrudzqsibolxnvw\nskjjsxxumbobzsckqk[sqlnqpubrayffzs]hseibigmtjtcgbav[khvlknemnqiekxy]fkzvtfscvoatsfqrd\ndozlslrkuemgbykifp"
},
{
"context": "lknemnqiekxy]fkzvtfscvoatsfqrd\ndozlslrkuemgbykifp[bzvnluuiqdffwtf]tignkmwpnqrnmefaqm\nppxwcouehvqfwoenqo[rzmtyyvedmojatvvq]efcstfsjslpqdzvhb[tvmkwnuxestqxfockv]oqskydohbmayshfcihw[pfyulawxqbaiehqvmwi]wluhmctgrkjxqtlmp\nuvqfjimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi\nmuiuadioyfirjks",
"end": 125077,
"score": 0.6327707171,
"start": 124895,
"tag": "KEY",
"value": "bzvnluuiqdffwtf]tignkmwpnqrnmefaqm\nppxwcouehvqfwoenqo[rzmtyyvedmojatvvq]efcstfsjslpqdzvhb[tvmkwnuxestqxfockv]oqskydohbmayshfcihw[pfyulawxqbaiehqvmwi]wluhmctgrkjxqtlmp\nuvqfjimhzqboivo"
},
{
"context": "lawxqbaiehqvmwi]wluhmctgrkjxqtlmp\nuvqfjimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi\nmuiuadioyfirjks[xviqxaavhdxjkkc",
"end": 125093,
"score": 0.5346617103,
"start": 125078,
"tag": "KEY",
"value": "buuulgcbqgfsbup"
},
{
"context": "wluhmctgrkjxqtlmp\nuvqfjimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi\nmuiuadioyfirjks[xviqxaavhdxjkkccmrx]",
"end": 125098,
"score": 0.5388697386,
"start": 125094,
"tag": "KEY",
"value": "wqnb"
},
{
"context": "grkjxqtlmp\nuvqfjimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi\nmuiuadioyfirjks[xviqxaavhdxjkkccmrx]weauetgytt",
"end": 125108,
"score": 0.5355021358,
"start": 125101,
"tag": "KEY",
"value": "xwslvce"
},
{
"context": "p\nuvqfjimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi\nmuiuadioyfirjks[xviqxaavhdxjkkccmrx]weauetgyttscs",
"end": 125111,
"score": 0.5199019313,
"start": 125110,
"tag": "KEY",
"value": "i"
},
{
"context": "jimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi\nmuiuadioyfirjks[xviqxaavhdxjkkccmrx]weauetgyttscsfwv[rzgae",
"end": 125120,
"score": 0.5245882273,
"start": 125116,
"tag": "KEY",
"value": "adio"
},
{
"context": "muiuadioyfirjks[xviqxaavhdxjkkccmrx]weauetgyttscsfwv[rzgaefcngzklpjqzgeh]jtnbnuuvbnbjhdqn[idjpczmrbomwipkv]vbgcjfvyvnxhdsmycx\nhmdflkjbenjynzdmeqj[ybyntwgyyptizunn]ctijqxbybwarmfzpit\nkhhocslzxicmlxk[xssahaneujvceofaiyh]swrjwipkknbnrrrig\ndvjvkhnqyifqzse[myleyunwsupcnfagq]tmtuvqikqxzdskqcgxp[lblzunblboznidegkla]eaqhztxpgjuijohkdru\nmqcasrzjqmhwbhbuyc[wkfahpqjhtwuiybqae]yzfcavhtmzofqww[goqblpzkmfxynuzm]bysjxjeocperndv[uwpxvnpxqhfnaalchm]lyfynynkovtmfsi\nwnczxavmjnfgogv[oyjxcsvrrgtpkponga]gzhjlzgxxjkoklgm[hsrwppehbugkcap]zayfyoqorpxefqenxc[apojyrhryhfnmksa]uwnuxprqfxnkzkhnbji\niylrycmvbhpowmdvwy[oepptahrmhsoiskeoq]vtqctnyinxvrvlpl\niauhsxbjgxieb",
"end": 125706,
"score": 0.6561416388,
"start": 125162,
"tag": "KEY",
"value": "wv[rzgaefcngzklpjqzgeh]jtnbnuuvbnbjhdqn[idjpczmrbomwipkv]vbgcjfvyvnxhdsmycx\nhmdflkjbenjynzdmeqj[ybyntwgyyptizunn]ctijqxbybwarmfzpit\nkhhocslzxicmlxk[xssahaneujvceofaiyh]swrjwipkknbnrrrig\ndvjvkhnqyifqzse[myleyunwsupcnfagq]tmtuvqikqxzdskqcgxp[lblzunblboznidegkla]eaqhztxpgjuijohkdru\nmqcasrzjqmhwbhbuyc[wkfahpqjhtwuiybqae]yzfcavhtmzofqww[goqblpzkmfxynuzm]bysjxjeocperndv[uwpxvnpxqhfnaalchm]lyfynynkovtmfsi\nwnczxavmjnfgogv[oyjxcsvrrgtpkponga]gzhjlzgxxjkoklgm[hsrwppehbugkcap]zayfyoqorpxefqenxc[apojyrhryhfnmksa]uwnuxprqfxnkzkhnbji\niylrycmvbhpowmdvwy"
},
{
"context": "hryhfnmksa]uwnuxprqfxnkzkhnbji\niylrycmvbhpowmdvwy[oepptahrmhsoiskeoq]vtqctnyinxvrvlpl\niauhsxbjgxiebvfhbw[mnjywcztqiajiqxx]iikcygxzeprjwkoniqj[tqycczkvsvls",
"end": 125761,
"score": 0.5898071527,
"start": 125707,
"tag": "KEY",
"value": "oepptahrmhsoiskeoq]vtqctnyinxvrvlpl\niauhsxbjgxiebvfhbw"
},
{
"context": "ahrmhsoiskeoq]vtqctnyinxvrvlpl\niauhsxbjgxiebvfhbw[mnjywcztqiajiqxx]iikcygxzeprjwkoniqj[tqycczkvsvlsjetec]mwrnosvszjh",
"end": 125778,
"score": 0.5516831875,
"start": 125762,
"tag": "KEY",
"value": "mnjywcztqiajiqxx"
},
{
"context": "ctnyinxvrvlpl\niauhsxbjgxiebvfhbw[mnjywcztqiajiqxx]iikcygxzeprjwkoniqj[tqycczkvsvlsjetec]mwrnosvszjhmuoiyzxw[klgtgkaxohf",
"end": 125798,
"score": 0.5677138567,
"start": 125779,
"tag": "KEY",
"value": "iikcygxzeprjwkoniqj"
},
{
"context": "jgxiebvfhbw[mnjywcztqiajiqxx]iikcygxzeprjwkoniqj[tqycczkvsvlsjetec]mwrnosvszjhmuoiyzxw[klgtgkaxohfaogm]fsxjsgwondgzp",
"end": 125816,
"score": 0.5592930913,
"start": 125800,
"tag": "KEY",
"value": "qycczkvsvlsjetec"
},
{
"context": "cztqiajiqxx]iikcygxzeprjwkoniqj[tqycczkvsvlsjetec]mwrnosvszjhmuoiyzxw[klgtgkaxohfaogm]fsxjsgwondgzpdrbbcl\nbfqtwsviccqwn",
"end": 125836,
"score": 0.5732688308,
"start": 125817,
"tag": "KEY",
"value": "mwrnosvszjhmuoiyzxw"
},
{
"context": "rjwkoniqj[tqycczkvsvlsjetec]mwrnosvszjhmuoiyzxw[klgtgkaxohfaogm]fsxjsgwondgzpdrbbcl\nbfqtwsviccqwndca[juqvrcznrlghmsiz]yttbexwewvvoehurkrv[mkugsxdrbaktcqf]yrqebvyxlcqjwcewg\nytoteijopgxfmio",
"end": 125926,
"score": 0.583155334,
"start": 125839,
"tag": "KEY",
"value": "gtgkaxohfaogm]fsxjsgwondgzpdrbbcl\nbfqtwsviccqwndca[juqvrcznrlghmsiz]yttbexwewvvoehurkrv"
},
{
"context": "wsviccqwndca[juqvrcznrlghmsiz]yttbexwewvvoehurkrv[mkugsxdrbaktcqf]yrqebvyxlcqjwcewg\nytoteijopgxfmiokatn[oppmfhkktlewhlq]erycfxfafsiic",
"end": 125960,
"score": 0.587025404,
"start": 125927,
"tag": "KEY",
"value": "mkugsxdrbaktcqf]yrqebvyxlcqjwcewg"
},
{
"context": "urkrv[mkugsxdrbaktcqf]yrqebvyxlcqjwcewg\nytoteijopgxfmiokatn[oppmfhkktlewhlq]erycfxfafsiicbtx\nxlwbkbenroho",
"end": 125976,
"score": 0.5400875211,
"start": 125971,
"tag": "KEY",
"value": "xfmio"
},
{
"context": "nfopanasosexay[ddmqqktxkrurcry]slvhqigvbwonriydzb[ynanjunpszocqrjqm]fkdtvygiiddygcrg[jgumgpiumyhktlhoeom]dkvwoureblktplcjmi\nskxhzizzzfrfausiz[nakguftuobnmkoz]buzexokukfscgmmfru[jhpsafmtolwlhvkhs]hznyqntiienjmspy\nccxuwxzdxtfwbp",
"end": 128951,
"score": 0.5975074768,
"start": 128825,
"tag": "KEY",
"value": "ynanjunpszocqrjqm]fkdtvygiiddygcrg[jgumgpiumyhktlhoeom]dkvwoureblktplcjmi\nskxhzizzzfrfausiz[nakguftuobnmkoz]buzexokukfscgmmfru"
},
{
"context": "hzizzzfrfausiz[nakguftuobnmkoz]buzexokukfscgmmfru[jhpsafmtolwlhvkhs]hznyqntiienjmspy\nccxuwxzdxtfwbpie[shhongtetcwukjbre]nufocpasneteinfkk\napfhilvripbjswmig[tzmvefmwonqiqdyt]szdbbwkkgaqmjkhpuu\ngmqjznmtepctxpcfnx[eezqztmqxceenmds]avqugeuarwprizij[uumhklvgcrkfozd]goypuraafiwdcvq[zueuogjqbnsqmjfmxbn]ahgjvoxojaumver\npayebfjnonvscnr[nzubpmedfuvkiwqkycu]cvsjgdyfvzippxu[gmiawxppknjjmvm]spdngdktoclylmo\nruhhexcfvomrhibmoux[cjkryzqtfkckieyzuu]vkwptpezjrouirxq[sggqhkgstdzqikfnxk]zxfgbatfizeivfkjbl\nqqizwnfaajabeuskjdu[szujizggsbdhvihk]wxjmzdiqugjylejfu[dfygnnvhbvghhyuzo]yeaepigfgdcxbav[schlmqwlcifeqjhixs]ifaxsbjyirgfmwkaott\nerxreojjauvvlbsxomv[",
"end": 129491,
"score": 0.6265621781,
"start": 128952,
"tag": "KEY",
"value": "jhpsafmtolwlhvkhs]hznyqntiienjmspy\nccxuwxzdxtfwbpie[shhongtetcwukjbre]nufocpasneteinfkk\napfhilvripbjswmig[tzmvefmwonqiqdyt]szdbbwkkgaqmjkhpuu\ngmqjznmtepctxpcfnx[eezqztmqxceenmds]avqugeuarwprizij[uumhklvgcrkfozd]goypuraafiwdcvq[zueuogjqbnsqmjfmxbn]ahgjvoxojaumver\npayebfjnonvscnr[nzubpmedfuvkiwqkycu]cvsjgdyfvzippxu[gmiawxppknjjmvm]spdngdktoclylmo\nruhhexcfvomrhibmoux[cjkryzqtfkckieyzuu]vkwptpezjrouirxq[sggqhkgstdzqikfnxk]zxfgbatfizeivfkjbl\nqqizwnfaajabeuskjdu[szujizggsbdhvihk]wxjmzdiqugjylejfu[dfygnnvhbvghhyuzo]yeaepigfgdcxbav[schlmqwlc"
},
{
"context": "fu[dfygnnvhbvghhyuzo]yeaepigfgdcxbav[schlmqwlcifeqjhixs]ifaxsbjyirgfmwkaott\nerxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyr",
"end": 129520,
"score": 0.5809170604,
"start": 129495,
"tag": "KEY",
"value": "jhixs]ifaxsbjyirgfmwkaott"
},
{
"context": "fgdcxbav[schlmqwlcifeqjhixs]ifaxsbjyirgfmwkaott\nerxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt",
"end": 129540,
"score": 0.5673882961,
"start": 129523,
"tag": "KEY",
"value": "xreojjauvvlbsxomv"
},
{
"context": "feqjhixs]ifaxsbjyirgfmwkaott\nerxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt[milm",
"end": 129545,
"score": 0.5034127831,
"start": 129542,
"tag": "KEY",
"value": "ane"
},
{
"context": "s]ifaxsbjyirgfmwkaott\nerxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt[milmskrelgdj",
"end": 129553,
"score": 0.5189450979,
"start": 129549,
"tag": "KEY",
"value": "vgre"
},
{
"context": "sbjyirgfmwkaott\nerxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt[milmskrelgdjggvt",
"end": 129557,
"score": 0.5340079069,
"start": 129555,
"tag": "KEY",
"value": "mp"
},
{
"context": "yirgfmwkaott\nerxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt[milmskrelgdjggvtmsv]clolytrsgczyppvrhkf\nryvrtxkdy",
"end": 129590,
"score": 0.5697398782,
"start": 129558,
"tag": "KEY",
"value": "itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt"
},
{
"context": "xaneipervgreexmp]itfaxjxrwueyrynk\nlgzbkiqfbgvdnyt[milmskrelgdjggvtmsv]clolytrsgczyppvrhkf\nryvrtxkdydhujxapwjw[ohgtjdaei",
"end": 129610,
"score": 0.5596188307,
"start": 129591,
"tag": "KEY",
"value": "milmskrelgdjggvtmsv"
},
{
"context": "axjxrwueyrynk\nlgzbkiqfbgvdnyt[milmskrelgdjggvtmsv]clolytrsgczyppvrhkf\nryvrtxkdydhujxapwjw[ohgtjdaeifxzuhoqc]yflsxucxibq",
"end": 129630,
"score": 0.5708788633,
"start": 129611,
"tag": "KEY",
"value": "clolytrsgczyppvrhkf"
},
{
"context": "bgvdnyt[milmskrelgdjggvtmsv]clolytrsgczyppvrhkf\nryvrtxkdydhujxapwjw[ohgtjdaeifxzuhoqc]yflsxucxibqkcpft\nsrtf",
"end": 129640,
"score": 0.5516793132,
"start": 129633,
"tag": "KEY",
"value": "vrtxkdy"
},
{
"context": "milmskrelgdjggvtmsv]clolytrsgczyppvrhkf\nryvrtxkdydhujxapwjw[ohgtjdaeifxzuhoqc]yflsxucxibqkcpft\nsrtfcyyruyxzx",
"end": 129649,
"score": 0.5417211056,
"start": 129641,
"tag": "KEY",
"value": "hujxapwj"
},
{
"context": "ockdqdqvfer\nsovuasutixukkuuxn[jlvxhosfgqjcxnlmxql]bekpnvhdbyhmmvdhplp[xohnfpbaeqpbfnfi]eobpufxrrjaajjd[snnfnhoikinfhioa]syhkocukumqrwcgw\nvhgyxqcvafubikvakos[jfivvuhbnehuqbeyu]dwezavodqhdmujzc[naepoqzmbtiraxhskf]bwuozbexnzmpukgu[zyzfttszjkatnovj]sgkrklrsnjzduvvjans\nyplxqjomjxguqxjjix[mvtzncrxfvzjofx]wlhvxxzsdcfptbse\nddqjeqgctjkvwge[cbgnejudebflhpm]ryzxhqqixwsoztz[hxszfpgrjuxxipt]zuvvwbmdvqbqihy[gjfkxykdstapfhu]bzprrjdyjlljxnxb\nxbnilldcerusgpejs[pvldiyrckxtgoesbti]ljqvtntbhxrryxcka[gdqkfyumjhgbzzwlvfi]uekphsrzawxriyei\negwrxuedgpcp",
"end": 131094,
"score": 0.6326570511,
"start": 130660,
"tag": "KEY",
"value": "bekpnvhdbyhmmvdhplp[xohnfpbaeqpbfnfi]eobpufxrrjaajjd[snnfnhoikinfhioa]syhkocukumqrwcgw\nvhgyxqcvafubikvakos[jfivvuhbnehuqbeyu]dwezavodqhdmujzc[naepoqzmbtiraxhskf]bwuozbexnzmpukgu[zyzfttszjkatnovj]sgkrklrsnjzduvvjans\nyplxqjomjxguqxjjix[mvtzncrxfvzjofx]wlhvxxzsdcfptbse\nddqjeqgctjkvwge[cbgnejudebflhpm]ryzxhqqixwsoztz[hxszfpgrjuxxipt]zuvvwbmdvqbqihy[gjfkxykdstapfhu]bzprrjdyjlljxnxb\nxbnilldcerusgpejs[pvldiyrckxtgoesbti]ljqvtntbhxrryxcka"
},
{
"context": "ldcerusgpejs[pvldiyrckxtgoesbti]ljqvtntbhxrryxcka[gdqkfyumjhgbzzwlvfi]uekphsrzawxriyei\negwrxuedgpcppavzt[mbblqsizmrxdwdrio]dzozhiodhtlvmr",
"end": 131131,
"score": 0.5697729588,
"start": 131095,
"tag": "KEY",
"value": "gdqkfyumjhgbzzwlvfi]uekphsrzawxriyei"
},
{
"context": "bhxrryxcka[gdqkfyumjhgbzzwlvfi]uekphsrzawxriyei\negwrxuedgpcppavzt[mbblqsizmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitl",
"end": 131149,
"score": 0.5557627082,
"start": 131134,
"tag": "KEY",
"value": "wrxuedgpcppavzt"
},
{
"context": "mjhgbzzwlvfi]uekphsrzawxriyei\negwrxuedgpcppavzt[mbblqsizmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnie",
"end": 131167,
"score": 0.5254009962,
"start": 131152,
"tag": "KEY",
"value": "blqsizmrxdwdrio"
},
{
"context": "srzawxriyei\negwrxuedgpcppavzt[mbblqsizmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnietkiv\noraksmkemjiapbd",
"end": 131187,
"score": 0.5371186137,
"start": 131170,
"tag": "KEY",
"value": "ozhiodhtlvmrjcygh"
},
{
"context": "ppavzt[mbblqsizmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnietkiv\noraksmkemjiapbdvqxc[vvgxim",
"end": 131198,
"score": 0.5039222836,
"start": 131193,
"tag": "KEY",
"value": "mqhit"
},
{
"context": "mbblqsizmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnietkiv\noraksmkemjiapbdvqxc[vvgximcdecw",
"end": 131203,
"score": 0.5159988403,
"start": 131200,
"tag": "KEY",
"value": "hfw"
},
{
"context": "izmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnietkiv\noraksmkemjiapbdvqxc[vvgximcdecwxmpbjsr]breyc",
"end": 131216,
"score": 0.5306289792,
"start": 131206,
"tag": "KEY",
"value": "vkussgmsni"
},
{
"context": "htlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnietkiv\noraksmkemjiapbdvqxc[vvgximcdecwxmpbjsr]breycrlgdwgnbjy[oqqtlhrvdy",
"end": 131237,
"score": 0.5123893619,
"start": 131226,
"tag": "KEY",
"value": "smkemjiapbd"
},
{
"context": "]kcgnivmpvqoagjmharc[pvkuwynulvvuqkif]mvbbgwnmngtralbe\nnsacyqfpikkoqqxp[jdcdddcdcylpjiled]jstcntnjxszh",
"end": 131435,
"score": 0.5124160647,
"start": 131433,
"tag": "KEY",
"value": "al"
},
{
"context": "idxrjsouxen]bqkyguqcejsvrkn[hzipqxzodrnsozfmta]xvtakmgzpstbsivyt[ieiucrjmzeupsprslje]iquppghgxqhosvjzc\ndwprarljcykiecn[wvdjaraappnffzsih]difkjyzhcyzgzjl\nshsrycjlblbrcpv",
"end": 132539,
"score": 0.5762833357,
"start": 132471,
"tag": "KEY",
"value": "akmgzpstbsivyt[ieiucrjmzeupsprslje]iquppghgxqhosvjzc\ndwprarljcykiecn"
},
{
"context": "crjmzeupsprslje]iquppghgxqhosvjzc\ndwprarljcykiecn[wvdjaraappnffzsih]difkjyzhcyzgzjl\nshsrycjlblbrcpv[drktygzuxbooshwhute]fanflcwacerdev",
"end": 132573,
"score": 0.5387792587,
"start": 132540,
"tag": "KEY",
"value": "wvdjaraappnffzsih]difkjyzhcyzgzjl"
},
{
"context": "prarljcykiecn[wvdjaraappnffzsih]difkjyzhcyzgzjl\nshsrycjlblbrcpv[drktygzuxbooshwhute]fanflcwacerdevozor[feybgvfyoo",
"end": 132589,
"score": 0.5620465875,
"start": 132576,
"tag": "KEY",
"value": "srycjlblbrcpv"
},
{
"context": "djaraappnffzsih]difkjyzhcyzgzjl\nshsrycjlblbrcpv[drktygzuxbooshwhute]fanflcwacerdevozor[feybgvfyookhlsoivd]ixzfmefkgvcdnxqvy\nrgogoobzbggs",
"end": 132628,
"score": 0.5355178118,
"start": 132592,
"tag": "KEY",
"value": "ktygzuxbooshwhute]fanflcwacerdevozor"
},
{
"context": "cjlblbrcpv[drktygzuxbooshwhute]fanflcwacerdevozor[feybgvfyookhlsoivd]ixzfmefkgvcdnxqvy\nrgogoobzbggsbeynx[nlnbqvcwdyzkbaa]prjegdbkocptzducz[tjanhuiieffrdspjf]bhhziiqbzdlkdmj\nyslioeknctqgcwk[szhjocwzxxkbdoykvjj]aowmmepratdcjkgwjhe\nyrfhkqrnxzzyvrocav[rqyqhvtneezcivu]hunxsvslxgfzevsvvw[pyyclulboseqorxoihs]akjsixprdzbyqlbupi\ntcapvmyxklqgewra[pwxrpoxdptxemahbrot]ncwuxwfzukwcatres[ftlzvkapgue",
"end": 132917,
"score": 0.6032726765,
"start": 132629,
"tag": "KEY",
"value": "feybgvfyookhlsoivd]ixzfmefkgvcdnxqvy\nrgogoobzbggsbeynx[nlnbqvcwdyzkbaa]prjegdbkocptzducz[tjanhuiieffrdspjf]bhhziiqbzdlkdmj\nyslioeknctqgcwk[szhjocwzxxkbdoykvjj]aowmmepratdcjkgwjhe\nyrfhkqrnxzzyvrocav[rqyqhvtneezcivu]hunxsvslxgfzevsvvw[pyyclulboseqorxoihs]akjsixprdzbyqlbupi\ntcapvmyxklqgewra"
},
{
"context": "lboseqorxoihs]akjsixprdzbyqlbupi\ntcapvmyxklqgewra[pwxrpoxdptxemahbrot]ncwuxwfzukwcatres[ftlzvkapguezyhnsgl]ermejyvoisweiqvi[wynjqudtjghzt",
"end": 132955,
"score": 0.538003087,
"start": 132918,
"tag": "KEY",
"value": "pwxrpoxdptxemahbrot]ncwuxwfzukwcatres"
},
{
"context": "xklqgewra[pwxrpoxdptxemahbrot]ncwuxwfzukwcatres[ftlzvkapguezyhnsgl]ermejyvoisweiqvi[wynjqudtjghztati]vhpdjconbhhejafgfu\nqkqbjylknnexh",
"end": 132991,
"score": 0.537090838,
"start": 132958,
"tag": "KEY",
"value": "lzvkapguezyhnsgl]ermejyvoisweiqvi"
},
{
"context": "xwfzukwcatres[ftlzvkapguezyhnsgl]ermejyvoisweiqvi[wynjqudtjghztati]vhpdjconbhhejafgfu\nqkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjv",
"end": 133046,
"score": 0.5440013409,
"start": 132992,
"tag": "KEY",
"value": "wynjqudtjghztati]vhpdjconbhhejafgfu\nqkqbjylknnexhcziot"
},
{
"context": "dtjghztati]vhpdjconbhhejafgfu\nqkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[r",
"end": 133053,
"score": 0.5319574475,
"start": 133048,
"tag": "KEY",
"value": "wjbul"
},
{
"context": "ti]vhpdjconbhhejafgfu\nqkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirht",
"end": 133058,
"score": 0.5128135681,
"start": 133056,
"tag": "KEY",
"value": "pd"
},
{
"context": "jconbhhejafgfu\nqkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxs",
"end": 133065,
"score": 0.5281376243,
"start": 133063,
"tag": "KEY",
"value": "lm"
},
{
"context": "hhejafgfu\nqkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxshfmxe",
"end": 133070,
"score": 0.5283620954,
"start": 133068,
"tag": "KEY",
"value": "vm"
},
{
"context": "afgfu\nqkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpac",
"end": 133078,
"score": 0.523134172,
"start": 133072,
"tag": "KEY",
"value": "xnwigt"
},
{
"context": "qbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhx",
"end": 133084,
"score": 0.5279547572,
"start": 133080,
"tag": "KEY",
"value": "skoo"
},
{
"context": "hcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhxkt\nxxcr",
"end": 133092,
"score": 0.5130425096,
"start": 133090,
"tag": "KEY",
"value": "jb"
},
{
"context": "ot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhxkt\nxxcromhx",
"end": 133096,
"score": 0.5130721331,
"start": 133094,
"tag": "KEY",
"value": "jv"
},
{
"context": "bulvorpdzrhddlm]mvvmstxnwigtstskoo\nwncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhxkt\nxxcromhxgxqeo",
"end": 133101,
"score": 0.5200222731,
"start": 133100,
"tag": "KEY",
"value": "b"
},
{
"context": "wncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhxkt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsn",
"end": 133137,
"score": 0.5048215389,
"start": 133135,
"tag": "KEY",
"value": "kt"
},
{
"context": "jbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhxkt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgum",
"end": 133148,
"score": 0.5185896158,
"start": 133140,
"tag": "KEY",
"value": "cromhxgx"
},
{
"context": "riirhteyuokxshfmxed]sdcpacarelkhxkt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwiz",
"end": 133154,
"score": 0.5048750639,
"start": 133152,
"tag": "KEY",
"value": "ih"
},
{
"context": "ed]sdcpacarelkhxkt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkim",
"end": 133172,
"score": 0.508556962,
"start": 133169,
"tag": "KEY",
"value": "bsj"
},
{
"context": "cpacarelkhxkt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[",
"end": 133176,
"score": 0.5127660036,
"start": 133174,
"tag": "KEY",
"value": "ip"
},
{
"context": "arelkhxkt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypn",
"end": 133180,
"score": 0.5047688484,
"start": 133178,
"tag": "KEY",
"value": "es"
},
{
"context": "kt\nxxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztk",
"end": 133186,
"score": 0.5127190948,
"start": 133185,
"tag": "KEY",
"value": "q"
},
{
"context": "xxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxk",
"end": 133189,
"score": 0.5125153065,
"start": 133188,
"tag": "KEY",
"value": "u"
},
{
"context": "mhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbl",
"end": 133207,
"score": 0.506940484,
"start": 133193,
"tag": "KEY",
"value": "ahgumualwizqnf"
},
{
"context": "vsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxer",
"end": 133225,
"score": 0.5301237702,
"start": 133212,
"tag": "KEY",
"value": "gygzbvgkimvab"
},
{
"context": "saslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxerlso[dtty",
"end": 133233,
"score": 0.5124470592,
"start": 133229,
"tag": "KEY",
"value": "nhvo"
},
{
"context": "u[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxerlso[dttyspegod",
"end": 133239,
"score": 0.5050023198,
"start": 133238,
"tag": "KEY",
"value": "k"
},
{
"context": "gumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxerlso[dttyspegodnpefcpg]",
"end": 133247,
"score": 0.5119921565,
"start": 133245,
"tag": "KEY",
"value": "qh"
},
{
"context": "alwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxerlso[dttyspegodnpefcpg]mdhfzxgyoxozm",
"end": 133260,
"score": 0.5309998989,
"start": 133249,
"tag": "KEY",
"value": "xsuvigbloux"
},
{
"context": "gzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxerlso[dttyspegodnpefcpg]mdhfzxgyoxozmgi\njndnuw",
"end": 133269,
"score": 0.512404561,
"start": 133264,
"tag": "KEY",
"value": "rilcc"
},
{
"context": "mvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux\nyenrilcccypxerlso[dttyspegodnpefcpg]mdhfzxgyoxozmgi\njndnuwbhva",
"end": 133273,
"score": 0.5051235557,
"start": 133271,
"tag": "KEY",
"value": "px"
},
{
"context": "eedbtnz]mpkkivmhxwxujcn\nmajifpotxhylyshir[mhcapgzvvwadphfid]rjaoxsvqlqyvqgtxte\nimhzefgngckhvgqcjr[zysfanhwbnqzysui]zgogpzkcgjeigcwpv[jtxumxvjpotihpmb]zuuueogbabahhwa\nijrqngygldyukndxhqw[xlcwaqfuzjigxddxjn]mcuyklxezeidilnl[atvcyujrcexfnknulm]txxgigzthrbbqna\ndvhqjqbgudpghndlvu[drhjjaxeomuoxxnagyp]dbeymfmzzevjydlzk[gklvfdcdfmnfvfslpfn]kssctqoyxognwiem[aojhwzwnegpnydzywor]eyrhiouwbqfpeoto\nxznkczuhsgldtilz[fhdcsnfixqbysff]ppbqiltpbrlhjliz\nzkfgueqzataygeavus[nymgcgakmtuwnkidr]ypuhovawsbnmlmpo\nlnjbdjnhhqeifmi[diompfqeocwmuqi]kdawxfqtkschlgnh[fsmxaerroipesmywqa]vqpxljxwpzudocn[sffzifosvfuytvdzb]fjqfwikuqzhzuthxzq\necyyeabjhjrfbdqy[xpqhxzehjkjhotrdlk]ztrkutdijjkmgzkuci[hwdxdsprkacxjrjjtxw]fbhbrjzwubhgjdwvpjy[vppgvmthaqkgzrzva]xuhyvaytyufxrkgeb\ntbeqtxhfqbbdrvwn[juqpksgrfsbsqdx]znceqzwqsfrhavmetys[khetxkkpwfmkmlvc]hazxybkgkzrmbtqshz[yavtnkwhxppnqwzwj]hgabdrxubvyvgniz\nrwvvgwyfgincgkurooy[wxcmmmkqpmtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrq",
"end": 134231,
"score": 0.7934606075,
"start": 133394,
"tag": "KEY",
"value": "vwadphfid]rjaoxsvqlqyvqgtxte\nimhzefgngckhvgqcjr[zysfanhwbnqzysui]zgogpzkcgjeigcwpv[jtxumxvjpotihpmb]zuuueogbabahhwa\nijrqngygldyukndxhqw[xlcwaqfuzjigxddxjn]mcuyklxezeidilnl[atvcyujrcexfnknulm]txxgigzthrbbqna\ndvhqjqbgudpghndlvu[drhjjaxeomuoxxnagyp]dbeymfmzzevjydlzk[gklvfdcdfmnfvfslpfn]kssctqoyxognwiem[aojhwzwnegpnydzywor]eyrhiouwbqfpeoto\nxznkczuhsgldtilz[fhdcsnfixqbysff]ppbqiltpbrlhjliz\nzkfgueqzataygeavus[nymgcgakmtuwnkidr]ypuhovawsbnmlmpo\nlnjbdjnhhqeifmi[diompfqeocwmuqi]kdawxfqtkschlgnh[fsmxaerroipesmywqa]vqpxljxwpzudocn[sffzifosvfuytvdzb]fjqfwikuqzhzuthxzq\necyyeabjhjrfbdqy[xpqhxzehjkjhotrdlk]ztrkutdijjkmgzkuci[hwdxdsprkacxjrjjtxw]fbhbrjzwubhgjdwvpjy[vppgvmthaqkgzrzva]xuhyvaytyufxrkgeb\ntbeqtxhfqbbdrvwn[juqpksgrfsbsqdx]znceqzwqsfrhavmetys[khetxkkpwfmkmlvc]hazxybkgkzrmbtqshz[yavtnkwhxppnqwzwj]hgabdrxubvyvgniz\nrwvvgwyfgincgkurooy"
},
{
"context": "kwhxppnqwzwj]hgabdrxubvyvgniz\nrwvvgwyfgincgkurooy[wxcmmmkqpmtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhd",
"end": 134250,
"score": 0.5652390122,
"start": 134232,
"tag": "KEY",
"value": "wxcmmmkqpmtghmmltt"
},
{
"context": "ubvyvgniz\nrwvvgwyfgincgkurooy[wxcmmmkqpmtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhddqnfowxw[",
"end": 134259,
"score": 0.5517101288,
"start": 134252,
"tag": "KEY",
"value": "gtqowxi"
},
{
"context": "\nrwvvgwyfgincgkurooy[wxcmmmkqpmtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhddqnfowxw[ptqpbwojwfh",
"end": 134270,
"score": 0.5544230342,
"start": 134261,
"tag": "KEY",
"value": "bepqnkiyu"
},
{
"context": "incgkurooy[wxcmmmkqpmtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhddqnfowxw[ptqpbwojwfhhqyv]ymflkhgfnlagbxd",
"end": 134290,
"score": 0.5427735448,
"start": 134271,
"tag": "KEY",
"value": "iofgybnjrqtngltajvq"
},
{
"context": "mtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhddqnfowxw[ptqpbwojwfhhqyv]ymflkhgfnlagbxddzr\nlybbfxollocxnf",
"end": 134308,
"score": 0.5356348157,
"start": 134291,
"tag": "KEY",
"value": "mxsbhbkhddqnfowxw"
},
{
"context": "bepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhddqnfowxw[ptqpbwojwfhhqyv]ymflkhgfnlagbxddzr\nlybbfxollocxnfxfeba[tvjolzzken",
"end": 134324,
"score": 0.5289832354,
"start": 134311,
"tag": "KEY",
"value": "qpbwojwfhhqyv"
},
{
"context": "njrqtngltajvq]mxsbhbkhddqnfowxw[ptqpbwojwfhhqyv]ymflkhgfnlagbxddzr\nlybbfxollocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpi",
"end": 134343,
"score": 0.5254466534,
"start": 134327,
"tag": "KEY",
"value": "flkhgfnlagbxddzr"
},
{
"context": "bkhddqnfowxw[ptqpbwojwfhhqyv]ymflkhgfnlagbxddzr\nlybbfxollocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuq",
"end": 134363,
"score": 0.532918632,
"start": 134346,
"tag": "KEY",
"value": "bbfxollocxnfxfeba"
},
{
"context": "jwfhhqyv]ymflkhgfnlagbxddzr\nlybbfxollocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfo",
"end": 134383,
"score": 0.5270860195,
"start": 134366,
"tag": "KEY",
"value": "jolzzkenoxfxqrocd"
},
{
"context": "lagbxddzr\nlybbfxollocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouias",
"end": 134387,
"score": 0.5163085461,
"start": 134384,
"tag": "KEY",
"value": "vkg"
},
{
"context": "zr\nlybbfxollocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhk",
"end": 134399,
"score": 0.5144553781,
"start": 134391,
"tag": "KEY",
"value": "qpilvbix"
},
{
"context": "llocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcf",
"end": 134401,
"score": 0.5276791453,
"start": 134401,
"tag": "KEY",
"value": ""
},
{
"context": "ocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkz",
"end": 134407,
"score": 0.5129425526,
"start": 134403,
"tag": "KEY",
"value": "urvq"
},
{
"context": "a[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapc",
"end": 134415,
"score": 0.5205982327,
"start": 134412,
"tag": "KEY",
"value": "qwe"
},
{
"context": "olzzkenoxfxqrocd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqw",
"end": 134419,
"score": 0.5047405362,
"start": 134417,
"tag": "KEY",
"value": "op"
},
{
"context": "cd]vkgswdtqpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqp",
"end": 134433,
"score": 0.5048363805,
"start": 134431,
"tag": "KEY",
"value": "fo"
},
{
"context": "qpilvbixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtoham",
"end": 134443,
"score": 0.5204126835,
"start": 134441,
"tag": "KEY",
"value": "hi"
},
{
"context": "ixss\nyurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtohamza]xmkz",
"end": 134450,
"score": 0.512714386,
"start": 134447,
"tag": "KEY",
"value": "hkb"
},
{
"context": "deiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtohamza]xmkzqeajamyur",
"end": 134458,
"score": 0.5277309418,
"start": 134458,
"tag": "KEY",
"value": ""
},
{
"context": "iuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtohamza]xmkzqeajamyurualky\nbupr",
"end": 134469,
"score": 0.5221104622,
"start": 134460,
"tag": "KEY",
"value": "urapcltqw"
},
{
"context": "ytqhoasfouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtohamza]xmkzqeajamyurualky\nbuprncslromlg",
"end": 134478,
"score": 0.5204823017,
"start": 134474,
"tag": "KEY",
"value": "alpe"
},
{
"context": "fouiasm]fyhiugkvhkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtohamza]xmkzqeajamyurualky\nbuprncslromlgznqper[xjefyfgkuf",
"end": 134495,
"score": 0.5303459764,
"start": 134481,
"tag": "KEY",
"value": "qprvdmmtohamza"
},
{
"context": "hkbcfcshkzb\nrurapcltqwutrslalpe[wsqprvdmmtohamza]xmkzqeajamyurualky\nbuprncslromlgznqper[xjefyfgkufdkspph]wjncmqpgmnjzmjbqc[miovfouyxitayf",
"end": 134534,
"score": 0.5482178926,
"start": 134497,
"tag": "KEY",
"value": "mkzqeajamyurualky\nbuprncslromlgznqper"
},
{
"context": "mtohamza]xmkzqeajamyurualky\nbuprncslromlgznqper[xjefyfgkufdkspph]wjncmqpgmnjzmjbqc[miovfouyxitayfs]gtrmwhvmgcliweg",
"end": 134551,
"score": 0.5470911264,
"start": 134537,
"tag": "KEY",
"value": "efyfgkufdkspph"
},
{
"context": "ajamyurualky\nbuprncslromlgznqper[xjefyfgkufdkspph]wjncmqpgmnjzmjbqc[miovfouyxitayfs]gtrmwhvmgcliwegeg[owvnsvmazybubxf",
"end": 134569,
"score": 0.5462774634,
"start": 134552,
"tag": "KEY",
"value": "wjncmqpgmnjzmjbqc"
},
{
"context": "romlgznqper[xjefyfgkufdkspph]wjncmqpgmnjzmjbqc[miovfouyxitayfs]gtrmwhvmgcliwegeg[owvnsvmazybubxfrp]cdjevcehzrmin",
"end": 134585,
"score": 0.516690731,
"start": 134573,
"tag": "KEY",
"value": "vfouyxitayfs"
},
{
"context": "jefyfgkufdkspph]wjncmqpgmnjzmjbqc[miovfouyxitayfs]gtrmwhvmgcliwegeg[owvnsvmazybubxfrp]cdjevcehzrminnc\nuxhqucibxiemlbt",
"end": 134603,
"score": 0.5323867798,
"start": 134586,
"tag": "KEY",
"value": "gtrmwhvmgcliwegeg"
},
{
"context": "mnjzmjbqc[miovfouyxitayfs]gtrmwhvmgcliwegeg[owvnsvmazybubxfrp]cdjevcehzrminnc\nuxhqucibxiemlbtg[dyshtfhtlbjreji]",
"end": 134621,
"score": 0.5237405896,
"start": 134610,
"tag": "KEY",
"value": "mazybubxfrp"
},
{
"context": "fouyxitayfs]gtrmwhvmgcliwegeg[owvnsvmazybubxfrp]cdjevcehzrminnc\nuxhqucibxiemlbtg[dyshtfhtlbjreji]ilgubuujgmytfxeqz",
"end": 134637,
"score": 0.5276889801,
"start": 134624,
"tag": "KEY",
"value": "jevcehzrminnc"
},
{
"context": "whvmgcliwegeg[owvnsvmazybubxfrp]cdjevcehzrminnc\nuxhqucibxiemlbtg[dyshtfhtlbjreji]ilgubuujgmytfxeqzrh[zahfdfyzbhex",
"end": 134653,
"score": 0.5255380273,
"start": 134640,
"tag": "KEY",
"value": "hqucibxiemlbt"
},
{
"context": "svmazybubxfrp]cdjevcehzrminnc\nuxhqucibxiemlbtg[dyshtfhtlbjreji]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yo",
"end": 134660,
"score": 0.5045865774,
"start": 134658,
"tag": "KEY",
"value": "ht"
},
{
"context": "azybubxfrp]cdjevcehzrminnc\nuxhqucibxiemlbtg[dyshtfhtlbjreji]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yohfx",
"end": 134663,
"score": 0.5047080517,
"start": 134661,
"tag": "KEY",
"value": "ht"
},
{
"context": "frp]cdjevcehzrminnc\nuxhqucibxiemlbtg[dyshtfhtlbjreji]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yohfxkodjqfd",
"end": 134670,
"score": 0.511895895,
"start": 134668,
"tag": "KEY",
"value": "ji"
},
{
"context": "bjreji]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yohfxkodjqfdzqe\nkqcxiuftivavvdv[rbijqqjbhpdcrtpcy]dijrgcyu",
"end": 134716,
"score": 0.5047825575,
"start": 134714,
"tag": "KEY",
"value": "od"
},
{
"context": "yvmvkekhwbg]xvrlrmkjwkhzjjlia\nvatnmtxixznyvdvt[ftzepafpamiqpjulci]izhqwdhnqpyppuqiv[mjqocpfxdfcgpgmk]yirocnwnrzchhvrbfb\neehvjfqvnwplppeg[mntocrytmuzmuvc]zsfcohpjfqdrtfbbbh[bqhzekffwgpwsbxd]zlhxmhjluxrjmpwkyc[imisxjdmeqavdvztbd]tjlwasbwbrddpqpgwq\nygjdaucrxaqjcjj[zaunyucvccyhgomr]ifczoiwclbaryopmfa[ihkdhvovnvujtbasuip]mabqxvuzswimbitoy\nshzlhbrvjjzpyxfqgus[ykurcdmtryyccnysxi]sypivgjjgkngrxs[rkavyufibjkqetgld]foqdqcpatgctaehxi[jpnwjyafgkdytef]apehakogeatmfyalzr\nkithfcpkwdhgqjohr[vvpujusooxkdrmbcoo]tuzaiinsycjujjuw[fqdhhizbifrkpjxgyb]rddsmqvmitgdywh\ngngbozbqsfrigmuq[euutspovzyvfbgp]gobfhihxxwpndpaggx\ndctfsuzvpvttqpgppw[dnilcstcsxxkvwdsu]zqzgahpihqrhohqdtst[eoaatnenejv",
"end": 138539,
"score": 0.6902247071,
"start": 137968,
"tag": "KEY",
"value": "epafpamiqpjulci]izhqwdhnqpyppuqiv[mjqocpfxdfcgpgmk]yirocnwnrzchhvrbfb\neehvjfqvnwplppeg[mntocrytmuzmuvc]zsfcohpjfqdrtfbbbh[bqhzekffwgpwsbxd]zlhxmhjluxrjmpwkyc[imisxjdmeqavdvztbd]tjlwasbwbrddpqpgwq\nygjdaucrxaqjcjj[zaunyucvccyhgomr]ifczoiwclbaryopmfa[ihkdhvovnvujtbasuip]mabqxvuzswimbitoy\nshzlhbrvjjzpyxfqgus[ykurcdmtryyccnysxi]sypivgjjgkngrxs[rkavyufibjkqetgld]foqdqcpatgctaehxi[jpnwjyafgkdytef]apehakogeatmfyalzr\nkithfcpkwdhgqjohr[vvpujusooxkdrmbcoo]tuzaiinsycjujjuw[fqdhhizbifrkpjxgyb]rddsmqvmitgdywh\ngngbozbqsfrigmuq[euutspovzyvfbgp]gobfhihxxwpndpaggx\ndctfsuzvpvttqpgppw"
},
{
"context": "spovzyvfbgp]gobfhihxxwpndpaggx\ndctfsuzvpvttqpgppw[dnilcstcsxxkvwdsu]zqzgahpihqrhohqdtst[eoaatnenejvvuloknf]xwneniznbk",
"end": 138557,
"score": 0.5962181091,
"start": 138540,
"tag": "KEY",
"value": "dnilcstcsxxkvwdsu"
},
{
"context": "hxxwpndpaggx\ndctfsuzvpvttqpgppw[dnilcstcsxxkvwdsu]zqzgahpihqrhohqdtst[eoaatnenejvvuloknf]xwneniznbkjolnouj[gslnbvbmlwer",
"end": 138577,
"score": 0.5853381157,
"start": 138558,
"tag": "KEY",
"value": "zqzgahpihqrhohqdtst"
},
{
"context": "vpvttqpgppw[dnilcstcsxxkvwdsu]zqzgahpihqrhohqdtst[eoaatnenejvvuloknf]xwneniznbkjolnouj[gslnbvbmlwerbwvdti]jovdchklafrsncadr\nmdgpetsnkadd",
"end": 138614,
"score": 0.5884893537,
"start": 138578,
"tag": "KEY",
"value": "eoaatnenejvvuloknf]xwneniznbkjolnouj"
},
{
"context": "ihqrhohqdtst[eoaatnenejvvuloknf]xwneniznbkjolnouj[gslnbvbmlwerbwvdti]jovdchklafrsncadr\nmdgpetsnkaddebh[gypkuqwwtjrzrhi]eyfbmxbyafuenmjdfvs\nnmkfscflwwiyxhzgzw[cixmvcvloqdyuikk]jprtrqwqtbrnksnxh[tngpiloomzgdmpryl]gwvmzbcftuthxvyqutu\nzkpdrykxtfvqneh[pxvjsvutuauoeducg]iduhzedqopyfgxj",
"end": 138795,
"score": 0.6091781259,
"start": 138615,
"tag": "KEY",
"value": "gslnbvbmlwerbwvdti]jovdchklafrsncadr\nmdgpetsnkaddebh[gypkuqwwtjrzrhi]eyfbmxbyafuenmjdfvs\nnmkfscflwwiyxhzgzw[cixmvcvloqdyuikk]jprtrqwqtbrnksnxh[tngpiloomzgdmpryl]gwvmzbcftuthxvyqutu"
},
{
"context": "tbrnksnxh[tngpiloomzgdmpryl]gwvmzbcftuthxvyqutu\nzkpdrykxtfvqneh[pxvjsvutuauoeducg]iduhzedqopyfgxjwpl[t",
"end": 138800,
"score": 0.5674758554,
"start": 138798,
"tag": "KEY",
"value": "pd"
},
{
"context": "ikcpsuduzdrd[fchropeunoqkngns]rfdquwdpxtlfxscvhzj\notnuxdwoeqotcogo[jxyhojuczdysbfvp]upffjmvriabbalmlqmx\nxfjrywdooyrkvifzub[ygubulhifdmoytb]hjuvaxnchbmrptw[txcsgcehrbszmnzl]xlvcnwmeztfiyhlwtrj[twopxgslxaqihinrefq]tnbdtvwxxbichal\nbepzmphvahjuibuvg[zuoplvyeupxvzoprs]qgkpflfygaoxuriy[lgugebpiqnkxxqhz]kqhkfkyiqigodfq[hvaktogguzjumlga]gglqsklyzznufpg\ncnzflcqxgiepnsmpxt[hqbdhovnvyecljhzx]vawynjdylprjdky\npxhlvphiiyocalr[dfhohrjqchpblygac]oqdjtliamyneclgc[pzanjswflkxxwvnzm]qbbuqtxwodofarbbl[kiqrgquowfurmiqlqy]kppecttggvnsuzaarwo\ndkzdgkqnfjkadwk[bjzvvzwnbuhkinvc]xhiswkplvojtzwwvyph[qroekqfwzfqeqcfns]kyijvgidcjeeenhgea\nmqoqfigmgtagmxjt[qojoaaqyptscsfmd]zkpsvrsxzwvllxqpi\ncdlfgkthideaizn[klvwdqakbyaunqfxt]egotktupevsisej[olkmccwoqyqzsnuv]szxkfqjshuwyqewmgm\ncaanbkvopjahzmqch[wylutkdesribnllzbac]fjpryexeaxbopdjhhu\navulisxpjwlldll[tueldewuwemaihrw]vjzctwcvzpyiihnlrzo[cjdkrvxhmsglzllbpl]gcsruqwlokbdtgucp[nxubgtwzjtwhtdvbjuq]dpghqlnwugoywuiqefv\nrcfjxvabpkgxhlvzf[ftlsstmreroxhmuw]gcacbophluxzof",
"end": 142520,
"score": 0.7288277149,
"start": 141630,
"tag": "KEY",
"value": "otnuxdwoeqotcogo[jxyhojuczdysbfvp]upffjmvriabbalmlqmx\nxfjrywdooyrkvifzub[ygubulhifdmoytb]hjuvaxnchbmrptw[txcsgcehrbszmnzl]xlvcnwmeztfiyhlwtrj[twopxgslxaqihinrefq]tnbdtvwxxbichal\nbepzmphvahjuibuvg[zuoplvyeupxvzoprs]qgkpflfygaoxuriy[lgugebpiqnkxxqhz]kqhkfkyiqigodfq[hvaktogguzjumlga]gglqsklyzznufpg\ncnzflcqxgiepnsmpxt[hqbdhovnvyecljhzx]vawynjdylprjdky\npxhlvphiiyocalr[dfhohrjqchpblygac]oqdjtliamyneclgc[pzanjswflkxxwvnzm]qbbuqtxwodofarbbl[kiqrgquowfurmiqlqy]kppecttggvnsuzaarwo\ndkzdgkqnfjkadwk[bjzvvzwnbuhkinvc]xhiswkplvojtzwwvyph[qroekqfwzfqeqcfns]kyijvgidcjeeenhgea\nmqoqfigmgtagmxjt[qojoaaqyptscsfmd]zkpsvrsxzwvllxqpi\ncdlfgkthideaizn[klvwdqakbyaunqfxt]egotktupevsisej[olkmccwoqyqzsnuv]szxkfqjshuwyqewmgm\ncaanbkvopjahzmqch[wylutkdesribnllzbac]fjpryexeaxbopdjhhu\navulisxpjwlldll[tueldewuwemaihrw]vjzctwcvzpyiihnlrzo[cjdkrvxhmsglzllbpl]gcsruqwlokbdtgucp[nxubgtwzjtwhtdvbjuq]dpghqlnwugoywuiqefv"
},
{
"context": "ubgtwzjtwhtdvbjuq]dpghqlnwugoywuiqefv\nrcfjxvabpkgxhlvzf[ftlsstmreroxhmuw]gcacbophluxzofii[vkkogukgydicpvd",
"end": 142538,
"score": 0.5748167634,
"start": 142533,
"tag": "KEY",
"value": "hlvzf"
},
{
"context": "jtwhtdvbjuq]dpghqlnwugoywuiqefv\nrcfjxvabpkgxhlvzf[ftlsstmreroxhmuw]gcacbophluxzofii[vkkogukgydicpvdqbzv]dvalzsrgykitiqy\nsufacmzxrfdwl",
"end": 142572,
"score": 0.5673930645,
"start": 142539,
"tag": "KEY",
"value": "ftlsstmreroxhmuw]gcacbophluxzofii"
},
{
"context": "fjxvabpkgxhlvzf[ftlsstmreroxhmuw]gcacbophluxzofii[vkkogukgydicpvdqbzv]dvalzsrgykitiqy\nsufacmzxrfdwlivdngo[kthzrniwspkdawxz]rudbmasvirscd",
"end": 142608,
"score": 0.5707585216,
"start": 142573,
"tag": "KEY",
"value": "vkkogukgydicpvdqbzv]dvalzsrgykitiqy"
},
{
"context": "bophluxzofii[vkkogukgydicpvdqbzv]dvalzsrgykitiqy\nsufacmzxrfdwlivdngo[kthzrniwspkdawxz]rudbmasvirscdpkpr[pcielclbxsbfed",
"end": 142628,
"score": 0.5865080357,
"start": 142610,
"tag": "KEY",
"value": "ufacmzxrfdwlivdngo"
},
{
"context": "kgydicpvdqbzv]dvalzsrgykitiqy\nsufacmzxrfdwlivdngo[kthzrniwspkdawxz]rudbmasvirscdpkpr[pcielclbxsbfedr]pneagajkflznxdrkejk\nqtvidydakxhrb",
"end": 142663,
"score": 0.5656306744,
"start": 142629,
"tag": "KEY",
"value": "kthzrniwspkdawxz]rudbmasvirscdpkpr"
},
{
"context": "mzxrfdwlivdngo[kthzrniwspkdawxz]rudbmasvirscdpkpr[pcielclbxsbfedr]pneagajkflznxdrkejk\nqtvidydakxhrbrli[arccjldfmvtskqtot]uxldrdgmtilrhob[mfqcpjzuqeibckk]tjubrbrdjdakrdud\ncbwxzgidmrnjqukyl[uhenxvxtomizedkxwt]pcpeskttqdttvibym[egwkoivkdehfrlzz]pjueedjamrhpsnuulj[ccamvzizqyunx",
"end": 142838,
"score": 0.5870010853,
"start": 142664,
"tag": "KEY",
"value": "pcielclbxsbfedr]pneagajkflznxdrkejk\nqtvidydakxhrbrli[arccjldfmvtskqtot]uxldrdgmtilrhob[mfqcpjzuqeibckk]tjubrbrdjdakrdud\ncbwxzgidmrnjqukyl[uhenxvxtomizedkxwt]pcpeskttqdttvibym"
},
{
"context": "gidmrnjqukyl[uhenxvxtomizedkxwt]pcpeskttqdttvibym[egwkoivkdehfrlzz]pjueedjamrhpsnuulj[ccamvzizqyunxwbojum]qguxpdkjsvkuxiskx\necwvkjdmndz",
"end": 142874,
"score": 0.5810981989,
"start": 142839,
"tag": "KEY",
"value": "egwkoivkdehfrlzz]pjueedjamrhpsnuulj"
},
{
"context": "skttqdttvibym[egwkoivkdehfrlzz]pjueedjamrhpsnuulj[ccamvzizqyunxwbojum]qguxpdkjsvkuxiskx\necwvkjdmndzmmivxnsa[unghjtnrlreamcw]fhxvfvlthzqifvftbo\ntfzpfvojlegclk",
"end": 142932,
"score": 0.5897954702,
"start": 142875,
"tag": "KEY",
"value": "ccamvzizqyunxwbojum]qguxpdkjsvkuxiskx\necwvkjdmndzmmivxnsa"
},
{
"context": "qyunxwbojum]qguxpdkjsvkuxiskx\necwvkjdmndzmmivxnsa[unghjtnrlreamcw]fhxvfvlthzqifvftbo\ntfzpfvojlegclkt[kdwzmhrpxckfkn",
"end": 142948,
"score": 0.5427683592,
"start": 142933,
"tag": "KEY",
"value": "unghjtnrlreamcw"
},
{
"context": "pdkjsvkuxiskx\necwvkjdmndzmmivxnsa[unghjtnrlreamcw]fhxvfvlthzqifvftbo\ntfzpfvojlegclkt[kdwzmhrpxckfknvmdqu]gnpywcujxlgish",
"end": 142967,
"score": 0.5642409325,
"start": 142949,
"tag": "KEY",
"value": "fhxvfvlthzqifvftbo"
},
{
"context": "mndzmmivxnsa[unghjtnrlreamcw]fhxvfvlthzqifvftbo\ntfzpfvojlegclkt[kdwzmhrpxckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcle",
"end": 142983,
"score": 0.5519296527,
"start": 142970,
"tag": "KEY",
"value": "zpfvojlegclkt"
},
{
"context": "ghjtnrlreamcw]fhxvfvlthzqifvftbo\ntfzpfvojlegclkt[kdwzmhrpxckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcleasixmm]ggmuguvhesyqa",
"end": 143003,
"score": 0.5269160271,
"start": 142985,
"tag": "KEY",
"value": "dwzmhrpxckfknvmdqu"
},
{
"context": "thzqifvftbo\ntfzpfvojlegclkt[kdwzmhrpxckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernh",
"end": 143019,
"score": 0.5197432637,
"start": 143006,
"tag": "KEY",
"value": "pywcujxlgishx"
},
{
"context": "zpfvojlegclkt[kdwzmhrpxckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdn",
"end": 143033,
"score": 0.5168619752,
"start": 143020,
"tag": "KEY",
"value": "mhxacejyvmcle"
},
{
"context": "dwzmhrpxckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuawor",
"end": 143039,
"score": 0.520845294,
"start": 143035,
"tag": "KEY",
"value": "ixmm"
},
{
"context": "xckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuaworthwsoi\nadztzinzrva",
"end": 143057,
"score": 0.5228130817,
"start": 143042,
"tag": "KEY",
"value": "muguvhesyqaijlv"
},
{
"context": "lgishx[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuaworthwsoi\nadztzinzrvazerolcl[",
"end": 143065,
"score": 0.5053958297,
"start": 143063,
"tag": "KEY",
"value": "os"
},
{
"context": "x[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuaworthwsoi\nadztzinzrvazerolcl[vypxttybd",
"end": 143074,
"score": 0.5158628821,
"start": 143068,
"tag": "KEY",
"value": "hgawag"
},
{
"context": "vmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuaworthwsoi\nadztzinzrvazerolcl[vypxttybduwxgrd]",
"end": 143081,
"score": 0.5210425854,
"start": 143078,
"tag": "KEY",
"value": "mdv"
},
{
"context": "asixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuaworthwsoi\nadztzinzrvazerolcl[vypxttybduwxgrd]mggcsuuzlwiila",
"end": 143095,
"score": 0.5238456726,
"start": 143083,
"tag": "KEY",
"value": "kuaworthwsoi"
},
{
"context": "yzsosernhgawagft]rmdvdnkuaworthwsoi\nadztzinzrvazerolcl[vypxttybduwxgrd]mggcsuuzlwiilaav\nqnamzrfomzqqho",
"end": 143112,
"score": 0.5056944489,
"start": 143110,
"tag": "KEY",
"value": "ol"
},
{
"context": "zsmuiakyelb[sfknkiilewablfnt]mdzzoowquvhayznyl\novvwrhkbkeqeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fp",
"end": 143241,
"score": 0.509534359,
"start": 143238,
"tag": "KEY",
"value": "wrh"
},
{
"context": "akyelb[sfknkiilewablfnt]mdzzoowquvhayznyl\novvwrhkbkeqeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fpyrav",
"end": 143245,
"score": 0.5055682063,
"start": 143243,
"tag": "KEY",
"value": "ke"
},
{
"context": "lb[sfknkiilewablfnt]mdzzoowquvhayznyl\novvwrhkbkeqeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fpyravdsbi",
"end": 143249,
"score": 0.5135064721,
"start": 143247,
"tag": "KEY",
"value": "at"
},
{
"context": "nt]mdzzoowquvhayznyl\novvwrhkbkeqeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpe",
"end": 143269,
"score": 0.5157380104,
"start": 143264,
"tag": "KEY",
"value": "kuhwq"
},
{
"context": "hayznyl\novvwrhkbkeqeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke\nlubqiczycur",
"end": 143286,
"score": 0.5255075693,
"start": 143277,
"tag": "KEY",
"value": "tpbukmuqy"
},
{
"context": "qeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmj",
"end": 143299,
"score": 0.5089737177,
"start": 143295,
"tag": "KEY",
"value": "dsbi"
},
{
"context": "zbnlkuhwqwfz]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhq",
"end": 143316,
"score": 0.5105466247,
"start": 143310,
"tag": "KEY",
"value": "jiotve"
},
{
"context": "wqwfz]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksd",
"end": 143319,
"score": 0.5057213902,
"start": 143317,
"tag": "KEY",
"value": "pe"
},
{
"context": "]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozyc",
"end": 143324,
"score": 0.5285217166,
"start": 143322,
"tag": "KEY",
"value": "ke"
},
{
"context": "ytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozycjszipd[zeptjnsjluc",
"end": 143342,
"score": 0.5258017778,
"start": 143326,
"tag": "KEY",
"value": "ubqiczycurwvqozz"
},
{
"context": "vdsbihddaubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozycjszipd[zeptjnsjluccoiu",
"end": 143346,
"score": 0.5050830841,
"start": 143344,
"tag": "KEY",
"value": "hn"
},
{
"context": "aubymf]pjiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozycjszipd[zeptjnsjluccoiuxm]bhvkt",
"end": 143354,
"score": 0.505520463,
"start": 143352,
"tag": "KEY",
"value": "og"
},
{
"context": "jiotvegpewlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozycjszipd[zeptjnsjluccoiuxm]bhvktxgvqjkuf",
"end": 143362,
"score": 0.505038023,
"start": 143360,
"tag": "KEY",
"value": "hj"
},
{
"context": "wlpke\nlubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozycjszipd[zeptjnsjluccoiuxm]bhvktxgvqjkufxhprr\nzfl",
"end": 143371,
"score": 0.5205900669,
"start": 143369,
"tag": "KEY",
"value": "bo"
},
{
"context": "]bhvktxgvqjkufxhprr\nzflhauqmcaiwnqn[jhyeagjfxbgnzkdr]hdwykmzypixrdykd[zkqqugefunjmuhf]ykufgfmmeaapnag\neqhnlafwpxhjtrif[ixkfnqexzmbmqencp]npxnxbzhuvwqnxn\nkokxqtbaemcjzlrioa[ujvykzotvzlrnfg]couurswwzchjzbxq[ympswhhwlvpohjg]wxcufycbxuvmrqekgq[wyljlkzgavafrvjuesw]dmgjejauotkmwgw\nmgxyddqzqmprxrdizf[clocszvenjingorxku]zsuqrmnlgyucrgboe[vpenwatmulopddv]expnuzinwtlihej\nxqhirwwuirdapgmyk[snyixpqruifdiqekwiv]zogryeticrubznbumf[yisxpgzptlkrmeevgqj]qrebxwojumgwfnf\ndjlypifibwpydcxrd[swxgzdsqfgksqwxjxfk]kbpzzqheozbjjcdpor\nuueutycrzzvuhvniu[nqhaoxpjrlvrtbahncz]tmxvdfxvmctcfzoqiux[gevrghyecnzmkrujmeg]rcyqojjmpxkpeulzl\nquyrwpchownternlfj[qijougzkibnhwzvjk]lmrfvudpzxhshukhpn[jvvvelpjnyxpwvo]ztuckjcxyxjvqop\nueyerkamylcyhgszgme[kpqbsxegdljldwjdxgp]afoamkxjljqzpmyef\nryrrppctsvwsxjslb[sbmyepjknxewewrqfsa]gevwiiwpwstdkruplv[ilkxpskdrntqvofj]srpukrzanrqhkprnu[jlujnhxksrytsdazgyt]fcxyuaotwykaosgnvp\nyhjojsuhfhujvfk[nhdemperlpgxpud]pdvcrmhvfeudrea\nmerahlzkjieamdkyk",
"end": 144300,
"score": 0.7574543357,
"start": 143448,
"tag": "KEY",
"value": "dr]hdwykmzypixrdykd[zkqqugefunjmuhf]ykufgfmmeaapnag\neqhnlafwpxhjtrif[ixkfnqexzmbmqencp]npxnxbzhuvwqnxn\nkokxqtbaemcjzlrioa[ujvykzotvzlrnfg]couurswwzchjzbxq[ympswhhwlvpohjg]wxcufycbxuvmrqekgq[wyljlkzgavafrvjuesw]dmgjejauotkmwgw\nmgxyddqzqmprxrdizf[clocszvenjingorxku]zsuqrmnlgyucrgboe[vpenwatmulopddv]expnuzinwtlihej\nxqhirwwuirdapgmyk[snyixpqruifdiqekwiv]zogryeticrubznbumf[yisxpgzptlkrmeevgqj]qrebxwojumgwfnf\ndjlypifibwpydcxrd[swxgzdsqfgksqwxjxfk]kbpzzqheozbjjcdpor\nuueutycrzzvuhvniu[nqhaoxpjrlvrtbahncz]tmxvdfxvmctcfzoqiux[gevrghyecnzmkrujmeg]rcyqojjmpxkpeulzl\nquyrwpchownternlfj[qijougzkibnhwzvjk]lmrfvudpzxhshukhpn[jvvvelpjnyxpwvo]ztuckjcxyxjvqop\nueyerkamylcyhgszgme[kpqbsxegdljldwjdxgp]afoamkxjljqzpmyef\nryrrppctsvwsxjslb[sbmyepjknxewewrqfsa]gevwiiwpwstdkruplv[ilkxpskdrntqvofj]srpukrzanrqhkprnu[jlujnhxksrytsdazgyt]fcxyuaotwykaosgnvp\nyhjojsuhfhujvfk"
},
{
"context": "hxksrytsdazgyt]fcxyuaotwykaosgnvp\nyhjojsuhfhujvfk[nhdemperlpgxpud]pdvcrmhvfeudrea\nmerahlzkjieamdkyky[yeygy",
"end": 144307,
"score": 0.5264613628,
"start": 144301,
"tag": "KEY",
"value": "nhdemp"
},
{
"context": "t]fcxyuaotwykaosgnvp\nyhjojsuhfhujvfk[nhdemperlpgxpud]pdvcrmhvfeudrea\nmerahlzkjieamdkyky[yeygykydcucbam",
"end": 144316,
"score": 0.5212795138,
"start": 144314,
"tag": "KEY",
"value": "ud"
},
{
"context": "cxyuaotwykaosgnvp\nyhjojsuhfhujvfk[nhdemperlpgxpud]pdvcrmhvfeudrea\nmerahlzkjieamdkyky[yeygykydcucbambmt",
"end": 144319,
"score": 0.5367912054,
"start": 144317,
"tag": "KEY",
"value": "pd"
},
{
"context": "hujvfk[nhdemperlpgxpud]pdvcrmhvfeudrea\nmerahlzkjieamdkyky[yeygykydcucbambmtz]tbujyhneuvzacymtgrd\nsgvvj",
"end": 144346,
"score": 0.5213027596,
"start": 144344,
"tag": "KEY",
"value": "am"
},
{
"context": "xvpzovpzydwprwt[qnquthrvjmqtpzb]utnmpbzmurlbpfuaqu\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzw",
"end": 144551,
"score": 0.512001276,
"start": 144551,
"tag": "KEY",
"value": ""
},
{
"context": "vpzydwprwt[qnquthrvjmqtpzb]utnmpbzmurlbpfuaqu\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrd",
"end": 144563,
"score": 0.5203922391,
"start": 144556,
"tag": "KEY",
"value": "gaotoff"
},
{
"context": "]utnmpbzmurlbpfuaqu\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknzi",
"end": 144584,
"score": 0.5202364326,
"start": 144582,
"tag": "KEY",
"value": "ge"
},
{
"context": "nmpbzmurlbpfuaqu\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba",
"end": 144588,
"score": 0.5043996572,
"start": 144585,
"tag": "KEY",
"value": "ham"
},
{
"context": "murlbpfuaqu\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprg",
"end": 144594,
"score": 0.5124599934,
"start": 144590,
"tag": "KEY",
"value": "apph"
},
{
"context": "fuaqu\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaub",
"end": 144599,
"score": 0.5165973902,
"start": 144596,
"tag": "KEY",
"value": "rpp"
},
{
"context": "\nfkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaubcukc",
"end": 144603,
"score": 0.519684732,
"start": 144601,
"tag": "KEY",
"value": "wm"
},
{
"context": "gaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaubcukcmp[kddnrlc",
"end": 144613,
"score": 0.5065882206,
"start": 144606,
"tag": "KEY",
"value": "ysbhjrd"
},
{
"context": "[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaubcukcmp[kddnrlcjywdjcu",
"end": 144620,
"score": 0.5042889118,
"start": 144618,
"tag": "KEY",
"value": "ve"
},
{
"context": "tzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamq",
"end": 144632,
"score": 0.5140939951,
"start": 144624,
"tag": "KEY",
"value": "pcjplbkn"
},
{
"context": "hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamqhzrwlkh",
"end": 144638,
"score": 0.5173845291,
"start": 144635,
"tag": "KEY",
"value": "rba"
},
{
"context": "pphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba\njfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamqhzrwlkh[fuavvscfxp",
"end": 144650,
"score": 0.5233440399,
"start": 144641,
"tag": "KEY",
"value": "prgbpaubc"
},
{
"context": "igpcjplbknziprba\njfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdj",
"end": 144682,
"score": 0.5153307915,
"start": 144672,
"tag": "KEY",
"value": "nwzsudlamq"
},
{
"context": "prba\njfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytm",
"end": 144686,
"score": 0.5276747942,
"start": 144684,
"tag": "KEY",
"value": "rw"
},
{
"context": "\njfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytmzcw",
"end": 144689,
"score": 0.5044931173,
"start": 144688,
"tag": "KEY",
"value": "h"
},
{
"context": "rlcjywdjcud]nwzsudlamqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjk",
"end": 144714,
"score": 0.5083069801,
"start": 144710,
"tag": "KEY",
"value": "gous"
},
{
"context": "jcud]nwzsudlamqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobi",
"end": 144725,
"score": 0.515265882,
"start": 144717,
"tag": "KEY",
"value": "qawlkpcd"
},
{
"context": "amqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobiwjr[gzxmhv",
"end": 144736,
"score": 0.5373689532,
"start": 144729,
"tag": "KEY",
"value": "hdjsytm"
},
{
"context": "kh[fuavvscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobiwjr[gzxmhvvugpu",
"end": 144741,
"score": 0.5236779451,
"start": 144737,
"tag": "KEY",
"value": "cwcu"
},
{
"context": "vscfxpynlxexr]szgousvpbqawlkpcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobiwjr[gzxmhvvugpuywst",
"end": 144745,
"score": 0.5046943426,
"start": 144744,
"tag": "KEY",
"value": "w"
},
{
"context": "vpbqawlkpcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobiwjr[gzxmhvvugpuywst]oodlrjlodknfxde\nbpla",
"end": 144766,
"score": 0.512290597,
"start": 144764,
"tag": "KEY",
"value": "xa"
},
{
"context": "pcd\nidlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobiwjr[gzxmhvvugpuywst]oodlrjlodknfxde\nbplasvzaijnd",
"end": 144774,
"score": 0.5044261217,
"start": 144772,
"tag": "KEY",
"value": "po"
},
{
"context": "necsqfhr]sjkxaancdmlpobiwjr[gzxmhvvugpuywst]oodlrjlodknfxde\nbplasvzaijndpfkr[wkvndyztlfkelwckt]kjkbnaw",
"end": 144804,
"score": 0.5045784712,
"start": 144802,
"tag": "KEY",
"value": "lo"
},
{
"context": "eymkuhyvru\nekgeyjojapzhzaxfzhw[nmmzpmouaheahibz]skhvrmqbvgkbismmmw[lpohwytpsrtegazzkwg]cvyqhgsyodcdoyandpp[rntevuwuoyqnhkmrr]szsrcjzpstfyvlf\nioykyddusobfdscqkmy[pmuczfvmkjokvnoxrz]osyjyicdpcwzxvwfn[gimnsriontvxypcxnja]rgedrrsbgienkkwy\noktebiadpwprzrv[wgprjpksbgdyqidklkf]xhhjmhfbhpszdqu[rxjenkcvcswchak]fxqrycgufsqtbxx[pyxvqyqnctpzpggzrq]mmncxhloifiifjpnitw\nxbqdzlpfxcznmczfqq[tpfsrcmbflynynshgt]whfhtgfqobzaolpx\nhfbetzccpyqauunfsq[ihzoakqpjosfmeff]xvgsqfzcgxtranek[zbtxsvwatcplcseik]vaidkyuhjnsgptupyxq[vprljemlqmphnaau]vfgliasxcpdyayvfddk\njetotpxiincpkjxqmz[sfwjrlxbmpafwtjuy]rasahmylsaswogm\nipseqmdzbeeqjsnvo[qxgatjiqzhwulhgkjm]syofcufklnbeobppx[lbmkistwoiolecjh]qpznlrllrkhxrnyvf[zbhzvyjqzywdpvh]thlrfwmziexkhxgp\nuqyiqoznpgsjaaftzq[bfmkexvilwsavbrnwo]pwdssrfyvkefanxnlfr\nyijgsezauqoevphn[qboayuokxuaztxd]peepgblucrlstsln[rnifdfjhxdmtfse]qvymgyfdvcpezxdgmen[qyorafkexhajsha]knaylffgeufjxogyel\nqlydmvzjoavamnvot[napvavoknajlvmdd]wbjkbdpjhuhxybgywu[u",
"end": 147039,
"score": 0.7600708604,
"start": 146188,
"tag": "KEY",
"value": "hvrmqbvgkbismmmw[lpohwytpsrtegazzkwg]cvyqhgsyodcdoyandpp[rntevuwuoyqnhkmrr]szsrcjzpstfyvlf\nioykyddusobfdscqkmy[pmuczfvmkjokvnoxrz]osyjyicdpcwzxvwfn[gimnsriontvxypcxnja]rgedrrsbgienkkwy\noktebiadpwprzrv[wgprjpksbgdyqidklkf]xhhjmhfbhpszdqu[rxjenkcvcswchak]fxqrycgufsqtbxx[pyxvqyqnctpzpggzrq]mmncxhloifiifjpnitw\nxbqdzlpfxcznmczfqq[tpfsrcmbflynynshgt]whfhtgfqobzaolpx\nhfbetzccpyqauunfsq[ihzoakqpjosfmeff]xvgsqfzcgxtranek[zbtxsvwatcplcseik]vaidkyuhjnsgptupyxq[vprljemlqmphnaau]vfgliasxcpdyayvfddk\njetotpxiincpkjxqmz[sfwjrlxbmpafwtjuy]rasahmylsaswogm\nipseqmdzbeeqjsnvo[qxgatjiqzhwulhgkjm]syofcufklnbeobppx[lbmkistwoiolecjh]qpznlrllrkhxrnyvf[zbhzvyjqzywdpvh]thlrfwmziexkhxgp\nuqyiqoznpgsjaaftzq[bfmkexvilwsavbrnwo]pwdssrfyvkefanxnlfr\nyijgsezauqoevphn[qboayuokxuaztxd]peepgblucrlstsln[rnifdfjhxdmtfse]qvymgyfdvcpezxdgmen[qyorafkexhajsha]knaylffgeufjxogyel\nqlydm"
},
{
"context": "zxdgmen[qyorafkexhajsha]knaylffgeufjxogyel\nqlydmvzjoavamnvot[napvavoknajlvmdd]wbjkbdpjhuhxybgywu[umxthkfbtbe",
"end": 147049,
"score": 0.5379180312,
"start": 147041,
"tag": "KEY",
"value": "joavamnv"
},
{
"context": "antzkbrnpwuuvqbqn[qaudnwijvntnxlj]tfdbqbdepavxiewo\nxwjmsobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmm",
"end": 149045,
"score": 0.519274354,
"start": 149045,
"tag": "KEY",
"value": ""
},
{
"context": "tzkbrnpwuuvqbqn[qaudnwijvntnxlj]tfdbqbdepavxiewo\nxwjmsobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmmlg[rmkhfca",
"end": 149056,
"score": 0.5176136494,
"start": 149047,
"tag": "KEY",
"value": "wjmsobvby"
},
{
"context": "dnwijvntnxlj]tfdbqbdepavxiewo\nxwjmsobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpv",
"end": 149073,
"score": 0.5099014044,
"start": 149066,
"tag": "KEY",
"value": "zkgsxhx"
},
{
"context": "xlj]tfdbqbdepavxiewo\nxwjmsobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpvfmxmlfh",
"end": 149080,
"score": 0.5092687607,
"start": 149075,
"tag": "KEY",
"value": "uejjr"
},
{
"context": "qbdepavxiewo\nxwjmsobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpvfmxmlfhls[iexmcqatbamzyvx",
"end": 149098,
"score": 0.5271676779,
"start": 149083,
"tag": "KEY",
"value": "kvofiicvcusmmlg"
},
{
"context": "msobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpvfmxmlfhls[iexmcqatbamzyvxft]djvoysjwetzhocd",
"end": 149116,
"score": 0.521895647,
"start": 149099,
"tag": "KEY",
"value": "rmkhfcaxfbdltnpwk"
},
{
"context": "sxhxiyuejjr]etkvofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpvfmxmlfhls[iexmcqatbamzyvxft]djvoysjwetzhocdd\niixngfiuncqysu",
"end": 149132,
"score": 0.5358754992,
"start": 149119,
"tag": "KEY",
"value": "klpvfmxmlfhls"
},
{
"context": "vofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpvfmxmlfhls[iexmcqatbamzyvxft]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]",
"end": 149151,
"score": 0.5261067152,
"start": 149134,
"tag": "KEY",
"value": "exmcqatbamzyvxft]"
},
{
"context": "fcaxfbdltnpwk]swklpvfmxmlfhls[iexmcqatbamzyvxft]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub",
"end": 149167,
"score": 0.5405774117,
"start": 149153,
"tag": "KEY",
"value": "voysjwetzhocdd"
},
{
"context": "klpvfmxmlfhls[iexmcqatbamzyvxft]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemr",
"end": 149179,
"score": 0.5288075209,
"start": 149169,
"tag": "KEY",
"value": "ixngfiuncq"
},
{
"context": "s[iexmcqatbamzyvxft]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxw",
"end": 149184,
"score": 0.5195164084,
"start": 149181,
"tag": "KEY",
"value": "uzf"
},
{
"context": "cqatbamzyvxft]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfej",
"end": 149190,
"score": 0.5080920458,
"start": 149187,
"tag": "KEY",
"value": "zeq"
},
{
"context": "amzyvxft]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqma",
"end": 149193,
"score": 0.5120999813,
"start": 149192,
"tag": "KEY",
"value": "q"
},
{
"context": "t]djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhh",
"end": 149200,
"score": 0.5190116763,
"start": 149199,
"tag": "KEY",
"value": "b"
},
{
"context": "djvoysjwetzhocdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhhe\npmviizp",
"end": 149209,
"score": 0.5056285858,
"start": 149201,
"tag": "KEY",
"value": "udkdvfkd"
},
{
"context": "cdd\niixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhhe\npmviizplesuakf",
"end": 149216,
"score": 0.5116840601,
"start": 149214,
"tag": "KEY",
"value": "ru"
},
{
"context": "rubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhhe\npmviizplesuakfc[woqzewypfpcaiotx]xatiburufdza",
"end": 149247,
"score": 0.5040795207,
"start": 149246,
"tag": "KEY",
"value": "b"
},
{
"context": "b]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhhe\npmviizplesuakfc[woqzewypfpcaiotx]xatiburufdzajqrv",
"end": 149251,
"score": 0.5194373131,
"start": 149249,
"tag": "KEY",
"value": "he"
},
{
"context": "dvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhhe\npmviizplesuakfc[woqzewypfpcaiotx]xatiburufdzajqrv[ydsa",
"end": 149256,
"score": 0.5040265322,
"start": 149254,
"tag": "KEY",
"value": "vi"
},
{
"context": "rwvdb[fclwyuadozjjeyvkz]uzfygewxtlgjhmfpyfy[qlnlpqspocvcpqsa]fannkpftifaoeszzu[pvwpbdancbljmucxql]tlzusxlphovfyfflj\nmmtmuzzulxmgxsmf[djwlpuwrkdpcbvv]jomhrdgighcolvayu[vdxrekbfbxgdluj]mwkcqhjhlrehesmwft[pigmugayjtdhtpweyo]lemzwycbgzzhvin\neferdgkfaasmkyi[nopnmqjuuhhkaclf]twwodgunizovyvydh\nbaddrprmgewtmypxsp[yahwshbkzattrry]tjjmawkirxcxcpkbdr[kcptwlmozcgjszalueb]msxrkbrbcfnflgnqe[amwmeanfnbrpznz]jkkxzruebylcrqkvyvk\nkjagsescwfjkqrykx[sefltugsdwkybwj]jmebeveaticpwddxbk[ktfnvedmpvqufsi]zxjysrfpzfhngjci[yifiorzwyumqotxoch]afedqtkmzpfwnacb\nlelwtilhzhzslvzo[ehvnqsjxemjrcvbqyf]ovygwyyazlsulyzhjja\ngluywzrxutecuauqi[vyllygndlfkbmgaoefq]cyucodjkxwauafwfxw\ndflaghirjcyhylbcenw[dndkrtbxackpdcphny]pnhqmjxdzkjycmdo[fryelfouoaesejoq]tdhcacxuqwfspqevq\nyjnumjjyewzjnakmnhv[ulycnyiyvszhifgscjr]xheytyiiyilswfhqywd[jxrndqsxmwcrpwrfu]jquhfnyxudasmomnpx\nrspuvdkdzbrbajkj[dcfpcvzpbodrxtl]xbskonezgtixwjfsuq[gubkcjizpgfwqktcc]ddjzlszkolvwqsrnnc\nmoobncjrmmfonnmp[lpbevkcuzvqguwzbzb]pacppeefawskt",
"end": 150681,
"score": 0.7239894271,
"start": 149804,
"tag": "KEY",
"value": "spocvcpqsa]fannkpftifaoeszzu[pvwpbdancbljmucxql]tlzusxlphovfyfflj\nmmtmuzzulxmgxsmf[djwlpuwrkdpcbvv]jomhrdgighcolvayu[vdxrekbfbxgdluj]mwkcqhjhlrehesmwft[pigmugayjtdhtpweyo]lemzwycbgzzhvin\neferdgkfaasmkyi[nopnmqjuuhhkaclf]twwodgunizovyvydh\nbaddrprmgewtmypxsp[yahwshbkzattrry]tjjmawkirxcxcpkbdr[kcptwlmozcgjszalueb]msxrkbrbcfnflgnqe[amwmeanfnbrpznz]jkkxzruebylcrqkvyvk\nkjagsescwfjkqrykx[sefltugsdwkybwj]jmebeveaticpwddxbk[ktfnvedmpvqufsi]zxjysrfpzfhngjci[yifiorzwyumqotxoch]afedqtkmzpfwnacb\nlelwtilhzhzslvzo[ehvnqsjxemjrcvbqyf]ovygwyyazlsulyzhjja\ngluywzrxutecuauqi[vyllygndlfkbmgaoefq]cyucodjkxwauafwfxw\ndflaghirjcyhylbcenw[dndkrtbxackpdcphny]pnhqmjxdzkjycmdo[fryelfouoaesejoq]tdhcacxuqwfspqevq\nyjnumjjyewzjnakmnhv[ulycnyiyvszhifgscjr]xheytyiiyilswfhqywd[jxrndqsxmwcrpwrfu]jquhfnyxudasmomnpx\nrspuvdkdzbrbajkj[dcfpcvzpbodrxtl]xbskonezgtixwjfsuq[gubkcjizpgfwqktcc]ddjzlszkolvwqsrnnc"
},
{
"context": "zgtixwjfsuq[gubkcjizpgfwqktcc]ddjzlszkolvwqsrnnc\nmoobncjrmmfonnmp[lpbevkcuzvqguwzbzb]pacppeefawsktrydyqd[",
"end": 150688,
"score": 0.5747746229,
"start": 150683,
"tag": "KEY",
"value": "oobnc"
},
{
"context": "fsuq[gubkcjizpgfwqktcc]ddjzlszkolvwqsrnnc\nmoobncjrmmfonnmp[lpbevkcuzvqguwzbzb]pacppeefawsktrydyqd[wayx",
"end": 150692,
"score": 0.5447297096,
"start": 150690,
"tag": "KEY",
"value": "mm"
},
{
"context": "cdutbbpmmhmpty[glvdyxliujvbdqr]jyavmvfrqjztetyn[rqngwyfxdxofvqwo]xqcpmtqhrkoctux\nzfeyzggpwatzvvr[mwnxvrajqdtijeqm]kyprmauvxauaeuntay[ivwbqplblehbbhi]xfasnjwliydlrcyk[jmalyrxoozbrang]lksylhfvgbezkcf\ntrqdnrlvoqyqyvjt[ekkkwqklawagqqprz]zaojypuwvzdghwkye\nbmnmbsogxhtpved[zffxeokudzgkusvk]qcuxjdhqclszjnxdhd[rsjdhjczxtrghlxwh]vpekhuzoamazdzgufb[bgtmhavdkyhtwlwcqmk]qucpatddwrtjztpxvi\nhwqfyynrncmhcsmrlp[vlaqdzxwrpawflemknd]kmvyzqfvlouluxelul\ngnzpgjfxtsaiknapn[rganasfzfnrvxir]ooatokkxjxhzxlpmb\nmpedacmqtzqmwqyfz[dcofwyebgsvctomzomk]vpqmhpoitpubjorx[thmfofpuparh",
"end": 153008,
"score": 0.6025893688,
"start": 152552,
"tag": "KEY",
"value": "ngwyfxdxofvqwo]xqcpmtqhrkoctux\nzfeyzggpwatzvvr[mwnxvrajqdtijeqm]kyprmauvxauaeuntay[ivwbqplblehbbhi]xfasnjwliydlrcyk[jmalyrxoozbrang]lksylhfvgbezkcf\ntrqdnrlvoqyqyvjt[ekkkwqklawagqqprz]zaojypuwvzdghwkye\nbmnmbsogxhtpved[zffxeokudzgkusvk]qcuxjdhqclszjnxdhd[rsjdhjczxtrghlxwh]vpekhuzoamazdzgufb[bgtmhavdkyhtwlwcqmk]qucpatddwrtjztpxvi\nhwqfyynrncmhcsmrlp[vlaqdzxwrpawflemknd]kmvyzqfvlouluxelul\ngnzpgjfxtsaiknapn[rganasfzfnrvxir]ooatokkxjxhzxlpmb\nmpedacmqtzqmwqyfz"
},
{
"context": "anasfzfnrvxir]ooatokkxjxhzxlpmb\nmpedacmqtzqmwqyfz[dcofwyebgsvctomzomk]vpqmhpoitpubjorx[thmfofpuparhszqe]clvrtngjajielkx",
"end": 153028,
"score": 0.553598702,
"start": 153009,
"tag": "KEY",
"value": "dcofwyebgsvctomzomk"
},
{
"context": "kxjxhzxlpmb\nmpedacmqtzqmwqyfz[dcofwyebgsvctomzomk]vpqmhpoitpubjorx[thmfofpuparhszqe]clvrtngjajielkxre[mfcjhfugpyymyt",
"end": 153045,
"score": 0.5630787611,
"start": 153029,
"tag": "KEY",
"value": "vpqmhpoitpubjorx"
},
{
"context": "cmqtzqmwqyfz[dcofwyebgsvctomzomk]vpqmhpoitpubjorx[thmfofpuparhszqe]clvrtngjajielkxre[mfcjhfugpyymytri]moqcfkrpazshwvh\nfxskejrgulaixah[",
"end": 153080,
"score": 0.5536491275,
"start": 153046,
"tag": "KEY",
"value": "thmfofpuparhszqe]clvrtngjajielkxre"
},
{
"context": "poitpubjorx[thmfofpuparhszqe]clvrtngjajielkxre[mfcjhfugpyymytri]moqcfkrpazshwvh\nfxskejrgulaixah[cwshxkapatrgudllu",
"end": 153097,
"score": 0.5262876153,
"start": 153084,
"tag": "KEY",
"value": "jhfugpyymytri"
},
{
"context": "mfofpuparhszqe]clvrtngjajielkxre[mfcjhfugpyymytri]moqcfkrpazshwvh\nfxskejrgulaixah[cwshxkapatrgudllubb]vgykjzaukwxoye",
"end": 153113,
"score": 0.5509311557,
"start": 153098,
"tag": "KEY",
"value": "moqcfkrpazshwvh"
},
{
"context": "vrtngjajielkxre[mfcjhfugpyymytri]moqcfkrpazshwvh\nfxskejrgulaixah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavd",
"end": 153129,
"score": 0.5332219005,
"start": 153115,
"tag": "KEY",
"value": "xskejrgulaixah"
},
{
"context": "gpyymytri]moqcfkrpazshwvh\nfxskejrgulaixah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[ds",
"end": 153140,
"score": 0.5053898096,
"start": 153138,
"tag": "KEY",
"value": "at"
},
{
"context": "moqcfkrpazshwvh\nfxskejrgulaixah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxi",
"end": 153149,
"score": 0.5130167007,
"start": 153148,
"tag": "KEY",
"value": "b"
},
{
"context": "xskejrgulaixah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpi",
"end": 153169,
"score": 0.5104658008,
"start": 153165,
"tag": "KEY",
"value": "cosg"
},
{
"context": "ulaixah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[",
"end": 153174,
"score": 0.5284650922,
"start": 153172,
"tag": "KEY",
"value": "fy"
},
{
"context": "xah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxka",
"end": 153178,
"score": 0.5133485198,
"start": 153176,
"tag": "KEY",
"value": "av"
},
{
"context": "kapatrgudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflx",
"end": 153187,
"score": 0.5440207124,
"start": 153185,
"tag": "KEY",
"value": "wa"
},
{
"context": "gudllubb]vgykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]d",
"end": 153192,
"score": 0.5054962039,
"start": 153191,
"tag": "KEY",
"value": "h"
},
{
"context": "gykjzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvg",
"end": 153203,
"score": 0.5053433776,
"start": 153201,
"tag": "KEY",
"value": "va"
},
{
"context": "jzaukwxoyeucosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nz",
"end": 153209,
"score": 0.5155591369,
"start": 153204,
"tag": "KEY",
"value": "jsxfq"
},
{
"context": "cosg\nmgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblx",
"end": 153223,
"score": 0.5303367376,
"start": 153215,
"tag": "KEY",
"value": "xbmpiilm"
},
{
"context": "eymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcj",
"end": 153234,
"score": 0.5362924337,
"start": 153229,
"tag": "KEY",
"value": "jvwgw"
},
{
"context": "a[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsx",
"end": 153237,
"score": 0.5055294037,
"start": 153236,
"tag": "KEY",
"value": "x"
},
{
"context": "svhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsxrdm",
"end": 153240,
"score": 0.5361241102,
"start": 153239,
"tag": "KEY",
"value": "u"
},
{
"context": "fiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlah",
"end": 153254,
"score": 0.528546989,
"start": 153244,
"tag": "KEY",
"value": "qicbsmzvgt"
},
{
"context": "xfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlahispb",
"end": 153257,
"score": 0.5513348579,
"start": 153256,
"tag": "KEY",
"value": "m"
},
{
"context": "njgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlahispbjdyxqx[tuqafqcjrxn",
"end": 153276,
"score": 0.5612408519,
"start": 153260,
"tag": "KEY",
"value": "qnynrdbdtqblxnww"
},
{
"context": "jvwgwflxnnu]denqicbsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlahispbjdyxqx[tuqafqcjrxnybeksh]imhkfmqdjiyf",
"end": 153295,
"score": 0.5408098102,
"start": 153279,
"tag": "KEY",
"value": "bnvcjtsxrdmasqtn"
},
{
"context": "bsmzvgtcxm\nzfqnynrdbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlahispbjdyxqx[tuqafqcjrxnybeksh]imhkfmqdjiyfoqp[oennqnvdpveoija",
"end": 153314,
"score": 0.5547280908,
"start": 153297,
"tag": "KEY",
"value": "oganlahispbjdyxqx"
},
{
"context": "dbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlahispbjdyxqx[tuqafqcjrxnybeksh]imhkfmqdjiyfoqp[oennqnvdpveoija]vljstbhqatpwvkbg\n",
"end": 153332,
"score": 0.5375838876,
"start": 153315,
"tag": "KEY",
"value": "tuqafqcjrxnybeksh"
},
{
"context": "sxrdmasqtn]yoganlahispbjdyxqx[tuqafqcjrxnybeksh]imhkfmqdjiyfoqp[oennqnvdpveoija]vljstbhqatpwvkbg\nlpzjqfcipce",
"end": 153343,
"score": 0.5344022512,
"start": 153335,
"tag": "KEY",
"value": "hkfmqdji"
},
{
"context": "n]yoganlahispbjdyxqx[tuqafqcjrxnybeksh]imhkfmqdjiyfoqp[oennqnvdpveoija]vljstbhqatpwvkbg\nlpzjqfcipceweps[",
"end": 153348,
"score": 0.5202471018,
"start": 153344,
"tag": "KEY",
"value": "foqp"
},
{
"context": "qx[tuqafqcjrxnybeksh]imhkfmqdjiyfoqp[oennqnvdpveoija]vljstbhqatpwvkbg\nlpzjqfcipceweps[indnzphetquilkxn",
"end": 153364,
"score": 0.5202751756,
"start": 153362,
"tag": "KEY",
"value": "ja"
},
{
"context": "beksh]imhkfmqdjiyfoqp[oennqnvdpveoija]vljstbhqatpwvkbg\nlpzjqfcipceweps[indnzphetquilkxnds]oxyivnjttcuect",
"end": 153381,
"score": 0.5127977133,
"start": 153377,
"tag": "KEY",
"value": "vkbg"
},
{
"context": "ps[indnzphetquilkxnds]oxyivnjttcuectlyfy\ntfhhmfeomcdyuql[ioclczzniueodbtpbrp]wuiujzhxjbgdlqbm[iciypydykxiyqies]ptvkrvkragnibssly\nybllxqqxzjlhskqi[ytsvahdhxgwnwql]pzfzcnbxiypkpytv\ncchwtoevekjgyqqs[kizgrwqwbhebxlscmj]tjbuacerkadppftxdpn\nnofeoaawaeoepwekxty[mgapdpmakihrfzlfvpf]huhzkicazfkvjhgdvsp[eqtuybajdgdthtz]opgdgjzkrfejgawxn[umbakkosxdtfwcfh]dhukvukdwsevvcmt\nnhzmrmtfyhjpvbsi[jghcdhdrxermnhnrg]sasarolrztffxrvh[tafrflhiydopcqrx]hbrwebrzutugjnj[ejqrvlcpqxtiuqho]xjgvbnuvoxjdcpx\ndkizkqalwbetbepak[detgokxgkgyhrqzzbqq]rmwrqwolneotsyvq[fpffqdefoxfczyfb]dxwsppdngvyskdpfnbc\nygwbidlvlgwncfy[ouryypomwfwmnka]axlhgqfgvrfsmbs[zavmkhmkjzvpzlxpkag]bfewyvdthrjzmmjs\njwyxcjasntveqmblff[mudhpflnaxhhrphuwy]yyvtbzbohccozqj\nckfocickdlijiur[fejgtsphnigervnza]owlznrkbwqhkskgebbx[alnbdcgnktmjlnhig]dpfomgwzkqrpmicih[vovjambzftywljbxrgj]ihljubxxgrxrqpn\npygdmdnnbvnjlkacjfz[xwefajgruywjhysd]soepimqfbbhekifv[frdrobvsbwwkcyt",
"end": 154252,
"score": 0.6855737567,
"start": 153445,
"tag": "KEY",
"value": "cdyuql[ioclczzniueodbtpbrp]wuiujzhxjbgdlqbm[iciypydykxiyqies]ptvkrvkragnibssly\nybllxqqxzjlhskqi[ytsvahdhxgwnwql]pzfzcnbxiypkpytv\ncchwtoevekjgyqqs[kizgrwqwbhebxlscmj]tjbuacerkadppftxdpn\nnofeoaawaeoepwekxty[mgapdpmakihrfzlfvpf]huhzkicazfkvjhgdvsp[eqtuybajdgdthtz]opgdgjzkrfejgawxn[umbakkosxdtfwcfh]dhukvukdwsevvcmt\nnhzmrmtfyhjpvbsi[jghcdhdrxermnhnrg]sasarolrztffxrvh[tafrflhiydopcqrx]hbrwebrzutugjnj[ejqrvlcpqxtiuqho]xjgvbnuvoxjdcpx\ndkizkqalwbetbepak[detgokxgkgyhrqzzbqq]rmwrqwolneotsyvq[fpffqdefoxfczyfb]dxwsppdngvyskdpfnbc\nygwbidlvlgwncfy[ouryypomwfwmnka]axlhgqfgvrfsmbs[zavmkhmkjzvpzlxpkag]bfewyvdthrjzmmjs\njwyxcjasntveqmblff[mudhpflnaxhhrphuwy]yyvtbzbohccozqj\nckfocickdlijiur[fejgtsphnigervnza]owlznrkbwqhkskgebbx[alnbdcgnktmjlnhig]dpfomgwzkqrpmicih[vovjambzftywljbxrgj]ihljubxxgrxrqpn\npygdmdnnbvnjlkacjfz"
},
{
"context": "zftywljbxrgj]ihljubxxgrxrqpn\npygdmdnnbvnjlkacjfz[xwefajgruywjhysd]soepimqfbbhekifv[frdrobvsbwwkcytfv]asz",
"end": 154258,
"score": 0.5739436746,
"start": 154254,
"tag": "KEY",
"value": "wefa"
},
{
"context": "ljbxrgj]ihljubxxgrxrqpn\npygdmdnnbvnjlkacjfz[xwefajgruywjhysd]soepimqfbbhekifv[frdrobvsbwwkcytfv]aszgyodinewnrf",
"end": 154269,
"score": 0.5317525268,
"start": 154259,
"tag": "KEY",
"value": "gruywjhysd"
},
{
"context": "pn\npygdmdnnbvnjlkacjfz[xwefajgruywjhysd]soepimqfbbhekifv[frdrobvsbwwkcytfv]aszgyodinewnrfdhh[wztqipflz",
"end": 154282,
"score": 0.5206439495,
"start": 154280,
"tag": "KEY",
"value": "he"
},
{
"context": "pygdmdnnbvnjlkacjfz[xwefajgruywjhysd]soepimqfbbhekifv[frdrobvsbwwkcytfv]aszgyodinewnrfdhh[wztqipflzlrw",
"end": 154285,
"score": 0.5046986938,
"start": 154283,
"tag": "KEY",
"value": "if"
},
{
"context": "bwwkcytfv]aszgyodinewnrfdhh[wztqipflzlrwmpxefga]bxviyixobyldmkln\nqujnmepaefnkxgrrg[yxdnlyihixwasibuy]qtmnryswxwzkuqw[ozuwcixlzlbiacy",
"end": 154377,
"score": 0.5850684643,
"start": 154345,
"tag": "KEY",
"value": "viyixobyldmkln\nqujnmepaefnkxgrrg"
},
{
"context": "pflzlrwmpxefga]bxviyixobyldmkln\nqujnmepaefnkxgrrg[yxdnlyihixwasibuy]qtmnryswxwzkuqw[ozuwcixlzlbiacytv]oylpudpmjaqgwfq",
"end": 154395,
"score": 0.5702204108,
"start": 154378,
"tag": "KEY",
"value": "yxdnlyihixwasibuy"
},
{
"context": "iyixobyldmkln\nqujnmepaefnkxgrrg[yxdnlyihixwasibuy]qtmnryswxwzkuqw[ozuwcixlzlbiacytv]oylpudpmjaqgwfqvsb[wljtqzfawkmr",
"end": 154411,
"score": 0.561910212,
"start": 154396,
"tag": "KEY",
"value": "qtmnryswxwzkuqw"
},
{
"context": "jnmepaefnkxgrrg[yxdnlyihixwasibuy]qtmnryswxwzkuqw[ozuwcixlzlbiacytv]oylpudpmjaqgwfqvsb[wljtqzfawkmrnkgkvla]kgdvfppcbpyazklfdk\nijkbhnjcxg",
"end": 154448,
"score": 0.5540856719,
"start": 154412,
"tag": "KEY",
"value": "ozuwcixlzlbiacytv]oylpudpmjaqgwfqvsb"
},
{
"context": "nryswxwzkuqw[ozuwcixlzlbiacytv]oylpudpmjaqgwfqvsb[wljtqzfawkmrnkgkvla]kgdvfppcbpyazklfdk\nijkbhnjcxgsslwtkuca[pxpiyixylcuudtwbt]ooerzoxehuqynhzmhwn[ynmgxzstfaw",
"end": 154507,
"score": 0.5615378022,
"start": 154449,
"tag": "KEY",
"value": "wljtqzfawkmrnkgkvla]kgdvfppcbpyazklfdk\nijkbhnjcxgsslwtkuca"
},
{
"context": "kmrnkgkvla]kgdvfppcbpyazklfdk\nijkbhnjcxgsslwtkuca[pxpiyixylcuudtwbt]ooerzoxehuqynhzmhwn[ynmgxzstfawvqihdhoa]bdrhyquybjddpuroto[fhnnpsgnxlnoiiqcml]oaibnvvqupilprgcyiw\ndfqizqapoxvqvqixvm[mgrrcrzvjkncxlmq]xqcxnymsyxbtfebdgy[hfdfaxiuiexfd",
"end": 154642,
"score": 0.6059006453,
"start": 154508,
"tag": "KEY",
"value": "pxpiyixylcuudtwbt]ooerzoxehuqynhzmhwn[ynmgxzstfawvqihdhoa]bdrhyquybjddpuroto[fhnnpsgnxlnoiiqcml]oaibnvvqupilprgcyiw\ndfqizqapoxvqvqixvm"
},
{
"context": "xlnoiiqcml]oaibnvvqupilprgcyiw\ndfqizqapoxvqvqixvm[mgrrcrzvjkncxlmq]xqcxnymsyxbtfebdgy[hfdfaxiuiexfdhy]flyhvoppwzigjxlytu\nqlakotkuqswwtq",
"end": 154678,
"score": 0.5571644902,
"start": 154643,
"tag": "KEY",
"value": "mgrrcrzvjkncxlmq]xqcxnymsyxbtfebdgy"
},
{
"context": "qapoxvqvqixvm[mgrrcrzvjkncxlmq]xqcxnymsyxbtfebdgy[hfdfaxiuiexfdhy]flyhvoppwzigjxlytu\nqlakotkuqswwtqx[xnpcrmswyqolvy",
"end": 154694,
"score": 0.5354827046,
"start": 154679,
"tag": "KEY",
"value": "hfdfaxiuiexfdhy"
},
{
"context": "rrcrzvjkncxlmq]xqcxnymsyxbtfebdgy[hfdfaxiuiexfdhy]flyhvoppwzigjxlytu\nqlakotkuqswwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rr",
"end": 154713,
"score": 0.5627086163,
"start": 154695,
"tag": "KEY",
"value": "flyhvoppwzigjxlytu"
},
{
"context": "msyxbtfebdgy[hfdfaxiuiexfdhy]flyhvoppwzigjxlytu\nqlakotkuqswwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]",
"end": 154729,
"score": 0.543407917,
"start": 154716,
"tag": "KEY",
"value": "akotkuqswwtqx"
},
{
"context": "dfaxiuiexfdhy]flyhvoppwzigjxlytu\nqlakotkuqswwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiy",
"end": 154745,
"score": 0.5252092481,
"start": 154731,
"tag": "KEY",
"value": "npcrmswyqolvyp"
},
{
"context": "lyhvoppwzigjxlytu\nqlakotkuqswwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmquc",
"end": 154761,
"score": 0.5145514607,
"start": 154746,
"tag": "KEY",
"value": "limmsdyvzescvvt"
},
{
"context": "qlakotkuqswwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjr",
"end": 154766,
"score": 0.5047622919,
"start": 154764,
"tag": "KEY",
"value": "pv"
},
{
"context": "wwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslr",
"end": 154776,
"score": 0.5125894547,
"start": 154774,
"tag": "KEY",
"value": "hy"
},
{
"context": "[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\n",
"end": 154784,
"score": 0.5239727497,
"start": 154779,
"tag": "KEY",
"value": "amdxf"
},
{
"context": "mswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufkl",
"end": 154790,
"score": 0.5127624869,
"start": 154785,
"tag": "KEY",
"value": "neigg"
},
{
"context": "limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdl",
"end": 154798,
"score": 0.5045723915,
"start": 154796,
"tag": "KEY",
"value": "uv"
},
{
"context": "vzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[of",
"end": 154805,
"score": 0.5046719313,
"start": 154803,
"tag": "KEY",
"value": "ue"
},
{
"context": "scvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[ofaql",
"end": 154808,
"score": 0.5126799345,
"start": 154806,
"tag": "KEY",
"value": "mm"
},
{
"context": "rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[ofaqlmhnwr",
"end": 154813,
"score": 0.5047412515,
"start": 154812,
"tag": "KEY",
"value": "b"
},
{
"context": "uflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[ofaqlmhnwrwhjlleyt]dixgr",
"end": 154827,
"score": 0.5239599347,
"start": 154819,
"tag": "KEY",
"value": "mobjslro"
},
{
"context": "dxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[ofaqlmhnwrwhjlleyt]dixgrgkhhby",
"end": 154833,
"score": 0.5200616717,
"start": 154831,
"tag": "KEY",
"value": "la"
},
{
"context": "eiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[ofaqlmhnwrwhjlleyt]dixgrgkhhbyopqkz",
"end": 154838,
"score": 0.5125056505,
"start": 154836,
"tag": "KEY",
"value": "uf"
},
{
"context": "iyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla\naiufklgicgwxdlaefc[ofaqlmhnwrwhjlleyt]dixgrgkhhbyopqkzmt[zhqu",
"end": 154845,
"score": 0.5051754713,
"start": 154843,
"tag": "KEY",
"value": "gw"
},
{
"context": "iorh]einnvliwbxhjzxx[rkeenlrteubkvgrpmms]qbrpoghwjttgawgstt\ntyiexegppbtbxzovpb[yljnqybbavpwbwmvg]unbjhlrkpjrqbxrtpof[bvbfvhvgtawgpydlnn]phdnwsbwbljkqchww[galszmgwroduckhyyqa]wgfbqlipsvntmnspge\ngmnkhnuwwojgyybh[ivxthnkhjaevliiberd]crpicsxuksahuebnk[vogumtrrqupdjhtvmi]pcezvomttzmdgtelfq\nkwvkuklbkgbxoyqo[cckuhlseweoukudp]kuvdtzbjeoormufjn\newqcguiyodbjoxu[qgqtmjabzxbzjua]twmhfdmuudjrqjpge[xexjbzjvrungbvvmry]yuazblohcojrddhfzg\nirustuljdmhlqrettvb[dgsukspodhlhcqabx]auntsiybdcfgxjmsiqy[oqscrcekuibymdwfcy]dmxibunjfmqjoeajyi\nppvngsfdficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkiko",
"end": 155752,
"score": 0.6309295297,
"start": 155262,
"tag": "KEY",
"value": "ttgawgstt\ntyiexegppbtbxzovpb[yljnqybbavpwbwmvg]unbjhlrkpjrqbxrtpof[bvbfvhvgtawgpydlnn]phdnwsbwbljkqchww[galszmgwroduckhyyqa]wgfbqlipsvntmnspge\ngmnkhnuwwojgyybh[ivxthnkhjaevliiberd]crpicsxuksahuebnk[vogumtrrqupdjhtvmi]pcezvomttzmdgtelfq\nkwvkuklbkgbxoyqo[cckuhlseweoukudp]kuvdtzbjeoormufjn\newqcguiyodbjoxu[qgqtmjabzxbzjua]twmhfdmuudjrqjpge[xexjbzjvrungbvvmry]yuazblohcojrddhfzg\nirustuljdmhlqrettvb[dgsukspodhlhcqabx]auntsiybdcfgxjmsiqy[oqscrcekuibymdwfcy]dmxibunjfmqjoeajyi\nppvngsfdficcpbmbze"
},
{
"context": "uibymdwfcy]dmxibunjfmqjoeajyi\nppvngsfdficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yq",
"end": 155758,
"score": 0.548086524,
"start": 155754,
"tag": "KEY",
"value": "caze"
},
{
"context": "wfcy]dmxibunjfmqjoeajyi\nppvngsfdficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yqrsgecz",
"end": 155764,
"score": 0.5494129062,
"start": 155760,
"tag": "KEY",
"value": "fowc"
},
{
"context": "xibunjfmqjoeajyi\nppvngsfdficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yqrsgeczwcwjb",
"end": 155769,
"score": 0.574698925,
"start": 155767,
"tag": "KEY",
"value": "ww"
},
{
"context": "unjfmqjoeajyi\nppvngsfdficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yqrsgeczwcwjbqfhfw\niniqgrqelaihnl",
"end": 155789,
"score": 0.5669367909,
"start": 155770,
"tag": "KEY",
"value": "wmphalytgunmpjqatau"
},
{
"context": "dficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yqrsgeczwcwjbqfhfw\niniqgrqelaihnllono[cydssebiyef",
"end": 155805,
"score": 0.5528210998,
"start": 155791,
"tag": "KEY",
"value": "nhrljcdkikordx"
},
{
"context": "zeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yqrsgeczwcwjbqfhfw\niniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldml",
"end": 155824,
"score": 0.5676039457,
"start": 155806,
"tag": "KEY",
"value": "yqrsgeczwcwjbqfhfw"
},
{
"context": "gunmpjqatau[qnhrljcdkikordx]yqrsgeczwcwjbqfhfw\niniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsi",
"end": 155843,
"score": 0.5557040572,
"start": 155828,
"tag": "KEY",
"value": "qgrqelaihnllono"
},
{
"context": "cdkikordx]yqrsgeczwcwjbqfhfw\niniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgao",
"end": 155852,
"score": 0.5208369493,
"start": 155846,
"tag": "KEY",
"value": "dssebi"
},
{
"context": "]yqrsgeczwcwjbqfhfw\niniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziin",
"end": 155862,
"score": 0.5287636518,
"start": 155855,
"tag": "KEY",
"value": "nljxfdh"
},
{
"context": "zwcwjbqfhfw\niniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzod",
"end": 155870,
"score": 0.5344462395,
"start": 155863,
"tag": "KEY",
"value": "ljpqnie"
},
{
"context": "w\niniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluh",
"end": 155879,
"score": 0.5539251566,
"start": 155873,
"tag": "KEY",
"value": "mltrpp"
},
{
"context": "elaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gq",
"end": 155886,
"score": 0.5520795584,
"start": 155882,
"tag": "KEY",
"value": "jmjf"
},
{
"context": "ono[cydssebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqv",
"end": 155896,
"score": 0.5107736588,
"start": 155890,
"tag": "KEY",
"value": "csixsg"
},
{
"context": "ebiyefnljxfdh]ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]",
"end": 155901,
"score": 0.5211453438,
"start": 155899,
"tag": "KEY",
"value": "ga"
},
{
"context": "ljpqnievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncs",
"end": 155915,
"score": 0.5206462741,
"start": 155913,
"tag": "KEY",
"value": "qe"
},
{
"context": "ievldmltrpp\njzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpj",
"end": 155933,
"score": 0.5317107439,
"start": 155918,
"tag": "KEY",
"value": "odtodhvkiluhuzf"
},
{
"context": "fifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[od",
"end": 155939,
"score": 0.5209504366,
"start": 155935,
"tag": "KEY",
"value": "qjgu"
},
{
"context": "sixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odosl",
"end": 155942,
"score": 0.5134005547,
"start": 155941,
"tag": "KEY",
"value": "l"
},
{
"context": "gaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odoslhoqgocou",
"end": 155950,
"score": 0.5365715027,
"start": 155949,
"tag": "KEY",
"value": "a"
},
{
"context": "ofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odoslhoqgocoumxf]vodkzgngms",
"end": 155964,
"score": 0.5287860632,
"start": 155951,
"tag": "KEY",
"value": "gwzpfqfyfxnnc"
},
{
"context": "odtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odoslhoqgocoumxf]vodkzgngmshtzwj",
"end": 155968,
"score": 0.5361885428,
"start": 155968,
"tag": "KEY",
"value": ""
},
{
"context": "todhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odoslhoqgocoumxf]vodkzgngmshtzwjpgbn[rrhzqlqeixvx",
"end": 155986,
"score": 0.5422816873,
"start": 155970,
"tag": "KEY",
"value": "dnmdicwnjwgpjqdw"
},
{
"context": "yslrtqvcesa]gwzpfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odoslhoqgocoumxf]vodkzgngmshtzwjpgbn[rrhzqlqeixvxjbaldp]xsvbscotku",
"end": 156003,
"score": 0.5326324701,
"start": 155989,
"tag": "KEY",
"value": "oslhoqgocoumxf"
},
{
"context": "pfqfyfxnncsemb\ngdnmdicwnjwgpjqdw[odoslhoqgocoumxf]vodkzgngmshtzwjpgbn[rrhzqlqeixvxjbaldp]xsvbscotkujitex\nnnewsdtgggcgia",
"end": 156023,
"score": 0.5440385938,
"start": 156004,
"tag": "KEY",
"value": "vodkzgngmshtzwjpgbn"
},
{
"context": "wnjwgpjqdw[odoslhoqgocoumxf]vodkzgngmshtzwjpgbn[rrhzqlqeixvxjbaldp]xsvbscotkujitex\nnnewsdtgggcgiawo[kmuweskiapswdskg",
"end": 156042,
"score": 0.5189124346,
"start": 156026,
"tag": "KEY",
"value": "hzqlqeixvxjbaldp"
},
{
"context": "qgocoumxf]vodkzgngmshtzwjpgbn[rrhzqlqeixvxjbaldp]xsvbscotkujitex\nnnewsdtgggcgiawo[kmuweskiapswdskgosj]avjieesxujtq",
"end": 156058,
"score": 0.5417758822,
"start": 156044,
"tag": "KEY",
"value": "svbscotkujitex"
},
{
"context": "fradlqinyzfzf[abgygmhhsksnvso]kntwamrohagtdrsm\nernvshbquyjfymdthx[jjshkcpnxftyopjayzm]yidkdkommeyieirf[zxxkwqqlsgxpcdwlgq]zpjrhkyjkdkxoufwlx\npnevxgcsnqcdezwf[mnftbwqkrfmwcgp]rkmeslzoffovqheq[vxdcnglifignqqx]xiofsoyrslgyfrxl\nbjehvbcqagyczepreos[swecagoxtwhtmzsjxt]ihbrujlisjdftzpfll\nbdczzogwjpcdwyq[jptlwjoskogbhfcdu]sbfatvcosbvikmvm[njvcfwokqbtynugffu]qwhsgaqfunpacmimzhp[mulicnvulazcycscjye]oycycatwylztksmrfh\nidpyubomejrcwurt[idytppqynyqvdajevmk]mykbzkihnmfcnfg[ghfxtsrfkqppejwgen]rsalcongusjamgcltti\ngutkiuskjq",
"end": 157526,
"score": 0.6093497276,
"start": 157113,
"tag": "KEY",
"value": "vshbquyjfymdthx[jjshkcpnxftyopjayzm]yidkdkommeyieirf[zxxkwqqlsgxpcdwlgq]zpjrhkyjkdkxoufwlx\npnevxgcsnqcdezwf[mnftbwqkrfmwcgp]rkmeslzoffovqheq[vxdcnglifignqqx]xiofsoyrslgyfrxl\nbjehvbcqagyczepreos[swecagoxtwhtmzsjxt]ihbrujlisjdftzpfll\nbdczzogwjpcdwyq[jptlwjoskogbhfcdu]sbfatvcosbvikmvm[njvcfwokqbtynugffu]qwhsgaqfunpacmimzhp[mulicnvulazcycscjye]oycycatwylztksmrfh\nidpyubomejrcwurt[idytppqynyqvdajevmk]mykbzkihnmfcnfg"
},
{
"context": "yubomejrcwurt[idytppqynyqvdajevmk]mykbzkihnmfcnfg[ghfxtsrfkqppejwgen]rsalcongusjamgcltti\ngutkiuskjqzvbau[vqhivilwddgfrckjc]gpkuhglnqnlzndpl[tywjgkqskbdlsv",
"end": 157581,
"score": 0.5696130991,
"start": 157527,
"tag": "KEY",
"value": "ghfxtsrfkqppejwgen]rsalcongusjamgcltti\ngutkiuskjqzvbau"
},
{
"context": "rfkqppejwgen]rsalcongusjamgcltti\ngutkiuskjqzvbau[vqhivilwddgfrckjc]gpkuhglnqnlzndpl[tywjgkqskbdlsvf]bkwvgkdcxvdlvplm",
"end": 157599,
"score": 0.5529468656,
"start": 157583,
"tag": "KEY",
"value": "qhivilwddgfrckjc"
},
{
"context": "congusjamgcltti\ngutkiuskjqzvbau[vqhivilwddgfrckjc]gpkuhglnqnlzndpl[tywjgkqskbdlsvf]bkwvgkdcxvdlvplmza[yeqeuyzuoqbypn",
"end": 157616,
"score": 0.5537552834,
"start": 157600,
"tag": "KEY",
"value": "gpkuhglnqnlzndpl"
},
{
"context": "kiuskjqzvbau[vqhivilwddgfrckjc]gpkuhglnqnlzndpl[tywjgkqskbdlsvf]bkwvgkdcxvdlvplmza[yeqeuyzuoqbypnwg]wsqmblkggadab",
"end": 157632,
"score": 0.5298368931,
"start": 157619,
"tag": "KEY",
"value": "wjgkqskbdlsvf"
},
{
"context": "qhivilwddgfrckjc]gpkuhglnqnlzndpl[tywjgkqskbdlsvf]bkwvgkdcxvdlvplmza[yeqeuyzuoqbypnwg]wsqmblkggadabss\nzgirdbsohsmusxbi",
"end": 157651,
"score": 0.5604004264,
"start": 157633,
"tag": "KEY",
"value": "bkwvgkdcxvdlvplmza"
},
{
"context": "glnqnlzndpl[tywjgkqskbdlsvf]bkwvgkdcxvdlvplmza[yeqeuyzuoqbypnwg]wsqmblkggadabss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzu",
"end": 157668,
"score": 0.5298095345,
"start": 157655,
"tag": "KEY",
"value": "euyzuoqbypnwg"
},
{
"context": "wjgkqskbdlsvf]bkwvgkdcxvdlvplmza[yeqeuyzuoqbypnwg]wsqmblkggadabss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdru",
"end": 157684,
"score": 0.5433908701,
"start": 157669,
"tag": "KEY",
"value": "wsqmblkggadabss"
},
{
"context": "gkdcxvdlvplmza[yeqeuyzuoqbypnwg]wsqmblkggadabss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcuk",
"end": 157703,
"score": 0.5418190956,
"start": 157687,
"tag": "KEY",
"value": "irdbsohsmusxbiqm"
},
{
"context": "uyzuoqbypnwg]wsqmblkggadabss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]v",
"end": 157708,
"score": 0.5056295395,
"start": 157706,
"tag": "KEY",
"value": "ui"
},
{
"context": "ypnwg]wsqmblkggadabss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]vdwcmqmrs",
"end": 157716,
"score": 0.5097060204,
"start": 157713,
"tag": "KEY",
"value": "gcw"
},
{
"context": "kggadabss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]vdwcmqmrsnedjnvsomy",
"end": 157726,
"score": 0.5292496085,
"start": 157725,
"tag": "KEY",
"value": "j"
},
{
"context": "bss\nzgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]vdwcmqmrsnedjnvsomy[cmmaoebs",
"end": 157735,
"score": 0.5250593424,
"start": 157731,
"tag": "KEY",
"value": "bdru"
},
{
"context": "nuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]vdwcmqmrsnedjnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzf",
"end": 157756,
"score": 0.5135074854,
"start": 157755,
"tag": "KEY",
"value": "p"
},
{
"context": "zmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]vdwcmqmrsnedjnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzfdxl\nwi",
"end": 157762,
"score": 0.5055342317,
"start": 157760,
"tag": "KEY",
"value": "cm"
},
{
"context": "vkslkcukfdp]vdwcmqmrsnedjnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]a",
"end": 157796,
"score": 0.5059580207,
"start": 157795,
"tag": "KEY",
"value": "g"
},
{
"context": "vdwcmqmrsnedjnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgu",
"end": 157809,
"score": 0.5132194757,
"start": 157807,
"tag": "KEY",
"value": "xl"
},
{
"context": "mqmrsnedjnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedg",
"end": 157818,
"score": 0.5155083537,
"start": 157811,
"tag": "KEY",
"value": "imnreyg"
},
{
"context": "jnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqm",
"end": 157821,
"score": 0.5134933591,
"start": 157819,
"tag": "KEY",
"value": "gb"
},
{
"context": "y[cmmaoebsohfrnqu]bzgstdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiu",
"end": 157828,
"score": 0.5173291564,
"start": 157825,
"tag": "KEY",
"value": "qrn"
},
{
"context": "bzgstdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvy",
"end": 157844,
"score": 0.521287024,
"start": 157843,
"tag": "KEY",
"value": "r"
},
{
"context": "tdhoneuzfdxl\nwimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunz",
"end": 157864,
"score": 0.5176532269,
"start": 157847,
"tag": "KEY",
"value": "nmgyvkwfnwfgudiks"
},
{
"context": "gvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[",
"end": 157870,
"score": 0.5134907961,
"start": 157867,
"tag": "KEY",
"value": "gbq"
},
{
"context": "vafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdce",
"end": 157874,
"score": 0.5135825276,
"start": 157872,
"tag": "KEY",
"value": "al"
},
{
"context": "roxfavuvgvwirr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdcecrxescwv",
"end": 157882,
"score": 0.5444419384,
"start": 157880,
"tag": "KEY",
"value": "mm"
},
{
"context": "irr]avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdcecrxescwvlxmpi]gkfip",
"end": 157893,
"score": 0.5056934357,
"start": 157891,
"tag": "KEY",
"value": "tv"
},
{
"context": "avnmgyvkwfnwfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdcecrxescwvlxmpi]gkfipuqdc",
"end": 157897,
"score": 0.5211092234,
"start": 157895,
"tag": "KEY",
"value": "hw"
},
{
"context": "wfgudiks\nedgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdcecrxescwvlxmpi]gkfipuqdcpcqodcptya[",
"end": 157908,
"score": 0.5056963563,
"start": 157906,
"tag": "KEY",
"value": "ph"
},
{
"context": "gbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdcecrxescwvlxmpi]gkfipuqdcpcqodcptya[pmdbisdhifo",
"end": 157919,
"score": 0.5132796168,
"start": 157917,
"tag": "KEY",
"value": "am"
},
{
"context": "dialab]wjucsoipfxzkkzwm\nxmurhwryxntmdwwv[bveccegjmwnppgio]rbnnbsqzutgyoign\nkoftdywagyijtsi[amffypsbtekqlbvlli]avskrcxhiysqqgjja[ixrtkpjnrhljddqzt]ekluhurkjnhlzaudnrj\nvqbrbgtnvazwyixug[yrmuvykapxyyqxus]ehhkvomrgnlsofbd[mgwdwrvjwhhuynogqv]nyjsgnomdxwabameuss\nupixiwerfsjxjvecmo[lhlmklygfmbxljvptf]qnlxnzoekmyoggtsmtm[wqvqbaemhanfxldq]msobqxpmwqyauii[khuvobspvluvghjhcjm]ysvqvfsfyanmyrbuxnw\nxeawztjrtohpimzkw[umvqxdfhsyyxsimzj]kyhlrkyxcnyupqmp\nhqzlqinkcowqqzp[vhdaljgjjfqhlrjj]gmsyhpvpblkaxiox[vhbjqxseofvbvzbshv]ecirxnvxadesrbvn\npuqpygmwhwskicogo[lbkrenbngbzoljzuoo]tndvmvztkssolnom\ndbswyuxfrnypetkm[lyuajkvfqzwpuon]oorgrpkhwwgtpzxc[guszbthjnajqffsofme]vcqjstfdtrxcuscz\nclhtmgyxqbrzeipksw[mwuhcxpahefneke]bssxlwoelrrgsqcicz[yyrkfjczqdsglltdjz]xscwwnkcwstkpxto\najsijhedwsivzvngsr[eqorzqparxhrbesw]lyvxgqgqguifrpuj\nsqtxgdsfkbhljmt[ndqljydrgqwwqjayc]lttwcrsejwxgxkuawgm[nefpbdmgtizfijyt]dcxacpeeyuzkemb[otnbznolvwiervj]hdcjffxyhtqdjmaipj\nkvohguactjmqrluci[tefqrqmjpzpsazfoe]ptxqfezuvtxph",
"end": 158901,
"score": 0.7720499039,
"start": 158019,
"tag": "KEY",
"value": "wnppgio]rbnnbsqzutgyoign\nkoftdywagyijtsi[amffypsbtekqlbvlli]avskrcxhiysqqgjja[ixrtkpjnrhljddqzt]ekluhurkjnhlzaudnrj\nvqbrbgtnvazwyixug[yrmuvykapxyyqxus]ehhkvomrgnlsofbd[mgwdwrvjwhhuynogqv]nyjsgnomdxwabameuss\nupixiwerfsjxjvecmo[lhlmklygfmbxljvptf]qnlxnzoekmyoggtsmtm[wqvqbaemhanfxldq]msobqxpmwqyauii[khuvobspvluvghjhcjm]ysvqvfsfyanmyrbuxnw\nxeawztjrtohpimzkw[umvqxdfhsyyxsimzj]kyhlrkyxcnyupqmp\nhqzlqinkcowqqzp[vhdaljgjjfqhlrjj]gmsyhpvpblkaxiox[vhbjqxseofvbvzbshv]ecirxnvxadesrbvn\npuqpygmwhwskicogo[lbkrenbngbzoljzuoo]tndvmvztkssolnom\ndbswyuxfrnypetkm[lyuajkvfqzwpuon]oorgrpkhwwgtpzxc[guszbthjnajqffsofme]vcqjstfdtrxcuscz\nclhtmgyxqbrzeipksw[mwuhcxpahefneke]bssxlwoelrrgsqcicz[yyrkfjczqdsglltdjz]xscwwnkcwstkpxto\najsijhedwsivzvngsr[eqorzqparxhrbesw]lyvxgqgqguifrpuj\nsqtxgdsfkbhljmt[ndqljydrgqwwqjayc]lttwcrsejwxgxkuawgm[nefpbdmgtizfijyt]dcxacpeeyuzkemb[otnbznolvwiervj]hdcjffxyhtqdjmaipj"
},
{
"context": "xacpeeyuzkemb[otnbznolvwiervj]hdcjffxyhtqdjmaipj\nkvohguactjmqrluci[tefqrqmjpzpsazfoe]ptxqfezuvtxphvy\nwmaw",
"end": 158908,
"score": 0.6088100672,
"start": 158903,
"tag": "KEY",
"value": "vohgu"
},
{
"context": "hzvxyegxxedi]cupoduyjkdpyajhirg\nltabaysmmffenou[fiqduygbghbczdsjcs]drfpocohdrhunajvmu\nrklvlmyqqxbttuhuzos[bihsvfaluv",
"end": 160801,
"score": 0.5660387278,
"start": 160785,
"tag": "KEY",
"value": "qduygbghbczdsjcs"
},
{
"context": "duyjkdpyajhirg\nltabaysmmffenou[fiqduygbghbczdsjcs]drfpocohdrhunajvmu\nrklvlmyqqxbttuhuzos[bihsvfaluvhdwqwcz]gbrlkbxpivsd",
"end": 160820,
"score": 0.5513311625,
"start": 160802,
"tag": "KEY",
"value": "drfpocohdrhunajvmu"
},
{
"context": "smmffenou[fiqduygbghbczdsjcs]drfpocohdrhunajvmu\nrklvlmyqqxbttuhuzos[bihsvfaluvhdwqwcz]gbrlkbxpivsdykcjx[qoudfwhqcnbrm",
"end": 160840,
"score": 0.5779854059,
"start": 160823,
"tag": "KEY",
"value": "lvlmyqqxbttuhuzos"
},
{
"context": "ghbczdsjcs]drfpocohdrhunajvmu\nrklvlmyqqxbttuhuzos[bihsvfaluvhdwqwcz]gbrlkbxpivsdykcjx[qoudfwhqcnbrmru]npquvyoxliacxpr",
"end": 160858,
"score": 0.5825567245,
"start": 160841,
"tag": "KEY",
"value": "bihsvfaluvhdwqwcz"
},
{
"context": "hdrhunajvmu\nrklvlmyqqxbttuhuzos[bihsvfaluvhdwqwcz]gbrlkbxpivsdykcjx[qoudfwhqcnbrmru]npquvyoxliacxpr[txyzvzsszqedximge",
"end": 160876,
"score": 0.5809928179,
"start": 160859,
"tag": "KEY",
"value": "gbrlkbxpivsdykcjx"
},
{
"context": "yqqxbttuhuzos[bihsvfaluvhdwqwcz]gbrlkbxpivsdykcjx[qoudfwhqcnbrmru]npquvyoxliacxpr[txyzvzsszqedximgecr]srcqshisakuwljrulf\noiiruuqsds",
"end": 160908,
"score": 0.5825272202,
"start": 160877,
"tag": "KEY",
"value": "qoudfwhqcnbrmru]npquvyoxliacxpr"
},
{
"context": "rlkbxpivsdykcjx[qoudfwhqcnbrmru]npquvyoxliacxpr[txyzvzsszqedximgecr]srcqshisakuwljrulf\noiiruuqsdsjguri[qfzwehlhoinyhjv]jwayjxoutcbbsxquluz[kbgrvqmxzsukught]bgspboampsgsivvuwe[swvxxnjbmcpffrayd]txmyfolzjpxdvqzdtq\nresryrrtzhhnpbdrw[hnirhiummudhyylnky]gmwqolwapineiokcl[iqptxfvtgabq",
"end": 161090,
"score": 0.6026440263,
"start": 160911,
"tag": "KEY",
"value": "yzvzsszqedximgecr]srcqshisakuwljrulf\noiiruuqsdsjguri[qfzwehlhoinyhjv]jwayjxoutcbbsxquluz[kbgrvqmxzsukught]bgspboampsgsivvuwe[swvxxnjbmcpffrayd]txmyfolzjpxdvqzdtq\nresryrrtzhhnpbdrw"
},
{
"context": "njbmcpffrayd]txmyfolzjpxdvqzdtq\nresryrrtzhhnpbdrw[hnirhiummudhyylnky]gmwqolwapineiokcl[iqptxfvtgabqyxex]npeatmzdsfknpajsub\naqjfwyrtqtrhnxdmfq[xacmscejzrlppqhlziu]bxvptkrvkahygexqsub[vrzjqbhlp",
"end": 161182,
"score": 0.5838766694,
"start": 161091,
"tag": "KEY",
"value": "hnirhiummudhyylnky]gmwqolwapineiokcl[iqptxfvtgabqyxex]npeatmzdsfknpajsub\naqjfwyrtqtrhnxdmfq"
},
{
"context": "fvtgabqyxex]npeatmzdsfknpajsub\naqjfwyrtqtrhnxdmfq[xacmscejzrlppqhlziu]bxvptkrvkahygexqsub[vrzjqbhlpywxzenkod]lqvsohrjry",
"end": 161202,
"score": 0.5715164542,
"start": 161183,
"tag": "KEY",
"value": "xacmscejzrlppqhlziu"
},
{
"context": "sfknpajsub\naqjfwyrtqtrhnxdmfq[xacmscejzrlppqhlziu]bxvptkrvkahygexqsub[vrzjqbhlpywxzenkod]lqvsohrjrymprniyn\nobdgtytdzpcb",
"end": 161222,
"score": 0.5684818625,
"start": 161203,
"tag": "KEY",
"value": "bxvptkrvkahygexqsub"
},
{
"context": "trhnxdmfq[xacmscejzrlppqhlziu]bxvptkrvkahygexqsub[vrzjqbhlpywxzenkod]lqvsohrjrymprniyn\nobdgtytdzpcbnelm[scsrytqyknxdmz",
"end": 161241,
"score": 0.5577837229,
"start": 161223,
"tag": "KEY",
"value": "vrzjqbhlpywxzenkod"
},
{
"context": "rlppqhlziu]bxvptkrvkahygexqsub[vrzjqbhlpywxzenkod]lqvsohrjrymprniyn\nobdgtytdzpcbnelm[scsrytqyknxdmzugidh]fpbpxshhnyxed",
"end": 161259,
"score": 0.5493191481,
"start": 161242,
"tag": "KEY",
"value": "lqvsohrjrymprniyn"
},
{
"context": "ahygexqsub[vrzjqbhlpywxzenkod]lqvsohrjrymprniyn\nobdgtytdzpcbnelm[scsrytqyknxdmzugidh]fpbpxshhnyxedvvna[fgebgketwuc",
"end": 161276,
"score": 0.5427135825,
"start": 161262,
"tag": "KEY",
"value": "dgtytdzpcbnelm"
},
{
"context": "qbhlpywxzenkod]lqvsohrjrymprniyn\nobdgtytdzpcbnelm[scsrytqyknxdmzugidh]fpbpxshhnyxedvvna[fgebgketwucucajqip]cdmbxelnfsom",
"end": 161296,
"score": 0.5493468046,
"start": 161277,
"tag": "KEY",
"value": "scsrytqyknxdmzugidh"
},
{
"context": "hrjrymprniyn\nobdgtytdzpcbnelm[scsrytqyknxdmzugidh]fpbpxshhnyxedvvna[fgebgketwucucajqip]cdmbxelnfsomsguvxdu\nyuluzhzwsf",
"end": 161314,
"score": 0.5396315455,
"start": 161297,
"tag": "KEY",
"value": "fpbpxshhnyxedvvna"
},
{
"context": "ytdzpcbnelm[scsrytqyknxdmzugidh]fpbpxshhnyxedvvna[fgebgketwucucajqip]cdmbxelnfsomsguvxdu\nyuluzhzwsfvngixjn[gjmdiyftbqi",
"end": 161333,
"score": 0.5439505577,
"start": 161315,
"tag": "KEY",
"value": "fgebgketwucucajqip"
},
{
"context": "yknxdmzugidh]fpbpxshhnyxedvvna[fgebgketwucucajqip]cdmbxelnfsomsguvxdu\nyuluzhzwsfvngixjn[gjmdiyftbqimhxiv]gxjmpelluljxmu",
"end": 161353,
"score": 0.5417041779,
"start": 161334,
"tag": "KEY",
"value": "cdmbxelnfsomsguvxdu"
},
{
"context": "nyxedvvna[fgebgketwucucajqip]cdmbxelnfsomsguvxdu\nyuluzhzwsfvngixjn[gjmdiyftbqimhxiv]gxjmpelluljxmuhz\nicsqqjcnwckhsko",
"end": 161371,
"score": 0.5419943333,
"start": 161355,
"tag": "KEY",
"value": "uluzhzwsfvngixjn"
},
{
"context": "ucucajqip]cdmbxelnfsomsguvxdu\nyuluzhzwsfvngixjn[gjmdiyftbqimhxiv]gxjmpelluljxmuhz\nicsqqjcnwckhskoc[rhanawaofgbzenh",
"end": 161388,
"score": 0.5260329247,
"start": 161374,
"tag": "KEY",
"value": "mdiyftbqimhxiv"
},
{
"context": "fsomsguvxdu\nyuluzhzwsfvngixjn[gjmdiyftbqimhxiv]gxjmpelluljxmuhz\nicsqqjcnwckhskoc[rhanawaofgbzenhxtfl]vsvuwijhjn",
"end": 161403,
"score": 0.5309776664,
"start": 161392,
"tag": "KEY",
"value": "mpelluljxmu"
},
{
"context": "vngixjn[gjmdiyftbqimhxiv]gxjmpelluljxmuhz\nicsqqjcnwckhskoc[rhanawaofgbzenhxtfl]vsvuwijhjnaurwlb\nzbqzy",
"end": 161415,
"score": 0.5142213702,
"start": 161414,
"tag": "KEY",
"value": "w"
},
{
"context": "ixjn[gjmdiyftbqimhxiv]gxjmpelluljxmuhz\nicsqqjcnwckhskoc[rhanawaofgbzenhxtfl]vsvuwijhjnaurwlb\nzbqzykdf",
"end": 161418,
"score": 0.5063271523,
"start": 161417,
"tag": "KEY",
"value": "h"
},
{
"context": "vins]rbfmarruugyqhvegod[nbyobbfqprdigngp]nkrwqcyinzutnklqb[ajhqjuhqzahxzjbk]nfyrxcupuphkbxjqlai\nxqwbcunarmghbsosq[jrmjtqqlogscgojnldm]bnzhiagvdwgwhuawz[toxpipinabgmkbwhtd]uxpgoorspsohkmd[dtadhrgzvfownrufn]xslrmvbosoeoeaewnfr\nlllhkodepygrzesxp[zeohwydmclhucevd]hbnsvtijajahmkclbei[byxhckkvqixiwtg]ekezugmyyavcwxtilwt\njtjbuoavqyjhlaw[vbjakzkppzloxxfx]vibdluddkdsdexqnwl[ofqpidngtagumrk]kfoqunkkvyoassxlgg[ngbosgdywnmslnszsa]hxpciqkkafpdgfki\nnenfymvefbgzvag[wiqscyftlldcvsnp]pchooarrvfpzhwvcjpl[wtitvzxuvfufwviff]opjkauasyyfyspzoufc[pelszbarccp",
"end": 162143,
"score": 0.6191880703,
"start": 161702,
"tag": "KEY",
"value": "zutnklqb[ajhqjuhqzahxzjbk]nfyrxcupuphkbxjqlai\nxqwbcunarmghbsosq[jrmjtqqlogscgojnldm]bnzhiagvdwgwhuawz[toxpipinabgmkbwhtd]uxpgoorspsohkmd[dtadhrgzvfownrufn]xslrmvbosoeoeaewnfr\nlllhkodepygrzesxp[zeohwydmclhucevd]hbnsvtijajahmkclbei[byxhckkvqixiwtg]ekezugmyyavcwxtilwt\njtjbuoavqyjhlaw[vbjakzkppzloxxfx]vibdluddkdsdexqnwl[ofqpidngtagumrk]kfoqunkkvyoassxlgg[ngbosgdywnmslnszsa]hxpciqkkafpdgfki\nnenfymvefbgzvag[wiqscyftlldcvsnp]pchooarrvfpzhwvcjpl"
},
{
"context": "fymvefbgzvag[wiqscyftlldcvsnp]pchooarrvfpzhwvcjpl[wtitvzxuvfufwviff]opjkauasyyfyspzoufc[pelszbarccpqtxvawi]cmkfptidaetuqkwz\nhitjejomylbutupmkeu[qdzbydybpabfnlkwkv]bdlbevsgqmwnbolnhfi[qeujppfhpz",
"end": 162237,
"score": 0.5777637362,
"start": 162144,
"tag": "KEY",
"value": "wtitvzxuvfufwviff]opjkauasyyfyspzoufc[pelszbarccpqtxvawi]cmkfptidaetuqkwz\nhitjejomylbutupmkeu"
},
{
"context": "arccpqtxvawi]cmkfptidaetuqkwz\nhitjejomylbutupmkeu[qdzbydybpabfnlkwkv]bdlbevsgqmwnbolnhfi[qeujppfhpzjbtafrgl]zvirtzxdzo",
"end": 162256,
"score": 0.5712856054,
"start": 162238,
"tag": "KEY",
"value": "qdzbydybpabfnlkwkv"
},
{
"context": "idaetuqkwz\nhitjejomylbutupmkeu[qdzbydybpabfnlkwkv]bdlbevsgqmwnbolnhfi[qeujppfhpzjbtafrgl]zvirtzxdzoojcwfohx[ftgmwthtcan",
"end": 162276,
"score": 0.5893821716,
"start": 162257,
"tag": "KEY",
"value": "bdlbevsgqmwnbolnhfi"
},
{
"context": "lbutupmkeu[qdzbydybpabfnlkwkv]bdlbevsgqmwnbolnhfi[qeujppfhpzjbtafrgl]zvirtzxdzoojcwfohx[ftgmwthtcanqrxzks]bsafidxuxypa",
"end": 162295,
"score": 0.5668868423,
"start": 162277,
"tag": "KEY",
"value": "qeujppfhpzjbtafrgl"
},
{
"context": "pabfnlkwkv]bdlbevsgqmwnbolnhfi[qeujppfhpzjbtafrgl]zvirtzxdzoojcwfohx[ftgmwthtcanqrxzks]bsafidxuxypaueoxg\ngclocruwassud",
"end": 162314,
"score": 0.5616137981,
"start": 162296,
"tag": "KEY",
"value": "zvirtzxdzoojcwfohx"
},
{
"context": "wnbolnhfi[qeujppfhpzjbtafrgl]zvirtzxdzoojcwfohx[ftgmwthtcanqrxzks]bsafidxuxypaueoxg\ngclocruwassudla[imoknvpznyxchnr",
"end": 162332,
"score": 0.5446745753,
"start": 162317,
"tag": "KEY",
"value": "gmwthtcanqrxzks"
},
{
"context": "fhpzjbtafrgl]zvirtzxdzoojcwfohx[ftgmwthtcanqrxzks]bsafidxuxypaueoxg\ngclocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm",
"end": 162350,
"score": 0.5445833206,
"start": 162333,
"tag": "KEY",
"value": "bsafidxuxypaueoxg"
},
{
"context": "dzoojcwfohx[ftgmwthtcanqrxzks]bsafidxuxypaueoxg\ngclocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiws",
"end": 162366,
"score": 0.5221318603,
"start": 162353,
"tag": "KEY",
"value": "locruwassudla"
},
{
"context": "wthtcanqrxzks]bsafidxuxypaueoxg\ngclocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiwsqf]chcu",
"end": 162373,
"score": 0.5168368816,
"start": 162369,
"tag": "KEY",
"value": "oknv"
},
{
"context": "rxzks]bsafidxuxypaueoxg\ngclocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiwsqf]chcucyiszjrn",
"end": 162381,
"score": 0.5168813467,
"start": 162377,
"tag": "KEY",
"value": "xchn"
},
{
"context": "fidxuxypaueoxg\ngclocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiwsqf]chcucyiszjrnobxal\nwqlihvvkfdyrhb",
"end": 162401,
"score": 0.526075542,
"start": 162386,
"tag": "KEY",
"value": "gninncvnnwjovnm"
},
{
"context": "ocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiwsqf]chcucyiszjrnobxal\nwqlihvvkfdyrhbqu[vizkatngyvpx",
"end": 162416,
"score": 0.5115745664,
"start": 162404,
"tag": "KEY",
"value": "qccerrryoiws"
},
{
"context": "oknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiwsqf]chcucyiszjrnobxal\nwqlihvvkfdyrhbqu[vizkatngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaa",
"end": 162453,
"score": 0.5372024775,
"start": 162419,
"tag": "KEY",
"value": "chcucyiszjrnobxal\nwqlihvvkfdyrhbqu"
},
{
"context": "errryoiwsqf]chcucyiszjrnobxal\nwqlihvvkfdyrhbqu[vizkatngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbj",
"end": 162469,
"score": 0.5309238434,
"start": 162457,
"tag": "KEY",
"value": "katngyvpxuwh"
},
{
"context": "hcucyiszjrnobxal\nwqlihvvkfdyrhbqu[vizkatngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbjcsd",
"end": 162472,
"score": 0.5050506592,
"start": 162470,
"tag": "KEY",
"value": "fr"
},
{
"context": "cyiszjrnobxal\nwqlihvvkfdyrhbqu[vizkatngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequ",
"end": 162491,
"score": 0.5468088984,
"start": 162473,
"tag": "KEY",
"value": "mrxbfaovpijyrmtjxw"
},
{
"context": "vvkfdyrhbqu[vizkatngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboy",
"end": 162507,
"score": 0.5320721269,
"start": 162492,
"tag": "KEY",
"value": "mrkexdpmoaarqfj"
},
{
"context": "atngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboygakaozg\ndvyalwumbdje",
"end": 162527,
"score": 0.5257429481,
"start": 162508,
"tag": "KEY",
"value": "kmnbalnjnbjcsdulczi"
},
{
"context": "vpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboygakaozg\ndvyalwumbdjeaocae",
"end": 162532,
"score": 0.5049004555,
"start": 162530,
"tag": "KEY",
"value": "id"
},
{
"context": "[mrkexdpmoaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboygakaozg\ndvyalwumbdjeaocae[zonftyvegiq",
"end": 162544,
"score": 0.5121418834,
"start": 162541,
"tag": "KEY",
"value": "way"
},
{
"context": "oaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboygakaozg\ndvyalwumbdjeaocae[zonftyvegiqiquqac]osgms",
"end": 162556,
"score": 0.5178127289,
"start": 162550,
"tag": "KEY",
"value": "ruofbo"
},
{
"context": "nbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboygakaozg\ndvyalwumbdjeaocae[zonftyvegiqiquqac]osgmsdmqocl",
"end": 162562,
"score": 0.5435882211,
"start": 162560,
"tag": "KEY",
"value": "ao"
},
{
"context": "ujwwbfviqker]qvintkkgeyiysbl[zmhfxkhgptetdsq]jazfxamrhsjvlcwr[ybdhlaudcktfgpjajk]vnedwkbznnxoegxe\nwmgrbjddretekijeqaq[wxoqrjnhathlpva]nqrxdfrjrvsaxzgn[voeyknzetkswzmonnh]qexvtsdihbxdwzeympo[mplyvliqtgoezpr]bsjrjqbvgcrxwnpdqs\ntxicytmsosvlzftbikp[hwjajoqvcmhmitvqnh]gndimhsqdssjugsp\nscuaijeujwpdvdlzf[byroacgumqpoawl]lofgfiiquoftdrrxnhb[vowfcxvalicqrtpvkga]vdehstpbvncodihewhv[tqrtdbglbqthqfjyu]loycwsbaxhkfanhnp\nqgexpbjlhcciuhouo[apvfnzznkuufvlo]njoupqjamycblyd[tbviqvflseyhhsmxz]lvpemusmcuajelt\njvrllpusmfmsnwy[yqlfrmtxpvwcllrfev]hpuqtteqblrjbnkx[puadngfdbecfuhuvrqb]myxzjgttaacbhzlpipf[gcjfzcrweoksbywfdc]mnchtfuqvmltrxakz\nywmkwcztiqykpmju[zmkryfneelvtwfnm]zhuiojbicjnfdmsdhi\njhgrwzznkirrskfzfbl[ftjkmxrdyljxzov]wcszeohqiseprjde[ngrtygnnwfandfuvr]lqcatjwzlsbuqnzyhw[hdhijvlmfotjdaaivaf]glgrbynrgpcxjihg\nujtcxpupjndfftyfay[wzspgaqtsinvgbd]oskncvkxhimahafzkp[tbtuibverwndjkyrbtb]vubbwzxvzotdhtvvx\ndgjxjkogwuxxgavcit[shbqapwgyduxmjdzs]sqmxfuntsqibnshlszq\nby",
"end": 165315,
"score": 0.7416617274,
"start": 164460,
"tag": "KEY",
"value": "amrhsjvlcwr[ybdhlaudcktfgpjajk]vnedwkbznnxoegxe\nwmgrbjddretekijeqaq[wxoqrjnhathlpva]nqrxdfrjrvsaxzgn[voeyknzetkswzmonnh]qexvtsdihbxdwzeympo[mplyvliqtgoezpr]bsjrjqbvgcrxwnpdqs\ntxicytmsosvlzftbikp[hwjajoqvcmhmitvqnh]gndimhsqdssjugsp\nscuaijeujwpdvdlzf[byroacgumqpoawl]lofgfiiquoftdrrxnhb[vowfcxvalicqrtpvkga]vdehstpbvncodihewhv[tqrtdbglbqthqfjyu]loycwsbaxhkfanhnp\nqgexpbjlhcciuhouo[apvfnzznkuufvlo]njoupqjamycblyd[tbviqvflseyhhsmxz]lvpemusmcuajelt\njvrllpusmfmsnwy[yqlfrmtxpvwcllrfev]hpuqtteqblrjbnkx[puadngfdbecfuhuvrqb]myxzjgttaacbhzlpipf[gcjfzcrweoksbywfdc]mnchtfuqvmltrxakz\nywmkwcztiqykpmju[zmkryfneelvtwfnm]zhuiojbicjnfdmsdhi\njhgrwzznkirrskfzfbl[ftjkmxrdyljxzov]wcszeohqiseprjde[ngrtygnnwfandfuvr]lqcatjwzlsbuqnzyhw[hdhijvlmfotjdaaivaf]glgrbynrgpcxjihg\nujtcxpupjndfftyfay[wzspgaqtsinvgbd]oskncvkxhimahafzkp[tbtuibverwndjkyrbtb]vubbwzxvzotdhtvvx\ndgjxjkogw"
},
{
"context": "btuibverwndjkyrbtb]vubbwzxvzotdhtvvx\ndgjxjkogwuxxgavcit[shbqapwgyduxmjdzs]sqmxfuntsqibnshlszq\nbyysjubu",
"end": 165321,
"score": 0.5443814397,
"start": 165319,
"tag": "KEY",
"value": "av"
},
{
"context": "ozkeahaydy[nyualslnfurebmbnv]ehgueldltahorrpbbyr\nlviuzeeixehupjezj[gzwzktpbujzeyypbqyi]ecapnyxygcmgfhgmfav[qclblpzrk",
"end": 166296,
"score": 0.5617213845,
"start": 166280,
"tag": "KEY",
"value": "viuzeeixehupjezj"
},
{
"context": "lnfurebmbnv]ehgueldltahorrpbbyr\nlviuzeeixehupjezj[gzwzktpbujzeyypbqyi]ecapnyxygcmgfhgmfav[qclblpzrkfredwm]wcdfuzpoxtmzk",
"end": 166316,
"score": 0.559353888,
"start": 166297,
"tag": "KEY",
"value": "gzwzktpbujzeyypbqyi"
},
{
"context": "tahorrpbbyr\nlviuzeeixehupjezj[gzwzktpbujzeyypbqyi]ecapnyxygcmgfhgmfav[qclblpzrkfredwm]wcdfuzpoxtmzkif[okgiecyymbnmziyyk",
"end": 166336,
"score": 0.5571730733,
"start": 166317,
"tag": "KEY",
"value": "ecapnyxygcmgfhgmfav"
},
{
"context": "xehupjezj[gzwzktpbujzeyypbqyi]ecapnyxygcmgfhgmfav[qclblpzrkfredwm]wcdfuzpoxtmzkif[okgiecyymbnmziyyke]zflgxeqtxzeezv",
"end": 166352,
"score": 0.5491023064,
"start": 166337,
"tag": "KEY",
"value": "qclblpzrkfredwm"
},
{
"context": "pbujzeyypbqyi]ecapnyxygcmgfhgmfav[qclblpzrkfredwm]wcdfuzpoxtmzkif[okgiecyymbnmziyyke]zflgxeqtxzeezvc\nwzpeboftsvuwnx",
"end": 166368,
"score": 0.5471085906,
"start": 166353,
"tag": "KEY",
"value": "wcdfuzpoxtmzkif"
},
{
"context": "apnyxygcmgfhgmfav[qclblpzrkfredwm]wcdfuzpoxtmzkif[okgiecyymbnmziyyke]zflgxeqtxzeezvc\nwzpeboftsvuwnxel[hmqswpadnffutphy",
"end": 166387,
"score": 0.5423820615,
"start": 166369,
"tag": "KEY",
"value": "okgiecyymbnmziyyke"
},
{
"context": "clblpzrkfredwm]wcdfuzpoxtmzkif[okgiecyymbnmziyyke]zflgxeqtxzeezvc\nwzpeboftsvuwnxel[hmqswpadnffutphylpg]hbapzwwtxulrfaenb[hgsimoxqivl",
"end": 166420,
"score": 0.556801796,
"start": 166388,
"tag": "KEY",
"value": "zflgxeqtxzeezvc\nwzpeboftsvuwnxel"
},
{
"context": "giecyymbnmziyyke]zflgxeqtxzeezvc\nwzpeboftsvuwnxel[hmqswpadnffutphylpg]hbapzwwtxulrfaenb[hgsimoxqivllbthuavr]jpxhxohhxhlhlfemuz\nxbojluzthxlygkyzkwr[hjnkqiofmyuospv]gaglxxtcdnnbfvjubea\nuxtugntiubziynpzbju[onxffxfoxibzzzd]wineojjetzitpemflx[jlncrpyrujpoxluwyc]fxvfnhyqsiwndzoh[lkwwatmiesspw",
"end": 166608,
"score": 0.5878783464,
"start": 166421,
"tag": "KEY",
"value": "hmqswpadnffutphylpg]hbapzwwtxulrfaenb[hgsimoxqivllbthuavr]jpxhxohhxhlhlfemuz\nxbojluzthxlygkyzkwr[hjnkqiofmyuospv]gaglxxtcdnnbfvjubea\nuxtugntiubziynpzbju[onxffxfoxibzzzd]wineojjetzitpemflx"
},
{
"context": "ntiubziynpzbju[onxffxfoxibzzzd]wineojjetzitpemflx[jlncrpyrujpoxluwyc]fxvfnhyqsiwndzoh[lkwwatmiesspwcqulnc]cbimtxmazbbzlvjf\nbezefpkmcyaw",
"end": 166644,
"score": 0.5788525939,
"start": 166609,
"tag": "KEY",
"value": "jlncrpyrujpoxluwyc]fxvfnhyqsiwndzoh"
},
{
"context": "jjetzitpemflx[jlncrpyrujpoxluwyc]fxvfnhyqsiwndzoh[lkwwatmiesspwcqulnc]cbimtxmazbbzlvjf\nbezefpkmcyawtdlbnmy[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmji",
"end": 166701,
"score": 0.5769838095,
"start": 166645,
"tag": "KEY",
"value": "lkwwatmiesspwcqulnc]cbimtxmazbbzlvjf\nbezefpkmcyawtdlbnmy"
},
{
"context": "sspwcqulnc]cbimtxmazbbzlvjf\nbezefpkmcyawtdlbnmy[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevy",
"end": 166707,
"score": 0.5629752874,
"start": 166704,
"tag": "KEY",
"value": "mpa"
},
{
"context": "qulnc]cbimtxmazbbzlvjf\nbezefpkmcyawtdlbnmy[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmd",
"end": 166719,
"score": 0.5474736691,
"start": 166709,
"tag": "KEY",
"value": "xuojocuutf"
},
{
"context": "xmazbbzlvjf\nbezefpkmcyawtdlbnmy[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaff",
"end": 166739,
"score": 0.5356707573,
"start": 166720,
"tag": "KEY",
"value": "gybqtynhfakfryzyoot"
},
{
"context": "awtdlbnmy[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwk",
"end": 166748,
"score": 0.528316021,
"start": 166742,
"tag": "KEY",
"value": "ddrwiz"
},
{
"context": "y[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhuk",
"end": 166754,
"score": 0.5320414901,
"start": 166750,
"tag": "KEY",
"value": "ilba"
},
{
"context": "aexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhukfaavg",
"end": 166759,
"score": 0.5241538286,
"start": 166756,
"tag": "KEY",
"value": "ypd"
},
{
"context": "jocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmscie",
"end": 166778,
"score": 0.5213716626,
"start": 166762,
"tag": "KEY",
"value": "fzotxmdlvmjcklea"
},
{
"context": "kfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmsciep[rbobphjp",
"end": 166789,
"score": 0.5176817179,
"start": 166780,
"tag": "KEY",
"value": "sehcauaff"
},
{
"context": "mjilbaevypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmsciep[rbobphjpqsmeuvgrjt]",
"end": 166800,
"score": 0.5051906705,
"start": 166798,
"tag": "KEY",
"value": "fx"
},
{
"context": "evypd]wjfzotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmsciep[rbobphjpqsmeuvgrjt]vlobom",
"end": 166806,
"score": 0.5207111239,
"start": 166804,
"tag": "KEY",
"value": "fa"
},
{
"context": "zotxmdlvmjcklea\npsehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmsciep[rbobphjpqsmeuvgrjt]vlobomuxuflrqfw",
"end": 166815,
"score": 0.5436966419,
"start": 166813,
"tag": "KEY",
"value": "rw"
},
{
"context": "mjcklea\npsehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmsciep[rbobphjpqsmeuvgrjt]vlobomuxuflrqfwjo[nijmtbn",
"end": 166825,
"score": 0.5127186179,
"start": 166821,
"tag": "KEY",
"value": "ghtm"
},
{
"context": "faavgq]pprwkzrtyyghtmsciep[rbobphjpqsmeuvgrjt]vlobomuxuflrqfwjo[nijmtbnuuzplcprb]snfbebpcogbvkwf\ncwflk",
"end": 166856,
"score": 0.5128755569,
"start": 166854,
"tag": "KEY",
"value": "om"
},
{
"context": "kzrtyyghtmsciep[rbobphjpqsmeuvgrjt]vlobomuxuflrqfwjo[nijmtbnuuzplcprb]snfbebpcogbvkwf\ncwflkfoevdvovrmn",
"end": 166867,
"score": 0.5046699047,
"start": 166865,
"tag": "KEY",
"value": "jo"
},
{
"context": "typewmdjq]snhujgngvmxwpmagis[fmbwhgzljomkrdcph]pvfendnvzctahabni\neoczaktxgrdpwordn[rbhnrlgckthgxxuzu]ht",
"end": 167017,
"score": 0.5126876235,
"start": 167014,
"tag": "KEY",
"value": "end"
},
{
"context": "gis[fmbwhgzljomkrdcph]pvfendnvzctahabni\neoczaktxgrdpwordn[rbhnrlgckthgxxuzu]htgvsgazuzqpkjoejg\nwwadqnd",
"end": 167041,
"score": 0.5052915215,
"start": 167039,
"tag": "KEY",
"value": "dp"
},
{
"context": "rbkpsx]qknvrvpfabkczng\nxtvcrctmszksrojch[bqfzfdhhsfkolghur]dwqpjaqisitqmhpnkxb[omfmirdtvkdoehc]dgogacudqnrtshre[nudirbvfeacxjhb]igdfrdrqycnowffn\nvrgmsmohxhgyybr[shaciuypkvkjaqoho]dlwfavdhohiruaef[iowdifdsyckgfaixzbi]rbkuyahekeohyxnyxmo\ngiaemyheoijyiqs[dditjewdytotrevtph]nrcosaxnrsfnglxyrbh\naqpquczuuqsqfmiynf[rytylbwxvhzymqtqal]olufblbfhnqfhbdpjc[njyewyvnezayxeqkooz]yawvjaofjaqcpsaqnlj\nynntsleqhquylfosn[esbohqcciuuyintjnn]krtinqbvgjtfvdttys[cahezzmqcfayrtijrl]jlquffpwepfjhij[gsryvmkutwbfvekc]xwuhwthwkpiprtpn\nwcifpmwramdtgbyx[mnetsyvjbkzlemkkrj]ghtuuasxyhlhdiqi[oidnivyrbzficmrkxa]sshjteaabilnbbv\njpzlvsyhfjewjsp[zaukqnrnkxuyblu]itarroefggdtpkwknhm\nnxdmkipobgdhcekuk[edajmdcmxhcxntroa]vgrzzrytukuxdetf\nelfvvedwjbltwcnsbat[wlyogdvixiwmkxvshnm]cwhhqukydgvfwzkw[hendekbuynbsgeza]unurlefaaduvvpbi[uriiixudeogykwckty]tilfmprasfargwjoeaz\nehllosfwjnemfpzkjbh[paefpdhywomalbjjwco]jynaehuopnolwbg[cusfqbvxlvqtqbuxgyg]dnvunkjnzqnxcginfx\njfdeexfzxrfxleh[xqkthmkzmmfbesrfa]ddwxrlspxpefvpk",
"end": 168976,
"score": 0.7337671518,
"start": 168096,
"tag": "KEY",
"value": "fkolghur]dwqpjaqisitqmhpnkxb[omfmirdtvkdoehc]dgogacudqnrtshre[nudirbvfeacxjhb]igdfrdrqycnowffn\nvrgmsmohxhgyybr[shaciuypkvkjaqoho]dlwfavdhohiruaef[iowdifdsyckgfaixzbi]rbkuyahekeohyxnyxmo\ngiaemyheoijyiqs[dditjewdytotrevtph]nrcosaxnrsfnglxyrbh\naqpquczuuqsqfmiynf[rytylbwxvhzymqtqal]olufblbfhnqfhbdpjc[njyewyvnezayxeqkooz]yawvjaofjaqcpsaqnlj\nynntsleqhquylfosn[esbohqcciuuyintjnn]krtinqbvgjtfvdttys[cahezzmqcfayrtijrl]jlquffpwepfjhij[gsryvmkutwbfvekc]xwuhwthwkpiprtpn\nwcifpmwramdtgbyx[mnetsyvjbkzlemkkrj]ghtuuasxyhlhdiqi[oidnivyrbzficmrkxa]sshjteaabilnbbv\njpzlvsyhfjewjsp[zaukqnrnkxuyblu]itarroefggdtpkwknhm\nnxdmkipobgdhcekuk[edajmdcmxhcxntroa]vgrzzrytukuxdetf\nelfvvedwjbltwcnsbat[wlyogdvixiwmkxvshnm]cwhhqukydgvfwzkw[hendekbuynbsgeza]unurlefaaduvvpbi[uriiixudeogykwckty]tilfmprasfargwjoeaz\nehllosfwjnemfpzkjbh[paefpdhywomalbjjwco]jynaehuopnolwbg[cusfqbvxlvqtqbuxgyg]dnvunkjnzqnxcginfx"
},
{
"context": "opnolwbg[cusfqbvxlvqtqbuxgyg]dnvunkjnzqnxcginfx\njfdeexfzxrfxleh[xqkthmkzmmfbesrfa]ddwxrlspxpefvpkhiz\nfpexyleu",
"end": 168988,
"score": 0.5291148424,
"start": 168979,
"tag": "KEY",
"value": "deexfzxrf"
},
{
"context": "usfqbvxlvqtqbuxgyg]dnvunkjnzqnxcginfx\njfdeexfzxrfxleh[xqkthmkzmmfbesrfa]ddwxrlspxpefvpkhiz\nfpexyleujip",
"end": 168991,
"score": 0.5137091279,
"start": 168989,
"tag": "KEY",
"value": "le"
},
{
"context": "dnvunkjnzqnxcginfx\njfdeexfzxrfxleh[xqkthmkzmmfbesrfa]ddwxrlspxpefvpkhiz\nfpexyleujiphzrejgu[rjjuimrbnfx",
"end": 169010,
"score": 0.5742830634,
"start": 169008,
"tag": "KEY",
"value": "fa"
},
{
"context": "unkjnzqnxcginfx\njfdeexfzxrfxleh[xqkthmkzmmfbesrfa]ddwxrlspxpefvpkhiz\nfpexyleujiphzrejgu[rjjuimrbnfxihopoasz]xiovbrwkxkchdagu[rssesjbgdfww",
"end": 169048,
"score": 0.5609377623,
"start": 169011,
"tag": "KEY",
"value": "ddwxrlspxpefvpkhiz\nfpexyleujiphzrejgu"
},
{
"context": "kzmmfbesrfa]ddwxrlspxpefvpkhiz\nfpexyleujiphzrejgu[rjjuimrbnfxihopoasz]xiovbrwkxkchdagu[rssesjbgdfwwomrpdxi]xurzdbytoxjkwyzl\nwtudecnnxchn",
"end": 169085,
"score": 0.5628274083,
"start": 169049,
"tag": "KEY",
"value": "rjjuimrbnfxihopoasz]xiovbrwkxkchdagu"
},
{
"context": "eujiphzrejgu[rjjuimrbnfxihopoasz]xiovbrwkxkchdagu[rssesjbgdfwwomrpdxi]xurzdbytoxjkwyzl\nwtudecnnxchnjhuz[ntnjpmwnwqpqqkcevi]xibzynwnkahwfizkxni\nhxvhhsyrup",
"end": 169139,
"score": 0.5695272088,
"start": 169086,
"tag": "KEY",
"value": "rssesjbgdfwwomrpdxi]xurzdbytoxjkwyzl\nwtudecnnxchnjhuz"
},
{
"context": "sjbgdfwwomrpdxi]xurzdbytoxjkwyzl\nwtudecnnxchnjhuz[ntnjpmwnwqpqqkcevi]xibzynwnkahwfizkxni\nhxvhhsyrupdpvjymv[jgionvwaxuiemcdtvn]riesyfkfymxxite\nndpfqkkiqgvdiciv[qwegblwhxefkszrc]ddticzcfwxoylaheuam[kyqomblpykgrsofpbz]woykqlgorinilldl\nlupajnaqxzgawmnb[zfmybtxebhkalxwfwyt]sknfwfxgdqpbnqebbt\nqkttfgfwmq",
"end": 169338,
"score": 0.5905565619,
"start": 169140,
"tag": "KEY",
"value": "ntnjpmwnwqpqqkcevi]xibzynwnkahwfizkxni\nhxvhhsyrupdpvjymv[jgionvwaxuiemcdtvn]riesyfkfymxxite\nndpfqkkiqgvdiciv[qwegblwhxefkszrc]ddticzcfwxoylaheuam[kyqomblpykgrsofpbz]woykqlgorinilldl\nlupajnaqxzgawmnb"
},
{
"context": "omblpykgrsofpbz]woykqlgorinilldl\nlupajnaqxzgawmnb[zfmybtxebhkalxwfwyt]sknfwfxgdqpbnqebbt\nqkttfgfwmqxgpbcgqvg[zkftxwwbappqdllajhi]ducnsepawowmjggv[osygsyvnhlhk",
"end": 169397,
"score": 0.5888613462,
"start": 169339,
"tag": "KEY",
"value": "zfmybtxebhkalxwfwyt]sknfwfxgdqpbnqebbt\nqkttfgfwmqxgpbcgqvg"
},
{
"context": "hkalxwfwyt]sknfwfxgdqpbnqebbt\nqkttfgfwmqxgpbcgqvg[zkftxwwbappqdllajhi]ducnsepawowmjggv[osygsyvnhlhkrzahzoa]iygudcaycsrtbkohbrd\nakdvrmxjb",
"end": 169434,
"score": 0.575617373,
"start": 169398,
"tag": "KEY",
"value": "zkftxwwbappqdllajhi]ducnsepawowmjggv"
},
{
"context": "wmqxgpbcgqvg[zkftxwwbappqdllajhi]ducnsepawowmjggv[osygsyvnhlhkrzahzoa]iygudcaycsrtbkohbrd\nakdvrmxjbjaahjcfhz[nueiutbritxbampij]vjirxewhgmmwl",
"end": 169474,
"score": 0.5664432049,
"start": 169435,
"tag": "KEY",
"value": "osygsyvnhlhkrzahzoa]iygudcaycsrtbkohbrd"
},
{
"context": "owmjggv[osygsyvnhlhkrzahzoa]iygudcaycsrtbkohbrd\nakdvrmxjbjaahjcfhz[nueiutbritxbampij]vjirxewhgmmwlora[uauyvvwvrfhbxi",
"end": 169493,
"score": 0.5753210187,
"start": 169477,
"tag": "KEY",
"value": "dvrmxjbjaahjcfhz"
},
{
"context": "lhkrzahzoa]iygudcaycsrtbkohbrd\nakdvrmxjbjaahjcfhz[nueiutbritxbampij]vjirxewhgmmwlora[uauyvvwvrfhbxituz]omfdcitqhjhent",
"end": 169511,
"score": 0.542853415,
"start": 169494,
"tag": "KEY",
"value": "nueiutbritxbampij"
},
{
"context": "ycsrtbkohbrd\nakdvrmxjbjaahjcfhz[nueiutbritxbampij]vjirxewhgmmwlora[uauyvvwvrfhbxituz]omfdcitqhjhentxgfu[fucgdtoxvrya",
"end": 169528,
"score": 0.5581169724,
"start": 169512,
"tag": "KEY",
"value": "vjirxewhgmmwlora"
},
{
"context": "rmxjbjaahjcfhz[nueiutbritxbampij]vjirxewhgmmwlora[uauyvvwvrfhbxituz]omfdcitqhjhentxgfu[fucgdtoxvryasxib]wyvdxqpofoszl",
"end": 169546,
"score": 0.5401651859,
"start": 169529,
"tag": "KEY",
"value": "uauyvvwvrfhbxituz"
},
{
"context": "iutbritxbampij]vjirxewhgmmwlora[uauyvvwvrfhbxituz]omfdcitqhjhentxgfu[fucgdtoxvryasxib]wyvdxqpofoszluslht\neorazrawyakaw",
"end": 169565,
"score": 0.5511921048,
"start": 169547,
"tag": "KEY",
"value": "omfdcitqhjhentxgfu"
},
{
"context": "xewhgmmwlora[uauyvvwvrfhbxituz]omfdcitqhjhentxgfu[fucgdtoxvryasxib]wyvdxqpofoszluslht\neorazrawyakawjfxdtw[bpyrfrsjhf",
"end": 169582,
"score": 0.5375426412,
"start": 169566,
"tag": "KEY",
"value": "fucgdtoxvryasxib"
},
{
"context": "vvwvrfhbxituz]omfdcitqhjhentxgfu[fucgdtoxvryasxib]wyvdxqpofoszluslht\neorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuze",
"end": 169601,
"score": 0.5471959114,
"start": 169583,
"tag": "KEY",
"value": "wyvdxqpofoszluslht"
},
{
"context": "hjhentxgfu[fucgdtoxvryasxib]wyvdxqpofoszluslht\neorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nm",
"end": 169610,
"score": 0.5170351267,
"start": 169605,
"tag": "KEY",
"value": "azraw"
},
{
"context": "fu[fucgdtoxvryasxib]wyvdxqpofoszluslht\neorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwx",
"end": 169618,
"score": 0.5235483646,
"start": 169613,
"tag": "KEY",
"value": "awjfx"
},
{
"context": "vdxqpofoszluslht\neorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjac",
"end": 169637,
"score": 0.5205484629,
"start": 169635,
"tag": "KEY",
"value": "co"
},
{
"context": "pofoszluslht\neorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjackieh",
"end": 169641,
"score": 0.5123816133,
"start": 169639,
"tag": "KEY",
"value": "jc"
},
{
"context": "szluslht\neorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjackiehnqj]iubxmjyss",
"end": 169654,
"score": 0.5298656821,
"start": 169643,
"tag": "KEY",
"value": "fgrienuzeif"
},
{
"context": "zrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjackiehnqj]iubxmjyssnwjol",
"end": 169658,
"score": 0.508880496,
"start": 169656,
"tag": "KEY",
"value": "vw"
},
{
"context": "yakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjackiehnqj]iubxmjyssnwjolapvs[tnxnpotyzdxh",
"end": 169676,
"score": 0.5352270603,
"start": 169660,
"tag": "KEY",
"value": "cfhxjmwxlcreeloq"
},
{
"context": "fualcoyfjc]gfgrienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjackiehnqj]iubxmjyssnwjolapvs[tnxnpotyzdxhqamjfu]qakefkzqtca",
"end": 169694,
"score": 0.5178016424,
"start": 169681,
"tag": "KEY",
"value": "hrkjackiehnqj"
},
{
"context": "ienuzeifrfvw\nmcfhxjmwxlcreeloqkj[xlhrkjackiehnqj]iubxmjyssnwjolapvs[tnxnpotyzdxhqamjfu]qakefkzqtcahednybux[tosvyefsht",
"end": 169713,
"score": 0.5392397642,
"start": 169696,
"tag": "KEY",
"value": "ubxmjyssnwjolapvs"
},
{
"context": "wxlcreeloqkj[xlhrkjackiehnqj]iubxmjyssnwjolapvs[tnxnpotyzdxhqamjfu]qakefkzqtcahednybux[tosvyefshtbgasbf]uimrnuvlevqy",
"end": 169732,
"score": 0.5323287845,
"start": 169716,
"tag": "KEY",
"value": "xnpotyzdxhqamjfu"
},
{
"context": "kjackiehnqj]iubxmjyssnwjolapvs[tnxnpotyzdxhqamjfu]qakefkzqtcahednybux[tosvyefshtbgasbf]uimrnuvlevqylbpkq\nemyfqgrtebopsx",
"end": 169752,
"score": 0.5410875082,
"start": 169733,
"tag": "KEY",
"value": "qakefkzqtcahednybux"
},
{
"context": "olapvs[tnxnpotyzdxhqamjfu]qakefkzqtcahednybux[tosvyefshtbgasbf]uimrnuvlevqylbpkq\nemyfqgrtebopsxa[qwac",
"end": 169758,
"score": 0.5203976035,
"start": 169757,
"tag": "KEY",
"value": "y"
},
{
"context": "pvs[tnxnpotyzdxhqamjfu]qakefkzqtcahednybux[tosvyefshtbgasbf]uimrnuvlevqylbpkq\nemyfqgrtebopsxa[qwacgpmlcpoitzm",
"end": 169769,
"score": 0.5231767893,
"start": 169760,
"tag": "KEY",
"value": "shtbgasbf"
},
{
"context": "yzdxhqamjfu]qakefkzqtcahednybux[tosvyefshtbgasbf]uimrnuvlevqylbpkq\nemyfqgrtebopsxa[qwacgpmlcpoitzmdq]weqwomfyfqhxmkja",
"end": 169787,
"score": 0.5365481377,
"start": 169771,
"tag": "KEY",
"value": "imrnuvlevqylbpkq"
},
{
"context": "tcahednybux[tosvyefshtbgasbf]uimrnuvlevqylbpkq\nemyfqgrtebopsxa[qwacgpmlcpoitzmdq]weqwomfyfqhxmkjalw\ndgnbvzkwdnxz",
"end": 169803,
"score": 0.5410887003,
"start": 169791,
"tag": "KEY",
"value": "fqgrtebopsxa"
},
{
"context": "efshtbgasbf]uimrnuvlevqylbpkq\nemyfqgrtebopsxa[qwacgpmlcpoitzmdq]weqwomfyfqhxmkjalw\ndgnbvzkwdnxzuduvdee[palm",
"end": 169815,
"score": 0.5225652456,
"start": 169808,
"tag": "KEY",
"value": "gpmlcpo"
},
{
"context": "f]uimrnuvlevqylbpkq\nemyfqgrtebopsxa[qwacgpmlcpoitzmdq]weqwomfyfqhxmkjalw\ndgnbvzkwdnxzuduvdee[palmkulrnl",
"end": 169821,
"score": 0.5166449547,
"start": 169818,
"tag": "KEY",
"value": "mdq"
},
{
"context": "evqylbpkq\nemyfqgrtebopsxa[qwacgpmlcpoitzmdq]weqwomfyfqhxmkjalw\ndgnbvzkwdnxzuduvdee[palmkulrnlnjdyeavyi]cjgsjpbxp",
"end": 169840,
"score": 0.511341989,
"start": 169828,
"tag": "KEY",
"value": "fyfqhxmkjalw"
},
{
"context": "slnpmmtpotla[undscmvmhuxzohsdg]ghxcwnjphcmvttna\nuppsitifhxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteel",
"end": 169986,
"score": 0.5165691972,
"start": 169975,
"tag": "KEY",
"value": "psitifhxdcj"
},
{
"context": "cmvmhuxzohsdg]ghxcwnjphcmvttna\nuppsitifhxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplb",
"end": 169997,
"score": 0.5188444257,
"start": 169992,
"tag": "KEY",
"value": "jsnlk"
},
{
"context": "dg]ghxcwnjphcmvttna\nuppsitifhxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxo",
"end": 170005,
"score": 0.5265363455,
"start": 170003,
"tag": "KEY",
"value": "ho"
},
{
"context": "xcwnjphcmvttna\nuppsitifhxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxoicjn\nmqjlmaekars",
"end": 170021,
"score": 0.5215970278,
"start": 170008,
"tag": "KEY",
"value": "ftntebjwcyuih"
},
{
"context": "ppsitifhxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxoicjn\nmqjlmaekarsttdm",
"end": 170025,
"score": 0.5422698259,
"start": 170024,
"tag": "KEY",
"value": "q"
},
{
"context": "hxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxoicjn\nmqjlmaekarsttdmnl[cwdajz",
"end": 170034,
"score": 0.5073937178,
"start": 170031,
"tag": "KEY",
"value": "xte"
},
{
"context": "[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxoicjn\nmqjlmaekarsttdmnl[cwdajzaopmb",
"end": 170039,
"score": 0.5339116454,
"start": 170038,
"tag": "KEY",
"value": "c"
},
{
"context": "iqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxoicjn\nmqjlmaekarsttdmnl[cwdajzaopmbrikcv]vfhztmfwqcwsbdnyebk[puetgqkczejv",
"end": 170077,
"score": 0.5538035631,
"start": 170040,
"tag": "KEY",
"value": "qbjeplbraadbjxoicjn\nmqjlmaekarsttdmnl"
},
{
"context": "arnxteelpkc]qbjeplbraadbjxoicjn\nmqjlmaekarsttdmnl[cwdajzaopmbrikcv]vfhztmfwqcwsbdnyebk[puetgqkczejvdjbfqc]hdkqfycmizzpuoxumm\nmaldhmhtlcsjqyzrb[zjbfpjpvdszrqkpzf]xspijlrjyzjputpz[mcjmewdtmgfqutbah]hebhshxtiedpjpjngu\nhiqikcyyvddlcggnq[ehsopbptguatpmyb]wfayjslqiqivsbrhedh\nzriahyyoezyg",
"end": 170260,
"score": 0.5957913399,
"start": 170078,
"tag": "KEY",
"value": "cwdajzaopmbrikcv]vfhztmfwqcwsbdnyebk[puetgqkczejvdjbfqc]hdkqfycmizzpuoxumm\nmaldhmhtlcsjqyzrb[zjbfpjpvdszrqkpzf]xspijlrjyzjputpz[mcjmewdtmgfqutbah]hebhshxtiedpjpjngu\nhiqikcyyvddlcggnq"
},
{
"context": "dtmgfqutbah]hebhshxtiedpjpjngu\nhiqikcyyvddlcggnq[ehsopbptguatpmyb]wfayjslqiqivsbrhedh\nzriahyyoezygvjmepy[dujudufydh",
"end": 170277,
"score": 0.5338189602,
"start": 170262,
"tag": "KEY",
"value": "hsopbptguatpmyb"
},
{
"context": "shxtiedpjpjngu\nhiqikcyyvddlcggnq[ehsopbptguatpmyb]wfayjslqiqivsbrhedh\nzriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujf",
"end": 170297,
"score": 0.5461713672,
"start": 170278,
"tag": "KEY",
"value": "wfayjslqiqivsbrhedh"
},
{
"context": "yyvddlcggnq[ehsopbptguatpmyb]wfayjslqiqivsbrhedh\nzriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujfm\ns",
"end": 170301,
"score": 0.5722717643,
"start": 170299,
"tag": "KEY",
"value": "ri"
},
{
"context": "dlcggnq[ehsopbptguatpmyb]wfayjslqiqivsbrhedh\nzriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujfm\nsilotorivixpdy",
"end": 170314,
"score": 0.5238793492,
"start": 170303,
"tag": "KEY",
"value": "yyoezygvjme"
},
{
"context": "ayjslqiqivsbrhedh\nzriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujfm\nsilotorivixpdydnd[wtsojgrfgugwoy",
"end": 170332,
"score": 0.5020411611,
"start": 170330,
"tag": "KEY",
"value": "bc"
},
{
"context": "sbrhedh\nzriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujfm\nsilotorivixpdydnd[wtsojgrfgugwoyo]pfihyfhu",
"end": 170342,
"score": 0.5179691911,
"start": 170340,
"tag": "KEY",
"value": "js"
},
{
"context": "\nzriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujfm\nsilotorivixpdydnd[wtsojgrfgugwoyo]pfihyfhusblbdodt",
"end": 170349,
"score": 0.5104991198,
"start": 170347,
"tag": "KEY",
"value": "fm"
},
{
"context": "uxzpykriher]rcjvrturrhxqhjndj[umqwgmhgidzakfnk]nzbbrgxxsmkxahvqzs[rnqcmdjyrldnzrr]nhztvrovbpifyxbcvti\nkgojbczgybkjpoz[nyemqsvkokdfxiata]lrstpiuovispfmuoi[jifgmwihkzirfnblzqu]dixnvdkqejtatylghtd\nowhhzrmvmuosrtiwaf[xvdujvnkkrunymvh]dihbvchdelxcqsmlxe\natcmrejivvyxxbsexp[cjlvkmfgfjslzeno]liavdjycjpirlux\nsnvgwihgkhrsgdzysbh[bbyzthwnbpquvtrmlc]cdwvzdogbisfoopk\nlccrydahkgmzirmjzfv[rkkdtcqmlfkxmke]xkercumbulkzrlgxng[deksxliclevazssc]yhidzcmnbvgacmdv[ucxflzawmxnmpxa]hrfaesdlnukcblbqlm\njdajqnzqyhcomekhejp[tyrtsgspmlmrbkm]nyfcgbagjplztrigokr[ntzzerjwsgafymxw]ftckmtirxfdfcqpi[pulepgarnqxbvlqmvog]qashqfzwglljzexbnsv\nkjvalulqegxybfhx[djfulullrbsebeknl]bcxpgathyauumxcrsmk\nfihxcyovovc",
"end": 173221,
"score": 0.6364248395,
"start": 172644,
"tag": "KEY",
"value": "brgxxsmkxahvqzs[rnqcmdjyrldnzrr]nhztvrovbpifyxbcvti\nkgojbczgybkjpoz[nyemqsvkokdfxiata]lrstpiuovispfmuoi[jifgmwihkzirfnblzqu]dixnvdkqejtatylghtd\nowhhzrmvmuosrtiwaf[xvdujvnkkrunymvh]dihbvchdelxcqsmlxe\natcmrejivvyxxbsexp[cjlvkmfgfjslzeno]liavdjycjpirlux\nsnvgwihgkhrsgdzysbh[bbyzthwnbpquvtrmlc]cdwvzdogbisfoopk\nlccrydahkgmzirmjzfv[rkkdtcqmlfkxmke]xkercumbulkzrlgxng[deksxliclevazssc]yhidzcmnbvgacmdv[ucxflzawmxnmpxa]hrfaesdlnukcblbqlm\njdajqnzqyhcomekhejp[tyrtsgspmlmrbkm]nyfcgbagjplztrigokr[ntzzerjwsgafymxw]ftckmtirxfdfcqpi[pulepgarnqxbvlqmvog]qashqfzwglljzexbnsv\nkjvalulqegxybfhx"
},
{
"context": "rnqxbvlqmvog]qashqfzwglljzexbnsv\nkjvalulqegxybfhx[djfulullrbsebeknl]bcxpgathyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpd",
"end": 173239,
"score": 0.5757997632,
"start": 173222,
"tag": "KEY",
"value": "djfulullrbsebeknl"
},
{
"context": "fzwglljzexbnsv\nkjvalulqegxybfhx[djfulullrbsebeknl]bcxpgathyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposv",
"end": 173259,
"score": 0.5765841603,
"start": 173240,
"tag": "KEY",
"value": "bcxpgathyauumxcrsmk"
},
{
"context": "qegxybfhx[djfulullrbsebeknl]bcxpgathyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdw",
"end": 173276,
"score": 0.5357115865,
"start": 173262,
"tag": "KEY",
"value": "hxcyovovcmukir"
},
{
"context": "llrbsebeknl]bcxpgathyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkql",
"end": 173284,
"score": 0.5171608925,
"start": 173278,
"tag": "KEY",
"value": "ucbrid"
},
{
"context": "nl]bcxpgathyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnsz",
"end": 173288,
"score": 0.5370256305,
"start": 173287,
"tag": "KEY",
"value": "p"
},
{
"context": "bcxpgathyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioe",
"end": 173292,
"score": 0.513305366,
"start": 173290,
"tag": "KEY",
"value": "to"
},
{
"context": "thyauumxcrsmk\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhk",
"end": 173306,
"score": 0.5406391025,
"start": 173296,
"tag": "KEY",
"value": "jiaponkgop"
},
{
"context": "\nfihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhkbenuc",
"end": 173311,
"score": 0.5211346745,
"start": 173309,
"tag": "KEY",
"value": "hw"
},
{
"context": "ovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhkbenucug[dwpi",
"end": 173318,
"score": 0.5058189631,
"start": 173316,
"tag": "KEY",
"value": "cn"
},
{
"context": "vcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhkbenucug[dwpifbppiwftzo",
"end": 173328,
"score": 0.5290049314,
"start": 173319,
"tag": "KEY",
"value": "movnwdwwo"
},
{
"context": "bridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhkbenucug[dwpifbppiwftzokarg]vxxalauqmooac",
"end": 173346,
"score": 0.5385281444,
"start": 173330,
"tag": "KEY",
"value": "rkqlpnszeioesnhk"
},
{
"context": "ponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhkbenucug[dwpifbppiwftzokarg]vxxalauqmooacfmdox[intaxgcpfaj",
"end": 173363,
"score": 0.562063992,
"start": 173349,
"tag": "KEY",
"value": "vobmkhkbenucug"
},
{
"context": "wcnzmovnwdwwo]zrkqlpnszeioesnhk\nnyvobmkhkbenucug[dwpifbppiwftzokarg]vxxalauqmooacfmdox[intaxgcpfajzdwmcsk]brknzsnhuuk",
"end": 173382,
"score": 0.5530369282,
"start": 173365,
"tag": "KEY",
"value": "wpifbppiwftzokarg"
},
{
"context": "lpnszeioesnhk\nnyvobmkhkbenucug[dwpifbppiwftzokarg]vxxalauqmooacfmdox[intaxgcpfajzdwmcsk]brknzsnhuukxjuv[fkheyxevpuphuf",
"end": 173401,
"score": 0.5612666607,
"start": 173383,
"tag": "KEY",
"value": "vxxalauqmooacfmdox"
},
{
"context": "mkhkbenucug[dwpifbppiwftzokarg]vxxalauqmooacfmdox[intaxgcpfajzdwmcsk]brknzsnhuukxjuv[fkheyxevpuphuflvzkk]levqirhqhynkt",
"end": 173420,
"score": 0.5408403277,
"start": 173402,
"tag": "KEY",
"value": "intaxgcpfajzdwmcsk"
},
{
"context": "piwftzokarg]vxxalauqmooacfmdox[intaxgcpfajzdwmcsk]brknzsnhuukxjuv[fkheyxevpuphuflvzkk]levqirhqhynkthsef\nuwdcywcarju",
"end": 173436,
"score": 0.5460996032,
"start": 173421,
"tag": "KEY",
"value": "brknzsnhuukxjuv"
},
{
"context": "lauqmooacfmdox[intaxgcpfajzdwmcsk]brknzsnhuukxjuv[fkheyxevpuphuflvzkk]levqirhqhynkthsef\nuwdcywcarjujlnh[qvtowczbkenlghc",
"end": 173456,
"score": 0.5481175184,
"start": 173437,
"tag": "KEY",
"value": "fkheyxevpuphuflvzkk"
},
{
"context": "gcpfajzdwmcsk]brknzsnhuukxjuv[fkheyxevpuphuflvzkk]levqirhqhynkthsef\nuwdcywcarjujlnh[qvtowczbkenlghcmara]kfhcbnrkorcoy",
"end": 173474,
"score": 0.5466165543,
"start": 173457,
"tag": "KEY",
"value": "levqirhqhynkthsef"
},
{
"context": "zzwrpwwkrnnfavjxk]hcjjzxeynegdpfwdw\nxtgkbqtzbeptcxndjxl[jzmbcxsmcrtjtqi]wnhqmctldgxjbrtio[brnnosnckhal",
"end": 173582,
"score": 0.5140743256,
"start": 173580,
"tag": "KEY",
"value": "nd"
},
{
"context": "xjbrtio[brnnosnckhalqzqsyyv]uhungebnygpsmpzmj\nxrqpqqsqazzlqcdglgf[ziiwwokpqiinmqe]stagyposntgyxnh[ubxz",
"end": 173664,
"score": 0.5064048767,
"start": 173662,
"tag": "KEY",
"value": "qq"
},
{
"context": "tio[brnnosnckhalqzqsyyv]uhungebnygpsmpzmj\nxrqpqqsqazzlqcdglgf[ziiwwokpqiinmqe]stagyposntgyxnh[ubxzaskwf",
"end": 173669,
"score": 0.5140917897,
"start": 173666,
"tag": "KEY",
"value": "azz"
},
{
"context": "stagyposntgyxnh[ubxzaskwfzlfrmw]fimsoerydnghxlg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg",
"end": 173745,
"score": 0.521946311,
"start": 173744,
"tag": "KEY",
"value": "q"
},
{
"context": "posntgyxnh[ubxzaskwfzlfrmw]fimsoerydnghxlg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnck",
"end": 173752,
"score": 0.5141475201,
"start": 173749,
"tag": "KEY",
"value": "vll"
},
{
"context": "gyxnh[ubxzaskwfzlfrmw]fimsoerydnghxlg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlep",
"end": 173760,
"score": 0.5121281147,
"start": 173754,
"tag": "KEY",
"value": "hgfqby"
},
{
"context": "xzaskwfzlfrmw]fimsoerydnghxlg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbq",
"end": 173767,
"score": 0.506226778,
"start": 173762,
"tag": "KEY",
"value": "urgfx"
},
{
"context": "zlfrmw]fimsoerydnghxlg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboe",
"end": 173770,
"score": 0.506385386,
"start": 173769,
"tag": "KEY",
"value": "r"
},
{
"context": "soerydnghxlg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhst",
"end": 173785,
"score": 0.5140115619,
"start": 173779,
"tag": "KEY",
"value": "fyjdmp"
},
{
"context": "lg\nbdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypo",
"end": 173791,
"score": 0.521818161,
"start": 173789,
"tag": "KEY",
"value": "hi"
},
{
"context": "qby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqa",
"end": 173809,
"score": 0.5218384266,
"start": 173807,
"tag": "KEY",
"value": "le"
},
{
"context": "xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanaf",
"end": 173812,
"score": 0.5060296059,
"start": 173811,
"tag": "KEY",
"value": "b"
},
{
"context": "fxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudc",
"end": 173828,
"score": 0.5150009394,
"start": 173815,
"tag": "KEY",
"value": "bqboepuqheaop"
},
{
"context": "jdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn",
"end": 173833,
"score": 0.5140631795,
"start": 173831,
"tag": "KEY",
"value": "lh"
},
{
"context": "qirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn\njhcm",
"end": 173838,
"score": 0.5063249469,
"start": 173836,
"tag": "KEY",
"value": "mq"
},
{
"context": "hiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn\njhcmhtv",
"end": 173841,
"score": 0.5063599348,
"start": 173839,
"tag": "KEY",
"value": "po"
},
{
"context": "vgg[pbgnckfbdinlepkb]mqbqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn\njhcmhtveqe",
"end": 173844,
"score": 0.5138719678,
"start": 173842,
"tag": "KEY",
"value": "hb"
},
{
"context": "bqboepuqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn\njhcmhtveqenmeczz[rcpnnuwvwiyfjxo]",
"end": 173867,
"score": 0.5140913725,
"start": 173865,
"tag": "KEY",
"value": "ka"
},
{
"context": "puqheaop\nxxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn\njhcmhtveqenmeczz[rcpnnuwvwiyfjxo]bvtas",
"end": 173872,
"score": 0.5061657429,
"start": 173870,
"tag": "KEY",
"value": "wx"
},
{
"context": "wiunabpnzezlmhh[ffwsncvlqpulttkx]wlwdpgntblnoubom[fksogvukjlzupwetlef]cfszpnemoifasqw[ttmonrrbhknspuqx]htucxamhxsoigvt\nputioshxpafnkcwdejm[dellcuoevwyyhvwurpv]zezpevhlmpzbevln[rigyoryyhoxwlbg]zkdzexpizgsumkuiuy[hycpaavxiqnlngrc]gknnfredhsmpofldn\neknxasjdtsksamfc[dhtgifeezlgfhlyvfdz]xfttcwzqucrtngdpcmf\nuyiazdptoxzxbzo[bmuglholukatdbf]ascjhcllcatoapyvn[isqfrvbbkzsxixjuqrq]ncwzqqgudgwrtxvzfe[spqvftdlddlfglgg]zrqbukmufumytpc\nczefxpifdsqjjkoxgj[klwshjzagbrgtpiht]xofokkhzlnjplefofcj[xodekgjbgraikdley]dgsrqzqxjxjqftn\nertbujoaanuvqskr[hsgeexqdgsqfkiunhpa]orgvxylmsdlzeyjzf[mdkgzwdnvtyoogulx]nbapgjckrfxeniiqotx\nwgywdqnvxooqjsefac[qgpmwggewotnmloq]bqdvbzpvqwadroh[bvbsnhmdurzcubvsno]ndwqyjenerqdupuob\npatbwuitsfeqvswby[htsntyfmofqldcbwgv]zolnndvkaimzdmevb[feyvwvkelmujnppg]tjajsdtevgjukkgrwr\nhoznvyznwitnxlvu[kigfxgwcrdmfwgsqnf]lhiqoaqezmswakdcd[gxmjrmvoxkdfmgcpqnn]ditkwvolcazfuxzfroy[qqlbrrwfedrgtrgm]iysjaakrbnqicefqxsr\nufrkrtywkhfhfah[vufpfwhtxzbdqnraz]kklboeggazttzui",
"end": 175352,
"score": 0.7643349171,
"start": 174483,
"tag": "KEY",
"value": "fksogvukjlzupwetlef]cfszpnemoifasqw[ttmonrrbhknspuqx]htucxamhxsoigvt\nputioshxpafnkcwdejm[dellcuoevwyyhvwurpv]zezpevhlmpzbevln[rigyoryyhoxwlbg]zkdzexpizgsumkuiuy[hycpaavxiqnlngrc]gknnfredhsmpofldn\neknxasjdtsksamfc[dhtgifeezlgfhlyvfdz]xfttcwzqucrtngdpcmf\nuyiazdptoxzxbzo[bmuglholukatdbf]ascjhcllcatoapyvn[isqfrvbbkzsxixjuqrq]ncwzqqgudgwrtxvzfe[spqvftdlddlfglgg]zrqbukmufumytpc\nczefxpifdsqjjkoxgj[klwshjzagbrgtpiht]xofokkhzlnjplefofcj[xodekgjbgraikdley]dgsrqzqxjxjqftn\nertbujoaanuvqskr[hsgeexqdgsqfkiunhpa]orgvxylmsdlzeyjzf[mdkgzwdnvtyoogulx]nbapgjckrfxeniiqotx\nwgywdqnvxooqjsefac[qgpmwggewotnmloq]bqdvbzpvqwadroh[bvbsnhmdurzcubvsno]ndwqyjenerqdupuob\npatbwuitsfeqvswby[htsntyfmofqldcbwgv]zolnndvkaimzdmevb[feyvwvkelmujnppg]tjajsdtevgjukkgrwr\nhoznvyznwitnxlvu[kigfxgwcrdmfwgsqnf]lhiqoaqezmswakdcd[gxmjrmvoxkdfmgcpqnn]ditkwvolcazfuxzfroy[qqlbrrwfedrgtrgm]iysjaakrbnqicefqxsr"
},
{
"context": "lcazfuxzfroy[qqlbrrwfedrgtrgm]iysjaakrbnqicefqxsr\nufrkrtywkhfhfah[vufpfwhtxzbdqnraz]kklboeggazttzui\ntpl",
"end": 175356,
"score": 0.5441634655,
"start": 175353,
"tag": "KEY",
"value": "ufr"
},
{
"context": "oy[qqlbrrwfedrgtrgm]iysjaakrbnqicefqxsr\nufrkrtywkhfhfah[vufpfwhtxzbdqnraz]kklboeggazttzui\ntplrraxhaaao",
"end": 175365,
"score": 0.5135384798,
"start": 175363,
"tag": "KEY",
"value": "fh"
},
{
"context": "tytbz[ewgckbdvfnkkyxyj]dfcrjyoakdyggbsxm\nwxjalqmicwmwkzakcy[mothnmmvgypeacecvz]hbjasxlsbbgxpfdptk\nqtsg",
"end": 176514,
"score": 0.5046284199,
"start": 176512,
"tag": "KEY",
"value": "wm"
},
{
"context": "nkkyxyj]dfcrjyoakdyggbsxm\nwxjalqmicwmwkzakcy[mothnmmvgypeacecvz]hbjasxlsbbgxpfdptk\nqtsgwqpihqjgmjadkjz",
"end": 176529,
"score": 0.5048029423,
"start": 176527,
"tag": "KEY",
"value": "mm"
},
{
"context": "\nwxjalqmicwmwkzakcy[mothnmmvgypeacecvz]hbjasxlsbbgxpfdptk\nqtsgwqpihqjgmjadkjz[skpdhegagxxbmayy]eaojrcc",
"end": 176554,
"score": 0.5044770837,
"start": 176552,
"tag": "KEY",
"value": "xp"
},
{
"context": "mwkzakcy[mothnmmvgypeacecvz]hbjasxlsbbgxpfdptk\nqtsgwqpihqjgmjadkjz[skpdhegagxxbmayy]eaojrccgpxovqpi[ixylj",
"end": 176568,
"score": 0.5124354362,
"start": 176563,
"tag": "KEY",
"value": "gwqpi"
},
{
"context": "y[mothnmmvgypeacecvz]hbjasxlsbbgxpfdptk\nqtsgwqpihqjgmjadkjz[skpdhegagxxbmayy]eaojrccgpxovqpi[ixyljrfgswull",
"end": 176576,
"score": 0.5176534057,
"start": 176570,
"tag": "KEY",
"value": "jgmjad"
},
{
"context": "qbswluceqlesdfwy[kbtmzcvoubbiqfc]honrvxwcqsgphvkt[djuuancygxacmka]knseftjiunzuxdi\nmiapzpluxnmdfvi[edlbwflzitzghywio]vizzhfxgilwpwhr[ochurvodstmhiypp]rycvogpcnysngytixb[mqnrhpbvojfefcicx]zxqxoinunlkjvetkvrv\nspsecopdywuheqbnm[npwovcwlwooxqhyp]hkuizzsdvysvhvmlc\noqchahhsrywoeteaeg[ucowjiwrzkfhyebbco]efxdrribepcvduwjgf[nvyogembujkkmcm]kmfrlcaeawrvofxrim[izjebqewubrbvguzk]ngmugyprdvrbqskn\nvwlikshqcpgxqvqshv[izqveivxdxgytqgdk]abnvmprwbvwmrwlkkp[iffpegqsxjwfyvixtwk]iseiapjkgnkcepr[gtfhysdedzxwrhcgt]ktaeihyqegeozdfuz\naieqqwhwfwxpldni[huyxdcvpglqqkeyeia]teztoyeycqohfli[uqvfjzbsvttphqxsy]afsxoqbqvtxtgriuzjm[psumrbbtxdxlwpk]qwpuwevhjellemzp\nsurpbndlvplunisu[alnojwsmgbtaomke]zjyikoebzazpwql[lkgsnxodocsrniokroa]mrcipdncevvazafvkb\ndkszjaqhbkyxwvwj[wykmzcvppharrax]pvrqzqhabqtuhrj[qfxnormttaxsldn]kxjwkrjwvbiutgnfnw[mbspfflblosguqzt]nifozavfsfkngds\nuwafdvptgkfikprb[xhmrwxqxnbkfpdz]efhnfwvovbvglrrt\nkozevksryerpsrgmub[dbtinyialvlkg",
"end": 178051,
"score": 0.7483500838,
"start": 177226,
"tag": "KEY",
"value": "djuuancygxacmka]knseftjiunzuxdi\nmiapzpluxnmdfvi[edlbwflzitzghywio]vizzhfxgilwpwhr[ochurvodstmhiypp]rycvogpcnysngytixb[mqnrhpbvojfefcicx]zxqxoinunlkjvetkvrv\nspsecopdywuheqbnm[npwovcwlwooxqhyp]hkuizzsdvysvhvmlc\noqchahhsrywoeteaeg[ucowjiwrzkfhyebbco]efxdrribepcvduwjgf[nvyogembujkkmcm]kmfrlcaeawrvofxrim[izjebqewubrbvguzk]ngmugyprdvrbqskn\nvwlikshqcpgxqvqshv[izqveivxdxgytqgdk]abnvmprwbvwmrwlkkp[iffpegqsxjwfyvixtwk]iseiapjkgnkcepr[gtfhysdedzxwrhcgt]ktaeihyqegeozdfuz\naieqqwhwfwxpldni[huyxdcvpglqqkeyeia]teztoyeycqohfli[uqvfjzbsvttphqxsy]afsxoqbqvtxtgriuzjm[psumrbbtxdxlwpk]qwpuwevhjellemzp\nsurpbndlvplunisu[alnojwsmgbtaomke]zjyikoebzazpwql[lkgsnxodocsrniokroa]mrcipdncevvazafvkb\ndkszjaqhbkyxwvwj[wykmzcvppharrax]pvrqzqhabqtuhrj[qfxnormttaxsldn]kxjwkrjwvbiutgnfnw[mbspfflblosguqzt]nifozavfsfkngds\nuwafdvptgkfikprb[xhmrwxqxnbkfpdz"
},
{
"context": "ifozavfsfkngds\nuwafdvptgkfikprb[xhmrwxqxnbkfpdz]efhnfwvovbvglrrt\nkozevksryerpsrgmub[dbtinyialvlkgilue]py",
"end": 178058,
"score": 0.5546938181,
"start": 178054,
"tag": "KEY",
"value": "hnfw"
},
{
"context": "vfsfkngds\nuwafdvptgkfikprb[xhmrwxqxnbkfpdz]efhnfwvovbvglrrt\nkozevksryerpsrgmub[dbtinyialvlkgilue]pyqdyodltts",
"end": 178067,
"score": 0.5261993408,
"start": 178059,
"tag": "KEY",
"value": "ovbvglrr"
},
{
"context": "dvptgkfikprb[xhmrwxqxnbkfpdz]efhnfwvovbvglrrt\nkozevksryerpsrgmub[dbtinyialvlkgilue]pyqdyodlttsnrsmfvca\nmg",
"end": 178078,
"score": 0.5207486749,
"start": 178073,
"tag": "KEY",
"value": "vksry"
},
{
"context": "wkrtcuyct\nfzanofpykognmio[ladtxyissyfrssobo]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]w",
"end": 179063,
"score": 0.5159810781,
"start": 179059,
"tag": "KEY",
"value": "dmgl"
},
{
"context": "yct\nfzanofpykognmio[ladtxyissyfrssobo]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpj",
"end": 179070,
"score": 0.5326501727,
"start": 179065,
"tag": "KEY",
"value": "hwawq"
},
{
"context": "nofpykognmio[ladtxyissyfrssobo]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjn",
"end": 179072,
"score": 0.5192411542,
"start": 179072,
"tag": "KEY",
"value": ""
},
{
"context": "ykognmio[ladtxyissyfrssobo]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nl",
"end": 179081,
"score": 0.5196865201,
"start": 179076,
"tag": "KEY",
"value": "ipihs"
},
{
"context": "o[ladtxyissyfrssobo]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkes",
"end": 179087,
"score": 0.5160444975,
"start": 179083,
"tag": "KEY",
"value": "hrqw"
},
{
"context": "yissyfrssobo]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdoj",
"end": 179092,
"score": 0.5195180178,
"start": 179090,
"tag": "KEY",
"value": "ga"
},
{
"context": "]xqpwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsay",
"end": 179103,
"score": 0.51946491,
"start": 179102,
"tag": "KEY",
"value": "b"
},
{
"context": "pwrgdmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoow",
"end": 179106,
"score": 0.519964993,
"start": 179105,
"tag": "KEY",
"value": "p"
},
{
"context": "dmglgqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwa",
"end": 179111,
"score": 0.5193271041,
"start": 179109,
"tag": "KEY",
"value": "zg"
},
{
"context": "gqhwawqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwam]ar",
"end": 179115,
"score": 0.5273916721,
"start": 179113,
"tag": "KEY",
"value": "fg"
},
{
"context": "awqok\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwam]arphrf",
"end": 179119,
"score": 0.5040600896,
"start": 179117,
"tag": "KEY",
"value": "kp"
},
{
"context": "k\nhynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsz",
"end": 179129,
"score": 0.5233199596,
"start": 179121,
"tag": "KEY",
"value": "jnkroueh"
},
{
"context": "ohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcv",
"end": 179146,
"score": 0.5294042826,
"start": 179132,
"tag": "KEY",
"value": "mrkesaqdojkqrp"
},
{
"context": "pngbwhpailzg]wfgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovr",
"end": 179162,
"score": 0.5330022573,
"start": 179149,
"tag": "KEY",
"value": "gsayoowgpiwam"
},
{
"context": "fgimkpjrjnkroueh\nlpmrkesaqdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxk",
"end": 179181,
"score": 0.5348001719,
"start": 179163,
"tag": "KEY",
"value": "arphrffqpcdntlxsza"
},
{
"context": "kesaqdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvl",
"end": 179186,
"score": 0.5193632841,
"start": 179184,
"tag": "KEY",
"value": "ne"
},
{
"context": "qdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmi",
"end": 179195,
"score": 0.5134425163,
"start": 179188,
"tag": "KEY",
"value": "yckrvdc"
},
{
"context": "dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxl",
"end": 179200,
"score": 0.5266789198,
"start": 179197,
"tag": "KEY",
"value": "xbm"
},
{
"context": "yoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxlfzpiej\njaeayfunulncs",
"end": 179220,
"score": 0.525411725,
"start": 179202,
"tag": "KEY",
"value": "logrojsovrzfzjtjbd"
},
{
"context": "cdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxlfzpiej\njaeayfunulncspts[stghc",
"end": 179229,
"score": 0.5157545209,
"start": 179222,
"tag": "KEY",
"value": "joiyyat"
},
{
"context": "[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxlfzpiej\njaeayfunulncspts[stghconfjhkqkr",
"end": 179238,
"score": 0.5154759884,
"start": 179231,
"tag": "KEY",
"value": "wsrvldp"
},
{
"context": "krvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxlfzpiej\njaeayfunulncspts[stghconfjhkqkrxncwi]kc",
"end": 179246,
"score": 0.5272886753,
"start": 179240,
"tag": "KEY",
"value": "ffgmie"
},
{
"context": "m]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxlfzpiej\njaeayfunulncspts[stghconfjhkqkrxncwi]kcnaqhyukuirsaeebp[vynwfnoxxxbqztj]gddvegwjuryfnkgkpqq[jnhmbdpvsxreqhoek]pgpikslhvbnmbxbkbc\nlajiqiaxcxgp",
"end": 179348,
"score": 0.5768246651,
"start": 179249,
"tag": "KEY",
"value": "lfzpiej\njaeayfunulncspts[stghconfjhkqkrxncwi]kcnaqhyukuirsaeebp[vynwfnoxxxbqztj]gddvegwjuryfnkgkpqq"
},
{
"context": "hyukuirsaeebp[vynwfnoxxxbqztj]gddvegwjuryfnkgkpqq[jnhmbdpvsxreqhoek]pgpikslhvbnmbxbkbc\nlajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn",
"end": 179385,
"score": 0.5562483072,
"start": 179349,
"tag": "KEY",
"value": "jnhmbdpvsxreqhoek]pgpikslhvbnmbxbkbc"
},
{
"context": "uryfnkgkpqq[jnhmbdpvsxreqhoek]pgpikslhvbnmbxbkbc\nlajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiq",
"end": 179402,
"score": 0.5271247625,
"start": 179387,
"tag": "KEY",
"value": "ajiqiaxcxgpvsbu"
},
{
"context": "eqhoek]pgpikslhvbnmbxbkbc\nlajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsny",
"end": 179412,
"score": 0.5121244192,
"start": 179410,
"tag": "KEY",
"value": "ag"
},
{
"context": "kslhvbnmbxbkbc\nlajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quq",
"end": 179423,
"score": 0.5197514296,
"start": 179421,
"tag": "KEY",
"value": "ur"
},
{
"context": "bnmbxbkbc\nlajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzle",
"end": 179428,
"score": 0.5273146033,
"start": 179426,
"tag": "KEY",
"value": "he"
},
{
"context": "xbkbc\nlajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzleqvsp",
"end": 179432,
"score": 0.5120248199,
"start": 179430,
"tag": "KEY",
"value": "ad"
},
{
"context": "[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzleqvspvsemjpn]noxrndgdrkffs",
"end": 179453,
"score": 0.5038557649,
"start": 179452,
"tag": "KEY",
"value": "d"
},
{
"context": "stragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzleqvspvsemjpn]noxrndgdrkffsdvh\nby",
"end": 179459,
"score": 0.5115751624,
"start": 179457,
"tag": "KEY",
"value": "cc"
},
{
"context": "sbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzleqvspvsemjpn]noxrndgdrkffsdvh\nbytcvwxua",
"end": 179466,
"score": 0.5040733218,
"start": 179465,
"tag": "KEY",
"value": "m"
},
{
"context": "hecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzleqvspvsemjpn]noxrndgdrkffsdvh\nbytcvwxuavajevmde[nhm",
"end": 179478,
"score": 0.5118192434,
"start": 179476,
"tag": "KEY",
"value": "le"
}
] | Day07/Input.elm | hillerstorm/advent-of-code-2016 | 1 | module Day07.Input exposing (IPv7, parsedInput)
import Regex exposing (Regex)
rawInput : String
rawInput =
"""wysextplwqpvipxdv[srzvtwbfzqtspxnethm]syqbzgtboxxzpwr[kljvjjkjyojzrstfgrw]obdhcczonzvbfby[svotajtpttohxsh]cooktbyumlpxostt
emzopymywhhxulxuctj[dwwvkzhoigmbmnf]nxgbgfwqvrypqxppyq[qozsihnhpztcrpbdc]rnhnakmrdcowatw[rhvchmzmyfxlolwe]uysecbspabtauvmixa
bqooxxweoytjghrqn[hkwwukixothfyglw]kpasnmikmbzcbfi[vlnyszifsaaicagxtqf]ucdyxasusefuuxlx
rxpusykufgqujfe[rypwoorxdemxffui]cvvcufcqmxoxcphp[witynplrfvquduiot]vcysdcsowcxhphp[gctucefriclxaonpwe]jdprpdvpeumrhokrcjt
iungssgfnnjlgdferc[xfffplonmzjmxkinhl]dehxdielvncdawomqk[teizynepguvtgofr]fjazkxesmlwryphifh[ppjfvfefqhmuqtdp]luopramrehtriilwlou
mqxqhcpalwycdxw[fkwhjscfmgywhtvdb]khadwvhkxygtxqx
ihekzgbwpjxgbau[eqpvqxncntbtsqn]mbtbcujdkbrhxdu
izikobnovmjzngo[ombcpcvshnedtndu]lnnmdkuapgnxpgyxcmg[bgnxdzmiolfvvaizu]tcvnrfufuvhgmlxcm
yhrowrreplrrsbupeor[nchtznfzbzwnogh]rynudxihckzattbz[dshxeaqusdlhydtm]rvqzuffgqtysfzxp
unfjgussbjxzlhopoqg[ppdnqkiuooukdmbqlo]flfiieiitmettblfln
hgtbgxarmgbxqrhghxb[hflfvoetxfisqsj]syhkugztqkywetyhad[fmptjuaqittvvyooda]cjkxbnylglnlfleelzu
npxhwtitqnddkwg[gmzggwnvygsroeaadtc]gudnfyefqbbgyspdxjw[ilthbdqubqnveowv]xitfldhfjyjsomygjg[knmrlvoiqyytigytlum]dlfpsnyzmhkmeevfwsf
wjzwftiuixvwyzmgoe[jbfghrqhyywwhlu]wcijbojvlgjjdtowzpv[lgfvxfdusgxddsppbxb]pagicuiuerzeydww[wlpjklgzyilrifonz]gdicckmxibtwwoesaxf
eilrieezaciolhnhrc[hcisnfomqiiaculxfv]bfyxxhgrakqogthzft
xijomgpzpilomlpy[sfgwaovcybyhoogrxsv]ufncwrahejwlhyvz
nojlhdpfkjbhahgqo[lqrkjabuijutlcbq]caszlkvkofxjyqzsttc[isqicyomykudneq]izuzehgtmwnnvfrlrja
qwfvuzrogqzvnhyqdv[qhnjhafmrtghosbmskc]msmwswtgzlpmtmzne[kovzhefjqtqadhj]myqisirynftmtzvxvvz
frfongnaecavmrhj[uuptwvcqozxnglsd]kwpovfwuhmqjkog[phtrgysxaltvbohmv]abhuahonmbhsmfglltm
wdqcwcbtpexduecepe[zwrcpctlwglgfpappb]zdadimzdcpxhxwde[yquulvwgyyzwcfsvkdt]thgziwclyxxfyjpbpc[ypkjfrfkxlkavboh]hxylcecamgezuoljh
yqxkafpkuuxfafe[zehlwtvpprtiqbl]qswqigaeaneovxm[bqoieihtxarwyrqegb]yzdopgmqklqaizxjm[jhrsftklywefyevvha]xuvydwcntczjvuduj
judhawjtmpsxfocai[qghshlgvbitxevt]xehceioknrewezihnb[jvrzemakemtgmqiqmvj]wewpjflvqmottqx
uhokpvanmvdobqitn[eosarcmqnukoczgz]rmoowtgbbyimkptlxdu[rqhewmnpypqpyosgehz]nqdwglwscsizxey
sbnojmynueuyyutr[oonxqrbbjxwvwafad]krqlneuehyrghmkrq[khsckkfwowubtglegu]xweufrmlufamzbcedk
nmgjmbwyrvcbthw[ogtvotifzugvvrsfe]jucqbvfqclkuxzumoed
uaokpcytcrfpitfursj[lweyfahryjfprulw]dsdutsxdtugaced
ahshwqihivxlgsj[ldnmuwbrmoxtypqluyz]intafryfavcnotgxu[xjggdyvoarfajgp]zhfgnytzjhuyheqdy[yeynlfshsyrhjxrzguu]onvyhjfwooikmmqzwgc
djkgxfnfojgjpxec[ngwqajfbywoxlbm]oqdqigzeqadgqjt[tvojayieruftbjokeeq]gxwtruomnhorqqrpzt[bxppvnbiwhkhdka]rhpffqekyrcgwqmoi
aasbwiocfkaahrjwerr[dvlemehlhfzxnzymqn]okxibfrlswfvmreuf
rwcjoknjvyufkrp[hsqrwhdlwrtlthp]ijezyezjdrhzgltliq
azawpddzkqbosmltyxt[zoaaqnowmmwkmfkq]lgusvzwnimvgagupkt[scbjhqdftzssbvnvff]coiaslgcrwvyioxx[jouvwdiwvbsembzf]popmlnhjkoaeahcny
snucfdhspcbcsgjnmcc[qbicureolmbzhsy]cuabqhzbcbkezsumkq[cnggwqizurflommitua]ajtxxkqwqynnwroi
bsxzwpiauwlqelesq[uqfdggoirtlucvedpl]asacxftfqfswiapmj[nqohanbbzodfgkxihtt]lhshhkgjvjkumja
beewgulkwnmwxenstrz[vybrrqhcdpkhfnshccv]xdfvqzdslwosulzatc[kuknmynmjntvtyduwlh]trfvychdobyghnrxrfy
oxrwmqpvxntdkohmxb[wugyubwxumwnxlk]jidpzvtbomuymyf
pqzbwlnmvtytsfre[pmtmcnxkylmqaeb]alfdaofnqpohulpmfoj
qopdwichdepaubxxeu[ifjozmlqttahyugyt]mfmlwxifscsnuom[kiyjlqqxunsxfmht]icofrxpdpsktwiifyb[hetijegmockkyjhhc]aarioqngqmdpkti
klumchkwczxuuekdb[nlalmjunselydybqxdj]alagfcxocldfyzdnzd[abfnqrgrxbscagj]cohrecgrcaxljkz
djydzyiyydcneoubp[gorqzujuwkjsqhelfrp]pvtvbhztirfzmwcopfv[wfjumxbfvvgvzltlcf]ergdkkakrtfzcxmqcc[vwnkrxhayzbvbauvn]yjoqveipzibbmjq
qbdruhoywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtbhvhlnw[ikahxtlheeunzrdq]tmoanjmpioumvpcu[tnmcvxkewovprxgzd]trnmnhdvtsisiujqjk
llojixxpxtvcwxaxp[rurmhymwuztchngs]weaefxdkjmofeydvfy[hmbracjdcwxfeva]jkiybiomykfexjlyg[pgrlrqgoxqqtoio]rdynpcndtqarmkagbw
kislmybuoblnpsc[dvsrnwlsvxxmzuu]jakczftcvijbavhjgb[osdyplcgliragfnpezx]kihkywmwgbkjtgxn[tdsgdadcvcaxfrbur]lzyjmrjqztybfdmm
orfngwdzlrucbkbqd[ibvlkwlnnzwkhnoad]brstantuaxwkibofh
vuumejklanuomqqdbva[mwjzrpargsphzkkhaaz]lkkewmbrvuczyyu[ebpoqgoifelelzzhd]biflvclnnimuojihdmn[llrnjdgzagktjrys]edtbmzmcbthpixhwwyz
ftaciyszakisxhzjhbo[khfshezpopvjaki]pdnnsqmgpgatvubllrr[ovjrouomglbpgvtya]ifwcvhascqptbvbums[cfpimraygtnuimiup]zeykmilehidtlstjux
nzgbxxiimmzsvhe[ixypsgextxvdckbjelq]jpklrvkhgzprfrsv
mpdlsziccgzmvorvm[vhxbfkwfwbxqbvxp]zbsxgodzhgmrhrprpu[pvawdsvqybgdncgxido]zuhyfbmmhzegohu
rdkteyoeleyhxdlfa[nrrzftpiqatsnnnsd]qwelhxwbpuwjmrjxmgq
vpdhtcgjpkrqmrt[gozqldncggxpvou]zedtarenbxskusqk[mwpmzpwraryuqqmdhrd]eoculislafmbqzy[okpddsvrtyrkbjtihhb]dvuadhnaxkfewhnksl
ivjfulhqfbdqiprzbbe[ezhkhqxcviwxbwmlnbb]ttekmmdrphuteslzwcj[iocuduwexawydww]qmrfnnedqtqezclpuq
tksplumjkpsjjorux[dpffmbayilzuszc]rsiowigabmredkfv[aurieaasmsrxufpo]lbwvhcrjfgomkff
uwuobjzxkgeugrivc[biktdwykzondbwiko]nnrtnqzhdhdwzkau
cjjawanjvbxvmvdmtu[kubvvkuoynaawzowphv]ssijoohfemyhrde
qlykdpnioshrexuw[tjwoswemjxylnqupgv]ymovhecbliuuzhjwu[ghxibaaourtzzogrynv]hmlndovkousrtbomlnz[nzkdpmqrqovnvskh]vdvntntzrqrhvcaxdov
tdhrefyrccgkdquxz[jqeprpsvvkmmldlwyq]lwhnimtgegsziejeh[gyefzqbmfnhzgtq]fmbcvbjtsriuicde[sbkkbqwzlluccpa]nwxmuolcbhtwcllmz
cakfzlwlaxgrzjpgck[toihlzbehdzesbt]azrsizelgzczqxwejb[ypecquckfavmixeyjgr]njiyddhuwlwogbnpt
jadaohixgxzjcopk[wopcnehanaabtklxnez]jgvumwvmixxxwaolxb[lrhmslkbmylyvlkx]tatmsbtlbcutcydlrf
gelrpwfiyiszejt[skpclwjhzgwvfbbd]ibwzelwwhvudmvoe[gpdveubkzkkxvtjn]khmkjslnkdlmefcx[fcwhuyiyvnjgfcva]qjcfuqxwmkyvvzuj
pbejigkioxtdjjzbl[uihultqxejdyegacm]fitsnuitopdzrxskz[shbzwyodcotpvoixoz]qrhuyetkmnnljfqt
yohbaryhrhuobkf[fmfsylvacrgvpnlqdb]iucbpagpbziaqae[lfcjrlbgxiytord]mhjlzecyrqcpbxsaq
vguohtnahunrvrfv[lwbganvrrgnasnkqjz]yuoncrmethwiglfiy
pljibizefgbrfauieem[yadmbpkftrtwjrize]fuzpxdpomsdxfocc[lvoahklovaxtucrpwhj]newpgoizivpqkpo[uloztzclhwixtcjhyon]qyzzqoyirejavchy
plinqqpqghkeuipqppp[rndecheohrsftgvku]ogsyvyxuetmdomwdmx[lumcfskwppjacuddm]uptsydogwyqaupdft
ewvtreckmjqvkvwgtz[leisttvtmrxnzjv]bfzzponjsjmepqjfs[knbonuuuhvtvteiov]vaejlijsnrpqppo[hvwwdxernqcxtxe]ssznbkhfmchmjjiahkk
rrofpphpfkeeqlxcev[ierkxtuduxxxbilmg]vmipzdomogxwiazla
uqmllifxqxwcskoj[lwrjkmxgwxwvkqrsajx]wpbkbsohlaeskzbv[boyvlwxpqpppcknocv]pgsvgtugmxmoexrvpkk
zupunwchccxqggie[sdcdhzciymhppyaaaib]izbizcvzvbcnofmqt[lvvxmcmydxruvudsar]gnspfiadqokusllygyw[wbcpnuppeugrqobtnu]mcvfhylypayxquurcv
ngscsmmvttxjxoaniu[wsfnnfnkwmjxjql]ijtqswaevexzcmgime
hkmykmrremccqxvfdps[izfaeewfadfhuwwd]yffzgiqtmayebphb
znzxjrdnxhfydrhr[kwafvmygvlylite]hmskvvpqyoblrygj
gkxzweijinwxyajq[jzljdfxlossksqa]octzjmrvxkumtpn[jypbqguwpybykguwn]ngriygtjydfznsf[cpwtojpifkhwtfknjsg]zahxvqxjtoutvvsphh
kmvndjahzayidho[fitbtgfncjvmbyrbvnf]fodwrbklqhxpsrqwh[ccwvgmocbtbqvwzu]uuidhylekzxzvmce[qbhkjfhnczasecv]ctsfirxwjfvrmayoeb
oktwbkikybfwojcweal[pnhqkawxmfxggabhgpa]kdjghdalrpgsdhqj[bxjcqdytenfjirvb]odnhihekqyskaoedyor[pqsixozypkjdnnntbng]negjtmkqfykrjgewt
hriyrcurqmacydyay[gfblxaovvngyesfa]tmftedgxujvmjze[knivpbneiuxdsowcxdt]zzncnfcouzoppog
edabqgdgbyjqkzjvzhr[rdejmmymhnvfrqvf]zknrxaqjohlncvwc[lcpuoqnkvwgjycfm]ohuebodqzydltckrsb
rxcyawcfxcjtdshxg[zvggbsrobekoxidyx]zdpvqowndwgdubbhst
qngajrgvzuafovkr[kracjvrryquumqerjev]mqddkdpqmfgexahczm[psmbzonkrrtlqdpgqci]obiynfssuwhprevmzm
dihkldbnjicztjfrvga[qtlevmacqkefjomc]opjaojctoraohocxaca[ojldoulpocpcpexnyx]qnouppkcuggjmod[oeiywfzmbjrhtxz]mvhoarchbrpndgwhxga
qyncschbsnqwgvfu[cscsfdcfbfqiwgwqi]pqzbontuospgycwzqn
lwvovybfksidtajq[vrtqmrxzouplnjogzk]gailtfjtszlxzwhbs[bgqzyhgudphwgufmg]levofhjnxjqhkcy[wbffnapyutukiavenm]olkwwlrbbobqudwvnur
yeqiptxuczuxzeatp[upzutosphyfhuho]jehejxjvfpqeifogn[odhltqvdcwwmshl]coezfdamogigspon[syppfhysfwfkisltwr]ihkaelrbcelykby
nmciqyaovpdwzldwt[zoaowvxkrpfuwnyepcb]yhqlmmrxxvguuajawb[rmilfmqzokaeabc]yhmswnsiyrepbudi
pifzooabiqmuicfqi[tvaqijdwxsbamxzg]zncutzbfmraagej
jpgkrbovswsjnbcj[bjybzimnzszdkqj]mvwmgdithrxecpselt[kghbhnctqnhhxxhdro]drttsuyvtuuygdtfaf[zohajxyfyjnqrigq]gadarjzfafqxsjxk
wivyofwdmipecdxuqu[trccnlbsvfbagstm]xajuejldffxzxfygsg
qsuxdmtfgpmlgkh[gisuuzaglpmbmydtt]qzyfvzryxepjmnr[mgsjrbmtxxzkadomelm]fqzjahepxspwkwpwd
pncauthrouncvjkrik[cyiovjnoesdgpeyjpvd]ajhonypsbifeghxi[wmudcxwbewumjbegnh]qetzbstgmzfruzxqln
qmkcddrhexvtylukq[nwrryzbnjnhvvgm]edxlyprwzzhgfmhz
iuonniejtavofqdqsln[ynjrsfsqrdsgydhpdvh]xvqtjledtcgkjkealws
fhbxdtddlvkjrmjyae[nwwjmjvxtabdwdezfdy]iwnsmstiulolahbxka[lqrxlwifzndbeid]jilfjomwrbjeniwybv
iptzrdexpfzabqcqkm[kvaxgarrbrobtmu]fqaedifschjkoepn[widcirixuswhcvcqywp]kpkxphryiwwnkmb
zbeoanntetxhvigve[fhwvhghpujcldib]ncrcyvevibooqesy[ougjirkquasabeqad]ydufeicmimcwgtbg
jaocnzcwgxknexaf[cqykwbyvxtcwnurw]udxjnumyhelfogapi
sduqgjoijyfrcnfencj[uxuiwklsiuqwjjrzcfn]epnvqcjspwopyffl[mwghrhtfclodjan]ghamugnhrrzjwmnc
woygyvtrlmjzaeteuj[vvvfohavzuuzyzgu]xjjcxhosambmkixiie[lqholbwbktlvdljmapw]diufpkdnjmjnmyc[ehjexwagbmezmpj]czhwzecixzxfykaiafj
nkijgkhyilzqvtgj[llydwhyhnhpcracxxd]zgtsspcwpyujndbxvp
nawnrsgxqpctinyek[ieguugfkwujnymij]rfmqypeekkdsttdw[rfuanabgfjgctueaaqo]vranbomhrynvjyywmh[zjncmschlfmkvhd]gfeoftxsawcgrzvrlx
jgazasxbickiiiz[duuskjowanfmieegl]cwgdwtrzpbfemqitbhb
lahkgoaoeofjlocsei[bwxyguvgmenwnpwlp]jigdlgdjptkimoyipa[zlcyjbqohvmlxgxp]bmovqedgchicusqzq
jhkxinkbwhpddvjzgod[fypyyhptvewejlbwdmx]teagznqhjydanxxi[wkppnjsyzhwshtpo]piaqxcwqolwklwzsfkg
sjedigezzdkqlxlcnr[xanehtpradlngiob]uonmjrieoycpthh[wnsqwfubwxkqhlflzv]smrebfwpnhskzlknva[pylbyttmhyggonlk]dwqkzjmatybpmgeb
ktfcuvnwueamlwvgwmq[czcgevditrtvddgfh]djmmelqewdnzrlqliz[fkpieaipgyxnkmjp]rdpkfzvqpfpvczv
tixjemagwmynkihelk[bnwfmkugsnivgdmvskc]nlasqrjqrlorszi[kbatouwdhejxchpdhd]etmbkytyrpnrpgqvel[xahfkfjmsqjycaq]mispsimhcckrhqvek
abudxncgozbrbnx[fllpjgocynbuyawgs]hiphrvpugpfnnppn[jhmlgjsufflkdgw]ldmdclrkorzjtbjqcrn
aljahmvdrraiavzv[tevjntkppnjqwovvuuh]ozmgagxzixxyzuy[zgefziawisowuyqra]nrqmsbwgqbfrxqvzu[zvzglmnjmjpmditiodb]odzbozesvocemfyis
zgdukwtswaosbrossf[ugdnezayjnbjuhpeh]knkvomcsgfptssifni[votpmaaohcyofgdz]skbvfugaaxutcmrmsc
ywiphurgqcvybiakgok[cscyksufsduegggw]rtvvvokrvwmwsvmk[oqvdxhoqfsfdwwm]sbzajtnbxzkyiwrj
nxrvrsbjsrysysvftoo[qowwnvlezexjyynm]nknzluizyzjpbzpevb[adkqviapkjbmknchtb]xsgtthuifmsqidyh
ejrplkjjbnjjouesaph[bdtybzkfyictcjuagr]ivtcttyunertnzgmpqv[roikukeznmtkqomqbk]lsxzsjrnsrdlxevj
qgcebktqtyjjwsav[naozjsnqufkkgkp]evimphuulhzflub[weanrdvlsmmypnh]rojhwlyxtszxsjiuai
zludmyuqlfpefvxcm[hejpyhwaqdndtwslan]ldtxkxxtegoqpntsnwg[olhtlkpvkdgkkxkisp]hursraavetjgloks
rosuljoqspxeovaqr[ocjdnpuzmwioylt]txylrlsndrifxiuxuyg[jnubpcjyfzhiwul]pdtcjcrkpmzlayzcty[gasynfnouxnvrplkym]naxwpqsxlsbvyuavty
oxbyqbqmpckkdpfjtr[ggnmfcjtyfspqrqkg]tzapjijawrabozckadp[varichgjrivmseddxv]admqmnzxzqcbapdquwd
jvhvqxvhqfxnjzmv[hwfwxvwhxorzqizc]rpjpwggqxqkaznkuqn
yrsucbqcfaukancrr[nabtowgijsnzryuvbiv]sfpffzxrftnrkjx[qfyfsbkyhetcedf]xdykjbymrqgheanxx[oxchcwrkbqvvfeyi]bztjlknshikocxztjm
iniqqqqprdeznwhr[arooglolfjgprfrbhbm]sczcmpftuhbaagwgedq[yutgzaqyxntjxoglmb]vswbhlspwfulowkif
bjcjrdzwhmssgoinrcj[jobrpyapaxkasve]hzacshssrxkdtrlqhr[yygotqrmvhiqjrja]ljwfwudymzkpczysknf
lrnqnaxtavkhwfebb[vwyqnqkveujnlzv]coizhrfmviizxgz[zklqinvtnwtajyjx]nxvpznyebozrosfgh
ccjjszgrbozbpopagns[abiuzirqfzactus]eemrbqrkhhppvan
xeaifcibybamzzzic[ymvsqllvremyfify]ftgmrkhzswdpbmukcdv[fbyevcnnwtnodgxy]slfjznnldyuvair
ajmeryqwfhniqenmi[bdzlgljpkkgsvpjcy]hqzxecqxmneterlqizz[pzrbbprbhujzpcxhjmh]lvrckyomhvidbiapikk[cyyapugbrwlubpmn]toodggarcneobyz
lehpdvqjccdfpzpo[ssunfejvfxwzlzqy]dvhwfrwiipveqpb
ijmthhifxtkoubt[jcgoxkntpnxkmdp]rzsfekfmamzddgm[szvzrwthulqzcorhnk]lmgsxsjjcagkaysalnj
qmfgzmmoylbruqxoh[uoyinkzbglorxud]frtffuhkchkrwbxfx[urlwigeirzobvhir]pqrqujuwxueommaj
tzjhaiqumjufkzcvphi[lhfohqxxuoqybomckm]qjhpjkjljzekboyc[gvzfehzyrfaarfklybg]fhurcpaukztwesz[lhvnhfgpmunjukye]mdzcvgeehmchcqe
cbyyjbdwzgdhveyw[ockkdpwglixvbom]ozezplbkvaulagw[vmzfmqxplwaqjrf]upytqbnzjrclzfvti[hztxfkqwcuypqyhsfa]sfwcfhrnccesyncbg
zaclpaavkxbpjxse[dmuzswkobdcfmrejhaj]eqdwvpiphijpwrvg
yvectfptgdasqxi[rmpaospaiqhwpjwdru]ollajqbxmfnqmqrdce[jqixwgznolbepskpm]pmyfsrnbdcqdrhplko[pzblovbmbnbwjzsxrk]hgwpjhgshxoozdu
gpnplfnpnmdlhehgazx[gkgcsjdcfnxytzp]wamlpixcrqvbtseb[ijaxccauotewzkgu]usgmgqmezufmgqjslbu
jgtqghpjnbjkmajymfw[isxpkhlvtuyqpscvm]czbrsyeqmjnksov
fjsepwfaxbbsdxlcz[efiljmecvcsybpj]fsvcvvewoepnvqz
nxzdtgomsakdhwefrn[cobjsrlxnkxvmhk]wkfnuypvsigzcnswufj[ttmtjfkbnhmmdebtr]ffumzvnvgitjccgz[offnegtizuxhpqmic]lbhljegbjmldqbzryis
gnnsvlcqoatssjuijb[eaodophfeufuvdodj]jplhbuvzqfgvrqbuy[ezxxqanlgnxdkohew]vsukbzhjshwmmqdkzdh
shfhzsmqdeibrwgyr[slyyksjeywcnuaocadr]kdwnsokrwkajgnwi[zsfujtkhknplyieg]kijuvumdqvjyjpbhl[qyrlzloooajylfrsfk]gwqdkfpitiitrednt
zhmwbilhpywvxrza[tgnybotdqixzolvn]ptxzyjbayyevmcqua[hcmgjpycosutmqbtkf]tboiprpyhwgjceu
ejuvrirctrlirihunm[nfjigabdmqnkfoauuyg]rfwcumqndfgotyx
cxkwlruaswigkrtxxch[fjsovwltjonhegm]zkfawxnzxlkaqawq[rgfftbipxlmelfnpf]qhhslyyiluvowxz[bgxutaxmhxyxxdob]hzthuaqpiyeomlgqqcn
qyzwezoszvwrwiilglw[opryawlpulfkpkmuave]taxeqyunnihulfp[vzxzosekvamoofva]bbtonpohbgdwfmt[xwzkmwrwruatcdqrj]enrapbeqoxrufgp
lowqonzaekybouni[uehkpbaxwfixuwlj]ionorsihznoszwzyq[cnatlobscugfpvpbw]lnsmgieepzvmhvbz[lsjebmtctttclkxqok]jwevnfmcrtmgjyniiuf
ltxumfyzdinfqrlf[jyiwmlpqkbnbgmu]bnicegkghtwivvyozea[qhgoiugrookfmdsln]fpokyqsoknuahpmutnm[smzqellevlxgdbbet]vsadiuyglyyuccgkrz
fvhanaukvcjdkhsydnz[pbjsoundyybhvaqglj]esjjvkdvjmgmlox
hcckhzdfmmvnsmuzjg[uuajvdzksgilxpjmnv]opbmjvfljnqzxkql[pgdelzddxqrfdoqnit]hqrrfnwrokufpybg
ovtjlczqesucgox[kiqphngcbakoelqncyi]jhrwrpwdjxbhnqp[kqvqdyokyuxulxidc]qumskxudarjyagegy
mxrxpfkynragapzrmdv[rdhsbrxgeywqbqh]rpoerdiwdisciarhl
ejbdfeqrdsrijztlibc[beglofnxveiorftulay]jslqibpnunabgqmi
uplsbqledimexhzwnkk[sfreaeitecravsu]exfxqlrumxaeasi
gicahlhkuxbhppe[cypyeqpzkrggfqrielv]pkuwwtbezndgtqhbz[ojnnxanlkamvmpqfj]eozgnkxtbtyecuhs
jtzwiyeueztuiwysyv[awibgssyyssrnuxrvuw]mmyvqfgaaraahzzen[rhscfvdrvagricw]qsqbnurcszgekmp
dxkeveuauhblqnq[oksqvawybtejxmdw]jrbwmyxdggncxitwcms[fvhnmupxnynxmprs]odbifiqqxskxaqn[xwdwagplcltcepjmtf]zsfevibkmzwtzoq
kflcnlkdujmtiug[rwydvjaazfgmfcn]qolbbuxzxhoizfqcwn[tprjkbylcrlvmbggae]pjwhgcmgxzhxbxdceme
donbjfkqtygixfpaa[lhfcyuzcmsgixjbr]njvgmbwgzimrtpdmvf[eonodblqfpgtmex]rkakjzfmuyeajvhs[lmgtvenasnqbyby]jdbxoeqnwoednoncq
laiyueskjnlltkwm[lzrgjwrjchpmnais]pqltpskalrwtmtagvm[luctnpiuqvulmtmw]awlqbuutunlbpusn[hdetxhrtzhkyfktmfn]qpmezabxzrtquidbjc
hritvdzjxipitctgoex[jtbjcyaysbefjme]ebbcyqglydfhqjfa[uwuwqhwanfydpxqk]enevryjyzduawrfc
axxprqpxpifqnwte[qwkkhbywyixngun]ufwcbmerbqiblbdmn[mguzyerbfhpqnybh]gscgmmckgfxvvwgxxm[gfjzckcxdowpwmhmg]hjblyfatzhxjyvlccb
qzzkrqfnnzvgfmrpjr[sktcrqxcctcduir]vmhsrsedrxpnrugm
mpxgzowtjabzwfcbeg[olgfqepvinejmstbrj]fnqxcfzuxojvkscyk[pxbyuusrrbjwrygkxm]wiojjquwvhineivnkys
vqcisychxuswbqlzdkj[jetvpggxtqqguuh]tyllnzfyfphoudijzj[xlnznxybxscqjktjn]oysyrlqascsqbclsb[rzhxpwwrjwakoldm]mrwzibdjlhsdsbew
rttdskfweqmkjolrgsd[gmdwcimmgetwiprem]wkyklvpjyhpzvmsh[zftyxsrvhnioomw]mrvoyvyyrlguwedz[xyrajtcatyabfqigup]srjmohoxwdybksfv
xzeexlrzdznmhbph[vobtfjuyowqppxw]mjxwhgwveozusndvi[jthhtubbkbmdiepfh]gtedeqwesiwzlrfny[tppxuofhnwwkbkysg]aygwlnvczaarhfgkw
zxirxtzlqkptwqd[vwdzostlmrbjclfj]aluxqfcdbjwbeerhr[nsjcafnammlxjafrzaa]kipaqywrtrpkbcdtnyi
vovbpdgnfhmeuadh[bcgvleartfaspvvjjz]ajyzrbirtimuifvs[lykguucpvkxuupcbims]qplsipqneiycefb
alqzdecagmvodcigcd[atmngaijkfehfbc]cprsiaclouvtbpaab[lfrxlrzuuooqdtfirbj]olcjwtrkndcvykp[lelvgglysdxycvk]uyakjndqzxtzmxs
syngsortxjqcdwcz[qkiseyvolwhibxdg]ucuxqdozkfgaxqwovk[eqeessuwvcayhpc]wkhzcbkxgakgxnmho
bhtxesznfkwqbodb[ptpuhbdsvbcjpmnsl]oohvgktjsjwxqgyxov
udnbbnkojrdevgujkg[cramyjeuckywtuw]qtldussgogyblkm[yuwacyafnikvgbibmwn]xvsgxmywenrmhdctxg
uzqtkzkmmeuttwyklv[rgnrxkbavqabukxvnp]whhgpmwocfmplba
kvbjvjxyqiqitikvm[vkzunkivwcpvxng]totvodotoqiqokouz[luzygityrnpuiih]eadddxqveeuujmvnek[nyxhwlkatungkgm]bdhobvhktlnfpjelr
inmnseeoqimzjwzhltk[ntwlsdvvybtdoqciu]jaurhomtnyudxxmslj[wqygsctddywlbxg]apsdlaftsghmhtj
pxieimaprtbntgvm[xuvwwsinhwjjapu]taeomoijctvzyeijfr[gitzztxejfefzvepf]udobxonjlqagrkpaehc[fkqjhfjicleroxp]hxpzoklhbgtngtagcz
lqmoxvnknpqzcgs[zktsmqcgzqjponj]wfhhzvqiqkxfwrrw[actbxtcdlogatfkprc]tvzphmtxfrptzlopv
czdnqiwqhighizbmivy[tptpsvsahslbsovazkk]ycppvkqvuggebgxibe[qutumfpnpzjkgqyfkok]ixywxvmvliftixfie[qipgniycxomhgmwje]vnhxbcnofkcnzep
igvdicnzsefxlgk[dzppkxdievabwyh]fvyywjzcyfcqahv
bjzwblslduiolbezybz[flvsgshhznvzmrxo]lottitaizuksqfihn[kgsgzawzjlqjsep]ihadewtrfpsudggga[oecgswhnbhslysd]flpdpxndzacxeskzmn
syxfjuakhrnntipfpb[xmntswflflstndkv]lityfpfignnxsyirja
unggjaqgvzrckyqx[llllagrmuioghea]qafuiwqpxcljhvf[tevtmuvcyqqrzvrduc]kqnaadyfxfyyzjuco
cpjvjnocqphsagdizq[rzfbvtnodwqrqprvqh]rnlzshtjhrevjgdu[lbozqegfwoaikxbnt]cqmzymvkummuzjfx[vtknqltevighwfdnjv]djhfeemiljlvkgqkpp
adbbbgxmiqomckxesb[dmwxvrammletdiim]eiozjsockohijbiinia[zyjjubdniurametk]ajivyylxbhvkktrzdg[byxiykqfbvpfdzdv]zborzsvqimrhyoyhevj
frshflyhzegyezg[xxaoqtzxuqbamukfxed]klyullmlailfvcz[boefzsdpblwpbna]dbnxivwobykcfwogv
xxycwortiwhndrvlr[mspdwmhyqdwtctlyek]qnzfcwwvvlfsael
fnekkofpuwhttni[mlwvhzrwfdtfnvof]gtlyjqokjymvtkiqdl[gdjobagxsuhudnoi]jgcgyusdyyocqwwtatk[rjujihcuqgdpcbdnkco]iewvagokrzdhhhskv
dfadfbjefyinccgzt[gzoojtdlvqysetfihg]nlsriqansooflahzhoa[vlzwtzgipbaxudxg]htykxxpfmhigbdqsu[pzipnakgdfpajkbqowq]zrwedqiuobogirulfwm
wevlduhhsouwlqxdcfc[bxcvjwespxdkulgun]hfuhwpzgdgqsujeex
zweayhrezaoqibgvc[sosownrvumzvynfpvr]lzubqqqepwraqqdxxy[bniazltbdanpnjjjuox]tulybfbbzeiyidrv[zbebbcdzpcvegcms]jdfofmnlgwrnvann
gkmbgzvludgmjgnrkck[ijywdgxetrginhtaa]yiokddkvhxebbuyrwoy[erhxxldeegvsebr]ujqickibpbjpizhbjw[mtzvltxionpxygo]mbcgbublhkajfdfvf
ddjzsqkoizakmeifr[sigtlzmyyrflvjowj]dyqyfvpkhdulwuj
jivforicorwbkmccpgj[oviyldmrjjzbojbs]wpztdiwcdrwttmfdw[jgylosmbgxlrogsa]htkvwsfczzoascpunqr[uemtqxhcvvphnvktio]xkghvnicljrlndjtsv
zkzjccnvukaraob[asytykcstvxtkvermx]lqgjlittfqpyxcq[dwyrqfxmwryvxjzr]edufjnmxhzxokjgphk[ucthvgtgfpzxikmnjv]yqumujliwpjujnymcen
bhbndmsnnbhspzjby[llodpdecwrlspsbhbhm]zqulqmxwcerescalp
ozkoqhvatxmivox[qffeloluwcgsimvcrnu]pweywrdkmtqjiflvcm
rznstgdzevfsthcc[jpgjzgeibmumtatu]asgwjccfkwzaigwp[soegoylmysqcequdsw]pennknxcwwasonjz
afniplpdesiwqvdioov[xfkwuijxjgtqbhqow]idmgzrcmwzmrfbsubkz[mjwyiznfpjztbfervj]cythmqghdkjcfrt[ekhpwckuwduoexycc]htaeivvotvlstvsrpj
gecbcvpiswzjjeiriav[ivbfdesbkamvngogjb]xphdszgbcburesbfi
uldzgctwccgqdbxrmpo[guiftcqomdqlqua]dmxluytucnlndazic[mhmdapmemlrwmvdzwkn]oqyvwmhlabcwxpzioz
mganrfqbsckpjsnvlh[vlwmfxhxlnnpsghrhmr]eqyrkxjcwpkahqpxeqr
wpbzefalgkbnrke[qruzjqtrkbzsvfgwz]vahtniazgsicquatrg[zzslttuxbwolldy]cuejnzjsuwgkobp[yspyowiamjpzcaqwb]vhakhmjrncjoroe
ycxznczxbzrprsiw[oggkqxyiyvsrmxck]asjjivqayantzzfysr
ewbllymppqrdnaeni[qkytupytcgsftpprv]jfepwibznfbypfnf[lrparpwtkrzlxwep]vdsywhvslycyohef[lxhwibvmyypfrkdsley]kookbjfsapqphmywuu
cfpbgrwdsnrgddzzh[vbqzujunswprxyxnk]efqzsevzxurynhnm[cyctdnsmqdssnmzyrg]vvswrmqzxnrbkhunu[homwjhndwctdbecwh]cdvggafdchgeuqy
lihwrhvzkhbrgct[hmwzxlaycaimxchybqf]ruvcpltuinwybvv[xjbzxcihznlkorih]zxnxeqobqveujyrdnur[ijhueqaqprdlrdcjsh]blwxhcuajnskuntgo
iroxkwgrjpzdodvmohd[wexdltrhssaqwqnh]ynvmdpomrekdsfrjccp
gfusgnroizvfwwcsc[jgvlrznerrnjretc]dcbnruamgkyrowpglv[tbusonvwwycqtfk]oqngfriboradzof[yosalcuxlovxpjnoss]teunwgykswgulguic
bsjpzlhhqvnghwnp[gakhkxegeohljlwz]hfhculyhgdwcflbdt
ataqyejfhrpvpagptx[ufqdptheyevtxqjuqsm]tekvtwjvapcyamluzbn[xxktujajfnprffsvfkc]espinhantulzwpqug[pamkrynxvlrwccp]bgzabgrubbhhwwanvf
qkyfobviahzasbi[dqhxzkbapqmrubogqg]aenfdyclijdpkeqzc[fbetcpbytjywomh]mqzvwjmgiexjfehor[ntwcsnflvlaxmfqh]uvubufoducqwacwio
zvygygjncwkyceve[knrtgwmfgpjlqdzusvb]denyidxiinzvmhkeads[nuqpppqdsbypxncb]pzqujhpprhbxvnuzis[zxyppxjfqtzdplvbegi]imswdcvwdghzhmyyoci
mpiwlfpsupluuwzyqte[mtyfeccxfpcorktwam]jtmnexxnxsdutfve[ktzdkimtvwbcjrr]crdupwumoriklqckirt
clubjinwpyiguop[xummstkqfygcnsu]rektotfjzzguums[hcxlqatyhaqponifaa]vdzuiclpdtepfqmbdiw
sswrlfxpvbjntaovr[cajokjrogvtnguj]jsyxzvoomnfbtcc[lgpureoznbgrfwv]rbrwjeeiqshuvkwub[gzvyjbprnocmpkyk]gzibarcxnwnvuymlxpn
wpdzryxwfahiwguwvtz[epyjrrvvjpkuogtflte]shadblrllcaigwocsw
osmgewmpcqugjqyddn[omtivijufzacwctoaf]rvlwqcfmfuazwlas[wbpvzrbsnzqnhygpexe]vxvfjrrcjutfivtxb
unyfptkouxbhwwur[atheuhcficbccfur]djycwrtnlttopnjcm[pyocjfcogkyoogo]uoogeqkztdvsgdj
gdmorpdnzddjtbzo[hxulwsrafnvyxokoe]flzcmbhukjwjfnxsq[bzqqvrmxihbugam]kwwzidcxteeodrcekl[vtjszsdbmsxqouutvkt]whnkvoierxzhehwcjh
laswazcejcxyzcocca[utnlyecffzypkiocowm]nievutnusvrsixk
xlcgrfodctfmyxvsms[bgnofwciyllnekkiqf]knqjmtgrurhsjrwahoz
enrcvyphrazilaqswz[gdxchlzickidnqfeo]wmadrvyuoczftbdbbij[jxlyycfmgmbujmas]gsreebayzepseakylr
zeenyzzskgvaysxe[drhsgkqipilrdmcl]xyhouejaqgfdhoshp
sclmsgjqcijlilhtyn[tyxuebqjqjqdnzg]rfeqmnwynyzfwsfq[jnrjwlqvcnvziqjqnz]zjyeqebxncecsykm[jizuywrcdskgjpv]nkogvpblfiwwnynxf
rkklgzusmfikiyxsk[zfcqvybbvwxwxlosyhk]pbcybycsiegagdr[jfrnxtonuvihkiueuhz]xlfvapkzcpysqoi
nllzirippgseojljl[oahmzicssbyckdhyb]qqaeuleefpxlwfl[orimgxtsfwsplrbuppt]eyzeliykpnmmklg
sypyjddvabqnknl[zfoknkriiqmevubru]rcxkbkzngjzzcchl
uveautnfudowpkocevc[xqckexnnmsrzxwrgnwo]fbrkssqktfmvbebfs[jmkkvbmhembpojk]vrixaskbnwyzibmtux[evdzaxyibnensgkua]djjjewnszeukvelm
xcidhycxopgdfgzxp[wcybbxckgqmwttrrvq]zjynrtlsoibooaiqg[zzsjshnyyytzmrcskh]lnvmmzokrgnyqfvsi[kjpgxjqiyimfzec]bpdjsrxzsbwigarmwi
zytphsjaeavezjmtjf[ocfrxoepijrllfc]gsnkhdomwvsrvmctk
hjrxkkrrutrkmsiax[zwsclcwdqaukxxwmbgk]jjvxzyshctodfeeonp[eklzpyupurxmcvgndo]neaovsspupkhdclbo
agrgepnpjdjmmzxtoz[yptupgqukzyiwko]zegusqzhdpylmvhgh[ftclkimlyjeiqxymyc]qplgypcugeybdlznf
clmaojwiieaxtkf[hybxxzkuvyvljxs]nqyvgwkyfgwgpvjix[ffrpmlqwqbfqfpyn]wewixukrkkavdgpr[zabgeqjcvdsvydus]crgezocdrhjcufljyf
xwekgqqxadszfqxp[xgftweqykbpaqymyaev]aawdhgjkmwqayhfuja
tynmzjhrddacgjexrr[kgxebvnmaazmffon]qercmbticxiauyauxmp
ueswrzmngurxaqja[yzlfxoaxangzjbyqm]zrwxnhpmqiespczu
caxoesrhrghfcyunxkf[lmalmkbhrhijrvmafw]sdbhqytqtaviurkzi[ozohqgqrkgcbhet]wgwgtjtcfcqzvymnp[zxuhhoxlpsgrfcrejmn]hkopyalfpjzbptgetj
osmyszkhkpaedzdy[xfincacxeotivra]lksiavomozgiywoxrdu
fzbuakjjvpyjimycrt[vvbkutdqqtyjgqz]rxzeygtijyrfiqm[qxcgvagpoqyoxhziej]tfoadqfiddsurhergel[sxqvskkcvlkpavpls]ivztxqjuntogjxx
hphqkgxgqhazalmlqoe[ovhvftdmpwudzdicfkc]tdfnmaosfddlzbhv[obkkfppmoqirgmih]xrsrqaohawnwlxpvq[btfonxzgatdqmohserb]bukakcwcagvcuuwvhtw
cknwenzzehwdrlje[sctyfugmaxgbetxzf]fcsbyyqvoowzutlge
gpjdtjgclynikoh[vicphcxycqsiiiglrsw]bcjlerxdimzupbpnw[waevcaeooffjikclq]nhajkvqepdnzgiijfrm[lvmtxqhswljuvux]rnmiklyolpctfrfgxs
weolymxfeyqemlpxulo[ifjuypsxwrwczhpsw]hziolxpchkfouvegj[svfsshaljdhmwcmu]zqbrupsvenlvvfiuhf
mxvfnwvzsyldqyi[bvfuwmmrksbxbzcmzrz]wktcxsiresexdodbtl[hijoaneecbrhpmaa]xajfvvnvwcocpcbrhbc
pboivziugjszfopvkwa[kdcvzroeislbcymt]plydaqvkrjbbtlutgvv
dtzdswmudibubrthcxc[vgmrnyfsqtutxfq]xwbupswdznzazrecwr[ijppmhwabxmhfgcqu]rwvltmqsymbydmqfnzp
agaxfzobcsjhyutfk[ftmcykjveqrlmvizdt]agbgsgsmhehzvoy
fbgqlgcyjmcjajxgq[xrxyfyshmvxgquv]ubfzmnkgipmqeucbk[ebcveyedtkxwqcni]dvujsyfjdfowgxfh[oubuurnpwusoxrx]bzxtjgpylljsuruwlq
nbctombtbcumuwmay[pryqddzmpxgkjlz]bwwebcrzdpkqlex
pvwqgvrjhkhjycm[luquegjefcvhweovots]vddsjvlawwxvkcepqx[xkomwqdwvymcgtgxky]tmjyqmzqxuhzxjekwpw[jdszwjkhkxkkpjjwkvh]jnlsvhnyijndbcavtlh
ccitzedsdvzmktzl[qjtmlhlgdmhomythbe]skkosmhqaqyxvrpwyvi[toqfnarddgzlwhipiqf]vlallikphqpggunc
aapudqmdqsoadhf[bptieajhwtguxpprkdn]fiopmsokjtonmei[rdcwfyvsmtkqwtpzwcg]pmgiakezkvhfiqxw[bmglrvzatxatgooc]jdkxirlaztzghpcgiot
csxohvjhmjbjmsw[zgvrfjdvjkjrrsc]wbnhtwfofrquxtzynmy[smcwkfovyaozfhhf]yfribcdfykfzsig
mzvhznqsykmcdgkphhu[cmmcxolosuhnkmuwhf]gkzgbqwzbzzurzehdm
yecvknvwvjguxlytj[pncdvmrcqcjmsyix]nvosjrornnfgznaby[tzuoscqaarhjnslab]whvfxspoocikxfkyj
guaouikkjfrtolsug[tzdjiielpgytyhis]gwwwtmdeetytmerjk[sorwxqfcsuhbvecom]wmfmxfovbdjhajcaxyx
ouvjolrkjyetsqlo[vnadgdxvtdkqlgi]pivwtbhwibflcoh
puboxtiwmmabyqgn[zhxzdcswdaavgdaly]ksukgpnictzfxxsuqsk[feoibpurptzvrqy]tytogwcrtiofplr
pyeiwajmvimttmi[pkvpbhnufrwpwdwy]dwdpuymdrskpgfwp
uwctwjpjojxatnyjwm[utlxyebxsfrddigrjh]rwepcpjgrqeafmr
mcibrhjsqyketegjx[wjiejdvcjjaijnmoy]lsjoughndzzedmblz[ovdcmldcmntnxwk]gtjntfaikfbfhuercc
xkcadobnrwjczwpo[izovquqhogzhtajgcfu]feiizljlnxughttxhy
zovyoejioovblepnri[wpjrezfxmhepyyhi]lissctcyvfbtuklymtd[vtakkwrsocdxmyqjkl]idfjftptuoiheqi
fjylzurwqfvphvctbn[wtraagycimmpycsbtw]zdolnnawyfkozoduzht[wqccswxyzozewtayycz]zngifgtxacyrwiacyd
mkdselqpwqchnwxgydj[orjtmojhzkuxfbpmxa]udrbphkhzchgiyq[ckkhkoltyjlfzrro]kdyudnkzdsjpvonrw
bpjaenogjpzaxxkejpa[jqgajznyesxfcdhph]euziwygknckkkkunxux
btjnlodtnbaubkvb[topsbnzgxbfanulah]uksjmxxfwfzxqfcij
zkfnmdwdaviehibtjy[adnmoctsyzhtangoxtk]rjydanokxyuxajmnx[rbamopbudxevhpoezc]mzurnxtacbelmitu[oidbxqghkpqjzyqrrox]ezgwbeyokfmjwblqq
nwefqukauecrgki[ofkmtkzupjriwlml]diautbiayphukxvmhlo[iggbxeudmmbkayonzyc]hkijrjxiffmncybco
ytgimnonvbqexhbabc[jbkbctatpdataxjqtee]bxzwvqoqyazdgoy
bjztbbhxzzuannkyvet[mngxjhitobvkzvls]abhmarswjsswftn[ihxeotxkwnknkbmkvjs]iovgdoevhkarwuraoef[wvsvcnptmpcktslrn]ldjniscnknkjaheayp
avmlgtbubxrilqdbvd[eqaifmlaniocwybqh]juzknvgrahckcrhagh
dyvzlyoefrbtxizlod[ussgexxviaibhrkb]tcgkgkyckgkyewp
jvrsopjyjarbkenouax[gwyjvegfpwvjsdl]crgcqjzhywhasbuzdji[wqqiwpzcllmnopvbf]hpirheoriudpernd
cpykkvqvowwhoiys[yjoethxfromctdkog]cvlcjvgbugyqvqxjbc[ipyvfwhqyocrksd]dsvipsvdgzruhsli
gsyxcrknbxxyhvnss[zymlfgpcupgtzycu]sjucevsghhzpuqe[qldvqrwjankaiexmj]cacvncnvtlbnxfybngh
ndbxeywazfrnghgdjog[vncdnjelecbwcnuecit]obhfqkcyucffwbhk[wiboksymurccujv]kxhiktclvdsgbxt
ieqiuumamwhkexjene[tubauuniiqmzdntax]kxiqlujdvpjqqrtkiy[ubnpvsfjutgvfhpe]fnwawoyfoqqdgyr
lromgmscqlmoqtqrr[wbndhgvivyrvevwpbd]fjvqzyqdkqfpica[isfiiygygruduhleff]lbfsdwsbvndxjord[zmgvcnxjevefjnqx]izvrxpsfekwsaxhzg
vfqitwljrqvsyilpb[ugzycuwrexfoavmalm]dshatbrosrihtwpf
hduooarqszvabcwukj[ajuwsrthbgchctbyuyj]tpzioxoqtyfuwtdccn[jisrxrmnmzhnhotwra]swseywswdlsbzzqqlv
aarocdgubnvehgg[xvfugpdczaccgttycv]nhzocbyrdhlppydelyq[uloucbldnjeulomssv]ayxgxkrslthaspz
dhyljzgyamlcdmmz[zdkwfrroodcyfnfie]zkwhzngaidridcagekh[emzeeodcnuvzddnbm]vtwokrqakoovvcdisvm[nzdlsyrpcsicoedyx]rrnfnhgpaeqtlxv
nxybztwairyftfvig[syeyundkruexgbwyvz]pspeqstftxbbaevhql
sbbhfvvgyscleyxzki[hgjoiilqwuiiogtt]sblfjsptehcxdilpgw
fmynycbkkkiwjllu[iolpwypqrdrnkitax]fwfzssjntanttkkboq[afgwfwvsudpprmpne]fbzhbkoxpxavaskchfq
jcyrspmtzwxqtomkqab[xqivjfrwadfvtfmp]fxkhdbiczckphwhil[ztemqpsvuwhwhfdfip]zxqetcaulofvxrsak
ozgxtokkrotpphxsnt[txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bcjgsvsfzmvjklh]bxjmkqkynrusvvq
wofaptbytcugaluqc[qdgdqupqigweysdhq]saaeqyqazqqaunofl[iorcsdtwdhfmajh]owdrcjffsvszwflax
icrmudvzysqefbfgpae[uypfoutavxnzfpcfafy]moghronhxpgorkpypoi[ayrgvytktzzwtfuvfxm]ktoiazynmsksawusbsv[vypyasahxszocsfrcx]wyodebbscuterfrji
otrgqclsvnjpznt[dwzibvrmtngomacr]xtqtbpxdtejwbstddr
csiarmhcmunsjogtwp[nborrnynefhrgwy]lvsacfkgakkbjyny
ijejwezkizvuswn[zfkgmewadvwroqibng]kqhmbrdzuvhcwkwxfwe[mgopomvjdemllzygc]ivzzvgcwpmgjewb
jznavprnlcygwvvj[eobpbcbuqceogtei]jilcppgbqnzzjrjjjx[xurpitsmdxtiihb]pkwkdkckicticboagma
hrarppjudvbccxdepdg[ksabupqjypyrwctd]jzmkavpyparwxrivfq
kjtgdhvqyzisomc[koywiyiymrrjpbqno]vbbusjzesxjpwkrh[zfalkzmohlxcdykl]hdctcfabyzteadzofca[vlbsevgalpsvreryxda]oocgdkoeoxgepsikokz
nckfsyxjdgmgcdyqoaz[cegnbhaksrdfaokttjc]rmfzhgwbszywwzbzpe[nofsbyxiguiaxju]vjjitkzyrugozdspwjy[gwkdakutwllydivtnns]gswugowdiouemkrf
evjgxyciglvcnkjdep[ixmlhpvkldxvcerjb]eqpkpmyqvctcepuljz[aylvsdrrbajlptvfeo]nqmtctitzqxeluw[pkylojlgnaunmolry]patyaqnazqoykcls
yklraufwcbbewrzdnl[dfsdynavgwiwbkmmpo]atqaaprzieowbqafr[udtaocwgbvqqztkykeh]eyzakgtvzrmejksf
gplhegstsxbqvxtnp[sheoxtsrbdxposgmtx]fazbemqbzmssyce
ulhekckzsguaeuectg[msnwinlfedcaqdyb]przurxwotscdzgtcjv[sbqdcqeculwutvfecqm]mjosilvbpgaawll
bjohxvdcujujaoxe[buibijjxplrerpiphn]eorjpmrcugznwsi
yflomjbhtnsgkkx[hhpskaiqhzlmbnpv]lgsdbeankbosyptonh[vxodyzameaaajwc]nwpmycktztqrgmxgbg
eajkclofrzpwbscfuwv[vgcyrfqnycmarafkjc]yfrtobkpkwlmgyckhmt
czamuejkegyxhetxmou[edrrdhmhhtxvpoxvx]wbzihlibvexqyvclzml[dnzwkagaeyicaojzg]wkireqqnngbfxsygz
kwbjoaorrluxekext[ffjrmxvgeqyaoartr]pwxypyiquumrhbz
pyxpvbqfwlpnawrygi[dtqrrjolckhpczlk]mtknbyltlictunxq
cgwtgnafiflwgoims[qdbdbgkqhmtkzmmyuke]cuhipgoscmxtoihh[ieqobhwtcxsehgils]pmtyremzeqhcuinxs
lmcuchgkedjkgbvxjdw[jxqmqodwyieikurcwf]mkfmofgbnxsmluu[rymmyeyhyncfnzobk]jnwjbmejttstvhumye
qsuhfviyinfcwufzu[pqmeenwhbstgguzs]ypqszcvmaxfqwqcvqro[xiofditiroisnpbx]vhftrwgnrxoxciva[esrtbbadduxicftf]vcslxziacmscxaxvnbs
bbfcqaoedfdwphomkh[jnslunmdmvkiyup]gfnnjqweocbybtjdtn
srjpaxfvehavomsjq[nqqcwddbzqvxdacdep]hhpbhajjqaazpqyo[fclqwfkctufgmkqm]pzkwekfirzlcgduifqu
kfmoszcssmucztdn[tllxhkubjuqjmgfeqw]djyeyajqakxkoxpk
peeaqxjifuloiujd[tgplullzdgeqjononx]lsmrbynngeveozz
chytpljkoqzhxfu[izwdbatnmmzzttst]pkfsahxrlgxedvsev[rcxdfirqmtavigilk]lvrudkskrxxyulbjbe
iatlnhdapqsyskgstls[nqzlofurrzibukxddw]yxdwqadthjynwvatmp[bdkndmhtngzerzwqgmx]iclavwyossjrhtoqf
vvanifuojsytdel[dmqjrwfgjqrcyazxa]mivahklphnoapabp[tlwiiuvxlonsucr]fccfhxkvvqeqvclcnr[rankwbxciojgzdhuuu]eycbcqhnkawkwmkxb
kyqnkbwfvcarqcrcfua[toxpqnxiuyvfjlekjk]hfponcmqqsfdzqtlgm
ksrmipfvtrgwofiqxx[dxncthyfpoivapdpf]tzlnjrfggtbgdxec[tmlpzqicqjfhxwjcigo]uzmkhvbltpwdbpxzfpi[yfkkmkzokekiidxpugj]jbmagsjlfozkajt
xhrfhwrsgduyobjodd[pazkwxnflbwbpwxych]yvasgopohztnfcsbc[dohwmwtdklyjkbaqe]cttccmlckzlioizfufc
lygkfdlnlrukwjskxqp[tcskymqclunvdqywv]rhxfxbjftjxdepuwax[eoqchqlngjnnshc]gvjhyrvjgueweik
cehpocjxzxkpnxglhzc[ltjmejyuouzkisdnlah]ytzdlqcewgwzxdz[hcupzenhdmtvigdodq]oivalfgkscgnaxih[opciwwcvzkrsehcznh]iveqylobdjvqqrbb
ofluwuxajcsnkanvg[vwpsezopzkpvhlobfos]gmnrtcprhthefopis[yvcgpesbspnlbvdcdj]unooggcrpjinkxmqsg[stfmzxmnwkyujhwqilj]editpyjnpwaefawwq
cdneyarppztbtwsaqy[euyswrwxaaolxkzgcx]cqqabzealhvuwzo[hvnmwoqlzyjguvyy]goqjeapcwghvfszwsc
hohlnwotueozwhyfgg[bdiawrubvrnulfemv]yohmiujjdfjexybb[uyyzvnainybidqfmll]pyybgwdxcdqdgjp[qpowhiuynwospqdgui]lqdoiaufqbqljkvhgjj
tirxyuvikznzsavp[omifkdfvljmhlrk]ouzmaxynnznyhfrud
iyoipjyrywuhpipcx[zkrusibgupcteuls]rkwpwfppboaxzgkbwuh
yebynyhsovfufkhwoel[rqgwgiuuztoboxqo]tbcahalhrqzpqxhud
mxvixuvpntcsxjzvpy[jnjtyjwuivtsxlko]zugkjugtwymssxd
ddxewdmzqrmjcdx[tehlbyapxxetbkp]lkfkrutmzvjsvynmt[aryjfitktobzfnhcxu]rrbqdbzhgjwwnfpkxbx[ggbsnbwuwlduhlfp]bdniebubtcxsubscaad
osbvoidqyhsnydypy[virseojzmlplzxfwcdk]qyyespqaegmtzgckltr[kjowbsggjlyrbtcxj]poychjfbatvhkrs
rlvvjqnaiasedvpjbr[fufrhampzwdniipjc]oqjmidcyiekvayqfl
hvtczuskhiykvchxno[benlaiuubpaghzlwbf]tarjrksfzvilwquxj[wehwbwsxfuaptyty]gvvlkkyayfstbcut[hxnojqaxevtbvmaz]jnhvumhqfgkaqhumxt
thxtkuentusmryim[hzgibspwboqacdlwc]clsunqcnrlgldjbsvz[scnclutgijjilirutnn]izdwhvipobyzirg[hliollkyedcuomrwyyq]dpibjmbezvzyspmkgwj
apezafwfsqifmip[kuxynugvrndkdifwhd]pixpqmsbuqspsdpqnzw[qfiqdwcdzbtidgm]otzbkrciacwchdnqa[kiblvlkmtkqjzyyv]hnucmptrhrodosk
nuiovzzixafjgvl[slswktlejrrsmxujjrk]cjassomselslooj
vnlustrakmrdrkjwju[nnlzyowyjshralbkgo]jpwjwpehndfweegrnq
hdiueeojljpcqrdkdfk[aseznfnjilqktdx]fubppvpqwksxeiwpm
kjlbdmnhtzcagcpc[wybonbamfkugypt]gnjrawnjietdzhaf
ufmoyzcmcxoqqpsg[hkdzmupftmazbrhul]mypsxfpshzcirslsq[rumehwhrobhrjstjd]tcdatsxbxwzxseileyd[iwyafcoefsrbynl]vedzteatonqliwgyj
wtmyhvmsfoxphqrusjw[ozpswsyjxemnczhga]xeplvzvjzdgqspqjv
wxyocgbulqhbzyekcln[dijevkhdfkfwmppnert]uuxxnhhkbmcegbtugap
ijgtsfvyzgrzjonlq[bxxhmrfelsyxkyxrex]pimhbbzahddhwrhudyo
ydjcoqvktwdjucx[riqvhezqqrwpizvn]pptmsnmubbjzwozxy[rbzbtfnnkeyuvjqhjhu]hnqyyqccouflfzmk
dordtdxwtwahcjcb[gumvtsackxhwojebt]gdzjirhxegmrgishf[ueivwcnfptgagdj]kzqyptwgfykrxqsc
yovgolzpfuxumuusnu[yzmsckgxuxbcfhpovdi]ydcgpjfgjgstljbkc[jnxpktvohnxeoett]wijsttknnkaxhyx
xaajqzktqfslihurb[ssufsbsajcwrysbaweg]odddpcsenmcxilrkp
lhkzyewhnntocluc[witlpxxovbpaeue]zokmfkrsuzblnubzq[qbubewghnsjcnbku]xicstwzulnzadvwgv
pzuhirxrvaghkajqsg[edyrpkukyvidoqbabcu]vfqcnorzlzxypla
xythdypgcqkccfv[zrbuwbhkohddkmbj]dbkreagpyprchmoktz[mehstplzokdjkasge]bypysrypwfqaupkwmad[ywkktyjruqqoexms]xdvcvnaeuiwdtcjcwg
ebmymncvgrkqlusommh[wtkwqtpboedpdwaxoxv]iezxkyrvialjrev
njvacohjeagiztos[afpmzgmxbvpzrkpikb]cxbsozlksnpvdxh
wnpqmnhzhaclqkn[neseqjerkxmpddehzpv]buwoodytrhkaffpb[zpqzycmuzkevvyl]iqdqjuqnmddqdmktojn[ocbknhhzdyzcpzi]srfnmfblqrqzwtusu
paxcryjinpwgadnzgdn[pedljgwehinbuvueies]wykembvekyliivgd[mjonnndjrswlfvlo]vuanwryeqmmovavhf[pouuyesundysqaxzciv]itixbjpcioinvfkh
vmlgtgupmvpnwkh[cpuwomxbeionmrkx]zwjdjcytxjxbzltbp
gxbttoltnwfholw[srbxnbzsdlwegml]ufeghhwivplxych[kesniuppshrvbic]ongllrrsyzxurhxc[ucssycrhethdlhyzd]jvhniomjxluggwtcv
kpwrbbrusxmusejnwz[wbgriazubzccotlcdbh]dxnvqwslhdxbbufe[pobrzwumffnjxfghv]qplrnuqjguonrpmpv[xxwugdzbckpvhhr]vbrmirtrwprtqli
mlonozngubrbmumjxb[vzvxodkubovdionkb]uidfhtqhxxsetsnvy[spdgbqevotzyzhtyy]mjvctpqrtpxrbqeckq
wftjnmpwffdunhwr[nzepzikompkwgje]rahnwuphbxpmwmtwboe[wcwxzwqppyaeihnxrvi]wozbvaemreqcvsoafr
lmfgslqcwpzvgxgmgty[ihjhsbvhdnsbkroszc]scwicucudbqrvtygt[iomkilvjwsofqnjqtd]amzyfxiaogrsdikrgye
fcjsdhrxjiuugivwyk[kazerfwbmgeiituwksg]nalxpcedxoajytfpg[lldrwcgzwhmukpmsvot]yzsnbooxncfhjdqi
ljjwrowxmpvvwvsit[lhezgrfdcwohtllany]huqtnutwnuamaahpwa[ezoifbtagkrzzjybsf]fehkkskjziztlravf
qggqdwibskgshrkyc[bcqhsghufawaskgezjl]tikipezkvitcxtefpg[rwvlyjcgevwbikop]ygxubvtkciptbhi
gmlqugapdwdohic[fbxygwjlnwqygmnxma]sgnfeprkyxrzspd
gtokbujgojpkdtrvt[hxtbjjffjwxnpco]vaxogwcclwrodfdxlfp[hihtvdymxjotbfuyfr]muubeuzwzbdsydkkss
rpqdqfjuutdfbaarkgb[nihwtvhhcmxwbgr]evovoyejllhtmpv[qvkudqduftuvccmeby]caeupguvwobwkccojl
gxqxcqpcbqmscefvj[jodkjejtlvhhyrw]ciduukfamepbpemyol[uchoefnuqlolilidyp]rsjsqlxmjccoipqueq[qlxonqxtccxuwcnrizs]plzdntlmgcnrwawrxdm
jvbbytsctqrwjrdr[xtqorzwdmhunrtevfb]qqxbyumulbmrsbhtx
yoenmlwliczccpkolc[xsolpcnqbbkrani]tzczkjomtarfeqiq
ogxowfxoqczptla[ayzmunzjrhsyyit]ckixtyzdkicgemx[hhubqmeqeenjuwuclx]zjhusfgvemklroia
wtnnwdcuqnxduod[nugtcdeviqkajsqxgvh]ujsnisiydziqndzgtn
eylerocwshewgerk[szefiobgoejulsas]jxmoefzlxhchgmspo
nnwqedoiuhqmmbqewzx[ocxrbmgeqxsjeorfrde]agqexvigcnntkdck[vopzcxqdokfydsh]aajrpilxdhftxbprqn
gieaqwfwcaktnyrak[ckstsfspnaxvkkecu]nywzcpsrpeypytm
nlsmbjepecyztmhys[yseyspewhduijglnxs]nmttyybnzhxcbuvcm
gzimfexrobypudb[fmrtikpcalnxzjco]qbxokzuhvtgzerkwgig[otsumbzbiecnrsfvgox]pnbeigikjxbnesh[ifovbpoycogawpmbtuj]qjoaetsrenrirpvb
ybjllzyznkniidrl[txlisrbknkopgbgutv]rspeuydexyushei
nnigaodunsopocfqf[fdkbcjzyxamtnwn]obloxevzqyrmswtc[jkuniykbwsytpivsh]ceuzwuogyqxferdic
gyuypjyncazpjtbni[aietrzglhhgxscvnwvu]ccqmabbzdawwoctwywe[fassebimijhpenb]bwqtcbfdilruikksetv
ldxvntffkplnjgt[lhwtwwfoyuoumxngqbp]eyoreivfgqwyfet[ylipomgffukvmjynvu]npvyofzmqlyboidqya
tpnxkxbhphxzetonae[sugfadsgjpdwxup]jainzhhwfvgcljydo
uzllwzqtwsmvdpoivdm[geidfnypnnnszjjgc]vtwpieaxgzxbslxld
lzeizipamzynfflhuhz[qzwbfnjeulpgjjn]aapdqkjbpljvnvt[qhauhykubojxcoyuglc]tkflnjrdtjgwilk[aorfkrzlpuhgozwyhj]kmbwxqqwfjxawbj
ivqhauvcbmbzijrl[lbsmgujvpbayaoy]kteathfvlzvbfzdgw[xkpwoqzbkbdgrsjzn]hnihhzpetldtahy[ocottuvddcefplijb]vfolexdinkkgmcdwfyc
vqblvnbutgxixnfcwc[kphevjpgctxpkavh]riyfeqvpyvgckaselrb[ryoltaxliqsnlqdagr]shrflexwtlaivfow
lreoiyjedxzdyhdnlde[levshlupfrkvdfdeav]ehfmfwbetbsduiudzr[uoxbgzrwlqkbkcwo]wjlwlixknhzeuyw
abnhwwybagtjfrh[jaoeeifkdmlksncnjp]rulgazssxsmrrwe[hisspgixyvssxiumqtj]ohkxzqzkfnkvvgvrhgf
drtqdxxqsrkujjyyb[jxitdcumljupwcmxx]kmzgykavruhbplvjjp[tjxjcibazngasivc]iuhgnmtzaozykgtedes[pproeupegraihkv]vuptfrfnrwopiczzkos
kbkxcesohyjlgyynpwe[bkintqjcoqshvve]torkeaaagbkbxosriuc
qklkbdielutwmtwkgz[dtruujvmzvmannceu]xmrwrcevkgapcagtuof[ebouhjnkpgmqairnh]trgbvkjhgjvqmceu
xcoycanpxtathanw[xdfzqcekyrgixxcc]zpbmkgrykuvlldgzh[zltkqabodeywxhtyfkc]jzetstuqnplogpkjyx
pirttznzezsktas[ogefjszaezeqipdhy]tfzgyjkulhtyuhnvf
kxyvrtcpdqieyro[wnvmnmiobotxsispv]qyvdfrfhxkjuqwdtw[qolhrtzasgthtplihxg]gfjpittpnbsymvnotyj[znwgxnufnotguzwgwxd]rdmgzgfprxmavttnoz
mubjhrjxqggcrus[ammffdekmguajiq]wvtsxaabnjzbekpx[thnwbdcskocytas]yimpbasvxqiylaqn[mrrzwqztanrkdqwvw]uvtlhtffzkcautuvm
xbnvzradisweizc[ogurjxmpvzglqbgjlpc]hhujtmvfmcqqcukjvjp[wgkwvyjkwkufvventj]ehdkswmxyekfimbk[ovbdceenqmnrjeqvf]oqvujeqvjlplnzgi
ggbrbreeteveahudoxy[wuvddvvvugkdows]ftzrwbghewsdfqaigt
shelsgoglooyenhx[lylymuuhrtnflwww]muaexmsuihzdiyly
slmxqaktxwfpfgrqv[ekjhbymdpfpiqvm]zybjhwobkrylohor[xflqcdxcgvqpzzdd]txshvtkbijbkbnsh
bpocmihqoplucwnvyb[scxgrmfmuycybgura]yupkvewviiggoszst[suowhbqfktiboyik]hqqmqjvjczoxgeoqof
elmexemdeoaajpjhu[kilercdwmwidrkpx]pvyefsmytxvaxuzsq[xyyhrtmwtglmcqik]spnsavadaexrodemqbq[wzzqmadwqbqbuvdxpmv]tuvloljoyhrqccyd
rzngofliosgytzkunp[cyjzxhswcqeeqhmkjn]ymhsqcfuowylqtjrb[pwocjlxtfqsmelq]ezhrwjlzjtsdqorfsn[iekekpprqmwpdyl]aduyoxkvlkxejyjnqdz
yhwdblscdqhpdbthaac[xadcyjrkldvjlntkxl]tcohssfmczzbomezqdr[wspvzvkctwmmhfujxm]fgxpvtsninxayplzlas[poflalkhzwwqwotgldo]mihbeaapilajefhlxs
xgwckmpjphdwvzujv[svfqqafftzlgoifup]pezixwriwatkcez
mfgtxxoygegwmitbzkt[qxivglwljmpsfzn]mfvhkhhddithgxaokf
npkhgeapbthebsqk[bwoqhnxqzhkkwcm]alwpwqgoitrupvsz[yqvcrithxqfdgzux]adoiatxqsplvllzivzb[fcfyicpoiqaagrb]lummgoxyspqibxaq
vikqemveklzlaqdxvev[tsqfmvvhysvdmlspknc]ejryfsjgnpmxcvks[ecwobztvirmokwcf]siwzbkgxlniwnmhzyhd
ltlhegkfxhbndmfcpo[pmcjzvzmerxvsdo]dijdhpewjuwnatewmg[ylninmvyjhiqvicagy]cqrtolyldnbzfufnju
mxsbpkqgsuhpvsrwzdl[dlrlhbdjvmrjwwthq]rqowmkoukgclzrfh[djjugwzxaaqtqavlo]gdzvdzibnckhkqb[xvfheuckvskmouv]uwrmeqlloqbtbfc
emfplgnlzranlwxnk[ubuhxoejgoxfciarjtr]uzcfagjxdfnewbxxcb
tlkmvlcqcbaqozlwn[lbupwjeefgtoovnrkkh]sdzgkexzxzcpdjgaid[qisspueisheejzkfxdi]inhxlauecmmkpenqqf
fdtrgsgechhugwnidpi[dtwwiqlxgtadmnrtej]hdgoyjhlzdrcjzvl
mtglmkersierfaishps[gilijizfqdzqihkbsd]ieqqthavsiqbkxvrmll[oxznuqiocyxjzymxm]epuxtetrnfrzrlqd[gooprerdkioisowygrb]zzowrurkwngpvvh
tznoyelqlffpalatbs[cmtlsjviihyavtxz]lphzihbzjykeuhuzpg[xqfwolpahmfquhuh]rpqawvkxodxmvfhswz
ybityzvtpsfbovx[yrggwxpkqjtzdvkr]gphdlfythiokoitpcjx[wmfvcehazqfxesy]utjcvxaybxcikaqgrx
olqndwuwjvfqhxt[qfgqmmyeowawqckfh]ngkiagyxtqpdwbrwlm
ukuozdurxxrvljkoi[eysjyckwyiyuopa]fconkkukvvmgnvyn[nwkqsifcwlzjurruho]ryslsdfmhgesmdf
tlchnjfxtkubrlta[rsqsxplnikmqxsyhyoq]xcytyjjduledlzhuh[qudvljyfmodytzaw]hspqkfbkjtsvcwpl[ptfjakjrpvqcqcuhmf]inxwobxnnzfirnvgmmr
gaviilzxljsozua[vmqvdrqoqnztbdmzstt]ufxaggbphqyxgnpcgzm[zglcpiqjhahiqcb]tsiqxcvrwvqistphkj[ebajnjrqotekcerg]kciocwshxzksmunx
cgpgikxsukwvmwi[janhpuvmccsdahfk]rrmkjehchkefwnz[plbujeqhgjvljzkwg]ttwfjicxkkofysgob
girkwjuugyxtovkjr[htizrvsispydidi]wqdtgvsfnuisigmalai
ajbikjzwulcmizeoasw[pkkgiucjnrubiwqoll]gscdqocmpsuvfznqhah[rztusgyvsxaeqfmesh]rarydwrmadghrjtx
hxpxckfcwipinrxk[morfsambyhipqzwl]wzgttlcuikfpvywm[cyebxypkgvxhope]dqazfmcgyppybetn
nrisbenoupwrstlxy[uewucgmzkoyulfbt]bbvorytlrgqknqz[zwseofceynlohaooxzm]hfzyxxxfpjmubbjysld[tetgwcwvhctlndovx]jxflzwtuhkltaqmnuh
nmyrirhwawjtgcgma[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz
sunhpdrgrjztzvkxnl[mtztitboyfmtysqeqzl]unugkiwrweincocilom
jhoqhwlkzccmtrlrs[tazackiqztlndogrmgz]zsfezvlpuzwmfwee[vcfxoionmgpezbalm]ujdbonopokhkgynmhp[pcdhdmwegmihhkh]dgjjkcyuetspltxpl
siocivjbvwhltkyk[imgupkeeknlltlk]qxfcqnjbjtenubcjasr
hswgnfwswhyngohhyvo[vamsrkcpvakzvbsvls]ehqrevmxiccgfsq[pffckymkoredwdpcmx]vjdjsrqxttbfjqf
qemtumhnmgkgfzfzqho[wfluvctfqhrwznyzfsa]zriirahfdpleznfto[dugecvltxsfumxvjaah]lvudvknmsbudzxoadg
mvrjzvsrconakgifqj[ehgbxxxhfqcigyhuyya]eqofdufzntqtsjukffc[hbzrfurkracnfeig]zmahsqiqbinnlhnvrz[qdajsuhymeavrqpdoy]nspfggpgnwnalzuk
sejkhhjswpiqukaddwc[vwdsuuxtfaxqbrcne]njkrzolxoqpmmua
fumcwsiexfoqklovype[bzxfxytncrmwtfrojv]bfvsmplxarmselz[nrnsymdrakyaqzwivoe]fpvboftrzvkemjgqt[akiqkjrmnvhucjcxk]ynityzhxqopnjpslhg
msoqujlsilpcgchprz[gqdevmuryxipqcgfdwz]wxjkmuhjootmigfietn[flfcoqhksuopnwk]cewizdzpgetongprkb[pqizytyliwhnetg]uknrvmoahsbicmeg
evyofxtcsyfbjtbml[wjqpsedellhzgmvk]emdpcwxuuaccubksbqb[krehpfhgyibfxepo]imvfvflnagwulpcp[cldtyjrcehkgtfyxnws]gaicllkdzufdmja
plinmvdjkaswskiw[zejltttlwtcetjb]uqkwaifdtedvcmiqcs[smlzeqfmbhssmvvmvh]lgypwtxchfxksqgmeb[fqygohnnxmmvazctrl]rwbjopgpdkeejeb
hgxczafqluesrmrtuc[jkowxyxlufhgbmk]zbiycjiafsngeoz[mltnmcbnsrmdjini]wtokbcbelvzibjncpat[dmjqentqrspifbnind]drpbucndawosqjk
hqaysnyyigyfvzsm[vrqjwqmhiywsbblfrq]wseacbmleqwlaci[eisrrgcmewmlsqkremg]hfqkdkghomzddiaeq
qrcyyzpfuupvipsuor[ujvnwghyvsujblbiwy]uofftaesrxvghupknr[divaemcywwpnkeejjo]dmgdiifbkggxpzmfy
qjttccgwnqwdehsoz[dfbrkdapobhqvzom]hqtnzkmtiunvomn
irxyxnmdlzgxmpg[ityfjgihvzrylygz]qollizryghyxjglce
bnibapdblbaoehfbvin[kmummoqopswsmvtgiz]isaumuoiybqckfvkhx
waimkuqinxbmazab[foxenwzsxkkupwo]yjelgjycvabztzb
exxvbdzpyswekjnfmef[tjmrddaazxyynamc]nambmdtnmfhtkiyqqct[patbobzwiwlidazpoc]nzbneeilwcjqnxqwh
obtckokgcgcwbtyww[gxpfdpaggfbadjvdo]trethfifqwrfexv[uiucztyublzgcky]msapdqrbpbwxkoeuidi
yfhewfkbdwvgwvmhqbd[fqginmtqmkcubfvci]aidxbpzcktshamejexi
jjjryxfwjklxrkhhcxu[gwwrmyzrpjmjtmfl]fvjaxkdviibxaodo[csagiwfbhogtnpixzc]miorozrdmimmefh
tzpxkatetacnqzombnn[bwzhrlkgwcolxczvcbg]rplchqjvjthsortjqb[oyqjdlyeyqhqtrfbfh]munhcovgrhuwhvkjzja
slrtmwlceytivwzb[xapqxilotekdngaekz]rzohiqiljdhennylmk[whtwrgrfpxkgqrs]rtlehyggcuplhrfwsvs
vjregfcqrdxbfntljq[xpfnzsjsmphfbppf]kwfjfcrvygtqwtdgh
mnrnbytuhhsxrzgz[nzdxekogduhxbpipobg]ydgjseiypncodnm[oylueeldnmgcwmqhq]svqllgtwmhshzqaxf
xhcxtoxuqumfxatsl[qlkqdcziwtbclcph]ysfpbfueqmlluib[jjvxhqopyhgxgvb]flovcgpyjyubpbdmp
nvpcfbzmykatqdpgpv[eywcemzcjnlhwhfbjv]gcnnnrxczlzbtufuie
rhikymyqgbqbwgw[eeitheuwdamcndqibp]aiikebogsqexfbob[tcsuzyilztxrrqa]wutfkolihzuhbvptoqn
kokyhjebbwniohsgrbr[ggsocxmupmielega]esekvzvbajssesin[ipwqyvkwospydzpmk]byhqabwpjuihcpgipx
pizgcsuyqldtehjc[utwlsnwndcjqnndpppe]qxzxhkayzcicvstxiws[tjqhoiifvxdzdkigtb]zjquhrplvjxruwjpyl
oadivwkprasfyitu[yygivqpjckczybxrq]bezhtnyscekflpszt[eqvoapqpfnmwddehqbe]mnkqjstlvogsipe[vmcrcaytblgxyarcrx]nwvjubzclcaxtdmgl
gimpphsdpyklrcsbk[qphbkjzijutqysed]fpokchopspibqiyyb[owxliqxhpvjjqjzvs]ttjeutzqspjqklxsx[nvxybvsgtxxwagkvg]pximctvjdqxbodwbid
xmgqacsovxksrfnypy[jjybvmwissplkcttnp]ksakyoqvswnbrezeze
xoxquvrpgiiopvepjd[xakbfdhgtdrxixz]uuidqssmeiardumqppv[ewdkbrnwbodzzyb]kuyvmhqxititvvmf
ujuuypsguepvtqiurq[psgjujogkcbqrtrr]ckjvvhzookepzzwyuye
lwnhrcbjrjqarzdx[jezkqlffqqbioajjbnl]zssjjsdouwbegdbnxx
jghqoqlqghfqdfh[jswcksaiwouxhnssqin]kqcasjkrnihqmenbqbh[mgpmbwkzuduzsmnjb]dxsvhizedmabyjo[rbupdqkkgeihkywitk]pcgvmkrlpkbqfhune
eopvqwwlvntomltpv[bwkbunwyjojuxoteyua]arbceqrmsflnytkl
rcgjbumerakfnebou[qimexcxydncncunkhv]frixowswdjgqndoos[zkjdmnsofgvagtnlyph]efpdksfvricswsrn[vxscblhqnzquxmxw]dxnstwznvmwyawith
zjddycxtbubaliviw[cwmjgucnnrbsybtpxu]zhmadkawbwtdlnjwb[qovxqaebehomoacpxyw]qctfbtyvbabebup[bwqjuutjmbgfdznqfa]jzitebxzsshsmoge
hogrxyrrvjayayny[kdweaxnjncgvxhpud]orhfjkslldcjiokooob
jdduztuhjzvbooejd[mcudzrhxonujxksbibe]ybhfelrayyxuuhuwmyx[lgshxdlzxbzcwhuru]zdkvnjkyhausdby
xsuzxmrqkqtxmchz[dmgddhaltnlpfzkf]dexcfjfqdnajuzccluj
ezpxycrcxzxycllpyc[stdgybwrxfzewkqqvzx]sxivpekfrrrqlfhg[nolxlfvwwqvkhou]psuyhkfiyohkogwfmt[zxwiqmslanvyrquhqa]fereljocexswrvs
aeogravcbprgitmqedh[yjqbxvjwrcrbyneghi]lugbamrjgzqaixjxpa[zpvvfxavievwanxkedz]zksdwfkwtrmtaoy
mvchajtfbplmslzxhk[pmkjinpckdvwjliz]lwigecrikkyoijkeow
fnwfspmlakldfdhc[ujbeoudcbtqjmjy]tgitkdutjdhlrkwbts[upqsuxqtzrmwgmbjqyx]ayaivsgiqcuzizeau[fiqnymhyqjapvri]eioouxtbfwduighy
dcuvsezsqwjnsvlqzah[jjzbyxctqhdxfuqer]wztjqxgjynojjur[zkiosthyfrroydaykyc]ocihuyyzvwdoixygzk[psaghlhtqoptvsldbdi]zxqwrhusqligxnoa
tjzqnocojjzktgk[omlfecncaondrqrvwyw]dxwuwvsdiehvzqmafo[ihbhwnmxkbkypmum]enkexramnrjguwuxq
ftdnelzrwzvxobrhjtb[kwnjqdhwztogpvvt]frxznutubezaczhwucd
wtvnfoqoqvuioaotdqv[qwzmcsqjvpkrudkdu]vdcgzytjsihjytaunui[vxnbnlwvtribvbzv]lclrytcczbraubnr[fptsjqwofyngtnurf]izhrnmwjxwvsdcfai
nqmhpgsurlnnjikyotm[nxxdysiylpgivpuc]uofofpqgcbojfofja[gmborbfjvlfokmkjlx]yptrgkpiarzgsgl
polwihnjvtlojae[iyjbafwjoxqcjbwn]ecidvqragdcuotbw[ununcsfdoxstecbass]knnitckftuczdpblih[wylrqjxehihxfvzjn]lpjuibfkwrcmcijkho
gsvfujdbedschya[owwscbzhfkkymsfy]bbxedxnzigfiogb[sebiwzxbshqohku]wqmnnhmldplmhwnngu
cvgevjryjbmodqfw[jskismdjblbsjgmhilp]xhjlblnepxqayxpw[pmifrcxnxmadetumwm]lvjmmbceghwqdmk
jgssirdflqhglgopgx[epcwzeqqkidejdrw]mjnozbbmubmqooiqr[wacqyepsgljjipi]vowguayfwcghbghhoyp
tfkqxobejvvmglhqrgw[ddleaoforgpypavf]flnaiggwuxdbldb[rqqrjlzosctaouurtsr]bduvfxlomgfdwhxj
iwhaxbggngkgdfi[xklwprhyorwyfcyo]lbrfcbprxedylzpfjk
ixorpegqzuxidsasn[pwuwcywpavudpbkmdrk]stfjklbehmjdobcr[ziugachuezezjsw]dzwuijfiexsbbxjcga
lcstmefgsfxelap[iaroxcldkoxjprhpni]erzoueqtwtyftuvz
gsnvneyjuacyhipd[aglvnvpawajzbbgk]ptnrpilavksgzjyyo
frxawoaynynrnxzk[agbtdjypjtpqskh]ljshzsnnynqotgog[ckariglbjzvbcedrap]sqdkygpetxuwfnk
nuxleplcklptuce[fxsyqwfblquzwqjw]ndnvzriqecbqphdoc[pmvfypuinsxgglg]vcgzvoddzudwrapmyh[laengialdtihgzitt]ktbypjipfpnczyqw
snghsdifwlabsbpzw[xgnrqjnhwdqkbhowzaz]cygljjwohwpzvxuaw
hhxorrjxjnhcavt[lkeigkktbiaquqqh]ernbnsmtunqyccft[jiespyeonlsjliwt]vbhzvdhvvgsdgijg[lkxvfabwpujiaeaidj]dkilxjpizbzeqxkzt
ukgapmfifvftpexnr[jydugqlbqyhvbsmoxd]kwvttiyqdmyaxidts[lqfofueuycoihkxig]vqbdiqazwnqetguq[fxhgbqqsilfcaflj]oissblxkisbkmolspwp
hanudfleaqpnnykwfu[kllfsqanmahiwkqz]mkyztkpwilxirukacz[vnwdxbzbjrcvmmbx]lsjlgrnzdilnkxp[hhepketmdumjgjjsu]zrgaagprkrmgggpk
qcaodhkekjwrjeu[bvbkikapkhneodeaqox]xxshbrfdxgvyabbuj[nnyshhdaogsermyisk]ieutdajlitenkmoh
ryfcblckaejcahgy[kymhoizkyffsxybzdta]olmhiudvbcfbkjb
jryuwyprwczmcczi[vtijzvfbpssohcdgv]qizkalsooznmasljh[sdvwxkvydoikgjtomxh]ixzqpazdakfwczn[tyjorxvairghzrqi]aunhzwxnkjqryibre
mlcynvuzmmcgoqkft[fkeqzbjanvjoieooecy]muvosxtjytdkhuh[gsdxscdehocmajsnhn]kvqitwpizpjwzmeb[kpnyyoozocsxurfl]obfvxcgoavxoiyy
tunaljqogcgofeh[ivxhcnvflsbnmktk]akwwtuwpdpbnesmrklw
hicudrdjoglrnongron[mxaxjxojmjgutxg]tbetamqqcheyjbpa[itozzzbcpnyerpth]brqcvektqfaxazdfivl
pdyuonakwvugssuduom[swhnhhzcbkrrpovuomy]ecfconssgftuhtwswfd[mjdgnwmncbjoxlinm]oklhmwptexymbgyfdaa
hcxljuahgmiolty[kulhszpqyvsurma]xwknankkjfsieauadw[anajqqpwdkodeaagy]iupvtabiqsykmohiisl
qruhviuomiixcoarv[idffbgdhamsshlinl]ygsinapdnmzvgit[xinvdhbqhbvqrjx]zdamlvlunjkkhof
zyeynxvzdmmiybab[vhgjepcwqjbolwnft]aopzcryhnpswgmds[yynbcrcgegnrpsk]munxtddzxyvzwwcosq[igdwjifdopnhwzv]oyebiutkmraayzr
onkgxvprjaynfipxeum[jjwmjcepwxbleahq]ofvhiwoyxmfnjbn
jdwjapulavrgiviora[vnwjfwpsfcdkhamtg]jqcgsuleganytwsm[qajmdsarjnocjpq]lxpalpkeehxjdslu
mzyzoemluwoovah[bydwxptnmzqxdqfgdgk]hekhqzpgilidwvpey[ouhnrujqyhnlilh]qjarvqynycolakyiu[wzeffbptmwixrmr]bowqsnjgurjpkuc
jawvxlepzelbjymcke[atwksupwtnjjnkwe]xqqcmguandaqptp[yqsfhnssllituzzwa]xbgaqeuqtnclehgr
xumjolgnaowjdoq[obqxrncwytcvrsa]tivvsxdntkrivblx[nfiworqsxjvwyki]nxnpoipcjqeeukx
svkoyidvkhkvock[htgrjltotuunrwka]uqyezwkltzsjtaysa[tqaaskeswcllblpnozj]yizblbkqgvblvqghvk
lfqasqaubbgirmw[xxpjcwlwjsklklgyrk]fwckfwwekdgcesswh[xkcxlxtanadezjpva]naodeooepetabkh
mtbhzeufmgeskqsp[deibjhufkntahso]oxebgcgzvpudozi
epuzizxnxpmgjkabqfb[fmteazugbgjgozgsmhl]conlsruhnwdekaxf[zimnpzazgotaghhaq]gmkwnkivobskmeafcck
epbvuluuhaazalp[dtsthsijbzgbvwzwgpo]blfatalfityajcpmyc[bbypikyeizyfntdt]tcnzahhiwutntyt
vailqzvutssuxjy[llxrpxlpcojwmab]kqpqrpogogkpefajeuj[afzpfhjmpnestctyqz]mdggrbuuglbmweujgxl[qhheeepqrcbdfhlxoo]lxvrdwpugjperwt
roreocnumcerxnrhr[ricaoyebqjpgzazssc]xzuqnzfgbrcvfnmpcgs
uludakjsmsamkpmy[ropmbbvjvupftps]swngrcigiqzdkie[hjhbsazzxdxrseczxyi]pjymgjgdksaalxbav
ftvggoxgdteaxbrq[tifvvmwnraoiprgs]xopjvpddfjnbmcuxpu
buzursiffpqcwnlsl[plvkitdlxiyiotdk]anlvhgektgbpslsiai[gdgwwvjcdnywwguf]bydbjfxclhxyfgruke
indbphvhghzxsuy[izgrijghgwhcooc]gkaqbcpwwiyfwmv[xxlzhbqmxquoawq]gbazvlthqbviupchz
qofufmkbljfygwxym[egvtczslvioufuzsyk]uscakosnjpjbcrggach[gnyghyvmgirmwolh]rotkdpwevcsipnxjokp
jwaktcuuojllglwmr[dfntqdtznawzmzgwbj]gjykvnqmtzelkaus[eghpxrcnnhijhev]osfvouazhsijprtbtnm
rqrtzzgqsnzzfntl[mrleyuyknyxyjhoibf]mwxfdxpeiyuhjcbdyi
xgqwglrrdtupbjlmy[ayygnszmebgddghqg]hslqxsvijohmvklknkz
sfqhncgimlzgjqs[vsudwekhrjuwjgig]fwkpceyrznigiwq
bellebgmjpcruwv[njhctgeptjieourukf]sgybshminsxktqlfxr
mpwnzwvblaseycnljze[qhrfygccokretvo]ydomrtoamoecceekrr[lgslvkhwnmsovxvhqhs]cbyuvbrusqqpvkmlhm[wrvxwjyyzsvxvxwpdq]amynjoncmemftlnqa
iniemtnmqwdmxvpicqn[drdrbflsylzhzltq]orjcjdsbzijkfwhdhz[mrfovzdsugacpyvlaj]azjikxjuaszxpapss
ynnxsnsrjdaqbbaa[lyifxbzcyzenzpzzulj]xejnjfbuykeojbeatvf[uhpeylmwgllqxtj]hirppxrtcuybulsuek[tzbdcyvsbmqtrzbakxj]kzpsdszfyuvgbtlksus
ujrrrtdxpyhlpcyxs[molsrkbbxoexpbqhnhx]aesumqacmujuchpxv[jlwaktyumxuiyvt]mmwjujsvuvxsxxmsfr
uehksybnnztmczl[suqgywouppzavyoi]zbndcbjuexdgscb[cliuxzpullifofbhgy]kupndcjvxqiavpk[hqgafivwddbbepkvjj]lrqalseezuhjjbkese
djidmbcuqbjpfolm[cbbrttiwmetodejw]ghgnojuvsogrchwfp[qpikwfkqkfphshxbmxm]gsinzrkbzacyutlxso
nvvjtnsnglopvcmna[opnjujeqmpgipfm]rudoacagklnjajjye[fqrtapichjqkhhf]zpkowfxfuoecvzq[juwjiqcolafbxzsw]fogkbzmrovqvbxbxeb
ixciqkqggdxskbso[wkjptmoonusnkzyadmx]tvbhebhhaqhopjbjqht
gepgaafxcogfkyecgs[jdqmpkhjkqefzkwxglq]zfpkqukaelflilmzwph[fndatrnmtrwgbwpj]bndevgsiouveums[fqxvkjthzmyryobt]ywgqodizmhsymako
gjlyyrwgrugaulnj[zwsmlmyahggpvugef]ppqrrbxasqowhwz[ngwudjmonpelxhubwnj]ucfcaicagnbvlboiwky
lfckmicaonarlbnu[qnigowwaziwjlmf]ihypnqqozcilwpm
xmtcgkcyfjppjwaa[jlzhrxmfyfjfmadttpo]vucnncbadihuewzn
sviknjiphswrawyskzz[vlsdhjduekvalqgwy]qlvefwhnwmxrzgxq[dwnapnjsuiowoqjts]pnepuekbrlbsswijr
fknvwkusyvzledp[qzplkidoxmvxrxcfs]jxdhirqylkerndfd[vlqmngoqxsbmljcle]rtwemwvqkpfwfri
cujhxofpcjpskrgn[jxxgrxhgnutgsusruvy]dewdqleqewbqftd[nfjzhgvvqummwzhyd]yrccepfnpbehqei
dmfygizbsbrtgnzam[xdnnacheufcqahvx]rxtljkenkwxgkhrwos[xnxicyqemngzgjp]slcfzksterjpmiz[okdqdoipoqwcoyfyamu]cmoedniphnfddoywbne
oafdrqypmxjzxbxutj[yzlsdipaswmgyay]xwllqynhfregxpwc[tjgxnibylfayarir]phswgvlkkfjjetrhdl[pkcutagssxligtwbd]xrvonaibaytcqnhgc
ivalpefzoxwoqycavx[wnrysytaesivblx]dblopqsupplgoom[vxtobrfntcvixltcb]kzktacrarmtwuhkcoin[eviwodeyddmsfkvhzue]drtrnlgrndrxgcp
aygkprnkwdzydlmww[firwrjxyrnqlvycccg]lcqurfdlcrvbzctz[cxzfxjybrqysasrppqr]domoafryutthljppcg
uowwwiqusrqkpamdm[cppbcnmcxpecyoey]ndmdrcadjoukusxjfl
mueapqgbxuyuttzaw[eojhbogjbfdbhyqjp]sxsjeclolvcjexxvxij[zugkiortijshaocu]mfayspauxoxdwkbj
swusnwjcduzzhsjhykq[jhweoafdbntsmxcg]fwqrvlhlltfeygpcnyi[wzibgavydimypgdao]ocomuevbncyimhlbppq
vzatvkicsxcmgcx[lembxneuonlldqupk]svfxiuungebjjgfre[ijwzrpepzkmvdwrjck]bhjiggmcfirhzyjljkd
nlauzkixeqoldqwd[dwvmcwkqnwjlzqscj]hnnwnarbtuijzys[umpmhpnsrbypmpulhf]nijrnkqfvbyjfvgseaw
gefcvkqyyecmnorr[unfzknqltdwwrejeix]quyfoemcjnbrarjuowo[znhhaogjluucobyvq]nozfnuqwkqrcbtwujxt
keerveohuokinft[vtganysszjzosaco]ufsxvtiyupbeddibmt[wrlgimiwaspamrdp]wdjcaxuqikgauum[jpwldupwbuuufjnx]tumqrmftbkrmohls
rtgtdqksqxgvgxadbjy[uclopjtrzpccvdpjq]hiqaonacbzvgvigg[dirbsktzndttpzmtznz]laimumxqrcnhoitaokp
iqthbpkfocdhsvzje[jbxkmkvmrbnqjwlp]kycbbizaasoayspojv[iojspytksdfugqsqhvf]dlkjrsotrfugfft[zuzflpijcwgbioujw]tgyhlfclaxcsjnavdkh
lmekqqiuknygtdo[ramnjnqzfihksfpoqsv]jhhvgphkjifxgap[dmpwxrhmhkwfsfgtn]mfzdjfhxmkrascd
fywgfyehgheiqhbayw[ntuqlvjvldeyzokdepc]jrqpaluvezoujks[ijkurhccihukzuis]cljvkxweuvldevt
udnphzgdlussuatatj[phfqqkmuhvlehlo]cyvspnwlrcmatbwoua
lozehtimrottjudo[krocuifdrqwhsmm]uhauuuzfssimtfl[lyshrfrnvlueierymi]xogtepsflxfwcpau[nurlztguypvwjvoldsn]yxwnuqtvewgmlbfj
qkioxzfrxxwbcddg[iecvjowpxnrevqrhl]qxpciafqndxasahsvoo[adfpiuoapzqsasajd]lduzndmefgsvzzdpmcg
klfxwvnampkmmqjmfc[pcaeswcdleyweirmxpv]jnwkgamdjeoakjcnuep[hjwzdndjlvqfzkarwk]ewwgtcnyjuczgmyif[eaaehzgwbkdfbcgbz]eeioocxrjsulyuj
eptlgbashiewmonaaal[ohtsrundioavfrouii]aydjhcanascnanbfzvd
ikhfkzncdqyitenbg[ldqqsrhumdmiraztslw]aydpjfypxqllkevec[aponlfgxnzgcaddwt]yxlzqyhbilnsgjen[dwdrsgergyrzumtlpvd]srlqivkdhbdbevnq
xpjwxwgiyzqfwajto[msisxrvzebbtxiv]zkuujbuznilsymuuxq
vkmqsygowhcqzdxlslt[fnaztaplxaputnm]ykkslsosxwczlrwbpmc[orlhcrbdjuujhaj]odtfvozkxuwqdpsm
qqxdpjpmujaveczctbz[gulkmdfhbgvyxuyd]jtxafmzqwqxauaxjt[jgfnrwhgdtkwdfgt]unidfciwdvpazpgfa
lfcczmpjpqgqonvcvb[iflurylkaiuflxp]dbepqquyeagxsmrhbwr[vjjohmujkozstni]suvejhnfwknjusxgxwr[wkjnfmxxzwulujmw]qyawlzkyazbwftlw
uwmrxdaxrlsvujdjrm[dmdnqcmdmnmnhhwicwk]uowycyvqvjwrjgtpfqu
zbxlifyzwnwujvs[pyyyjxylpmpwgbh]iutvnonqqqtbxisfopf[qevehnvgqgkyfuqr]mqrcuibiihlwdrzd
rxlnsbgsuofdjgifrnu[eougczwqhpbyqjpo]rokdsivylwcqepdyhfp
yhzwpokjwnqbwtsxuh[ekjrlmzyakgkzlemnxp]gbktdprzdyhcifmigxt
ewjfrgfxriqmbvczdtw[wlbdrngfgnwdvkt]vxgbaaggmwndxlms[vupgwxfgfpxtnen]kfeekrdualqqnril
awkkejmtiopfrqfasgn[alciuobkmtbxngulv]qlowmadlrlapsquuhw[hhtlyfkusvlwunbbjod]seacetmksrrodjqdffk[aunntgaemlyoabfgpf]yrlrzbdjfejbmskdtrz
uegpnmuaxvvpcsuzi[pxcbpsgaecuqyhvov]oiyjoyraxkymelqg
ffpelsnrffyfzzfdb[ymtulkndbgguyivf]uauzvyseztbkdvxow
omolchhfvuuzzbodx[zhvhxrqwbdhfwlnn]wyyrsjfjsfyafjfpoe
puihcjkezjyjjfl[cornhtqjyqlebvqyl]dbemzlxolqxpzoi[qeihkchqoewcabbwog]rlfloutfwlcjywygd[glqjydslofkcstjxd]oxcycaaadlnxfkl
hbxhlyelfyszkzyc[cdxcsyocdiifefpytl]wxefesokgwwvcrp
vdqcqggyjstyefs[yiskvcmdlbyuwzdom]cwmntthjhfyzlus[dpoubuwkbwrkpfvlgf]zryvvtowakcyclcg
kcpbllbamycbuynia[duyxsbzyzibjwejygq]mszplxmgtkqorlklg[kkbpzdcqtwkteqfpm]nvgoipyzmaxtizqkxk[dkjpvseaxvosmsh]ourguqaabxzzovsn
ovojqexhiiwdqunfvpy[ijzonrwpmtbftrqgs]zkmuxgcckijagmj[oygvczrrilsowmxrcwq]jpwamodaidqrzmal[yglvklzzljuqykuxte]cifhyowckekufubnmu
hqsemgdtjpiikngtrd[bqryvzqcejlkziqbeg]gycysifcawyjyeu
tgdpvbxtvxlyqvouu[xqefdugumgqctwvihz]yxymyatxjpknmpb
mghmbjssqzjlzlg[kilmyfmenoqjnmwg]hzuujufmwyperhvdl
ieqarqlveeycgazb[azjmtbkbixtazbcv]xroiknhtlbefpgh[xnhgnpluemfqqkxg]okbkpxswfoikufwzazc
phtjaokeiocojxb[snjwozbjnpwckhr]cjwsbiopkgqjjaz[rxkobmvupvjvobifvx]edubeedqalxklpb[nyfuqcxwtynmofmfg]zwdaaonmcoczxvfr
fddrwtloipcoigpruvm[nmnolrurottdlkhfwzy]dzztqofiytbyhhzwsy[ovdmmhigvmzuuji]jirdnbaefkkdpgi[orlijsvzupzadsvi]mnmwussnnikjigkkr
gspafobrohvirgeaxdq[igehxnlnjtwfcuc]aeibhshuiyekgcymyty[xhoayxpksnfvdzjwh]ktkoteqwnsouvwcftyu[eqfnhshsnakdnxwonzz]wwfzvzaupuirropirue
bpyvotpfgrefzidpn[pyvnycicdpcutcayrv]twcjgpggepbtnute[fdumsgxervdixwv]ydccutccndbxxfjrxh
okzxxrtdrfviychsj[ymguzlptohblvsj]ofquaojgbjuxhkrm[ingfugdcfpjtyoj]xwplthdujgksrosmv
jbwwuuqkuwrrzxmuwh[hxqptnyqwndsntckqex]mgmaotcyybmuihu
rojskmdnydeouqz[cdmuavkcabowcozhe]znwaohorcanpbyhjii[gkpcxjhxnhligil]qbzwurxyzdakgsnwvh[ettfivzqkrrenpxmsj]dfbcrgpjbivcpcpcoqr
iztjhisgpskdgwxwfdq[avnaibsrkfmlavnyuce]innbnunmtkplvdhq[lxexsvmjqjzpswjyrju]adcnelughetzceb[cmafkyaouzplrel]iqhabfxgwxdrqojp
mcxijhkidamijcggv[buvpvujncpcwxvvt]xortwrcnebozerevim[ylisqiexudovelmczm]sophxrbvffupehspu
tdbjhtyvoiflmgdt[lbwyayxikccooiw]rbhpfinzxpaayibe[twvandevzmehmiiot]npuymvedotdclzovsq
jtfyyycvwwukxvfbpq[acoshjowooeituuy]xicaiqqcrtpkwtu[lnnokqhsagantfsyl]kchtjwkppjyxtwjh
vfzsxxvmxhdpjrlm[wpzhdncopnapfijmlcr]lqhsravxxgptgjs[wwyuluteptkhznh]tthklcbbtbvhauug[nfplnscrhldnwtdyzqe]ockiyqmpnksijbf
dlnpcnognelscok[ibbeqsbqltfskgcgqb]htrpytqxmucqlnane[vtltdgsfjrwohtc]sbykausqnffmqkv
kxnaikbdqxcponrlivi[pxltpufeegjrawwanax]apuwyiawecyuqhgjc[vtenugjmwgebqzdt]jpstgvxeivppyaqwdbh
bjnvrqvazthxmzqe[vhhndcvzvvtdjpu]xvyoyqrjtbnonsstb
rglwwateiuipzihomf[rvlceqfsjsdeajp]umwquiuviykogvs[nyxtxtkhyplexemcvjk]kgqhfvraxxybvapgs
jfhopiiqntjmgdsj[lrijxadhlagitvp]uiwltkpdmqcvklmj[celhtexfpelokeyl]jucghcilfpxmuhsxlj[lnzbuosgycapkcujcsq]uipyywsuzrkxcxma
zbczjtvnmirbqohanm[bssrqrthbgrtjlfdeyh]sajloorydqhdlpfx[twqasimfthlutzbvc]xdyjyaewqxknvdz[exppwmacezbuavlhe]cldjcsqujgldchzigys
xvhlvnfixnvekmxfzr[mnmpxowwvahbtuiltn]facqroxwyyelgbeupk[liawlvgwyfizmas]yxgndlsxircarikrb
yjisbltbmhloiojwzy[uiqmflerfnevkzvnfmy]kecwgynuudxejjvth[joscliommzmbkqcqa]pwypdesmkawikue
hsiwncahwnipmmjwspf[icngtprynzjdnsgmh]htclvcobutyrczggpic[saypixczichbjeve]jmpwkwrnvhjcpglrul
aagdbakqyfriiolq[cjlhszgovtyhykgikl]excahvgfswdnpezh[typkmvlnkgjkmherbx]zuhrtvvwvcvhuzalde
qdunnnxbbpkljlj[opuhjxcwbtvnyzd]gqsaxqcmgmnagnim[sbbkqokcljlriqvwlj]vvgscumyxkrpmyrwz
drtuyztubzingcdvpy[ichljckfcgomhcfah]wpkgosokfjvzabii[gufmzunfeecjsbgg]pbtuedlavgbxdqq[vbbhreveuzdzbjygt]kglhdfghynsujkvnug
iccedgowicdllievwww[jrxauxixbmexkgfvvz]fysjaucelduzrxp[kubsdwfsoejcskemvl]wszejdloyalatpjq
oujirnbrjgnlqaksps[lphfkzalpspyhuxf]kuscphbgysuwhwyhot
vwpxodocwmfhzkhyf[srbxugrfpcalangfdj]bopxssvinpngkthdqyw[vkkyaqsjhizvounptrb]iiwhyeuatcqnojoidrn[xiuphhwusooiewosd]gggtfejwtpburzqyr
ysoiymdfphxmwlmlbm[nudcbwwqdfabqxc]adsnqcsxmpxwrhdwp[kullnmgtapmantsqr]ykmzsizznrmofzmy[cxnrxafdhfprlarkd]pffnyurmoaxrpvd
pouuuowcgcsgvuznt[wvbnsxurcwwxhkpdg]oncpjgpynhzxyvi
vlyfxbogdlwgzbuy[bkgdkemihxctcppam]ckevcpesenqjadifwz[smxfhxaidkueomhxyc]qwokiceophbpdyjovvy[tmzeqvagzhvviakrh]hionrvofdutctqdb
upsxlrmcnqiikdzhlcy[hehttqfmtzwgrmxfo]irippmddtqadjgytw[zkxutgforgpenbx]coziqjvbhjetosrtek
oewwtzgqsoedpidbn[rjmmegjghjfposhp]tgddsmuqxnvfpopcg[iwwvjgzvbmkhcmlhm]teygdquxhyhkrtiyjse[sknqnxtiutqtavvf]bcqiwxuliuhpeto
pdejprrltzgdddqhod[jgwgzdgvdopqgknwbqt]jaxeauvefzuvvgxlid[fpahofmhzzirjuw]enbiyknxsjhuxzx[bicvtjwkkhelcgebywj]ldvpqmpgzvihjkejl
oazlgrzhvtekbje[rcnbajbbtikrfapsnuh]gtddpwaqibjnpmfhp[zxarpxagmnzespusnm]svtfacsjwezouqnyfa[ujbucyylrrvuijybde]bgumlrbysgompdeo
eyescsulrvrxyngf[wpzojptmtmqywwvdz]oicscctycvplkhsb
ecwhdlfufxxytti[tjpmriwkymqufurtux]kvcdcihmfxydmxb
tmlzauuiszcwimcvli[vnvyjnebqbpoaotvcre]eupqvhojcmoweveps[cmjkegzrkspdwmdyuo]rjcxvzssaopikbi
wmgjjrccewrspnkcdg[kqagiunuhskruqpsmql]histajgekuklfzmu[caldsteatfkgwqogjb]hwweftyntccwfmw
lvwovmvymkxwcvuvuov[sxedhxpfwkndxgtwn]jnpctsvjkqsybbfy[coophwmyxhbhjjzvf]applfppvbrejnvz[ipytgyblyicrnet]ogktxhleyrrhjwqqt
xuiednrxcdyejmgcsg[mlmhqtzingaekkj]xmvjiydsuffmteb
zyweldtmlathqbd[zsskrkndiopdfqocigx]mpflfwtncuwjcnnvhf
chmlgfccuyimavif[kpgcuavqzwvekmahgxu]zrrkiipozbierayt[ooxqyjdkmmuaonht]qhifgfwmnavhlgnz[cnbosuyqrbqiuye]ksvsrroennhnxup
agxsrnpuwtpthaijwgi[fhyxwctpsxqkkypdfie]craulpcmyeifxluxu[yypagmcumxjcraxnvpz]zdgmbgteapcjwwzaive[rowspqgmcvqudjxm]qydbkwdeuraznvzzno
rhlhblmxdccpvudu[jhbawwnkolhlfssiw]rahopqrzbhdivhkrl[sdyjjbmlxlpcfabw]olocfasvuwqfxbbynn
xzbhnrzyvfvbrodi[kikpaqjccdhwfmjps]tqeliktvbjjnbpxwtq[jqjvumyqcjodqippp]ufaxyqyvdhjxccwbsfe[pxiqyqpvccnocmbinr]fqjralzkdemnowygd
lvbihonzfclpqyijtk[tzokuoeriylwwjahfud]vqbyrpbchllhsmeodxl[ktbdicmiebbpuxnyi]guxcypoxyjhshqgshs
nnmyoxtukxhrsgt[ecovrntpmkcaekonw]ncfzdxdlawbwtxqpkik[fkkkkxidubuatpihcnc]wqxmtvyakouvijt[tjvyhgempiufanh]bcibhdmbmbmmbyyi
jjyiltmpfvlkclthbz[icijdepekvlffegr]xnmbqmdiaskvieeudt[clfecicrgtuxodur]kqcqrnvwfdhpibndt[xsieatgypudmiedmfo]eqaouqptjuohpzbxml
waqqyhmfacfjbfasug[mbghdrtwrqihjje]jczikhpsasvutpmb[obwkagptmpwgjbhev]ozwfarybcfhihoku
tocybmyipesjprx[jdsdjyflopvltwsccxe]esswfgrsjawbduxuu
qwdwzgezyklxtmnd[uikylllxmtfhnwh]dmozabuomdvhcoz
tffooggeeufibvgyy[walfmmmfaegxaua]woxfjealuwsjajkk
aipayrjoievpqkqcb[pcnirwsnebqijke]ocpwinpdigoxudcksgx[vvuxytomiqmmacndtk]lkwmarnwqvzulsxofid
jwrefdombiesxvvap[fwhhajyhfaqzgym]gersxvbwsbqezoxcg[iaetgujgempehiaxx]llbgjukufbvdfxvjs
hexdafengwxaarjkqhe[brxnqkfcyltwlxc]tfqwhqspdfcgajfzlak[shtfaywffbchkkk]txpanajvkwazozn[jzfxmgozivlbctstlz]paxycypplmjazycksx
rwttdrhdouzvmhalwc[ozryzmmhwztywhuif]favxmwzmgawjdmcho
sndufqsbyhdkyathrxm[spluzodshkuiqhrm]gwctupgaumdalep[urynlbtsukjumpcrgar]mvgkstgtaxmtiufho
miypgghnpfhpcndife[uogotzsxnulstsucja]wrdogybnlkagqdtv[uerlwvvqvxrvtsaycg]bxpngxvmakjdvvdqfed
hgcyvldphesdmdma[inomdckqkhupvxmc]avlnivtukipmdmts
vgjaofvwaodncajhg[wmqzkrqiwbxdfsgdc]uzsywyzfptypsbto[lwfowjvhczggllfrw]nwchgcixmkxheceuq[eanuozoreimfpjooin]btyiwwfizhdbpfazpjx
ldsqkerydfisskoimys[ltqspskmalvyujfyrqt]dtyknopltmnvdtc
ekrdpdzvkoxfkjfpx[dpskecmtgjtwkhi]nidanbsojuexjgife[pgpitenqczwzafdad]mfcmnjodtkvhbknfto[uutgojscjiffmofegr]rwirhlyejxezndbs
mhsngxyweukngbybc[uiapxfrpfptauhiw]ruywrhlzekcudjgkw
urxtzdmrfedalnuuha[ioeyevidklsxpqkaahw]jhcrcdzwljhnudk[dfvcwbualikbxihqg]rhhwlhcfpbkexewpgn[gkgaygbsxboxypxbq]trsaulacafchpndootk
jmlhqgixgtfbcxyt[vhwpsfjufpbampqyqa]wwzszedhhdmztex
exilqpohtavxypsco[wtjdsrkpmulcraoaooz]ozlzxumlxhyyvcg[btpzjjbgjlydtfq]suniwwnwobellpbwd
glgwpqmljnfxjwsgae[hdnpgizkkafrkqfalpg]pskoghwqhabbrazqtgu[howksatecaqyemgxpye]bvrcfhawviubspmkeon[qciouynjddffdlp]kruofqzvhiaqbtm
ekyqqslkiuaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvxmeekndddu[waprjreciavpzzsj]cppczdrntzrrqpk
draegnpszalplun[jwpjzjfpanpyqcxnu]lddilnitonnehft
afwslsdmylslwvekv[ngnsirjimcteduhmbia]utirtwchbjinjtkp[xtdywavaenpcexfi]fsxuipobvivhpowgioh
zpjzyqnadncjcbgulq[wtwvealiuqmxtmgbsu]wyjqglyafposcrwxue[xqmgfmbrcdcjfmazd]hjcjhoqisrvxdtiefm
nlchdiedtvmvrwq[aeqiwviurvdlsaxzdy]vrjrsalrqznvzhwxpjv[ghsoysknlxlzbqjv]cwklpwafgddnupknr
zxqjiqwrswpnotkjm[vdlwfpqexfvgzxjbsdl]avnrytuqubaojek
oklkhatqbeccsctaq[jfvcdwlampkhgkjw]hwnefdbhaixemttbk[xbnquvzqozdzbntm]rpyliiqlbmravsu
dazldpxyqjgbihafnl[udnqydjynzfllmxayne]oasevmgbxuvgxtmurus[alpxiujmrobllilgb]rrgekfumvabcjzmh
zoojpgbyojsophrflji[bobvppelwuyynrwinzj]kfsldwgeqtbvtsfy[icdvpxikjxhdaipte]kxyxztmtqiksvidn
ensxpontjxipkckasr[bdikuxubzmiuhsb]rffefjgowtxzjltz
suqgbqjkbymetile[jmgtojqeprpffkogv]pnffnorgbyrwddlm[pozvbivhruebmmjwogs]fuleotnbbnpuqre
yjwcijeeaqhjdmu[emqntgsefvphvpc]hddshsiudkvrzghal[aieudiuufjmtihwli]bbytteummcluoygddky[fbkfhkdwubnigzvl]phfapgcqrshmwis
fbqpgkdmhvtjmkepui[harjpumdzotcylumk]fglgadntxizpjsy
iforzbbzeepoddbalyb[cutsqxklmoljnexuaxo]ajmokylzrakmmlxcub[rximbemhrndnogfzf]pokqtdgeipqlswvrim
umtkjkgoyutnxym[nizqgpcfftiydbqutr]rzgvklegcqnetqkg
zdykayyaybkihcyc[qgmrngcbixqqdbvx]hcicjeavoycywax[bkjnxvfknauougpe]xjfsxnxlgixldzb[thjemtygmoazibfsar]qzdtbduakjdqteckq
dwwceyrsaqrhiadehmw[bushvhvxdeznysxjr]hnrekmeoxifqrsq[ynfaykimagehxbcxhka]ucdpjqxgcyyhvhobmdj[ywcjwcveqtzgqkzx]poruhxqfxuyhgqog
mcxpgupgbiznbdjjfzn[nxackwalqammtynl]qnrwciginnlyfxiyiv[hvovgilkgigolcolf]fyqfptzmgmzbgkh
kwzvwimdnfngglsqk[tvhytletnpwmogdq]zjndivdpftqyecxhnyi[iiqioqsyphxjxdy]diyppzzxximnlgyhzh[ylyboefbsjwjkkxbar]fuvxtvpoyomnkwjwsg
vlcyiigmifwxnvcdw[enlnmvlfghlbwib]lwsaxkcpgluzkmx[kglnyaprvaagswvfg]vvdeqkfdrjeqhfp[fcqxurkfmmorcenve]copdpqayaaolcox
rxjfsazvypysbra[pwnsoibariykvjgubu]nyuqsygdavnxfakwlm
kkgyhdbiwyexyhxgd[aigctwltgdrvyxbs]xypkkzuhuzpxygupvcz[lwjjxozwzniiywpv]koyfescfdlnyzhcgxin
cmgqspcojjombguppb[atincfnafdmbhtgzk]bidgxkkmgvgbeilvk
fphcdhkhetqucchmtm[ieoeogxnvdaxsayhc]xeigwycormzmwgf[cllkxjnlkjdinvouy]ammsmdyoyvlpldkgy
pjewtnwxajalxzrw[sreuxtjgiwxqmsfkj]nghqriebzmyhgcgoks
trtaefztlkjjzbxpip[fgpnmiewbmzvqfxoikc]wpemgpznkrerwlgr[ptjdchwakbcdmrjwxnf]unaxvqinaglgfeoi[ekfifzrybpfkjiehpsi]bxkuqrbzgfctzult
oyuobptvcbpmiiw[fhefjfnvmrpohae]uykwxrtssawavbuk[cyabwfmaxwqgmudcmpx]vahdtwpzvebiypwjvq[twtyrryywtwsckmff]vkmzcehpgydnorxo
dbgblaadftjartioq[avryclynyjmceujmy]nsqtusikmlamzfht[qmvmgeprwbsokvbzmmc]ddeuxmektypsukme[gqzmpenqiqlihjqoceh]fmsjcayltvsxycmzv
ixacedvqlzvneoqus[zmgeugtrxuidpdtzzn]besixpupznfgvqelwxq
ausrpqkpblrplbq[pzqlirofwbtvjvoua]yljvwgnjvjehsyjd
dmreexcoqmzxelfjeib[zaghgfbihozktuebhb]vdwkqxzetddhhbhhyd[smjdjtmnswvdeuyt]noyncdtfrtokngqld
akpixaofgmscjdmr[oiothmxmcgwvxmx]yjiwdlhqlrqerce
deyrfnzcctnmwjagql[qgcmtvfvpvvdminuwa]tynjoikfebqrxgvyehu[qhyenmsqmxshkvcmohh]llpblusdcqfywcdq[ikngnvowhnvaiwno]ixndafincaxkyqwimq
rjcoodvjnnbhxnlo[spesoflcmfcoifzosgs]qauqixapgyfzvtjbpee[zzxomezynqnoeue]xpiblpyghkxfueapcm[qotnfesblvvyrnsu]keguppozqkwfxlf
jgrowursqweqfwxbg[rfyvmzbkacqjzooslnr]znoeuzryfguydetugz[ssotfccqiuilzfuexd]zqatqqmmdnuiicv[mkijjomihqrtuiuobl]erhrjzotwvvpqek
unyrjnckltxyfxyj[vdlbfpobsnokudzqab]dhhsatcnsuifpwsqe
iscfknfmwdnipkvxcma[shkdzhzbrpdpacel]nrbkhvxfyoslwfhkldm
poxfvymkfzuhovx[wyjhfwnozjdghzuenkx]tpldycstgwuagjrz
taqbysrkuxvxncweld[vquzvmysufavywl]irixymrfapfwvnorzx[wznvlqeltnvzjhd]wgpdkhhoypflubfznpa
veeytotjubsezxvh[mlbakwdftkyfbpid]qehdyxzxctrdvvmpil[cfnhvbvjkuqwyzgie]wxbvbxibaqoefhzkimu[vcdhqkaxllbdmbuxowp]ifrawmsqulaizxxqytk
pbwglxgdiijskqrksnc[xryasmfvaqakaovslr]wslyywaninmrddik[uhieoolqnqxdmmltpyp]sgjoghttawugzcwzstd[zwhohshbhultyyoti]anvjcthgqapmftxhe
wmqxexytqfmdfgzkw[gbjexhyoufthdghiibi]ejhfohkfsaixzvtx
msrjuadzrxxolmxfxq[slurgkvzzfgqpnwdhxg]mhvtwtqplrxzvrmwtw
vzrfylnagvwqrbukxkt[wofldsbvtgzqsfxbl]scrfvyjrwyqmrsbot[bngltozaybaghfij]msdphikahbxebdar
cqpwfhfmgioybwsq[judebliwtcirgrtjcs]zrprctntnwcrszilkws[qwoaitshrtavmpse]zubuyfygpgdycnytnt[ctkvsrkjluwdqeeyku]ksncsilzwvkwtmn
lwtwlwmtqtjqiym[nxfgdevoxcdimcnb]koarjfajilpityyhmbc[emidtlwzhvfmrpqbhik]gsefmkukbjyhgdclj
fesirdkrgznhplitqo[erpgpujpndzzaho]wqzethjbporhxokift[rwelvzaswcwwstny]xgqpqjlcukivddrlv
zozyeoozrjrbdccroq[pffesupjavtnanbmhae]gatiaxphiwsrnnwloj[viampjpkjyrhypjmto]vsqwksazgcaggsv
fycnqvxfihmjnkjogf[jjxnxjolrlkbcqp]pdqtmmxyrfzpbbdm[fdaejpjrasjphazkc]hntqbpjeliiqmtne
yeounyqfhbnbmjc[mzbietsligfkult]bywnnvpavyhinsm[xuwaqmeiaffetkpkvoq]ufmjhazqnhdmqyecja[ztqflfgjsoqybaf]pjnbnrsnmfrgqamxb
ycyxnmxnttqiqnsnmi[wkrtuoeddszbizysqv]yzbksxesoscmlzquqfp[unqyazgxjzdgvhjylfd]kunijisskcelgtxzp[ciyxcpyyefoyhqm]eoqszchkgdhttjn
evecetgcdniectsnadi[skxzpvvuabkudplm]zqykqoduyjvgssjin[uyojccqmnfbztpdnwvs]uzysyjyjvowlsvpqa
cqkietrmjexdkqb[rhubbesuoeclwmtakqe]ivdnvnndssfznwmhbrk[zmjmfprnnowiedabycu]rmgmbgvihdcuzarhbum
zdhjklxbktkqeglhts[iqagcckadjftptawh]ezdtjbiebkjvivekdzt[gwehifbjyqnazsgzziv]fhdnwvcwnamqdaeb[rgxvlygqlocpfgqfpd]kkssrbltmsamrpiedjw
jlttcsywphepmcike[kufzshdcbvfvkwsahfu]ioqzvlzvjqnavymv
cfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fvpxylsiwyinialjsg[hqahlwsskotrjlid]azfumcjerwanpukap[iqjcxdwtvmvjkoukcvq]koeodiiywozmrtktxur
llaevsbyxpkahrii[dxfpfzvxwpzedtvhtlx]corhjnbybhlahvogj[aeukoetmokgjlswve]iwamrxgeszbcnzsxy
abxkqpiyavrfgxjbmx[uqzsbujxbmrjyxf]dsiktkwxjovhabuir[baqaipezkcvfjyqc]svvyuknankhxlttwng[kwsoccnvjnctnxa]zgnsnelphgyhfolihu
oquaqiwlkhwwfxnox[rifozvbwcclekccqk]mmmgicxioqwhlvjpsu[tndpmsoarmdojex]spywovxndxncbpshb[rgceaghxxvddklc]osijkijuctxjhtbv
ewucowyzjaqacfu[hruhcyudsttblexjwy]mjxsgzalkyasstkuzi[drnyfhqgaemafei]uuimofkacnittaoorr
nyzetoiyaqbsxum[jowknmpjwqdutjlfwo]oalwqxqoyovfjriwb[lvwabzjorjiiemeaacg]znsbvpusrratzywwwyk
lsjzqfxbbuihsdx[akccvjqdtzmxywakf]fkxrqzurzmqusrx[wmkamfvugczykevpq]avcvjbiwezkocfvo
ohoszcqvqivamuaisf[lyyacjpyelrsgafmyl]icwpankirjvekeg
kruylpszzrkzbfxbmk[thxwtofeyjsijenmom]gjblnnkhejpqdomos[xjfzkxpgfltzzfdby]fnbkcvyhwtwmvpykj
dtqrdvxfjedeydhdsz[depsrsktdbsiwudc]unbdedwnchjgetnwf[bhojevqkvcgacid]jmyzzhyslvuhnaizc
dwlyvffagjfzbevant[baalozybgljljwj]jomnxqrlanqrkcjds
kjdsccouzjkqxgicub[ghhfptkxbsgatseoxgz]jiqgnfilkycyuvlwbid
sxbgpazgvlipytzq[fixpxpdcuetwlqprcs]qcvdieujpvhwveur
gerfcffcrfrwvsjw[ypgmjuvhhzvvavtyulf]cjhqxizulglhcvy[mpjpctaxpnlrfhalp]wmhafecpyzjuagisv[aumyqoujcjkxusu]skhuivrgveucfrfzb
rqkibcopsltsjwq[gmnenbrlgqtvqflnt]xuczjcgsxmtbmeaysdk[rkjjglznqblxednxx]npiikosjigixuvlnzes[vqdtacxnqagckmz]bnrzgyqhejnbmtqa
ekzqugvzksupljx[hsjwrqxwwgcdhqhhzo]cqnomxxbemqmhqnnw[udcfrvgkcibabyssusn]zfuxkqiwlbbhssd[pfvscossyfdhjyed]zlwsqyhygkdgfah
uhfxysjbqxaerhsanh[zyuotxgmbwkahzyevkq]dricwyfpfffhxncjn
cmccqegbarzixhqucrl[ztgvmqmqpjtfgfuqjjj]ubawaltzbmhdhqioav[sszfycahkeptflx]otogjwoazgidspib
fgfdvktoaiucefhets[qwjumhonvmtimauqsy]zkzorsvmedrlycqel[caaejbjnvlaqlqonk]ndndrqbsaaweqoyi[ovnpneqkmsbqsav]cepurdlgjkedaaeo
nfhaistnlhzethu[gyozecvbgbkutaiuiiy]vbmcwkesewbbcdvw[zxgnhhbnldllaacb]kbtgbqxtmqtatjc
nuxiknpvosedexey[gfixiukjvovooybkr]nkprytbsajposdjcv[ahjzndfqmisqonz]kzybggzczcwhlnrerfd
puxghpwmypdrhykyd[xioiypketoaohdxa]lybkoxvoraessmzzztd
qwlzyfwnqvxylbttyy[idtjcszoblpujfkf]nbwtcwowujbgzsz[mqckgqkhmbzpwtuekcf]xyquvnuptbiwlqdn[gwgdvbsouphvvovkg]buqxksahwsgvruovojo
nvjqtzkgoenxnismrq[mxybkgtvioipfjecdma]wtgqwbkpqfepskvvay[qqxflmtbhprambdu]iqtqqujmqrlzpdwbljh[cmdesejkyvjzwhevg]qkclggetgpamrach
ntxnwuudhhghcgd[rlyqxrlsbpsdrdlls]qfzxlyrfjeshhmsyz
rxgpjhpklloihtpptpy[pcbbsflfkrknahkeq]uljnjuavjkhklwwcm
byxqwjjdyqqsdnt[nkxqnfrxqqjtwsnpj]xstdzfnmxpkyszg[yswyxmgmqsrvaxdkx]sjfpeyrrswxgeflbncz[likexnumjhlodzimm]crnvrjyaumqgmjmy
skwhvjyhmosrbbziiaw[dbztswjofjvkcbjtapg]yrzwevkwnjjefwzl[ifwifdeiaqpvuyiidrz]kqnqtbvgpxkejxvf[ubyvhimnnmhkbbnbu]zsqpbztopdvjzbpj
jttcdvuuyawsjnode[ahfzcsoxjswcdysclk]ubdipqyzzhafcdusjuf[wtsiychncfnaztdn]teqnxwryvsfwqbbw
gsoacpemvpypmizazb[rzluiccnkviutvg]bxmhsnyomypyueyhqbo[mzxxtfjifzluckdypta]qlirsetsxpkgewemam
cdqotetervrpkaiz[tohfcmgrtozdfduhk]mlgpfaviqgvzicff[snphhquukvzrgqynfqi]eredworrsugqqqowk[fvcdlekaqtuqhhchh]hhrerrbpzzarqnxiwwk
eitniklfnvnilfttm[qduauheufxnjowyar]oxizltxvldookdlomn[igmwlbhxgszcvhshy]knibbdqqnftzglqjodl
ibypwndwhrbzbowoa[wyrgxqcbqoqayqkf]rlnhzutwptjhfwrsme[cfpmzztsrhtdcgy]tdvricsznenkyphwzt
orvqewlxihoswvwlx[ifiaqweqqmaeasrkvxt]icmqkogypgrbjoij[qnkooyxicmbjhormbu]wkpucublpyqfkpjewzd
lzshelyjacfkrkykwe[jehbtylsskmnxigkrh]wgnozoomyzpbyrytrme[uwcvshtsdstibykyrnm]nykxibwjjcaacgg
fgdrabfqaogxyvpqfgs[bandjgjgkuuuxfuh]wwxxsusuuiezkvojziu[jsprwhpeictwield]tbpmjxfilclfrqx[zdmxvurgzzrompujt]ausuaokslerjqiveplk
jyhxxfrgrdjjsorsgu[uxzaififwgjnklvj]uehxdiantcneqrxeqi[nigrgktauzcpyazs]fjyinlukaspltshmhlh[mfvrnccglqfrdbk]qrmbqjtcccjrsrdmgs
nltgngsggdruwrahzhq[gvjujsgoyasfqql]btwmnkkccdcvuyniu[tsqzwyypufxxjhd]dvqickfwnoqtrhokrud[qjhdfcdcsfvdgkotq]hndylujuuecvakzmrp
xyvhcwkqkedbjzarfht[njkseezhzjrbujcdjs]obghjeljjsjksswil[mhfukqardbaypasf]wjcerxswmwvghjortxs[ghqmhxisgehdsyb]ysvgpyswsdfkomanrtp
wdwmhahsrdjogceb[jdwdpxaeemsjficjz]qqysutatflhmanx
cpctsiwpwyifqkk[eebyeqlgxyvaskcoda]sjayfoyavfkaydph[aztkadhyekpqtys]jwzqgyewxxkbisw[gvlxjstngthhsjeybv]ponztgpuhfsndjb
fawvrgcdqdidogtfu[yidikecuyabulhiia]fxfmgcpdbdzdsfkm
yjateqpywpcjcbo[xddnertejcjeedjulw]humaqnneeeynnpp
jutrwhvpaknrwoxp[ajhencapzncoyszy]qyhbpivdpqjeebsirf[lbsqceuykthorgpk]olrdkqyikfzrdzi[bmqrmgcmvqcgaxosaho]dkejbjzuzvyypxz
rhsdxnktvyiully[nciwcjzdccerinfkgi]czljhsizretcfuea[gudarsiefwzfdvfqsip]tedaanrqtnfjdvgm
grkgawgbvajxlbmbgwm[dpfpvpbrcwxethiu]rpfkykrvmatjwkd
daemahshxyowxgjuio[dwhknewdrwoxbgk]vggqgdzpypjshps[arwnnbysrmyfijttrh]mwuwdtpqmiqgfkntqm
ljpbbzgdgfqmvis[zqmfyouebpfvuscncay]omiockdgdxibtmyfwsk
pirgefjkoicryrcgu[qxkwrjfuhqmjzzmbc]jrofqkmdftjbupytg[mywqavlapyesbfea]trqscgjokafiarh
qsycbrrefosycpzj[guklennkilcmomyngzq]numvvwtbyvtfarlt[frfzzodqottlwzj]qumundqekohrpin[rsxaymghybsvzymhac]wkmbavpbqtoewxruut
erpqoualxstxkzkwgf[spsetkclioxmkpobkij]mocioemqrazrpexy
ryeoamcyfewnjlbdfsu[mmelohdonphatmxblhd]wgkjtelxmbwunvaxfne[xgohvvrmkweaabsd]dkukcrasqoceqjyehjs
zkmkqzphahjdzwot[objfpvwrjdcdxinuvi]goabmmhuvavbjgebdow[jbqupsngpnuoubvn]xofdcclnjyfofxnzyvk[mkmshdjabucvgpkteh]kqxuwhyogoxhgwqyyvf
yqlzjzpztzgtpomj[qcmfrvyamtxxtcv]hupfwqhpdvdwfvu[edoxxlncqxfxpsls]iyflxxkaztzxodxfd[xavxxfdkzquifiwuu]bkjzjuxybfdjcqw
gspnkpswktczjhi[pkpwicpaszrfnsa]reqjlqsucfsixykwmg[matrmmvriujnldbcuaf]lckpqdyikkaprdje
pbkxtroofyztckqg[arrmawhzlhytfodqb]pirguzqkvbgxznqnn
mmybfuxiqgljxdih[dzgfakmxryeoylimdqp]vizjwwrhnihcakb[njplrxabbturflf]qclfldtmazmigmd
exhynsvqvhtzexfjt[rdzxptfigworypkcz]disdlwcxksxjghkkbqe[ktpysvjomszwxdmqdv]cmwenbksdvfihvxvz[vrxbmhxkfjwgktuy]xpyefktsqohxwkaowk
iiuuszfrkqjprgoumy[svdcdtozwwtofuizxg]gkenicdslqaemvwlov
mldgparlhmdhgvz[bexmggptmuvhkjj]hfnccpxdkireolxpe
tzyrycryhzonuxekwt[cvskbxzwbuotnsu]pvybsdovxceqjfmo[oxjqmhruryormwvgkc]kiygcylmgxdjubtefiw
egklopkulrxyltcpbnu[nmbkrgnsjyfjugcx]bufmkakubfrwnwai[pprytunilpvguaen]bceequilwywvtvmshg[aszamqynotadciwdwzk]uivoeunohsbulzpxko
ubhofoouxcmdsqqkjbv[fdvdmyjaukqeuaassk]tjajanohfobuhgih[dfscfkxpzwoqobajau]aspwsctdasjdjnqbmt
urlkduvyyyatpkb[zrolecowduswyfn]bgkveercmmeecop
aitmhwttzyrqwwk[lxntglszzkyjrqogob]exmxyvhwwcopudfekgu[fzxdevariaovvyuof]almvqtftjsdqkevnw
ftftrmapzrqqyql[fmxcumhriyippgxmy]igyxwlfgcjfwwwgpy
ftkqjwepfbngstefaji[ekaiaqtwacopwxfcf]deswaixrljslcqc[nqwlvvuuziefvrd]pgfvwqsqxeqamxsjjw[zispeamntwboenxygcp]cwdhurmclfnjjjwjygh
fixhqdsaxorgfndumt[ccglwvkrpbwideuhvx]fgsxflvifyrzlznwvp[lmebhuhqemgwxpuvb]psfuyywbujlpwcekwz
otmnqzcbakdxosl[skiwodrlvhfjsuqfsma]wtyrxmotiqdinxmrbe[lhgprkzlguroolg]kjgvxaekydqxdepu[mvffwznlsunzhxknier]irzzbykjkzjdoybqg
aauhucqygvsgwdaqfa[leenmhlorfgbyorrd]soryphiyiqsoydfkwzw
aggwrqdafwtwwqjr[eafpfpxygvnfblxikwm]mlgoiwxfigmduubsr
rglpanreckskdaojotf[yuywsgztcjzyrfqawj]wzwtndwugnelcmxpyme[uwcqyuebxpprisdls]kjisjtwisxawsufrd
uqeuvhdoyujlazejbix[wtdxrqucvkbkavrvor]fclqcjvpxqgnkkhi
mgpszcffmfxeacayj[eorkhzrwqvxkrnessk]wykadaapxxqmohwriin[iwfmoieivcljpem]bxhutydaznvlbuu
vkvvkjckohpxkolpff[pepxkcsneexhhlsjs]mffyiopxkqdnwlg[qmkttuxyhvemywmu]puqepezxejnldtlf
fkyblzyluhloblrlj[uuznhpsjgbnzghjczsq]ekddnoeylbefgmpwjp[gbfxttshaolcvhfsl]iygnwnznafbluanu[mnylijsqhwlhhbq]ultecropzmivwizl
rwpypdkhndrotod[rganbztsadndbxr]dorwmwqoeppdpoyz[sefhqmaxuxqwjpgaofp]kerdiohsaddctmnj
hlzqtzrmmgkudvsaxn[wnujyposfazclkutfq]yugpiuxxydkbjtqd[bxeuhvpdnzqzvrtynq]nqcwrvbzjijfjkmq[gviaheipjpncyxq]thgypvingfouyrdexu
abnhtjtbkrvmukjsbi[yivolobglxbtivbmlxe]gpoearvtfhhjjxedpq
uiubiwrlfkwrsnewvwz[xymjmptyaoiartx]lkyzzzynibifaahjewx[ijvyqumtxyumrnpyfz]hddwfrbrgifyegaji[tguxrbbrdvhmssvbopf]ykkkdwtdtlajkmbgnww
omqzieitwyasnbuae[citxwhjdkqyzmfotup]enzrramzittuhgjcv[fierpodjceckpxwoiav]edtoxignggotlwka[sbjkaiypsozrukh]hdwihijpdemzcdvlsz
rummzhhnmypaltcxrja[nbcaecgbuslkyfar]hhfbjgrmbmjexlllok[swzivorldyknmqbnmtp]yjimyhqwgrgdphl
mvpjigwjeejzhnr[zmxoaofpatkxkbecaq]szixqtsjizfgvfioq
umnruavumjfrbywaswu[aeypnvqccjmqfflsyyn]anbehjastasljxkg[kwsjaebdtuslcbae]corzitvsrhthwmjsny[gzojgomcsqjubqrwor]tcektreziofkfzlyp
atrjsjmfiyyhjjpcq[aygsawvwkgmvjly]nvxcabdkjbowvfiuqim[nxwlnfgnkfmmrdqwva]bjqsncyahbgqgcck[kudkiazyfbbvwvae]egtutxkpkpibqcxd
yyxasjrusephnhgz[tbgueaajlxklmqfzfxx]rbirjquhusiueda[wwyfqgowviapcam]iwwwfcjtyuokivtkaet[ojcechttmtwizhjzb]ilybbjncssrsdpyvun
ouzhmpmtsxtbpgxd[xkpvjnalwhbhiwl]dohtpyllehgsmfqwio[pswfztwnlizwbhbopug]znhnnlkxrlsswkgrb
wdfqtfgtawjujjnipv[ffiedysbmudjwegxa]uixjrzxqsqknbro[uijbgaxqvjeiaddellx]golimewbjgojubbk[cmkrjtwjwjndagjoidq]kuaetseghitsonmjxez
hinvjpjfkrcfikcsnk[neznqyunxrviafftsv]xxzaxudvxzpzayzu[igikyqxlllewgxp]bbrmixylwkvzstannjk
jnfqvpcsjlhmsgttoo[keugkkuywiztndixql]fwcomunksourfiufwgf[vwalfwhhknnkmlelb]lxwrjniskrxyxxfgbj
hmxhwwoaovcmrsjng[caxzefbacuvtevwsn]lgybmbmfeizwrbfrzuc[usgudhgiwtuirjfkpz]dmohwrrvvujowdchnh
suctmalsyteahln[iwbpvohjintrccllib]zdppjeyrkkjlwgfp
hmnzkxvelkvxzminaj[llmbrsvokhyfowaimt]otgsfjkhormfnubhirp[cbycbwoqvdgyvbnmkz]gnnjznpxfxwfvaoc
jniltxvpjudmaao[ukqflhglxrfpfjg]djvtunwwabljjdirgrj[zkfyhzxkarvjfrbzbhx]zrrzbzubefvchvrpftc
lyqyzdgisrvolizgkvq[fcdlhezvozbrglr]lcuqsfwchyucocowuz[acdcsqmgffussoy]jlnuxatzdobackkwgwp
gwcvsoqytskjaqo[rfzimztlooyjbodjcud]ewbpnbzdilxvjmwy[ugoqefqofiwkgnv]pugnbbxqbmpephsby
bbzqqwyepafkukwqjbb[sprroemdjetnbhdu]donxkujxpajsakirfap[ybomycmhvmvslykfxuo]auqvkrofncqftmjshtz
qbxmiueonhzkluju[yocqzkbdskeisgvm]kaasgmyupwosdzbumq[lkqmadnwplwlawznb]zxldpcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgkhtszr
uzcvcnjawdeonomhoh[lnckzlsxtxekacx]ogcbcsdksosgbdlrexd
kiiixiatixklryllfyd[bdtcggfxvupbohvclg]rxwnmgvwphunygx[jisbxeqdcnocecrtabk]cpbsvzurbvmtwucvhk[hlrjqjldshzvbrn]wlmkcxbepdkwafeovn
xavkcpvzdiowrpduy[lujfjaxzrmxxcnxfrlb]szegppqkdzrwkokbi
ojlbyagshifmlrv[qexvdlykxlebrlrjkg]lvdobhyszjfkocbmt[uorpnorysdsqycpdoje]tknlzfganuxeulzv[amollnzxactinrv]unmkoyxobuuzfwduxa
pjhpwsfoiufywtd[pzudakbhkrvzepfl]cnmjmtmacyjulpcu[yvevxufpkzfrksn]qqdusuumfgtaemuscj
ffnxshbygoxcatgz[byegatenneixbjbrri]xrxazipjarxrrjj[ilvdkjlixdbdieycbvz]lvngjqnhjjhlvki
maocxpwqvhfgoaoy[jthtqiiuukttxhh]qpvgjokizpojnsvgg
vstmpuwjzkvzxakgreh[vwxiygqjyyvmgvjdhz]yanevbmxttonaonlgeq[rskehprefzmdfujh]kddqkrshtgymbyf[tdciwdrqgnrwygvlqwy]mwyxsmscrhxowaezs
lpetegprilvnporglm[efutqcurzhuymzl]vpuzirgjkjkqmpglqoc[ynrhizbevmuobpyduap]joqowueodytoothjk
uovjoxozjbjgjoedh[hdufcoupnwyqzqsdz]bfkcibjpdceeawfsxnb[pmfdhpjltsthickltq]wnvrznraeqgmhfh[zqsykjfanpwhdbm]oltzbvppyqrhmom
cuptpflteqvnaexzwj[sokwgqieratedygx]tlgoqkfvmifmdguz[kfiwutninqxzwie]dulfdtlbltfjevgp[oftsoxfpwolpbvflmvk]xfbcennewbsxcgin
xoajbdvgnaxyewthsyy[gbvxbmhptnkenvoef]iyxfsrwruprnhml[pwrbjucvopfozdjlg]ntsdilgkqjkwifjcmqq[gqtizyvtmqydqdemxx]llggegbgpbiebcsg
osoqemdejeowlmtbr[gvnuwetgdhuzlfoyp]ynbzmlvpoydjaix
xmtosmglxiswygqd[djjpcftewakmxhe]cxrcujdbpfpmpqaqp
kmffzaniobvxkqobrz[xemvsxzxpikkgnz]coopvxaqcwwvcpzzbwc[frbwadxyrqsjmeb]solyurryfbhunkug
syuvjlrlrotbcxtmqlh[plnbhkottpkhbgrmmc]tpkceggxjkkshgovp
xypvptyubhdywjddc[dkdpirtrddhczvbi]gppnmtijmtndwsd[jctdyzyrapkwpsudre]ofnnmlflpjenwqme[wjlbkjvlxuwubdkskq]zmhodofehapyshkw
zyfesoxeyyvugukolxq[sduqoqepedvxiaojef]ujbihfjhwwrxjbmjzwo[fjbbqkruyeexkrk]fyjhwioedesstjkw[nyhqlxexvrlglwcqbi]zgxdbhdcqgccgodx
kbgeflyhriyaitjdw[gkmsfhbeeftzvlkkxd]leroadltgqyqepa[apzlemfdxyxhyqy]bifkxoyxysldsif[bypdkygwlqgxlhmay]odffxnaayhgxkyjsyg
etnylemzuybethsak[rbqwbwcpspvwcnrtiaa]cxdlfpvaizzsiqy[cofixscwpmoaptvu]tuvmcbkoqlfljpc
nafgslpawkgystrbu[lholsrbjchktftlct]cwxorzjqzuibydw[wolwkkqcflunakpsf]ftfjgybmpgmpzjpxok[omccjdarvniomtniw]vmtkovkvuahhcgj
arfxtgjhwjbqqpn[ozbglzichfmhnsrmc]sxwomutyoliqdfrziy
yrfbyqpslcykicx[uoxnsxbpkzuarrmhesg]ohscdwcojgysjov[epkotielizvhfbauf]kdichwakhcwuitdohe
lxdfxhtcxpaqfgud[kietvvqhjbhmbdjh]rnnxrywwubyivxj
wwqhnufhgdpwnidwe[trkijfvlemsenfvm]hwhzclbeilbbpmbdgvy[kcqrejunfyofjviz]ymhbanffstqwvlkczn
bemjirozvmspfrojywv[gnkvjdexdgqeqvom]akfgpxfgjwsymkegz[yrbmhgnacpufxmilwbe]taxwtqhrfqehzvndlix[ndjuozknfyplqafyu]bwogrlytfyopgayph
tzrwkqaembipwoyysy[zmjpcdqtbucakwta]eelwgobyifozmawhaeu
pxpftlpvkjcwicy[ordfpujlgwgxccjcvc]ghrlgcktvifkicv[kteuygrgxnqbaagldhw]elebyndnyuknsxwsz
eoayeeinavevnkocsh[wlhcijujotnsmyfwrg]nsghlrcpvhazacbriwy
myqilamxvrkimzrypsq[dritxccifmrgnynl]ahpnxwgmmlcrmtujqv
prjupstfryhiyxjr[nznibizpdpgsxozff]omzpiwgyqqytncz[ixhfkzmhfpctiaflrsg]fkxetrnjkjhwmbcs[mgfwcdxioxwsbpbxg]pnmcyowtigkikfbqem
obihtythngvjelm[flrqufrqlvaamtlt]gbuppvlrpotvhgoivu
wdovdejwygfyguc[acoacyczfmzugdiwfy]hbboqkjmpktiqigkaxi[eirojscvpewshvdslgs]oloathxikscihfpy[vbwlxhdnmpcvhrdwm]zxwsxrhoksbgnyva
vuaiucuvucxmowfvdc[pkwwdrystnkynnfonv]bkguisxgqtsizbdpon
nhegyhsxwcesxgagl[jsdkwvzzfvxuxsmkans]cwhuierxyqjmueehii
nmtqqwclrkwlikw[drthkxkyfxqugph]bbneldbvtittaydbgag[vviulwoviezlxte]oqzoapkqstfdxbxm[bmhsjxwoxtflbqeo]hnsldpfruxcdnvz
xrkijlvluezxevaye[erofwbtsylzfvyrersj]bkvnbppereymraau
jamtmykfjuhzndgnzrj[ezhkpcujzmcdkkjjfbm]yojgtkoobnwvgendjt[jkeeulmfzdbfwnohfaf]cudgyvipscncfbvmlh[kxikmcqmpounqkwjhg]emsdqszhrpxpwcwb
yywwadanokysrfh[btwstuwbsdiotcudf]qrsrtonegzitpgnzsvd
hrhfutggyymxzgyj[agqctqvhyfytwsdmzf]ozyonngtqdoaagdl[uuykvsdfqdknray]shhtieifkqfewhopney[ydgftitgfmfdqwh]dfxovuekyvtaddh
dbsuuitjdsiymhek[jgxxnjjzwgwirdlgwg]xwlvqyufgiwbwyfhqn[yywjhwiwijsuhlarpxv]zmpooqvlrrnwdfhsheg[piwaxxvwgzbbruij]izqwldwwjvrxmzuj
nuxzejoidicdupcgdum[nelehvehbccqmwnla]bhazpsnmekeqkvr
evnsveqnndjyarol[tgeuojqlculphzfva]rilaooxfpwyreyh
hhwvcwpwgzktzotcrx[khmiivstojdaciyzb]xwaeqbqyqwqltdx[rgwirleearklteybyx]ckiyopbgfygyvui
zpfozblbuwkdkkfsuft[lccwcopfworwnry]srwrcwdkalvsnsu[jmgukelsagifrhkxqma]wtrtztsztpnryaqw
iszcbgumuoarzlkblr[xphrddxkyclfvnapk]rzryxqdnmxplfiu[plghrphjxgqlxtp]cxpvhwxkzkeczxcenm
aezqpvhdbflknptrc[zykqxuzbatudehe]lugjrgmxtqlxrvt
jsejnywikaohtarsxmp[whmztgiaadmiarwlbj]yjrgwesrymvzhlades
cxmorkzlibiuyjgs[nyierakbbzkhvyizl]hmtqhrxddgdwmoayyse[ldupkxzsfkmnsfdnzsl]sfpntvoniewgfnyfw
rtlhvogqfabwioi[mloxkofbaemaxcfzdo]ofeukqafbxivgvygl
rjnyhsocogdwhswqonr[jrwafksjhfamqvfjk]seiscoezqmbopqryc
txdcwwtcedbymvxy[dbhxqovjeifzsuvm]alhqphxcmfmodeb[zdzxpgxeezjaeichq]ggadublqxpfyoyc
rvoblfajodmlbftahtv[dgglfidheitvcqob]uzvojeukksuthhlpyoc[ovnskmuaaxulloi]wqhxsjbtaqbgjpbw[ohmzmzpqzevicbzmtk]yjrbmkldmwmmcndia
rnsgsacbysmwnhlqjps[hmjfyywxcpxwsicxit]rnikgavmgagtsoqjnfp[qvcofkevjqjqhiqhzek]vlhfbggnwqwohspyig[ibsdkevufgsnowonkj]ufazmdkexffmxxfwf
qkcfiavyhcmknbqcjtq[lknppgsvbdvpftnzcgo]qswbyhtruabsyhvz[ilrimrzzjctbbwhc]knpudsvkdphxsuevep
wmeryhgvkftqiyctbt[terkorqjaagtbsp]hilrpcfcjsyguukcehn[scmgvajuiuybvzt]enjhgqtdjabbkgh
kvczijzgmasricwj[xhgvyfhnaxeugzje]xwcxqjegagsjbvnuskc[iiokktbsnmwxknkqch]vtuobocpydqweamu[jgmazxfjiryndgtcqjx]pykbsnsoxbfgacvgpz
guthejosohmrswzgk[uqthzxkpgxlcmqyop]fxedavqwkrmzbfr[itsvdugwjezrjtgqmua]yotsdzczslbvzatsom
lyltslrourlevnxw[dtiihjdbejwusjmfap]hdmttxgttdqytvdfpp[qhdrjcwprncegzdfl]iinunfljrfhgifws[fvjgcqtqgxqtgca]bzlvdtdsxgrtzuvh
ndwwncgabwoynmn[zbxvlpndrsbczbklwrb]bkcrlonwivcipxe[eoliublkzenpeyxfk]voydcapbmbsiuvqfywt[mmiirgxvnbpnkyjh]pgkocrralcozybthp
lvrcxgzomstmslr[vczvuydqcmhfmlt]gmogxiffrfsazqbh[yvnoqlavmbnattcrgd]tsbkxinrrbbxypwnafo[pgtfpwnnlxibpjchgd]hznabthirzxjipjd
jtczttrstcpmsko[mabkmpwpcytkqdmhjc]jntwxslpyrkrehj[cqbvlkhugmarodmoqeo]weaiacdfakrkuizqw[uiwkgtbzmmffxrhtn]lhygapgcdaszgoyy
ahnbwmiwwwivkykv[pcsiuyrowqrqfxcvw]mgksjiinoudrumr[ocwtmprzvamougd]lvqqlgaftlflllvqo[akvkgazplkkvqshgbk]zvyvtmxkttxnxxdy
tsbifacnljabpczi[cmmjarpfeeyoeplv]zsjcjdfidfjvcgdd
vaviqqmsbqellpw[xjjzxupmjbkyuzq]putpqaavecqypslf[nkyslewbmmsxvdy]maszkbnmujztqfbzq[hjwtywxdrybhcvplncc]bvgsnjtjidiuvggo
jhejwzckrrrzcjgs[vjkxxdonhncwkykwi]kyuvbdlmkffyzept[jloktbqtmtczmjbdord]uzggzgltjzngpsboyxy
rkrntmebnqrkoboby[gujdrcqoqatyewm]qhrzxubcwkrkqibjwl[hvnezryivakciaoukrd]teefauinxaijxil
zkuajphbyhsxocacplf[tqkosililhbxgsgp]xttqprajeocotwoixkw[hdmduoyjxcizwpa]cihkdwlaxhjzpjw
xzcmplyeabfrcpfr[qhfkyjzmivvhbqeblph]bkwydbvhtutbtytnrx[oslchcvrlcxmsnbqoq]zkggbeglckihzjuq[lxywqhpuarhpasbul]vqmgizoanebmehzfwyt
bjrvsfwownhpxsowafm[dtmxsbtquavgypbizrj]boqoiajglkefiwaj[ycjpupieshgdmbwp]riufwociykhnwdsci
urcrpmkeszzuctovhqu[vsutbxseevalnah]rwrptzraxwhuskb[inpentirbmcxdvof]nvtxiwtlkeknxfl[rddddhtpudrgpjafk]cojkmbekefbmuwev
djavlwoikblvsufxrb[suujlpxslswxgfmrjj]drrpikhibuvwdlhvt[iopyjysnsjpyyxngdfq]sijwvhrwtourowgv
kitztjpylzlaposkaun[szjrduixywmdpxbl]kaltysqcxzjrengtkwv[jhsqhlzxzayxdbebu]apyxjlaydhhokxacq
kvzdgclklqsndxdo[kudsmgggtnwtxdnrev]quljmegosayhdwum[kklkxlmmmtjcretlyx]dtsexdvvjndpxtggjlw[mpcaczddrmktrpgngw]usxsptmzgzqhjaycg
oxvlhxlmhhyqgwlao[wiqlkdwjluvqwgqp]sbjmqvssbwefsvq[ocwwdefylfgvgsygfbr]fbtqyawdbswjpux[loeconwsbvgbccoz]cdotdnnkzyaupynuk
ykozujsmdopwobif[xaupavllckswbcyszd]jqdeagvmvsxpumvmu
naxhmkdggymqhjcycw[xkhrapbevbaiwzdn]etnivyebbwvqarn[dnskxishknmcidwv]uctdvqkipycyzhgcp
uktvpthtrtlgmwofun[rmevlwmmvzucsuxqx]zokkayofazorjdec[ickalywptsyxrttbynx]olddxeqctucllsvrvhn[pxfftvrdqdglkvll]xymmmimcqskfozlkyos
rlqkqjeaqkqkdsfb[igleoesoxntrdwsyoz]ujmbnjtysangjwpsod[nniriilejnvzrrnn]mbqjytlwauzscjj
egnnnubdxhgpiypsha[byoisscizhhpsjy]hmtbmbgshscaxadry
qjafhagbtdpvszwlpz[ipehjbasniypubhfb]hreoxsqzigscxhnaf[rntqxzmxfxdldnpxqb]jriknndggvtkifa[kavxsbypdwmsildd]uisivvrtykssbvmsm
rwxhzignxkrqeuy[memzudqlzcfrgudefyh]pyoldsepksbcbthfdcw
jhgyboztenuwlqu[zjsmipieimgaypipjm]jbjlglomhxosmwypq[lvpsqwjvzepgvzbfs]ergqdyrvicbsgxg[ugcuougnecjcrpav]pzgpppoonvamxhkbg
mdmifuoicysmavfkvtr[rdcuzujskhncvsy]ypspsiiizkvopyb
tlwbtllklxrkyivnnuw[zqphdjfrntryqssd]uuefrmazhsiqdbodatx[zdptibmcvohmnwrv]jofpqdvwggfsdkz
rkgfksxcpqkspdsx[zubzkcjhpvtdvow]bkbmwwrfqtmaosodlhx[shxfozufozglsgfj]tbtwcavcbvhjourcvu
ayayqmsdvbzfnut[nzwcajbcbcduifari]eazisrtfqhzophb[zkgweftquububoothq]lrpktclkzizrutnybq[guuneltajlsxbbx]rrakswukxamcewdy
dtuezfpubkdvxojau[ipzyfbjcwxazbqeslhs]nelubzldtozljzyj[uqkgjszhpokhonrpg]pgaebrtqevqblaxqa
bbduqlqjpilanyikfb[iwngaxahwxongrgf]krgrarolzgmzdtj[mbsttcbkbedkcmbl]whecpxbvhuemjloxkcq[lrtaeothcehqsmbes]chuesxuwklohzrvgjkh
sextateheibnehs[ccvuuyctlffatnmhie]xdrwtaeangizfxkt
nayfogrvrhhvdfqf[upaiyvrvkcygazw]wtsawgmklbrjjhc
qumnikpzpmsjvfiwapn[fdqlumgxklzlxcm]dczsgahneieodmhgvgt[babaxdoljtacfza]teoddbtcemfketpp[vazvzbcnqacbwcx]fulxjfohtywgtagn
crcyymrdfaawflxfmfg[ovbkvuhdrxdbhmyphao]myqpzivnpjyjkogknqz
xfkrzuoeclfphdae[wfuevmepzjjuzlbc]icytgjlzxvnjgugxyv[ppqszfvkmppjvktn]cifddqrtlcodiincw
gobxpjjturfsgzell[rfhdgfzwpfoztzgcn]eworfqsmysqolgq
laagoxczwfikjawci[sljddbmwqdnwxlkhdi]hwmoerlalfpjshedio
wyomncmyxejknhswjv[awtbfqiarnoabkab]nitvsmoxyfdhpcdiee[sipoxhfskauxfskix]nktheznrekmrrxl[gwpmodgajfihlnad]pereyxjrernitwktv
xxkbizhzxvqxbecadt[omafffruievwfqocujp]zpuotjhjwsdbsxteza[otcdtybhkqhjhvjjz]zjrkvtevohcfvlvq[yjdkpxspyojxstjkv]fbccdkbjrebcrxyrg
zrctbusxagvjendfdf[szvxchrhjussntb]mzhzysbvlwwflpx[heijmktbzrbgqsklhcu]ygpkfilealopaixduvm[rakktnzhooijvydazhb]msnpudxdeaujqysbje
xoemgrrmqqtfwtnwnyt[jextspoeediexugdgc]foyqnwnwstrguzk
siuojescxsrrhvgpeoh[dnizqgnuprmevtqws]jtrkiydptijrwewcqz[zkvjwozfadmizvhfdk]kamauddrolxbdrn[yzfffqfeadlyfje]qanqnshkelszldi
wdiojuevpybfvdp[zxyrygvkvufixzdwds]tgjzjufuuwenexe[outgdpnnysadoyeon]hvelposyxhlvfmdi[gazrxuhxrfxofsrxq]wpkujtixgvfrdgg
pufjsqcfddyeghd[iylozggwqlqevyb]cbkdjgvbrpmrwrsgn[nuinkqeqchwluhwye]baetibebzmndgrulqdo
rwwiamjdgdfsttq[xnsuyncklmryvumrii]qtcphhihqqqqtntvoev
bwhfulscfcqggdswt[ostyvvcpdoyzvuhodeg]ekpjrxajoziohdvkfco[tbbppuyifwtcgvci]lwjfhfqfmclrhdhplbs[pplppkgrmykhtfnq]sfvskkgimpacxfam
jripvodavtgdgkv[isotocixmxjmcldpx]oaptjpebswetmacnf[zdlipacteuduvqdhcfg]chciftufaejhxkmpozz[cmnwvdkbsczhekzwi]ovnjvgsuxmszncr
ylpnqmqhlnmuxei[cyqofexibcjwunyl]ettxreudzmlhgtha
dhmperfgtcbqlipcjbr[gkmgkletrzhoyhfcwb]psllsosgwjmtrvfanv[fimdtpgcoolukvvpu]ccqgkaqltrreqchxpbf
huvrdvtjmncbokh[mxnsccgwblyahbdao]mpscnoohrsqideuhf
pfvpbqmyapypiubxmt[kjfhekecjzzqftpj]sybxxlmvzhloooom
iicuihjkntpnytg[xpzlplwvgwmzazj]dfiftbbvxbztjpx[patfyqrujpvwbsl]mxgsntaernztshbi[nfwhtuuwhgsljivcrws]iwzqwnbjapcfujz
fdiifotbpdpfvedsfn[ptkzrnhuybmhzkh]rmxekkyxbqxmxccc[icwqbjmjtakfsqbd]euycnuevdyommhq[dqfyackkxmvbehucn]aabiiukaxiowhbtbwpj
ofaeegcqivqrmtz[nyotqurllbitpijzdz]pdlsomnmdsbfhdzdh
yxihvlkrcvzxhlmzm[asvxysmyxovvxdvv]rrwmvextlthjopu[nuaoossiaxivwwxwpa]xgaovndeadfyofish[dpdhiwlsvntqxypdpy]ddmbndbjtnpazhj
kfqeicvkuvmsljtsez[vplnucnqgngsbfv]ycjwthuykmlfejqepad[ngklfmgvredrinryy]snsxjeqdinbbapwuno
yznxssrnyacwtxlfbab[mpjvrwoguxgvcbtbmdv]uflsilwcemofepjghvh[cpprubjartjbnrdo]pocdfdephebcdavrxpo
xkiccyvosgzxwtuck[oqqbviclakixdgc]kteovpyjbcejxui[mzuzcghrxtkssnrsqy]hcdpzjidycnlowgvaxo[iawhkiyhbswqsibqp]ltyzmuplqyoivgmzfa
qllumnywkyqjpfv[lgkmvmbdwnkhlhqfse]lroouhapmomchyeghsp
egmftdtwkpmhdpda[jlxrjvldyikwjlcwx]inqnhjexcxubtzbx[nxiniqbbzoedxkyc]siepprpdulpnkrussom[srrupzubqhkmccxcnas]qylljcyzwypwzumem
ikjwnxkhkzqmppk[tzaysscnyqriqxcg]miabsouchfluijdwa[cmxeoduyguwjxqcj]ilprgkdcvvopotdzzon
cauxikrtpgqgwydmagf[nrnvqarumgmthrf]xyyopmoyoampemafwe[jwjgmglxphjkvfg]oxltiecspkarhualt
pjzcgmqitucfyph[cxxlbsznvwpxvzghv]woqulnjvvfjvjzy[wgxczusgzxnpkakki]fvtepvwjkaozguggqk
fgwvbbyiyljwmkgcmic[gnohlyijeqfjldrpqey]qbdzxnxuiprcwjsn[ogtlzpxxzbtgfbjx]wxgaduaiyihyumprhe
mgemsvccgqreluv[qrlpjfkdoinuyou]ovkiqoqefrjmrzgb[fzmqpuzoufcybpucq]aaftwlldjkholezzpk
vxfsphugegtougthxk[lkvniyzlltosedmpgr]tomgbtfosxegecoqtn[mvptnxvxddkaqnjvnue]kclnhnpveadosfktw
ltlrncoqeeupwtoxv[yoosiulyjjmwacymwfk]vdgfdfcjubkcbhiixv
ediaeekjpbzidrfpu[rowhynyrchamhzrp]wetzubsftjwuksnd[yqbtzngplxcqkyxf]blzuvnektffqbkf[egmvyplsbysvfjjkr]ikrllifuchlkthknpqb
ohspsyvzulzfsgghvbu[tvtbzqptcpguecpgb]zyadwosbwchbgrkypj[cphkhvagaasozym]tvgkhkooyejddnhv
uxtuhgkkulhrvowswt[etzltbttiofnkeyh]gsgnleidfbomktjtbrq
owccdxohulgarvvxx[pbbuwbbkrgqlhxa]lqbqozlyegslpxvr[arduobjtbducuoiwykm]tfziqcucaqjcfrc
foxbwdzngattycaunku[lnkqgrufdcqreruqp]otrfaarzydubngucw[hhaqnaieublicggcep]jjvurleoxyatgtlexjd
bxercunxdkmyxoo[zuvlzxstpwfmbnv]laszhsamraptopjmfx[syvqwydkiawwwpb]dyrhipcnwwbhmcotha
mrcbhykyikojmqmxr[gijdvcjehxyzlpxms]bkzqdkykgcvrlbdcpck
dqdrhkhanojahvaof[msammceatlnnwypjnk]yxkhkmiroydwvls[bgxvfxasrtzmiqpueoy]esjxrbelpjsvdcdx
tuxcluskqsebpcm[xplkqkfmkdsjlgnome]qkweswhvzqmpkujows
nbpwnioczrkicxddphr[zmtlntcztddnmcl]gjultcfncpmekcsosbn[pzwvjmfvfkanhxbhcy]kafsqjaraeicizjy
drcviwihoplftyb[xykuycwejtdqehmuf]kfmgemdaoetwhczw
iuqdiepdheskvvgvix[ayfqccpnsyzawotpt]xjmljfmrhvqedfsrdg[rvdqhetiopoykpopol]lnqyxioswrssucownvu
umqpsyqwafisrktta[eqncbzzavysoixd]wdtnkvsvsfcvfks[opjoivoqobrzeepln]ziqmbmxwsppwzfro[mkhssttidvdgsvstov]akkdvcsjflhxllpblu
qjlmfjwtglolrdxvqk[yufnmwyfhjrqzrxrddv]pzcaaeoitighunvg[eamjujwzolooemhj]mxbnbjvuikcycvnfuh
zykdcejnrxpiimmbf[ofuzkgknvcexqzxpu]ketlytmhcmzvwtssaq[pgruobcnyaqmyjvospf]jkkvdoervshvgeqwj[fiexihxudpdrzdwp]pzmgprenvskgbgupy
edesihewpfcjzkjhhk[ydoqcgosoyuebpoib]oaxftiagsynwawlukdo[pobikbzlxzzatth]tzvwglytrgbmlsdikum
rvdcduthikkjrfx[oxwihjkewocfvjpq]wtpoobflhevxjuwnqr[ltfcdcjnkkfetnor]obpzfslqfunurzhpr
ihikssgoutovoropq[nitrordhoxvqfbjfc]lxnjmoufkqnxizdcthn
nsnkrlllkoyukbkwikp[anhzfrtqwndvwcndm]xyvidixcvjwqwxbsctb[awnmlqopvrjxyvjlbn]ldmgegtwfkvwjurzk
dvjmhdavqxdhnbglm[qopsknwswyqoqccp]jycpmzubidfbwsskm
dstxfmmohcyoivxmci[prdroxyvxqzdrdsu]qzczowwyxtufoewluu[ywzeufezgbazekly]tiifyttcldlhravctc
anocufhbdffrnyhxt[sopxugpfxbbjlsgtdc]nvnnbdsjqfevwbgbaif[ljuuwzmlrnpjvxgbp]hoeejpqdkbrafcmv
mvoaumknaokkjrduxj[anhqilrxkkqawmtdwhd]zuugnxwinmpwchymrx[ftylpriufvgtanapyy]xnizqpmgcbbotfpru[ilovypboxtuyozqag]aldfcdeyubuntmvyv
xlvezhyhuvbnhgezw[yvaxeeokyjwjgzr]hqtybqtojttsyhycsy
bjcbsmjssbubqixiqmu[uzycqzxxixenmtvz]ykvtnssyurdixcswneu
gwcwwzlhdufsjwaxal[howbmljowljdsvbm]jggvldehjwoafvshlw[bfevufuakhrccqcc]dfufvaxzavehxgwb
xuigvxgnmagtmdke[nxkzzxieoqxbaei]nqnpncmtrsiytxhy[bqpabinchcjqcjy]ysktjdirrevjyqyc[rwtodjwpnppdvig]cxedadgimutpobykf
daqanavryjmzxflo[vcpyomgckepdftz]tizgysgskfuntqedhp[bkasgyhpytrbqvgf]dtjwyykxvutfihl[dgidcqrglxeuqmjvryo]baclxsovuumhgjffx
lpyeghloevhgthedzjl[schxctqynpinoswgvwv]jpuvctsvrdpdhwsh[xdjqrqfwodmrxta]cmeizobaqtszfini[ttbvcouiaworjdp]uwfkbkxwhrkeugsccp
ctvifkpejmwnuapjpjh[glykzeqimofbvirvv]kbzjjjxmiasijhyak[ucyzsvtasjfewtbm]zbhktdmufikfwsiqyfz[kolsqantshbocapum]jvjtmsmzjvdyawlrrv
zbxgniymzkidlugns[xsyjfooxpsbhtjvjp]lydpcozhcmkdiactgsu
rzsziayhprsxlwr[szdcnmcdpqkwlmhqlp]uctizqyfzorwogahopa
njpfvxluupsvtbenq[cgenluehtxacymtm]onnngstsltmtobh[jkjpmbsumgmtkbyg]uvsefrirmvsuiff
qukyshliwhitgmyeb[eikuuslkfgergykosp]fthsbtteuspbrqpssb
xpgwgflgtkmtzhw[prdmpsbkrcbmjfitdyn]kqiyknqfoudyfvdmlhz[zswwgwvjkyvrjlg]zzmkyxkalhbbgcouvog
dgxbmggkttasrcjotn[hsfrmfxeeuvovzuij]lnbdybfhkdsrymhu
ryjamwprtdolosp[nkucayakarxezyxpgkp]qnezibzbjadqvqzz[kehgcplpjdlitdsg]nagotxuswnxikkicoi[fbpbayqjockutfqu]gnylxqhcacwdrdhlp
quayrjbyxiviwukq[mwkxplqhlociiriaaao]lswnrperjoqewphn[nmwqzenrjmgikodk]sagkvoqqoayykkzri[uyenuakxyohedlz]ffzfpyguqryzodjwqxj
fkymdwjnylzqnxhl[lsrorhrzdxpfkmai]vfytomporosnlpzc[pwpodimqjyfmczra]nibuxkjazxghetmxe
vlrxyrxugxmmxnr[gioetjknstpngomi]jgzsfyvgbteacpupi[aeyhvaqkilxenfy]ezhnkbgkqgbymgzolq[dkzztikgwfghpltsd]nrslpkmvahlvwfhavn
xpjvbcihegkoyjg[ddyxkmnhpnucgbeu]xnvxewhefxmfesoqkfo
qgavdsmekecmyuuxln[toczsvzymwfzzrxprb]igonrcvkpxvekefo[abktdknxsdmpionl]uhhlekwqmalhfauva
uveiuvjjvxlrlyxpc[ucbsqehsihiilfmxz]nvhvrtaxdpiqpbuyj[rhtfedxbiqutzvaucj]dxtgbmuwqxxqpfbohfb
qerjjnnafocowost[axrfofdityutyzgv]acicnljrpsxzlcg[dhslugmdfaxclhrdecs]ekxnsbqhlxcfuron
jknvvunefcyqagtj[zhgsvdlsfrlcfyoqt]srtokcehvdjwwkcwczm
wwwyfmlxivfqcmnwtw[kaeymickhvsdlqkfuqc]dyzktnegiqbohljysa[qmnzkoqxsgtpattmt]oxxczwgodhiecoyp[swszkqetvvgdctkhyxo]qrjhaothcmyajmpy
oldhdgmnxrbjncj[kkrntxgkrpbrsyi]qjronlhwmcpdnpp[ksqudrshtdnenqxt]wzbkmgdhgylcfpberv[nyddphsypgzienevnmx]memczjhmgzeyjchv
jxojiumgecewqlc[nmiruhzcybahusxwt]pqlrbrwjitwylvzx[rjwehkmounctpcecz]jbhagxjlhngeibhh
lbpildbxlosyqfun[razlyptphvjizuyonoy]atrqbzjakphxrguvmbt[ybdqfljkspdlgisypun]xttstfdytowwtxytsn
txrzvdxevhqzpkb[xbsfvyjkimceqeog]ilzhcjiezytvmdd[kuhqkwaweasjoae]fuyyczwcpbdblxtxjgt[ujdwvuypmibgdbdtkij]vhrvswtmxfqkwmtjjld
zipaigqfaywgroxzyh[nfaubfwofvgmjrlxw]srjdkzejhrpctlhbevh
mtshlkbkfdacuvtjkbk[qemjvtgzaxmgvojtfl]emvduvrdlxnwgqrquk
nekajppmdnadytnn[ynkibteahksyzvpenmp]jqxybiytpkgzgws[whyeilzvjokewweunf]ndkfvbdnbdoszwfugue
fwfviekoibnqhpis[esurgsppgqchztm]vaxsbcgtqipiemvreaw[ytkxlxyzfifrxgmbggv]tygxkuusmptxqyl[lpuxifizetrlbsefado]rbykxursrelvgiilrai
xyniecftatconlmstl[rpmxaolsbezfwzof]zvcmwpmmcszbaimwhfj[hggnwfkyexqkdancmc]cakzrmvvnmyiyzbwx[eizlhdetlkmzlrob]elvcwtpqtdpqxwdgjd
yfxqriltoucrnfnj[zlvarepakboasju]bhpvqvllpphryccbjz[gilhjdjlsinanvhhe]rkypfwnsrmshanawlb
cffxddoarujtkpwt[vgtsjcyuqgpoklcem]enplegjrghgfkvaqhtc
kybnjsgrfnckxytl[obtlaqusuhkyeswu]vhaghsusagftgzxz[ganwwupndegfgxbckde]ncgnimjtllrpmajya[dmzimljmhjkbyozpmk]ygyhjeeexzqadcdyhf
icjonhtmvgnwowp[xdtgaeotcyiyzozqwd]wudhamantwimysgpu[wjeyfkqluqgmbspxi]piyixwwkfdbogwcmtac
qextqvcvlshqhbunkg[ouypttbdsycmscqe]qpxtjvipjkrbasofu[lzonfnanpflaekzhl]xwwxnjgtmzxnhmq
zbtonkedeacrlltqnl[qlssupkhjptzbbru]nroemsymerldlshy[anmlmugxtrgypsvkgs]wfagpjfzgqcdhslmlnf
dpjpmruktkfkpurvcks[mcdigtlyilcdvykpng]wrbydnqwmaatgjpjnew
nhcyufcfcqqsxef[msqbqdsheiodqzpkcv]qlownycyhpteerrdfid[geiuncokzuwybrefno]mgugljgzgtdvyhpflbk[kwgpiyryqpdmphcwk]rghcxpkbbmimkui
yyutoljmokemaksyh[ofyxkifbjqhrdklh]ltfjtukyeekhbjd
uolodqcxatkpbywxs[qdpmghhjdsvuolwk]qfvcnuajofrynqndg[cpojwkswcxdorxvknrg]hluvdzuqsjsvhnqd[coemqesbuoorqrcht]oymvojeakuzzydb
qrghrzhmccfpfymd[ejpldprfcjwhfthnli]wayofelvbtvjfesq[crskpxtazgepeguyywt]hedblyskngtnxnchdz
gvebyckhjgfmqrxmmd[eklljmmtwggtlqdq]hmxazjnitvfcjmlactd[qhlsytdoiaksvney]jsdeegafywarxlsnkl[ycoyqpbbwsanlnoes]mnfxjeakujicrhn
ttowopleauigqfzpuws[rwaipjqlxeajbszmt]ewurrgikabumnsg[hqhoudrdngplyncdoq]jvazavwibnayzbkmei[yfeaerzswqrhjiiqbb]khsqzfojtdimvcgsxuv
zysbeejbuanxhomwne[wzcjovlgygbogvj]wqqbmqmudmkidhnm
hzetqrjsokpzsfe[sfvglwbyaoczjozubjo]fisxeqpvyscesgy
txsslfbzdakhenov[pdzbirgfxvyufuz]mwbclrbkpszfpgbrhu[ozmwusngkhbkluzvgo]wuwvzagakqcmcrcq
vxmeolvgvkzdbldvid[ebhmwbfcvzykllewj]ngsvjbjjbyyoybnai[vvhfsezmrbmdkoxbdmj]pxxmcprffpzqadbu
kagnhnyzbognzsmifby[rujzhkfynwygbcpuoq]wfgodhqkdextspa
meyjysyguijkyen[vjyhsmvoyoppjknvivn]yuyroikrroyknlkgfn
yrbljqrlekktwvq[ubrwbmlwxxtxnwa]ekompfyzprhialu[rdglmpamldxxxsgpmwk]atazfgcgkzbjydvf[sjdezkpgsienutudx]zuxyrrwpglvstutp
yqhreymyqostwga[wngmbpfomuxgcyqdl]jdkppprtdctuyaonlqz[dfpqdidzlofdishhmot]gnifxcpfecsxdincqib
xdfslzwasuifmmi[lbvuxnulhamtgfyhwz]sarfovphjgpdckkrbgy
bzkfxruybgbjsmeflp[ubqugccjulkryeh]yaldnucjnxhktrgf[jamlgglyzdlaidp]dsvhuxerhecwhjslfk[yibicfmmkiugttqi]byyytkpsforwainomd
asxywcdszmdtdndivdg[qkyfhaxaietrign]sjpliketcpjxkwxaoo[vmjxfuqxqgscfpd]mnpdsyqpnhlksmrcpa
gpgcqhpkdzpmjoxbjvk[stpachxjlsdooglph]jaaoaxtyaogvmuhl[yochbczehvuvauxj]zatcmyzbmktdoohzgx[cbwozqlvqfssqaagyf]dkeooopvydlsoakyc
blfmanmskfsbhnj[qurkejaextecwkh]iekzoszfdtcjcvqf[cllmensfekeoduop]kpldtlzhhnyaweelg[duturhserahslsvavl]tlscacpaddzunyhknql
fgtfcerscppphulhdpc[cjasnicuepcfcpwwq]ubfqrgkjexhpcpdh[fcuypvlkciryarmpsb]lkazlfdxilmfoccr
jaytjcjzwzzrwrosfig[bjwjolqvmwjwehvkyqm]qdrcohrlcqldwsj
darwjaqwucpzrgob[utcloaeoixtgcssljwg]daazkyzlexvrwrvcoho[hesdrjjliusilwgn]kflojebucroplzdkid[mxvmzdobkvksvvzg]mllhibzchrvzahrj
umabodjruykdkzuebe[pdyqfuwbwbnhvbgh]mvwcfyrzvyzbwbhen
uuvjgoiafuuacqj[ccihiuugtipqyyve]xmtwktbgcgwvwchsseg
oldckvjhhtvodiljhx[nqcvjxjohtdbukds]qsspbsmfdcamiwwr
dzilyknpfbgtdnvntf[fzelzighvnvvqypxz]ntthcasrqrblqsk
hphpardvfoqnqncq[ppvkmutvbzybiwmmcuz]kgfwazxcanccijxdxr[kvvrehncwizamjfbv]ptzvpznypbvmrshiq
iteoprxpltaartmz[mnybqocmkusetlywx]mxfikdltxvgvklaxzqt
qxldpbwuuyarzvlokm[peamzjnqawztknvnssx]pjacikdaebekzndkqbs
kswrzqhftfhqqgetg[bplpppimgpytieviwci]gfeqifrktgdqxzw[ylzjvdvhoocfxoijb]jhullyfbzrzbtiujxo
jbyalllemspbiba[fihpzyuwtiisvalzl]egftfecpkrowpxz[fwyjugfywhzgpbgxam]iuwakremprjkdfqep[cwjewifgwauyxaqa]gfnznfakypqatvp
gtdsifvoatfwztxsgmn[lrdwcnvmfiuzxuyad]alnsyodvmgpdxqk
ffyhycigkhlyiopmdx[yuuvtuoepntnqhkof]atumrmkzfhinoqq
wrkcbbifeyemfppiaga[msgxssztbxvmdii]ydxtnokgvpouvcuk
xivexjhdjysgmklbjp[scteqtgrnyuxsonvbx]kzbopsageoqsymtcfo
jtsjoerkjzurnysfnwe[jqglomdcjmtvcwvhir]rozwrmwjuehpapebmgz
qnscyvubszfeloscaez[povhdeeifvqfpyd]hdpspdtgtqpklhwqjec[xtqeoudrdzirwfxrowf]dllykbtfgrdwdlchn[fsjzptvngbbulfkpkh]nvyonktuxkjzpsciihm
jzrrmwegexitufpbx[orlvlpnnuklsapk]kpwkwfggbcxwdxvp
hfvhjwieruryoqk[qrtlruplpqjtwpuhhoa]ddbsdfqczwrmnrpm[hjjqrsppkjnvxmjq]juvwgpsglqllqhrc
wogxentwvncxpjbntf[lunrnlkbjpkqcxprp]yanygvijbyhhpohijj
kjwqxolclqanoyfes[oeasucvzznhjxkzlqb]bbxecjmmedvyfzapfif
hfdiajyktrmlfzfbv[vdnyppvsruscsgvji]opwnmoadgirnedufn
mrkqlpkzkhbfncol[huvazflnaswuhnv]pznbrubmgazkzfvkltx
lfqfiunlwragtrknwpx[quvtbwmfgutkzaeng]kcdzgwyybqugyfgf[mjngrfgzmtbehzxzsbg]zjvpmzakgijjfyz[ghpyxsxuycqgdipdua]bjqtbqlzwyinovhnmmu
ayagxnelxjvkqkwhax[zlimrxwrtlqtkvdny]nosfkooohodpzjp[hsrgztcucnuagedqoz]aujduldshdugxgbszom
wkeqhrtgnhyektefk[afuwzaqdvmzzzgnuvw]aaisrnfyhuifpglpgp
kpqqecovarltptjfdf[fwpprvpqfsntlobpdm]dtnujgpbbrqwqdyzs
alnyvjvicoigistbmh[ueworbfuagjnech]dpzdovbhhbguxpginqy
eiumooyxoukvaqoiv[qrygigmnybosyay]byhcqoggajjtotnuw[wpgsucwktfgcuhhi]hwoelhsxarzriqxtwao[nvemgikmzntrcfr]uguazrjfisipwrhcbn
ghierhnuwvmisxxa[cmfxbenynymgvcrr]oknavjpheqtlsvwabd[izrzgzwvdgymivghdpv]fbqrtbvhcjgvbkwjs[ivdprbnygkhgzgaym]ziwhfgnbawgtpmkswvu
pqcsccgpceupnvtr[bzfagcvmbelgxyns]uxkvxgveigehxsugzj[oojovkdwhojqcbilwvh]xeamwxhelypwwefsabq
iltmsmcvjnhczdxoti[umsmolikbpmqnsyah]tdtojhhqszysiqkfqr
eubknijqrihrbulq[hfmdunzrzrgseunf]qgdasqmtmgoacfid[duazrfhejbzxepx]apwgpewymhnhxsrx[judrexlgitldqqlnrpb]ynfdtcugmjvpdajapon
lqwdkmmktuhdbawow[lsrovmkjyktyduf]utmrjitsbijombwo[abvvufjkwoxsthzbao]wteqdxfhbqrakiqenh
phudxliosbjdplwzx[wmreutzkdlbxfksjt]onwnwzbffksdsrrvxuy[fuklieqfenqwinbmf]ckltdwaxzrpebmksn
mldqsgldkmerpwqlg[thmshstolghijyjy]xzhkcpjyjuydgxjm
wpsseyevqcibokcb[hnqscfwtkqckqmao]jsnvfanwiodlasx
pomqeoawmwhijaq[ejtmvzlmidqwcft]hkeetgkruqgmnpoi
twkcrdetwuxaxucnjv[xffwyrqfcqouyxmkrro]ezewjlxapphabveea[jfyjgbpkflijwvreer]nesuewscsclvwiwkn[xxjkzrpeonyctow]yclvbgnwgcarcxos
ugndgtdqyxtplkdz[worxgglrocgtypfvmb]lcziijmkjfdpghkjqfp[qomfivwilarizmq]dnglkuyyinegywu[batxtrembnirlwr]ovrphoeyxqnhcvmts
zgtxjxnktlvldrxpul[rviiugbdqcysxijrc]kyktcnhhtompktirdjz[bkusovlvbbigibd]airrtdvywvomcfrhi[xgapjazusatwmnl]usdiffjsbadtdonojs
mimjtxkzfsnijawjrey[appuokfywghecatbzwo]aovbqviminrwaszvo
kcmrpjoggjmfzwezv[onaeglpwhoxczbw]totswqmklmzrwmxdf[befvnijunppmomoduhr]wydkdiejzzdppny
fgpjujczabbtkxwvfd[cicmceziihzlkcwdwhr]sicifccwrljuhteondz[qwtxzkpzaspfynin]scyjunafukgggpc
buyslulsiiwxkge[ypiuwaxgxsqpbqqx]dwsyrzemulupybvx
telsdbhziecdqvmyprn[hqpxpfnttkmchynab]wvopujdicijhmttrn[orfuzixnlfdimtsc]jzvuxsquolwwtzr[dmiytgapehniwib]zylakfeifdzatmqpb
klvmlkigwhcckkyx[qxriuexxfsmfcpgvlzb]ygklxunjumjcmoph[ychtcmyhbyipspnnsr]pjqqgfbcsqmmrxbtj
ugulusabrxqyxbvv[atgfhjdhplritht]glsimouvohndboxh
fatrlhuimyqjjobdq[xvvmkavirljwcgmkvx]kbesaoxeeabtywsxcwr[pmvliimbudlzabbz]vseagltcmulcdib
vowrlwyrxwivzacnop[fegbzczrceczdasjr]orroaksljdcydlk[clwvvrdfhommqcn]yqigbtlwvklqxxiors[uliodgyotgxdymyi]lqverjsyuxifpjoru
wevsnwwlgslgxsof[eyjhzwdmvusnuerbqmh]mjzmgpkhaatmwptbo
hljbwkfykqbnpqhkfuv[uirnlrjpryuhtqztz]ackmzmullgwefgug
lmumdzgnhyjajoazd[yksltxstrsvugowym]xcmwqzbluyzdlbpkfkj[sbnktloqdabygsmyp]pyavvgzsxokeecxh[xcoublhmghnexnts]sdbkqumfdezjvqp
stnccrfzofqwbcafssa[toskkshmnjeywtuq]kbkyxwghqfgrtxs[myvqujeowntxqiekgxh]dplyqviwehtzoxrrix[covstbqzxjrditsf]qxyocadbpdqqqpadl
evgjdjnbnzmbzjpbfm[cxhsxvxtdtdowbd]wceyuozkwdjdsrsarl
rbnbqreygxxaufhws[alsptejilzoslxfj]xirgkoxgpdsolbhqiqb
kpzbxjsrsdgzstpc[jnpsoqmjqnfzkfsgq]tunpisxseqxjtyfwij
kegehkcwqdyujtyv[qfprszwdyjylowrl]yqhpsvfmcofhrfn
usfdjspdmrsmwotku[phpquxkrbrefnesvoig]vbrbyhzjjueflzur
ahcrumgrsucgvcvs[zgiwqzqxdocenumve]wwmkejymlaysmpr
egorqvqrhdxdcwglb[pewidggmjfdwchmpuxq]vfpginbbwnzhzutt
rbwgxniblxrzdux[ctmqwdtjnnoizpfxkb]cjalwfgvfvehdshc
grpqqrkmvatjnpe[fpuzplowwtztimw]zsebojrxdfyouujqu[jieuliemrlsrrhaaral]vapfxmifbvtdzjpqfn
kxqzgqwklgxylpccai[scugesodkfdyduxfgpq]qeoajrdmbkawsrcde[yhplavixoxekedvoq]oefgpvukotfhzxvdpt[vfffrlkuirbixakjbg]shhslgefljkjhdu
xltaldprsvinvsgfg[korqzbyuimhrmxg]pamxettjpfchnwvxfb[secngupffbmiekzfewg]jzqfwquugmanazihei[ldhzfrgdbneaxjjndgg]toefzbwrdaiqssxrbqh
qgiiylhrxzzvniaegfw[vfxiqmehxnnjheiszxb]txrwpqbqkdbnsvt[voiphlhjwxrkcyrarwt]lhlhcobxijaoosyx[dyqmagxqryuyfbat]oovkonlsaeiqnil
cwxhidoqdhxragzpib[hjmpsaxbqpiwqhy]csdontizglsbbeh
cvqlicsscacfmuugq[eejkmtnhdfogzpbhygc]hsqpgofmanfemhido
tsbgyswofaablrj[kxsfwmoymlmvxujvqc]oiatufqeigamjtqj[lbnetvjnhlmvyjs]aeeetvtqgykzstpt
zikurkodzkxzvjucknr[eeldigjdnjetqzwtl]itaxybvtwbhjdci[hbkvepoewuzexeg]ohfbodukqdlanpa[rlxoscpwxfbemxvye]ydahcjuodtvinta
dkdquuhvndpmvudwjx[hofzlmhpteoarpre]sdvnkykpcblbaardmf[hdtnalxmijwrorx]ixsdqmnoqrieeqn[tvyurwrpjzolmoqn]odvpdodyhdjvcaqi
leufyoljrgauyshjmdn[omwkxoqtffghqvn]iqpnagprpvmlsvo[glbhtzdectgrymdzxf]dwgpfoqsivjdvpiidzo[glnavlopicrpfkc]nnstfkiqjxccqrvmg
jdpqymeesiieeeb[iwrygkpzdjttxuz]qqrbobabyedbigesuh[tmfkwpopdgcfuydhukb]mzldoxgjdeckpdvu[obojbnmmlhdwsman]nssaclvkjwmoozuissi
upgpcxmqbimkrcvcmp[ivnacnyueiepraljdh]vfagabifynlpbjdc[dobimimkhmytben]pgasxhypmszdnvjwnwh[nvcvwfgrqenthqcqlw]cdvvgepmrqskpffhw
fifgarfuqaoifkymgx[mvgawkhnxvgaqdmzat]fuemwmfadtlaxwyslr
bcbtmtmkhecpaemtmec[apsgtrjqwqreuntmdyq]qecxvrivzvlkwwnzcfv
vslhwcbtvnnkfge[zbotbapnldktkexac]ieekqwkifqtpzwsb[wjjwgvhvnqaqmrmath]aeauqxrfhwdlbsqx[ijqqcgxjzepgnbru]uycbebwrapkiobz
fgfxlcgdrvbwkhf[gcdnlfdqppnocayj]kgluimmxtrnrkxxy[ebmozaizcvfxamjfgfl]zxjsthsrjazocerdybe[uiodgjwmepojoaswdqb]gsywzobidosuauosihp
jocqkcfjxtprwzxcol[jomzitpuxjjstqj]jyaupzbknhzvwkwejgg[frkljzosjvpzzffe]najjqpukuhkyseux[obvojkkfdiawyysye]awwxmmkvzedenpagx
wnjitpqtpbywfdfzqb[zsmozjfwpksophbzrp]ryxeuskjtgqxlkqinbl[jbenmfsdrvwdjfxhibx]vdwygykkkqqzoueisnu[xgnqjjcnbpugkeuaon]wvyttauvhjmdqcbmfqz
cjikxgbzdupqnoq[khvayknbckfnohcbc]gjsqdwbzsjnwjblbe
sknizlycschmfbcbo[glptboptcwtmwmyj]hmgkwtwaifrmzxhee[dxxxiulybtkhkstynq]mjntafrkgppmgisnz
vbijkdmufqxhuinw[nqkbpwcxoozkrllibiu]maiisvopemncukdedg[flspngjuzwaveawgk]lqinchaieoizrwr[tuyuxyvxkesiktilna]rhyincnkvnnqejsoxp
eehvafmuwihwbizcao[vnktgdjhjeatxeshjh]taoisnoyefbphntft[pfzlfnftyvfkkmau]gxmhcurnvyqxgffll
ytdqzmfcxjezgvr[yttnwhebnitzkmpvg]gnxpxseopkiwdwq
tiygnypqepfcbcqasq[qoiylamohtllezrd]hieijornlrltkvvf
gcolxjnzzqtozkqlo[gwiytfqkewszkddc]mervsuxdbxtqkclwli[zamcpapgayrobsrnros]skfbjychckenvdnk[msqqgpdtgzpbdsflgo]hswedrxeichgpbkt
aoyzbbkhsyzouhf[yuheesbhrurspvkoeoa]icwrvttxwvrjodooy[lclcdnulwihttoo]aheoekyzcrdbtnkdn
epqxzqeqfqquuvaxut[rvniqevejzxwbgdj]mdozdllbtyxiessvou[ftmdtfmxjktmdjrp]rbdfhuqvdzpiyaw
fvfozofyprhtptnvfvv[cvjusvxzqhknsrfuw]wwjlogceospgxpoq
lboiooritgdlzti[dcvmycwryuiwrxuf]rgsvwmbouwqweusdsrb[ncalmljnmldxtgjyn]digztuhetumfrmzwg[jxhgzioinwtdfvsczf]ormtzakkenigohbn
jjgkkenzhjxreujjury[oqbhgbvyvybhznj]lzzpsybrpvmfxftasjv[fajchcbbxzyjzdmzju]jbyovxsryhenhqd
kimqpwhmrecjichuf[biclfkhxsptyasun]cykzrmdsfvyszfldtxb[foamaxeacbbfukrav]kpdkasbbrjuqndsjf
ixiemjwdwfauydlzrf[ehczcannzlhrpuu]zgmsdfleegepchlbml[pxixfrfqusymnyad]wynixqpqilkigha[ujtjksmgswjsqlt]uabmyxgfqtqxbtggvoh
vvxrjenkffmjasf[zxizrnxsywrjpbsy]danlwskfpxmwozazt
hdbwqsphlabkzxxhrgo[erldraphnhaevid]ynkxoezwjpygvftw
eynyhfzlfnvsrguftv[olhsgnhicqlhqcopiai]azubeqximmxxruopbcv
ixkfvfumxiagjybsn[frwibevmaiibyzd]qzqfzepjziatdpyqmr[onsezbgebekxybzzqzw]yqotbtwhsuxraexdfes[sqyxxukeslhogqaftl]kpqsxbeawasfnbwm
fbotlkdfsscgahhtbvr[qzlujuyglqbktek]fitzbfribrvygprgssx[ytfthkzieycghddhs]twelmrjujaidadamq
nuxgihsikrkmrydy[awvlrjbdobngseyw]owlsggrmwypppcnkmws[ipqmpwdvbohtnbs]nutezdkbigrjnveau
ftxpxuuvsdipzjvmy[zfrkyfvducmhwzfdxj]ycyrhdiyszpbldrqyqp[pdhfnaicafoldftflv]rskyllsuaaxidlokgxz
gqnlikldqbizpsceti[skfmnlrtbwyqrwpi]ubwivkayvgbhnixj[kmlxwcfmudgamallj]tfwinixbevrrgzozw[iufudfqiwsyjcyqrs]ujixfobkouvxhmvcql
iddngjedxnwlbcxhkw[yqwiebcdacegykn]saybhmmqxdoxrrzced[bqjiuuqpbxczshymt]qagtwkbyyslughgsxrd[wjjqtpphygirijzcnun]lvwqqctdkjvaatovttj
qzarsgfojoaqkzb[jiuvvyihogymomqddqs]ekacrjmxsudjuvjd[dkfjwxmpbviqeuiotlu]tpmzbyfqhelgtpic[xcankncgcyaixxcuaj]jsieyimscyfvaeduf
epqisdvjvcpyxcwxuu[hhdspwfhkosxunncv]iibgrkioklsoktfp[kjvjytinytggjurws]oekjstnakyoohller
yidewjsqwykhvakby[ewhvuvpzmeexvwtd]mygypbsbaabkccvslri[dgaksoqgxghazflkn]kpdssbszxhpltdxht
ijhcdyyvjscrvhh[fpobanqwzccnyev]vtvztxptbegfabvm
fcicsnaoileyhlta[ivnthhpicibzhtyfaf]agaffazyjidivabel[zprfefitivfahmsx]jxfvpjrbftgokdclnw[vfmlrayxecyduau]dkuaarmbkuqqjuva
wjhhegqxpegrypjlpvr[orhbboezmjncmclamy]pckznmicczddarise
ccxnbhlsqrtqcbrczci[zwbnllwffvdsmmd]wdcyuartrmykqbvmlc
shpzokvkrrpypaohp[cdbxbviwegleqizw]dcilynllhnasdzaku[brkdsnedgdlzlhxzlzg]ygvficcbzjonmzh
vzdkvwtqbqsgxenb[dfrsswrrxxxlpxpgp]lheiqkpbahpgjtvax[lbfhfdztehvveioipoj]xkpbfwdxvkcndrbfgya[qvewltgemzljlokhjxi]bufpvhmvhrndnkmjsjr
mynfnfbjlwljwoqbenl[wnuganfnmpqrgcdxvn]kpcfvfegyibrhoeouiv[tmquruuijoivdluhc]lnspgmbphvhxlcw[slrraibkhqkaupb]vxwczoqsrepmgzz
eaeovlebqlahuiztd[dngzrklmortvzksk]atunvakfxeqeymw[huaccbfdtygotzubrj]poeblqeqsdqpcbqd
gzbgdqlebuwepvx[qpajreszsyyluwi]hymkhgxqpabniqzells[zediljwkqfpvblioz]zguladbcmloyugl
cvkyjumasouhugvvz[dtidgtxbbufhwyvob]pdmhzqubmdreglyy
tcxjcacxysuimczi[uhflafmjntxmsaf]uexrhinqroupcbksrsj[nocrykejeuzzigkyqxx]crwdvpjofxynwft[fmxkcqrsrpdfxscabs]crbnlnzoihruuilu
notkmxwmhfptgfpvntf[ucdfxyikwxtsumebhj]kjhhkgtruhuqzsl[nyiklbrbfvreipanby]flesvbofrdsclfvm[zghcpgxoauylwmlzfl]vwotzewzjzpyccl
pjrbmasdillqwdkjfni[lalstrvjalnttmwr]xbezkjpklkrnlpzjjn[wbpwhbukoixcfsqnu]xknhkqjktuybkfnz
ykvyxzavfcirelraq[itraxkxjwslzkxkigcm]ndbwcybrgayecrpjao
jqwujyllrskoetkbz[akunxyvvaxrysiygb]ynqqotupdoqbfwncn[yyszfaxjmgqmwxrvdx]zeacfwrreohtnzvobhj
fsfgewroujqwaek[mryrrkeqgtpibzn]vlmavzfvsadxbdiph[tdlovgncglhaoqafic]ziupjyryletstrull
fosmjgkqrqvjjigrtf[ejrefcyognxkuvlwl]bzhpufedodqwsztzng[rgxidklqahcldewgfrl]eodokojqopkrrhfpmmf[yqwaeuztmjkelpwlj]zijgacsyrbtwkxh
cehnutkhbzhfouyk[pdiacmcgcdpmsvgvkmp]uaslakppkycqbzn[ldbaomdftjcnpasl]fgdrrrzumavxzlojm[iyknsyaoypsbqicx]ggtbqnjftvmqkmiu
nmezigjskmagkzcsyhb[rfrggycsxoxxnxrhyb]zjlrnpgxzgljzfw[ztdnrdocidkgbqmmqa]hnuqryossbzlfaivij[dkaufcpwgzsxztpqsk]tzkdznvnizjtbrnqosj
zcdfhyoyrbwonet[otdhxcbmwxzgoyoo]kbkvqasgmhmuynqth
wajbfmurouvueehl[dvyueqwzbqcpdvbjfr]vkujmhhlqbdaqcsvomz[wlekuxdiumhnwms]yzgtuwxfirpmllcek[tzipbxbzpxcvzxzmtr]tynktoelqfhedvavge
hueffzriwkhilam[zheswsymmryugjawlxy]rptwswnecdpsdjujnt[rjyipvpqzbnvtugvi]xkicvyasotmrxvqj
rqbhugeaozfjbqm[blpvbvcvrytbekhjfo]twsrzdeuojhqpaa
fymuqqbklufqakg[wfsqzzrvdqcubxbdr]yzvdgnwitopzvtha[vhrdzzbmubhgovut]tfkcybfbdsxbxaxnmm[ruvfmuciecbfoxbummm]ysaeetmynjhyegk
koqhuxoxhzmsycbr[vbpklymhqueodieomz]jmstuovitaskfbay[mpccjuzuqwkhvnzlbl]jvdqgfkbyzaaeaxjfcl
sbryyigqipvwczxty[ypjxmlzyfjkfqxyxibv]ktqvnmbdtykqyiu
vivvjcfrqdbkyopqjdd[wkpuxloudonlcsutb]wpcbavtlbxcojarsj[wxihbnghmpfppwqlykz]dpyadzmpvgwtjoiz[jgagjiqugqvjnehajcv]tvrrkzjwwxaswbaz
tkpkdqijrxmpddkkau[yljmixrzauogowt]yngihfgazktusprrt[ggqtnksekzzypkpud]rxvvuhfakfcxjieaa[spuvyobjexcgobltmk]radfcjxnsgsntezrerl
hywcvnclwvvcmkdk[teiryduhljxirhrjbt]brkfilaybgtdkdh[zjqmovlmzogwvfmmi]czmtshoirukgjgeug
sdbxirgqauygushqq[itvwniqwuzmpzqbuug]dnrxseaisdgklwodsgq[euqpdyvpyncxocy]ggchswamymfpxaiap
nzteyxnakzfebtcszx[uctynyhtavkzfcudvke]uasdfpeleelxacxq[kyqsinbcwbvlrmr]zelddmnaqlkhmbsw
ttzhosgzkuxfwsy[carsvskefzrusoihqw]qiuobbcgndqqukuvbmp
wihzjoazedelgsojb[ftgarhsuahimrocy]umttbzcrvgzroprh
itojzylgycblvbao[xgmeltpmzvzvyfnso]kuohqnawebyjdrerwty[oslthgekjbgpsnkyk]jifnogopgpnkfdrwi
nvyowfknauliiht[tskhxdgvaggvgsbk]blgylrovweecglu
hvzpbfqqlwjennnj[vnmqrqlfiqeqdmg]hfofuvqicttlcxka[ievkgdwazpamrdzz]aoofvzixtqamcvhbh
yuxckarjmwgyvqjl[nvlegkojdyybpty]hvkrieawbpkcjit[tewpyncidhvdtomjq]dtgggmzwogtyoxrepi
jobfkxxyhcfvetxwuc[nreuagzglpniuwkvui]seztmibtqvrdepqyt[skrxasyhbotymilzgzr]jnhqwvcpirmpnltnyn
hoqhdburqwecnzksmd[gnegphjoyuvflxlujbs]zhuvrcztcfgorbwuc[pjxxfqyqmnhyopaeh]ewbvxrexhvdawazw[kbngpgqwtgkzuwupwj]kmatbuqigzqrzmbq
ltjrhusfbjbciixg[swlhqxnykjxumuifqdd]romkzpszqgaflgbjpsp[lbaqcvazaucueltnp]wovkfmiuwjdqxovf[vuundonjprqrxakp]wxeulnkckdufqjy
xkdmgtutsfumpzteeh[yvkilakqbawvedm]dwwaexrzzsyjpzsn[pxitznlnnvnjyrs]kcnhpbkzicorrgncowu[ogyvmiykolbwdtv]vjaksxdrtpuuyykihe
eyzjheolvkemumxpo[ipwxnrhyldvgewl]zbrzwobnthndxxvthe[gkfleabqwkpjxbtdlt]wywjazwwxwmuqkpwj[omgsyntzcnhjvsu]asknyjsgbofzyfte
kxxpalmmgdqwahfxs[zwafxcjjypzibafhrag]qfnbakvxozjqgbnnizp[bqhtnoqzctknrmmh]zvmyctoitshakgx[dzatbhonulhknbio]eufzjykwmqoignzm
beenkdmzqibirws[majntndkzawkbfpi]biygjiawnioazizbt[yonbljzgueyiuirtv]umjmhspfocrpobmrfu[dwegjekvrmgoaqc]dorpbifeqhmtglavx
sstlfeielfmztngzpbl[alzfrbyqiqangbkwi]qcomrirvulgipuk[mdvsghpkpisxplgit]aykwuhadobubmrdtvvj[pqdycsmawculwsz]oemcgayshwppgbwanxk
qwhfnqzudzysqxwebj[nhsrdvugubbtuuseux]etcjsefcsjblcjgshh
cgagbjtoxvwwqonb[crbqhpfajsdwtudybm]dquyiuqtarcupaeujhk
qjsqqlgdczcqarhftri[rchwsuodsdofjpd]mrpwnlqgetejijnwnr[lwusdojqkioapaxwc]ioumfyxtwspuyztz[dgncyjfldlapoasebgz]raelsaeajwuhnabrgw
tihnitxxkxjvudnrj[neqbqspcfnldrna]qkkcggwjgejtbmggemx[ffhkzdeopnhrdfpbrfn]rucxwfyfiavskfahg
zralvoiqdvpvjkkf[ttvdslqoxnlvnyyskq]joucwcxixdqsagu[tulodbmorpbjnzz]qkknyrgruwgrgupgb
fgfaohmvjameqyl[riumppkgphbaziwbfcn]gspevtjsfjazlolblh[sueqarjummrmwdgzsr]szmltztnwpqshlr
lgcudszwvsooaxhuz[wpnexmkikdsfquxleu]icefstmmxwsrzqoiki
elrybwwbktbemldjqeu[moigtqyrbfwcdtjkm]cfquoomooaqrsuomty
rihnsvwngkabincos[hrafbjoluwrkoaqb]genyvelnsrwqpljgdf[ytnarqybnwaeawssx]bdhppadoofmwwbcbl[acnqxbqukongbge]tptnvsrcborwgumweyb
sesxnxaikeytqds[groytsrabjvakklwp]jzexhtzpseseauk[sdndnglavrmhzyjdh]mpsxlaxqnazayppc
ozkfwwrdoftbpnqwa[mvzpilxwrdeszungggo]fbjxevczxrypzzegxmv[zvzaovlhirczrlwnvk]yulsjotokxaurjibuk[hygvqlsqfygujup]ijtuoskhnrvxmmnety
ssoavardlqlejqfndz[emljlpogavcsyvavr]izdkqsihedwjaxva
wixidnoyhmsiuzwbm[jgqpnkzbobknrufgif]yaarbsalkqgscyv
hgcggfqnkhbjlhhipc[cgcrrzyspqlllhee]czfvtkjhfgnrwwua
ggnsczivqxwhungxmb[foslhzlzqyhcwepvhga]qgqnwrpvfjilhnttbv[uhuhvuqwbxsjxqbmqfs]pvwkiufdudmyabq[ffqrrfjgkmegfls]pvuflwvnbnllckrmdas
llelndaczjibswzoaen[dzvunuujhpmgqdyond]slkfwoyxpgohhelexsl[hvtucjohyvbuihbonup]mwatlwbwxntozpiymy
epjldiafxyinaljee[zfgytlqlzoaauszrn]gvyukiahumemeqnsy
vldhkwyfpfssriaiwe[yuluhcsjdkyumyhnd]wggzcfalpkmnsudzr[qisyeltbpzmkvqr]kmbnsrdjgspckgmwfj
qkxpyonwbsteomlyhxz[wdkzqjywdsbiccr]ojkvswlubvbbskvnbdw[ejvtytntukhcuuad]hspfdjitkfetytyb[hlgziyjqrulvyaoco]rfhwusvjmkzkpmjvrm
lnmjprwzvaboyyobux[lncninvpqfpuaswssjs]vodhkkndlvixtbsdfph[gdufsyhihlynxuluvx]oyczgnpmusuvligf[jqtdbytmuyavcyfaia]mcdloputyodiezffqpd
awulgpuvbkountidkgx[rzatlqccygoyamniyaw]zmkfnkaiuzjgdsxd[dornnqierejrlxbitfn]qyhlxykziurpdxpz[fjaesxiowwxjvoxzq]oujzxyreqtbosriwkl
hcycycsytqzpijy[pptcwgiggnlhewdwfa]aqrsokplrsmbzzovz
szlezpesytqglub[hlmouktdjtcglvvb]wgcrjqyvabgnnirxs[cafdqrjgmugvsjarx]uomjcavfgggsyknjge[syhraisenfpvlekk]voyezwktjlqoirx
ltjosfxwsqmgdrnpyav[revxajvfbpuqqscgxb]pnjpsoikmxwrpbk[frqghuqvbomoddukohb]egfbhndnpnlxjhyv
ydyzmmgkrvbycjgeheq[xmrcsrshrtogjfez]vberqebkqhindvsj
usczwnycqbxdrcfr[papmzhuxspnfexyr]pwsybmexcdgfztkc[jmiatnbqkxmarkaeer]whejsdpzzxkdxgwm
vfiswfowhnwcuusmd[dhhjzfujepawktlh]quzyrwoerrtncnnxup[ekhrriqhoudhiwiju]exzcmnyrtbnxlchf
fmobpaevmkephhfuu[pjbpnzxkqpvoafxj]ickqqwfifesukyx[uzfultsftvuzbipz]jgvjewotmlkzqhvvc[fhfgcekzgmgxosyuac]gwbmgqtvkhyqidnehhy
zbwadipvxkyqwsaassl[wcojcviexybrfhdfc]euliyskdckqzozfnlpn[fsvqspcvigzxlzya]vzabwryzpqlmvns
wavahkemgrtwnvbocse[hnzvxqcxzisfehcy]mqvssniqlwekgowu[cusnrkcbwuichekh]cfvncmjjykeaufknu
wvtptjerlrfvtbywes[ciopqzpfjdoclfyxxqy]sleyhkequxorssls[weyxuuiigtkjsmnugij]onxiowvkwaaycpv
csanwgypabdqhiinan[gujzhrxowlgejtk]mkczaemurigewvqw[lsqtuuxcsuphogl]acfqrkiewfykgnx
ennvxqkaqdppzmj[litdmoukvydtepvji]hfuqcwyuufmxcxy[bilbdvnquchtcjquymu]yjndoqqpyzrjudd
vhkrlicuffddtktngy[opctcwvtlypwglpaoi]iscxtzlmlkjdgty[xadnwdasnszzmwwid]uijlqxpfgkkcmwga[ykqorpoxpbjkepibk]dmuojdumobwfmkvqg
wgcihfnjvadtczgqbj[psdtqjwifivgbhp]ocykhmjfvbppiltqpvv[ermpbuyieexqujuiji]vjioxemsjslsdxso[bmsocpaehaeadsaqzbm]hqlzlnedzwgbxbcacf
reesvrozyerxeid[ymtiurpepvrvnkf]thobixnwiqrdkih[uipdwllkuudcydjinew]lzpxeltetaixzfjxvf[ewlhchkdiewigxy]wfeiqnngnifjzbpikb
rxgukabwlgxzaxjxch[ljrblzdmvcwcxdoomq]ksidvuwcwvwlvrpe[yrnyjokakcbwdxh]nertnqwigrzbtdmj[gxbsdsdmishqjeswt]dsgnhlagonywspbr
jjdfvvurvfljscocvr[ueywpzuumfihiocoe]lmcrxdlkqsouhpimc
qgelmqtmcfsdugg[jpbrzcblivebxazpamj]jpkxrusyqkjnndao[nqcxhhmkpfgrcwhsoyr]wvigixehqklwvrscmz[xutrclaofzczcvfnxll]xsyxrvfnovmohxfbt
aqhrsqbyxtxhsvmnz[pfpclhprjghikyngp]krgiznxuehpzeiy
trqnrkulbvipvmj[mgsdnaqnayymjyp]otecdnzhhcufrly
illmnsgqusbqybiso[fxddafnnoholnqjotb]uplvjosscbyhwmw[jsedsarqbralzbjmyq]sdwkyeychcdpqvfup
zehmutjhkodiqpi[usuretqrbmggvlvr]dewkdjmtingkzuyq[pmmbbozcvplhejh]jzasjfqvsusgnkfegad
ljpcpqtpcpcdttjo[qbmnhadshlheoavsbxi]wnwuahdcagpellgs
ayqxaqtrqzbxyhu[wkplzaetynfxqzhtkco]jpgbztbvmojlflc[ojmgjvfxdvlyzih]levvkelkzftbzwzkow[fmszxqchzjhxtwfm]vihmoqcosarkzsad
nigshquyfjlleujdtw[qmiqiabzqiqafambcv]ywbltgpjxcwlkyahg
vmgyovkavazsxwed[anpflkjsqieufhscn]uizulvgasvsstuhfn[ygxgsfldybdnsleqy]tztuatotreocsrfevpy[yxqmsidajmknyrae]whoydkufyieuqhmqv
jyhhfbftixtntuozgfl[ffrzhxpaezbspndbo]sbwvaoziercfpmeo[tzeluvflupgartnyjes]gqfmzvmpieczbjdsr[zeenwxfhhxbdgjkr]ojqxbcxciclzwthvqyv
olhruodhjmaicslbgw[upvujuuazyolckot]gcwfjukdneuxqreeg[tnnnlficumlgwkdsxus]pxrxdntakudobpo
vdowqzktnmpimsvok[gggjvxecgicglrkuvfb]xtsuhbzqpovnoqhnbs
hxvziijhffbzjnjvgoc[sealjvjgnjnkzac]neuhdwcgtjcvpku
qryaqhtnjvickffebwj[hcgzffksmwbqqdm]zrwihiolnfuqzqpkxn
egbqexgeqnqsaxdi[xghkrttlbmkxgfj]rpulxldvweijplm[dldqxbqxenksncnwhxo]steqcncxfskqcfwfnbm
dhusxmzjdacdrqor[tzblogyadgggzbi]vssexeogwduosdoeo[xexqnjrctzlbkfri]dqppelyoecnnacs
tkrkjtgdhxdcyapamp[gvyyiztulksqxosp]voudpakpaphmrlebpj[vghkfcrqexfgoguvbxv]yronkwfpvrwilnuegkb
yiuhvglusvqtzvngzuc[mfvcrgjuywuthtprxe]vjrrmtbyppmesvorp[ucqdvtwolrvpjyhiolf]eazedskopeknjcqx
segabhonjryukdicj[zvjqilxyvwjnjgjvrnf]gxibvkxslgkpfdhsn[tlbwwiypungvwcvwngx]hhgglxqosunhdvgr[mrjgltlfxwsznpnmdox]bqsgftffsibfruyz
hrtiuksavtjzekgf[vaagjkvweeznlshs]ntotbakgpxpcmqanhab[pqvkabybndisouur]cnjoxldhauoppnqqk
yizxcouxlbjqbijqmj[kkqvlcusdkmkbmuia]pidiunjwlkapojzzmf
dfzinzasgtnjdbdh[wyguangjweruyqm]jfpqpyqydvbdtgqpqt[eryvzkaxiahxekwbp]sywpjhgufixvhljk
jkmabkiiltlvopaxec[utofhywhxjucodwke]dwxatuzwebnyulyt[iajptbioysozunsws]nmfnmtguoqipjmigsyn
yxletutyrgisbrm[ljtuifjmgxupgerhuhb]wpqnfedngiollocqbfh
zszqqoahkvdvpezddea[defewzqptytvhnpzcdu]cxuavzeyqysdynnr[gvmfnqnjwrjrjzphei]pelrqmmykeiamnh[jrjqavultdjecnghoc]ekxawogufyfdmltveqf
morsvbgrpgqiqeplgg[giswwkjoxkgkbonav]lyhrrcwskwjjflawgs[ogjazoccoomohhalb]gjnkzumbxtojtud
gtgotbovcctgtwwc[owthnyvlmcwnctlkilj]eytxalpmzywmwqc
ikznlwbayqdbhusm[iqstwodfolztyldh]amvvpwqwlswcnut
kumjpojktwxazwtg[idtisckrbetbaye]mgqtwjxlbdpadrnxg[eourfrbwgoeoqrlvhv]gegegzbxfyzpbij
mxcepmkacvzxddcpnsf[jviddcgbglreegewbj]qmqdhescnuuswkhpvxn
ltsouowwsvovkbie[huwwuaptbopxsixrb]skscogxrektbbmuwqu[niaczcnnxkymnnuu]sfczdkldegoynqw[mrjssleiutncang]jkfgyuzcaisvrjekiwe
mfqowsxqmywlvauv[fziifhafjuiwdizvm]gmaxzryznwavsaxsv
okmehkbnqsegqinj[dxddmmglnqftiunfuea]todmrlalqdfqfkbq[vrktligspzyclnfz]jwdvkpuvhpwffrnyxw
mybozskxkccdsuuptc[mrlkqwbdhhktuxpzjxi]xrujoxxkxwqcthydsw
jupphmpmynzxsfkr[xhvcemrobysjizesgs]ijjlrwbpchbbiblvr
vpabzrcqfzsejjgln[segfzwfyprsfqskhop]gksthicdjyagobs
tuhzaznrumhuwud[szqusyzaykegklbcdoo]prwjxzrwyrgcouehrg
dfvbjgrshvnvfumqxh[tgnhpzveumwngrnoc]qpntyvcxxoofgsk[jibdpycgwklugip]mgkzhcifwyzxsbuwj
mbdpghflpcondfk[ftzfdsbexmnznqqmfaa]xznzgqjdfkmjzvwni
ojjaanxihagtezp[pxqpdgygyklexhrpc]lapqmhronwsmwbbf[rzuhtemugsniacn]apixdvsnjpsplmjwvn[iwdpiqgoztjamenyyw]zjyidlwjbvevovgf
pijmbdkeyhcjzuwclu[onazufaoibbwzepmbr]jhjaqudvrdoqcvobs[lrwjikvojmgdtkwb]gfxgoeihxughdfbetm[yjhxesdcdudwszwv]hgfdxuejwfuedpdu
hvdutkvozvxwpvx[beubpipzuwaclrev]lqeylkxqdqmcdqd[oivjrkpjzrjywzrxely]dcupjtbrltnguho
esrepqjymnodspvjib[kwdoleplnoxmntjuip]lvrhqceegktadibgh[yfbqpomfldnbpxsaoan]cheitjzmqwdbilm
oakpwuuoizfcsfo[csxawuixxvzzooah]dafrurtufjpuetnui
jmmekugaastsvdn[qoasgnykbkodsgt]lmfvbqomdghvicry
hqznrdvlwnamiushnou[iufqiqjtaiejfqwns]xsgjmqqsvbctpwqcgz[mvpdchozogazbfywqd]iqimztlwajwbxhr
gkeetoqftvsdjhhghre[nspwxohslbgkpyyhdh]glknqkzyfmvjczau[zrzurqfppidpckhmxu]rtawnnjhyjnbvnt[deisyafkjnxtcjas]cshchafpoiqptus
jpkjyjiucudsgjz[mppiltmurhwxvmv]sdhrapccelecuctxq[cnwlmuvyistotoykn]hjzxzneifkwmvumg
uvzuxzcnipyfyuesvna[ckplomuathpfkndodxk]vrqhbliixmzbefuh
ionmypunjczxhry[bvgmqzohimrjmijzkwz]qfzsokgukugmeso[uarvxrewouktpgnghtq]rsnccdtstsegeoudngq[hkvkymbbgdyncilyf]zteoiyacrtwykwzbxy
jnyydhrsrkeujfvj[qmxzqkbwizhvcztzdqr]yllidgevuektldszzjy
nuylrchiwpfvhdumyet[hfgfzmeldvotgtxqh]frzcopyhigfewcnb
sdcvojpgatiidjvfy[zhvymqejqxllelyux]ektbysjcypxfjrsor[kgfvqbereoskymyfp]izmdymjhwwtelesjr
xnelfgdpnrfhdombqq[oiidietkplqnygwsgo]jiltmfqqavrjrvyui
zyuubhwaovcbnaxrmtv[yefoksxqkrkbmbm]ainfhyuonvdvcyegy[nntnxqkqdqattwt]tcrtyqjhokntxcb
hxkbhdfwcraxhdcff[umxxccphsddzavdqn]zsmmtgneghqsrwfauw
kbdughqnourxomuiab[xcjayouykostteh]enwbjtpxpyzaeuhuwb
cpmzhwxdntahvhl[diddnwirsnqchwr]etsizyoarkawzrpfidi
xrruvcmbmigmutacwc[owhorlqlgqujvhos]iddgaukpxlielcko[gawcwcvuviuohmda]bfdceclnseehdeyxv
vlxaputciirctva[qgmwpinixdixaiut]kkoousbfcxganzcffg[cikwetvrztjgefpzsks]jrsyfxydznmupwapco[ooydsykpjwakdep]krlytknowykzzqaafou
dnnvcszortmitfv[sbnurvnwxwmvbdpawa]ewayhapxdfxplpqudro
fsiehjchtnyenvmjfw[obnlguwjqsgylwveak]hupypbuggmbkeqxt[ljxbmifxgorvriaj]tkttmzairwztsmn
pnhgjwzyqnjrkkw[ofyifgmztnzelptkwho]cgnlnrfdgfgjvztpz[wemrlhyskboycpdbzr]azikmfaudvrdhvfvt[chxmcbgineaycjiwy]kjbfttnqgqhkefoolo
khdlanelfapgxqpspe[alrgipfwfdyguqtk]coxffjtxpbqmxig
sxobbewirkvducqxd[ubfbqjccnbtkwpbxqpg]hgsswdjiudnvmvijt
jzbqaqfubdsfinobsdu[rojkizavtvueepedxw]lcsyjeoyieqjcim[nszibgczunpslecxo]louacmgeotayemh[zvpjwwpeyjjdhjc]jidkptxmhccryujojap
rrofkfoljuossrced[ymvijcmdvrzhcyh]zegkwrmeneexpcnrh
eniwjwjnmgyzescoz[semlscmtbagknxpbvte]ysqfgrshborwtgnwtr[bossxfqcyadppdflbr]pyiuttfsuegwjwcxzr[yaymomeitxwdfvsr]elhifdegwfstqyniqta
xauanaojjnhdgcpuwwj[ccitjseyrwjqvaljv]ebbwxnquaqlhgqjsgwc[jybietxintbtpzncpw]wfkwxwffzxwqucjhyvs
ipmxdranyxbmwlo[ueimjvadwbdjithwn]ifmvlcsneopyffsums[ejornegszbqxtosc]iucimozjnkqkeysden[vvtdfnvjnzqbxujml]klrpisgrmdbrqbupc
evolkocwyejqtcazj[dzleqjleocyexjivik]zmvqrxiqhsjtoezm[sskndhlmxrucdyqvop]murrraduofedtltbtg[kuzqpodvwnewwqdil]otvalnjnbexltsbitwi
ppqnetrairzkzlt[hyydyimhgzayzgnxqn]lwubwuvowsyovjjfgp[xbzmifaqcmpyuev]wtgcnccsysrfvbtb
jpecpgdrvunkjfrp[eevsiosfybfgdgalp]veprfliqlxmoctjx[bcfelthvqqxthqwpuoz]beufleuquitnnsti[aslupsydyktxgqsolq]gctlsoauflrjprdn
yekfawwakhkqvpqf[cvenkdpepuyimstwmnz]fphlenyhtsxxeyst[yohciybbsiokzajcwlz]vtqcjngqpamsvrchix
ougrpfmoohiymnx[gorlgyciageugmcbony]ozmvirifntorlvzz[klsgbagukrnbyzsez]rdzhlkpoucggkcdqm
gfhrcutoyproiww[nzgfaaccfrgdbcg]fcrtnobfhhyzmadxjv[vlbueztcxkkbufljse]gqpnxtlrrhclwuaj[sstrllihglystknh]alxmlywxfjwnynbwfk
opeacxklhjwcefmwrwg[mzqwxyfltfqyepcgnym]cpziqpjettzcnktrqi[mbnwwhyxebbececc]tdkduejetkrqwoxrsoq[ncenzwgjnekbobv]yxhgzizqxwaihedda
svatyxdgfofrrkiksjf[mxmrficzxfyykqekorr]qojleucutcqxqryi
prrhfrigzcmemou[zkhokevqzcspzoyt]tytqcpuucppiwio[mogedxwsflwocpkdh]kkqnructlslbaked[sslztcwiwkudgtji]djssvabrpmygljeh
btundrdlcsgtilltpue[jiunnaqqzfgxauqjes]wtdxsfqroorcghqk[qvyzuidvkzmomfi]cgckuokezrtxrgdlo
tjcpdjzfllhwugiy[vxypwowarlatqjlwq]wnpwefpgpfcqqwwrsq
zfduowqkrccccgggmbl[iwwfgrhmjxgljwqf]cminvjjyetivkvhvkdy[ismlcjjywxxvaehvhhm]eojlvocbfkftjkapzs
hzkrcmpwhfnbwlisg[wxwoegwncugpcfwywxe]voktthitecybcfpnz
dcsrtgkbstmkwlzy[pcnwmgmcmpsiyizqx]pzjcivraubvgbkdahk[yydvhvyumdzfmjuso]bfljbkwodikjenu[toxagxhnvgkwcivpcuc]sanysdrigussqum
lpcxkqrspacyzrqhbhr[vdcbkamwyjnxpgjpm]afxbzzxzrtaacbypq[ftbpiplrdrreqesthw]tidlvfojrlctjkfel[iibzklhicpqjvzrnza]bmekkyjigxxtegqbait
duchvjohwoouxgmmxds[qscgkenygikbdrsqc]iovrgoggtgiebylbu[iqqrytrhujzcywwq]ybgfnnhqwfpfios[dryqypecmskrqux]klqhpvydovzggsqo
gwgojmuthbgcalzvdxh[njicnwbqdckxtyxkj]rwyptcssdkdqthiydea
yokzqvwcycvjgouoyw[starlvyjnijeacjseo]iehvlergdbswibmzci[ppmriizuqubzfehcz]jartjkmqzngigjvl[izpxafhxdmckrcuufu]pvkldotwdzdluoubpnm
rogyxrgfqivkovtna[xtahrogngfeygkasq]kpcpvtirxettedux[cdlnciogkcsaras]bupwazalrmfnjufn
eaeubxmpmymzrfleut[eharpivgddyokps]wimaximeayrixnts[paysmyvjuzpjjqr]fcqykmkzbcbyrpy
exvlqvnfmpkxfjwbhol[utjaefsandulqaw]xjrjchxifscadbld[ifrckhdhmptybkhrj]ykcqgygngiwzzyfnxg[plfhikkzndknbpdeeu]siwtfnlbcxuqkrhwj
ljihefaqagbmffbcr[ccmafzhpsvluglwsgh]jioaeefkgujinzlgn
rgysyaquiuyvtojxnaj[gcygzkwqdebiqsr]icaeuutjodsizqzfvj[qapmsqsaoniuinsz]ppgtfxsblzgtqtaiiey[xlkzyyvcgyhlmvnzrpr]htorgwwkbhasrsbvemq
coiurrjhxxkcplh[nkusmllwtsuddqasyc]vyxzujqohjyctyv
briulribegnliapcimw[rgawfayyoopbosvc]owgryasogyewgxchxgr
smseegsurmfktgmefhw[paopyayrwykwdvcjjhp]byayaatpurrllyzd
mvgbtjdigbhhywarz[pfrhqtizabthnqrvvw]azdztfkkfizbxsy[jozzjtzkscklmdt]ucnptpblgcgmkeojpl[nqsybfqdphdncqgigis]yecpixjgagdgkbz
zyuzikehgrfaztne[oaxgeczbaafnottqg]kuuggppqtgrncptm[tcfnyqvqcijfcfdljh]pwntuaixpqfvyoatk[mowgvynrpbvmqlpucq]vgopzmyigjbqlismti
ostutlkruoevsjr[qnvqsxlasjyrdyyz]klwvhuhmvgrlcdy[tycmevukacjlveu]mvxcfqojmrijbubfm[rbodtpwkkidfrnhayj]jsbgdcwbfdfflvupn
eaiframmiukbcixxi[bmqaglfamrqoswuhme]lxvkwmzgauwmabu[kxusdngtifhpmplxl]sfccogjqnblrahch
hcjmrcnzrhznwvtjby[lxmehjbnudevzmhx]ukfmdplzriyztnioty[lqjesrsxjozxcgfaknm]qifmjftfaswtrjblzf
xmhpeigrzvrgknc[drornrcakzujdrsbrvj]czapwkwkwwnkwks
sfdyqdpsfcxebamsf[vehdpjffaqhytqhhbi]urolmsuobvbecvcnv[toagfgryhwfgfwxmvs]btjwiwdrxnpzxlxdsdi
gnjmrczrqiryaodop[etlqbnstgjysesf]ggmbohbzrtfbapbjg
wwkqbdcmlkfwxwdu[firsfuftyxwxpcicu]cntzxuydyjkgkkfvdl
cvcsgxflnidiwtvy[hhzzbmygwugzsfnus]evzlovhsgqumejki[btikqitubnwzkhfyhh]xwxvlgyojlmkwljv
bzuxzgeuobcctajvva[lpqpidtuzmrrnnlgkqu]lhyxsevugkrdimm[umbmngadfcujqpqr]nizwephuepdykbgj[hfheiymxxfgyxyl]zlurubnhkwxdrwllatg
gkwahvrljkerohucrty[lgxqhorgrscmkjqcziq]otxkbzuzncbznvr
hpoehzfotnjpnhl[yrkyqbolznetbgxmy]fblwkhzfebmzavscyyl[lxvxgdkjvtoxjpu]oetusxkoxlpceierbt[faylwjcdxicxbqr]ledknznfnaiaovejww
xifdyajgrrrhakdqhg[qtzmwfjraqbrwstiibr]juciognmzyafmai[lgbmgoxqtjngqpqkwt]zzkhrunuborvoajlvul
ekecthrkwdbjhsy[klxbdnucasemwhlpjj]jbvenwrnvynlfyjybm[zgfxxurrduhtlmsbelf]lxuxlahnrqvjssffj[wzcpjiesgsbwbtnlrs]sofzsskbviyfvlo
jscqvqqdwvkvrqcb[vzfqbgopfnjcekjs]dmspregwlklxptp[lsxjobfksvzwshdre]yqfwrvjrykinzeon
rbtqjtepvufhwpjugj[vkdhjmfkeocnauedxp]vpoqmfpnmjdpcxw
ihhaztfuasflyghkndl[vseslcbeufhmrpyfqb]mtcgpfjhjeowjpqc[cabeopcrmhjhudob]fgeutfapismkdwqxmal[wldzeajldxlxpwfrb]rvyuojjnauuitoofgcm
ixrzwptyltfshve[xwlsfazypzeuauxpozt]nwfgkbpuxeauadrgbbm
vppgbcdybisarvokztx[yuykfmzxbgfwzdohup]vlkdreyqjihmdksxih[iysfrpczrirzbeirih]czkbhrqlrovfkmlu
iaatwbohmiosyiqfq[imajfecefyujhwg]aanaybxebrfpdfxxpgw
qgomsuglksqobwhaq[fzcrputgufyvnesoqwe]ipziztlrfmlaizts[pulgtrdydqegbymu]pxcyeozdofdghkmst
tlxidzqdeqchemiqdsm[hacfdsanbiffzhilct]jtclxgjapfmwhlkn[ieafoftblueqcped]lauckblqborgtjnj
upkkaykvxwvkgwgztzp[jmotfixnvoqrpwsci]wszntutpsjljzmwqpgp[dbnlosuwazvekoplb]bmobthbbmitprffl[qkjfwmsronqjmylzcre]yaulmyfoixmkgjs
zxxsmidmqxjigkbos[iwsufumylphrhyx]uqmpbcxmvhzuppxqopf[ykipifsdwkpzgmt]zzcwzmwugdzckey
ciakjtvtrkgrxvp[yhxuyhyxwytquzxujw]lrxibndatfiqyltehl[nnadhofokmcutiyc]vosxtisllkweiaapagg[vwniutthbrvmqrvik]aixaxvddxrdnmmt
mbjsskcvljlehsxc[cknzgxghehlmats]eqknrogpyfcmtfhso
lcbrfrsccsbhyhurc[mheohludmokwwjx]bezowkrdzwhssgbvydq[kiwqvuebvywyegmdyy]ioskcrvqcagocnnh[zgttakbraxpcsqsc]hmmqufyflbmjlcciqvn
ezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]yokricbfoocmehi[cffrwwrwhmilnyf]uaybztxphgccfuu
xnjslvbmmapiwwpq[qmuxemavopeoiwnebts]xmrajpgpgeojtabumm[tbjjrgipnfzjafi]hcuirvleolclticur
eltfnqblogwvtjgni[bjfxnnmgalahvpdtvku]eingohwswwabsbtb[nxsqsvleqobfpxlaxj]gfsbsvcbbnwtuktuw[wrgcswhmdtssvxobcu]wgsniklaxmadgnjd
kxpuygixzfwrwzpzsbw[uqxqvvupyvvajkcysh]scshpiffohigsgm
ovchugxbmthhhijq[fznmygfcqewzomfgbc]qczlousnoccgyrgs
imtfinjttxvhtcll[xiqmbmrcqdxlvuf]pybqlwqezwrkvikns[usjydesemedszquseso]fhcgyicfbdrmgcnk
aqnavkllyitzewgs[cbbqmbtgufuvcun]iugpkakfufksfitigk[lyqiierbjucxbvaux]szbwsttayzipkcdb
yetucqvgffnvnxqx[pvgczfwkehnfqxawz]vfxegwcevafevvzx[ukcwxvnvfnqvxhfa]bdciuylrvfkmxyi
yvachrqguvjhkrbe[rtlpuvvfdvmtqswiln]jcyqjdmtzndhrif
rphybwiwiszwkkxm[waiaqtuthjgfgag]ttlnqhzfagaregyo
unsmoewlzxuguuwu[dyqsnohyqcommmmov]jipyewobyjdzkgkgo[yphyanakgkgvybsx]pjtzynsvtltzzajc[iweuafprefmbuekk]rwelzzbkbqjwjrw
kluxazqhqmcrvldfv[dbxzgwsfmxettwmgj]rgvfmxibxzbajitnud[vtlbsgrkhnfpmvvkp]pdycyraaqooszqa[eyliotjigekmtov]eiopplzmedvdvmwt
mlozzkwmfcrdlvns[wsdduzxzfvlvldpjvgg]ywqncwocnslofij[sakivxaniergaouc]nzmhdlkxeiehdpuok[zfwtadjlizjcauurkq]vlvtdicnyhseqbeo
ssfmkfdeguuaqdbyqub[nbobgowoboytefejnz]fplpuipnficejfsuid
lljnuuistrsmsjazzy[vccsskujvdwxypuk]jhqjqhfatmuedugl[hufmsmgjutabctabusw]zcoiiovxkxtualjx[zdxdbmbibryrqaubxy]tyayojdxepcpmwi
zursgksbdkuzemouhl[sekbvoxwlmumyrdh]yxafewnovnxivyp[ajjditfeeocipuvdl]ygsuxuhtqervumd
suxzfxizhyzbovsz[dtamgkleqiesxemqkgl]vjuviztkxzchergyx[tvazaqnrstjbdts]wccoiceucunjiuus
gongygcedfxwncy[lxtpoagiqvgiryasha]elmaiygycycdtsclhpf
pkyqsmcicydbmdagw[ayulcaspxpbtnegeoou]welxvngiualigfefv[veqtcxgkgzveegxckee]djmbhovzjfexqaedywl[okzphpgdqtpicit]mistlyyaoyphetsxqxi
uwrxhstckbebnlw[yhflbfhsqhshieo]dvmzzqknrjcnwixhgk[upxuqrlwzvvsgpa]bmnfpjynunfbwunupiv[mbcmrpoxtbzcbijmmu]icdxewwtwcibjotjf
pscqchwjixrhpzprdla[nzfglspgwpsaiph]xtypkrtleiujsfmcso
llcxlfghzjvyhgill[vtqyiyrwujkovfctkk]arbtetvtixtnyavydg[ozxyyroceqktxhpv]maekylkkwdbgwgug
bzagcsgcadoffot[demvhzpdjthrniiuvj]nwwrkguuemsdtvspi[sququtlqggtpszucm]pqaqqxpssdgniycn[lkdwrbxkrkiqdxjc]bqngsdxlxxvxdvqww
wijjgkptnkbnzpqr[zylewxhygsxcrlyi]nanyoaosbxahyvdsett[kojrflwbltrombqxo]lfdpaptujhwfgrrnf[slsmmogpspgpuwnce]sihedfdnqnejevnw
nutyeltkszkulqpt[cpgdmqleitivdtr]veieyzmfjafragrcht[nzudyhtmpopacznkq]dmywgwmnrieiohcuf[ctbktcgxznhoqoxczzf]bqzffvqraxpjdcvt
akgmlcznqnhncjknbp[bwdbsrdxqqmaavngjc]cwyygvcrkagmmrciout[nkpzkdmflljxczogs]mqkafcpxslquyrudeui[clvbdgnkrjdpptqwq]cyygmkgtftxvsbbbfgc
fxlpnkdskynkosqpp[efnouhxslwitteqrtx]xjxojaxrbampbcknga[ugewjlmzbspxhtejamk]nrtflumsbbtkejw
vzrzmtwbxwfhyjvcmft[wrdvmieyzckycagwma]izyptswwlzgivtgyfd[jaujtzdzregakjk]cjdnelesxnhmgkqsgs[tjcsmxghgtmstejjhb]tzqsgoiospxadncn
okgjhnzaxrtektb[sleqpxoqckdrsiwi]jzthxxszazdahvhq[mgxzdqnfscpqdoykr]doyvhvnmbshvkcib[jtrsntjktunoxxn]rmejgievrkrxaziux
fodknkictemsxiicght[tdltamcatgnknki]hzdspvkbgipuvnb
xhhmaiussrmwaxcpoq[agyegtzmrcgdrqiiv]akuxocgoidnfmkffroz[lkkfnmgryejzyvjh]ozdzcbsfmllaiyclho[vseayejwmotjhccg]qfqchpalcnaweyo
imdrphyleudnvhc[lzqochrdcjotjojk]cwsqzuwoflalwatlsd[ctefovkyinrjchrwdav]cmnbuqveexpaxmhi
vckjhzrdtpyynzbdsad[ehjwlyfbffzszrx]aizjcopfbdgrrtei
vfkpxnrqufijmniu[wnwtwpmgtjonykmcsp]mhehavmuivmxhdelxa[spyybveheykroybw]bfzudojcjhzckbac
egipucceijeltfoz[jpyjfgsqdywwjillf]kltttxmvrepsures[asbzcnwdqvfkfkiqqs]usnadxpcdxpjnifm
svsbijigntdtxph[fabzbljmijzwvjlac]kieomhcpodzimrmqoc[xusohhfobyruazi]wxkjzzpskukqjirtjc[iwqdjijjucrslihqpo]faezwwmpfpxenvp
sbjgcnwomllqwavkviw[pxekvxjtjbgjuouft]puzjbrwmyzsxclgmqsb[vtpnaljnxkgwlryjo]lhqzwvnpkzsdndp
fyfyvifiocceoozl[dmjxamblfosaizav]smoyhjbuffpgqdl
tlbdacsdiavtwucvf[npepgjenhdkgfavbn]hvbffufjyehpsoa[xghicdcxptmipfxlz]lvducqyymcqkket
nuystaihvpelybkvch[rlqyflvholahkcxw]gicdfjzhwwocfejthx[jpeuakotyanntiw]sfsavxuyyulvuluyur[asngaxekprpfzsvxx]rliayxmjvsrnizh
axquvvjwulrntbzzf[fddxxjwbdaecbsderd]vjtqwpjlhbdhxjoh
cgeyfvgczhhwbdz[kgsqgnalsysssiyhqp]wqzhbjvykeuyjxgfzgg[mqkzclianfnifjdql]vbeyhsxsfmoeanpnipa[sxmzlhgrezqxsxzzcku]gwmgkijugjwtutmgj
nnjlbnnasmuhskqu[shbjjccjlumeuigoim]ndwzzmbtazttjpawtzl[cnkpifihvkmsallifij]ccpzfojfxszmytbd[jtcogseximfojmjm]bgdltwjrqciyqfifkh
pkdqnzhjzcttkackdba[mucwutymaybynvttts]nndhioamrjejmibag[fndcrctykpehoglop]rgxjwrpzlqapjsv
nccuyvrhzyszqnw[ogdgzsefffyfoenfh]jnqnhnyoyrcnrowjmpv[wmlihztaoyedgkg]vneeegnosrxphish[uwrmezbsmqbxjpx]jgfoinwzlhyixzjzv
kriqecrnaeujvuzw[lruowheuwnintaqqxcl]kcopdidcqinihhmk
vxkblgxcmztnphdzf[ysjhxgovujrpagndi]ezgjwgowcdkfcstfhr[hpxrabjwpymyaolp]itcthqpgksvedadl[stfrippovsfrwglisp]eodicmiszqhwnuymlgn
jznqrbdgjcokdqdlser[xemhfhnwbftgxgjukrf]mhcovplrxcsixrh[xyswalpqqvgsvmqvx]kjeuyxksnmydfkakhq[zcaydzhceioawvrlsm]wzezpqlhvwcgzjzigtn
vedqtirgwrgutas[eegbxmhgykfrwrwy]pzslegjrbmdmeub
lespviexybwomljka[dxvrexedlclnaurw]wzevexsobirvepgpmt[rseoofjlimvxwro]cyojbkugwdzjlxsqd
fsdyxosfmlqfwoqpy[mwypxaxulrbjsfi]ghywyebrmgjsrshgc[lggfwxlpovrwthxtlln]zmtqqhkwabuhvtnabwh
smsgvpvsfaxhocsyz[hgbjpapisxsillo]qsgxbvoijxlwhxpt
fyfpxellnptlqfxvdn[hpopfkwhgcbjoze]sopowsrtqgbpysjfz
qenbpbnrikfrnwpq[nmkndzwogcgtzhm]zhuslfffixielmjaqpb[dtmldnpqizrcbxixto]wpspaoprebgbksq
vhjgpbgdoeoljigkqde[aqojnqwgpiredyffb]vmlvnnohhbwzouwi[rldlmezoquqcodxghov]bhwnyaxsnyyihhgv[gjjezirrmfvkpvfayb]uaxxuikjcwppslge
fnwyhfrnoxxjpubwe[rflutoqwauqbztk]tmbmyhpncgpkzcqvv[dgksjzbgbuzlozns]psdmkqjzxdwvllstru
vnrsujzctbuqnbu[glgsyfmfeuoloohqp]ybhziayoqxsbopf[vtwnbpqxhgsfguztg]xhgvtoqwouusyahedc[zcchxnllferklyt]avgtwloloznygrb
rojtxmpwxsledhm[xibuxgovbxiejlegyc]xihwoxmzghhwlsthiou[ywkngtjxrhhozglwo]zfncywcurhmsfxxqjbt
vxoojfqikhnbnrh[trdtiatykaontxlv]xenfwokorxaeweoz[itbylohijtfjgdtmkvc]butficisomglwjzaa
wkofaduihyxhiyrvjs[deskgjgenvxxxupntfl]ralmugesymrxreommk
ozsnpcdvkykxguzltcp[caargzwxildtwswp]capkmhbfpfmdegigg[sigilgehfnfxlza]trtpmbccrrkpggioz
pfuhqwjjgyzbbea[yexwnbudioaikfsqlca]vaobiurftgeglgrzl[thjpurqfzaezqxfajme]seuekovcvvtdmlixf[mknpvkntvdftjhhhfgh]dlgqajapwlgdjnwybp
jbtzwsypehgrmzeg[gwskjuqbwedzxfcehr]xpkfcuejevonsinxs[upnrxgjqhohlyeyp]dsyhrudzqsibolxnvw
skjjsxxumbobzsckqk[sqlnqpubrayffzs]hseibigmtjtcgbav[khvlknemnqiekxy]fkzvtfscvoatsfqrd
dozlslrkuemgbykifp[bzvnluuiqdffwtf]tignkmwpnqrnmefaqm
ppxwcouehvqfwoenqo[rzmtyyvedmojatvvq]efcstfsjslpqdzvhb[tvmkwnuxestqxfockv]oqskydohbmayshfcihw[pfyulawxqbaiehqvmwi]wluhmctgrkjxqtlmp
uvqfjimhzqboivo[buuulgcbqgfsbup]wqnbktwxwslvceegi
muiuadioyfirjks[xviqxaavhdxjkkccmrx]weauetgyttscsfwv[rzgaefcngzklpjqzgeh]jtnbnuuvbnbjhdqn[idjpczmrbomwipkv]vbgcjfvyvnxhdsmycx
hmdflkjbenjynzdmeqj[ybyntwgyyptizunn]ctijqxbybwarmfzpit
khhocslzxicmlxk[xssahaneujvceofaiyh]swrjwipkknbnrrrig
dvjvkhnqyifqzse[myleyunwsupcnfagq]tmtuvqikqxzdskqcgxp[lblzunblboznidegkla]eaqhztxpgjuijohkdru
mqcasrzjqmhwbhbuyc[wkfahpqjhtwuiybqae]yzfcavhtmzofqww[goqblpzkmfxynuzm]bysjxjeocperndv[uwpxvnpxqhfnaalchm]lyfynynkovtmfsi
wnczxavmjnfgogv[oyjxcsvrrgtpkponga]gzhjlzgxxjkoklgm[hsrwppehbugkcap]zayfyoqorpxefqenxc[apojyrhryhfnmksa]uwnuxprqfxnkzkhnbji
iylrycmvbhpowmdvwy[oepptahrmhsoiskeoq]vtqctnyinxvrvlpl
iauhsxbjgxiebvfhbw[mnjywcztqiajiqxx]iikcygxzeprjwkoniqj[tqycczkvsvlsjetec]mwrnosvszjhmuoiyzxw[klgtgkaxohfaogm]fsxjsgwondgzpdrbbcl
bfqtwsviccqwndca[juqvrcznrlghmsiz]yttbexwewvvoehurkrv[mkugsxdrbaktcqf]yrqebvyxlcqjwcewg
ytoteijopgxfmiokatn[oppmfhkktlewhlq]erycfxfafsiicbtx
xlwbkbenrohodfnmuv[zarnezgnivnmged]vyumskttvpderhzbimc[hvbbjegwdeeqtam]fopblbizbmbhzfsdnzm
rgmnnwzikyanthhp[nvnhsgdymtjeqzurz]mbqxtvwhpggnbcq[apeorjqexywhszrno]qaxdcaysefnpyviduz
vjaljdyyoihduumfo[bpufjkyqjvxoprdwrr]ccjbldnkbzezeznmkpu
yhbnzbxqrvzrguxcbss[unzjeicvhgqtwek]obuccrvnajbvkcmkzh[futhsovnghajatalva]humwbgtpqzjgordah[kvxmlpebzsitmnjfnz]olxhcyqkvfkqdxdc
gsojkejbnpgptcgeubr[lgjcwaotpdouravq]neezbmtkclvcvkqncw
qqdvpngddzjwase[rtgandojrzcpohlpknx]qdnxpiawdlklkscmpa[qtpzakubrncjzbpr]efpxwdvobcigtpu
boxlzukkqchmqrrpgk[ggylyipkjdmbjfp]dkckhhgapbgpmygpa[yfetxkcehafknkmk]acqmjcsvxzptstswuj[atrjixpyeqordilgj]eccoowxhivjiljegqm
exjgzzncnnehrto[qnhzvdfprbarmtdpp]rcdxdswituqgnsix
tokldrsfwqqhetyw[muqzhystnflncxm]pjpmtwcamluvvvdsu[mpfvycofrzebemw]mcyzcqfngdrjaioxzda
pqhnhcbjoqjvgqh[vqkgnojpmbawemi]lampvrpcpvxludprfuj
vbdpihaehliobsbciw[cpaudttavwxkfpg]aidtxeypckfsagubro[fpaiuhpggzpxsctw]danwtjnlhrbfipgfbq
beoecqatqkztrbevt[bdqoxnitxmdqunizj]lgquhovsnjuxqaml[vyfylkbhnsdjoezm]ediekdjfsnsodqep
cnaisicaronpqbihlv[ajfhzrpysjdkxqpql]dfznlmsbuozjlqvf
jbgsemiqgxmtwmdulu[ulbyoughrbpthdlvmvm]dyrxsdesjjwwfmvmkf[gogkkkefuecieipe]nimswajpymtzyleew
haavjxuwhbfxlhfx[rssbpwlffrpnsse]chremerememjcbfuv
losdtsrwrdvwzbjf[daaxdqsorbsgznm]miovihloamfmovzruxk[horqrumrdnjorfw]shihudanlgqfzjf[kqkwshgnrpwudohanr]yohqqtcywhqawfhi
trrbdodxpewxgcyryk[limhtndawxliixkkq]ivxmixrjddqlmounj[cfhqatncyqijnvjv]djqfccmuvdnsylo
yfdgkwopvrudzsww[gnyyumqxrftncsfuaaw]zfiekmyvpseaugfwss[etzbbabtbkdtgbwf]djmbswwpvfsowmqdlw[lpbkaarutdlovoptrke]ukztythdiepqgemm
huwfnhilneqaecp[hdcrdcipgcaxtbfouo]poacbxvuqwkcilkb[dnpryjlynwgzbrnbc]hxillsnqqraloociaqc[uoyktvkfxkdkdopnbk]qvjeuapououufksmwse
lfbrqypxgthlyxqzywe[pcxfduxttmzaxtr]gidsxacxodigyok[qyaamzuhjqqnpdsii]apgfypwqjpygzmdtpj
prkahitlcoynnubnri[rqthrhhudrvryoea]urkuwyabxskqbsyfgm[dyagznreglcdincwie]okvqdhlixssurnd
qrwefbcelgjgpzoe[aedkjvzurwcrhdimb]eaxqgpvkewmjynmek[nmfyhryoglbtdgq]dfnecedmtcrkfyq[omndbxvzczgnojpl]trcocwxxczcxrvjjce
pphzgbbfbqmhbysodv[znbyvvkjlacgjrwlnkr]iyjpdjsjryyqsoblbyf
lziqyyfhruzfpwy[upekwttdqzjxspfzcmw]ptdaapvzenixlab[wvsdrswafuftmysocc]ykzygszayfmgenk[mylrsdifhepnnsst]tqrbrvifghuesad
jwfyweiiqvjfkvp[gsmzrlbjdpgqtbjakw]oofharmppecdotcw[dencjxxfrzxbuku]ygflsusvcrcdznc[fmcercvqncnxcbbwcrn]lkxshvdqjairdnnpz
mfspfyoqeyalvzx[zwdzwlsmnktynntn]eeogyyanaydeykwd
gvwvweokjzagobku[ixdetnocslayahccde]juncfldivihwfpee[mcpxioooaydtjmojwm]satqvbxfkxhfdrgoin
yncjgygznetzrrh[uzkbwhtbtkrcxcveik]gehtfqltpixmsuami[nqhxycgquaihujx]ndtusluyzjwufzdh[ppvannvzrnncxpcfbyy]kgitvwtucjasvtk
feushnbxghbeqsu[utnmthhouoazgbym]jmplltesvrbrllei
ijwbtaksbikedfm[gjckpcivddahwkp]kubvhiqvktkkijchj[qocdkdejflyyzwukfrh]qlnixtictiubnfhvv[ygbwjbjxtvfevjug]dclcjonutlwyqaxx
vqtafpvexofwcfssx[zmlfsfqivipeumubau]moqspxvivckaesffn
hphwnfopanasosexay[ddmqqktxkrurcry]slvhqigvbwonriydzb[ynanjunpszocqrjqm]fkdtvygiiddygcrg[jgumgpiumyhktlhoeom]dkvwoureblktplcjmi
skxhzizzzfrfausiz[nakguftuobnmkoz]buzexokukfscgmmfru[jhpsafmtolwlhvkhs]hznyqntiienjmspy
ccxuwxzdxtfwbpie[shhongtetcwukjbre]nufocpasneteinfkk
apfhilvripbjswmig[tzmvefmwonqiqdyt]szdbbwkkgaqmjkhpuu
gmqjznmtepctxpcfnx[eezqztmqxceenmds]avqugeuarwprizij[uumhklvgcrkfozd]goypuraafiwdcvq[zueuogjqbnsqmjfmxbn]ahgjvoxojaumver
payebfjnonvscnr[nzubpmedfuvkiwqkycu]cvsjgdyfvzippxu[gmiawxppknjjmvm]spdngdktoclylmo
ruhhexcfvomrhibmoux[cjkryzqtfkckieyzuu]vkwptpezjrouirxq[sggqhkgstdzqikfnxk]zxfgbatfizeivfkjbl
qqizwnfaajabeuskjdu[szujizggsbdhvihk]wxjmzdiqugjylejfu[dfygnnvhbvghhyuzo]yeaepigfgdcxbav[schlmqwlcifeqjhixs]ifaxsbjyirgfmwkaott
erxreojjauvvlbsxomv[xaneipervgreexmp]itfaxjxrwueyrynk
lgzbkiqfbgvdnyt[milmskrelgdjggvtmsv]clolytrsgczyppvrhkf
ryvrtxkdydhujxapwjw[ohgtjdaeifxzuhoqc]yflsxucxibqkcpft
srtfcyyruyxzxum[ygeoeyfnlufgsjxjm]ifwimooynxbrsxmyk
rqbnowuwuernuxpim[zzumupyxvnbnngmc]uwurpinkjmkckxx
ikzheexqxrfttoy[uwegndkenfvosfpm]acomhjgdgbuelap
srookpxqmghokjoegi[lhpppxjenrjqiri]mjlixhnrirctrsupv
onuiajxptpjwixyvp[otlnjwravarqmepwyd]hmnvzsflzeyrlxgpwwh
jmpskqdlbuorcpwpqj[sxwomhbdyomudfaisda]nvzxtvytsrqqxbsug
lohoirsglnfzmslubqc[pxhygduybnlqemp]eulzazwozzqytmn[joeiaeuczyygjtg]tnowqyhlrtmumjyrkp[lidmrorxkpcajufzib]ixxyjcoocfdgzjbhhl
tmixfdhagahaqeers[ruioctblczdbnusokt]orpjrznwojfxnheoqbj[gbgyexwumyintxi]tznnvbemvedlpriyu[ibseuzmfqmroeeawur]tkggtpbcgdthcpo
psnbkiuzotsmeklinng[qhigmmuxrpjmhuhxt]urvnxarbhbsouap[chfgrdkbxmgqzdccv]lbopbgjsbykugbzfp
qcneczsyljovqwlnjz[mntyylfgsuvpjdp]osrpdqguiouevrdq
xvfraxzgsypwfmswwwu[oyrmndtdginkvlzdid]xgtwrddwmukzxypxl[mcjxgiimlmsnizirzt]gliezwdntsgoxznesl[vwypsvpvcaeyzivjo]zigujupypwjqljxaie
xayweakpavlylgjl[hxjyhvqwnyixcesj]yuhyulfybuhvqiinlso[eyopyetglenvqzqhnqr]mqcovyockdqdqvfer
sovuasutixukkuuxn[jlvxhosfgqjcxnlmxql]bekpnvhdbyhmmvdhplp[xohnfpbaeqpbfnfi]eobpufxrrjaajjd[snnfnhoikinfhioa]syhkocukumqrwcgw
vhgyxqcvafubikvakos[jfivvuhbnehuqbeyu]dwezavodqhdmujzc[naepoqzmbtiraxhskf]bwuozbexnzmpukgu[zyzfttszjkatnovj]sgkrklrsnjzduvvjans
yplxqjomjxguqxjjix[mvtzncrxfvzjofx]wlhvxxzsdcfptbse
ddqjeqgctjkvwge[cbgnejudebflhpm]ryzxhqqixwsoztz[hxszfpgrjuxxipt]zuvvwbmdvqbqihy[gjfkxykdstapfhu]bzprrjdyjlljxnxb
xbnilldcerusgpejs[pvldiyrckxtgoesbti]ljqvtntbhxrryxcka[gdqkfyumjhgbzzwlvfi]uekphsrzawxriyei
egwrxuedgpcppavzt[mbblqsizmrxdwdrio]dzozhiodhtlvmrjcygh[gdzijmqhitlbhfw]ewvkussgmsnietkiv
oraksmkemjiapbdvqxc[vvgximcdecwxmpbjsr]breycrlgdwgnbjy[oqqtlhrvdyqesttwieg]dksvmqwavamfdma[fndgywlwmsmaivduv]mfweojoshjwolwla
pqpeytynxunxdfyxrmr[krtrvrufaemrmit]kcgnivmpvqoagjmharc[pvkuwynulvvuqkif]mvbbgwnmngtralbe
nsacyqfpikkoqqxp[jdcdddcdcylpjiled]jstcntnjxszhichrkw[vzfusiwojvrjzhevjm]lywsheganczawtqb
rtcpdankaboogxhbqj[vfamnogaxasxdiiizk]whpyanngpggqutan
qlxjojmpesvehkggt[flysjbaoiorosmpzcl]wgpxurstlnopucd[ewkgadgmllrewtwse]icnqidtfsqjurnkw
oifarludgzqkwtdm[jvoeypeqpfivakqyj]dtcboyxnhejlitz
npkttburtggvbsfuiwo[wvklzpiffhreyxkz]uhuynxjezspazaudse
etaapuxqbavybsp[mndpkefjvjupccx]pdcnnncxtrzfvlnmq[ioehzamymeougocos]hcuxkuwhwvjvysbwdo
fjrsuygcrtpzjsw[rhfrgfnkhajlqtqdp]hftckgnarcgoyfkmimd[hkldanmovhazpcpwhl]qomxfqqhkcuqhibrl[tpbrlhcndgbxuuzdng]knqmgdkpbljyufzazki
zydstadkygzvjmxdhu[qtgaglwyzqncfbds]dqwbpmopxmdtkkcj[dcakbjdwzlglkpndtb]nijwetvoulkydqukzn
hbxhybosbnopyxpnnz[juewibpcgkchnerk]pvdtzqclnvdbmwjk[wmtpskdcqiiythces]kbhxnzcnjxhnkuxwft[yetvomdrmxarjwsumqv]pgumogczlkgoiyn
zaeaejxwpzbqtjiutt[eqjjobopoyuoxymtvb]glxzffwpiwoqcciyul
rqrvuzjvcgaancl[pmxugkapydtxezz]lihcobqbdqenjmxyn[aemdyhmkusmchckzqnp]tgiijsdtqtqomptveju[mvaiexukertbkyinjc]pjuulfqsxhbpdiy
jjygzflwfyeiecuztx[yrziwmbdidxrjsouxen]bqkyguqcejsvrkn[hzipqxzodrnsozfmta]xvtakmgzpstbsivyt[ieiucrjmzeupsprslje]iquppghgxqhosvjzc
dwprarljcykiecn[wvdjaraappnffzsih]difkjyzhcyzgzjl
shsrycjlblbrcpv[drktygzuxbooshwhute]fanflcwacerdevozor[feybgvfyookhlsoivd]ixzfmefkgvcdnxqvy
rgogoobzbggsbeynx[nlnbqvcwdyzkbaa]prjegdbkocptzducz[tjanhuiieffrdspjf]bhhziiqbzdlkdmj
yslioeknctqgcwk[szhjocwzxxkbdoykvjj]aowmmepratdcjkgwjhe
yrfhkqrnxzzyvrocav[rqyqhvtneezcivu]hunxsvslxgfzevsvvw[pyyclulboseqorxoihs]akjsixprdzbyqlbupi
tcapvmyxklqgewra[pwxrpoxdptxemahbrot]ncwuxwfzukwcatres[ftlzvkapguezyhnsgl]ermejyvoisweiqvi[wynjqudtjghztati]vhpdjconbhhejafgfu
qkqbjylknnexhcziot[lwjbulvorpdzrhddlm]mvvmstxnwigtstskoo
wncbdjbvzjvrrunb[riirhteyuokxshfmxed]sdcpacarelkhxkt
xxcromhxgxqeokih[xxcnkwhvsylkpfbsj]xipnqesaslmeqsnu[rmzahgumualwizqnf]mutxgygzbvgkimvab[jypnhvoztklxkxyzsr]qhuxxsuvigbloux
yenrilcccypxerlso[dttyspegodnpefcpg]mdhfzxgyoxozmgi
jndnuwbhvaciqduyfg[xoeqacufaixieedbtnz]mpkkivmhxwxujcn
majifpotxhylyshir[mhcapgzvvwadphfid]rjaoxsvqlqyvqgtxte
imhzefgngckhvgqcjr[zysfanhwbnqzysui]zgogpzkcgjeigcwpv[jtxumxvjpotihpmb]zuuueogbabahhwa
ijrqngygldyukndxhqw[xlcwaqfuzjigxddxjn]mcuyklxezeidilnl[atvcyujrcexfnknulm]txxgigzthrbbqna
dvhqjqbgudpghndlvu[drhjjaxeomuoxxnagyp]dbeymfmzzevjydlzk[gklvfdcdfmnfvfslpfn]kssctqoyxognwiem[aojhwzwnegpnydzywor]eyrhiouwbqfpeoto
xznkczuhsgldtilz[fhdcsnfixqbysff]ppbqiltpbrlhjliz
zkfgueqzataygeavus[nymgcgakmtuwnkidr]ypuhovawsbnmlmpo
lnjbdjnhhqeifmi[diompfqeocwmuqi]kdawxfqtkschlgnh[fsmxaerroipesmywqa]vqpxljxwpzudocn[sffzifosvfuytvdzb]fjqfwikuqzhzuthxzq
ecyyeabjhjrfbdqy[xpqhxzehjkjhotrdlk]ztrkutdijjkmgzkuci[hwdxdsprkacxjrjjtxw]fbhbrjzwubhgjdwvpjy[vppgvmthaqkgzrzva]xuhyvaytyufxrkgeb
tbeqtxhfqbbdrvwn[juqpksgrfsbsqdx]znceqzwqsfrhavmetys[khetxkkpwfmkmlvc]hazxybkgkzrmbtqshz[yavtnkwhxppnqwzwj]hgabdrxubvyvgniz
rwvvgwyfgincgkurooy[wxcmmmkqpmtghmmltt]kgtqowxiyjbepqnkiyu[iofgybnjrqtngltajvq]mxsbhbkhddqnfowxw[ptqpbwojwfhhqyv]ymflkhgfnlagbxddzr
lybbfxollocxnfxfeba[tvjolzzkenoxfxqrocd]vkgswdtqpilvbixss
yurvqideiuqwekwop[gxsoytqhoasfouiasm]fyhiugkvhkbcfcshkzb
rurapcltqwutrslalpe[wsqprvdmmtohamza]xmkzqeajamyurualky
buprncslromlgznqper[xjefyfgkufdkspph]wjncmqpgmnjzmjbqc[miovfouyxitayfs]gtrmwhvmgcliwegeg[owvnsvmazybubxfrp]cdjevcehzrminnc
uxhqucibxiemlbtg[dyshtfhtlbjreji]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yohfxkodjqfdzqe
kqcxiuftivavvdv[rbijqqjbhpdcrtpcy]dijrgcyuoqfzronrfps[knxiljzdtvauitad]hohafhoofjhhhppkr
vbanudfbhmhpqsdpdgw[ksrnxrccuenustesws]bgiuwlkckvdplqygpi[ivyzkermofckkcotkj]mhjspcpkcwsbisbve[mlmgilflysuxqmzwp]afixxyabstclpunrya
mnniaptautqeenvmog[wfqrhlcbcwqhwzj]ccouhkyhrvdcbilshrw
zankwrrkgkejsfiwcox[gcxocohqugmgpfoea]cfpphqzxdllapiaxu[ckfcklaedfbhgino]pwdqreudlymfoif[nkaiutnpwnsfrbzqyuc]mscstkuwovgypqtta
dhhvqxovlmkpzsg[loljkdtjkdhgawrpi]ggnnhvbpshpwoloac
wjepglephkicsoti[lvcfarizbzsudio]httbqobbfjoomntye[rrlwtyngtpvffaanlpw]moqdodrnstpwmhjrw[ujoowvjwddvlqqbbzbt]alyeqayozgbhtpsni
okuneqgdkcjggazki[ebqvcuzvuqlvptuoqf]wvcvzlzipmoamnvjt[dncwvnvagpitnxtjo]oadxpnnqonbrrarqn[ruogikvmdiporivvzm]vicubwgqcblvvop
iqwlvhjhfrfeayiclzb[mkafugqikswvpqehb]ezlojhjvdoyzwmggb[mncadipbeamkzbndk]kpewfgsurwlikle
ewpiriwkjrgicwzfxck[iazlrpnsiynlmfi]srfoarhvphakmcyke
faalgogxxzuylnk[zsgporpeqifzknzz]mjkbrrvswlbgdwhmlgd[mxfiiekevaaosozya]klhonreqfikygbmf[hhgfoolpnquxfxoazy]vcxscuxdbvevulug
curbpzpilaczuowrsi[wmyxdecknwrspllfhpl]quuvzoiqziuotvfl
kugdhavlhuperwafe[ecuvibachziwzefzn]oyhrdjgmqqauqhhg
kcbawjisdirrwzv[fugffzgwmricsypdz]bouoevvlaykmgve[glivzpgoripmcnqv]bsmuvtuxrrzjaxko
oyaxoumybizeabdg[quusffkxbmxajbni]lxxqjhqcajdkqszr[cpgzcteolyloguchf]zxowxsyvudncstwk
xmlnrjsanwjmizgawvk[wlyncljroxswzsmd]waxcvfcwftjxbqxpmvr[spiqjeqpfxanegjxf]sxzszkcgibvfkgtozy[nmhjzcaophbfpil]nrwfxurekvqndbzw
xunbkhekkwyvgcerevv[bgjzbkihvzlnnpptr]huqryhbrkspzxusu[dmrytcqghtbbhhzu]lasujmpjaobcnfj[ebofoyovhhzsprycn]belltiuhimwgwqek
ocgmydyjloxpbsyj[wuhymkumnwwcdprxc]ncmkmnedztlutaw
lyuydomeinqxrex[gukhcsjakylfwqodm]hdghwpfhnwjtmafqt[lqwtforyrybxbbh]fgyfkgvzyooifxa[kgxkzeuijywgdhuryra]dohlilkbkqzjsbx
zgckhhqwhgctoun[ajftizwahkaxzich]wacumictegcbysyn[zzxxwgjdzicxreegal]pwquqtaijwqpkistf[vbombdxhjxwlboqdbqh]hfyfujedxzoceqewhgt
rcpaadoewdfxoksbiuf[cmcgotvayrjllxgtm]pmkfrygwrzuobudsah[gonfdimjagiyayni]ctrukcwixqczltol
jrehwmakkkobozzwrn[beoievlwkmkusjzangv]djpjbtpjpdcjsmopzpw
zsgrycgmryfdzqyfj[yipsuqvzrujoaqga]khjrvsadupzwwoasmp[bdpwsunstwzgzawlu]wxaqnorkgypawanoso[iknpjxzhmqermgl]zcsakkbrkkaimtnya
uyuzptbpmmukyrpd[vmbrbmpgvxdxryzcpbb]ltybhrruutchwbuuicv
ddaeptwdykjibuffjh[ufzsfgmcffyxyyywdu]vrdexhgwtdlczpc
csivzntivihwomh[nprwknojctjnkov]uzridiquzokufgzgjs
gcpleovxfcyyeme[crpzfylaxfpuecz]zoomnthfoptieor[ycybuegqfkhlupplwb]qjmvwbggqxwgeuneph
vwqdvgzzotnnsydivip[ohjqzjuzxyncdbenf]suwfgrjkasvyhzbtfo[qfalzqxllbjohnzvgj]mtkkcwoapdjaysfyono[yqdgnieatutxldqyosk]debyxvqoatdeibyy
lhljheobdtmdowhx[lrxkzhxzdjmemintrq]jecllyatwkrhfxru
howoydpdchixptjqapd[nuwrazvltwkshpvlg]havqlubvtfkhsmxwxew
uwapzmqskzwiiqx[xtyqrsajsrljaajwedl]dgcalrxxdsfhqfdie[svghimwbcbmxqtqhjn]akqfoppjhaadsdbela
slbymelmqscfinxle[ahjtgvzldgftnkehsr]vaqtlbhritaotaxvhpg[chcyoduevjsyehz]jncoccdngssgteldzq
mmkzxzkatapuuwwv[odomzyzveadmmicfb]eiptpqypfvfroxu[bxfgwaezkjrbpim]hvfvtenhpyqiohxj
jetnikaiyuylckwz[vonvdfgbgfxrvjzluaj]zpmcyjvkwghaiuxic[irxghevzlcccxfcrf]xicbllnxpzlcmqbgm
chvpdcrevaqnstnw[sofvzfabefeacnniokj]qdasdxrscvlmwcchq[kcpxsnydjsoviwwy]bkdprrvzdinwsfxkien
cwoamgnaytsfeccbqb[vyysuocjjhfoixrtmpr]junwfwadfbyukyvnw[lcwtmcbwdkrqngvqi]vevlawxbwoqcibmtk
seboazoqdqpckthgk[psehbzatcusxwqa]tiwgrqjikjzwabuufp
ouwlbqhczqgbljktjy[bubtiannyvmvkekhwbg]xvrlrmkjwkhzjjlia
vatnmtxixznyvdvt[ftzepafpamiqpjulci]izhqwdhnqpyppuqiv[mjqocpfxdfcgpgmk]yirocnwnrzchhvrbfb
eehvjfqvnwplppeg[mntocrytmuzmuvc]zsfcohpjfqdrtfbbbh[bqhzekffwgpwsbxd]zlhxmhjluxrjmpwkyc[imisxjdmeqavdvztbd]tjlwasbwbrddpqpgwq
ygjdaucrxaqjcjj[zaunyucvccyhgomr]ifczoiwclbaryopmfa[ihkdhvovnvujtbasuip]mabqxvuzswimbitoy
shzlhbrvjjzpyxfqgus[ykurcdmtryyccnysxi]sypivgjjgkngrxs[rkavyufibjkqetgld]foqdqcpatgctaehxi[jpnwjyafgkdytef]apehakogeatmfyalzr
kithfcpkwdhgqjohr[vvpujusooxkdrmbcoo]tuzaiinsycjujjuw[fqdhhizbifrkpjxgyb]rddsmqvmitgdywh
gngbozbqsfrigmuq[euutspovzyvfbgp]gobfhihxxwpndpaggx
dctfsuzvpvttqpgppw[dnilcstcsxxkvwdsu]zqzgahpihqrhohqdtst[eoaatnenejvvuloknf]xwneniznbkjolnouj[gslnbvbmlwerbwvdti]jovdchklafrsncadr
mdgpetsnkaddebh[gypkuqwwtjrzrhi]eyfbmxbyafuenmjdfvs
nmkfscflwwiyxhzgzw[cixmvcvloqdyuikk]jprtrqwqtbrnksnxh[tngpiloomzgdmpryl]gwvmzbcftuthxvyqutu
zkpdrykxtfvqneh[pxvjsvutuauoeducg]iduhzedqopyfgxjwpl[tmzqjdffcpzytkg]zvwkvgwmfhbqklyvai[scusvxtyjacnqtkany]xqsylxxrbgvudrdxd
dbgodepvweaspcsam[vnqcsulaljbjrygsgv]gmfdwebiufbqkaofraq[unbumchixaeviclyqbn]ekpfqosiklnpdjrjq[nlcbhutxymbumqmwh]svtcirskdgbhfjr
wpvcqnrvyjvfkfpclz[wogcckufvzviggf]oulptksetgaaholu[dwwcwhkktrhgkahbs]sobrvezzrrzvlihicw
xlcqxbbegaulczmzw[xcllvvmlrdiamavgvh]fgipexbodvwutyt[pwhoyusimtkyswrc]mxtrsgpuxsjcqmb
euzbhyalpjhxfawzyj[kqcqpulvktfqwccr]etzsqjqzeosiarij[kinbhoflquwkkobs]jvcmusgezydgutda
lpxgexsvlfylfjva[wnzhqafvnbcbcoy]wevgfhsjrkdgvnbta[mvmabgghwicirugb]ctcyjxzknsnpxixkc
hkkbtbsnyzrlsuyhwov[iurtqidtzfwtfhiltt]wokyylscmppxsdqtnns[swtohjqkqnmzxon]mthgkxltaceszxm
jernxnsovguhkpljxce[twgyaawrcpjpnxp]rvjtstsecwlieaeblp[tihicijqmcrggggrjo]igcnuyrhtaooygb[ntscsypsxaeatyj]aslpawlvpctyjzwxhw
xoooyfocrwvsumzzywf[rdovvrfjqhtuiro]eudcowqfnmcvpkdpv[hdyyadaesuxiykkiztt]ykgxpvfilimofxfj[ittajdlxgptkzqt]djtaivnjndcktuvd
usxiyxinxwkgmdmjlq[quaspjeawvvlagjmla]sucqobcfnryoftyttwk[knzzgsqjkwlybeebxrg]juprtecqapdfbkk
jsbpwwkgsmydnreqkd[abmspggfxrehkgk]nzhjbpwxrvuwrsnilmj[qqtarhezcecijunbk]fzskmnquqoivtsaxym
mgekjguhkwyfdcse[ydcdycgmcbzvpkesg]yuzqagwvmncdcia
wrqntmycrllbddv[fzewvpbxklyccfkqsed]czcxxkwfeberluvi[iupovtrukptjstnkex]sukvpgublggqzbecwz[rabiytcgypowllw]dfitoowyhfxjteip
wlqzetmtxlrkydh[dbgzuittqekewyc]vsrigjcntogidwtft[hscoyacwvjejmwxxv]vpljhuinywgbjnynxhj
ydpusekwzovghcojdp[dqycroxflpnyqpnai]znbszhqqfkdbrwzrxr
uzfunassiuljodnjr[tzrbcvrfieeocdcn]bmsircirorbtgydp[wcxinsnngyykaaavhk]xxqbherleuhjskfyu[wfklhczmivpuooytgz]fzxxivrumhumdcdt
mshsdecfbmkjmbrx[fdhjzahrcoydrvqg]stkkbwrlhhnjzts
nmbyxmysrbuejutpzn[ruyrvzgagqgybiqsn]atkbnawkdkildlbg[trjlpfbjomgxvvmzowo]gbmfxqgecnzrwowcm
rtiylcxgfuqngjkyny[mgidqfnevlylaukbwts]vcejabirnbonrowlea[cancfhwbwdlklwo]ifsehqpalixvinbsr
ifyzslyhrydfxbsb[nigcfrqizdtzetpncxt]svvmxecfemwefpgduln
rtzslwquokcygmdws[wvblnifrxmomsmdwtx]scpjyfputxvatko[mffinnpsxezowdl]bsmsjqeowsoobewko
zllghkuucklrmwy[ylrocgxqrlkdkotl]gmmdzctugnusdsrwwhq[cllevhgqwlszrhlbv]prpeirpbwoapvocm[urvubddgwfmmkoyu]ygmtwdiwvuepkcw
hnqlptboqzzpksz[axumkjmbmyxfokki]oyassusfzvnzhlobbme[vbnbcjaiiuqptfyct]oagongosnahrlok
vgsfvfwepwufvvqbo[pmdxwkxldxhlqlqrgp]nmkpknxluiphfrfxm
qypkqkfcicanneyvvr[hrsgqfwjegdzfmyt]hmsppdjbdxxtagyhfkg[ranuabbxvhlszpmlmv]ajsbmdayixczrhy
oykuwlbsupkaaaioxnb[cemxnilkmxflpnwp]vuvzxrfcfhqvmzlzl[hnvnqhipzparrqm]rjzhvguxrwhwyzc
mdjjwbprbzhftjae[clpvjvsxatcbzsyybw]thsopmeuzvhcfppbha[hwbfzhbptymaaoywwiv]ybsfudfmveobwaqkul[argjxabjvcalkomgp]nogtearwoznoinj
ngsqrfixojvtgzmfx[dlttfdsvjeppwweu]ydwjjxycbpopceaj[anlhiebedcpahqihhd]gtsexwhwnpmpqvdxa[qflvviiybebmusv]epuouytlbtacnsnz
ouccxvpsqnmxezei[vmifqcpthebiklhid]tszxpvkgldobdjl
pauvqtezlhvjejl[sczynxdhjpivcogula]llemqpnanorgnkmjl[xxtooqiwqkcbvmp]anafyzhbzdtpcxcad
gngdmikcpsuduzdrd[fchropeunoqkngns]rfdquwdpxtlfxscvhzj
otnuxdwoeqotcogo[jxyhojuczdysbfvp]upffjmvriabbalmlqmx
xfjrywdooyrkvifzub[ygubulhifdmoytb]hjuvaxnchbmrptw[txcsgcehrbszmnzl]xlvcnwmeztfiyhlwtrj[twopxgslxaqihinrefq]tnbdtvwxxbichal
bepzmphvahjuibuvg[zuoplvyeupxvzoprs]qgkpflfygaoxuriy[lgugebpiqnkxxqhz]kqhkfkyiqigodfq[hvaktogguzjumlga]gglqsklyzznufpg
cnzflcqxgiepnsmpxt[hqbdhovnvyecljhzx]vawynjdylprjdky
pxhlvphiiyocalr[dfhohrjqchpblygac]oqdjtliamyneclgc[pzanjswflkxxwvnzm]qbbuqtxwodofarbbl[kiqrgquowfurmiqlqy]kppecttggvnsuzaarwo
dkzdgkqnfjkadwk[bjzvvzwnbuhkinvc]xhiswkplvojtzwwvyph[qroekqfwzfqeqcfns]kyijvgidcjeeenhgea
mqoqfigmgtagmxjt[qojoaaqyptscsfmd]zkpsvrsxzwvllxqpi
cdlfgkthideaizn[klvwdqakbyaunqfxt]egotktupevsisej[olkmccwoqyqzsnuv]szxkfqjshuwyqewmgm
caanbkvopjahzmqch[wylutkdesribnllzbac]fjpryexeaxbopdjhhu
avulisxpjwlldll[tueldewuwemaihrw]vjzctwcvzpyiihnlrzo[cjdkrvxhmsglzllbpl]gcsruqwlokbdtgucp[nxubgtwzjtwhtdvbjuq]dpghqlnwugoywuiqefv
rcfjxvabpkgxhlvzf[ftlsstmreroxhmuw]gcacbophluxzofii[vkkogukgydicpvdqbzv]dvalzsrgykitiqy
sufacmzxrfdwlivdngo[kthzrniwspkdawxz]rudbmasvirscdpkpr[pcielclbxsbfedr]pneagajkflznxdrkejk
qtvidydakxhrbrli[arccjldfmvtskqtot]uxldrdgmtilrhob[mfqcpjzuqeibckk]tjubrbrdjdakrdud
cbwxzgidmrnjqukyl[uhenxvxtomizedkxwt]pcpeskttqdttvibym[egwkoivkdehfrlzz]pjueedjamrhpsnuulj[ccamvzizqyunxwbojum]qguxpdkjsvkuxiskx
ecwvkjdmndzmmivxnsa[unghjtnrlreamcw]fhxvfvlthzqifvftbo
tfzpfvojlegclkt[kdwzmhrpxckfknvmdqu]gnpywcujxlgishx[mhxacejyvmcleasixmm]ggmuguvhesyqaijlv[fcyzsosernhgawagft]rmdvdnkuaworthwsoi
adztzinzrvazerolcl[vypxttybduwxgrd]mggcsuuzlwiilaav
qnamzrfomzqqhozg[zaoqvddnqodpztm]pqhditszsmuiakyelb[sfknkiilewablfnt]mdzzoowquvhayznyl
ovvwrhkbkeqeatbcke[wtzdbpzbnlkuhwqwfz]tupytpbukmuqytc[fpyravdsbihddaubymf]pjiotvegpewlpke
lubqiczycurwvqozz[khnsmjxfeogtewtodhj]xhqksdbozycjszipd[zeptjnsjluccoiuxm]bhvktxgvqjkufxhprr
zflhauqmcaiwnqn[jhyeagjfxbgnzkdr]hdwykmzypixrdykd[zkqqugefunjmuhf]ykufgfmmeaapnag
eqhnlafwpxhjtrif[ixkfnqexzmbmqencp]npxnxbzhuvwqnxn
kokxqtbaemcjzlrioa[ujvykzotvzlrnfg]couurswwzchjzbxq[ympswhhwlvpohjg]wxcufycbxuvmrqekgq[wyljlkzgavafrvjuesw]dmgjejauotkmwgw
mgxyddqzqmprxrdizf[clocszvenjingorxku]zsuqrmnlgyucrgboe[vpenwatmulopddv]expnuzinwtlihej
xqhirwwuirdapgmyk[snyixpqruifdiqekwiv]zogryeticrubznbumf[yisxpgzptlkrmeevgqj]qrebxwojumgwfnf
djlypifibwpydcxrd[swxgzdsqfgksqwxjxfk]kbpzzqheozbjjcdpor
uueutycrzzvuhvniu[nqhaoxpjrlvrtbahncz]tmxvdfxvmctcfzoqiux[gevrghyecnzmkrujmeg]rcyqojjmpxkpeulzl
quyrwpchownternlfj[qijougzkibnhwzvjk]lmrfvudpzxhshukhpn[jvvvelpjnyxpwvo]ztuckjcxyxjvqop
ueyerkamylcyhgszgme[kpqbsxegdljldwjdxgp]afoamkxjljqzpmyef
ryrrppctsvwsxjslb[sbmyepjknxewewrqfsa]gevwiiwpwstdkruplv[ilkxpskdrntqvofj]srpukrzanrqhkprnu[jlujnhxksrytsdazgyt]fcxyuaotwykaosgnvp
yhjojsuhfhujvfk[nhdemperlpgxpud]pdvcrmhvfeudrea
merahlzkjieamdkyky[yeygykydcucbambmtz]tbujyhneuvzacymtgrd
sgvvjpfdcsriacwuyy[rqhuwizydqorikmqqlo]ozsalwkmuodygrh
jfzfzodtrqrrwvlr[ukxwobjdyhtqrqr]qzmrpkkjzqibwekne
xbmixvpzovpzydwprwt[qnquthrvjmqtpzb]utnmpbzmurlbpfuaqu
fkfzgaotoffusnte[ajzqatzkpajlsge]hamnzapphynrppmzwm[teysbhjrdgatijve]aigpcjplbknziprba
jfprgbpaubcukcmp[kddnrlcjywdjcud]nwzsudlamqhzrwlkh[fuavvscfxpynlxexr]szgousvpbqawlkpcd
idlhdjsytmzcwcu[lgwbpjcyvpnecsqfhr]sjkxaancdmlpobiwjr[gzxmhvvugpuywst]oodlrjlodknfxde
bplasvzaijndpfkr[wkvndyztlfkelwckt]kjkbnawptptvful[fmlqcligysmrzes]ujvljnzkznjvkgmsvqq[ezpnsnwrujkrbcmggsj]eghksoebyyfnptgqjul
bjwqelavjebvqjroszz[jlfwuhjucugbvczdbil]xxuinqhddmsrpukke
tgbvekwixowohur[hctpawxelfhbtmwc]axirbbtolsqjclqo[xcxiycbryxmpimq]kutifmilczlxebzxwjn
dvxlbiymdfdrnnfp[nxrzuioymgfxqwxo]qhydikbrlhqldbq[heutjkmrstetknylg]grzklzcisupegmbg[mlvaswdotnzowpqw]inmxskvrovknbngkp
rpoicdzdnkcxqtqule[gcxezbuirojvwliv]bmnlgvtpiyfhkukpj[gtqavwzdzdmqufnce]nwnlyciquxxcwpte
ubleorakkrqlakyr[kqwacjjutlifarh]dgijscrhnsrsxqhogb
niodmrcgcjrihildfw[pmtshihgrssakbouvf]otoaadrggvnzmetmyds
jczcvqxamrdcpnjl[pitcvywsuryykynqxax]zmojzqezwxdnwrcuif
nbmlxeosjvvtihmwt[acformsggoqxslahuma]nmezephkdzghfvhiqq[epizeyqkmseenueefiu]alkiffsdvovxmejkunk[hiwyudbbuondtsqjm]wjioowmqljplehwe
hlcllqbyvenlzcfgz[tkddqsjxydctcrcuhq]lnqsaupwdmxeptzog
rrkevyquvdogauq[lxscinoclyrawtkvr]mbiscfistpoutkc
lwkkwxlifgwimrupndu[kglwcbuugjkujltz]rrgozebmyxigvxefa[hxbstqxfjnzvkco]rqpxaurnjtzymxkvtiv[fgbvzthgqifdqehisw]kwvdvfijmbimizl
yejkpafozbchconq[chghchxxcybtarwkel]ensiprnejdyegqiiu
gsclugkgowknjfkewxn[pgzgezavhgcfjpi]wttjlezzjwqyyzgzc
ndgluxoxlnekaomi[hrrjyflrxyetpub]kwpcbjgszdjimqfgat[ofdwoxrgxjrbxhgep]rdaebrkfchddavjeqap
vzlsrismjdiyfqzcieb[fylncgldcdlrqnbpw]hyrajwsfckxlkhcboe[rxqyolmmgairjktnk]xhrusylermeiiolade[ifiekphfwfzsnrb]szyunhntoeymkuhyvru
ekgeyjojapzhzaxfzhw[nmmzpmouaheahibz]skhvrmqbvgkbismmmw[lpohwytpsrtegazzkwg]cvyqhgsyodcdoyandpp[rntevuwuoyqnhkmrr]szsrcjzpstfyvlf
ioykyddusobfdscqkmy[pmuczfvmkjokvnoxrz]osyjyicdpcwzxvwfn[gimnsriontvxypcxnja]rgedrrsbgienkkwy
oktebiadpwprzrv[wgprjpksbgdyqidklkf]xhhjmhfbhpszdqu[rxjenkcvcswchak]fxqrycgufsqtbxx[pyxvqyqnctpzpggzrq]mmncxhloifiifjpnitw
xbqdzlpfxcznmczfqq[tpfsrcmbflynynshgt]whfhtgfqobzaolpx
hfbetzccpyqauunfsq[ihzoakqpjosfmeff]xvgsqfzcgxtranek[zbtxsvwatcplcseik]vaidkyuhjnsgptupyxq[vprljemlqmphnaau]vfgliasxcpdyayvfddk
jetotpxiincpkjxqmz[sfwjrlxbmpafwtjuy]rasahmylsaswogm
ipseqmdzbeeqjsnvo[qxgatjiqzhwulhgkjm]syofcufklnbeobppx[lbmkistwoiolecjh]qpznlrllrkhxrnyvf[zbhzvyjqzywdpvh]thlrfwmziexkhxgp
uqyiqoznpgsjaaftzq[bfmkexvilwsavbrnwo]pwdssrfyvkefanxnlfr
yijgsezauqoevphn[qboayuokxuaztxd]peepgblucrlstsln[rnifdfjhxdmtfse]qvymgyfdvcpezxdgmen[qyorafkexhajsha]knaylffgeufjxogyel
qlydmvzjoavamnvot[napvavoknajlvmdd]wbjkbdpjhuhxybgywu[umxthkfbtbevasmekcr]adnybcirbnsyplp
qshfqvkxfhgsysl[tzlddkjozqzcpcnx]xjkhcdozufunylwdzs[smgwthhegrzgufktc]myfufzjuvrafwalrnn[jhsmzagnqmhzscu]dbqonhtmhhdshdyatcn
tcdybubnklvamrjlxqo[naocexrxejgekonegma]hlejmizxmhxahxboitw[jteivhxwxftlyhl]kvhbakqlmukgslgvgx[aueqotadcogcmhqeeec]igrfisukejhgfmdvx
jowozfzspexprygzplp[acahqiqszrcdhsylwwa]ppdmkmcrzpzbflgeld[etwowmhcqhkjkkipk]gnilcosjuukihcwyne
ynmgkfpaiocmkybwkz[ztxveuhtztuioruvqbr]grhetxxldtoepqtm[yrucewbvzbphefuf]idcnnpztztemlywblpm[ltaesuehnzfrsflac]bbarkjzutumhskhf
mckdhqphoehsqgjzpzi[eiretkkiklgmfvohgvs]fsaipzocdnrwworpfj
hmdbweapvrpdkhqhr[xwpfkaaejitfikqgy]atylpiafldvqsunu[dwvoqhxryfpiegidm]dyvhcjqkgspgnpw[nkabxwemccqznbpdq]ripivpqpjrebswqspd
xdjfwlhvdtcxqvfzrlh[kcjkplfasydesgzkkh]ilfrxwwjtpmshhcy[gsobusiljqgosoih]dgtehabeomwepoaaahd[gikvtnebxclexmsc]nkcvdazorstiymosjv
fjjpjjjikuarjinig[ytnbvaleddhkesaoaut]eorhszwghtnmzbjipie[fuwkcamkegyilppagl]pipdvxwvkvvvanblh[ipiaupaojxfjukjgk]purmzuzammwgfyle
qclqkkcoimixsiou[psabxyezhvejtdodz]ejzppqfiokslbdzoyo
hrrdaecpdytoxkwdynw[vhgsgzqlqemkdkewg]yeqaoolmodchmigyxt[whflgmjarkpzbitpkl]jqjtyhnxkklkzoa
jxdsjmkuplrowpkta[uzwnxgrrcieqvoz]vtwwzqgvdeornoqxmuw
igfbnfbrrkfiyngqux[aajdqilzidsasrthcnc]xmkzmvqsexhkttcd
bmcwxzeodkxlxclq[zvmqvljaabeakiei]xzujkuxdmumimotsaps[xuhocncyjxiyavon]hslcfclmfhfxxwwrln[dfmghezypyqxtwo]wxaxiadxkpvuwdl
xifaalrmhugjejbl[ioovxgzfgpaqlyt]uayfrtjeutfeprmb[fknrvsrbeucxlyzauy]geowvgcfjnbglmrxp[ocnpvwnagqhgbcvoupp]inzfrbwlliwgcsqgzb
wccriqkjssvswvpgx[apoeqvsvtniwgbt]wfrmnudgajwhkcy
mbyargqesqkprhbtaqq[tpxvefsyzwxvshmict]dxpxmxcluamxmfq
jfxpcnpdgytwhkfb[kdrqmtogtlmxqmv]auuyjbertdteoho[tdendgogvoevpnevzdx]eicpvtgotdkcgwbd[ygcvethlzayahhialf]kytibwtgzhuvvsjw
wfdfxjuqfxjbnjpt[mmaupydmuixzfwebpjt]kssauqawybxkfmcu[juevujxyjrwzewzua]eladywlrkxglizgc
qtkmarqccnxwoqr[vzmovjwxsbhtnmjhqjh]zycttmgyujdefxxfs[tsmxkcuqircrdwtsz]uhqtftqwcxreyvlvff[kwsyvatwweenxdvqum]sjmbfsnprqixqzx
rantzkbrnpwuuvqbqn[qaudnwijvntnxlj]tfdbqbdepavxiewo
xwjmsobvbyejpyjkrz[ozkgsxhxiyuejjr]etkvofiicvcusmmlg[rmkhfcaxfbdltnpwk]swklpvfmxmlfhls[iexmcqatbamzyvxft]djvoysjwetzhocdd
iixngfiuncqysuzf[ehzeqdsqwwjrubb]udkdvfkdtxbddruub[hktknkxemrlnbxwz]qfejqmapclbzhhe
pmviizplesuakfc[woqzewypfpcaiotx]xatiburufdzajqrv[ydsakwhemrgnxgqyli]isubtdzpkcgsoas
xxsqvodorzrnrbzsvyu[apejbcvdjuyujpxewu]kfrcogbvnrkuykpgx
nkvsmhvlyyweggw[yhcjceblmlzpgig]smpwtbqsnklgxxbssz[aiivebyzjnbelkphux]wnaojsgmpoiaykznpj
xcllttmboowsgodsf[dfskztizatqovmat]gpzyyqjotpdkdemcjon
drhgljhvyonmqzkr[ohxhjhvlrpodxwy]mrrhedvtgdxjhjv[golpxgauowhwdoov]rdmuwnfurqwssgth[atspndhxuuhzadog]qgdswxcwwahqnpx
uvdajunzymasgjc[onqeemcifirbxli]mrmpwnqojidvwexxrjg[vbpwisdwqtiteawvdw]rpjzhfsfhrzukstel
owbdsotbsjvrwvdb[fclwyuadozjjeyvkz]uzfygewxtlgjhmfpyfy[qlnlpqspocvcpqsa]fannkpftifaoeszzu[pvwpbdancbljmucxql]tlzusxlphovfyfflj
mmtmuzzulxmgxsmf[djwlpuwrkdpcbvv]jomhrdgighcolvayu[vdxrekbfbxgdluj]mwkcqhjhlrehesmwft[pigmugayjtdhtpweyo]lemzwycbgzzhvin
eferdgkfaasmkyi[nopnmqjuuhhkaclf]twwodgunizovyvydh
baddrprmgewtmypxsp[yahwshbkzattrry]tjjmawkirxcxcpkbdr[kcptwlmozcgjszalueb]msxrkbrbcfnflgnqe[amwmeanfnbrpznz]jkkxzruebylcrqkvyvk
kjagsescwfjkqrykx[sefltugsdwkybwj]jmebeveaticpwddxbk[ktfnvedmpvqufsi]zxjysrfpzfhngjci[yifiorzwyumqotxoch]afedqtkmzpfwnacb
lelwtilhzhzslvzo[ehvnqsjxemjrcvbqyf]ovygwyyazlsulyzhjja
gluywzrxutecuauqi[vyllygndlfkbmgaoefq]cyucodjkxwauafwfxw
dflaghirjcyhylbcenw[dndkrtbxackpdcphny]pnhqmjxdzkjycmdo[fryelfouoaesejoq]tdhcacxuqwfspqevq
yjnumjjyewzjnakmnhv[ulycnyiyvszhifgscjr]xheytyiiyilswfhqywd[jxrndqsxmwcrpwrfu]jquhfnyxudasmomnpx
rspuvdkdzbrbajkj[dcfpcvzpbodrxtl]xbskonezgtixwjfsuq[gubkcjizpgfwqktcc]ddjzlszkolvwqsrnnc
moobncjrmmfonnmp[lpbevkcuzvqguwzbzb]pacppeefawsktrydyqd[wayxdzsvisprqutg]dfysmjhwsvnavpixfl[aphusnjjnvygqikzbz]qmvbpeopziujlsmgx
wfujisugotfsymh[juvkyhewsnpzualwau]ljyuwiidwytmvinw[qicxeddblcxrsdrp]khdooklzguadokmdbd
wdzzexnylrbsniulyv[nbehnwkwkrrkbwirh]ymyaqhrhmbuolmtbz
hsxsderrtdvolsms[yqxhutbtoodvausgm]eufwcczbwgvzxsti[gqewnssdahkfambauv]hrnsadgqtzcegnplnce[fwzpwvfptgbgaahdn]hlvjzdqpvjezifpbh
gtnyrilnfgmslzfju[qwahfyniqetvzpb]txlwtncptwapogp
xblzbbrwjoudimv[grtjaoaytdyffbl]jojuhhvrrgbymoptzi[rgpexwvtgbswbzp]ysyfhclvndltbnnzg
ggtkfikxhhzevnhpkoj[egndynfnwwogwdttwg]gmdytpspodusstki[zokrsgoycmxdzrni]jjtmaoztqkdpsnty[ishkqeyrmckkbcug]jkkfuvenjvphkmbtk
aprzrupkmqzdgncwuq[ototomaxhriosvx]zftevshbmxrjingy[vkrildlncmbvbfi]wsqygjuriitkbszg[ncmxdegpxcdvtgau]iauwjlqoidqpkzkeazx
klbfjwxkpqniguvq[wymwprcxjujljrexcg]mtjifypvknsiogypja[tfbqvlowzqxqefia]azvpxtyghflrgdo
xfiwnyfpxzaizzzhp[jsfakgounppfocql]gcgjvygypcgzvnu[qmwugdkvhxjknumcr]ftgvxsqochhihwnsb[acnafcpwduptldm]zcstejwdgasnvehwyot
repltebkzsojvhxy[chzhbjyllumckfluof]lhdibxgatvxzzhzflz
ilqmrorgodzrbfesczh[udnwlveyxsalbxf]pptfzbjvkxksoarpy[wffmfpwwxmuxfmrvmg]zatihmtjlhvjbzdwr
gjqtwvpdnhhqqqvop[hafmfvvzhqrnugo]xgrpicypdmzyjodfv[vtykgzaxumptsclyf]medyaqnemgrawbizrdz[ykkktuzmryicpimqgdk]wyxwdmdtrxcpdqhsrli
hjnariohxtbsthvcwj[jqplvjyvfwbbphien]yyogxtzdtzodxceve
tqajsqqmgynvntqf[wkovdsdotmgxjmmgmoz]kyffakcqgknonqj[hvuefibelljpsvaa]santzrmyhmmfgsac[xevdggsuztwdjllvmod]osdymicaxgknwafiyhf
xgangxswvkcjsek[jrvhyhmomvqblucr]mhakwjcqomofhbdt
vuuruhdlaefeyjtemtn[rkewcsrolbjkvgnjur]ajuzfefffkgdtzfmfwu[ysqkcwziamybbcghjb]vnyxgeftjtrxeokaqk
ytfkhfnkxsuuddh[uorumsswhfhyjhnoqe]mlmhytefajriiwzln[ivgrtejpggcetxry]gtwlsddrscrxepv
zhsugwnutzaxunnfbj[oenidjfrxbnbnevjwo]wnscklrurlxquzhuwf[fswcwqtoexgrdguawj]knactvqybzyjdjdkdkd[hwncacnowaliolgzmlh]xcqfyvhkoaxjyrxggg
vfcdutbbpmmhmpty[glvdyxliujvbdqr]jyavmvfrqjztetyn[rqngwyfxdxofvqwo]xqcpmtqhrkoctux
zfeyzggpwatzvvr[mwnxvrajqdtijeqm]kyprmauvxauaeuntay[ivwbqplblehbbhi]xfasnjwliydlrcyk[jmalyrxoozbrang]lksylhfvgbezkcf
trqdnrlvoqyqyvjt[ekkkwqklawagqqprz]zaojypuwvzdghwkye
bmnmbsogxhtpved[zffxeokudzgkusvk]qcuxjdhqclszjnxdhd[rsjdhjczxtrghlxwh]vpekhuzoamazdzgufb[bgtmhavdkyhtwlwcqmk]qucpatddwrtjztpxvi
hwqfyynrncmhcsmrlp[vlaqdzxwrpawflemknd]kmvyzqfvlouluxelul
gnzpgjfxtsaiknapn[rganasfzfnrvxir]ooatokkxjxhzxlpmb
mpedacmqtzqmwqyfz[dcofwyebgsvctomzomk]vpqmhpoitpubjorx[thmfofpuparhszqe]clvrtngjajielkxre[mfcjhfugpyymytri]moqcfkrpazshwvh
fxskejrgulaixah[cwshxkapatrgudllubb]vgykjzaukwxoyeucosg
mgfyakavdeymyzxwa[dsvhoxfiuxixxva]jsxfqsnjgroxbmpiilm[kxkakjvwgwflxnnu]denqicbsmzvgtcxm
zfqnynrdbdtqblxnww[nzbnvcjtsxrdmasqtn]yoganlahispbjdyxqx[tuqafqcjrxnybeksh]imhkfmqdjiyfoqp[oennqnvdpveoija]vljstbhqatpwvkbg
lpzjqfcipceweps[indnzphetquilkxnds]oxyivnjttcuectlyfy
tfhhmfeomcdyuql[ioclczzniueodbtpbrp]wuiujzhxjbgdlqbm[iciypydykxiyqies]ptvkrvkragnibssly
ybllxqqxzjlhskqi[ytsvahdhxgwnwql]pzfzcnbxiypkpytv
cchwtoevekjgyqqs[kizgrwqwbhebxlscmj]tjbuacerkadppftxdpn
nofeoaawaeoepwekxty[mgapdpmakihrfzlfvpf]huhzkicazfkvjhgdvsp[eqtuybajdgdthtz]opgdgjzkrfejgawxn[umbakkosxdtfwcfh]dhukvukdwsevvcmt
nhzmrmtfyhjpvbsi[jghcdhdrxermnhnrg]sasarolrztffxrvh[tafrflhiydopcqrx]hbrwebrzutugjnj[ejqrvlcpqxtiuqho]xjgvbnuvoxjdcpx
dkizkqalwbetbepak[detgokxgkgyhrqzzbqq]rmwrqwolneotsyvq[fpffqdefoxfczyfb]dxwsppdngvyskdpfnbc
ygwbidlvlgwncfy[ouryypomwfwmnka]axlhgqfgvrfsmbs[zavmkhmkjzvpzlxpkag]bfewyvdthrjzmmjs
jwyxcjasntveqmblff[mudhpflnaxhhrphuwy]yyvtbzbohccozqj
ckfocickdlijiur[fejgtsphnigervnza]owlznrkbwqhkskgebbx[alnbdcgnktmjlnhig]dpfomgwzkqrpmicih[vovjambzftywljbxrgj]ihljubxxgrxrqpn
pygdmdnnbvnjlkacjfz[xwefajgruywjhysd]soepimqfbbhekifv[frdrobvsbwwkcytfv]aszgyodinewnrfdhh[wztqipflzlrwmpxefga]bxviyixobyldmkln
qujnmepaefnkxgrrg[yxdnlyihixwasibuy]qtmnryswxwzkuqw[ozuwcixlzlbiacytv]oylpudpmjaqgwfqvsb[wljtqzfawkmrnkgkvla]kgdvfppcbpyazklfdk
ijkbhnjcxgsslwtkuca[pxpiyixylcuudtwbt]ooerzoxehuqynhzmhwn[ynmgxzstfawvqihdhoa]bdrhyquybjddpuroto[fhnnpsgnxlnoiiqcml]oaibnvvqupilprgcyiw
dfqizqapoxvqvqixvm[mgrrcrzvjkncxlmq]xqcxnymsyxbtfebdgy[hfdfaxiuiexfdhy]flyhvoppwzigjxlytu
qlakotkuqswwtqx[xnpcrmswyqolvyp]limmsdyvzescvvt[rrpvvituflyuhyhz]amdxfzneiggintiyzuv[cykruetmmqucsbwjrh]ymobjslroztxtla
aiufklgicgwxdlaefc[ofaqlmhnwrwhjlleyt]dixgrgkhhbyopqkzmt[zhqupdyazgumcagdids]mxijcialempjslotrgr[lmwxkdqqijndgoiv]upioecwmfnndajajbxw
oiwkroaymbjtugfvip[hyqrpfdrfjppatm]azycyfsttguvudeq[czujqevgflhvskaguy]llsuolaevinsabqpy[sivsqswxfxlanvod]sswhiwoaxhqsjnynidh
qipfjqqbxflvnxgv[cnxuwbvnxndkoxcxjl]atoznchumwauytpqmgk
doncjsebymuefbxj[itsfdedfjxzxgvj]wpxzcoaybnzzzxz[hfxwmqbaiyiajiorh]einnvliwbxhjzxx[rkeenlrteubkvgrpmms]qbrpoghwjttgawgstt
tyiexegppbtbxzovpb[yljnqybbavpwbwmvg]unbjhlrkpjrqbxrtpof[bvbfvhvgtawgpydlnn]phdnwsbwbljkqchww[galszmgwroduckhyyqa]wgfbqlipsvntmnspge
gmnkhnuwwojgyybh[ivxthnkhjaevliiberd]crpicsxuksahuebnk[vogumtrrqupdjhtvmi]pcezvomttzmdgtelfq
kwvkuklbkgbxoyqo[cckuhlseweoukudp]kuvdtzbjeoormufjn
ewqcguiyodbjoxu[qgqtmjabzxbzjua]twmhfdmuudjrqjpge[xexjbzjvrungbvvmry]yuazblohcojrddhfzg
irustuljdmhlqrettvb[dgsukspodhlhcqabx]auntsiybdcfgxjmsiqy[oqscrcekuibymdwfcy]dmxibunjfmqjoeajyi
ppvngsfdficcpbmbze[gcazeiyfowcmezww]wmphalytgunmpjqatau[qnhrljcdkikordx]yqrsgeczwcwjbqfhfw
iniqgrqelaihnllono[cydssebiyefnljxfdh]ljpqnievldmltrpp
jzjmjfifakcsixsg[zmgaofcvdvtziindqe]mzodtodhvkiluhuzf[gqjguyslrtqvcesa]gwzpfqfyfxnncsemb
gdnmdicwnjwgpjqdw[odoslhoqgocoumxf]vodkzgngmshtzwjpgbn[rrhzqlqeixvxjbaldp]xsvbscotkujitex
nnewsdtgggcgiawo[kmuweskiapswdskgosj]avjieesxujtqfwpuis[tvulfkzyslzakco]sjhbzevzvglgfreyc[wzxjjpsqmctkyoutau]isajcfzslakogyuevtj
brresmfifuolfyc[hkeljqzezcsvzrcue]zswubkhczxziqxlty
xzohgybxqdxdwxfbx[dqcorjuppxguxgps]gltuxzxhdjujuro
hmyrpjbmwmyzijkbljp[ipbngzbreqoqcisbi]ctdmsssqkgrjxozcx[egmuzsmsaiodyyt]ugjpwtglzvshohbj
snumfuurpriffdvj[ojmagqzaktihjmwriyv]rgnyhbobphsfqgh[azucllkylyxgrlom]vhtysupgjwbwndwrgfq
pxjdxiuhqmvwufld[ktpvbdokrtdpxrekaf]mamfsijuemlsyio
olcpnpmilbzxxvqsz[ervozeicgvqskuenz]gcxvfthottngwww
hphpdxpbsbmzshrwmwt[sapciwpwuradyvko]dnrhabfjqorseajgr[abhgtcdijsqfndmney]mmsvtcxmoobkkaeevz
rtvrohugqesutzky[sjsvmjhonskkqwhis]pqjtzpfnvwsigtme[ckthdaxpibfximcq]peoffhphnstzruuhze
cazrddymetaqdtlwn[tqrvhfevxilaptinubr]opnhppmmbfscporp
ctclntnozqwmiqz[qniikhszzxbcatctip]wpoexzkaxyealqhcg
suxvexjrakvhziolw[pxjlsfocisjmwzl]smoqdqjoczuyiac[ojpwtuddbldiaruiamd]upfrpxzwnthfytv[xvfejrchuditjal]bxzvjvhoigqunomnikp
vjuryymolbathzinp[xrcvcqvbklvqtjnpzh]wugebbnbnzzvdmpg[kzdlfbpqgvbiyqwitga]wztqfradlqinyzfzf[abgygmhhsksnvso]kntwamrohagtdrsm
ernvshbquyjfymdthx[jjshkcpnxftyopjayzm]yidkdkommeyieirf[zxxkwqqlsgxpcdwlgq]zpjrhkyjkdkxoufwlx
pnevxgcsnqcdezwf[mnftbwqkrfmwcgp]rkmeslzoffovqheq[vxdcnglifignqqx]xiofsoyrslgyfrxl
bjehvbcqagyczepreos[swecagoxtwhtmzsjxt]ihbrujlisjdftzpfll
bdczzogwjpcdwyq[jptlwjoskogbhfcdu]sbfatvcosbvikmvm[njvcfwokqbtynugffu]qwhsgaqfunpacmimzhp[mulicnvulazcycscjye]oycycatwylztksmrfh
idpyubomejrcwurt[idytppqynyqvdajevmk]mykbzkihnmfcnfg[ghfxtsrfkqppejwgen]rsalcongusjamgcltti
gutkiuskjqzvbau[vqhivilwddgfrckjc]gpkuhglnqnlzndpl[tywjgkqskbdlsvf]bkwvgkdcxvdlvplmza[yeqeuyzuoqbypnwg]wsqmblkggadabss
zgirdbsohsmusxbiqm[xnuiyfzmegcwzuvery]mzjixtxtbdruckher[ylfmvkslkcukfdp]vdwcmqmrsnedjnvsomy[cmmaoebsohfrnqu]bzgstdhoneuzfdxl
wimnreygvgbpvafqrn[froxfavuvgvwirr]avnmgyvkwfnwfgudiks
edgbqmwalgtiurhmmg[vjzrrmbtvyyhwliye]mpykphdsaunzjkpam[qdcecrxescwvlxmpi]gkfipuqdcpcqodcptya[pmdbisdhifodialab]wjucsoipfxzkkzwm
xmurhwryxntmdwwv[bveccegjmwnppgio]rbnnbsqzutgyoign
koftdywagyijtsi[amffypsbtekqlbvlli]avskrcxhiysqqgjja[ixrtkpjnrhljddqzt]ekluhurkjnhlzaudnrj
vqbrbgtnvazwyixug[yrmuvykapxyyqxus]ehhkvomrgnlsofbd[mgwdwrvjwhhuynogqv]nyjsgnomdxwabameuss
upixiwerfsjxjvecmo[lhlmklygfmbxljvptf]qnlxnzoekmyoggtsmtm[wqvqbaemhanfxldq]msobqxpmwqyauii[khuvobspvluvghjhcjm]ysvqvfsfyanmyrbuxnw
xeawztjrtohpimzkw[umvqxdfhsyyxsimzj]kyhlrkyxcnyupqmp
hqzlqinkcowqqzp[vhdaljgjjfqhlrjj]gmsyhpvpblkaxiox[vhbjqxseofvbvzbshv]ecirxnvxadesrbvn
puqpygmwhwskicogo[lbkrenbngbzoljzuoo]tndvmvztkssolnom
dbswyuxfrnypetkm[lyuajkvfqzwpuon]oorgrpkhwwgtpzxc[guszbthjnajqffsofme]vcqjstfdtrxcuscz
clhtmgyxqbrzeipksw[mwuhcxpahefneke]bssxlwoelrrgsqcicz[yyrkfjczqdsglltdjz]xscwwnkcwstkpxto
ajsijhedwsivzvngsr[eqorzqparxhrbesw]lyvxgqgqguifrpuj
sqtxgdsfkbhljmt[ndqljydrgqwwqjayc]lttwcrsejwxgxkuawgm[nefpbdmgtizfijyt]dcxacpeeyuzkemb[otnbznolvwiervj]hdcjffxyhtqdjmaipj
kvohguactjmqrluci[tefqrqmjpzpsazfoe]ptxqfezuvtxphvy
wmawphvozqxqtmq[qqtumumswsrpsnjug]wejsdbswswrjitmq
pdzwixvmkxpsxygxmp[zfxeglxxoxtkkmshin]hxjmzexyabkviollfnk[nfitohyddbdfqekaty]poexvcemyssklhllw
wyyiqymjavixnwcnxu[xnhhsqavbnggdqn]gymwgjatpsojwfj
iqdkuwpqylmwhfvm[bjgqryooacvjmxtrq]dqhwmcafwgedohws[ucnjhrhnvekrgjefzxq]opvzmoismjdmsezvle
ommglribbfvicgmugx[msedauwycskyoios]qrhxlnihnwmktihzp
laphdvdlixghsmjpsq[blbjmefxvnjnxmmc]hnzsqzhaenlzcvoq[ppyribixnyeucvjlv]fdogfvnymyznuuxa[pelyyutyolblxzp]fqgcltvxupdobson
apnimgsoqfmqlgmjsvm[rdpnruzylevyuir]wwfenkdjpmqnvyf
ltskflhfhupifhf[gwtcqaatnfjdgywo]kvguorbhzxfqrhxnij
kqaeviepbnrokflimj[zqzevrvhforlozy]orzvxhevxtzorkch
uhsjyhwppwarmrfed[nsfzcvrwjhfuwjta]nlthyhmaeghygqdaxdj[esqbskelpkfswkvwmr]stzggiejdzkhohumob[snlnvsgiktqewvpxhm]ahojfbcfgxqmmml
idlikoogcxqffrufcqi[vcuenzmwggmbsknfj]peoviabqngzwiqtvri
rigldzvrvmsmyakcjb[wwsutfoucqlgorxnu]bcuixkbifegcmltqibo[szoqsqlnduhgvhlza]pcvurfgchanmngh[glpfevaugptbhqqrd]vpndxitsihovocvong
jwfhrlvcglbtbdlix[vmhtfcvzlshpfcii]gosuawoykketkzdhw
bexfthnhhppzzutg[ewpudndaewfnwaht]wlnqstzsulregcwgmzw[atroqzyofendnnp]idtypgwyeatycgpde
ldhjuqeykeelckq[qrrabgedfafkzize]tfjpjpzsafansvygor[jpuzbjptblhydidkek]bbkncsznubtpoiahot
mqqxpkguxlmvyyk[vnxxtwxblmjdxjkhecj]shwgynlewfeegfwo[dgybavttexfiaod]ruobjihpitxxfwx[frpidegurggjllhq]kcfnatekrezeqoqnpqn
pfelcxohsnhpzjnrp[bmnzwycytvwquengc]weaysvdqdkhrprcpmw
llmwiwxeyezezpt[densmtrbqpiuwryg]pbgadfldspoahjimq[ugideashgoighvpiwid]pdvxaqoufmuvtrgs
ynviititdvccfewheh[phaubuotpzjwqfcrm]spytehersqqwhac
ktjvhepsakhdtvgoq[bnejcglklonqxmygyn]kbywvhkayojcufnwr[ipiujgjwknxzefdphq]zcmnmxqhuhjwqiue[dueiqqteiuvgyggtc]rbsyqjqegupwxbazttv
pgnoazapsklgvmejjr[hjzazneywdxkaki]gfwcgiyhuaovsye
qorimqvzoheryivfi[usbcrrdgseveupnqadf]bvedishdaepjjnrgftc
thxrgxhchpeczth[eneefpesxkgwuxpnyb]efgidnpfdesgcmkqllx[jglvknahzvxyegxxedi]cupoduyjkdpyajhirg
ltabaysmmffenou[fiqduygbghbczdsjcs]drfpocohdrhunajvmu
rklvlmyqqxbttuhuzos[bihsvfaluvhdwqwcz]gbrlkbxpivsdykcjx[qoudfwhqcnbrmru]npquvyoxliacxpr[txyzvzsszqedximgecr]srcqshisakuwljrulf
oiiruuqsdsjguri[qfzwehlhoinyhjv]jwayjxoutcbbsxquluz[kbgrvqmxzsukught]bgspboampsgsivvuwe[swvxxnjbmcpffrayd]txmyfolzjpxdvqzdtq
resryrrtzhhnpbdrw[hnirhiummudhyylnky]gmwqolwapineiokcl[iqptxfvtgabqyxex]npeatmzdsfknpajsub
aqjfwyrtqtrhnxdmfq[xacmscejzrlppqhlziu]bxvptkrvkahygexqsub[vrzjqbhlpywxzenkod]lqvsohrjrymprniyn
obdgtytdzpcbnelm[scsrytqyknxdmzugidh]fpbpxshhnyxedvvna[fgebgketwucucajqip]cdmbxelnfsomsguvxdu
yuluzhzwsfvngixjn[gjmdiyftbqimhxiv]gxjmpelluljxmuhz
icsqqjcnwckhskoc[rhanawaofgbzenhxtfl]vsvuwijhjnaurwlb
zbqzykdfeunfcwslv[fnqtxugkwojhjjqg]vetgfnapdhvbdaiya
uxpnaesrcrudsmuxvk[zmffkqaufmoxgoelq]jldwuldydprcfgod
lcaqgsbmhyfmfszya[brvxpxjvmtrdkdmfm]cphjfsilvnsdqmpxob
cwxycngzriigcet[xltlzayrmdowajvins]rbfmarruugyqhvegod[nbyobbfqprdigngp]nkrwqcyinzutnklqb[ajhqjuhqzahxzjbk]nfyrxcupuphkbxjqlai
xqwbcunarmghbsosq[jrmjtqqlogscgojnldm]bnzhiagvdwgwhuawz[toxpipinabgmkbwhtd]uxpgoorspsohkmd[dtadhrgzvfownrufn]xslrmvbosoeoeaewnfr
lllhkodepygrzesxp[zeohwydmclhucevd]hbnsvtijajahmkclbei[byxhckkvqixiwtg]ekezugmyyavcwxtilwt
jtjbuoavqyjhlaw[vbjakzkppzloxxfx]vibdluddkdsdexqnwl[ofqpidngtagumrk]kfoqunkkvyoassxlgg[ngbosgdywnmslnszsa]hxpciqkkafpdgfki
nenfymvefbgzvag[wiqscyftlldcvsnp]pchooarrvfpzhwvcjpl[wtitvzxuvfufwviff]opjkauasyyfyspzoufc[pelszbarccpqtxvawi]cmkfptidaetuqkwz
hitjejomylbutupmkeu[qdzbydybpabfnlkwkv]bdlbevsgqmwnbolnhfi[qeujppfhpzjbtafrgl]zvirtzxdzoojcwfohx[ftgmwthtcanqrxzks]bsafidxuxypaueoxg
gclocruwassudla[imoknvpznyxchnrvl]qgninncvnnwjovnm[jwqccerrryoiwsqf]chcucyiszjrnobxal
wqlihvvkfdyrhbqu[vizkatngyvpxuwhsfr]mrxbfaovpijyrmtjxw[mrkexdpmoaarqfj]kmnbalnjnbjcsdulczi[rkidvuivyaequway]jmyicruofboygakaozg
dvyalwumbdjeaocae[zonftyvegiqiquqac]osgmsdmqoclweiqi[xhgqrjylvorhpfkh]mmpkmrsideufseuyaj[ogtngcelyserepmqi]kjezmzobtremfefqz
ewovyikmmawzzrf[hcnunsbuuzhvduvyo]pdkiewvktjzzpqwvpdw
pwfklqtvnpsajdvtyoz[gntgytituioaybkpjqv]wteojggsgedrjqdi[xzvkngdojribistpis]xftjryqatcesygfzoa[zddmnkhceqxmznq]bssablulgiiovynaqrh
ztqjirnmogqbcfifh[vyeztcrzfxnegdyeed]redtifioqpfzykudrih
osawcjcmfchcpgyi[ffwhlengegnjvwqehkm]rvtkttwkeoefydz[cokaihziodpeurmbp]spjznidsrkpqhsoag[mautcyrrmxsnrlw]dastqkwpjbubonqagfx
jctsgqoqjqtodkhvvuu[ylovawrcpwpnzkfp]xtjdibtsmpbidvvdh[mmaecjrzneokajhkzc]wbwaapxadknspjujtp
izxxelepmvtrpcb[xwoxroumisiqgpqr]lvhyjhchdicledub
lqvelunldllnngme[lomutagiggypbbw]hdubyftczrctokdhvbl[ymxlvpbfiojaausmi]uqvhoaigwswemktiu[iipvkifnptbwuax]nidlqwimfttkbnmms
sewpymbrjgtmkqd[tldvdouashkzpbu]qjujogijyyqwbvzqe[xmhewesgbeyrqkbfj]heapyhfvnqovmlkz[sdffbynjptvodwocru]lwqkbkjseujzmqprv
oegfarvdcswdpnss[xgbroqaseklyoxl]wticmsitljjhgos
bfhlklvvprpfgxt[wczpqxciyyulsgf]fhlzqdaxyerlulakhbi[xgklnelwoygvyged]ynhbzkafydsmevse[dfcrqsfpouuvsycxi]otcdmymmlomedultqa
pvyddrxqxuxvzfqfl[nipfbquzzbmecwuu]pxzmehysojqnpna
vthwugdifklqusu[fmffwynjxyagyycbup]eaompujnjzaowbxmg
djekvgwpzkgwzwardaq[sjycmrggjjtzpzoq]zgagtgosiowypvz
bicemnivninwfubpi[enghcgyjwfuwqvfcrh]crycaojgzeqgyxdq[zxgbztjljhdhzpoy]ygxqydxramuikbawdoz
wdigyfqqrkjeseda[yjezqvkmaqfkcxgu]dwpaveednjywzth
vjeaiuwrhweqviyv[twssdwyckfswwqg]bujjzsuffbcddcqd
ouivgjbmmsmiezanss[mltubwnsjkijprjae]dxjbngvqbuzmtnxj[actzjkmbxwewlhmpz]aeweucknsntthwwvkmk
hqxgwpeaugpibuu[ftohsergcnnghmultwv]oobxyesnifpglsyumqx[wthgkfckhzdlzeh]tbvnqcewxwzutlf[dbsokgifbtstadxjlyv]hcagowbeupbbxvnnudp
fpgthpsgglztrnrjvs[rznddjrlsjtdrnufotn]nfoxdbhyvovsaratt
idauaxxyrjljwtqk[jtrvbiyczhqigjxfam]bsmzdrpeytyegsvitk
poxzegvwjgitaomcy[eatpylidmcjifnbyt]pxsatbkkqdylippyjd[nuwjwmoghmaptwgm]tarinkguhfewrxedty
whrppysnyuopewxlch[tqeujwwbfviqker]qvintkkgeyiysbl[zmhfxkhgptetdsq]jazfxamrhsjvlcwr[ybdhlaudcktfgpjajk]vnedwkbznnxoegxe
wmgrbjddretekijeqaq[wxoqrjnhathlpva]nqrxdfrjrvsaxzgn[voeyknzetkswzmonnh]qexvtsdihbxdwzeympo[mplyvliqtgoezpr]bsjrjqbvgcrxwnpdqs
txicytmsosvlzftbikp[hwjajoqvcmhmitvqnh]gndimhsqdssjugsp
scuaijeujwpdvdlzf[byroacgumqpoawl]lofgfiiquoftdrrxnhb[vowfcxvalicqrtpvkga]vdehstpbvncodihewhv[tqrtdbglbqthqfjyu]loycwsbaxhkfanhnp
qgexpbjlhcciuhouo[apvfnzznkuufvlo]njoupqjamycblyd[tbviqvflseyhhsmxz]lvpemusmcuajelt
jvrllpusmfmsnwy[yqlfrmtxpvwcllrfev]hpuqtteqblrjbnkx[puadngfdbecfuhuvrqb]myxzjgttaacbhzlpipf[gcjfzcrweoksbywfdc]mnchtfuqvmltrxakz
ywmkwcztiqykpmju[zmkryfneelvtwfnm]zhuiojbicjnfdmsdhi
jhgrwzznkirrskfzfbl[ftjkmxrdyljxzov]wcszeohqiseprjde[ngrtygnnwfandfuvr]lqcatjwzlsbuqnzyhw[hdhijvlmfotjdaaivaf]glgrbynrgpcxjihg
ujtcxpupjndfftyfay[wzspgaqtsinvgbd]oskncvkxhimahafzkp[tbtuibverwndjkyrbtb]vubbwzxvzotdhtvvx
dgjxjkogwuxxgavcit[shbqapwgyduxmjdzs]sqmxfuntsqibnshlszq
byysjubuacsviouubxd[idvdypsyblnsmvvv]llcmcxizvdvtmksphjf
bfphxfyrcoddphmhwh[xvbfcujmhltkfiqaejg]wxxbzpwusjrylub[vcxoevvppeirkcl]bmsyjsnoixvozodjpm
amhqkszrkzcvumwjbr[wgobbxkqavcfedi]blkqusznjzozcwyatzt
chzanckbvfhvxoikx[jeyndyycqesiujnj]midrrqwphhqptlbgy[dcelctfpcmitlbrdu]wmrripumgjowiedxpcu
rbpkmcggsbshhytszrb[rjftwgbycnmyxxockku]nrtwwneopxuypblr[hovauqqiboxesfrqqfx]ytyygtytusfdjwco
ytuvowkwojtdqfjtmj[ssrmnlgjawuaqqrdpv]ugahrlchntdmkwkygr[ojlgerllesmyzdbnvc]zaztsxmsddgciyz[jdimgvtyvojseeavk]qvyupywbpmhgoppfwru
eirfjumdodlaevcsigl[befivodoxdnhfmqwkxc]qjaeppumixfpezjf
lqkzkupjsinhxws[oibgvhxxpewuebro]qbweuxvitezbungy[lapasshrjxcjgdooj]hmxejqpigbcprqregtu[pqqqhbjetacltithm]zhectfbzhtyyvkyazu
ihfadsstuwooioj[dfqkggnfiplpdcsnmx]ylmhqzhlwtxaxhx[yyqzppjaxhmgnlll]orngviyezsyopwfxmhu[pucykxnzcwdwnjzruf]axfmqcflmrxdldubnca
rsaoluhtqbbhahhk[ursokfyrzqvmjsq]xlniovtwozkeahaydy[nyualslnfurebmbnv]ehgueldltahorrpbbyr
lviuzeeixehupjezj[gzwzktpbujzeyypbqyi]ecapnyxygcmgfhgmfav[qclblpzrkfredwm]wcdfuzpoxtmzkif[okgiecyymbnmziyyke]zflgxeqtxzeezvc
wzpeboftsvuwnxel[hmqswpadnffutphylpg]hbapzwwtxulrfaenb[hgsimoxqivllbthuavr]jpxhxohhxhlhlfemuz
xbojluzthxlygkyzkwr[hjnkqiofmyuospv]gaglxxtcdnnbfvjubea
uxtugntiubziynpzbju[onxffxfoxibzzzd]wineojjetzitpemflx[jlncrpyrujpoxluwyc]fxvfnhyqsiwndzoh[lkwwatmiesspwcqulnc]cbimtxmazbbzlvjf
bezefpkmcyawtdlbnmy[yxmpaexxuojocuutf]gybqtynhfakfryzyoot[rzddrwizmjilbaevypd]wjfzotxmdlvmjcklea
psehcauaffyyegx[pwkfxlhukfaavgq]pprwkzrtyyghtmsciep[rbobphjpqsmeuvgrjt]vlobomuxuflrqfwjo[nijmtbnuuzplcprb]snfbebpcogbvkwf
cwflkfoevdvovrmn[xfkkrwrohqcdsdyuomb]ohirkxwgudwyepwtvm[ootlpxttypewmdjq]snhujgngvmxwpmagis[fmbwhgzljomkrdcph]pvfendnvzctahabni
eoczaktxgrdpwordn[rbhnrlgckthgxxuzu]htgvsgazuzqpkjoejg
wwadqndhcahxivixrpr[byzxpjmhnwsplkf]zgwftzdjcyjhuefzynn[pvifqpqbtfpvxmhma]atwcwmmvncdisnmw
cjbhnctazhwdvcvza[ydnxbdfkufaflga]tyxejwcbirwrznjbf[wmrholfqzuzmywhlx]yuglypghwrwzmduczd
sucrzntdgccanozz[dbyodxkqvfamarbda]iwcomrnnifahrolyhj[lldsewtcmdwovjto]kxnjfljadgqmjmmr[jpceairekkatfdo]loulprskwdwpwupvlow
rmkxvrnxpnlpgxk[ymfqtqhsulsvevgy]mwlnvrwgovdeimq
cjytdtwgtpfaoqpo[ekwzzukvazymdgcjbax]qmhoxsmtmokxfyggfsl[ghoubcwbxpcflxaoiqr]mhzvuhnaesfygwphehq
fjfuuxzzuifgatypkx[pqxsrnqgcfmmojf]drmywevzjvfsdwoe
aaltjjojczwavnn[wsduayllqabakudvkzo]lnkpzrwwahybafhnmlt
trzcoixqxcnlfmu[kxdaqkezsbtcrsel]aimhkjueidtzheak
knsjvqpezxmhuhawprd[zfschikoyuarwrpvh]jnwcjfkahqerhof[eiezpktdgiogoghnyq]xumsccawinipdfbk
qdxlgihyxpurnyesn[uoqazfufeeorudagpbq]doynfpdydwxymmbnh
hhxsolxzfchrnjue[qibcadmwrkmkbeye]xydgasalivcqoag[oyblkffxdgogkbjkk]denthwhcbyimeeyyb
oomceudfrpdpinwaw[umnoeimbzecoaprmqr]vnswrzldpdlfoaaaxv[ysmxmvvxuzozxtkar]eatvxgtbqcoquhhzzn
mrgnhaqqyhhvdfoo[brbrzbaajkxnrbkpsx]qknvrvpfabkczng
xtvcrctmszksrojch[bqfzfdhhsfkolghur]dwqpjaqisitqmhpnkxb[omfmirdtvkdoehc]dgogacudqnrtshre[nudirbvfeacxjhb]igdfrdrqycnowffn
vrgmsmohxhgyybr[shaciuypkvkjaqoho]dlwfavdhohiruaef[iowdifdsyckgfaixzbi]rbkuyahekeohyxnyxmo
giaemyheoijyiqs[dditjewdytotrevtph]nrcosaxnrsfnglxyrbh
aqpquczuuqsqfmiynf[rytylbwxvhzymqtqal]olufblbfhnqfhbdpjc[njyewyvnezayxeqkooz]yawvjaofjaqcpsaqnlj
ynntsleqhquylfosn[esbohqcciuuyintjnn]krtinqbvgjtfvdttys[cahezzmqcfayrtijrl]jlquffpwepfjhij[gsryvmkutwbfvekc]xwuhwthwkpiprtpn
wcifpmwramdtgbyx[mnetsyvjbkzlemkkrj]ghtuuasxyhlhdiqi[oidnivyrbzficmrkxa]sshjteaabilnbbv
jpzlvsyhfjewjsp[zaukqnrnkxuyblu]itarroefggdtpkwknhm
nxdmkipobgdhcekuk[edajmdcmxhcxntroa]vgrzzrytukuxdetf
elfvvedwjbltwcnsbat[wlyogdvixiwmkxvshnm]cwhhqukydgvfwzkw[hendekbuynbsgeza]unurlefaaduvvpbi[uriiixudeogykwckty]tilfmprasfargwjoeaz
ehllosfwjnemfpzkjbh[paefpdhywomalbjjwco]jynaehuopnolwbg[cusfqbvxlvqtqbuxgyg]dnvunkjnzqnxcginfx
jfdeexfzxrfxleh[xqkthmkzmmfbesrfa]ddwxrlspxpefvpkhiz
fpexyleujiphzrejgu[rjjuimrbnfxihopoasz]xiovbrwkxkchdagu[rssesjbgdfwwomrpdxi]xurzdbytoxjkwyzl
wtudecnnxchnjhuz[ntnjpmwnwqpqqkcevi]xibzynwnkahwfizkxni
hxvhhsyrupdpvjymv[jgionvwaxuiemcdtvn]riesyfkfymxxite
ndpfqkkiqgvdiciv[qwegblwhxefkszrc]ddticzcfwxoylaheuam[kyqomblpykgrsofpbz]woykqlgorinilldl
lupajnaqxzgawmnb[zfmybtxebhkalxwfwyt]sknfwfxgdqpbnqebbt
qkttfgfwmqxgpbcgqvg[zkftxwwbappqdllajhi]ducnsepawowmjggv[osygsyvnhlhkrzahzoa]iygudcaycsrtbkohbrd
akdvrmxjbjaahjcfhz[nueiutbritxbampij]vjirxewhgmmwlora[uauyvvwvrfhbxituz]omfdcitqhjhentxgfu[fucgdtoxvryasxib]wyvdxqpofoszluslht
eorazrawyakawjfxdtw[bpyrfrsjhfualcoyfjc]gfgrienuzeifrfvw
mcfhxjmwxlcreeloqkj[xlhrkjackiehnqj]iubxmjyssnwjolapvs[tnxnpotyzdxhqamjfu]qakefkzqtcahednybux[tosvyefshtbgasbf]uimrnuvlevqylbpkq
emyfqgrtebopsxa[qwacgpmlcpoitzmdq]weqwomfyfqhxmkjalw
dgnbvzkwdnxzuduvdee[palmkulrnlnjdyeavyi]cjgsjpbxpairrderw[nnoxigqxpkjzjhfxgxx]xdyxrtslnpmmtpotla[undscmvmhuxzohsdg]ghxcwnjphcmvttna
uppsitifhxdcjbn[yiqjsnlktwkbfyho]dpftntebjwcyuih[rrqikyarnxteelpkc]qbjeplbraadbjxoicjn
mqjlmaekarsttdmnl[cwdajzaopmbrikcv]vfhztmfwqcwsbdnyebk[puetgqkczejvdjbfqc]hdkqfycmizzpuoxumm
maldhmhtlcsjqyzrb[zjbfpjpvdszrqkpzf]xspijlrjyzjputpz[mcjmewdtmgfqutbah]hebhshxtiedpjpjngu
hiqikcyyvddlcggnq[ehsopbptguatpmyb]wfayjslqiqivsbrhedh
zriahyyoezygvjmepy[dujudufydhkqlbc]ndalzjrjswnjujfm
silotorivixpdydnd[wtsojgrfgugwoyo]pfihyfhusblbdodtej[hfclibenimixyexhble]gaglopphfrhqxikvw
ddejnfspvmvffpfyozn[odqqmwgalivbswfio]rbbkjhvnszgvfjtgog[fgvufpphptnjcmraha]adsajvzndnajmilk[ukslffqfzyvxyxy]njzcfhdqyrzzctmnxn
ehdmevcrfoeejfedbnz[cidowzljgyawbjmtzun]mxyjuechgccpwlxj[ynbdkyqvibsfwekcjr]qjilshucvucbebxmeyu
wfyklfdesrxsopcnj[otmmdkdasnvomdhef]lpbexhubcjmfwlt[maeuvtcgzoxemnreol]qbwqszxalocdbfbtge[wbvswinrpyzjbfrsr]tinsrsxtrfkizkeu
grorjgszsijwlhxfrjv[hmjhqmbipfjguwkzebl]kgphtaonflqlgbyk[qxnjzdupbhhsevc]tyflwvcpxchibnttwsn[ukpfpknbyacpxmoxzmp]dxzkerytewihuptx
csyjgthhgyhnjuxxg[sjqffhahrjyoqxncjcj]owwprabojlpraeyk
ibcaffhxenjnmvrnog[shqpfncawueqmpyj]hawlfakyplonsim
ftaeqqsyebdeveutf[tnifrefjkddtblslzwd]cbdooorsorxwxugrp
ioigxerknwyrzoztkv[ffkgwjfeowgtoxnyt]zhkhaqrcdjsvxctdj[ebntbwbxzbbqrdasjz]solgzrowmzozovz
jfmlobddfxzipyzyaj[qghvghaxzmuhrpifyf]idrqkcfvatwsyom[wncyawwmennmgio]luzaexvwjhxbryah
pjcydgylusqdexbb[nsoyssffvolztzns]mntwrdacovyfxcqfn
tagdiyuylrtvuyu[exjzdpmovyftjpxgj]vnswkkhaoldjfkwd
atowdglgkmbnrvyt[uzgadzquqpggiapdznk]snpqanyoeufutazn
nltynylwgqezegky[rawbwledrpbduldc]isupsldtvjtahlwjgz[upmovvichcymgwuoqrc]gyjptxtuaqcfixjuanz[cxzbiosnqkeaxlkrxh]yglfdtzazlkxgmrlel
ezensxwulgqdgytdfo[ozlmpzteuyjqrxocn]crruxzecnvrcpjurn
ycflwfbhueatnpimmkm[tbcsifgtkkwtxosxau]vsnyspuvhhfozxgjbbp[adcyzxtdknieifc]hjkfmbmxkrnksewsqjn
gffllhgsmlpxkktcq[wjqwhqrwepermblfolw]wzgcjyrpisbwyhnz[yjvzaqjsmdgazjuep]gregropoulmnagcvx[gfjkkejnxmpfbtecy]ufbqwnifaugffsai
xfrmlrlrhxsownybek[ryhsyltyflhjbmltndc]agtvigglsugquzbc
rshzvotgovlabfxr[sbuytwdobnvpwcax]bynmysulnnjmhkf
cevbpuyyvlutjcuutl[pfwloktlqbxfcogrc]dflejqcyvpasjowhsj[nscuwnjsrzehqamogtw]scemydqevrcuvhwxpe
nsbvubuyjrzsalkdwz[fooatkopdyvkxjgfho]jwojdgxqtlzxgna[vmkwusptfjbgmhq]xkzpfgkklnxunma
jovdewpqyfouyzpegwg[eigxaawljopqauy]cjvieeexlyiovsugif[wtkkpylnxtqrepkjei]jrdmibhhcftoeauh
flpwanunpldmcnated[unzsihvveyitclcf]gqxlznjbnpmiojuunu[kxihijtbrbyhkzosvk]xoxdqctctmroxoppilv[equfcbnltdiwdmahu]sxfloedvbznwctnuqt
wtktlikeigdndpyw[dspimpajtzfzmfya]rmmuigyferofztnuir
thnfrvngjhjrwdatdc[vwmnddbpbakuapirel]qojpomziuupsfysyfng[gkgjyjoovotmjwwgvrq]xxfsycfupudisdbtk[hnieklknhbwcfka]qbanhtkdijnnfegs
mazcgrfwolhhbtman[jokgcthhpopluovccrg]eybriinzdwjyfjes
kwxxubruqgrsifrpuxe[pqjcuxzpykriher]rcjvrturrhxqhjndj[umqwgmhgidzakfnk]nzbbrgxxsmkxahvqzs[rnqcmdjyrldnzrr]nhztvrovbpifyxbcvti
kgojbczgybkjpoz[nyemqsvkokdfxiata]lrstpiuovispfmuoi[jifgmwihkzirfnblzqu]dixnvdkqejtatylghtd
owhhzrmvmuosrtiwaf[xvdujvnkkrunymvh]dihbvchdelxcqsmlxe
atcmrejivvyxxbsexp[cjlvkmfgfjslzeno]liavdjycjpirlux
snvgwihgkhrsgdzysbh[bbyzthwnbpquvtrmlc]cdwvzdogbisfoopk
lccrydahkgmzirmjzfv[rkkdtcqmlfkxmke]xkercumbulkzrlgxng[deksxliclevazssc]yhidzcmnbvgacmdv[ucxflzawmxnmpxa]hrfaesdlnukcblbqlm
jdajqnzqyhcomekhejp[tyrtsgspmlmrbkm]nyfcgbagjplztrigokr[ntzzerjwsgafymxw]ftckmtirxfdfcqpi[pulepgarnqxbvlqmvog]qashqfzwglljzexbnsv
kjvalulqegxybfhx[djfulullrbsebeknl]bcxpgathyauumxcrsmk
fihxcyovovcmukir[gucbridfutpdnto]abzjiaponkgoposvhw[vpqwcnzmovnwdwwo]zrkqlpnszeioesnhk
nyvobmkhkbenucug[dwpifbppiwftzokarg]vxxalauqmooacfmdox[intaxgcpfajzdwmcsk]brknzsnhuukxjuv[fkheyxevpuphuflvzkk]levqirhqhynkthsef
uwdcywcarjujlnh[qvtowczbkenlghcmara]kfhcbnrkorcoyhkww[mzzwrpwwkrnnfavjxk]hcjjzxeynegdpfwdw
xtgkbqtzbeptcxndjxl[jzmbcxsmcrtjtqi]wnhqmctldgxjbrtio[brnnosnckhalqzqsyyv]uhungebnygpsmpzmj
xrqpqqsqazzlqcdglgf[ziiwwokpqiinmqe]stagyposntgyxnh[ubxzaskwfzlfrmw]fimsoerydnghxlg
bdqtpixvllcdhgfqby[xurgfxznrblksso]wgfyjdmpjqirhiqvgg[pbgnckfbdinlepkb]mqbqboepuqheaop
xxlhstlmqypoyhb[czlhqkifhucxqanafx]jkaaxiwxrnneudczrtn
jhcmhtveqenmeczz[rcpnnuwvwiyfjxo]bvtashqfjcnbrqy[ebgihcdcimvgdwochq]pmallgnuofajusz
ltzknsdqzdmbpxipt[golssizcvkrcmquotrj]nqjkcgdagjqzvri[xzehrntfgcnmgrh]devpsfftuonmevocw
wgklxpmeoznyxtukh[nevjkmpvlbaulxjieh]wopqaknwlwjquxt[mxzczmngcaxharjipt]tuvwngrmylububv[ryewaqhshtogggdvc]xpkbqydbwshscjcw
uglrhqngbxqtqmdlyym[ihdwlwfqiwnigvyarcw]miyynkctggbwzfkq[rqycaudamvwoxju]mmnzentjyyddntnpgxf[qjryduwnivawjepknli]toodveiqtzjxjvq
tkgmnxgifkqzuut[csyogdborjrnygg]rpcbucosajyyyelju[bbujqtlveymlqesvg]wvyfimibeynzhsotymx[tqxldisulrhuckef]kgqjgtaluastnwev
qifwiunabpnzezlmhh[ffwsncvlqpulttkx]wlwdpgntblnoubom[fksogvukjlzupwetlef]cfszpnemoifasqw[ttmonrrbhknspuqx]htucxamhxsoigvt
putioshxpafnkcwdejm[dellcuoevwyyhvwurpv]zezpevhlmpzbevln[rigyoryyhoxwlbg]zkdzexpizgsumkuiuy[hycpaavxiqnlngrc]gknnfredhsmpofldn
eknxasjdtsksamfc[dhtgifeezlgfhlyvfdz]xfttcwzqucrtngdpcmf
uyiazdptoxzxbzo[bmuglholukatdbf]ascjhcllcatoapyvn[isqfrvbbkzsxixjuqrq]ncwzqqgudgwrtxvzfe[spqvftdlddlfglgg]zrqbukmufumytpc
czefxpifdsqjjkoxgj[klwshjzagbrgtpiht]xofokkhzlnjplefofcj[xodekgjbgraikdley]dgsrqzqxjxjqftn
ertbujoaanuvqskr[hsgeexqdgsqfkiunhpa]orgvxylmsdlzeyjzf[mdkgzwdnvtyoogulx]nbapgjckrfxeniiqotx
wgywdqnvxooqjsefac[qgpmwggewotnmloq]bqdvbzpvqwadroh[bvbsnhmdurzcubvsno]ndwqyjenerqdupuob
patbwuitsfeqvswby[htsntyfmofqldcbwgv]zolnndvkaimzdmevb[feyvwvkelmujnppg]tjajsdtevgjukkgrwr
hoznvyznwitnxlvu[kigfxgwcrdmfwgsqnf]lhiqoaqezmswakdcd[gxmjrmvoxkdfmgcpqnn]ditkwvolcazfuxzfroy[qqlbrrwfedrgtrgm]iysjaakrbnqicefqxsr
ufrkrtywkhfhfah[vufpfwhtxzbdqnraz]kklboeggazttzui
tplrraxhaaaoczdpg[vzbnososnioajien]dvdckrkfdetoofpi[bywkgphzoglisygthku]gxtnstjmffnepin[evccrlnwjthfxhhqzc]lisguwkfwswblzc
lyluhnglmfippljtwww[wnkwnwwsasqbrnlo]nilnannzjbpgbjs
iknqwrvlcztavivxmh[vtfyhjzauqbyjchjt]zxmasnczpxlusknrmtf[yvfnxlrwgfxkdlj]otlivjvbvilezalha
xbrzzccetyjzrlt[buwwhcatpcchdvhel]wosdwuuzpekifdhhvpy[twwoaezcowxvioqsrrd]uuygkhojhlcofza
wqeintsbeqzjpuvx[wqlcamjmpbtqqzjcy]czhyqcurqkfnnkoltja[lozjcddygpevnxebmqd]avwqdpfxcrcvmalaczo
aecvebozlythtcfzt[uisdkrrjeboxpuclbg]sjxcgygpeuirukx[zeoyaxgdyzfkprewiyc]rdlnzpbwgztivpdon[sfcqbpfgffkchksmfjp]yfgrlxiixyurxupuoij
vnglyokdpxlgphpw[bjnaqkjojazyryswr]bekdduuwrqabarzwzh
fcggyliuipcvnimphib[adkvjaembjcqbcc]envpiocijefswhv
pgraswoweceiftu[khhpmbjghxgmhsud]axqjkekmecwunefk[pvelpeorryjcstk]lruensapttjtyxnr
jomdrazkwryxuyc[qolcqhwdidalguboza]fcofbrgowezhbyqckrw[wurpvelnhdewfoita]swxwyfynaymvrhleuj[icdlergnbqmowlxjl]vxcwgvrvpdejoybt
axbedlkxkmbvwacv[uabrmhoepcgtsdmjjzy]iqqpitszpejeeophjmv
gmltcuvpeuofwteput[eyxdpnceufobjelir]hvajyjjzgkyrtgvrfs
sfyyzksaymsvykmr[xjewfmfhhbrmwzf]cbzjmltnzvcodwtytbz[ewgckbdvfnkkyxyj]dfcrjyoakdyggbsxm
wxjalqmicwmwkzakcy[mothnmmvgypeacecvz]hbjasxlsbbgxpfdptk
qtsgwqpihqjgmjadkjz[skpdhegagxxbmayy]eaojrccgpxovqpi[ixyljrfgswullqnbzdz]etvomvkwpzpxxcj
mbnifyngahvfhtfhql[azcbyxkvcnoatuo]scgddcntikvavaseu
uciiofzqjkhndnzx[hoyxdxfahorycpfcofk]epeazzccheaegyobu[sculkaizijfqcrpjl]nrvfdtpvgoqioomvmv[axmvmzytxnbfcsjf]fccriiwmdaveeyamwp
sxizvuhprsyyxgfqgqx[zwszjxransryibshzw]ikquiagnkoqexlsqypb[zpuqrhaqvkuvhiqk]pvuqiqxpjtsyqgcyr
svjudmyxlshxbbvawl[inswkufalzfwoumcv]hrobewddabqsiuej[ulhptknpxcwqxjxanjd]osfyeygptwfjmvrma[pnuynwtwuulsizw]srhurplerqabvouelhn
islwmbcjeljkceppiw[whvcrbqzgtcfbcuv]tcyzkgyzdaekgnzzmz[ddefwmnklcddlhow]npzbtwmzmhjtzljnr
lgdjrkugqewlqxvn[wtvrzflzauwcxkyp]qbswluceqlesdfwy[kbtmzcvoubbiqfc]honrvxwcqsgphvkt[djuuancygxacmka]knseftjiunzuxdi
miapzpluxnmdfvi[edlbwflzitzghywio]vizzhfxgilwpwhr[ochurvodstmhiypp]rycvogpcnysngytixb[mqnrhpbvojfefcicx]zxqxoinunlkjvetkvrv
spsecopdywuheqbnm[npwovcwlwooxqhyp]hkuizzsdvysvhvmlc
oqchahhsrywoeteaeg[ucowjiwrzkfhyebbco]efxdrribepcvduwjgf[nvyogembujkkmcm]kmfrlcaeawrvofxrim[izjebqewubrbvguzk]ngmugyprdvrbqskn
vwlikshqcpgxqvqshv[izqveivxdxgytqgdk]abnvmprwbvwmrwlkkp[iffpegqsxjwfyvixtwk]iseiapjkgnkcepr[gtfhysdedzxwrhcgt]ktaeihyqegeozdfuz
aieqqwhwfwxpldni[huyxdcvpglqqkeyeia]teztoyeycqohfli[uqvfjzbsvttphqxsy]afsxoqbqvtxtgriuzjm[psumrbbtxdxlwpk]qwpuwevhjellemzp
surpbndlvplunisu[alnojwsmgbtaomke]zjyikoebzazpwql[lkgsnxodocsrniokroa]mrcipdncevvazafvkb
dkszjaqhbkyxwvwj[wykmzcvppharrax]pvrqzqhabqtuhrj[qfxnormttaxsldn]kxjwkrjwvbiutgnfnw[mbspfflblosguqzt]nifozavfsfkngds
uwafdvptgkfikprb[xhmrwxqxnbkfpdz]efhnfwvovbvglrrt
kozevksryerpsrgmub[dbtinyialvlkgilue]pyqdyodlttsnrsmfvca
mgfmdcxibcgzhrfmm[mzvyabccrdzlaiij]arnetejwseofkwqvxi[fylixbrjhxdfhiewbnb]wvndnswxdnbcktp[tetomqdkfmcndddruy]biuxgrvctlbbrqmxjp
snjnfgbtgpkouxlpd[vapbqurlxyrduxqy]meyhgdsbvkdadsfozf
fgknedldithvaoxqpl[mihhhdrtpjmoridqamt]vfupazymsipoana[ngqkziyavxkyukp]qqysmfkyaxbuytr
fugbgojgdeavlmrut[zpukymkjkapibmhg]mmdesmcwbhlfugkdiz
lhhhlyioiiknkray[omilmxkodlmvzhkgbaf]cyftkgjpvjvdnortlj[ifljdtkgscmnmxsq]nxtettqnuaotfsh
whayrxopbtvnpobokn[jfbobalkbfjxcsn]jjucgwedwbcfrdginaf[atdoatealbqhiks]alzapbxuvmivqfgpg[qhzdwsbvcbtlpchem]pxxskedydgisthkatn
xzreuonsdqobzpxr[zamxighfvnaxqum]olbigclentyvugtuvg[ysrgcksohtkvcqmksqr]gnaqqezdmnfbbnir
gmmabzkwsehkwjnevvd[uuzdntitdazeykwek]aebpajrwpyknqgx[kczhcuveeawmdiwljzl]ugwigmilwkczrcqnfo[piezzmfwnfdhnlbranp]qhremthdwdegacvptfe
tcqhlxasqmbwzuiuirp[kfqoequocdsfwqt]ikhdkpkmeezfzfyyilf[lrorfowgsqkflwauhu]zshoiccvfwohudsmdcr[zohspdmqcdvgagdknr]zabaqgsmrwkrtcuyct
fzanofpykognmio[ladtxyissyfrssobo]xqpwrgdmglgqhwawqok
hynipihszohrqwaezga[iqtpgjpngbwhpailzg]wfgimkpjrjnkroueh
lpmrkesaqdojkqrp[dcgsayoowgpiwam]arphrffqpcdntlxsza[ogneaqyckrvdcvqxbm]xlogrojsovrzfzjtjbd[qjoiyyatxkwsrvldp]gffgmieinxlfzpiej
jaeayfunulncspts[stghconfjhkqkrxncwi]kcnaqhyukuirsaeebp[vynwfnoxxxbqztj]gddvegwjuryfnkgkpqq[jnhmbdpvsxreqhoek]pgpikslhvbnmbxbkbc
lajiqiaxcxgpvsbu[bfetstragmoosbw]hzurjpxhecnadwosn[dquibbrojgurqiqd]aceccsnyrnfmcsd[quqxmzleqvspvsemjpn]noxrndgdrkffsdvh
bytcvwxuavajevmde[nhmjatzolmbdfgogup]qpildujniqlnfbmuf[gxpgorlbxpqfsoreuey]hcfyjmkoywueuivrio
amvudustnspjqsbpjp[wdudhbvvlgzbbbwlafg]kwpyjvuerzyzmzft
vwpklmfpzssyoifbb[bwtpxodxedpdsvgu]azathmhdnqkhbmrdlxn
iwzncixpjxypnmykke[wlhvfjbumhmtachoab]wtftbolwhpwnropnzv[zhfcmkbwizknymev]twrumqadwvsaciwbwoi[evodjtvrucrzgtwio]fmmbddkwwpaziycik
dkodbaotlfdaphwzbcc[ldzeemqiovyqjgs]qxibabdusgaistkru[usglloxgycyynmp]aaocvclsocababbzxeg[liaacgfxytuqudp]jvvqsypuoduyhvraak
bwzsacxgqkbjycgfw[dbnligvrmqscasutn]rbgybqqsgjvlonkut"""
parsedInput : List IPv7
parsedInput =
String.lines rawInput
|> List.map mapAddress
type alias IPv7 =
{ hypernets : List String
, supernets : List String
}
mapAddress : String -> IPv7
mapAddress line =
{ supernets = parse supernetPattern line
, hypernets = parse hypernetPattern line
}
parse : Regex.Regex -> String -> List String
parse regex =
Regex.find regex >> List.map .submatches >> List.concat >> List.filterMap identity
supernetPattern : Regex
supernetPattern =
Regex.fromString "(?:^|\\])(\\w+)\\[*"
|> Maybe.withDefault Regex.never
hypernetPattern : Regex
hypernetPattern =
Regex.fromString "\\[(\\w+)\\]"
|> Maybe.withDefault Regex.never
| 6239 | module Day07.Input exposing (IPv7, parsedInput)
import Regex exposing (Regex)
rawInput : String
rawInput =
"""wysextplwqpvipxdv[srzvtwbfzqtspxnethm]syqbzgtboxxzpwr[kljvjjkjyojzrstfgrw]obdhcczonzvbfby[svotajtpttohxsh]cooktbyumlpxostt
emzopymywhhxulxuctj[dwwvkzhoigmbmnf]nxgbgfwqvrypqxppyq[qozsihnhpztcrpbdc]rnhnakmrdcowatw[rhvchmzmyfxlolwe]uysecbspabtauvmixa
bqooxxweoytjghrqn[hkwwukixothfyglw]kpasnmikmbzcbfi[vlnyszifsaaicagxtqf]ucdyxasusefuuxlx
rxpusykufgqujfe[rypwoorxdemxffui]cvvcufcqmxoxcphp[witynplrfvquduiot]vcysdcsowcxhphp[gctucefriclxaonpwe]jdprpdvpeumrhokrcjt
iungssgfnnjlgdferc[xfffplonmzjmxkinhl]dehxdielvncdawomqk[teizynepguvtgofr]fjazkxesmlwryphifh[ppjfvfefqhmuqtdp]luopramrehtriilwlou
mqxqhcpalwycdxw[fkwhjscfmgywhtvdb]khadwvhkxygtxqx
ihekzgbwpjxgbau[eqpvqxncntbtsqn]mbtbcujdkbrhxdu
izikobnovmjzngo[ombcpcvshnedtndu]lnnmdkuapgnxpgyxcmg[bgnxdzmiolfvvaizu]tcvnrfufuvhgmlxcm
yhrowrreplrrsbupeor[nchtznfzbzwnogh]rynudxihckzattbz[dshxeaqusdlhydtm]rvqzuffg<KEY>[<KEY>[<KEY>]<KEY>[is<KEY>]<KEY>
qw<KEY>qz<KEY>qdv[qhnjhafmrtghosbmskc]ms<KEY>swtgzlp<KEY>mz<KEY>[kovz<KEY>fjqtq<KEY>hj]my<KEY>isirynftmtzvxvvz
fr<KEY>[uupt<KEY>qozxnglsd]kw<KEY>[<KEY>]<KEY>ah<KEY>sm<KEY>
wdqcwcbtpexduecepe[zwrcpctlwglgfpappb]zdadimzdcpxhxwde[yquulvwgyyzwcfsvkdt]thgziwclyxxfyjpbpc[<KEY>[<KEY>qr<KEY>dl<KEY>rtl<KEY>]ijezyezjdr<KEY>t<KEY>q
<KEY>[<KEY>[<KEY>[<KEY>[<KEY>z<KEY>]<KEY>
q<KEY>ywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtb<KEY>vh<KEY>[ik<KEY>xt<KEY>eunz<KEY>]t<KEY>jmp<KEY>vpc<KEY>[tn<KEY>xkew<KEY>gz<KEY>]trn<KEY>uj<KEY>
l<KEY>[<KEY>]<KEY>[<KEY>[<KEY>[<KEY>[td<KEY>]<KEY>
or<KEY>[ib<KEY>]<KEY>
vu<KEY>[m<KEY>zr<KEY>sph<KEY>k<KEY>az]lk<KEY>ew<KEY>zyyu[ebpoqgoife<KEY>lzz<KEY>]bif<KEY>cl<KEY>im<KEY>n[ll<KEY>jdgz<KEY>ktjrys]edtbmzmcb<KEY>pix<KEY>yz<KEY>
ftaciyszakisxhzjh<KEY>[khfshezpopvjaki]pdnnsqmgpgatvubllrr[ovjrouomglbpgvtya]ifwcvhascqptbvbums[cfpimraygtnuimiup]zeykm<KEY>hidtlstjux
nzgbxxiimmzsvhe[ixypsgextxvdckbjelq]jpklrvkhgzprfrsv
mpdlsziccgzmvorvm[vhxbfkwfwbxqbvxp]zbsxgodzhgmrhrprpu[pvawdsvqybgdncgxido]zuhyfbmmhzegohu
rdkteyoeleyhxdlfa[nrrzftpiqatsnnnsd]qwelhxwbpuwjmrjxmgq
vpdhtcgjpkrqmrt[gozqldncggxpvou]zedtarenbxskusqk[mwpmzpwraryuqqmdhrd]eoculislafmbqzy[okpddsvrtyrkbjtihhb]dvuadhnaxkfewhnksl
ivjfulhqfbdqiprzbbe[ezhkhqxcviwxbwmlnbb]ttekmmdrphuteslzwcj[iocuduwexawydww]qmrfnnedqtqezclpuq
tksplumjkpsjjorux[dpffmbayilzuszc]rsiowigabmredkfv[aurieaasmsrxufpo]lbwvhcrjfgomkff
uwuobjzxkgeugrivc[biktdwykzondbwiko]nnrtnqzhdhdwzkau
cjjawanjvbxvmvdmtu[kubvvkuoynaawzowphv]ssijoohfemyhrde
qlykdpnioshrexuw[tjwoswemjxylnqupgv]ymovhecbliuuzhjwu[ghxibaaourtzzogrynv]hmlndovkousrtbomlnz[nzkdpmqrqovnvskh]vdvntntzrqrhvcaxdov
tdhrefyrccgkdquxz[jqeprpsvvkmmldlwyq]lwhnimtgegsziejeh[gyefzqbmfnhzgtq]fmbcvbjtsriuicde[sbkkbqwzlluccpa]nwxmuolcbhtwcllmz
cakfzlwlaxgrzjpgck[toihlzbehdzesbt]azrsizelgzczqxwejb[ypecquckfavmixeyjgr]njiyddhuwlwogbnpt
jadaohixgxzjcopk[wopcnehanaabtklxnez]jgvumwvmixxxwaolxb[lrhmslkbmylyvlkx]tatmsbtlbcutcydlrf
gelrpwfiyiszejt[skpclwjhzgwvfbbd]ibwzelwwhvudmvoe[gpdveubkzkkxvtjn]khmkjslnkdlmefcx[fcwhuyiyvnjgfcva]qjcfuqxwmkyvvzuj
pbejigkioxtdjjzbl[uihultqxejdyegacm]fitsnuitopdzrxskz[shbzwyodcotpvoixoz]qrhuyetkmnnljfqt
yohbaryhrhuobkf[fmfsylvacrgvpnlqdb]iucbpagpbziaqae[lfcjrlbgxiytord]mhjlzecyrqcpbxsaq
vguohtnahunrvrfv[lwbganvrrgnasnkqjz]yuoncrmethwiglfiy
pl<KEY>ibizefgbr<KEY>uieem[yadmbpkftrtwjrize]fuzpxdpomsdxfocc[lvoahklovaxtucrpwhj]newpgoizivpqkpo[uloztzclhwixtcjhyon]qyzzqoyirejavchy
plinqqpqghkeuipqppp[rndecheohrsftgvku]ogsyvyxuetmdomwdmx[lumcfskwppjacuddm]uptsydogwyqaupdft
ewvtreckmjqvkvwgtz[leisttvtmrxnzjv]bfzzponjsjmepqjfs[knbonuuuhvtvteiov]vaejlijsnrpqppo[hvwwdxernqcxtxe]ssznbkhfmchmjjiahkk
rrofpphpfkeeqlxcev[ierkxtuduxxxbilmg]vmipzdomogxwiazla
uqmllifxqxwcskoj[lwrjkmxgwxwvkqrsajx]wpbkbsohlaeskzbv[boyvlwxpqpppcknocv]pgsvgtugmxmoexrvpkk
zupunwchccxqggie[sdcdhzciymhppyaaaib]izbizcvzvbcnofmqt[lvvxmcmydxruvudsar]gnspfiadqokusllygyw[wbcpnuppeugrqobtnu]mcvfhylypayxquurcv
ngscsmmvttxjxoaniu[wsfnnfnkwmjxjql]ijtqswaevexzcmgime
hkmykmrremccqxvfdps[izfaeewfadfhuwwd]yffzgiqtmayebphb
znzxj<KEY>nxhfydrhr[kwafvmygvlylite]hmskv<KEY>qyoblrygj<KEY>
gk<KEY>[<KEY>[<KEY>[gf<KEY>]tm<KEY>[kn<KEY>]<KEY>
ed<KEY>[r<KEY>]zk<KEY>[l<KEY>qn<KEY>]<KEY>
rx<KEY>xcjtdshxg[zvgg<KEY>bekoxidyx]z<KEY>st
q<KEY>vz<KEY>fo<KEY>r[kr<KEY>jvrryquum<KEY>erjev]mq<KEY>k<KEY>gex<KEY>czm[ps<KEY>zonkrrtlqdpgqci]obiynfss<KEY>vmzm
dihkldbnjicztjfrvga[qtlevmacqkefjomc]opjaojctoraohocxaca[ojldoulpocpcpexnyx]qnouppkcuggjmod[oeiywfzmbjrhtxz]mvhoarch<KEY>
qync<KEY>[cscs<KEY>]pq<KEY>gy<KEY>
lw<KEY>jq[v<KEY>upln<KEY>og<KEY>]g<KEY>tf<KEY>xz<KEY>bs[bgqzyhgud<KEY>f<KEY>]levofhj<KEY>cy[wbffnapyut<KEY>aven<KEY>]olk<KEY>rbbob<KEY>dwvn<KEY>
yeqipt<KEY>[up<KEY>]<KEY>[od<KEY>qv<KEY>]<KEY>ez<KEY>spon[sy<KEY>lt<KEY>]<KEY>
nm<KEY>[z<KEY>vxkrpfuwnyepcb]yh<KEY>r<KEY>v<KEY>aj<KEY>[rmilfmqzokae<KEY>]yh<KEY>iyrep<KEY>
pifzooabiq<KEY>icfqi[tvaqijdwxsbamxzg]zncutzbfmraagej
jpgkr<KEY>vswsjnbcj[bjybzimnzszdkqj]mvwmgdithrxecpselt[kghbhnctqnhhxxhdro]drttsuyvtuuygdtfaf[zohajxyfyjnqrigq]gadarjzfafqxsjxk
wivyofwdmipecdxuqu[trccnlbsvfbagstm]xajuejldffxzxfygsg
qsuxdmtfgpmlgkh[gisuuzaglpmbmydtt]qzyfvzryxepjmnr[mgsjrbmtxxzkadomelm]fqzjahepxspwkwpwd
pncauthrouncvjkrik[cyiovjnoesdgpeyjpvd]ajhonypsbifeghxi[wmudcxwbewumjbegnh]qetzbstgmzfruzxqln
qmkcddrhexvtylukq[nwrryzbnjnhvvgm]edxlyprwzzhgfmhz
iuonniejtavofqdqsln[ynjrsfsqrdsgydhpdvh]xvqtj<KEY>
ipt<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>]<KEY>[<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[<KEY>[<KEY>]<KEY>
n<KEY>x<KEY>ctinyek[ieguugfkwujnymij]rfmqypeekkdsttdw[rfuanabgfjgctueaaqo]vranbomhrynvjyywmh[zjncms<KEY>lfmkvhd]gfeoftxs<KEY>cgrzvrlx
jgazasxbickiiiz[duuskjowanfmieegl]cwgdwtrzpbfemqitbhb
lahkgo<KEY>eofjlocsei[bwxyguvgmenwnpwlp]jigdlgdjptkimoyipa[zlcyjbqohvmlxgxp]bmovqedgchicusqzq
jhkxinkbwhpddvjzgod[fypyyhptvewejlbwdmx]te<KEY>zn<KEY>anxxi[wk<KEY>yzh<KEY>]p<KEY>xcwq<KEY>sf<KEY>
sjedi<KEY>xlcnr[xane<KEY>pradlngiob]u<KEY>mj<KEY>oycpth<KEY>[wns<KEY>wfubwxkqhlflzv]sm<KEY>bfwpnhskzlkn<KEY>[pylbyttmhyggonlk]dwqkzjmatyb<KEY>geb<KEY>
kt<KEY>mq[cz<KEY>fh]dj<KEY>qliz[fkpieaipgy<KEY>jp]<KEY>zv<KEY>
t<KEY>[bn<KEY>snivg<KEY>vsk<KEY>]<KEY>[kbat<KEY>jx<KEY>pd<KEY>]et<KEY>kyty<KEY>pn<KEY>vel[xahfkfj<KEY>jyca<KEY>]mis<KEY>
ab<KEY>z<KEY>bnx[f<KEY>pjgocyn<KEY>awgs]hip<KEY>vpugpfnnppn[jhmlgjsufflkdgw]ldmdclrkorzjtbjqcrn
aljahmvdrraiavzv[tevjntkppnjqwovvuuh]ozmgagxzixxyzuy[zgefziawisowuyqra]nrqmsbwgqbfrxqvzu[zvzglmnjmjpmditiodb]odzbozesvocemfyis
zgdukwtswaosbrossf[ugdnezayjnbjuhpeh]knkvomcsgfptssifni[votpmaaohcyofgdz]skbvfugaaxutcmrmsc
ywiphurgqcvybiakgok[cscyksufsduegggw]rtvvvokrvwmwsvmk[oqvdxhoqfsfdwwm]sbzajtnbxzkyiwrj
nxrvrsbjsrysysvftoo[qowwnvlezexjyynm]nknzluizyzjpbzpevb[adkqviapkjbmknchtb]xsgtthuifmsqidyh
ejrplkjjbnjjouesaph[bdtybzkfy<KEY>[<KEY>]<KEY>xgz[zkl<KEY>invtn<KEY>tajy<KEY>]<KEY>vpznyeboz<KEY>fgh
ccjjszgrbozbpopagns[abiuzirqfzactus]eemrbqrkhhppvan
xeaifcibybamzzzic[ymvsqllvremyfify]ftgmrkhzswdpbmukcdv[fbyevcnnwtnodgxy]slfjznnldyuvair
ajmeryqwfhniqenmi[bdzlgljpkkgsvpjcy]hqzxecqxmneterlqizz[pzrbbprbhujzpcxhjmh]lvrckyomhvidbiapikk[cyyapugbrwlubpmn]toodggarcneobyz
lehpdvqjccdfpzpo[ssunfejvfxwzlzqy]dvhwfrwiipveqpb
ijmthhifxtkoubt[jcgoxkntpnxkmdp]rzsfekfmamzddgm[szvzrwthulqzcorhnk]lmgsxsjjcagkaysalnj
qmfgzmmoylbruqxoh[uoyinkzbglorxud]frtffuhkchkrwbxfx[urlwigeirzobvhir]pqrqujuwxueommaj
tzjhaiqumjufkzcvphi[lhfohqxxuoqybomckm]qjhpjkjljzekboyc[gvzfehzyrfaarfklybg]fhurcpaukztwesz[lhvnhfgpmunjukye]mdzcvgeehmchcqe
cbyyjbdwzgdhveyw[ockkdpwglixvbom]ozezplbkvaulagw[vmzfmqxplwaqjrf]upytqbnzjrclzfvti[hztxfkqwcuypqyhsfa]sfwcfhrnccesyncbg
zaclpaavkxbpjxse[dmuzswkobdcfmrejhaj]eqdwvpiphijpwrvg
yvectfptgdasqxi[rmpaospaiqhwpjwdru]ollajqbxmfnqmqrdce[jqixwgznolbepskpm]pmyfsrnbdcqdrhplko[pzblovbmbnbwjzsxrk]hgwpjhgshxoozdu
gpnplfnpnmdlhehgazx[gkgcsjdcfnxytzp]wamlpixcrqvbtseb[ijaxccauotewzkgu]usgmgqmezufmgqjslbu
jgtqghpjnbjkmajymfw[isxpkhlvtuyqpscvm]czbrsyeqmjnksov
fjsepwfaxbbsdxlcz[efiljmecvcsybpj]fsvcvvewoepnvqz
nxzdtgomsakdhwefrn[cobjsrlxnkxvmhk]wkfnuypvsigzcnswufj[ttmtjfkbnhmmdebtr]ffumzvnvgitjccgz[offnegtizuxhpqmic]lbhljegbjmldqbzryis
gnnsvlcqoatssjuijb[eaodophfeufuvdodj]jplhbuvzqfgvrqbuy[ezxxqanlgnxdkohew]vsukbzhjshwmmqdkzdh
shfhzsmqdeibrwgyr[slyyksjeywcnuaocadr]kdwnsokrwkajgnwi[zsfujtkhknplyieg]kijuvumdqvjyjpbhl[qyrlzloooajylfrsfk]gwqdkfpitiitrednt
zhmwbilhpywvxrza[tgnybotdqixzolvn]ptxzyjbayyevmcqua[hcmgjpycosutmqbtkf]tboiprpyhwgjceu
ejuvrirctrlirihunm[nfjigabdmqnkfoauuyg]rfwcumqndfgotyx
cxkwlruaswigkrtxxch[fjsovwltjonhegm]zkfawxnzxlkaqawq[rgfftbipxlmelfnpf]qhhslyyiluvowxz[bgxutaxmhxyxxdob]hzthuaqpiyeomlgqqcn
qyzwezoszvwrwiilglw[opryawlpulfkpkmuave]taxeqyunnihulfp[vzxzosekvamoofva]bbtonpohbgdwfmt[xwzkm<KEY>]<KEY>[<KEY>[<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
mx<KEY>[<KEY>]<KEY>
ej<KEY>libc[beglofnxveiorftulay]jslqibpnunabgqmi
uplsbqledimexhzwnkk[sfreaeitecravsu]exfxqlrumxaeasi
gicahlhkuxbhppe[cypyeqpzkrggfqrielv]pkuwwtbez<KEY>gtqhbz[oj<KEY>xanlk<KEY>v<KEY>qfj]eoz<KEY>tyec<KEY>
jtzwiyeueztuiwysyv[awibgssyyssrnuxrvuw]mmyvqfgaaraahzzen[rhscfvdrvagricw]qsqbnurcszgekmp
dxkeveuauhblqnq[oksqvawybtejxmdw]jrbwmyxdggncxitwcms[fv<KEY>
rt<KEY>jol<KEY>[<KEY>[<KEY>[<KEY>[<KEY>
syn<KEY>[<KEY>[eq<KEY>[pt<KEY>]<KEY>
ud<KEY>[cr<KEY>ucky<KEY>]qt<KEY>yblk<KEY>[yuw<KEY>nikv<KEY>ibm<KEY>]xv<KEY>
uz<KEY>[rg<KEY>]<KEY>
k<KEY>j<KEY>itik<KEY>[vkzunkivwcpvxng]totvodotoqiqokouz[luzygityrnpuiih]eadddxqveeuujmvnek[nyxhwlkatungkgm]bdhob<KEY>
adbbbgxmiqomckxesb[dmwxvrammletdiim]eiozjsockohijbiinia[zyjjubdniurametk]ajivyylxbhvkktrzdg[byxiykqfbvpfdzdv]zborzsvqimrhyoyhevj
frshflyhzegyezg[xxaoqtzxuqbamukfxed]klyullmlailfvcz[boefzsdpblwpbna]dbnxivwobykcfwogv
xxycwortiwhndrvlr[mspdwmhyqdwtctlyek]qnzfcwwvvlfsael
fnekkofpuwhttni[mlwvhzrwfdtfnvof]gtlyjqokjymvtkiqdl[gdjobagxsuhudnoi]jgcgyusdyyocqwwtatk[rjujihcuqgdpcbdnkco]iewvagokrzdhhhskv
dfadfbjefyinccgzt[gzoojtdlvqysetfihg]nlsriqansooflahzhoa[vlzwtzgipbaxudxg]htykxxpfmhigbdqsu[pzipnakgdfpajkbqowq]zrwedqiuobogirulfwm
wevlduhhsouwlqxdcfc[bxcvjwespxdkulgun]hfuhwpzgdgqsujeex
zweayhrezaoqibgvc[sosownrvumzvynfpvr]lzubqqqepwraqqdxxy[bniazltbdanpnjjjuox]tulybfbbzeiyidrv[zbebbcdzpcvegcms]jdfofmnlgwrnvann
gkmbgzvludgmjgnrkck[ijywdgxetrginhtaa]yiokddkvhxebbuyrwoy[erhxxldeegvsebr]ujqickibpbjpizhbjw[mtzvltxionpxygo]mbcgbublhkajfdfvf
ddjzsqkoizakmeifr[sigtlzmyyrflvjowj]dyqyfvpkhdulwuj
jivforicorwbkmccpgj[oviyldmrjjzboj<KEY>
y<KEY>[oggkqxyiyvsrmxck]asjjivqayantzzf<KEY>
gf<KEY>[j<KEY>]dcb<KEY>[t<KEY>tf<KEY>]<KEY>[y<KEY>lov<KEY>]te<KEY>
bs<KEY>[gak<KEY>]<KEY>dw<KEY>dt<KEY>
ata<KEY>x[uf<KEY>]tek<KEY>[xx<KEY>pr<KEY>svfk<KEY>]es<KEY>[p<KEY>kryn<KEY>]bg<KEY>
q<KEY>[dq<KEY>]a<KEY>y<KEY>[fbetcpbytjyw<KEY>]mqzvwjmgiexjfehor[ntwcsnflvlaxmfqh]uvubufoducqwacwio
zvygygjncwkyceve[knrtgwmfgpjlqdzusvb]denyidxiinzvmhkeads[nuqpppqdsbypxncb]pzqujhpprhbxvnuzis[zxyppxjfqtzdplvbegi]imswdcvwdghzhmyyoci
mpiwlfpsupluuwzyqte[mtyfeccxfpcorktwam]jtmnexxnxsdutfve[ktzdkimtvwbcjrr]crdupwumoriklqckirt
clubjinwpyiguop[xummstkqfygcnsu]rektotfjzzguums[hcxlqatyhaqponifaa]vdzuiclpdtepfqmbdiw
sswrlfxpvbjntaovr[cajokjrogvtnguj]jsyxzvoomnfbtcc[lgpureoznbgrfwv]rbrwjeeiqshuvkwub[gzvyjbprnocmpkyk]gzibarcxnwnvuymlxpn
wpdzryxwfahiwguwvtz[epyjrrvvjpkuogtflte]shadblrllcaigwocsw
osmgewmpcqugjqyddn[omtivijufzacwctoaf]rvlwqcfmfuazwlas[wbpvzrbsnzqnhygpexe]vxvfjrrcjutfivtxb
unyfptkouxbhwwur[atheuhcficbccfur]djycwrtnlttopnjcm[pyocjfcogkyoogo]uoogeqkztdvsgdj
gdmorpdnzddjtbzo[hxulwsrafnvyxokoe]flzcmbhukjwjfnxsq[bzqqvrmxihbugam]kwwzidcxteeodrcekl[vtjszsdbmsxqouutvkt]whnkvoierxzhehwcjh
laswazcejcxyzcocca[utnlyecffzypkiocowm]nievutnusvrsixk
xlcgrfodctfmyxvsms[bgnofwciyllnekkiqf]knqjmtgrurhsjrwahoz
enrcvyphrazilaqswz[gdxchlzickidnqfeo]wmadrvyuoczftbdbbij[<KEY>
agr<KEY>j<KEY>z[yptupgqukzyiwko]zegusqzhdpylmvhgh[ftclkimlyjeiqxymy<KEY>]<KEY>[lvmtxqhswljuv<KEY>]<KEY>[<KEY>ef<KEY>]<KEY>[x<KEY>]<KEY>[<KEY>
aapudqmdqsoadhf[bptieajhwtguxpprkdn]fiopmsokjtonmei[rdcwfyvsmtkqwtpzwcg]pmgiakezkvhfiqxw[bmglrvzatxatgooc]jdkxirlaztzghpcgiot
csxohvjhmjbjmsw[zgvrfjdvjkjrrsc]wbnhtwfofrquxtzynmy[smcwkfovyaozfhhf]yfribcdfykfzsig
mzvhznqsykmcdgkphhu[cmmcxolosuhnkmuwhf]gkzgbqwzbzzurzehdm
yecvknvwvjguxlytj[pncdvmrcqcjmsyix]nvosjrornnfgznaby[tzuoscqaarhjnslab]whvfxspoocikxfkyj
guaouikkjfrtolsug[tzdjiielpgytyhis]gwwwtmdeetytmerjk[sorwxqfcsuhbvecom]wmfmxfovbdjhajcaxyx
ouvjolrkjyetsqlo[vnadgdxvtdkqlgi]pivwtbhwibflcoh
puboxtiwmmabyqgn[zhxzdcswdaavgdaly]ksukgpnictzfxxsuqsk[feoibpurptzvrqy]tytogwcrtiofplr
pyeiwajmvimttmi[pkvpbhnufrwpwdwy]dwdpuymdrskpgfwp
uwctwjpjojxatnyjwm[utlxyebxsfrddigrjh]rwepcpjgrqeafmr
mcibrhjsqyketegjx[wjiejdvcjjaijnmoy]lsjoughndzzedmblz[ovdcmldcmntnxwk]gtjntfaikfbfhuercc
xkcadobnrwjczwpo[izovquqhogzhtajgcfu]feiizljlnxughttxhy
zovyoejioovblepnri[wpjrezfxmhepyyhi]lissctcyvfbtuklymtd[vtakkwrsocdxmyqjkl]idfjftptuoiheqi
fjylzurwqfvphvctbn[wtraagycimmpycsbtw]zdolnnawyfkozoduzht[wqccswxyzozewtayycz]zngifgtxacyrwiacyd
mk<KEY>
dy<KEY>[uss<KEY>[<KEY>[<KEY>[y<KEY>eth<KEY>from<KEY>dk<KEY>]cv<KEY>j<KEY>yqv<KEY>xj<KEY>[ipyvf<KEY>ocrk<KEY>]dsv<KEY>
gsyxcrknbxxyhvnss[zymlfgpcupgtzycu]sjucevsghhzpuqe[qldvqrwjankaiexmj]cacvncnvtlbnxfybngh
ndbxeywazfrnghgdjog[vncdnjelecbwcnuecit]obhfqkcyucffwbhk[wiboksymurccujv]kxhiktclvdsgbxt
ieqiuumamwhkexjene[tubauuniiqmzdntax]kxiqlujdvpjqqrtkiy[ubnpvsfjutgvfhpe]fnwawoyfoqqdgyr
lromgmscqlmoqtqrr[wbndhgvivyrvevwpbd]fjvqzyqdkqfpica[isfiiygygruduhleff]lbfsdwsbvndxjord[zmgvcnxjevefjnqx]izvrxpsfekwsaxhzg
vfqitwljrqvsyilpb[ugzycuwrexfoavmalm]dshatbrosrihtwpf
hduooarqszvabcwukj[ajuwsrthbgchctbyuyj]tpzioxoqtyfuwtdccn[jisrxrmnmzhnhotwra]swseywswdlsbzzqqlv
aarocdgubnvehgg[xvfugpdczaccgttycv]nhzocbyrdhlppydelyq[uloucbldnjeulomssv]ayxgxkrslthaspz
dhyljzgyamlcdmmz[zdkwfrroodcyfnfie]zkwhzngaidridcagekh[emzeeodcnuvzddnbm]vtwokrqakoovvcdisvm[nzdlsyrpcsicoedyx]rrnfnhgpaeqtlxv
nxybztwairyftfvig[syeyundkruexgbwyvz]pspeqstftxbbaevhql
sbbhfvvgyscleyxzki[hgjoiilqwuiiogtt]sblfjsptehcxdilpgw
fmynycbkkkiwjllu[iolpwypqrdrnkitax]fwfzssjntanttkkboq[afgwfwvsudpprmpne]fbzh<KEY>fq<KEY>
jcyrspmtz<KEY>tomkqab[xqivjfr<KEY>adfvtfmp]fxkhdbiczck<KEY>whil[ztemqpsvuwhwhfdfip]zx<KEY>etcaulofvxrsak<KEY>
ozgx<KEY>k<KEY>tp<KEY>xsnt[txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bcjgsvsfzmvjkl<KEY>]bxjmkqkynrusvvq<KEY>
wof<KEY>tcugalu<KEY>[qdgdqupqigweysdhq]s<KEY>eqyqaz<KEY>unofl[iorcsdtwdhf<KEY>jh]<KEY>d<KEY>jffsvsz<KEY>flax<KEY>
icrm<KEY>vzysqefbfgpae[uypfoutavxnzfpcfafy]moghronhxpgorkpypoi[ayrgvytktzzwtfuvfxm]ktoiazynmsksawusbsv[vypyasahxszocsfrcx]wyodebbscuterfrji
otrgqclsvnjpznt[dwzibvrmtngomacr]xtqtbpxdtejwbstddr
csiarmhcmunsjogtwp[nborrnynefhrgwy]lvsacfkgakkbjyny
ijejwezkizvuswn[zfkgmewadvwroqibng]kqhmbrdzuvhcwkwxfwe[mgopomvjdemllzygc]ivzzvgcwpmgjewb
jznavprnlcygwvvj[eobpbcbuqceogtei]jilcppgbqnzzjrjjjx[xurpitsmdxtiihb]pkwkdkckicticboagma
hrarppjudvbccxdepdg[ksabupqjypyrwctd]jzmkavpyparwxrivfq
kjtgdhvqyzisomc[koywiyiymrrjpbqno]vbbusjzesxjpwkrh[zfalkzmohlxcdykl]hdctcfabyzteadzofca[vlbsevgalpsvreryxda]oocgdkoeoxgepsikokz
nckfsyxjdgmgcdyqoaz[cegnbhaksrdfaokttjc]rmfzhgwbszywwzbzpe[nofsbyxiguiaxju]vjjitkzyrugozdspwjy[gwkdakutwllydivtnns]gswugowdiouemkrf
evjgxyciglvcnkjdep[ixmlhpvkldxvcerjb]eqpkpmyqvctcepuljz[aylvsdrrbajlptvfeo]nqmtctitzqxeluw[pkylojlgnaunmolry]patyaqnazqoykcls
yklraufwcbbewrzdnl[dfsdynavgwiwbkmmpo]atqaaprzieowbqafr[udtaocwgbvqqztkykeh]eyzakgtvzrmejksf
gplhegstsxbqvxtnp[sheoxtsrbdxposgmtx]fazbemqbzmssyce
ulhekckzsguaeuectg[msnwinlfedcaqdyb]przurxwotscdzgtcjv[sbqdcqeculwutvfecqm]mjosilvbpgaawll
bjohxvdcujujaoxe[buibijjxplrerpiphn]eorjpmrcugznwsi
yflomjbhtnsgkkx[hhpskaiqhzlmbnpv]lgsdbeankbosyptonh[vxodyzameaaajwc]nwpmycktztqrgmxgbg
eajkclofrzpwbscfuwv[vgcyrfqnycmarafkjc]yfrtobkpkwlmgyckhmt
czamuejkegyxhetxmou[edrrdhmhhtxvpoxvx]wbzihlibvexqyvclzml[dnzwkagaeyicaojzg]wkireqqnngbfxsygz
kwbjoaorrluxekext[ffjrmxvgeqyaoartr]pwxypyiquumrhbz
pyxpvbqfwlpnawrygi[dtqrrjolckhpczlk]mtknbyltlictunxq
cgwtgnafiflwgoims[qdbdbgkqhmtkzmmyuke]cuhipgoscmxtoihh[ieqobhwtcxsehgils]pmtyremzeqhcuinxs
lmcuchgkedjkgbvxjdw[jxqmqodwyieikurcwf]mkfmofgbnxsmluu[rymmyeyhyncfnzobk]jnwjbmejttstvhumye
qsuhfviyinfcwufzu[pqmeenwhbstgguzs]ypqszcvmaxfqwqcvqro[xiofditiroisnpbx]vhftrwgnrxoxciva[esrtbbadduxicftf]vcslxziacmscxaxvnbs
bbfcqaoedfdwphomkh[jnslunmdmvkiyup]gfnnjqweocbybtjdtn
srjpaxfvehavomsjq[nqqcwddbzqvxdacdep]hhpbhajjqaazpqyo[fclqwfkctufgmkqm]pzkwekfirzlcgduifqu
kfmoszcssmucztdn[tllxhkubjuqjmgfeqw]djyeyajqakxkoxpk
peeaqxjifuloiujd[tgplullzdgeqjononx]lsmrbynngeveozz
chytpljkoqzhxfu[izwdbatnmmzzttst]pkfsahxrlgxedvsev[rcxdfirqmtavigilk]lvrudkskrxxyulbjbe
iatlnhdapqsyskgstls[nqzlofurrzibukxddw]yxdwqadthjynwvatmp[bdkndmhtngzerzwqgmx]iclavwyossjrhtoqf
vvanifuojsytdel[dmqjrwfgjqrcyazxa]mivahklphnoapabp[tlwiiuvxlonsucr]fccfhxkvvqeqvclcnr[rankwbxciojgzdhuuu]eycbcqhnkawkwmkxb
kyqnkbwfvcarqcrcfua[toxpqnxiuyvfjlekjk]hfponcmqqsfdzqtlgm
ksrmipfvtrgwofiqxx[dxncthyfpoivapdpf]tzlnjrfggtbgdxec[<KEY>[<KEY>[<KEY>[<KEY>
<KEY>[zkr<KEY>ibg<KEY>cte<KEY>]rkwpwfppboaxzgkbw<KEY>
yebynyhsovfufkhwoel[rqgwgiuuztoboxqo]tbcahalhrqzpqxhud
mxvixuvpntcsxjzvpy[<KEY>
k<KEY>zc<KEY>c<KEY>[wybonbamfkugypt]gnjrawnjietdzhaf
ufmoyzcmcxoqqpsg[hkdzmupftmazbrhul]mypsxfpshzcirslsq[rumehwhrobhrjstjd]tcdatsxbxwzxseileyd[iwyafcoefsrbynl]vedzteatonqliwgyj
wtmyhvmsfoxphqrusjw[ozpswsyjxemnczhga]xeplvzvjzdgqspqjv
wxyocgbulqhbzyekcln[dijevkhdfkfwmppnert]uuxxnhhkbmcegbtugap<KEY>
ij<KEY>yzgrzjonlq[bxx<KEY>rfelsyxkyxrex]pim<KEY>bbzahdd<KEY>rhudyo<KEY>
yd<KEY>twdjucx[riqvhezqqrwpizvn]ppt<KEY>bjz<KEY>zxy[rbzbtfnnkeyuvjqhj<KEY>]hn<KEY>yy<KEY>uf<KEY>zmk<KEY>
d<KEY>td<KEY>twahcjcb[gumvtsackxh<KEY>jebt]gdzjirhxegmrgishf[ueivwcnfptgagdj]kzqyptwgfykrxqsc
yovgolzpfuxumuusnu[yzmsckgxuxbcfhpovdi]ydcgpjfgjgstljbkc[jnxpktvohnxeoett]wijsttknnkaxhyx
xaajqzktqfslihurb[ssufsbsajcwrysbaweg]odddpcsenmcxilrkp
lhkzyewhnntocluc[witlpxxovbpaeue]zokmfkrsuzblnubzq[qbubewghnsjcnbku]xicstwzulnzadvwgv
pzuhirxrvaghkajqsg[edyrpkukyvidoqbabcu]vfqcnorzlzxypla
xythdypgcqkccfv[zrbuwbhkohddkmbj]dbkreagpyprchmoktz[mehstplzokdjkasge]bypysrypwfqaupkwmad[ywkktyjruqqoexms]xdvcvnaeuiwdtcjcwg
ebmymncvgrkqlusommh[wtkwqtpboedpdwaxoxv]iezxkyrvialj<KEY>[<KEY>[<KEY>
fc<KEY>uug<KEY>wyk[kazerfwbmgeiituwksg]nalxpcedxoajytf<KEY>[ll<KEY>gz<KEY>uk<KEY>]y<KEY>jd<KEY>
lj<KEY>x<KEY>it[lhezgr<KEY>ll<KEY>]<KEY>tn<KEY>[ez<KEY>kr<KEY>jy<KEY>]fe<KEY>sk<KEY>rav<KEY>
q<KEY>[<KEY>tik<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
gx<KEY>[j<KEY>]cid<KEY>my<KEY>[u<KEY>ef<KEY>lil<KEY>]<KEY>[ql<KEY>]pl<KEY>
j<KEY>ts<KEY>wjrdr[xtqorzwdmhunrtevfb]qqxbyumulbmrsbhtx
yoenmlwliczccpkolc[xsolpcnqbbkrani]tzczkjomtarfeqiq
ogxowfxoqczptla[ayzmunzjrhsyyit]ckixtyzdkicgemx[hhubqmeqeenjuwuclx]zjhusfgvemklroia
wtnnwdcuqnxduod[nugtcdeviqkajsqxgvh]ujsnisiydziqndzgtn
eylerocwshewgerk[szefiobgoejulsas]jxmoefzlxhchgmspo
nnwqedoiuhqmmbqewzx[ocx<KEY>[<KEY>[<KEY>[<KEY>[<KEY>]<KEY>[y<KEY>yn<KEY>]<KEY>
tp<KEY>[s<KEY>sg<KEY>]<KEY>
uz<KEY>[ge<KEY>fn<KEY>z<KEY>]v<KEY>[qz<KEY>]a<KEY>t[<KEY>kub<KEY>yug<KEY>]tk<KEY>njrdtj<KEY>ilk[aorfkrzlpuhgozwyhj]k<KEY>wxqqwfjxawbj
ivqhauvcbmbzijrl[lbsmgujvpbayaoy]kteathfvlzvbfzdgw[<KEY>]<KEY>[<KEY>
vq<KEY>[kp<KEY>[ry<KEY>tax<KEY>sn<KEY>agr]sh<KEY>[<KEY>
d<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[<KEY>]<KEY>upt<KEY>
kbkxceso<KEY>j<KEY>yyn<KEY>[bkintqjcoqshvve]tor<KEY>agbkbxos<KEY>uc
qklkbdielutwmtwkgz[dtruujvmzvmannceu]xmrwrcevkgapcagtuof[ebouhjnkpgmqairnh]trgbvkjhgjvqmceu
xcoycanpxtathanw[xdfzqcekyrgixxcc]zpbmkgrykuvlldgzh[zltkqabodeywxhtyfkc]jzetstuqnplogpkjyx
pirttznzezsktas[ogefjszaezeqipdhy]tfzgyjkulhtyuhnvf
kxyvrtcpdqieyro[wnvmnmiobotxsispv]qyvdfrfhxkjuqwdtw[qolhrtzasgthtplihxg]gfjpittpnbsymvnotyj[znwgxnufnotguzwgwxd]rdmgzgfprxmavttnoz
mubjhrjxqggcrus[ammff<KEY>[<KEY>qwotg<KEY>]<KEY>ef<KEY>
xgwckmpjphdwvzujv[svfqqafftzlgoifup]pezixwriwatkcez
mfgtxxoygegwmitbzkt[qxivglwljmpsfzn]mfvhkhhddithgxaokf<KEY>
np<KEY>[b<KEY>]<KEY>[yqv<KEY>ado<KEY>[fcf<KEY>]<KEY>[ts<KEY>[<KEY>
lt<KEY>[<KEY>[<KEY>[dl<KEY>[<KEY>]<KEY>[x<KEY>]<KEY>
emf<KEY>[ub<KEY>jgoxfci<KEY>tr]uz<KEY>xdf<KEY>cb
tl<KEY>cbaqozlwn[lbupwjeefgtoovnrkkh]sdzgkexzxzcpdjgaid[qisspueisheejzkfxdi]inhx<KEY>uec<KEY>kpenqqf
fdtrgsgechhugwnidpi[dtwwiqlxgtadmnrtej]hdgoyjhlzdrcjzvl
mtglmkersierfaishps[gilijizfqdzqihkbsd]ieqqthavsiqbkxvrmll[oxznuqiocyxjzymxm]epuxtetrnfrzrlqd[gooprerdkioisowygrb]zzowrurkwngpvvh
tznoyelqlffpalatbs[cmtlsjviihyavtxz]lphzihbzjykeuhuzpg[xqfwolpahmfquhuh]rpqawvkxodxmvfhswz
ybityzvtpsfbovx[yrggwxpkqjtzdvkr]gphdlfythiokoitpcjx[wmfvcehazqfxesy]utjcvxaybxcikaqgrx
olqndwuwjvfqhxt[qfgqmmyeowawqckfh]ngkiagyxtqpdwbrwlm
ukuozdurxxrvljkoi[eysjyckwyiyuopa]fconkkukvvmgnvyn[nwkqsifcwlzjurruho]ryslsdfmhgesmdf
tlchnjfxtkubrlta[rsqsxplnikmqxsyhyoq]xcytyjjduledlzhuh[qudvljyfmodytzaw]hspqkfbkjtsvcwpl[ptfjakjrpvqcqcuhmf]inxwobxnnzfirnvgmmr
gaviilzxljsozua[vmqvdrqoqnztbdmzstt]ufxaggbphqyxgnpcgzm[zglcpiqjhahiqcb]tsiqxcvrwvqistphkj[ebajnjrqotekcerg]kciocwshxzksmunx
cgpgikxsukwvmwi[janhpuvmccsdahfk]rrmkjehchkefwnz[plbujeqhgjvljzkwg]ttwfjicxkkofysgob
girkwjuugyxtovkjr[htizrvsispydidi]wqdtgvsfnuisigmalai
ajbikjzwulcmizeoasw[pkkgiucjnrubiwqoll]gscdqocmpsuvfznqhah[rztusgyvsxaeqfmesh]rarydwrmadghrjtx
hxpxckfcwipinrxk[morfsambyhipqzwl]wzgttlcuikfpvywm[cyebxypkgvxhope]dqazfmcgyppybetn
nrisbenoupwrstlxy[uewucgmzkoyulfbt]bbvorytlrgqknqz[zwseofceynlohaooxzm]hf<KEY>[tet<KEY>vhctln<KEY>vx]jxflz<KEY>mn<KEY>
nmyrir<KEY>jt<KEY>g<KEY>[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvz<KEY>
sun<KEY>drgrjztz<KEY>xnl[mtztitboyfmtysqeqzl]unugkiwr<KEY>in<KEY>ci<KEY>
j<KEY>z<KEY>trlrs[tazackiq<KEY>gr<KEY>gz]zs<KEY>zv<KEY>uz<KEY>ee[vcfxoion<KEY>zbal<KEY>]ujdb<KEY>yn<KEY>[pcdh<KEY>]dg<KEY>tspltx<KEY>
si<KEY>kyk[imgup<KEY>eknlltlk]qxfcqnjbjtenubc<KEY>r<KEY>
h<KEY>gn<KEY>yn<KEY>vo[v<KEY>rkcpvakzvbsv<KEY>]eh<KEY>vmxic<KEY>fs<KEY>[pffckymkored<KEY>mx]v<KEY>xtt<KEY>jq<KEY>
q<KEY>zq<KEY>[wfluvctfqhrwznyzfsa]zriirahfdpleznfto[dugecvltxsfumxvjaah]lvud<KEY>nmsbudzxoadg
mvrjzvsrconakgifqj[ehgbxxxhfqcigyhuyya]eqofdufzntqtsjukffc[hbzrfurkracnfeig]zmahsqiqbinnlhnvrz[qdajsuhymeavrqpdoy]nspfggpgnwnalzuk
sejkhh<KEY>wpiqukaddwc[vwdsuuxtfaxqbrcne]njkrzolxoqpmm<KEY>
fumcwsiexfoqklovype[bzxfxytncrmwtfrojv]bfvsmplxarmselz[nrnsymdrakyaqzwivoe]fpvboftrzvkemjgqt[akiqkjrmnvhucjcxk]ynityzhxqopnjpslhg
msoqujlsilpcgchprz[gqdevmuryxipqcgfdwz]wxjkmuhjootmigfietn[flfcoqhksuopn<KEY>]<KEY>[pq<KEY>]<KEY>
ev<KEY>[wj<KEY>]<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>
hq<KEY>sm[vr<KEY>y<KEY>rq]<KEY>[e<KEY>sq<KEY>]h<KEY>dd<KEY>eq<KEY>
q<KEY>z<KEY>or[ujvn<KEY>yvsuj<KEY>]u<KEY>taes<KEY>knr[divaemcy<KEY>pn<KEY>ej<KEY>]dmgdiifbkggxpzmfy
qjttccgwnqwdehsoz[dfbrkdapobhqvzom]hqtnzkmtiunvomn
irxyxnmdlzgxmpg[ityfjgihvzrylygz]qollizryghyxjglce
bnibapdblbaoehfbvin[kmummoqopswsmvtgiz]isaumuoiybqckfvkhx
waimkuqinxbmazab[foxenwzsxkkupwo]yjelgjycvabztzb
exxvbdzpyswekjnfmef[tjmrddaazxyynamc]nambmdtnmfhtkiyqqct[patbobzwiwlidazpoc]nzbneeilwcjqnxq<KEY>[<KEY>[<KEY>[<KEY>[ee<KEY>]<KEY>[tcs<KEY>]<KEY>
k<KEY>y<KEY>[ggsocxmupmielega]esekvzvbajssesin[ipwqyvkwospydzpmk]byhqabwpjuihcpgipx
pizgcsuyqldtehjc[utwlsnwndcjqn<KEY>[<KEY>[<KEY>[<KEY>
e<KEY>[<KEY>
rc<KEY>eb<KEY>[q<KEY>]<KEY>[zk<KEY>so<KEY>v<KEY>tnlyph]efp<KEY>sfvr<KEY>[vxsc<KEY>hqnzquxmx<KEY>]dx<KEY>stw<KEY>vmwyawith
zjddycxtbubaliviw[cwmjgucnnrbsybtpxu]zh<KEY>kaw<KEY>tdlnjwb[qovxqaebe<KEY>omoacpxyw]qctfbtyvbabebup[bwqjuutjmbgfdznqfa]jzitebxzss<KEY>mo<KEY>
ho<KEY>rrvjayayny[kd<KEY>axnjncgvxhpud]orhfjkslldcjiok<KEY>ob<KEY>
j<KEY>ejd[<KEY>]<KEY>[<KEY>[<KEY>
ez<KEY>[<KEY>]sx<KEY>[<KEY>]<KEY>[zx<KEY>]<KEY>
ae<KEY>grav<KEY>git<KEY>ed<KEY>[yjq<KEY>vj<KEY>rbyneghi]l<KEY>rjgz<KEY>ixjx<KEY>[zpvvfxavievwanxkedz]zksd<KEY>kwtr<KEY>taoy<KEY>
mv<KEY>ajtf<KEY>plmslzxhk[pmkjinpckdvwjliz]lwi<KEY>crikkyoijkeow
fnwfspmlakldfdhc[ujbeoudcbtqjmjy]tgitkdutjdhlrkwbts[upqsuxqtzrmwgmbjqyx]ayaivsgiqcuzizeau[fiqnymhyqjapvri]eioouxtbfwduighy
dcuvsezsqwjnsvlqzah[jjzbyxctqhdxfuqer]wztjqxgjynojjur[zkiosthyfrroydaykyc]ocihuyyzvwdoixygzk[psaghlhtqoptvsldbdi]zxqwrhusqligxnoa
tjzqnocojjzktgk[omlfecncaondrqrvwyw]dxwuwvsdiehvzqmafo[ihbhwnmxkbkypmum]enkexramnrjgu<KEY>
ix<KEY>[pwuwcywpavudpbkmd<KEY>]stfjkl<KEY>jdobcr[ziugachuezezjsw]dzw<KEY>jfiexsbbxjc<KEY>
lc<KEY>[iar<KEY>[<KEY>[<KEY>]<KEY>[nny<KEY>]<KEY>
ryfc<KEY>ckaejcahgy[kymhoizkyffsxybzdta]olmhiudvbcfbkjb
jryuwyprwczmcczi[vtijzvfbpssohcdgv]qizkalsooznmasljh[sdvwxkvydoikgjtomxh]ixzqpazdakfwczn[tyjorxvairghzrqi]aunhzwxnkjqryibre
ml<KEY>ynvuzmmc<KEY>qkft[fkeqzbjanvjoieooecy]muvosxtjytdk<KEY>[gsdxscde<KEY>n]kv<KEY>it<KEY>zme<KEY>[kpn<KEY>sxurfl]ob<KEY>yy<KEY>
tun<KEY>[iv<KEY>]ak<KEY>[mx<KEY>]<KEY>[ito<KEY>nyerpth]<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
hc<KEY>ty[<KEY>]<KEY>[an<KEY>kode<KEY>agy]<KEY>
q<KEY>u<KEY>ix<KEY>arv[idff<KEY>dh<KEY>sshlinl]ygsinapdnmzvgit[xinvdhbqhbvqrjx]zd<KEY>vlunjkkhof
zyeynxvzd<KEY>iybab[vhgjepcwqjbolwnft]aopzcryhnpswgmds[yynbcrcgegnrpsk]munxtddzxyvzwwcosq[igdwjifdopnhwzv]oyebiut<KEY>raayzr
onkgxvprjaynfipxeum[jjwmjcepwxbleahq]ofvhiwoyxmfnjbn
jdwjapulavrgiviora[vnwjfwpsfcdkhamtg]jqcgsuleganytwsm[qajmdsarjnocjpq]lxpalpkeehxjdslu
mzyzoemluwoovah[bydwxptnmzqxdqfgdgk]hekhqzpgilidwvpey[ouhnrujqyhnlilh]qjarvqynycolakyiu[wzeffbptmwixrmr]bowqsnjgurjpkuc
jawvxlepzelbjymcke[atwksupwtnjjnkwe]xqqcmguandaqptp[yqsfhnssllituzzwa]xbgaqeuqtnclehgr
xumjolgnaowjdoq[obqxrncwytcvrsa]tivvsxdntkrivblx[nfiworqsxjvwyki]nxnpoipcjqeeukx
svkoyidvkhkvock[htgrjltotuunrwka]uqyezwkltzsjtaysa[tqaaskeswcllblpnozj]yizblbkqgvblvqghvk
lfqasqaubbgirmw[xxpjcwlwjsklklgyrk]fwckfwwekdgcesswh[xkcxlxtanadezjpva]naodeooepetabkh
mtbhzeufmgeskqsp[deibjhufkntahso]oxebgcgzvpudozi
epuzizxnxpmgjkabqfb[fmteazugbgjgozgsmhl]conlsruhnwdekaxf[zimnpzazgotaghhaq]gmkwnkivobskmeafcck
epbvuluuhaazalp[dtsthsijbzgbvwzwgpo]blfatalfityajcpmyc[bbypikyeizyfntdt]tcnzahhiwutntyt
vailqzvutssuxjy[llxrpxlpcojwmab]kqpqrpogogkpefajeuj[afzpfhjmpnestctyqz]mdggrbuuglbmweujgxl[qhheeepqrcbdfhlxoo]lxvrdwpugjperwt
roreocnumcerxnrhr[ricaoyebqjpgzazssc]xzuqnzfgbrcvfnmpcgs
uludakjsmsamkpmy[ropmbbvjvupftps]swngrcigiqzdkie[hjhbsazzxdxrsecz<KEY>]<KEY>
ft<KEY>[tif<KEY>]x<KEY>
bu<KEY>sl[pl<KEY>]an<KEY>[gd<KEY>ny<KEY>]by<KEY>[iz<KEY>eg<KEY>[<KEY>[<KEY>[<KEY>[mr<KEY>ny<KEY>]mw<KEY>
xg<KEY>jlmy[ayygnszme<KEY>ddgh<KEY>]<KEY>sv<KEY>mv<KEY>kz
sf<KEY>gimlzgjqs[vsud<KEY>khrjuwjgig]fwkp<KEY>yrznigiwq
bel<KEY>bgmjpcruwv[njhctgeptjieourukf]sgybshminsxktqlfxr
mpwnzwvblaseycnljze[qhrfygccokretvo]ydomrtoamoecceekrr[lgslvkhwnmsovxvhq<KEY>]cbyuv<KEY>us<KEY>[wrvxwjyyzsvxvxwpdq]amynjon<KEY>memftlnqa<KEY>
iniemtnmq<KEY>mxvpicqn[drdrbflsylzhzltq]orjcjdsbzijkfwhdhz[mrfovzdsugacpyvlaj]azjikxjuaszxpapss
ynnxsnsrjdaqbbaa[lyifxbzcyzenzpzzul<KEY>
<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
fk<KEY>[qz<KEY>]<KEY>[vl<KEY>]<KEY>[j<KEY>]<KEY>[<KEY>]<KEY>
dm<KEY>[xd<KEY>]<KEY>[x<KEY>]<KEY>[ok<KEY>y<KEY>]<KEY>ed<KEY>
o<KEY>xut<KEY>[yz<KEY>sdipas<KEY>gyay]xw<KEY>qynhfregxpwc[tjgxnibylfayarir]phswgvlkkfjjetrhdl[pkcutagssxligtwbd]xrvonaibaytcqnhgc
ivalpefzoxwoqycavx[wnrysytaesivblx]dblopqsupplgoom[vxtobrfntcvixltcb]kzktacrarmtwuhkcoin[eviwodeyddmsfkvhzue]drtrnlgrndrxgcp
aygkprnkwdzydlmww[firwrjxyrnqlvycccg]lcqurfdlcrvbzctz[cxzfxjybrqysasrppqr]domoafryutthljppcg
uowwwiqusrqkpamdm[cppbcnmcxpecyoey]ndmdrcadjoukusxjfl
mueapqgbxuyuttzaw[eojhbogjbfdbhyqjp]sxsjeclolvcjexxvxij[zugkiortijshaocu]mfayspauxoxdwkbj
swusnwjcduzzhsjhykq[jhweoafdbntsmxcg]fwqrvlhlltfeygpcnyi[wzibg<KEY>[<KEY>[<KEY>[ijk<KEY>
udn<KEY>dlussuatatj[phfqqkmuhvlehlo]cyvspnwlrcmatbwoua
lozehtimrottjudo[krocuifdrqwhsmm]<KEY>[<KEY>mn<KEY>cy<KEY>tp<KEY>
zbxlifyzwnwujvs[pyyyjxylpmpwgbh]iutvnonqqqtbxisfopf[qevehnvgqgkyfuqr]mqrcuibiihlwdrzd
rxlnsbgsuofdjgifrnu[eougczwqhpbyqjpo]rokdsivylwcqepdyhfp
yhzwpokjwnqbwtsxuh[ekjrlmzyakgkzlemnxp]gbktdprzdyhcifmigxt<KEY>
ew<KEY>fx<KEY>qmbvczdtw[wlbdrngfgnwdvkt]vxg<KEY>wndxlms[vupgwxfgfpxtnen]kfeekrdualqqnril<KEY>
awkkejmtiopfrqfasgn[alciuobkmtbxngulv]qlowmadlrlapsquuhw[hhtlyfkusvlwunbbjod]seacetmksrrodjqdffk[aunntgaemlyoabfgpf]yrlrzbdjfejb<KEY>kdtrz
uegpnmuaxvvpcsuzi[pxcbpsgaecuqyhvov]oiyjoyraxkymelqg
ffpelsnrffyfzzfdb[ymtulkndbgguyivf]uauzvyseztbkdvxow
omolchhfvuuzzbodx[zhvhxrqwbdhfwlnn]wyyrsjfjsfyafjfpoe
puihcjkezjyjjfl[cornhtqjyqlebvqyl]dbemzlxolqxpzoi[qeihkchqoewcabbwog]rlfloutfwlcjywygd[glqjydslofkcstjxd]oxcycaaadlnxfkl
hbxhlyelfyszkzyc[cdxcsyocdiifefpytl]wxefesokgwwvcrp
vdqcqggyjstyefs[yiskvcmdlbyuwzdom]cwmntthjhfyzlus[dpoubuwkbwrkpfvlgf]zryvvtowakcyclcg
kcpbllbamycbuynia[duyxsbzyzibjwejygq]mszplxmgtkqorlklg[kkbpz<KEY>[<KEY>[<KEY>
bpyvotpfgrefzidpn[pyvnycicdpcutcayrv]twcjgpggepbtnute[fdumsgxervdixwv]ydccutccndbxxfjrxh
okzxx<KEY>tdrfviychsj[ymguzlptohblvsj]of<KEY>jgbjuxhk<KEY>[ingfugdcfpjtyoj]xwplthdujgks<KEY>smv
jbww<KEY>q<KEY>rrzxmuwh[hxqptnyqwndsntckqex]mg<KEY>otcyy<KEY>uihu<KEY>
ro<KEY>qz[cd<KEY>av<KEY>z<KEY>]zn<KEY>hj<KEY>[gk<KEY>xj<KEY>]<KEY>sn<KEY>[et<KEY>]df<KEY>
iz<KEY>[av<KEY>ibsrkfml<KEY>nyuce]in<KEY>nun<KEY>k<KEY>vdhq[lxexsvmjqjzpswjyrju]adcnelug<KEY>tzceb[c<KEY>fky<KEY>ouzplrel]iq<KEY>rqojp<KEY>
mcxijhkid<KEY>ijcggv[buvpvujncpcwxvvt]xortwrcnebozerevim[ylisqiexudovelmczm]sophxrbvffupehspu
tdbjhtyvoiflmgdt[lbwyayxikccooiw]rbhpfinzxpaayibe[twvandevzmehmiiot]npuymvedotdclzovsq
jtfyyycvwwukxvfbpq[acoshjowooeituuy]xicaiqqcrtpkwtu[lnnokqhsagantfsyl]kchtjwkppjyxtwjh
vfzsxxvmxhdpjrlm[wpzhdncopnapfijmlcr]lqhsravxxgptgjs[wwyuluteptkhznh]tthklcbbtbvhauug[nfplnscrhldnwtdyzqe]ockiyqmpnksijbf
dlnpcnognelscok[ibbeqsbqltfskgcgqb]htrpytqxmucqlnane[vtltdgsfjrwohtc]sbykausqnffmqkv
kxnaikbdqxcponrlivi[pxltpufeegjrawwanax]apuwyiawecyuqhgjc[<KEY>[<KEY>[<KEY>
a<KEY>[<KEY>]ex<KEY>[ty<KEY>]<KEY>
<KEY>[op<KEY>ny<KEY>]g<KEY>gmn<KEY>im[s<KEY>kq<KEY>cl<KEY>riqvwlj]v<KEY>scumyxkrpmyrwz
drtuyztubzingcdvpy[ichljckfcgomhc<KEY>]<KEY>[<KEY>[<KEY>
ic<KEY>[jr<KEY>[<KEY>[<KEY>[<KEY>
y<KEY>[n<KEY>]<KEY>sn<KEY>[k<KEY>]y<KEY>my[cx<KEY>rxaf<KEY>fpr<KEY>ark<KEY>]p<KEY>
p<KEY>uznt[wvb<KEY>xurc<KEY>xhkpdg]oncpj<KEY>ynhzxy<KEY>
vlyfx<KEY>gdlwgzbuy[bkgdkemihxctcppam]ckevcpesen<KEY>jadifwz[smxfhxaidkueomhxyc]qwokiceophbpdyjovvy[tmzeqvagzhvviakrh]hionrvofdutctqdb
ups<KEY>ikdz<KEY>cy[hehttqfmtzwgrmxfo]iri<KEY>ddtq<KEY>gytw[zkxutgforg<KEY>]<KEY>z<KEY>os<KEY>tek
oew<KEY>qsoedpidbn[rjmmegjgh<KEY>poshp]tgddsmuqx<KEY>f<KEY>cg[iwwvjgzvbmkhcmlhm]teygdquxhyhkrtiyjse[sknqnxtiutqtavvf]bcqiwxuliuhpeto
pdejprrltzgdddqhod[jgwgzdgvdopqgknwbqt]jaxeauvefzuvvgxlid[fpahofmhzzir<KEY>]enbiy<KEY>zx[bic<KEY>hel<KEY>wj]ld<KEY>
o<KEY>[rc<KEY>tik<KEY>sn<KEY>]<KEY>[zx<KEY>sv<KEY>[uj<KEY>]<KEY>
ey<KEY>[wp<KEY>]<KEY>
ec<KEY>[tj<KEY>]<KEY>
tml<KEY>[v<KEY>]e<KEY>[cm<KEY>]rj<KEY>
w<KEY>[kqagiun<KEY>sk<KEY>]histaj<KEY>uk<KEY>z<KEY>[caldsteatfkgwqogjb]h<KEY>eftynt<KEY>wfmw
lv<KEY>ovmvymkx<KEY>cv<KEY>uov[sxedhxpf<KEY>xgtwn]j<KEY>sv<KEY>sybbfy[coophwmyxhbhjjzvf]applf<KEY>vbrejnvz[ipytgyblyicrnet]ogktxhleyrr<KEY>jwqqt
xuiednrxcdyejmgcsg[mlmhqtzingaekkj]xmvjiydsuffmteb
zyweldtmlathqbd[zsskrkndiopdfqocigx]mpflfwtncuwjcnnvhf
chmlgfccuyimavif[kpgcuavqzwvekmahgxu]zrrkiipozbierayt[ooxqyjdkmmuaonht]qhifgfwmnavhlgnz[cnbosuyqrbqiuye]ksvsrroennhnxup
agxsrnpuwtpthaijwgi[fhyxwctpsxqkkypdfie]craulpcmyeifxluxu[yypagmcumxjcraxnvpz]zdgmbgteapcjwwzaive[rowspqgmcvqudjxm]qydbkwdeuraznvzzno
rhlhblmxdccpvudu[jhbawwnkolhlfssiw]rahopqrzbhdivhkrl[sdyjjbmlxlpcfabw]olocfasvuwqfxbbynn
xzbhnrzyvfvbrodi[kikpaqjccdhwfmjps]tqeliktvbjjnbpxwtq[jqjvumyqcjodqippp]ufaxyqyvdhjxccwbsfe[pxiqyqpvccnocmbinr]fqjralzkdemnowygd
lvbihonzfclpqyijtk[tzokuoeriylwwjahfud]vqbyrpbchllhsmeodxl[ktbdicmiebbpuxnyi]guxcypoxyjhshqgshs
nnmyoxtukxhrsgt[ecovrntpmkcaekonw]ncfzdxdlawbwtxqpkik[fkkkkxidubuatpihcnc]wqxmtvyakouvijt[tjvyhgempiufanh]bcibhdmbmbmmbyyi
jjyiltmpfvlkclthbz[icijdepekvlffegr]xnmbqmdiaskvieeudt[clfecicrgtuxodur]kqcqrnvwfdhpibndt[xsieatgypudmiedmfo]eqaouqptjuohpzbxml
waqqyhmfacfjbfasug[mbghdrtwrqihjje]jczikhpsasvutpmb[obwkagptmpwgjbhev]ozwfarybcfhihoku
tocybmyipesjprx[jdsdjyflopvltwsccxe]esswfgrsjawbduxuu
qwdwzgezyklxtmnd[uikylllxmtfhnwh]dmozabuomdvhcoz
tffooggeeufibvgyy[walfmmmfaegxaua]woxfjealuwsjajkk
aipayrjoievpqkqcb[pcnirwsnebqijke]ocpwinpdigoxudcksgx[vvuxytomiqmmacndtk]lkwmarnwqvzulsxofid
jwrefdombiesxvvap[fwhhajyhfaqzgym]gersxvbwsbqezoxcg[iaetgujgempehiaxx]llbgjukufbvdfxvjs
hexdafengwxaarjkqhe[brxnqkfcyltwlxc]tfqwhqspdfcgajfzlak[shtfaywffbchkkk]txpanajvkwazozn[jzfxmgozivlbctstlz]paxycypplmjazycksx
rwttdrhdouzvmhalwc[ozryzmmhwztywhuif]favxmwzmgawjdmcho
sndufqsbyhdkyathrxm[spluzodshkuiqhrm]gwctupgaumdalep[urynlbtsukjumpcrgar]mvgkstgtaxmtiufho
miypgghnpfhpcndife[uogotzsxnulstsucja]wrdogybnlkagqdtv[uerlwvvqvxrvtsaycg]bxpngxvmakjdvvdqfed
hgcyvldphesdmdma[inomdckqkhupvxmc]avlnivtukipmdmts
vgjaofvwaodncajhg[wmqzkrqiwbxdfsgdc]uzsywyzfptypsbto[lwfowjvhczggllfrw]nwchgcixmkxheceuq[eanuozoreimfpjooin]btyiwwfizhdbpfazpjx
ldsqkerydfisskoimys[ltqspskmalvyujfyrqt]dtyknopltmnvdtc
ekrdpdzvkoxfkjfpx[dpskecmtgjtwkhi]nidanbsojuexjgife[pgpitenqczwzafdad]mfcmnjodtkvhbknfto[uutgojscjiffmofegr]rwirhlyejxezndbs
mhsngxyweukngbybc[uiapxfrpfptauhiw]ru<KEY>[<KEY>]<KEY>[df<KEY>[<KEY>[v<KEY>]<KEY>tex<KEY>
ex<KEY>
gl<KEY>[<KEY>rkqf<KEY>]<KEY>abbr<KEY>[howksatecaqyemgxpye]bv<KEY>[qci<KEY>ynjddffd<KEY>]k<KEY>tm<KEY>
eky<KEY>sl<KEY>uaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvxmeekndddu[waprjreciavpzzsj]cppczdrntzrrqpk
draegnpszalplun[jwpjzjfpanpyqcxnu]lddilnitonnehft
afwslsdmylslwvekv[ngnsirjimcteduhmbia]utirtwchbjinjtkp[xtdywavaenpcexfi]fsxuipobvivhpowgioh
zpjzyqnadncjcbgulq[wtwvealiuqmxtmgbsu]wyjqglyafposcrwxue[xqmgfmbrcdcjfmazd]hjcjhoqisrvxdtiefm
nlchdiedtvmvrwq[aeqiwviurvdlsaxzdy]vrjrsalrqznvzhwxpjv[ghsoysknlxlzbqjv]cwklpwafgddnupknr
zxqjiqwrswpnotkjm[vdlwfpqexfvgzxjbsdl]avnrytuqubaojek
oklkhatqbeccsctaq[jfvcdwl<KEY>gk<KEY>]<KEY>fdb<KEY>ttbk[xb<KEY>vz<KEY>ozdz<KEY>nt<KEY>]<KEY>
d<KEY>af<KEY>[ud<KEY>yn<KEY>mx<KEY>]oase<KEY>x<KEY>urus[alpxiuj<KEY>ilgb]rr<KEY>kf<KEY>
zoo<KEY>[<KEY>zj]<KEY>[<KEY>ipt<KEY>
ens<KEY>[<KEY>]<KEY>
su<KEY>[<KEY>]<KEY>[po<KEY>]<KEY>
y<KEY>[emq<KEY>sefv<KEY>]<KEY>[aieudiuuf<KEY>mti<KEY>]<KEY>bytteum<KEY>[fbkfhkdwubnigzvl]ph<KEY>ap<KEY>
fb<KEY>[harjpumdzotcylumk]f<KEY>ntxiz<KEY>y
iforz<KEY>ep<KEY>dbalyb[cutsqxklmoljnexuaxo]aj<KEY>kylzrakmmlxcub[rximbemhrndnogfzf]pokqtd<KEY>ipqlswv<KEY>
umtkjkgoyutnxym[nizqgpcfftiydbqutr]rzgvklegcqnetqkg
zdy<KEY>yay<KEY>hcyc[qgmrngcbixqqdbvx]hcicjeavoycywax[bkjnxvfknauougpe]xjfsxnxlgixldzb[thjemtygmoazibfsar]qzdtbduakjdqteckq
dwwceyrsaqrhiadehmw[bushvhvxdeznysxjr]hnrekmeoxifqrsq[ynfaykimage<KEY>pohae]uykwxrtssawavbuk[cyabwfmaxwqgmudcmpx]vahdtwpzvebiypwjvq[twtyrryywtwsckmff]vkmzcehpgydnorxo
dbgblaadftjartioq[avryclynyjmceujmy]nsqtusikmlamzfht[qmvmgeprwbsokvbzmmc]ddeuxmektypsukme[gqzmpenqiqlihjqoceh]fmsjcayltvsxycmzv
ixacedvqlzvneoqus[zmgeugtrxuidpdtzzn]besixpupznfgvqelwxq
ausrpqkpblrplbq[pzqlirofwbtvjvoua]yljvwgnjvjehsyjd
dmreexcoqmzxelfjeib[zaghgfbihozktuebhb]vdwkqxzetddhhbhhyd[smjdjtmnswvdeuyt]noyncdtfrtokngqld
akpixaofgmscjdmr[oiothmxmcgwvxmx]yjiwdlhqlrqerce
deyrfnzcctnmwjagql[qgcmtvfvpvvdminuwa]tynjoikfebqrxgvyehu[qhyenmsqmxshkvcmohh]llpblusdcqfywcdq[ikngnvowhnvaiwno]ixndafincaxkyqwimq
rjcoodvjnnbhxnlo[spesoflcmfcoifzosgs]qauqixapgyfzvtjbpee[zzxomezynqnoeue]xpiblpyghkxfueapcm[qotnfesblvvyrnsu]keguppozqkwfxlf
jgrowursqweqfwxbg[rfyvmzbkacqjzooslnr]znoeuzryfguydetugz[ssotfccqiuilzfuexd]zqatqqmmdnuiicv[mkijjomihqrtuiuobl]erhrjzotwvvpqek
unyrjnckltxyfxyj[vdlbfpobsnokudzqab]dhhsatcnsuifpwsqe
is<KEY>[<KEY>
fesirdkrgznhplit<KEY>
j<KEY>y<KEY>[k<KEY>zshdcbvf<KEY>wsah<KEY>]<KEY>zv<KEY>ym<KEY>
cfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fvpx<KEY>z[depsrsktdbsiwudc]unbdedwnchjgetnwf[<KEY>]<KEY>vw[zx<KEY>lla<KEY>
gsoacpemvpypmizazb[rzluiccnkviutvg]bxmhsnyomypyueyhqbo[mzxxtfjifzluckdypta]qlirsetsxpkgewemam
cdqotetervrpkaiz[tohfcmgrtozdfduhk]ml<KEY>faviqgvzicff[sn<KEY>ukvzrg<KEY>ynfqi]eredwor<KEY>ugqq<KEY>k[fvcd<KEY>qtuqhh<KEY>]h<KEY>err<KEY>nxi<KEY>k<KEY>
e<KEY>[q<KEY>[<KEY>[wy<KEY>kf]<KEY>[cf<KEY>]td<KEY>
or<KEY>[if<KEY>]ic<KEY>[q<KEY>yx<KEY>]<KEY>
lz<KEY>krkykwe[je<KEY>ty<KEY>ss<KEY>mnxigkr<KEY>]wg<KEY>zoomyzp<KEY>me[uwcvshtsdstibyky<KEY>]nykxibwjj<KEY>acgg
fgdrabfqaogxyvpqfgs[bandjgjgkuuuxfuh]wwxxsusuuiezkvojziu[jsprwhpeictwield]tbpmjxfilclfrqx[zdmxvurgzzrompujt]ausuaokslerjqiveplk
jyhx<KEY>rgrdj<KEY>orsgu[ux<KEY>ifif<KEY>lv<KEY>]ue<KEY>di<KEY>[nig<KEY>ktauzcpyazs]f<KEY>plt<KEY>[mfvrn<KEY>qfrdbk]qr<KEY>qjt<KEY>mgs
nltg<KEY>wrahzhq[gvjujsgoyasfqql]btwmnkkccdcvuyniu[tsqzwyypufxxjhd]dvqickfwnoqtrhokrud[qjhdfcdcsfvdgkotq]hndylujuuecvakzmrp
xyvhcwkqkedbjzarfht[njkseezhzjrbujcdjs]obghjeljjsjksswil[mhfukqardbaypasf]wjcerxswmwvghjortxs[ghqmhxisgehdsyb]ysvgpyswsdfkomanrtp
wdwmhahsrdjogceb[jdwdpxaeemsjficjz]qqysutatflhmanx
cpctsiwpwyifqkk[eebyeqlgxyvaskcoda]sjayfoyavfkaydph[aztkadhyekpqtys]jwzqgyewxxkbisw[gvlxjstngthhsjeybv]ponztgpuhfsndjb
fawvrgcdqdidogtfu[yidikecuyabulhiia]fxfmgcpdbdzdsfkm
yjateqpywpcjcbo[xddnertejcjeedjulw]humaqnneeeynnpp
jutrwhvpaknrwoxp[ajhencapzncoyszy]qyhbpivdpqjeebsirf[lbsqceuykthorgpk]olrdkqyikfzrdzi[bmqrmgcmvqcgaxosaho]dkejbjzuzvyypxz
rhsdxnktvyiully[nciwcjzdccerinfkgi]czljhsizretcfuea[gudarsiefwzfdvfqsip]tedaanrqtnfjdvgm
grkgawgbvajxlbmbgwm[dpfpvpbrcwxethiu]rpfkykrvmatjwkd
daemahshxyowxgjuio[dwhknewdrwoxbgk]vggqgdzpypjshps[arwnnbysrmyfijttrh]mwuwdtpqmiqgfkntqm
ljpbbzgdgfqmvis[zqmfyouebpfvuscncay]omiockdgdxibtmyfwsk
pirgefjkoicryrcgu[qxkwrjfuhqmjzzmbc]jrofqkmdftjbupytg[mywqavlapyesbfea]trqscgjokafiarh
qsycbrrefosycpzj[gu<KEY>[<KEY>[<KEY>[arr<KEY>tf<KEY>]<KEY>
m<KEY>[dz<KEY>ak<KEY>y<KEY>]viz<KEY>[nj<KEY>]<KEY>t<KEY>
ex<KEY>ex<KEY>[rd<KEY>orypkcz]dis<KEY>[ktp<KEY>sz<KEY>xd<KEY>dv]cm<KEY>bksdvfihvxvz[vrxbmhxkfjwgktuy]xpyefktsqohxwkaowk
iiuuszfrkqjprgoumy[svdcdtozwwtofuizxg]gkenicdslqaemvwlov
mldgparlhmdhgvz[bexmggptmuvhkjj]hfnccpxdkireolxpe
tzyrycryhzonuxekwt[cvskbxzwbuotnsu]pvybsdovxceqjfmo[oxjqmhruryormwvgkc]kiygcylmgxdjubtefiw
egklopkulrxyltcpbnu[nmbkrgnsjyfjugcx]bufmkakubfrwnwai[pprytunilpvguaen]bceequilwywvtvmshg[aszamqynotadciwdwzk]uivoeunohsbulzpxko
ubhofoouxcmdsqqkjbv[fdvdmyjaukqeuaassk]tjajanohfobuhgih[dfscfkxpzwoqobajau]aspwsctdasjdjnqbmt
urlkduvyyyatpkb[zrolecowduswyfn]bgkveercmmeecop
aitmhwttzyrqwwk[lxntglszzkyjrqogob]exmxyvhwwcopudfekgu[fzxdevariaovvyuof]almvqtftjsdqkevnw
ftftrmapzrqqyql[fmxcumhriyippgxmy]igyxwlfgcjfwwwgpy
ftkqjwepfbngstefaji[ekaiaqtwacopwxfcf]deswaixrljslcqc[nqwlvvuuziefvrd]pgfvwqsqxeqamxsjjw[zispeamntwboenxygcp]cwdhurmclfnjjjwjygh
fixhqdsaxorgfndumt[ccglwvkrpbwideuhvx]fgsxflvifyrzlznwvp[lmebhuhqemgwxpuvb]psfuyywbujlpwcekwz
otmnqzcbakdxosl[skiwodrlvhfjsuqfsma]wtyrxmotiqdinxmrbe[lhgprkzlguroolg]kjgvxaekydqxdepu[mvffwznlsunzhxknier]irzzbykjkzjdoybqg
aauhucqygvsgwdaqfa[leenmhlorfgbyorrd]soryphiyiqsoydfkwzw
aggwrqdafwtwwqjr[eafpfpxygvnfblxikwm]mlgoiwxfigmduubsr
rglpanreckskdaojotf[yuywsgztcjzyrfqawj]wzwtndwugnelcmxpyme[uwcqyuebxpprisdls]kjisjtwisxawsufrd
uqeuvhdoyujlazejbix[wtdxrqucvkbkavrvor]fclqcjvpxqgnkkhi
mgpszcffmfxeacayj[eorkhzrwqvxkrnessk]wykadaapxxqmohwriin[iwfmoieivcljpem]bxhutydaznvlbuu
vkvvkjckohpxkolpff[pepxkcsneexhhlsjs]mffyiopxkqdnwlg[qmkttuxyhvemywmu]puqepezxejnldtlf
fkyblzyluhloblrlj[uuznhpsjgbnzghjczsq]ekddnoeylbefgmpwjp[gbfxttshaolcvhfsl]iygnwnznafbluanu[mnylijsqhwlhhbq]ultecropzmivwizl
rwpypdkhndrotod[rganbztsadndbxr]dorwmwqoeppdpoyz[sefhqmaxuxqwjpgaofp]kerdiohsaddctmnj
hlzqtzrmmgkudvsaxn[wnujyposfazclkutfq]yugpiuxxydkbjtqd[bxeuhvpdnzqzvrtynq]nqcwrvbzjijfjkmq[gviaheipjpncyxq]thgypvingfouyrdexu
abnhtjtbkrvmukjsbi[yivolobglxbtivbmlxe]gpoearvtfhhjjxedpq
uiubiwrlfkwrsnewvwz[xymjmptyaoiartx]lkyzzzynibifaahjewx[ijvyqumtxyumrnpyfz]hddw<KEY>[<KEY>[<KEY>[<KEY>
yy<KEY>[t<KEY>x<KEY>]rb<KEY>[wwyfq<KEY>]i<KEY>ty<KEY>t<KEY>et[oj<KEY>tt<KEY>]ily<KEY>[xk<KEY>]<KEY>[<KEY>]<KEY>[ffiedysbm<KEY>j<KEY>g<KEY>]<KEY>jrz<KEY>sqk<KEY>[uijbgaxqvjeiaddellx]golimewbjgojubbk[cmkrjtwjwjndagjoidq]kuaetseghitsonmjxez
<KEY>[y<KEY>]<KEY>dz<KEY>[lk<KEY>pl<KEY>awz<KEY>]zx<KEY>pcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgk<KEY>sz<KEY>
uz<KEY>onom<KEY>[lnck<KEY>xtxekacx]ogcb<KEY>sos<KEY>dl<KEY>
k<KEY>yd[bdt<KEY>]<KEY>un<KEY>x[jis<KEY>dcno<KEY>crtabk]cp<KEY>svz<KEY>vh<KEY>[hl<KEY>jqjldshzvbrn]<KEY>mk<KEY>xbe<KEY>afeov<KEY>
x<KEY>[<KEY>]<KEY>[<KEY>kg]<KEY>dob<KEY>mt[u<KEY>pnorysdsqycpdoje]tk<KEY>z<KEY>anuxe<KEY>zv[am<KEY>lnzxactinrv]<KEY>
pjhpwsfoiufywtd[pzudakbhkrvzepfl]cnmjmtmacyjulpcu[yvevxufpkzfrksn]qqdusuumfgtaemuscj
ffnxshbygoxcatgz[byegatenneixbjbrri]xrxazipjarxrrjj[ilvdkjlixdbdieycbvz]lvngjqnhjjhlvki
maocxpwqvhfgoaoy[jthtqiiuukttxhh]qpvgjokizpojnsvgg
vstmpuwjzkvzxakgreh[vwxiygqjyyvmgvjdhz]yanevbmxttonaonlgeq[rskehprefzmdfujh]kddqkrshtgymbyf[tdciwdrqgnrwygvlqwy]mwyxsmscrhxowaezs
lpetegprilvnporglm[efutqcurzhuymzl]vpuzirgjkjkqmpglqoc[ynrhizbevmuobpyduap]joqowueodytoothjk
uovjoxozjbjgjoedh[hdufcoupnwyqzqsdz]bfkcibjpdceeawfsxnb[pmfdhpjltsthickltq]wnvrznraeqgmhfh[zqsykjfanpwhdbm]oltzbvppyqrhmom
cuptpflteqvnaexzwj[sokwgqieratedygx]tlgoqkfvmifmdguz[kfiwutninqxzwie]dulfdtlbltfjevgp[oftsoxfpwolpbvflmvk]xfbcennewbsxcgin<KEY>
xo<KEY>[<KEY>ef]<KEY>[<KEY>[<KEY>
oso<KEY>[gv<KEY>]yn<KEY>
xm<KEY>[d<KEY>ftewakmx<KEY>]cx<KEY>db<KEY>
km<KEY>[x<KEY>xzx<KEY>gnz]<KEY>v<KEY>cp<KEY>b<KEY>[frbwadxyrqsjmeb]solyur<KEY>fb<KEY>unkug
syuvjlrlrotbcxtmqlh[plnbhkottpkhbgrmmc]tpkceggxjkkshgovp
xypvptyubhdywjddc[dkdpirtrddhczvbi]gppnmtijmtndwsd[jctdyzyrapkwpsudre]ofnnmlflpjenwqme[wjlbkjvlxuwubdkskq]zmhodofehapyshkw
zyfesoxeyyvugukolxq[sduqoqepedvxiaojef]ujbihfjhwwrxjbmjzwo[fjbbqkruyeexkrk]fyjhwioedesstjkw[nyhqlxexvrlglwcqbi]zgxdbhdcqgccgodx
kbgeflyhriyaitjdw[gkmsfhbeeftzvlkkxd]leroadltgqyqepa[apzlemfdxyxhyqy]bifkxoyxysldsif[bypdkygwlqgxlhmay]odffxnaayhgxkyjsyg
etnylemzuybethsak[rbqwbwcpspvwcnrtiaa]cxdlfpvaizzsiqy[cofixscwpmoaptvu]tuvmcbkoqlfljpc
nafgslpawkgystrbu[lholsrbjchktftlct]cwxorzjqzuibydw[wolwkkqcflunakpsf]ftfjgybmpgmpzjpxok[omccjdarvniomtniw]vmtkovkvuahhcgj
arfxtgjhwjbqqpn[ozbglzichfmhnsrmc]sxwomutyoliqdfrziy
yrfbyqpslcykicx[uoxnsxbpkzuarrmhesg]ohscdwcojgysjov[epkotielizvhfbauf]kdichwakhcwuitdohe
lxdfxhtcxpaqfgud[kietvvqhjbhmbdjh]rnnxrywwubyivxj
wwqhnufhgdpwnidwe[trkijfvlemsenfvm]hwhzclbeilbbpmbdgvy[kcqrejunfyofjviz]ymhbanffstqwvlkczn
bemjirozvmspfrojywv[gnkvjdexdgqeqvom]akfgpxfgjwsymkegz[yrbmhgnacpufxmilwbe]taxwtqhrfqehzvndlix[ndjuozknfyplqafyu]bwogrlytfyopgayph
tzrwkqaembipwoyysy[zmjpcdqtbucakwta]eelwgobyifozmawhaeu
pxpftlpvkjcwicy[ordfpujlgwgxccjcvc]ghrlgcktvifkicv[kteuygrgxnqbaagldhw]elebyndnyuknsxwsz
eoayeeinavevnkocsh[wlhcijujotnsmyfwrg]nsghlrcpvhazacbriwy
myqilamxvrkimzrypsq[dritxccifmrgnynl]ahpnxwgmmlcrmtujqv
prjupstfryhiyxjr[nznibizpdpgsxozff]omzpiwgyqqytncz[ixhfkzmhfpctiaflrsg]fkxetrnjkjhwmbcs[mgfwcdxioxwsbpbxg]pnmcyowtigkikfbqem
obihtythngvjelm[flrqufrqlvaamtlt]gbuppvlrpotvhgoivu<KEY>
w<KEY>yguc[aco<KEY>cz<KEY>]hb<KEY>[e<KEY>gs]<KEY>[vb<KEY>]<KEY>
vu<KEY>dc[pk<KEY>drystnkynnf<KEY>v]bk<KEY>is<KEY>tsizbdpon<KEY>
n<KEY>gy<KEY>cesxgagl[jsdkwvzzfvxuxsmkans]cwhuierxyqjmueehii
nmtqqwclrkwlikw[drthkxkyfxqugph]bbneldbvtittaydbgag[vviulwoviezlxte]oqzoapkqstfdxbxm[bmhsjxwoxtflbqeo]hnsldpfruxcdnvz
xrkijlvluezxevaye[erofwbtsylzfvyrersj]bkvnbppereymraau
jamtmykfjuhzndgnzrj[ezhkpcujzmcdkkjjfbm]yojgtkoobnwvgendjt[jkeeulmfzdbfwnohfaf]cudgyvipscncfbvmlh[kxikmcqmpounqkwjhg]emsdqszhrpxpwcwb
yywwadanokysrfh[btwstuwbsdiotcudf]qrsrtonegzitpgnzsvd
hrhfutggyymxzgyj[agqctqvhyfytwsdmzf]ozyonngtqdoaagdl[uuykvsdfqdknray]shhtieifkqfewhopney[ydgftitgfmfdqwh]dfxovuekyvtaddh
dbsuuitjdsiymhek[jgxxnjjzwgwirdlgwg]xwlvqyufgiwbwyfhqn[yywjhwiwijsuhlarpxv]zmpooqvlrrnwdfhsheg[piwaxxvwgzbbruij]izqwldwwjvrxmzuj
nuxzejoidicdupcgdum[nelehvehbccqmwnla]bhazpsnmekeqkvr
evnsveqnndjyarol[tgeuojqlculphzfva]rilaooxfpwyreyh
hhwvcwpwgzktzotcrx[khmiivstojdaciyzb]xwaeqbqyqwqltdx[rgwirleearklteybyx]ckiyopbgfygyvui
zpfozblbuwkdkkfsuft[lccwcopfworwnry]srwrcwdkalvsnsu[jmgukelsagifrhkxqma]wtrtztsztpnryaqw
iszcbgumuoarzlkblr[xphrddxkyclfvnapk]rzryxqdnmxplfiu[plghrphjxgqlxtp]cxpvhwxkzkeczxcenm
aezqpvhdbflknptrc[zykqxuzbatudehe]lugjrgmxtqlxrvt
jsejnywikaohtarsxmp[whmztgiaadmiarwlbj]yjrgwesrymvzhlades
cxmorkzlibiuyjgs[nyierakbbzkhvyizl]hmtqhrxddgdwmoayyse[ldupkxzsfkmnsfdnzsl]sfpntvoniewgfnyfw
rtlhvogqfabwioi[mloxkofbaemaxcfzdo]ofeukqafbxivgvygl
rjnyhsocogdwhswqonr[jrwafksjhfamqvfjk]seiscoezqmbopqryc
txdcwwtcedbymvxy[dbhxqovjeifzsuvm]alhqphxcmfmodeb[zdzxpgxeezjaeichq]ggadublqxpfyoyc
rvoblfajodmlbftahtv[dgglfidheitvc<KEY>
lvrcx<KEY>omstmslr[vcz<KEY>yd<KEY>ml<KEY>]<KEY>[<KEY>qo<KEY>]zk<KEY>ck<KEY>zju<KEY>[lxywqhpuarhpasbul]vq<KEY>oanebmehzfwyt
bjrvsfwownhpxsowafm[dtmxsbtquavgypbizrj]boqoiajglkefiwaj[ycjpupieshgdmbwp]riufwociykhnwdsci
urcrpmkeszzuctovhqu[vsutbxseevalnah]rwrptzraxwhuskb[inpentirbmcxdvof]nvtxiwtlkeknxfl[rddddhtpudrgpjafk]cojkmbekefbmuwev
djavlwoikblvsufxrb[suujlpxslswxgfmrjj]drrpikhibuvwdlhvt[iopyjysnsjpyyxngdfq]sijwvhrwtourowgv
kitztjpylzlaposkaun[szjrduixywmdpxbl]kaltysqcxzjrengtkwv[jhsqhlzxzayxdbebu]apyxjlaydhhokxacq
kvzdgclklqsndxdo[kudsmgggtnwtxdnrev]quljmegosayhdwum[kklkxlmmmtjcretlyx]dtsexdvvjndpxtggjlw[mpcaczddrmktrpgngw]usxsptmzgzqhjaycg
oxvlhxlmhhyqgwlao[wiqlkdwjluvqwgqp]sbjmqvssbwefsvq[ocwwdefylfgvgsygfbr]fbtqyawdbswjpux[loeconwsbvgbccoz]cdotdnnkzyaupynuk
ykozujsmdopwobif[xaupavllckswbcyszd]jqdeagvmvsxpumvmu
naxhmkdggymqhjcycw[xkhrapbevbaiwzdn]etnivyebbwvqarn[dnskxishknmcidwv]uctdvqkipycyzhgcp
uktvpthtrtlgmwofun[rmevlwmmvzucsuxqx]zokkayofazorjdec[ickalywptsyxrttbynx]olddxeqctucllsvrvhn[pxfftvrdqdglkvll]xymmmim<KEY>
<KEY>ik<KEY>[iwngaxahwxongrgf]krgrarolzgmzdtj[mbsttcbkbedkcmbl]whecpxbvhuemjloxkcq[lrtaeothcehqsmbes]chuesxuwklohzrvgjkh
sextateheibnehs[ccvuuyctlffatnmhie]xdrwtaeangizfxkt
nayfogrvrhhvdfqf[upaiyvrvkcygazw]wtsawgmklbrjjhc
qumnikpzpmsjvfiwapn[fdqlumgxklzlxcm]dczsgahneieodmhgvgt[babaxdoljtacfza]teoddbtcemfketpp[vazvzbcnqacbwcx]fulxjfohtywgtagn
crcyymrdfaawflxfmfg[ovbkvuhdrxdbhmyphao]myqpzivnpjyjkogknqz
xfkrzuoeclfphdae[wfuevmepzjjuzlbc]icytgjlzxvnjgugxyv[ppqszfvkmppjvktn]cifddqrtlcodiincw
gobxpjjturfsgzell[rfhdgfzwpfoztzgcn]eworfqsmysqolgq
laagoxczwfikjawci[sljddbmwqdnwxlkhdi]hwmoerlalfpjshedio
wyomncmyxejknhswjv[awtbfqiarnoabkab]nitvsmoxyfdhpcdiee[sipoxhfskauxfskix]nktheznrekmrrxl[gwpmodgajfihlnad]pereyxjrernitwktv
xxkbizhzxvqxbecadt[omafffruievwfqocujp]zpuotjhjwsdbsxteza[otcdtybhkqhjhvjjz]zjrkvtevohcfvlvq[yjdkpxspyojxstjkv]fbccdkbjrebcrxyrg
zrctbusxagvjendfdf[szvxchrhjussntb]mzhzysbvlwwflpx[heijmktbzrbgqsklhcu]ygpkfilealopaixduvm[rakktnzhooijvydazhb]msnpudxdeaujqysbje
xoemgrrmqqtfwtnwnyt[jextspoeediexugdgc]foyqnwnwstrguzk
siuojescxsrrhvgpeoh[dnizqgnuprmevtqws]jtrkiydptijrwewcqz[zkvjwozfadmizvhfdk]kamauddrolxbdrn[yzfffqfeadlyfje]qanqnshkelszldi
wdiojuevpybfvdp[zxyrygvkvufixzdwds]tgjzjufuuwenexe[outgdpnnysadoyeon]hvelposyxhlvfmdi[gazrxuhxrfxofsrxq]wpkujtixgvfrdgg
pufjsqcfddyeghd[iylozggwqlqevyb]cbkdjgvbrpmrwrsgn[nuinkqeqchwluhwye]baetibebzmndgrulqdo
rwwiamjdgdfsttq[xnsuyncklmryvumrii]qtcphhihqqqqtntvoev
bwhfulscfcqggdswt[ostyvvcpdoyzvuhodeg]ekpjrxajoziohdvkfco[tbbppuyifwtcgvci]lwjfhfqfmclrhdhplbs[pplppkgrmykhtfnq]sfvskkgimpacxfam
jripvodavtgdgkv[isotocixmxjmcldpx]oaptjpebswetmacnf[zdlipacteuduvqdhcfg]chciftufaejhxkmpozz[cmnwvdkbsczhekzwi]ovnjvgsuxmszncr
ylpnqmqhlnmuxei[cyqofexibcjwunyl]ettxreudzmlhgtha
dhmperfgtcbqlipcjbr[gkmgkletrzhoyhfcwb]psllsosgwjmtrvfanv[fimdtpgcoolukvvpu]ccqgkaqltrreqchxpbf
huvrdvtjmncbokh[mxnsccgwblyahbdao]mpscnoohrsqideuhf
pfvpbqmyapypiubxmt[kjfhekecjzzqftpj]sybxxlmvzhloooom
iicuihjkntpnytg[xpzlplwvgwmzazj]dfiftbbvxbztjpx[patfyqrujpvwbsl]mxgsntaernztshbi[nfwhtuuwhgsljivcrws]iwzqwnbjapcfujz
fdiifotbpdpfvedsfn[ptkzrnhuybmhzkh]rmxekkyxbqxmxccc[icwqbjmjtakfsqbd]euycnuevdyommhq[dqfyackkxmvbehucn]aabiiukaxiowhbtbwpj
ofaeegcqivqrmtz[nyotqurllbitpijzdz]pdlsomnmdsbfhdzdh
yxihvlkrcvzxhlmzm[asvxysmyxovvxdvv]rrwmvextlthjopu[nuaoossiaxivwwxwpa]xgaovndeadfyofish[dpdhiwlsvntqxypdpy]ddmbndbjtnpazhj
kfqeicvkuvmsljtsez[vplnucnqgngsbfv]ycjwthuykmlfejqepad[ngklfmgvredrinryy]snsxjeqdinbbapwuno
yznxssrnyacwtxlfbab[mpjvrwoguxgvcbtbmdv]uflsilwcemofepjghvh[cpprubjartjbnrdo]pocdfdephebcdavrxpo
xkiccyvosgzxwtuck[oqqbviclakixdgc]kteovpyjbcejxui[mzuzcghrxtkssnrsqy]hcdpzjidycnlowgvaxo[iawhkiyhbswqsibqp]ltyzmuplqyoivgmzfa
qllumnywkyqjpfv[lgkmvmbdwnkhlhqfse]lroouhapmomchyeghsp
egmftdtwkpmhdpda[jlxrjvldyikwjlcwx]inq<KEY>[q<KEY>]<KEY>[fz<KEY>
v<KEY>xk[l<KEY>yz<KEY>tosedmpgr]tom<KEY>tf<KEY>qtn[mv<KEY>vxdd<KEY>qnjvn<KEY>]k<KEY>veadosfktw
ltlrncoqeeupwtoxv[yoosiulyjjmwacymwfk]vdgfdfcjubkcbhiixv
ediaeek<KEY>[row<KEY>yn<KEY>]<KEY>[yq<KEY>[eg<KEY>]ik<KEY>
ohspsyvzulzfsgghvbu[tvtbzqptcpguecpgb]zyadwosbwchbgrkypj[cphkhvagaasozym]tvgkhkooyejddnhv
uxtuhgkkulhrvowswt[et<KEY>[z<KEY>[<KEY>[xy<KEY>
iu<KEY>[ay<KEY>yz<KEY>]xj<KEY>[rv<KEY>
um<KEY>[eqn<KEY>]<KEY>s<KEY>[op<KEY>]z<KEY>[mk<KEY>sttidv<KEY>svst<KEY>]akk<KEY>jfl<KEY>
qjlmfjwtglolrdxvqk[yufnmwyfhjrqzrxrddv]pzcaaeoitighunvg[eamjujwzo<KEY>
<KEY>bubqixiqmu[uzycqzxxixenmtvz]ykvtnssyurdixcswneu
gwc<KEY>zlhdufsjwaxal[howbmljowljdsvbm]jggvldehj<KEY>afvshlw[bfevufuakhrccqcc]dfufvaxzavehxgwb<KEY>
xu<KEY>[nx<KEY>i]nq<KEY>[<KEY>]<KEY>[<KEY>]cx<KEY>
da<KEY>[vc<KEY>ep<KEY>z]t<KEY>sk<KEY>ed<KEY>[bk<KEY>]dt<KEY>[dg<KEY>]<KEY>x
<KEY>dz<KEY>[schx<KEY>ynpin<KEY>]<KEY>sh[xd<KEY>qr<KEY>fw<KEY>rxta]c<KEY>izobaqtszfini[ttbv<KEY>uiaworjdp]uw<KEY>kbkx<KEY>ugsccp
ctvifkpejmwnuapjpjh[glykzeqimofbvirvv]kbzjjjxmiasijhyak[ucyzsvtasjfewtbm]zbhktdmufikfwsiqyfz[kolsqantshbocapum]jvjtmsmzjvdyawlrrv
zbxgniymzkidlugns[xsyjfooxpsbhtjvjp]lydpcozhcmkdiactgsu
rzsziayhprsxlwr[szdcnmcdpqkwlmhqlp]uctizqyfzorwogahopa
njpfvxluupsvtbenq[cgenluehtxacymtm]onnngstsltmtobh[jkjpmbsumgmtkbyg]uvsefrirmvsuiff
qukyshliwhitgmyeb[eikuuslkfgergykosp]fthsbtteuspbrqpssb
xpg<KEY>
qerjjnnafocowost[axrfofdityutyzgv]acicnljrpsxzlcg[dhslugmdfaxclhrdecs]ekxnsbqhl<KEY>
fw<KEY>ibnqhpis[esurgsp<KEY>qchztm]vaxsbcgtqipiemvreaw[ytkxlxyzfifrxgmbggv]tygxkuusmptxqyl[lpuxifizetrlbsefado]rbykxursrelvgiilrai
xyniecftatconlmstl[rpmxaolsbezfwzof]zvcmwpmmcszbaimwhfj[hggnwfkyexqkdancmc]cakzrmvvnmyiyzbwx[eizlhdetlkmzlrob]elvcwtpqtdpqxwdgjd
yfxqriltoucrnfnj[zlvarepakboasju]bhpvqvllpphryccbjz[gilhjdjlsinanvhhe]rkypfwnsrmshanawlb
cffxddoarujtkpwt[vgtsjcyuqgpoklcem]enplegjrghgfkvaqhtc
kybnjsgrfnckxytl[obtlaqusuhkyeswu]vhaghsusagftgzxz[ganwwupndegfgxbckde]ncgnimjtllrpmajya[dmzimljmhjkbyozpmk]ygyhjeeexzqadcdyhf
icjonhtmvgnwowp[xdtgaeotcyiyzozqwd]wudhamantwimysgpu[wjeyfkqluqgmbspxi]piyixwwkfdbogwcmtac
qextqvcvlshqhbunkg[ouypttbdsycmscqe]qpxtjvipjkrbasofu[lzonfnanpflaekzhl]xwwxnjgtmzxnhmq
zbtonkedeacrlltqnl[qlssupkhjptzbbru]nroemsymerldlshy[anmlmugxtrgypsvkgs]wfagpjfzgqcdhslmlnf
dpjpmruktkfkpurvcks[mcdigtlyilcdvykpng]wrbydnqwmaatgjpjnew
nhcyufcfcqqsxef[msqbqdsheiodqzpkcv]qlownycyhpteerrdfid[geiuncokzuwybrefno]mgugljgzgtdvyhpflbk[kwgpiyryqpdmphcwk]rghcxpkbbmimkui
yyutoljmokemaksyh[ofyxkifbj<KEY>
tx<KEY>[<KEY>]<KEY>[oz<KEY>[<KEY>
<KEY>[ruj<KEY>kfyn<KEY>cpuoq]wfgodhqkdextspa
meyjysyguijkyen[vjyhsmvoyoppjknvivn]yuyroikrroyknlkgfn
yrbljqrlekktwvq[ubrwbmlwxxtxnwa]ekompfyzprhialu[rdglmpamldxxxsgpmwk]atazfgcgkzbjydvf[sjdezkpgsienutudx]zuxyrrwpglvstutp
yqhreymyqostwga[wngmbpfomuxgcyqdl]jdkppprtdctuyaonlqz[dfpqdidzlofdishhmot]gnifxcpfecsxdincqib
xdfslzwasuifmmi[lbvuxnulhamtgfyhwz]sarfovphjgpdckkrbgy
bzkfxruybgbjsmeflp[ubqugccjulkryeh]yaldnucjnxhktrgf[jamlgglyzdlaidp]dsvhuxerhecwhjslfk[yibicfmmkiugttqi]byyytkpsforwainomd
asxywcdszmdtdndivdg[qkyfhaxaietrign]sjpliketcpjxkwxaoo[vmjxfuqxqgscfpd]mnpdsyqpnhlksmrcpa
gpgcqhpkdzpmjoxbjvk[stpachxjlsdooglph]jaaoaxtyaogvmuhl[yochbczehvuvauxj]zatcmyzbmktdoohzgx[cbwozqlvqfssqaagyf]dkeooopvydlsoakyc
blfmanmskfsbhnj[qurkejaextecwkh]iekzoszfdtcjcvqf[cllmensfekeoduop]kpldtlzhhnyaweelg[duturhserahslsvavl]tlscacpaddzunyhknql
fgtfcerscppphulhdpc[cjasnicuepcfcpwwq]ubfqrgkjexhpcpdh[fcuypvlkciryarmpsb]lkazlfdxilmfoccr
jaytjcjzwzzrwrosfig[bjwjolqvmwjwehvkyqm]qdrcohrlcqldwsj
darwjaqwucpzrgob[utcloaeoixtgcssljwg]daazkyzlexvrwrvco<KEY>[<KEY>
ite<KEY>[<KEY>uset<KEY>
qx<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[yl<KEY>ij<KEY>]jh<KEY>
j<KEY>all<KEY>[fihpzyuwtiisvalzl]egftfecpkrowpxz[fwyjugfywhzgpbgxam]iuwak<KEY>mprjkdfqep[cwjewifgwauyxaqa]gfnzn<KEY>ak<KEY>vp<KEY>
gtds<KEY>ztx<KEY>mn[lrd<KEY>vm<KEY>uy<KEY>]al<KEY>
ffyhy<KEY>igkhlyiop<KEY>x[yuuvtuoepntnqhkof]atumrmkzfhinoqq
wrkcbbifeyemfppiaga[msgxssztbxvmdii]ydxtnokgvpouvcuk
xivexjhdjysgmklbjp[scteqtgrnyuxsonvbx]kzbopsageoqsymtc<KEY>[fw<KEY>lob<KEY>]<KEY>
alnyvjvicoigistbmh[ueworbfuagjnech]dpzdovb<KEY>
<KEY>i<KEY>[ej<KEY>vzl<KEY>]h<KEY>etgk<KEY>
twk<KEY>ux<KEY>njv[xffwyrqfcqouyxmkrro]ezewjlxapphabveea[jfyjgbpkflijwvreer]nesuewscsclvwiwkn[xxjkzrpeonyctow]yclvbgnwgcarcxos
ugndgtdqyxtplkdz[worxgglrocgtypfvmb]lcziijmkjfdpghkjqfp[qomfivwilarizmq]dnglkuyyinegywu[batxtrembnirlwr]ovrphoeyxqnhcvmts
zgtxjxnktlvldrxpul[rviiugbdqcysxijrc]kyktcnhhtompktirdjz[bkusovlvbbigibd]airrtdvywvomcfrhi[xgapjazusatwmnl]usdiffjsbadtdonojs
mimjtxkzfsnijawjrey[appuokfywghecatbzwo]aovbqviminrwaszvo
kcmrpjoggjmfzwezv[onaeglpwhoxczbw]totswqmklmzrwmxdf[befvnijunppmomoduhr]wydkdiejzzdppny
fgpjujczabbtkxwvfd[cicmceziihzlkcwdwhr]sicifccwrljuhteondz[qwtxzkpzaspfynin]scyjunafukgggpc
buyslulsiiwxkge[ypiuwaxgxsqpbqqx]dwsyrzemulupybvx
telsdbhziecdqvmyprn[hqpxpfnttkmchynab]wvopujdicijhmttrn[orfuzixnlfdimtsc]jzvuxsquolwwtzr[dmiytgapehniwib]zylakfeifdzatmqpb
klvmlkigwhcckkyx[qxriuexxfsmfcpgvlzb]ygklxunjumjcmoph[ychtcmyhbyipspnnsr]pjqqgfbcsqmmrxbtj
ugulusabrxqyxbvv[atgfhjdhplritht]glsimouvohndboxh
fatrlhuimyqjjobdq[xvvmkavirljwcgmkvx]kbes<KEY>
<KEY>s[zgiwqzqx<KEY>enum<KEY>]wwmkejyml<KEY>mpr
e<KEY>qr<KEY>xdcwglb[pewidggmjfdwchmpuxq]vfpginbbwnzhzutt
rbwgxniblxrzdux[ctmqwdtjnnoizpfxkb]cjalwfgvfvehdshc
grpqqrkmvatjnpe[fpuzplowwtztimw]zsebojrxdfyouujqu[jieuliemrlsrr<KEY>aral]vapfx<KEY>ifbvtdzjpqfn<KEY>
kx<KEY>[sc<KEY>pq]<KEY>src<KEY>[yh<KEY>eked<KEY>]<KEY>[v<KEY>
x<KEY>[korqz<KEY>im<KEY>xg]<KEY>xett<KEY>[secngup<KEY>iekzfewg]jzq<KEY>qu<KEY>man<KEY>i[ld<KEY>zfrgdbneaxjj<KEY>gg]toef<KEY>iqssx<KEY>
qg<KEY>yl<KEY>xzzvniaegfw[vfxiqmehxnnjheiszxb]txrwpqbqkdbnsvt[voiphlhjwxrkcyrarwt]lhlhcobxijaoosyx[dyqmagxqryuyfbat]oovkonlsaeiqnil
cwxhidoqdhxragzpib[hjmpsaxbqpiwqhy]csdontizglsbbeh
cvqlicsscacfmuugq[eejkmtnhdfogzpbhygc]hsqpgofmanfemhido
tsbgyswofaablrj[kxsfwmoymlmvxujvqc]oiatufqeigamjtqj[lbnetvjnhlmvyjs]aeeetvtqgykzstpt
zikurkodzkxzvjucknr[eeldigjdnjetqzwtl]itaxybvtwbhjdci[hbkvepoewuzexeg]ohfbodukqdlanpa[rlxoscpwxfbemxvye]ydahcjuodtvinta
dkdquuhvndpmvudwjx[hofzlmhpteoarpre]sdvnkykpcblbaardmf[hdtnalxmijwrorx]ixsdqmnoqrieeqn[tvyurwrpjzolmoqn]odvpdodyhdjvcaqi
leufy<KEY>jrgauyshjmdn[omwkxoqtffghqvn]iqpnagprpvmlsvo[glbhtzdectgrymdzxf]dwgpfoqsivjdvpiidzo[glnavlopicrpfkc]nnstfkiqjxccqrvmg
jdpqymeesiieeeb[iwrygkpzdjttxuz]qqrbobabyedbigesuh[tmfkwpopdgcfuydhukb]mzldoxgjdeckpdvu[obojbnmmlhdwsman]nssaclvkj<KEY>issi<KEY>
upg<KEY>mp[ivnacnyueiepraljdh]vfagabifynlpbjdc[dobimimkhmytben]pgasxhypmszdnvjwnwh[nvcvwfgrqenthqcqlw]cdvv<KEY>rqskpffhw<KEY>
fif<KEY>ifkymgx[mvg<KEY>khnxvgaqdmzat]fuemwmfadtlaxwyslr
bcbtmtmk<KEY>cpaemtmec[apsgtrjqwqreuntmdyq]qecxvrivzvlkwwnzcfv
vslhwcbtvnnkfge[zbotbapnldktkexac]ieekqwkifqtpzwsb[wjjwgvhvnqaqmrmath]aeauqxrfhwdlbsqx[ijqqcgxjzepgnbru]uycbebwrapkiobz
fgfxlcgdrvbwkhf[gcdnlfdqppnocayj]kgluimmxtrnrkxxy[ebmozaizcvfxamjfgfl]zxjsthsrjazocerdybe[uiodgjwmepojoaswdqb]gsywzobidosuauosihp
jocqkcfjxtprwzxcol[jomzitpuxjjstqj]jyaupzbknhzvwkwejgg[frkljzosjvpzzffe]najjqpukuhkyseux[obvojkkfdiawyysye]awwxmmkvzedenpagx
wnjitpqtpbywfdfzqb[zsmozjfwpksophbzrp]ryxeuskjtgqxlkqinbl[jbenmfsdrvwdjfxhibx]vdwygykkkqqzoueisnu[xgnqjjcnbpugkeuaon]wvyttauvhjmdqcbmfqz
cjikxgbzdupqnoq[khvayknbckfnohcbc]gjsqdwbzsjnwjblbe
sknizlycschmfbcbo[glptboptcwtmwmyj]hmgkwtwaifrmzxhee[dxxxiulybtkhkstynq]mjntafrkgppmgisnz
vbijkdmufqx<KEY>inw[nqkbpwcxoozkrllibiu]maiisvopemncukdedg[flspngjuzwaveawgk]lqinchaieoizrwr[tuyuxyvxkesiktilna]rhyincnkvnnqejsoxp
eehvafmuwihwbizcao[vnktgdjhjeatxeshjh]taoisnoyefbphntft[pfzlfnftyvfkkmau]gxmhcurnvyqxgffll
ytdqzmfcxjezgvr[yttnwhebnitzkmpvg]gnxpxseopkiwdwq
tiygnypqepfcbcqasq[qoiylamohtllezrd]hieijornlrltkvvf
gcolxjnzzqtozkqlo[gwiytfqkewszkddc]mervsuxdbxtqkclwli[zamcpapgayrobsrnros]skfbjychckenvdnk[msqqgpdtgzpbdsflgo]hswedrxeichgpbkt
aoyzbbkhsyzouhf[yuheesbhrurspvkoeoa]icwrvttxwvrjodooy[lclcdnulwihttoo]aheoekyzcrdbtnkdn
epqxzqeqfqquuvaxut[rvniqevejzxwbgdj]mdozdllbtyxiessvou[ftmdtfmxjktmdjrp]rbdfhuqvdzpiyaw
fvfozofyprhtptnvfvv[cvjusvxzqhknsrfuw]<KEY>
l<KEY>[dc<KEY>]<KEY>[n<KEY>]dig<KEY>[jx<KEY>]ormtz<KEY>
jj<KEY>[o<KEY>]<KEY>[<KEY>[<KEY>
ix<KEY>[e<KEY>]z<KEY>[<KEY>[<KEY>]<KEY>
v<KEY>[zx<KEY>]<KEY>z<KEY>
h<KEY>kz<KEY>[er<KEY>raph<KEY>aevid]yn<KEY>ez<KEY>
eyny<KEY>z<KEY>nvsrguftv[olhsgnhicqlhqcopiai]azubeqximmxxruopbcv
ixkfvfum<KEY>agjybsn[frwibevmaiibyzd]qzqfzepjziatdpyqmr[onsezbgebekxybzzqzw]yqotbtwhsuxraexdfes[sqyxxukeslhogqaftl]kpqsxbeawasfnbwm
fbotlkdfsscgahhtbvr[qzlujuyglqbktek]fitzbfribrvygprgssx[ytfthkzieycghddhs]twelmrjujaidadamq
nuxgihsikrkmrydy[awvlrjbdobngseyw]owlsggrmwypppcnkmws[ipqmpwdvbohtnbs]nutezdkbigrjnveau<KEY>
ft<KEY>z<KEY>my[z<KEY>duc<KEY>z<KEY>xj]y<KEY>z<KEY>y<KEY>[pd<KEY>icafoldft<KEY>]<KEY>xz<KEY>
g<KEY>[sk<KEY>]<KEY>[k<KEY>tf<KEY>[<KEY>[<KEY>[<KEY>
qz<KEY>[ji<KEY>ym<KEY>dd<KEY>]ek<KEY>j<KEY>[dkfj<KEY>mp<KEY>viqe<KEY>ot<KEY>]tpmz<KEY>fqhelgtpic[xcankncgcyaixxcuaj]js<KEY>eyimscyf<KEY>eduf
ep<KEY>j<KEY>py<KEY>wx<KEY>[hhdspwfhkosxunncv]iibgrk<KEY>soktfp[kjvjytinytggjurws]oekjstnaky<KEY>hller
yidewjsqwykhvakby[ewhvuvpzmeexvwtd]mygypbsbaabkccvslri[dgaksoqgxghazflkn]kpdssbszxhpltdxht
ijhcdyyvjscrvhh[fpobanqwzccnyev]vtvztxptbegfabvm
fcicsnaoileyhlta[ivnthhpicibzhtyfaf]agaffazyjidivabel[zprfefitivfahmsx]jxfvpjrbftgokdclnw[vfmlrayxecyduau]dkuaarmbkuqqjuva
wjhhegqxpegrypjlpvr[orhbboezmjncmclamy]pckznmicczddarise
ccxnbhlsqrtqcbrczci[zwbnllwffvdsmmd]wdcyuartrmykqbvmlc
shpzokvkrrpypaohp[cdbxbviwegleqizw]dcilynllhnasdzaku[brkdsnedgdlzlhxzlzg]ygvficcbzjonmzh
vz<KEY>sgxen<KEY>[dfrss<KEY>rr<KEY>xlpxpgp]<KEY>iq<KEY>[<KEY>[<KEY>[<KEY>]<KEY>[tm<KEY>]<KEY>[sl<KEY>]<KEY>
eaeovlebqlahuiztd[dngzrklmortvzksk]atunvakfxeqeymw[huaccbfdtygotzubrj]poeblqeqsdqpcbqd
gzbgdqlebuwepvx[qpajreszsyyluwi]hymkhgxqpabniqzells[zediljwkqfpvblioz]zguladbcmloyugl
cvkyjumasouhugvvz[dtidgtxbbufhwyvob]pdmhzqubmdreglyy
tcxjcacxysuimczi[uhflafmjntxmsaf]uexrhinqroupcbksrsj[nocrykejeuzzigkyqxx]crwdvpjofxynwft[fmxkcqrsrpdfxscabs]crbnlnzoihruuilu
notkmxwmhfptgfpvntf[ucdfxyikwxtsumebhj]kjhhkgtruhuqzsl[nyiklbrbfvreipanby]flesvbofrdsclfvm[zghcpgxoauylwmlzfl]vwotzewzjzpyccl
pjrbmasdillqwdkjfni[lalstrvjalnttmwr]xbezkjpklkrnlpzjjn[wbpwh<KEY>
hue<KEY>[z<KEY>]rptwswnecdpsdj<KEY>nt[r<KEY>]xk<KEY>[<KEY>]<KEY>
tt<KEY>osgzkuxfwsy[carsvskefzrusoihqw]qiuobbcgndqqukuvbmp
wih<KEY>[g<KEY>xb<KEY>]<KEY>
fg<KEY>jameqyl[riumppkgphbaziwbfcn]gspevt<KEY>fjazlolblh[sueqarjummrmwdgzsr]szmltztnwpqsh<KEY>
lg<KEY>udszwvs<KEY>ax<KEY>z[wpnex<KEY>ik<KEY>]icefst<KEY>
el<KEY>eu[mo<KEY>[<KEY>[<KEY>
g<KEY>[<KEY>[<KEY>[<KEY>
lle<KEY>[dz<KEY>]<KEY>[<KEY>]<KEY>
epjldiafxyinaljee[zfgytlqlzoaauszrn]gvyukiahumemeqnsy
vldhkwyfpfssriaiwe[<KEY>]<KEY>xcd<KEY>z<KEY>[j<KEY>xmarkaeer]<KEY>xkdxg<KEY>
vfis<KEY>owhnwcuusmd[dhhjzfujepawktlh]quzyrwo<KEY>
reesvrozyerxeid[ymtiurpepvrvnkf]thobix<KEY>[<KEY>]<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>
aq<KEY>mnz[p<KEY>hprjghikyn<KEY>]k<KEY>nx<KEY>hpzeiy
trqnrkulbvipvmj[mgsdnaqnayymjyp]otecdnzhhcufrly
illmnsgqusbqybiso[fxddafnnoholnqjotb]uplvjosscbyhwmw[jsedsarqbralzbjmyq]sdwkyeychcdpqvfup
zehmutjhkodiqpi[usuretqrbmggvlvr]dewkdjmtingkzuyq[pmmbbozcvplhejh]jzasjfqvsusgnkfegad
ljpcpqtpcpcdttjo[qbmnhadshlheoavsbxi]wnwuahdcagpellgs
ayq<KEY>qtrqzbxyhu[wkpl<KEY>etynfxqzhtkco]jpgbztbvmojlflc[ojmgjvfxdvlyzih]lev<KEY>elkzftbzwzkow[fmszxqchzjhxtwfm]vihmoqcosarkzsad
nigshquyfjlleujdtw[qmiqiabzqiqafambcv]ywbltgpjxcwlkyahg
vmgyovkavazsxwed[an<KEY>flk<KEY>qieufhscn]uizulvgasvsstuhfn[ygxgsfldybdnsleqy]tztuatotreocsrfevpy[yxqmsidajmknyrae]whoydkufyieuqhmqv
jy<KEY>ixt<KEY>fl[ff<KEY>sp<KEY>]sb<KEY>[tz<KEY>ny<KEY>gq<KEY>[<KEY>[<KEY>[tn<KEY>]<KEY>[gg<KEY>xec<KEY>]<KEY>[se<KEY>]<KEY>
q<KEY>wj[hcgz<KEY>sm<KEY>qq<KEY>]z<KEY>n<KEY>qz<KEY>xn
egbqex<KEY>qnqsaxdi[xgh<KEY>rttlbmkxgfj]rp<KEY>x<KEY>vweijplm[dldqxbqxenksncnwhxo]steqcncxfskqcf<KEY>nbm
dhusxmzjdacdrqor[tzblogyadgggzbi]vssexeogwduosdoeo[xexqnjrctzlbkfri]dqppelyoecnnacs
tkrkjtgdhxdcyapamp[gvyyiztulksqxosp]voudpakpaphmrlebpj[vghkfcrqexfgoguvbxv]yronkwfpvrwilnuegkb
yiuhvglusvqtzvngzuc[mfvcrgjuywuthtprxe]vjrrmtbyppmesvorp[ucqdvtwolrvpjyhiolf]eazedskopeknjcqx
segabhonjryukdicj[zvjqilxyvwjnjgjvrnf]gxibvkxslgkpfdhsn[tlbwwiypungvwcvwngx]hhgglxqosunhdvgr[mrjgltlfxwsznpnmdox]bqsgftffsibfruyz
hrtiuksavtjzekgf[vaagjkvweeznlshs]ntotbakgpxpcmqanhab[pqvkabybndisouur]cnjoxldhauoppnqqk
yizxcouxlbjqbijqmj[kkqvlcusdkmkbmuia]pidiunjwlk<KEY>ojzzmf<KEY>
df<KEY>in<KEY>[wy<KEY>weruy<KEY>]j<KEY>py<KEY>dv<KEY>dtg<KEY>[eryvzkaxiahxekwbp]sy<KEY>jh<KEY>fixv<KEY>jk<KEY>
jkmabkiiltlvopaxec[utofhywhxjucodwke]dwxatuzwebnyulyt[iajptbioysozunsws]nmfnmtguoqipjmigsyn
yxlet<KEY>rgisbrm[ljtuifjmgxupgerhuhb]wpqnfedngiollocqbfh
zszqqoahkvdvpezddea[defewzqptytvhnpzcdu]cxuavzeyqysdynnr[gvmfnqnjwrjrjzphei]pelrqmmykeiamnh[jrjqavultdjecnghoc]ekxawogufyfdmltveqf
morsvbgrpgqiqeplgg[giswwkjoxkgkbonav]lyhrrcwskwjjflawgs[ogjazoccoomohhalb]gjnkzumbxtojtud
gtgotbovcctgtwwc[owthnyvlmcwnctlkilj]eytxalpmzywmwqc
ikznlwbayqdbhusm[iqstwodfolztyldh]amvvpwqwlswcnut
kumjpojktwxazwtg[idtisckrbetbaye]mgqtwjxlbdpadrnxg[eourfrbwgoeoqrlvhv]gegegzbxfyzpbij
mxcepmkacvzxddcpnsf[jviddcgbglreegewbj]qmqdhescnu<KEY>[<KEY>]<KEY>
hvdutkvozvxwpvx[beubpipzuwaclrev]lqeylkxqdqmcdqd[oivjrkpjzrjywzrxely]dcupjtbrltnguho
esrepqjymnodspvjib[kwdoleplnoxmntjuip]lvrhqceegktadibgh[yfbqpomfldnbpxsaoan]cheitjzmqwdbilm
oakpwuuoizfcsfo[csxawuixxvzzooah]dafrurtufjpuetnui
jmmekugaastsvdn[qoasgnykbkodsgt]lmfvbqomdghvicry
hqznrdvlwnamiushnou[iufqiqjtaiejfqwns]xsgjmqqsvbctpwqcgz[mvpdchozogazbfywqd]iqimztlwajwbxhr
gkeetoqftvsdjhhghre[nspwxohslbgkpyyhdh]glknqkzyfmvjczau[zrzurqfppidpckhmxu]rtawnnjhyjnbvnt[deisyafkjnxtcjas]cshchafpoiqptus
jpkjyjiucudsgjz[mppiltmurhwxvmv]sdhrapccelecuctxq[cnwlmuvyistotoykn]hjzxzneifkwmvumg
uvzuxzcnipyfyuesvna[ckplomuathpfkndodxk]vrqhbliixmzbefuh
ionmypunjczxhry[bvgmqzohimrjmijzkwz]qfzsokgukugmeso[uarvxrewouktpgnghtq]rsnccdtstsegeoudngq[hkvkymbbgdyncilyf]zteoiyacrtwykwzbxy
jnyydhrsrkeujfvj[qmxzqkbwizhvcztzdqr]yllidgevuektldszzjy
nuylrchiwpfvhdumyet[hfgfzmeldvotgtxqh]frzcopyhigfewcnb
sdcvojpgatiidjvfy[zhvymqejqxllelyux]ektbysjcypxfjrsor[kgfvqbereoskymyfp]izmdymjhwwtelesjr
xnelfgdpnrfhdombqq[oiidietkplqnygwsgo]jiltmfqqavrjrvyui
zyuubhwaovcbnaxrmtv[yefoksxqkrkbmbm]ainfhyuonvdvcyegy[nntnxqkqdqattwt]tcrtyqjhokntxcb
hxkbhdfwcraxhdcff[umxxccphsddzavdqn]zsmmtgneghqsrwfauw
kbdughqnourxomuiab[xcjayouykostteh]enwbjtpxpyzaeuhuwb
cpmzhwxdntahvhl[diddnwirsnqchwr]etsizyoarkawzrpfidi
xrruvcmbmigmutacwc[owhorlqlgqujvhos]iddgaukpxlielcko[gawcwcvuviuohmda]bfdceclnseehdeyxv
vlxaputciirctva[qgmwpinixdixaiut]kkoousbfcxganzcffg[cikwetvrztjgefpzsks]jrsyfxydznmupwapco[ooydsykpjwakdep]krlytknowykzzqaafou
dnnvcszortmitfv[sbnurvnwxwmvbdpawa]ewayhapxdfxplpqudro
fsiehjchtnyenvmjfw[obnlguwjqsgylwveak]hupypbuggmbkeqxt[ljxbmifxgorvriaj]tkttmzairwztsmn
pnhgjwzyqnjrkkw[ofyifgmztnzelptkwho]cgnlnrfdgfgjvztpz[wemrlhyskboycpdbzr]azikmfaudvrdhvfvt[chxmcbgineaycjiwy]kjbfttnqgqhkefoolo
khdlanelfapgxqpspe[alrgipfwfdyguqtk]coxffjtxpbqmxig
sxobbewirkvducqxd[ubfbqjccnbtkwpbxqpg]hgsswdjiudnvmvijt
jzbqaqfubdsfinobs<KEY>
y<KEY>vp<KEY>[cvenkdpepuyimstwmnz]fphlenyhtsxxeyst[yohciybbsiokzajcwlz]vtqcjngqpamsvrchix
ougrpfmoohiymnx[gorlgyciageugmcbony]ozmvirifntorlvzz[klsgbagukrnbyzsez]rdzhlkpoucggkcdqm
gfhrcutoyproiww[nzgfaaccfrgdbcg]fcrtnobfhhyzmadxjv[vlbueztcxkkbufljse]gqpnxtlrrhclwuaj[sstrllihglystknh]alxmlywxfjwnynbwfk
opeacxklhjwcefmwrwg[mzqwxyfltfqyepcgnym]cpziqpjettzcnktrqi[mbnwwhyxebbececc]tdkduejetkrqwoxrsoq[ncenzwgjnekbobv]yxhgzizqxwaihedda
svatyxdgfofrrkiksjf[mxmrficzxfyykqekorr]qojleucutcqxqryi
prrhfrigzcmemou[zkhokevqzcspzoyt]tytqcpuucppiwio[mogedxwsflwocpkdh]kkqnructlslbaked[sslztcwiwkudgtji]djssvabrpmygljeh
btundrdlcsgtilltpue[jiunnaqqzfgxauqjes]wtdxsfqroorcghqk[qvyzuidvkzmomfi]cgckuokezrtxrgdlo
tjcpdjzfllhwugiy[vxypwowarlatqjlwq]wnpwefpgpfcqqwwrsq
zfduowqkrccccgggmbl[iwwfgrhmjxgljwqf]cminvjjyetivkvhvkdy[ismlcjjywxxvaehvhhm]eojlvocbfkftjkapzs
hzkrcmpwhfnbwlisg[wxwoegwncugpcfwywxe]voktthitecybcfpnz
dcsrtgkbstmkwlzy[pcnwmgmcmpsiyizqx]pzjcivraubvgbkdahk[yydvhvyumdzfmjuso]b<KEY>ik<KEY>[tox<KEY>vg<KEY>iv<KEY>]san<KEY>
lp<KEY>[vd<KEY>]af<KEY>pq[ft<KEY>est<KEY>]tid<KEY>fel[i<KEY>pq<KEY>]<KEY>mek<KEY>[<KEY>[<KEY>[<KEY>
gw<KEY>[<KEY>ckxtyxkj]<KEY>y<KEY>iydea<KEY>
yokzq<KEY>cycvjgouoyw[starlvyjnijeacjseo]iehvlergdbswibmzci[ppmriizuqubzfehcz]jartjkmqzngigjvl[izpxafhxdmckrcuufu]pvkldotwdzdluoubpnm
rogyxrgfqivkovtna[xtahrogngfeygkasq]kpcpvtirxettedux[cdlnciogkcsaras]bupwazalrmfnjufn
eaeubxmpmymzrfleut[eharpivgddyokps]wimaximeayrixnts[paysmyvjuzpjjqr]fcqykmkzbcbyrpy
exvlqvnfmpkxfjwbhol[utjaefsandulqaw]xjrjchxifscadbld[ifrckhdhmptybkhrj]ykcqgygngiwzzyfnxg[plfhikkzndknbpdeeu]siwtfnlbcxuqkrhwj
ljihefaqagbmffbcr[ccmafzhpsvluglwsgh]jioaeefkgujinzlgn
rgysyaquiuyvtojxnaj[gcygzkwqdebiqsr]icaeuutjodsizqzfvj[qapmsqsaoniuinsz]<KEY>gt<KEY>zgtqta<KEY>ey[xlkzyyvcgyhlmvnzrpr]htorg<KEY>kb<KEY>rsbvemq
coiurrjhxxkcplh[nkusmllwtsuddqasyc]vyxzujqohjyctyv
briulribegnliapcimw[rgawfayyoopbosvc]owgryasogyewgxchxgr
smseegs<KEY>mfktgmefhw[paopy<KEY>rwy<KEY>jj<KEY>]by<KEY>pur<KEY>yzd<KEY>
mv<KEY>[<KEY>]<KEY>[<KEY>tz<KEY>t]<KEY>[<KEY>sy<KEY>]y<KEY>z<KEY>
zy<KEY>[<KEY>nott<KEY>]<KEY>[t<KEY>qv<KEY>]<KEY>atk[m<KEY>yn<KEY>pbvmql<KEY>uc<KEY>]vg<KEY>zmy<KEY>qlismti
ostutlkruoevsjr[qnvqsxlasjyrdyyz]klwvhuhmvgrlcdy[tycmevukacjlveu]mvxcfqojmrijbubfm[rbodtpwkkidfrnhayj]jsbgdcwbfdfflvupn
eaiframmiukbcixxi[bmqaglfamrqoswuhme]lxvkwmzgauwmabu[kxusdngtifhpmplxl]sfccogjqnblrahch
hcjmrcnzrhznwvtjby[lxmehjbnudevzmhx]ukfmdplzriyztnioty[lqjesrsxjozxcgfaknm]qifmjftfaswtrjblzf
xmhpeigrzvrgknc[drornrcakzujdrsbrvj]czapwkwkwwnkwks
sfdyqdpsfcxebamsf[vehdpjffaqhytqhhbi]urolmsuobvbecvcnv[toagfgryhwfgfwxmvs]btjwiw<KEY>
<KEY>[<KEY>lcbeufhmrpyfqb]mtcgpfjhjeowjpqc[cabeopcrmhjhudob]fgeutfapismkdwqxmal[wldzeajldxlxpwfrb]rvyuojjnauuitoofgcm
ixrzwptyltfshve[xwlsfazypzeuauxpozt]nwfgkbpuxeauadrgbbm
vppgbcdybisarvokztx[yuykfmzxbgfwzdohup]vlkdreyqjihmdksxih[iysfrpczrirzbeirih]czkbhrqlrovfkmlu
iaatwbohmiosyiqfq[imajfecefyujhwg]aanaybxebrfpdfxxpgw
qgomsuglksqobwhaq[fzcrputgufyvnesoqwe]ipziztlrfmlaizts[pulgtrdydqegbymu]pxcyeozdofdghkmst
tlxidzqdeqchemiqdsm[hacfdsanbiffzhilct]jtclxgjapfmwhlkn[ieafoftblueqcped]lauckblqborgtjnj
upkkaykvxwvkgwgztzp[jmotfixnvoqrpwsci]wszntutpsjljzmwqpgp[dbnlosuwazvekoplb]bmobthbbmitprffl[qkjfwmsronqjmylzcre]yaulmyfoixmkgjs
zxxsmidmqxjigkbos[iwsufumylphrhyx]uqmpbcxmvhzuppxqopf[ykipifsdwkpzgmt]zzcwzmwugdzckey
ciakjtvtrkgrxvp[yhxuyhyxwytquzxujw]lrxibndatfiqyltehl[nnadhofokmcutiyc]vosxtisllkweiaapagg[vwniutthbrvmqrvik]aixaxvddxrdnmmt
mbjsskcvljlehsxc[cknzgxghehlmats]eqknrogpyfcmtfhso
lcbrfrsccsbhyhurc[mheohludmokwwjx]bez<KEY>krdzwhssgbvydq[kiwqvuebvywyegmdyy]ioskcrvqcag<KEY>[zgttakbraxpcsqsc]hmmqufyfl<KEY>jl<KEY>iqvn<KEY>
ezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]yokricbfo<KEY>mehi[cffr<KEY>rwhmilnyf]uaybztx<KEY>gccfuu<KEY>
xn<KEY>pq[qmux<KEY>ebts]<KEY>[tb<KEY>]<KEY>
elt<KEY>gn<KEY>[<KEY>gal<KEY>dt<KEY>]e<KEY>tb[n<KEY>svleqob<KEY>]<KEY>[<KEY>tss<KEY>]<KEY>sn<KEY>
kx<KEY>sb<KEY>[uqx<KEY>vvupyvvajkcysh]<KEY>ig<KEY>
ov<KEY>mth<KEY>hijq[fznmygfcqewzomfgbc]qczlousnoccgyrgs
imtfinjttxvhtcll[xiqmbmrcqdxlvuf]pybqlwqezwrkvikns[usjydesemedszquseso]fhcgyicfbdrmgcnk
aqnavkllyitzewgs[cbbqmbtgufuvcun]iugpkakfufksfitigk[lyqiierbjucxbvaux]szbwsttayzipkcdb
yetucqvgffnvnxqx[pvgczfwkehnfqxawz]vfxegwcevafevvzx[ukcwxvnvfnqvxhfa]bdciuylrvfkmxyi
yvachrqguvjhkrbe[rtlpuvvfdvmtqswiln]jcyqjdmtzndhrif
rphybwiwiszwkkxm[waiaqtuthjgfgag]ttlnqhzfagaregyo
unsmoewlzxuguuwu[dyqsnohyqcommmmov]jipyewobyjdzkgkgo[yphyanakgkgvybsx]pjtzynsvtltzzajc[iweuafprefmbuekk]rwelzzbkbqjwjrw
kluxazqhq<KEY>crvldfv[dbxzgwsfmxettwmgj]rgvfmxibxzbajitnud[vtlbsgrkhnfpmvvkp]pdycyraaqooszqa[eyliotjigekmtov]eiopplzmedvdvmwt
m<KEY>dlvns[wsdduzxzfvlvldpjvgg]ywq<KEY>w<KEY>fij[sakivxaniergaouc]nzmhdlkxeiehdpuok[zfwtadjlizjcauurkq]vlvtdicnyhseqbeo
ssfmkfdeguuaqdbyqub[nbobgowoboytefejnz]fplpuipnficejfsuid
lljnuuistrsmsjazzy[vccsskujvdwxypuk]jhqjqhfatmuedugl[hufmsmgjutabctabusw]zcoiiovxkxtualjx[zdxdbmbibryrqaubxy]tyayojdxepcpmwi
zursgksbdkuzemouhl[sekbvoxwlmumyrdh]yxafewnovnxivyp[ajjditfeeocipuvdl]ygsuxuhtqervumd
suxzfxizhyzbovsz[dtamgkleqiesxemqkgl]vjuviztkxzchergyx[tvazaqnrstjbdts]wccoiceucunjiuus
gongygcedfxwncy[lxtpoagiqvgiryasha]elmaiygycycdtsclhpf
pkyqsmcicydbmdagw[ayulcaspxpbtnegeoou]welxvngiualigfefv[veqtcxgkgzveegxckee]djmbhovzjfexqaedywl[okzphpgdqtpicit]mistlyyaoyphetsxqxi
uwrxhstckbebnlw[yhflbfhsqhshieo]dvmzzqknrj<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[ef<KEY>]<KEY>[<KEY>]<KEY>
vzrz<KEY>w<KEY>jvcmft[wrdvmieyzckycagwma]izyptswwlzgivtgyfd[jaujtzdzregakjk]cjdnelesxnhmgkqsgs[tjcsmxghgtmstejjhb]tzqsgoiospxadncn
okgjhnzaxrtektb[sleqpxoqckdrsiwi]jzthxxszazdahvhq[mgxzdqnfscpqdoykr]doyvhvnmbshvkcib[jtrsntjktunoxxn]rmejgievrkrxaziux
fodknkictemsxiicght[tdltamcatgnknki]hzdspvkbgipuvnb
xhhmaiussrmwaxcpoq[agyegtzmrcgdrqiiv]akuxocgoidnfmkffroz[lkkfnmgryejzyvjh]ozdzcbsfmllaiyclho[vseayejwmotjhccg]qfqchpalcnaweyo
imdrphyleudnvhc[lzqochrdcjotjojk]cwsqzuwoflalwatlsd[ctefovkyinrjchrwdav]cmnbuqveexpaxmhi
vckjhzrdtpyynzbdsad[ehjwlyfbffzszrx]aizjcopfbdgrrtei
vfkpxnrqufijmniu[wnwtwpmgtjonykmcsp]mhehavmuivmxhdelxa[spyybveheykroybw]bfzudojcjhzckbac
egipucceijeltfoz[jpyjfgsqdywwjillf]kltttxmvrepsures[asbzcnwdqvfkfkiqqs]usnadxpcdxpjnifm
svsbijigntdtxph[fabzbljmijzwvjlac]kieomhcpodzimrmqoc[xusohhfobyruazi]wxkjzzpskukqjirtjc[iwqdjijjucrslihqpo]faezwwmpfpxenvp
sbjgcnwomllqwavkviw[pxekvxjtjbgjuouft]puzjbrwmyzsxclgmqsb[vtpnaljnxkgwlryjo]lhqzwvnpkzsdndp
fyfyvifiocceoozl[dmjxamblfosaizav]smoyhjbuffpgqdl
tlbdacsdiavtwucvf[npepgjenhdkgfavbn]hvbffufjyehpsoa[xghicdcxptmipfxlz]lvducqyymcqkket
nuystaihvpelybkvch[rlqyflvholahkcxw]gicdfjzhwwocfejthx[jpeuakotyanntiw]sfsavxuyyulvuluyur[asngaxekprpfzsvxx]rliayxmjvsrnizh
axquvvjwulrntbzzf[fddxxjwbdaecbsderd]vjtqwpjlhbdhxjoh
cgeyfvgczhhwbdz[kgsqgnalsysssiyhqp]wqzhbjvykeuyjxgfzgg[mqkzclianfnifjdql]vbeyhsxsfmoeanpnipa[sxmzlhgrezqxsxzzcku]gwmgkijugjwtutmgj
nnjlbnnasmuhskqu[shbjjccjlumeuigoim]ndwzzmbtazttjpawtzl[cnkpifihvkmsallifij]ccpzfojfxszmytbd[jtcogseximfojmjm]bgdltwjrqciyqfifkh
pkdqnzhjzcttkackdba[mucwutymaybynvttts]nndhioamrjejmibag[fndcrctykpehoglop]rgxjwrpzlqapjsv
nccuyvrhzyszqnw[ogdgzsefffyfoenfh]jnqnhnyoyrcnrowjmpv[wmlihztaoyedgkg]vneeegnosrxphish[uwrmezbsmqbxjpx]jgfoinwzlhyixzjzv
kriqecrnaeujvuzw[lruowheuwnintaqqxcl]kcopdidcqinihhmk
vxkblgxcmztnphdzf[ysjhxgovujrpagndi]ezgjwgowcdkfcstfhr[hpxrabjwpymyaolp]itcthqpgksvedadl[stfrippovsfrwglisp]eodicmis<KEY>[<KEY>[<KEY>[aq<KEY>]<KEY>[<KEY>]<KEY>[<KEY>[glgsy<KEY>looh<KEY>]y<KEY>ziayoq<KEY>b<KEY>f[vtwnbpqxhgsfguztg]xhgvtoqwouusyahedc[zcchxnllferklyt]avgtwloloznygrb
<KEY>[<KEY>[<KEY>]<KEY>ktw<KEY>eg<KEY>
muiu<KEY>yfirjks[xviqxaavhdxjkkccmrx]weauetgyttscsf<KEY>[<KEY>[<KEY>]<KEY>[t<KEY>]<KEY>[kl<KEY>[<KEY>
ytoteijopg<KEY>katn[oppmfhkktlewhlq]erycfxfafsiicbtx
xlwbkbenrohodfnmuv[zarnezgnivnmged]vyumskttvpderhzbimc[hvbbjegwdeeqtam]fopblbizbmbhzfsdnzm
rgmnnwzikyanthhp[nvnhsgdymtjeqzurz]mbqxtvwhpggnbcq[apeorjqexywhszrno]qaxdcaysefnpyviduz
vjaljdyyoihduumfo[bpufjkyqjvxoprdwrr]ccjbldnkbzezeznmkpu
yhbnzbxqrvzrguxcbss[unzjeicvhgqtwek]obuccrvnajbvkcmkzh[futhsovnghajatalva]humwbgtpqzjgordah[kvxmlpebzsitmnjfnz]olxhcyqkvfkqdxdc
gsojkejbnpgptcgeubr[lgjcwaotpdouravq]neezbmtkclvcvkqncw
qqdvpngddzjwase[rtgandojrzcpohlpknx]qdnxpiawdlklkscmpa[qtpzakubrncjzbpr]efpxwdvobcigtpu
boxlzukkqchmqrrpgk[ggylyipkjdmbjfp]dkckhhgapbgpmygpa[yfetxkcehafknkmk]acqmjcsvxzptstswuj[atrjixpyeqordilgj]eccoowxhivjiljegqm
exjgzzncnnehrto[qnhzvdfprbarmtdpp]rcdxdswituqgnsix
tokldrsfwqqhetyw[muqzhystnflncxm]pjpmtwcamluvvvdsu[mpfvycofrzebemw]mcyzcqfngdrjaioxzda
pqhnhcbjoqjvgqh[vqkgnojpmbawemi]lampvrpcpvxludprfuj
vbdpihaehliobsbciw[cpaudttavwxkfpg]aidtxeypckfsagubro[fpaiuhpggzpxsctw]danwtjnlhrbfipgfbq
beoecqatqkztrbevt[bdqoxnitxmdqunizj]lgquhovsnjuxqaml[vyfylkbhnsdjoezm]ediekdjfsnsodqep
cnaisicaronpqbihlv[ajfhzrpysjdkxqpql]dfznlmsbuozjlqvf
jbgsemiqgxmtwmdulu[ulbyoughrbpthdlvmvm]dyrxsdesjjwwfmvmkf[gogkkkefuecieipe]nimswajpymtzyleew
haavjxuwhbfxlhfx[rssbpwlffrpnsse]chremerememjcbfuv
losdtsrwrdvwzbjf[daaxdqsorbsgznm]miovihloamfmovzruxk[horqrumrdnjorfw]shihudanlgqfzjf[kqkwshgnrpwudohanr]yohqqtcywhqawfhi
trrbdodxpewxgcyryk[limhtndawxliixkkq]ivxmixrjddqlmounj[cfhqatncyqijnvjv]djqfccmuvdnsylo
yfdgkwopvrudzsww[gnyyumqxrftncsfuaaw]zfiekmyvpseaugfwss[etzbbabtbkdtgbwf]djmbswwpvfsowmqdlw[lpbkaarutdlovoptrke]ukztythdiepqgemm
huwfnhilneqaecp[hdcrdcipgcaxtbfouo]poacbxvuqwkcilkb[dnpryjlynwgzbrnbc]hxillsnqqraloociaqc[uoyktvkfxkdkdopnbk]qvjeuapououufksmwse
lfbrqypxgthlyxqzywe[pcxfduxttmzaxtr]gidsxacxodigyok[qyaamzuhjqqnpdsii]apgfypwqjpygzmdtpj
prkahitlcoynnubnri[rqthrhhudrvryoea]urkuwyabxskqbsyfgm[dyagznreglcdincwie]okvqdhlixssurnd
qrwefbcelgjgpzoe[aedkjvzurwcrhdimb]eaxqgpvkewmjynmek[nmfyhryoglbtdgq]dfnecedmtcrkfyq[omndbxvzczgnojpl]trcocwxxczcxrvjjce
pphzgbbfbqmhbysodv[znbyvvkjlacgjrwlnkr]iyjpdjsjryyqsoblbyf
lziqyyfhruzfpwy[upekwttdqzjxspfzcmw]ptdaapvzenixlab[wvsdrswafuftmysocc]ykzygszayfmgenk[mylrsdifhepnnsst]tqrbrvifghuesad
jwfyweiiqvjfkvp[gsmzrlbjdpgqtbjakw]oofharmppecdotcw[dencjxxfrzxbuku]ygflsusvcrcdznc[fmcercvqncnxcbbwcrn]lkxshvdqjairdnnpz
mfspfyoqeyalvzx[zwdzwlsmnktynntn]eeogyyanaydeykwd
gvwvweokjzagobku[ixdetnocslayahccde]juncfldivihwfpee[mcpxioooaydtjmojwm]satqvbxfkxhfdrgoin
yncjgygznetzrrh[uzkbwhtbtkrcxcveik]gehtfqltpixmsuami[nqhxycgquaihujx]ndtusluyzjwufzdh[ppvannvzrnncxpcfbyy]kgitvwtucjasvtk
feushnbxghbeqsu[utnmthhouoazgbym]jmplltesvrbrllei
ijwbtaksbikedfm[gjckpcivddahwkp]kubvhiqvktkkijchj[qocdkdejflyyzwukfrh]qlnixtictiubnfhvv[ygbwjbjxtvfevjug]dclcjonutlwyqaxx
vqtafpvexofwcfssx[zmlfsfqivipeumubau]moqspxvivckaesffn
hphwnfopanasosexay[ddmqqktxkrurcry]slvhqigvbwonriydzb[<KEY>[<KEY>ifeq<KEY>
er<KEY>[x<KEY>iper<KEY>ex<KEY>]<KEY>[<KEY>]<KEY>
ry<KEY>d<KEY>w[ohgtjdaeifxzuhoqc]yflsxucxibqkcpft
srtfcyyruyxzxum[ygeoeyfnlufgsjxjm]ifwimooynxbrsxmyk
rqbnowuwuernuxpim[zzumupyxvnbnngmc]uwurpinkjmkckxx
ikzheexqxrfttoy[uwegndkenfvosfpm]acomhjgdgbuelap
srookpxqmghokjoegi[lhpppxjenrjqiri]mjlixhnrirctrsupv
onuiajxptpjwixyvp[otlnjwravarqmepwyd]hmnvzsflzeyrlxgpwwh
jmpskqdlbuorcpwpqj[sxwomhbdyomudfaisda]nvzxtvytsrqqxbsug
lohoirsglnfzmslubqc[pxhygduybnlqemp]eulzazwozzqytmn[joeiaeuczyygjtg]tnowqyhlrtmumjyrkp[lidmrorxkpcajufzib]ixxyjcoocfdgzjbhhl
tmixfdhagahaqeers[ruioctblczdbnusokt]orpjrznwojfxnheoqbj[gbgyexwumyintxi]tznnvbemvedlpriyu[ibseuzmfqmroeeawur]tkggtpbcgdthcpo
psnbkiuzotsmeklinng[qhigmmuxrpjmhuhxt]urvnxarbhbsouap[chfgrdkbxmgqzdccv]lbopbgjsbykugbzfp
qcneczsyljovqwlnjz[mntyylfgsuvpjdp]osrpdqguiouevrdq
xvfraxzgsypwfmswwwu[oyrmndtdginkvlzdid]xgtwrddwmukzxypxl[mcjxgiimlmsnizirzt]gliezwdntsgoxznesl[vwypsvpvcaeyzivjo]zigujupypwjqljxaie
xayweakpavlylgjl[hxjyhvqwnyixcesj]yuhyulfybuhvqiinlso[eyopyetglenvqzqhnqr]mqcovyockdqdqvfer
sovuasutixukkuuxn[jlvxhosfgqjcxnlmxql]<KEY>[<KEY>
eg<KEY>[mb<KEY>]dz<KEY>[gdzij<KEY>lb<KEY>]ew<KEY>etkiv
orak<KEY>vqxc[vvgximcdecwxmpbjsr]breycrlgdwgnbjy[oqqtlhrvdyqesttwieg]dksvmqwavamfdma[fndgywlwmsmaivduv]mfweojoshjwolwla
pqpeytynxunxdfyxrmr[krtrvrufaemrmit]kcgnivmpvqoagjmharc[pvkuwynulvvuqkif]mvbbgwnmngtr<KEY>be
nsacyqfpikkoqqxp[jdcdddcdcylpjiled]jstcntnjxszhichrkw[vzfusiwojvrjzhevjm]lywsheganczawtqb
rtcpdankaboogxhbqj[vfamnogaxasxdiiizk]whpyanngpggqutan
qlxjojmpesvehkggt[flysjbaoiorosmpzcl]wgpxurstlnopucd[ewkgadgmllrewtwse]icnqidtfsqjurnkw
oifarludgzqkwtdm[jvoeypeqpfivakqyj]dtcboyxnhejlitz
npkttburtggvbsfuiwo[wvklzpiffhreyxkz]uhuynxjezspazaudse
etaapuxqbavybsp[mndpkefjvjupccx]pdcnnncxtrzfvlnmq[ioehzamymeougocos]hcuxkuwhwvjvysbwdo
fjrsuygcrtpzjsw[rhfrgfnkhajlqtqdp]hftckgnarcgoyfkmimd[hkldanmovhazpcpwhl]qomxfqqhkcuqhibrl[tpbrlhcndgbxuuzdng]knqmgdkpbljyufzazki
zydstadkygzvjmxdhu[qtgaglwyzqncfbds]dqwbpmopxmdtkkcj[dcakbjdwzlglkpndtb]nijwetvoulkydqukzn
hbxhybosbnopyxpnnz[juewibpcgkchnerk]pvdtzqclnvdbmwjk[wmtpskdcqiiythces]kbhxnzcnjxhnkuxwft[yetvomdrmxarjwsumqv]pgumogczlkgoiyn
zaeaejxwpzbqtjiutt[eqjjobopoyuoxymtvb]glxzffwpiwoqcciyul
rqrvuzjvcgaancl[pmxugkapydtxezz]lihcobqbdqenjmxyn[aemdyhmkusmchckzqnp]tgiijsdtqtqomptveju[mvaiexukertbkyinjc]pjuulfqsxhbpdiy
jjygzflwfyeiecuztx[yrziwmbdidxrjsouxen]bqkyguqcejsvrkn[hzipqxzodrnsozfmta]xvt<KEY>[<KEY>
sh<KEY>[dr<KEY>[<KEY>[<KEY>[ft<KEY>[<KEY>[l<KEY>vor<KEY>zrhdd<KEY>]mv<KEY>st<KEY>st<KEY>
wncbd<KEY>vz<KEY>rrun<KEY>[riirhteyuokxshfmxed]sdcpacarelkhx<KEY>
xx<KEY>qeok<KEY>[xxcnkwhvsylkpf<KEY>]x<KEY>nq<KEY>aslme<KEY>sn<KEY>[rmz<KEY>]mutx<KEY>[jyp<KEY>ztklx<KEY>xyzsr]<KEY>ux<KEY>
yen<KEY>cy<KEY>erlso[dttyspegodnpefcpg]mdhfzxgyoxozmgi
jndnuwbhvaciqduyfg[xoeqacufaixieedbtnz]mpkkivmhxwxujcn
majifpotxhylyshir[mhcapgzv<KEY>[<KEY>]k<KEY>yj<KEY>[<KEY>]<KEY>[pt<KEY>]ym<KEY>
ly<KEY>[tv<KEY>]<KEY>swdt<KEY>ss<KEY>
y<KEY>ideiu<KEY>kw<KEY>[gxsoytqhoas<KEY>uiasm]fy<KEY>ugkv<KEY>cfcshkzb<KEY>
r<KEY>utrsl<KEY>[ws<KEY>]x<KEY>[xj<KEY>]<KEY>[mio<KEY>]<KEY>[owvnsv<KEY>]cd<KEY>
ux<KEY>g[dys<KEY>f<KEY>lbjre<KEY>]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yohfxk<KEY>jqfdzqe
kqcxiuftivavvdv[rbijqqjbhpdcrtpcy]dijrgcyuoqfzronrfps[knxiljzdtvauitad]hohafhoofjhhhppkr
vbanudfbhmhpqsdpdgw[ksrnxrccuenustesws]bgiuwlkckvdplqygpi[ivyzkermofckkcotkj]mhjspcpkcwsbisbve[mlmgilflysuxqmzwp]afixxyabstclpunrya
mnniaptautqeenvmog[wfqrhlcbcwqhwzj]ccouhkyhrvdcbilshrw
zankwrrkgkejsfiwcox[gcxocohqugmgpfoea]cfpphqzxdllapiaxu[ckfcklaedfbhgino]pwdqreudlymfoif[nkaiutnpwnsfrbzqyuc]mscstkuwovgypqtta
dhhvqxovlmkpzsg[loljkdtjkdhgawrpi]ggnnhvbpshpwoloac
wjepglephkicsoti[lvcfarizbzsudio]httbqobbfjoomntye[rrlwtyngtpvffaanlpw]moqdodrnstpwmhjrw[ujoowvjwddvlqqbbzbt]alyeqayozgbhtpsni
okuneqgdkcjggazki[ebqvcuzvuqlvptuoqf]wvcvzlzipmoamnvjt[dncwvnvagpitnxtjo]oadxpnnqonbrrarqn[ruogikvmdiporivvzm]vicubwgqcblvvop
iqwlvhjhfrfeayiclzb[mkafugqikswvpqehb]ezlojhjvdoyzwmggb[mncadipbeamkzbndk]kpewfgsurwlikle
ewpiriwkjrgicwzfxck[iazlrpnsiynlmfi]srfoarhvphakmcyke
faalgogxxzuylnk[zsgporpeqifzknzz]mjkbrrvswlbgdwhmlgd[mxfiiekevaaosozya]klhonreqfikygbmf[hhgfoolpnquxfxoazy]vcxscuxdbvevulug
curbpzpilaczuowrsi[wmyxdecknwrspllfhpl]quuvzoiqziuotvfl
kugdhavlhuperwafe[ecuvibachziwzefzn]oyhrdjgmqqauqhhg
kcbawjisdirrwzv[fugffzgwmricsypdz]bouoevvlaykmgve[glivzpgoripmcnqv]bsmuvtuxrrzjaxko
oyaxoumybizeabdg[quusffkxbmxajbni]lxxqjhqcajdkqszr[cpgzcteolyloguchf]zxowxsyvudncstwk
xmlnrjsanwjmizgawvk[wlyncljroxswzsmd]waxcvfcwftjxbqxpmvr[spiqjeqpfxanegjxf]sxzszkcgibvfkgtozy[nmhjzcaophbfpil]nrwfxurekvqndbzw
xunbkhekkwyvgcerevv[bgjzbkihvzlnnpptr]huqryhbrkspzxusu[dmrytcqghtbbhhzu]lasujmpjaobcnfj[ebofoyovhhzsprycn]belltiuhimwgwqek
ocgmydyjloxpbsyj[wuhymkumnwwcdprxc]ncmkmnedztlutaw
lyuydomeinqxrex[gukhcsjakylfwqodm]hdghwpfhnwjtmafqt[lqwtforyrybxbbh]fgyfkgvzyooifxa[kgxkzeuijywgdhuryra]dohlilkbkqzjsbx
zgckhhqwhgctoun[ajftizwahkaxzich]wacumictegcbysyn[zzxxwgjdzicxreegal]pwquqtaijwqpkistf[vbombdxhjxwlboqdbqh]hfyfujedxzoceqewhgt
rcpaadoewdfxoksbiuf[cmcgotvayrjllxgtm]pmkfrygwrzuobudsah[gonfdimjagiyayni]ctrukcwixqczltol
jrehwmakkkobozzwrn[beoievlwkmkusjzangv]djpjbtpjpdcjsmopzpw
zsgrycgmryfdzqyfj[yipsuqvzrujoaqga]khjrvsadupzwwoasmp[bdpwsunstwzgzawlu]wxaqnorkgypawanoso[iknpjxzhmqermgl]zcsakkbrkkaimtnya
uyuzptbpmmukyrpd[vmbrbmpgvxdxryzcpbb]ltybhrruutchwbuuicv
ddaeptwdykjibuffjh[ufzsfgmcffyxyyywdu]vrdexhgwtdlczpc
csivzntivihwomh[nprwknojctjnkov]uzridiquzokufgzgjs
gcpleovxfcyyeme[crpzfylaxfpuecz]zoomnthfoptieor[ycybuegqfkhlupplwb]qjmvwbggqxwgeuneph
vwqdvgzzotnnsydivip[ohjqzjuzxyncdbenf]suwfgrjkasvyhzbtfo[qfalzqxllbjohnzvgj]mtkkcwoapdjaysfyono[yqdgnieatutxldqyosk]debyxvqoatdeibyy
lhljheobdtmdowhx[lrxkzhxzdjmemintrq]jecllyatwkrhfxru
howoydpdchixptjqapd[nuwrazvltwkshpvlg]havqlubvtfkhsmxwxew
uwapzmqskzwiiqx[xtyqrsajsrljaajwedl]dgcalrxxdsfhqfdie[svghimwbcbmxqtqhjn]akqfoppjhaadsdbela
slbymelmqscfinxle[ahjtgvzldgftnkehsr]vaqtlbhritaotaxvhpg[chcyoduevjsyehz]jncoccdngssgteldzq
mmkzxzkatapuuwwv[odomzyzveadmmicfb]eiptpqypfvfroxu[bxfgwaezkjrbpim]hvfvtenhpyqiohxj
jetnikaiyuylckwz[vonvdfgbgfxrvjzluaj]zpmcyjvkwghaiuxic[irxghevzlcccxfcrf]xicbllnxpzlcmqbgm
chvpdcrevaqnstnw[sofvzfabefeacnniokj]qdasdxrscvlmwcchq[kcpxsnydjsoviwwy]bkdprrvzdinwsfxkien
cwoamgnaytsfeccbqb[vyysuocjjhfoixrtmpr]junwfwadfbyukyvnw[lcwtmcbwdkrqngvqi]vevlawxbwoqcibmtk
seboazoqdqpckthgk[psehbzatcusxwqa]tiwgrqjikjzwabuufp
ouwlbqhczqgbljktjy[bubtiannyvmvkekhwbg]xvrlrmkjwkhzjjlia
vatnmtxixznyvdvt[ftz<KEY>[<KEY>]<KEY>[<KEY>[<KEY>
zk<KEY>rykxtfvqneh[pxvjsvutuauoeducg]iduhzedqopyfgxjwpl[tmzqjdffcpzytkg]zvwkvgwmfhbqklyvai[scusvxtyjacnqtkany]xqsylxxrbgvudrdxd
dbgodepvweaspcsam[vnqcsulaljbjrygsgv]gmfdwebiufbqkaofraq[unbumchixaeviclyqbn]ekpfqosiklnpdjrjq[nlcbhutxymbumqmwh]svtcirskdgbhfjr
wpvcqnrvyjvfkfpclz[wogcckufvzviggf]oulptksetgaaholu[dwwcwhkktrhgkahbs]sobrvezzrrzvlihicw
xlcqxbbegaulczmzw[xcllvvmlrdiamavgvh]fgipexbodvwutyt[pwhoyusimtkyswrc]mxtrsgpuxsjcqmb
euzbhyalpjhxfawzyj[kqcqpulvktfqwccr]etzsqjqzeosiarij[kinbhoflquwkkobs]jvcmusgezydgutda
lpxgexsvlfylfjva[wnzhqafvnbcbcoy]wevgfhsjrkdgvnbta[mvmabgghwicirugb]ctcyjxzknsnpxixkc
hkkbtbsnyzrlsuyhwov[iurtqidtzfwtfhiltt]wokyylscmppxsdqtnns[swtohjqkqnmzxon]mthgkxltaceszxm
jernxnsovguhkpljxce[twgyaawrcpjpnxp]rvjtstsecwlieaeblp[tihicijqmcrggggrjo]igcnuyrhtaooygb[ntscsypsxaeatyj]aslpawlvpctyjzwxhw
xoooyfocrwvsumzzywf[rdovvrfjqhtuiro]eudcowqfnmcvpkdpv[hdyyadaesuxiykkiztt]ykgxpvfilimofxfj[ittajdlxgptkzqt]djtaivnjndcktuvd
usxiyxinxwkgmdmjlq[quaspjeawvvlagjmla]sucqobcfnryoftyttwk[knzzgsqjkwlybeebxrg]juprtecqapdfbkk
jsbpwwkgsmydnreqkd[abmspggfxrehkgk]nzhjbpwxrvuwrsnilmj[qqtarhezcecijunbk]fzskmnquqoivtsaxym
mgekjguhkwyfdcse[ydcdycgmcbzvpkesg]yuzqagwvmncdcia
wrqntmycrllbddv[fzewvpbxklyccfkqsed]czcxxkwfeberluvi[iupovtrukptjstnkex]sukvpgublggqzbecwz[rabiytcgypowllw]dfitoowyhfxjteip
wlqzetmtxlrkydh[dbgzuittqekewyc]vsrigjcntogidwtft[hscoyacwvjejmwxxv]vpljhuinywgbjnynxhj
ydpusekwzovghcojdp[dqycroxflpnyqpnai]znbszhqqfkdbrwzrxr
uzfunassiuljodnjr[tzrbcvrfieeocdcn]bmsircirorbtgydp[wcxinsnngyykaaavhk]xxqbherleuhjskfyu[wfklhczmivpuooytgz]fzxxivrumhumdcdt
mshsdecfbmkjmbrx[fdhjzahrcoydrvqg]stkkbwrlhhnjzts
nmbyxmysrbuejutpzn[ruyrvzgagqgybiqsn]atkbnawkdkildlbg[trjlpfbjomgxvvmzowo]gbmfxqgecnzrwowcm
rtiylcxgfuqngjkyny[mgidqfnevlylaukbwts]vcejabirnbonrowlea[cancfhwbwdlklwo]ifsehqpalixvinbsr
ifyzslyhrydfxbsb[nigcfrqizdtzetpncxt]svvmxecfemwefpgduln
rtzslwquokcygmdws[wvblnifrxmomsmdwtx]scpjyfputxvatko[mffinnpsxezowdl]bsmsjqeowsoobewko
zllghkuucklrmwy[ylrocgxqrlkdkotl]gmmdzctugnusdsrwwhq[cllevhgqwlszrhlbv]prpeirpbwoapvocm[urvubddgwfmmkoyu]ygmtwdiwvuepkcw
hnqlptboqzzpksz[axumkjmbmyxfokki]oyassusfzvnzhlobbme[vbnbcjaiiuqptfyct]oagongosnahrlok
vgsfvfwepwufvvqbo[pmdxwkxldxhlqlqrgp]nmkpknxluiphfrfxm
qypkqkfcicanneyvvr[hrsgqfwjegdzfmyt]hmsppdjbdxxtagyhfkg[ranuabbxvhlszpmlmv]ajsbmdayixczrhy
oykuwlbsupkaaaioxnb[cemxnilkmxflpnwp]vuvzxrfcfhqvmzlzl[hnvnqhipzparrqm]rjzhvguxrwhwyzc
mdjjwbprbzhftjae[clpvjvsxatcbzsyybw]thsopmeuzvhcfppbha[hwbfzhbptymaaoywwiv]ybsfudfmveobwaqkul[argjxabjvcalkomgp]nogtearwoznoinj
ngsqrfixojvtgzmfx[dlttfdsvjeppwweu]ydwjjxycbpopceaj[anlhiebedcpahqihhd]gtsexwhwnpmpqvdxa[qflvviiybebmusv]epuouytlbtacnsnz
ouccxvpsqnmxezei[vmifqcpthebiklhid]tszxpvkgldobdjl
pauvqtezlhvjejl[sczynxdhjpivcogula]llemqpnanorgnkmjl[xxtooqiwqkcbvmp]anafyzhbzdtpcxcad
gngdmikcpsuduzdrd[fchropeunoqkngns]rfdquwdpxtlfxscvhzj
<KEY>
rcfjxvabpkgx<KEY>[<KEY>[<KEY>
s<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>]<KEY>
tf<KEY>[k<KEY>]gn<KEY>[<KEY>as<KEY>]gg<KEY>[fcyzs<KEY>ern<KEY>ft]r<KEY>dn<KEY>
adztzinzrvazer<KEY>cl[vypxttybduwxgrd]mggcsuuzlwiilaav
qnamzrfomzqqhozg[zaoqvddnqodpztm]pqhditszsmuiakyelb[sfknkiilewablfnt]mdzzoowquvhayznyl
ovv<KEY>kb<KEY>qe<KEY>bcke[wtzdbpzbnl<KEY>wfz]tupy<KEY>tc[fpyrav<KEY>hddaubymf]p<KEY>g<KEY>wlp<KEY>
l<KEY>[k<KEY>smjxfe<KEY>tewtod<KEY>]xhqksd<KEY>zycjszipd[zeptjnsjluccoiuxm]bhvktxgvqjkufxhprr
zflhauqmcaiwnqn[jhyeagjfxbgnzk<KEY>[<KEY>erlpgxp<KEY>]<KEY>vcrmhvfeudrea
merahlzkjie<KEY>dkyky[yeygykydcucbambmtz]tbujyhneuvzacymtgrd
sgvvjpfdcsriacwuyy[rqhuwizydqorikmqqlo]ozsalwkmuodygrh
jfzfzodtrqrrwvlr[ukxwobjdyhtqrqr]qzmrpkkjzqibwekne
xbmixvpzovpzydwprwt[qnquthrvjmqtpzb]utnmpbzmurlbpfuaqu<KEY>
fkfz<KEY>usnte[ajzqatzkpajls<KEY>]<KEY>nz<KEY>yn<KEY>mz<KEY>[te<KEY>gatij<KEY>]aig<KEY>zip<KEY>
jf<KEY>ukcmp[kddnrlcjywdjcud]<KEY>hz<KEY>lk<KEY>[fuavvscfxpynlxexr]sz<KEY>vpb<KEY>
idl<KEY>z<KEY>[lg<KEY>bpjcyvpnecsqfhr]sjk<KEY>ancdml<KEY>biwjr[gzxmhvvugpuywst]oodlrj<KEY>dknfxde
bplasvzaijndpfkr[wkvndyztlfkelwckt]kjkbnawptptvful[fmlqcligysmrzes]ujvljnzkznjvkgmsvqq[ezpnsnwrujkrbcmggsj]eghksoebyyfnptgqjul
bjwqelavjebvqjroszz[jlfwuhjucugbvczdbil]xxuinqhddmsrpukke
tgbvekwixowohur[hctpawxelfhbtmwc]axirbbtolsqjclqo[xcxiycbryxmpimq]kutifmilczlxebzxwjn
dvxlbiymdfdrnnfp[nxrzuioymgfxqwxo]qhydikbrlhqldbq[heutjkmrstetknylg]grzklzcisupegmbg[mlvaswdotnzowpqw]inmxskvrovknbngkp
rpoicdzdnkcxqtqule[gcxezbuirojvwliv]bmnlgvtpiyfhkukpj[gtqavwzdzdmqufnce]nwnlyciquxxcwpte
ubleorakkrqlakyr[kqwacjjutlifarh]dgijscrhnsrsxqhogb
niodmrcgcjrihildfw[pmtshihgrssakbouvf]otoaadrggvnzmetmyds
jczcvqxamrdcpnjl[pitcvywsuryykynqxax]zmojzqezwxdnwrcuif
nbmlxeosjvvtihmwt[acformsggoqxslahuma]nmezephkdzghfvhiqq[epizeyqkmseenueefiu]alkiffsdvovxmejkunk[hiwyudbbuondtsqjm]wjioowmqljplehwe
hlcllqbyvenlzcfgz[tkddqsjxydctcrcuhq]lnqsaupwdmxeptzog
rrkevyquvdogauq[lxscinoclyrawtkvr]mbiscfistpoutkc
lwkkwxlifgwimrupndu[kglwcbuugjkujltz]rrgozebmyxigvxefa[hxbstqxfjnzvkco]rqpxaurnjtzymxkvtiv[fgbvzthgqifdqehisw]kwvdvfijmbimizl
yejkpafozbchconq[chghchxxcybtarwkel]ensiprnejdyegqiiu
gsclugkgowknjfkewxn[pgzgezavhgcfjpi]wttjlezzjwqyyzgzc
ndgluxoxlnekaomi[hrrjyflrxyetpub]kwpcbjgszdjimqfgat[ofdwoxrgxjrbxhgep]rdaebrkfchddavjeqap
vzlsrismjdiyfqzcieb[fylncgldcdlrqnbpw]hyrajwsfckxlkhcboe[rxqyolmmgairjktnk]xhrusylermeiiolade[ifiekphfwfzsnrb]szyunhntoeymkuhyvru
ekgeyjojapzhzaxfzhw[nmmzpmouaheahibz]sk<KEY>vz<KEY>ot[napvavoknajlvmdd]wbjkbdpjhuhxybgywu[umxthkfbtbevasmekcr]adnybcirbnsyplp
qshfqvkxfhgsysl[tzlddkjozqzcpcnx]xjkhcdozufunylwdzs[smgwthhegrzgufktc]myfufzjuvrafwalrnn[jhsmzagnqmhzscu]dbqonhtmhhdshdyatcn
tcdybubnklvamrjlxqo[naocexrxejgekonegma]hlejmizxmhxahxboitw[jteivhxwxftlyhl]kvhbakqlmukgslgvgx[aueqotadcogcmhqeeec]igrfisukejhgfmdvx
jowozfzspexprygzplp[acahqiqszrcdhsylwwa]ppdmkmcrzpzbflgeld[etwowmhcqhkjkkipk]gnilcosjuukihcwyne
ynmgkfpaiocmkybwkz[ztxveuhtztuioruvqbr]grhetxxldtoepqtm[yrucewbvzbphefuf]idcnnpztztemlywblpm[ltaesuehnzfrsflac]bbarkjzutumhskhf
mckdhqphoehsqgjzpzi[eiretkkiklgmfvohgvs]fsaipzocdnrwworpfj
hmdbweapvrpdkhqhr[xwpfkaaejitfikqgy]atylpiafldvqsunu[dwvoqhxryfpiegidm]dyvhcjqkgspgnpw[nkabxwemccqznbpdq]ripivpqpjrebswqspd
xdjfwlhvdtcxqvfzrlh[kcjkplfasydesgzkkh]ilfrxwwjtpmshhcy[gsobusiljqgosoih]dgtehabeomwepoaaahd[gikvtnebxclexmsc]nkcvdazorstiymosjv
fjjpjjjikuarjinig[ytnbvaleddhkesaoaut]eorhszwghtnmzbjipie[fuwkcamkegyilppagl]pipdvxwvkvvvanblh[ipiaupaojxfjukjgk]purmzuzammwgfyle
qclqkkcoimixsiou[psabxyezhvejtdodz]ejzppqfiokslbdzoyo
hrrdaecpdytoxkwdynw[vhgsgzqlqemkdkewg]yeqaoolmodchmigyxt[whflgmjarkpzbitpkl]jqjtyhnxkklkzoa
jxdsjmkuplrowpkta[uzwnxgrrcieqvoz]vtwwzqgvdeornoqxmuw
igfbnfbrrkfiyngqux[aajdqilzidsasrthcnc]xmkzmvqsexhkttcd
bmcwxzeodkxlxclq[zvmqvljaabeakiei]xzujkuxdmumimotsaps[xuhocncyjxiyavon]hslcfclmfhfxxwwrln[dfmghezypyqxtwo]wxaxiadxkpvuwdl
xifaalrmhugjejbl[ioovxgzfgpaqlyt]uayfrtjeutfeprmb[fknrvsrbeucxlyzauy]geowvgcfjnbglmrxp[ocnpvwnagqhgbcvoupp]inzfrbwlliwgcsqgzb
wccriqkjssvswvpgx[apoeqvsvtniwgbt]wfrmnudgajwhkcy
mbyargqesqkprhbtaqq[tpxvefsyzwxvshmict]dxpxmxcluamxmfq
jfxpcnpdgytwhkfb[kdrqmtogtlmxqmv]auuyjbertdteoho[tdendgogvoevpnevzdx]eicpvtgotdkcgwbd[ygcvethlzayahhialf]kytibwtgzhuvvsjw
wfdfxjuqfxjbnjpt[mmaupydmuixzfwebpjt]kssauqawybxkfmcu[juevujxyjrwzewzua]eladywlrkxglizgc
qtkmarqccnxwoqr[vzmovjwxsbhtnmjhqjh]zycttmgyujdefxxfs[tsmxkcuqircrdwtsz]uhqtftqwcxreyvlvff[kwsyvatwweenxdvqum]sjmbfsnprqixqzx
rantzkbrnpwuuvqbqn[qaudnwijvntnxlj]tfdbqbdepavxiewo<KEY>
x<KEY>ejpyjkrz[o<KEY>iy<KEY>]et<KEY>[<KEY>]sw<KEY>[i<KEY>dj<KEY>
i<KEY>ys<KEY>[eh<KEY>ds<KEY>wwjrub<KEY>]<KEY>txbdd<KEY>ub[hktknkxemrlnbxwz]qfejqmapcl<KEY>zh<KEY>
pm<KEY>izplesuakfc[woqzewypfpcaiotx]xatiburufdzajqrv[ydsakwhemrgnxgqyli]isubtdzpkcgsoas
xxsqvodorzrnrbzsvyu[apejbcvdjuyujpxewu]kfrcogbvnrkuykpgx
nkvsmhvlyyweggw[yhcjceblmlzpgig]smpwtbqsnklgxxbssz[aiivebyzjnbelkphux]wnaojsgmpoiaykznpj
xcllttmboowsgodsf[dfskztizatqovmat]gpzyyqjotpdkdemcjon
drhgljhvyonmqzkr[ohxhjhvlrpodxwy]mrrhedvtgdxjhjv[golpxgauowhwdoov]rdmuwnfurqwssgth[atspndhxuuhzadog]qgdswxcwwahqnpx
uvdajunzymasgjc[onqeemcifirbxli]mrmpwnqojidvwexxrjg[vbpwisdwqtiteawvdw]rpjzhfsfhrzukstel
owbdsotbsjvrwvdb[fclwyuadozjjeyvkz]uzfygewxtlgjhmfpyfy[qlnlpq<KEY>
m<KEY>jr<KEY>fonnmp[lpbevkcuzvqguwzbzb]pacppeefawsktrydyqd[wayxdzsvisprqutg]dfysmjhwsvnavpixfl[aphusnjjnvygqikzbz]qmvbpeopziujlsmgx
wfujisugotfsymh[juvkyhewsnpzualwau]ljyuwiidwytmvinw[qicxeddblcxrsdrp]khdooklzguadokmdbd
wdzzexnylrbsniulyv[nbehnwkwkrrkbwirh]ymyaqhrhmbuolmtbz
hsxsderrtdvolsms[yqxhutbtoodvausgm]eufwcczbwgvzxsti[gqewnssdahkfambauv]hrnsadgqtzcegnplnce[fwzpwvfptgbgaahdn]hlvjzdqpvjezifpbh
gtnyrilnfgmslzfju[qwahfyniqetvzpb]txlwtncptwapogp
xblzbbrwjoudimv[grtjaoaytdyffbl]jojuhhvrrgbymoptzi[rgpexwvtgbswbzp]ysyfhclvndltbnnzg
ggtkfikxhhzevnhpkoj[egndynfnwwogwdttwg]gmdytpspodusstki[zokrsgoycmxdzrni]jjtmaoztqkdpsnty[ishkqeyrmckkbcug]jkkfuvenjvphkmbtk
aprzrupkmqzdgncwuq[ototomaxhriosvx]zftevshbmxrjingy[vkrildlncmbvbfi]wsqygjuriitkbszg[ncmxdegpxcdvtgau]iauwjlqoidqpkzkeazx
klbfjwxkpqniguvq[wymwprcxjujljrexcg]mtjifypvknsiogypja[tfbqvlowzqxqefia]azvpxtyghflrgdo
xfiwnyfpxzaizzzhp[jsfakgounppfocql]gcgjvygypcgzvnu[qmwugdkvhxjknumcr]ftgvxsqochhihwnsb[acnafcpwduptldm]zcstejwdgasnvehwyot
repltebkzsojvhxy[chzhbjyllumckfluof]lhdibxgatvxzzhzflz
ilqmrorgodzrbfesczh[udnwlveyxsalbxf]pptfzbjvkxksoarpy[wffmfpwwxmuxfmrvmg]zatihmtjlhvjbzdwr
gjqtwvpdnhhqqqvop[hafmfvvzhqrnugo]xgrpicypdmzyjodfv[vtykgzaxumptsclyf]medyaqnemgrawbizrdz[ykkktuzmryicpimqgdk]wyxwdmdtrxcpdqhsrli
hjnariohxtbsthvcwj[jqplvjyvfwbbphien]yyogxtzdtzodxceve
tqajsqqmgynvntqf[wkovdsdotmgxjmmgmoz]kyffakcqgknonqj[hvuefibelljpsvaa]santzrmyhmmfgsac[xevdggsuztwdjllvmod]osdymicaxgknwafiyhf
xgangxswvkcjsek[jrvhyhmomvqblucr]mhakwjcqomofhbdt
vuuruhdlaefeyjtemtn[rkewcsrolbjkvgnjur]ajuzfefffkgdtzfmfwu[ysqkcwziamybbcghjb]vnyxgeftjtrxeokaqk
ytfkhfnkxsuuddh[uorumsswhfhyjhnoqe]mlmhytefajriiwzln[ivgrtejpggcetxry]gtwlsddrscrxepv
zhsugwnutzaxunnfbj[oenidjfrxbnbnevjwo]wnscklrurlxquzhuwf[fswcwqtoexgrdguawj]knactvqybzyjdjdkdkd[hwncacnowaliolgzmlh]xcqfyvhkoaxjyrxggg
vfcdutbbpmmhmpty[glvdyxliujvbdqr]jyavmvfrqjztetyn[rq<KEY>[<KEY>]<KEY>[<KEY>[mfc<KEY>]<KEY>
f<KEY>[cwshxkap<KEY>rgudllub<KEY>]vgykjzaukwxoyeu<KEY>
mg<KEY>ak<KEY>deymyzx<KEY>[dsv<KEY>oxfiuxixx<KEY>]<KEY>snjgro<KEY>[kxkak<KEY>fl<KEY>nn<KEY>]den<KEY>cx<KEY>
zf<KEY>[nz<KEY>]y<KEY>[<KEY>]im<KEY>y<KEY>[oennqnvdpveoi<KEY>]vljstbhqatpw<KEY>
lpzjqfcipceweps[indnzphetquilkxnds]oxyivnjttcuectlyfy
tfhhmfeom<KEY>[x<KEY>j<KEY>]soepimqfbb<KEY>k<KEY>v[frdrobvsbwwkcytfv]aszgyodinewnrfdhh[wztqipflzlrwmpxefga]bx<KEY>[<KEY>]<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>]<KEY>
ql<KEY>[x<KEY>]<KEY>[rr<KEY>vituflyu<KEY>hz]<KEY>z<KEY>intiyz<KEY>[cykr<KEY>t<KEY>qucs<KEY>wjrh]y<KEY>ztxt<KEY>
ai<KEY>klgic<KEY>xdlaefc[ofaqlmhnwrwhjlleyt]dixgrgkhhbyopqkzmt[zhqupdyazgumcagdids]mxijcialempjslotrgr[lmwxkdqqijndgoiv]upioecwmfnndajajbxw
oiwkroaymbjtugfvip[hyqrpfdrfjppatm]azycyfsttguvudeq[czujqevgflhvskaguy]llsuolaevinsabqpy[sivsqswxfxlanvod]sswhiwoaxhqsjnynidh
qipfjqqbxflvnxgv[cnxuwbvnxndkoxcxjl]atoznchumwauytpqmgk
doncjsebymuefbxj[itsfdedfjxzxgvj]wpxzcoaybnzzzxz[hfxwmqbaiyiajiorh]einnvliwbxhjzxx[rkeenlrteubkvgrpmms]qbrpoghwj<KEY>[g<KEY>iy<KEY>mez<KEY>]<KEY>[q<KEY>]<KEY>
ini<KEY>[cy<KEY>yef<KEY>]<KEY>vld<KEY>
jz<KEY>ifak<KEY>[zm<KEY>ofcvdvtziind<KEY>]mz<KEY>[g<KEY>ys<KEY>rtqvces<KEY>]<KEY>semb<KEY>
g<KEY>[od<KEY>]<KEY>[rr<KEY>]x<KEY>
nnewsdtgggcgiawo[kmuweskiapswdskgosj]avjieesxujtqfwpuis[tvulfkzyslzakco]sjhbzevzvglgfreyc[wzxjjpsqmctkyoutau]isajcfzslakogyuevtj
brresmfifuolfyc[hkeljqzezcsvzrcue]zswubkhczxziqxlty
xzohgybxqdxdwxfbx[dqcorjuppxguxgps]gltuxzxhdjujuro
hmyrpjbmwmyzijkbljp[ipbngzbreqoqcisbi]ctdmsssqkgrjxozcx[egmuzsmsaiodyyt]ugjpwtglzvshohbj
snumfuurpriffdvj[ojmagqzaktihjmwriyv]rgnyhbobphsfqgh[azucllkylyxgrlom]vhtysupgjwbwndwrgfq
pxjdxiuhqmvwufld[ktpvbdokrtdpxrekaf]mamfsijuemlsyio
olcpnpmilbzxxvqsz[ervozeicgvqskuenz]gcxvfthottngwww
hphpdxpbsbmzshrwmwt[sapciwpwuradyvko]dnrhabfjqorseajgr[abhgtcdijsqfndmney]mmsvtcxmoobkkaeevz
rtvrohugqesutzky[sjsvmjhonskkqwhis]pqjtzpfnvwsigtme[ckthdaxpibfximcq]peoffhphnstzruuhze
cazrddymetaqdtlwn[tqrvhfevxilaptinubr]opnhppmmbfscporp
ctclntnozqwmiqz[qniikhszzxbcatctip]wpoexzkaxyealqhcg
suxvexjrakvhziolw[pxjlsfocisjmwzl]smoqdqjoczuyiac[ojpwtuddbldiaruiamd]upfrpxzwnthfytv[xvfejrchuditjal]bxzvjvhoigqunomnikp
vjuryymolbathzinp[xrcvcqvbklvqtjnpzh]wugebbnbnzzvdmpg[kzdlfbpqgvbiyqwitga]wztqfradlqinyzfzf[abgygmhhsksnvso]kntwamrohagtdrsm
ern<KEY>[<KEY>[v<KEY>]<KEY>[ty<KEY>]<KEY>[yeq<KEY>]<KEY>
zg<KEY>[xn<KEY>yfzme<KEY>zuvery]mz<KEY>ixtxt<KEY>ckher[ylfmvkslkcukfd<KEY>]vdw<KEY>qmrsnedjnvsomy[cmmaoebsohfrnqu]bz<KEY>stdhoneuzfd<KEY>
w<KEY>v<KEY>pvaf<KEY>[froxfavuvgvwir<KEY>]av<KEY>
ed<KEY>mw<KEY>gtiurh<KEY>g[vjzrrmb<KEY>yy<KEY>liye]mpyk<KEY>dsaunzjkp<KEY>[qdcecrxescwvlxmpi]gkfipuqdcpcqodcptya[pmdbisdhifodialab]wjucsoipfxzkkzwm
xmurhwryxntmdwwv[bveccegjm<KEY>
k<KEY>actjmqrluci[tefqrqmjpzpsazfoe]ptxqfezuvtxphvy
wmawphvozqxqtmq[qqtumumswsrpsnjug]wejsdbswswrjitmq
pdzwixvmkxpsxygxmp[zfxeglxxoxtkkmshin]hxjmzexyabkviollfnk[nfitohyddbdfqekaty]poexvcemyssklhllw
wyyiqymjavixnwcnxu[xnhhsqavbnggdqn]gymwgjatpsojwfj
iqdkuwpqylmwhfvm[bjgqryooacvjmxtrq]dqhwmcafwgedohws[ucnjhrhnvekrgjefzxq]opvzmoismjdmsezvle
ommglribbfvicgmugx[msedauwycskyoios]qrhxlnihnwmktihzp
laphdvdlixghsmjpsq[blbjmefxvnjnxmmc]hnzsqzhaenlzcvoq[ppyribixnyeucvjlv]fdogfvnymyznuuxa[pelyyutyolblxzp]fqgcltvxupdobson
apnimgsoqfmqlgmjsvm[rdpnruzylevyuir]wwfenkdjpmqnvyf
ltskflhfhupifhf[gwtcqaatnfjdgywo]kvguorbhzxfqrhxnij
kqaeviepbnrokflimj[zqzevrvhforlozy]orzvxhevxtzorkch
uhsjyhwppwarmrfed[nsfzcvrwjhfuwjta]nlthyhmaeghygqdaxdj[esqbskelpkfswkvwmr]stzggiejdzkhohumob[snlnvsgiktqewvpxhm]ahojfbcfgxqmmml
idlikoogcxqffrufcqi[vcuenzmwggmbsknfj]peoviabqngzwiqtvri
rigldzvrvmsmyakcjb[wwsutfoucqlgorxnu]bcuixkbifegcmltqibo[szoqsqlnduhgvhlza]pcvurfgchanmngh[glpfevaugptbhqqrd]vpndxitsihovocvong
jwfhrlvcglbtbdlix[vmhtfcvzlshpfcii]gosuawoykketkzdhw
bexfthnhhppzzutg[ewpudndaewfnwaht]wlnqstzsulregcwgmzw[atroqzyofendnnp]idtypgwyeatycgpde
ldhjuqeykeelckq[qrrabgedfafkzize]tfjpjpzsafansvygor[jpuzbjptblhydidkek]bbkncsznubtpoiahot
mqqxpkguxlmvyyk[vnxxtwxblmjdxjkhecj]shwgynlewfeegfwo[dgybavttexfiaod]ruobjihpitxxfwx[frpidegurggjllhq]kcfnatekrezeqoqnpqn
pfelcxohsnhpzjnrp[bmnzwycytvwquengc]weaysvdqdkhrprcpmw
llmwiwxeyezezpt[densmtrbqpiuwryg]pbgadfldspoahjimq[ugideashgoighvpiwid]pdvxaqoufmuvtrgs
ynviititdvccfewheh[phaubuotpzjwqfcrm]spytehersqqwhac
ktjvhepsakhdtvgoq[bnejcglklonqxmygyn]kbywvhkayojcufnwr[ipiujgjwknxzefdphq]zcmnmxqhuhjwqiue[dueiqqteiuvgyggtc]rbsyqjqegupwxbazttv
pgnoazapsklgvmejjr[hjzazneywdxkaki]gfwcgiyhuaovsye
qorimqvzoheryivfi[usbcrrdgseveupnqadf]bvedishdaepjjnrgftc
thxrgxhchpeczth[eneefpesxkgwuxpnyb]efgidnpfdesgcmkqllx[jglvknahzvxyegxxedi]cupoduyjkdpyajhirg
ltabaysmmffenou[fi<KEY>]<KEY>
rk<KEY>[<KEY>]<KEY>[<KEY>[tx<KEY>[<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
ob<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
y<KEY>[gj<KEY>]gxj<KEY>hz
icsqqjcn<KEY>ck<KEY>skoc[rhanawaofgbzenhxtfl]vsvuwijhjnaurwlb
zbqzykdfeunfcwslv[fnqtxugkwojhjjqg]vetgfnapdhvbdaiya
uxpnaesrcrudsmuxvk[zmffkqaufmoxgoelq]jldwuldydprcfgod
lcaqgsbmhyfmfszya[brvxpxjvmtrdkdmfm]cphjfsilvnsdqmpxob
cwxycngzriigcet[xltlzayrmdowajvins]rbfmarruugyqhvegod[nbyobbfqprdigngp]nkrwqcyin<KEY>[<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[ft<KEY>]<KEY>
gc<KEY>[im<KEY>pzny<KEY>rvl]q<KEY>[jw<KEY>qf]<KEY>[viz<KEY>s<KEY>]<KEY>[<KEY>]<KEY>[rk<KEY>vuivyaequ<KEY>]jmyic<KEY>ygak<KEY>zg
dvyalwumbdjeaocae[zonftyvegiqiquqac]osgmsdmqoclweiqi[xhgqrjylvorhpfkh]mmpkmrsideufseuyaj[ogtngcelyserepmqi]kjezmzobtremfefqz
ewovyikmmawzzrf[hcnunsbuuzhvduvyo]pdkiewvktjzzpqwvpdw
pwfklqtvnpsajdvtyoz[gntgytituioaybkpjqv]wteojggsgedrjqdi[xzvkngdojribistpis]xftjryqatcesygfzoa[zddmnkhceqxmznq]bssablulgiiovynaqrh
ztqjirnmogqbcfifh[vyeztcrzfxnegdyeed]redtifioqpfzykudrih
osawcjcmfchcpgyi[ffwhlengegnjvwqehkm]rvtkttwkeoefydz[cokaihziodpeurmbp]spjznidsrkpqhsoag[mautcyrrmxsnrlw]dastqkwpjbubonqagfx
jctsgqoqjqtodkhvvuu[ylovawrcpwpnzkfp]xtjdibtsmpbidvvdh[mmaecjrzneokajhkzc]wbwaapxadknspjujtp
izxxelepmvtrpcb[xwoxroumisiqgpqr]lvhyjhchdicledub
lqvelunldllnngme[lomutagiggypbbw]hdubyftczrctokdhvbl[ymxlvpbfiojaausmi]uqvhoaigwswemktiu[iipvkifnptbwuax]nidlqwimfttkbnmms
sewpymbrjgtmkqd[tldvdouashkzpbu]qjujogijyyqwbvzqe[xmhewesgbeyrqkbfj]heapyhfvnqovmlkz[sdffbynjptvodwocru]lwqkbkjseujzmqprv
oegfarvdcswdpnss[xgbroqaseklyoxl]wticmsitljjhgos
bfhlklvvprpfgxt[wczpqxciyyulsgf]fhlzqdaxyerlulakhbi[xgklnelwoygvyged]ynhbzkafydsmevse[dfcrqsfpouuvsycxi]otcdmymmlomedultqa
pvyddrxqxuxvzfqfl[nipfbquzzbmecwuu]pxzmehysojqnpna
vthwugdifklqusu[fmffwynjxyagyycbup]eaompujnjzaowbxmg
djekvgwpzkgwzwardaq[sjycmrggjjtzpzoq]zgagtgosiowypvz
bicemnivninwfubpi[enghcgyjwfuwqvfcrh]crycaojgzeqgyxdq[zxgbztjljhdhzpoy]ygxqydxramuikbawdoz
wdigyfqqrkjeseda[yjezqvkmaqfkcxgu]dwpaveednjywzth
vjeaiuwrhweqviyv[twssdwyckfswwqg]bujjzsuffbcddcqd
ouivgjbmmsmiezanss[mltubwnsjkijprjae]dxjbngvqbuzmtnxj[actzjkmbxwewlhmpz]aeweucknsntthwwvkmk
hqxgwpeaugpibuu[ftohsergcnnghmultwv]oobxyesnifpglsyumqx[wthgkfckhzdlzeh]tbvnqcewxwzutlf[dbsokgifbtstadxjlyv]hcagowbeupbbxvnnudp
fpgthpsgglztrnrjvs[rznddjrlsjtdrnufotn]nfoxdbhyvovsaratt
idauaxxyrjljwtqk[jtrvbiyczhqigjxfam]bsmzdrpeytyegsvitk
poxzegvwjgitaomcy[eatpylidmcjifnbyt]pxsatbkkqdylippyjd[nuwjwmoghmaptwgm]tarinkguhfewrxedty
whrppysnyuopewxlch[tqeujwwbfviqker]qvintkkgeyiysbl[zmhfxkhgptetdsq]jazfx<KEY>uxxg<KEY>cit[shbqapwgyduxmjdzs]sqmxfuntsqibnshlszq
byysjubuacsviouubxd[idvdypsyblnsmvvv]llcmcxizvdvtmksphjf
bfphxfyrcoddphmhwh[xvbfcujmhltkfiqaejg]wxxbzpwusjrylub[vcxoevvppeirkcl]bmsyjsnoixvozodjpm
amhqkszrkzcvumwjbr[wgobbxkqavcfedi]blkqusznjzozcwyatzt
chzanckbvfhvxoikx[jeyndyycqesiujnj]midrrqwphhqptlbgy[dcelctfpcmitlbrdu]wmrripumgjowiedxpcu
rbpkmcggsbshhytszrb[rjftwgbycnmyxxockku]nrtwwneopxuypblr[hovauqqiboxesfrqqfx]ytyygtytusfdjwco
ytuvowkwojtdqfjtmj[ssrmnlgjawuaqqrdpv]ugahrlchntdmkwkygr[ojlgerllesmyzdbnvc]zaztsxmsddgciyz[jdimgvtyvojseeavk]qvyupywbpmhgoppfwru
eirfjumdodlaevcsigl[befivodoxdnhfmqwkxc]qjaeppumixfpezjf
lqkzkupjsinhxws[oibgvhxxpewuebro]qbweuxvitezbungy[lapasshrjxcjgdooj]hmxejqpigbcprqregtu[pqqqhbjetacltithm]zhectfbzhtyyvkyazu
ihfadsstuwooioj[dfqkggnfiplpdcsnmx]ylmhqzhlwtxaxhx[yyqzppjaxhmgnlll]orngviyezsyopwfxmhu[pucykxnzcwdwnjzruf]axfmqcflmrxdldubnca
rsaoluhtqbbhahhk[ursokfyrzqvmjsq]xlniovtwozkeahaydy[nyualslnfurebmbnv]ehgueldltahorrpbbyr
l<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[<KEY>[<KEY>[<KEY>[yx<KEY>ex<KEY>]<KEY>[rz<KEY>mj<KEY>ev<KEY>]wj<KEY>
p<KEY>yyegx[pwk<KEY>lhuk<KEY>avgq]pp<KEY>kzrtyy<KEY>sciep[rbobphjpqsmeuvgrjt]vlob<KEY>uxuflrqfw<KEY>[nijmtbnuuzplcprb]snfbebpcogbvkwf
cwflkfoevdvovrmn[xfkkrwrohqcdsdyuomb]ohirkxwgudwyepwtvm[ootlpxttypewmdjq]snhujgngvmxwpmagis[fmbwhgzljomkrdcph]pvf<KEY>nvzctahabni
eoczaktxgr<KEY>wordn[rbhnrlgckthgxxuzu]htgvsgazuzqpkjoejg
wwadqndhcahxivixrpr[byzxpjmhnwsplkf]zgwftzdjcyjhuefzynn[pvifqpqbtfpvxmhma]atwcwmmvncdisnmw
cjbhnctazhwdvcvza[ydnxbdfkufaflga]tyxejwcbirwrznjbf[wmrholfqzuzmywhlx]yuglypghwrwzmduczd
sucrzntdgccanozz[dbyodxkqvfamarbda]iwcomrnnifahrolyhj[lldsewtcmdwovjto]kxnjfljadgqmjmmr[jpceairekkatfdo]loulprskwdwpwupvlow
rmkxvrnxpnlpgxk[ymfqtqhsulsvevgy]mwlnvrwgovdeimq
cjytdtwgtpfaoqpo[ekwzzukvazymdgcjbax]qmhoxsmtmokxfyggfsl[ghoubcwbxpcflxaoiqr]mhzvuhnaesfygwphehq
fjfuuxzzuifgatypkx[pqxsrnqgcfmmojf]drmywevzjvfsdwoe
aaltjjojczwavnn[wsduayllqabakudvkzo]lnkpzrwwahybafhnmlt
trzcoixqxcnlfmu[kxdaqkezsbtcrsel]aimhkjueidtzheak
knsjvqpezxmhuhawprd[zfschikoyuarwrpvh]jnwcjfkahqerhof[eiezpktdgiogoghnyq]xumsccawinipdfbk
qdxlgihyxpurnyesn[uoqazfufeeorudagpbq]doynfpdydwxymmbnh
hhxsolxzfchrnjue[qibcadmwrkmkbeye]xydgasalivcqoag[oyblkffxdgogkbjkk]denthwhcbyimeeyyb
oomceudfrpdpinwaw[umnoeimbzecoaprmqr]vnswrzldpdlfoaaaxv[ysmxmvvxuzozxtkar]eatvxgtbqcoquhhzzn
mrgnhaqqyhhvdfoo[brbrzbaajkxnrbkpsx]qknvrvpfabkczng
xtvcrctmszksrojch[bqfzfdhhs<KEY>
jf<KEY>x<KEY>h[xqkthmkzmmfbesr<KEY>]<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>[<KEY>
ak<KEY>[<KEY>]<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
eor<KEY>yak<KEY>dtw[bpyrfrsjhfual<KEY>yf<KEY>]g<KEY>rf<KEY>
m<KEY>kj[xl<KEY>]i<KEY>[tn<KEY>]<KEY>[tosv<KEY>ef<KEY>]u<KEY>
emy<KEY>[qwac<KEY>itz<KEY>]weqwom<KEY>
dgnbvzkwdnxzuduvdee[palmkulrnlnjdyeavyi]cjgsjpbxpairrderw[nnoxigqxpkjzjhfxgxx]xdyxrtslnpmmtpotla[undscmvmhuxzohsdg]ghxcwnjphcmvttna
up<KEY>bn[yiq<KEY>twkbfy<KEY>]dp<KEY>[rr<KEY>ikyarn<KEY>elpk<KEY>]<KEY>[<KEY>[e<KEY>]<KEY>
z<KEY>ah<KEY>py[dujudufydhkql<KEY>]ndalzjr<KEY>wnjuj<KEY>
silotorivixpdydnd[wtsojgrfgugwoyo]pfihyfhusblbdodtej[hfclibenimixyexhble]gaglopphfrhqxikvw
ddejnfspvmvffpfyozn[odqqmwgalivbswfio]rbbkjhvnszgvfjtgog[fgvufpphptnjcmraha]adsajvzndnajmilk[ukslffqfzyvxyxy]njzcfhdqyrzzctmnxn
ehdmevcrfoeejfedbnz[cidowzljgyawbjmtzun]mxyjuechgccpwlxj[ynbdkyqvibsfwekcjr]qjilshucvucbebxmeyu
wfyklfdesrxsopcnj[otmmdkdasnvomdhef]lpbexhubcjmfwlt[maeuvtcgzoxemnreol]qbwqszxalocdbfbtge[wbvswinrpyzjbfrsr]tinsrsxtrfkizkeu
grorjgszsijwlhxfrjv[hmjhqmbipfjguwkzebl]kgphtaonflqlgbyk[qxnjzdupbhhsevc]tyflwvcpxchibnttwsn[ukpfpknbyacpxmoxzmp]dxzkerytewihuptx
csyjgthhgyhnjuxxg[sjqffhahrjyoqxncjcj]owwprabojlpraeyk
ibcaffhxenjnmvrnog[shqpfncawueqmpyj]hawlfakyplonsim
ftaeqqsyebdeveutf[tnifrefjkddtblslzwd]cbdooorsorxwxugrp
ioigxerknwyrzoztkv[ffkgwjfeowgtoxnyt]zhkhaqrcdjsvxctdj[ebntbwbxzbbqrdasjz]solgzrowmzozovz
jfmlobddfxzipyzyaj[qghvghaxzmuhrpifyf]idrqkcfvatwsyom[wncyawwmennmgio]luzaexvwjhxbryah
pjcydgylusqdexbb[nsoyssffvolztzns]mntwrdacovyfxcqfn
tagdiyuylrtvuyu[exjzdpmovyftjpxgj]vnswkkhaoldjfkwd
atowdglgkmbnrvyt[uzgadzquqpggiapdznk]snpqanyoeufutazn
nltynylwgqezegky[rawbwledrpbduldc]isupsldtvjtahlwjgz[upmovvichcymgwuoqrc]gyjptxtuaqcfixjuanz[cxzbiosnqkeaxlkrxh]yglfdtzazlkxgmrlel
ezensxwulgqdgytdfo[ozlmpzteuyjqrxocn]crruxzecnvrcpjurn
ycflwfbhueatnpimmkm[tbcsifgtkkwtxosxau]vsnyspuvhhfozxgjbbp[adcyzxtdknieifc]hjkfmbmxkrnksewsqjn
gffllhgsmlpxkktcq[wjqwhqrwepermblfolw]wzgcjyrpisbwyhnz[yjvzaqjsmdgazjuep]gregropoulmnagcvx[gfjkkejnxmpfbtecy]ufbqwnifaugffsai
xfrmlrlrhxsownybek[ryhsyltyflhjbmltndc]agtvigglsugquzbc
rshzvotgovlabfxr[sbuytwdobnvpwcax]bynmysulnnjmhkf
cevbpuyyvlutjcuutl[pfwloktlqbxfcogrc]dflejqcyvpasjowhsj[nscuwnjsrzehqamogtw]scemydqevrcuvhwxpe
nsbvubuyjrzsalkdwz[fooatkopdyvkxjgfho]jwojdgxqtlzxgna[vmkwusptfjbgmhq]xkzpfgkklnxunma
jovdewpqyfouyzpegwg[eigxaawljopqauy]cjvieeexlyiovsugif[wtkkpylnxtqrepkjei]jrdmibhhcftoeauh
flpwanunpldmcnated[unzsihvveyitclcf]gqxlznjbnpmiojuunu[kxihijtbrbyhkzosvk]xoxdqctctmroxoppilv[equfcbnltdiwdmahu]sxfloedvbznwctnuqt
wtktlikeigdndpyw[dspimpajtzfzmfya]rmmuigyferofztnuir
thnfrvngjhjrwdatdc[vwmnddbpbakuapirel]qojpomziuupsfysyfng[gkgjyjoovotmjwwgvrq]xxfsycfupudisdbtk[hnieklknhbwcfka]qbanhtkdijnnfegs
mazcgrfwolhhbtman[jokgcthhpopluovccrg]eybriinzdwjyfjes
kwxxubruqgrsifrpuxe[pqjcuxzpykriher]rcjvrturrhxqhjndj[umqwgmhgidzakfnk]nzb<KEY>[<KEY>]<KEY>
fi<KEY>[g<KEY>fut<KEY>dn<KEY>]abz<KEY>osv<KEY>[vpqw<KEY>z<KEY>]z<KEY>
ny<KEY>[d<KEY>]<KEY>[<KEY>]<KEY>[<KEY>]<KEY>
uwdcywcarjujlnh[qvtowczbkenlghcmara]kfhcbnrkorcoyhkww[mzzwrpwwkrnnfavjxk]hcjjzxeynegdpfwdw
xtgkbqtzbeptcx<KEY>jxl[jzmbcxsmcrtjtqi]wnhqmctldgxjbrtio[brnnosnckhalqzqsyyv]uhungebnygpsmpzmj
xrqp<KEY>sq<KEY>lqcdglgf[ziiwwokpqiinmqe]stagyposntgyxnh[ubxzaskwfzlfrmw]fimsoerydnghxlg
bd<KEY>tpix<KEY>cd<KEY>[x<KEY>zn<KEY>blksso]wg<KEY>jqir<KEY>qvgg[pbgnckfbdin<KEY>pk<KEY>]mq<KEY>
xx<KEY>stl<KEY>y<KEY>y<KEY>[czlhqkifhucxqanafx]j<KEY>axi<KEY>rnneudczrtn
jhcmhtveqenmeczz[rcpnnuwvwiyfjxo]bvtashqfjcnbrqy[ebgihcdcimvgdwochq]pmallgnuofajusz
ltzknsdqzdmbpxipt[golssizcvkrcmquotrj]nqjkcgdagjqzvri[xzehrntfgcnmgrh]devpsfftuonmevocw
wgklxpmeoznyxtukh[nevjkmpvlbaulxjieh]wopqaknwlwjquxt[mxzczmngcaxharjipt]tuvwngrmylububv[ryewaqhshtogggdvc]xpkbqydbwshscjcw
uglrhqngbxqtqmdlyym[ihdwlwfqiwnigvyarcw]miyynkctggbwzfkq[rqycaudamvwoxju]mmnzentjyyddntnpgxf[qjryduwnivawjepknli]toodveiqtzjxjvq
tkgmnxgifkqzuut[csyogdborjrnygg]rpcbucosajyyyelju[bbujqtlveymlqesvg]wvyfimibeynzhsotymx[tqxldisulrhuckef]kgqjgtaluastnwev
qifwiunabpnzezlmhh[ffwsncvlqpulttkx]wlwdpgntblnoubom[<KEY>
<KEY>krtywkh<KEY>fah[vufpfwhtxzbdqnraz]kklboeggazttzui
tplrraxhaaaoczdpg[vzbnososnioajien]dvdckrkfdetoofpi[bywkgphzoglisygthku]gxtnstjmffnepin[evccrlnwjthfxhhqzc]lisguwkfwswblzc
lyluhnglmfippljtwww[wnkwnwwsasqbrnlo]nilnannzjbpgbjs
iknqwrvlcztavivxmh[vtfyhjzauqbyjchjt]zxmasnczpxlusknrmtf[yvfnxlrwgfxkdlj]otlivjvbvilezalha
xbrzzccetyjzrlt[buwwhcatpcchdvhel]wosdwuuzpekifdhhvpy[twwoaezcowxvioqsrrd]uuygkhojhlcofza
wqeintsbeqzjpuvx[wqlcamjmpbtqqzjcy]czhyqcurqkfnnkoltja[lozjcddygpevnxebmqd]avwqdpfxcrcvmalaczo
aecvebozlythtcfzt[uisdkrrjeboxpuclbg]sjxcgygpeuirukx[zeoyaxgdyzfkprewiyc]rdlnzpbwgztivpdon[sfcqbpfgffkchksmfjp]yfgrlxiixyurxupuoij
vnglyokdpxlgphpw[bjnaqkjojazyryswr]bekdduuwrqabarzwzh
fcggyliuipcvnimphib[adkvjaembjcqbcc]envpiocijefswhv
pgraswoweceiftu[khhpmbjghxgmhsud]axqjkekmecwunefk[pvelpeorryjcstk]lruensapttjtyxnr
jomdrazkwryxuyc[qolcqhwdidalguboza]fcofbrgowezhbyqckrw[wurpvelnhdewfoita]swxwyfynaymvrhleuj[icdlergnbqmowlxjl]vxcwgvrvpdejoybt
axbedlkxkmbvwacv[uabrmhoepcgtsdmjjzy]iqqpitszpejeeophjmv
gmltcuvpeuofwteput[eyxdpnceufobjelir]hvajyjjzgkyrtgvrfs
sfyyzksaymsvykmr[xjewfmfhhbrmwzf]cbzjmltnzvcodwtytbz[ewgckbdvfnkkyxyj]dfcrjyoakdyggbsxm
wxjalqmic<KEY>wkzakcy[mothn<KEY>vgypeacecvz]hbjasxlsbbg<KEY>fdptk
qts<KEY>hq<KEY>kjz[skpdhegagxxbmayy]eaojrccgpxovqpi[ixyljrfgswullqnbzdz]etvomvkwpzpxxcj
mbnifyngahvfhtfhql[azcbyxkvcnoatuo]scgddcntikvavaseu
uciiofzqjkhndnzx[hoyxdxfahorycpfcofk]epeazzccheaegyobu[sculkaizijfqcrpjl]nrvfdtpvgoqioomvmv[axmvmzytxnbfcsjf]fccriiwmdaveeyamwp
sxizvuhprsyyxgfqgqx[zwszjxransryibshzw]ikquiagnkoqexlsqypb[zpuqrhaqvkuvhiqk]pvuqiqxpjtsyqgcyr
svjudmyxlshxbbvawl[inswkufalzfwoumcv]hrobewddabqsiuej[ulhptknpxcwqxjxanjd]osfyeygptwfjmvrma[pnuynwtwuulsizw]srhurplerqabvouelhn
islwmbcjeljkceppiw[whvcrbqzgtcfbcuv]tcyzkgyzdaekgnzzmz[ddefwmnklcddlhow]npzbtwmzmhjtzljnr
lgdjrkugqewlqxvn[wtvrzflzauwcxkyp]qbswluceqlesdfwy[kbtmzcvoubbiqfc]honrvxwcqsgphvkt[<KEY>]ef<KEY>v<KEY>t
koze<KEY>erpsrgmub[dbtinyialvlkgilue]pyqdyodlttsnrsmfvca
mgfmdcxibcgzhrfmm[mzvyabccrdzlaiij]arnetejwseofkwqvxi[fylixbrjhxdfhiewbnb]wvndnswxdnbcktp[tetomqdkfmcndddruy]biuxgrvctlbbrqmxjp
snjnfgbtgpkouxlpd[vapbqurlxyrduxqy]meyhgdsbvkdadsfozf
fgknedldithvaoxqpl[mihhhdrtpjmoridqamt]vfupazymsipoana[ngqkziyavxkyukp]qqysmfkyaxbuytr
fugbgojgdeavlmrut[zpukymkjkapibmhg]mmdesmcwbhlfugkdiz
lhhhlyioiiknkray[omilmxkodlmvzhkgbaf]cyftkgjpvjvdnortlj[ifljdtkgscmnmxsq]nxtettqnuaotfsh
whayrxopbtvnpobokn[jfbobalkbfjxcsn]jjucgwedwbcfrdginaf[atdoatealbqhiks]alzapbxuvmivqfgpg[qhzdwsbvcbtlpchem]pxxskedydgisthkatn
xzreuonsdqobzpxr[zamxighfvnaxqum]olbigclentyvugtuvg[ysrgcksohtkvcqmksqr]gnaqqezdmnfbbnir
gmmabzkwsehkwjnevvd[uuzdntitdazeykwek]aebpajrwpyknqgx[kczhcuveeawmdiwljzl]ugwigmilwkczrcqnfo[piezzmfwnfdhnlbranp]qhremthdwdegacvptfe
tcqhlxasqmbwzuiuirp[kfqoequocdsfwqt]ikhdkpkmeezfzfyyilf[lrorfowgsqkflwauhu]zshoiccvfwohudsmdcr[zohspdmqcdvgagdknr]zabaqgsmrwkrtcuyct
fzanofpykognmio[ladtxyissyfrssobo]xqpwrg<KEY>gq<KEY>ok<KEY>
hyn<KEY>zo<KEY>aez<KEY>[iqtpgjpng<KEY>wh<KEY>ail<KEY>]w<KEY>im<KEY>jr<KEY>
lp<KEY>[dc<KEY>]<KEY>[og<KEY>aq<KEY>vq<KEY>]x<KEY>[q<KEY>xk<KEY>]g<KEY>inx<KEY>[<KEY>
l<KEY>[bfetstr<KEY>moosbw]hz<KEY>jpx<KEY>cn<KEY>wosn[dquibbrojgurqiq<KEY>]ace<KEY>snyrnf<KEY>csd[quqxmz<KEY>qvspvsemjpn]noxrndgdrkffsdvh
bytcvwxuavajevmde[nhmjatzolmbdfgogup]qpildujniqlnfbmuf[gxpgorlbxpqfsoreuey]hcfyjmkoywueuivrio
amvudustnspjqsbpjp[wdudhbvvlgzbbbwlafg]kwpyjvuerzyzmzft
vwpklmfpzssyoifbb[bwtpxodxedpdsvgu]azathmhdnqkhbmrdlxn
iwzncixpjxypnmykke[wlhvfjbumhmtachoab]wtftbolwhpwnropnzv[zhfcmkbwizknymev]twrumqadwvsaciwbwoi[evodjtvrucrzgtwio]fmmbddkwwpaziycik
dkodbaotlfdaphwzbcc[ldzeemqiovyqjgs]qxibabdusgaistkru[usglloxgycyynmp]aaocvclsocababbzxeg[liaacgfxytuqudp]jvvqsypuoduyhvraak
bwzsacxgqkbjycgfw[dbnligvrmqscasutn]rbgybqqsgjvlonkut"""
parsedInput : List IPv7
parsedInput =
String.lines rawInput
|> List.map mapAddress
type alias IPv7 =
{ hypernets : List String
, supernets : List String
}
mapAddress : String -> IPv7
mapAddress line =
{ supernets = parse supernetPattern line
, hypernets = parse hypernetPattern line
}
parse : Regex.Regex -> String -> List String
parse regex =
Regex.find regex >> List.map .submatches >> List.concat >> List.filterMap identity
supernetPattern : Regex
supernetPattern =
Regex.fromString "(?:^|\\])(\\w+)\\[*"
|> Maybe.withDefault Regex.never
hypernetPattern : Regex
hypernetPattern =
Regex.fromString "\\[(\\w+)\\]"
|> Maybe.withDefault Regex.never
| true | module Day07.Input exposing (IPv7, parsedInput)
import Regex exposing (Regex)
rawInput : String
rawInput =
"""wysextplwqpvipxdv[srzvtwbfzqtspxnethm]syqbzgtboxxzpwr[kljvjjkjyojzrstfgrw]obdhcczonzvbfby[svotajtpttohxsh]cooktbyumlpxostt
emzopymywhhxulxuctj[dwwvkzhoigmbmnf]nxgbgfwqvrypqxppyq[qozsihnhpztcrpbdc]rnhnakmrdcowatw[rhvchmzmyfxlolwe]uysecbspabtauvmixa
bqooxxweoytjghrqn[hkwwukixothfyglw]kpasnmikmbzcbfi[vlnyszifsaaicagxtqf]ucdyxasusefuuxlx
rxpusykufgqujfe[rypwoorxdemxffui]cvvcufcqmxoxcphp[witynplrfvquduiot]vcysdcsowcxhphp[gctucefriclxaonpwe]jdprpdvpeumrhokrcjt
iungssgfnnjlgdferc[xfffplonmzjmxkinhl]dehxdielvncdawomqk[teizynepguvtgofr]fjazkxesmlwryphifh[ppjfvfefqhmuqtdp]luopramrehtriilwlou
mqxqhcpalwycdxw[fkwhjscfmgywhtvdb]khadwvhkxygtxqx
ihekzgbwpjxgbau[eqpvqxncntbtsqn]mbtbcujdkbrhxdu
izikobnovmjzngo[ombcpcvshnedtndu]lnnmdkuapgnxpgyxcmg[bgnxdzmiolfvvaizu]tcvnrfufuvhgmlxcm
yhrowrreplrrsbupeor[nchtznfzbzwnogh]rynudxihckzattbz[dshxeaqusdlhydtm]rvqzuffgPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[isPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
qwPI:KEY:<KEY>END_PIqzPI:KEY:<KEY>END_PIqdv[qhnjhafmrtghosbmskc]msPI:KEY:<KEY>END_PIswtgzlpPI:KEY:<KEY>END_PImzPI:KEY:<KEY>END_PI[kovzPI:KEY:<KEY>END_PIfjqtqPI:KEY:<KEY>END_PIhj]myPI:KEY:<KEY>END_PIisirynftmtzvxvvz
frPI:KEY:<KEY>END_PI[uuptPI:KEY:<KEY>END_PIqozxnglsd]kwPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIahPI:KEY:<KEY>END_PIsmPI:KEY:<KEY>END_PI
wdqcwcbtpexduecepe[zwrcpctlwglgfpappb]zdadimzdcpxhxwde[yquulvwgyyzwcfsvkdt]thgziwclyxxfyjpbpc[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIqrPI:KEY:<KEY>END_PIdlPI:KEY:<KEY>END_PIrtlPI:KEY:<KEY>END_PI]ijezyezjdrPI:KEY:<KEY>END_PItPI:KEY:<KEY>END_PIq
PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PIywfjhaljfkoy[tznfejprrnzrrewdx]jziputgqfcqtbPI:KEY:<KEY>END_PIvhPI:KEY:<KEY>END_PI[ikPI:KEY:<KEY>END_PIxtPI:KEY:<KEY>END_PIeunzPI:KEY:<KEY>END_PI]tPI:KEY:<KEY>END_PIjmpPI:KEY:<KEY>END_PIvpcPI:KEY:<KEY>END_PI[tnPI:KEY:<KEY>END_PIxkewPI:KEY:<KEY>END_PIgzPI:KEY:<KEY>END_PI]trnPI:KEY:<KEY>END_PIujPI:KEY:<KEY>END_PI
lPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[tdPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
orPI:KEY:<KEY>END_PI[ibPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
vuPI:KEY:<KEY>END_PI[mPI:KEY:<KEY>END_PIzrPI:KEY:<KEY>END_PIsphPI:KEY:<KEY>END_PIkPI:KEY:<KEY>END_PIaz]lkPI:KEY:<KEY>END_PIewPI:KEY:<KEY>END_PIzyyu[ebpoqgoifePI:KEY:<KEY>END_PIlzzPI:KEY:<KEY>END_PI]bifPI:KEY:<KEY>END_PIclPI:KEY:<KEY>END_PIimPI:KEY:<KEY>END_PIn[llPI:KEY:<KEY>END_PIjdgzPI:KEY:<KEY>END_PIktjrys]edtbmzmcbPI:KEY:<KEY>END_PIpixPI:KEY:<KEY>END_PIyzPI:KEY:<KEY>END_PI
ftaciyszakisxhzjhPI:KEY:<KEY>END_PI[khfshezpopvjaki]pdnnsqmgpgatvubllrr[ovjrouomglbpgvtya]ifwcvhascqptbvbums[cfpimraygtnuimiup]zeykmPI:KEY:<KEY>END_PIhidtlstjux
nzgbxxiimmzsvhe[ixypsgextxvdckbjelq]jpklrvkhgzprfrsv
mpdlsziccgzmvorvm[vhxbfkwfwbxqbvxp]zbsxgodzhgmrhrprpu[pvawdsvqybgdncgxido]zuhyfbmmhzegohu
rdkteyoeleyhxdlfa[nrrzftpiqatsnnnsd]qwelhxwbpuwjmrjxmgq
vpdhtcgjpkrqmrt[gozqldncggxpvou]zedtarenbxskusqk[mwpmzpwraryuqqmdhrd]eoculislafmbqzy[okpddsvrtyrkbjtihhb]dvuadhnaxkfewhnksl
ivjfulhqfbdqiprzbbe[ezhkhqxcviwxbwmlnbb]ttekmmdrphuteslzwcj[iocuduwexawydww]qmrfnnedqtqezclpuq
tksplumjkpsjjorux[dpffmbayilzuszc]rsiowigabmredkfv[aurieaasmsrxufpo]lbwvhcrjfgomkff
uwuobjzxkgeugrivc[biktdwykzondbwiko]nnrtnqzhdhdwzkau
cjjawanjvbxvmvdmtu[kubvvkuoynaawzowphv]ssijoohfemyhrde
qlykdpnioshrexuw[tjwoswemjxylnqupgv]ymovhecbliuuzhjwu[ghxibaaourtzzogrynv]hmlndovkousrtbomlnz[nzkdpmqrqovnvskh]vdvntntzrqrhvcaxdov
tdhrefyrccgkdquxz[jqeprpsvvkmmldlwyq]lwhnimtgegsziejeh[gyefzqbmfnhzgtq]fmbcvbjtsriuicde[sbkkbqwzlluccpa]nwxmuolcbhtwcllmz
cakfzlwlaxgrzjpgck[toihlzbehdzesbt]azrsizelgzczqxwejb[ypecquckfavmixeyjgr]njiyddhuwlwogbnpt
jadaohixgxzjcopk[wopcnehanaabtklxnez]jgvumwvmixxxwaolxb[lrhmslkbmylyvlkx]tatmsbtlbcutcydlrf
gelrpwfiyiszejt[skpclwjhzgwvfbbd]ibwzelwwhvudmvoe[gpdveubkzkkxvtjn]khmkjslnkdlmefcx[fcwhuyiyvnjgfcva]qjcfuqxwmkyvvzuj
pbejigkioxtdjjzbl[uihultqxejdyegacm]fitsnuitopdzrxskz[shbzwyodcotpvoixoz]qrhuyetkmnnljfqt
yohbaryhrhuobkf[fmfsylvacrgvpnlqdb]iucbpagpbziaqae[lfcjrlbgxiytord]mhjlzecyrqcpbxsaq
vguohtnahunrvrfv[lwbganvrrgnasnkqjz]yuoncrmethwiglfiy
plPI:KEY:<KEY>END_PIibizefgbrPI:KEY:<KEY>END_PIuieem[yadmbpkftrtwjrize]fuzpxdpomsdxfocc[lvoahklovaxtucrpwhj]newpgoizivpqkpo[uloztzclhwixtcjhyon]qyzzqoyirejavchy
plinqqpqghkeuipqppp[rndecheohrsftgvku]ogsyvyxuetmdomwdmx[lumcfskwppjacuddm]uptsydogwyqaupdft
ewvtreckmjqvkvwgtz[leisttvtmrxnzjv]bfzzponjsjmepqjfs[knbonuuuhvtvteiov]vaejlijsnrpqppo[hvwwdxernqcxtxe]ssznbkhfmchmjjiahkk
rrofpphpfkeeqlxcev[ierkxtuduxxxbilmg]vmipzdomogxwiazla
uqmllifxqxwcskoj[lwrjkmxgwxwvkqrsajx]wpbkbsohlaeskzbv[boyvlwxpqpppcknocv]pgsvgtugmxmoexrvpkk
zupunwchccxqggie[sdcdhzciymhppyaaaib]izbizcvzvbcnofmqt[lvvxmcmydxruvudsar]gnspfiadqokusllygyw[wbcpnuppeugrqobtnu]mcvfhylypayxquurcv
ngscsmmvttxjxoaniu[wsfnnfnkwmjxjql]ijtqswaevexzcmgime
hkmykmrremccqxvfdps[izfaeewfadfhuwwd]yffzgiqtmayebphb
znzxjPI:KEY:<KEY>END_PInxhfydrhr[kwafvmygvlylite]hmskvPI:KEY:<KEY>END_PIqyoblrygjPI:KEY:<KEY>END_PI
gkPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[gfPI:KEY:<KEY>END_PI]tmPI:KEY:<KEY>END_PI[knPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
edPI:KEY:<KEY>END_PI[rPI:KEY:<KEY>END_PI]zkPI:KEY:<KEY>END_PI[lPI:KEY:<KEY>END_PIqnPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
rxPI:KEY:<KEY>END_PIxcjtdshxg[zvggPI:KEY:<KEY>END_PIbekoxidyx]zPI:KEY:<KEY>END_PIst
qPI:KEY:<KEY>END_PIvzPI:KEY:<KEY>END_PIfoPI:KEY:<KEY>END_PIr[krPI:KEY:<KEY>END_PIjvrryquumPI:KEY:<KEY>END_PIerjev]mqPI:KEY:<KEY>END_PIkPI:KEY:<KEY>END_PIgexPI:KEY:<KEY>END_PIczm[psPI:KEY:<KEY>END_PIzonkrrtlqdpgqci]obiynfssPI:KEY:<KEY>END_PIvmzm
dihkldbnjicztjfrvga[qtlevmacqkefjomc]opjaojctoraohocxaca[ojldoulpocpcpexnyx]qnouppkcuggjmod[oeiywfzmbjrhtxz]mvhoarchPI:KEY:<KEY>END_PI
qyncPI:KEY:<KEY>END_PI[cscsPI:KEY:<KEY>END_PI]pqPI:KEY:<KEY>END_PIgyPI:KEY:<KEY>END_PI
lwPI:KEY:<KEY>END_PIjq[vPI:KEY:<KEY>END_PIuplnPI:KEY:<KEY>END_PIogPI:KEY:<KEY>END_PI]gPI:KEY:<KEY>END_PItfPI:KEY:<KEY>END_PIxzPI:KEY:<KEY>END_PIbs[bgqzyhgudPI:KEY:<KEY>END_PIfPI:KEY:<KEY>END_PI]levofhjPI:KEY:<KEY>END_PIcy[wbffnapyutPI:KEY:<KEY>END_PIavenPI:KEY:<KEY>END_PI]olkPI:KEY:<KEY>END_PIrbbobPI:KEY:<KEY>END_PIdwvnPI:KEY:<KEY>END_PI
yeqiptPI:KEY:<KEY>END_PI[upPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[odPI:KEY:<KEY>END_PIqvPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIezPI:KEY:<KEY>END_PIspon[syPI:KEY:<KEY>END_PIltPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
nmPI:KEY:<KEY>END_PI[zPI:KEY:<KEY>END_PIvxkrpfuwnyepcb]yhPI:KEY:<KEY>END_PIrPI:KEY:<KEY>END_PIvPI:KEY:<KEY>END_PIajPI:KEY:<KEY>END_PI[rmilfmqzokaePI:KEY:<KEY>END_PI]yhPI:KEY:<KEY>END_PIiyrepPI:KEY:<KEY>END_PI
pifzooabiqPI:KEY:<KEY>END_PIicfqi[tvaqijdwxsbamxzg]zncutzbfmraagej
jpgkrPI:KEY:<KEY>END_PIvswsjnbcj[bjybzimnzszdkqj]mvwmgdithrxecpselt[kghbhnctqnhhxxhdro]drttsuyvtuuygdtfaf[zohajxyfyjnqrigq]gadarjzfafqxsjxk
wivyofwdmipecdxuqu[trccnlbsvfbagstm]xajuejldffxzxfygsg
qsuxdmtfgpmlgkh[gisuuzaglpmbmydtt]qzyfvzryxepjmnr[mgsjrbmtxxzkadomelm]fqzjahepxspwkwpwd
pncauthrouncvjkrik[cyiovjnoesdgpeyjpvd]ajhonypsbifeghxi[wmudcxwbewumjbegnh]qetzbstgmzfruzxqln
qmkcddrhexvtylukq[nwrryzbnjnhvvgm]edxlyprwzzhgfmhz
iuonniejtavofqdqsln[ynjrsfsqrdsgydhpdvh]xvqtjPI:KEY:<KEY>END_PI
iptPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
nPI:KEY:<KEY>END_PIxPI:KEY:<KEY>END_PIctinyek[ieguugfkwujnymij]rfmqypeekkdsttdw[rfuanabgfjgctueaaqo]vranbomhrynvjyywmh[zjncmsPI:KEY:<KEY>END_PIlfmkvhd]gfeoftxsPI:KEY:<KEY>END_PIcgrzvrlx
jgazasxbickiiiz[duuskjowanfmieegl]cwgdwtrzpbfemqitbhb
lahkgoPI:KEY:<KEY>END_PIeofjlocsei[bwxyguvgmenwnpwlp]jigdlgdjptkimoyipa[zlcyjbqohvmlxgxp]bmovqedgchicusqzq
jhkxinkbwhpddvjzgod[fypyyhptvewejlbwdmx]tePI:KEY:<KEY>END_PIznPI:KEY:<KEY>END_PIanxxi[wkPI:KEY:<KEY>END_PIyzhPI:KEY:<KEY>END_PI]pPI:KEY:<KEY>END_PIxcwqPI:KEY:<KEY>END_PIsfPI:KEY:<KEY>END_PI
sjediPI:KEY:<KEY>END_PIxlcnr[xanePI:KEY:<KEY>END_PIpradlngiob]uPI:KEY:<KEY>END_PImjPI:KEY:<KEY>END_PIoycpthPI:KEY:<KEY>END_PI[wnsPI:KEY:<KEY>END_PIwfubwxkqhlflzv]smPI:KEY:<KEY>END_PIbfwpnhskzlknPI:KEY:<KEY>END_PI[pylbyttmhyggonlk]dwqkzjmatybPI:KEY:<KEY>END_PIgebPI:KEY:<KEY>END_PI
ktPI:KEY:<KEY>END_PImq[czPI:KEY:<KEY>END_PIfh]djPI:KEY:<KEY>END_PIqliz[fkpieaipgyPI:KEY:<KEY>END_PIjp]PI:KEY:<KEY>END_PIzvPI:KEY:<KEY>END_PI
tPI:KEY:<KEY>END_PI[bnPI:KEY:<KEY>END_PIsnivgPI:KEY:<KEY>END_PIvskPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[kbatPI:KEY:<KEY>END_PIjxPI:KEY:<KEY>END_PIpdPI:KEY:<KEY>END_PI]etPI:KEY:<KEY>END_PIkytyPI:KEY:<KEY>END_PIpnPI:KEY:<KEY>END_PIvel[xahfkfjPI:KEY:<KEY>END_PIjycaPI:KEY:<KEY>END_PI]misPI:KEY:<KEY>END_PI
abPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIbnx[fPI:KEY:<KEY>END_PIpjgocynPI:KEY:<KEY>END_PIawgs]hipPI:KEY:<KEY>END_PIvpugpfnnppn[jhmlgjsufflkdgw]ldmdclrkorzjtbjqcrn
aljahmvdrraiavzv[tevjntkppnjqwovvuuh]ozmgagxzixxyzuy[zgefziawisowuyqra]nrqmsbwgqbfrxqvzu[zvzglmnjmjpmditiodb]odzbozesvocemfyis
zgdukwtswaosbrossf[ugdnezayjnbjuhpeh]knkvomcsgfptssifni[votpmaaohcyofgdz]skbvfugaaxutcmrmsc
ywiphurgqcvybiakgok[cscyksufsduegggw]rtvvvokrvwmwsvmk[oqvdxhoqfsfdwwm]sbzajtnbxzkyiwrj
nxrvrsbjsrysysvftoo[qowwnvlezexjyynm]nknzluizyzjpbzpevb[adkqviapkjbmknchtb]xsgtthuifmsqidyh
ejrplkjjbnjjouesaph[bdtybzkfyPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIxgz[zklPI:KEY:<KEY>END_PIinvtnPI:KEY:<KEY>END_PItajyPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIvpznyebozPI:KEY:<KEY>END_PIfgh
ccjjszgrbozbpopagns[abiuzirqfzactus]eemrbqrkhhppvan
xeaifcibybamzzzic[ymvsqllvremyfify]ftgmrkhzswdpbmukcdv[fbyevcnnwtnodgxy]slfjznnldyuvair
ajmeryqwfhniqenmi[bdzlgljpkkgsvpjcy]hqzxecqxmneterlqizz[pzrbbprbhujzpcxhjmh]lvrckyomhvidbiapikk[cyyapugbrwlubpmn]toodggarcneobyz
lehpdvqjccdfpzpo[ssunfejvfxwzlzqy]dvhwfrwiipveqpb
ijmthhifxtkoubt[jcgoxkntpnxkmdp]rzsfekfmamzddgm[szvzrwthulqzcorhnk]lmgsxsjjcagkaysalnj
qmfgzmmoylbruqxoh[uoyinkzbglorxud]frtffuhkchkrwbxfx[urlwigeirzobvhir]pqrqujuwxueommaj
tzjhaiqumjufkzcvphi[lhfohqxxuoqybomckm]qjhpjkjljzekboyc[gvzfehzyrfaarfklybg]fhurcpaukztwesz[lhvnhfgpmunjukye]mdzcvgeehmchcqe
cbyyjbdwzgdhveyw[ockkdpwglixvbom]ozezplbkvaulagw[vmzfmqxplwaqjrf]upytqbnzjrclzfvti[hztxfkqwcuypqyhsfa]sfwcfhrnccesyncbg
zaclpaavkxbpjxse[dmuzswkobdcfmrejhaj]eqdwvpiphijpwrvg
yvectfptgdasqxi[rmpaospaiqhwpjwdru]ollajqbxmfnqmqrdce[jqixwgznolbepskpm]pmyfsrnbdcqdrhplko[pzblovbmbnbwjzsxrk]hgwpjhgshxoozdu
gpnplfnpnmdlhehgazx[gkgcsjdcfnxytzp]wamlpixcrqvbtseb[ijaxccauotewzkgu]usgmgqmezufmgqjslbu
jgtqghpjnbjkmajymfw[isxpkhlvtuyqpscvm]czbrsyeqmjnksov
fjsepwfaxbbsdxlcz[efiljmecvcsybpj]fsvcvvewoepnvqz
nxzdtgomsakdhwefrn[cobjsrlxnkxvmhk]wkfnuypvsigzcnswufj[ttmtjfkbnhmmdebtr]ffumzvnvgitjccgz[offnegtizuxhpqmic]lbhljegbjmldqbzryis
gnnsvlcqoatssjuijb[eaodophfeufuvdodj]jplhbuvzqfgvrqbuy[ezxxqanlgnxdkohew]vsukbzhjshwmmqdkzdh
shfhzsmqdeibrwgyr[slyyksjeywcnuaocadr]kdwnsokrwkajgnwi[zsfujtkhknplyieg]kijuvumdqvjyjpbhl[qyrlzloooajylfrsfk]gwqdkfpitiitrednt
zhmwbilhpywvxrza[tgnybotdqixzolvn]ptxzyjbayyevmcqua[hcmgjpycosutmqbtkf]tboiprpyhwgjceu
ejuvrirctrlirihunm[nfjigabdmqnkfoauuyg]rfwcumqndfgotyx
cxkwlruaswigkrtxxch[fjsovwltjonhegm]zkfawxnzxlkaqawq[rgfftbipxlmelfnpf]qhhslyyiluvowxz[bgxutaxmhxyxxdob]hzthuaqpiyeomlgqqcn
qyzwezoszvwrwiilglw[opryawlpulfkpkmuave]taxeqyunnihulfp[vzxzosekvamoofva]bbtonpohbgdwfmt[xwzkmPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
mxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
ejPI:KEY:<KEY>END_PIlibc[beglofnxveiorftulay]jslqibpnunabgqmi
uplsbqledimexhzwnkk[sfreaeitecravsu]exfxqlrumxaeasi
gicahlhkuxbhppe[cypyeqpzkrggfqrielv]pkuwwtbezPI:KEY:<KEY>END_PIgtqhbz[ojPI:KEY:<KEY>END_PIxanlkPI:KEY:<KEY>END_PIvPI:KEY:<KEY>END_PIqfj]eozPI:KEY:<KEY>END_PItyecPI:KEY:<KEY>END_PI
jtzwiyeueztuiwysyv[awibgssyyssrnuxrvuw]mmyvqfgaaraahzzen[rhscfvdrvagricw]qsqbnurcszgekmp
dxkeveuauhblqnq[oksqvawybtejxmdw]jrbwmyxdggncxitwcms[fvPI:KEY:<KEY>END_PI
rtPI:KEY:<KEY>END_PIjolPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
synPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[eqPI:KEY:<KEY>END_PI[ptPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
udPI:KEY:<KEY>END_PI[crPI:KEY:<KEY>END_PIuckyPI:KEY:<KEY>END_PI]qtPI:KEY:<KEY>END_PIyblkPI:KEY:<KEY>END_PI[yuwPI:KEY:<KEY>END_PInikvPI:KEY:<KEY>END_PIibmPI:KEY:<KEY>END_PI]xvPI:KEY:<KEY>END_PI
uzPI:KEY:<KEY>END_PI[rgPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
kPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PIitikPI:KEY:<KEY>END_PI[vkzunkivwcpvxng]totvodotoqiqokouz[luzygityrnpuiih]eadddxqveeuujmvnek[nyxhwlkatungkgm]bdhobPI:KEY:<KEY>END_PI
adbbbgxmiqomckxesb[dmwxvrammletdiim]eiozjsockohijbiinia[zyjjubdniurametk]ajivyylxbhvkktrzdg[byxiykqfbvpfdzdv]zborzsvqimrhyoyhevj
frshflyhzegyezg[xxaoqtzxuqbamukfxed]klyullmlailfvcz[boefzsdpblwpbna]dbnxivwobykcfwogv
xxycwortiwhndrvlr[mspdwmhyqdwtctlyek]qnzfcwwvvlfsael
fnekkofpuwhttni[mlwvhzrwfdtfnvof]gtlyjqokjymvtkiqdl[gdjobagxsuhudnoi]jgcgyusdyyocqwwtatk[rjujihcuqgdpcbdnkco]iewvagokrzdhhhskv
dfadfbjefyinccgzt[gzoojtdlvqysetfihg]nlsriqansooflahzhoa[vlzwtzgipbaxudxg]htykxxpfmhigbdqsu[pzipnakgdfpajkbqowq]zrwedqiuobogirulfwm
wevlduhhsouwlqxdcfc[bxcvjwespxdkulgun]hfuhwpzgdgqsujeex
zweayhrezaoqibgvc[sosownrvumzvynfpvr]lzubqqqepwraqqdxxy[bniazltbdanpnjjjuox]tulybfbbzeiyidrv[zbebbcdzpcvegcms]jdfofmnlgwrnvann
gkmbgzvludgmjgnrkck[ijywdgxetrginhtaa]yiokddkvhxebbuyrwoy[erhxxldeegvsebr]ujqickibpbjpizhbjw[mtzvltxionpxygo]mbcgbublhkajfdfvf
ddjzsqkoizakmeifr[sigtlzmyyrflvjowj]dyqyfvpkhdulwuj
jivforicorwbkmccpgj[oviyldmrjjzbojPI:KEY:<KEY>END_PI
yPI:KEY:<KEY>END_PI[oggkqxyiyvsrmxck]asjjivqayantzzfPI:KEY:<KEY>END_PI
gfPI:KEY:<KEY>END_PI[jPI:KEY:<KEY>END_PI]dcbPI:KEY:<KEY>END_PI[tPI:KEY:<KEY>END_PItfPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[yPI:KEY:<KEY>END_PIlovPI:KEY:<KEY>END_PI]tePI:KEY:<KEY>END_PI
bsPI:KEY:<KEY>END_PI[gakPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIdwPI:KEY:<KEY>END_PIdtPI:KEY:<KEY>END_PI
ataPI:KEY:<KEY>END_PIx[ufPI:KEY:<KEY>END_PI]tekPI:KEY:<KEY>END_PI[xxPI:KEY:<KEY>END_PIprPI:KEY:<KEY>END_PIsvfkPI:KEY:<KEY>END_PI]esPI:KEY:<KEY>END_PI[pPI:KEY:<KEY>END_PIkrynPI:KEY:<KEY>END_PI]bgPI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PI[dqPI:KEY:<KEY>END_PI]aPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI[fbetcpbytjywPI:KEY:<KEY>END_PI]mqzvwjmgiexjfehor[ntwcsnflvlaxmfqh]uvubufoducqwacwio
zvygygjncwkyceve[knrtgwmfgpjlqdzusvb]denyidxiinzvmhkeads[nuqpppqdsbypxncb]pzqujhpprhbxvnuzis[zxyppxjfqtzdplvbegi]imswdcvwdghzhmyyoci
mpiwlfpsupluuwzyqte[mtyfeccxfpcorktwam]jtmnexxnxsdutfve[ktzdkimtvwbcjrr]crdupwumoriklqckirt
clubjinwpyiguop[xummstkqfygcnsu]rektotfjzzguums[hcxlqatyhaqponifaa]vdzuiclpdtepfqmbdiw
sswrlfxpvbjntaovr[cajokjrogvtnguj]jsyxzvoomnfbtcc[lgpureoznbgrfwv]rbrwjeeiqshuvkwub[gzvyjbprnocmpkyk]gzibarcxnwnvuymlxpn
wpdzryxwfahiwguwvtz[epyjrrvvjpkuogtflte]shadblrllcaigwocsw
osmgewmpcqugjqyddn[omtivijufzacwctoaf]rvlwqcfmfuazwlas[wbpvzrbsnzqnhygpexe]vxvfjrrcjutfivtxb
unyfptkouxbhwwur[atheuhcficbccfur]djycwrtnlttopnjcm[pyocjfcogkyoogo]uoogeqkztdvsgdj
gdmorpdnzddjtbzo[hxulwsrafnvyxokoe]flzcmbhukjwjfnxsq[bzqqvrmxihbugam]kwwzidcxteeodrcekl[vtjszsdbmsxqouutvkt]whnkvoierxzhehwcjh
laswazcejcxyzcocca[utnlyecffzypkiocowm]nievutnusvrsixk
xlcgrfodctfmyxvsms[bgnofwciyllnekkiqf]knqjmtgrurhsjrwahoz
enrcvyphrazilaqswz[gdxchlzickidnqfeo]wmadrvyuoczftbdbbij[PI:KEY:<KEY>END_PI
agrPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PIz[yptupgqukzyiwko]zegusqzhdpylmvhgh[ftclkimlyjeiqxymyPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[lvmtxqhswljuvPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIefPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
aapudqmdqsoadhf[bptieajhwtguxpprkdn]fiopmsokjtonmei[rdcwfyvsmtkqwtpzwcg]pmgiakezkvhfiqxw[bmglrvzatxatgooc]jdkxirlaztzghpcgiot
csxohvjhmjbjmsw[zgvrfjdvjkjrrsc]wbnhtwfofrquxtzynmy[smcwkfovyaozfhhf]yfribcdfykfzsig
mzvhznqsykmcdgkphhu[cmmcxolosuhnkmuwhf]gkzgbqwzbzzurzehdm
yecvknvwvjguxlytj[pncdvmrcqcjmsyix]nvosjrornnfgznaby[tzuoscqaarhjnslab]whvfxspoocikxfkyj
guaouikkjfrtolsug[tzdjiielpgytyhis]gwwwtmdeetytmerjk[sorwxqfcsuhbvecom]wmfmxfovbdjhajcaxyx
ouvjolrkjyetsqlo[vnadgdxvtdkqlgi]pivwtbhwibflcoh
puboxtiwmmabyqgn[zhxzdcswdaavgdaly]ksukgpnictzfxxsuqsk[feoibpurptzvrqy]tytogwcrtiofplr
pyeiwajmvimttmi[pkvpbhnufrwpwdwy]dwdpuymdrskpgfwp
uwctwjpjojxatnyjwm[utlxyebxsfrddigrjh]rwepcpjgrqeafmr
mcibrhjsqyketegjx[wjiejdvcjjaijnmoy]lsjoughndzzedmblz[ovdcmldcmntnxwk]gtjntfaikfbfhuercc
xkcadobnrwjczwpo[izovquqhogzhtajgcfu]feiizljlnxughttxhy
zovyoejioovblepnri[wpjrezfxmhepyyhi]lissctcyvfbtuklymtd[vtakkwrsocdxmyqjkl]idfjftptuoiheqi
fjylzurwqfvphvctbn[wtraagycimmpycsbtw]zdolnnawyfkozoduzht[wqccswxyzozewtayycz]zngifgtxacyrwiacyd
mkPI:KEY:<KEY>END_PI
dyPI:KEY:<KEY>END_PI[ussPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[yPI:KEY:<KEY>END_PIethPI:KEY:<KEY>END_PIfromPI:KEY:<KEY>END_PIdkPI:KEY:<KEY>END_PI]cvPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PIyqvPI:KEY:<KEY>END_PIxjPI:KEY:<KEY>END_PI[ipyvfPI:KEY:<KEY>END_PIocrkPI:KEY:<KEY>END_PI]dsvPI:KEY:<KEY>END_PI
gsyxcrknbxxyhvnss[zymlfgpcupgtzycu]sjucevsghhzpuqe[qldvqrwjankaiexmj]cacvncnvtlbnxfybngh
ndbxeywazfrnghgdjog[vncdnjelecbwcnuecit]obhfqkcyucffwbhk[wiboksymurccujv]kxhiktclvdsgbxt
ieqiuumamwhkexjene[tubauuniiqmzdntax]kxiqlujdvpjqqrtkiy[ubnpvsfjutgvfhpe]fnwawoyfoqqdgyr
lromgmscqlmoqtqrr[wbndhgvivyrvevwpbd]fjvqzyqdkqfpica[isfiiygygruduhleff]lbfsdwsbvndxjord[zmgvcnxjevefjnqx]izvrxpsfekwsaxhzg
vfqitwljrqvsyilpb[ugzycuwrexfoavmalm]dshatbrosrihtwpf
hduooarqszvabcwukj[ajuwsrthbgchctbyuyj]tpzioxoqtyfuwtdccn[jisrxrmnmzhnhotwra]swseywswdlsbzzqqlv
aarocdgubnvehgg[xvfugpdczaccgttycv]nhzocbyrdhlppydelyq[uloucbldnjeulomssv]ayxgxkrslthaspz
dhyljzgyamlcdmmz[zdkwfrroodcyfnfie]zkwhzngaidridcagekh[emzeeodcnuvzddnbm]vtwokrqakoovvcdisvm[nzdlsyrpcsicoedyx]rrnfnhgpaeqtlxv
nxybztwairyftfvig[syeyundkruexgbwyvz]pspeqstftxbbaevhql
sbbhfvvgyscleyxzki[hgjoiilqwuiiogtt]sblfjsptehcxdilpgw
fmynycbkkkiwjllu[iolpwypqrdrnkitax]fwfzssjntanttkkboq[afgwfwvsudpprmpne]fbzhPI:KEY:<KEY>END_PIfqPI:KEY:<KEY>END_PI
jcyrspmtzPI:KEY:<KEY>END_PItomkqab[xqivjfrPI:KEY:<KEY>END_PIadfvtfmp]fxkhdbiczckPI:KEY:<KEY>END_PIwhil[ztemqpsvuwhwhfdfip]zxPI:KEY:<KEY>END_PIetcaulofvxrsakPI:KEY:<KEY>END_PI
ozgxPI:KEY:<KEY>END_PIkPI:KEY:<KEY>END_PItpPI:KEY:<KEY>END_PIxsnt[txgvekxlxkhufcwi]hspcyxwyijgjaqsyfw[bcjgsvsfzmvjklPI:KEY:<KEY>END_PI]bxjmkqkynrusvvqPI:KEY:<KEY>END_PI
wofPI:KEY:<KEY>END_PItcugaluPI:KEY:<KEY>END_PI[qdgdqupqigweysdhq]sPI:KEY:<KEY>END_PIeqyqazPI:KEY:<KEY>END_PIunofl[iorcsdtwdhfPI:KEY:<KEY>END_PIjh]PI:KEY:<KEY>END_PIdPI:KEY:<KEY>END_PIjffsvszPI:KEY:<KEY>END_PIflaxPI:KEY:<KEY>END_PI
icrmPI:KEY:<KEY>END_PIvzysqefbfgpae[uypfoutavxnzfpcfafy]moghronhxpgorkpypoi[ayrgvytktzzwtfuvfxm]ktoiazynmsksawusbsv[vypyasahxszocsfrcx]wyodebbscuterfrji
otrgqclsvnjpznt[dwzibvrmtngomacr]xtqtbpxdtejwbstddr
csiarmhcmunsjogtwp[nborrnynefhrgwy]lvsacfkgakkbjyny
ijejwezkizvuswn[zfkgmewadvwroqibng]kqhmbrdzuvhcwkwxfwe[mgopomvjdemllzygc]ivzzvgcwpmgjewb
jznavprnlcygwvvj[eobpbcbuqceogtei]jilcppgbqnzzjrjjjx[xurpitsmdxtiihb]pkwkdkckicticboagma
hrarppjudvbccxdepdg[ksabupqjypyrwctd]jzmkavpyparwxrivfq
kjtgdhvqyzisomc[koywiyiymrrjpbqno]vbbusjzesxjpwkrh[zfalkzmohlxcdykl]hdctcfabyzteadzofca[vlbsevgalpsvreryxda]oocgdkoeoxgepsikokz
nckfsyxjdgmgcdyqoaz[cegnbhaksrdfaokttjc]rmfzhgwbszywwzbzpe[nofsbyxiguiaxju]vjjitkzyrugozdspwjy[gwkdakutwllydivtnns]gswugowdiouemkrf
evjgxyciglvcnkjdep[ixmlhpvkldxvcerjb]eqpkpmyqvctcepuljz[aylvsdrrbajlptvfeo]nqmtctitzqxeluw[pkylojlgnaunmolry]patyaqnazqoykcls
yklraufwcbbewrzdnl[dfsdynavgwiwbkmmpo]atqaaprzieowbqafr[udtaocwgbvqqztkykeh]eyzakgtvzrmejksf
gplhegstsxbqvxtnp[sheoxtsrbdxposgmtx]fazbemqbzmssyce
ulhekckzsguaeuectg[msnwinlfedcaqdyb]przurxwotscdzgtcjv[sbqdcqeculwutvfecqm]mjosilvbpgaawll
bjohxvdcujujaoxe[buibijjxplrerpiphn]eorjpmrcugznwsi
yflomjbhtnsgkkx[hhpskaiqhzlmbnpv]lgsdbeankbosyptonh[vxodyzameaaajwc]nwpmycktztqrgmxgbg
eajkclofrzpwbscfuwv[vgcyrfqnycmarafkjc]yfrtobkpkwlmgyckhmt
czamuejkegyxhetxmou[edrrdhmhhtxvpoxvx]wbzihlibvexqyvclzml[dnzwkagaeyicaojzg]wkireqqnngbfxsygz
kwbjoaorrluxekext[ffjrmxvgeqyaoartr]pwxypyiquumrhbz
pyxpvbqfwlpnawrygi[dtqrrjolckhpczlk]mtknbyltlictunxq
cgwtgnafiflwgoims[qdbdbgkqhmtkzmmyuke]cuhipgoscmxtoihh[ieqobhwtcxsehgils]pmtyremzeqhcuinxs
lmcuchgkedjkgbvxjdw[jxqmqodwyieikurcwf]mkfmofgbnxsmluu[rymmyeyhyncfnzobk]jnwjbmejttstvhumye
qsuhfviyinfcwufzu[pqmeenwhbstgguzs]ypqszcvmaxfqwqcvqro[xiofditiroisnpbx]vhftrwgnrxoxciva[esrtbbadduxicftf]vcslxziacmscxaxvnbs
bbfcqaoedfdwphomkh[jnslunmdmvkiyup]gfnnjqweocbybtjdtn
srjpaxfvehavomsjq[nqqcwddbzqvxdacdep]hhpbhajjqaazpqyo[fclqwfkctufgmkqm]pzkwekfirzlcgduifqu
kfmoszcssmucztdn[tllxhkubjuqjmgfeqw]djyeyajqakxkoxpk
peeaqxjifuloiujd[tgplullzdgeqjononx]lsmrbynngeveozz
chytpljkoqzhxfu[izwdbatnmmzzttst]pkfsahxrlgxedvsev[rcxdfirqmtavigilk]lvrudkskrxxyulbjbe
iatlnhdapqsyskgstls[nqzlofurrzibukxddw]yxdwqadthjynwvatmp[bdkndmhtngzerzwqgmx]iclavwyossjrhtoqf
vvanifuojsytdel[dmqjrwfgjqrcyazxa]mivahklphnoapabp[tlwiiuvxlonsucr]fccfhxkvvqeqvclcnr[rankwbxciojgzdhuuu]eycbcqhnkawkwmkxb
kyqnkbwfvcarqcrcfua[toxpqnxiuyvfjlekjk]hfponcmqqsfdzqtlgm
ksrmipfvtrgwofiqxx[dxncthyfpoivapdpf]tzlnjrfggtbgdxec[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI[zkrPI:KEY:<KEY>END_PIibgPI:KEY:<KEY>END_PIctePI:KEY:<KEY>END_PI]rkwpwfppboaxzgkbwPI:KEY:<KEY>END_PI
yebynyhsovfufkhwoel[rqgwgiuuztoboxqo]tbcahalhrqzpqxhud
mxvixuvpntcsxjzvpy[PI:KEY:<KEY>END_PI
kPI:KEY:<KEY>END_PIzcPI:KEY:<KEY>END_PIcPI:KEY:<KEY>END_PI[wybonbamfkugypt]gnjrawnjietdzhaf
ufmoyzcmcxoqqpsg[hkdzmupftmazbrhul]mypsxfpshzcirslsq[rumehwhrobhrjstjd]tcdatsxbxwzxseileyd[iwyafcoefsrbynl]vedzteatonqliwgyj
wtmyhvmsfoxphqrusjw[ozpswsyjxemnczhga]xeplvzvjzdgqspqjv
wxyocgbulqhbzyekcln[dijevkhdfkfwmppnert]uuxxnhhkbmcegbtugapPI:KEY:<KEY>END_PI
ijPI:KEY:<KEY>END_PIyzgrzjonlq[bxxPI:KEY:<KEY>END_PIrfelsyxkyxrex]pimPI:KEY:<KEY>END_PIbbzahddPI:KEY:<KEY>END_PIrhudyoPI:KEY:<KEY>END_PI
ydPI:KEY:<KEY>END_PItwdjucx[riqvhezqqrwpizvn]pptPI:KEY:<KEY>END_PIbjzPI:KEY:<KEY>END_PIzxy[rbzbtfnnkeyuvjqhjPI:KEY:<KEY>END_PI]hnPI:KEY:<KEY>END_PIyyPI:KEY:<KEY>END_PIufPI:KEY:<KEY>END_PIzmkPI:KEY:<KEY>END_PI
dPI:KEY:<KEY>END_PItdPI:KEY:<KEY>END_PItwahcjcb[gumvtsackxhPI:KEY:<KEY>END_PIjebt]gdzjirhxegmrgishf[ueivwcnfptgagdj]kzqyptwgfykrxqsc
yovgolzpfuxumuusnu[yzmsckgxuxbcfhpovdi]ydcgpjfgjgstljbkc[jnxpktvohnxeoett]wijsttknnkaxhyx
xaajqzktqfslihurb[ssufsbsajcwrysbaweg]odddpcsenmcxilrkp
lhkzyewhnntocluc[witlpxxovbpaeue]zokmfkrsuzblnubzq[qbubewghnsjcnbku]xicstwzulnzadvwgv
pzuhirxrvaghkajqsg[edyrpkukyvidoqbabcu]vfqcnorzlzxypla
xythdypgcqkccfv[zrbuwbhkohddkmbj]dbkreagpyprchmoktz[mehstplzokdjkasge]bypysrypwfqaupkwmad[ywkktyjruqqoexms]xdvcvnaeuiwdtcjcwg
ebmymncvgrkqlusommh[wtkwqtpboedpdwaxoxv]iezxkyrvialjPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
fcPI:KEY:<KEY>END_PIuugPI:KEY:<KEY>END_PIwyk[kazerfwbmgeiituwksg]nalxpcedxoajytfPI:KEY:<KEY>END_PI[llPI:KEY:<KEY>END_PIgzPI:KEY:<KEY>END_PIukPI:KEY:<KEY>END_PI]yPI:KEY:<KEY>END_PIjdPI:KEY:<KEY>END_PI
ljPI:KEY:<KEY>END_PIxPI:KEY:<KEY>END_PIit[lhezgrPI:KEY:<KEY>END_PIllPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PItnPI:KEY:<KEY>END_PI[ezPI:KEY:<KEY>END_PIkrPI:KEY:<KEY>END_PIjyPI:KEY:<KEY>END_PI]fePI:KEY:<KEY>END_PIskPI:KEY:<KEY>END_PIravPI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PItikPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
gxPI:KEY:<KEY>END_PI[jPI:KEY:<KEY>END_PI]cidPI:KEY:<KEY>END_PImyPI:KEY:<KEY>END_PI[uPI:KEY:<KEY>END_PIefPI:KEY:<KEY>END_PIlilPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[qlPI:KEY:<KEY>END_PI]plPI:KEY:<KEY>END_PI
jPI:KEY:<KEY>END_PItsPI:KEY:<KEY>END_PIwjrdr[xtqorzwdmhunrtevfb]qqxbyumulbmrsbhtx
yoenmlwliczccpkolc[xsolpcnqbbkrani]tzczkjomtarfeqiq
ogxowfxoqczptla[ayzmunzjrhsyyit]ckixtyzdkicgemx[hhubqmeqeenjuwuclx]zjhusfgvemklroia
wtnnwdcuqnxduod[nugtcdeviqkajsqxgvh]ujsnisiydziqndzgtn
eylerocwshewgerk[szefiobgoejulsas]jxmoefzlxhchgmspo
nnwqedoiuhqmmbqewzx[ocxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[yPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
tpPI:KEY:<KEY>END_PI[sPI:KEY:<KEY>END_PIsgPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
uzPI:KEY:<KEY>END_PI[gePI:KEY:<KEY>END_PIfnPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI]vPI:KEY:<KEY>END_PI[qzPI:KEY:<KEY>END_PI]aPI:KEY:<KEY>END_PIt[PI:KEY:<KEY>END_PIkubPI:KEY:<KEY>END_PIyugPI:KEY:<KEY>END_PI]tkPI:KEY:<KEY>END_PInjrdtjPI:KEY:<KEY>END_PIilk[aorfkrzlpuhgozwyhj]kPI:KEY:<KEY>END_PIwxqqwfjxawbj
ivqhauvcbmbzijrl[lbsmgujvpbayaoy]kteathfvlzvbfzdgw[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
vqPI:KEY:<KEY>END_PI[kpPI:KEY:<KEY>END_PI[ryPI:KEY:<KEY>END_PItaxPI:KEY:<KEY>END_PIsnPI:KEY:<KEY>END_PIagr]shPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
dPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIuptPI:KEY:<KEY>END_PI
kbkxcesoPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PIyynPI:KEY:<KEY>END_PI[bkintqjcoqshvve]torPI:KEY:<KEY>END_PIagbkbxosPI:KEY:<KEY>END_PIuc
qklkbdielutwmtwkgz[dtruujvmzvmannceu]xmrwrcevkgapcagtuof[ebouhjnkpgmqairnh]trgbvkjhgjvqmceu
xcoycanpxtathanw[xdfzqcekyrgixxcc]zpbmkgrykuvlldgzh[zltkqabodeywxhtyfkc]jzetstuqnplogpkjyx
pirttznzezsktas[ogefjszaezeqipdhy]tfzgyjkulhtyuhnvf
kxyvrtcpdqieyro[wnvmnmiobotxsispv]qyvdfrfhxkjuqwdtw[qolhrtzasgthtplihxg]gfjpittpnbsymvnotyj[znwgxnufnotguzwgwxd]rdmgzgfprxmavttnoz
mubjhrjxqggcrus[ammffPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIqwotgPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIefPI:KEY:<KEY>END_PI
xgwckmpjphdwvzujv[svfqqafftzlgoifup]pezixwriwatkcez
mfgtxxoygegwmitbzkt[qxivglwljmpsfzn]mfvhkhhddithgxaokfPI:KEY:<KEY>END_PI
npPI:KEY:<KEY>END_PI[bPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[yqvPI:KEY:<KEY>END_PIadoPI:KEY:<KEY>END_PI[fcfPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tsPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
ltPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[dlPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
emfPI:KEY:<KEY>END_PI[ubPI:KEY:<KEY>END_PIjgoxfciPI:KEY:<KEY>END_PItr]uzPI:KEY:<KEY>END_PIxdfPI:KEY:<KEY>END_PIcb
tlPI:KEY:<KEY>END_PIcbaqozlwn[lbupwjeefgtoovnrkkh]sdzgkexzxzcpdjgaid[qisspueisheejzkfxdi]inhxPI:KEY:<KEY>END_PIuecPI:KEY:<KEY>END_PIkpenqqf
fdtrgsgechhugwnidpi[dtwwiqlxgtadmnrtej]hdgoyjhlzdrcjzvl
mtglmkersierfaishps[gilijizfqdzqihkbsd]ieqqthavsiqbkxvrmll[oxznuqiocyxjzymxm]epuxtetrnfrzrlqd[gooprerdkioisowygrb]zzowrurkwngpvvh
tznoyelqlffpalatbs[cmtlsjviihyavtxz]lphzihbzjykeuhuzpg[xqfwolpahmfquhuh]rpqawvkxodxmvfhswz
ybityzvtpsfbovx[yrggwxpkqjtzdvkr]gphdlfythiokoitpcjx[wmfvcehazqfxesy]utjcvxaybxcikaqgrx
olqndwuwjvfqhxt[qfgqmmyeowawqckfh]ngkiagyxtqpdwbrwlm
ukuozdurxxrvljkoi[eysjyckwyiyuopa]fconkkukvvmgnvyn[nwkqsifcwlzjurruho]ryslsdfmhgesmdf
tlchnjfxtkubrlta[rsqsxplnikmqxsyhyoq]xcytyjjduledlzhuh[qudvljyfmodytzaw]hspqkfbkjtsvcwpl[ptfjakjrpvqcqcuhmf]inxwobxnnzfirnvgmmr
gaviilzxljsozua[vmqvdrqoqnztbdmzstt]ufxaggbphqyxgnpcgzm[zglcpiqjhahiqcb]tsiqxcvrwvqistphkj[ebajnjrqotekcerg]kciocwshxzksmunx
cgpgikxsukwvmwi[janhpuvmccsdahfk]rrmkjehchkefwnz[plbujeqhgjvljzkwg]ttwfjicxkkofysgob
girkwjuugyxtovkjr[htizrvsispydidi]wqdtgvsfnuisigmalai
ajbikjzwulcmizeoasw[pkkgiucjnrubiwqoll]gscdqocmpsuvfznqhah[rztusgyvsxaeqfmesh]rarydwrmadghrjtx
hxpxckfcwipinrxk[morfsambyhipqzwl]wzgttlcuikfpvywm[cyebxypkgvxhope]dqazfmcgyppybetn
nrisbenoupwrstlxy[uewucgmzkoyulfbt]bbvorytlrgqknqz[zwseofceynlohaooxzm]hfPI:KEY:<KEY>END_PI[tetPI:KEY:<KEY>END_PIvhctlnPI:KEY:<KEY>END_PIvx]jxflzPI:KEY:<KEY>END_PImnPI:KEY:<KEY>END_PI
nmyrirPI:KEY:<KEY>END_PIjtPI:KEY:<KEY>END_PIgPI:KEY:<KEY>END_PI[ilkcycomeqvcsuwmmq]iridicawanwkaeumbvzPI:KEY:<KEY>END_PI
sunPI:KEY:<KEY>END_PIdrgrjztzPI:KEY:<KEY>END_PIxnl[mtztitboyfmtysqeqzl]unugkiwrPI:KEY:<KEY>END_PIinPI:KEY:<KEY>END_PIciPI:KEY:<KEY>END_PI
jPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PItrlrs[tazackiqPI:KEY:<KEY>END_PIgrPI:KEY:<KEY>END_PIgz]zsPI:KEY:<KEY>END_PIzvPI:KEY:<KEY>END_PIuzPI:KEY:<KEY>END_PIee[vcfxoionPI:KEY:<KEY>END_PIzbalPI:KEY:<KEY>END_PI]ujdbPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PI[pcdhPI:KEY:<KEY>END_PI]dgPI:KEY:<KEY>END_PItspltxPI:KEY:<KEY>END_PI
siPI:KEY:<KEY>END_PIkyk[imgupPI:KEY:<KEY>END_PIeknlltlk]qxfcqnjbjtenubcPI:KEY:<KEY>END_PIrPI:KEY:<KEY>END_PI
hPI:KEY:<KEY>END_PIgnPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PIvo[vPI:KEY:<KEY>END_PIrkcpvakzvbsvPI:KEY:<KEY>END_PI]ehPI:KEY:<KEY>END_PIvmxicPI:KEY:<KEY>END_PIfsPI:KEY:<KEY>END_PI[pffckymkoredPI:KEY:<KEY>END_PImx]vPI:KEY:<KEY>END_PIxttPI:KEY:<KEY>END_PIjqPI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PIzqPI:KEY:<KEY>END_PI[wfluvctfqhrwznyzfsa]zriirahfdpleznfto[dugecvltxsfumxvjaah]lvudPI:KEY:<KEY>END_PInmsbudzxoadg
mvrjzvsrconakgifqj[ehgbxxxhfqcigyhuyya]eqofdufzntqtsjukffc[hbzrfurkracnfeig]zmahsqiqbinnlhnvrz[qdajsuhymeavrqpdoy]nspfggpgnwnalzuk
sejkhhPI:KEY:<KEY>END_PIwpiqukaddwc[vwdsuuxtfaxqbrcne]njkrzolxoqpmmPI:KEY:<KEY>END_PI
fumcwsiexfoqklovype[bzxfxytncrmwtfrojv]bfvsmplxarmselz[nrnsymdrakyaqzwivoe]fpvboftrzvkemjgqt[akiqkjrmnvhucjcxk]ynityzhxqopnjpslhg
msoqujlsilpcgchprz[gqdevmuryxipqcgfdwz]wxjkmuhjootmigfietn[flfcoqhksuopnPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[pqPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
evPI:KEY:<KEY>END_PI[wjPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
hqPI:KEY:<KEY>END_PIsm[vrPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PIrq]PI:KEY:<KEY>END_PI[ePI:KEY:<KEY>END_PIsqPI:KEY:<KEY>END_PI]hPI:KEY:<KEY>END_PIddPI:KEY:<KEY>END_PIeqPI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIor[ujvnPI:KEY:<KEY>END_PIyvsujPI:KEY:<KEY>END_PI]uPI:KEY:<KEY>END_PItaesPI:KEY:<KEY>END_PIknr[divaemcyPI:KEY:<KEY>END_PIpnPI:KEY:<KEY>END_PIejPI:KEY:<KEY>END_PI]dmgdiifbkggxpzmfy
qjttccgwnqwdehsoz[dfbrkdapobhqvzom]hqtnzkmtiunvomn
irxyxnmdlzgxmpg[ityfjgihvzrylygz]qollizryghyxjglce
bnibapdblbaoehfbvin[kmummoqopswsmvtgiz]isaumuoiybqckfvkhx
waimkuqinxbmazab[foxenwzsxkkupwo]yjelgjycvabztzb
exxvbdzpyswekjnfmef[tjmrddaazxyynamc]nambmdtnmfhtkiyqqct[patbobzwiwlidazpoc]nzbneeilwcjqnxqPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[eePI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tcsPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
kPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI[ggsocxmupmielega]esekvzvbajssesin[ipwqyvkwospydzpmk]byhqabwpjuihcpgipx
pizgcsuyqldtehjc[utwlsnwndcjqnPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
ePI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
rcPI:KEY:<KEY>END_PIebPI:KEY:<KEY>END_PI[qPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[zkPI:KEY:<KEY>END_PIsoPI:KEY:<KEY>END_PIvPI:KEY:<KEY>END_PItnlyph]efpPI:KEY:<KEY>END_PIsfvrPI:KEY:<KEY>END_PI[vxscPI:KEY:<KEY>END_PIhqnzquxmxPI:KEY:<KEY>END_PI]dxPI:KEY:<KEY>END_PIstwPI:KEY:<KEY>END_PIvmwyawith
zjddycxtbubaliviw[cwmjgucnnrbsybtpxu]zhPI:KEY:<KEY>END_PIkawPI:KEY:<KEY>END_PItdlnjwb[qovxqaebePI:KEY:<KEY>END_PIomoacpxyw]qctfbtyvbabebup[bwqjuutjmbgfdznqfa]jzitebxzssPI:KEY:<KEY>END_PImoPI:KEY:<KEY>END_PI
hoPI:KEY:<KEY>END_PIrrvjayayny[kdPI:KEY:<KEY>END_PIaxnjncgvxhpud]orhfjkslldcjiokPI:KEY:<KEY>END_PIobPI:KEY:<KEY>END_PI
jPI:KEY:<KEY>END_PIejd[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
ezPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]sxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[zxPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
aePI:KEY:<KEY>END_PIgravPI:KEY:<KEY>END_PIgitPI:KEY:<KEY>END_PIedPI:KEY:<KEY>END_PI[yjqPI:KEY:<KEY>END_PIvjPI:KEY:<KEY>END_PIrbyneghi]lPI:KEY:<KEY>END_PIrjgzPI:KEY:<KEY>END_PIixjxPI:KEY:<KEY>END_PI[zpvvfxavievwanxkedz]zksdPI:KEY:<KEY>END_PIkwtrPI:KEY:<KEY>END_PItaoyPI:KEY:<KEY>END_PI
mvPI:KEY:<KEY>END_PIajtfPI:KEY:<KEY>END_PIplmslzxhk[pmkjinpckdvwjliz]lwiPI:KEY:<KEY>END_PIcrikkyoijkeow
fnwfspmlakldfdhc[ujbeoudcbtqjmjy]tgitkdutjdhlrkwbts[upqsuxqtzrmwgmbjqyx]ayaivsgiqcuzizeau[fiqnymhyqjapvri]eioouxtbfwduighy
dcuvsezsqwjnsvlqzah[jjzbyxctqhdxfuqer]wztjqxgjynojjur[zkiosthyfrroydaykyc]ocihuyyzvwdoixygzk[psaghlhtqoptvsldbdi]zxqwrhusqligxnoa
tjzqnocojjzktgk[omlfecncaondrqrvwyw]dxwuwvsdiehvzqmafo[ihbhwnmxkbkypmum]enkexramnrjguPI:KEY:<KEY>END_PI
ixPI:KEY:<KEY>END_PI[pwuwcywpavudpbkmdPI:KEY:<KEY>END_PI]stfjklPI:KEY:<KEY>END_PIjdobcr[ziugachuezezjsw]dzwPI:KEY:<KEY>END_PIjfiexsbbxjcPI:KEY:<KEY>END_PI
lcPI:KEY:<KEY>END_PI[iarPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[nnyPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
ryfcPI:KEY:<KEY>END_PIckaejcahgy[kymhoizkyffsxybzdta]olmhiudvbcfbkjb
jryuwyprwczmcczi[vtijzvfbpssohcdgv]qizkalsooznmasljh[sdvwxkvydoikgjtomxh]ixzqpazdakfwczn[tyjorxvairghzrqi]aunhzwxnkjqryibre
mlPI:KEY:<KEY>END_PIynvuzmmcPI:KEY:<KEY>END_PIqkft[fkeqzbjanvjoieooecy]muvosxtjytdkPI:KEY:<KEY>END_PI[gsdxscdePI:KEY:<KEY>END_PIn]kvPI:KEY:<KEY>END_PIitPI:KEY:<KEY>END_PIzmePI:KEY:<KEY>END_PI[kpnPI:KEY:<KEY>END_PIsxurfl]obPI:KEY:<KEY>END_PIyyPI:KEY:<KEY>END_PI
tunPI:KEY:<KEY>END_PI[ivPI:KEY:<KEY>END_PI]akPI:KEY:<KEY>END_PI[mxPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[itoPI:KEY:<KEY>END_PInyerpth]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
hcPI:KEY:<KEY>END_PIty[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[anPI:KEY:<KEY>END_PIkodePI:KEY:<KEY>END_PIagy]PI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PIuPI:KEY:<KEY>END_PIixPI:KEY:<KEY>END_PIarv[idffPI:KEY:<KEY>END_PIdhPI:KEY:<KEY>END_PIsshlinl]ygsinapdnmzvgit[xinvdhbqhbvqrjx]zdPI:KEY:<KEY>END_PIvlunjkkhof
zyeynxvzdPI:KEY:<KEY>END_PIiybab[vhgjepcwqjbolwnft]aopzcryhnpswgmds[yynbcrcgegnrpsk]munxtddzxyvzwwcosq[igdwjifdopnhwzv]oyebiutPI:KEY:<KEY>END_PIraayzr
onkgxvprjaynfipxeum[jjwmjcepwxbleahq]ofvhiwoyxmfnjbn
jdwjapulavrgiviora[vnwjfwpsfcdkhamtg]jqcgsuleganytwsm[qajmdsarjnocjpq]lxpalpkeehxjdslu
mzyzoemluwoovah[bydwxptnmzqxdqfgdgk]hekhqzpgilidwvpey[ouhnrujqyhnlilh]qjarvqynycolakyiu[wzeffbptmwixrmr]bowqsnjgurjpkuc
jawvxlepzelbjymcke[atwksupwtnjjnkwe]xqqcmguandaqptp[yqsfhnssllituzzwa]xbgaqeuqtnclehgr
xumjolgnaowjdoq[obqxrncwytcvrsa]tivvsxdntkrivblx[nfiworqsxjvwyki]nxnpoipcjqeeukx
svkoyidvkhkvock[htgrjltotuunrwka]uqyezwkltzsjtaysa[tqaaskeswcllblpnozj]yizblbkqgvblvqghvk
lfqasqaubbgirmw[xxpjcwlwjsklklgyrk]fwckfwwekdgcesswh[xkcxlxtanadezjpva]naodeooepetabkh
mtbhzeufmgeskqsp[deibjhufkntahso]oxebgcgzvpudozi
epuzizxnxpmgjkabqfb[fmteazugbgjgozgsmhl]conlsruhnwdekaxf[zimnpzazgotaghhaq]gmkwnkivobskmeafcck
epbvuluuhaazalp[dtsthsijbzgbvwzwgpo]blfatalfityajcpmyc[bbypikyeizyfntdt]tcnzahhiwutntyt
vailqzvutssuxjy[llxrpxlpcojwmab]kqpqrpogogkpefajeuj[afzpfhjmpnestctyqz]mdggrbuuglbmweujgxl[qhheeepqrcbdfhlxoo]lxvrdwpugjperwt
roreocnumcerxnrhr[ricaoyebqjpgzazssc]xzuqnzfgbrcvfnmpcgs
uludakjsmsamkpmy[ropmbbvjvupftps]swngrcigiqzdkie[hjhbsazzxdxrseczPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
ftPI:KEY:<KEY>END_PI[tifPI:KEY:<KEY>END_PI]xPI:KEY:<KEY>END_PI
buPI:KEY:<KEY>END_PIsl[plPI:KEY:<KEY>END_PI]anPI:KEY:<KEY>END_PI[gdPI:KEY:<KEY>END_PInyPI:KEY:<KEY>END_PI]byPI:KEY:<KEY>END_PI[izPI:KEY:<KEY>END_PIegPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[mrPI:KEY:<KEY>END_PInyPI:KEY:<KEY>END_PI]mwPI:KEY:<KEY>END_PI
xgPI:KEY:<KEY>END_PIjlmy[ayygnszmePI:KEY:<KEY>END_PIddghPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsvPI:KEY:<KEY>END_PImvPI:KEY:<KEY>END_PIkz
sfPI:KEY:<KEY>END_PIgimlzgjqs[vsudPI:KEY:<KEY>END_PIkhrjuwjgig]fwkpPI:KEY:<KEY>END_PIyrznigiwq
belPI:KEY:<KEY>END_PIbgmjpcruwv[njhctgeptjieourukf]sgybshminsxktqlfxr
mpwnzwvblaseycnljze[qhrfygccokretvo]ydomrtoamoecceekrr[lgslvkhwnmsovxvhqPI:KEY:<KEY>END_PI]cbyuvPI:KEY:<KEY>END_PIusPI:KEY:<KEY>END_PI[wrvxwjyyzsvxvxwpdq]amynjonPI:KEY:<KEY>END_PImemftlnqaPI:KEY:<KEY>END_PI
iniemtnmqPI:KEY:<KEY>END_PImxvpicqn[drdrbflsylzhzltq]orjcjdsbzijkfwhdhz[mrfovzdsugacpyvlaj]azjikxjuaszxpapss
ynnxsnsrjdaqbbaa[lyifxbzcyzenzpzzulPI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
fkPI:KEY:<KEY>END_PI[qzPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[vlPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[jPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
dmPI:KEY:<KEY>END_PI[xdPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[okPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIedPI:KEY:<KEY>END_PI
oPI:KEY:<KEY>END_PIxutPI:KEY:<KEY>END_PI[yzPI:KEY:<KEY>END_PIsdipasPI:KEY:<KEY>END_PIgyay]xwPI:KEY:<KEY>END_PIqynhfregxpwc[tjgxnibylfayarir]phswgvlkkfjjetrhdl[pkcutagssxligtwbd]xrvonaibaytcqnhgc
ivalpefzoxwoqycavx[wnrysytaesivblx]dblopqsupplgoom[vxtobrfntcvixltcb]kzktacrarmtwuhkcoin[eviwodeyddmsfkvhzue]drtrnlgrndrxgcp
aygkprnkwdzydlmww[firwrjxyrnqlvycccg]lcqurfdlcrvbzctz[cxzfxjybrqysasrppqr]domoafryutthljppcg
uowwwiqusrqkpamdm[cppbcnmcxpecyoey]ndmdrcadjoukusxjfl
mueapqgbxuyuttzaw[eojhbogjbfdbhyqjp]sxsjeclolvcjexxvxij[zugkiortijshaocu]mfayspauxoxdwkbj
swusnwjcduzzhsjhykq[jhweoafdbntsmxcg]fwqrvlhlltfeygpcnyi[wzibgPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[ijkPI:KEY:<KEY>END_PI
udnPI:KEY:<KEY>END_PIdlussuatatj[phfqqkmuhvlehlo]cyvspnwlrcmatbwoua
lozehtimrottjudo[krocuifdrqwhsmm]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PImnPI:KEY:<KEY>END_PIcyPI:KEY:<KEY>END_PItpPI:KEY:<KEY>END_PI
zbxlifyzwnwujvs[pyyyjxylpmpwgbh]iutvnonqqqtbxisfopf[qevehnvgqgkyfuqr]mqrcuibiihlwdrzd
rxlnsbgsuofdjgifrnu[eougczwqhpbyqjpo]rokdsivylwcqepdyhfp
yhzwpokjwnqbwtsxuh[ekjrlmzyakgkzlemnxp]gbktdprzdyhcifmigxtPI:KEY:<KEY>END_PI
ewPI:KEY:<KEY>END_PIfxPI:KEY:<KEY>END_PIqmbvczdtw[wlbdrngfgnwdvkt]vxgPI:KEY:<KEY>END_PIwndxlms[vupgwxfgfpxtnen]kfeekrdualqqnrilPI:KEY:<KEY>END_PI
awkkejmtiopfrqfasgn[alciuobkmtbxngulv]qlowmadlrlapsquuhw[hhtlyfkusvlwunbbjod]seacetmksrrodjqdffk[aunntgaemlyoabfgpf]yrlrzbdjfejbPI:KEY:<KEY>END_PIkdtrz
uegpnmuaxvvpcsuzi[pxcbpsgaecuqyhvov]oiyjoyraxkymelqg
ffpelsnrffyfzzfdb[ymtulkndbgguyivf]uauzvyseztbkdvxow
omolchhfvuuzzbodx[zhvhxrqwbdhfwlnn]wyyrsjfjsfyafjfpoe
puihcjkezjyjjfl[cornhtqjyqlebvqyl]dbemzlxolqxpzoi[qeihkchqoewcabbwog]rlfloutfwlcjywygd[glqjydslofkcstjxd]oxcycaaadlnxfkl
hbxhlyelfyszkzyc[cdxcsyocdiifefpytl]wxefesokgwwvcrp
vdqcqggyjstyefs[yiskvcmdlbyuwzdom]cwmntthjhfyzlus[dpoubuwkbwrkpfvlgf]zryvvtowakcyclcg
kcpbllbamycbuynia[duyxsbzyzibjwejygq]mszplxmgtkqorlklg[kkbpzPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
bpyvotpfgrefzidpn[pyvnycicdpcutcayrv]twcjgpggepbtnute[fdumsgxervdixwv]ydccutccndbxxfjrxh
okzxxPI:KEY:<KEY>END_PItdrfviychsj[ymguzlptohblvsj]ofPI:KEY:<KEY>END_PIjgbjuxhkPI:KEY:<KEY>END_PI[ingfugdcfpjtyoj]xwplthdujgksPI:KEY:<KEY>END_PIsmv
jbwwPI:KEY:<KEY>END_PIqPI:KEY:<KEY>END_PIrrzxmuwh[hxqptnyqwndsntckqex]mgPI:KEY:<KEY>END_PIotcyyPI:KEY:<KEY>END_PIuihuPI:KEY:<KEY>END_PI
roPI:KEY:<KEY>END_PIqz[cdPI:KEY:<KEY>END_PIavPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI]znPI:KEY:<KEY>END_PIhjPI:KEY:<KEY>END_PI[gkPI:KEY:<KEY>END_PIxjPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsnPI:KEY:<KEY>END_PI[etPI:KEY:<KEY>END_PI]dfPI:KEY:<KEY>END_PI
izPI:KEY:<KEY>END_PI[avPI:KEY:<KEY>END_PIibsrkfmlPI:KEY:<KEY>END_PInyuce]inPI:KEY:<KEY>END_PInunPI:KEY:<KEY>END_PIkPI:KEY:<KEY>END_PIvdhq[lxexsvmjqjzpswjyrju]adcnelugPI:KEY:<KEY>END_PItzceb[cPI:KEY:<KEY>END_PIfkyPI:KEY:<KEY>END_PIouzplrel]iqPI:KEY:<KEY>END_PIrqojpPI:KEY:<KEY>END_PI
mcxijhkidPI:KEY:<KEY>END_PIijcggv[buvpvujncpcwxvvt]xortwrcnebozerevim[ylisqiexudovelmczm]sophxrbvffupehspu
tdbjhtyvoiflmgdt[lbwyayxikccooiw]rbhpfinzxpaayibe[twvandevzmehmiiot]npuymvedotdclzovsq
jtfyyycvwwukxvfbpq[acoshjowooeituuy]xicaiqqcrtpkwtu[lnnokqhsagantfsyl]kchtjwkppjyxtwjh
vfzsxxvmxhdpjrlm[wpzhdncopnapfijmlcr]lqhsravxxgptgjs[wwyuluteptkhznh]tthklcbbtbvhauug[nfplnscrhldnwtdyzqe]ockiyqmpnksijbf
dlnpcnognelscok[ibbeqsbqltfskgcgqb]htrpytqxmucqlnane[vtltdgsfjrwohtc]sbykausqnffmqkv
kxnaikbdqxcponrlivi[pxltpufeegjrawwanax]apuwyiawecyuqhgjc[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
aPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]exPI:KEY:<KEY>END_PI[tyPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI[opPI:KEY:<KEY>END_PInyPI:KEY:<KEY>END_PI]gPI:KEY:<KEY>END_PIgmnPI:KEY:<KEY>END_PIim[sPI:KEY:<KEY>END_PIkqPI:KEY:<KEY>END_PIclPI:KEY:<KEY>END_PIriqvwlj]vPI:KEY:<KEY>END_PIscumyxkrpmyrwz
drtuyztubzingcdvpy[ichljckfcgomhcPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
icPI:KEY:<KEY>END_PI[jrPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
yPI:KEY:<KEY>END_PI[nPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsnPI:KEY:<KEY>END_PI[kPI:KEY:<KEY>END_PI]yPI:KEY:<KEY>END_PImy[cxPI:KEY:<KEY>END_PIrxafPI:KEY:<KEY>END_PIfprPI:KEY:<KEY>END_PIarkPI:KEY:<KEY>END_PI]pPI:KEY:<KEY>END_PI
pPI:KEY:<KEY>END_PIuznt[wvbPI:KEY:<KEY>END_PIxurcPI:KEY:<KEY>END_PIxhkpdg]oncpjPI:KEY:<KEY>END_PIynhzxyPI:KEY:<KEY>END_PI
vlyfxPI:KEY:<KEY>END_PIgdlwgzbuy[bkgdkemihxctcppam]ckevcpesenPI:KEY:<KEY>END_PIjadifwz[smxfhxaidkueomhxyc]qwokiceophbpdyjovvy[tmzeqvagzhvviakrh]hionrvofdutctqdb
upsPI:KEY:<KEY>END_PIikdzPI:KEY:<KEY>END_PIcy[hehttqfmtzwgrmxfo]iriPI:KEY:<KEY>END_PIddtqPI:KEY:<KEY>END_PIgytw[zkxutgforgPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIosPI:KEY:<KEY>END_PItek
oewPI:KEY:<KEY>END_PIqsoedpidbn[rjmmegjghPI:KEY:<KEY>END_PIposhp]tgddsmuqxPI:KEY:<KEY>END_PIfPI:KEY:<KEY>END_PIcg[iwwvjgzvbmkhcmlhm]teygdquxhyhkrtiyjse[sknqnxtiutqtavvf]bcqiwxuliuhpeto
pdejprrltzgdddqhod[jgwgzdgvdopqgknwbqt]jaxeauvefzuvvgxlid[fpahofmhzzirPI:KEY:<KEY>END_PI]enbiyPI:KEY:<KEY>END_PIzx[bicPI:KEY:<KEY>END_PIhelPI:KEY:<KEY>END_PIwj]ldPI:KEY:<KEY>END_PI
oPI:KEY:<KEY>END_PI[rcPI:KEY:<KEY>END_PItikPI:KEY:<KEY>END_PIsnPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[zxPI:KEY:<KEY>END_PIsvPI:KEY:<KEY>END_PI[ujPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
eyPI:KEY:<KEY>END_PI[wpPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
ecPI:KEY:<KEY>END_PI[tjPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
tmlPI:KEY:<KEY>END_PI[vPI:KEY:<KEY>END_PI]ePI:KEY:<KEY>END_PI[cmPI:KEY:<KEY>END_PI]rjPI:KEY:<KEY>END_PI
wPI:KEY:<KEY>END_PI[kqagiunPI:KEY:<KEY>END_PIskPI:KEY:<KEY>END_PI]histajPI:KEY:<KEY>END_PIukPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI[caldsteatfkgwqogjb]hPI:KEY:<KEY>END_PIeftyntPI:KEY:<KEY>END_PIwfmw
lvPI:KEY:<KEY>END_PIovmvymkxPI:KEY:<KEY>END_PIcvPI:KEY:<KEY>END_PIuov[sxedhxpfPI:KEY:<KEY>END_PIxgtwn]jPI:KEY:<KEY>END_PIsvPI:KEY:<KEY>END_PIsybbfy[coophwmyxhbhjjzvf]applfPI:KEY:<KEY>END_PIvbrejnvz[ipytgyblyicrnet]ogktxhleyrrPI:KEY:<KEY>END_PIjwqqt
xuiednrxcdyejmgcsg[mlmhqtzingaekkj]xmvjiydsuffmteb
zyweldtmlathqbd[zsskrkndiopdfqocigx]mpflfwtncuwjcnnvhf
chmlgfccuyimavif[kpgcuavqzwvekmahgxu]zrrkiipozbierayt[ooxqyjdkmmuaonht]qhifgfwmnavhlgnz[cnbosuyqrbqiuye]ksvsrroennhnxup
agxsrnpuwtpthaijwgi[fhyxwctpsxqkkypdfie]craulpcmyeifxluxu[yypagmcumxjcraxnvpz]zdgmbgteapcjwwzaive[rowspqgmcvqudjxm]qydbkwdeuraznvzzno
rhlhblmxdccpvudu[jhbawwnkolhlfssiw]rahopqrzbhdivhkrl[sdyjjbmlxlpcfabw]olocfasvuwqfxbbynn
xzbhnrzyvfvbrodi[kikpaqjccdhwfmjps]tqeliktvbjjnbpxwtq[jqjvumyqcjodqippp]ufaxyqyvdhjxccwbsfe[pxiqyqpvccnocmbinr]fqjralzkdemnowygd
lvbihonzfclpqyijtk[tzokuoeriylwwjahfud]vqbyrpbchllhsmeodxl[ktbdicmiebbpuxnyi]guxcypoxyjhshqgshs
nnmyoxtukxhrsgt[ecovrntpmkcaekonw]ncfzdxdlawbwtxqpkik[fkkkkxidubuatpihcnc]wqxmtvyakouvijt[tjvyhgempiufanh]bcibhdmbmbmmbyyi
jjyiltmpfvlkclthbz[icijdepekvlffegr]xnmbqmdiaskvieeudt[clfecicrgtuxodur]kqcqrnvwfdhpibndt[xsieatgypudmiedmfo]eqaouqptjuohpzbxml
waqqyhmfacfjbfasug[mbghdrtwrqihjje]jczikhpsasvutpmb[obwkagptmpwgjbhev]ozwfarybcfhihoku
tocybmyipesjprx[jdsdjyflopvltwsccxe]esswfgrsjawbduxuu
qwdwzgezyklxtmnd[uikylllxmtfhnwh]dmozabuomdvhcoz
tffooggeeufibvgyy[walfmmmfaegxaua]woxfjealuwsjajkk
aipayrjoievpqkqcb[pcnirwsnebqijke]ocpwinpdigoxudcksgx[vvuxytomiqmmacndtk]lkwmarnwqvzulsxofid
jwrefdombiesxvvap[fwhhajyhfaqzgym]gersxvbwsbqezoxcg[iaetgujgempehiaxx]llbgjukufbvdfxvjs
hexdafengwxaarjkqhe[brxnqkfcyltwlxc]tfqwhqspdfcgajfzlak[shtfaywffbchkkk]txpanajvkwazozn[jzfxmgozivlbctstlz]paxycypplmjazycksx
rwttdrhdouzvmhalwc[ozryzmmhwztywhuif]favxmwzmgawjdmcho
sndufqsbyhdkyathrxm[spluzodshkuiqhrm]gwctupgaumdalep[urynlbtsukjumpcrgar]mvgkstgtaxmtiufho
miypgghnpfhpcndife[uogotzsxnulstsucja]wrdogybnlkagqdtv[uerlwvvqvxrvtsaycg]bxpngxvmakjdvvdqfed
hgcyvldphesdmdma[inomdckqkhupvxmc]avlnivtukipmdmts
vgjaofvwaodncajhg[wmqzkrqiwbxdfsgdc]uzsywyzfptypsbto[lwfowjvhczggllfrw]nwchgcixmkxheceuq[eanuozoreimfpjooin]btyiwwfizhdbpfazpjx
ldsqkerydfisskoimys[ltqspskmalvyujfyrqt]dtyknopltmnvdtc
ekrdpdzvkoxfkjfpx[dpskecmtgjtwkhi]nidanbsojuexjgife[pgpitenqczwzafdad]mfcmnjodtkvhbknfto[uutgojscjiffmofegr]rwirhlyejxezndbs
mhsngxyweukngbybc[uiapxfrpfptauhiw]ruPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[dfPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[vPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PItexPI:KEY:<KEY>END_PI
exPI:KEY:<KEY>END_PI
glPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIrkqfPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIabbrPI:KEY:<KEY>END_PI[howksatecaqyemgxpye]bvPI:KEY:<KEY>END_PI[qciPI:KEY:<KEY>END_PIynjddffdPI:KEY:<KEY>END_PI]kPI:KEY:<KEY>END_PItmPI:KEY:<KEY>END_PI
ekyPI:KEY:<KEY>END_PIslPI:KEY:<KEY>END_PIuaxpucbsj[nsltoiyaeyfkygmtaul]eryfelvxmeekndddu[waprjreciavpzzsj]cppczdrntzrrqpk
draegnpszalplun[jwpjzjfpanpyqcxnu]lddilnitonnehft
afwslsdmylslwvekv[ngnsirjimcteduhmbia]utirtwchbjinjtkp[xtdywavaenpcexfi]fsxuipobvivhpowgioh
zpjzyqnadncjcbgulq[wtwvealiuqmxtmgbsu]wyjqglyafposcrwxue[xqmgfmbrcdcjfmazd]hjcjhoqisrvxdtiefm
nlchdiedtvmvrwq[aeqiwviurvdlsaxzdy]vrjrsalrqznvzhwxpjv[ghsoysknlxlzbqjv]cwklpwafgddnupknr
zxqjiqwrswpnotkjm[vdlwfpqexfvgzxjbsdl]avnrytuqubaojek
oklkhatqbeccsctaq[jfvcdwlPI:KEY:<KEY>END_PIgkPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIfdbPI:KEY:<KEY>END_PIttbk[xbPI:KEY:<KEY>END_PIvzPI:KEY:<KEY>END_PIozdzPI:KEY:<KEY>END_PIntPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
dPI:KEY:<KEY>END_PIafPI:KEY:<KEY>END_PI[udPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PImxPI:KEY:<KEY>END_PI]oasePI:KEY:<KEY>END_PIxPI:KEY:<KEY>END_PIurus[alpxiujPI:KEY:<KEY>END_PIilgb]rrPI:KEY:<KEY>END_PIkfPI:KEY:<KEY>END_PI
zooPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIzj]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIiptPI:KEY:<KEY>END_PI
ensPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
suPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[poPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
yPI:KEY:<KEY>END_PI[emqPI:KEY:<KEY>END_PIsefvPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[aieudiuufPI:KEY:<KEY>END_PImtiPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIbytteumPI:KEY:<KEY>END_PI[fbkfhkdwubnigzvl]phPI:KEY:<KEY>END_PIapPI:KEY:<KEY>END_PI
fbPI:KEY:<KEY>END_PI[harjpumdzotcylumk]fPI:KEY:<KEY>END_PIntxizPI:KEY:<KEY>END_PIy
iforzPI:KEY:<KEY>END_PIepPI:KEY:<KEY>END_PIdbalyb[cutsqxklmoljnexuaxo]ajPI:KEY:<KEY>END_PIkylzrakmmlxcub[rximbemhrndnogfzf]pokqtdPI:KEY:<KEY>END_PIipqlswvPI:KEY:<KEY>END_PI
umtkjkgoyutnxym[nizqgpcfftiydbqutr]rzgvklegcqnetqkg
zdyPI:KEY:<KEY>END_PIyayPI:KEY:<KEY>END_PIhcyc[qgmrngcbixqqdbvx]hcicjeavoycywax[bkjnxvfknauougpe]xjfsxnxlgixldzb[thjemtygmoazibfsar]qzdtbduakjdqteckq
dwwceyrsaqrhiadehmw[bushvhvxdeznysxjr]hnrekmeoxifqrsq[ynfaykimagePI:KEY:<KEY>END_PIpohae]uykwxrtssawavbuk[cyabwfmaxwqgmudcmpx]vahdtwpzvebiypwjvq[twtyrryywtwsckmff]vkmzcehpgydnorxo
dbgblaadftjartioq[avryclynyjmceujmy]nsqtusikmlamzfht[qmvmgeprwbsokvbzmmc]ddeuxmektypsukme[gqzmpenqiqlihjqoceh]fmsjcayltvsxycmzv
ixacedvqlzvneoqus[zmgeugtrxuidpdtzzn]besixpupznfgvqelwxq
ausrpqkpblrplbq[pzqlirofwbtvjvoua]yljvwgnjvjehsyjd
dmreexcoqmzxelfjeib[zaghgfbihozktuebhb]vdwkqxzetddhhbhhyd[smjdjtmnswvdeuyt]noyncdtfrtokngqld
akpixaofgmscjdmr[oiothmxmcgwvxmx]yjiwdlhqlrqerce
deyrfnzcctnmwjagql[qgcmtvfvpvvdminuwa]tynjoikfebqrxgvyehu[qhyenmsqmxshkvcmohh]llpblusdcqfywcdq[ikngnvowhnvaiwno]ixndafincaxkyqwimq
rjcoodvjnnbhxnlo[spesoflcmfcoifzosgs]qauqixapgyfzvtjbpee[zzxomezynqnoeue]xpiblpyghkxfueapcm[qotnfesblvvyrnsu]keguppozqkwfxlf
jgrowursqweqfwxbg[rfyvmzbkacqjzooslnr]znoeuzryfguydetugz[ssotfccqiuilzfuexd]zqatqqmmdnuiicv[mkijjomihqrtuiuobl]erhrjzotwvvpqek
unyrjnckltxyfxyj[vdlbfpobsnokudzqab]dhhsatcnsuifpwsqe
isPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
fesirdkrgznhplitPI:KEY:<KEY>END_PI
jPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI[kPI:KEY:<KEY>END_PIzshdcbvfPI:KEY:<KEY>END_PIwsahPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIzvPI:KEY:<KEY>END_PIymPI:KEY:<KEY>END_PI
cfyvaasepjmgtofy[hhoqwyrkhuweoetwtir]fvpxPI:KEY:<KEY>END_PIz[depsrsktdbsiwudc]unbdedwnchjgetnwf[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIvw[zxPI:KEY:<KEY>END_PIllaPI:KEY:<KEY>END_PI
gsoacpemvpypmizazb[rzluiccnkviutvg]bxmhsnyomypyueyhqbo[mzxxtfjifzluckdypta]qlirsetsxpkgewemam
cdqotetervrpkaiz[tohfcmgrtozdfduhk]mlPI:KEY:<KEY>END_PIfaviqgvzicff[snPI:KEY:<KEY>END_PIukvzrgPI:KEY:<KEY>END_PIynfqi]eredworPI:KEY:<KEY>END_PIugqqPI:KEY:<KEY>END_PIk[fvcdPI:KEY:<KEY>END_PIqtuqhhPI:KEY:<KEY>END_PI]hPI:KEY:<KEY>END_PIerrPI:KEY:<KEY>END_PInxiPI:KEY:<KEY>END_PIkPI:KEY:<KEY>END_PI
ePI:KEY:<KEY>END_PI[qPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[wyPI:KEY:<KEY>END_PIkf]PI:KEY:<KEY>END_PI[cfPI:KEY:<KEY>END_PI]tdPI:KEY:<KEY>END_PI
orPI:KEY:<KEY>END_PI[ifPI:KEY:<KEY>END_PI]icPI:KEY:<KEY>END_PI[qPI:KEY:<KEY>END_PIyxPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
lzPI:KEY:<KEY>END_PIkrkykwe[jePI:KEY:<KEY>END_PItyPI:KEY:<KEY>END_PIssPI:KEY:<KEY>END_PImnxigkrPI:KEY:<KEY>END_PI]wgPI:KEY:<KEY>END_PIzoomyzpPI:KEY:<KEY>END_PIme[uwcvshtsdstibykyPI:KEY:<KEY>END_PI]nykxibwjjPI:KEY:<KEY>END_PIacgg
fgdrabfqaogxyvpqfgs[bandjgjgkuuuxfuh]wwxxsusuuiezkvojziu[jsprwhpeictwield]tbpmjxfilclfrqx[zdmxvurgzzrompujt]ausuaokslerjqiveplk
jyhxPI:KEY:<KEY>END_PIrgrdjPI:KEY:<KEY>END_PIorsgu[uxPI:KEY:<KEY>END_PIififPI:KEY:<KEY>END_PIlvPI:KEY:<KEY>END_PI]uePI:KEY:<KEY>END_PIdiPI:KEY:<KEY>END_PI[nigPI:KEY:<KEY>END_PIktauzcpyazs]fPI:KEY:<KEY>END_PIpltPI:KEY:<KEY>END_PI[mfvrnPI:KEY:<KEY>END_PIqfrdbk]qrPI:KEY:<KEY>END_PIqjtPI:KEY:<KEY>END_PImgs
nltgPI:KEY:<KEY>END_PIwrahzhq[gvjujsgoyasfqql]btwmnkkccdcvuyniu[tsqzwyypufxxjhd]dvqickfwnoqtrhokrud[qjhdfcdcsfvdgkotq]hndylujuuecvakzmrp
xyvhcwkqkedbjzarfht[njkseezhzjrbujcdjs]obghjeljjsjksswil[mhfukqardbaypasf]wjcerxswmwvghjortxs[ghqmhxisgehdsyb]ysvgpyswsdfkomanrtp
wdwmhahsrdjogceb[jdwdpxaeemsjficjz]qqysutatflhmanx
cpctsiwpwyifqkk[eebyeqlgxyvaskcoda]sjayfoyavfkaydph[aztkadhyekpqtys]jwzqgyewxxkbisw[gvlxjstngthhsjeybv]ponztgpuhfsndjb
fawvrgcdqdidogtfu[yidikecuyabulhiia]fxfmgcpdbdzdsfkm
yjateqpywpcjcbo[xddnertejcjeedjulw]humaqnneeeynnpp
jutrwhvpaknrwoxp[ajhencapzncoyszy]qyhbpivdpqjeebsirf[lbsqceuykthorgpk]olrdkqyikfzrdzi[bmqrmgcmvqcgaxosaho]dkejbjzuzvyypxz
rhsdxnktvyiully[nciwcjzdccerinfkgi]czljhsizretcfuea[gudarsiefwzfdvfqsip]tedaanrqtnfjdvgm
grkgawgbvajxlbmbgwm[dpfpvpbrcwxethiu]rpfkykrvmatjwkd
daemahshxyowxgjuio[dwhknewdrwoxbgk]vggqgdzpypjshps[arwnnbysrmyfijttrh]mwuwdtpqmiqgfkntqm
ljpbbzgdgfqmvis[zqmfyouebpfvuscncay]omiockdgdxibtmyfwsk
pirgefjkoicryrcgu[qxkwrjfuhqmjzzmbc]jrofqkmdftjbupytg[mywqavlapyesbfea]trqscgjokafiarh
qsycbrrefosycpzj[guPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[arrPI:KEY:<KEY>END_PItfPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
mPI:KEY:<KEY>END_PI[dzPI:KEY:<KEY>END_PIakPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI]vizPI:KEY:<KEY>END_PI[njPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PItPI:KEY:<KEY>END_PI
exPI:KEY:<KEY>END_PIexPI:KEY:<KEY>END_PI[rdPI:KEY:<KEY>END_PIorypkcz]disPI:KEY:<KEY>END_PI[ktpPI:KEY:<KEY>END_PIszPI:KEY:<KEY>END_PIxdPI:KEY:<KEY>END_PIdv]cmPI:KEY:<KEY>END_PIbksdvfihvxvz[vrxbmhxkfjwgktuy]xpyefktsqohxwkaowk
iiuuszfrkqjprgoumy[svdcdtozwwtofuizxg]gkenicdslqaemvwlov
mldgparlhmdhgvz[bexmggptmuvhkjj]hfnccpxdkireolxpe
tzyrycryhzonuxekwt[cvskbxzwbuotnsu]pvybsdovxceqjfmo[oxjqmhruryormwvgkc]kiygcylmgxdjubtefiw
egklopkulrxyltcpbnu[nmbkrgnsjyfjugcx]bufmkakubfrwnwai[pprytunilpvguaen]bceequilwywvtvmshg[aszamqynotadciwdwzk]uivoeunohsbulzpxko
ubhofoouxcmdsqqkjbv[fdvdmyjaukqeuaassk]tjajanohfobuhgih[dfscfkxpzwoqobajau]aspwsctdasjdjnqbmt
urlkduvyyyatpkb[zrolecowduswyfn]bgkveercmmeecop
aitmhwttzyrqwwk[lxntglszzkyjrqogob]exmxyvhwwcopudfekgu[fzxdevariaovvyuof]almvqtftjsdqkevnw
ftftrmapzrqqyql[fmxcumhriyippgxmy]igyxwlfgcjfwwwgpy
ftkqjwepfbngstefaji[ekaiaqtwacopwxfcf]deswaixrljslcqc[nqwlvvuuziefvrd]pgfvwqsqxeqamxsjjw[zispeamntwboenxygcp]cwdhurmclfnjjjwjygh
fixhqdsaxorgfndumt[ccglwvkrpbwideuhvx]fgsxflvifyrzlznwvp[lmebhuhqemgwxpuvb]psfuyywbujlpwcekwz
otmnqzcbakdxosl[skiwodrlvhfjsuqfsma]wtyrxmotiqdinxmrbe[lhgprkzlguroolg]kjgvxaekydqxdepu[mvffwznlsunzhxknier]irzzbykjkzjdoybqg
aauhucqygvsgwdaqfa[leenmhlorfgbyorrd]soryphiyiqsoydfkwzw
aggwrqdafwtwwqjr[eafpfpxygvnfblxikwm]mlgoiwxfigmduubsr
rglpanreckskdaojotf[yuywsgztcjzyrfqawj]wzwtndwugnelcmxpyme[uwcqyuebxpprisdls]kjisjtwisxawsufrd
uqeuvhdoyujlazejbix[wtdxrqucvkbkavrvor]fclqcjvpxqgnkkhi
mgpszcffmfxeacayj[eorkhzrwqvxkrnessk]wykadaapxxqmohwriin[iwfmoieivcljpem]bxhutydaznvlbuu
vkvvkjckohpxkolpff[pepxkcsneexhhlsjs]mffyiopxkqdnwlg[qmkttuxyhvemywmu]puqepezxejnldtlf
fkyblzyluhloblrlj[uuznhpsjgbnzghjczsq]ekddnoeylbefgmpwjp[gbfxttshaolcvhfsl]iygnwnznafbluanu[mnylijsqhwlhhbq]ultecropzmivwizl
rwpypdkhndrotod[rganbztsadndbxr]dorwmwqoeppdpoyz[sefhqmaxuxqwjpgaofp]kerdiohsaddctmnj
hlzqtzrmmgkudvsaxn[wnujyposfazclkutfq]yugpiuxxydkbjtqd[bxeuhvpdnzqzvrtynq]nqcwrvbzjijfjkmq[gviaheipjpncyxq]thgypvingfouyrdexu
abnhtjtbkrvmukjsbi[yivolobglxbtivbmlxe]gpoearvtfhhjjxedpq
uiubiwrlfkwrsnewvwz[xymjmptyaoiartx]lkyzzzynibifaahjewx[ijvyqumtxyumrnpyfz]hddwPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
yyPI:KEY:<KEY>END_PI[tPI:KEY:<KEY>END_PIxPI:KEY:<KEY>END_PI]rbPI:KEY:<KEY>END_PI[wwyfqPI:KEY:<KEY>END_PI]iPI:KEY:<KEY>END_PItyPI:KEY:<KEY>END_PItPI:KEY:<KEY>END_PIet[ojPI:KEY:<KEY>END_PIttPI:KEY:<KEY>END_PI]ilyPI:KEY:<KEY>END_PI[xkPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ffiedysbmPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PIgPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIjrzPI:KEY:<KEY>END_PIsqkPI:KEY:<KEY>END_PI[uijbgaxqvjeiaddellx]golimewbjgojubbk[cmkrjtwjwjndagjoidq]kuaetseghitsonmjxez
PI:KEY:<KEY>END_PI[yPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIdzPI:KEY:<KEY>END_PI[lkPI:KEY:<KEY>END_PIplPI:KEY:<KEY>END_PIawzPI:KEY:<KEY>END_PI]zxPI:KEY:<KEY>END_PIpcgbouydtatpo[dqdshurolnithdof]sscgvlgvpgthgkPI:KEY:<KEY>END_PIszPI:KEY:<KEY>END_PI
uzPI:KEY:<KEY>END_PIonomPI:KEY:<KEY>END_PI[lnckPI:KEY:<KEY>END_PIxtxekacx]ogcbPI:KEY:<KEY>END_PIsosPI:KEY:<KEY>END_PIdlPI:KEY:<KEY>END_PI
kPI:KEY:<KEY>END_PIyd[bdtPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIunPI:KEY:<KEY>END_PIx[jisPI:KEY:<KEY>END_PIdcnoPI:KEY:<KEY>END_PIcrtabk]cpPI:KEY:<KEY>END_PIsvzPI:KEY:<KEY>END_PIvhPI:KEY:<KEY>END_PI[hlPI:KEY:<KEY>END_PIjqjldshzvbrn]PI:KEY:<KEY>END_PImkPI:KEY:<KEY>END_PIxbePI:KEY:<KEY>END_PIafeovPI:KEY:<KEY>END_PI
xPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIkg]PI:KEY:<KEY>END_PIdobPI:KEY:<KEY>END_PImt[uPI:KEY:<KEY>END_PIpnorysdsqycpdoje]tkPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIanuxePI:KEY:<KEY>END_PIzv[amPI:KEY:<KEY>END_PIlnzxactinrv]PI:KEY:<KEY>END_PI
pjhpwsfoiufywtd[pzudakbhkrvzepfl]cnmjmtmacyjulpcu[yvevxufpkzfrksn]qqdusuumfgtaemuscj
ffnxshbygoxcatgz[byegatenneixbjbrri]xrxazipjarxrrjj[ilvdkjlixdbdieycbvz]lvngjqnhjjhlvki
maocxpwqvhfgoaoy[jthtqiiuukttxhh]qpvgjokizpojnsvgg
vstmpuwjzkvzxakgreh[vwxiygqjyyvmgvjdhz]yanevbmxttonaonlgeq[rskehprefzmdfujh]kddqkrshtgymbyf[tdciwdrqgnrwygvlqwy]mwyxsmscrhxowaezs
lpetegprilvnporglm[efutqcurzhuymzl]vpuzirgjkjkqmpglqoc[ynrhizbevmuobpyduap]joqowueodytoothjk
uovjoxozjbjgjoedh[hdufcoupnwyqzqsdz]bfkcibjpdceeawfsxnb[pmfdhpjltsthickltq]wnvrznraeqgmhfh[zqsykjfanpwhdbm]oltzbvppyqrhmom
cuptpflteqvnaexzwj[sokwgqieratedygx]tlgoqkfvmifmdguz[kfiwutninqxzwie]dulfdtlbltfjevgp[oftsoxfpwolpbvflmvk]xfbcennewbsxcginPI:KEY:<KEY>END_PI
xoPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIef]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
osoPI:KEY:<KEY>END_PI[gvPI:KEY:<KEY>END_PI]ynPI:KEY:<KEY>END_PI
xmPI:KEY:<KEY>END_PI[dPI:KEY:<KEY>END_PIftewakmxPI:KEY:<KEY>END_PI]cxPI:KEY:<KEY>END_PIdbPI:KEY:<KEY>END_PI
kmPI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PIxzxPI:KEY:<KEY>END_PIgnz]PI:KEY:<KEY>END_PIvPI:KEY:<KEY>END_PIcpPI:KEY:<KEY>END_PIbPI:KEY:<KEY>END_PI[frbwadxyrqsjmeb]solyurPI:KEY:<KEY>END_PIfbPI:KEY:<KEY>END_PIunkug
syuvjlrlrotbcxtmqlh[plnbhkottpkhbgrmmc]tpkceggxjkkshgovp
xypvptyubhdywjddc[dkdpirtrddhczvbi]gppnmtijmtndwsd[jctdyzyrapkwpsudre]ofnnmlflpjenwqme[wjlbkjvlxuwubdkskq]zmhodofehapyshkw
zyfesoxeyyvugukolxq[sduqoqepedvxiaojef]ujbihfjhwwrxjbmjzwo[fjbbqkruyeexkrk]fyjhwioedesstjkw[nyhqlxexvrlglwcqbi]zgxdbhdcqgccgodx
kbgeflyhriyaitjdw[gkmsfhbeeftzvlkkxd]leroadltgqyqepa[apzlemfdxyxhyqy]bifkxoyxysldsif[bypdkygwlqgxlhmay]odffxnaayhgxkyjsyg
etnylemzuybethsak[rbqwbwcpspvwcnrtiaa]cxdlfpvaizzsiqy[cofixscwpmoaptvu]tuvmcbkoqlfljpc
nafgslpawkgystrbu[lholsrbjchktftlct]cwxorzjqzuibydw[wolwkkqcflunakpsf]ftfjgybmpgmpzjpxok[omccjdarvniomtniw]vmtkovkvuahhcgj
arfxtgjhwjbqqpn[ozbglzichfmhnsrmc]sxwomutyoliqdfrziy
yrfbyqpslcykicx[uoxnsxbpkzuarrmhesg]ohscdwcojgysjov[epkotielizvhfbauf]kdichwakhcwuitdohe
lxdfxhtcxpaqfgud[kietvvqhjbhmbdjh]rnnxrywwubyivxj
wwqhnufhgdpwnidwe[trkijfvlemsenfvm]hwhzclbeilbbpmbdgvy[kcqrejunfyofjviz]ymhbanffstqwvlkczn
bemjirozvmspfrojywv[gnkvjdexdgqeqvom]akfgpxfgjwsymkegz[yrbmhgnacpufxmilwbe]taxwtqhrfqehzvndlix[ndjuozknfyplqafyu]bwogrlytfyopgayph
tzrwkqaembipwoyysy[zmjpcdqtbucakwta]eelwgobyifozmawhaeu
pxpftlpvkjcwicy[ordfpujlgwgxccjcvc]ghrlgcktvifkicv[kteuygrgxnqbaagldhw]elebyndnyuknsxwsz
eoayeeinavevnkocsh[wlhcijujotnsmyfwrg]nsghlrcpvhazacbriwy
myqilamxvrkimzrypsq[dritxccifmrgnynl]ahpnxwgmmlcrmtujqv
prjupstfryhiyxjr[nznibizpdpgsxozff]omzpiwgyqqytncz[ixhfkzmhfpctiaflrsg]fkxetrnjkjhwmbcs[mgfwcdxioxwsbpbxg]pnmcyowtigkikfbqem
obihtythngvjelm[flrqufrqlvaamtlt]gbuppvlrpotvhgoivuPI:KEY:<KEY>END_PI
wPI:KEY:<KEY>END_PIyguc[acoPI:KEY:<KEY>END_PIczPI:KEY:<KEY>END_PI]hbPI:KEY:<KEY>END_PI[ePI:KEY:<KEY>END_PIgs]PI:KEY:<KEY>END_PI[vbPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
vuPI:KEY:<KEY>END_PIdc[pkPI:KEY:<KEY>END_PIdrystnkynnfPI:KEY:<KEY>END_PIv]bkPI:KEY:<KEY>END_PIisPI:KEY:<KEY>END_PItsizbdponPI:KEY:<KEY>END_PI
nPI:KEY:<KEY>END_PIgyPI:KEY:<KEY>END_PIcesxgagl[jsdkwvzzfvxuxsmkans]cwhuierxyqjmueehii
nmtqqwclrkwlikw[drthkxkyfxqugph]bbneldbvtittaydbgag[vviulwoviezlxte]oqzoapkqstfdxbxm[bmhsjxwoxtflbqeo]hnsldpfruxcdnvz
xrkijlvluezxevaye[erofwbtsylzfvyrersj]bkvnbppereymraau
jamtmykfjuhzndgnzrj[ezhkpcujzmcdkkjjfbm]yojgtkoobnwvgendjt[jkeeulmfzdbfwnohfaf]cudgyvipscncfbvmlh[kxikmcqmpounqkwjhg]emsdqszhrpxpwcwb
yywwadanokysrfh[btwstuwbsdiotcudf]qrsrtonegzitpgnzsvd
hrhfutggyymxzgyj[agqctqvhyfytwsdmzf]ozyonngtqdoaagdl[uuykvsdfqdknray]shhtieifkqfewhopney[ydgftitgfmfdqwh]dfxovuekyvtaddh
dbsuuitjdsiymhek[jgxxnjjzwgwirdlgwg]xwlvqyufgiwbwyfhqn[yywjhwiwijsuhlarpxv]zmpooqvlrrnwdfhsheg[piwaxxvwgzbbruij]izqwldwwjvrxmzuj
nuxzejoidicdupcgdum[nelehvehbccqmwnla]bhazpsnmekeqkvr
evnsveqnndjyarol[tgeuojqlculphzfva]rilaooxfpwyreyh
hhwvcwpwgzktzotcrx[khmiivstojdaciyzb]xwaeqbqyqwqltdx[rgwirleearklteybyx]ckiyopbgfygyvui
zpfozblbuwkdkkfsuft[lccwcopfworwnry]srwrcwdkalvsnsu[jmgukelsagifrhkxqma]wtrtztsztpnryaqw
iszcbgumuoarzlkblr[xphrddxkyclfvnapk]rzryxqdnmxplfiu[plghrphjxgqlxtp]cxpvhwxkzkeczxcenm
aezqpvhdbflknptrc[zykqxuzbatudehe]lugjrgmxtqlxrvt
jsejnywikaohtarsxmp[whmztgiaadmiarwlbj]yjrgwesrymvzhlades
cxmorkzlibiuyjgs[nyierakbbzkhvyizl]hmtqhrxddgdwmoayyse[ldupkxzsfkmnsfdnzsl]sfpntvoniewgfnyfw
rtlhvogqfabwioi[mloxkofbaemaxcfzdo]ofeukqafbxivgvygl
rjnyhsocogdwhswqonr[jrwafksjhfamqvfjk]seiscoezqmbopqryc
txdcwwtcedbymvxy[dbhxqovjeifzsuvm]alhqphxcmfmodeb[zdzxpgxeezjaeichq]ggadublqxpfyoyc
rvoblfajodmlbftahtv[dgglfidheitvcPI:KEY:<KEY>END_PI
lvrcxPI:KEY:<KEY>END_PIomstmslr[vczPI:KEY:<KEY>END_PIydPI:KEY:<KEY>END_PImlPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIqoPI:KEY:<KEY>END_PI]zkPI:KEY:<KEY>END_PIckPI:KEY:<KEY>END_PIzjuPI:KEY:<KEY>END_PI[lxywqhpuarhpasbul]vqPI:KEY:<KEY>END_PIoanebmehzfwyt
bjrvsfwownhpxsowafm[dtmxsbtquavgypbizrj]boqoiajglkefiwaj[ycjpupieshgdmbwp]riufwociykhnwdsci
urcrpmkeszzuctovhqu[vsutbxseevalnah]rwrptzraxwhuskb[inpentirbmcxdvof]nvtxiwtlkeknxfl[rddddhtpudrgpjafk]cojkmbekefbmuwev
djavlwoikblvsufxrb[suujlpxslswxgfmrjj]drrpikhibuvwdlhvt[iopyjysnsjpyyxngdfq]sijwvhrwtourowgv
kitztjpylzlaposkaun[szjrduixywmdpxbl]kaltysqcxzjrengtkwv[jhsqhlzxzayxdbebu]apyxjlaydhhokxacq
kvzdgclklqsndxdo[kudsmgggtnwtxdnrev]quljmegosayhdwum[kklkxlmmmtjcretlyx]dtsexdvvjndpxtggjlw[mpcaczddrmktrpgngw]usxsptmzgzqhjaycg
oxvlhxlmhhyqgwlao[wiqlkdwjluvqwgqp]sbjmqvssbwefsvq[ocwwdefylfgvgsygfbr]fbtqyawdbswjpux[loeconwsbvgbccoz]cdotdnnkzyaupynuk
ykozujsmdopwobif[xaupavllckswbcyszd]jqdeagvmvsxpumvmu
naxhmkdggymqhjcycw[xkhrapbevbaiwzdn]etnivyebbwvqarn[dnskxishknmcidwv]uctdvqkipycyzhgcp
uktvpthtrtlgmwofun[rmevlwmmvzucsuxqx]zokkayofazorjdec[ickalywptsyxrttbynx]olddxeqctucllsvrvhn[pxfftvrdqdglkvll]xymmmimPI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PIikPI:KEY:<KEY>END_PI[iwngaxahwxongrgf]krgrarolzgmzdtj[mbsttcbkbedkcmbl]whecpxbvhuemjloxkcq[lrtaeothcehqsmbes]chuesxuwklohzrvgjkh
sextateheibnehs[ccvuuyctlffatnmhie]xdrwtaeangizfxkt
nayfogrvrhhvdfqf[upaiyvrvkcygazw]wtsawgmklbrjjhc
qumnikpzpmsjvfiwapn[fdqlumgxklzlxcm]dczsgahneieodmhgvgt[babaxdoljtacfza]teoddbtcemfketpp[vazvzbcnqacbwcx]fulxjfohtywgtagn
crcyymrdfaawflxfmfg[ovbkvuhdrxdbhmyphao]myqpzivnpjyjkogknqz
xfkrzuoeclfphdae[wfuevmepzjjuzlbc]icytgjlzxvnjgugxyv[ppqszfvkmppjvktn]cifddqrtlcodiincw
gobxpjjturfsgzell[rfhdgfzwpfoztzgcn]eworfqsmysqolgq
laagoxczwfikjawci[sljddbmwqdnwxlkhdi]hwmoerlalfpjshedio
wyomncmyxejknhswjv[awtbfqiarnoabkab]nitvsmoxyfdhpcdiee[sipoxhfskauxfskix]nktheznrekmrrxl[gwpmodgajfihlnad]pereyxjrernitwktv
xxkbizhzxvqxbecadt[omafffruievwfqocujp]zpuotjhjwsdbsxteza[otcdtybhkqhjhvjjz]zjrkvtevohcfvlvq[yjdkpxspyojxstjkv]fbccdkbjrebcrxyrg
zrctbusxagvjendfdf[szvxchrhjussntb]mzhzysbvlwwflpx[heijmktbzrbgqsklhcu]ygpkfilealopaixduvm[rakktnzhooijvydazhb]msnpudxdeaujqysbje
xoemgrrmqqtfwtnwnyt[jextspoeediexugdgc]foyqnwnwstrguzk
siuojescxsrrhvgpeoh[dnizqgnuprmevtqws]jtrkiydptijrwewcqz[zkvjwozfadmizvhfdk]kamauddrolxbdrn[yzfffqfeadlyfje]qanqnshkelszldi
wdiojuevpybfvdp[zxyrygvkvufixzdwds]tgjzjufuuwenexe[outgdpnnysadoyeon]hvelposyxhlvfmdi[gazrxuhxrfxofsrxq]wpkujtixgvfrdgg
pufjsqcfddyeghd[iylozggwqlqevyb]cbkdjgvbrpmrwrsgn[nuinkqeqchwluhwye]baetibebzmndgrulqdo
rwwiamjdgdfsttq[xnsuyncklmryvumrii]qtcphhihqqqqtntvoev
bwhfulscfcqggdswt[ostyvvcpdoyzvuhodeg]ekpjrxajoziohdvkfco[tbbppuyifwtcgvci]lwjfhfqfmclrhdhplbs[pplppkgrmykhtfnq]sfvskkgimpacxfam
jripvodavtgdgkv[isotocixmxjmcldpx]oaptjpebswetmacnf[zdlipacteuduvqdhcfg]chciftufaejhxkmpozz[cmnwvdkbsczhekzwi]ovnjvgsuxmszncr
ylpnqmqhlnmuxei[cyqofexibcjwunyl]ettxreudzmlhgtha
dhmperfgtcbqlipcjbr[gkmgkletrzhoyhfcwb]psllsosgwjmtrvfanv[fimdtpgcoolukvvpu]ccqgkaqltrreqchxpbf
huvrdvtjmncbokh[mxnsccgwblyahbdao]mpscnoohrsqideuhf
pfvpbqmyapypiubxmt[kjfhekecjzzqftpj]sybxxlmvzhloooom
iicuihjkntpnytg[xpzlplwvgwmzazj]dfiftbbvxbztjpx[patfyqrujpvwbsl]mxgsntaernztshbi[nfwhtuuwhgsljivcrws]iwzqwnbjapcfujz
fdiifotbpdpfvedsfn[ptkzrnhuybmhzkh]rmxekkyxbqxmxccc[icwqbjmjtakfsqbd]euycnuevdyommhq[dqfyackkxmvbehucn]aabiiukaxiowhbtbwpj
ofaeegcqivqrmtz[nyotqurllbitpijzdz]pdlsomnmdsbfhdzdh
yxihvlkrcvzxhlmzm[asvxysmyxovvxdvv]rrwmvextlthjopu[nuaoossiaxivwwxwpa]xgaovndeadfyofish[dpdhiwlsvntqxypdpy]ddmbndbjtnpazhj
kfqeicvkuvmsljtsez[vplnucnqgngsbfv]ycjwthuykmlfejqepad[ngklfmgvredrinryy]snsxjeqdinbbapwuno
yznxssrnyacwtxlfbab[mpjvrwoguxgvcbtbmdv]uflsilwcemofepjghvh[cpprubjartjbnrdo]pocdfdephebcdavrxpo
xkiccyvosgzxwtuck[oqqbviclakixdgc]kteovpyjbcejxui[mzuzcghrxtkssnrsqy]hcdpzjidycnlowgvaxo[iawhkiyhbswqsibqp]ltyzmuplqyoivgmzfa
qllumnywkyqjpfv[lgkmvmbdwnkhlhqfse]lroouhapmomchyeghsp
egmftdtwkpmhdpda[jlxrjvldyikwjlcwx]inqPI:KEY:<KEY>END_PI[qPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[fzPI:KEY:<KEY>END_PI
vPI:KEY:<KEY>END_PIxk[lPI:KEY:<KEY>END_PIyzPI:KEY:<KEY>END_PItosedmpgr]tomPI:KEY:<KEY>END_PItfPI:KEY:<KEY>END_PIqtn[mvPI:KEY:<KEY>END_PIvxddPI:KEY:<KEY>END_PIqnjvnPI:KEY:<KEY>END_PI]kPI:KEY:<KEY>END_PIveadosfktw
ltlrncoqeeupwtoxv[yoosiulyjjmwacymwfk]vdgfdfcjubkcbhiixv
ediaeekPI:KEY:<KEY>END_PI[rowPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[yqPI:KEY:<KEY>END_PI[egPI:KEY:<KEY>END_PI]ikPI:KEY:<KEY>END_PI
ohspsyvzulzfsgghvbu[tvtbzqptcpguecpgb]zyadwosbwchbgrkypj[cphkhvagaasozym]tvgkhkooyejddnhv
uxtuhgkkulhrvowswt[etPI:KEY:<KEY>END_PI[zPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[xyPI:KEY:<KEY>END_PI
iuPI:KEY:<KEY>END_PI[ayPI:KEY:<KEY>END_PIyzPI:KEY:<KEY>END_PI]xjPI:KEY:<KEY>END_PI[rvPI:KEY:<KEY>END_PI
umPI:KEY:<KEY>END_PI[eqnPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsPI:KEY:<KEY>END_PI[opPI:KEY:<KEY>END_PI]zPI:KEY:<KEY>END_PI[mkPI:KEY:<KEY>END_PIsttidvPI:KEY:<KEY>END_PIsvstPI:KEY:<KEY>END_PI]akkPI:KEY:<KEY>END_PIjflPI:KEY:<KEY>END_PI
qjlmfjwtglolrdxvqk[yufnmwyfhjrqzrxrddv]pzcaaeoitighunvg[eamjujwzoPI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PIbubqixiqmu[uzycqzxxixenmtvz]ykvtnssyurdixcswneu
gwcPI:KEY:<KEY>END_PIzlhdufsjwaxal[howbmljowljdsvbm]jggvldehjPI:KEY:<KEY>END_PIafvshlw[bfevufuakhrccqcc]dfufvaxzavehxgwbPI:KEY:<KEY>END_PI
xuPI:KEY:<KEY>END_PI[nxPI:KEY:<KEY>END_PIi]nqPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]cxPI:KEY:<KEY>END_PI
daPI:KEY:<KEY>END_PI[vcPI:KEY:<KEY>END_PIepPI:KEY:<KEY>END_PIz]tPI:KEY:<KEY>END_PIskPI:KEY:<KEY>END_PIedPI:KEY:<KEY>END_PI[bkPI:KEY:<KEY>END_PI]dtPI:KEY:<KEY>END_PI[dgPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIx
PI:KEY:<KEY>END_PIdzPI:KEY:<KEY>END_PI[schxPI:KEY:<KEY>END_PIynpinPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsh[xdPI:KEY:<KEY>END_PIqrPI:KEY:<KEY>END_PIfwPI:KEY:<KEY>END_PIrxta]cPI:KEY:<KEY>END_PIizobaqtszfini[ttbvPI:KEY:<KEY>END_PIuiaworjdp]uwPI:KEY:<KEY>END_PIkbkxPI:KEY:<KEY>END_PIugsccp
ctvifkpejmwnuapjpjh[glykzeqimofbvirvv]kbzjjjxmiasijhyak[ucyzsvtasjfewtbm]zbhktdmufikfwsiqyfz[kolsqantshbocapum]jvjtmsmzjvdyawlrrv
zbxgniymzkidlugns[xsyjfooxpsbhtjvjp]lydpcozhcmkdiactgsu
rzsziayhprsxlwr[szdcnmcdpqkwlmhqlp]uctizqyfzorwogahopa
njpfvxluupsvtbenq[cgenluehtxacymtm]onnngstsltmtobh[jkjpmbsumgmtkbyg]uvsefrirmvsuiff
qukyshliwhitgmyeb[eikuuslkfgergykosp]fthsbtteuspbrqpssb
xpgPI:KEY:<KEY>END_PI
qerjjnnafocowost[axrfofdityutyzgv]acicnljrpsxzlcg[dhslugmdfaxclhrdecs]ekxnsbqhlPI:KEY:<KEY>END_PI
fwPI:KEY:<KEY>END_PIibnqhpis[esurgspPI:KEY:<KEY>END_PIqchztm]vaxsbcgtqipiemvreaw[ytkxlxyzfifrxgmbggv]tygxkuusmptxqyl[lpuxifizetrlbsefado]rbykxursrelvgiilrai
xyniecftatconlmstl[rpmxaolsbezfwzof]zvcmwpmmcszbaimwhfj[hggnwfkyexqkdancmc]cakzrmvvnmyiyzbwx[eizlhdetlkmzlrob]elvcwtpqtdpqxwdgjd
yfxqriltoucrnfnj[zlvarepakboasju]bhpvqvllpphryccbjz[gilhjdjlsinanvhhe]rkypfwnsrmshanawlb
cffxddoarujtkpwt[vgtsjcyuqgpoklcem]enplegjrghgfkvaqhtc
kybnjsgrfnckxytl[obtlaqusuhkyeswu]vhaghsusagftgzxz[ganwwupndegfgxbckde]ncgnimjtllrpmajya[dmzimljmhjkbyozpmk]ygyhjeeexzqadcdyhf
icjonhtmvgnwowp[xdtgaeotcyiyzozqwd]wudhamantwimysgpu[wjeyfkqluqgmbspxi]piyixwwkfdbogwcmtac
qextqvcvlshqhbunkg[ouypttbdsycmscqe]qpxtjvipjkrbasofu[lzonfnanpflaekzhl]xwwxnjgtmzxnhmq
zbtonkedeacrlltqnl[qlssupkhjptzbbru]nroemsymerldlshy[anmlmugxtrgypsvkgs]wfagpjfzgqcdhslmlnf
dpjpmruktkfkpurvcks[mcdigtlyilcdvykpng]wrbydnqwmaatgjpjnew
nhcyufcfcqqsxef[msqbqdsheiodqzpkcv]qlownycyhpteerrdfid[geiuncokzuwybrefno]mgugljgzgtdvyhpflbk[kwgpiyryqpdmphcwk]rghcxpkbbmimkui
yyutoljmokemaksyh[ofyxkifbjPI:KEY:<KEY>END_PI
txPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ozPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI[rujPI:KEY:<KEY>END_PIkfynPI:KEY:<KEY>END_PIcpuoq]wfgodhqkdextspa
meyjysyguijkyen[vjyhsmvoyoppjknvivn]yuyroikrroyknlkgfn
yrbljqrlekktwvq[ubrwbmlwxxtxnwa]ekompfyzprhialu[rdglmpamldxxxsgpmwk]atazfgcgkzbjydvf[sjdezkpgsienutudx]zuxyrrwpglvstutp
yqhreymyqostwga[wngmbpfomuxgcyqdl]jdkppprtdctuyaonlqz[dfpqdidzlofdishhmot]gnifxcpfecsxdincqib
xdfslzwasuifmmi[lbvuxnulhamtgfyhwz]sarfovphjgpdckkrbgy
bzkfxruybgbjsmeflp[ubqugccjulkryeh]yaldnucjnxhktrgf[jamlgglyzdlaidp]dsvhuxerhecwhjslfk[yibicfmmkiugttqi]byyytkpsforwainomd
asxywcdszmdtdndivdg[qkyfhaxaietrign]sjpliketcpjxkwxaoo[vmjxfuqxqgscfpd]mnpdsyqpnhlksmrcpa
gpgcqhpkdzpmjoxbjvk[stpachxjlsdooglph]jaaoaxtyaogvmuhl[yochbczehvuvauxj]zatcmyzbmktdoohzgx[cbwozqlvqfssqaagyf]dkeooopvydlsoakyc
blfmanmskfsbhnj[qurkejaextecwkh]iekzoszfdtcjcvqf[cllmensfekeoduop]kpldtlzhhnyaweelg[duturhserahslsvavl]tlscacpaddzunyhknql
fgtfcerscppphulhdpc[cjasnicuepcfcpwwq]ubfqrgkjexhpcpdh[fcuypvlkciryarmpsb]lkazlfdxilmfoccr
jaytjcjzwzzrwrosfig[bjwjolqvmwjwehvkyqm]qdrcohrlcqldwsj
darwjaqwucpzrgob[utcloaeoixtgcssljwg]daazkyzlexvrwrvcoPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
itePI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIusetPI:KEY:<KEY>END_PI
qxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ylPI:KEY:<KEY>END_PIijPI:KEY:<KEY>END_PI]jhPI:KEY:<KEY>END_PI
jPI:KEY:<KEY>END_PIallPI:KEY:<KEY>END_PI[fihpzyuwtiisvalzl]egftfecpkrowpxz[fwyjugfywhzgpbgxam]iuwakPI:KEY:<KEY>END_PImprjkdfqep[cwjewifgwauyxaqa]gfnznPI:KEY:<KEY>END_PIakPI:KEY:<KEY>END_PIvpPI:KEY:<KEY>END_PI
gtdsPI:KEY:<KEY>END_PIztxPI:KEY:<KEY>END_PImn[lrdPI:KEY:<KEY>END_PIvmPI:KEY:<KEY>END_PIuyPI:KEY:<KEY>END_PI]alPI:KEY:<KEY>END_PI
ffyhyPI:KEY:<KEY>END_PIigkhlyiopPI:KEY:<KEY>END_PIx[yuuvtuoepntnqhkof]atumrmkzfhinoqq
wrkcbbifeyemfppiaga[msgxssztbxvmdii]ydxtnokgvpouvcuk
xivexjhdjysgmklbjp[scteqtgrnyuxsonvbx]kzbopsageoqsymtcPI:KEY:<KEY>END_PI[fwPI:KEY:<KEY>END_PIlobPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
alnyvjvicoigistbmh[ueworbfuagjnech]dpzdovbPI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PIiPI:KEY:<KEY>END_PI[ejPI:KEY:<KEY>END_PIvzlPI:KEY:<KEY>END_PI]hPI:KEY:<KEY>END_PIetgkPI:KEY:<KEY>END_PI
twkPI:KEY:<KEY>END_PIuxPI:KEY:<KEY>END_PInjv[xffwyrqfcqouyxmkrro]ezewjlxapphabveea[jfyjgbpkflijwvreer]nesuewscsclvwiwkn[xxjkzrpeonyctow]yclvbgnwgcarcxos
ugndgtdqyxtplkdz[worxgglrocgtypfvmb]lcziijmkjfdpghkjqfp[qomfivwilarizmq]dnglkuyyinegywu[batxtrembnirlwr]ovrphoeyxqnhcvmts
zgtxjxnktlvldrxpul[rviiugbdqcysxijrc]kyktcnhhtompktirdjz[bkusovlvbbigibd]airrtdvywvomcfrhi[xgapjazusatwmnl]usdiffjsbadtdonojs
mimjtxkzfsnijawjrey[appuokfywghecatbzwo]aovbqviminrwaszvo
kcmrpjoggjmfzwezv[onaeglpwhoxczbw]totswqmklmzrwmxdf[befvnijunppmomoduhr]wydkdiejzzdppny
fgpjujczabbtkxwvfd[cicmceziihzlkcwdwhr]sicifccwrljuhteondz[qwtxzkpzaspfynin]scyjunafukgggpc
buyslulsiiwxkge[ypiuwaxgxsqpbqqx]dwsyrzemulupybvx
telsdbhziecdqvmyprn[hqpxpfnttkmchynab]wvopujdicijhmttrn[orfuzixnlfdimtsc]jzvuxsquolwwtzr[dmiytgapehniwib]zylakfeifdzatmqpb
klvmlkigwhcckkyx[qxriuexxfsmfcpgvlzb]ygklxunjumjcmoph[ychtcmyhbyipspnnsr]pjqqgfbcsqmmrxbtj
ugulusabrxqyxbvv[atgfhjdhplritht]glsimouvohndboxh
fatrlhuimyqjjobdq[xvvmkavirljwcgmkvx]kbesPI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PIs[zgiwqzqxPI:KEY:<KEY>END_PIenumPI:KEY:<KEY>END_PI]wwmkejymlPI:KEY:<KEY>END_PImpr
ePI:KEY:<KEY>END_PIqrPI:KEY:<KEY>END_PIxdcwglb[pewidggmjfdwchmpuxq]vfpginbbwnzhzutt
rbwgxniblxrzdux[ctmqwdtjnnoizpfxkb]cjalwfgvfvehdshc
grpqqrkmvatjnpe[fpuzplowwtztimw]zsebojrxdfyouujqu[jieuliemrlsrrPI:KEY:<KEY>END_PIaral]vapfxPI:KEY:<KEY>END_PIifbvtdzjpqfnPI:KEY:<KEY>END_PI
kxPI:KEY:<KEY>END_PI[scPI:KEY:<KEY>END_PIpq]PI:KEY:<KEY>END_PIsrcPI:KEY:<KEY>END_PI[yhPI:KEY:<KEY>END_PIekedPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[vPI:KEY:<KEY>END_PI
xPI:KEY:<KEY>END_PI[korqzPI:KEY:<KEY>END_PIimPI:KEY:<KEY>END_PIxg]PI:KEY:<KEY>END_PIxettPI:KEY:<KEY>END_PI[secngupPI:KEY:<KEY>END_PIiekzfewg]jzqPI:KEY:<KEY>END_PIquPI:KEY:<KEY>END_PImanPI:KEY:<KEY>END_PIi[ldPI:KEY:<KEY>END_PIzfrgdbneaxjjPI:KEY:<KEY>END_PIgg]toefPI:KEY:<KEY>END_PIiqssxPI:KEY:<KEY>END_PI
qgPI:KEY:<KEY>END_PIylPI:KEY:<KEY>END_PIxzzvniaegfw[vfxiqmehxnnjheiszxb]txrwpqbqkdbnsvt[voiphlhjwxrkcyrarwt]lhlhcobxijaoosyx[dyqmagxqryuyfbat]oovkonlsaeiqnil
cwxhidoqdhxragzpib[hjmpsaxbqpiwqhy]csdontizglsbbeh
cvqlicsscacfmuugq[eejkmtnhdfogzpbhygc]hsqpgofmanfemhido
tsbgyswofaablrj[kxsfwmoymlmvxujvqc]oiatufqeigamjtqj[lbnetvjnhlmvyjs]aeeetvtqgykzstpt
zikurkodzkxzvjucknr[eeldigjdnjetqzwtl]itaxybvtwbhjdci[hbkvepoewuzexeg]ohfbodukqdlanpa[rlxoscpwxfbemxvye]ydahcjuodtvinta
dkdquuhvndpmvudwjx[hofzlmhpteoarpre]sdvnkykpcblbaardmf[hdtnalxmijwrorx]ixsdqmnoqrieeqn[tvyurwrpjzolmoqn]odvpdodyhdjvcaqi
leufyPI:KEY:<KEY>END_PIjrgauyshjmdn[omwkxoqtffghqvn]iqpnagprpvmlsvo[glbhtzdectgrymdzxf]dwgpfoqsivjdvpiidzo[glnavlopicrpfkc]nnstfkiqjxccqrvmg
jdpqymeesiieeeb[iwrygkpzdjttxuz]qqrbobabyedbigesuh[tmfkwpopdgcfuydhukb]mzldoxgjdeckpdvu[obojbnmmlhdwsman]nssaclvkjPI:KEY:<KEY>END_PIissiPI:KEY:<KEY>END_PI
upgPI:KEY:<KEY>END_PImp[ivnacnyueiepraljdh]vfagabifynlpbjdc[dobimimkhmytben]pgasxhypmszdnvjwnwh[nvcvwfgrqenthqcqlw]cdvvPI:KEY:<KEY>END_PIrqskpffhwPI:KEY:<KEY>END_PI
fifPI:KEY:<KEY>END_PIifkymgx[mvgPI:KEY:<KEY>END_PIkhnxvgaqdmzat]fuemwmfadtlaxwyslr
bcbtmtmkPI:KEY:<KEY>END_PIcpaemtmec[apsgtrjqwqreuntmdyq]qecxvrivzvlkwwnzcfv
vslhwcbtvnnkfge[zbotbapnldktkexac]ieekqwkifqtpzwsb[wjjwgvhvnqaqmrmath]aeauqxrfhwdlbsqx[ijqqcgxjzepgnbru]uycbebwrapkiobz
fgfxlcgdrvbwkhf[gcdnlfdqppnocayj]kgluimmxtrnrkxxy[ebmozaizcvfxamjfgfl]zxjsthsrjazocerdybe[uiodgjwmepojoaswdqb]gsywzobidosuauosihp
jocqkcfjxtprwzxcol[jomzitpuxjjstqj]jyaupzbknhzvwkwejgg[frkljzosjvpzzffe]najjqpukuhkyseux[obvojkkfdiawyysye]awwxmmkvzedenpagx
wnjitpqtpbywfdfzqb[zsmozjfwpksophbzrp]ryxeuskjtgqxlkqinbl[jbenmfsdrvwdjfxhibx]vdwygykkkqqzoueisnu[xgnqjjcnbpugkeuaon]wvyttauvhjmdqcbmfqz
cjikxgbzdupqnoq[khvayknbckfnohcbc]gjsqdwbzsjnwjblbe
sknizlycschmfbcbo[glptboptcwtmwmyj]hmgkwtwaifrmzxhee[dxxxiulybtkhkstynq]mjntafrkgppmgisnz
vbijkdmufqxPI:KEY:<KEY>END_PIinw[nqkbpwcxoozkrllibiu]maiisvopemncukdedg[flspngjuzwaveawgk]lqinchaieoizrwr[tuyuxyvxkesiktilna]rhyincnkvnnqejsoxp
eehvafmuwihwbizcao[vnktgdjhjeatxeshjh]taoisnoyefbphntft[pfzlfnftyvfkkmau]gxmhcurnvyqxgffll
ytdqzmfcxjezgvr[yttnwhebnitzkmpvg]gnxpxseopkiwdwq
tiygnypqepfcbcqasq[qoiylamohtllezrd]hieijornlrltkvvf
gcolxjnzzqtozkqlo[gwiytfqkewszkddc]mervsuxdbxtqkclwli[zamcpapgayrobsrnros]skfbjychckenvdnk[msqqgpdtgzpbdsflgo]hswedrxeichgpbkt
aoyzbbkhsyzouhf[yuheesbhrurspvkoeoa]icwrvttxwvrjodooy[lclcdnulwihttoo]aheoekyzcrdbtnkdn
epqxzqeqfqquuvaxut[rvniqevejzxwbgdj]mdozdllbtyxiessvou[ftmdtfmxjktmdjrp]rbdfhuqvdzpiyaw
fvfozofyprhtptnvfvv[cvjusvxzqhknsrfuw]PI:KEY:<KEY>END_PI
lPI:KEY:<KEY>END_PI[dcPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[nPI:KEY:<KEY>END_PI]digPI:KEY:<KEY>END_PI[jxPI:KEY:<KEY>END_PI]ormtzPI:KEY:<KEY>END_PI
jjPI:KEY:<KEY>END_PI[oPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
ixPI:KEY:<KEY>END_PI[ePI:KEY:<KEY>END_PI]zPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
vPI:KEY:<KEY>END_PI[zxPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI
hPI:KEY:<KEY>END_PIkzPI:KEY:<KEY>END_PI[erPI:KEY:<KEY>END_PIraphPI:KEY:<KEY>END_PIaevid]ynPI:KEY:<KEY>END_PIezPI:KEY:<KEY>END_PI
eynyPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PInvsrguftv[olhsgnhicqlhqcopiai]azubeqximmxxruopbcv
ixkfvfumPI:KEY:<KEY>END_PIagjybsn[frwibevmaiibyzd]qzqfzepjziatdpyqmr[onsezbgebekxybzzqzw]yqotbtwhsuxraexdfes[sqyxxukeslhogqaftl]kpqsxbeawasfnbwm
fbotlkdfsscgahhtbvr[qzlujuyglqbktek]fitzbfribrvygprgssx[ytfthkzieycghddhs]twelmrjujaidadamq
nuxgihsikrkmrydy[awvlrjbdobngseyw]owlsggrmwypppcnkmws[ipqmpwdvbohtnbs]nutezdkbigrjnveauPI:KEY:<KEY>END_PI
ftPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PImy[zPI:KEY:<KEY>END_PIducPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIxj]yPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI[pdPI:KEY:<KEY>END_PIicafoldftPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIxzPI:KEY:<KEY>END_PI
gPI:KEY:<KEY>END_PI[skPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[kPI:KEY:<KEY>END_PItfPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
qzPI:KEY:<KEY>END_PI[jiPI:KEY:<KEY>END_PIymPI:KEY:<KEY>END_PIddPI:KEY:<KEY>END_PI]ekPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PI[dkfjPI:KEY:<KEY>END_PImpPI:KEY:<KEY>END_PIviqePI:KEY:<KEY>END_PIotPI:KEY:<KEY>END_PI]tpmzPI:KEY:<KEY>END_PIfqhelgtpic[xcankncgcyaixxcuaj]jsPI:KEY:<KEY>END_PIeyimscyfPI:KEY:<KEY>END_PIeduf
epPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PIpyPI:KEY:<KEY>END_PIwxPI:KEY:<KEY>END_PI[hhdspwfhkosxunncv]iibgrkPI:KEY:<KEY>END_PIsoktfp[kjvjytinytggjurws]oekjstnakyPI:KEY:<KEY>END_PIhller
yidewjsqwykhvakby[ewhvuvpzmeexvwtd]mygypbsbaabkccvslri[dgaksoqgxghazflkn]kpdssbszxhpltdxht
ijhcdyyvjscrvhh[fpobanqwzccnyev]vtvztxptbegfabvm
fcicsnaoileyhlta[ivnthhpicibzhtyfaf]agaffazyjidivabel[zprfefitivfahmsx]jxfvpjrbftgokdclnw[vfmlrayxecyduau]dkuaarmbkuqqjuva
wjhhegqxpegrypjlpvr[orhbboezmjncmclamy]pckznmicczddarise
ccxnbhlsqrtqcbrczci[zwbnllwffvdsmmd]wdcyuartrmykqbvmlc
shpzokvkrrpypaohp[cdbxbviwegleqizw]dcilynllhnasdzaku[brkdsnedgdlzlhxzlzg]ygvficcbzjonmzh
vzPI:KEY:<KEY>END_PIsgxenPI:KEY:<KEY>END_PI[dfrssPI:KEY:<KEY>END_PIrrPI:KEY:<KEY>END_PIxlpxpgp]PI:KEY:<KEY>END_PIiqPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tmPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[slPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
eaeovlebqlahuiztd[dngzrklmortvzksk]atunvakfxeqeymw[huaccbfdtygotzubrj]poeblqeqsdqpcbqd
gzbgdqlebuwepvx[qpajreszsyyluwi]hymkhgxqpabniqzells[zediljwkqfpvblioz]zguladbcmloyugl
cvkyjumasouhugvvz[dtidgtxbbufhwyvob]pdmhzqubmdreglyy
tcxjcacxysuimczi[uhflafmjntxmsaf]uexrhinqroupcbksrsj[nocrykejeuzzigkyqxx]crwdvpjofxynwft[fmxkcqrsrpdfxscabs]crbnlnzoihruuilu
notkmxwmhfptgfpvntf[ucdfxyikwxtsumebhj]kjhhkgtruhuqzsl[nyiklbrbfvreipanby]flesvbofrdsclfvm[zghcpgxoauylwmlzfl]vwotzewzjzpyccl
pjrbmasdillqwdkjfni[lalstrvjalnttmwr]xbezkjpklkrnlpzjjn[wbpwhPI:KEY:<KEY>END_PI
huePI:KEY:<KEY>END_PI[zPI:KEY:<KEY>END_PI]rptwswnecdpsdjPI:KEY:<KEY>END_PInt[rPI:KEY:<KEY>END_PI]xkPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
ttPI:KEY:<KEY>END_PIosgzkuxfwsy[carsvskefzrusoihqw]qiuobbcgndqqukuvbmp
wihPI:KEY:<KEY>END_PI[gPI:KEY:<KEY>END_PIxbPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
fgPI:KEY:<KEY>END_PIjameqyl[riumppkgphbaziwbfcn]gspevtPI:KEY:<KEY>END_PIfjazlolblh[sueqarjummrmwdgzsr]szmltztnwpqshPI:KEY:<KEY>END_PI
lgPI:KEY:<KEY>END_PIudszwvsPI:KEY:<KEY>END_PIaxPI:KEY:<KEY>END_PIz[wpnexPI:KEY:<KEY>END_PIikPI:KEY:<KEY>END_PI]icefstPI:KEY:<KEY>END_PI
elPI:KEY:<KEY>END_PIeu[moPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
gPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
llePI:KEY:<KEY>END_PI[dzPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
epjldiafxyinaljee[zfgytlqlzoaauszrn]gvyukiahumemeqnsy
vldhkwyfpfssriaiwe[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIxcdPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI[jPI:KEY:<KEY>END_PIxmarkaeer]PI:KEY:<KEY>END_PIxkdxgPI:KEY:<KEY>END_PI
vfisPI:KEY:<KEY>END_PIowhnwcuusmd[dhhjzfujepawktlh]quzyrwoPI:KEY:<KEY>END_PI
reesvrozyerxeid[ymtiurpepvrvnkf]thobixPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
aqPI:KEY:<KEY>END_PImnz[pPI:KEY:<KEY>END_PIhprjghikynPI:KEY:<KEY>END_PI]kPI:KEY:<KEY>END_PInxPI:KEY:<KEY>END_PIhpzeiy
trqnrkulbvipvmj[mgsdnaqnayymjyp]otecdnzhhcufrly
illmnsgqusbqybiso[fxddafnnoholnqjotb]uplvjosscbyhwmw[jsedsarqbralzbjmyq]sdwkyeychcdpqvfup
zehmutjhkodiqpi[usuretqrbmggvlvr]dewkdjmtingkzuyq[pmmbbozcvplhejh]jzasjfqvsusgnkfegad
ljpcpqtpcpcdttjo[qbmnhadshlheoavsbxi]wnwuahdcagpellgs
ayqPI:KEY:<KEY>END_PIqtrqzbxyhu[wkplPI:KEY:<KEY>END_PIetynfxqzhtkco]jpgbztbvmojlflc[ojmgjvfxdvlyzih]levPI:KEY:<KEY>END_PIelkzftbzwzkow[fmszxqchzjhxtwfm]vihmoqcosarkzsad
nigshquyfjlleujdtw[qmiqiabzqiqafambcv]ywbltgpjxcwlkyahg
vmgyovkavazsxwed[anPI:KEY:<KEY>END_PIflkPI:KEY:<KEY>END_PIqieufhscn]uizulvgasvsstuhfn[ygxgsfldybdnsleqy]tztuatotreocsrfevpy[yxqmsidajmknyrae]whoydkufyieuqhmqv
jyPI:KEY:<KEY>END_PIixtPI:KEY:<KEY>END_PIfl[ffPI:KEY:<KEY>END_PIspPI:KEY:<KEY>END_PI]sbPI:KEY:<KEY>END_PI[tzPI:KEY:<KEY>END_PInyPI:KEY:<KEY>END_PIgqPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[tnPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ggPI:KEY:<KEY>END_PIxecPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[sePI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
qPI:KEY:<KEY>END_PIwj[hcgzPI:KEY:<KEY>END_PIsmPI:KEY:<KEY>END_PIqqPI:KEY:<KEY>END_PI]zPI:KEY:<KEY>END_PInPI:KEY:<KEY>END_PIqzPI:KEY:<KEY>END_PIxn
egbqexPI:KEY:<KEY>END_PIqnqsaxdi[xghPI:KEY:<KEY>END_PIrttlbmkxgfj]rpPI:KEY:<KEY>END_PIxPI:KEY:<KEY>END_PIvweijplm[dldqxbqxenksncnwhxo]steqcncxfskqcfPI:KEY:<KEY>END_PInbm
dhusxmzjdacdrqor[tzblogyadgggzbi]vssexeogwduosdoeo[xexqnjrctzlbkfri]dqppelyoecnnacs
tkrkjtgdhxdcyapamp[gvyyiztulksqxosp]voudpakpaphmrlebpj[vghkfcrqexfgoguvbxv]yronkwfpvrwilnuegkb
yiuhvglusvqtzvngzuc[mfvcrgjuywuthtprxe]vjrrmtbyppmesvorp[ucqdvtwolrvpjyhiolf]eazedskopeknjcqx
segabhonjryukdicj[zvjqilxyvwjnjgjvrnf]gxibvkxslgkpfdhsn[tlbwwiypungvwcvwngx]hhgglxqosunhdvgr[mrjgltlfxwsznpnmdox]bqsgftffsibfruyz
hrtiuksavtjzekgf[vaagjkvweeznlshs]ntotbakgpxpcmqanhab[pqvkabybndisouur]cnjoxldhauoppnqqk
yizxcouxlbjqbijqmj[kkqvlcusdkmkbmuia]pidiunjwlkPI:KEY:<KEY>END_PIojzzmfPI:KEY:<KEY>END_PI
dfPI:KEY:<KEY>END_PIinPI:KEY:<KEY>END_PI[wyPI:KEY:<KEY>END_PIweruyPI:KEY:<KEY>END_PI]jPI:KEY:<KEY>END_PIpyPI:KEY:<KEY>END_PIdvPI:KEY:<KEY>END_PIdtgPI:KEY:<KEY>END_PI[eryvzkaxiahxekwbp]syPI:KEY:<KEY>END_PIjhPI:KEY:<KEY>END_PIfixvPI:KEY:<KEY>END_PIjkPI:KEY:<KEY>END_PI
jkmabkiiltlvopaxec[utofhywhxjucodwke]dwxatuzwebnyulyt[iajptbioysozunsws]nmfnmtguoqipjmigsyn
yxletPI:KEY:<KEY>END_PIrgisbrm[ljtuifjmgxupgerhuhb]wpqnfedngiollocqbfh
zszqqoahkvdvpezddea[defewzqptytvhnpzcdu]cxuavzeyqysdynnr[gvmfnqnjwrjrjzphei]pelrqmmykeiamnh[jrjqavultdjecnghoc]ekxawogufyfdmltveqf
morsvbgrpgqiqeplgg[giswwkjoxkgkbonav]lyhrrcwskwjjflawgs[ogjazoccoomohhalb]gjnkzumbxtojtud
gtgotbovcctgtwwc[owthnyvlmcwnctlkilj]eytxalpmzywmwqc
ikznlwbayqdbhusm[iqstwodfolztyldh]amvvpwqwlswcnut
kumjpojktwxazwtg[idtisckrbetbaye]mgqtwjxlbdpadrnxg[eourfrbwgoeoqrlvhv]gegegzbxfyzpbij
mxcepmkacvzxddcpnsf[jviddcgbglreegewbj]qmqdhescnuPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
hvdutkvozvxwpvx[beubpipzuwaclrev]lqeylkxqdqmcdqd[oivjrkpjzrjywzrxely]dcupjtbrltnguho
esrepqjymnodspvjib[kwdoleplnoxmntjuip]lvrhqceegktadibgh[yfbqpomfldnbpxsaoan]cheitjzmqwdbilm
oakpwuuoizfcsfo[csxawuixxvzzooah]dafrurtufjpuetnui
jmmekugaastsvdn[qoasgnykbkodsgt]lmfvbqomdghvicry
hqznrdvlwnamiushnou[iufqiqjtaiejfqwns]xsgjmqqsvbctpwqcgz[mvpdchozogazbfywqd]iqimztlwajwbxhr
gkeetoqftvsdjhhghre[nspwxohslbgkpyyhdh]glknqkzyfmvjczau[zrzurqfppidpckhmxu]rtawnnjhyjnbvnt[deisyafkjnxtcjas]cshchafpoiqptus
jpkjyjiucudsgjz[mppiltmurhwxvmv]sdhrapccelecuctxq[cnwlmuvyistotoykn]hjzxzneifkwmvumg
uvzuxzcnipyfyuesvna[ckplomuathpfkndodxk]vrqhbliixmzbefuh
ionmypunjczxhry[bvgmqzohimrjmijzkwz]qfzsokgukugmeso[uarvxrewouktpgnghtq]rsnccdtstsegeoudngq[hkvkymbbgdyncilyf]zteoiyacrtwykwzbxy
jnyydhrsrkeujfvj[qmxzqkbwizhvcztzdqr]yllidgevuektldszzjy
nuylrchiwpfvhdumyet[hfgfzmeldvotgtxqh]frzcopyhigfewcnb
sdcvojpgatiidjvfy[zhvymqejqxllelyux]ektbysjcypxfjrsor[kgfvqbereoskymyfp]izmdymjhwwtelesjr
xnelfgdpnrfhdombqq[oiidietkplqnygwsgo]jiltmfqqavrjrvyui
zyuubhwaovcbnaxrmtv[yefoksxqkrkbmbm]ainfhyuonvdvcyegy[nntnxqkqdqattwt]tcrtyqjhokntxcb
hxkbhdfwcraxhdcff[umxxccphsddzavdqn]zsmmtgneghqsrwfauw
kbdughqnourxomuiab[xcjayouykostteh]enwbjtpxpyzaeuhuwb
cpmzhwxdntahvhl[diddnwirsnqchwr]etsizyoarkawzrpfidi
xrruvcmbmigmutacwc[owhorlqlgqujvhos]iddgaukpxlielcko[gawcwcvuviuohmda]bfdceclnseehdeyxv
vlxaputciirctva[qgmwpinixdixaiut]kkoousbfcxganzcffg[cikwetvrztjgefpzsks]jrsyfxydznmupwapco[ooydsykpjwakdep]krlytknowykzzqaafou
dnnvcszortmitfv[sbnurvnwxwmvbdpawa]ewayhapxdfxplpqudro
fsiehjchtnyenvmjfw[obnlguwjqsgylwveak]hupypbuggmbkeqxt[ljxbmifxgorvriaj]tkttmzairwztsmn
pnhgjwzyqnjrkkw[ofyifgmztnzelptkwho]cgnlnrfdgfgjvztpz[wemrlhyskboycpdbzr]azikmfaudvrdhvfvt[chxmcbgineaycjiwy]kjbfttnqgqhkefoolo
khdlanelfapgxqpspe[alrgipfwfdyguqtk]coxffjtxpbqmxig
sxobbewirkvducqxd[ubfbqjccnbtkwpbxqpg]hgsswdjiudnvmvijt
jzbqaqfubdsfinobsPI:KEY:<KEY>END_PI
yPI:KEY:<KEY>END_PIvpPI:KEY:<KEY>END_PI[cvenkdpepuyimstwmnz]fphlenyhtsxxeyst[yohciybbsiokzajcwlz]vtqcjngqpamsvrchix
ougrpfmoohiymnx[gorlgyciageugmcbony]ozmvirifntorlvzz[klsgbagukrnbyzsez]rdzhlkpoucggkcdqm
gfhrcutoyproiww[nzgfaaccfrgdbcg]fcrtnobfhhyzmadxjv[vlbueztcxkkbufljse]gqpnxtlrrhclwuaj[sstrllihglystknh]alxmlywxfjwnynbwfk
opeacxklhjwcefmwrwg[mzqwxyfltfqyepcgnym]cpziqpjettzcnktrqi[mbnwwhyxebbececc]tdkduejetkrqwoxrsoq[ncenzwgjnekbobv]yxhgzizqxwaihedda
svatyxdgfofrrkiksjf[mxmrficzxfyykqekorr]qojleucutcqxqryi
prrhfrigzcmemou[zkhokevqzcspzoyt]tytqcpuucppiwio[mogedxwsflwocpkdh]kkqnructlslbaked[sslztcwiwkudgtji]djssvabrpmygljeh
btundrdlcsgtilltpue[jiunnaqqzfgxauqjes]wtdxsfqroorcghqk[qvyzuidvkzmomfi]cgckuokezrtxrgdlo
tjcpdjzfllhwugiy[vxypwowarlatqjlwq]wnpwefpgpfcqqwwrsq
zfduowqkrccccgggmbl[iwwfgrhmjxgljwqf]cminvjjyetivkvhvkdy[ismlcjjywxxvaehvhhm]eojlvocbfkftjkapzs
hzkrcmpwhfnbwlisg[wxwoegwncugpcfwywxe]voktthitecybcfpnz
dcsrtgkbstmkwlzy[pcnwmgmcmpsiyizqx]pzjcivraubvgbkdahk[yydvhvyumdzfmjuso]bPI:KEY:<KEY>END_PIikPI:KEY:<KEY>END_PI[toxPI:KEY:<KEY>END_PIvgPI:KEY:<KEY>END_PIivPI:KEY:<KEY>END_PI]sanPI:KEY:<KEY>END_PI
lpPI:KEY:<KEY>END_PI[vdPI:KEY:<KEY>END_PI]afPI:KEY:<KEY>END_PIpq[ftPI:KEY:<KEY>END_PIestPI:KEY:<KEY>END_PI]tidPI:KEY:<KEY>END_PIfel[iPI:KEY:<KEY>END_PIpqPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PImekPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
gwPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIckxtyxkj]PI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PIiydeaPI:KEY:<KEY>END_PI
yokzqPI:KEY:<KEY>END_PIcycvjgouoyw[starlvyjnijeacjseo]iehvlergdbswibmzci[ppmriizuqubzfehcz]jartjkmqzngigjvl[izpxafhxdmckrcuufu]pvkldotwdzdluoubpnm
rogyxrgfqivkovtna[xtahrogngfeygkasq]kpcpvtirxettedux[cdlnciogkcsaras]bupwazalrmfnjufn
eaeubxmpmymzrfleut[eharpivgddyokps]wimaximeayrixnts[paysmyvjuzpjjqr]fcqykmkzbcbyrpy
exvlqvnfmpkxfjwbhol[utjaefsandulqaw]xjrjchxifscadbld[ifrckhdhmptybkhrj]ykcqgygngiwzzyfnxg[plfhikkzndknbpdeeu]siwtfnlbcxuqkrhwj
ljihefaqagbmffbcr[ccmafzhpsvluglwsgh]jioaeefkgujinzlgn
rgysyaquiuyvtojxnaj[gcygzkwqdebiqsr]icaeuutjodsizqzfvj[qapmsqsaoniuinsz]PI:KEY:<KEY>END_PIgtPI:KEY:<KEY>END_PIzgtqtaPI:KEY:<KEY>END_PIey[xlkzyyvcgyhlmvnzrpr]htorgPI:KEY:<KEY>END_PIkbPI:KEY:<KEY>END_PIrsbvemq
coiurrjhxxkcplh[nkusmllwtsuddqasyc]vyxzujqohjyctyv
briulribegnliapcimw[rgawfayyoopbosvc]owgryasogyewgxchxgr
smseegsPI:KEY:<KEY>END_PImfktgmefhw[paopyPI:KEY:<KEY>END_PIrwyPI:KEY:<KEY>END_PIjjPI:KEY:<KEY>END_PI]byPI:KEY:<KEY>END_PIpurPI:KEY:<KEY>END_PIyzdPI:KEY:<KEY>END_PI
mvPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PItzPI:KEY:<KEY>END_PIt]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIsyPI:KEY:<KEY>END_PI]yPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI
zyPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PInottPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tPI:KEY:<KEY>END_PIqvPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIatk[mPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PIpbvmqlPI:KEY:<KEY>END_PIucPI:KEY:<KEY>END_PI]vgPI:KEY:<KEY>END_PIzmyPI:KEY:<KEY>END_PIqlismti
ostutlkruoevsjr[qnvqsxlasjyrdyyz]klwvhuhmvgrlcdy[tycmevukacjlveu]mvxcfqojmrijbubfm[rbodtpwkkidfrnhayj]jsbgdcwbfdfflvupn
eaiframmiukbcixxi[bmqaglfamrqoswuhme]lxvkwmzgauwmabu[kxusdngtifhpmplxl]sfccogjqnblrahch
hcjmrcnzrhznwvtjby[lxmehjbnudevzmhx]ukfmdplzriyztnioty[lqjesrsxjozxcgfaknm]qifmjftfaswtrjblzf
xmhpeigrzvrgknc[drornrcakzujdrsbrvj]czapwkwkwwnkwks
sfdyqdpsfcxebamsf[vehdpjffaqhytqhhbi]urolmsuobvbecvcnv[toagfgryhwfgfwxmvs]btjwiwPI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIlcbeufhmrpyfqb]mtcgpfjhjeowjpqc[cabeopcrmhjhudob]fgeutfapismkdwqxmal[wldzeajldxlxpwfrb]rvyuojjnauuitoofgcm
ixrzwptyltfshve[xwlsfazypzeuauxpozt]nwfgkbpuxeauadrgbbm
vppgbcdybisarvokztx[yuykfmzxbgfwzdohup]vlkdreyqjihmdksxih[iysfrpczrirzbeirih]czkbhrqlrovfkmlu
iaatwbohmiosyiqfq[imajfecefyujhwg]aanaybxebrfpdfxxpgw
qgomsuglksqobwhaq[fzcrputgufyvnesoqwe]ipziztlrfmlaizts[pulgtrdydqegbymu]pxcyeozdofdghkmst
tlxidzqdeqchemiqdsm[hacfdsanbiffzhilct]jtclxgjapfmwhlkn[ieafoftblueqcped]lauckblqborgtjnj
upkkaykvxwvkgwgztzp[jmotfixnvoqrpwsci]wszntutpsjljzmwqpgp[dbnlosuwazvekoplb]bmobthbbmitprffl[qkjfwmsronqjmylzcre]yaulmyfoixmkgjs
zxxsmidmqxjigkbos[iwsufumylphrhyx]uqmpbcxmvhzuppxqopf[ykipifsdwkpzgmt]zzcwzmwugdzckey
ciakjtvtrkgrxvp[yhxuyhyxwytquzxujw]lrxibndatfiqyltehl[nnadhofokmcutiyc]vosxtisllkweiaapagg[vwniutthbrvmqrvik]aixaxvddxrdnmmt
mbjsskcvljlehsxc[cknzgxghehlmats]eqknrogpyfcmtfhso
lcbrfrsccsbhyhurc[mheohludmokwwjx]bezPI:KEY:<KEY>END_PIkrdzwhssgbvydq[kiwqvuebvywyegmdyy]ioskcrvqcagPI:KEY:<KEY>END_PI[zgttakbraxpcsqsc]hmmqufyflPI:KEY:<KEY>END_PIjlPI:KEY:<KEY>END_PIiqvnPI:KEY:<KEY>END_PI
ezmqplezxylckxcqjxn[pdzarngoyfbjgyxqxgt]yokricbfoPI:KEY:<KEY>END_PImehi[cffrPI:KEY:<KEY>END_PIrwhmilnyf]uaybztxPI:KEY:<KEY>END_PIgccfuuPI:KEY:<KEY>END_PI
xnPI:KEY:<KEY>END_PIpq[qmuxPI:KEY:<KEY>END_PIebts]PI:KEY:<KEY>END_PI[tbPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
eltPI:KEY:<KEY>END_PIgnPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIgalPI:KEY:<KEY>END_PIdtPI:KEY:<KEY>END_PI]ePI:KEY:<KEY>END_PItb[nPI:KEY:<KEY>END_PIsvleqobPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PItssPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsnPI:KEY:<KEY>END_PI
kxPI:KEY:<KEY>END_PIsbPI:KEY:<KEY>END_PI[uqxPI:KEY:<KEY>END_PIvvupyvvajkcysh]PI:KEY:<KEY>END_PIigPI:KEY:<KEY>END_PI
ovPI:KEY:<KEY>END_PImthPI:KEY:<KEY>END_PIhijq[fznmygfcqewzomfgbc]qczlousnoccgyrgs
imtfinjttxvhtcll[xiqmbmrcqdxlvuf]pybqlwqezwrkvikns[usjydesemedszquseso]fhcgyicfbdrmgcnk
aqnavkllyitzewgs[cbbqmbtgufuvcun]iugpkakfufksfitigk[lyqiierbjucxbvaux]szbwsttayzipkcdb
yetucqvgffnvnxqx[pvgczfwkehnfqxawz]vfxegwcevafevvzx[ukcwxvnvfnqvxhfa]bdciuylrvfkmxyi
yvachrqguvjhkrbe[rtlpuvvfdvmtqswiln]jcyqjdmtzndhrif
rphybwiwiszwkkxm[waiaqtuthjgfgag]ttlnqhzfagaregyo
unsmoewlzxuguuwu[dyqsnohyqcommmmov]jipyewobyjdzkgkgo[yphyanakgkgvybsx]pjtzynsvtltzzajc[iweuafprefmbuekk]rwelzzbkbqjwjrw
kluxazqhqPI:KEY:<KEY>END_PIcrvldfv[dbxzgwsfmxettwmgj]rgvfmxibxzbajitnud[vtlbsgrkhnfpmvvkp]pdycyraaqooszqa[eyliotjigekmtov]eiopplzmedvdvmwt
mPI:KEY:<KEY>END_PIdlvns[wsdduzxzfvlvldpjvgg]ywqPI:KEY:<KEY>END_PIwPI:KEY:<KEY>END_PIfij[sakivxaniergaouc]nzmhdlkxeiehdpuok[zfwtadjlizjcauurkq]vlvtdicnyhseqbeo
ssfmkfdeguuaqdbyqub[nbobgowoboytefejnz]fplpuipnficejfsuid
lljnuuistrsmsjazzy[vccsskujvdwxypuk]jhqjqhfatmuedugl[hufmsmgjutabctabusw]zcoiiovxkxtualjx[zdxdbmbibryrqaubxy]tyayojdxepcpmwi
zursgksbdkuzemouhl[sekbvoxwlmumyrdh]yxafewnovnxivyp[ajjditfeeocipuvdl]ygsuxuhtqervumd
suxzfxizhyzbovsz[dtamgkleqiesxemqkgl]vjuviztkxzchergyx[tvazaqnrstjbdts]wccoiceucunjiuus
gongygcedfxwncy[lxtpoagiqvgiryasha]elmaiygycycdtsclhpf
pkyqsmcicydbmdagw[ayulcaspxpbtnegeoou]welxvngiualigfefv[veqtcxgkgzveegxckee]djmbhovzjfexqaedywl[okzphpgdqtpicit]mistlyyaoyphetsxqxi
uwrxhstckbebnlw[yhflbfhsqhshieo]dvmzzqknrjPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[efPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
vzrzPI:KEY:<KEY>END_PIwPI:KEY:<KEY>END_PIjvcmft[wrdvmieyzckycagwma]izyptswwlzgivtgyfd[jaujtzdzregakjk]cjdnelesxnhmgkqsgs[tjcsmxghgtmstejjhb]tzqsgoiospxadncn
okgjhnzaxrtektb[sleqpxoqckdrsiwi]jzthxxszazdahvhq[mgxzdqnfscpqdoykr]doyvhvnmbshvkcib[jtrsntjktunoxxn]rmejgievrkrxaziux
fodknkictemsxiicght[tdltamcatgnknki]hzdspvkbgipuvnb
xhhmaiussrmwaxcpoq[agyegtzmrcgdrqiiv]akuxocgoidnfmkffroz[lkkfnmgryejzyvjh]ozdzcbsfmllaiyclho[vseayejwmotjhccg]qfqchpalcnaweyo
imdrphyleudnvhc[lzqochrdcjotjojk]cwsqzuwoflalwatlsd[ctefovkyinrjchrwdav]cmnbuqveexpaxmhi
vckjhzrdtpyynzbdsad[ehjwlyfbffzszrx]aizjcopfbdgrrtei
vfkpxnrqufijmniu[wnwtwpmgtjonykmcsp]mhehavmuivmxhdelxa[spyybveheykroybw]bfzudojcjhzckbac
egipucceijeltfoz[jpyjfgsqdywwjillf]kltttxmvrepsures[asbzcnwdqvfkfkiqqs]usnadxpcdxpjnifm
svsbijigntdtxph[fabzbljmijzwvjlac]kieomhcpodzimrmqoc[xusohhfobyruazi]wxkjzzpskukqjirtjc[iwqdjijjucrslihqpo]faezwwmpfpxenvp
sbjgcnwomllqwavkviw[pxekvxjtjbgjuouft]puzjbrwmyzsxclgmqsb[vtpnaljnxkgwlryjo]lhqzwvnpkzsdndp
fyfyvifiocceoozl[dmjxamblfosaizav]smoyhjbuffpgqdl
tlbdacsdiavtwucvf[npepgjenhdkgfavbn]hvbffufjyehpsoa[xghicdcxptmipfxlz]lvducqyymcqkket
nuystaihvpelybkvch[rlqyflvholahkcxw]gicdfjzhwwocfejthx[jpeuakotyanntiw]sfsavxuyyulvuluyur[asngaxekprpfzsvxx]rliayxmjvsrnizh
axquvvjwulrntbzzf[fddxxjwbdaecbsderd]vjtqwpjlhbdhxjoh
cgeyfvgczhhwbdz[kgsqgnalsysssiyhqp]wqzhbjvykeuyjxgfzgg[mqkzclianfnifjdql]vbeyhsxsfmoeanpnipa[sxmzlhgrezqxsxzzcku]gwmgkijugjwtutmgj
nnjlbnnasmuhskqu[shbjjccjlumeuigoim]ndwzzmbtazttjpawtzl[cnkpifihvkmsallifij]ccpzfojfxszmytbd[jtcogseximfojmjm]bgdltwjrqciyqfifkh
pkdqnzhjzcttkackdba[mucwutymaybynvttts]nndhioamrjejmibag[fndcrctykpehoglop]rgxjwrpzlqapjsv
nccuyvrhzyszqnw[ogdgzsefffyfoenfh]jnqnhnyoyrcnrowjmpv[wmlihztaoyedgkg]vneeegnosrxphish[uwrmezbsmqbxjpx]jgfoinwzlhyixzjzv
kriqecrnaeujvuzw[lruowheuwnintaqqxcl]kcopdidcqinihhmk
vxkblgxcmztnphdzf[ysjhxgovujrpagndi]ezgjwgowcdkfcstfhr[hpxrabjwpymyaolp]itcthqpgksvedadl[stfrippovsfrwglisp]eodicmisPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[aqPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[glgsyPI:KEY:<KEY>END_PIloohPI:KEY:<KEY>END_PI]yPI:KEY:<KEY>END_PIziayoqPI:KEY:<KEY>END_PIbPI:KEY:<KEY>END_PIf[vtwnbpqxhgsfguztg]xhgvtoqwouusyahedc[zcchxnllferklyt]avgtwloloznygrb
PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIktwPI:KEY:<KEY>END_PIegPI:KEY:<KEY>END_PI
muiuPI:KEY:<KEY>END_PIyfirjks[xviqxaavhdxjkkccmrx]weauetgyttscsfPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[klPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
ytoteijopgPI:KEY:<KEY>END_PIkatn[oppmfhkktlewhlq]erycfxfafsiicbtx
xlwbkbenrohodfnmuv[zarnezgnivnmged]vyumskttvpderhzbimc[hvbbjegwdeeqtam]fopblbizbmbhzfsdnzm
rgmnnwzikyanthhp[nvnhsgdymtjeqzurz]mbqxtvwhpggnbcq[apeorjqexywhszrno]qaxdcaysefnpyviduz
vjaljdyyoihduumfo[bpufjkyqjvxoprdwrr]ccjbldnkbzezeznmkpu
yhbnzbxqrvzrguxcbss[unzjeicvhgqtwek]obuccrvnajbvkcmkzh[futhsovnghajatalva]humwbgtpqzjgordah[kvxmlpebzsitmnjfnz]olxhcyqkvfkqdxdc
gsojkejbnpgptcgeubr[lgjcwaotpdouravq]neezbmtkclvcvkqncw
qqdvpngddzjwase[rtgandojrzcpohlpknx]qdnxpiawdlklkscmpa[qtpzakubrncjzbpr]efpxwdvobcigtpu
boxlzukkqchmqrrpgk[ggylyipkjdmbjfp]dkckhhgapbgpmygpa[yfetxkcehafknkmk]acqmjcsvxzptstswuj[atrjixpyeqordilgj]eccoowxhivjiljegqm
exjgzzncnnehrto[qnhzvdfprbarmtdpp]rcdxdswituqgnsix
tokldrsfwqqhetyw[muqzhystnflncxm]pjpmtwcamluvvvdsu[mpfvycofrzebemw]mcyzcqfngdrjaioxzda
pqhnhcbjoqjvgqh[vqkgnojpmbawemi]lampvrpcpvxludprfuj
vbdpihaehliobsbciw[cpaudttavwxkfpg]aidtxeypckfsagubro[fpaiuhpggzpxsctw]danwtjnlhrbfipgfbq
beoecqatqkztrbevt[bdqoxnitxmdqunizj]lgquhovsnjuxqaml[vyfylkbhnsdjoezm]ediekdjfsnsodqep
cnaisicaronpqbihlv[ajfhzrpysjdkxqpql]dfznlmsbuozjlqvf
jbgsemiqgxmtwmdulu[ulbyoughrbpthdlvmvm]dyrxsdesjjwwfmvmkf[gogkkkefuecieipe]nimswajpymtzyleew
haavjxuwhbfxlhfx[rssbpwlffrpnsse]chremerememjcbfuv
losdtsrwrdvwzbjf[daaxdqsorbsgznm]miovihloamfmovzruxk[horqrumrdnjorfw]shihudanlgqfzjf[kqkwshgnrpwudohanr]yohqqtcywhqawfhi
trrbdodxpewxgcyryk[limhtndawxliixkkq]ivxmixrjddqlmounj[cfhqatncyqijnvjv]djqfccmuvdnsylo
yfdgkwopvrudzsww[gnyyumqxrftncsfuaaw]zfiekmyvpseaugfwss[etzbbabtbkdtgbwf]djmbswwpvfsowmqdlw[lpbkaarutdlovoptrke]ukztythdiepqgemm
huwfnhilneqaecp[hdcrdcipgcaxtbfouo]poacbxvuqwkcilkb[dnpryjlynwgzbrnbc]hxillsnqqraloociaqc[uoyktvkfxkdkdopnbk]qvjeuapououufksmwse
lfbrqypxgthlyxqzywe[pcxfduxttmzaxtr]gidsxacxodigyok[qyaamzuhjqqnpdsii]apgfypwqjpygzmdtpj
prkahitlcoynnubnri[rqthrhhudrvryoea]urkuwyabxskqbsyfgm[dyagznreglcdincwie]okvqdhlixssurnd
qrwefbcelgjgpzoe[aedkjvzurwcrhdimb]eaxqgpvkewmjynmek[nmfyhryoglbtdgq]dfnecedmtcrkfyq[omndbxvzczgnojpl]trcocwxxczcxrvjjce
pphzgbbfbqmhbysodv[znbyvvkjlacgjrwlnkr]iyjpdjsjryyqsoblbyf
lziqyyfhruzfpwy[upekwttdqzjxspfzcmw]ptdaapvzenixlab[wvsdrswafuftmysocc]ykzygszayfmgenk[mylrsdifhepnnsst]tqrbrvifghuesad
jwfyweiiqvjfkvp[gsmzrlbjdpgqtbjakw]oofharmppecdotcw[dencjxxfrzxbuku]ygflsusvcrcdznc[fmcercvqncnxcbbwcrn]lkxshvdqjairdnnpz
mfspfyoqeyalvzx[zwdzwlsmnktynntn]eeogyyanaydeykwd
gvwvweokjzagobku[ixdetnocslayahccde]juncfldivihwfpee[mcpxioooaydtjmojwm]satqvbxfkxhfdrgoin
yncjgygznetzrrh[uzkbwhtbtkrcxcveik]gehtfqltpixmsuami[nqhxycgquaihujx]ndtusluyzjwufzdh[ppvannvzrnncxpcfbyy]kgitvwtucjasvtk
feushnbxghbeqsu[utnmthhouoazgbym]jmplltesvrbrllei
ijwbtaksbikedfm[gjckpcivddahwkp]kubvhiqvktkkijchj[qocdkdejflyyzwukfrh]qlnixtictiubnfhvv[ygbwjbjxtvfevjug]dclcjonutlwyqaxx
vqtafpvexofwcfssx[zmlfsfqivipeumubau]moqspxvivckaesffn
hphwnfopanasosexay[ddmqqktxkrurcry]slvhqigvbwonriydzb[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIifeqPI:KEY:<KEY>END_PI
erPI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PIiperPI:KEY:<KEY>END_PIexPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
ryPI:KEY:<KEY>END_PIdPI:KEY:<KEY>END_PIw[ohgtjdaeifxzuhoqc]yflsxucxibqkcpft
srtfcyyruyxzxum[ygeoeyfnlufgsjxjm]ifwimooynxbrsxmyk
rqbnowuwuernuxpim[zzumupyxvnbnngmc]uwurpinkjmkckxx
ikzheexqxrfttoy[uwegndkenfvosfpm]acomhjgdgbuelap
srookpxqmghokjoegi[lhpppxjenrjqiri]mjlixhnrirctrsupv
onuiajxptpjwixyvp[otlnjwravarqmepwyd]hmnvzsflzeyrlxgpwwh
jmpskqdlbuorcpwpqj[sxwomhbdyomudfaisda]nvzxtvytsrqqxbsug
lohoirsglnfzmslubqc[pxhygduybnlqemp]eulzazwozzqytmn[joeiaeuczyygjtg]tnowqyhlrtmumjyrkp[lidmrorxkpcajufzib]ixxyjcoocfdgzjbhhl
tmixfdhagahaqeers[ruioctblczdbnusokt]orpjrznwojfxnheoqbj[gbgyexwumyintxi]tznnvbemvedlpriyu[ibseuzmfqmroeeawur]tkggtpbcgdthcpo
psnbkiuzotsmeklinng[qhigmmuxrpjmhuhxt]urvnxarbhbsouap[chfgrdkbxmgqzdccv]lbopbgjsbykugbzfp
qcneczsyljovqwlnjz[mntyylfgsuvpjdp]osrpdqguiouevrdq
xvfraxzgsypwfmswwwu[oyrmndtdginkvlzdid]xgtwrddwmukzxypxl[mcjxgiimlmsnizirzt]gliezwdntsgoxznesl[vwypsvpvcaeyzivjo]zigujupypwjqljxaie
xayweakpavlylgjl[hxjyhvqwnyixcesj]yuhyulfybuhvqiinlso[eyopyetglenvqzqhnqr]mqcovyockdqdqvfer
sovuasutixukkuuxn[jlvxhosfgqjcxnlmxql]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
egPI:KEY:<KEY>END_PI[mbPI:KEY:<KEY>END_PI]dzPI:KEY:<KEY>END_PI[gdzijPI:KEY:<KEY>END_PIlbPI:KEY:<KEY>END_PI]ewPI:KEY:<KEY>END_PIetkiv
orakPI:KEY:<KEY>END_PIvqxc[vvgximcdecwxmpbjsr]breycrlgdwgnbjy[oqqtlhrvdyqesttwieg]dksvmqwavamfdma[fndgywlwmsmaivduv]mfweojoshjwolwla
pqpeytynxunxdfyxrmr[krtrvrufaemrmit]kcgnivmpvqoagjmharc[pvkuwynulvvuqkif]mvbbgwnmngtrPI:KEY:<KEY>END_PIbe
nsacyqfpikkoqqxp[jdcdddcdcylpjiled]jstcntnjxszhichrkw[vzfusiwojvrjzhevjm]lywsheganczawtqb
rtcpdankaboogxhbqj[vfamnogaxasxdiiizk]whpyanngpggqutan
qlxjojmpesvehkggt[flysjbaoiorosmpzcl]wgpxurstlnopucd[ewkgadgmllrewtwse]icnqidtfsqjurnkw
oifarludgzqkwtdm[jvoeypeqpfivakqyj]dtcboyxnhejlitz
npkttburtggvbsfuiwo[wvklzpiffhreyxkz]uhuynxjezspazaudse
etaapuxqbavybsp[mndpkefjvjupccx]pdcnnncxtrzfvlnmq[ioehzamymeougocos]hcuxkuwhwvjvysbwdo
fjrsuygcrtpzjsw[rhfrgfnkhajlqtqdp]hftckgnarcgoyfkmimd[hkldanmovhazpcpwhl]qomxfqqhkcuqhibrl[tpbrlhcndgbxuuzdng]knqmgdkpbljyufzazki
zydstadkygzvjmxdhu[qtgaglwyzqncfbds]dqwbpmopxmdtkkcj[dcakbjdwzlglkpndtb]nijwetvoulkydqukzn
hbxhybosbnopyxpnnz[juewibpcgkchnerk]pvdtzqclnvdbmwjk[wmtpskdcqiiythces]kbhxnzcnjxhnkuxwft[yetvomdrmxarjwsumqv]pgumogczlkgoiyn
zaeaejxwpzbqtjiutt[eqjjobopoyuoxymtvb]glxzffwpiwoqcciyul
rqrvuzjvcgaancl[pmxugkapydtxezz]lihcobqbdqenjmxyn[aemdyhmkusmchckzqnp]tgiijsdtqtqomptveju[mvaiexukertbkyinjc]pjuulfqsxhbpdiy
jjygzflwfyeiecuztx[yrziwmbdidxrjsouxen]bqkyguqcejsvrkn[hzipqxzodrnsozfmta]xvtPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
shPI:KEY:<KEY>END_PI[drPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[ftPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[lPI:KEY:<KEY>END_PIvorPI:KEY:<KEY>END_PIzrhddPI:KEY:<KEY>END_PI]mvPI:KEY:<KEY>END_PIstPI:KEY:<KEY>END_PIstPI:KEY:<KEY>END_PI
wncbdPI:KEY:<KEY>END_PIvzPI:KEY:<KEY>END_PIrrunPI:KEY:<KEY>END_PI[riirhteyuokxshfmxed]sdcpacarelkhxPI:KEY:<KEY>END_PI
xxPI:KEY:<KEY>END_PIqeokPI:KEY:<KEY>END_PI[xxcnkwhvsylkpfPI:KEY:<KEY>END_PI]xPI:KEY:<KEY>END_PInqPI:KEY:<KEY>END_PIaslmePI:KEY:<KEY>END_PIsnPI:KEY:<KEY>END_PI[rmzPI:KEY:<KEY>END_PI]mutxPI:KEY:<KEY>END_PI[jypPI:KEY:<KEY>END_PIztklxPI:KEY:<KEY>END_PIxyzsr]PI:KEY:<KEY>END_PIuxPI:KEY:<KEY>END_PI
yenPI:KEY:<KEY>END_PIcyPI:KEY:<KEY>END_PIerlso[dttyspegodnpefcpg]mdhfzxgyoxozmgi
jndnuwbhvaciqduyfg[xoeqacufaixieedbtnz]mpkkivmhxwxujcn
majifpotxhylyshir[mhcapgzvPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]kPI:KEY:<KEY>END_PIyjPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ptPI:KEY:<KEY>END_PI]ymPI:KEY:<KEY>END_PI
lyPI:KEY:<KEY>END_PI[tvPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIswdtPI:KEY:<KEY>END_PIssPI:KEY:<KEY>END_PI
yPI:KEY:<KEY>END_PIideiuPI:KEY:<KEY>END_PIkwPI:KEY:<KEY>END_PI[gxsoytqhoasPI:KEY:<KEY>END_PIuiasm]fyPI:KEY:<KEY>END_PIugkvPI:KEY:<KEY>END_PIcfcshkzbPI:KEY:<KEY>END_PI
rPI:KEY:<KEY>END_PIutrslPI:KEY:<KEY>END_PI[wsPI:KEY:<KEY>END_PI]xPI:KEY:<KEY>END_PI[xjPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[mioPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[owvnsvPI:KEY:<KEY>END_PI]cdPI:KEY:<KEY>END_PI
uxPI:KEY:<KEY>END_PIg[dysPI:KEY:<KEY>END_PIfPI:KEY:<KEY>END_PIlbjrePI:KEY:<KEY>END_PI]ilgubuujgmytfxeqzrh[zahfdfyzbhexldxg]yohfxkPI:KEY:<KEY>END_PIjqfdzqe
kqcxiuftivavvdv[rbijqqjbhpdcrtpcy]dijrgcyuoqfzronrfps[knxiljzdtvauitad]hohafhoofjhhhppkr
vbanudfbhmhpqsdpdgw[ksrnxrccuenustesws]bgiuwlkckvdplqygpi[ivyzkermofckkcotkj]mhjspcpkcwsbisbve[mlmgilflysuxqmzwp]afixxyabstclpunrya
mnniaptautqeenvmog[wfqrhlcbcwqhwzj]ccouhkyhrvdcbilshrw
zankwrrkgkejsfiwcox[gcxocohqugmgpfoea]cfpphqzxdllapiaxu[ckfcklaedfbhgino]pwdqreudlymfoif[nkaiutnpwnsfrbzqyuc]mscstkuwovgypqtta
dhhvqxovlmkpzsg[loljkdtjkdhgawrpi]ggnnhvbpshpwoloac
wjepglephkicsoti[lvcfarizbzsudio]httbqobbfjoomntye[rrlwtyngtpvffaanlpw]moqdodrnstpwmhjrw[ujoowvjwddvlqqbbzbt]alyeqayozgbhtpsni
okuneqgdkcjggazki[ebqvcuzvuqlvptuoqf]wvcvzlzipmoamnvjt[dncwvnvagpitnxtjo]oadxpnnqonbrrarqn[ruogikvmdiporivvzm]vicubwgqcblvvop
iqwlvhjhfrfeayiclzb[mkafugqikswvpqehb]ezlojhjvdoyzwmggb[mncadipbeamkzbndk]kpewfgsurwlikle
ewpiriwkjrgicwzfxck[iazlrpnsiynlmfi]srfoarhvphakmcyke
faalgogxxzuylnk[zsgporpeqifzknzz]mjkbrrvswlbgdwhmlgd[mxfiiekevaaosozya]klhonreqfikygbmf[hhgfoolpnquxfxoazy]vcxscuxdbvevulug
curbpzpilaczuowrsi[wmyxdecknwrspllfhpl]quuvzoiqziuotvfl
kugdhavlhuperwafe[ecuvibachziwzefzn]oyhrdjgmqqauqhhg
kcbawjisdirrwzv[fugffzgwmricsypdz]bouoevvlaykmgve[glivzpgoripmcnqv]bsmuvtuxrrzjaxko
oyaxoumybizeabdg[quusffkxbmxajbni]lxxqjhqcajdkqszr[cpgzcteolyloguchf]zxowxsyvudncstwk
xmlnrjsanwjmizgawvk[wlyncljroxswzsmd]waxcvfcwftjxbqxpmvr[spiqjeqpfxanegjxf]sxzszkcgibvfkgtozy[nmhjzcaophbfpil]nrwfxurekvqndbzw
xunbkhekkwyvgcerevv[bgjzbkihvzlnnpptr]huqryhbrkspzxusu[dmrytcqghtbbhhzu]lasujmpjaobcnfj[ebofoyovhhzsprycn]belltiuhimwgwqek
ocgmydyjloxpbsyj[wuhymkumnwwcdprxc]ncmkmnedztlutaw
lyuydomeinqxrex[gukhcsjakylfwqodm]hdghwpfhnwjtmafqt[lqwtforyrybxbbh]fgyfkgvzyooifxa[kgxkzeuijywgdhuryra]dohlilkbkqzjsbx
zgckhhqwhgctoun[ajftizwahkaxzich]wacumictegcbysyn[zzxxwgjdzicxreegal]pwquqtaijwqpkistf[vbombdxhjxwlboqdbqh]hfyfujedxzoceqewhgt
rcpaadoewdfxoksbiuf[cmcgotvayrjllxgtm]pmkfrygwrzuobudsah[gonfdimjagiyayni]ctrukcwixqczltol
jrehwmakkkobozzwrn[beoievlwkmkusjzangv]djpjbtpjpdcjsmopzpw
zsgrycgmryfdzqyfj[yipsuqvzrujoaqga]khjrvsadupzwwoasmp[bdpwsunstwzgzawlu]wxaqnorkgypawanoso[iknpjxzhmqermgl]zcsakkbrkkaimtnya
uyuzptbpmmukyrpd[vmbrbmpgvxdxryzcpbb]ltybhrruutchwbuuicv
ddaeptwdykjibuffjh[ufzsfgmcffyxyyywdu]vrdexhgwtdlczpc
csivzntivihwomh[nprwknojctjnkov]uzridiquzokufgzgjs
gcpleovxfcyyeme[crpzfylaxfpuecz]zoomnthfoptieor[ycybuegqfkhlupplwb]qjmvwbggqxwgeuneph
vwqdvgzzotnnsydivip[ohjqzjuzxyncdbenf]suwfgrjkasvyhzbtfo[qfalzqxllbjohnzvgj]mtkkcwoapdjaysfyono[yqdgnieatutxldqyosk]debyxvqoatdeibyy
lhljheobdtmdowhx[lrxkzhxzdjmemintrq]jecllyatwkrhfxru
howoydpdchixptjqapd[nuwrazvltwkshpvlg]havqlubvtfkhsmxwxew
uwapzmqskzwiiqx[xtyqrsajsrljaajwedl]dgcalrxxdsfhqfdie[svghimwbcbmxqtqhjn]akqfoppjhaadsdbela
slbymelmqscfinxle[ahjtgvzldgftnkehsr]vaqtlbhritaotaxvhpg[chcyoduevjsyehz]jncoccdngssgteldzq
mmkzxzkatapuuwwv[odomzyzveadmmicfb]eiptpqypfvfroxu[bxfgwaezkjrbpim]hvfvtenhpyqiohxj
jetnikaiyuylckwz[vonvdfgbgfxrvjzluaj]zpmcyjvkwghaiuxic[irxghevzlcccxfcrf]xicbllnxpzlcmqbgm
chvpdcrevaqnstnw[sofvzfabefeacnniokj]qdasdxrscvlmwcchq[kcpxsnydjsoviwwy]bkdprrvzdinwsfxkien
cwoamgnaytsfeccbqb[vyysuocjjhfoixrtmpr]junwfwadfbyukyvnw[lcwtmcbwdkrqngvqi]vevlawxbwoqcibmtk
seboazoqdqpckthgk[psehbzatcusxwqa]tiwgrqjikjzwabuufp
ouwlbqhczqgbljktjy[bubtiannyvmvkekhwbg]xvrlrmkjwkhzjjlia
vatnmtxixznyvdvt[ftzPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
zkPI:KEY:<KEY>END_PIrykxtfvqneh[pxvjsvutuauoeducg]iduhzedqopyfgxjwpl[tmzqjdffcpzytkg]zvwkvgwmfhbqklyvai[scusvxtyjacnqtkany]xqsylxxrbgvudrdxd
dbgodepvweaspcsam[vnqcsulaljbjrygsgv]gmfdwebiufbqkaofraq[unbumchixaeviclyqbn]ekpfqosiklnpdjrjq[nlcbhutxymbumqmwh]svtcirskdgbhfjr
wpvcqnrvyjvfkfpclz[wogcckufvzviggf]oulptksetgaaholu[dwwcwhkktrhgkahbs]sobrvezzrrzvlihicw
xlcqxbbegaulczmzw[xcllvvmlrdiamavgvh]fgipexbodvwutyt[pwhoyusimtkyswrc]mxtrsgpuxsjcqmb
euzbhyalpjhxfawzyj[kqcqpulvktfqwccr]etzsqjqzeosiarij[kinbhoflquwkkobs]jvcmusgezydgutda
lpxgexsvlfylfjva[wnzhqafvnbcbcoy]wevgfhsjrkdgvnbta[mvmabgghwicirugb]ctcyjxzknsnpxixkc
hkkbtbsnyzrlsuyhwov[iurtqidtzfwtfhiltt]wokyylscmppxsdqtnns[swtohjqkqnmzxon]mthgkxltaceszxm
jernxnsovguhkpljxce[twgyaawrcpjpnxp]rvjtstsecwlieaeblp[tihicijqmcrggggrjo]igcnuyrhtaooygb[ntscsypsxaeatyj]aslpawlvpctyjzwxhw
xoooyfocrwvsumzzywf[rdovvrfjqhtuiro]eudcowqfnmcvpkdpv[hdyyadaesuxiykkiztt]ykgxpvfilimofxfj[ittajdlxgptkzqt]djtaivnjndcktuvd
usxiyxinxwkgmdmjlq[quaspjeawvvlagjmla]sucqobcfnryoftyttwk[knzzgsqjkwlybeebxrg]juprtecqapdfbkk
jsbpwwkgsmydnreqkd[abmspggfxrehkgk]nzhjbpwxrvuwrsnilmj[qqtarhezcecijunbk]fzskmnquqoivtsaxym
mgekjguhkwyfdcse[ydcdycgmcbzvpkesg]yuzqagwvmncdcia
wrqntmycrllbddv[fzewvpbxklyccfkqsed]czcxxkwfeberluvi[iupovtrukptjstnkex]sukvpgublggqzbecwz[rabiytcgypowllw]dfitoowyhfxjteip
wlqzetmtxlrkydh[dbgzuittqekewyc]vsrigjcntogidwtft[hscoyacwvjejmwxxv]vpljhuinywgbjnynxhj
ydpusekwzovghcojdp[dqycroxflpnyqpnai]znbszhqqfkdbrwzrxr
uzfunassiuljodnjr[tzrbcvrfieeocdcn]bmsircirorbtgydp[wcxinsnngyykaaavhk]xxqbherleuhjskfyu[wfklhczmivpuooytgz]fzxxivrumhumdcdt
mshsdecfbmkjmbrx[fdhjzahrcoydrvqg]stkkbwrlhhnjzts
nmbyxmysrbuejutpzn[ruyrvzgagqgybiqsn]atkbnawkdkildlbg[trjlpfbjomgxvvmzowo]gbmfxqgecnzrwowcm
rtiylcxgfuqngjkyny[mgidqfnevlylaukbwts]vcejabirnbonrowlea[cancfhwbwdlklwo]ifsehqpalixvinbsr
ifyzslyhrydfxbsb[nigcfrqizdtzetpncxt]svvmxecfemwefpgduln
rtzslwquokcygmdws[wvblnifrxmomsmdwtx]scpjyfputxvatko[mffinnpsxezowdl]bsmsjqeowsoobewko
zllghkuucklrmwy[ylrocgxqrlkdkotl]gmmdzctugnusdsrwwhq[cllevhgqwlszrhlbv]prpeirpbwoapvocm[urvubddgwfmmkoyu]ygmtwdiwvuepkcw
hnqlptboqzzpksz[axumkjmbmyxfokki]oyassusfzvnzhlobbme[vbnbcjaiiuqptfyct]oagongosnahrlok
vgsfvfwepwufvvqbo[pmdxwkxldxhlqlqrgp]nmkpknxluiphfrfxm
qypkqkfcicanneyvvr[hrsgqfwjegdzfmyt]hmsppdjbdxxtagyhfkg[ranuabbxvhlszpmlmv]ajsbmdayixczrhy
oykuwlbsupkaaaioxnb[cemxnilkmxflpnwp]vuvzxrfcfhqvmzlzl[hnvnqhipzparrqm]rjzhvguxrwhwyzc
mdjjwbprbzhftjae[clpvjvsxatcbzsyybw]thsopmeuzvhcfppbha[hwbfzhbptymaaoywwiv]ybsfudfmveobwaqkul[argjxabjvcalkomgp]nogtearwoznoinj
ngsqrfixojvtgzmfx[dlttfdsvjeppwweu]ydwjjxycbpopceaj[anlhiebedcpahqihhd]gtsexwhwnpmpqvdxa[qflvviiybebmusv]epuouytlbtacnsnz
ouccxvpsqnmxezei[vmifqcpthebiklhid]tszxpvkgldobdjl
pauvqtezlhvjejl[sczynxdhjpivcogula]llemqpnanorgnkmjl[xxtooqiwqkcbvmp]anafyzhbzdtpcxcad
gngdmikcpsuduzdrd[fchropeunoqkngns]rfdquwdpxtlfxscvhzj
PI:KEY:<KEY>END_PI
rcfjxvabpkgxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
sPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
tfPI:KEY:<KEY>END_PI[kPI:KEY:<KEY>END_PI]gnPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIasPI:KEY:<KEY>END_PI]ggPI:KEY:<KEY>END_PI[fcyzsPI:KEY:<KEY>END_PIernPI:KEY:<KEY>END_PIft]rPI:KEY:<KEY>END_PIdnPI:KEY:<KEY>END_PI
adztzinzrvazerPI:KEY:<KEY>END_PIcl[vypxttybduwxgrd]mggcsuuzlwiilaav
qnamzrfomzqqhozg[zaoqvddnqodpztm]pqhditszsmuiakyelb[sfknkiilewablfnt]mdzzoowquvhayznyl
ovvPI:KEY:<KEY>END_PIkbPI:KEY:<KEY>END_PIqePI:KEY:<KEY>END_PIbcke[wtzdbpzbnlPI:KEY:<KEY>END_PIwfz]tupyPI:KEY:<KEY>END_PItc[fpyravPI:KEY:<KEY>END_PIhddaubymf]pPI:KEY:<KEY>END_PIgPI:KEY:<KEY>END_PIwlpPI:KEY:<KEY>END_PI
lPI:KEY:<KEY>END_PI[kPI:KEY:<KEY>END_PIsmjxfePI:KEY:<KEY>END_PItewtodPI:KEY:<KEY>END_PI]xhqksdPI:KEY:<KEY>END_PIzycjszipd[zeptjnsjluccoiuxm]bhvktxgvqjkufxhprr
zflhauqmcaiwnqn[jhyeagjfxbgnzkPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PIerlpgxpPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIvcrmhvfeudrea
merahlzkjiePI:KEY:<KEY>END_PIdkyky[yeygykydcucbambmtz]tbujyhneuvzacymtgrd
sgvvjpfdcsriacwuyy[rqhuwizydqorikmqqlo]ozsalwkmuodygrh
jfzfzodtrqrrwvlr[ukxwobjdyhtqrqr]qzmrpkkjzqibwekne
xbmixvpzovpzydwprwt[qnquthrvjmqtpzb]utnmpbzmurlbpfuaquPI:KEY:<KEY>END_PI
fkfzPI:KEY:<KEY>END_PIusnte[ajzqatzkpajlsPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PInzPI:KEY:<KEY>END_PIynPI:KEY:<KEY>END_PImzPI:KEY:<KEY>END_PI[tePI:KEY:<KEY>END_PIgatijPI:KEY:<KEY>END_PI]aigPI:KEY:<KEY>END_PIzipPI:KEY:<KEY>END_PI
jfPI:KEY:<KEY>END_PIukcmp[kddnrlcjywdjcud]PI:KEY:<KEY>END_PIhzPI:KEY:<KEY>END_PIlkPI:KEY:<KEY>END_PI[fuavvscfxpynlxexr]szPI:KEY:<KEY>END_PIvpbPI:KEY:<KEY>END_PI
idlPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI[lgPI:KEY:<KEY>END_PIbpjcyvpnecsqfhr]sjkPI:KEY:<KEY>END_PIancdmlPI:KEY:<KEY>END_PIbiwjr[gzxmhvvugpuywst]oodlrjPI:KEY:<KEY>END_PIdknfxde
bplasvzaijndpfkr[wkvndyztlfkelwckt]kjkbnawptptvful[fmlqcligysmrzes]ujvljnzkznjvkgmsvqq[ezpnsnwrujkrbcmggsj]eghksoebyyfnptgqjul
bjwqelavjebvqjroszz[jlfwuhjucugbvczdbil]xxuinqhddmsrpukke
tgbvekwixowohur[hctpawxelfhbtmwc]axirbbtolsqjclqo[xcxiycbryxmpimq]kutifmilczlxebzxwjn
dvxlbiymdfdrnnfp[nxrzuioymgfxqwxo]qhydikbrlhqldbq[heutjkmrstetknylg]grzklzcisupegmbg[mlvaswdotnzowpqw]inmxskvrovknbngkp
rpoicdzdnkcxqtqule[gcxezbuirojvwliv]bmnlgvtpiyfhkukpj[gtqavwzdzdmqufnce]nwnlyciquxxcwpte
ubleorakkrqlakyr[kqwacjjutlifarh]dgijscrhnsrsxqhogb
niodmrcgcjrihildfw[pmtshihgrssakbouvf]otoaadrggvnzmetmyds
jczcvqxamrdcpnjl[pitcvywsuryykynqxax]zmojzqezwxdnwrcuif
nbmlxeosjvvtihmwt[acformsggoqxslahuma]nmezephkdzghfvhiqq[epizeyqkmseenueefiu]alkiffsdvovxmejkunk[hiwyudbbuondtsqjm]wjioowmqljplehwe
hlcllqbyvenlzcfgz[tkddqsjxydctcrcuhq]lnqsaupwdmxeptzog
rrkevyquvdogauq[lxscinoclyrawtkvr]mbiscfistpoutkc
lwkkwxlifgwimrupndu[kglwcbuugjkujltz]rrgozebmyxigvxefa[hxbstqxfjnzvkco]rqpxaurnjtzymxkvtiv[fgbvzthgqifdqehisw]kwvdvfijmbimizl
yejkpafozbchconq[chghchxxcybtarwkel]ensiprnejdyegqiiu
gsclugkgowknjfkewxn[pgzgezavhgcfjpi]wttjlezzjwqyyzgzc
ndgluxoxlnekaomi[hrrjyflrxyetpub]kwpcbjgszdjimqfgat[ofdwoxrgxjrbxhgep]rdaebrkfchddavjeqap
vzlsrismjdiyfqzcieb[fylncgldcdlrqnbpw]hyrajwsfckxlkhcboe[rxqyolmmgairjktnk]xhrusylermeiiolade[ifiekphfwfzsnrb]szyunhntoeymkuhyvru
ekgeyjojapzhzaxfzhw[nmmzpmouaheahibz]skPI:KEY:<KEY>END_PIvzPI:KEY:<KEY>END_PIot[napvavoknajlvmdd]wbjkbdpjhuhxybgywu[umxthkfbtbevasmekcr]adnybcirbnsyplp
qshfqvkxfhgsysl[tzlddkjozqzcpcnx]xjkhcdozufunylwdzs[smgwthhegrzgufktc]myfufzjuvrafwalrnn[jhsmzagnqmhzscu]dbqonhtmhhdshdyatcn
tcdybubnklvamrjlxqo[naocexrxejgekonegma]hlejmizxmhxahxboitw[jteivhxwxftlyhl]kvhbakqlmukgslgvgx[aueqotadcogcmhqeeec]igrfisukejhgfmdvx
jowozfzspexprygzplp[acahqiqszrcdhsylwwa]ppdmkmcrzpzbflgeld[etwowmhcqhkjkkipk]gnilcosjuukihcwyne
ynmgkfpaiocmkybwkz[ztxveuhtztuioruvqbr]grhetxxldtoepqtm[yrucewbvzbphefuf]idcnnpztztemlywblpm[ltaesuehnzfrsflac]bbarkjzutumhskhf
mckdhqphoehsqgjzpzi[eiretkkiklgmfvohgvs]fsaipzocdnrwworpfj
hmdbweapvrpdkhqhr[xwpfkaaejitfikqgy]atylpiafldvqsunu[dwvoqhxryfpiegidm]dyvhcjqkgspgnpw[nkabxwemccqznbpdq]ripivpqpjrebswqspd
xdjfwlhvdtcxqvfzrlh[kcjkplfasydesgzkkh]ilfrxwwjtpmshhcy[gsobusiljqgosoih]dgtehabeomwepoaaahd[gikvtnebxclexmsc]nkcvdazorstiymosjv
fjjpjjjikuarjinig[ytnbvaleddhkesaoaut]eorhszwghtnmzbjipie[fuwkcamkegyilppagl]pipdvxwvkvvvanblh[ipiaupaojxfjukjgk]purmzuzammwgfyle
qclqkkcoimixsiou[psabxyezhvejtdodz]ejzppqfiokslbdzoyo
hrrdaecpdytoxkwdynw[vhgsgzqlqemkdkewg]yeqaoolmodchmigyxt[whflgmjarkpzbitpkl]jqjtyhnxkklkzoa
jxdsjmkuplrowpkta[uzwnxgrrcieqvoz]vtwwzqgvdeornoqxmuw
igfbnfbrrkfiyngqux[aajdqilzidsasrthcnc]xmkzmvqsexhkttcd
bmcwxzeodkxlxclq[zvmqvljaabeakiei]xzujkuxdmumimotsaps[xuhocncyjxiyavon]hslcfclmfhfxxwwrln[dfmghezypyqxtwo]wxaxiadxkpvuwdl
xifaalrmhugjejbl[ioovxgzfgpaqlyt]uayfrtjeutfeprmb[fknrvsrbeucxlyzauy]geowvgcfjnbglmrxp[ocnpvwnagqhgbcvoupp]inzfrbwlliwgcsqgzb
wccriqkjssvswvpgx[apoeqvsvtniwgbt]wfrmnudgajwhkcy
mbyargqesqkprhbtaqq[tpxvefsyzwxvshmict]dxpxmxcluamxmfq
jfxpcnpdgytwhkfb[kdrqmtogtlmxqmv]auuyjbertdteoho[tdendgogvoevpnevzdx]eicpvtgotdkcgwbd[ygcvethlzayahhialf]kytibwtgzhuvvsjw
wfdfxjuqfxjbnjpt[mmaupydmuixzfwebpjt]kssauqawybxkfmcu[juevujxyjrwzewzua]eladywlrkxglizgc
qtkmarqccnxwoqr[vzmovjwxsbhtnmjhqjh]zycttmgyujdefxxfs[tsmxkcuqircrdwtsz]uhqtftqwcxreyvlvff[kwsyvatwweenxdvqum]sjmbfsnprqixqzx
rantzkbrnpwuuvqbqn[qaudnwijvntnxlj]tfdbqbdepavxiewoPI:KEY:<KEY>END_PI
xPI:KEY:<KEY>END_PIejpyjkrz[oPI:KEY:<KEY>END_PIiyPI:KEY:<KEY>END_PI]etPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]swPI:KEY:<KEY>END_PI[iPI:KEY:<KEY>END_PIdjPI:KEY:<KEY>END_PI
iPI:KEY:<KEY>END_PIysPI:KEY:<KEY>END_PI[ehPI:KEY:<KEY>END_PIdsPI:KEY:<KEY>END_PIwwjrubPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PItxbddPI:KEY:<KEY>END_PIub[hktknkxemrlnbxwz]qfejqmapclPI:KEY:<KEY>END_PIzhPI:KEY:<KEY>END_PI
pmPI:KEY:<KEY>END_PIizplesuakfc[woqzewypfpcaiotx]xatiburufdzajqrv[ydsakwhemrgnxgqyli]isubtdzpkcgsoas
xxsqvodorzrnrbzsvyu[apejbcvdjuyujpxewu]kfrcogbvnrkuykpgx
nkvsmhvlyyweggw[yhcjceblmlzpgig]smpwtbqsnklgxxbssz[aiivebyzjnbelkphux]wnaojsgmpoiaykznpj
xcllttmboowsgodsf[dfskztizatqovmat]gpzyyqjotpdkdemcjon
drhgljhvyonmqzkr[ohxhjhvlrpodxwy]mrrhedvtgdxjhjv[golpxgauowhwdoov]rdmuwnfurqwssgth[atspndhxuuhzadog]qgdswxcwwahqnpx
uvdajunzymasgjc[onqeemcifirbxli]mrmpwnqojidvwexxrjg[vbpwisdwqtiteawvdw]rpjzhfsfhrzukstel
owbdsotbsjvrwvdb[fclwyuadozjjeyvkz]uzfygewxtlgjhmfpyfy[qlnlpqPI:KEY:<KEY>END_PI
mPI:KEY:<KEY>END_PIjrPI:KEY:<KEY>END_PIfonnmp[lpbevkcuzvqguwzbzb]pacppeefawsktrydyqd[wayxdzsvisprqutg]dfysmjhwsvnavpixfl[aphusnjjnvygqikzbz]qmvbpeopziujlsmgx
wfujisugotfsymh[juvkyhewsnpzualwau]ljyuwiidwytmvinw[qicxeddblcxrsdrp]khdooklzguadokmdbd
wdzzexnylrbsniulyv[nbehnwkwkrrkbwirh]ymyaqhrhmbuolmtbz
hsxsderrtdvolsms[yqxhutbtoodvausgm]eufwcczbwgvzxsti[gqewnssdahkfambauv]hrnsadgqtzcegnplnce[fwzpwvfptgbgaahdn]hlvjzdqpvjezifpbh
gtnyrilnfgmslzfju[qwahfyniqetvzpb]txlwtncptwapogp
xblzbbrwjoudimv[grtjaoaytdyffbl]jojuhhvrrgbymoptzi[rgpexwvtgbswbzp]ysyfhclvndltbnnzg
ggtkfikxhhzevnhpkoj[egndynfnwwogwdttwg]gmdytpspodusstki[zokrsgoycmxdzrni]jjtmaoztqkdpsnty[ishkqeyrmckkbcug]jkkfuvenjvphkmbtk
aprzrupkmqzdgncwuq[ototomaxhriosvx]zftevshbmxrjingy[vkrildlncmbvbfi]wsqygjuriitkbszg[ncmxdegpxcdvtgau]iauwjlqoidqpkzkeazx
klbfjwxkpqniguvq[wymwprcxjujljrexcg]mtjifypvknsiogypja[tfbqvlowzqxqefia]azvpxtyghflrgdo
xfiwnyfpxzaizzzhp[jsfakgounppfocql]gcgjvygypcgzvnu[qmwugdkvhxjknumcr]ftgvxsqochhihwnsb[acnafcpwduptldm]zcstejwdgasnvehwyot
repltebkzsojvhxy[chzhbjyllumckfluof]lhdibxgatvxzzhzflz
ilqmrorgodzrbfesczh[udnwlveyxsalbxf]pptfzbjvkxksoarpy[wffmfpwwxmuxfmrvmg]zatihmtjlhvjbzdwr
gjqtwvpdnhhqqqvop[hafmfvvzhqrnugo]xgrpicypdmzyjodfv[vtykgzaxumptsclyf]medyaqnemgrawbizrdz[ykkktuzmryicpimqgdk]wyxwdmdtrxcpdqhsrli
hjnariohxtbsthvcwj[jqplvjyvfwbbphien]yyogxtzdtzodxceve
tqajsqqmgynvntqf[wkovdsdotmgxjmmgmoz]kyffakcqgknonqj[hvuefibelljpsvaa]santzrmyhmmfgsac[xevdggsuztwdjllvmod]osdymicaxgknwafiyhf
xgangxswvkcjsek[jrvhyhmomvqblucr]mhakwjcqomofhbdt
vuuruhdlaefeyjtemtn[rkewcsrolbjkvgnjur]ajuzfefffkgdtzfmfwu[ysqkcwziamybbcghjb]vnyxgeftjtrxeokaqk
ytfkhfnkxsuuddh[uorumsswhfhyjhnoqe]mlmhytefajriiwzln[ivgrtejpggcetxry]gtwlsddrscrxepv
zhsugwnutzaxunnfbj[oenidjfrxbnbnevjwo]wnscklrurlxquzhuwf[fswcwqtoexgrdguawj]knactvqybzyjdjdkdkd[hwncacnowaliolgzmlh]xcqfyvhkoaxjyrxggg
vfcdutbbpmmhmpty[glvdyxliujvbdqr]jyavmvfrqjztetyn[rqPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[mfcPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
fPI:KEY:<KEY>END_PI[cwshxkapPI:KEY:<KEY>END_PIrgudllubPI:KEY:<KEY>END_PI]vgykjzaukwxoyeuPI:KEY:<KEY>END_PI
mgPI:KEY:<KEY>END_PIakPI:KEY:<KEY>END_PIdeymyzxPI:KEY:<KEY>END_PI[dsvPI:KEY:<KEY>END_PIoxfiuxixxPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsnjgroPI:KEY:<KEY>END_PI[kxkakPI:KEY:<KEY>END_PIflPI:KEY:<KEY>END_PInnPI:KEY:<KEY>END_PI]denPI:KEY:<KEY>END_PIcxPI:KEY:<KEY>END_PI
zfPI:KEY:<KEY>END_PI[nzPI:KEY:<KEY>END_PI]yPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]imPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI[oennqnvdpveoiPI:KEY:<KEY>END_PI]vljstbhqatpwPI:KEY:<KEY>END_PI
lpzjqfcipceweps[indnzphetquilkxnds]oxyivnjttcuectlyfy
tfhhmfeomPI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PIjPI:KEY:<KEY>END_PI]soepimqfbbPI:KEY:<KEY>END_PIkPI:KEY:<KEY>END_PIv[frdrobvsbwwkcytfv]aszgyodinewnrfdhh[wztqipflzlrwmpxefga]bxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
qlPI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[rrPI:KEY:<KEY>END_PIvituflyuPI:KEY:<KEY>END_PIhz]PI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PIintiyzPI:KEY:<KEY>END_PI[cykrPI:KEY:<KEY>END_PItPI:KEY:<KEY>END_PIqucsPI:KEY:<KEY>END_PIwjrh]yPI:KEY:<KEY>END_PIztxtPI:KEY:<KEY>END_PI
aiPI:KEY:<KEY>END_PIklgicPI:KEY:<KEY>END_PIxdlaefc[ofaqlmhnwrwhjlleyt]dixgrgkhhbyopqkzmt[zhqupdyazgumcagdids]mxijcialempjslotrgr[lmwxkdqqijndgoiv]upioecwmfnndajajbxw
oiwkroaymbjtugfvip[hyqrpfdrfjppatm]azycyfsttguvudeq[czujqevgflhvskaguy]llsuolaevinsabqpy[sivsqswxfxlanvod]sswhiwoaxhqsjnynidh
qipfjqqbxflvnxgv[cnxuwbvnxndkoxcxjl]atoznchumwauytpqmgk
doncjsebymuefbxj[itsfdedfjxzxgvj]wpxzcoaybnzzzxz[hfxwmqbaiyiajiorh]einnvliwbxhjzxx[rkeenlrteubkvgrpmms]qbrpoghwjPI:KEY:<KEY>END_PI[gPI:KEY:<KEY>END_PIiyPI:KEY:<KEY>END_PImezPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[qPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
iniPI:KEY:<KEY>END_PI[cyPI:KEY:<KEY>END_PIyefPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIvldPI:KEY:<KEY>END_PI
jzPI:KEY:<KEY>END_PIifakPI:KEY:<KEY>END_PI[zmPI:KEY:<KEY>END_PIofcvdvtziindPI:KEY:<KEY>END_PI]mzPI:KEY:<KEY>END_PI[gPI:KEY:<KEY>END_PIysPI:KEY:<KEY>END_PIrtqvcesPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PIsembPI:KEY:<KEY>END_PI
gPI:KEY:<KEY>END_PI[odPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[rrPI:KEY:<KEY>END_PI]xPI:KEY:<KEY>END_PI
nnewsdtgggcgiawo[kmuweskiapswdskgosj]avjieesxujtqfwpuis[tvulfkzyslzakco]sjhbzevzvglgfreyc[wzxjjpsqmctkyoutau]isajcfzslakogyuevtj
brresmfifuolfyc[hkeljqzezcsvzrcue]zswubkhczxziqxlty
xzohgybxqdxdwxfbx[dqcorjuppxguxgps]gltuxzxhdjujuro
hmyrpjbmwmyzijkbljp[ipbngzbreqoqcisbi]ctdmsssqkgrjxozcx[egmuzsmsaiodyyt]ugjpwtglzvshohbj
snumfuurpriffdvj[ojmagqzaktihjmwriyv]rgnyhbobphsfqgh[azucllkylyxgrlom]vhtysupgjwbwndwrgfq
pxjdxiuhqmvwufld[ktpvbdokrtdpxrekaf]mamfsijuemlsyio
olcpnpmilbzxxvqsz[ervozeicgvqskuenz]gcxvfthottngwww
hphpdxpbsbmzshrwmwt[sapciwpwuradyvko]dnrhabfjqorseajgr[abhgtcdijsqfndmney]mmsvtcxmoobkkaeevz
rtvrohugqesutzky[sjsvmjhonskkqwhis]pqjtzpfnvwsigtme[ckthdaxpibfximcq]peoffhphnstzruuhze
cazrddymetaqdtlwn[tqrvhfevxilaptinubr]opnhppmmbfscporp
ctclntnozqwmiqz[qniikhszzxbcatctip]wpoexzkaxyealqhcg
suxvexjrakvhziolw[pxjlsfocisjmwzl]smoqdqjoczuyiac[ojpwtuddbldiaruiamd]upfrpxzwnthfytv[xvfejrchuditjal]bxzvjvhoigqunomnikp
vjuryymolbathzinp[xrcvcqvbklvqtjnpzh]wugebbnbnzzvdmpg[kzdlfbpqgvbiyqwitga]wztqfradlqinyzfzf[abgygmhhsksnvso]kntwamrohagtdrsm
ernPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[vPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tyPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[yeqPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
zgPI:KEY:<KEY>END_PI[xnPI:KEY:<KEY>END_PIyfzmePI:KEY:<KEY>END_PIzuvery]mzPI:KEY:<KEY>END_PIixtxtPI:KEY:<KEY>END_PIckher[ylfmvkslkcukfdPI:KEY:<KEY>END_PI]vdwPI:KEY:<KEY>END_PIqmrsnedjnvsomy[cmmaoebsohfrnqu]bzPI:KEY:<KEY>END_PIstdhoneuzfdPI:KEY:<KEY>END_PI
wPI:KEY:<KEY>END_PIvPI:KEY:<KEY>END_PIpvafPI:KEY:<KEY>END_PI[froxfavuvgvwirPI:KEY:<KEY>END_PI]avPI:KEY:<KEY>END_PI
edPI:KEY:<KEY>END_PImwPI:KEY:<KEY>END_PIgtiurhPI:KEY:<KEY>END_PIg[vjzrrmbPI:KEY:<KEY>END_PIyyPI:KEY:<KEY>END_PIliye]mpykPI:KEY:<KEY>END_PIdsaunzjkpPI:KEY:<KEY>END_PI[qdcecrxescwvlxmpi]gkfipuqdcpcqodcptya[pmdbisdhifodialab]wjucsoipfxzkkzwm
xmurhwryxntmdwwv[bveccegjmPI:KEY:<KEY>END_PI
kPI:KEY:<KEY>END_PIactjmqrluci[tefqrqmjpzpsazfoe]ptxqfezuvtxphvy
wmawphvozqxqtmq[qqtumumswsrpsnjug]wejsdbswswrjitmq
pdzwixvmkxpsxygxmp[zfxeglxxoxtkkmshin]hxjmzexyabkviollfnk[nfitohyddbdfqekaty]poexvcemyssklhllw
wyyiqymjavixnwcnxu[xnhhsqavbnggdqn]gymwgjatpsojwfj
iqdkuwpqylmwhfvm[bjgqryooacvjmxtrq]dqhwmcafwgedohws[ucnjhrhnvekrgjefzxq]opvzmoismjdmsezvle
ommglribbfvicgmugx[msedauwycskyoios]qrhxlnihnwmktihzp
laphdvdlixghsmjpsq[blbjmefxvnjnxmmc]hnzsqzhaenlzcvoq[ppyribixnyeucvjlv]fdogfvnymyznuuxa[pelyyutyolblxzp]fqgcltvxupdobson
apnimgsoqfmqlgmjsvm[rdpnruzylevyuir]wwfenkdjpmqnvyf
ltskflhfhupifhf[gwtcqaatnfjdgywo]kvguorbhzxfqrhxnij
kqaeviepbnrokflimj[zqzevrvhforlozy]orzvxhevxtzorkch
uhsjyhwppwarmrfed[nsfzcvrwjhfuwjta]nlthyhmaeghygqdaxdj[esqbskelpkfswkvwmr]stzggiejdzkhohumob[snlnvsgiktqewvpxhm]ahojfbcfgxqmmml
idlikoogcxqffrufcqi[vcuenzmwggmbsknfj]peoviabqngzwiqtvri
rigldzvrvmsmyakcjb[wwsutfoucqlgorxnu]bcuixkbifegcmltqibo[szoqsqlnduhgvhlza]pcvurfgchanmngh[glpfevaugptbhqqrd]vpndxitsihovocvong
jwfhrlvcglbtbdlix[vmhtfcvzlshpfcii]gosuawoykketkzdhw
bexfthnhhppzzutg[ewpudndaewfnwaht]wlnqstzsulregcwgmzw[atroqzyofendnnp]idtypgwyeatycgpde
ldhjuqeykeelckq[qrrabgedfafkzize]tfjpjpzsafansvygor[jpuzbjptblhydidkek]bbkncsznubtpoiahot
mqqxpkguxlmvyyk[vnxxtwxblmjdxjkhecj]shwgynlewfeegfwo[dgybavttexfiaod]ruobjihpitxxfwx[frpidegurggjllhq]kcfnatekrezeqoqnpqn
pfelcxohsnhpzjnrp[bmnzwycytvwquengc]weaysvdqdkhrprcpmw
llmwiwxeyezezpt[densmtrbqpiuwryg]pbgadfldspoahjimq[ugideashgoighvpiwid]pdvxaqoufmuvtrgs
ynviititdvccfewheh[phaubuotpzjwqfcrm]spytehersqqwhac
ktjvhepsakhdtvgoq[bnejcglklonqxmygyn]kbywvhkayojcufnwr[ipiujgjwknxzefdphq]zcmnmxqhuhjwqiue[dueiqqteiuvgyggtc]rbsyqjqegupwxbazttv
pgnoazapsklgvmejjr[hjzazneywdxkaki]gfwcgiyhuaovsye
qorimqvzoheryivfi[usbcrrdgseveupnqadf]bvedishdaepjjnrgftc
thxrgxhchpeczth[eneefpesxkgwuxpnyb]efgidnpfdesgcmkqllx[jglvknahzvxyegxxedi]cupoduyjkdpyajhirg
ltabaysmmffenou[fiPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
rkPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[txPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
obPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
yPI:KEY:<KEY>END_PI[gjPI:KEY:<KEY>END_PI]gxjPI:KEY:<KEY>END_PIhz
icsqqjcnPI:KEY:<KEY>END_PIckPI:KEY:<KEY>END_PIskoc[rhanawaofgbzenhxtfl]vsvuwijhjnaurwlb
zbqzykdfeunfcwslv[fnqtxugkwojhjjqg]vetgfnapdhvbdaiya
uxpnaesrcrudsmuxvk[zmffkqaufmoxgoelq]jldwuldydprcfgod
lcaqgsbmhyfmfszya[brvxpxjvmtrdkdmfm]cphjfsilvnsdqmpxob
cwxycngzriigcet[xltlzayrmdowajvins]rbfmarruugyqhvegod[nbyobbfqprdigngp]nkrwqcyinPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ftPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
gcPI:KEY:<KEY>END_PI[imPI:KEY:<KEY>END_PIpznyPI:KEY:<KEY>END_PIrvl]qPI:KEY:<KEY>END_PI[jwPI:KEY:<KEY>END_PIqf]PI:KEY:<KEY>END_PI[vizPI:KEY:<KEY>END_PIsPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[rkPI:KEY:<KEY>END_PIvuivyaequPI:KEY:<KEY>END_PI]jmyicPI:KEY:<KEY>END_PIygakPI:KEY:<KEY>END_PIzg
dvyalwumbdjeaocae[zonftyvegiqiquqac]osgmsdmqoclweiqi[xhgqrjylvorhpfkh]mmpkmrsideufseuyaj[ogtngcelyserepmqi]kjezmzobtremfefqz
ewovyikmmawzzrf[hcnunsbuuzhvduvyo]pdkiewvktjzzpqwvpdw
pwfklqtvnpsajdvtyoz[gntgytituioaybkpjqv]wteojggsgedrjqdi[xzvkngdojribistpis]xftjryqatcesygfzoa[zddmnkhceqxmznq]bssablulgiiovynaqrh
ztqjirnmogqbcfifh[vyeztcrzfxnegdyeed]redtifioqpfzykudrih
osawcjcmfchcpgyi[ffwhlengegnjvwqehkm]rvtkttwkeoefydz[cokaihziodpeurmbp]spjznidsrkpqhsoag[mautcyrrmxsnrlw]dastqkwpjbubonqagfx
jctsgqoqjqtodkhvvuu[ylovawrcpwpnzkfp]xtjdibtsmpbidvvdh[mmaecjrzneokajhkzc]wbwaapxadknspjujtp
izxxelepmvtrpcb[xwoxroumisiqgpqr]lvhyjhchdicledub
lqvelunldllnngme[lomutagiggypbbw]hdubyftczrctokdhvbl[ymxlvpbfiojaausmi]uqvhoaigwswemktiu[iipvkifnptbwuax]nidlqwimfttkbnmms
sewpymbrjgtmkqd[tldvdouashkzpbu]qjujogijyyqwbvzqe[xmhewesgbeyrqkbfj]heapyhfvnqovmlkz[sdffbynjptvodwocru]lwqkbkjseujzmqprv
oegfarvdcswdpnss[xgbroqaseklyoxl]wticmsitljjhgos
bfhlklvvprpfgxt[wczpqxciyyulsgf]fhlzqdaxyerlulakhbi[xgklnelwoygvyged]ynhbzkafydsmevse[dfcrqsfpouuvsycxi]otcdmymmlomedultqa
pvyddrxqxuxvzfqfl[nipfbquzzbmecwuu]pxzmehysojqnpna
vthwugdifklqusu[fmffwynjxyagyycbup]eaompujnjzaowbxmg
djekvgwpzkgwzwardaq[sjycmrggjjtzpzoq]zgagtgosiowypvz
bicemnivninwfubpi[enghcgyjwfuwqvfcrh]crycaojgzeqgyxdq[zxgbztjljhdhzpoy]ygxqydxramuikbawdoz
wdigyfqqrkjeseda[yjezqvkmaqfkcxgu]dwpaveednjywzth
vjeaiuwrhweqviyv[twssdwyckfswwqg]bujjzsuffbcddcqd
ouivgjbmmsmiezanss[mltubwnsjkijprjae]dxjbngvqbuzmtnxj[actzjkmbxwewlhmpz]aeweucknsntthwwvkmk
hqxgwpeaugpibuu[ftohsergcnnghmultwv]oobxyesnifpglsyumqx[wthgkfckhzdlzeh]tbvnqcewxwzutlf[dbsokgifbtstadxjlyv]hcagowbeupbbxvnnudp
fpgthpsgglztrnrjvs[rznddjrlsjtdrnufotn]nfoxdbhyvovsaratt
idauaxxyrjljwtqk[jtrvbiyczhqigjxfam]bsmzdrpeytyegsvitk
poxzegvwjgitaomcy[eatpylidmcjifnbyt]pxsatbkkqdylippyjd[nuwjwmoghmaptwgm]tarinkguhfewrxedty
whrppysnyuopewxlch[tqeujwwbfviqker]qvintkkgeyiysbl[zmhfxkhgptetdsq]jazfxPI:KEY:<KEY>END_PIuxxgPI:KEY:<KEY>END_PIcit[shbqapwgyduxmjdzs]sqmxfuntsqibnshlszq
byysjubuacsviouubxd[idvdypsyblnsmvvv]llcmcxizvdvtmksphjf
bfphxfyrcoddphmhwh[xvbfcujmhltkfiqaejg]wxxbzpwusjrylub[vcxoevvppeirkcl]bmsyjsnoixvozodjpm
amhqkszrkzcvumwjbr[wgobbxkqavcfedi]blkqusznjzozcwyatzt
chzanckbvfhvxoikx[jeyndyycqesiujnj]midrrqwphhqptlbgy[dcelctfpcmitlbrdu]wmrripumgjowiedxpcu
rbpkmcggsbshhytszrb[rjftwgbycnmyxxockku]nrtwwneopxuypblr[hovauqqiboxesfrqqfx]ytyygtytusfdjwco
ytuvowkwojtdqfjtmj[ssrmnlgjawuaqqrdpv]ugahrlchntdmkwkygr[ojlgerllesmyzdbnvc]zaztsxmsddgciyz[jdimgvtyvojseeavk]qvyupywbpmhgoppfwru
eirfjumdodlaevcsigl[befivodoxdnhfmqwkxc]qjaeppumixfpezjf
lqkzkupjsinhxws[oibgvhxxpewuebro]qbweuxvitezbungy[lapasshrjxcjgdooj]hmxejqpigbcprqregtu[pqqqhbjetacltithm]zhectfbzhtyyvkyazu
ihfadsstuwooioj[dfqkggnfiplpdcsnmx]ylmhqzhlwtxaxhx[yyqzppjaxhmgnlll]orngviyezsyopwfxmhu[pucykxnzcwdwnjzruf]axfmqcflmrxdldubnca
rsaoluhtqbbhahhk[ursokfyrzqvmjsq]xlniovtwozkeahaydy[nyualslnfurebmbnv]ehgueldltahorrpbbyr
lPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[yxPI:KEY:<KEY>END_PIexPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[rzPI:KEY:<KEY>END_PImjPI:KEY:<KEY>END_PIevPI:KEY:<KEY>END_PI]wjPI:KEY:<KEY>END_PI
pPI:KEY:<KEY>END_PIyyegx[pwkPI:KEY:<KEY>END_PIlhukPI:KEY:<KEY>END_PIavgq]ppPI:KEY:<KEY>END_PIkzrtyyPI:KEY:<KEY>END_PIsciep[rbobphjpqsmeuvgrjt]vlobPI:KEY:<KEY>END_PIuxuflrqfwPI:KEY:<KEY>END_PI[nijmtbnuuzplcprb]snfbebpcogbvkwf
cwflkfoevdvovrmn[xfkkrwrohqcdsdyuomb]ohirkxwgudwyepwtvm[ootlpxttypewmdjq]snhujgngvmxwpmagis[fmbwhgzljomkrdcph]pvfPI:KEY:<KEY>END_PInvzctahabni
eoczaktxgrPI:KEY:<KEY>END_PIwordn[rbhnrlgckthgxxuzu]htgvsgazuzqpkjoejg
wwadqndhcahxivixrpr[byzxpjmhnwsplkf]zgwftzdjcyjhuefzynn[pvifqpqbtfpvxmhma]atwcwmmvncdisnmw
cjbhnctazhwdvcvza[ydnxbdfkufaflga]tyxejwcbirwrznjbf[wmrholfqzuzmywhlx]yuglypghwrwzmduczd
sucrzntdgccanozz[dbyodxkqvfamarbda]iwcomrnnifahrolyhj[lldsewtcmdwovjto]kxnjfljadgqmjmmr[jpceairekkatfdo]loulprskwdwpwupvlow
rmkxvrnxpnlpgxk[ymfqtqhsulsvevgy]mwlnvrwgovdeimq
cjytdtwgtpfaoqpo[ekwzzukvazymdgcjbax]qmhoxsmtmokxfyggfsl[ghoubcwbxpcflxaoiqr]mhzvuhnaesfygwphehq
fjfuuxzzuifgatypkx[pqxsrnqgcfmmojf]drmywevzjvfsdwoe
aaltjjojczwavnn[wsduayllqabakudvkzo]lnkpzrwwahybafhnmlt
trzcoixqxcnlfmu[kxdaqkezsbtcrsel]aimhkjueidtzheak
knsjvqpezxmhuhawprd[zfschikoyuarwrpvh]jnwcjfkahqerhof[eiezpktdgiogoghnyq]xumsccawinipdfbk
qdxlgihyxpurnyesn[uoqazfufeeorudagpbq]doynfpdydwxymmbnh
hhxsolxzfchrnjue[qibcadmwrkmkbeye]xydgasalivcqoag[oyblkffxdgogkbjkk]denthwhcbyimeeyyb
oomceudfrpdpinwaw[umnoeimbzecoaprmqr]vnswrzldpdlfoaaaxv[ysmxmvvxuzozxtkar]eatvxgtbqcoquhhzzn
mrgnhaqqyhhvdfoo[brbrzbaajkxnrbkpsx]qknvrvpfabkczng
xtvcrctmszksrojch[bqfzfdhhsPI:KEY:<KEY>END_PI
jfPI:KEY:<KEY>END_PIxPI:KEY:<KEY>END_PIh[xqkthmkzmmfbesrPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
akPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
eorPI:KEY:<KEY>END_PIyakPI:KEY:<KEY>END_PIdtw[bpyrfrsjhfualPI:KEY:<KEY>END_PIyfPI:KEY:<KEY>END_PI]gPI:KEY:<KEY>END_PIrfPI:KEY:<KEY>END_PI
mPI:KEY:<KEY>END_PIkj[xlPI:KEY:<KEY>END_PI]iPI:KEY:<KEY>END_PI[tnPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[tosvPI:KEY:<KEY>END_PIefPI:KEY:<KEY>END_PI]uPI:KEY:<KEY>END_PI
emyPI:KEY:<KEY>END_PI[qwacPI:KEY:<KEY>END_PIitzPI:KEY:<KEY>END_PI]weqwomPI:KEY:<KEY>END_PI
dgnbvzkwdnxzuduvdee[palmkulrnlnjdyeavyi]cjgsjpbxpairrderw[nnoxigqxpkjzjhfxgxx]xdyxrtslnpmmtpotla[undscmvmhuxzohsdg]ghxcwnjphcmvttna
upPI:KEY:<KEY>END_PIbn[yiqPI:KEY:<KEY>END_PItwkbfyPI:KEY:<KEY>END_PI]dpPI:KEY:<KEY>END_PI[rrPI:KEY:<KEY>END_PIikyarnPI:KEY:<KEY>END_PIelpkPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI[ePI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
zPI:KEY:<KEY>END_PIahPI:KEY:<KEY>END_PIpy[dujudufydhkqlPI:KEY:<KEY>END_PI]ndalzjrPI:KEY:<KEY>END_PIwnjujPI:KEY:<KEY>END_PI
silotorivixpdydnd[wtsojgrfgugwoyo]pfihyfhusblbdodtej[hfclibenimixyexhble]gaglopphfrhqxikvw
ddejnfspvmvffpfyozn[odqqmwgalivbswfio]rbbkjhvnszgvfjtgog[fgvufpphptnjcmraha]adsajvzndnajmilk[ukslffqfzyvxyxy]njzcfhdqyrzzctmnxn
ehdmevcrfoeejfedbnz[cidowzljgyawbjmtzun]mxyjuechgccpwlxj[ynbdkyqvibsfwekcjr]qjilshucvucbebxmeyu
wfyklfdesrxsopcnj[otmmdkdasnvomdhef]lpbexhubcjmfwlt[maeuvtcgzoxemnreol]qbwqszxalocdbfbtge[wbvswinrpyzjbfrsr]tinsrsxtrfkizkeu
grorjgszsijwlhxfrjv[hmjhqmbipfjguwkzebl]kgphtaonflqlgbyk[qxnjzdupbhhsevc]tyflwvcpxchibnttwsn[ukpfpknbyacpxmoxzmp]dxzkerytewihuptx
csyjgthhgyhnjuxxg[sjqffhahrjyoqxncjcj]owwprabojlpraeyk
ibcaffhxenjnmvrnog[shqpfncawueqmpyj]hawlfakyplonsim
ftaeqqsyebdeveutf[tnifrefjkddtblslzwd]cbdooorsorxwxugrp
ioigxerknwyrzoztkv[ffkgwjfeowgtoxnyt]zhkhaqrcdjsvxctdj[ebntbwbxzbbqrdasjz]solgzrowmzozovz
jfmlobddfxzipyzyaj[qghvghaxzmuhrpifyf]idrqkcfvatwsyom[wncyawwmennmgio]luzaexvwjhxbryah
pjcydgylusqdexbb[nsoyssffvolztzns]mntwrdacovyfxcqfn
tagdiyuylrtvuyu[exjzdpmovyftjpxgj]vnswkkhaoldjfkwd
atowdglgkmbnrvyt[uzgadzquqpggiapdznk]snpqanyoeufutazn
nltynylwgqezegky[rawbwledrpbduldc]isupsldtvjtahlwjgz[upmovvichcymgwuoqrc]gyjptxtuaqcfixjuanz[cxzbiosnqkeaxlkrxh]yglfdtzazlkxgmrlel
ezensxwulgqdgytdfo[ozlmpzteuyjqrxocn]crruxzecnvrcpjurn
ycflwfbhueatnpimmkm[tbcsifgtkkwtxosxau]vsnyspuvhhfozxgjbbp[adcyzxtdknieifc]hjkfmbmxkrnksewsqjn
gffllhgsmlpxkktcq[wjqwhqrwepermblfolw]wzgcjyrpisbwyhnz[yjvzaqjsmdgazjuep]gregropoulmnagcvx[gfjkkejnxmpfbtecy]ufbqwnifaugffsai
xfrmlrlrhxsownybek[ryhsyltyflhjbmltndc]agtvigglsugquzbc
rshzvotgovlabfxr[sbuytwdobnvpwcax]bynmysulnnjmhkf
cevbpuyyvlutjcuutl[pfwloktlqbxfcogrc]dflejqcyvpasjowhsj[nscuwnjsrzehqamogtw]scemydqevrcuvhwxpe
nsbvubuyjrzsalkdwz[fooatkopdyvkxjgfho]jwojdgxqtlzxgna[vmkwusptfjbgmhq]xkzpfgkklnxunma
jovdewpqyfouyzpegwg[eigxaawljopqauy]cjvieeexlyiovsugif[wtkkpylnxtqrepkjei]jrdmibhhcftoeauh
flpwanunpldmcnated[unzsihvveyitclcf]gqxlznjbnpmiojuunu[kxihijtbrbyhkzosvk]xoxdqctctmroxoppilv[equfcbnltdiwdmahu]sxfloedvbznwctnuqt
wtktlikeigdndpyw[dspimpajtzfzmfya]rmmuigyferofztnuir
thnfrvngjhjrwdatdc[vwmnddbpbakuapirel]qojpomziuupsfysyfng[gkgjyjoovotmjwwgvrq]xxfsycfupudisdbtk[hnieklknhbwcfka]qbanhtkdijnnfegs
mazcgrfwolhhbtman[jokgcthhpopluovccrg]eybriinzdwjyfjes
kwxxubruqgrsifrpuxe[pqjcuxzpykriher]rcjvrturrhxqhjndj[umqwgmhgidzakfnk]nzbPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
fiPI:KEY:<KEY>END_PI[gPI:KEY:<KEY>END_PIfutPI:KEY:<KEY>END_PIdnPI:KEY:<KEY>END_PI]abzPI:KEY:<KEY>END_PIosvPI:KEY:<KEY>END_PI[vpqwPI:KEY:<KEY>END_PIzPI:KEY:<KEY>END_PI]zPI:KEY:<KEY>END_PI
nyPI:KEY:<KEY>END_PI[dPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI
uwdcywcarjujlnh[qvtowczbkenlghcmara]kfhcbnrkorcoyhkww[mzzwrpwwkrnnfavjxk]hcjjzxeynegdpfwdw
xtgkbqtzbeptcxPI:KEY:<KEY>END_PIjxl[jzmbcxsmcrtjtqi]wnhqmctldgxjbrtio[brnnosnckhalqzqsyyv]uhungebnygpsmpzmj
xrqpPI:KEY:<KEY>END_PIsqPI:KEY:<KEY>END_PIlqcdglgf[ziiwwokpqiinmqe]stagyposntgyxnh[ubxzaskwfzlfrmw]fimsoerydnghxlg
bdPI:KEY:<KEY>END_PItpixPI:KEY:<KEY>END_PIcdPI:KEY:<KEY>END_PI[xPI:KEY:<KEY>END_PIznPI:KEY:<KEY>END_PIblksso]wgPI:KEY:<KEY>END_PIjqirPI:KEY:<KEY>END_PIqvgg[pbgnckfbdinPI:KEY:<KEY>END_PIpkPI:KEY:<KEY>END_PI]mqPI:KEY:<KEY>END_PI
xxPI:KEY:<KEY>END_PIstlPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PIyPI:KEY:<KEY>END_PI[czlhqkifhucxqanafx]jPI:KEY:<KEY>END_PIaxiPI:KEY:<KEY>END_PIrnneudczrtn
jhcmhtveqenmeczz[rcpnnuwvwiyfjxo]bvtashqfjcnbrqy[ebgihcdcimvgdwochq]pmallgnuofajusz
ltzknsdqzdmbpxipt[golssizcvkrcmquotrj]nqjkcgdagjqzvri[xzehrntfgcnmgrh]devpsfftuonmevocw
wgklxpmeoznyxtukh[nevjkmpvlbaulxjieh]wopqaknwlwjquxt[mxzczmngcaxharjipt]tuvwngrmylububv[ryewaqhshtogggdvc]xpkbqydbwshscjcw
uglrhqngbxqtqmdlyym[ihdwlwfqiwnigvyarcw]miyynkctggbwzfkq[rqycaudamvwoxju]mmnzentjyyddntnpgxf[qjryduwnivawjepknli]toodveiqtzjxjvq
tkgmnxgifkqzuut[csyogdborjrnygg]rpcbucosajyyyelju[bbujqtlveymlqesvg]wvyfimibeynzhsotymx[tqxldisulrhuckef]kgqjgtaluastnwev
qifwiunabpnzezlmhh[ffwsncvlqpulttkx]wlwdpgntblnoubom[PI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PIkrtywkhPI:KEY:<KEY>END_PIfah[vufpfwhtxzbdqnraz]kklboeggazttzui
tplrraxhaaaoczdpg[vzbnososnioajien]dvdckrkfdetoofpi[bywkgphzoglisygthku]gxtnstjmffnepin[evccrlnwjthfxhhqzc]lisguwkfwswblzc
lyluhnglmfippljtwww[wnkwnwwsasqbrnlo]nilnannzjbpgbjs
iknqwrvlcztavivxmh[vtfyhjzauqbyjchjt]zxmasnczpxlusknrmtf[yvfnxlrwgfxkdlj]otlivjvbvilezalha
xbrzzccetyjzrlt[buwwhcatpcchdvhel]wosdwuuzpekifdhhvpy[twwoaezcowxvioqsrrd]uuygkhojhlcofza
wqeintsbeqzjpuvx[wqlcamjmpbtqqzjcy]czhyqcurqkfnnkoltja[lozjcddygpevnxebmqd]avwqdpfxcrcvmalaczo
aecvebozlythtcfzt[uisdkrrjeboxpuclbg]sjxcgygpeuirukx[zeoyaxgdyzfkprewiyc]rdlnzpbwgztivpdon[sfcqbpfgffkchksmfjp]yfgrlxiixyurxupuoij
vnglyokdpxlgphpw[bjnaqkjojazyryswr]bekdduuwrqabarzwzh
fcggyliuipcvnimphib[adkvjaembjcqbcc]envpiocijefswhv
pgraswoweceiftu[khhpmbjghxgmhsud]axqjkekmecwunefk[pvelpeorryjcstk]lruensapttjtyxnr
jomdrazkwryxuyc[qolcqhwdidalguboza]fcofbrgowezhbyqckrw[wurpvelnhdewfoita]swxwyfynaymvrhleuj[icdlergnbqmowlxjl]vxcwgvrvpdejoybt
axbedlkxkmbvwacv[uabrmhoepcgtsdmjjzy]iqqpitszpejeeophjmv
gmltcuvpeuofwteput[eyxdpnceufobjelir]hvajyjjzgkyrtgvrfs
sfyyzksaymsvykmr[xjewfmfhhbrmwzf]cbzjmltnzvcodwtytbz[ewgckbdvfnkkyxyj]dfcrjyoakdyggbsxm
wxjalqmicPI:KEY:<KEY>END_PIwkzakcy[mothnPI:KEY:<KEY>END_PIvgypeacecvz]hbjasxlsbbgPI:KEY:<KEY>END_PIfdptk
qtsPI:KEY:<KEY>END_PIhqPI:KEY:<KEY>END_PIkjz[skpdhegagxxbmayy]eaojrccgpxovqpi[ixyljrfgswullqnbzdz]etvomvkwpzpxxcj
mbnifyngahvfhtfhql[azcbyxkvcnoatuo]scgddcntikvavaseu
uciiofzqjkhndnzx[hoyxdxfahorycpfcofk]epeazzccheaegyobu[sculkaizijfqcrpjl]nrvfdtpvgoqioomvmv[axmvmzytxnbfcsjf]fccriiwmdaveeyamwp
sxizvuhprsyyxgfqgqx[zwszjxransryibshzw]ikquiagnkoqexlsqypb[zpuqrhaqvkuvhiqk]pvuqiqxpjtsyqgcyr
svjudmyxlshxbbvawl[inswkufalzfwoumcv]hrobewddabqsiuej[ulhptknpxcwqxjxanjd]osfyeygptwfjmvrma[pnuynwtwuulsizw]srhurplerqabvouelhn
islwmbcjeljkceppiw[whvcrbqzgtcfbcuv]tcyzkgyzdaekgnzzmz[ddefwmnklcddlhow]npzbtwmzmhjtzljnr
lgdjrkugqewlqxvn[wtvrzflzauwcxkyp]qbswluceqlesdfwy[kbtmzcvoubbiqfc]honrvxwcqsgphvkt[PI:KEY:<KEY>END_PI]efPI:KEY:<KEY>END_PIvPI:KEY:<KEY>END_PIt
kozePI:KEY:<KEY>END_PIerpsrgmub[dbtinyialvlkgilue]pyqdyodlttsnrsmfvca
mgfmdcxibcgzhrfmm[mzvyabccrdzlaiij]arnetejwseofkwqvxi[fylixbrjhxdfhiewbnb]wvndnswxdnbcktp[tetomqdkfmcndddruy]biuxgrvctlbbrqmxjp
snjnfgbtgpkouxlpd[vapbqurlxyrduxqy]meyhgdsbvkdadsfozf
fgknedldithvaoxqpl[mihhhdrtpjmoridqamt]vfupazymsipoana[ngqkziyavxkyukp]qqysmfkyaxbuytr
fugbgojgdeavlmrut[zpukymkjkapibmhg]mmdesmcwbhlfugkdiz
lhhhlyioiiknkray[omilmxkodlmvzhkgbaf]cyftkgjpvjvdnortlj[ifljdtkgscmnmxsq]nxtettqnuaotfsh
whayrxopbtvnpobokn[jfbobalkbfjxcsn]jjucgwedwbcfrdginaf[atdoatealbqhiks]alzapbxuvmivqfgpg[qhzdwsbvcbtlpchem]pxxskedydgisthkatn
xzreuonsdqobzpxr[zamxighfvnaxqum]olbigclentyvugtuvg[ysrgcksohtkvcqmksqr]gnaqqezdmnfbbnir
gmmabzkwsehkwjnevvd[uuzdntitdazeykwek]aebpajrwpyknqgx[kczhcuveeawmdiwljzl]ugwigmilwkczrcqnfo[piezzmfwnfdhnlbranp]qhremthdwdegacvptfe
tcqhlxasqmbwzuiuirp[kfqoequocdsfwqt]ikhdkpkmeezfzfyyilf[lrorfowgsqkflwauhu]zshoiccvfwohudsmdcr[zohspdmqcdvgagdknr]zabaqgsmrwkrtcuyct
fzanofpykognmio[ladtxyissyfrssobo]xqpwrgPI:KEY:<KEY>END_PIgqPI:KEY:<KEY>END_PIokPI:KEY:<KEY>END_PI
hynPI:KEY:<KEY>END_PIzoPI:KEY:<KEY>END_PIaezPI:KEY:<KEY>END_PI[iqtpgjpngPI:KEY:<KEY>END_PIwhPI:KEY:<KEY>END_PIailPI:KEY:<KEY>END_PI]wPI:KEY:<KEY>END_PIimPI:KEY:<KEY>END_PIjrPI:KEY:<KEY>END_PI
lpPI:KEY:<KEY>END_PI[dcPI:KEY:<KEY>END_PI]PI:KEY:<KEY>END_PI[ogPI:KEY:<KEY>END_PIaqPI:KEY:<KEY>END_PIvqPI:KEY:<KEY>END_PI]xPI:KEY:<KEY>END_PI[qPI:KEY:<KEY>END_PIxkPI:KEY:<KEY>END_PI]gPI:KEY:<KEY>END_PIinxPI:KEY:<KEY>END_PI[PI:KEY:<KEY>END_PI
lPI:KEY:<KEY>END_PI[bfetstrPI:KEY:<KEY>END_PImoosbw]hzPI:KEY:<KEY>END_PIjpxPI:KEY:<KEY>END_PIcnPI:KEY:<KEY>END_PIwosn[dquibbrojgurqiqPI:KEY:<KEY>END_PI]acePI:KEY:<KEY>END_PIsnyrnfPI:KEY:<KEY>END_PIcsd[quqxmzPI:KEY:<KEY>END_PIqvspvsemjpn]noxrndgdrkffsdvh
bytcvwxuavajevmde[nhmjatzolmbdfgogup]qpildujniqlnfbmuf[gxpgorlbxpqfsoreuey]hcfyjmkoywueuivrio
amvudustnspjqsbpjp[wdudhbvvlgzbbbwlafg]kwpyjvuerzyzmzft
vwpklmfpzssyoifbb[bwtpxodxedpdsvgu]azathmhdnqkhbmrdlxn
iwzncixpjxypnmykke[wlhvfjbumhmtachoab]wtftbolwhpwnropnzv[zhfcmkbwizknymev]twrumqadwvsaciwbwoi[evodjtvrucrzgtwio]fmmbddkwwpaziycik
dkodbaotlfdaphwzbcc[ldzeemqiovyqjgs]qxibabdusgaistkru[usglloxgycyynmp]aaocvclsocababbzxeg[liaacgfxytuqudp]jvvqsypuoduyhvraak
bwzsacxgqkbjycgfw[dbnligvrmqscasutn]rbgybqqsgjvlonkut"""
parsedInput : List IPv7
parsedInput =
String.lines rawInput
|> List.map mapAddress
type alias IPv7 =
{ hypernets : List String
, supernets : List String
}
mapAddress : String -> IPv7
mapAddress line =
{ supernets = parse supernetPattern line
, hypernets = parse hypernetPattern line
}
parse : Regex.Regex -> String -> List String
parse regex =
Regex.find regex >> List.map .submatches >> List.concat >> List.filterMap identity
supernetPattern : Regex
supernetPattern =
Regex.fromString "(?:^|\\])(\\w+)\\[*"
|> Maybe.withDefault Regex.never
hypernetPattern : Regex
hypernetPattern =
Regex.fromString "\\[(\\w+)\\]"
|> Maybe.withDefault Regex.never
| elm |
[
{
"context": "label [ for \"name\", class \"input-label\" ] [ text \"Team Name\" ]\n , input\n [ id \"name",
"end": 15820,
"score": 0.7949758768,
"start": 15811,
"tag": "NAME",
"value": "Team Name"
},
{
"context": " , name \"name\"\n , placeholder \"Acme, Co.\"\n , value model.name\n ",
"end": 16084,
"score": 0.936686635,
"start": 16076,
"tag": "NAME",
"value": "Acme, Co"
},
{
"context": "ame \"slug\"\n , placeholder \"smith-co\"\n , value model.slug\n ",
"end": 17257,
"score": 0.9923195243,
"start": 17249,
"tag": "USERNAME",
"value": "smith-co"
}
] | assets/elm/src/Page/Settings.elm | mindriot101/level | 928 | module Page.Settings exposing (Model, Msg(..), consumeEvent, init, setup, subscriptions, teardown, title, update, view)
import Avatar
import Browser.Navigation as Nav
import Device exposing (Device)
import DigestSettings exposing (DigestSettings)
import Event exposing (Event)
import File exposing (File)
import Flash
import Globals exposing (Globals)
import Group exposing (Group)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Id exposing (Id)
import Json.Decode as Decode
import Layout.SpaceDesktop
import Layout.SpaceMobile
import ListHelpers exposing (insertUniqueBy, removeBy)
import Minutes
import Mutation.CreateNudge as CreateNudge
import Mutation.DeleteNudge as DeleteNudge
import Mutation.UpdateDigestSettings as UpdateDigestSettings
import Mutation.UpdateSpace as UpdateSpace
import Mutation.UpdateSpaceAvatar as UpdateSpaceAvatar
import Nudge exposing (Nudge)
import Query.SettingsInit as SettingsInit
import Repo exposing (Repo)
import Route exposing (Route)
import Route.Settings exposing (Params)
import Scroll
import Session exposing (Session)
import Space exposing (Space)
import SpaceUser exposing (SpaceUser)
import Task exposing (Task)
import ValidationError exposing (ValidationError, errorView, errorsFor, errorsNotFor, isInvalid)
import Vendor.Keys as Keys exposing (Modifier(..), enter, onKeydown, preventDefault)
import View.Helpers exposing (viewIf)
import View.Nudges
-- MODEL
type alias Model =
{ params : Params
, viewerId : Id
, spaceId : Id
, name : String
, slug : String
, digestSettings : DigestSettings
, nudges : List Nudge
, timeZone : String
, avatarUrl : Maybe String
, errors : List ValidationError
, isSubmitting : Bool
, newAvatar : Maybe File
-- MOBILE
, showNav : Bool
}
type alias Data =
{ viewer : SpaceUser
, space : Space
}
resolveData : Repo -> Model -> Maybe Data
resolveData repo model =
Maybe.map2 Data
(Repo.getSpaceUser model.viewerId repo)
(Repo.getSpace model.spaceId repo)
-- PAGE PROPERTIES
title : String
title =
"Settings"
-- LIFECYCLE
init : Params -> Globals -> Task Session.Error ( Globals, Model )
init params globals =
globals.session
|> SettingsInit.request (Route.Settings.getSpaceSlug params)
|> Task.map (buildModel params globals)
buildModel : Params -> Globals -> ( Session, SettingsInit.Response ) -> ( Globals, Model )
buildModel params globals ( newSession, resp ) =
let
model =
Model
params
resp.viewerId
resp.spaceId
(Space.name resp.space)
(Space.slug resp.space)
resp.digestSettings
resp.nudges
resp.timeZone
(Space.avatarUrl resp.space)
[]
False
Nothing
False
newRepo =
Repo.union resp.repo globals.repo
in
( { globals | session = newSession, repo = newRepo }, model )
setup : Model -> Cmd Msg
setup model =
Scroll.toDocumentTop NoOp
teardown : Model -> Cmd Msg
teardown model =
Cmd.none
-- UPDATE
type Msg
= NoOp
| ToggleKeyboardCommands
| ToggleNotifications
| InternalLinkClicked String
| NameChanged String
| SlugChanged String
| Submit
| Submitted (Result Session.Error ( Session, UpdateSpace.Response ))
| AvatarSubmitted (Result Session.Error ( Session, UpdateSpaceAvatar.Response ))
| AvatarSelected
| FileReceived Decode.Value
| DigestToggled
| DigestSettingsUpdated (Result Session.Error ( Session, UpdateDigestSettings.Response ))
| NudgeToggled Int
| NudgeCreated (Result Session.Error ( Session, CreateNudge.Response ))
| NudgeDeleted (Result Session.Error ( Session, DeleteNudge.Response ))
-- MOBILE
| NavToggled
| ScrollTopClicked
update : Msg -> Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
update msg globals model =
case msg of
NoOp ->
noCmd globals model
ToggleKeyboardCommands ->
( ( model, Cmd.none ), { globals | showKeyboardCommands = not globals.showKeyboardCommands } )
ToggleNotifications ->
( ( model, Cmd.none ), { globals | showNotifications = not globals.showNotifications } )
InternalLinkClicked pathname ->
( ( model, Nav.pushUrl globals.navKey pathname ), globals )
NameChanged val ->
noCmd globals { model | name = val }
SlugChanged val ->
noCmd globals { model | slug = val }
Submit ->
let
cmd =
globals.session
|> UpdateSpace.request model.spaceId model.name model.slug
|> Task.attempt Submitted
in
( ( { model | isSubmitting = True, errors = [] }, cmd ), globals )
Submitted (Ok ( newSession, UpdateSpace.Success space )) ->
let
newGlobals =
{ globals
| session = newSession
, flash = Flash.set Flash.Notice "Settings saved" 3000 globals.flash
}
in
noCmd newGlobals
{ model
| name = Space.name space
, slug = Space.slug space
, isSubmitting = False
}
Submitted (Ok ( newSession, UpdateSpace.Invalid errors )) ->
noCmd { globals | session = newSession } { model | isSubmitting = False, errors = errors }
Submitted (Err Session.Expired) ->
redirectToLogin globals model
Submitted (Err _) ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
AvatarSelected ->
( ( model, File.request "avatar" ), globals )
FileReceived value ->
case Decode.decodeValue File.decoder value of
Ok file ->
let
cmd =
case File.getContents file of
Just contents ->
globals.session
|> UpdateSpaceAvatar.request model.spaceId contents
|> Task.attempt AvatarSubmitted
Nothing ->
Cmd.none
in
( ( { model | newAvatar = Just file }, cmd ), globals )
_ ->
noCmd globals model
AvatarSubmitted (Ok ( newSession, UpdateSpaceAvatar.Success space )) ->
noCmd { globals | session = newSession } { model | avatarUrl = Space.avatarUrl space }
AvatarSubmitted (Ok ( newSession, UpdateSpaceAvatar.Invalid errors )) ->
noCmd { globals | session = newSession } { model | errors = errors }
AvatarSubmitted (Err Session.Expired) ->
redirectToLogin globals model
AvatarSubmitted (Err _) ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
DigestToggled ->
let
cmd =
globals.session
|> UpdateDigestSettings.request model.spaceId (not (DigestSettings.isEnabled model.digestSettings))
|> Task.attempt DigestSettingsUpdated
in
( ( { model | digestSettings = DigestSettings.toggle model.digestSettings }, cmd ), globals )
DigestSettingsUpdated (Ok ( newSession, UpdateDigestSettings.Success newDigestSettings )) ->
( ( { model | digestSettings = newDigestSettings, isSubmitting = False }
, Cmd.none
)
, { globals
| session = newSession
, flash = Flash.set Flash.Notice "Digest updated" 3000 globals.flash
}
)
DigestSettingsUpdated (Err Session.Expired) ->
redirectToLogin globals model
DigestSettingsUpdated _ ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
NudgeToggled minute ->
let
cmd =
case nudgeAt minute model of
Just nudge ->
globals.session
|> DeleteNudge.request (DeleteNudge.variables model.spaceId (Nudge.id nudge))
|> Task.attempt NudgeDeleted
Nothing ->
globals.session
|> CreateNudge.request (CreateNudge.variables model.spaceId minute)
|> Task.attempt NudgeCreated
in
( ( model, cmd ), globals )
NudgeCreated (Ok ( newSession, CreateNudge.Success nudge )) ->
let
newNudges =
nudge :: model.nudges
in
( ( { model | nudges = newNudges }, Cmd.none )
, { globals | session = newSession }
)
NudgeCreated (Err Session.Expired) ->
redirectToLogin globals model
NudgeCreated _ ->
noCmd globals model
NudgeDeleted (Ok ( newSession, DeleteNudge.Success nudge )) ->
let
newNudges =
removeBy Nudge.id nudge model.nudges
in
( ( { model | nudges = newNudges }, Cmd.none )
, { globals | session = newSession }
)
NudgeDeleted (Err Session.Expired) ->
redirectToLogin globals model
NudgeDeleted _ ->
noCmd globals model
NavToggled ->
( ( { model | showNav = not model.showNav }, Cmd.none ), globals )
ScrollTopClicked ->
( ( model, Scroll.toDocumentTop NoOp ), globals )
noCmd : Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
noCmd globals model =
( ( model, Cmd.none ), globals )
redirectToLogin : Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
redirectToLogin globals model =
( ( model, Route.toLogin ), globals )
-- EVENTS
consumeEvent : Event -> Model -> ( Model, Cmd Msg )
consumeEvent event model =
( model, Cmd.none )
-- SUBSCRIPTIONS
subscriptions : Sub Msg
subscriptions =
File.receive FileReceived
-- VIEW
view : Globals -> Model -> Html Msg
view globals model =
case resolveData globals.repo model of
Just data ->
resolvedView globals model data
Nothing ->
text "Something went wrong."
resolvedView : Globals -> Model -> Data -> Html Msg
resolvedView globals model data =
case globals.device of
Device.Desktop ->
resolvedDesktopView globals model data
Device.Mobile ->
resolvedMobileView globals model data
-- DESKTOP
resolvedDesktopView : Globals -> Model -> Data -> Html Msg
resolvedDesktopView globals model data =
let
config =
{ globals = globals
, space = data.space
, spaceUser = data.viewer
, onNoOp = NoOp
, onToggleKeyboardCommands = ToggleKeyboardCommands
, onPageClicked = NoOp
}
in
Layout.SpaceDesktop.layout config
[ div [ class "mx-auto max-w-md leading-normal p-8" ]
[ div [ class "pb-4" ]
[ h1 [ class "font-bold tracking-semi-tight text-3xl" ] [ text "Settings" ]
]
, div [ class "flex items-baseline mb-6 border-b" ]
[ filterTab Device.Desktop "Preferences" Route.Settings.Preferences (Route.Settings.setSection Route.Settings.Preferences model.params) model.params
, viewIf (Space.canUpdate data.space) <|
filterTab Device.Desktop "Team Settings" Route.Settings.Space (Route.Settings.setSection Route.Settings.Space model.params) model.params
]
, viewIf (Route.Settings.getSection model.params == Route.Settings.Preferences) <|
preferencesView Device.Desktop model data
, viewIf (Route.Settings.getSection model.params == Route.Settings.Space) <|
spaceSettingsView model data
]
]
-- MOBILE
resolvedMobileView : Globals -> Model -> Data -> Html Msg
resolvedMobileView globals model data =
let
config =
{ globals = globals
, space = data.space
, spaceUser = data.viewer
, title = "Settings"
, showNav = model.showNav
, onNavToggled = NavToggled
, onSidebarToggled = NoOp
, onScrollTopClicked = ScrollTopClicked
, onNoOp = NoOp
, leftControl = Layout.SpaceMobile.ShowNav
, rightControl = Layout.SpaceMobile.NoControl
}
in
Layout.SpaceMobile.layout config
[ div [ class "flex justify-center items-baseline mb-2 pt-2 border-b" ]
[ filterTab Device.Mobile "Preferences" Route.Settings.Preferences (Route.Settings.setSection Route.Settings.Preferences model.params) model.params
, viewIf (Space.canUpdate data.space) <|
filterTab Device.Mobile "Team Settings" Route.Settings.Space (Route.Settings.setSection Route.Settings.Space model.params) model.params
]
, div [ class "p-5" ]
[ viewIf (Route.Settings.getSection model.params == Route.Settings.Preferences) <|
preferencesView Device.Mobile model data
, viewIf (Route.Settings.getSection model.params == Route.Settings.Space) <|
spaceSettingsView model data
]
]
-- SHARED
preferencesView : Device -> Model -> Data -> Html Msg
preferencesView device model data =
div []
[ nudgesView device model data
, digestsView model data
]
nudgesView : Device -> Model -> Data -> Html Msg
nudgesView device model data =
let
config =
View.Nudges.Config NudgeToggled model.nudges model.timeZone
in
div [ class "mb-8" ]
[ h2 [ class "mb-2 text-dusty-blue-darker text-xl font-bold" ] [ text "Batched Notifications" ]
, p [ class "mb-4" ] [ text "Configure the times of day when Level should notify you about new Inbox activity." ]
, viewIf (device == Device.Desktop) (View.Nudges.desktopView config)
, viewIf (device == Device.Mobile) (View.Nudges.mobileView config)
]
digestsView : Model -> Data -> Html Msg
digestsView model data =
div []
[ h2 [ class "mb-2 text-dusty-blue-darker text-xl font-bold" ] [ text "Daily Summary" ]
, p [ class "mb-6" ] [ text "This email reminds you what's in your Inbox and summarizes recent activity in the channels you follow." ]
, label [ class "control checkbox pb-6" ]
[ input
[ type_ "checkbox"
, class "checkbox"
, onClick DigestToggled
, checked (DigestSettings.isEnabled model.digestSettings)
, disabled model.isSubmitting
]
[]
, span [ class "control-indicator" ] []
, span [ class "select-none text-dusty-blue-dark" ] [ text "Email me a daily summary" ]
]
]
spaceSettingsView : Model -> Data -> Html Msg
spaceSettingsView model data =
div []
[ div [ class "pb-6" ]
[ label [ for "name", class "input-label" ] [ text "Team Name" ]
, input
[ id "name"
, type_ "text"
, classList [ ( "input-field", True ), ( "input-field-error", isInvalid "name" model.errors ) ]
, name "name"
, placeholder "Acme, Co."
, value model.name
, onInput NameChanged
, onKeydown preventDefault [ ( [], enter, \event -> Submit ) ]
, disabled model.isSubmitting
]
[]
, errorView "name" model.errors
]
, div [ class "pb-6" ]
[ label [ for "slug", class "input-label" ] [ text "URL" ]
, div
[ classList
[ ( "input-field inline-flex leading-none items-baseline", True )
, ( "input-field-error", isInvalid "slug" model.errors )
]
]
[ label
[ for "slug"
, class "flex-none text-dusty-blue-darker select-none"
]
[ text "levelteams.com/" ]
, div [ class "flex-1" ]
[ input
[ id "slug"
, type_ "text"
, class "placeholder-blue w-full p-0 no-outline text-dusty-blue-darker"
, name "slug"
, placeholder "smith-co"
, value model.slug
, onInput SlugChanged
, onKeydown preventDefault [ ( [], enter, \event -> Submit ) ]
, disabled model.isSubmitting
]
[]
]
]
, errorView "slug" model.errors
]
, div [ class "pb-6" ]
[ label [ for "avatar", class "input-label" ] [ text "Team Logo" ]
, Avatar.uploader "avatar" model.avatarUrl AvatarSelected
]
, button
[ type_ "submit"
, class "btn btn-blue"
, onClick Submit
, disabled model.isSubmitting
]
[ text "Save settings" ]
]
filterTab : Device -> String -> Route.Settings.Section -> Params -> Params -> Html Msg
filterTab device label section linkParams currentParams =
let
isCurrent =
Route.Settings.getSection currentParams == section
in
a
[ Route.href (Route.Settings linkParams)
, classList
[ ( "block text-md py-3 px-4 border-b-3 border-transparent no-underline font-bold", True )
, ( "text-dusty-blue-dark", not isCurrent )
, ( "border-blue text-blue", isCurrent )
, ( "text-center min-w-100px", device == Device.Mobile )
]
]
[ text label ]
-- HELPERS
nudgeAt : Int -> Model -> Maybe Nudge
nudgeAt minute model =
model.nudges
|> List.filter (\nudge -> Nudge.minute nudge == minute)
|> List.head
| 53192 | module Page.Settings exposing (Model, Msg(..), consumeEvent, init, setup, subscriptions, teardown, title, update, view)
import Avatar
import Browser.Navigation as Nav
import Device exposing (Device)
import DigestSettings exposing (DigestSettings)
import Event exposing (Event)
import File exposing (File)
import Flash
import Globals exposing (Globals)
import Group exposing (Group)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Id exposing (Id)
import Json.Decode as Decode
import Layout.SpaceDesktop
import Layout.SpaceMobile
import ListHelpers exposing (insertUniqueBy, removeBy)
import Minutes
import Mutation.CreateNudge as CreateNudge
import Mutation.DeleteNudge as DeleteNudge
import Mutation.UpdateDigestSettings as UpdateDigestSettings
import Mutation.UpdateSpace as UpdateSpace
import Mutation.UpdateSpaceAvatar as UpdateSpaceAvatar
import Nudge exposing (Nudge)
import Query.SettingsInit as SettingsInit
import Repo exposing (Repo)
import Route exposing (Route)
import Route.Settings exposing (Params)
import Scroll
import Session exposing (Session)
import Space exposing (Space)
import SpaceUser exposing (SpaceUser)
import Task exposing (Task)
import ValidationError exposing (ValidationError, errorView, errorsFor, errorsNotFor, isInvalid)
import Vendor.Keys as Keys exposing (Modifier(..), enter, onKeydown, preventDefault)
import View.Helpers exposing (viewIf)
import View.Nudges
-- MODEL
type alias Model =
{ params : Params
, viewerId : Id
, spaceId : Id
, name : String
, slug : String
, digestSettings : DigestSettings
, nudges : List Nudge
, timeZone : String
, avatarUrl : Maybe String
, errors : List ValidationError
, isSubmitting : Bool
, newAvatar : Maybe File
-- MOBILE
, showNav : Bool
}
type alias Data =
{ viewer : SpaceUser
, space : Space
}
resolveData : Repo -> Model -> Maybe Data
resolveData repo model =
Maybe.map2 Data
(Repo.getSpaceUser model.viewerId repo)
(Repo.getSpace model.spaceId repo)
-- PAGE PROPERTIES
title : String
title =
"Settings"
-- LIFECYCLE
init : Params -> Globals -> Task Session.Error ( Globals, Model )
init params globals =
globals.session
|> SettingsInit.request (Route.Settings.getSpaceSlug params)
|> Task.map (buildModel params globals)
buildModel : Params -> Globals -> ( Session, SettingsInit.Response ) -> ( Globals, Model )
buildModel params globals ( newSession, resp ) =
let
model =
Model
params
resp.viewerId
resp.spaceId
(Space.name resp.space)
(Space.slug resp.space)
resp.digestSettings
resp.nudges
resp.timeZone
(Space.avatarUrl resp.space)
[]
False
Nothing
False
newRepo =
Repo.union resp.repo globals.repo
in
( { globals | session = newSession, repo = newRepo }, model )
setup : Model -> Cmd Msg
setup model =
Scroll.toDocumentTop NoOp
teardown : Model -> Cmd Msg
teardown model =
Cmd.none
-- UPDATE
type Msg
= NoOp
| ToggleKeyboardCommands
| ToggleNotifications
| InternalLinkClicked String
| NameChanged String
| SlugChanged String
| Submit
| Submitted (Result Session.Error ( Session, UpdateSpace.Response ))
| AvatarSubmitted (Result Session.Error ( Session, UpdateSpaceAvatar.Response ))
| AvatarSelected
| FileReceived Decode.Value
| DigestToggled
| DigestSettingsUpdated (Result Session.Error ( Session, UpdateDigestSettings.Response ))
| NudgeToggled Int
| NudgeCreated (Result Session.Error ( Session, CreateNudge.Response ))
| NudgeDeleted (Result Session.Error ( Session, DeleteNudge.Response ))
-- MOBILE
| NavToggled
| ScrollTopClicked
update : Msg -> Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
update msg globals model =
case msg of
NoOp ->
noCmd globals model
ToggleKeyboardCommands ->
( ( model, Cmd.none ), { globals | showKeyboardCommands = not globals.showKeyboardCommands } )
ToggleNotifications ->
( ( model, Cmd.none ), { globals | showNotifications = not globals.showNotifications } )
InternalLinkClicked pathname ->
( ( model, Nav.pushUrl globals.navKey pathname ), globals )
NameChanged val ->
noCmd globals { model | name = val }
SlugChanged val ->
noCmd globals { model | slug = val }
Submit ->
let
cmd =
globals.session
|> UpdateSpace.request model.spaceId model.name model.slug
|> Task.attempt Submitted
in
( ( { model | isSubmitting = True, errors = [] }, cmd ), globals )
Submitted (Ok ( newSession, UpdateSpace.Success space )) ->
let
newGlobals =
{ globals
| session = newSession
, flash = Flash.set Flash.Notice "Settings saved" 3000 globals.flash
}
in
noCmd newGlobals
{ model
| name = Space.name space
, slug = Space.slug space
, isSubmitting = False
}
Submitted (Ok ( newSession, UpdateSpace.Invalid errors )) ->
noCmd { globals | session = newSession } { model | isSubmitting = False, errors = errors }
Submitted (Err Session.Expired) ->
redirectToLogin globals model
Submitted (Err _) ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
AvatarSelected ->
( ( model, File.request "avatar" ), globals )
FileReceived value ->
case Decode.decodeValue File.decoder value of
Ok file ->
let
cmd =
case File.getContents file of
Just contents ->
globals.session
|> UpdateSpaceAvatar.request model.spaceId contents
|> Task.attempt AvatarSubmitted
Nothing ->
Cmd.none
in
( ( { model | newAvatar = Just file }, cmd ), globals )
_ ->
noCmd globals model
AvatarSubmitted (Ok ( newSession, UpdateSpaceAvatar.Success space )) ->
noCmd { globals | session = newSession } { model | avatarUrl = Space.avatarUrl space }
AvatarSubmitted (Ok ( newSession, UpdateSpaceAvatar.Invalid errors )) ->
noCmd { globals | session = newSession } { model | errors = errors }
AvatarSubmitted (Err Session.Expired) ->
redirectToLogin globals model
AvatarSubmitted (Err _) ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
DigestToggled ->
let
cmd =
globals.session
|> UpdateDigestSettings.request model.spaceId (not (DigestSettings.isEnabled model.digestSettings))
|> Task.attempt DigestSettingsUpdated
in
( ( { model | digestSettings = DigestSettings.toggle model.digestSettings }, cmd ), globals )
DigestSettingsUpdated (Ok ( newSession, UpdateDigestSettings.Success newDigestSettings )) ->
( ( { model | digestSettings = newDigestSettings, isSubmitting = False }
, Cmd.none
)
, { globals
| session = newSession
, flash = Flash.set Flash.Notice "Digest updated" 3000 globals.flash
}
)
DigestSettingsUpdated (Err Session.Expired) ->
redirectToLogin globals model
DigestSettingsUpdated _ ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
NudgeToggled minute ->
let
cmd =
case nudgeAt minute model of
Just nudge ->
globals.session
|> DeleteNudge.request (DeleteNudge.variables model.spaceId (Nudge.id nudge))
|> Task.attempt NudgeDeleted
Nothing ->
globals.session
|> CreateNudge.request (CreateNudge.variables model.spaceId minute)
|> Task.attempt NudgeCreated
in
( ( model, cmd ), globals )
NudgeCreated (Ok ( newSession, CreateNudge.Success nudge )) ->
let
newNudges =
nudge :: model.nudges
in
( ( { model | nudges = newNudges }, Cmd.none )
, { globals | session = newSession }
)
NudgeCreated (Err Session.Expired) ->
redirectToLogin globals model
NudgeCreated _ ->
noCmd globals model
NudgeDeleted (Ok ( newSession, DeleteNudge.Success nudge )) ->
let
newNudges =
removeBy Nudge.id nudge model.nudges
in
( ( { model | nudges = newNudges }, Cmd.none )
, { globals | session = newSession }
)
NudgeDeleted (Err Session.Expired) ->
redirectToLogin globals model
NudgeDeleted _ ->
noCmd globals model
NavToggled ->
( ( { model | showNav = not model.showNav }, Cmd.none ), globals )
ScrollTopClicked ->
( ( model, Scroll.toDocumentTop NoOp ), globals )
noCmd : Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
noCmd globals model =
( ( model, Cmd.none ), globals )
redirectToLogin : Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
redirectToLogin globals model =
( ( model, Route.toLogin ), globals )
-- EVENTS
consumeEvent : Event -> Model -> ( Model, Cmd Msg )
consumeEvent event model =
( model, Cmd.none )
-- SUBSCRIPTIONS
subscriptions : Sub Msg
subscriptions =
File.receive FileReceived
-- VIEW
view : Globals -> Model -> Html Msg
view globals model =
case resolveData globals.repo model of
Just data ->
resolvedView globals model data
Nothing ->
text "Something went wrong."
resolvedView : Globals -> Model -> Data -> Html Msg
resolvedView globals model data =
case globals.device of
Device.Desktop ->
resolvedDesktopView globals model data
Device.Mobile ->
resolvedMobileView globals model data
-- DESKTOP
resolvedDesktopView : Globals -> Model -> Data -> Html Msg
resolvedDesktopView globals model data =
let
config =
{ globals = globals
, space = data.space
, spaceUser = data.viewer
, onNoOp = NoOp
, onToggleKeyboardCommands = ToggleKeyboardCommands
, onPageClicked = NoOp
}
in
Layout.SpaceDesktop.layout config
[ div [ class "mx-auto max-w-md leading-normal p-8" ]
[ div [ class "pb-4" ]
[ h1 [ class "font-bold tracking-semi-tight text-3xl" ] [ text "Settings" ]
]
, div [ class "flex items-baseline mb-6 border-b" ]
[ filterTab Device.Desktop "Preferences" Route.Settings.Preferences (Route.Settings.setSection Route.Settings.Preferences model.params) model.params
, viewIf (Space.canUpdate data.space) <|
filterTab Device.Desktop "Team Settings" Route.Settings.Space (Route.Settings.setSection Route.Settings.Space model.params) model.params
]
, viewIf (Route.Settings.getSection model.params == Route.Settings.Preferences) <|
preferencesView Device.Desktop model data
, viewIf (Route.Settings.getSection model.params == Route.Settings.Space) <|
spaceSettingsView model data
]
]
-- MOBILE
resolvedMobileView : Globals -> Model -> Data -> Html Msg
resolvedMobileView globals model data =
let
config =
{ globals = globals
, space = data.space
, spaceUser = data.viewer
, title = "Settings"
, showNav = model.showNav
, onNavToggled = NavToggled
, onSidebarToggled = NoOp
, onScrollTopClicked = ScrollTopClicked
, onNoOp = NoOp
, leftControl = Layout.SpaceMobile.ShowNav
, rightControl = Layout.SpaceMobile.NoControl
}
in
Layout.SpaceMobile.layout config
[ div [ class "flex justify-center items-baseline mb-2 pt-2 border-b" ]
[ filterTab Device.Mobile "Preferences" Route.Settings.Preferences (Route.Settings.setSection Route.Settings.Preferences model.params) model.params
, viewIf (Space.canUpdate data.space) <|
filterTab Device.Mobile "Team Settings" Route.Settings.Space (Route.Settings.setSection Route.Settings.Space model.params) model.params
]
, div [ class "p-5" ]
[ viewIf (Route.Settings.getSection model.params == Route.Settings.Preferences) <|
preferencesView Device.Mobile model data
, viewIf (Route.Settings.getSection model.params == Route.Settings.Space) <|
spaceSettingsView model data
]
]
-- SHARED
preferencesView : Device -> Model -> Data -> Html Msg
preferencesView device model data =
div []
[ nudgesView device model data
, digestsView model data
]
nudgesView : Device -> Model -> Data -> Html Msg
nudgesView device model data =
let
config =
View.Nudges.Config NudgeToggled model.nudges model.timeZone
in
div [ class "mb-8" ]
[ h2 [ class "mb-2 text-dusty-blue-darker text-xl font-bold" ] [ text "Batched Notifications" ]
, p [ class "mb-4" ] [ text "Configure the times of day when Level should notify you about new Inbox activity." ]
, viewIf (device == Device.Desktop) (View.Nudges.desktopView config)
, viewIf (device == Device.Mobile) (View.Nudges.mobileView config)
]
digestsView : Model -> Data -> Html Msg
digestsView model data =
div []
[ h2 [ class "mb-2 text-dusty-blue-darker text-xl font-bold" ] [ text "Daily Summary" ]
, p [ class "mb-6" ] [ text "This email reminds you what's in your Inbox and summarizes recent activity in the channels you follow." ]
, label [ class "control checkbox pb-6" ]
[ input
[ type_ "checkbox"
, class "checkbox"
, onClick DigestToggled
, checked (DigestSettings.isEnabled model.digestSettings)
, disabled model.isSubmitting
]
[]
, span [ class "control-indicator" ] []
, span [ class "select-none text-dusty-blue-dark" ] [ text "Email me a daily summary" ]
]
]
spaceSettingsView : Model -> Data -> Html Msg
spaceSettingsView model data =
div []
[ div [ class "pb-6" ]
[ label [ for "name", class "input-label" ] [ text "<NAME>" ]
, input
[ id "name"
, type_ "text"
, classList [ ( "input-field", True ), ( "input-field-error", isInvalid "name" model.errors ) ]
, name "name"
, placeholder "<NAME>."
, value model.name
, onInput NameChanged
, onKeydown preventDefault [ ( [], enter, \event -> Submit ) ]
, disabled model.isSubmitting
]
[]
, errorView "name" model.errors
]
, div [ class "pb-6" ]
[ label [ for "slug", class "input-label" ] [ text "URL" ]
, div
[ classList
[ ( "input-field inline-flex leading-none items-baseline", True )
, ( "input-field-error", isInvalid "slug" model.errors )
]
]
[ label
[ for "slug"
, class "flex-none text-dusty-blue-darker select-none"
]
[ text "levelteams.com/" ]
, div [ class "flex-1" ]
[ input
[ id "slug"
, type_ "text"
, class "placeholder-blue w-full p-0 no-outline text-dusty-blue-darker"
, name "slug"
, placeholder "smith-co"
, value model.slug
, onInput SlugChanged
, onKeydown preventDefault [ ( [], enter, \event -> Submit ) ]
, disabled model.isSubmitting
]
[]
]
]
, errorView "slug" model.errors
]
, div [ class "pb-6" ]
[ label [ for "avatar", class "input-label" ] [ text "Team Logo" ]
, Avatar.uploader "avatar" model.avatarUrl AvatarSelected
]
, button
[ type_ "submit"
, class "btn btn-blue"
, onClick Submit
, disabled model.isSubmitting
]
[ text "Save settings" ]
]
filterTab : Device -> String -> Route.Settings.Section -> Params -> Params -> Html Msg
filterTab device label section linkParams currentParams =
let
isCurrent =
Route.Settings.getSection currentParams == section
in
a
[ Route.href (Route.Settings linkParams)
, classList
[ ( "block text-md py-3 px-4 border-b-3 border-transparent no-underline font-bold", True )
, ( "text-dusty-blue-dark", not isCurrent )
, ( "border-blue text-blue", isCurrent )
, ( "text-center min-w-100px", device == Device.Mobile )
]
]
[ text label ]
-- HELPERS
nudgeAt : Int -> Model -> Maybe Nudge
nudgeAt minute model =
model.nudges
|> List.filter (\nudge -> Nudge.minute nudge == minute)
|> List.head
| true | module Page.Settings exposing (Model, Msg(..), consumeEvent, init, setup, subscriptions, teardown, title, update, view)
import Avatar
import Browser.Navigation as Nav
import Device exposing (Device)
import DigestSettings exposing (DigestSettings)
import Event exposing (Event)
import File exposing (File)
import Flash
import Globals exposing (Globals)
import Group exposing (Group)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Id exposing (Id)
import Json.Decode as Decode
import Layout.SpaceDesktop
import Layout.SpaceMobile
import ListHelpers exposing (insertUniqueBy, removeBy)
import Minutes
import Mutation.CreateNudge as CreateNudge
import Mutation.DeleteNudge as DeleteNudge
import Mutation.UpdateDigestSettings as UpdateDigestSettings
import Mutation.UpdateSpace as UpdateSpace
import Mutation.UpdateSpaceAvatar as UpdateSpaceAvatar
import Nudge exposing (Nudge)
import Query.SettingsInit as SettingsInit
import Repo exposing (Repo)
import Route exposing (Route)
import Route.Settings exposing (Params)
import Scroll
import Session exposing (Session)
import Space exposing (Space)
import SpaceUser exposing (SpaceUser)
import Task exposing (Task)
import ValidationError exposing (ValidationError, errorView, errorsFor, errorsNotFor, isInvalid)
import Vendor.Keys as Keys exposing (Modifier(..), enter, onKeydown, preventDefault)
import View.Helpers exposing (viewIf)
import View.Nudges
-- MODEL
type alias Model =
{ params : Params
, viewerId : Id
, spaceId : Id
, name : String
, slug : String
, digestSettings : DigestSettings
, nudges : List Nudge
, timeZone : String
, avatarUrl : Maybe String
, errors : List ValidationError
, isSubmitting : Bool
, newAvatar : Maybe File
-- MOBILE
, showNav : Bool
}
type alias Data =
{ viewer : SpaceUser
, space : Space
}
resolveData : Repo -> Model -> Maybe Data
resolveData repo model =
Maybe.map2 Data
(Repo.getSpaceUser model.viewerId repo)
(Repo.getSpace model.spaceId repo)
-- PAGE PROPERTIES
title : String
title =
"Settings"
-- LIFECYCLE
init : Params -> Globals -> Task Session.Error ( Globals, Model )
init params globals =
globals.session
|> SettingsInit.request (Route.Settings.getSpaceSlug params)
|> Task.map (buildModel params globals)
buildModel : Params -> Globals -> ( Session, SettingsInit.Response ) -> ( Globals, Model )
buildModel params globals ( newSession, resp ) =
let
model =
Model
params
resp.viewerId
resp.spaceId
(Space.name resp.space)
(Space.slug resp.space)
resp.digestSettings
resp.nudges
resp.timeZone
(Space.avatarUrl resp.space)
[]
False
Nothing
False
newRepo =
Repo.union resp.repo globals.repo
in
( { globals | session = newSession, repo = newRepo }, model )
setup : Model -> Cmd Msg
setup model =
Scroll.toDocumentTop NoOp
teardown : Model -> Cmd Msg
teardown model =
Cmd.none
-- UPDATE
type Msg
= NoOp
| ToggleKeyboardCommands
| ToggleNotifications
| InternalLinkClicked String
| NameChanged String
| SlugChanged String
| Submit
| Submitted (Result Session.Error ( Session, UpdateSpace.Response ))
| AvatarSubmitted (Result Session.Error ( Session, UpdateSpaceAvatar.Response ))
| AvatarSelected
| FileReceived Decode.Value
| DigestToggled
| DigestSettingsUpdated (Result Session.Error ( Session, UpdateDigestSettings.Response ))
| NudgeToggled Int
| NudgeCreated (Result Session.Error ( Session, CreateNudge.Response ))
| NudgeDeleted (Result Session.Error ( Session, DeleteNudge.Response ))
-- MOBILE
| NavToggled
| ScrollTopClicked
update : Msg -> Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
update msg globals model =
case msg of
NoOp ->
noCmd globals model
ToggleKeyboardCommands ->
( ( model, Cmd.none ), { globals | showKeyboardCommands = not globals.showKeyboardCommands } )
ToggleNotifications ->
( ( model, Cmd.none ), { globals | showNotifications = not globals.showNotifications } )
InternalLinkClicked pathname ->
( ( model, Nav.pushUrl globals.navKey pathname ), globals )
NameChanged val ->
noCmd globals { model | name = val }
SlugChanged val ->
noCmd globals { model | slug = val }
Submit ->
let
cmd =
globals.session
|> UpdateSpace.request model.spaceId model.name model.slug
|> Task.attempt Submitted
in
( ( { model | isSubmitting = True, errors = [] }, cmd ), globals )
Submitted (Ok ( newSession, UpdateSpace.Success space )) ->
let
newGlobals =
{ globals
| session = newSession
, flash = Flash.set Flash.Notice "Settings saved" 3000 globals.flash
}
in
noCmd newGlobals
{ model
| name = Space.name space
, slug = Space.slug space
, isSubmitting = False
}
Submitted (Ok ( newSession, UpdateSpace.Invalid errors )) ->
noCmd { globals | session = newSession } { model | isSubmitting = False, errors = errors }
Submitted (Err Session.Expired) ->
redirectToLogin globals model
Submitted (Err _) ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
AvatarSelected ->
( ( model, File.request "avatar" ), globals )
FileReceived value ->
case Decode.decodeValue File.decoder value of
Ok file ->
let
cmd =
case File.getContents file of
Just contents ->
globals.session
|> UpdateSpaceAvatar.request model.spaceId contents
|> Task.attempt AvatarSubmitted
Nothing ->
Cmd.none
in
( ( { model | newAvatar = Just file }, cmd ), globals )
_ ->
noCmd globals model
AvatarSubmitted (Ok ( newSession, UpdateSpaceAvatar.Success space )) ->
noCmd { globals | session = newSession } { model | avatarUrl = Space.avatarUrl space }
AvatarSubmitted (Ok ( newSession, UpdateSpaceAvatar.Invalid errors )) ->
noCmd { globals | session = newSession } { model | errors = errors }
AvatarSubmitted (Err Session.Expired) ->
redirectToLogin globals model
AvatarSubmitted (Err _) ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
DigestToggled ->
let
cmd =
globals.session
|> UpdateDigestSettings.request model.spaceId (not (DigestSettings.isEnabled model.digestSettings))
|> Task.attempt DigestSettingsUpdated
in
( ( { model | digestSettings = DigestSettings.toggle model.digestSettings }, cmd ), globals )
DigestSettingsUpdated (Ok ( newSession, UpdateDigestSettings.Success newDigestSettings )) ->
( ( { model | digestSettings = newDigestSettings, isSubmitting = False }
, Cmd.none
)
, { globals
| session = newSession
, flash = Flash.set Flash.Notice "Digest updated" 3000 globals.flash
}
)
DigestSettingsUpdated (Err Session.Expired) ->
redirectToLogin globals model
DigestSettingsUpdated _ ->
-- TODO: handle unexpected exceptions
noCmd globals { model | isSubmitting = False }
NudgeToggled minute ->
let
cmd =
case nudgeAt minute model of
Just nudge ->
globals.session
|> DeleteNudge.request (DeleteNudge.variables model.spaceId (Nudge.id nudge))
|> Task.attempt NudgeDeleted
Nothing ->
globals.session
|> CreateNudge.request (CreateNudge.variables model.spaceId minute)
|> Task.attempt NudgeCreated
in
( ( model, cmd ), globals )
NudgeCreated (Ok ( newSession, CreateNudge.Success nudge )) ->
let
newNudges =
nudge :: model.nudges
in
( ( { model | nudges = newNudges }, Cmd.none )
, { globals | session = newSession }
)
NudgeCreated (Err Session.Expired) ->
redirectToLogin globals model
NudgeCreated _ ->
noCmd globals model
NudgeDeleted (Ok ( newSession, DeleteNudge.Success nudge )) ->
let
newNudges =
removeBy Nudge.id nudge model.nudges
in
( ( { model | nudges = newNudges }, Cmd.none )
, { globals | session = newSession }
)
NudgeDeleted (Err Session.Expired) ->
redirectToLogin globals model
NudgeDeleted _ ->
noCmd globals model
NavToggled ->
( ( { model | showNav = not model.showNav }, Cmd.none ), globals )
ScrollTopClicked ->
( ( model, Scroll.toDocumentTop NoOp ), globals )
noCmd : Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
noCmd globals model =
( ( model, Cmd.none ), globals )
redirectToLogin : Globals -> Model -> ( ( Model, Cmd Msg ), Globals )
redirectToLogin globals model =
( ( model, Route.toLogin ), globals )
-- EVENTS
consumeEvent : Event -> Model -> ( Model, Cmd Msg )
consumeEvent event model =
( model, Cmd.none )
-- SUBSCRIPTIONS
subscriptions : Sub Msg
subscriptions =
File.receive FileReceived
-- VIEW
view : Globals -> Model -> Html Msg
view globals model =
case resolveData globals.repo model of
Just data ->
resolvedView globals model data
Nothing ->
text "Something went wrong."
resolvedView : Globals -> Model -> Data -> Html Msg
resolvedView globals model data =
case globals.device of
Device.Desktop ->
resolvedDesktopView globals model data
Device.Mobile ->
resolvedMobileView globals model data
-- DESKTOP
resolvedDesktopView : Globals -> Model -> Data -> Html Msg
resolvedDesktopView globals model data =
let
config =
{ globals = globals
, space = data.space
, spaceUser = data.viewer
, onNoOp = NoOp
, onToggleKeyboardCommands = ToggleKeyboardCommands
, onPageClicked = NoOp
}
in
Layout.SpaceDesktop.layout config
[ div [ class "mx-auto max-w-md leading-normal p-8" ]
[ div [ class "pb-4" ]
[ h1 [ class "font-bold tracking-semi-tight text-3xl" ] [ text "Settings" ]
]
, div [ class "flex items-baseline mb-6 border-b" ]
[ filterTab Device.Desktop "Preferences" Route.Settings.Preferences (Route.Settings.setSection Route.Settings.Preferences model.params) model.params
, viewIf (Space.canUpdate data.space) <|
filterTab Device.Desktop "Team Settings" Route.Settings.Space (Route.Settings.setSection Route.Settings.Space model.params) model.params
]
, viewIf (Route.Settings.getSection model.params == Route.Settings.Preferences) <|
preferencesView Device.Desktop model data
, viewIf (Route.Settings.getSection model.params == Route.Settings.Space) <|
spaceSettingsView model data
]
]
-- MOBILE
resolvedMobileView : Globals -> Model -> Data -> Html Msg
resolvedMobileView globals model data =
let
config =
{ globals = globals
, space = data.space
, spaceUser = data.viewer
, title = "Settings"
, showNav = model.showNav
, onNavToggled = NavToggled
, onSidebarToggled = NoOp
, onScrollTopClicked = ScrollTopClicked
, onNoOp = NoOp
, leftControl = Layout.SpaceMobile.ShowNav
, rightControl = Layout.SpaceMobile.NoControl
}
in
Layout.SpaceMobile.layout config
[ div [ class "flex justify-center items-baseline mb-2 pt-2 border-b" ]
[ filterTab Device.Mobile "Preferences" Route.Settings.Preferences (Route.Settings.setSection Route.Settings.Preferences model.params) model.params
, viewIf (Space.canUpdate data.space) <|
filterTab Device.Mobile "Team Settings" Route.Settings.Space (Route.Settings.setSection Route.Settings.Space model.params) model.params
]
, div [ class "p-5" ]
[ viewIf (Route.Settings.getSection model.params == Route.Settings.Preferences) <|
preferencesView Device.Mobile model data
, viewIf (Route.Settings.getSection model.params == Route.Settings.Space) <|
spaceSettingsView model data
]
]
-- SHARED
preferencesView : Device -> Model -> Data -> Html Msg
preferencesView device model data =
div []
[ nudgesView device model data
, digestsView model data
]
nudgesView : Device -> Model -> Data -> Html Msg
nudgesView device model data =
let
config =
View.Nudges.Config NudgeToggled model.nudges model.timeZone
in
div [ class "mb-8" ]
[ h2 [ class "mb-2 text-dusty-blue-darker text-xl font-bold" ] [ text "Batched Notifications" ]
, p [ class "mb-4" ] [ text "Configure the times of day when Level should notify you about new Inbox activity." ]
, viewIf (device == Device.Desktop) (View.Nudges.desktopView config)
, viewIf (device == Device.Mobile) (View.Nudges.mobileView config)
]
digestsView : Model -> Data -> Html Msg
digestsView model data =
div []
[ h2 [ class "mb-2 text-dusty-blue-darker text-xl font-bold" ] [ text "Daily Summary" ]
, p [ class "mb-6" ] [ text "This email reminds you what's in your Inbox and summarizes recent activity in the channels you follow." ]
, label [ class "control checkbox pb-6" ]
[ input
[ type_ "checkbox"
, class "checkbox"
, onClick DigestToggled
, checked (DigestSettings.isEnabled model.digestSettings)
, disabled model.isSubmitting
]
[]
, span [ class "control-indicator" ] []
, span [ class "select-none text-dusty-blue-dark" ] [ text "Email me a daily summary" ]
]
]
spaceSettingsView : Model -> Data -> Html Msg
spaceSettingsView model data =
div []
[ div [ class "pb-6" ]
[ label [ for "name", class "input-label" ] [ text "PI:NAME:<NAME>END_PI" ]
, input
[ id "name"
, type_ "text"
, classList [ ( "input-field", True ), ( "input-field-error", isInvalid "name" model.errors ) ]
, name "name"
, placeholder "PI:NAME:<NAME>END_PI."
, value model.name
, onInput NameChanged
, onKeydown preventDefault [ ( [], enter, \event -> Submit ) ]
, disabled model.isSubmitting
]
[]
, errorView "name" model.errors
]
, div [ class "pb-6" ]
[ label [ for "slug", class "input-label" ] [ text "URL" ]
, div
[ classList
[ ( "input-field inline-flex leading-none items-baseline", True )
, ( "input-field-error", isInvalid "slug" model.errors )
]
]
[ label
[ for "slug"
, class "flex-none text-dusty-blue-darker select-none"
]
[ text "levelteams.com/" ]
, div [ class "flex-1" ]
[ input
[ id "slug"
, type_ "text"
, class "placeholder-blue w-full p-0 no-outline text-dusty-blue-darker"
, name "slug"
, placeholder "smith-co"
, value model.slug
, onInput SlugChanged
, onKeydown preventDefault [ ( [], enter, \event -> Submit ) ]
, disabled model.isSubmitting
]
[]
]
]
, errorView "slug" model.errors
]
, div [ class "pb-6" ]
[ label [ for "avatar", class "input-label" ] [ text "Team Logo" ]
, Avatar.uploader "avatar" model.avatarUrl AvatarSelected
]
, button
[ type_ "submit"
, class "btn btn-blue"
, onClick Submit
, disabled model.isSubmitting
]
[ text "Save settings" ]
]
filterTab : Device -> String -> Route.Settings.Section -> Params -> Params -> Html Msg
filterTab device label section linkParams currentParams =
let
isCurrent =
Route.Settings.getSection currentParams == section
in
a
[ Route.href (Route.Settings linkParams)
, classList
[ ( "block text-md py-3 px-4 border-b-3 border-transparent no-underline font-bold", True )
, ( "text-dusty-blue-dark", not isCurrent )
, ( "border-blue text-blue", isCurrent )
, ( "text-center min-w-100px", device == Device.Mobile )
]
]
[ text label ]
-- HELPERS
nudgeAt : Int -> Model -> Maybe Nudge
nudgeAt minute model =
model.nudges
|> List.filter (\nudge -> Nudge.minute nudge == minute)
|> List.head
| elm |
[
{
"context": "dMap\n (\\t title ->\n { artist = \"Kotoko\"\n , year = \"2004\"\n , album ",
"end": 4311,
"score": 0.9932457805,
"start": 4305,
"tag": "NAME",
"value": "Kotoko"
}
] | Ragtag.elm | lassik/ragtag | 2 | module Main exposing (..)
import Css exposing (absolute, left, pct, position, px)
import Css.Colors
import Html exposing (div, input, label, span, table, td, text, th, tr)
import Html.Attributes exposing (class, colspan, value)
import Html.Events exposing (defaultOptions)
import Http
import Json.Decode as Json
import Json.Decode.Pipeline as Jp
import Regex
import String.Extra
longTextColumnWidth =
300
shortTextColumnWidth =
100
numberColumnWidth =
50
noAction : ButtonAction
noAction model row colDef word =
model
type WordCase
= LowerCase
| UpperCase
| TitleCase
wordCaseColor wordCase =
case wordCase of
LowerCase ->
Css.Colors.black
UpperCase ->
Css.Colors.blue
TitleCase ->
Css.Colors.green
wordCase word =
if String.toLower word == word then
LowerCase
else if String.length word > 1 && String.toUpper word == word then
UpperCase
else
TitleCase
wordCaseUp word =
if wordCase word == LowerCase then
String.Extra.toSentenceCase word
else
String.toUpper word
wordCaseDown word =
if wordCase word == UpperCase then
String.Extra.toSentenceCase (String.toLower word)
else
String.toLower word
wordCaseUpAction : ButtonAction
wordCaseUpAction =
applyToWord wordCaseUp
wordCaseDownAction : ButtonAction
wordCaseDownAction =
applyToWord wordCaseDown
type alias ButtonAction =
Model -> Int -> ColumnDef -> Int -> Model
type Mode
= Mode
{ title : String
, help : String
, trackTr : Model -> Int -> Track -> Html.Html Msg
, leftButtonAction : ButtonAction
, rightButtonAction : ButtonAction
}
editMode =
Mode
{ title = "Edit"
, help = "Free-text editing"
, trackTr = editableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
rowMode =
Mode
{ title = "Row"
, help = "Drag to change order. Right-click to remove from editor."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
wordCaseMode =
Mode
{ title = "Word Case"
, help = "Left-click to uppercase word. Right-click to lowercase."
, trackTr = clickableTrackTr
, leftButtonAction = wordCaseUpAction
, rightButtonAction = wordCaseDownAction
}
modes =
[ editMode
, rowMode
, Mode
{ title = "Col Swap"
, help = "Left-click to select column. Right-click to swap with another for all rows."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Swap"
, help = "Left-click to select cell. Right-click to swap with selected."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Copy Paste"
, help = "Left-click to copy cell text. Right-click to replace cell text with last copied text."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Numbering"
, help = "Left-click to select first number. Right-click to set number relative to first."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, wordCaseMode
, Mode
{ title = "Word/Punct Zap"
, help = "Left-click to delete word. Right-click to delete punctuation."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Zap"
, help = "Left-click to empty cell contents."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
]
modifyNth f n list =
List.indexedMap
(\i x ->
if i == n then
f x
else
x
)
list
haneTracks =
List.indexedMap
(\t title ->
{ artist = "Kotoko"
, year = "2004"
, album = "Hane"
, trackNumber = toString (t + 1)
, trackTitle = title
, genre = "J-Pop"
, filename = "foo"
, trackId = "abcdef123"
}
)
[ "Introduction"
, "Asura"
, "Fuyu No Shizuku (Droplets Of Winter)"
, "Hayate Gumo (Whirlwind Clouds)"
, "Gratitude - Ookina Kuri No Ki No Shitade (Under A Large Chestnut Tree)"
, "Gen'ei (Illusion)"
, "Itaiyo (It Hurts)"
, "Hitorigoto (Soliloquy)"
, "Koe Ga Todokunara (If My Voice Is To Be Heard)"
, "Lament"
, "Ashiato (Footprint)"
, "Hane (Wings)"
, "Kanariya (Canary) - SORMA No.3 Re-mix"
]
init : ( Model, Cmd Msg )
init =
( { tracks = haneTracks, mode = wordCaseMode, showFilenames = False }
, getTracksInRootDirectory
)
type alias Track =
{ trackId : String
, filename : String
, artist : String
, year : String
, album : String
, trackNumber : String
, trackTitle : String
, genre : String
}
trackDecoder : Json.Decoder Track
trackDecoder =
Jp.decode Track
|> Jp.required "TrackId" Json.string
|> Jp.required "Filename" Json.string
|> Jp.required "Artist" Json.string
|> Jp.required "Year" Json.string
|> Jp.required "Album" Json.string
|> Jp.required "TrackNumber" Json.string
|> Jp.required "TrackTitle" Json.string
|> Jp.required "Genre" Json.string
setFilename v track =
{ track | filename = v }
setArtist v track =
{ track | artist = v }
setYear v track =
{ track | year = v }
setAlbum v track =
{ track | album = v }
setTrackNumber v track =
{ track | trackNumber = v }
setTrackTitle v track =
{ track | trackTitle = v }
setGenre v track =
{ track | genre = v }
type alias ColumnDef =
{ heading : String
, getter : Track -> String
, setter : String -> Track -> Track
, width : Int
}
visibleColumnDefs : Model -> List ColumnDef
visibleColumnDefs model =
if model.showFilenames then
filenameColumnDef :: columnDefs
else
columnDefs
filenameColumnDef =
{ heading = "Filename"
, getter = .filename
, setter = setFilename
, width = longTextColumnWidth
}
columnDefs : List ColumnDef
columnDefs =
[ { heading = "Artist"
, getter = .artist
, setter = setArtist
, width = longTextColumnWidth
}
, { heading = "Year"
, getter = .year
, setter = setYear
, width = numberColumnWidth
}
, { heading = "Album"
, getter = .album
, setter = setAlbum
, width = longTextColumnWidth
}
, { heading = "Track#"
, getter = .trackNumber
, setter = setTrackNumber
, width = numberColumnWidth
}
, { heading = "Track Title"
, getter = .trackTitle
, setter = setTrackTitle
, width = longTextColumnWidth
}
, { heading = "Genre"
, getter = .genre
, setter = setGenre
, width = shortTextColumnWidth
}
]
type alias Model =
{ tracks : List Track
, mode : Mode
, showFilenames : Bool
}
type MouseButton
= LeftMouseButton
| RightMouseButton
type Msg
= SetActiveMode { newMode : Mode }
| ClickOnWord
{ button : MouseButton
, row : Int
, column : ColumnDef
, word : Int
}
| SetCellValue { row : Int, column : ColumnDef, newValue : String }
| ToggleShowFilenames
| ReceiveTracks (Result Http.Error (List Track))
getTracksInRootDirectory : Cmd Msg
getTracksInRootDirectory =
Http.send ReceiveTracks
(Http.get "/tracks" (Json.field "Tracks" (Json.list trackDecoder)))
subscriptions model =
Sub.none
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case model.mode of
Mode { leftButtonAction, rightButtonAction } ->
case msg of
SetActiveMode { newMode } ->
( { model | mode = newMode }
, Cmd.none
)
ClickOnWord { button, row, column, word } ->
( (case button of
LeftMouseButton ->
leftButtonAction
RightMouseButton ->
rightButtonAction
)
model
row
column
word
, Cmd.none
)
SetCellValue { row, column, newValue } ->
( { model
| tracks =
modifyNth (column.setter newValue)
row
model.tracks
}
, Cmd.none
)
ToggleShowFilenames ->
( { model | showFilenames = not model.showFilenames }, Cmd.none )
ReceiveTracks (Ok tracks) ->
( { model | tracks = tracks }, Cmd.none )
ReceiveTracks (Err _) ->
( model, Cmd.none )
styles =
Css.asPairs >> Html.Attributes.style
tableStyles =
[ Css.border3 (px 1) Css.solid Css.Colors.black
, Css.borderCollapse Css.collapse
]
words =
Regex.split Regex.All (Regex.regex "\\s+")
modifyNthWord f n s =
String.join " "
(List.indexedMap
(\w word ->
if w == n then
f word
else
word
)
(words s)
)
applyToWord f model row colDef word =
{ model
| tracks =
modifyNth
(\track ->
colDef.setter
(modifyNthWord f word (colDef.getter track))
track
)
row
model.tracks
}
onContextMenu msg =
Html.Events.onWithOptions "contextmenu"
{ defaultOptions | preventDefault = True }
(Json.succeed msg)
onBlurWithTargetValue : (String -> msg) -> Html.Attribute msg
onBlurWithTargetValue tagger =
Html.Events.on "blur" (Json.map tagger Html.Events.targetValue)
wordSpans row column s =
List.intersperse (text " ")
(List.indexedMap
(\w word ->
let
cow button =
ClickOnWord
{ button = button
, row = row
, column = column
, word = w
}
in
span
[ styles [ Css.color (wordCaseColor (wordCase word)) ]
, Html.Events.onClick (cow LeftMouseButton)
, onContextMenu (cow RightMouseButton)
]
[ text word ]
)
(words s)
)
modeSelector model =
case model.mode of
Mode { title, help } ->
table [ styles tableStyles ]
[ tr []
(List.map
(\mode ->
case mode of
Mode { title } ->
td
[ styles
(List.append tableStyles
(if model.mode == mode then
[ Css.backgroundColor
Css.Colors.black
, Css.color
Css.Colors.silver
]
else
[]
)
)
, Html.Events.onClick
(SetActiveMode { newMode = mode })
]
[ text title ]
)
modes
)
, tr []
[ td
[ styles tableStyles
, colspan (List.length modes)
]
[ text help ]
]
]
clickableTrackTr model t track =
tr []
(List.indexedMap
(\c colDef ->
td [ styles tableStyles ]
(wordSpans t colDef (colDef.getter track))
)
(visibleColumnDefs model)
)
editableTrackTr model t track =
tr []
(List.indexedMap
(\c colDef ->
td [ styles tableStyles ]
[ input
[ value (colDef.getter track)
, styles
[ Css.width (pct 100)
, Css.boxSizing Css.borderBox
]
, onBlurWithTargetValue
(\newValue ->
SetCellValue
{ row = t
, column = colDef
, newValue = newValue
}
)
]
[]
]
)
(visibleColumnDefs model)
)
trackTable trackTr model =
table [ styles tableStyles ]
(List.append
[ tr []
(List.map
(\colDef ->
th
[ styles
(List.append tableStyles
[ Css.minWidth
(px (toFloat colDef.width))
]
)
]
[ text colDef.heading ]
)
(visibleColumnDefs model)
)
]
(List.indexedMap (trackTr model) model.tracks)
)
checkbox : msg -> String -> Html.Html msg
checkbox msg name =
label []
[ input
[ Html.Attributes.type_ "checkbox"
, Html.Events.onClick msg
]
[]
, text name
]
view : Model -> Html.Html Msg
view model =
case model.mode of
Mode { trackTr } ->
div [ styles [ Css.fontFamily Css.sansSerif ] ]
[ modeSelector model
, checkbox ToggleShowFilenames "Show filenames"
, trackTable trackTr model
]
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
| 56958 | module Main exposing (..)
import Css exposing (absolute, left, pct, position, px)
import Css.Colors
import Html exposing (div, input, label, span, table, td, text, th, tr)
import Html.Attributes exposing (class, colspan, value)
import Html.Events exposing (defaultOptions)
import Http
import Json.Decode as Json
import Json.Decode.Pipeline as Jp
import Regex
import String.Extra
longTextColumnWidth =
300
shortTextColumnWidth =
100
numberColumnWidth =
50
noAction : ButtonAction
noAction model row colDef word =
model
type WordCase
= LowerCase
| UpperCase
| TitleCase
wordCaseColor wordCase =
case wordCase of
LowerCase ->
Css.Colors.black
UpperCase ->
Css.Colors.blue
TitleCase ->
Css.Colors.green
wordCase word =
if String.toLower word == word then
LowerCase
else if String.length word > 1 && String.toUpper word == word then
UpperCase
else
TitleCase
wordCaseUp word =
if wordCase word == LowerCase then
String.Extra.toSentenceCase word
else
String.toUpper word
wordCaseDown word =
if wordCase word == UpperCase then
String.Extra.toSentenceCase (String.toLower word)
else
String.toLower word
wordCaseUpAction : ButtonAction
wordCaseUpAction =
applyToWord wordCaseUp
wordCaseDownAction : ButtonAction
wordCaseDownAction =
applyToWord wordCaseDown
type alias ButtonAction =
Model -> Int -> ColumnDef -> Int -> Model
type Mode
= Mode
{ title : String
, help : String
, trackTr : Model -> Int -> Track -> Html.Html Msg
, leftButtonAction : ButtonAction
, rightButtonAction : ButtonAction
}
editMode =
Mode
{ title = "Edit"
, help = "Free-text editing"
, trackTr = editableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
rowMode =
Mode
{ title = "Row"
, help = "Drag to change order. Right-click to remove from editor."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
wordCaseMode =
Mode
{ title = "Word Case"
, help = "Left-click to uppercase word. Right-click to lowercase."
, trackTr = clickableTrackTr
, leftButtonAction = wordCaseUpAction
, rightButtonAction = wordCaseDownAction
}
modes =
[ editMode
, rowMode
, Mode
{ title = "Col Swap"
, help = "Left-click to select column. Right-click to swap with another for all rows."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Swap"
, help = "Left-click to select cell. Right-click to swap with selected."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Copy Paste"
, help = "Left-click to copy cell text. Right-click to replace cell text with last copied text."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Numbering"
, help = "Left-click to select first number. Right-click to set number relative to first."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, wordCaseMode
, Mode
{ title = "Word/Punct Zap"
, help = "Left-click to delete word. Right-click to delete punctuation."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Zap"
, help = "Left-click to empty cell contents."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
]
modifyNth f n list =
List.indexedMap
(\i x ->
if i == n then
f x
else
x
)
list
haneTracks =
List.indexedMap
(\t title ->
{ artist = "<NAME>"
, year = "2004"
, album = "Hane"
, trackNumber = toString (t + 1)
, trackTitle = title
, genre = "J-Pop"
, filename = "foo"
, trackId = "abcdef123"
}
)
[ "Introduction"
, "Asura"
, "Fuyu No Shizuku (Droplets Of Winter)"
, "Hayate Gumo (Whirlwind Clouds)"
, "Gratitude - Ookina Kuri No Ki No Shitade (Under A Large Chestnut Tree)"
, "Gen'ei (Illusion)"
, "Itaiyo (It Hurts)"
, "Hitorigoto (Soliloquy)"
, "Koe Ga Todokunara (If My Voice Is To Be Heard)"
, "Lament"
, "Ashiato (Footprint)"
, "Hane (Wings)"
, "Kanariya (Canary) - SORMA No.3 Re-mix"
]
init : ( Model, Cmd Msg )
init =
( { tracks = haneTracks, mode = wordCaseMode, showFilenames = False }
, getTracksInRootDirectory
)
type alias Track =
{ trackId : String
, filename : String
, artist : String
, year : String
, album : String
, trackNumber : String
, trackTitle : String
, genre : String
}
trackDecoder : Json.Decoder Track
trackDecoder =
Jp.decode Track
|> Jp.required "TrackId" Json.string
|> Jp.required "Filename" Json.string
|> Jp.required "Artist" Json.string
|> Jp.required "Year" Json.string
|> Jp.required "Album" Json.string
|> Jp.required "TrackNumber" Json.string
|> Jp.required "TrackTitle" Json.string
|> Jp.required "Genre" Json.string
setFilename v track =
{ track | filename = v }
setArtist v track =
{ track | artist = v }
setYear v track =
{ track | year = v }
setAlbum v track =
{ track | album = v }
setTrackNumber v track =
{ track | trackNumber = v }
setTrackTitle v track =
{ track | trackTitle = v }
setGenre v track =
{ track | genre = v }
type alias ColumnDef =
{ heading : String
, getter : Track -> String
, setter : String -> Track -> Track
, width : Int
}
visibleColumnDefs : Model -> List ColumnDef
visibleColumnDefs model =
if model.showFilenames then
filenameColumnDef :: columnDefs
else
columnDefs
filenameColumnDef =
{ heading = "Filename"
, getter = .filename
, setter = setFilename
, width = longTextColumnWidth
}
columnDefs : List ColumnDef
columnDefs =
[ { heading = "Artist"
, getter = .artist
, setter = setArtist
, width = longTextColumnWidth
}
, { heading = "Year"
, getter = .year
, setter = setYear
, width = numberColumnWidth
}
, { heading = "Album"
, getter = .album
, setter = setAlbum
, width = longTextColumnWidth
}
, { heading = "Track#"
, getter = .trackNumber
, setter = setTrackNumber
, width = numberColumnWidth
}
, { heading = "Track Title"
, getter = .trackTitle
, setter = setTrackTitle
, width = longTextColumnWidth
}
, { heading = "Genre"
, getter = .genre
, setter = setGenre
, width = shortTextColumnWidth
}
]
type alias Model =
{ tracks : List Track
, mode : Mode
, showFilenames : Bool
}
type MouseButton
= LeftMouseButton
| RightMouseButton
type Msg
= SetActiveMode { newMode : Mode }
| ClickOnWord
{ button : MouseButton
, row : Int
, column : ColumnDef
, word : Int
}
| SetCellValue { row : Int, column : ColumnDef, newValue : String }
| ToggleShowFilenames
| ReceiveTracks (Result Http.Error (List Track))
getTracksInRootDirectory : Cmd Msg
getTracksInRootDirectory =
Http.send ReceiveTracks
(Http.get "/tracks" (Json.field "Tracks" (Json.list trackDecoder)))
subscriptions model =
Sub.none
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case model.mode of
Mode { leftButtonAction, rightButtonAction } ->
case msg of
SetActiveMode { newMode } ->
( { model | mode = newMode }
, Cmd.none
)
ClickOnWord { button, row, column, word } ->
( (case button of
LeftMouseButton ->
leftButtonAction
RightMouseButton ->
rightButtonAction
)
model
row
column
word
, Cmd.none
)
SetCellValue { row, column, newValue } ->
( { model
| tracks =
modifyNth (column.setter newValue)
row
model.tracks
}
, Cmd.none
)
ToggleShowFilenames ->
( { model | showFilenames = not model.showFilenames }, Cmd.none )
ReceiveTracks (Ok tracks) ->
( { model | tracks = tracks }, Cmd.none )
ReceiveTracks (Err _) ->
( model, Cmd.none )
styles =
Css.asPairs >> Html.Attributes.style
tableStyles =
[ Css.border3 (px 1) Css.solid Css.Colors.black
, Css.borderCollapse Css.collapse
]
words =
Regex.split Regex.All (Regex.regex "\\s+")
modifyNthWord f n s =
String.join " "
(List.indexedMap
(\w word ->
if w == n then
f word
else
word
)
(words s)
)
applyToWord f model row colDef word =
{ model
| tracks =
modifyNth
(\track ->
colDef.setter
(modifyNthWord f word (colDef.getter track))
track
)
row
model.tracks
}
onContextMenu msg =
Html.Events.onWithOptions "contextmenu"
{ defaultOptions | preventDefault = True }
(Json.succeed msg)
onBlurWithTargetValue : (String -> msg) -> Html.Attribute msg
onBlurWithTargetValue tagger =
Html.Events.on "blur" (Json.map tagger Html.Events.targetValue)
wordSpans row column s =
List.intersperse (text " ")
(List.indexedMap
(\w word ->
let
cow button =
ClickOnWord
{ button = button
, row = row
, column = column
, word = w
}
in
span
[ styles [ Css.color (wordCaseColor (wordCase word)) ]
, Html.Events.onClick (cow LeftMouseButton)
, onContextMenu (cow RightMouseButton)
]
[ text word ]
)
(words s)
)
modeSelector model =
case model.mode of
Mode { title, help } ->
table [ styles tableStyles ]
[ tr []
(List.map
(\mode ->
case mode of
Mode { title } ->
td
[ styles
(List.append tableStyles
(if model.mode == mode then
[ Css.backgroundColor
Css.Colors.black
, Css.color
Css.Colors.silver
]
else
[]
)
)
, Html.Events.onClick
(SetActiveMode { newMode = mode })
]
[ text title ]
)
modes
)
, tr []
[ td
[ styles tableStyles
, colspan (List.length modes)
]
[ text help ]
]
]
clickableTrackTr model t track =
tr []
(List.indexedMap
(\c colDef ->
td [ styles tableStyles ]
(wordSpans t colDef (colDef.getter track))
)
(visibleColumnDefs model)
)
editableTrackTr model t track =
tr []
(List.indexedMap
(\c colDef ->
td [ styles tableStyles ]
[ input
[ value (colDef.getter track)
, styles
[ Css.width (pct 100)
, Css.boxSizing Css.borderBox
]
, onBlurWithTargetValue
(\newValue ->
SetCellValue
{ row = t
, column = colDef
, newValue = newValue
}
)
]
[]
]
)
(visibleColumnDefs model)
)
trackTable trackTr model =
table [ styles tableStyles ]
(List.append
[ tr []
(List.map
(\colDef ->
th
[ styles
(List.append tableStyles
[ Css.minWidth
(px (toFloat colDef.width))
]
)
]
[ text colDef.heading ]
)
(visibleColumnDefs model)
)
]
(List.indexedMap (trackTr model) model.tracks)
)
checkbox : msg -> String -> Html.Html msg
checkbox msg name =
label []
[ input
[ Html.Attributes.type_ "checkbox"
, Html.Events.onClick msg
]
[]
, text name
]
view : Model -> Html.Html Msg
view model =
case model.mode of
Mode { trackTr } ->
div [ styles [ Css.fontFamily Css.sansSerif ] ]
[ modeSelector model
, checkbox ToggleShowFilenames "Show filenames"
, trackTable trackTr model
]
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
| true | module Main exposing (..)
import Css exposing (absolute, left, pct, position, px)
import Css.Colors
import Html exposing (div, input, label, span, table, td, text, th, tr)
import Html.Attributes exposing (class, colspan, value)
import Html.Events exposing (defaultOptions)
import Http
import Json.Decode as Json
import Json.Decode.Pipeline as Jp
import Regex
import String.Extra
longTextColumnWidth =
300
shortTextColumnWidth =
100
numberColumnWidth =
50
noAction : ButtonAction
noAction model row colDef word =
model
type WordCase
= LowerCase
| UpperCase
| TitleCase
wordCaseColor wordCase =
case wordCase of
LowerCase ->
Css.Colors.black
UpperCase ->
Css.Colors.blue
TitleCase ->
Css.Colors.green
wordCase word =
if String.toLower word == word then
LowerCase
else if String.length word > 1 && String.toUpper word == word then
UpperCase
else
TitleCase
wordCaseUp word =
if wordCase word == LowerCase then
String.Extra.toSentenceCase word
else
String.toUpper word
wordCaseDown word =
if wordCase word == UpperCase then
String.Extra.toSentenceCase (String.toLower word)
else
String.toLower word
wordCaseUpAction : ButtonAction
wordCaseUpAction =
applyToWord wordCaseUp
wordCaseDownAction : ButtonAction
wordCaseDownAction =
applyToWord wordCaseDown
type alias ButtonAction =
Model -> Int -> ColumnDef -> Int -> Model
type Mode
= Mode
{ title : String
, help : String
, trackTr : Model -> Int -> Track -> Html.Html Msg
, leftButtonAction : ButtonAction
, rightButtonAction : ButtonAction
}
editMode =
Mode
{ title = "Edit"
, help = "Free-text editing"
, trackTr = editableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
rowMode =
Mode
{ title = "Row"
, help = "Drag to change order. Right-click to remove from editor."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
wordCaseMode =
Mode
{ title = "Word Case"
, help = "Left-click to uppercase word. Right-click to lowercase."
, trackTr = clickableTrackTr
, leftButtonAction = wordCaseUpAction
, rightButtonAction = wordCaseDownAction
}
modes =
[ editMode
, rowMode
, Mode
{ title = "Col Swap"
, help = "Left-click to select column. Right-click to swap with another for all rows."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Swap"
, help = "Left-click to select cell. Right-click to swap with selected."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Copy Paste"
, help = "Left-click to copy cell text. Right-click to replace cell text with last copied text."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Numbering"
, help = "Left-click to select first number. Right-click to set number relative to first."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, wordCaseMode
, Mode
{ title = "Word/Punct Zap"
, help = "Left-click to delete word. Right-click to delete punctuation."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
, Mode
{ title = "Cell Zap"
, help = "Left-click to empty cell contents."
, trackTr = clickableTrackTr
, leftButtonAction = noAction
, rightButtonAction = noAction
}
]
modifyNth f n list =
List.indexedMap
(\i x ->
if i == n then
f x
else
x
)
list
haneTracks =
List.indexedMap
(\t title ->
{ artist = "PI:NAME:<NAME>END_PI"
, year = "2004"
, album = "Hane"
, trackNumber = toString (t + 1)
, trackTitle = title
, genre = "J-Pop"
, filename = "foo"
, trackId = "abcdef123"
}
)
[ "Introduction"
, "Asura"
, "Fuyu No Shizuku (Droplets Of Winter)"
, "Hayate Gumo (Whirlwind Clouds)"
, "Gratitude - Ookina Kuri No Ki No Shitade (Under A Large Chestnut Tree)"
, "Gen'ei (Illusion)"
, "Itaiyo (It Hurts)"
, "Hitorigoto (Soliloquy)"
, "Koe Ga Todokunara (If My Voice Is To Be Heard)"
, "Lament"
, "Ashiato (Footprint)"
, "Hane (Wings)"
, "Kanariya (Canary) - SORMA No.3 Re-mix"
]
init : ( Model, Cmd Msg )
init =
( { tracks = haneTracks, mode = wordCaseMode, showFilenames = False }
, getTracksInRootDirectory
)
type alias Track =
{ trackId : String
, filename : String
, artist : String
, year : String
, album : String
, trackNumber : String
, trackTitle : String
, genre : String
}
trackDecoder : Json.Decoder Track
trackDecoder =
Jp.decode Track
|> Jp.required "TrackId" Json.string
|> Jp.required "Filename" Json.string
|> Jp.required "Artist" Json.string
|> Jp.required "Year" Json.string
|> Jp.required "Album" Json.string
|> Jp.required "TrackNumber" Json.string
|> Jp.required "TrackTitle" Json.string
|> Jp.required "Genre" Json.string
setFilename v track =
{ track | filename = v }
setArtist v track =
{ track | artist = v }
setYear v track =
{ track | year = v }
setAlbum v track =
{ track | album = v }
setTrackNumber v track =
{ track | trackNumber = v }
setTrackTitle v track =
{ track | trackTitle = v }
setGenre v track =
{ track | genre = v }
type alias ColumnDef =
{ heading : String
, getter : Track -> String
, setter : String -> Track -> Track
, width : Int
}
visibleColumnDefs : Model -> List ColumnDef
visibleColumnDefs model =
if model.showFilenames then
filenameColumnDef :: columnDefs
else
columnDefs
filenameColumnDef =
{ heading = "Filename"
, getter = .filename
, setter = setFilename
, width = longTextColumnWidth
}
columnDefs : List ColumnDef
columnDefs =
[ { heading = "Artist"
, getter = .artist
, setter = setArtist
, width = longTextColumnWidth
}
, { heading = "Year"
, getter = .year
, setter = setYear
, width = numberColumnWidth
}
, { heading = "Album"
, getter = .album
, setter = setAlbum
, width = longTextColumnWidth
}
, { heading = "Track#"
, getter = .trackNumber
, setter = setTrackNumber
, width = numberColumnWidth
}
, { heading = "Track Title"
, getter = .trackTitle
, setter = setTrackTitle
, width = longTextColumnWidth
}
, { heading = "Genre"
, getter = .genre
, setter = setGenre
, width = shortTextColumnWidth
}
]
type alias Model =
{ tracks : List Track
, mode : Mode
, showFilenames : Bool
}
type MouseButton
= LeftMouseButton
| RightMouseButton
type Msg
= SetActiveMode { newMode : Mode }
| ClickOnWord
{ button : MouseButton
, row : Int
, column : ColumnDef
, word : Int
}
| SetCellValue { row : Int, column : ColumnDef, newValue : String }
| ToggleShowFilenames
| ReceiveTracks (Result Http.Error (List Track))
getTracksInRootDirectory : Cmd Msg
getTracksInRootDirectory =
Http.send ReceiveTracks
(Http.get "/tracks" (Json.field "Tracks" (Json.list trackDecoder)))
subscriptions model =
Sub.none
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case model.mode of
Mode { leftButtonAction, rightButtonAction } ->
case msg of
SetActiveMode { newMode } ->
( { model | mode = newMode }
, Cmd.none
)
ClickOnWord { button, row, column, word } ->
( (case button of
LeftMouseButton ->
leftButtonAction
RightMouseButton ->
rightButtonAction
)
model
row
column
word
, Cmd.none
)
SetCellValue { row, column, newValue } ->
( { model
| tracks =
modifyNth (column.setter newValue)
row
model.tracks
}
, Cmd.none
)
ToggleShowFilenames ->
( { model | showFilenames = not model.showFilenames }, Cmd.none )
ReceiveTracks (Ok tracks) ->
( { model | tracks = tracks }, Cmd.none )
ReceiveTracks (Err _) ->
( model, Cmd.none )
styles =
Css.asPairs >> Html.Attributes.style
tableStyles =
[ Css.border3 (px 1) Css.solid Css.Colors.black
, Css.borderCollapse Css.collapse
]
words =
Regex.split Regex.All (Regex.regex "\\s+")
modifyNthWord f n s =
String.join " "
(List.indexedMap
(\w word ->
if w == n then
f word
else
word
)
(words s)
)
applyToWord f model row colDef word =
{ model
| tracks =
modifyNth
(\track ->
colDef.setter
(modifyNthWord f word (colDef.getter track))
track
)
row
model.tracks
}
onContextMenu msg =
Html.Events.onWithOptions "contextmenu"
{ defaultOptions | preventDefault = True }
(Json.succeed msg)
onBlurWithTargetValue : (String -> msg) -> Html.Attribute msg
onBlurWithTargetValue tagger =
Html.Events.on "blur" (Json.map tagger Html.Events.targetValue)
wordSpans row column s =
List.intersperse (text " ")
(List.indexedMap
(\w word ->
let
cow button =
ClickOnWord
{ button = button
, row = row
, column = column
, word = w
}
in
span
[ styles [ Css.color (wordCaseColor (wordCase word)) ]
, Html.Events.onClick (cow LeftMouseButton)
, onContextMenu (cow RightMouseButton)
]
[ text word ]
)
(words s)
)
modeSelector model =
case model.mode of
Mode { title, help } ->
table [ styles tableStyles ]
[ tr []
(List.map
(\mode ->
case mode of
Mode { title } ->
td
[ styles
(List.append tableStyles
(if model.mode == mode then
[ Css.backgroundColor
Css.Colors.black
, Css.color
Css.Colors.silver
]
else
[]
)
)
, Html.Events.onClick
(SetActiveMode { newMode = mode })
]
[ text title ]
)
modes
)
, tr []
[ td
[ styles tableStyles
, colspan (List.length modes)
]
[ text help ]
]
]
clickableTrackTr model t track =
tr []
(List.indexedMap
(\c colDef ->
td [ styles tableStyles ]
(wordSpans t colDef (colDef.getter track))
)
(visibleColumnDefs model)
)
editableTrackTr model t track =
tr []
(List.indexedMap
(\c colDef ->
td [ styles tableStyles ]
[ input
[ value (colDef.getter track)
, styles
[ Css.width (pct 100)
, Css.boxSizing Css.borderBox
]
, onBlurWithTargetValue
(\newValue ->
SetCellValue
{ row = t
, column = colDef
, newValue = newValue
}
)
]
[]
]
)
(visibleColumnDefs model)
)
trackTable trackTr model =
table [ styles tableStyles ]
(List.append
[ tr []
(List.map
(\colDef ->
th
[ styles
(List.append tableStyles
[ Css.minWidth
(px (toFloat colDef.width))
]
)
]
[ text colDef.heading ]
)
(visibleColumnDefs model)
)
]
(List.indexedMap (trackTr model) model.tracks)
)
checkbox : msg -> String -> Html.Html msg
checkbox msg name =
label []
[ input
[ Html.Attributes.type_ "checkbox"
, Html.Events.onClick msg
]
[]
, text name
]
view : Model -> Html.Html Msg
view model =
case model.mode of
Mode { trackTr } ->
div [ styles [ Css.fontFamily Css.sansSerif ] ]
[ modeSelector model
, checkbox ToggleShowFilenames "Show filenames"
, trackTable trackTr model
]
main =
Html.program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
| elm |
[
{
"context": " , input =\n { password = \"password\"\n , salt = \"salt\"\n ",
"end": 531,
"score": 0.9994235039,
"start": 523,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ssword = \"password\"\n , salt = \"salt\"\n , c = 1\n ",
"end": 567,
"score": 0.9990665913,
"start": 563,
"tag": "PASSWORD",
"value": "salt"
},
{
"context": " , input =\n { password = \"password\"\n , salt = \"salt\"\n ",
"end": 863,
"score": 0.9994552135,
"start": 855,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ssword = \"password\"\n , salt = \"salt\"\n , c = 2\n ",
"end": 899,
"score": 0.9989594221,
"start": 895,
"tag": "PASSWORD",
"value": "salt"
},
{
"context": " , input =\n { password = \"password\"\n , salt = \"salt\"\n ",
"end": 1195,
"score": 0.9994500279,
"start": 1187,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ssword = \"password\"\n , salt = \"salt\"\n , c = 4096\n ",
"end": 1231,
"score": 0.999047935,
"start": 1227,
"tag": "PASSWORD",
"value": "salt"
},
{
"context": " , input =\n -- { password = \"password\"\n -- , salt = \"salt\"\n ",
"end": 1609,
"score": 0.9994632602,
"start": 1601,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ord = \"password\"\n -- , salt = \"salt\"\n -- , c = 16777216\n ",
"end": 1648,
"score": 0.9991153479,
"start": 1644,
"tag": "PASSWORD",
"value": "salt"
},
{
"context": " -- , output = \"eefe3d61cd4da4e4e9945b3d6ba2158c2634e984\"\n -- }\n ",
"end": 1805,
"score": 0.5278180838,
"start": 1800,
"tag": "PASSWORD",
"value": "5b3d6"
},
{
"context": " -- , output = \"eefe3d61cd4da4e4e9945b3d6ba2158c2634e984\"\n -- }\n , pbkdf2Test\n ",
"end": 1820,
"score": 0.5585671067,
"start": 1807,
"tag": "PASSWORD",
"value": "2158c2634e984"
},
{
"context": " , input =\n { password = \"passwordPASSWORDpassword\"\n , salt = \"saltSALTsaltSALTsa",
"end": 1982,
"score": 0.9994314313,
"start": 1958,
"tag": "PASSWORD",
"value": "passwordPASSWORDpassword"
},
{
"context": " }\n , output = \"3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038\"\n",
"end": 2168,
"score": 0.7464593649,
"start": 2167,
"tag": "PASSWORD",
"value": "d"
},
{
"context": " }\n , output = \"3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038\"\n }\n , pbkd",
"end": 2204,
"score": 0.7502648234,
"start": 2178,
"tag": "PASSWORD",
"value": "849b80c8d83662c0e44a8b291a"
},
{
"context": " output = \"3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038\"\n }\n , pbkdf2T",
"end": 2207,
"score": 0.5661263466,
"start": 2205,
"tag": "PASSWORD",
"value": "64"
},
{
"context": "put = \"3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038\"\n }\n , pbkdf2Test\n ",
"end": 2216,
"score": 0.8109885454,
"start": 2209,
"tag": "PASSWORD",
"value": "2f07038"
},
{
"context": " , input =\n { password = \"pass\\u{0000}word\"\n , salt = \"sa\\u{0000}lt\"\n ",
"end": 2367,
"score": 0.999340713,
"start": 2351,
"tag": "PASSWORD",
"value": "pass\\u{0000}word"
}
] | tests/Tests.elm | adauguet/elm-pbkdf2 | 0 | module Tests exposing (suite)
import Bytes exposing (Bytes, Endianness(..))
import Bytes.Encode as E
import Expect
import Hex.Convert as Hex
import HmacSha1
import HmacSha1.Key as Key
import PBKDF2 exposing (pbkdf2)
import String
import Test exposing (Test, describe, test)
suite : Test
suite =
describe "pbkdf2"
[ -- source: https://www.ietf.org/rfc/rfc6070.txt
describe "RFC 6070"
[ pbkdf2Test
{ title = "1"
, input =
{ password = "password"
, salt = "salt"
, c = 1
, dkLen = 20
}
, output = "0c60c80f961f0e71f3a9b524af6012062fe037a6"
}
, pbkdf2Test
{ title = "2"
, input =
{ password = "password"
, salt = "salt"
, c = 2
, dkLen = 20
}
, output = "ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957"
}
, pbkdf2Test
{ title = "3"
, input =
{ password = "password"
, salt = "salt"
, c = 4096
, dkLen = 20
}
, output = "4b007901b765489abead49d926f721d065a429c1"
}
-- WARNING: this test takes a lot of times to perform
-- , pbkdf2Test
-- { title = "4"
-- , input =
-- { password = "password"
-- , salt = "salt"
-- , c = 16777216
-- , dkLen = 20
-- }
-- , output = "eefe3d61cd4da4e4e9945b3d6ba2158c2634e984"
-- }
, pbkdf2Test
{ title = "5"
, input =
{ password = "passwordPASSWORDpassword"
, salt = "saltSALTsaltSALTsaltSALTsaltSALTsalt"
, c = 4096
, dkLen = 25
}
, output = "3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038"
}
, pbkdf2Test
{ title = "6"
, input =
{ password = "pass\u{0000}word"
, salt = "sa\u{0000}lt"
, c = 4096
, dkLen = 16
}
, output = "56fa6aa75548099dcc37d7f03425e0c3"
}
]
]
-- helpers
type alias Vector =
{ title : String
, input :
{ password : String
, salt : String
, c : Int
, dkLen : Int
}
, output : String
}
pbkdf2Test : Vector -> Test
pbkdf2Test { title, input, output } =
test title <|
\_ ->
let
p =
E.encode <| E.string input.password
s =
E.encode <| E.string input.salt
in
Expect.equal
(pbkdf2 ( hmacSha1, 20 ) p s input.c input.dkLen
|> Result.map Hex.toString
|> Result.map String.toLower
)
(Ok output)
hmacSha1 : Bytes -> Bytes -> Bytes
hmacSha1 key message =
HmacSha1.fromBytes (Key.fromBytes key) message
|> HmacSha1.toBytes
| 57157 | module Tests exposing (suite)
import Bytes exposing (Bytes, Endianness(..))
import Bytes.Encode as E
import Expect
import Hex.Convert as Hex
import HmacSha1
import HmacSha1.Key as Key
import PBKDF2 exposing (pbkdf2)
import String
import Test exposing (Test, describe, test)
suite : Test
suite =
describe "pbkdf2"
[ -- source: https://www.ietf.org/rfc/rfc6070.txt
describe "RFC 6070"
[ pbkdf2Test
{ title = "1"
, input =
{ password = "<PASSWORD>"
, salt = "<PASSWORD>"
, c = 1
, dkLen = 20
}
, output = "0c60c80f961f0e71f3a9b524af6012062fe037a6"
}
, pbkdf2Test
{ title = "2"
, input =
{ password = "<PASSWORD>"
, salt = "<PASSWORD>"
, c = 2
, dkLen = 20
}
, output = "ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957"
}
, pbkdf2Test
{ title = "3"
, input =
{ password = "<PASSWORD>"
, salt = "<PASSWORD>"
, c = 4096
, dkLen = 20
}
, output = "4b007901b765489abead49d926f721d065a429c1"
}
-- WARNING: this test takes a lot of times to perform
-- , pbkdf2Test
-- { title = "4"
-- , input =
-- { password = "<PASSWORD>"
-- , salt = "<PASSWORD>"
-- , c = 16777216
-- , dkLen = 20
-- }
-- , output = "eefe3d61cd4da4e4e994<PASSWORD>ba<PASSWORD>"
-- }
, pbkdf2Test
{ title = "5"
, input =
{ password = "<PASSWORD>"
, salt = "saltSALTsaltSALTsaltSALTsaltSALTsalt"
, c = 4096
, dkLen = 25
}
, output = "3<PASSWORD>2eec4fe41c<PASSWORD>9<PASSWORD>cf<PASSWORD>"
}
, pbkdf2Test
{ title = "6"
, input =
{ password = "<PASSWORD>"
, salt = "sa\u{0000}lt"
, c = 4096
, dkLen = 16
}
, output = "56fa6aa75548099dcc37d7f03425e0c3"
}
]
]
-- helpers
type alias Vector =
{ title : String
, input :
{ password : String
, salt : String
, c : Int
, dkLen : Int
}
, output : String
}
pbkdf2Test : Vector -> Test
pbkdf2Test { title, input, output } =
test title <|
\_ ->
let
p =
E.encode <| E.string input.password
s =
E.encode <| E.string input.salt
in
Expect.equal
(pbkdf2 ( hmacSha1, 20 ) p s input.c input.dkLen
|> Result.map Hex.toString
|> Result.map String.toLower
)
(Ok output)
hmacSha1 : Bytes -> Bytes -> Bytes
hmacSha1 key message =
HmacSha1.fromBytes (Key.fromBytes key) message
|> HmacSha1.toBytes
| true | module Tests exposing (suite)
import Bytes exposing (Bytes, Endianness(..))
import Bytes.Encode as E
import Expect
import Hex.Convert as Hex
import HmacSha1
import HmacSha1.Key as Key
import PBKDF2 exposing (pbkdf2)
import String
import Test exposing (Test, describe, test)
suite : Test
suite =
describe "pbkdf2"
[ -- source: https://www.ietf.org/rfc/rfc6070.txt
describe "RFC 6070"
[ pbkdf2Test
{ title = "1"
, input =
{ password = "PI:PASSWORD:<PASSWORD>END_PI"
, salt = "PI:PASSWORD:<PASSWORD>END_PI"
, c = 1
, dkLen = 20
}
, output = "0c60c80f961f0e71f3a9b524af6012062fe037a6"
}
, pbkdf2Test
{ title = "2"
, input =
{ password = "PI:PASSWORD:<PASSWORD>END_PI"
, salt = "PI:PASSWORD:<PASSWORD>END_PI"
, c = 2
, dkLen = 20
}
, output = "ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957"
}
, pbkdf2Test
{ title = "3"
, input =
{ password = "PI:PASSWORD:<PASSWORD>END_PI"
, salt = "PI:PASSWORD:<PASSWORD>END_PI"
, c = 4096
, dkLen = 20
}
, output = "4b007901b765489abead49d926f721d065a429c1"
}
-- WARNING: this test takes a lot of times to perform
-- , pbkdf2Test
-- { title = "4"
-- , input =
-- { password = "PI:PASSWORD:<PASSWORD>END_PI"
-- , salt = "PI:PASSWORD:<PASSWORD>END_PI"
-- , c = 16777216
-- , dkLen = 20
-- }
-- , output = "eefe3d61cd4da4e4e994PI:PASSWORD:<PASSWORD>END_PIbaPI:PASSWORD:<PASSWORD>END_PI"
-- }
, pbkdf2Test
{ title = "5"
, input =
{ password = "PI:PASSWORD:<PASSWORD>END_PI"
, salt = "saltSALTsaltSALTsaltSALTsaltSALTsalt"
, c = 4096
, dkLen = 25
}
, output = "3PI:PASSWORD:<PASSWORD>END_PI2eec4fe41cPI:PASSWORD:<PASSWORD>END_PI9PI:PASSWORD:<PASSWORD>END_PIcfPI:PASSWORD:<PASSWORD>END_PI"
}
, pbkdf2Test
{ title = "6"
, input =
{ password = "PI:PASSWORD:<PASSWORD>END_PI"
, salt = "sa\u{0000}lt"
, c = 4096
, dkLen = 16
}
, output = "56fa6aa75548099dcc37d7f03425e0c3"
}
]
]
-- helpers
type alias Vector =
{ title : String
, input :
{ password : String
, salt : String
, c : Int
, dkLen : Int
}
, output : String
}
pbkdf2Test : Vector -> Test
pbkdf2Test { title, input, output } =
test title <|
\_ ->
let
p =
E.encode <| E.string input.password
s =
E.encode <| E.string input.salt
in
Expect.equal
(pbkdf2 ( hmacSha1, 20 ) p s input.c input.dkLen
|> Result.map Hex.toString
|> Result.map String.toLower
)
(Ok output)
hmacSha1 : Bytes -> Bytes -> Bytes
hmacSha1 key message =
HmacSha1.fromBytes (Key.fromBytes key) message
|> HmacSha1.toBytes
| elm |
[
{
"context": " Nothing\n , composer = Nothing\n , key = Key.cMajor\n , timeSignature = TimeSignature.four TimeSign",
"end": 3982,
"score": 0.8781667948,
"start": 3976,
"tag": "KEY",
"value": "cMajor"
}
] | src/MusicTheory/Notation.elm | battermann/elm-music-theory | 5 | module MusicTheory.Notation exposing
( BarAttribute(..)
, Bpm
, Chord(..)
, ChordNote(..)
, Clef(..)
, Notation
, Note(..)
, NoteAttribute(..)
, Rest(..)
, RestAttribute(..)
, Staff
, Voice(..)
, VoiceAttribute(..)
, VoiceElement(..)
, bar
, bass
, beam
, chord
, chordNote
, doubleLine
, fromVoice
, length
, line
, map
, modify
, note
, rest
, staff
, staffMap
, tie
, treble
, tuplet
, voiceDuration
, voiceElementDuration
, voiceMap
)
import Libs.Ratio as Ratio exposing (Rational)
import MusicTheory.Duration as Duration exposing (Duration)
import MusicTheory.Key as Key exposing (Key)
import MusicTheory.Letter exposing (Letter(..))
import MusicTheory.Notation.Decoration as Decoration exposing (..)
import MusicTheory.Octave exposing (Octave)
import MusicTheory.Pitch as Pitch exposing (Pitch)
import MusicTheory.Pitch.Spelling exposing (PitchSpelling)
import MusicTheory.PitchClass as PitchClass
import MusicTheory.PitchClass.Spelling exposing (Accidental(..))
import MusicTheory.TimeSignature as TimeSignature exposing (TimeSignature)
import MusicTheory.Tuplet as Tuplet exposing (Tuplet)
type alias Bpm =
Float
type NoteAttribute
= Tie
| NoteDynamic Dynamic
| Articulation Articulation
| Ornament Ornament
| NoteHead NoteHead
| ChordSymbol ChordSymbol
| Lyrics Lyrics
type Note a
= NoteElement (List NoteAttribute) Duration a
type RestAttribute
= Invisible
type Rest
= RestElement (List RestAttribute) Duration
type ChordNote a
= ChordNote (List NoteAttribute) a
type Chord a
= ChordElement (List NoteAttribute) Duration (List (ChordNote a))
type Clef
= Treble
| Bass
type BarAttribute
= DoubleLine
type VoiceAttribute
= Tuplet Tuplet
| Beam
| Bar (List BarAttribute)
type VoiceElement a
= Note (Note a)
| Rest Rest
| Chord (Chord a)
type Voice a
= Line (List (VoiceElement a))
| Append (Voice a) (Voice a)
| Attribute VoiceAttribute (Voice a)
type alias Staff a =
{ clef : Clef
, voices : List (Voice a)
}
type alias Notation a =
{ title : Maybe String
, composer : Maybe String
, key : Key
, timeSignature : TimeSignature
, tempo : Maybe ( Duration, Bpm )
, staffs : List (Staff a)
}
-- CONSTRUCTORS
note : List NoteAttribute -> a -> Duration -> Voice a
note attrs a duration =
NoteElement attrs duration a
|> Note
|> List.singleton
|> Line
rest : List RestAttribute -> Duration -> Voice a
rest attrs duration =
RestElement attrs duration
|> Rest
|> List.singleton
|> Line
line : List (Voice a) -> Voice a
line voices =
let
fold v1 v2 =
case ( v1, v2 ) of
( Line es1, Line es2 ) ->
Line (es1 ++ es2)
_ ->
Append v1 v2
in
List.foldr fold (Line []) voices
chordNote : List NoteAttribute -> a -> ChordNote a
chordNote attrs a =
ChordNote attrs a
chord : List NoteAttribute -> List (ChordNote a) -> Duration -> Voice a
chord attrs chordNotes duration =
ChordElement attrs duration chordNotes
|> Chord
|> List.singleton
|> Line
modify : VoiceAttribute -> Voice a -> Voice a
modify c voice =
Attribute c voice
tuplet : Tuplet -> List (Voice a) -> Voice a
tuplet t =
line >> modify (Tuplet t)
beam : List (Voice a) -> Voice a
beam =
line >> Attribute Beam
bar : List BarAttribute -> List (Voice a) -> Voice a
bar attrs =
line >> modify (Bar attrs)
staff : Clef -> List (Voice a) -> Staff a
staff cl voices =
{ clef = cl, voices = voices }
treble : Clef
treble =
Treble
bass : Clef
bass =
Bass
fromVoice : Voice a -> Notation a
fromVoice voice =
{ title = Nothing
, composer = Nothing
, key = Key.cMajor
, timeSignature = TimeSignature.four TimeSignature.quarters
, tempo = Nothing
, staffs = [ staff treble [ voice ] ]
}
-- ATTRIBUTES
tie : NoteAttribute
tie =
Tie
doubleLine : BarAttribute
doubleLine =
DoubleLine
-- FUNCTIONS
map : (a -> b) -> Notation a -> Notation b
map f n =
{ title = n.title
, composer = n.composer
, key = n.key
, timeSignature = n.timeSignature
, tempo = n.tempo
, staffs = n.staffs |> List.map (staffMap f)
}
staffMap : (a -> b) -> Staff a -> Staff b
staffMap f s =
{ clef = s.clef, voices = s.voices |> List.map (voiceMap f) }
voiceMap : (a -> b) -> Voice a -> Voice b
voiceMap f voice =
case voice of
Line elements ->
Line (elements |> List.map (elMap f))
Append v1 v2 ->
Append (voiceMap f v1) (voiceMap f v2)
Attribute c v ->
Attribute c (voiceMap f v)
chordNoteMap : (a -> b) -> ChordNote a -> ChordNote b
chordNoteMap f (ChordNote attrs a) =
ChordNote attrs (f a)
elMap : (a -> b) -> VoiceElement a -> VoiceElement b
elMap f el =
case el of
Note (NoteElement attrs duration a) ->
Note (NoteElement attrs duration (f a))
Rest r ->
Rest r
Chord (ChordElement attrs duration chordNotes) ->
Chord (ChordElement attrs duration (chordNotes |> List.map (chordNoteMap f)))
restElementDuration : Rest -> Rational
restElementDuration (RestElement _ duration) =
Duration.toRational duration
voiceElementDuration : VoiceElement a -> Rational
voiceElementDuration voiceElement =
case voiceElement of
Note (NoteElement _ duration _) ->
Duration.toRational duration
Rest (RestElement _ duration) ->
Duration.toRational duration
Chord (ChordElement _ duration _) ->
Duration.toRational duration
voiceDuration : Voice a -> Rational
voiceDuration voice =
case voice of
Line elements ->
elements |> List.foldl (\a b -> Ratio.add (voiceElementDuration a) b) (Ratio.over 0 1)
Append v1 v2 ->
Ratio.add (voiceDuration v1) (voiceDuration v2)
Attribute (Tuplet t) v ->
Ratio.divide (voiceDuration v) (Tuplet.toRational t)
Attribute _ v ->
voiceDuration v
length : Voice a -> Int
length voice =
case voice of
Line elements ->
elements |> List.length
Append v1 v2 ->
length v1 + length v2
Attribute _ v ->
length v
| 39833 | module MusicTheory.Notation exposing
( BarAttribute(..)
, Bpm
, Chord(..)
, ChordNote(..)
, Clef(..)
, Notation
, Note(..)
, NoteAttribute(..)
, Rest(..)
, RestAttribute(..)
, Staff
, Voice(..)
, VoiceAttribute(..)
, VoiceElement(..)
, bar
, bass
, beam
, chord
, chordNote
, doubleLine
, fromVoice
, length
, line
, map
, modify
, note
, rest
, staff
, staffMap
, tie
, treble
, tuplet
, voiceDuration
, voiceElementDuration
, voiceMap
)
import Libs.Ratio as Ratio exposing (Rational)
import MusicTheory.Duration as Duration exposing (Duration)
import MusicTheory.Key as Key exposing (Key)
import MusicTheory.Letter exposing (Letter(..))
import MusicTheory.Notation.Decoration as Decoration exposing (..)
import MusicTheory.Octave exposing (Octave)
import MusicTheory.Pitch as Pitch exposing (Pitch)
import MusicTheory.Pitch.Spelling exposing (PitchSpelling)
import MusicTheory.PitchClass as PitchClass
import MusicTheory.PitchClass.Spelling exposing (Accidental(..))
import MusicTheory.TimeSignature as TimeSignature exposing (TimeSignature)
import MusicTheory.Tuplet as Tuplet exposing (Tuplet)
type alias Bpm =
Float
type NoteAttribute
= Tie
| NoteDynamic Dynamic
| Articulation Articulation
| Ornament Ornament
| NoteHead NoteHead
| ChordSymbol ChordSymbol
| Lyrics Lyrics
type Note a
= NoteElement (List NoteAttribute) Duration a
type RestAttribute
= Invisible
type Rest
= RestElement (List RestAttribute) Duration
type ChordNote a
= ChordNote (List NoteAttribute) a
type Chord a
= ChordElement (List NoteAttribute) Duration (List (ChordNote a))
type Clef
= Treble
| Bass
type BarAttribute
= DoubleLine
type VoiceAttribute
= Tuplet Tuplet
| Beam
| Bar (List BarAttribute)
type VoiceElement a
= Note (Note a)
| Rest Rest
| Chord (Chord a)
type Voice a
= Line (List (VoiceElement a))
| Append (Voice a) (Voice a)
| Attribute VoiceAttribute (Voice a)
type alias Staff a =
{ clef : Clef
, voices : List (Voice a)
}
type alias Notation a =
{ title : Maybe String
, composer : Maybe String
, key : Key
, timeSignature : TimeSignature
, tempo : Maybe ( Duration, Bpm )
, staffs : List (Staff a)
}
-- CONSTRUCTORS
note : List NoteAttribute -> a -> Duration -> Voice a
note attrs a duration =
NoteElement attrs duration a
|> Note
|> List.singleton
|> Line
rest : List RestAttribute -> Duration -> Voice a
rest attrs duration =
RestElement attrs duration
|> Rest
|> List.singleton
|> Line
line : List (Voice a) -> Voice a
line voices =
let
fold v1 v2 =
case ( v1, v2 ) of
( Line es1, Line es2 ) ->
Line (es1 ++ es2)
_ ->
Append v1 v2
in
List.foldr fold (Line []) voices
chordNote : List NoteAttribute -> a -> ChordNote a
chordNote attrs a =
ChordNote attrs a
chord : List NoteAttribute -> List (ChordNote a) -> Duration -> Voice a
chord attrs chordNotes duration =
ChordElement attrs duration chordNotes
|> Chord
|> List.singleton
|> Line
modify : VoiceAttribute -> Voice a -> Voice a
modify c voice =
Attribute c voice
tuplet : Tuplet -> List (Voice a) -> Voice a
tuplet t =
line >> modify (Tuplet t)
beam : List (Voice a) -> Voice a
beam =
line >> Attribute Beam
bar : List BarAttribute -> List (Voice a) -> Voice a
bar attrs =
line >> modify (Bar attrs)
staff : Clef -> List (Voice a) -> Staff a
staff cl voices =
{ clef = cl, voices = voices }
treble : Clef
treble =
Treble
bass : Clef
bass =
Bass
fromVoice : Voice a -> Notation a
fromVoice voice =
{ title = Nothing
, composer = Nothing
, key = Key.<KEY>
, timeSignature = TimeSignature.four TimeSignature.quarters
, tempo = Nothing
, staffs = [ staff treble [ voice ] ]
}
-- ATTRIBUTES
tie : NoteAttribute
tie =
Tie
doubleLine : BarAttribute
doubleLine =
DoubleLine
-- FUNCTIONS
map : (a -> b) -> Notation a -> Notation b
map f n =
{ title = n.title
, composer = n.composer
, key = n.key
, timeSignature = n.timeSignature
, tempo = n.tempo
, staffs = n.staffs |> List.map (staffMap f)
}
staffMap : (a -> b) -> Staff a -> Staff b
staffMap f s =
{ clef = s.clef, voices = s.voices |> List.map (voiceMap f) }
voiceMap : (a -> b) -> Voice a -> Voice b
voiceMap f voice =
case voice of
Line elements ->
Line (elements |> List.map (elMap f))
Append v1 v2 ->
Append (voiceMap f v1) (voiceMap f v2)
Attribute c v ->
Attribute c (voiceMap f v)
chordNoteMap : (a -> b) -> ChordNote a -> ChordNote b
chordNoteMap f (ChordNote attrs a) =
ChordNote attrs (f a)
elMap : (a -> b) -> VoiceElement a -> VoiceElement b
elMap f el =
case el of
Note (NoteElement attrs duration a) ->
Note (NoteElement attrs duration (f a))
Rest r ->
Rest r
Chord (ChordElement attrs duration chordNotes) ->
Chord (ChordElement attrs duration (chordNotes |> List.map (chordNoteMap f)))
restElementDuration : Rest -> Rational
restElementDuration (RestElement _ duration) =
Duration.toRational duration
voiceElementDuration : VoiceElement a -> Rational
voiceElementDuration voiceElement =
case voiceElement of
Note (NoteElement _ duration _) ->
Duration.toRational duration
Rest (RestElement _ duration) ->
Duration.toRational duration
Chord (ChordElement _ duration _) ->
Duration.toRational duration
voiceDuration : Voice a -> Rational
voiceDuration voice =
case voice of
Line elements ->
elements |> List.foldl (\a b -> Ratio.add (voiceElementDuration a) b) (Ratio.over 0 1)
Append v1 v2 ->
Ratio.add (voiceDuration v1) (voiceDuration v2)
Attribute (Tuplet t) v ->
Ratio.divide (voiceDuration v) (Tuplet.toRational t)
Attribute _ v ->
voiceDuration v
length : Voice a -> Int
length voice =
case voice of
Line elements ->
elements |> List.length
Append v1 v2 ->
length v1 + length v2
Attribute _ v ->
length v
| true | module MusicTheory.Notation exposing
( BarAttribute(..)
, Bpm
, Chord(..)
, ChordNote(..)
, Clef(..)
, Notation
, Note(..)
, NoteAttribute(..)
, Rest(..)
, RestAttribute(..)
, Staff
, Voice(..)
, VoiceAttribute(..)
, VoiceElement(..)
, bar
, bass
, beam
, chord
, chordNote
, doubleLine
, fromVoice
, length
, line
, map
, modify
, note
, rest
, staff
, staffMap
, tie
, treble
, tuplet
, voiceDuration
, voiceElementDuration
, voiceMap
)
import Libs.Ratio as Ratio exposing (Rational)
import MusicTheory.Duration as Duration exposing (Duration)
import MusicTheory.Key as Key exposing (Key)
import MusicTheory.Letter exposing (Letter(..))
import MusicTheory.Notation.Decoration as Decoration exposing (..)
import MusicTheory.Octave exposing (Octave)
import MusicTheory.Pitch as Pitch exposing (Pitch)
import MusicTheory.Pitch.Spelling exposing (PitchSpelling)
import MusicTheory.PitchClass as PitchClass
import MusicTheory.PitchClass.Spelling exposing (Accidental(..))
import MusicTheory.TimeSignature as TimeSignature exposing (TimeSignature)
import MusicTheory.Tuplet as Tuplet exposing (Tuplet)
type alias Bpm =
Float
type NoteAttribute
= Tie
| NoteDynamic Dynamic
| Articulation Articulation
| Ornament Ornament
| NoteHead NoteHead
| ChordSymbol ChordSymbol
| Lyrics Lyrics
type Note a
= NoteElement (List NoteAttribute) Duration a
type RestAttribute
= Invisible
type Rest
= RestElement (List RestAttribute) Duration
type ChordNote a
= ChordNote (List NoteAttribute) a
type Chord a
= ChordElement (List NoteAttribute) Duration (List (ChordNote a))
type Clef
= Treble
| Bass
type BarAttribute
= DoubleLine
type VoiceAttribute
= Tuplet Tuplet
| Beam
| Bar (List BarAttribute)
type VoiceElement a
= Note (Note a)
| Rest Rest
| Chord (Chord a)
type Voice a
= Line (List (VoiceElement a))
| Append (Voice a) (Voice a)
| Attribute VoiceAttribute (Voice a)
type alias Staff a =
{ clef : Clef
, voices : List (Voice a)
}
type alias Notation a =
{ title : Maybe String
, composer : Maybe String
, key : Key
, timeSignature : TimeSignature
, tempo : Maybe ( Duration, Bpm )
, staffs : List (Staff a)
}
-- CONSTRUCTORS
note : List NoteAttribute -> a -> Duration -> Voice a
note attrs a duration =
NoteElement attrs duration a
|> Note
|> List.singleton
|> Line
rest : List RestAttribute -> Duration -> Voice a
rest attrs duration =
RestElement attrs duration
|> Rest
|> List.singleton
|> Line
line : List (Voice a) -> Voice a
line voices =
let
fold v1 v2 =
case ( v1, v2 ) of
( Line es1, Line es2 ) ->
Line (es1 ++ es2)
_ ->
Append v1 v2
in
List.foldr fold (Line []) voices
chordNote : List NoteAttribute -> a -> ChordNote a
chordNote attrs a =
ChordNote attrs a
chord : List NoteAttribute -> List (ChordNote a) -> Duration -> Voice a
chord attrs chordNotes duration =
ChordElement attrs duration chordNotes
|> Chord
|> List.singleton
|> Line
modify : VoiceAttribute -> Voice a -> Voice a
modify c voice =
Attribute c voice
tuplet : Tuplet -> List (Voice a) -> Voice a
tuplet t =
line >> modify (Tuplet t)
beam : List (Voice a) -> Voice a
beam =
line >> Attribute Beam
bar : List BarAttribute -> List (Voice a) -> Voice a
bar attrs =
line >> modify (Bar attrs)
staff : Clef -> List (Voice a) -> Staff a
staff cl voices =
{ clef = cl, voices = voices }
treble : Clef
treble =
Treble
bass : Clef
bass =
Bass
fromVoice : Voice a -> Notation a
fromVoice voice =
{ title = Nothing
, composer = Nothing
, key = Key.PI:KEY:<KEY>END_PI
, timeSignature = TimeSignature.four TimeSignature.quarters
, tempo = Nothing
, staffs = [ staff treble [ voice ] ]
}
-- ATTRIBUTES
tie : NoteAttribute
tie =
Tie
doubleLine : BarAttribute
doubleLine =
DoubleLine
-- FUNCTIONS
map : (a -> b) -> Notation a -> Notation b
map f n =
{ title = n.title
, composer = n.composer
, key = n.key
, timeSignature = n.timeSignature
, tempo = n.tempo
, staffs = n.staffs |> List.map (staffMap f)
}
staffMap : (a -> b) -> Staff a -> Staff b
staffMap f s =
{ clef = s.clef, voices = s.voices |> List.map (voiceMap f) }
voiceMap : (a -> b) -> Voice a -> Voice b
voiceMap f voice =
case voice of
Line elements ->
Line (elements |> List.map (elMap f))
Append v1 v2 ->
Append (voiceMap f v1) (voiceMap f v2)
Attribute c v ->
Attribute c (voiceMap f v)
chordNoteMap : (a -> b) -> ChordNote a -> ChordNote b
chordNoteMap f (ChordNote attrs a) =
ChordNote attrs (f a)
elMap : (a -> b) -> VoiceElement a -> VoiceElement b
elMap f el =
case el of
Note (NoteElement attrs duration a) ->
Note (NoteElement attrs duration (f a))
Rest r ->
Rest r
Chord (ChordElement attrs duration chordNotes) ->
Chord (ChordElement attrs duration (chordNotes |> List.map (chordNoteMap f)))
restElementDuration : Rest -> Rational
restElementDuration (RestElement _ duration) =
Duration.toRational duration
voiceElementDuration : VoiceElement a -> Rational
voiceElementDuration voiceElement =
case voiceElement of
Note (NoteElement _ duration _) ->
Duration.toRational duration
Rest (RestElement _ duration) ->
Duration.toRational duration
Chord (ChordElement _ duration _) ->
Duration.toRational duration
voiceDuration : Voice a -> Rational
voiceDuration voice =
case voice of
Line elements ->
elements |> List.foldl (\a b -> Ratio.add (voiceElementDuration a) b) (Ratio.over 0 1)
Append v1 v2 ->
Ratio.add (voiceDuration v1) (voiceDuration v2)
Attribute (Tuplet t) v ->
Ratio.divide (voiceDuration v) (Tuplet.toRational t)
Attribute _ v ->
voiceDuration v
length : Voice a -> Int
length voice =
case voice of
Line elements ->
elements |> List.length
Append v1 v2 ->
length v1 + length v2
Attribute _ v ->
length v
| elm |
[
{
"context": "جي مُحَمَّد\"\n , meaning = \"This is my husband Mohamed.\"\n }\n , { latin = \"madiinah\"\n , arab",
"end": 5817,
"score": 0.7820053697,
"start": 5810,
"tag": "NAME",
"value": "Mohamed"
}
] | src/Arabic002.elm | kalz2q/elm-examples | 0 | module Arabic001 exposing (main)
-- this is a backup of Arabic001.elm at some point
import Browser
import Html exposing (..)
import Html.Attributes as HA
import Html.Events as HE
import Random
main : Program () Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
type alias Model =
{ latin : String
, arabic : String
, meaning : String
, showanswer : Bool
, list : List Arabicdata
}
type alias Arabicdata =
{ latin : String
, arabic : String
, meaning : String
}
init : () -> ( Model, Cmd Msg )
init _ =
( Model "" "" "" False dict
, Random.generate NewList (shuffle dict)
)
type Msg
= Delete
| Next
| NewRandom Int
| Shuffle
| NewList (List Arabicdata)
| ShowAnswer Int
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Delete ->
( model
, Cmd.none
)
Next ->
( model
, Cmd.none
)
NewRandom n ->
case List.drop n dict of
x :: _ ->
( { model
| latin = x.latin
, arabic = x.arabic
, meaning = x.meaning
}
, Cmd.none
)
[] ->
( model
, Cmd.none
)
Shuffle ->
( model
, Random.generate NewList
(shuffle dict)
)
NewList newList ->
( { model | list = newList }
, Cmd.none
)
ShowAnswer index ->
case List.drop index model.list of
x :: _ ->
( { model
| latin = x.latin
, arabic = x.arabic
, meaning = x.meaning
, showanswer = True
}
, Cmd.none
)
[] ->
( model
, Cmd.none
)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
view : Model -> Html Msg
view model =
div []
[ text "Convert latin to arabic"
, p [] [ text "SabaaH" ]
, button [] [ text "Show Answer" ]
, button [] [ text "Delete" ]
, button [] [ text "Next" ]
]
shuffle : List a -> Random.Generator (List a)
shuffle list =
let
randomNumbers : Random.Generator (List Int)
randomNumbers =
Random.list (List.length list) <| Random.int Random.minInt Random.maxInt
zipWithList : List Int -> List ( a, Int )
zipWithList intList =
List.map2 Tuple.pair list intList
listWithRandomNumbers : Random.Generator (List ( a, Int ))
listWithRandomNumbers =
Random.map zipWithList randomNumbers
sortedGenerator : Random.Generator (List ( a, Int ))
sortedGenerator =
Random.map (List.sortBy Tuple.second) listWithRandomNumbers
in
Random.map (List.map Tuple.first) sortedGenerator
dict =
[ { latin = "alssalaamu"
, arabic = "اَلسَّلَامُ"
, meaning = "peace"
}
, { latin = "2alaykum"
, arabic = "عَلَيْكُمْ"
, meaning = "on you"
}
, { latin = "SabaaH"
, arabic = "صَبَاح"
, meaning = "morning"
}
, { latin = "marhaban"
, arabic = "مَرْحَبًا"
, meaning = "Hello"
}
, { latin = "thaqaafah"
, arabic = "ثَقافَة"
, meaning = "culture"
}
, { latin = "2anaa bikhayr"
, arabic = "أَنا بِخَيْر"
, meaning = "I'm fine"
}
, { latin = "kabir"
, arabic = "كَبير"
, meaning = "large, big"
}
, { latin = "bayt"
, arabic = "بَيْت"
, meaning = "a house"
}
, { latin = "laysa"
, arabic = "لِيْسَ"
, meaning = "do not"
}
, { latin = "3and"
, arabic = "عَنْد"
, meaning = "have"
}
, { latin = "siith"
, arabic = "سيث"
, meaning = "Seth(male name)"
}
, { latin = "baluuzah"
, arabic = "بَلوزة"
, meaning = "blouse"
}
, { latin = "tii shiirt"
, arabic = "تي شيرْت"
, meaning = "T-shirt"
}
, { latin = "mi3Taf"
, arabic = "مِعْطَف"
, meaning = "a coat"
}
, { latin = "riim"
, arabic = "ريم"
, meaning = "Reem(name)"
}
, { latin = "tannuurah"
, arabic = "تَنّورة"
, meaning = "a skirt"
}
, { latin = "jadiid"
, arabic = "جَديد"
, meaning = "new"
}
, { latin = "wishshaaH"
, arabic = "وِشَاح"
, meaning = "a scarf"
}
, { latin = "judii"
, arabic = "جودي"
, meaning = "Judy(name)"
}
, { latin = "jamiil"
, arabic = "جَميل"
, meaning = "good, nice"
}
, { latin = "kalb"
, arabic = "كَلْب"
, meaning = "a dog"
}
, { latin = "2azraq"
, arabic = "أَزْرَق"
, meaning = "blue"
}
, { latin = "2abyad"
, arabic = "أَبْيَض "
, meaning = "white"
}
, { latin = "qubba3ah"
, arabic = "قُبَّعة"
, meaning = "a hat"
}
, { latin = "bunniyy"
, arabic = "بُنِّيّ"
, meaning = "brown"
}
, { latin = "alquraan"
, arabic = "اَلْقُرْآن"
, meaning = "Koran"
}
, { latin = "bikhayrin"
, arabic = "بِخَيْرٍ"
, meaning = "be fine"
}
, { latin = "haadhaa zaujii muHammad"
, arabic = "هٰذا زَوْجي مُحَمَّد"
, meaning = "This is my husband Mohamed."
}
, { latin = "madiinah"
, arabic = "مَدينة"
, meaning = "city"
}
, { latin = "haadhihi"
, arabic = "هاذِهِ"
, meaning = "this one"
}
, { latin = "qadiimah"
, arabic = "قَديمة"
, meaning = "old"
}
, { latin = "haadhaa"
, arabic = "هذا"
, meaning = "this is"
}
, { latin = "Saaluun"
, arabic = "صالون"
, meaning = "saloon, living room"
}
-- , { latin = ""
-- , arabic = ""
-- , meaning = ""
-- }
-- , { latin = ""
-- , arabic = ""
-- , meaning = ""
-- }
]
| 33179 | module Arabic001 exposing (main)
-- this is a backup of Arabic001.elm at some point
import Browser
import Html exposing (..)
import Html.Attributes as HA
import Html.Events as HE
import Random
main : Program () Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
type alias Model =
{ latin : String
, arabic : String
, meaning : String
, showanswer : Bool
, list : List Arabicdata
}
type alias Arabicdata =
{ latin : String
, arabic : String
, meaning : String
}
init : () -> ( Model, Cmd Msg )
init _ =
( Model "" "" "" False dict
, Random.generate NewList (shuffle dict)
)
type Msg
= Delete
| Next
| NewRandom Int
| Shuffle
| NewList (List Arabicdata)
| ShowAnswer Int
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Delete ->
( model
, Cmd.none
)
Next ->
( model
, Cmd.none
)
NewRandom n ->
case List.drop n dict of
x :: _ ->
( { model
| latin = x.latin
, arabic = x.arabic
, meaning = x.meaning
}
, Cmd.none
)
[] ->
( model
, Cmd.none
)
Shuffle ->
( model
, Random.generate NewList
(shuffle dict)
)
NewList newList ->
( { model | list = newList }
, Cmd.none
)
ShowAnswer index ->
case List.drop index model.list of
x :: _ ->
( { model
| latin = x.latin
, arabic = x.arabic
, meaning = x.meaning
, showanswer = True
}
, Cmd.none
)
[] ->
( model
, Cmd.none
)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
view : Model -> Html Msg
view model =
div []
[ text "Convert latin to arabic"
, p [] [ text "SabaaH" ]
, button [] [ text "Show Answer" ]
, button [] [ text "Delete" ]
, button [] [ text "Next" ]
]
shuffle : List a -> Random.Generator (List a)
shuffle list =
let
randomNumbers : Random.Generator (List Int)
randomNumbers =
Random.list (List.length list) <| Random.int Random.minInt Random.maxInt
zipWithList : List Int -> List ( a, Int )
zipWithList intList =
List.map2 Tuple.pair list intList
listWithRandomNumbers : Random.Generator (List ( a, Int ))
listWithRandomNumbers =
Random.map zipWithList randomNumbers
sortedGenerator : Random.Generator (List ( a, Int ))
sortedGenerator =
Random.map (List.sortBy Tuple.second) listWithRandomNumbers
in
Random.map (List.map Tuple.first) sortedGenerator
dict =
[ { latin = "alssalaamu"
, arabic = "اَلسَّلَامُ"
, meaning = "peace"
}
, { latin = "2alaykum"
, arabic = "عَلَيْكُمْ"
, meaning = "on you"
}
, { latin = "SabaaH"
, arabic = "صَبَاح"
, meaning = "morning"
}
, { latin = "marhaban"
, arabic = "مَرْحَبًا"
, meaning = "Hello"
}
, { latin = "thaqaafah"
, arabic = "ثَقافَة"
, meaning = "culture"
}
, { latin = "2anaa bikhayr"
, arabic = "أَنا بِخَيْر"
, meaning = "I'm fine"
}
, { latin = "kabir"
, arabic = "كَبير"
, meaning = "large, big"
}
, { latin = "bayt"
, arabic = "بَيْت"
, meaning = "a house"
}
, { latin = "laysa"
, arabic = "لِيْسَ"
, meaning = "do not"
}
, { latin = "3and"
, arabic = "عَنْد"
, meaning = "have"
}
, { latin = "siith"
, arabic = "سيث"
, meaning = "Seth(male name)"
}
, { latin = "baluuzah"
, arabic = "بَلوزة"
, meaning = "blouse"
}
, { latin = "tii shiirt"
, arabic = "تي شيرْت"
, meaning = "T-shirt"
}
, { latin = "mi3Taf"
, arabic = "مِعْطَف"
, meaning = "a coat"
}
, { latin = "riim"
, arabic = "ريم"
, meaning = "Reem(name)"
}
, { latin = "tannuurah"
, arabic = "تَنّورة"
, meaning = "a skirt"
}
, { latin = "jadiid"
, arabic = "جَديد"
, meaning = "new"
}
, { latin = "wishshaaH"
, arabic = "وِشَاح"
, meaning = "a scarf"
}
, { latin = "judii"
, arabic = "جودي"
, meaning = "Judy(name)"
}
, { latin = "jamiil"
, arabic = "جَميل"
, meaning = "good, nice"
}
, { latin = "kalb"
, arabic = "كَلْب"
, meaning = "a dog"
}
, { latin = "2azraq"
, arabic = "أَزْرَق"
, meaning = "blue"
}
, { latin = "2abyad"
, arabic = "أَبْيَض "
, meaning = "white"
}
, { latin = "qubba3ah"
, arabic = "قُبَّعة"
, meaning = "a hat"
}
, { latin = "bunniyy"
, arabic = "بُنِّيّ"
, meaning = "brown"
}
, { latin = "alquraan"
, arabic = "اَلْقُرْآن"
, meaning = "Koran"
}
, { latin = "bikhayrin"
, arabic = "بِخَيْرٍ"
, meaning = "be fine"
}
, { latin = "haadhaa zaujii muHammad"
, arabic = "هٰذا زَوْجي مُحَمَّد"
, meaning = "This is my husband <NAME>."
}
, { latin = "madiinah"
, arabic = "مَدينة"
, meaning = "city"
}
, { latin = "haadhihi"
, arabic = "هاذِهِ"
, meaning = "this one"
}
, { latin = "qadiimah"
, arabic = "قَديمة"
, meaning = "old"
}
, { latin = "haadhaa"
, arabic = "هذا"
, meaning = "this is"
}
, { latin = "Saaluun"
, arabic = "صالون"
, meaning = "saloon, living room"
}
-- , { latin = ""
-- , arabic = ""
-- , meaning = ""
-- }
-- , { latin = ""
-- , arabic = ""
-- , meaning = ""
-- }
]
| true | module Arabic001 exposing (main)
-- this is a backup of Arabic001.elm at some point
import Browser
import Html exposing (..)
import Html.Attributes as HA
import Html.Events as HE
import Random
main : Program () Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
type alias Model =
{ latin : String
, arabic : String
, meaning : String
, showanswer : Bool
, list : List Arabicdata
}
type alias Arabicdata =
{ latin : String
, arabic : String
, meaning : String
}
init : () -> ( Model, Cmd Msg )
init _ =
( Model "" "" "" False dict
, Random.generate NewList (shuffle dict)
)
type Msg
= Delete
| Next
| NewRandom Int
| Shuffle
| NewList (List Arabicdata)
| ShowAnswer Int
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Delete ->
( model
, Cmd.none
)
Next ->
( model
, Cmd.none
)
NewRandom n ->
case List.drop n dict of
x :: _ ->
( { model
| latin = x.latin
, arabic = x.arabic
, meaning = x.meaning
}
, Cmd.none
)
[] ->
( model
, Cmd.none
)
Shuffle ->
( model
, Random.generate NewList
(shuffle dict)
)
NewList newList ->
( { model | list = newList }
, Cmd.none
)
ShowAnswer index ->
case List.drop index model.list of
x :: _ ->
( { model
| latin = x.latin
, arabic = x.arabic
, meaning = x.meaning
, showanswer = True
}
, Cmd.none
)
[] ->
( model
, Cmd.none
)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
view : Model -> Html Msg
view model =
div []
[ text "Convert latin to arabic"
, p [] [ text "SabaaH" ]
, button [] [ text "Show Answer" ]
, button [] [ text "Delete" ]
, button [] [ text "Next" ]
]
shuffle : List a -> Random.Generator (List a)
shuffle list =
let
randomNumbers : Random.Generator (List Int)
randomNumbers =
Random.list (List.length list) <| Random.int Random.minInt Random.maxInt
zipWithList : List Int -> List ( a, Int )
zipWithList intList =
List.map2 Tuple.pair list intList
listWithRandomNumbers : Random.Generator (List ( a, Int ))
listWithRandomNumbers =
Random.map zipWithList randomNumbers
sortedGenerator : Random.Generator (List ( a, Int ))
sortedGenerator =
Random.map (List.sortBy Tuple.second) listWithRandomNumbers
in
Random.map (List.map Tuple.first) sortedGenerator
dict =
[ { latin = "alssalaamu"
, arabic = "اَلسَّلَامُ"
, meaning = "peace"
}
, { latin = "2alaykum"
, arabic = "عَلَيْكُمْ"
, meaning = "on you"
}
, { latin = "SabaaH"
, arabic = "صَبَاح"
, meaning = "morning"
}
, { latin = "marhaban"
, arabic = "مَرْحَبًا"
, meaning = "Hello"
}
, { latin = "thaqaafah"
, arabic = "ثَقافَة"
, meaning = "culture"
}
, { latin = "2anaa bikhayr"
, arabic = "أَنا بِخَيْر"
, meaning = "I'm fine"
}
, { latin = "kabir"
, arabic = "كَبير"
, meaning = "large, big"
}
, { latin = "bayt"
, arabic = "بَيْت"
, meaning = "a house"
}
, { latin = "laysa"
, arabic = "لِيْسَ"
, meaning = "do not"
}
, { latin = "3and"
, arabic = "عَنْد"
, meaning = "have"
}
, { latin = "siith"
, arabic = "سيث"
, meaning = "Seth(male name)"
}
, { latin = "baluuzah"
, arabic = "بَلوزة"
, meaning = "blouse"
}
, { latin = "tii shiirt"
, arabic = "تي شيرْت"
, meaning = "T-shirt"
}
, { latin = "mi3Taf"
, arabic = "مِعْطَف"
, meaning = "a coat"
}
, { latin = "riim"
, arabic = "ريم"
, meaning = "Reem(name)"
}
, { latin = "tannuurah"
, arabic = "تَنّورة"
, meaning = "a skirt"
}
, { latin = "jadiid"
, arabic = "جَديد"
, meaning = "new"
}
, { latin = "wishshaaH"
, arabic = "وِشَاح"
, meaning = "a scarf"
}
, { latin = "judii"
, arabic = "جودي"
, meaning = "Judy(name)"
}
, { latin = "jamiil"
, arabic = "جَميل"
, meaning = "good, nice"
}
, { latin = "kalb"
, arabic = "كَلْب"
, meaning = "a dog"
}
, { latin = "2azraq"
, arabic = "أَزْرَق"
, meaning = "blue"
}
, { latin = "2abyad"
, arabic = "أَبْيَض "
, meaning = "white"
}
, { latin = "qubba3ah"
, arabic = "قُبَّعة"
, meaning = "a hat"
}
, { latin = "bunniyy"
, arabic = "بُنِّيّ"
, meaning = "brown"
}
, { latin = "alquraan"
, arabic = "اَلْقُرْآن"
, meaning = "Koran"
}
, { latin = "bikhayrin"
, arabic = "بِخَيْرٍ"
, meaning = "be fine"
}
, { latin = "haadhaa zaujii muHammad"
, arabic = "هٰذا زَوْجي مُحَمَّد"
, meaning = "This is my husband PI:NAME:<NAME>END_PI."
}
, { latin = "madiinah"
, arabic = "مَدينة"
, meaning = "city"
}
, { latin = "haadhihi"
, arabic = "هاذِهِ"
, meaning = "this one"
}
, { latin = "qadiimah"
, arabic = "قَديمة"
, meaning = "old"
}
, { latin = "haadhaa"
, arabic = "هذا"
, meaning = "this is"
}
, { latin = "Saaluun"
, arabic = "صالون"
, meaning = "saloon, living room"
}
-- , { latin = ""
-- , arabic = ""
-- , meaning = ""
-- }
-- , { latin = ""
-- , arabic = ""
-- , meaning = ""
-- }
]
| elm |
[
{
"context": "ples originally provided at\n-- https://github.com/vega/vega-datasets\n-- The examples themselves reproduc",
"end": 181,
"score": 0.9923114777,
"start": 177,
"tag": "USERNAME",
"value": "vega"
},
{
"context": "ountries in the world (modified from an example in Lisa Charlotte Rost's blog post 'One Chart, Twelve Charting Libraries",
"end": 7068,
"score": 0.9997220039,
"start": 7049,
"tag": "NAME",
"value": "Lisa Charlotte Rost"
},
{
"context": " encoding\n << position Y [ PName \"Miles_per_Gallon\", PmType Quantitative, PAggregate ",
"end": 44361,
"score": 0.7963552475,
"start": 44360,
"tag": "NAME",
"value": "M"
},
{
"context": " << position Y [ PName \"Miles_per_Gallon\", PmType Quantitative, PAggregate Mean ]\n\n ",
"end": 44374,
"score": 0.6559726596,
"start": 44371,
"tag": "NAME",
"value": "all"
},
{
"context": "( \"Northern\", \"rgb(0,0,0)\" )\n , ( \"Piccadilly\", \"rgb(0,24,168)\" )\n , ( \"Victoria",
"end": 65453,
"score": 0.9969521165,
"start": 65443,
"tag": "NAME",
"value": "Piccadilly"
}
] | vlTest-gallery/src/Gallery.elm | DougBurke/elm-vega | 1 | port module Gallery exposing (elmToJS)
import Platform
import VegaLite exposing (..)
-- NOTE: All data sources in these examples originally provided at
-- https://github.com/vega/vega-datasets
-- The examples themselves reproduce those at https://vega.github.io/vega-lite/examples/
basic1 : Spec
basic1 =
let
des =
description "A simple bar chart with embedded data."
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C", "D", "E", "F", "G", "H", "I" ])
<< dataColumn "b" (Numbers [ 28, 55, 43, 91, 81, 53, 19, 87, 52 ])
enc =
encoding
<< position X [ PName "a", PmType Ordinal ]
<< position Y [ PName "b", PmType Quantitative ]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
basic2 : Spec
basic2 =
let
des =
description "A bar chart showing the US population distribution of age groups in 2000."
trans =
transform << filter (FExpr "datum.year == 2000")
enc =
encoding
<< position X [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "population" ] ]
<< position Y [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], mark Bar [], trans [], enc [] ]
basic3 : Spec
basic3 =
let
des =
description "Simple histogram of IMDB ratings."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Bar [], enc [] ]
basic4 : Spec
basic4 =
let
des =
description "A simple bar chart with ranged data (aka Gantt Chart)."
data =
dataFromColumns []
<< dataColumn "task" (Strings [ "A", "B", "C" ])
<< dataColumn "start" (Numbers [ 1, 3, 8 ])
<< dataColumn "end" (Numbers [ 3, 8, 10 ])
enc =
encoding
<< position Y [ PName "task", PmType Ordinal ]
<< position X [ PName "start", PmType Quantitative ]
<< position X2 [ PName "end", PmType Quantitative ]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
basic5 : Spec
basic5 =
let
des =
description "Grouped bar chart shoing population structure by age and gender."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "gender", PmType Nominal, PScale [ SRangeStep (Just 12) ], PAxis [ AxTitle "" ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "population", AxGrid False ] ]
<< column [ FName "age", FmType Ordinal ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
config =
configure
<< configuration (Axis [ DomainWidth 1 ])
<< configuration (View [ Stroke Nothing ])
in
toVegaLite [ des, dataFromUrl "data/population.json" [], mark Bar [], trans [], enc [], config [] ]
basic6 : Spec
basic6 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars (via point marks)."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic7 : Spec
basic7 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars (via circle marks)."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Circle [], enc [] ]
basic8 : Spec
basic8 =
let
des =
description "A binned scatterplot comparing IMDB and Rotten Tomatoes rating with marks sized by number of reviews."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< size [ MAggregate Count, MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Circle [], enc [] ]
basic9 : Spec
basic9 =
let
des =
description "A scatterplot showing horsepower and miles per gallons with country of origin double encoded by colour and shape."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< color [ MName "Origin", MmType Nominal ]
<< shape [ MName "Origin", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic10 : Spec
basic10 =
let
des =
description "Scatterplot with Null values in grey"
data =
dataFromUrl "data/movies.json" []
config =
configure
<< configuration (RemoveInvalid False)
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative ]
<< color
[ MDataCondition
(Expr "datum.IMDB_Rating === null || datum.Rotten_Tomatoes_Rating === null")
[ MString "#ddd" ]
[ MString "rgb(76,120,168)" ]
]
in
toVegaLite [ des, config [], data, mark Point [], enc [] ]
basic11 : Spec
basic11 =
let
des =
description "A bubbleplot showing horsepower on x, miles per gallons on y, and acceleration on size."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< size [ MName "Acceleration", MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic12 : Spec
basic12 =
let
des =
description "A bubble plot showing the correlation between health and income for 187 countries in the world (modified from an example in Lisa Charlotte Rost's blog post 'One Chart, Twelve Charting Libraries' --http://lisacharlotterost.github.io/2016/05/17/one-chart-code/)."
enc =
encoding
<< position X [ PName "income", PmType Quantitative, PScale [ SType ScLog ] ]
<< position Y [ PName "health", PmType Quantitative, PScale [ SZero False ] ]
<< size [ MName "population", MmType Quantitative ]
<< color [ MString "#000" ]
sel =
selection << select "view" Interval [ BindScales ]
in
toVegaLite
[ des
, width 500
, height 300
, dataFromUrl "data/gapminder-health-income.csv" []
, mark Circle []
, enc []
, sel []
]
basic13 : Spec
basic13 =
let
des =
description "Shows the relationship between horsepower and the number of cylinders using tick marks."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Cylinders", PmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Tick [], enc [] ]
basic14 : Spec
basic14 =
let
des =
description "Google's stock price over time."
trans =
transform << filter (FExpr "datum.symbol === 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], trans [], mark Line [], enc [] ]
basic15 : Spec
basic15 =
let
des =
description "Stock prices of 5 tech companies over time."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
<< color [ MName "symbol", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], mark Line [], enc [] ]
basic16 : Spec
basic16 =
let
des =
description "Slope graph showing the change in yield for different barley sites. It shows the error in the year labels for the Morris site."
enc =
encoding
<< position X [ PName "year", PmType Ordinal, PScale [ SRangeStep (Just 50), SPadding 0.5 ] ]
<< position Y [ PName "yield", PmType Quantitative, PAggregate Median ]
<< color [ MName "site", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Line [], enc [] ]
basic17 : Spec
basic17 =
let
des =
description "Google's stock price over time (quantized as a step-chart)."
trans =
transform << filter (FExpr "datum.symbol === 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], trans [], mark Line [ MInterpolate StepAfter ], enc [] ]
basic18 : Spec
basic18 =
let
des =
description "Unemployment over time (area chart)"
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Count" ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
basic19 : Spec
basic19 =
let
des =
description "'Table heatmap' showing engine size/power for three countries."
enc =
encoding
<< position X [ PName "Cylinders", PmType Ordinal ]
<< position Y [ PName "Origin", PmType Nominal ]
<< color [ MName "Horsepower", MmType Quantitative, MAggregate Mean ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Rect [], enc [] ]
basic20 : Spec
basic20 =
let
des =
description "'Binned heatmap' comparing movie ratings."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 60 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 40 ] ]
<< color [ MmType Quantitative, MAggregate Count ]
config =
configure
<< configuration (Range [ RHeatmap "greenblue" ])
<< configuration (View [ Stroke Nothing ])
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/movies.json" []
, mark Rect []
, enc []
, config []
]
basic21 : Spec
basic21 =
let
des =
description "Table bubble plot in the style of a Github punched card."
enc =
encoding
<< position X [ PName "time", PmType Ordinal, PTimeUnit Hours ]
<< position Y [ PName "time", PmType Ordinal, PTimeUnit Day ]
<< size [ MName "count", MmType Quantitative, MAggregate Sum ]
in
toVegaLite [ des, dataFromUrl "data/github.csv" [], mark Circle [], enc [] ]
basic22 : Spec
basic22 =
let
des =
description "Visualization of global deaths from natural disasters. Copy of chart from https://ourworldindata.org/natural-catastrophes"
trans =
transform
<< filter (FExpr "datum.Entity !== 'All natural disasters'")
enc =
encoding
<< position X [ PName "Year", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "Entity", PmType Nominal, PAxis [ AxTitle "" ] ]
<< size
[ MName "Deaths"
, MmType Quantitative
, MLegend [ LTitle "Annual Global Deaths" ]
, MScale [ SRange (RNumbers [ 0, 5000 ]) ]
]
<< color [ MName "Entity", MmType Nominal, MLegend [] ]
in
toVegaLite
[ des
, width 600
, height 400
, dataFromUrl "https://vega.github.io/vega-lite/data/disasters.csv" []
, trans []
, mark Circle [ MOpacity 0.8, MStroke "black", MStrokeWidth 1 ]
, enc []
]
stack1 : Spec
stack1 =
let
des =
description "Seattle weather stacked bar chart"
enc =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month, PAxis [ AxTitle "Month of the year" ] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< color
[ MName "weather"
, MmType Nominal
, MScale <|
categoricalDomainMap
[ ( "sun", "#e7ba52" )
, ( "fog", "#c7c7c7" )
, ( "drizzle", "#aec7ea" )
, ( "rain", "#1f77b4" )
, ( "snow", "#9467bd" )
]
, MLegend [ LTitle "Weather type" ]
]
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], mark Bar [], enc [] ]
stack2 : Spec
stack2 =
let
des =
description "Barley crop yields as a horizontal stacked bar chart"
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Sum ]
<< position Y [ PName "variety", PmType Nominal ]
<< color [ MName "site", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Bar [], enc [] ]
stack3 : Spec
stack3 =
let
des =
description "Population structure as a normalised stacked bar chart."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ], PStack StNormalize ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], trans [], mark Bar [], enc [] ]
stack4 : Spec
stack4 =
let
des =
description "Unemployment across industries as a stacked area chart."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite [ des, dataFromUrl "data/unemployment-across-industries.json" [], mark Area [], enc [] ]
stack5 : Spec
stack5 =
let
des =
description "Unemployment across industries as a normalised area chart."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxDomain False, AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [], PStack StNormalize ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
stack6 : Spec
stack6 =
let
des =
description "Unemployment across industries as a streamgraph (centred, stacked area chart)."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxDomain False, AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [], PStack StCenter ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
stack7 : Spec
stack7 =
let
des =
description "Layered bar chart showing the US population distribution of age groups and gender in 2000."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ], PStack NoStack ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#e377c2", "#1f77b4" ]) ] ]
<< opacity [ MNumber 0.7 ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], trans [], mark Bar [], enc [] ]
stack8 : Spec
stack8 =
let
des =
description "A diverging stacked bar chart for sentiments towards a set of eight questions, displayed as percentages with neutral responses straddling the 0% mark."
data =
dataFromColumns []
<< dataColumn "question" (Strings [ "Q1", "Q1", "Q1", "Q1", "Q1", "Q2", "Q2", "Q2", "Q2", "Q2", "Q3", "Q3", "Q3", "Q3", "Q3", "Q4", "Q4", "Q4", "Q4", "Q4", "Q5", "Q5", "Q5", "Q5", "Q5", "Q6", "Q6", "Q6", "Q6", "Q6", "Q7", "Q7", "Q7", "Q7", "Q7", "Q8", "Q8", "Q8", "Q8", "Q8" ])
<< dataColumn "type" (Strings [ "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree" ])
<< dataColumn "value" (Numbers [ 24, 294, 594, 1927, 376, 2, 2, 0, 7, 11, 2, 0, 2, 4, 2, 0, 2, 1, 7, 6, 0, 1, 3, 16, 4, 1, 1, 2, 9, 3, 0, 0, 1, 4, 0, 0, 0, 0, 0, 2 ])
<< dataColumn "percentage" (Numbers [ 0.7, 9.1, 18.5, 59.9, 11.7, 18.2, 18.2, 0, 63.6, 0, 20, 0, 20, 40, 20, 0, 12.5, 6.3, 43.8, 37.5, 0, 4.2, 12.5, 66.7, 16.7, 6.3, 6.3, 12.5, 56.3, 18.8, 0, 0, 20, 80, 0, 0, 0, 0, 0, 100 ])
<< dataColumn "percentage_start" (Numbers [ -19.1, -18.4, -9.2, 9.2, 69.2, -36.4, -18.2, 0, 0, 63.6, -30, -10, -10, 10, 50, -15.6, -15.6, -3.1, 3.1, 46.9, -10.4, -10.4, -6.3, 6.3, 72.9, -18.8, -12.5, -6.3, 6.3, 62.5, -10, -10, -10, 10, 90, 0, 0, 0, 0, 0 ])
<< dataColumn "percentage_end" (Numbers [ -18.4, -9.2, 9.2, 69.2, 80.9, -18.2, 0, 0, 63.6, 63.6, -10, -10, 10, 50, 70, -15.6, -3.1, 3.1, 46.9, 84.4, -10.4, -6.3, 6.3, 72.9, 89.6, -12.5, -6.3, 6.3, 62.5, 81.3, -10, -10, 10, 90, 90, 0, 0, 0, 0, 100 ])
enc =
encoding
<< position X [ PName "percentage_start", PmType Quantitative, PAxis [ AxTitle "Percentage" ] ]
<< position X2 [ PName "percentage_end", PmType Quantitative ]
<< position Y [ PName "question", PmType Nominal, PAxis [ AxTitle "Question", AxOffset 5, AxTicks False, AxMinExtent 60, AxDomain False ] ]
<< color
[ MName "type"
, MmType Nominal
, MLegend [ LTitle "Response" ]
, MScale <|
SType ScOrdinal
:: categoricalDomainMap
[ ( "Strongly disagree", "#c30d24" )
, ( "Disagree", "#f3a583" )
, ( "Neither agree nor disagree", "#cccccc" )
, ( "Agree", "#94c6da" )
, ( "Strongly agree", "#1770ab" )
]
]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
trellis1 : Spec
trellis1 =
let
des =
description "Anscombe's Quartet"
enc =
encoding
<< position X [ PName "X", PmType Quantitative, PScale [ SZero False ] ]
<< position Y [ PName "Y", PmType Quantitative, PScale [ SZero False ] ]
<< opacity [ MNumber 1 ]
<< column [ FName "Series", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/anscombe.json" [], mark Circle [], enc [] ]
trellis2 : Spec
trellis2 =
let
des =
description "A trellis bar chart showing the US population distribution of age groups and gender in 2000."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ] ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
<< row [ FName "gender", FmType Nominal ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, mark Bar []
, enc []
]
trellis3 : Spec
trellis3 =
let
des =
description "Barley crop yields in 1931 and 1932 shown as stacked bar charts."
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Sum ]
<< position Y [ PName "variety", PmType Nominal ]
<< color [ MName "site", MmType Nominal ]
<< column [ FName "year", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Bar [], enc [] ]
trellis4 : Spec
trellis4 =
let
des =
description "Scatterplots of movie takings vs profits for different MPAA ratings."
enc =
encoding
<< position X [ PName "Worldwide_Gross", PmType Quantitative ]
<< position Y [ PName "US_DVD_Sales", PmType Quantitative ]
<< column [ FName "MPAA_Rating", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Point [], enc [] ]
trellis5 : Spec
trellis5 =
let
des =
description "Disitributions of car engine power for different countries of origin."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PBin [ MaxBins 15 ] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< row [ FName "Origin", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Bar [], enc [] ]
trellis6 : Spec
trellis6 =
let
des =
description "The Trellis display by Becker et al. helped establish small multiples as a “powerful mechanism for understanding interactions in studies of how a response depends on explanatory variables”. Here we reproduce a trellis of Barley yields from the 1930s, complete with main-effects ordering to facilitate comparison."
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Median, PScale [ SZero False ] ]
<< position Y [ PName "variety", PmType Ordinal, PSort [ ByField "Horsepower", Op Mean, Descending ], PScale [ SRangeStep (Just 12) ] ]
<< color [ MName "year", MmType Nominal ]
<< row [ FName "site", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Point [], enc [] ]
trellis7 : Spec
trellis7 =
let
des =
description "Stock prices of four large companies as a small multiples of area charts."
trans =
transform << filter (FExpr "datum.symbol !== 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y", AxTitle "Time", AxGrid False ] ]
<< position Y [ PName "price", PmType Quantitative, PAxis [ AxTitle "Time", AxGrid False ] ]
<< color [ MName "symbol", MmType Nominal, MLegend [] ]
<< row [ FName "symbol", FmType Nominal, FHeader [ HTitle "Company" ] ]
in
toVegaLite [ des, width 300, height 40, dataFromUrl "data/stocks.csv" [], trans [], mark Area [], enc [] ]
layer1 : Spec
layer1 =
let
des =
description "A simple bar chart with embedded data labels."
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C" ])
<< dataColumn "b" (Numbers [ 28, 55, 43 ])
enc =
encoding
<< position X [ PName "b", PmType Quantitative ]
<< position Y [ PName "a", PmType Ordinal ]
specBar =
asSpec [ mark Bar [] ]
specText =
asSpec [ mark Text [ MStyle [ "label" ] ], encoding (text [ TName "b", TmType Quantitative ] []) ]
config =
configure << configuration (NamedStyle "label" [ MAlign AlignLeft, MBaseline AlignMiddle, MdX 3 ])
in
toVegaLite [ des, data [], enc [], layer [ specBar, specText ], config [] ]
layer2 : Spec
layer2 =
let
des =
description "Bar chart that highlights values beyond a threshold. The PM2.5 value of Beijing observed 15 days, highlighting the days when PM2.5 level is hazardous to human health. Data source https://chartaccent.github.io/chartaccent.html"
data =
dataFromColumns []
<< dataColumn "Day" (List.range 1 15 |> List.map toFloat |> Numbers)
<< dataColumn "Value" (Numbers [ 54.8, 112.1, 63.6, 37.6, 79.7, 137.9, 120.1, 103.3, 394.8, 199.5, 72.3, 51.1, 112.0, 174.5, 130.5 ])
encBar =
encoding
<< position X [ PName "Day", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "Value", PmType Quantitative ]
specBar =
asSpec [ mark Bar [], encBar [] ]
trans =
transform
<< filter (FExpr "datum.Value >= 300")
<< calculateAs "300" "baseline"
encUpperBar =
encoding
<< position X [ PName "Day", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "baseline", PmType Quantitative ]
<< position Y2 [ PName "Value", PmType Quantitative ]
<< color [ MString "#e45755" ]
specUpperBar =
asSpec [ trans [], mark Bar [], encUpperBar [] ]
layer0 =
asSpec [ data [], layer [ specBar, specUpperBar ] ]
thresholdData =
dataFromRows []
<< dataRow [ ( "ThresholdValue", Number 300 ), ( "Threshold", Str "hazardous" ) ]
specRule =
asSpec [ mark Rule [], encRule [] ]
encRule =
encoding
<< position Y [ PName "ThresholdValue", PmType Quantitative ]
specText =
asSpec [ mark Text [ MAlign AlignLeft, MdX 215, MdY -5 ], encText [] ]
encText =
encoding
<< position Y [ PName "ThresholdValue", PmType Quantitative, PAxis [ AxTitle "PM2.5 Value" ] ]
<< text [ TName "Threshold", TmType Ordinal ]
layer1 =
asSpec [ thresholdData [], layer [ specRule, specText ] ]
in
toVegaLite [ des, layer [ layer0, layer1 ] ]
layer3 : Spec
layer3 =
let
des =
description "Monthly precipitation with mean value overlay."
encBar =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
specBar =
asSpec [ mark Bar [], encBar [] ]
encLine =
encoding
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
<< color [ MString "red" ]
<< size [ MNumber 3 ]
specLine =
asSpec [ mark Rule [], encLine [] ]
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], layer [ specBar, specLine ] ]
layer4 : Spec
layer4 =
let
des =
description "Layering text over 'heatmap'."
encPosition =
encoding
<< position X [ PName "Cylinders", PmType Ordinal ]
<< position Y [ PName "Origin", PmType Ordinal ]
encRect =
encoding
<< color [ MName "*", MmType Quantitative, MAggregate Count ]
specRect =
asSpec [ mark Rect [], encRect [] ]
encText =
encoding
<< color [ MString "white" ]
<< text [ TName "*", TmType Quantitative, TAggregate Count ]
specText =
asSpec [ mark Text [], encText [] ]
config =
configure
<< configuration (Scale [ SCBandPaddingInner 0, SCBandPaddingOuter 0 ])
<< configuration (TextStyle [ MBaseline AlignMiddle ])
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], encPosition [], layer [ specRect, specText ], config [] ]
layer5 : Spec
layer5 =
let
des =
description "A vertical 2D box plot showing median, min, and max in the US population distribution of age groups in 2000."
trans =
transform
<< aggregate
[ opAs Min "people" "lowerWhisker"
, opAs Q1 "people" "lowerBox"
, opAs Median "people" "midBox"
, opAs Q3 "people" "upperBox"
, opAs Max "people" "upperWhisker"
]
[ "age" ]
encAge =
encoding << position X [ PName "age", PmType Ordinal ]
encLWhisker =
encoding
<< position Y [ PName "lowerWhisker", PmType Quantitative, PAxis [ AxTitle "Population" ] ]
<< position Y2 [ PName "lowerBox", PmType Quantitative ]
specLWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encLWhisker [] ]
encUWhisker =
encoding
<< position Y [ PName "upperBox", PmType Quantitative ]
<< position Y2 [ PName "upperWhisker", PmType Quantitative ]
specUWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encUWhisker [] ]
encBox =
encoding
<< position Y [ PName "lowerBox", PmType Quantitative ]
<< position Y2 [ PName "upperBox", PmType Quantitative ]
<< size [ MNumber 5 ]
specBox =
asSpec [ mark Bar [ MStyle [ "box" ] ], encBox [] ]
encBoxMid =
encoding
<< position Y [ PName "midBox", PmType Quantitative ]
<< color [ MString "white" ]
<< size [ MNumber 5 ]
specBoxMid =
asSpec [ mark Tick [ MStyle [ "boxMid" ] ], encBoxMid [] ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, encAge []
, layer [ specLWhisker, specUWhisker, specBox, specBoxMid ]
]
layer6 : Spec
layer6 =
let
des =
description "A Tukey box plot showing median and interquartile range in the US population distribution of age groups in 2000. This isn't strictly a Tukey box plot as the IQR extends beyond the min/max values for some age cohorts."
trans =
transform
<< aggregate [ opAs Q1 "people" "lowerBox", opAs Median "people" "midBox", opAs Q3 "people" "upperBox" ] [ "age" ]
<< calculateAs "datum.upperBox - datum.lowerBox" "IQR"
<< calculateAs "datum.upperBox + datum.IQR * 1.5" "upperWhisker"
<< calculateAs "max(0,datum.lowerBox - datum.IQR *1.5)" "lowerWhisker"
encAge =
encoding << position X [ PName "age", PmType Ordinal ]
encLWhisker =
encoding
<< position Y [ PName "lowerWhisker", PmType Quantitative, PAxis [ AxTitle "Population" ] ]
<< position Y2 [ PName "lowerBox", PmType Quantitative ]
specLWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encLWhisker [] ]
encUWhisker =
encoding
<< position Y [ PName "upperBox", PmType Quantitative ]
<< position Y2 [ PName "upperWhisker", PmType Quantitative ]
specUWhisker =
asSpec
[ mark Rule [ MStyle [ "boxWhisker" ] ], encUWhisker [] ]
encBox =
encoding
<< position Y [ PName "lowerBox", PmType Quantitative ]
<< position Y2 [ PName "upperBox", PmType Quantitative ]
<< size [ MNumber 5 ]
specBox =
asSpec [ mark Bar [ MStyle [ "box" ] ], encBox [] ]
encBoxMid =
encoding
<< position Y [ PName "midBox", PmType Quantitative ]
<< color [ MString "white" ]
<< size [ MNumber 5 ]
specBoxMid =
asSpec
[ mark Tick [ MStyle [ "boxMid" ] ], encBoxMid [] ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, encAge []
, layer [ specLWhisker, specUWhisker, specBox, specBoxMid ]
]
layer7 : Spec
layer7 =
let
des =
description "A candlestick chart inspired by Protovis (http://mbostock.github.io/protovis/ex/candlestick.html)"
data =
dataFromColumns []
<< dataColumn "date" (Strings [ "01-Jun-2009", "02-Jun-2009", "03-Jun-2009", "04-Jun-2009", "05-Jun-2009", "08-Jun-2009", "09-Jun-2009", "10-Jun-2009", "11-Jun-2009", "12-Jun-2009", "15-Jun-2009", "16-Jun-2009", "17-Jun-2009", "18-Jun-2009", "19-Jun-2009", "22-Jun-2009", "23-Jun-2009", "24-Jun-2009", "25-Jun-2009", "26-Jun-2009", "29-Jun-2009", "30-Jun-2009" ])
<< dataColumn "open" (Numbers [ 28.7, 30.04, 29.62, 31.02, 29.39, 30.84, 29.77, 26.9, 27.36, 28.08, 29.7, 30.81, 31.19, 31.54, 29.16, 30.4, 31.3, 30.58, 29.45, 27.09, 25.93, 25.36 ])
<< dataColumn "high" (Numbers [ 30.05, 30.13, 31.79, 31.02, 30.81, 31.82, 29.77, 29.74, 28.11, 28.5, 31.09, 32.75, 32.77, 31.54, 29.32, 32.05, 31.54, 30.58, 29.56, 27.22, 27.18, 27.38 ])
<< dataColumn "low" (Numbers [ 28.45, 28.3, 29.62, 29.92, 28.85, 26.41, 27.79, 26.9, 26.81, 27.73, 29.64, 30.07, 30.64, 29.6, 27.56, 30.3, 27.83, 28.79, 26.3, 25.76, 25.29, 25.02 ])
<< dataColumn "close" (Numbers [ 30.04, 29.63, 31.02, 30.18, 29.62, 29.77, 28.27, 28.46, 28.11, 28.15, 30.81, 32.68, 31.54, 30.03, 27.99, 31.17, 30.58, 29.05, 26.36, 25.93, 25.35, 26.35 ])
<< dataColumn "signal" (Strings [ "short", "short", "short", "short", "short", "short", "short", "short", "short", "short", "long", "short", "short", "short", "short", "short", "short", "long", "long", "long", "long", "long" ])
<< dataColumn "ret" (Numbers [ -4.89396411092985, -0.322580645161295, 3.68663594470045, 4.51010886469673, 6.08424336973478, 1.2539184952978, -5.02431118314424, -5.46623794212217, -8.3743842364532, -5.52763819095477, 3.4920634920635, 0.155038759689914, 5.82822085889571, 8.17610062893082, 8.59872611464968, 15.4907975460123, 11.7370892018779, -10.4234527687296, 0, 0, 5.26315789473684, 6.73758865248228 ])
trans =
transform << calculateAs "datum.open > datum.close" "isIncrease"
encLine =
encoding
<< position X
[ PName "date"
, PmType Temporal
, PTimeUnit YearMonthDate
, PScale [ SDomain (DDateTimes [ [ DTMonth May, DTDate 31, DTYear 2009 ], [ DTMonth Jul, DTDate 1, DTYear 2009 ] ]) ]
, PAxis [ AxTitle "Date in 2009", AxFormat "%m/%d" ]
]
<< position Y [ PName "low", PmType Quantitative, PScale [ SZero False ] ]
<< position Y2 [ PName "high", PmType Quantitative ]
<< color [ MName "isIncrease", MmType Nominal, MLegend [], MScale [ SRange (RStrings [ "#ae1325", "#06982d" ]) ] ]
specLine =
asSpec [ mark Rule [], encLine [] ]
encBar =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonthDate ]
<< position Y [ PName "open", PmType Quantitative ]
<< position Y2 [ PName "close", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MName "isIncrease", MmType Nominal, MLegend [] ]
specBar =
asSpec [ mark Bar [], encBar [] ]
in
toVegaLite [ des, width 320, data [], trans [], layer [ specLine, specBar ] ]
layer8 : Spec
layer8 =
let
des =
description "Error bars showing confidence intervals"
encVariety =
encoding << position Y [ PName "variety", PmType Ordinal ]
encPoints =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Mean, PScale [ SZero False ], PAxis [ AxTitle "Barley Yield" ] ]
<< color [ MString "black" ]
specPoints =
asSpec [ mark Point [ MFilled True ], encPoints [] ]
encCIs =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate CI0 ]
<< position X2 [ PName "yield", PmType Quantitative, PAggregate CI1 ]
specCIs =
asSpec [ mark Rule [], encCIs [] ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], encVariety [], layer [ specPoints, specCIs ] ]
layer9 : Spec
layer9 =
let
des =
description "Error bars showing standard deviation."
trans =
transform
<< aggregate [ opAs Mean "yield" "mean", opAs Stdev "yield" "stdev" ] [ "variety" ]
<< calculateAs "datum.mean-datum.stdev" "lower"
<< calculateAs "datum.mean+datum.stdev" "upper"
encVariety =
encoding << position Y [ PName "variety", PmType Ordinal ]
encMeans =
encoding
<< position X [ PName "mean", PmType Quantitative, PScale [ SZero False ], PAxis [ AxTitle "Barley Yield" ] ]
<< color [ MString "black" ]
specMeans =
asSpec [ mark Point [ MFilled True ], encMeans [] ]
encStdevs =
encoding
<< position X [ PName "upper", PmType Quantitative ]
<< position X2 [ PName "lower", PmType Quantitative ]
specStdevs =
asSpec [ mark Rule [], encStdevs [] ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], trans [], encVariety [], layer [ specMeans, specStdevs ] ]
layer10 : Spec
layer10 =
let
des =
description "Histogram with global mean overlay."
encBars =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [], PAxis [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
specBars =
asSpec [ mark Bar [], encBars [] ]
encMean =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PAggregate Mean ]
<< color [ MString "red" ]
<< size [ MNumber 5 ]
specMean =
asSpec [ mark Rule [], encMean [] ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], layer [ specBars, specMean ] ]
layer11 : Spec
layer11 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars with a global mean and standard deviation overlay."
encPoints =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
specPoints =
asSpec [ mark Point [], encPoints [] ]
trans =
transform
<< aggregate [ opAs Mean "Miles_per_Gallon" "mean_MPG", opAs Stdev "Miles_per_Gallon" "dev_MPG" ] []
<< calculateAs "datum.mean_MPG+datum.dev_MPG" "upper"
<< calculateAs "datum.mean_MPG-datum.dev_MPG" "lower"
encMean =
encoding << position Y [ PName "mean_MPG", PmType Quantitative ]
specMean =
asSpec [ mark Rule [], encMean [] ]
encRect =
encoding
<< position Y [ PName "lower", PmType Quantitative ]
<< position Y2 [ PName "upper", PmType Quantitative ]
<< opacity [ MNumber 0.2 ]
specRect =
asSpec [ mark Rect [], encRect [] ]
specSpread =
asSpec [ trans [], layer [ specMean, specRect ] ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], layer [ specPoints, specSpread ] ]
layer12 : Spec
layer12 =
let
des =
description "Line chart with confidence interval band."
encTime =
encoding << position X [ PName "Year", PmType Temporal, PTimeUnit Year ]
encBand =
encoding
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate CI0, PAxis [ AxTitle "Miles/Gallon" ] ]
<< position Y2 [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate CI1 ]
<< opacity [ MNumber 0.3 ]
specBand =
asSpec [ mark Area [], encBand [] ]
encLine =
encoding
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate Mean ]
specLine =
asSpec [ mark Line [], encLine [] ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], encTime [], layer [ specBand, specLine ] ]
layer13 : Spec
layer13 =
let
des =
description "The population of the German city of Falkensee over time with annotated time periods highlighted."
data =
dataFromColumns [ Parse [ ( "year", FoDate "%Y" ) ] ]
<< dataColumn "year" (Strings [ "1875", "1890", "1910", "1925", "1933", "1939", "1946", "1950", "1964", "1971", "1981", "1985", "1989", "1990", "1991", "1992", "1993", "1994", "1995", "1996", "1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014" ])
<< dataColumn "population" (Numbers [ 1309, 1558, 4512, 8180, 15915, 24824, 28275, 29189, 29881, 26007, 24029, 23340, 22307, 22087, 22139, 22105, 22242, 22801, 24273, 25640, 27393, 29505, 32124, 33791, 35297, 36179, 36829, 37493, 38376, 39008, 39366, 39821, 40179, 40511, 40465, 40905, 41258, 41777 ])
highlights =
dataFromColumns [ Parse [ ( "start", FoDate "%Y" ), ( "end", FoDate "%Y" ) ] ]
<< dataColumn "start" (Strings [ "1933", "1948" ])
<< dataColumn "end" (Strings [ "1945", "1989" ])
<< dataColumn "event" (Strings [ "Nazi Rule", "GDR (East Germany)" ])
encRects =
encoding
<< position X [ PName "start", PmType Temporal, PTimeUnit Year, PAxis [] ]
<< position X2 [ PName "end", PmType Temporal, PTimeUnit Year ]
<< color [ MName "event", MmType Nominal ]
specRects =
asSpec [ highlights [], mark Rect [], encRects [] ]
encPopulation =
encoding
<< position X [ PName "year", PmType Temporal, PTimeUnit Year, PAxis [ AxTitle "" ] ]
<< position Y [ PName "population", PmType Quantitative ]
<< color [ MString "#333" ]
specLine =
asSpec [ mark Line [], encPopulation [] ]
specPoints =
asSpec [ mark Point [], encPopulation [] ]
in
toVegaLite [ des, width 500, data [], layer [ specRects, specLine, specPoints ] ]
layer14 : Spec
layer14 =
let
des =
description "A ranged dot plot that uses 'layer' to convey changing life expectancy for the five most populous countries (between 1955 and 2000)."
trans =
transform
<< filter (FOneOf "country" (Strings [ "China", "India", "United States", "Indonesia", "Brazil" ]))
<< filter (FOneOf "year" (Numbers [ 1955, 2000 ]))
encCountry =
encoding << position Y [ PName "country", PmType Nominal, PAxis [ AxTitle "Country", AxOffset 5, AxTicks False, AxMinExtent 70, AxDomain False ] ]
encLine =
encoding
<< position X [ PName "life_expect", PmType Quantitative ]
<< detail [ DName "country", DmType Nominal ]
<< color [ MString "#db646f" ]
specLine =
asSpec [ mark Line [], encLine [] ]
encPoints =
encoding
<< position X [ PName "life_expect", PmType Quantitative, PAxis [ AxTitle "Life Expectanct (years)" ] ]
<< color [ MName "year", MmType Ordinal, MScale (domainRangeMap ( 1955, "#e6959c" ) ( 2000, "#911a24" )), MLegend [ LTitle "Year" ] ]
<< size [ MNumber 100 ]
<< opacity [ MNumber 1 ]
specPoints =
asSpec [ mark Point [ MFilled True ], encPoints [] ]
in
toVegaLite [ des, dataFromUrl "data/countries.json" [], trans [], encCountry [], layer [ specLine, specPoints ] ]
layer15 : Spec
layer15 =
let
des =
description "Layered bar/line chart with dual axes."
encTime =
encoding << position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
encBar =
encoding
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean, PAxis [ AxGrid False ] ]
specBar =
asSpec [ mark Bar [], encBar [] ]
encLine =
encoding
<< position Y [ PName "temp_max", PmType Quantitative, PAggregate Mean, PAxis [ AxGrid False ], PScale [ SZero False ] ]
<< color [ MString "firebrick" ]
specLine =
asSpec [ mark Line [], encLine [] ]
res =
resolve
<< resolution (RScale [ ( ChY, Independent ) ])
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], encTime [], layer [ specBar, specLine ], res [] ]
layer16 : Spec
layer16 =
let
des =
description "Horizon chart with 2 layers. (See https://idl.cs.washington.edu/papers/horizon/ for more details on horizon charts.)"
data =
dataFromColumns []
<< dataColumn "x" (Numbers (List.map toFloat <| List.range 1 20))
<< dataColumn "y" (Numbers [ 28, 55, 43, 91, 81, 53, 19, 87, 52, 48, 24, 49, 87, 66, 17, 27, 68, 16, 49, 15 ])
trans =
transform << calculateAs "datum.y - 50" "ny"
encX =
encoding << position X [ PName "x", PmType Quantitative, PScale [ SZero False, SNice (IsNice False) ] ]
encLower =
encoding
<< position Y [ PName "y", PmType Quantitative, PScale [ SDomain (DNumbers [ 0, 50 ]) ] ]
<< opacity [ MNumber 0.6 ]
specLower =
asSpec [ mark Area [ MClip True ], encLower [] ]
encUpper =
encoding
<< position Y [ PName "ny", PmType Quantitative, PScale [ SDomain (DNumbers [ 0, 50 ]) ], PAxis [ AxTitle "y" ] ]
<< opacity [ MNumber 0.3 ]
specUpper =
asSpec [ trans [], mark Area [ MClip True ], encUpper [] ]
config =
configure
<< configuration (AreaStyle [ MInterpolate Monotone, MOrient Vertical ])
in
toVegaLite [ des, width 300, height 50, data [], encX [], layer [ specLower, specUpper ], config [] ]
layer17 : Spec
layer17 =
let
des =
description "Connected scatterplot showing change over time."
enc =
encoding
<< position X [ PName "miles", PmType Quantitative, PScale [ SZero False ] ]
<< position Y [ PName "gas", PmType Quantitative, PScale [ SZero False ] ]
<< order [ OName "year", OmType Temporal ]
specLine =
asSpec [ mark Line [] ]
specPoint =
asSpec [ mark Point [ MFilled True ] ]
in
toVegaLite [ des, dataFromUrl "data/driving.json" [], enc [], layer [ specLine, specPoint ] ]
layer18 : Spec
layer18 =
let
des =
description "Carbon dioxide in the atmosphere."
data =
dataFromUrl "https://vega.github.io/vega-lite/data/co2-concentration.csv" [ Parse [ ( "Date", FoUtc "%Y-%m-%d" ) ] ]
trans =
transform
<< calculateAs "year(datum.Date)" "year"
<< calculateAs "month(datum.Date)" "month"
<< calculateAs "floor(datum.year / 10)" "decade"
<< calculateAs "(datum.year % 10) + (datum.month / 12)" "scaled_date"
encPosition =
encoding
<< position X
[ PName "scaled_date"
, PmType Quantitative
, PAxis [ AxTitle "Year into decade", AxTickCount 10, AxValues [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] ]
]
<< position Y
[ PName "CO2"
, PmType Quantitative
, PScale [ SZero False ]
, PAxis [ AxTitle "CO2 concentration in ppm" ]
]
encLine =
encoding
<< color [ MName "decade", MmType Nominal, MLegend [] ]
specLine =
asSpec [ mark Line [ MOrient Vertical ], encLine [] ]
transTextMin =
transform
<< aggregate [ opAs ArgMin "scaled_date" "aggregated" ] [ "decade" ]
<< calculateAs "datum.aggregated.scaled_date" "scaled_date"
<< calculateAs "datum.aggregated.CO2" "CO2"
encTextMin =
encoding
<< text [ TName "aggregated.year", TmType Nominal ]
specTextMin =
asSpec [ transTextMin [], mark Text [ MAlign AlignLeft, MBaseline AlignTop, MdX 3, MdY 1 ], encTextMin [] ]
transTextMax =
transform
<< aggregate [ opAs ArgMax "scaled_date" "aggregated" ] [ "decade" ]
<< calculateAs "datum.aggregated.scaled_date" "scaled_date"
<< calculateAs "datum.aggregated.CO2" "CO2"
encTextMax =
encoding
<< text [ TName "aggregated.year", TmType Nominal ]
specTextMax =
asSpec [ transTextMax [], mark Text [ MAlign AlignLeft, MBaseline AlignBottom, MdX 3, MdY 1 ], encTextMax [] ]
config =
configure << configuration (View [ Stroke Nothing ])
in
toVegaLite
[ des
, config []
, width 800
, height 500
, data
, trans []
, encPosition []
, layer [ specLine, specTextMin, specTextMax ]
]
comp1 : Spec
comp1 =
let
des =
description "Monthly weather information for individual years and overall average for Seatle and New York."
enc1 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PRepeat Column, PmType Quantitative, PAggregate Mean ]
<< detail [ DName "date", DmType Temporal, DTimeUnit Year ]
<< color [ MName "location", MmType Nominal ]
<< opacity [ MNumber 0.2 ]
spec1 =
asSpec [ mark Line [], enc1 [] ]
enc2 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PRepeat Column, PmType Quantitative, PAggregate Mean ]
<< color [ MName "location", MmType Nominal ]
spec2 =
asSpec [ mark Line [], enc2 [] ]
spec =
asSpec [ layer [ spec1, spec2 ] ]
in
toVegaLite
[ des
, dataFromUrl "data/weather.csv" [ Parse [ ( "date", FoDate "%Y-%m-%d %H:%M" ) ] ]
, repeat [ ColumnFields [ "temp_max", "precipitation", "wind" ] ]
, specification spec
]
comp2 : Spec
comp2 =
let
enc =
encoding
<< position X [ PRepeat Column, PmType Quantitative, PBin [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< color [ MName "Origin", MmType Nominal ]
spec =
asSpec [ dataFromUrl "data/cars.json" [], mark Bar [], enc [] ]
in
toVegaLite
[ repeat [ ColumnFields [ "Horsepower", "Miles_per_Gallon", "Acceleration" ] ]
, specification spec
]
comp3 : Spec
comp3 =
let
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PBin [ MaxBins 15 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
<< color [ MName "Origin", MmType Nominal, MLegend [] ]
spec =
asSpec [ mark Bar [], enc [] ]
in
toVegaLite
[ dataFromUrl "data/cars.json" []
, facet [ RowBy [ FName "Origin", FmType Nominal ] ]
, specification spec
]
geo1 : Spec
geo1 =
toVegaLite
[ description "Choropleth of US unemployment rate by county"
, width 500
, height 300
, projection [ PType AlbersUsa ]
, dataFromUrl "data/us-10m.json" [ TopojsonFeature "counties" ]
, transform <| lookup "id" (dataFromUrl "data/unemployment.tsv" []) "id" [ "rate" ] <| []
, mark Geoshape []
, encoding <| color [ MName "rate", MmType Quantitative ] []
]
geo2 : Spec
geo2 =
let
enc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 1 ]
<< color [ MName "digit", MmType Nominal ]
in
toVegaLite
[ description "US zip codes: One dot per zipcode colored by first digit"
, width 500
, height 300
, projection [ PType AlbersUsa ]
, dataFromUrl "data/zipcodes.csv" []
, transform <| calculateAs "substring(datum.zip_code, 0, 1)" "digit" <| []
, mark Circle []
, enc []
]
geo3 : Spec
geo3 =
let
des =
description "One dot per airport in the US overlayed on geoshape"
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
overlayEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "steelblue" ]
overlaySpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, overlayEnc []
]
in
toVegaLite
[ des
, width 500
, height 300
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, overlaySpec ]
]
geo4 : Spec
geo4 =
let
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
airportsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "gray" ]
airportsSpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, airportsEnc []
]
trans =
transform
<< filter (FEqual "origin" (Str "SEA"))
<< lookup "origin" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
<< calculateAs "datum.latitude" "origin_latitude"
<< calculateAs "datum.longitude" "origin_longitude"
<< lookup "destination" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
<< calculateAs "datum.latitude" "dest_latitude"
<< calculateAs "datum.longitude" "dest_longitude"
flightsEnc =
encoding
<< position Longitude [ PName "origin_longitude", PmType Quantitative ]
<< position Latitude [ PName "origin_latitude", PmType Quantitative ]
<< position Longitude2 [ PName "dest_longitude", PmType Quantitative ]
<< position Latitude2 [ PName "dest_latitude", PmType Quantitative ]
flightsSpec =
asSpec
[ dataFromUrl "data/flights-airport.csv" []
, trans []
, mark Rule []
, flightsEnc []
]
in
toVegaLite
[ description "Rules (line segments) connecting SEA to every airport reachable via direct flight"
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, airportsSpec, flightsSpec ]
]
geo5 : Spec
geo5 =
let
enc =
encoding
<< shape [ MName "geo", MmType GeoFeature ]
<< color [ MRepeat Row, MmType Quantitative ]
spec =
asSpec
[ width 500
, height 300
, dataFromUrl "data/population_engineers_hurricanes.csv" []
, transform <| lookupAs "id" (dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]) "id" "geo" []
, projection [ PType AlbersUsa ]
, mark Geoshape []
, enc []
]
in
toVegaLite
[ description "Population per state, engineers per state, and hurricanes per state"
, repeat [ RowFields [ "population", "engineers", "hurricanes" ] ]
, resolve <| resolution (RScale [ ( ChColor, Independent ) ]) []
, specification spec
]
geo6 : Spec
geo6 =
let
des =
description "US state campitals overlayed on map of the US"
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#ccc" ] []
]
overlayEnc =
encoding
<< position Longitude [ PName "lon", PmType Quantitative ]
<< position Latitude [ PName "lat", PmType Quantitative ]
<< text [ TName "city", TmType Nominal ]
overlaySpec =
asSpec
[ dataFromUrl "data/us-state-capitals.json" []
, mark Text []
, overlayEnc []
]
in
toVegaLite
[ des
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, overlaySpec ]
]
geo7 : Spec
geo7 =
let
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
airportsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "gray" ]
airportsSpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, airportsEnc []
]
itinerary =
dataFromColumns []
<< dataColumn "airport" (Strings [ "SEA", "SFO", "LAX", "LAS", "DFW", "DEN", "ORD", "JFK", "ATL" ])
<< dataColumn "order" (Numbers [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ])
trans =
transform
<< lookup "airport" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
flightsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< order [ OName "order", OmType Ordinal ]
flightsSpec =
asSpec
[ itinerary []
, trans []
, mark Line []
, flightsEnc []
]
in
toVegaLite
[ description "Line drawn between airports in the U.S. simulating a flight itinerary"
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, airportsSpec, flightsSpec ]
]
geo8 : Spec
geo8 =
let
enc =
encoding
<< shape [ MName "geo", MmType GeoFeature ]
<< color [ MName "pct", MmType Quantitative ]
<< row [ FName "group", FmType Nominal ]
in
toVegaLite
[ description "Income in the U.S. by state, faceted over income brackets"
, width 500
, height 300
, dataFromUrl "data/income.json" []
, transform <| lookupAs "id" (dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]) "id" "geo" []
, projection [ PType AlbersUsa ]
, mark Geoshape []
, enc []
]
geo9 : Spec
geo9 =
let
tubeLineColors =
categoricalDomainMap
[ ( "Bakerloo", "rgb(137,78,36)" )
, ( "Central", "rgb(220,36,30)" )
, ( "Circle", "rgb(255,206,0)" )
, ( "District", "rgb(1,114,41)" )
, ( "DLR", "rgb(0,175,173)" )
, ( "Hammersmith & City", "rgb(215,153,175)" )
, ( "Jubilee", "rgb(106,114,120)" )
, ( "Metropolitan", "rgb(114,17,84)" )
, ( "Northern", "rgb(0,0,0)" )
, ( "Piccadilly", "rgb(0,24,168)" )
, ( "Victoria", "rgb(0,160,226)" )
, ( "Waterloo & City", "rgb(106,187,170)" )
]
polySpec =
asSpec
[ dataFromUrl "https://vega.github.io/vega-lite/data/londonBoroughs.json" [ TopojsonFeature "boroughs" ]
, mark Geoshape [ MStroke "rgb(251,247,238)", MStrokeWidth 2 ]
, encoding <| color [ MString "#ddc" ] []
]
labelEnc =
encoding
<< position Longitude [ PName "cx", PmType Quantitative ]
<< position Latitude [ PName "cy", PmType Quantitative ]
<< text [ TName "bLabel", TmType Nominal ]
<< size [ MNumber 8 ]
<< opacity [ MNumber 0.6 ]
trans =
transform
<< calculateAs "indexof (datum.name,' ') > 0 ? substring(datum.name,0,indexof(datum.name, ' ')) : datum.name" "bLabel"
labelSpec =
asSpec [ dataFromUrl "https://vega.github.io/vega-lite/data/londonCentroids.json" [], trans [], mark Text [], labelEnc [] ]
tubeEnc =
encoding
<< color
[ MName "id"
, MmType Nominal
, MLegend [ LTitle "", LOrient BottomRight, LOffset 0 ]
, MScale tubeLineColors
]
routeSpec =
asSpec
[ dataFromUrl "https://vega.github.io/vega-lite/data/londonTubeLines.json" [ TopojsonFeature "line" ]
, mark Geoshape [ MFilled False, MStrokeWidth 2 ]
, tubeEnc []
]
in
toVegaLite
[ width 700
, height 500
, configure <| configuration (View [ Stroke Nothing ]) []
, layer [ polySpec, labelSpec, routeSpec ]
]
interactive1 : Spec
interactive1 =
let
des =
description "Drag out a rectangular brush to highlight points."
sel =
selection << select "myBrush" Interval []
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myBrush")
[ MName "Cylinders", MmType Ordinal ]
[ MString "grey" ]
]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
interactive2 : Spec
interactive2 =
let
des =
description "Mouse over individual points or select multiple points with the shift key."
sel =
selection << select "myPaintbrush" Multi [ On "mouseover", Nearest True ]
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< size
[ MSelectionCondition (SelectionName "myPaintbrush")
[ MNumber 300 ]
[ MNumber 50 ]
]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
interactive3 : Spec
interactive3 =
let
des =
description "Drag to pan. Zoom in or out with mousewheel/zoom gesture."
sel =
selection << select "myGrid" Interval [ BindScales ]
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PScale [ SDomain (DNumbers [ 75, 150 ]) ] ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PScale [ SDomain (DNumbers [ 20, 40 ]) ] ]
<< size [ MName "Cylinders", MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Circle [], sel [], enc [] ]
interactive4 : Spec
interactive4 =
let
des =
description "Drag the sliders to highlight points."
trans =
transform
<< calculateAs "year(datum.Year)" "Year"
sel1 =
selection
<< select "CylYr"
Single
[ Fields [ "Cylinders", "Year" ]
, Bind
[ IRange "Cylinders" [ InName "Cylinders ", InMin 3, InMax 8, InStep 1 ]
, IRange "Year" [ InName "Year ", InMin 1969, InMax 1981, InStep 1 ]
]
]
encPosition =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
enc1 =
encoding
<< color
[ MSelectionCondition (SelectionName "CylYr")
[ MName "Origin", MmType Nominal ]
[ MString "grey" ]
]
spec1 =
asSpec [ sel1 [], mark Circle [], enc1 [] ]
trans2 =
transform
<< filter (FSelection "CylYr")
enc2 =
encoding
<< color [ MName "Origin", MmType Nominal ]
<< size [ MNumber 100 ]
spec2 =
asSpec [ trans2 [], mark Circle [], enc2 [] ]
in
toVegaLite
[ des
, dataFromUrl "data/cars.json" []
, trans []
, encPosition []
, layer [ spec1, spec2 ]
]
interactive5 : Spec
interactive5 =
let
des =
description "Drag over bars to update selection average."
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
encPosition =
encoding << position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
enc1 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< opacity
[ MSelectionCondition (SelectionName "myBrush")
[ MNumber 1 ]
[ MNumber 0.7 ]
]
spec1 =
asSpec [ sel [], mark Bar [], enc1 [] ]
trans =
transform
<< filter (FSelection "myBrush")
enc2 =
encoding
<< color [ MString "firebrick" ]
<< size [ MNumber 3 ]
spec2 =
asSpec [ des, trans [], mark Rule [], enc2 [] ]
in
toVegaLite
[ dataFromUrl "data/seattle-weather.csv" []
, encPosition []
, layer [ spec1, spec2 ]
]
interactive6 : Spec
interactive6 =
let
des =
description "Drag over lower chart to update detailed view in upper chart."
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
enc1 =
encoding
<< position X [ PName "date", PmType Temporal, PScale [ SDomain (DSelection "myBrush") ], PAxis [ AxTitle "" ] ]
<< position Y [ PName "price", PmType Quantitative ]
spec1 =
asSpec [ width 500, mark Area [], enc1 [] ]
enc2 =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative, PAxis [ AxTickCount 3, AxGrid False ] ]
spec2 =
asSpec [ width 480, height 60, sel [], mark Area [], enc2 [] ]
in
toVegaLite [ des, dataFromUrl "data/sp500.csv" [], vConcat [ spec1, spec2 ] ]
interactive7 : Spec
interactive7 =
let
des =
description "Drag over any chart to cross-filter highlights in all charts."
trans =
transform
<< calculateAs "hours(datum.date)" "time"
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
selTrans =
transform
<< filter (FSelection "myBrush")
encPosition =
encoding
<< position X [ PRepeat Column, PmType Quantitative, PBin [ MaxBins 20 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
spec1 =
asSpec [ sel [], mark Bar [] ]
spec2 =
asSpec [ selTrans [], mark Bar [], encoding (color [ MString "goldenrod" ] []) ]
spec =
asSpec
[ des
, dataFromUrl "data/flights-2k.json" [ Parse [ ( "date", FoDate "" ) ] ]
, trans []
, encPosition []
, layer [ spec1, spec2 ]
]
in
toVegaLite
[ repeat [ ColumnFields [ "distance", "delay", "time" ] ]
, specification spec
]
interactive8 : Spec
interactive8 =
let
des =
description "Scatterplot matrix. Drag/zoom in any scatterplot to update view of all scatterplots containing selected variables. Shift-select to highlight selected points."
sel =
selection
<< select "myBrush"
Interval
[ On "[mousedown[event.shiftKey], window:mouseup] > window:mousemove!"
, Translate "[mousedown[event.shiftKey], window:mouseup] > window:mousemove!"
, Zoom "wheel![event.shiftKey]"
, ResolveSelections Union
]
<< select ""
Interval
[ BindScales
, Translate "[mousedown[!event.shiftKey], window:mouseup] > window:mousemove!"
, Zoom "wheel![event.shiftKey]"
, ResolveSelections Global
]
enc =
encoding
<< position X [ PRepeat Column, PmType Quantitative ]
<< position Y [ PRepeat Row, PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myBrush")
[ MName "Origin", MmType Nominal ]
[ MString "grey" ]
]
spec =
asSpec [ dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
in
toVegaLite
[ des
, repeat [ RowFields [ "Horsepower", "Acceleration", "Miles_per_Gallon" ], ColumnFields [ "Miles_per_Gallon", "Acceleration", "Horsepower" ] ]
, specification spec
]
interactive9 : Spec
interactive9 =
let
des =
description "A dashboard with cross-highlighting. Select bars in lower chart to update view in upper chart."
selTrans =
transform
<< filter (FSelection "myPts")
encPosition =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
enc1 =
encoding
<< color [ MAggregate Count, MmType Quantitative, MLegend [ LTitle "" ] ]
spec1 =
asSpec [ width 300, mark Rect [], enc1 [] ]
enc2 =
encoding
<< size [ MAggregate Count, MmType Quantitative, MLegend [ LTitle "In Selected Category" ] ]
<< color [ MString "#666" ]
spec2 =
asSpec [ selTrans [], mark Point [], enc2 [] ]
heatSpec =
asSpec [ encPosition [], layer [ spec1, spec2 ] ]
sel =
selection << select "myPts" Single [ Encodings [ ChX ] ]
barSpec =
asSpec [ width 420, height 120, mark Bar [], sel [], encBar [] ]
encBar =
encoding
<< position X [ PName "Major_Genre", PmType Nominal, PAxis [ AxLabelAngle -40 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myPts")
[ MString "steelblue" ]
[ MString "grey" ]
]
config =
configure
<< configuration (Range [ RHeatmap "greenblue" ])
res =
resolve
<< resolution (RLegend [ ( ChColor, Independent ), ( ChSize, Independent ) ])
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], vConcat [ heatSpec, barSpec ], res [], config [] ]
interactive10 : Spec
interactive10 =
let
data =
dataFromUrl "https://vega.github.io/vega-lite/data/stocks.csv" []
sel =
selection << select "myTooltip" Single [ Nearest True, On "mouseover", Encodings [ ChX ], Empty ]
enc =
encoding
<< position X [ PName "date", PmType Temporal ]
<< position Y [ PName "price", PmType Quantitative ]
<< color [ MName "symbol", MmType Nominal ]
pointEnc =
encoding
<< color [ MName "symbol", MmType Nominal ]
<< opacity [ MSelectionCondition (Expr "myTooltip") [ MNumber 1 ] [ MNumber 0 ] ]
textEnc =
encoding << text [ TName "price", TmType Quantitative ]
in
toVegaLite
[ width 600
, height 300
, data
, enc []
, layer
[ asSpec [ mark Line [] ]
, asSpec [ mark Point [], pointEnc [], sel [] ]
, asSpec [ transform (filter (FSelection "myTooltip") []), mark Rule [ MColor "gray" ] ]
, asSpec [ transform (filter (FSelection "myTooltip") []), mark Text [ MAlign AlignLeft, MdX 5, MdY -5 ], textEnc [] ]
]
]
{- This list comprises the specifications to be provided to the Vega-Lite runtime. -}
mySpecs : Spec
mySpecs =
combineSpecs
[ ( "basic1", basic1 )
, ( "basic2", basic2 )
, ( "basic3", basic3 )
, ( "basic4", basic4 )
, ( "basic5", basic5 )
, ( "basic6", basic6 )
, ( "basic7", basic7 )
, ( "basic8", basic8 )
, ( "basic9", basic9 )
, ( "basic10", basic10 )
, ( "basic11", basic11 )
, ( "basic12", basic12 )
, ( "basic13", basic13 )
, ( "basic14", basic14 )
, ( "basic15", basic15 )
, ( "basic16", basic16 )
, ( "basic17", basic17 )
, ( "basic18", basic18 )
, ( "basic19", basic19 )
, ( "basic20", basic20 )
, ( "basic21", basic21 )
, ( "basic22", basic22 )
, ( "stack1", stack1 )
, ( "stack2", stack2 )
, ( "stack3", stack3 )
, ( "stack4", stack4 )
, ( "stack5", stack5 )
, ( "stack6", stack6 )
, ( "stack7", stack7 )
, ( "stack8", stack8 )
, ( "trellis1", trellis1 )
, ( "trellis2", trellis2 )
, ( "trellis3", trellis3 )
, ( "trellis4", trellis4 )
, ( "trellis5", trellis5 )
, ( "trellis6", trellis6 )
, ( "trellis7", trellis7 )
, ( "layer1", layer1 )
, ( "layer2", layer2 )
, ( "layer3", layer3 )
, ( "layer4", layer4 )
, ( "layer5", layer5 )
, ( "layer6", layer6 )
, ( "layer7", layer7 )
, ( "layer8", layer8 )
, ( "layer9", layer9 )
, ( "layer10", layer10 )
, ( "layer11", layer11 )
, ( "layer12", layer12 )
, ( "layer13", layer13 )
, ( "layer14", layer14 )
, ( "layer15", layer15 )
, ( "layer16", layer16 )
, ( "layer17", layer17 )
, ( "layer18", layer18 )
, ( "comp1", comp1 )
, ( "comp2", comp2 )
, ( "comp3", comp3 )
, ( "geo1", geo1 )
, ( "geo2", geo2 )
, ( "geo3", geo3 )
, ( "geo4", geo4 )
, ( "geo5", geo5 )
, ( "geo6", geo6 )
, ( "geo7", geo7 )
, ( "geo8", geo8 )
, ( "geo9", geo9 )
, ( "interactive1", interactive1 )
, ( "interactive2", interactive2 )
, ( "interactive3", interactive3 )
, ( "interactive4", interactive4 )
, ( "interactive5", interactive5 )
, ( "interactive6", interactive6 )
, ( "interactive7", interactive7 )
, ( "interactive8", interactive8 )
, ( "interactive9", interactive9 )
, ( "interactive10", interactive10 )
]
{- The code below is boilerplate for creating a headless Elm module that opens
an outgoing port to Javascript and sends the specs to it.
-}
main : Program Never Spec msg
main =
Platform.program
{ init = ( mySpecs, elmToJS mySpecs )
, update = \_ model -> ( model, Cmd.none )
, subscriptions = always Sub.none
}
port elmToJS : Spec -> Cmd msg
| 39810 | port module Gallery exposing (elmToJS)
import Platform
import VegaLite exposing (..)
-- NOTE: All data sources in these examples originally provided at
-- https://github.com/vega/vega-datasets
-- The examples themselves reproduce those at https://vega.github.io/vega-lite/examples/
basic1 : Spec
basic1 =
let
des =
description "A simple bar chart with embedded data."
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C", "D", "E", "F", "G", "H", "I" ])
<< dataColumn "b" (Numbers [ 28, 55, 43, 91, 81, 53, 19, 87, 52 ])
enc =
encoding
<< position X [ PName "a", PmType Ordinal ]
<< position Y [ PName "b", PmType Quantitative ]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
basic2 : Spec
basic2 =
let
des =
description "A bar chart showing the US population distribution of age groups in 2000."
trans =
transform << filter (FExpr "datum.year == 2000")
enc =
encoding
<< position X [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "population" ] ]
<< position Y [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], mark Bar [], trans [], enc [] ]
basic3 : Spec
basic3 =
let
des =
description "Simple histogram of IMDB ratings."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Bar [], enc [] ]
basic4 : Spec
basic4 =
let
des =
description "A simple bar chart with ranged data (aka Gantt Chart)."
data =
dataFromColumns []
<< dataColumn "task" (Strings [ "A", "B", "C" ])
<< dataColumn "start" (Numbers [ 1, 3, 8 ])
<< dataColumn "end" (Numbers [ 3, 8, 10 ])
enc =
encoding
<< position Y [ PName "task", PmType Ordinal ]
<< position X [ PName "start", PmType Quantitative ]
<< position X2 [ PName "end", PmType Quantitative ]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
basic5 : Spec
basic5 =
let
des =
description "Grouped bar chart shoing population structure by age and gender."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "gender", PmType Nominal, PScale [ SRangeStep (Just 12) ], PAxis [ AxTitle "" ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "population", AxGrid False ] ]
<< column [ FName "age", FmType Ordinal ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
config =
configure
<< configuration (Axis [ DomainWidth 1 ])
<< configuration (View [ Stroke Nothing ])
in
toVegaLite [ des, dataFromUrl "data/population.json" [], mark Bar [], trans [], enc [], config [] ]
basic6 : Spec
basic6 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars (via point marks)."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic7 : Spec
basic7 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars (via circle marks)."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Circle [], enc [] ]
basic8 : Spec
basic8 =
let
des =
description "A binned scatterplot comparing IMDB and Rotten Tomatoes rating with marks sized by number of reviews."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< size [ MAggregate Count, MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Circle [], enc [] ]
basic9 : Spec
basic9 =
let
des =
description "A scatterplot showing horsepower and miles per gallons with country of origin double encoded by colour and shape."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< color [ MName "Origin", MmType Nominal ]
<< shape [ MName "Origin", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic10 : Spec
basic10 =
let
des =
description "Scatterplot with Null values in grey"
data =
dataFromUrl "data/movies.json" []
config =
configure
<< configuration (RemoveInvalid False)
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative ]
<< color
[ MDataCondition
(Expr "datum.IMDB_Rating === null || datum.Rotten_Tomatoes_Rating === null")
[ MString "#ddd" ]
[ MString "rgb(76,120,168)" ]
]
in
toVegaLite [ des, config [], data, mark Point [], enc [] ]
basic11 : Spec
basic11 =
let
des =
description "A bubbleplot showing horsepower on x, miles per gallons on y, and acceleration on size."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< size [ MName "Acceleration", MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic12 : Spec
basic12 =
let
des =
description "A bubble plot showing the correlation between health and income for 187 countries in the world (modified from an example in <NAME>'s blog post 'One Chart, Twelve Charting Libraries' --http://lisacharlotterost.github.io/2016/05/17/one-chart-code/)."
enc =
encoding
<< position X [ PName "income", PmType Quantitative, PScale [ SType ScLog ] ]
<< position Y [ PName "health", PmType Quantitative, PScale [ SZero False ] ]
<< size [ MName "population", MmType Quantitative ]
<< color [ MString "#000" ]
sel =
selection << select "view" Interval [ BindScales ]
in
toVegaLite
[ des
, width 500
, height 300
, dataFromUrl "data/gapminder-health-income.csv" []
, mark Circle []
, enc []
, sel []
]
basic13 : Spec
basic13 =
let
des =
description "Shows the relationship between horsepower and the number of cylinders using tick marks."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Cylinders", PmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Tick [], enc [] ]
basic14 : Spec
basic14 =
let
des =
description "Google's stock price over time."
trans =
transform << filter (FExpr "datum.symbol === 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], trans [], mark Line [], enc [] ]
basic15 : Spec
basic15 =
let
des =
description "Stock prices of 5 tech companies over time."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
<< color [ MName "symbol", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], mark Line [], enc [] ]
basic16 : Spec
basic16 =
let
des =
description "Slope graph showing the change in yield for different barley sites. It shows the error in the year labels for the Morris site."
enc =
encoding
<< position X [ PName "year", PmType Ordinal, PScale [ SRangeStep (Just 50), SPadding 0.5 ] ]
<< position Y [ PName "yield", PmType Quantitative, PAggregate Median ]
<< color [ MName "site", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Line [], enc [] ]
basic17 : Spec
basic17 =
let
des =
description "Google's stock price over time (quantized as a step-chart)."
trans =
transform << filter (FExpr "datum.symbol === 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], trans [], mark Line [ MInterpolate StepAfter ], enc [] ]
basic18 : Spec
basic18 =
let
des =
description "Unemployment over time (area chart)"
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Count" ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
basic19 : Spec
basic19 =
let
des =
description "'Table heatmap' showing engine size/power for three countries."
enc =
encoding
<< position X [ PName "Cylinders", PmType Ordinal ]
<< position Y [ PName "Origin", PmType Nominal ]
<< color [ MName "Horsepower", MmType Quantitative, MAggregate Mean ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Rect [], enc [] ]
basic20 : Spec
basic20 =
let
des =
description "'Binned heatmap' comparing movie ratings."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 60 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 40 ] ]
<< color [ MmType Quantitative, MAggregate Count ]
config =
configure
<< configuration (Range [ RHeatmap "greenblue" ])
<< configuration (View [ Stroke Nothing ])
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/movies.json" []
, mark Rect []
, enc []
, config []
]
basic21 : Spec
basic21 =
let
des =
description "Table bubble plot in the style of a Github punched card."
enc =
encoding
<< position X [ PName "time", PmType Ordinal, PTimeUnit Hours ]
<< position Y [ PName "time", PmType Ordinal, PTimeUnit Day ]
<< size [ MName "count", MmType Quantitative, MAggregate Sum ]
in
toVegaLite [ des, dataFromUrl "data/github.csv" [], mark Circle [], enc [] ]
basic22 : Spec
basic22 =
let
des =
description "Visualization of global deaths from natural disasters. Copy of chart from https://ourworldindata.org/natural-catastrophes"
trans =
transform
<< filter (FExpr "datum.Entity !== 'All natural disasters'")
enc =
encoding
<< position X [ PName "Year", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "Entity", PmType Nominal, PAxis [ AxTitle "" ] ]
<< size
[ MName "Deaths"
, MmType Quantitative
, MLegend [ LTitle "Annual Global Deaths" ]
, MScale [ SRange (RNumbers [ 0, 5000 ]) ]
]
<< color [ MName "Entity", MmType Nominal, MLegend [] ]
in
toVegaLite
[ des
, width 600
, height 400
, dataFromUrl "https://vega.github.io/vega-lite/data/disasters.csv" []
, trans []
, mark Circle [ MOpacity 0.8, MStroke "black", MStrokeWidth 1 ]
, enc []
]
stack1 : Spec
stack1 =
let
des =
description "Seattle weather stacked bar chart"
enc =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month, PAxis [ AxTitle "Month of the year" ] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< color
[ MName "weather"
, MmType Nominal
, MScale <|
categoricalDomainMap
[ ( "sun", "#e7ba52" )
, ( "fog", "#c7c7c7" )
, ( "drizzle", "#aec7ea" )
, ( "rain", "#1f77b4" )
, ( "snow", "#9467bd" )
]
, MLegend [ LTitle "Weather type" ]
]
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], mark Bar [], enc [] ]
stack2 : Spec
stack2 =
let
des =
description "Barley crop yields as a horizontal stacked bar chart"
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Sum ]
<< position Y [ PName "variety", PmType Nominal ]
<< color [ MName "site", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Bar [], enc [] ]
stack3 : Spec
stack3 =
let
des =
description "Population structure as a normalised stacked bar chart."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ], PStack StNormalize ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], trans [], mark Bar [], enc [] ]
stack4 : Spec
stack4 =
let
des =
description "Unemployment across industries as a stacked area chart."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite [ des, dataFromUrl "data/unemployment-across-industries.json" [], mark Area [], enc [] ]
stack5 : Spec
stack5 =
let
des =
description "Unemployment across industries as a normalised area chart."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxDomain False, AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [], PStack StNormalize ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
stack6 : Spec
stack6 =
let
des =
description "Unemployment across industries as a streamgraph (centred, stacked area chart)."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxDomain False, AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [], PStack StCenter ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
stack7 : Spec
stack7 =
let
des =
description "Layered bar chart showing the US population distribution of age groups and gender in 2000."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ], PStack NoStack ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#e377c2", "#1f77b4" ]) ] ]
<< opacity [ MNumber 0.7 ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], trans [], mark Bar [], enc [] ]
stack8 : Spec
stack8 =
let
des =
description "A diverging stacked bar chart for sentiments towards a set of eight questions, displayed as percentages with neutral responses straddling the 0% mark."
data =
dataFromColumns []
<< dataColumn "question" (Strings [ "Q1", "Q1", "Q1", "Q1", "Q1", "Q2", "Q2", "Q2", "Q2", "Q2", "Q3", "Q3", "Q3", "Q3", "Q3", "Q4", "Q4", "Q4", "Q4", "Q4", "Q5", "Q5", "Q5", "Q5", "Q5", "Q6", "Q6", "Q6", "Q6", "Q6", "Q7", "Q7", "Q7", "Q7", "Q7", "Q8", "Q8", "Q8", "Q8", "Q8" ])
<< dataColumn "type" (Strings [ "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree" ])
<< dataColumn "value" (Numbers [ 24, 294, 594, 1927, 376, 2, 2, 0, 7, 11, 2, 0, 2, 4, 2, 0, 2, 1, 7, 6, 0, 1, 3, 16, 4, 1, 1, 2, 9, 3, 0, 0, 1, 4, 0, 0, 0, 0, 0, 2 ])
<< dataColumn "percentage" (Numbers [ 0.7, 9.1, 18.5, 59.9, 11.7, 18.2, 18.2, 0, 63.6, 0, 20, 0, 20, 40, 20, 0, 12.5, 6.3, 43.8, 37.5, 0, 4.2, 12.5, 66.7, 16.7, 6.3, 6.3, 12.5, 56.3, 18.8, 0, 0, 20, 80, 0, 0, 0, 0, 0, 100 ])
<< dataColumn "percentage_start" (Numbers [ -19.1, -18.4, -9.2, 9.2, 69.2, -36.4, -18.2, 0, 0, 63.6, -30, -10, -10, 10, 50, -15.6, -15.6, -3.1, 3.1, 46.9, -10.4, -10.4, -6.3, 6.3, 72.9, -18.8, -12.5, -6.3, 6.3, 62.5, -10, -10, -10, 10, 90, 0, 0, 0, 0, 0 ])
<< dataColumn "percentage_end" (Numbers [ -18.4, -9.2, 9.2, 69.2, 80.9, -18.2, 0, 0, 63.6, 63.6, -10, -10, 10, 50, 70, -15.6, -3.1, 3.1, 46.9, 84.4, -10.4, -6.3, 6.3, 72.9, 89.6, -12.5, -6.3, 6.3, 62.5, 81.3, -10, -10, 10, 90, 90, 0, 0, 0, 0, 100 ])
enc =
encoding
<< position X [ PName "percentage_start", PmType Quantitative, PAxis [ AxTitle "Percentage" ] ]
<< position X2 [ PName "percentage_end", PmType Quantitative ]
<< position Y [ PName "question", PmType Nominal, PAxis [ AxTitle "Question", AxOffset 5, AxTicks False, AxMinExtent 60, AxDomain False ] ]
<< color
[ MName "type"
, MmType Nominal
, MLegend [ LTitle "Response" ]
, MScale <|
SType ScOrdinal
:: categoricalDomainMap
[ ( "Strongly disagree", "#c30d24" )
, ( "Disagree", "#f3a583" )
, ( "Neither agree nor disagree", "#cccccc" )
, ( "Agree", "#94c6da" )
, ( "Strongly agree", "#1770ab" )
]
]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
trellis1 : Spec
trellis1 =
let
des =
description "Anscombe's Quartet"
enc =
encoding
<< position X [ PName "X", PmType Quantitative, PScale [ SZero False ] ]
<< position Y [ PName "Y", PmType Quantitative, PScale [ SZero False ] ]
<< opacity [ MNumber 1 ]
<< column [ FName "Series", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/anscombe.json" [], mark Circle [], enc [] ]
trellis2 : Spec
trellis2 =
let
des =
description "A trellis bar chart showing the US population distribution of age groups and gender in 2000."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ] ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
<< row [ FName "gender", FmType Nominal ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, mark Bar []
, enc []
]
trellis3 : Spec
trellis3 =
let
des =
description "Barley crop yields in 1931 and 1932 shown as stacked bar charts."
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Sum ]
<< position Y [ PName "variety", PmType Nominal ]
<< color [ MName "site", MmType Nominal ]
<< column [ FName "year", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Bar [], enc [] ]
trellis4 : Spec
trellis4 =
let
des =
description "Scatterplots of movie takings vs profits for different MPAA ratings."
enc =
encoding
<< position X [ PName "Worldwide_Gross", PmType Quantitative ]
<< position Y [ PName "US_DVD_Sales", PmType Quantitative ]
<< column [ FName "MPAA_Rating", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Point [], enc [] ]
trellis5 : Spec
trellis5 =
let
des =
description "Disitributions of car engine power for different countries of origin."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PBin [ MaxBins 15 ] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< row [ FName "Origin", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Bar [], enc [] ]
trellis6 : Spec
trellis6 =
let
des =
description "The Trellis display by Becker et al. helped establish small multiples as a “powerful mechanism for understanding interactions in studies of how a response depends on explanatory variables”. Here we reproduce a trellis of Barley yields from the 1930s, complete with main-effects ordering to facilitate comparison."
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Median, PScale [ SZero False ] ]
<< position Y [ PName "variety", PmType Ordinal, PSort [ ByField "Horsepower", Op Mean, Descending ], PScale [ SRangeStep (Just 12) ] ]
<< color [ MName "year", MmType Nominal ]
<< row [ FName "site", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Point [], enc [] ]
trellis7 : Spec
trellis7 =
let
des =
description "Stock prices of four large companies as a small multiples of area charts."
trans =
transform << filter (FExpr "datum.symbol !== 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y", AxTitle "Time", AxGrid False ] ]
<< position Y [ PName "price", PmType Quantitative, PAxis [ AxTitle "Time", AxGrid False ] ]
<< color [ MName "symbol", MmType Nominal, MLegend [] ]
<< row [ FName "symbol", FmType Nominal, FHeader [ HTitle "Company" ] ]
in
toVegaLite [ des, width 300, height 40, dataFromUrl "data/stocks.csv" [], trans [], mark Area [], enc [] ]
layer1 : Spec
layer1 =
let
des =
description "A simple bar chart with embedded data labels."
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C" ])
<< dataColumn "b" (Numbers [ 28, 55, 43 ])
enc =
encoding
<< position X [ PName "b", PmType Quantitative ]
<< position Y [ PName "a", PmType Ordinal ]
specBar =
asSpec [ mark Bar [] ]
specText =
asSpec [ mark Text [ MStyle [ "label" ] ], encoding (text [ TName "b", TmType Quantitative ] []) ]
config =
configure << configuration (NamedStyle "label" [ MAlign AlignLeft, MBaseline AlignMiddle, MdX 3 ])
in
toVegaLite [ des, data [], enc [], layer [ specBar, specText ], config [] ]
layer2 : Spec
layer2 =
let
des =
description "Bar chart that highlights values beyond a threshold. The PM2.5 value of Beijing observed 15 days, highlighting the days when PM2.5 level is hazardous to human health. Data source https://chartaccent.github.io/chartaccent.html"
data =
dataFromColumns []
<< dataColumn "Day" (List.range 1 15 |> List.map toFloat |> Numbers)
<< dataColumn "Value" (Numbers [ 54.8, 112.1, 63.6, 37.6, 79.7, 137.9, 120.1, 103.3, 394.8, 199.5, 72.3, 51.1, 112.0, 174.5, 130.5 ])
encBar =
encoding
<< position X [ PName "Day", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "Value", PmType Quantitative ]
specBar =
asSpec [ mark Bar [], encBar [] ]
trans =
transform
<< filter (FExpr "datum.Value >= 300")
<< calculateAs "300" "baseline"
encUpperBar =
encoding
<< position X [ PName "Day", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "baseline", PmType Quantitative ]
<< position Y2 [ PName "Value", PmType Quantitative ]
<< color [ MString "#e45755" ]
specUpperBar =
asSpec [ trans [], mark Bar [], encUpperBar [] ]
layer0 =
asSpec [ data [], layer [ specBar, specUpperBar ] ]
thresholdData =
dataFromRows []
<< dataRow [ ( "ThresholdValue", Number 300 ), ( "Threshold", Str "hazardous" ) ]
specRule =
asSpec [ mark Rule [], encRule [] ]
encRule =
encoding
<< position Y [ PName "ThresholdValue", PmType Quantitative ]
specText =
asSpec [ mark Text [ MAlign AlignLeft, MdX 215, MdY -5 ], encText [] ]
encText =
encoding
<< position Y [ PName "ThresholdValue", PmType Quantitative, PAxis [ AxTitle "PM2.5 Value" ] ]
<< text [ TName "Threshold", TmType Ordinal ]
layer1 =
asSpec [ thresholdData [], layer [ specRule, specText ] ]
in
toVegaLite [ des, layer [ layer0, layer1 ] ]
layer3 : Spec
layer3 =
let
des =
description "Monthly precipitation with mean value overlay."
encBar =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
specBar =
asSpec [ mark Bar [], encBar [] ]
encLine =
encoding
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
<< color [ MString "red" ]
<< size [ MNumber 3 ]
specLine =
asSpec [ mark Rule [], encLine [] ]
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], layer [ specBar, specLine ] ]
layer4 : Spec
layer4 =
let
des =
description "Layering text over 'heatmap'."
encPosition =
encoding
<< position X [ PName "Cylinders", PmType Ordinal ]
<< position Y [ PName "Origin", PmType Ordinal ]
encRect =
encoding
<< color [ MName "*", MmType Quantitative, MAggregate Count ]
specRect =
asSpec [ mark Rect [], encRect [] ]
encText =
encoding
<< color [ MString "white" ]
<< text [ TName "*", TmType Quantitative, TAggregate Count ]
specText =
asSpec [ mark Text [], encText [] ]
config =
configure
<< configuration (Scale [ SCBandPaddingInner 0, SCBandPaddingOuter 0 ])
<< configuration (TextStyle [ MBaseline AlignMiddle ])
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], encPosition [], layer [ specRect, specText ], config [] ]
layer5 : Spec
layer5 =
let
des =
description "A vertical 2D box plot showing median, min, and max in the US population distribution of age groups in 2000."
trans =
transform
<< aggregate
[ opAs Min "people" "lowerWhisker"
, opAs Q1 "people" "lowerBox"
, opAs Median "people" "midBox"
, opAs Q3 "people" "upperBox"
, opAs Max "people" "upperWhisker"
]
[ "age" ]
encAge =
encoding << position X [ PName "age", PmType Ordinal ]
encLWhisker =
encoding
<< position Y [ PName "lowerWhisker", PmType Quantitative, PAxis [ AxTitle "Population" ] ]
<< position Y2 [ PName "lowerBox", PmType Quantitative ]
specLWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encLWhisker [] ]
encUWhisker =
encoding
<< position Y [ PName "upperBox", PmType Quantitative ]
<< position Y2 [ PName "upperWhisker", PmType Quantitative ]
specUWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encUWhisker [] ]
encBox =
encoding
<< position Y [ PName "lowerBox", PmType Quantitative ]
<< position Y2 [ PName "upperBox", PmType Quantitative ]
<< size [ MNumber 5 ]
specBox =
asSpec [ mark Bar [ MStyle [ "box" ] ], encBox [] ]
encBoxMid =
encoding
<< position Y [ PName "midBox", PmType Quantitative ]
<< color [ MString "white" ]
<< size [ MNumber 5 ]
specBoxMid =
asSpec [ mark Tick [ MStyle [ "boxMid" ] ], encBoxMid [] ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, encAge []
, layer [ specLWhisker, specUWhisker, specBox, specBoxMid ]
]
layer6 : Spec
layer6 =
let
des =
description "A Tukey box plot showing median and interquartile range in the US population distribution of age groups in 2000. This isn't strictly a Tukey box plot as the IQR extends beyond the min/max values for some age cohorts."
trans =
transform
<< aggregate [ opAs Q1 "people" "lowerBox", opAs Median "people" "midBox", opAs Q3 "people" "upperBox" ] [ "age" ]
<< calculateAs "datum.upperBox - datum.lowerBox" "IQR"
<< calculateAs "datum.upperBox + datum.IQR * 1.5" "upperWhisker"
<< calculateAs "max(0,datum.lowerBox - datum.IQR *1.5)" "lowerWhisker"
encAge =
encoding << position X [ PName "age", PmType Ordinal ]
encLWhisker =
encoding
<< position Y [ PName "lowerWhisker", PmType Quantitative, PAxis [ AxTitle "Population" ] ]
<< position Y2 [ PName "lowerBox", PmType Quantitative ]
specLWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encLWhisker [] ]
encUWhisker =
encoding
<< position Y [ PName "upperBox", PmType Quantitative ]
<< position Y2 [ PName "upperWhisker", PmType Quantitative ]
specUWhisker =
asSpec
[ mark Rule [ MStyle [ "boxWhisker" ] ], encUWhisker [] ]
encBox =
encoding
<< position Y [ PName "lowerBox", PmType Quantitative ]
<< position Y2 [ PName "upperBox", PmType Quantitative ]
<< size [ MNumber 5 ]
specBox =
asSpec [ mark Bar [ MStyle [ "box" ] ], encBox [] ]
encBoxMid =
encoding
<< position Y [ PName "midBox", PmType Quantitative ]
<< color [ MString "white" ]
<< size [ MNumber 5 ]
specBoxMid =
asSpec
[ mark Tick [ MStyle [ "boxMid" ] ], encBoxMid [] ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, encAge []
, layer [ specLWhisker, specUWhisker, specBox, specBoxMid ]
]
layer7 : Spec
layer7 =
let
des =
description "A candlestick chart inspired by Protovis (http://mbostock.github.io/protovis/ex/candlestick.html)"
data =
dataFromColumns []
<< dataColumn "date" (Strings [ "01-Jun-2009", "02-Jun-2009", "03-Jun-2009", "04-Jun-2009", "05-Jun-2009", "08-Jun-2009", "09-Jun-2009", "10-Jun-2009", "11-Jun-2009", "12-Jun-2009", "15-Jun-2009", "16-Jun-2009", "17-Jun-2009", "18-Jun-2009", "19-Jun-2009", "22-Jun-2009", "23-Jun-2009", "24-Jun-2009", "25-Jun-2009", "26-Jun-2009", "29-Jun-2009", "30-Jun-2009" ])
<< dataColumn "open" (Numbers [ 28.7, 30.04, 29.62, 31.02, 29.39, 30.84, 29.77, 26.9, 27.36, 28.08, 29.7, 30.81, 31.19, 31.54, 29.16, 30.4, 31.3, 30.58, 29.45, 27.09, 25.93, 25.36 ])
<< dataColumn "high" (Numbers [ 30.05, 30.13, 31.79, 31.02, 30.81, 31.82, 29.77, 29.74, 28.11, 28.5, 31.09, 32.75, 32.77, 31.54, 29.32, 32.05, 31.54, 30.58, 29.56, 27.22, 27.18, 27.38 ])
<< dataColumn "low" (Numbers [ 28.45, 28.3, 29.62, 29.92, 28.85, 26.41, 27.79, 26.9, 26.81, 27.73, 29.64, 30.07, 30.64, 29.6, 27.56, 30.3, 27.83, 28.79, 26.3, 25.76, 25.29, 25.02 ])
<< dataColumn "close" (Numbers [ 30.04, 29.63, 31.02, 30.18, 29.62, 29.77, 28.27, 28.46, 28.11, 28.15, 30.81, 32.68, 31.54, 30.03, 27.99, 31.17, 30.58, 29.05, 26.36, 25.93, 25.35, 26.35 ])
<< dataColumn "signal" (Strings [ "short", "short", "short", "short", "short", "short", "short", "short", "short", "short", "long", "short", "short", "short", "short", "short", "short", "long", "long", "long", "long", "long" ])
<< dataColumn "ret" (Numbers [ -4.89396411092985, -0.322580645161295, 3.68663594470045, 4.51010886469673, 6.08424336973478, 1.2539184952978, -5.02431118314424, -5.46623794212217, -8.3743842364532, -5.52763819095477, 3.4920634920635, 0.155038759689914, 5.82822085889571, 8.17610062893082, 8.59872611464968, 15.4907975460123, 11.7370892018779, -10.4234527687296, 0, 0, 5.26315789473684, 6.73758865248228 ])
trans =
transform << calculateAs "datum.open > datum.close" "isIncrease"
encLine =
encoding
<< position X
[ PName "date"
, PmType Temporal
, PTimeUnit YearMonthDate
, PScale [ SDomain (DDateTimes [ [ DTMonth May, DTDate 31, DTYear 2009 ], [ DTMonth Jul, DTDate 1, DTYear 2009 ] ]) ]
, PAxis [ AxTitle "Date in 2009", AxFormat "%m/%d" ]
]
<< position Y [ PName "low", PmType Quantitative, PScale [ SZero False ] ]
<< position Y2 [ PName "high", PmType Quantitative ]
<< color [ MName "isIncrease", MmType Nominal, MLegend [], MScale [ SRange (RStrings [ "#ae1325", "#06982d" ]) ] ]
specLine =
asSpec [ mark Rule [], encLine [] ]
encBar =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonthDate ]
<< position Y [ PName "open", PmType Quantitative ]
<< position Y2 [ PName "close", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MName "isIncrease", MmType Nominal, MLegend [] ]
specBar =
asSpec [ mark Bar [], encBar [] ]
in
toVegaLite [ des, width 320, data [], trans [], layer [ specLine, specBar ] ]
layer8 : Spec
layer8 =
let
des =
description "Error bars showing confidence intervals"
encVariety =
encoding << position Y [ PName "variety", PmType Ordinal ]
encPoints =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Mean, PScale [ SZero False ], PAxis [ AxTitle "Barley Yield" ] ]
<< color [ MString "black" ]
specPoints =
asSpec [ mark Point [ MFilled True ], encPoints [] ]
encCIs =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate CI0 ]
<< position X2 [ PName "yield", PmType Quantitative, PAggregate CI1 ]
specCIs =
asSpec [ mark Rule [], encCIs [] ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], encVariety [], layer [ specPoints, specCIs ] ]
layer9 : Spec
layer9 =
let
des =
description "Error bars showing standard deviation."
trans =
transform
<< aggregate [ opAs Mean "yield" "mean", opAs Stdev "yield" "stdev" ] [ "variety" ]
<< calculateAs "datum.mean-datum.stdev" "lower"
<< calculateAs "datum.mean+datum.stdev" "upper"
encVariety =
encoding << position Y [ PName "variety", PmType Ordinal ]
encMeans =
encoding
<< position X [ PName "mean", PmType Quantitative, PScale [ SZero False ], PAxis [ AxTitle "Barley Yield" ] ]
<< color [ MString "black" ]
specMeans =
asSpec [ mark Point [ MFilled True ], encMeans [] ]
encStdevs =
encoding
<< position X [ PName "upper", PmType Quantitative ]
<< position X2 [ PName "lower", PmType Quantitative ]
specStdevs =
asSpec [ mark Rule [], encStdevs [] ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], trans [], encVariety [], layer [ specMeans, specStdevs ] ]
layer10 : Spec
layer10 =
let
des =
description "Histogram with global mean overlay."
encBars =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [], PAxis [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
specBars =
asSpec [ mark Bar [], encBars [] ]
encMean =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PAggregate Mean ]
<< color [ MString "red" ]
<< size [ MNumber 5 ]
specMean =
asSpec [ mark Rule [], encMean [] ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], layer [ specBars, specMean ] ]
layer11 : Spec
layer11 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars with a global mean and standard deviation overlay."
encPoints =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
specPoints =
asSpec [ mark Point [], encPoints [] ]
trans =
transform
<< aggregate [ opAs Mean "Miles_per_Gallon" "mean_MPG", opAs Stdev "Miles_per_Gallon" "dev_MPG" ] []
<< calculateAs "datum.mean_MPG+datum.dev_MPG" "upper"
<< calculateAs "datum.mean_MPG-datum.dev_MPG" "lower"
encMean =
encoding << position Y [ PName "mean_MPG", PmType Quantitative ]
specMean =
asSpec [ mark Rule [], encMean [] ]
encRect =
encoding
<< position Y [ PName "lower", PmType Quantitative ]
<< position Y2 [ PName "upper", PmType Quantitative ]
<< opacity [ MNumber 0.2 ]
specRect =
asSpec [ mark Rect [], encRect [] ]
specSpread =
asSpec [ trans [], layer [ specMean, specRect ] ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], layer [ specPoints, specSpread ] ]
layer12 : Spec
layer12 =
let
des =
description "Line chart with confidence interval band."
encTime =
encoding << position X [ PName "Year", PmType Temporal, PTimeUnit Year ]
encBand =
encoding
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate CI0, PAxis [ AxTitle "Miles/Gallon" ] ]
<< position Y2 [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate CI1 ]
<< opacity [ MNumber 0.3 ]
specBand =
asSpec [ mark Area [], encBand [] ]
encLine =
encoding
<< position Y [ PName "<NAME>iles_per_G<NAME>on", PmType Quantitative, PAggregate Mean ]
specLine =
asSpec [ mark Line [], encLine [] ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], encTime [], layer [ specBand, specLine ] ]
layer13 : Spec
layer13 =
let
des =
description "The population of the German city of Falkensee over time with annotated time periods highlighted."
data =
dataFromColumns [ Parse [ ( "year", FoDate "%Y" ) ] ]
<< dataColumn "year" (Strings [ "1875", "1890", "1910", "1925", "1933", "1939", "1946", "1950", "1964", "1971", "1981", "1985", "1989", "1990", "1991", "1992", "1993", "1994", "1995", "1996", "1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014" ])
<< dataColumn "population" (Numbers [ 1309, 1558, 4512, 8180, 15915, 24824, 28275, 29189, 29881, 26007, 24029, 23340, 22307, 22087, 22139, 22105, 22242, 22801, 24273, 25640, 27393, 29505, 32124, 33791, 35297, 36179, 36829, 37493, 38376, 39008, 39366, 39821, 40179, 40511, 40465, 40905, 41258, 41777 ])
highlights =
dataFromColumns [ Parse [ ( "start", FoDate "%Y" ), ( "end", FoDate "%Y" ) ] ]
<< dataColumn "start" (Strings [ "1933", "1948" ])
<< dataColumn "end" (Strings [ "1945", "1989" ])
<< dataColumn "event" (Strings [ "Nazi Rule", "GDR (East Germany)" ])
encRects =
encoding
<< position X [ PName "start", PmType Temporal, PTimeUnit Year, PAxis [] ]
<< position X2 [ PName "end", PmType Temporal, PTimeUnit Year ]
<< color [ MName "event", MmType Nominal ]
specRects =
asSpec [ highlights [], mark Rect [], encRects [] ]
encPopulation =
encoding
<< position X [ PName "year", PmType Temporal, PTimeUnit Year, PAxis [ AxTitle "" ] ]
<< position Y [ PName "population", PmType Quantitative ]
<< color [ MString "#333" ]
specLine =
asSpec [ mark Line [], encPopulation [] ]
specPoints =
asSpec [ mark Point [], encPopulation [] ]
in
toVegaLite [ des, width 500, data [], layer [ specRects, specLine, specPoints ] ]
layer14 : Spec
layer14 =
let
des =
description "A ranged dot plot that uses 'layer' to convey changing life expectancy for the five most populous countries (between 1955 and 2000)."
trans =
transform
<< filter (FOneOf "country" (Strings [ "China", "India", "United States", "Indonesia", "Brazil" ]))
<< filter (FOneOf "year" (Numbers [ 1955, 2000 ]))
encCountry =
encoding << position Y [ PName "country", PmType Nominal, PAxis [ AxTitle "Country", AxOffset 5, AxTicks False, AxMinExtent 70, AxDomain False ] ]
encLine =
encoding
<< position X [ PName "life_expect", PmType Quantitative ]
<< detail [ DName "country", DmType Nominal ]
<< color [ MString "#db646f" ]
specLine =
asSpec [ mark Line [], encLine [] ]
encPoints =
encoding
<< position X [ PName "life_expect", PmType Quantitative, PAxis [ AxTitle "Life Expectanct (years)" ] ]
<< color [ MName "year", MmType Ordinal, MScale (domainRangeMap ( 1955, "#e6959c" ) ( 2000, "#911a24" )), MLegend [ LTitle "Year" ] ]
<< size [ MNumber 100 ]
<< opacity [ MNumber 1 ]
specPoints =
asSpec [ mark Point [ MFilled True ], encPoints [] ]
in
toVegaLite [ des, dataFromUrl "data/countries.json" [], trans [], encCountry [], layer [ specLine, specPoints ] ]
layer15 : Spec
layer15 =
let
des =
description "Layered bar/line chart with dual axes."
encTime =
encoding << position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
encBar =
encoding
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean, PAxis [ AxGrid False ] ]
specBar =
asSpec [ mark Bar [], encBar [] ]
encLine =
encoding
<< position Y [ PName "temp_max", PmType Quantitative, PAggregate Mean, PAxis [ AxGrid False ], PScale [ SZero False ] ]
<< color [ MString "firebrick" ]
specLine =
asSpec [ mark Line [], encLine [] ]
res =
resolve
<< resolution (RScale [ ( ChY, Independent ) ])
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], encTime [], layer [ specBar, specLine ], res [] ]
layer16 : Spec
layer16 =
let
des =
description "Horizon chart with 2 layers. (See https://idl.cs.washington.edu/papers/horizon/ for more details on horizon charts.)"
data =
dataFromColumns []
<< dataColumn "x" (Numbers (List.map toFloat <| List.range 1 20))
<< dataColumn "y" (Numbers [ 28, 55, 43, 91, 81, 53, 19, 87, 52, 48, 24, 49, 87, 66, 17, 27, 68, 16, 49, 15 ])
trans =
transform << calculateAs "datum.y - 50" "ny"
encX =
encoding << position X [ PName "x", PmType Quantitative, PScale [ SZero False, SNice (IsNice False) ] ]
encLower =
encoding
<< position Y [ PName "y", PmType Quantitative, PScale [ SDomain (DNumbers [ 0, 50 ]) ] ]
<< opacity [ MNumber 0.6 ]
specLower =
asSpec [ mark Area [ MClip True ], encLower [] ]
encUpper =
encoding
<< position Y [ PName "ny", PmType Quantitative, PScale [ SDomain (DNumbers [ 0, 50 ]) ], PAxis [ AxTitle "y" ] ]
<< opacity [ MNumber 0.3 ]
specUpper =
asSpec [ trans [], mark Area [ MClip True ], encUpper [] ]
config =
configure
<< configuration (AreaStyle [ MInterpolate Monotone, MOrient Vertical ])
in
toVegaLite [ des, width 300, height 50, data [], encX [], layer [ specLower, specUpper ], config [] ]
layer17 : Spec
layer17 =
let
des =
description "Connected scatterplot showing change over time."
enc =
encoding
<< position X [ PName "miles", PmType Quantitative, PScale [ SZero False ] ]
<< position Y [ PName "gas", PmType Quantitative, PScale [ SZero False ] ]
<< order [ OName "year", OmType Temporal ]
specLine =
asSpec [ mark Line [] ]
specPoint =
asSpec [ mark Point [ MFilled True ] ]
in
toVegaLite [ des, dataFromUrl "data/driving.json" [], enc [], layer [ specLine, specPoint ] ]
layer18 : Spec
layer18 =
let
des =
description "Carbon dioxide in the atmosphere."
data =
dataFromUrl "https://vega.github.io/vega-lite/data/co2-concentration.csv" [ Parse [ ( "Date", FoUtc "%Y-%m-%d" ) ] ]
trans =
transform
<< calculateAs "year(datum.Date)" "year"
<< calculateAs "month(datum.Date)" "month"
<< calculateAs "floor(datum.year / 10)" "decade"
<< calculateAs "(datum.year % 10) + (datum.month / 12)" "scaled_date"
encPosition =
encoding
<< position X
[ PName "scaled_date"
, PmType Quantitative
, PAxis [ AxTitle "Year into decade", AxTickCount 10, AxValues [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] ]
]
<< position Y
[ PName "CO2"
, PmType Quantitative
, PScale [ SZero False ]
, PAxis [ AxTitle "CO2 concentration in ppm" ]
]
encLine =
encoding
<< color [ MName "decade", MmType Nominal, MLegend [] ]
specLine =
asSpec [ mark Line [ MOrient Vertical ], encLine [] ]
transTextMin =
transform
<< aggregate [ opAs ArgMin "scaled_date" "aggregated" ] [ "decade" ]
<< calculateAs "datum.aggregated.scaled_date" "scaled_date"
<< calculateAs "datum.aggregated.CO2" "CO2"
encTextMin =
encoding
<< text [ TName "aggregated.year", TmType Nominal ]
specTextMin =
asSpec [ transTextMin [], mark Text [ MAlign AlignLeft, MBaseline AlignTop, MdX 3, MdY 1 ], encTextMin [] ]
transTextMax =
transform
<< aggregate [ opAs ArgMax "scaled_date" "aggregated" ] [ "decade" ]
<< calculateAs "datum.aggregated.scaled_date" "scaled_date"
<< calculateAs "datum.aggregated.CO2" "CO2"
encTextMax =
encoding
<< text [ TName "aggregated.year", TmType Nominal ]
specTextMax =
asSpec [ transTextMax [], mark Text [ MAlign AlignLeft, MBaseline AlignBottom, MdX 3, MdY 1 ], encTextMax [] ]
config =
configure << configuration (View [ Stroke Nothing ])
in
toVegaLite
[ des
, config []
, width 800
, height 500
, data
, trans []
, encPosition []
, layer [ specLine, specTextMin, specTextMax ]
]
comp1 : Spec
comp1 =
let
des =
description "Monthly weather information for individual years and overall average for Seatle and New York."
enc1 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PRepeat Column, PmType Quantitative, PAggregate Mean ]
<< detail [ DName "date", DmType Temporal, DTimeUnit Year ]
<< color [ MName "location", MmType Nominal ]
<< opacity [ MNumber 0.2 ]
spec1 =
asSpec [ mark Line [], enc1 [] ]
enc2 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PRepeat Column, PmType Quantitative, PAggregate Mean ]
<< color [ MName "location", MmType Nominal ]
spec2 =
asSpec [ mark Line [], enc2 [] ]
spec =
asSpec [ layer [ spec1, spec2 ] ]
in
toVegaLite
[ des
, dataFromUrl "data/weather.csv" [ Parse [ ( "date", FoDate "%Y-%m-%d %H:%M" ) ] ]
, repeat [ ColumnFields [ "temp_max", "precipitation", "wind" ] ]
, specification spec
]
comp2 : Spec
comp2 =
let
enc =
encoding
<< position X [ PRepeat Column, PmType Quantitative, PBin [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< color [ MName "Origin", MmType Nominal ]
spec =
asSpec [ dataFromUrl "data/cars.json" [], mark Bar [], enc [] ]
in
toVegaLite
[ repeat [ ColumnFields [ "Horsepower", "Miles_per_Gallon", "Acceleration" ] ]
, specification spec
]
comp3 : Spec
comp3 =
let
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PBin [ MaxBins 15 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
<< color [ MName "Origin", MmType Nominal, MLegend [] ]
spec =
asSpec [ mark Bar [], enc [] ]
in
toVegaLite
[ dataFromUrl "data/cars.json" []
, facet [ RowBy [ FName "Origin", FmType Nominal ] ]
, specification spec
]
geo1 : Spec
geo1 =
toVegaLite
[ description "Choropleth of US unemployment rate by county"
, width 500
, height 300
, projection [ PType AlbersUsa ]
, dataFromUrl "data/us-10m.json" [ TopojsonFeature "counties" ]
, transform <| lookup "id" (dataFromUrl "data/unemployment.tsv" []) "id" [ "rate" ] <| []
, mark Geoshape []
, encoding <| color [ MName "rate", MmType Quantitative ] []
]
geo2 : Spec
geo2 =
let
enc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 1 ]
<< color [ MName "digit", MmType Nominal ]
in
toVegaLite
[ description "US zip codes: One dot per zipcode colored by first digit"
, width 500
, height 300
, projection [ PType AlbersUsa ]
, dataFromUrl "data/zipcodes.csv" []
, transform <| calculateAs "substring(datum.zip_code, 0, 1)" "digit" <| []
, mark Circle []
, enc []
]
geo3 : Spec
geo3 =
let
des =
description "One dot per airport in the US overlayed on geoshape"
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
overlayEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "steelblue" ]
overlaySpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, overlayEnc []
]
in
toVegaLite
[ des
, width 500
, height 300
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, overlaySpec ]
]
geo4 : Spec
geo4 =
let
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
airportsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "gray" ]
airportsSpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, airportsEnc []
]
trans =
transform
<< filter (FEqual "origin" (Str "SEA"))
<< lookup "origin" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
<< calculateAs "datum.latitude" "origin_latitude"
<< calculateAs "datum.longitude" "origin_longitude"
<< lookup "destination" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
<< calculateAs "datum.latitude" "dest_latitude"
<< calculateAs "datum.longitude" "dest_longitude"
flightsEnc =
encoding
<< position Longitude [ PName "origin_longitude", PmType Quantitative ]
<< position Latitude [ PName "origin_latitude", PmType Quantitative ]
<< position Longitude2 [ PName "dest_longitude", PmType Quantitative ]
<< position Latitude2 [ PName "dest_latitude", PmType Quantitative ]
flightsSpec =
asSpec
[ dataFromUrl "data/flights-airport.csv" []
, trans []
, mark Rule []
, flightsEnc []
]
in
toVegaLite
[ description "Rules (line segments) connecting SEA to every airport reachable via direct flight"
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, airportsSpec, flightsSpec ]
]
geo5 : Spec
geo5 =
let
enc =
encoding
<< shape [ MName "geo", MmType GeoFeature ]
<< color [ MRepeat Row, MmType Quantitative ]
spec =
asSpec
[ width 500
, height 300
, dataFromUrl "data/population_engineers_hurricanes.csv" []
, transform <| lookupAs "id" (dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]) "id" "geo" []
, projection [ PType AlbersUsa ]
, mark Geoshape []
, enc []
]
in
toVegaLite
[ description "Population per state, engineers per state, and hurricanes per state"
, repeat [ RowFields [ "population", "engineers", "hurricanes" ] ]
, resolve <| resolution (RScale [ ( ChColor, Independent ) ]) []
, specification spec
]
geo6 : Spec
geo6 =
let
des =
description "US state campitals overlayed on map of the US"
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#ccc" ] []
]
overlayEnc =
encoding
<< position Longitude [ PName "lon", PmType Quantitative ]
<< position Latitude [ PName "lat", PmType Quantitative ]
<< text [ TName "city", TmType Nominal ]
overlaySpec =
asSpec
[ dataFromUrl "data/us-state-capitals.json" []
, mark Text []
, overlayEnc []
]
in
toVegaLite
[ des
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, overlaySpec ]
]
geo7 : Spec
geo7 =
let
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
airportsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "gray" ]
airportsSpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, airportsEnc []
]
itinerary =
dataFromColumns []
<< dataColumn "airport" (Strings [ "SEA", "SFO", "LAX", "LAS", "DFW", "DEN", "ORD", "JFK", "ATL" ])
<< dataColumn "order" (Numbers [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ])
trans =
transform
<< lookup "airport" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
flightsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< order [ OName "order", OmType Ordinal ]
flightsSpec =
asSpec
[ itinerary []
, trans []
, mark Line []
, flightsEnc []
]
in
toVegaLite
[ description "Line drawn between airports in the U.S. simulating a flight itinerary"
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, airportsSpec, flightsSpec ]
]
geo8 : Spec
geo8 =
let
enc =
encoding
<< shape [ MName "geo", MmType GeoFeature ]
<< color [ MName "pct", MmType Quantitative ]
<< row [ FName "group", FmType Nominal ]
in
toVegaLite
[ description "Income in the U.S. by state, faceted over income brackets"
, width 500
, height 300
, dataFromUrl "data/income.json" []
, transform <| lookupAs "id" (dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]) "id" "geo" []
, projection [ PType AlbersUsa ]
, mark Geoshape []
, enc []
]
geo9 : Spec
geo9 =
let
tubeLineColors =
categoricalDomainMap
[ ( "Bakerloo", "rgb(137,78,36)" )
, ( "Central", "rgb(220,36,30)" )
, ( "Circle", "rgb(255,206,0)" )
, ( "District", "rgb(1,114,41)" )
, ( "DLR", "rgb(0,175,173)" )
, ( "Hammersmith & City", "rgb(215,153,175)" )
, ( "Jubilee", "rgb(106,114,120)" )
, ( "Metropolitan", "rgb(114,17,84)" )
, ( "Northern", "rgb(0,0,0)" )
, ( "<NAME>", "rgb(0,24,168)" )
, ( "Victoria", "rgb(0,160,226)" )
, ( "Waterloo & City", "rgb(106,187,170)" )
]
polySpec =
asSpec
[ dataFromUrl "https://vega.github.io/vega-lite/data/londonBoroughs.json" [ TopojsonFeature "boroughs" ]
, mark Geoshape [ MStroke "rgb(251,247,238)", MStrokeWidth 2 ]
, encoding <| color [ MString "#ddc" ] []
]
labelEnc =
encoding
<< position Longitude [ PName "cx", PmType Quantitative ]
<< position Latitude [ PName "cy", PmType Quantitative ]
<< text [ TName "bLabel", TmType Nominal ]
<< size [ MNumber 8 ]
<< opacity [ MNumber 0.6 ]
trans =
transform
<< calculateAs "indexof (datum.name,' ') > 0 ? substring(datum.name,0,indexof(datum.name, ' ')) : datum.name" "bLabel"
labelSpec =
asSpec [ dataFromUrl "https://vega.github.io/vega-lite/data/londonCentroids.json" [], trans [], mark Text [], labelEnc [] ]
tubeEnc =
encoding
<< color
[ MName "id"
, MmType Nominal
, MLegend [ LTitle "", LOrient BottomRight, LOffset 0 ]
, MScale tubeLineColors
]
routeSpec =
asSpec
[ dataFromUrl "https://vega.github.io/vega-lite/data/londonTubeLines.json" [ TopojsonFeature "line" ]
, mark Geoshape [ MFilled False, MStrokeWidth 2 ]
, tubeEnc []
]
in
toVegaLite
[ width 700
, height 500
, configure <| configuration (View [ Stroke Nothing ]) []
, layer [ polySpec, labelSpec, routeSpec ]
]
interactive1 : Spec
interactive1 =
let
des =
description "Drag out a rectangular brush to highlight points."
sel =
selection << select "myBrush" Interval []
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myBrush")
[ MName "Cylinders", MmType Ordinal ]
[ MString "grey" ]
]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
interactive2 : Spec
interactive2 =
let
des =
description "Mouse over individual points or select multiple points with the shift key."
sel =
selection << select "myPaintbrush" Multi [ On "mouseover", Nearest True ]
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< size
[ MSelectionCondition (SelectionName "myPaintbrush")
[ MNumber 300 ]
[ MNumber 50 ]
]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
interactive3 : Spec
interactive3 =
let
des =
description "Drag to pan. Zoom in or out with mousewheel/zoom gesture."
sel =
selection << select "myGrid" Interval [ BindScales ]
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PScale [ SDomain (DNumbers [ 75, 150 ]) ] ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PScale [ SDomain (DNumbers [ 20, 40 ]) ] ]
<< size [ MName "Cylinders", MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Circle [], sel [], enc [] ]
interactive4 : Spec
interactive4 =
let
des =
description "Drag the sliders to highlight points."
trans =
transform
<< calculateAs "year(datum.Year)" "Year"
sel1 =
selection
<< select "CylYr"
Single
[ Fields [ "Cylinders", "Year" ]
, Bind
[ IRange "Cylinders" [ InName "Cylinders ", InMin 3, InMax 8, InStep 1 ]
, IRange "Year" [ InName "Year ", InMin 1969, InMax 1981, InStep 1 ]
]
]
encPosition =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
enc1 =
encoding
<< color
[ MSelectionCondition (SelectionName "CylYr")
[ MName "Origin", MmType Nominal ]
[ MString "grey" ]
]
spec1 =
asSpec [ sel1 [], mark Circle [], enc1 [] ]
trans2 =
transform
<< filter (FSelection "CylYr")
enc2 =
encoding
<< color [ MName "Origin", MmType Nominal ]
<< size [ MNumber 100 ]
spec2 =
asSpec [ trans2 [], mark Circle [], enc2 [] ]
in
toVegaLite
[ des
, dataFromUrl "data/cars.json" []
, trans []
, encPosition []
, layer [ spec1, spec2 ]
]
interactive5 : Spec
interactive5 =
let
des =
description "Drag over bars to update selection average."
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
encPosition =
encoding << position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
enc1 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< opacity
[ MSelectionCondition (SelectionName "myBrush")
[ MNumber 1 ]
[ MNumber 0.7 ]
]
spec1 =
asSpec [ sel [], mark Bar [], enc1 [] ]
trans =
transform
<< filter (FSelection "myBrush")
enc2 =
encoding
<< color [ MString "firebrick" ]
<< size [ MNumber 3 ]
spec2 =
asSpec [ des, trans [], mark Rule [], enc2 [] ]
in
toVegaLite
[ dataFromUrl "data/seattle-weather.csv" []
, encPosition []
, layer [ spec1, spec2 ]
]
interactive6 : Spec
interactive6 =
let
des =
description "Drag over lower chart to update detailed view in upper chart."
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
enc1 =
encoding
<< position X [ PName "date", PmType Temporal, PScale [ SDomain (DSelection "myBrush") ], PAxis [ AxTitle "" ] ]
<< position Y [ PName "price", PmType Quantitative ]
spec1 =
asSpec [ width 500, mark Area [], enc1 [] ]
enc2 =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative, PAxis [ AxTickCount 3, AxGrid False ] ]
spec2 =
asSpec [ width 480, height 60, sel [], mark Area [], enc2 [] ]
in
toVegaLite [ des, dataFromUrl "data/sp500.csv" [], vConcat [ spec1, spec2 ] ]
interactive7 : Spec
interactive7 =
let
des =
description "Drag over any chart to cross-filter highlights in all charts."
trans =
transform
<< calculateAs "hours(datum.date)" "time"
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
selTrans =
transform
<< filter (FSelection "myBrush")
encPosition =
encoding
<< position X [ PRepeat Column, PmType Quantitative, PBin [ MaxBins 20 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
spec1 =
asSpec [ sel [], mark Bar [] ]
spec2 =
asSpec [ selTrans [], mark Bar [], encoding (color [ MString "goldenrod" ] []) ]
spec =
asSpec
[ des
, dataFromUrl "data/flights-2k.json" [ Parse [ ( "date", FoDate "" ) ] ]
, trans []
, encPosition []
, layer [ spec1, spec2 ]
]
in
toVegaLite
[ repeat [ ColumnFields [ "distance", "delay", "time" ] ]
, specification spec
]
interactive8 : Spec
interactive8 =
let
des =
description "Scatterplot matrix. Drag/zoom in any scatterplot to update view of all scatterplots containing selected variables. Shift-select to highlight selected points."
sel =
selection
<< select "myBrush"
Interval
[ On "[mousedown[event.shiftKey], window:mouseup] > window:mousemove!"
, Translate "[mousedown[event.shiftKey], window:mouseup] > window:mousemove!"
, Zoom "wheel![event.shiftKey]"
, ResolveSelections Union
]
<< select ""
Interval
[ BindScales
, Translate "[mousedown[!event.shiftKey], window:mouseup] > window:mousemove!"
, Zoom "wheel![event.shiftKey]"
, ResolveSelections Global
]
enc =
encoding
<< position X [ PRepeat Column, PmType Quantitative ]
<< position Y [ PRepeat Row, PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myBrush")
[ MName "Origin", MmType Nominal ]
[ MString "grey" ]
]
spec =
asSpec [ dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
in
toVegaLite
[ des
, repeat [ RowFields [ "Horsepower", "Acceleration", "Miles_per_Gallon" ], ColumnFields [ "Miles_per_Gallon", "Acceleration", "Horsepower" ] ]
, specification spec
]
interactive9 : Spec
interactive9 =
let
des =
description "A dashboard with cross-highlighting. Select bars in lower chart to update view in upper chart."
selTrans =
transform
<< filter (FSelection "myPts")
encPosition =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
enc1 =
encoding
<< color [ MAggregate Count, MmType Quantitative, MLegend [ LTitle "" ] ]
spec1 =
asSpec [ width 300, mark Rect [], enc1 [] ]
enc2 =
encoding
<< size [ MAggregate Count, MmType Quantitative, MLegend [ LTitle "In Selected Category" ] ]
<< color [ MString "#666" ]
spec2 =
asSpec [ selTrans [], mark Point [], enc2 [] ]
heatSpec =
asSpec [ encPosition [], layer [ spec1, spec2 ] ]
sel =
selection << select "myPts" Single [ Encodings [ ChX ] ]
barSpec =
asSpec [ width 420, height 120, mark Bar [], sel [], encBar [] ]
encBar =
encoding
<< position X [ PName "Major_Genre", PmType Nominal, PAxis [ AxLabelAngle -40 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myPts")
[ MString "steelblue" ]
[ MString "grey" ]
]
config =
configure
<< configuration (Range [ RHeatmap "greenblue" ])
res =
resolve
<< resolution (RLegend [ ( ChColor, Independent ), ( ChSize, Independent ) ])
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], vConcat [ heatSpec, barSpec ], res [], config [] ]
interactive10 : Spec
interactive10 =
let
data =
dataFromUrl "https://vega.github.io/vega-lite/data/stocks.csv" []
sel =
selection << select "myTooltip" Single [ Nearest True, On "mouseover", Encodings [ ChX ], Empty ]
enc =
encoding
<< position X [ PName "date", PmType Temporal ]
<< position Y [ PName "price", PmType Quantitative ]
<< color [ MName "symbol", MmType Nominal ]
pointEnc =
encoding
<< color [ MName "symbol", MmType Nominal ]
<< opacity [ MSelectionCondition (Expr "myTooltip") [ MNumber 1 ] [ MNumber 0 ] ]
textEnc =
encoding << text [ TName "price", TmType Quantitative ]
in
toVegaLite
[ width 600
, height 300
, data
, enc []
, layer
[ asSpec [ mark Line [] ]
, asSpec [ mark Point [], pointEnc [], sel [] ]
, asSpec [ transform (filter (FSelection "myTooltip") []), mark Rule [ MColor "gray" ] ]
, asSpec [ transform (filter (FSelection "myTooltip") []), mark Text [ MAlign AlignLeft, MdX 5, MdY -5 ], textEnc [] ]
]
]
{- This list comprises the specifications to be provided to the Vega-Lite runtime. -}
mySpecs : Spec
mySpecs =
combineSpecs
[ ( "basic1", basic1 )
, ( "basic2", basic2 )
, ( "basic3", basic3 )
, ( "basic4", basic4 )
, ( "basic5", basic5 )
, ( "basic6", basic6 )
, ( "basic7", basic7 )
, ( "basic8", basic8 )
, ( "basic9", basic9 )
, ( "basic10", basic10 )
, ( "basic11", basic11 )
, ( "basic12", basic12 )
, ( "basic13", basic13 )
, ( "basic14", basic14 )
, ( "basic15", basic15 )
, ( "basic16", basic16 )
, ( "basic17", basic17 )
, ( "basic18", basic18 )
, ( "basic19", basic19 )
, ( "basic20", basic20 )
, ( "basic21", basic21 )
, ( "basic22", basic22 )
, ( "stack1", stack1 )
, ( "stack2", stack2 )
, ( "stack3", stack3 )
, ( "stack4", stack4 )
, ( "stack5", stack5 )
, ( "stack6", stack6 )
, ( "stack7", stack7 )
, ( "stack8", stack8 )
, ( "trellis1", trellis1 )
, ( "trellis2", trellis2 )
, ( "trellis3", trellis3 )
, ( "trellis4", trellis4 )
, ( "trellis5", trellis5 )
, ( "trellis6", trellis6 )
, ( "trellis7", trellis7 )
, ( "layer1", layer1 )
, ( "layer2", layer2 )
, ( "layer3", layer3 )
, ( "layer4", layer4 )
, ( "layer5", layer5 )
, ( "layer6", layer6 )
, ( "layer7", layer7 )
, ( "layer8", layer8 )
, ( "layer9", layer9 )
, ( "layer10", layer10 )
, ( "layer11", layer11 )
, ( "layer12", layer12 )
, ( "layer13", layer13 )
, ( "layer14", layer14 )
, ( "layer15", layer15 )
, ( "layer16", layer16 )
, ( "layer17", layer17 )
, ( "layer18", layer18 )
, ( "comp1", comp1 )
, ( "comp2", comp2 )
, ( "comp3", comp3 )
, ( "geo1", geo1 )
, ( "geo2", geo2 )
, ( "geo3", geo3 )
, ( "geo4", geo4 )
, ( "geo5", geo5 )
, ( "geo6", geo6 )
, ( "geo7", geo7 )
, ( "geo8", geo8 )
, ( "geo9", geo9 )
, ( "interactive1", interactive1 )
, ( "interactive2", interactive2 )
, ( "interactive3", interactive3 )
, ( "interactive4", interactive4 )
, ( "interactive5", interactive5 )
, ( "interactive6", interactive6 )
, ( "interactive7", interactive7 )
, ( "interactive8", interactive8 )
, ( "interactive9", interactive9 )
, ( "interactive10", interactive10 )
]
{- The code below is boilerplate for creating a headless Elm module that opens
an outgoing port to Javascript and sends the specs to it.
-}
main : Program Never Spec msg
main =
Platform.program
{ init = ( mySpecs, elmToJS mySpecs )
, update = \_ model -> ( model, Cmd.none )
, subscriptions = always Sub.none
}
port elmToJS : Spec -> Cmd msg
| true | port module Gallery exposing (elmToJS)
import Platform
import VegaLite exposing (..)
-- NOTE: All data sources in these examples originally provided at
-- https://github.com/vega/vega-datasets
-- The examples themselves reproduce those at https://vega.github.io/vega-lite/examples/
basic1 : Spec
basic1 =
let
des =
description "A simple bar chart with embedded data."
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C", "D", "E", "F", "G", "H", "I" ])
<< dataColumn "b" (Numbers [ 28, 55, 43, 91, 81, 53, 19, 87, 52 ])
enc =
encoding
<< position X [ PName "a", PmType Ordinal ]
<< position Y [ PName "b", PmType Quantitative ]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
basic2 : Spec
basic2 =
let
des =
description "A bar chart showing the US population distribution of age groups in 2000."
trans =
transform << filter (FExpr "datum.year == 2000")
enc =
encoding
<< position X [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "population" ] ]
<< position Y [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], mark Bar [], trans [], enc [] ]
basic3 : Spec
basic3 =
let
des =
description "Simple histogram of IMDB ratings."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Bar [], enc [] ]
basic4 : Spec
basic4 =
let
des =
description "A simple bar chart with ranged data (aka Gantt Chart)."
data =
dataFromColumns []
<< dataColumn "task" (Strings [ "A", "B", "C" ])
<< dataColumn "start" (Numbers [ 1, 3, 8 ])
<< dataColumn "end" (Numbers [ 3, 8, 10 ])
enc =
encoding
<< position Y [ PName "task", PmType Ordinal ]
<< position X [ PName "start", PmType Quantitative ]
<< position X2 [ PName "end", PmType Quantitative ]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
basic5 : Spec
basic5 =
let
des =
description "Grouped bar chart shoing population structure by age and gender."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "gender", PmType Nominal, PScale [ SRangeStep (Just 12) ], PAxis [ AxTitle "" ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "population", AxGrid False ] ]
<< column [ FName "age", FmType Ordinal ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
config =
configure
<< configuration (Axis [ DomainWidth 1 ])
<< configuration (View [ Stroke Nothing ])
in
toVegaLite [ des, dataFromUrl "data/population.json" [], mark Bar [], trans [], enc [], config [] ]
basic6 : Spec
basic6 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars (via point marks)."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic7 : Spec
basic7 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars (via circle marks)."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Circle [], enc [] ]
basic8 : Spec
basic8 =
let
des =
description "A binned scatterplot comparing IMDB and Rotten Tomatoes rating with marks sized by number of reviews."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< size [ MAggregate Count, MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Circle [], enc [] ]
basic9 : Spec
basic9 =
let
des =
description "A scatterplot showing horsepower and miles per gallons with country of origin double encoded by colour and shape."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< color [ MName "Origin", MmType Nominal ]
<< shape [ MName "Origin", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic10 : Spec
basic10 =
let
des =
description "Scatterplot with Null values in grey"
data =
dataFromUrl "data/movies.json" []
config =
configure
<< configuration (RemoveInvalid False)
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative ]
<< color
[ MDataCondition
(Expr "datum.IMDB_Rating === null || datum.Rotten_Tomatoes_Rating === null")
[ MString "#ddd" ]
[ MString "rgb(76,120,168)" ]
]
in
toVegaLite [ des, config [], data, mark Point [], enc [] ]
basic11 : Spec
basic11 =
let
des =
description "A bubbleplot showing horsepower on x, miles per gallons on y, and acceleration on size."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< size [ MName "Acceleration", MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], enc [] ]
basic12 : Spec
basic12 =
let
des =
description "A bubble plot showing the correlation between health and income for 187 countries in the world (modified from an example in PI:NAME:<NAME>END_PI's blog post 'One Chart, Twelve Charting Libraries' --http://lisacharlotterost.github.io/2016/05/17/one-chart-code/)."
enc =
encoding
<< position X [ PName "income", PmType Quantitative, PScale [ SType ScLog ] ]
<< position Y [ PName "health", PmType Quantitative, PScale [ SZero False ] ]
<< size [ MName "population", MmType Quantitative ]
<< color [ MString "#000" ]
sel =
selection << select "view" Interval [ BindScales ]
in
toVegaLite
[ des
, width 500
, height 300
, dataFromUrl "data/gapminder-health-income.csv" []
, mark Circle []
, enc []
, sel []
]
basic13 : Spec
basic13 =
let
des =
description "Shows the relationship between horsepower and the number of cylinders using tick marks."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Cylinders", PmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Tick [], enc [] ]
basic14 : Spec
basic14 =
let
des =
description "Google's stock price over time."
trans =
transform << filter (FExpr "datum.symbol === 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], trans [], mark Line [], enc [] ]
basic15 : Spec
basic15 =
let
des =
description "Stock prices of 5 tech companies over time."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
<< color [ MName "symbol", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], mark Line [], enc [] ]
basic16 : Spec
basic16 =
let
des =
description "Slope graph showing the change in yield for different barley sites. It shows the error in the year labels for the Morris site."
enc =
encoding
<< position X [ PName "year", PmType Ordinal, PScale [ SRangeStep (Just 50), SPadding 0.5 ] ]
<< position Y [ PName "yield", PmType Quantitative, PAggregate Median ]
<< color [ MName "site", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Line [], enc [] ]
basic17 : Spec
basic17 =
let
des =
description "Google's stock price over time (quantized as a step-chart)."
trans =
transform << filter (FExpr "datum.symbol === 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/stocks.csv" [], trans [], mark Line [ MInterpolate StepAfter ], enc [] ]
basic18 : Spec
basic18 =
let
des =
description "Unemployment over time (area chart)"
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Count" ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
basic19 : Spec
basic19 =
let
des =
description "'Table heatmap' showing engine size/power for three countries."
enc =
encoding
<< position X [ PName "Cylinders", PmType Ordinal ]
<< position Y [ PName "Origin", PmType Nominal ]
<< color [ MName "Horsepower", MmType Quantitative, MAggregate Mean ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Rect [], enc [] ]
basic20 : Spec
basic20 =
let
des =
description "'Binned heatmap' comparing movie ratings."
enc =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 60 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 40 ] ]
<< color [ MmType Quantitative, MAggregate Count ]
config =
configure
<< configuration (Range [ RHeatmap "greenblue" ])
<< configuration (View [ Stroke Nothing ])
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/movies.json" []
, mark Rect []
, enc []
, config []
]
basic21 : Spec
basic21 =
let
des =
description "Table bubble plot in the style of a Github punched card."
enc =
encoding
<< position X [ PName "time", PmType Ordinal, PTimeUnit Hours ]
<< position Y [ PName "time", PmType Ordinal, PTimeUnit Day ]
<< size [ MName "count", MmType Quantitative, MAggregate Sum ]
in
toVegaLite [ des, dataFromUrl "data/github.csv" [], mark Circle [], enc [] ]
basic22 : Spec
basic22 =
let
des =
description "Visualization of global deaths from natural disasters. Copy of chart from https://ourworldindata.org/natural-catastrophes"
trans =
transform
<< filter (FExpr "datum.Entity !== 'All natural disasters'")
enc =
encoding
<< position X [ PName "Year", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "Entity", PmType Nominal, PAxis [ AxTitle "" ] ]
<< size
[ MName "Deaths"
, MmType Quantitative
, MLegend [ LTitle "Annual Global Deaths" ]
, MScale [ SRange (RNumbers [ 0, 5000 ]) ]
]
<< color [ MName "Entity", MmType Nominal, MLegend [] ]
in
toVegaLite
[ des
, width 600
, height 400
, dataFromUrl "https://vega.github.io/vega-lite/data/disasters.csv" []
, trans []
, mark Circle [ MOpacity 0.8, MStroke "black", MStrokeWidth 1 ]
, enc []
]
stack1 : Spec
stack1 =
let
des =
description "Seattle weather stacked bar chart"
enc =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month, PAxis [ AxTitle "Month of the year" ] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< color
[ MName "weather"
, MmType Nominal
, MScale <|
categoricalDomainMap
[ ( "sun", "#e7ba52" )
, ( "fog", "#c7c7c7" )
, ( "drizzle", "#aec7ea" )
, ( "rain", "#1f77b4" )
, ( "snow", "#9467bd" )
]
, MLegend [ LTitle "Weather type" ]
]
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], mark Bar [], enc [] ]
stack2 : Spec
stack2 =
let
des =
description "Barley crop yields as a horizontal stacked bar chart"
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Sum ]
<< position Y [ PName "variety", PmType Nominal ]
<< color [ MName "site", MmType Nominal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Bar [], enc [] ]
stack3 : Spec
stack3 =
let
des =
description "Population structure as a normalised stacked bar chart."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ], PStack StNormalize ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], trans [], mark Bar [], enc [] ]
stack4 : Spec
stack4 =
let
des =
description "Unemployment across industries as a stacked area chart."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite [ des, dataFromUrl "data/unemployment-across-industries.json" [], mark Area [], enc [] ]
stack5 : Spec
stack5 =
let
des =
description "Unemployment across industries as a normalised area chart."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxDomain False, AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [], PStack StNormalize ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
stack6 : Spec
stack6 =
let
des =
description "Unemployment across industries as a streamgraph (centred, stacked area chart)."
enc =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonth, PAxis [ AxDomain False, AxFormat "%Y" ] ]
<< position Y [ PName "count", PmType Quantitative, PAggregate Sum, PAxis [], PStack StCenter ]
<< color [ MName "series", MmType Nominal, MScale [ SScheme "category20b" [] ] ]
in
toVegaLite
[ des
, width 300
, height 200
, dataFromUrl "data/unemployment-across-industries.json" []
, mark Area []
, enc []
]
stack7 : Spec
stack7 =
let
des =
description "Layered bar chart showing the US population distribution of age groups and gender in 2000."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ], PStack NoStack ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#e377c2", "#1f77b4" ]) ] ]
<< opacity [ MNumber 0.7 ]
in
toVegaLite [ des, dataFromUrl "data/population.json" [], trans [], mark Bar [], enc [] ]
stack8 : Spec
stack8 =
let
des =
description "A diverging stacked bar chart for sentiments towards a set of eight questions, displayed as percentages with neutral responses straddling the 0% mark."
data =
dataFromColumns []
<< dataColumn "question" (Strings [ "Q1", "Q1", "Q1", "Q1", "Q1", "Q2", "Q2", "Q2", "Q2", "Q2", "Q3", "Q3", "Q3", "Q3", "Q3", "Q4", "Q4", "Q4", "Q4", "Q4", "Q5", "Q5", "Q5", "Q5", "Q5", "Q6", "Q6", "Q6", "Q6", "Q6", "Q7", "Q7", "Q7", "Q7", "Q7", "Q8", "Q8", "Q8", "Q8", "Q8" ])
<< dataColumn "type" (Strings [ "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree", "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree" ])
<< dataColumn "value" (Numbers [ 24, 294, 594, 1927, 376, 2, 2, 0, 7, 11, 2, 0, 2, 4, 2, 0, 2, 1, 7, 6, 0, 1, 3, 16, 4, 1, 1, 2, 9, 3, 0, 0, 1, 4, 0, 0, 0, 0, 0, 2 ])
<< dataColumn "percentage" (Numbers [ 0.7, 9.1, 18.5, 59.9, 11.7, 18.2, 18.2, 0, 63.6, 0, 20, 0, 20, 40, 20, 0, 12.5, 6.3, 43.8, 37.5, 0, 4.2, 12.5, 66.7, 16.7, 6.3, 6.3, 12.5, 56.3, 18.8, 0, 0, 20, 80, 0, 0, 0, 0, 0, 100 ])
<< dataColumn "percentage_start" (Numbers [ -19.1, -18.4, -9.2, 9.2, 69.2, -36.4, -18.2, 0, 0, 63.6, -30, -10, -10, 10, 50, -15.6, -15.6, -3.1, 3.1, 46.9, -10.4, -10.4, -6.3, 6.3, 72.9, -18.8, -12.5, -6.3, 6.3, 62.5, -10, -10, -10, 10, 90, 0, 0, 0, 0, 0 ])
<< dataColumn "percentage_end" (Numbers [ -18.4, -9.2, 9.2, 69.2, 80.9, -18.2, 0, 0, 63.6, 63.6, -10, -10, 10, 50, 70, -15.6, -3.1, 3.1, 46.9, 84.4, -10.4, -6.3, 6.3, 72.9, 89.6, -12.5, -6.3, 6.3, 62.5, 81.3, -10, -10, 10, 90, 90, 0, 0, 0, 0, 100 ])
enc =
encoding
<< position X [ PName "percentage_start", PmType Quantitative, PAxis [ AxTitle "Percentage" ] ]
<< position X2 [ PName "percentage_end", PmType Quantitative ]
<< position Y [ PName "question", PmType Nominal, PAxis [ AxTitle "Question", AxOffset 5, AxTicks False, AxMinExtent 60, AxDomain False ] ]
<< color
[ MName "type"
, MmType Nominal
, MLegend [ LTitle "Response" ]
, MScale <|
SType ScOrdinal
:: categoricalDomainMap
[ ( "Strongly disagree", "#c30d24" )
, ( "Disagree", "#f3a583" )
, ( "Neither agree nor disagree", "#cccccc" )
, ( "Agree", "#94c6da" )
, ( "Strongly agree", "#1770ab" )
]
]
in
toVegaLite [ des, data [], mark Bar [], enc [] ]
trellis1 : Spec
trellis1 =
let
des =
description "Anscombe's Quartet"
enc =
encoding
<< position X [ PName "X", PmType Quantitative, PScale [ SZero False ] ]
<< position Y [ PName "Y", PmType Quantitative, PScale [ SZero False ] ]
<< opacity [ MNumber 1 ]
<< column [ FName "Series", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/anscombe.json" [], mark Circle [], enc [] ]
trellis2 : Spec
trellis2 =
let
des =
description "A trellis bar chart showing the US population distribution of age groups and gender in 2000."
trans =
transform
<< filter (FExpr "datum.year == 2000")
<< calculateAs "datum.sex == 2 ? 'Female' : 'Male'" "gender"
enc =
encoding
<< position X [ PName "age", PmType Ordinal, PScale [ SRangeStep (Just 17) ] ]
<< position Y [ PName "people", PmType Quantitative, PAggregate Sum, PAxis [ AxTitle "Population" ] ]
<< color [ MName "gender", MmType Nominal, MScale [ SRange (RStrings [ "#EA98D2", "#659CCA" ]) ] ]
<< row [ FName "gender", FmType Nominal ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, mark Bar []
, enc []
]
trellis3 : Spec
trellis3 =
let
des =
description "Barley crop yields in 1931 and 1932 shown as stacked bar charts."
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Sum ]
<< position Y [ PName "variety", PmType Nominal ]
<< color [ MName "site", MmType Nominal ]
<< column [ FName "year", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Bar [], enc [] ]
trellis4 : Spec
trellis4 =
let
des =
description "Scatterplots of movie takings vs profits for different MPAA ratings."
enc =
encoding
<< position X [ PName "Worldwide_Gross", PmType Quantitative ]
<< position Y [ PName "US_DVD_Sales", PmType Quantitative ]
<< column [ FName "MPAA_Rating", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], mark Point [], enc [] ]
trellis5 : Spec
trellis5 =
let
des =
description "Disitributions of car engine power for different countries of origin."
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PBin [ MaxBins 15 ] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< row [ FName "Origin", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Bar [], enc [] ]
trellis6 : Spec
trellis6 =
let
des =
description "The Trellis display by Becker et al. helped establish small multiples as a “powerful mechanism for understanding interactions in studies of how a response depends on explanatory variables”. Here we reproduce a trellis of Barley yields from the 1930s, complete with main-effects ordering to facilitate comparison."
enc =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Median, PScale [ SZero False ] ]
<< position Y [ PName "variety", PmType Ordinal, PSort [ ByField "Horsepower", Op Mean, Descending ], PScale [ SRangeStep (Just 12) ] ]
<< color [ MName "year", MmType Nominal ]
<< row [ FName "site", FmType Ordinal ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], mark Point [], enc [] ]
trellis7 : Spec
trellis7 =
let
des =
description "Stock prices of four large companies as a small multiples of area charts."
trans =
transform << filter (FExpr "datum.symbol !== 'GOOG'")
enc =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y", AxTitle "Time", AxGrid False ] ]
<< position Y [ PName "price", PmType Quantitative, PAxis [ AxTitle "Time", AxGrid False ] ]
<< color [ MName "symbol", MmType Nominal, MLegend [] ]
<< row [ FName "symbol", FmType Nominal, FHeader [ HTitle "Company" ] ]
in
toVegaLite [ des, width 300, height 40, dataFromUrl "data/stocks.csv" [], trans [], mark Area [], enc [] ]
layer1 : Spec
layer1 =
let
des =
description "A simple bar chart with embedded data labels."
data =
dataFromColumns []
<< dataColumn "a" (Strings [ "A", "B", "C" ])
<< dataColumn "b" (Numbers [ 28, 55, 43 ])
enc =
encoding
<< position X [ PName "b", PmType Quantitative ]
<< position Y [ PName "a", PmType Ordinal ]
specBar =
asSpec [ mark Bar [] ]
specText =
asSpec [ mark Text [ MStyle [ "label" ] ], encoding (text [ TName "b", TmType Quantitative ] []) ]
config =
configure << configuration (NamedStyle "label" [ MAlign AlignLeft, MBaseline AlignMiddle, MdX 3 ])
in
toVegaLite [ des, data [], enc [], layer [ specBar, specText ], config [] ]
layer2 : Spec
layer2 =
let
des =
description "Bar chart that highlights values beyond a threshold. The PM2.5 value of Beijing observed 15 days, highlighting the days when PM2.5 level is hazardous to human health. Data source https://chartaccent.github.io/chartaccent.html"
data =
dataFromColumns []
<< dataColumn "Day" (List.range 1 15 |> List.map toFloat |> Numbers)
<< dataColumn "Value" (Numbers [ 54.8, 112.1, 63.6, 37.6, 79.7, 137.9, 120.1, 103.3, 394.8, 199.5, 72.3, 51.1, 112.0, 174.5, 130.5 ])
encBar =
encoding
<< position X [ PName "Day", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "Value", PmType Quantitative ]
specBar =
asSpec [ mark Bar [], encBar [] ]
trans =
transform
<< filter (FExpr "datum.Value >= 300")
<< calculateAs "300" "baseline"
encUpperBar =
encoding
<< position X [ PName "Day", PmType Ordinal, PAxis [ AxLabelAngle 0 ] ]
<< position Y [ PName "baseline", PmType Quantitative ]
<< position Y2 [ PName "Value", PmType Quantitative ]
<< color [ MString "#e45755" ]
specUpperBar =
asSpec [ trans [], mark Bar [], encUpperBar [] ]
layer0 =
asSpec [ data [], layer [ specBar, specUpperBar ] ]
thresholdData =
dataFromRows []
<< dataRow [ ( "ThresholdValue", Number 300 ), ( "Threshold", Str "hazardous" ) ]
specRule =
asSpec [ mark Rule [], encRule [] ]
encRule =
encoding
<< position Y [ PName "ThresholdValue", PmType Quantitative ]
specText =
asSpec [ mark Text [ MAlign AlignLeft, MdX 215, MdY -5 ], encText [] ]
encText =
encoding
<< position Y [ PName "ThresholdValue", PmType Quantitative, PAxis [ AxTitle "PM2.5 Value" ] ]
<< text [ TName "Threshold", TmType Ordinal ]
layer1 =
asSpec [ thresholdData [], layer [ specRule, specText ] ]
in
toVegaLite [ des, layer [ layer0, layer1 ] ]
layer3 : Spec
layer3 =
let
des =
description "Monthly precipitation with mean value overlay."
encBar =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
specBar =
asSpec [ mark Bar [], encBar [] ]
encLine =
encoding
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
<< color [ MString "red" ]
<< size [ MNumber 3 ]
specLine =
asSpec [ mark Rule [], encLine [] ]
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], layer [ specBar, specLine ] ]
layer4 : Spec
layer4 =
let
des =
description "Layering text over 'heatmap'."
encPosition =
encoding
<< position X [ PName "Cylinders", PmType Ordinal ]
<< position Y [ PName "Origin", PmType Ordinal ]
encRect =
encoding
<< color [ MName "*", MmType Quantitative, MAggregate Count ]
specRect =
asSpec [ mark Rect [], encRect [] ]
encText =
encoding
<< color [ MString "white" ]
<< text [ TName "*", TmType Quantitative, TAggregate Count ]
specText =
asSpec [ mark Text [], encText [] ]
config =
configure
<< configuration (Scale [ SCBandPaddingInner 0, SCBandPaddingOuter 0 ])
<< configuration (TextStyle [ MBaseline AlignMiddle ])
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], encPosition [], layer [ specRect, specText ], config [] ]
layer5 : Spec
layer5 =
let
des =
description "A vertical 2D box plot showing median, min, and max in the US population distribution of age groups in 2000."
trans =
transform
<< aggregate
[ opAs Min "people" "lowerWhisker"
, opAs Q1 "people" "lowerBox"
, opAs Median "people" "midBox"
, opAs Q3 "people" "upperBox"
, opAs Max "people" "upperWhisker"
]
[ "age" ]
encAge =
encoding << position X [ PName "age", PmType Ordinal ]
encLWhisker =
encoding
<< position Y [ PName "lowerWhisker", PmType Quantitative, PAxis [ AxTitle "Population" ] ]
<< position Y2 [ PName "lowerBox", PmType Quantitative ]
specLWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encLWhisker [] ]
encUWhisker =
encoding
<< position Y [ PName "upperBox", PmType Quantitative ]
<< position Y2 [ PName "upperWhisker", PmType Quantitative ]
specUWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encUWhisker [] ]
encBox =
encoding
<< position Y [ PName "lowerBox", PmType Quantitative ]
<< position Y2 [ PName "upperBox", PmType Quantitative ]
<< size [ MNumber 5 ]
specBox =
asSpec [ mark Bar [ MStyle [ "box" ] ], encBox [] ]
encBoxMid =
encoding
<< position Y [ PName "midBox", PmType Quantitative ]
<< color [ MString "white" ]
<< size [ MNumber 5 ]
specBoxMid =
asSpec [ mark Tick [ MStyle [ "boxMid" ] ], encBoxMid [] ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, encAge []
, layer [ specLWhisker, specUWhisker, specBox, specBoxMid ]
]
layer6 : Spec
layer6 =
let
des =
description "A Tukey box plot showing median and interquartile range in the US population distribution of age groups in 2000. This isn't strictly a Tukey box plot as the IQR extends beyond the min/max values for some age cohorts."
trans =
transform
<< aggregate [ opAs Q1 "people" "lowerBox", opAs Median "people" "midBox", opAs Q3 "people" "upperBox" ] [ "age" ]
<< calculateAs "datum.upperBox - datum.lowerBox" "IQR"
<< calculateAs "datum.upperBox + datum.IQR * 1.5" "upperWhisker"
<< calculateAs "max(0,datum.lowerBox - datum.IQR *1.5)" "lowerWhisker"
encAge =
encoding << position X [ PName "age", PmType Ordinal ]
encLWhisker =
encoding
<< position Y [ PName "lowerWhisker", PmType Quantitative, PAxis [ AxTitle "Population" ] ]
<< position Y2 [ PName "lowerBox", PmType Quantitative ]
specLWhisker =
asSpec [ mark Rule [ MStyle [ "boxWhisker" ] ], encLWhisker [] ]
encUWhisker =
encoding
<< position Y [ PName "upperBox", PmType Quantitative ]
<< position Y2 [ PName "upperWhisker", PmType Quantitative ]
specUWhisker =
asSpec
[ mark Rule [ MStyle [ "boxWhisker" ] ], encUWhisker [] ]
encBox =
encoding
<< position Y [ PName "lowerBox", PmType Quantitative ]
<< position Y2 [ PName "upperBox", PmType Quantitative ]
<< size [ MNumber 5 ]
specBox =
asSpec [ mark Bar [ MStyle [ "box" ] ], encBox [] ]
encBoxMid =
encoding
<< position Y [ PName "midBox", PmType Quantitative ]
<< color [ MString "white" ]
<< size [ MNumber 5 ]
specBoxMid =
asSpec
[ mark Tick [ MStyle [ "boxMid" ] ], encBoxMid [] ]
in
toVegaLite
[ des
, dataFromUrl "data/population.json" []
, trans []
, encAge []
, layer [ specLWhisker, specUWhisker, specBox, specBoxMid ]
]
layer7 : Spec
layer7 =
let
des =
description "A candlestick chart inspired by Protovis (http://mbostock.github.io/protovis/ex/candlestick.html)"
data =
dataFromColumns []
<< dataColumn "date" (Strings [ "01-Jun-2009", "02-Jun-2009", "03-Jun-2009", "04-Jun-2009", "05-Jun-2009", "08-Jun-2009", "09-Jun-2009", "10-Jun-2009", "11-Jun-2009", "12-Jun-2009", "15-Jun-2009", "16-Jun-2009", "17-Jun-2009", "18-Jun-2009", "19-Jun-2009", "22-Jun-2009", "23-Jun-2009", "24-Jun-2009", "25-Jun-2009", "26-Jun-2009", "29-Jun-2009", "30-Jun-2009" ])
<< dataColumn "open" (Numbers [ 28.7, 30.04, 29.62, 31.02, 29.39, 30.84, 29.77, 26.9, 27.36, 28.08, 29.7, 30.81, 31.19, 31.54, 29.16, 30.4, 31.3, 30.58, 29.45, 27.09, 25.93, 25.36 ])
<< dataColumn "high" (Numbers [ 30.05, 30.13, 31.79, 31.02, 30.81, 31.82, 29.77, 29.74, 28.11, 28.5, 31.09, 32.75, 32.77, 31.54, 29.32, 32.05, 31.54, 30.58, 29.56, 27.22, 27.18, 27.38 ])
<< dataColumn "low" (Numbers [ 28.45, 28.3, 29.62, 29.92, 28.85, 26.41, 27.79, 26.9, 26.81, 27.73, 29.64, 30.07, 30.64, 29.6, 27.56, 30.3, 27.83, 28.79, 26.3, 25.76, 25.29, 25.02 ])
<< dataColumn "close" (Numbers [ 30.04, 29.63, 31.02, 30.18, 29.62, 29.77, 28.27, 28.46, 28.11, 28.15, 30.81, 32.68, 31.54, 30.03, 27.99, 31.17, 30.58, 29.05, 26.36, 25.93, 25.35, 26.35 ])
<< dataColumn "signal" (Strings [ "short", "short", "short", "short", "short", "short", "short", "short", "short", "short", "long", "short", "short", "short", "short", "short", "short", "long", "long", "long", "long", "long" ])
<< dataColumn "ret" (Numbers [ -4.89396411092985, -0.322580645161295, 3.68663594470045, 4.51010886469673, 6.08424336973478, 1.2539184952978, -5.02431118314424, -5.46623794212217, -8.3743842364532, -5.52763819095477, 3.4920634920635, 0.155038759689914, 5.82822085889571, 8.17610062893082, 8.59872611464968, 15.4907975460123, 11.7370892018779, -10.4234527687296, 0, 0, 5.26315789473684, 6.73758865248228 ])
trans =
transform << calculateAs "datum.open > datum.close" "isIncrease"
encLine =
encoding
<< position X
[ PName "date"
, PmType Temporal
, PTimeUnit YearMonthDate
, PScale [ SDomain (DDateTimes [ [ DTMonth May, DTDate 31, DTYear 2009 ], [ DTMonth Jul, DTDate 1, DTYear 2009 ] ]) ]
, PAxis [ AxTitle "Date in 2009", AxFormat "%m/%d" ]
]
<< position Y [ PName "low", PmType Quantitative, PScale [ SZero False ] ]
<< position Y2 [ PName "high", PmType Quantitative ]
<< color [ MName "isIncrease", MmType Nominal, MLegend [], MScale [ SRange (RStrings [ "#ae1325", "#06982d" ]) ] ]
specLine =
asSpec [ mark Rule [], encLine [] ]
encBar =
encoding
<< position X [ PName "date", PmType Temporal, PTimeUnit YearMonthDate ]
<< position Y [ PName "open", PmType Quantitative ]
<< position Y2 [ PName "close", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MName "isIncrease", MmType Nominal, MLegend [] ]
specBar =
asSpec [ mark Bar [], encBar [] ]
in
toVegaLite [ des, width 320, data [], trans [], layer [ specLine, specBar ] ]
layer8 : Spec
layer8 =
let
des =
description "Error bars showing confidence intervals"
encVariety =
encoding << position Y [ PName "variety", PmType Ordinal ]
encPoints =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate Mean, PScale [ SZero False ], PAxis [ AxTitle "Barley Yield" ] ]
<< color [ MString "black" ]
specPoints =
asSpec [ mark Point [ MFilled True ], encPoints [] ]
encCIs =
encoding
<< position X [ PName "yield", PmType Quantitative, PAggregate CI0 ]
<< position X2 [ PName "yield", PmType Quantitative, PAggregate CI1 ]
specCIs =
asSpec [ mark Rule [], encCIs [] ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], encVariety [], layer [ specPoints, specCIs ] ]
layer9 : Spec
layer9 =
let
des =
description "Error bars showing standard deviation."
trans =
transform
<< aggregate [ opAs Mean "yield" "mean", opAs Stdev "yield" "stdev" ] [ "variety" ]
<< calculateAs "datum.mean-datum.stdev" "lower"
<< calculateAs "datum.mean+datum.stdev" "upper"
encVariety =
encoding << position Y [ PName "variety", PmType Ordinal ]
encMeans =
encoding
<< position X [ PName "mean", PmType Quantitative, PScale [ SZero False ], PAxis [ AxTitle "Barley Yield" ] ]
<< color [ MString "black" ]
specMeans =
asSpec [ mark Point [ MFilled True ], encMeans [] ]
encStdevs =
encoding
<< position X [ PName "upper", PmType Quantitative ]
<< position X2 [ PName "lower", PmType Quantitative ]
specStdevs =
asSpec [ mark Rule [], encStdevs [] ]
in
toVegaLite [ des, dataFromUrl "data/barley.json" [], trans [], encVariety [], layer [ specMeans, specStdevs ] ]
layer10 : Spec
layer10 =
let
des =
description "Histogram with global mean overlay."
encBars =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [], PAxis [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
specBars =
asSpec [ mark Bar [], encBars [] ]
encMean =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PAggregate Mean ]
<< color [ MString "red" ]
<< size [ MNumber 5 ]
specMean =
asSpec [ mark Rule [], encMean [] ]
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], layer [ specBars, specMean ] ]
layer11 : Spec
layer11 =
let
des =
description "A scatterplot showing horsepower and miles per gallon for various cars with a global mean and standard deviation overlay."
encPoints =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
specPoints =
asSpec [ mark Point [], encPoints [] ]
trans =
transform
<< aggregate [ opAs Mean "Miles_per_Gallon" "mean_MPG", opAs Stdev "Miles_per_Gallon" "dev_MPG" ] []
<< calculateAs "datum.mean_MPG+datum.dev_MPG" "upper"
<< calculateAs "datum.mean_MPG-datum.dev_MPG" "lower"
encMean =
encoding << position Y [ PName "mean_MPG", PmType Quantitative ]
specMean =
asSpec [ mark Rule [], encMean [] ]
encRect =
encoding
<< position Y [ PName "lower", PmType Quantitative ]
<< position Y2 [ PName "upper", PmType Quantitative ]
<< opacity [ MNumber 0.2 ]
specRect =
asSpec [ mark Rect [], encRect [] ]
specSpread =
asSpec [ trans [], layer [ specMean, specRect ] ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], layer [ specPoints, specSpread ] ]
layer12 : Spec
layer12 =
let
des =
description "Line chart with confidence interval band."
encTime =
encoding << position X [ PName "Year", PmType Temporal, PTimeUnit Year ]
encBand =
encoding
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate CI0, PAxis [ AxTitle "Miles/Gallon" ] ]
<< position Y2 [ PName "Miles_per_Gallon", PmType Quantitative, PAggregate CI1 ]
<< opacity [ MNumber 0.3 ]
specBand =
asSpec [ mark Area [], encBand [] ]
encLine =
encoding
<< position Y [ PName "PI:NAME:<NAME>END_PIiles_per_GPI:NAME:<NAME>END_PIon", PmType Quantitative, PAggregate Mean ]
specLine =
asSpec [ mark Line [], encLine [] ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], encTime [], layer [ specBand, specLine ] ]
layer13 : Spec
layer13 =
let
des =
description "The population of the German city of Falkensee over time with annotated time periods highlighted."
data =
dataFromColumns [ Parse [ ( "year", FoDate "%Y" ) ] ]
<< dataColumn "year" (Strings [ "1875", "1890", "1910", "1925", "1933", "1939", "1946", "1950", "1964", "1971", "1981", "1985", "1989", "1990", "1991", "1992", "1993", "1994", "1995", "1996", "1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014" ])
<< dataColumn "population" (Numbers [ 1309, 1558, 4512, 8180, 15915, 24824, 28275, 29189, 29881, 26007, 24029, 23340, 22307, 22087, 22139, 22105, 22242, 22801, 24273, 25640, 27393, 29505, 32124, 33791, 35297, 36179, 36829, 37493, 38376, 39008, 39366, 39821, 40179, 40511, 40465, 40905, 41258, 41777 ])
highlights =
dataFromColumns [ Parse [ ( "start", FoDate "%Y" ), ( "end", FoDate "%Y" ) ] ]
<< dataColumn "start" (Strings [ "1933", "1948" ])
<< dataColumn "end" (Strings [ "1945", "1989" ])
<< dataColumn "event" (Strings [ "Nazi Rule", "GDR (East Germany)" ])
encRects =
encoding
<< position X [ PName "start", PmType Temporal, PTimeUnit Year, PAxis [] ]
<< position X2 [ PName "end", PmType Temporal, PTimeUnit Year ]
<< color [ MName "event", MmType Nominal ]
specRects =
asSpec [ highlights [], mark Rect [], encRects [] ]
encPopulation =
encoding
<< position X [ PName "year", PmType Temporal, PTimeUnit Year, PAxis [ AxTitle "" ] ]
<< position Y [ PName "population", PmType Quantitative ]
<< color [ MString "#333" ]
specLine =
asSpec [ mark Line [], encPopulation [] ]
specPoints =
asSpec [ mark Point [], encPopulation [] ]
in
toVegaLite [ des, width 500, data [], layer [ specRects, specLine, specPoints ] ]
layer14 : Spec
layer14 =
let
des =
description "A ranged dot plot that uses 'layer' to convey changing life expectancy for the five most populous countries (between 1955 and 2000)."
trans =
transform
<< filter (FOneOf "country" (Strings [ "China", "India", "United States", "Indonesia", "Brazil" ]))
<< filter (FOneOf "year" (Numbers [ 1955, 2000 ]))
encCountry =
encoding << position Y [ PName "country", PmType Nominal, PAxis [ AxTitle "Country", AxOffset 5, AxTicks False, AxMinExtent 70, AxDomain False ] ]
encLine =
encoding
<< position X [ PName "life_expect", PmType Quantitative ]
<< detail [ DName "country", DmType Nominal ]
<< color [ MString "#db646f" ]
specLine =
asSpec [ mark Line [], encLine [] ]
encPoints =
encoding
<< position X [ PName "life_expect", PmType Quantitative, PAxis [ AxTitle "Life Expectanct (years)" ] ]
<< color [ MName "year", MmType Ordinal, MScale (domainRangeMap ( 1955, "#e6959c" ) ( 2000, "#911a24" )), MLegend [ LTitle "Year" ] ]
<< size [ MNumber 100 ]
<< opacity [ MNumber 1 ]
specPoints =
asSpec [ mark Point [ MFilled True ], encPoints [] ]
in
toVegaLite [ des, dataFromUrl "data/countries.json" [], trans [], encCountry [], layer [ specLine, specPoints ] ]
layer15 : Spec
layer15 =
let
des =
description "Layered bar/line chart with dual axes."
encTime =
encoding << position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
encBar =
encoding
<< position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean, PAxis [ AxGrid False ] ]
specBar =
asSpec [ mark Bar [], encBar [] ]
encLine =
encoding
<< position Y [ PName "temp_max", PmType Quantitative, PAggregate Mean, PAxis [ AxGrid False ], PScale [ SZero False ] ]
<< color [ MString "firebrick" ]
specLine =
asSpec [ mark Line [], encLine [] ]
res =
resolve
<< resolution (RScale [ ( ChY, Independent ) ])
in
toVegaLite [ des, dataFromUrl "data/seattle-weather.csv" [], encTime [], layer [ specBar, specLine ], res [] ]
layer16 : Spec
layer16 =
let
des =
description "Horizon chart with 2 layers. (See https://idl.cs.washington.edu/papers/horizon/ for more details on horizon charts.)"
data =
dataFromColumns []
<< dataColumn "x" (Numbers (List.map toFloat <| List.range 1 20))
<< dataColumn "y" (Numbers [ 28, 55, 43, 91, 81, 53, 19, 87, 52, 48, 24, 49, 87, 66, 17, 27, 68, 16, 49, 15 ])
trans =
transform << calculateAs "datum.y - 50" "ny"
encX =
encoding << position X [ PName "x", PmType Quantitative, PScale [ SZero False, SNice (IsNice False) ] ]
encLower =
encoding
<< position Y [ PName "y", PmType Quantitative, PScale [ SDomain (DNumbers [ 0, 50 ]) ] ]
<< opacity [ MNumber 0.6 ]
specLower =
asSpec [ mark Area [ MClip True ], encLower [] ]
encUpper =
encoding
<< position Y [ PName "ny", PmType Quantitative, PScale [ SDomain (DNumbers [ 0, 50 ]) ], PAxis [ AxTitle "y" ] ]
<< opacity [ MNumber 0.3 ]
specUpper =
asSpec [ trans [], mark Area [ MClip True ], encUpper [] ]
config =
configure
<< configuration (AreaStyle [ MInterpolate Monotone, MOrient Vertical ])
in
toVegaLite [ des, width 300, height 50, data [], encX [], layer [ specLower, specUpper ], config [] ]
layer17 : Spec
layer17 =
let
des =
description "Connected scatterplot showing change over time."
enc =
encoding
<< position X [ PName "miles", PmType Quantitative, PScale [ SZero False ] ]
<< position Y [ PName "gas", PmType Quantitative, PScale [ SZero False ] ]
<< order [ OName "year", OmType Temporal ]
specLine =
asSpec [ mark Line [] ]
specPoint =
asSpec [ mark Point [ MFilled True ] ]
in
toVegaLite [ des, dataFromUrl "data/driving.json" [], enc [], layer [ specLine, specPoint ] ]
layer18 : Spec
layer18 =
let
des =
description "Carbon dioxide in the atmosphere."
data =
dataFromUrl "https://vega.github.io/vega-lite/data/co2-concentration.csv" [ Parse [ ( "Date", FoUtc "%Y-%m-%d" ) ] ]
trans =
transform
<< calculateAs "year(datum.Date)" "year"
<< calculateAs "month(datum.Date)" "month"
<< calculateAs "floor(datum.year / 10)" "decade"
<< calculateAs "(datum.year % 10) + (datum.month / 12)" "scaled_date"
encPosition =
encoding
<< position X
[ PName "scaled_date"
, PmType Quantitative
, PAxis [ AxTitle "Year into decade", AxTickCount 10, AxValues [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] ]
]
<< position Y
[ PName "CO2"
, PmType Quantitative
, PScale [ SZero False ]
, PAxis [ AxTitle "CO2 concentration in ppm" ]
]
encLine =
encoding
<< color [ MName "decade", MmType Nominal, MLegend [] ]
specLine =
asSpec [ mark Line [ MOrient Vertical ], encLine [] ]
transTextMin =
transform
<< aggregate [ opAs ArgMin "scaled_date" "aggregated" ] [ "decade" ]
<< calculateAs "datum.aggregated.scaled_date" "scaled_date"
<< calculateAs "datum.aggregated.CO2" "CO2"
encTextMin =
encoding
<< text [ TName "aggregated.year", TmType Nominal ]
specTextMin =
asSpec [ transTextMin [], mark Text [ MAlign AlignLeft, MBaseline AlignTop, MdX 3, MdY 1 ], encTextMin [] ]
transTextMax =
transform
<< aggregate [ opAs ArgMax "scaled_date" "aggregated" ] [ "decade" ]
<< calculateAs "datum.aggregated.scaled_date" "scaled_date"
<< calculateAs "datum.aggregated.CO2" "CO2"
encTextMax =
encoding
<< text [ TName "aggregated.year", TmType Nominal ]
specTextMax =
asSpec [ transTextMax [], mark Text [ MAlign AlignLeft, MBaseline AlignBottom, MdX 3, MdY 1 ], encTextMax [] ]
config =
configure << configuration (View [ Stroke Nothing ])
in
toVegaLite
[ des
, config []
, width 800
, height 500
, data
, trans []
, encPosition []
, layer [ specLine, specTextMin, specTextMax ]
]
comp1 : Spec
comp1 =
let
des =
description "Monthly weather information for individual years and overall average for Seatle and New York."
enc1 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PRepeat Column, PmType Quantitative, PAggregate Mean ]
<< detail [ DName "date", DmType Temporal, DTimeUnit Year ]
<< color [ MName "location", MmType Nominal ]
<< opacity [ MNumber 0.2 ]
spec1 =
asSpec [ mark Line [], enc1 [] ]
enc2 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< position Y [ PRepeat Column, PmType Quantitative, PAggregate Mean ]
<< color [ MName "location", MmType Nominal ]
spec2 =
asSpec [ mark Line [], enc2 [] ]
spec =
asSpec [ layer [ spec1, spec2 ] ]
in
toVegaLite
[ des
, dataFromUrl "data/weather.csv" [ Parse [ ( "date", FoDate "%Y-%m-%d %H:%M" ) ] ]
, repeat [ ColumnFields [ "temp_max", "precipitation", "wind" ] ]
, specification spec
]
comp2 : Spec
comp2 =
let
enc =
encoding
<< position X [ PRepeat Column, PmType Quantitative, PBin [] ]
<< position Y [ PmType Quantitative, PAggregate Count ]
<< color [ MName "Origin", MmType Nominal ]
spec =
asSpec [ dataFromUrl "data/cars.json" [], mark Bar [], enc [] ]
in
toVegaLite
[ repeat [ ColumnFields [ "Horsepower", "Miles_per_Gallon", "Acceleration" ] ]
, specification spec
]
comp3 : Spec
comp3 =
let
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PBin [ MaxBins 15 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
<< color [ MName "Origin", MmType Nominal, MLegend [] ]
spec =
asSpec [ mark Bar [], enc [] ]
in
toVegaLite
[ dataFromUrl "data/cars.json" []
, facet [ RowBy [ FName "Origin", FmType Nominal ] ]
, specification spec
]
geo1 : Spec
geo1 =
toVegaLite
[ description "Choropleth of US unemployment rate by county"
, width 500
, height 300
, projection [ PType AlbersUsa ]
, dataFromUrl "data/us-10m.json" [ TopojsonFeature "counties" ]
, transform <| lookup "id" (dataFromUrl "data/unemployment.tsv" []) "id" [ "rate" ] <| []
, mark Geoshape []
, encoding <| color [ MName "rate", MmType Quantitative ] []
]
geo2 : Spec
geo2 =
let
enc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 1 ]
<< color [ MName "digit", MmType Nominal ]
in
toVegaLite
[ description "US zip codes: One dot per zipcode colored by first digit"
, width 500
, height 300
, projection [ PType AlbersUsa ]
, dataFromUrl "data/zipcodes.csv" []
, transform <| calculateAs "substring(datum.zip_code, 0, 1)" "digit" <| []
, mark Circle []
, enc []
]
geo3 : Spec
geo3 =
let
des =
description "One dot per airport in the US overlayed on geoshape"
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
overlayEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "steelblue" ]
overlaySpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, overlayEnc []
]
in
toVegaLite
[ des
, width 500
, height 300
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, overlaySpec ]
]
geo4 : Spec
geo4 =
let
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
airportsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "gray" ]
airportsSpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, airportsEnc []
]
trans =
transform
<< filter (FEqual "origin" (Str "SEA"))
<< lookup "origin" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
<< calculateAs "datum.latitude" "origin_latitude"
<< calculateAs "datum.longitude" "origin_longitude"
<< lookup "destination" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
<< calculateAs "datum.latitude" "dest_latitude"
<< calculateAs "datum.longitude" "dest_longitude"
flightsEnc =
encoding
<< position Longitude [ PName "origin_longitude", PmType Quantitative ]
<< position Latitude [ PName "origin_latitude", PmType Quantitative ]
<< position Longitude2 [ PName "dest_longitude", PmType Quantitative ]
<< position Latitude2 [ PName "dest_latitude", PmType Quantitative ]
flightsSpec =
asSpec
[ dataFromUrl "data/flights-airport.csv" []
, trans []
, mark Rule []
, flightsEnc []
]
in
toVegaLite
[ description "Rules (line segments) connecting SEA to every airport reachable via direct flight"
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, airportsSpec, flightsSpec ]
]
geo5 : Spec
geo5 =
let
enc =
encoding
<< shape [ MName "geo", MmType GeoFeature ]
<< color [ MRepeat Row, MmType Quantitative ]
spec =
asSpec
[ width 500
, height 300
, dataFromUrl "data/population_engineers_hurricanes.csv" []
, transform <| lookupAs "id" (dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]) "id" "geo" []
, projection [ PType AlbersUsa ]
, mark Geoshape []
, enc []
]
in
toVegaLite
[ description "Population per state, engineers per state, and hurricanes per state"
, repeat [ RowFields [ "population", "engineers", "hurricanes" ] ]
, resolve <| resolution (RScale [ ( ChColor, Independent ) ]) []
, specification spec
]
geo6 : Spec
geo6 =
let
des =
description "US state campitals overlayed on map of the US"
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#ccc" ] []
]
overlayEnc =
encoding
<< position Longitude [ PName "lon", PmType Quantitative ]
<< position Latitude [ PName "lat", PmType Quantitative ]
<< text [ TName "city", TmType Nominal ]
overlaySpec =
asSpec
[ dataFromUrl "data/us-state-capitals.json" []
, mark Text []
, overlayEnc []
]
in
toVegaLite
[ des
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, overlaySpec ]
]
geo7 : Spec
geo7 =
let
backdropSpec =
asSpec
[ dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]
, mark Geoshape []
, encoding <| color [ MString "#eee" ] []
]
airportsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< size [ MNumber 5 ]
<< color [ MString "gray" ]
airportsSpec =
asSpec
[ dataFromUrl "data/airports.csv" []
, mark Circle []
, airportsEnc []
]
itinerary =
dataFromColumns []
<< dataColumn "airport" (Strings [ "SEA", "SFO", "LAX", "LAS", "DFW", "DEN", "ORD", "JFK", "ATL" ])
<< dataColumn "order" (Numbers [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ])
trans =
transform
<< lookup "airport" (dataFromUrl "data/airports.csv" []) "iata" [ "latitude", "longitude" ]
flightsEnc =
encoding
<< position Longitude [ PName "longitude", PmType Quantitative ]
<< position Latitude [ PName "latitude", PmType Quantitative ]
<< order [ OName "order", OmType Ordinal ]
flightsSpec =
asSpec
[ itinerary []
, trans []
, mark Line []
, flightsEnc []
]
in
toVegaLite
[ description "Line drawn between airports in the U.S. simulating a flight itinerary"
, width 800
, height 500
, projection [ PType AlbersUsa ]
, layer [ backdropSpec, airportsSpec, flightsSpec ]
]
geo8 : Spec
geo8 =
let
enc =
encoding
<< shape [ MName "geo", MmType GeoFeature ]
<< color [ MName "pct", MmType Quantitative ]
<< row [ FName "group", FmType Nominal ]
in
toVegaLite
[ description "Income in the U.S. by state, faceted over income brackets"
, width 500
, height 300
, dataFromUrl "data/income.json" []
, transform <| lookupAs "id" (dataFromUrl "data/us-10m.json" [ TopojsonFeature "states" ]) "id" "geo" []
, projection [ PType AlbersUsa ]
, mark Geoshape []
, enc []
]
geo9 : Spec
geo9 =
let
tubeLineColors =
categoricalDomainMap
[ ( "Bakerloo", "rgb(137,78,36)" )
, ( "Central", "rgb(220,36,30)" )
, ( "Circle", "rgb(255,206,0)" )
, ( "District", "rgb(1,114,41)" )
, ( "DLR", "rgb(0,175,173)" )
, ( "Hammersmith & City", "rgb(215,153,175)" )
, ( "Jubilee", "rgb(106,114,120)" )
, ( "Metropolitan", "rgb(114,17,84)" )
, ( "Northern", "rgb(0,0,0)" )
, ( "PI:NAME:<NAME>END_PI", "rgb(0,24,168)" )
, ( "Victoria", "rgb(0,160,226)" )
, ( "Waterloo & City", "rgb(106,187,170)" )
]
polySpec =
asSpec
[ dataFromUrl "https://vega.github.io/vega-lite/data/londonBoroughs.json" [ TopojsonFeature "boroughs" ]
, mark Geoshape [ MStroke "rgb(251,247,238)", MStrokeWidth 2 ]
, encoding <| color [ MString "#ddc" ] []
]
labelEnc =
encoding
<< position Longitude [ PName "cx", PmType Quantitative ]
<< position Latitude [ PName "cy", PmType Quantitative ]
<< text [ TName "bLabel", TmType Nominal ]
<< size [ MNumber 8 ]
<< opacity [ MNumber 0.6 ]
trans =
transform
<< calculateAs "indexof (datum.name,' ') > 0 ? substring(datum.name,0,indexof(datum.name, ' ')) : datum.name" "bLabel"
labelSpec =
asSpec [ dataFromUrl "https://vega.github.io/vega-lite/data/londonCentroids.json" [], trans [], mark Text [], labelEnc [] ]
tubeEnc =
encoding
<< color
[ MName "id"
, MmType Nominal
, MLegend [ LTitle "", LOrient BottomRight, LOffset 0 ]
, MScale tubeLineColors
]
routeSpec =
asSpec
[ dataFromUrl "https://vega.github.io/vega-lite/data/londonTubeLines.json" [ TopojsonFeature "line" ]
, mark Geoshape [ MFilled False, MStrokeWidth 2 ]
, tubeEnc []
]
in
toVegaLite
[ width 700
, height 500
, configure <| configuration (View [ Stroke Nothing ]) []
, layer [ polySpec, labelSpec, routeSpec ]
]
interactive1 : Spec
interactive1 =
let
des =
description "Drag out a rectangular brush to highlight points."
sel =
selection << select "myBrush" Interval []
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myBrush")
[ MName "Cylinders", MmType Ordinal ]
[ MString "grey" ]
]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
interactive2 : Spec
interactive2 =
let
des =
description "Mouse over individual points or select multiple points with the shift key."
sel =
selection << select "myPaintbrush" Multi [ On "mouseover", Nearest True ]
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
<< size
[ MSelectionCondition (SelectionName "myPaintbrush")
[ MNumber 300 ]
[ MNumber 50 ]
]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
interactive3 : Spec
interactive3 =
let
des =
description "Drag to pan. Zoom in or out with mousewheel/zoom gesture."
sel =
selection << select "myGrid" Interval [ BindScales ]
enc =
encoding
<< position X [ PName "Horsepower", PmType Quantitative, PScale [ SDomain (DNumbers [ 75, 150 ]) ] ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative, PScale [ SDomain (DNumbers [ 20, 40 ]) ] ]
<< size [ MName "Cylinders", MmType Quantitative ]
in
toVegaLite [ des, dataFromUrl "data/cars.json" [], mark Circle [], sel [], enc [] ]
interactive4 : Spec
interactive4 =
let
des =
description "Drag the sliders to highlight points."
trans =
transform
<< calculateAs "year(datum.Year)" "Year"
sel1 =
selection
<< select "CylYr"
Single
[ Fields [ "Cylinders", "Year" ]
, Bind
[ IRange "Cylinders" [ InName "Cylinders ", InMin 3, InMax 8, InStep 1 ]
, IRange "Year" [ InName "Year ", InMin 1969, InMax 1981, InStep 1 ]
]
]
encPosition =
encoding
<< position X [ PName "Horsepower", PmType Quantitative ]
<< position Y [ PName "Miles_per_Gallon", PmType Quantitative ]
enc1 =
encoding
<< color
[ MSelectionCondition (SelectionName "CylYr")
[ MName "Origin", MmType Nominal ]
[ MString "grey" ]
]
spec1 =
asSpec [ sel1 [], mark Circle [], enc1 [] ]
trans2 =
transform
<< filter (FSelection "CylYr")
enc2 =
encoding
<< color [ MName "Origin", MmType Nominal ]
<< size [ MNumber 100 ]
spec2 =
asSpec [ trans2 [], mark Circle [], enc2 [] ]
in
toVegaLite
[ des
, dataFromUrl "data/cars.json" []
, trans []
, encPosition []
, layer [ spec1, spec2 ]
]
interactive5 : Spec
interactive5 =
let
des =
description "Drag over bars to update selection average."
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
encPosition =
encoding << position Y [ PName "precipitation", PmType Quantitative, PAggregate Mean ]
enc1 =
encoding
<< position X [ PName "date", PmType Ordinal, PTimeUnit Month ]
<< opacity
[ MSelectionCondition (SelectionName "myBrush")
[ MNumber 1 ]
[ MNumber 0.7 ]
]
spec1 =
asSpec [ sel [], mark Bar [], enc1 [] ]
trans =
transform
<< filter (FSelection "myBrush")
enc2 =
encoding
<< color [ MString "firebrick" ]
<< size [ MNumber 3 ]
spec2 =
asSpec [ des, trans [], mark Rule [], enc2 [] ]
in
toVegaLite
[ dataFromUrl "data/seattle-weather.csv" []
, encPosition []
, layer [ spec1, spec2 ]
]
interactive6 : Spec
interactive6 =
let
des =
description "Drag over lower chart to update detailed view in upper chart."
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
enc1 =
encoding
<< position X [ PName "date", PmType Temporal, PScale [ SDomain (DSelection "myBrush") ], PAxis [ AxTitle "" ] ]
<< position Y [ PName "price", PmType Quantitative ]
spec1 =
asSpec [ width 500, mark Area [], enc1 [] ]
enc2 =
encoding
<< position X [ PName "date", PmType Temporal, PAxis [ AxFormat "%Y" ] ]
<< position Y [ PName "price", PmType Quantitative, PAxis [ AxTickCount 3, AxGrid False ] ]
spec2 =
asSpec [ width 480, height 60, sel [], mark Area [], enc2 [] ]
in
toVegaLite [ des, dataFromUrl "data/sp500.csv" [], vConcat [ spec1, spec2 ] ]
interactive7 : Spec
interactive7 =
let
des =
description "Drag over any chart to cross-filter highlights in all charts."
trans =
transform
<< calculateAs "hours(datum.date)" "time"
sel =
selection << select "myBrush" Interval [ Encodings [ ChX ] ]
selTrans =
transform
<< filter (FSelection "myBrush")
encPosition =
encoding
<< position X [ PRepeat Column, PmType Quantitative, PBin [ MaxBins 20 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
spec1 =
asSpec [ sel [], mark Bar [] ]
spec2 =
asSpec [ selTrans [], mark Bar [], encoding (color [ MString "goldenrod" ] []) ]
spec =
asSpec
[ des
, dataFromUrl "data/flights-2k.json" [ Parse [ ( "date", FoDate "" ) ] ]
, trans []
, encPosition []
, layer [ spec1, spec2 ]
]
in
toVegaLite
[ repeat [ ColumnFields [ "distance", "delay", "time" ] ]
, specification spec
]
interactive8 : Spec
interactive8 =
let
des =
description "Scatterplot matrix. Drag/zoom in any scatterplot to update view of all scatterplots containing selected variables. Shift-select to highlight selected points."
sel =
selection
<< select "myBrush"
Interval
[ On "[mousedown[event.shiftKey], window:mouseup] > window:mousemove!"
, Translate "[mousedown[event.shiftKey], window:mouseup] > window:mousemove!"
, Zoom "wheel![event.shiftKey]"
, ResolveSelections Union
]
<< select ""
Interval
[ BindScales
, Translate "[mousedown[!event.shiftKey], window:mouseup] > window:mousemove!"
, Zoom "wheel![event.shiftKey]"
, ResolveSelections Global
]
enc =
encoding
<< position X [ PRepeat Column, PmType Quantitative ]
<< position Y [ PRepeat Row, PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myBrush")
[ MName "Origin", MmType Nominal ]
[ MString "grey" ]
]
spec =
asSpec [ dataFromUrl "data/cars.json" [], mark Point [], sel [], enc [] ]
in
toVegaLite
[ des
, repeat [ RowFields [ "Horsepower", "Acceleration", "Miles_per_Gallon" ], ColumnFields [ "Miles_per_Gallon", "Acceleration", "Horsepower" ] ]
, specification spec
]
interactive9 : Spec
interactive9 =
let
des =
description "A dashboard with cross-highlighting. Select bars in lower chart to update view in upper chart."
selTrans =
transform
<< filter (FSelection "myPts")
encPosition =
encoding
<< position X [ PName "IMDB_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
<< position Y [ PName "Rotten_Tomatoes_Rating", PmType Quantitative, PBin [ MaxBins 10 ] ]
enc1 =
encoding
<< color [ MAggregate Count, MmType Quantitative, MLegend [ LTitle "" ] ]
spec1 =
asSpec [ width 300, mark Rect [], enc1 [] ]
enc2 =
encoding
<< size [ MAggregate Count, MmType Quantitative, MLegend [ LTitle "In Selected Category" ] ]
<< color [ MString "#666" ]
spec2 =
asSpec [ selTrans [], mark Point [], enc2 [] ]
heatSpec =
asSpec [ encPosition [], layer [ spec1, spec2 ] ]
sel =
selection << select "myPts" Single [ Encodings [ ChX ] ]
barSpec =
asSpec [ width 420, height 120, mark Bar [], sel [], encBar [] ]
encBar =
encoding
<< position X [ PName "Major_Genre", PmType Nominal, PAxis [ AxLabelAngle -40 ] ]
<< position Y [ PAggregate Count, PmType Quantitative ]
<< color
[ MSelectionCondition (SelectionName "myPts")
[ MString "steelblue" ]
[ MString "grey" ]
]
config =
configure
<< configuration (Range [ RHeatmap "greenblue" ])
res =
resolve
<< resolution (RLegend [ ( ChColor, Independent ), ( ChSize, Independent ) ])
in
toVegaLite [ des, dataFromUrl "data/movies.json" [], vConcat [ heatSpec, barSpec ], res [], config [] ]
interactive10 : Spec
interactive10 =
let
data =
dataFromUrl "https://vega.github.io/vega-lite/data/stocks.csv" []
sel =
selection << select "myTooltip" Single [ Nearest True, On "mouseover", Encodings [ ChX ], Empty ]
enc =
encoding
<< position X [ PName "date", PmType Temporal ]
<< position Y [ PName "price", PmType Quantitative ]
<< color [ MName "symbol", MmType Nominal ]
pointEnc =
encoding
<< color [ MName "symbol", MmType Nominal ]
<< opacity [ MSelectionCondition (Expr "myTooltip") [ MNumber 1 ] [ MNumber 0 ] ]
textEnc =
encoding << text [ TName "price", TmType Quantitative ]
in
toVegaLite
[ width 600
, height 300
, data
, enc []
, layer
[ asSpec [ mark Line [] ]
, asSpec [ mark Point [], pointEnc [], sel [] ]
, asSpec [ transform (filter (FSelection "myTooltip") []), mark Rule [ MColor "gray" ] ]
, asSpec [ transform (filter (FSelection "myTooltip") []), mark Text [ MAlign AlignLeft, MdX 5, MdY -5 ], textEnc [] ]
]
]
{- This list comprises the specifications to be provided to the Vega-Lite runtime. -}
mySpecs : Spec
mySpecs =
combineSpecs
[ ( "basic1", basic1 )
, ( "basic2", basic2 )
, ( "basic3", basic3 )
, ( "basic4", basic4 )
, ( "basic5", basic5 )
, ( "basic6", basic6 )
, ( "basic7", basic7 )
, ( "basic8", basic8 )
, ( "basic9", basic9 )
, ( "basic10", basic10 )
, ( "basic11", basic11 )
, ( "basic12", basic12 )
, ( "basic13", basic13 )
, ( "basic14", basic14 )
, ( "basic15", basic15 )
, ( "basic16", basic16 )
, ( "basic17", basic17 )
, ( "basic18", basic18 )
, ( "basic19", basic19 )
, ( "basic20", basic20 )
, ( "basic21", basic21 )
, ( "basic22", basic22 )
, ( "stack1", stack1 )
, ( "stack2", stack2 )
, ( "stack3", stack3 )
, ( "stack4", stack4 )
, ( "stack5", stack5 )
, ( "stack6", stack6 )
, ( "stack7", stack7 )
, ( "stack8", stack8 )
, ( "trellis1", trellis1 )
, ( "trellis2", trellis2 )
, ( "trellis3", trellis3 )
, ( "trellis4", trellis4 )
, ( "trellis5", trellis5 )
, ( "trellis6", trellis6 )
, ( "trellis7", trellis7 )
, ( "layer1", layer1 )
, ( "layer2", layer2 )
, ( "layer3", layer3 )
, ( "layer4", layer4 )
, ( "layer5", layer5 )
, ( "layer6", layer6 )
, ( "layer7", layer7 )
, ( "layer8", layer8 )
, ( "layer9", layer9 )
, ( "layer10", layer10 )
, ( "layer11", layer11 )
, ( "layer12", layer12 )
, ( "layer13", layer13 )
, ( "layer14", layer14 )
, ( "layer15", layer15 )
, ( "layer16", layer16 )
, ( "layer17", layer17 )
, ( "layer18", layer18 )
, ( "comp1", comp1 )
, ( "comp2", comp2 )
, ( "comp3", comp3 )
, ( "geo1", geo1 )
, ( "geo2", geo2 )
, ( "geo3", geo3 )
, ( "geo4", geo4 )
, ( "geo5", geo5 )
, ( "geo6", geo6 )
, ( "geo7", geo7 )
, ( "geo8", geo8 )
, ( "geo9", geo9 )
, ( "interactive1", interactive1 )
, ( "interactive2", interactive2 )
, ( "interactive3", interactive3 )
, ( "interactive4", interactive4 )
, ( "interactive5", interactive5 )
, ( "interactive6", interactive6 )
, ( "interactive7", interactive7 )
, ( "interactive8", interactive8 )
, ( "interactive9", interactive9 )
, ( "interactive10", interactive10 )
]
{- The code below is boilerplate for creating a headless Elm module that opens
an outgoing port to Javascript and sends the specs to it.
-}
main : Program Never Spec msg
main =
Platform.program
{ init = ( mySpecs, elmToJS mySpecs )
, update = \_ model -> ( model, Cmd.none )
, subscriptions = always Sub.none
}
port elmToJS : Spec -> Cmd msg
| elm |
[
{
"context": "ock\" ]\n , input\n [ placeholder \"Password\"\n , value form.password\n , ",
"end": 3869,
"score": 0.5256025195,
"start": 3861,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": " onInput (\\password -> OnInput { form | password = password })\n ]\n []\n ]\n\n\npassw",
"end": 4008,
"score": 0.8641553521,
"start": 4000,
"tag": "PASSWORD",
"value": "password"
}
] | src/app/Components.elm | kpryzk/tarot | 1 | module Components exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Messages exposing (..)
import Models exposing (Form, Post, User)
import Routes exposing (..)
layout : Html msg -> Html msg -> Html msg
layout header main =
div []
[ header, main ]
authHeader : Html msg
authHeader =
header []
[ nav []
[ div [ class "nav-wrapper container" ]
[ ul [ class "right" ]
[ li []
[ a [ href <| path LoginRoute, class "btn" ] [ text "Login" ] ]
, li []
[ a [ href <| path SignUpRoute, class "btn" ] [ text "Sign Up" ] ]
]
]
]
]
postCard : Post -> Html Msg
postCard post =
div [ class "col s12 m6 l4" ]
[ div [ onClick <| UpdateRoute <| ReadPostRoute post.id, class "card small hoverable grey lighten-4" ]
[ div [ class "card-content" ]
[ span [ class "card-title medium" ]
[ text <| "ID " ++ post.id ++ ": " ++ post.title ]
, p [] [ text post.body ]
]
]
]
landingBody : List Post -> Html Msg
landingBody posts =
main_ [ class "container" ]
[ List.map postCard posts
|> div [ class "row" ]
]
readPostBody : Post -> Html msg
readPostBody post =
main_ [ class "container" ]
[ div [ class "row" ]
[ div [ class "col l6 offset-l3" ]
[ h1 [] [ text <| "ID " ++ post.id ++ ": " ++ post.title ]
, List.repeat 10 post.body |> List.map (\par -> p [] [ text par ]) |> div []
]
]
]
error : a -> Html msg
error a =
main_ [ class "container" ] [ text <| toString a ]
userHeader : User -> Html Msg
userHeader user =
header []
[ nav []
[ div [ class "nav-wrapper container" ]
[ a [ href <| path CreatePostRoute, class "btn" ] [ text "New Post" ]
, ul [ class "right" ]
[ li [] [ text user.email ]
, li [] [ a [ onClick Logout, class "btn" ] [ text "Logout" ] ]
]
]
]
]
createPostBody : Form -> Html Msg
createPostBody form =
main_ [ class "container " ]
[ div [ class "row" ]
[ Html.form [ class "col s12 m8 offset-m2" ]
[ div [ class "input-field" ]
[ input
[ placeholder "Post Title"
, value form.postTitle
, type_ "text"
, onInput (\title -> OnInput { form | postTitle = title })
]
[]
]
, div [ class "input-field" ]
[ textarea
[ placeholder "Enter post here..."
, onInput (\body -> OnInput { form | postBody = body })
]
[ text form.postBody ]
]
, a [ onClick CreatePost, class "btn right" ] [ text "Create" ]
]
]
]
emailInput : Form -> Html Msg
emailInput form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "email" ]
, input
[ placeholder "Email"
, type_ "text"
, value form.email
, onInput (\email -> OnInput { form | email = email })
]
[]
]
passwordInput : Form -> Html Msg
passwordInput form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "lock" ]
, input
[ placeholder "Password"
, value form.password
, type_ "password"
, onInput (\password -> OnInput { form | password = password })
]
[]
]
passwordAgain : Form -> Html Msg
passwordAgain form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "lock" ]
, input
[ placeholder "Password Again"
, value form.passwordAgain
, type_ "password"
, onInput (\again -> OnInput { form | passwordAgain = again })
]
[]
]
authentication : List (Html Msg) -> Html Msg
authentication body =
main_ [ class "container " ]
[ div [ class "full-height row valign-wrapper" ]
[ Html.form [ class "col s12 m4 offset-m4" ]
body
]
]
login : Form -> Html Msg
login form =
authentication
[ emailInput form
, passwordInput form
, a [ onClick Login, class "btn right" ] [ text "Login" ]
]
signUp : Form -> Html Msg
signUp form =
authentication
[ emailInput form
, passwordInput form
, passwordAgain form
, a [ onClick SignUp, class "btn right" ] [ text "Sign Up" ]
]
| 25251 | module Components exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Messages exposing (..)
import Models exposing (Form, Post, User)
import Routes exposing (..)
layout : Html msg -> Html msg -> Html msg
layout header main =
div []
[ header, main ]
authHeader : Html msg
authHeader =
header []
[ nav []
[ div [ class "nav-wrapper container" ]
[ ul [ class "right" ]
[ li []
[ a [ href <| path LoginRoute, class "btn" ] [ text "Login" ] ]
, li []
[ a [ href <| path SignUpRoute, class "btn" ] [ text "Sign Up" ] ]
]
]
]
]
postCard : Post -> Html Msg
postCard post =
div [ class "col s12 m6 l4" ]
[ div [ onClick <| UpdateRoute <| ReadPostRoute post.id, class "card small hoverable grey lighten-4" ]
[ div [ class "card-content" ]
[ span [ class "card-title medium" ]
[ text <| "ID " ++ post.id ++ ": " ++ post.title ]
, p [] [ text post.body ]
]
]
]
landingBody : List Post -> Html Msg
landingBody posts =
main_ [ class "container" ]
[ List.map postCard posts
|> div [ class "row" ]
]
readPostBody : Post -> Html msg
readPostBody post =
main_ [ class "container" ]
[ div [ class "row" ]
[ div [ class "col l6 offset-l3" ]
[ h1 [] [ text <| "ID " ++ post.id ++ ": " ++ post.title ]
, List.repeat 10 post.body |> List.map (\par -> p [] [ text par ]) |> div []
]
]
]
error : a -> Html msg
error a =
main_ [ class "container" ] [ text <| toString a ]
userHeader : User -> Html Msg
userHeader user =
header []
[ nav []
[ div [ class "nav-wrapper container" ]
[ a [ href <| path CreatePostRoute, class "btn" ] [ text "New Post" ]
, ul [ class "right" ]
[ li [] [ text user.email ]
, li [] [ a [ onClick Logout, class "btn" ] [ text "Logout" ] ]
]
]
]
]
createPostBody : Form -> Html Msg
createPostBody form =
main_ [ class "container " ]
[ div [ class "row" ]
[ Html.form [ class "col s12 m8 offset-m2" ]
[ div [ class "input-field" ]
[ input
[ placeholder "Post Title"
, value form.postTitle
, type_ "text"
, onInput (\title -> OnInput { form | postTitle = title })
]
[]
]
, div [ class "input-field" ]
[ textarea
[ placeholder "Enter post here..."
, onInput (\body -> OnInput { form | postBody = body })
]
[ text form.postBody ]
]
, a [ onClick CreatePost, class "btn right" ] [ text "Create" ]
]
]
]
emailInput : Form -> Html Msg
emailInput form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "email" ]
, input
[ placeholder "Email"
, type_ "text"
, value form.email
, onInput (\email -> OnInput { form | email = email })
]
[]
]
passwordInput : Form -> Html Msg
passwordInput form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "lock" ]
, input
[ placeholder "<PASSWORD>"
, value form.password
, type_ "password"
, onInput (\password -> OnInput { form | password = <PASSWORD> })
]
[]
]
passwordAgain : Form -> Html Msg
passwordAgain form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "lock" ]
, input
[ placeholder "Password Again"
, value form.passwordAgain
, type_ "password"
, onInput (\again -> OnInput { form | passwordAgain = again })
]
[]
]
authentication : List (Html Msg) -> Html Msg
authentication body =
main_ [ class "container " ]
[ div [ class "full-height row valign-wrapper" ]
[ Html.form [ class "col s12 m4 offset-m4" ]
body
]
]
login : Form -> Html Msg
login form =
authentication
[ emailInput form
, passwordInput form
, a [ onClick Login, class "btn right" ] [ text "Login" ]
]
signUp : Form -> Html Msg
signUp form =
authentication
[ emailInput form
, passwordInput form
, passwordAgain form
, a [ onClick SignUp, class "btn right" ] [ text "Sign Up" ]
]
| true | module Components exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Messages exposing (..)
import Models exposing (Form, Post, User)
import Routes exposing (..)
layout : Html msg -> Html msg -> Html msg
layout header main =
div []
[ header, main ]
authHeader : Html msg
authHeader =
header []
[ nav []
[ div [ class "nav-wrapper container" ]
[ ul [ class "right" ]
[ li []
[ a [ href <| path LoginRoute, class "btn" ] [ text "Login" ] ]
, li []
[ a [ href <| path SignUpRoute, class "btn" ] [ text "Sign Up" ] ]
]
]
]
]
postCard : Post -> Html Msg
postCard post =
div [ class "col s12 m6 l4" ]
[ div [ onClick <| UpdateRoute <| ReadPostRoute post.id, class "card small hoverable grey lighten-4" ]
[ div [ class "card-content" ]
[ span [ class "card-title medium" ]
[ text <| "ID " ++ post.id ++ ": " ++ post.title ]
, p [] [ text post.body ]
]
]
]
landingBody : List Post -> Html Msg
landingBody posts =
main_ [ class "container" ]
[ List.map postCard posts
|> div [ class "row" ]
]
readPostBody : Post -> Html msg
readPostBody post =
main_ [ class "container" ]
[ div [ class "row" ]
[ div [ class "col l6 offset-l3" ]
[ h1 [] [ text <| "ID " ++ post.id ++ ": " ++ post.title ]
, List.repeat 10 post.body |> List.map (\par -> p [] [ text par ]) |> div []
]
]
]
error : a -> Html msg
error a =
main_ [ class "container" ] [ text <| toString a ]
userHeader : User -> Html Msg
userHeader user =
header []
[ nav []
[ div [ class "nav-wrapper container" ]
[ a [ href <| path CreatePostRoute, class "btn" ] [ text "New Post" ]
, ul [ class "right" ]
[ li [] [ text user.email ]
, li [] [ a [ onClick Logout, class "btn" ] [ text "Logout" ] ]
]
]
]
]
createPostBody : Form -> Html Msg
createPostBody form =
main_ [ class "container " ]
[ div [ class "row" ]
[ Html.form [ class "col s12 m8 offset-m2" ]
[ div [ class "input-field" ]
[ input
[ placeholder "Post Title"
, value form.postTitle
, type_ "text"
, onInput (\title -> OnInput { form | postTitle = title })
]
[]
]
, div [ class "input-field" ]
[ textarea
[ placeholder "Enter post here..."
, onInput (\body -> OnInput { form | postBody = body })
]
[ text form.postBody ]
]
, a [ onClick CreatePost, class "btn right" ] [ text "Create" ]
]
]
]
emailInput : Form -> Html Msg
emailInput form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "email" ]
, input
[ placeholder "Email"
, type_ "text"
, value form.email
, onInput (\email -> OnInput { form | email = email })
]
[]
]
passwordInput : Form -> Html Msg
passwordInput form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "lock" ]
, input
[ placeholder "PI:PASSWORD:<PASSWORD>END_PI"
, value form.password
, type_ "password"
, onInput (\password -> OnInput { form | password = PI:PASSWORD:<PASSWORD>END_PI })
]
[]
]
passwordAgain : Form -> Html Msg
passwordAgain form =
div [ class "input-field" ]
[ i [ class "material-icons prefix" ] [ text "lock" ]
, input
[ placeholder "Password Again"
, value form.passwordAgain
, type_ "password"
, onInput (\again -> OnInput { form | passwordAgain = again })
]
[]
]
authentication : List (Html Msg) -> Html Msg
authentication body =
main_ [ class "container " ]
[ div [ class "full-height row valign-wrapper" ]
[ Html.form [ class "col s12 m4 offset-m4" ]
body
]
]
login : Form -> Html Msg
login form =
authentication
[ emailInput form
, passwordInput form
, a [ onClick Login, class "btn right" ] [ text "Login" ]
]
signUp : Form -> Html Msg
signUp form =
authentication
[ emailInput form
, passwordInput form
, passwordAgain form
, a [ onClick SignUp, class "btn right" ] [ text "Sign Up" ]
]
| elm |
[
{
"context": "Message-ID: <4DF5ACA1.7050407@googlemail.com>\nDate: Mon, 13 Jun 2011 08:22:25 +0200\nFrom: \"Dr.",
"end": 44,
"score": 0.9999341369,
"start": 13,
"tag": "EMAIL",
"value": "4DF5ACA1.7050407@googlemail.com"
},
{
"context": ">\nDate: Mon, 13 Jun 2011 08:22:25 +0200\nFrom: \"Dr. Martin Menzel\" <apache.camel.test@googlemail.com>\nUser-Agent: M",
"end": 108,
"score": 0.9998306632,
"start": 95,
"tag": "NAME",
"value": "Martin Menzel"
},
{
"context": "un 2011 08:22:25 +0200\nFrom: \"Dr. Martin Menzel\" <apache.camel.test@googlemail.com>\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT ",
"end": 143,
"score": 0.9999224544,
"start": 111,
"tag": "EMAIL",
"value": "apache.camel.test@googlemail.com"
},
{
"context": "ing/1.0b2 Thunderbird/3.1.10\nMIME-Version: 1.0\nTo: martin@woopi.org\nSubject: hurz\nContent-Type: multipart/signed; pro",
"end": 303,
"score": 0.9999345541,
"start": 287,
"tag": "EMAIL",
"value": "martin@woopi.org"
},
{
"context": "AYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu\nZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xMTA2\nMTMwNTQzMzZaFw0xMzA2MTIwNTQzMzZaME0xGjAYBgNVBAMTEURyLiBNYXJ0aW4gTWVuemVs\nMS8wLQYJKoZIhvcNAQkBFiBhcGFjaGUuY2FtZWwudGVzdEBnb29nbGVtYWlsLmNvbTCCASIw\nDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM34YES/yql24PA40U2tuI+L+7EGpzJd6fsH\nMgYgaDhX4gJlwN1YSpSoCPExWrzXE/VFEn8AyuZK/k1TmjKhjgywm9CeAR0iYlS1BmDzB/9h\npBLoF12uTyJV1F1TuQdC1QKSes28gtp8Suink7YleoSvCX3nct0eyKix5oM/9ECCzCUs5pMS\nr067pd73AJjsDrP+IRfN7VPcy8O+SCrp2WyNz2N15fq4LgbpQb7jIaNrEKeu1kstnfJQEIWa\nxFrcImUcqwavNm9RER0oLIJHy6RYB9Cz9Zg1/0m8lFgPw1uTFcgNYZjOYYXRyRNeNGZ862/h\nfeDv7T/z+Wr73aKp6cUCAwEAAaOCAQ0wggEJMAwGA1UdEwEB/wQCMAAwVgYJYIZIAYb4QgEN\nBEkWR1RvIGdldCB5b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSBoZWFkIG92ZXIgdG8g\naHR0cDovL3d3dy5DQWNlcnQub3JnMEAGA1UdJQQ5MDcGCCsGAQUFBwMEBggrBgEFBQcDAgYK\nKwYBBAGCNwoDBAYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMDIGCCsGAQUFBwEBBCYwJDAiBggr\nBgEFBQcwAYYWaHR0cDovL29jc3AuY2FjZXJ0Lm9yZzArBgNVHREEJDAigSBhcGFjaGUuY2Ft\nZWwudGVzdEBnb29nbGVtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOCAgEATCsTE7CZ5fV4032C\ntrIGzgMg+MTkAxW7NTKZavWvMoTgJjwuUnB6RRlZSDihRTG5V8rmPyLAqZOXBbNpvX0LJ0p7\n+HJHDz9NLXF/ap45uGLTQ9vSW2FSg9Rz7vGmvAzxwDc4w6cx5ZZvWCdeH5uYyLcLGJOMaCPo\nbadgfOP7bCO10bvlT5+9xWgmSlsAQ3H0TaxXA0m4cQldlDdhmHHp1ttDyL+JeFXuAwqmz65F\nDhNz7iPfzqj8hPHcyfGc2+BSnaGKdD6FFXPiTx6d59eDD3aFtg3IFblXDkdNbRAaN7F42fQ2\nvfNPULK35AlRNxNb0Fult04iBAcx7WyFlRNN8mC6RRIlJ9fXYKbgmrHkOIabUNmaL+OK0zFL\nMqT/r4Er2gHLrV3OkjcEYxHxMhJDT3Oa2SPn9yVBJzr+x/tvVYoBSnG+0caSEUTjBLQq2O7i\nX7zUV8gn4sFX9lvILQrgLRePNWoIJLEjEfzp7rysAQRh4QQ4fCAU/skf8gmuP4syZw3JLU0I\nLriDZBki6dRJSa75kngpz2N/FhCsAWtrKrLTxdBt6ny0CRvSYTHQjB37fOzVwt6vMy4oE7Xk\nYp08utU3SikrhrQUkHB3cGLkCKrMgwhFV9xZ5+2PcqFRHAmOTKdP6GTlvtyF07eTFzwzaW/y\nLJXV3buF/p6UzFAHvSswggVSMIIDOqADAgECAgMKVoswDQYJKoZIhvcNAQEFBQAweTEQMA4G\nA1UEChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQD\nExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNh\nY2VydC5vcmcwHhcNMTEwNjEzMDU0MzM2WhcNMTMwNjEyMDU0MzM2WjBNMRowGAYDVQQDExFE\nci4gTWFydGluIE1lbnplbDEvMC0GCSqGSIb3DQEJARYgYXBhY2hlLmNhbWVsLnRlc3RAZ29v\nZ2xlbWFpbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDN+GBEv8qpduDw\nONFNrbiPi/uxBqcyXen7BzIGIGg4V+ICZcDdWEqUqAjxMVq81xP1RRJ/AMrmSv5NU5oyoY4M\nsJvQngEdImJUtQZg8wf/YaQS6Bddrk8iVdRdU7kHQtUCknrNvILafErop5O2JXqErwl953Ld\nHsioseaDP/RAgswlLOaTEq9Ou6Xe9wCY7A6z/iEXze1T3MvDvkgq6dlsjc9jdeX6uC4G6UG+\n4yGjaxCnrtZLLZ3yUBCFmsRa3CJlHKsGrzZvUREdKCyCR8ukWAfQs/WYNf9JvJRYD8NbkxXI\nDWGYzmGF0ckTXjRmfOtv4X3g7+0/8/lq+92iqenFAgMBAAGjggENMIIBCTAMBgNVHRMBAf8E\nAjAAMFYGCWCGSAGG+EIBDQRJFkdUbyBnZXQgeW91ciBvd24gY2VydGlmaWNhdGUgZm9yIEZS\nRUUgaGVhZCBvdmVyIHRvIGh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzBABgNVHSUEOTA3BggrBgEF\nBQcDBAYIKwYBBQUHAwIGCisGAQQBgjcKAwQGCisGAQQBgjcKAwMGCWCGSAGG+EIEATAyBggr\nBgEFBQcBAQQmMCQwIgYIKwYBBQUHMAGGFmh0dHA6Ly9vY3NwLmNhY2VydC5vcmcwKwYDVR0R\nBCQwIoEgYXBhY2hlLmNhbWVsLnRlc3RAZ29vZ2xlbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD\nggIBAEwrExOwmeX1eNN9grayBs4DIPjE5AMVuzUymWr1rzKE4CY8LlJwekUZWUg4oUUxuVfK\n5j8iwKmTlwWzab19CydKe/hyRw8/TS1xf2qeObhi00Pb0lthUoPUc+7xprwM8cA3OMOnMeWW\nb1gnXh+bmMi3CxiTjGgj6G2nYHzj+2wjtdG75U+fvcVoJkpbAENx9E2sVwNJuHEJXZQ3YZhx\n6dbbQ8i/iXhV7gMKps+uRQ4Tc+4j386o/ITx3MnxnNvgUp2hinQ+hRVz4k8enefXgw92hbYN\nyBW5Vw5HTW0QGjexeNn0Nr3zT1Cyt+QJUTcTW9BbpbdOIgQHMe1shZUTTfJgukUSJSfX12Cm\n4Jqx5DiGm1DZmi/jitMxSzKk/6+BK9oBy61dzpI3BGMR8TISQ09zmtkj5/clQSc6/sf7b1WK\nAUpxvtHGkhFE4wS0Ktju4l+81FfIJ+LBV/ZbyC0K4C0XjzVqCCSxIxH86e68rAEEYeEEOHwg\nFP7JH/IJrj+LMmcNyS1NCC64g2QZIunUSUmu+ZJ4Kc9jfxYQrAFrayqy08XQbep8tAkb0mEx\n0Iwd+3zs1cLerzMuKBO15GKdPLrVN0opK4a0FJBwd3Bi5AiqzIMIRVfcWeftj3KhURwJjkyn\nT+hk5b7chdO3kxc8M2lv8iyV1d27hf6elMxQB70rMYIDlDCCA5ACAQEwgYAweTEQMA4GA1UE\nChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlD\nQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2Vy\ndC5vcmcCAwpWizAJBgUrDgMCGgUAoIIB6DAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG\nCSqGSIb3DQEJBTEPFw0xMTA2MTMwNjIyMjVaMCMGCSqGSIb3DQEJBDEWBBSXlYMMI3eKOB96\nrq4R4+sC+um4vzBfBgkqhkiG9w0BCQ8xUjBQMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAO\nBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgw\ngZEGCSsGAQQBgjcQBDGBgzCBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRw\nOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkx\nITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDClaLMIGTBgsqhkiG9w0BCRAC\nCzGBg6CBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2Vy\ndC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0B\nCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDClaLMA0GCSqGSIb3DQEBAQUABIIBAGJyk3JJJan3\ntib2/xAOI3CPIjMAeFr6PzeeaCTmSxJEixaQKwlw54ZnULHDZdEf3ewLbDP8a6vP3EW32lju\ndGWiMk4a6333W8IUtHxIWFwWLoh6ZNS8WecX4vVPuaMj0Y7QcA0FEcVtqdxgUQQ5g6jvfL7c\noo1nLRn4RpP3rcn9e3uZqRqTbd6lSh+AO181TWvQQOpT18mV7oqErZQjkcnHVGz8eypPpI+j\nA9kkI/yYQ4zg1UBclszGLuogir9bw25hxEqkBTqy14+2f2wHaxxSlwtFAm9Ev60Uslybp+lt\nISyXjoZ+y/EVJY44y+Rs46sX8D/1sNg+/HB5YL3KKicAAAAAAAA=\n--------------ms080200050303040909010307--\n",
"end": 5926,
"score": 0.9995743036,
"start": 1107,
"tag": "KEY",
"value": "TGUNBIENlcnQgU2lnbmlu\nZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xMTA2\nMTMwNTQzMzZaFw0xMzA2MTIwNTQzMzZaME0xGjAYBgNVBAMTEURyLiBNYXJ0aW4gTWVuemVs\nMS8wLQYJKoZIhvcNAQkBFiBhcGFjaGUuY2FtZWwudGVzdEBnb29nbGVtYWlsLmNvbTCCASIw\nDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM34YES/yql24PA40U2tuI+L+7EGpzJd6fsH\nMgYgaDhX4gJlwN1YSpSoCPExWrzXE/VFEn8AyuZK/k1TmjKhjgywm9CeAR0iYlS1BmDzB/9h\npBLoF12uTyJV1F1TuQdC1QKSes28gtp8Suink7YleoSvCX3nct0eyKix5oM/9ECCzCUs5pMS\nr067pd73AJjsDrP+IRfN7VPcy8O+SCrp2WyNz2N15fq4LgbpQb7jIaNrEKeu1kstnfJQEIWa\nxFrcImUcqwavNm9RER0oLIJHy6RYB9Cz9Zg1/0m8lFgPw1uTFcgNYZjOYYXRyRNeNGZ862/h\nfeDv7T/z+Wr73aKp6cUCAwEAAaOCAQ0wggEJMAwGA1UdEwEB/wQCMAAwVgYJYIZIAYb4QgEN\nBEkWR1RvIGdldCB5b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSBoZWFkIG92ZXIgdG8g\naHR0cDovL3d3dy5DQWNlcnQub3JnMEAGA1UdJQQ5MDcGCCsGAQUFBwMEBggrBgEFBQcDAgYK\nKwYBBAGCNwoDBAYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMDIGCCsGAQUFBwEBBCYwJDAiBggr\nBgEFBQcwAYYWaHR0cDovL29jc3AuY2FjZXJ0Lm9yZzArBgNVHREEJDAigSBhcGFjaGUuY2Ft\nZWwudGVzdEBnb29nbGVtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOCAgEATCsTE7CZ5fV4032C\ntrIGzgMg+MTkAxW7NTKZavWvMoTgJjwuUnB6RRlZSDihRTG5V8rmPyLAqZOXBbNpvX0LJ0p7\n+HJHDz9NLXF/ap45uGLTQ9vSW2FSg9Rz7vGmvAzxwDc4w6cx5ZZvWCdeH5uYyLcLGJOMaCPo\nbadgfOP7bCO10bvlT5+9xWgmSlsAQ3H0TaxXA0m4cQldlDdhmHHp1ttDyL+JeFXuAwqmz65F\nDhNz7iPfzqj8hPHcyfGc2+BSnaGKdD6FFXPiTx6d59eDD3aFtg3IFblXDkdNbRAaN7F42fQ2\nvfNPULK35AlRNxNb0Fult04iBAcx7WyFlRNN8mC6RRIlJ9fXYKbgmrHkOIabUNmaL+OK0zFL\nMqT/r4Er2gHLrV3OkjcEYxHxMhJDT3Oa2SPn9yVBJzr+x/tvVYoBSnG+0caSEUTjBLQq2O7i\nX7zUV8gn4sFX9lvILQrgLRePNWoIJLEjEfzp7rysAQRh4QQ4fCAU/skf8gmuP4syZw3JLU0I\nLriDZBki6dRJSa75kngpz2N/FhCsAWtrKrLTxdBt6ny0CRvSYTHQjB37fOzVwt6vMy4oE7Xk\nYp08utU3SikrhrQUkHB3cGLkCKrMgwhFV9xZ5+2PcqFRHAmOTKdP6GTlvtyF07eTFzwzaW/y\nLJXV3buF/p6UzFAHvSswggVSMIIDOqADAgECAgMKVoswDQYJKoZIhvcNAQEFBQAweTEQMA4G\nA1UEChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQD\nExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNh\nY2VydC5vcmcwHhcNMTEwNjEzMDU0MzM2WhcNMTMwNjEyMDU0MzM2WjBNMRowGAYDVQQDExFE\nci4gTWFydGluIE1lbnplbDEvMC0GCSqGSIb3DQEJARYgYXBhY2hlLmNhbWVsLnRlc3RAZ29v\nZ2xlbWFpbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDN+GBEv8qpduDw\nONFNrbiPi/uxBqcyXen7BzIGIGg4V+ICZcDdWEqUqAjxMVq81xP1RRJ/AMrmSv5NU5oyoY4M\nsJvQngEdImJUtQZg8wf/YaQS6Bddrk8iVdRdU7kHQtUCknrNvILafErop5O2JXqErwl953Ld\nHsioseaDP/RAgswlLOaTEq9Ou6Xe9wCY7A6z/iEXze1T3MvDvkgq6dlsjc9jdeX6uC4G6UG+\n4yGjaxCnrtZLLZ3yUBCFmsRa3CJlHKsGrzZvUREdKCyCR8ukWAfQs/WYNf9JvJRYD8NbkxXI\nDWGYzmGF0ckTXjRmfOtv4X3g7+0/8/lq+92iqenFAgMBAAGjggENMIIBCTAMBgNVHRMBAf8E\nAjAAMFYGCWCGSAGG+EIBDQRJFkdUbyBnZXQgeW91ciBvd24gY2VydGlmaWNhdGUgZm9yIEZS\nRUUgaGVhZCBvdmVyIHRvIGh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzBABgNVHSUEOTA3BggrBgEF\nBQcDBAYIKwYBBQUHAwIGCisGAQQBgjcKAwQGCisGAQQBgjcKAwMGCWCGSAGG+EIEATAyBggr\nBgEFBQcBAQQmMCQwIgYIKwYBBQUHMAGGFmh0dHA6Ly9vY3NwLmNhY2VydC5vcmcwKwYDVR0R\nBCQwIoEgYXBhY2hlLmNhbWVsLnRlc3RAZ29vZ2xlbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD\nggIBAEwrExOwmeX1eNN9grayBs4DIPjE5AMVuzUymWr1rzKE4CY8LlJwekUZWUg4oUUxuVfK\n5j8iwKmTlwWzab19CydKe/hyRw8/TS1xf2qeObhi00Pb0lthUoPUc+7xprwM8cA3OMOnMeWW\nb1gnXh+bmMi3CxiTjGgj6G2nYHzj+2wjtdG75U+fvcVoJkpbAENx9E2sVwNJuHEJXZQ3YZhx\n6dbbQ8i/iXhV7gMKps+uRQ4Tc+4j386o/ITx3MnxnNvgUp2hinQ+hRVz4k8enefXgw92hbYN\nyBW5Vw5HTW0QGjexeNn0Nr3zT1Cyt+QJUTcTW9BbpbdOIgQHMe1shZUTTfJgukUSJSfX12Cm\n4Jqx5DiGm1DZmi/jitMxSzKk/6+BK9oBy61dzpI3BGMR8TISQ09zmtkj5/clQSc6/sf7b1WK\nAUpxvtHGkhFE4wS0Ktju4l+81FfIJ+LBV/ZbyC0K4C0XjzVqCCSxIxH86e68rAEEYeEEOHwg\nFP7JH/IJrj+LMmcNyS1NCC64g2QZIunUSUmu+ZJ4Kc9jfxYQrAFrayqy08XQbep8tAkb0mEx\n0Iwd+3zs1cLerzMuKBO15GKdPLrVN0opK4a0FJBwd3Bi5AiqzIMIRVfcWeftj3KhURwJjkyn\nT+hk5b7chdO3kxc8M2lv8iyV1d27hf6elMxQB70rMYIDlDCCA5ACAQEwgYAweTEQMA4GA1UE\nChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlD\nQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2Vy\ndC5vcmcCAwpWizAJBgUrDgMCGgUAoIIB6DAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG\nCSqGSIb3DQEJBTEPFw0xMTA2MTMwNjIyMjVaMCMGCSqGSIb3DQEJBDEWBBSXlYMMI3eKOB96\nrq4R4+sC+um4vzBfBgkqhkiG9w0BCQ8xUjBQMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAO\nBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgw\ngZEGCSsGAQQBgjcQBDGBgzCBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRw\nOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkx\nITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDClaLMIGTBgsqhkiG9w0BCRAC\nCzGBg6CBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2Vy\ndC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0B\nCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDClaLMA0GCSqGSIb3DQEBAQUABIIBAGJyk3JJJan3\ntib2/xAOI3CPIjMAeFr6PzeeaCTmSxJEixaQKwlw54ZnULHDZdEf3ewLbDP8a6vP3EW32lju\ndGWiMk4a6333W8IUtHxIWFwWLoh6ZNS8WecX4vVPuaMj0Y7QcA0FEcVtqdxgUQQ5g6jvfL7c\noo1nLRn4RpP3rcn9e3uZqRqTbd6lSh+AO181TWvQQOpT18mV7oqErZQjkcnHVGz8eypPpI+j\nA9kkI/yYQ4zg1UBclszGLuogir9bw25hxEqkBTqy14+2f2wHaxxSlwtFAm9Ev60Uslybp+lt\nISyXjoZ+y/EVJY44y+Rs46sX8D/1sNg+/HB5YL3KKicAAAAAAAA="
}
] | components/camel-mail/src/test/resources/SignedMailTestCaseHurz.elm | erard22/camel | 4,262 | Message-ID: <4DF5ACA1.7050407@googlemail.com>
Date: Mon, 13 Jun 2011 08:22:25 +0200
From: "Dr. Martin Menzel" <apache.camel.test@googlemail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: martin@woopi.org
Subject: hurz
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080200050303040909010307"
This is a cryptographically signed message in MIME format.
--------------ms080200050303040909010307
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable
hurz
--------------ms080200050303040909010307
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKrDCC
BVIwggM6oAMCAQICAwpWizANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xMTA2
MTMwNTQzMzZaFw0xMzA2MTIwNTQzMzZaME0xGjAYBgNVBAMTEURyLiBNYXJ0aW4gTWVuemVs
MS8wLQYJKoZIhvcNAQkBFiBhcGFjaGUuY2FtZWwudGVzdEBnb29nbGVtYWlsLmNvbTCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM34YES/yql24PA40U2tuI+L+7EGpzJd6fsH
MgYgaDhX4gJlwN1YSpSoCPExWrzXE/VFEn8AyuZK/k1TmjKhjgywm9CeAR0iYlS1BmDzB/9h
pBLoF12uTyJV1F1TuQdC1QKSes28gtp8Suink7YleoSvCX3nct0eyKix5oM/9ECCzCUs5pMS
r067pd73AJjsDrP+IRfN7VPcy8O+SCrp2WyNz2N15fq4LgbpQb7jIaNrEKeu1kstnfJQEIWa
xFrcImUcqwavNm9RER0oLIJHy6RYB9Cz9Zg1/0m8lFgPw1uTFcgNYZjOYYXRyRNeNGZ862/h
feDv7T/z+Wr73aKp6cUCAwEAAaOCAQ0wggEJMAwGA1UdEwEB/wQCMAAwVgYJYIZIAYb4QgEN
BEkWR1RvIGdldCB5b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSBoZWFkIG92ZXIgdG8g
aHR0cDovL3d3dy5DQWNlcnQub3JnMEAGA1UdJQQ5MDcGCCsGAQUFBwMEBggrBgEFBQcDAgYK
KwYBBAGCNwoDBAYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMDIGCCsGAQUFBwEBBCYwJDAiBggr
BgEFBQcwAYYWaHR0cDovL29jc3AuY2FjZXJ0Lm9yZzArBgNVHREEJDAigSBhcGFjaGUuY2Ft
ZWwudGVzdEBnb29nbGVtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOCAgEATCsTE7CZ5fV4032C
trIGzgMg+MTkAxW7NTKZavWvMoTgJjwuUnB6RRlZSDihRTG5V8rmPyLAqZOXBbNpvX0LJ0p7
+HJHDz9NLXF/ap45uGLTQ9vSW2FSg9Rz7vGmvAzxwDc4w6cx5ZZvWCdeH5uYyLcLGJOMaCPo
badgfOP7bCO10bvlT5+9xWgmSlsAQ3H0TaxXA0m4cQldlDdhmHHp1ttDyL+JeFXuAwqmz65F
DhNz7iPfzqj8hPHcyfGc2+BSnaGKdD6FFXPiTx6d59eDD3aFtg3IFblXDkdNbRAaN7F42fQ2
vfNPULK35AlRNxNb0Fult04iBAcx7WyFlRNN8mC6RRIlJ9fXYKbgmrHkOIabUNmaL+OK0zFL
MqT/r4Er2gHLrV3OkjcEYxHxMhJDT3Oa2SPn9yVBJzr+x/tvVYoBSnG+0caSEUTjBLQq2O7i
X7zUV8gn4sFX9lvILQrgLRePNWoIJLEjEfzp7rysAQRh4QQ4fCAU/skf8gmuP4syZw3JLU0I
LriDZBki6dRJSa75kngpz2N/FhCsAWtrKrLTxdBt6ny0CRvSYTHQjB37fOzVwt6vMy4oE7Xk
Yp08utU3SikrhrQUkHB3cGLkCKrMgwhFV9xZ5+2PcqFRHAmOTKdP6GTlvtyF07eTFzwzaW/y
LJXV3buF/p6UzFAHvSswggVSMIIDOqADAgECAgMKVoswDQYJKoZIhvcNAQEFBQAweTEQMA4G
A1UEChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQD
ExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNh
Y2VydC5vcmcwHhcNMTEwNjEzMDU0MzM2WhcNMTMwNjEyMDU0MzM2WjBNMRowGAYDVQQDExFE
ci4gTWFydGluIE1lbnplbDEvMC0GCSqGSIb3DQEJARYgYXBhY2hlLmNhbWVsLnRlc3RAZ29v
Z2xlbWFpbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDN+GBEv8qpduDw
ONFNrbiPi/uxBqcyXen7BzIGIGg4V+ICZcDdWEqUqAjxMVq81xP1RRJ/AMrmSv5NU5oyoY4M
sJvQngEdImJUtQZg8wf/YaQS6Bddrk8iVdRdU7kHQtUCknrNvILafErop5O2JXqErwl953Ld
HsioseaDP/RAgswlLOaTEq9Ou6Xe9wCY7A6z/iEXze1T3MvDvkgq6dlsjc9jdeX6uC4G6UG+
4yGjaxCnrtZLLZ3yUBCFmsRa3CJlHKsGrzZvUREdKCyCR8ukWAfQs/WYNf9JvJRYD8NbkxXI
DWGYzmGF0ckTXjRmfOtv4X3g7+0/8/lq+92iqenFAgMBAAGjggENMIIBCTAMBgNVHRMBAf8E
AjAAMFYGCWCGSAGG+EIBDQRJFkdUbyBnZXQgeW91ciBvd24gY2VydGlmaWNhdGUgZm9yIEZS
RUUgaGVhZCBvdmVyIHRvIGh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzBABgNVHSUEOTA3BggrBgEF
BQcDBAYIKwYBBQUHAwIGCisGAQQBgjcKAwQGCisGAQQBgjcKAwMGCWCGSAGG+EIEATAyBggr
BgEFBQcBAQQmMCQwIgYIKwYBBQUHMAGGFmh0dHA6Ly9vY3NwLmNhY2VydC5vcmcwKwYDVR0R
BCQwIoEgYXBhY2hlLmNhbWVsLnRlc3RAZ29vZ2xlbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD
ggIBAEwrExOwmeX1eNN9grayBs4DIPjE5AMVuzUymWr1rzKE4CY8LlJwekUZWUg4oUUxuVfK
5j8iwKmTlwWzab19CydKe/hyRw8/TS1xf2qeObhi00Pb0lthUoPUc+7xprwM8cA3OMOnMeWW
b1gnXh+bmMi3CxiTjGgj6G2nYHzj+2wjtdG75U+fvcVoJkpbAENx9E2sVwNJuHEJXZQ3YZhx
6dbbQ8i/iXhV7gMKps+uRQ4Tc+4j386o/ITx3MnxnNvgUp2hinQ+hRVz4k8enefXgw92hbYN
yBW5Vw5HTW0QGjexeNn0Nr3zT1Cyt+QJUTcTW9BbpbdOIgQHMe1shZUTTfJgukUSJSfX12Cm
4Jqx5DiGm1DZmi/jitMxSzKk/6+BK9oBy61dzpI3BGMR8TISQ09zmtkj5/clQSc6/sf7b1WK
AUpxvtHGkhFE4wS0Ktju4l+81FfIJ+LBV/ZbyC0K4C0XjzVqCCSxIxH86e68rAEEYeEEOHwg
FP7JH/IJrj+LMmcNyS1NCC64g2QZIunUSUmu+ZJ4Kc9jfxYQrAFrayqy08XQbep8tAkb0mEx
0Iwd+3zs1cLerzMuKBO15GKdPLrVN0opK4a0FJBwd3Bi5AiqzIMIRVfcWeftj3KhURwJjkyn
T+hk5b7chdO3kxc8M2lv8iyV1d27hf6elMxQB70rMYIDlDCCA5ACAQEwgYAweTEQMA4GA1UE
ChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlD
QSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2Vy
dC5vcmcCAwpWizAJBgUrDgMCGgUAoIIB6DAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG
CSqGSIb3DQEJBTEPFw0xMTA2MTMwNjIyMjVaMCMGCSqGSIb3DQEJBDEWBBSXlYMMI3eKOB96
rq4R4+sC+um4vzBfBgkqhkiG9w0BCQ8xUjBQMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAO
BggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgw
gZEGCSsGAQQBgjcQBDGBgzCBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRw
Oi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkx
ITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDClaLMIGTBgsqhkiG9w0BCRAC
CzGBg6CBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2Vy
dC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0B
CQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDClaLMA0GCSqGSIb3DQEBAQUABIIBAGJyk3JJJan3
tib2/xAOI3CPIjMAeFr6PzeeaCTmSxJEixaQKwlw54ZnULHDZdEf3ewLbDP8a6vP3EW32lju
dGWiMk4a6333W8IUtHxIWFwWLoh6ZNS8WecX4vVPuaMj0Y7QcA0FEcVtqdxgUQQ5g6jvfL7c
oo1nLRn4RpP3rcn9e3uZqRqTbd6lSh+AO181TWvQQOpT18mV7oqErZQjkcnHVGz8eypPpI+j
A9kkI/yYQ4zg1UBclszGLuogir9bw25hxEqkBTqy14+2f2wHaxxSlwtFAm9Ev60Uslybp+lt
ISyXjoZ+y/EVJY44y+Rs46sX8D/1sNg+/HB5YL3KKicAAAAAAAA=
--------------ms080200050303040909010307--
| 21923 | Message-ID: <<EMAIL>>
Date: Mon, 13 Jun 2011 08:22:25 +0200
From: "Dr. <NAME>" <<EMAIL>>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: <EMAIL>
Subject: hurz
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080200050303040909010307"
This is a cryptographically signed message in MIME format.
--------------ms080200050303040909010307
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable
hurz
--------------ms080200050303040909010307
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKrDCC
BVIwggM6oAMCAQICAwpWizANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAM<KEY>
--------------ms080200050303040909010307--
| true | Message-ID: <PI:EMAIL:<EMAIL>END_PI>
Date: Mon, 13 Jun 2011 08:22:25 +0200
From: "Dr. PI:NAME:<NAME>END_PI" <PI:EMAIL:<EMAIL>END_PI>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: PI:EMAIL:<EMAIL>END_PI
Subject: hurz
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080200050303040909010307"
This is a cryptographically signed message in MIME format.
--------------ms080200050303040909010307
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable
hurz
--------------ms080200050303040909010307
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKrDCC
BVIwggM6oAMCAQICAwpWizANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMPI:KEY:<KEY>END_PI
--------------ms080200050303040909010307--
| elm |
[
{
"context": " , input [ class \"popup_input\" ] [ text \"Write Name\" ]\n , button [ class \"btn primary\" ] [ text ",
"end": 1526,
"score": 0.583319962,
"start": 1522,
"tag": "NAME",
"value": "Name"
},
{
"context": " , input [ class \"popup_input\" ] [ text \"Write Name\" ]\n , button [ class \"btn primary\" ] [ text ",
"end": 1933,
"score": 0.7247990966,
"start": 1929,
"tag": "NAME",
"value": "Name"
}
] | ig-front/src/Popup.elm | HETIC-MT-P2021/aio-group6-proj01 | 0 | module Popup exposing (init, update, Msg(..), Model, view, PopupType(..))
import Html exposing (Html, div, text, p, button, input)
import Html.Events exposing (onClick, onInput)
import Html.Attributes exposing (class, href)
-- MODEL
type PopupType
= EmptyPopup
| EditPopup
| CreatePopup
| DeletePopup
type alias Model =
{ title : String
, isPopupOpen : Bool
, popupType : PopupType
}
init : Model
init =
{ title = "Test"
, isPopupOpen = False
, popupType = EmptyPopup
}
-- UPDATE
type Msg
= NoOp
| ShowPopup PopupType String
| HidePopup
update : Msg -> Model -> Model
update msg model =
case msg of
NoOp ->
model
ShowPopup popupType title ->
{ model | isPopupOpen = True, popupType = popupType, title = title }
HidePopup ->
{ model | isPopupOpen = False }
-- VIEW
renderPopup : Model -> String -> Html Msg
renderPopup model classname =
case model.popupType of
EmptyPopup ->
div [] []
EditPopup ->
renderEditPopup model classname
CreatePopup ->
renderCreatePopup model classname
DeletePopup ->
renderDeletePopup model classname
renderEditPopup : Model -> String -> Html Msg
renderEditPopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, input [ class "popup_input" ] [ text "Write Name" ]
, button [ class "btn primary" ] [ text "Confirmer" ]
]
]
renderCreatePopup : Model -> String -> Html Msg
renderCreatePopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, input [ class "popup_input" ] [ text "Write Name" ]
, button [ class "btn primary" ] [ text "Confirmer" ]
]
]
renderDeletePopup : Model -> String -> Html Msg
renderDeletePopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, div [ class "buttons_container" ]
[ button [ class "btn danger" ] [ text "Annuler" ]
, button [ class "btn primary" ] [ text "Supprimer" ]
]
]
]
view : Model -> Html Msg
view model =
case model.isPopupOpen of
True ->
renderPopup model "popup_overlay"
False ->
renderPopup model "popup_overlay hidden" | 9286 | module Popup exposing (init, update, Msg(..), Model, view, PopupType(..))
import Html exposing (Html, div, text, p, button, input)
import Html.Events exposing (onClick, onInput)
import Html.Attributes exposing (class, href)
-- MODEL
type PopupType
= EmptyPopup
| EditPopup
| CreatePopup
| DeletePopup
type alias Model =
{ title : String
, isPopupOpen : Bool
, popupType : PopupType
}
init : Model
init =
{ title = "Test"
, isPopupOpen = False
, popupType = EmptyPopup
}
-- UPDATE
type Msg
= NoOp
| ShowPopup PopupType String
| HidePopup
update : Msg -> Model -> Model
update msg model =
case msg of
NoOp ->
model
ShowPopup popupType title ->
{ model | isPopupOpen = True, popupType = popupType, title = title }
HidePopup ->
{ model | isPopupOpen = False }
-- VIEW
renderPopup : Model -> String -> Html Msg
renderPopup model classname =
case model.popupType of
EmptyPopup ->
div [] []
EditPopup ->
renderEditPopup model classname
CreatePopup ->
renderCreatePopup model classname
DeletePopup ->
renderDeletePopup model classname
renderEditPopup : Model -> String -> Html Msg
renderEditPopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, input [ class "popup_input" ] [ text "Write <NAME>" ]
, button [ class "btn primary" ] [ text "Confirmer" ]
]
]
renderCreatePopup : Model -> String -> Html Msg
renderCreatePopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, input [ class "popup_input" ] [ text "Write <NAME>" ]
, button [ class "btn primary" ] [ text "Confirmer" ]
]
]
renderDeletePopup : Model -> String -> Html Msg
renderDeletePopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, div [ class "buttons_container" ]
[ button [ class "btn danger" ] [ text "Annuler" ]
, button [ class "btn primary" ] [ text "Supprimer" ]
]
]
]
view : Model -> Html Msg
view model =
case model.isPopupOpen of
True ->
renderPopup model "popup_overlay"
False ->
renderPopup model "popup_overlay hidden" | true | module Popup exposing (init, update, Msg(..), Model, view, PopupType(..))
import Html exposing (Html, div, text, p, button, input)
import Html.Events exposing (onClick, onInput)
import Html.Attributes exposing (class, href)
-- MODEL
type PopupType
= EmptyPopup
| EditPopup
| CreatePopup
| DeletePopup
type alias Model =
{ title : String
, isPopupOpen : Bool
, popupType : PopupType
}
init : Model
init =
{ title = "Test"
, isPopupOpen = False
, popupType = EmptyPopup
}
-- UPDATE
type Msg
= NoOp
| ShowPopup PopupType String
| HidePopup
update : Msg -> Model -> Model
update msg model =
case msg of
NoOp ->
model
ShowPopup popupType title ->
{ model | isPopupOpen = True, popupType = popupType, title = title }
HidePopup ->
{ model | isPopupOpen = False }
-- VIEW
renderPopup : Model -> String -> Html Msg
renderPopup model classname =
case model.popupType of
EmptyPopup ->
div [] []
EditPopup ->
renderEditPopup model classname
CreatePopup ->
renderCreatePopup model classname
DeletePopup ->
renderDeletePopup model classname
renderEditPopup : Model -> String -> Html Msg
renderEditPopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, input [ class "popup_input" ] [ text "Write PI:NAME:<NAME>END_PI" ]
, button [ class "btn primary" ] [ text "Confirmer" ]
]
]
renderCreatePopup : Model -> String -> Html Msg
renderCreatePopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, input [ class "popup_input" ] [ text "Write PI:NAME:<NAME>END_PI" ]
, button [ class "btn primary" ] [ text "Confirmer" ]
]
]
renderDeletePopup : Model -> String -> Html Msg
renderDeletePopup model classname =
div [ class classname ]
[ div [ class "popup_container" ]
[ button [ class "btn icon icon_close", onClick HidePopup ] []
, p [ class "popup_title"] [ text model.title ]
, div [ class "buttons_container" ]
[ button [ class "btn danger" ] [ text "Annuler" ]
, button [ class "btn primary" ] [ text "Supprimer" ]
]
]
]
view : Model -> Html Msg
view model =
case model.isPopupOpen of
True ->
renderPopup model "popup_overlay"
False ->
renderPopup model "popup_overlay hidden" | elm |
[
{
"context": "st\n [ (\"bestPersonEver\", E.string \"Evan Czaplicki\")\n , (\"worstLang\", E.string \"JavaS",
"end": 481,
"score": 0.9997723699,
"start": 467,
"tag": "NAME",
"value": "Evan Czaplicki"
},
{
"context": " E.list\n [ encodeName <| Name \"Dul\" \"Bana\"\n , encodeName <| Name ",
"end": 673,
"score": 0.9995344281,
"start": 670,
"tag": "NAME",
"value": "Dul"
},
{
"context": "t\n [ encodeName <| Name \"Dul\" \"Bana\"\n , encodeName <| Name \"Patric",
"end": 680,
"score": 0.9983699322,
"start": 676,
"tag": "NAME",
"value": "Bana"
},
{
"context": " \"Bana\"\n , encodeName <| Name \"Patrick\" \"Enis\"\n ] )\n ,",
"end": 731,
"score": 0.9996669888,
"start": 724,
"tag": "NAME",
"value": "Patrick"
},
{
"context": " , encodeName <| Name \"Patrick\" \"Enis\"\n ] )\n , (\"Seve",
"end": 738,
"score": 0.9766435623,
"start": 734,
"tag": "NAME",
"value": "Enis"
},
{
"context": " ( Dict <| Dict.fromList [(\"first\", String \"Evan\"), (\"last\", String \"Czaplicki\")] )\n ",
"end": 3120,
"score": 0.999322176,
"start": 3116,
"tag": "NAME",
"value": "Evan"
},
{
"context": "mList [(\"first\", String \"Evan\"), (\"last\", String \"Czaplicki\")] )\n |> D.decodeValue\n ",
"end": 3150,
"score": 0.9995476007,
"start": 3141,
"tag": "NAME",
"value": "Czaplicki"
},
{
"context": " |> Expect.equal ( Ok <| Name \"Evan\" \"Czaplicki\" )\n\n , describe \"Pipeline\"",
"end": 3424,
"score": 0.999497056,
"start": 3420,
"tag": "NAME",
"value": "Evan"
},
{
"context": " |> Expect.equal ( Ok <| Name \"Evan\" \"Czaplicki\" )\n\n , describe \"Pipeline\"\n ",
"end": 3436,
"score": 0.9995999336,
"start": 3427,
"tag": "NAME",
"value": "Czaplicki"
},
{
"context": "ict.fromList\n [ (\"bestPersonEver\", String \"Evan Czaplicki\")\n , (\"worstLang\", String \"JavaScript\")\n ",
"end": 4629,
"score": 0.9997921586,
"start": 4615,
"tag": "NAME",
"value": "Evan Czaplicki"
},
{
"context": " [ Dict <| Dict.fromList [(\"firstName\", String \"Dul\"), (\"lastName\", String \"Bana\")]\n , Dic",
"end": 4809,
"score": 0.9998354912,
"start": 4806,
"tag": "NAME",
"value": "Dul"
},
{
"context": "(\"firstName\", String \"Dul\"), (\"lastName\", String \"Bana\")]\n , Dict <| Dict.fromList [(\"firstNa",
"end": 4838,
"score": 0.9989315271,
"start": 4834,
"tag": "NAME",
"value": "Bana"
},
{
"context": " , Dict <| Dict.fromList [(\"firstName\", String \"Patrick\"), (\"lastName\", String \"Enis\")]\n ] )\n ",
"end": 4908,
"score": 0.9998411536,
"start": 4901,
"tag": "NAME",
"value": "Patrick"
},
{
"context": "rstName\", String \"Patrick\"), (\"lastName\", String \"Enis\")]\n ] )\n , (\"Seven\", Integer 7)",
"end": 4937,
"score": 0.9998075962,
"start": 4933,
"tag": "NAME",
"value": "Enis"
},
{
"context": " , (\"bestPersonEver\", el \"string\" \"Evan Czaplicki\")\n , (\"bytes\", el \"data\" \"SSBsb3Zl",
"end": 5824,
"score": 0.9997503161,
"start": 5810,
"tag": "NAME",
"value": "Evan Czaplicki"
},
{
"context": " [ (\"firstName\", el \"string\" \"Dul\")\n , (\"lastName\", el \"stri",
"end": 6082,
"score": 0.9998245835,
"start": 6079,
"tag": "NAME",
"value": "Dul"
},
{
"context": " , (\"lastName\", el \"string\" \"Bana\")\n ]\n ,",
"end": 6141,
"score": 0.9990222454,
"start": 6137,
"tag": "NAME",
"value": "Bana"
},
{
"context": " [ (\"firstName\", el \"string\" \"Patrick\")\n , (\"lastName\", el \"stri",
"end": 6257,
"score": 0.9998110533,
"start": 6250,
"tag": "NAME",
"value": "Patrick"
},
{
"context": " , (\"lastName\", el \"string\" \"Enis\")\n ]\n ]",
"end": 6316,
"score": 0.9997507334,
"start": 6312,
"tag": "NAME",
"value": "Enis"
}
] | tests/Tests.elm | dullbananas/elm-plist | 2 | module Tests exposing (suite)
import Expect exposing (Expectation)
import Test exposing (..)
import Dict
import XmlParser as X
import Bytes.Encode
import Bytes exposing (Bytes)
import Plist.Internal exposing (Value(..))
import Plist.Encode as E
import Plist.Decode as D
import Plist.Decode.Pipeline as P
import Plist
suite : Test
suite =
describe "Plist"
[ test "Encode" <| \_ ->
E.dictList
[ ("bestPersonEver", E.string "Evan Czaplicki")
, ("worstLang", E.string "JavaScript")
, ("javascriptIsGood", E.bool False)
, ("people", E.list
[ encodeName <| Name "Dul" "Bana"
, encodeName <| Name "Patrick" "Enis"
] )
, ("Seven", E.integer 7)
, ("OneTenth", E.real 0.1)
, ("bytes", E.data testBytes)
]
|> Expect.equal plist0
, describe "Encode.encode*"
[ test "xml" <| \_ ->
plist0
|> E.encodeXml
|> Expect.equal xml0
]
, describe "Decode"
[ test "string" <| \_ ->
String "I <3 ryl"
|> D.decodeValue D.string
|> Expect.equal ( Ok "I <3 ryl" )
, test "string (wrong type)" <| \_ ->
Bool True
|> D.decodeValue D.string
|> Expect.equal ( Err <| D.WrongType <| Bool True )
, test "bool" <| \_ ->
Bool True
|> D.decodeValue D.bool
|> Expect.equal ( Ok True )
, test "value" <| \_ ->
String "I miss ryl"
|> D.decodeValue D.value
|> Expect.equal ( Ok <| String "I miss ryl" )
, test "string list" <| \_ ->
Array [ String "I", String "love", String "Ryl" ]
|> D.decodeValue ( D.list D.string )
|> Expect.equal ( Ok [ "I", "love", "Ryl" ] )
, test "field" <| \_ ->
( Dict <| Dict.fromList [("foo", String "<3"), ("bar", String "ryl")] )
|> D.decodeValue ( D.field "foo" D.string )
|> Expect.equal ( Ok "<3" )
, test "succeed" <| \_ ->
String "thing"
|> D.decodeValue ( D.succeed "Boomer" )
|> Expect.equal ( Ok "Boomer" )
, test "fail" <| \_ ->
String "AAAAAAAA"
|> D.decodeValue ( D.fail "Too much screaming" )
|> Expect.equal ( Err <| D.Failure "Too much screaming" <| String "AAAAAAAA" )
, test "andThen" <| \_ ->
String "AAA"
|> D.decodeValue
( D.string |> D.andThen (\text -> if text == "AAA" then D.succeed 40 else D.fail "no") )
|> Expect.equal ( Ok 40 )
, test "map2" <| \_ ->
( Dict <| Dict.fromList [("first", String "Evan"), ("last", String "Czaplicki")] )
|> D.decodeValue
( D.map2 Name
( D.field "first" D.string )
( D.field "last" D.string )
)
|> Expect.equal ( Ok <| Name "Evan" "Czaplicki" )
, describe "Pipeline"
[ test "required" <| \_ ->
( Dict <| Dict.fromList
[ ("city", String "Sacramento")
, ("state", String "California")
, ("country", String "United States")
]
) |> D.decodeValue
( D.succeed Place
|> P.required "city" D.string
|> P.required "state" D.string
|> P.required "country" D.string
) |> Expect.equal
( Ok <| Place "Sacramento" "California" "United States" )
]
]
]
type alias Place =
{ city : String
, state : String
, country : String
}
type alias Name =
{ first : String
, last : String
}
encodeName : Name -> Plist.Value
encodeName name =
E.dict <| Dict.fromList
[ ("firstName", E.string name.first)
, ("lastName", E.string name.last)
]
plist0 : Plist.Value
plist0 =
Dict <| Dict.fromList
[ ("bestPersonEver", String "Evan Czaplicki")
, ("worstLang", String "JavaScript")
, ("javascriptIsGood", Bool False)
, ("people", Array
[ Dict <| Dict.fromList [("firstName", String "Dul"), ("lastName", String "Bana")]
, Dict <| Dict.fromList [("firstName", String "Patrick"), ("lastName", String "Enis")]
] )
, ("Seven", Integer 7)
, ("OneTenth", Real 0.1)
, ("bytes", Data <| Bytes.Encode.encode <| Bytes.Encode.string "I love Elm")
]
xml0 : X.Xml
xml0 =
{ processingInstructions =
List.singleton
{ name = "xml"
, value = "version=\"1.0\" encoding=\"UTF-8\""
}
, docType =
Just
{ rootElementName = "plist"
, definition =
X.Public
"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"
Nothing
}
, root =
X.Element "plist" [ X.Attribute "version" "1.0" ]
[ dict
[ ("OneTenth", el "real" "0.1")
, ("Seven", el "integer" "7")
, ("bestPersonEver", el "string" "Evan Czaplicki")
, ("bytes", el "data" "SSBsb3ZlIEVsbQ==")
, ("javascriptIsGood", X.Element "false" [] [])
, ("people", X.Element "array" []
[ dict
[ ("firstName", el "string" "Dul")
, ("lastName", el "string" "Bana")
]
, dict
[ ("firstName", el "string" "Patrick")
, ("lastName", el "string" "Enis")
]
]
)
, ("worstLang", el "string" "JavaScript")
]
]
}
testBytes : Bytes
testBytes =
"I love Elm"
|> Bytes.Encode.string
|> Bytes.Encode.encode
el : String -> String -> X.Node
el name content =
X.Element name [] [ X.Text content ]
dict : List ( String, X.Node ) -> X.Node
dict =
List.map ( \( key, val ) ->
[ X.Element "key" [] [ X.Text key ], val ]
)
>> List.concat
>> X.Element "dict" []
| 58002 | module Tests exposing (suite)
import Expect exposing (Expectation)
import Test exposing (..)
import Dict
import XmlParser as X
import Bytes.Encode
import Bytes exposing (Bytes)
import Plist.Internal exposing (Value(..))
import Plist.Encode as E
import Plist.Decode as D
import Plist.Decode.Pipeline as P
import Plist
suite : Test
suite =
describe "Plist"
[ test "Encode" <| \_ ->
E.dictList
[ ("bestPersonEver", E.string "<NAME>")
, ("worstLang", E.string "JavaScript")
, ("javascriptIsGood", E.bool False)
, ("people", E.list
[ encodeName <| Name "<NAME>" "<NAME>"
, encodeName <| Name "<NAME>" "<NAME>"
] )
, ("Seven", E.integer 7)
, ("OneTenth", E.real 0.1)
, ("bytes", E.data testBytes)
]
|> Expect.equal plist0
, describe "Encode.encode*"
[ test "xml" <| \_ ->
plist0
|> E.encodeXml
|> Expect.equal xml0
]
, describe "Decode"
[ test "string" <| \_ ->
String "I <3 ryl"
|> D.decodeValue D.string
|> Expect.equal ( Ok "I <3 ryl" )
, test "string (wrong type)" <| \_ ->
Bool True
|> D.decodeValue D.string
|> Expect.equal ( Err <| D.WrongType <| Bool True )
, test "bool" <| \_ ->
Bool True
|> D.decodeValue D.bool
|> Expect.equal ( Ok True )
, test "value" <| \_ ->
String "I miss ryl"
|> D.decodeValue D.value
|> Expect.equal ( Ok <| String "I miss ryl" )
, test "string list" <| \_ ->
Array [ String "I", String "love", String "Ryl" ]
|> D.decodeValue ( D.list D.string )
|> Expect.equal ( Ok [ "I", "love", "Ryl" ] )
, test "field" <| \_ ->
( Dict <| Dict.fromList [("foo", String "<3"), ("bar", String "ryl")] )
|> D.decodeValue ( D.field "foo" D.string )
|> Expect.equal ( Ok "<3" )
, test "succeed" <| \_ ->
String "thing"
|> D.decodeValue ( D.succeed "Boomer" )
|> Expect.equal ( Ok "Boomer" )
, test "fail" <| \_ ->
String "AAAAAAAA"
|> D.decodeValue ( D.fail "Too much screaming" )
|> Expect.equal ( Err <| D.Failure "Too much screaming" <| String "AAAAAAAA" )
, test "andThen" <| \_ ->
String "AAA"
|> D.decodeValue
( D.string |> D.andThen (\text -> if text == "AAA" then D.succeed 40 else D.fail "no") )
|> Expect.equal ( Ok 40 )
, test "map2" <| \_ ->
( Dict <| Dict.fromList [("first", String "<NAME>"), ("last", String "<NAME>")] )
|> D.decodeValue
( D.map2 Name
( D.field "first" D.string )
( D.field "last" D.string )
)
|> Expect.equal ( Ok <| Name "<NAME>" "<NAME>" )
, describe "Pipeline"
[ test "required" <| \_ ->
( Dict <| Dict.fromList
[ ("city", String "Sacramento")
, ("state", String "California")
, ("country", String "United States")
]
) |> D.decodeValue
( D.succeed Place
|> P.required "city" D.string
|> P.required "state" D.string
|> P.required "country" D.string
) |> Expect.equal
( Ok <| Place "Sacramento" "California" "United States" )
]
]
]
type alias Place =
{ city : String
, state : String
, country : String
}
type alias Name =
{ first : String
, last : String
}
encodeName : Name -> Plist.Value
encodeName name =
E.dict <| Dict.fromList
[ ("firstName", E.string name.first)
, ("lastName", E.string name.last)
]
plist0 : Plist.Value
plist0 =
Dict <| Dict.fromList
[ ("bestPersonEver", String "<NAME>")
, ("worstLang", String "JavaScript")
, ("javascriptIsGood", Bool False)
, ("people", Array
[ Dict <| Dict.fromList [("firstName", String "<NAME>"), ("lastName", String "<NAME>")]
, Dict <| Dict.fromList [("firstName", String "<NAME>"), ("lastName", String "<NAME>")]
] )
, ("Seven", Integer 7)
, ("OneTenth", Real 0.1)
, ("bytes", Data <| Bytes.Encode.encode <| Bytes.Encode.string "I love Elm")
]
xml0 : X.Xml
xml0 =
{ processingInstructions =
List.singleton
{ name = "xml"
, value = "version=\"1.0\" encoding=\"UTF-8\""
}
, docType =
Just
{ rootElementName = "plist"
, definition =
X.Public
"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"
Nothing
}
, root =
X.Element "plist" [ X.Attribute "version" "1.0" ]
[ dict
[ ("OneTenth", el "real" "0.1")
, ("Seven", el "integer" "7")
, ("bestPersonEver", el "string" "<NAME>")
, ("bytes", el "data" "SSBsb3ZlIEVsbQ==")
, ("javascriptIsGood", X.Element "false" [] [])
, ("people", X.Element "array" []
[ dict
[ ("firstName", el "string" "<NAME>")
, ("lastName", el "string" "<NAME>")
]
, dict
[ ("firstName", el "string" "<NAME>")
, ("lastName", el "string" "<NAME>")
]
]
)
, ("worstLang", el "string" "JavaScript")
]
]
}
testBytes : Bytes
testBytes =
"I love Elm"
|> Bytes.Encode.string
|> Bytes.Encode.encode
el : String -> String -> X.Node
el name content =
X.Element name [] [ X.Text content ]
dict : List ( String, X.Node ) -> X.Node
dict =
List.map ( \( key, val ) ->
[ X.Element "key" [] [ X.Text key ], val ]
)
>> List.concat
>> X.Element "dict" []
| true | module Tests exposing (suite)
import Expect exposing (Expectation)
import Test exposing (..)
import Dict
import XmlParser as X
import Bytes.Encode
import Bytes exposing (Bytes)
import Plist.Internal exposing (Value(..))
import Plist.Encode as E
import Plist.Decode as D
import Plist.Decode.Pipeline as P
import Plist
suite : Test
suite =
describe "Plist"
[ test "Encode" <| \_ ->
E.dictList
[ ("bestPersonEver", E.string "PI:NAME:<NAME>END_PI")
, ("worstLang", E.string "JavaScript")
, ("javascriptIsGood", E.bool False)
, ("people", E.list
[ encodeName <| Name "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"
, encodeName <| Name "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"
] )
, ("Seven", E.integer 7)
, ("OneTenth", E.real 0.1)
, ("bytes", E.data testBytes)
]
|> Expect.equal plist0
, describe "Encode.encode*"
[ test "xml" <| \_ ->
plist0
|> E.encodeXml
|> Expect.equal xml0
]
, describe "Decode"
[ test "string" <| \_ ->
String "I <3 ryl"
|> D.decodeValue D.string
|> Expect.equal ( Ok "I <3 ryl" )
, test "string (wrong type)" <| \_ ->
Bool True
|> D.decodeValue D.string
|> Expect.equal ( Err <| D.WrongType <| Bool True )
, test "bool" <| \_ ->
Bool True
|> D.decodeValue D.bool
|> Expect.equal ( Ok True )
, test "value" <| \_ ->
String "I miss ryl"
|> D.decodeValue D.value
|> Expect.equal ( Ok <| String "I miss ryl" )
, test "string list" <| \_ ->
Array [ String "I", String "love", String "Ryl" ]
|> D.decodeValue ( D.list D.string )
|> Expect.equal ( Ok [ "I", "love", "Ryl" ] )
, test "field" <| \_ ->
( Dict <| Dict.fromList [("foo", String "<3"), ("bar", String "ryl")] )
|> D.decodeValue ( D.field "foo" D.string )
|> Expect.equal ( Ok "<3" )
, test "succeed" <| \_ ->
String "thing"
|> D.decodeValue ( D.succeed "Boomer" )
|> Expect.equal ( Ok "Boomer" )
, test "fail" <| \_ ->
String "AAAAAAAA"
|> D.decodeValue ( D.fail "Too much screaming" )
|> Expect.equal ( Err <| D.Failure "Too much screaming" <| String "AAAAAAAA" )
, test "andThen" <| \_ ->
String "AAA"
|> D.decodeValue
( D.string |> D.andThen (\text -> if text == "AAA" then D.succeed 40 else D.fail "no") )
|> Expect.equal ( Ok 40 )
, test "map2" <| \_ ->
( Dict <| Dict.fromList [("first", String "PI:NAME:<NAME>END_PI"), ("last", String "PI:NAME:<NAME>END_PI")] )
|> D.decodeValue
( D.map2 Name
( D.field "first" D.string )
( D.field "last" D.string )
)
|> Expect.equal ( Ok <| Name "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" )
, describe "Pipeline"
[ test "required" <| \_ ->
( Dict <| Dict.fromList
[ ("city", String "Sacramento")
, ("state", String "California")
, ("country", String "United States")
]
) |> D.decodeValue
( D.succeed Place
|> P.required "city" D.string
|> P.required "state" D.string
|> P.required "country" D.string
) |> Expect.equal
( Ok <| Place "Sacramento" "California" "United States" )
]
]
]
type alias Place =
{ city : String
, state : String
, country : String
}
type alias Name =
{ first : String
, last : String
}
encodeName : Name -> Plist.Value
encodeName name =
E.dict <| Dict.fromList
[ ("firstName", E.string name.first)
, ("lastName", E.string name.last)
]
plist0 : Plist.Value
plist0 =
Dict <| Dict.fromList
[ ("bestPersonEver", String "PI:NAME:<NAME>END_PI")
, ("worstLang", String "JavaScript")
, ("javascriptIsGood", Bool False)
, ("people", Array
[ Dict <| Dict.fromList [("firstName", String "PI:NAME:<NAME>END_PI"), ("lastName", String "PI:NAME:<NAME>END_PI")]
, Dict <| Dict.fromList [("firstName", String "PI:NAME:<NAME>END_PI"), ("lastName", String "PI:NAME:<NAME>END_PI")]
] )
, ("Seven", Integer 7)
, ("OneTenth", Real 0.1)
, ("bytes", Data <| Bytes.Encode.encode <| Bytes.Encode.string "I love Elm")
]
xml0 : X.Xml
xml0 =
{ processingInstructions =
List.singleton
{ name = "xml"
, value = "version=\"1.0\" encoding=\"UTF-8\""
}
, docType =
Just
{ rootElementName = "plist"
, definition =
X.Public
"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"
Nothing
}
, root =
X.Element "plist" [ X.Attribute "version" "1.0" ]
[ dict
[ ("OneTenth", el "real" "0.1")
, ("Seven", el "integer" "7")
, ("bestPersonEver", el "string" "PI:NAME:<NAME>END_PI")
, ("bytes", el "data" "SSBsb3ZlIEVsbQ==")
, ("javascriptIsGood", X.Element "false" [] [])
, ("people", X.Element "array" []
[ dict
[ ("firstName", el "string" "PI:NAME:<NAME>END_PI")
, ("lastName", el "string" "PI:NAME:<NAME>END_PI")
]
, dict
[ ("firstName", el "string" "PI:NAME:<NAME>END_PI")
, ("lastName", el "string" "PI:NAME:<NAME>END_PI")
]
]
)
, ("worstLang", el "string" "JavaScript")
]
]
}
testBytes : Bytes
testBytes =
"I love Elm"
|> Bytes.Encode.string
|> Bytes.Encode.encode
el : String -> String -> X.Node
el name content =
X.Element name [] [ X.Text content ]
dict : List ( String, X.Node ) -> X.Node
dict =
List.map ( \( key, val ) ->
[ X.Element "key" [] [ X.Text key ], val ]
)
>> List.concat
>> X.Element "dict" []
| elm |
[
{
"context": "{-\n Copyright 2020 Morgan Stanley\n\n Licensed under the Apache License, Version 2.",
"end": 35,
"score": 0.9998197556,
"start": 21,
"tag": "NAME",
"value": "Morgan Stanley"
}
] | src/Morphir/SDK/LocalTime.elm | KindsonTheGenius/morphir-elm | 6 | {-
Copyright 2020 Morgan Stanley
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.
-}
module Morphir.SDK.LocalTime exposing
( fromMilliseconds
, addHours
, addMinutes
, addSeconds
, diffInHours
, diffInMinutes
, diffInSeconds
, fromISO
, LocalTime
)
{-| This module adds the definition of basic time without time zones.
# Types
@docs LocalTime
# Time Math
@docs addHours
@docs addMinutes
@docs addSeconds
@docs diffInHours
@docs diffInMinutes
@docs diffInSeconds
# Constructors
@docs fromISO
@docs fromMilliseconds
-}
import Iso8601 exposing (toTime)
import Time exposing (Posix, millisToPosix, posixToMillis)
{-| Concept of time without time zones.
-}
type alias LocalTime =
Posix
{-| Add the given hours to a given time
-}
addHours : Int -> LocalTime -> LocalTime
addHours hrs time =
millisToPosix <|
posixToMillis time
+ (3600000 * hrs)
{-| Add the given minutes to a given time.
-}
addMinutes : Int -> LocalTime -> LocalTime
addMinutes minutes time =
millisToPosix <|
posixToMillis time
+ (minutes * 60000)
{-| Add the given seconds to a given time.
-}
addSeconds : Int -> LocalTime -> LocalTime
addSeconds seconds time =
millisToPosix <|
posixToMillis time
+ (seconds * 1000)
{-| Find the difference of give times in hours
-}
diffInHours : LocalTime -> LocalTime -> Int
diffInHours timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 3600000
{-| Find the difference of give times in minutes
-}
diffInMinutes : LocalTime -> LocalTime -> Int
diffInMinutes timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 60000
{-| Find the difference of give times in minutes
-}
diffInSeconds : LocalTime -> LocalTime -> Int
diffInSeconds timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 1000
{-| Construct a LocalTime based on ISO formatted string. Opportunity for error denoted by Maybe return type.
-}
fromISO : String -> Maybe LocalTime
fromISO iso =
Result.toMaybe <|
toTime iso
{-| Construct a LocalTime based on number of milliseconds from epoch. Opportunity for error denoted by Maybe return type.
-}
fromMilliseconds : Int -> LocalTime
fromMilliseconds millis =
millisToPosix millis
| 23629 | {-
Copyright 2020 <NAME>
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.
-}
module Morphir.SDK.LocalTime exposing
( fromMilliseconds
, addHours
, addMinutes
, addSeconds
, diffInHours
, diffInMinutes
, diffInSeconds
, fromISO
, LocalTime
)
{-| This module adds the definition of basic time without time zones.
# Types
@docs LocalTime
# Time Math
@docs addHours
@docs addMinutes
@docs addSeconds
@docs diffInHours
@docs diffInMinutes
@docs diffInSeconds
# Constructors
@docs fromISO
@docs fromMilliseconds
-}
import Iso8601 exposing (toTime)
import Time exposing (Posix, millisToPosix, posixToMillis)
{-| Concept of time without time zones.
-}
type alias LocalTime =
Posix
{-| Add the given hours to a given time
-}
addHours : Int -> LocalTime -> LocalTime
addHours hrs time =
millisToPosix <|
posixToMillis time
+ (3600000 * hrs)
{-| Add the given minutes to a given time.
-}
addMinutes : Int -> LocalTime -> LocalTime
addMinutes minutes time =
millisToPosix <|
posixToMillis time
+ (minutes * 60000)
{-| Add the given seconds to a given time.
-}
addSeconds : Int -> LocalTime -> LocalTime
addSeconds seconds time =
millisToPosix <|
posixToMillis time
+ (seconds * 1000)
{-| Find the difference of give times in hours
-}
diffInHours : LocalTime -> LocalTime -> Int
diffInHours timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 3600000
{-| Find the difference of give times in minutes
-}
diffInMinutes : LocalTime -> LocalTime -> Int
diffInMinutes timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 60000
{-| Find the difference of give times in minutes
-}
diffInSeconds : LocalTime -> LocalTime -> Int
diffInSeconds timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 1000
{-| Construct a LocalTime based on ISO formatted string. Opportunity for error denoted by Maybe return type.
-}
fromISO : String -> Maybe LocalTime
fromISO iso =
Result.toMaybe <|
toTime iso
{-| Construct a LocalTime based on number of milliseconds from epoch. Opportunity for error denoted by Maybe return type.
-}
fromMilliseconds : Int -> LocalTime
fromMilliseconds millis =
millisToPosix millis
| true | {-
Copyright 2020 PI:NAME:<NAME>END_PI
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.
-}
module Morphir.SDK.LocalTime exposing
( fromMilliseconds
, addHours
, addMinutes
, addSeconds
, diffInHours
, diffInMinutes
, diffInSeconds
, fromISO
, LocalTime
)
{-| This module adds the definition of basic time without time zones.
# Types
@docs LocalTime
# Time Math
@docs addHours
@docs addMinutes
@docs addSeconds
@docs diffInHours
@docs diffInMinutes
@docs diffInSeconds
# Constructors
@docs fromISO
@docs fromMilliseconds
-}
import Iso8601 exposing (toTime)
import Time exposing (Posix, millisToPosix, posixToMillis)
{-| Concept of time without time zones.
-}
type alias LocalTime =
Posix
{-| Add the given hours to a given time
-}
addHours : Int -> LocalTime -> LocalTime
addHours hrs time =
millisToPosix <|
posixToMillis time
+ (3600000 * hrs)
{-| Add the given minutes to a given time.
-}
addMinutes : Int -> LocalTime -> LocalTime
addMinutes minutes time =
millisToPosix <|
posixToMillis time
+ (minutes * 60000)
{-| Add the given seconds to a given time.
-}
addSeconds : Int -> LocalTime -> LocalTime
addSeconds seconds time =
millisToPosix <|
posixToMillis time
+ (seconds * 1000)
{-| Find the difference of give times in hours
-}
diffInHours : LocalTime -> LocalTime -> Int
diffInHours timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 3600000
{-| Find the difference of give times in minutes
-}
diffInMinutes : LocalTime -> LocalTime -> Int
diffInMinutes timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 60000
{-| Find the difference of give times in minutes
-}
diffInSeconds : LocalTime -> LocalTime -> Int
diffInSeconds timeA timeB =
(posixToMillis timeA - posixToMillis timeB) // 1000
{-| Construct a LocalTime based on ISO formatted string. Opportunity for error denoted by Maybe return type.
-}
fromISO : String -> Maybe LocalTime
fromISO iso =
Result.toMaybe <|
toTime iso
{-| Construct a LocalTime based on number of milliseconds from epoch. Opportunity for error denoted by Maybe return type.
-}
fromMilliseconds : Int -> LocalTime
fromMilliseconds millis =
millisToPosix millis
| elm |
[
{
"context": "YhLH\"\n\n\ngoogleApiKey : String\ngoogleApiKey =\n \"AIzaSyDkTKtIGxMcyLX2IsfTpCvYr4n7WmMw3Jw\"\n\n\nmaxVideoDescriptionLength : Int\nmaxVideoDescri",
"end": 264,
"score": 0.9997653961,
"start": 225,
"tag": "KEY",
"value": "AIzaSyDkTKtIGxMcyLX2IsfTpCvYr4n7WmMw3Jw"
}
] | app/src/VideoPlayer/State.elm | code-star/codestar-events-website | 0 | module VideoPlayer.State exposing (..)
import Http
import VideoPlayer.Types exposing (..)
youtubePlaylistId : String
youtubePlaylistId =
"PLy227h3xpH-FcHw79drVFiVGMRDU8YhLH"
googleApiKey : String
googleApiKey =
"AIzaSyDkTKtIGxMcyLX2IsfTpCvYr4n7WmMw3Jw"
maxVideoDescriptionLength : Int
maxVideoDescriptionLength =
50
initialModel : Model
initialModel =
{ message = "Please select a video!"
, videos = []
, selectedVideoId = "Dl5eCpaT430"
}
| 13771 | module VideoPlayer.State exposing (..)
import Http
import VideoPlayer.Types exposing (..)
youtubePlaylistId : String
youtubePlaylistId =
"PLy227h3xpH-FcHw79drVFiVGMRDU8YhLH"
googleApiKey : String
googleApiKey =
"<KEY>"
maxVideoDescriptionLength : Int
maxVideoDescriptionLength =
50
initialModel : Model
initialModel =
{ message = "Please select a video!"
, videos = []
, selectedVideoId = "Dl5eCpaT430"
}
| true | module VideoPlayer.State exposing (..)
import Http
import VideoPlayer.Types exposing (..)
youtubePlaylistId : String
youtubePlaylistId =
"PLy227h3xpH-FcHw79drVFiVGMRDU8YhLH"
googleApiKey : String
googleApiKey =
"PI:KEY:<KEY>END_PI"
maxVideoDescriptionLength : Int
maxVideoDescriptionLength =
50
initialModel : Model
initialModel =
{ message = "Please select a video!"
, videos = []
, selectedVideoId = "Dl5eCpaT430"
}
| elm |
[
{
"context": " always <|\n Expect.equal \"MrBond\" <|\n sanitize \" Mr. Bond \"",
"end": 1968,
"score": 0.6837217212,
"start": 1962,
"tag": "USERNAME",
"value": "MrBond"
},
{
"context": "ual \"MrBond\" <|\n sanitize \" Mr. Bond \"\n , test \"allows ALLCAPS\" <|\n ",
"end": 2016,
"score": 0.8580889106,
"start": 2008,
"tag": "NAME",
"value": "Mr. Bond"
}
] | tests/Unit/Codegen/Utils.elm | kirchner/swagger-elm | 75 | module Unit.Codegen.Utils exposing (all)
import Test exposing (..)
import Expect exposing (Expectation, fail)
import Json.Decode exposing (decodeString)
import Codegen.Utils exposing (sanitize)
dirtyKeywords =
[ "if"
, "then"
, "else"
, "case"
, "of"
, "let"
, "in"
, "type"
, "module"
, "where"
, "import"
, "exposing"
, "as"
, "port"
, "infix"
, "infixl"
, "infixr"
]
cleanKeywords =
[ "if_"
, "then_"
, "else_"
, "case_"
, "of_"
, "let_"
, "in_"
, "type_"
, "module_"
, "where_"
, "import_"
, "exposing_"
, "as_"
, "port_"
, "infix_"
, "infixl_"
, "infixr_"
]
all : Test
all =
describe "Decoder"
[ describe "sanitize"
[ test "removes symbols" <|
always <|
Expect.equal "ref" <|
sanitize "$ref$!?+\"´`¨'*#%<>`/\\"
, test "allows unicode letters" <|
always <|
Expect.equal "örjan" <|
sanitize "örjan"
, test "strips leading modifier or other letters" <|
always <|
Expect.equal "öʰƻrjan" <|
sanitize "ʰƻöʰƻrjan"
, test "allows underscore, but not leading" <|
always <|
Expect.equal "under_score" <|
sanitize "_under_score"
, test "allows numerals (and fancy numerals such as Ⅶ), but not leading" <|
always <|
Expect.equal "KingGeorge0Ⅶ" <|
sanitize "Ⅶ0KingGeorge0Ⅶ"
, test "strips multiple leading invalid characters" <|
always <|
Expect.equal "aⅦ" <|
sanitize "_$ⅦaⅦ"
, test "strips spaces" <|
always <|
Expect.equal "MrBond" <|
sanitize " Mr. Bond "
, test "allows ALLCAPS" <|
always <|
Expect.equal "AAAARGGHHH" <|
sanitize "AAAARGGHHH!"
, test "appends _ to keywords" <|
always <|
Expect.equal cleanKeywords <|
List.map sanitize dirtyKeywords
]
]
| 37182 | module Unit.Codegen.Utils exposing (all)
import Test exposing (..)
import Expect exposing (Expectation, fail)
import Json.Decode exposing (decodeString)
import Codegen.Utils exposing (sanitize)
dirtyKeywords =
[ "if"
, "then"
, "else"
, "case"
, "of"
, "let"
, "in"
, "type"
, "module"
, "where"
, "import"
, "exposing"
, "as"
, "port"
, "infix"
, "infixl"
, "infixr"
]
cleanKeywords =
[ "if_"
, "then_"
, "else_"
, "case_"
, "of_"
, "let_"
, "in_"
, "type_"
, "module_"
, "where_"
, "import_"
, "exposing_"
, "as_"
, "port_"
, "infix_"
, "infixl_"
, "infixr_"
]
all : Test
all =
describe "Decoder"
[ describe "sanitize"
[ test "removes symbols" <|
always <|
Expect.equal "ref" <|
sanitize "$ref$!?+\"´`¨'*#%<>`/\\"
, test "allows unicode letters" <|
always <|
Expect.equal "örjan" <|
sanitize "örjan"
, test "strips leading modifier or other letters" <|
always <|
Expect.equal "öʰƻrjan" <|
sanitize "ʰƻöʰƻrjan"
, test "allows underscore, but not leading" <|
always <|
Expect.equal "under_score" <|
sanitize "_under_score"
, test "allows numerals (and fancy numerals such as Ⅶ), but not leading" <|
always <|
Expect.equal "KingGeorge0Ⅶ" <|
sanitize "Ⅶ0KingGeorge0Ⅶ"
, test "strips multiple leading invalid characters" <|
always <|
Expect.equal "aⅦ" <|
sanitize "_$ⅦaⅦ"
, test "strips spaces" <|
always <|
Expect.equal "MrBond" <|
sanitize " <NAME> "
, test "allows ALLCAPS" <|
always <|
Expect.equal "AAAARGGHHH" <|
sanitize "AAAARGGHHH!"
, test "appends _ to keywords" <|
always <|
Expect.equal cleanKeywords <|
List.map sanitize dirtyKeywords
]
]
| true | module Unit.Codegen.Utils exposing (all)
import Test exposing (..)
import Expect exposing (Expectation, fail)
import Json.Decode exposing (decodeString)
import Codegen.Utils exposing (sanitize)
dirtyKeywords =
[ "if"
, "then"
, "else"
, "case"
, "of"
, "let"
, "in"
, "type"
, "module"
, "where"
, "import"
, "exposing"
, "as"
, "port"
, "infix"
, "infixl"
, "infixr"
]
cleanKeywords =
[ "if_"
, "then_"
, "else_"
, "case_"
, "of_"
, "let_"
, "in_"
, "type_"
, "module_"
, "where_"
, "import_"
, "exposing_"
, "as_"
, "port_"
, "infix_"
, "infixl_"
, "infixr_"
]
all : Test
all =
describe "Decoder"
[ describe "sanitize"
[ test "removes symbols" <|
always <|
Expect.equal "ref" <|
sanitize "$ref$!?+\"´`¨'*#%<>`/\\"
, test "allows unicode letters" <|
always <|
Expect.equal "örjan" <|
sanitize "örjan"
, test "strips leading modifier or other letters" <|
always <|
Expect.equal "öʰƻrjan" <|
sanitize "ʰƻöʰƻrjan"
, test "allows underscore, but not leading" <|
always <|
Expect.equal "under_score" <|
sanitize "_under_score"
, test "allows numerals (and fancy numerals such as Ⅶ), but not leading" <|
always <|
Expect.equal "KingGeorge0Ⅶ" <|
sanitize "Ⅶ0KingGeorge0Ⅶ"
, test "strips multiple leading invalid characters" <|
always <|
Expect.equal "aⅦ" <|
sanitize "_$ⅦaⅦ"
, test "strips spaces" <|
always <|
Expect.equal "MrBond" <|
sanitize " PI:NAME:<NAME>END_PI "
, test "allows ALLCAPS" <|
always <|
Expect.equal "AAAARGGHHH" <|
sanitize "AAAARGGHHH!"
, test "appends _ to keywords" <|
always <|
Expect.equal cleanKeywords <|
List.map sanitize dirtyKeywords
]
]
| elm |
[
{
"context": " model\n\n\n\n-- View\n{-\n I chose to go with the \"mdgriffith/elm-ui\" library instead of the \"elm/html\"\n beca",
"end": 8088,
"score": 0.6531555653,
"start": 8078,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "e main reasons I picked up elm.\n\n Also relevant, Matt Griffith's talk about the elm-ui library:\n https://w",
"end": 11742,
"score": 0.9875281453,
"start": 11729,
"tag": "NAME",
"value": "Matt Griffith"
},
{
"context": "wouldn't even need to test for them.\n\n Relevant: Richard Feldman's talk \"Making Impossible States Impossible\"\n h",
"end": 26297,
"score": 0.9852259755,
"start": 26282,
"tag": "NAME",
"value": "Richard Feldman"
}
] | src/Main.elm | lawsdontapplytopigs/challenge-elm | 0 | module Main exposing (main)
import Browser
import Browser.Events
import Data.Audience
import Data.AudienceFolder
import Data.AudienceTree
import Dict
import Element as E -- elm-ui
import Element.Background as EBackground
import Element.Border as EBorder
import Element.Events as EEvents
import Element.Font as EFont
import Element.Input as EInput
import Html
import Html.Attributes
import Icons
import Json.Decode
import Palette
import Process
import Task
import Time
type alias History =
{ root : Data.AudienceTree.AudienceTree
-- this list tracks the depth that we went to into an AudienceTree
-- it takes the form of [ currentLevel, parent, grandparent, etc ]
, points : List Data.AudienceTree.AudienceTree
}
getCurrentPoint : History -> Data.AudienceTree.AudienceTree
getCurrentPoint history =
case history.points of
[] ->
history.root
x :: xs ->
x
tail history =
case history.points of
[] ->
{ root = history.root
, points = []
}
x :: xs ->
{ root = history.root
, points = xs
}
-- we could perhaps model this so that you can only make a "FolderClicked" Msg
-- or "SortBy" Msg only after the model has loaded up, but I don't think this is
-- too much of an issue
type Msg
= FolderClicked Data.AudienceTree.AudienceTree
| GoBack
| FilterBy Data.Audience.AudienceType
| GotAudiencesJSON String
| GotAudienceFoldersJSON String
| GotTime Time.Posix
-- we use dicts instead of lists because it gives us O(log n) time complexity
-- for insertion, removal and querying, as opposed to lists which would be O(n).
-- additional note: I chose to store audiences and audienceFolders separately because:
-- 1. I don't know if on the server side the IDs of the Folders
-- and the IDs of the Audiences are kept separately. This way I
-- would make sure that there's no collisions between them
-- 2. These two come from different API endpoints.
-- Audiences come from "/api/audiences" and audienceFolders come
-- from "api/audience_folders".
-- If we kept these as the same Dict, and only one result would come back,
-- the dict would look completely normal, but it wouldn't be. Things would
-- be missing.
-- So this way, it's either "everything came back, and we render the ui,
-- or we render some loading page or some error page "
type Model
= Loading LoadingModel
| Loaded LoadedModel
| JsonError Json.Decode.Error
type alias LoadingModel =
{ audiences : Maybe (Dict.Dict Int Data.Audience.Audience)
, audienceFolders : Maybe (Dict.Dict Int Data.AudienceFolder.AudienceFolder)
, time : Maybe Time.Posix
}
type alias LoadedModel =
{ categorizedAudiences : Data.AudienceTree.CategorizedAudiences
, history : Maybe History -- if there's no history, we "filter" by shared
-- according to "SECOND_STEP.md" there must be at least one category selected
-- at any time
, filterBy : Data.Audience.AudienceType
}
-- we fake an http request with a delay
fakeHttpGet : Msg -> Float -> Cmd Msg
fakeHttpGet msg time =
Task.perform (\_ -> msg) (Process.sleep time)
init : () -> ( Model, Cmd Msg )
init _ =
let
model_ =
Loading
{ audiences = Nothing
, audienceFolders = Nothing
, time = Nothing
}
-- "load" these at different times, to show that the UI works right
-- the user can't do anything with the audienceFolders and audiences
-- until both of them load
cmd_ =
Cmd.batch
[ fakeHttpGet (GotAudiencesJSON Data.Audience.audiencesJSON) 300
, fakeHttpGet (GotAudienceFoldersJSON Data.AudienceFolder.audienceFoldersJSON) 200
]
in
( model_, cmd_ )
initLoadedModel : Dict.Dict Int Data.Audience.Audience -> Dict.Dict Int Data.AudienceFolder.AudienceFolder -> LoadedModel
initLoadedModel loadedAudiences loadedAudienceFolders =
let
categorizedAudiences = Data.AudienceTree.constructCategorizedAudiences loadedAudiences loadedAudienceFolders
in
{ categorizedAudiences = categorizedAudiences
, history = Just { root = categorizedAudiences.authoredAudienceTree , points = [] }
, filterBy = Data.Audience.Authored
}
tryLoadingModelToLoaded : LoadingModel -> Model
tryLoadingModelToLoaded loadingM =
case ( loadingM.audiences, loadingM.audienceFolders ) of
( Just loadedAudiences, Just loadedAudienceFolders ) ->
Loaded (initLoadedModel loadedAudiences loadedAudienceFolders)
_ ->
Loading loadingM
-- normally, here I would return a tuple of type (Model, Cmd Msg), but since
-- in this app there's no Cmd s to run, I decided to simplify everything
-- and just return the Model
update : Msg -> Model -> Model
update msg model =
case ( msg, model ) of
( GotAudiencesJSON json, Loading loadingModel ) ->
let
audiencesDecoder : Json.Decode.Decoder (List Data.Audience.Audience)
audiencesDecoder =
Json.Decode.field "data" <|
Json.Decode.list Data.Audience.audienceDecoder
in
case Json.Decode.decodeString audiencesDecoder json of
Err err ->
JsonError err
Ok audiencesList ->
tryLoadingModelToLoaded
{ loadingModel
| audiences = Just (audiencesToDict audiencesList)
}
( GotAudienceFoldersJSON json, Loading loadingModel ) ->
let
audienceFoldersDecoder : Json.Decode.Decoder (List Data.AudienceFolder.AudienceFolder)
audienceFoldersDecoder =
Json.Decode.field "data" <|
Json.Decode.list Data.AudienceFolder.audienceFolderDecoder
in
case Json.Decode.decodeString audienceFoldersDecoder json of
Err err ->
JsonError err
Ok audienceFoldersList ->
tryLoadingModelToLoaded
{ loadingModel
| audienceFolders = Just (audienceFoldersToDict audienceFoldersList)
}
( FolderClicked sel, Loaded loadedModel ) ->
Loaded
<| case loadedModel.history of
Nothing ->
loadedModel
Just hs ->
{ loadedModel
| history = Just { hs | points = sel :: hs.points }
}
( GoBack, Loaded loadedModel ) ->
Loaded
<| case loadedModel.history of
Nothing ->
loadedModel
Just hs ->
{ loadedModel
| history = Just (tail hs)
}
( FilterBy audienceType, Loaded loadedModel ) ->
Loaded
{ loadedModel
| filterBy = audienceType
, history =
case audienceType of
Data.Audience.Authored ->
Just { root = loadedModel.categorizedAudiences.authoredAudienceTree, points = [] }
Data.Audience.Curated ->
Just { root = loadedModel.categorizedAudiences.curatedAudienceTree, points = [] }
Data.Audience.Shared ->
Nothing
}
( GotTime time, Loading loadingModel ) ->
Loading
{ loadingModel
| time = Just time
}
( _, _ ) ->
model
-- View
{-
I chose to go with the "mdgriffith/elm-ui" library instead of the "elm/html"
because of a few reasons:
1. Our UI can now be expressed in elm code, without having to write css.
Css is very tricky to do layout of your page with, whereas with elm-ui
Everything pertaining to layout is expressed in terms of rows and columns,
and designing your page from the outside in.
2. I'm very familiar with it, and have successfully used it in numerous
projects so far
3. I noticed you said that currently you use SCSS for css. By using elm-ui
there's no intermediate step for compiling styling anymore. Everything
is done directly in elm.
4. It "makes more sense". This one is hard to explain, but basically:
Doing something like:
```elm
Element.column
[ -- attributes
]
[ E.el [] <| E.text "1"
, E.el [] <| E.text "2"
, E.el [] <| E.text "3"
]
```
conveys much more meaning about what's going on. It's a vertical column
of text elements. Whereas
```elm
Html.div
[
]
[ Html.div [] [ Html.text "1" ]
, Html.div [] [ Html.text "2" ]
, Html.div [] [ Html.text "3" ]
]
```
Says nothing about its layout. Are the elements going to be displayed
verically or horisontally? Also, a "div" doesn't explain a lot about
the fact that this is supposed to only hold one single piece of text.
Should we be able to put more pieces of text in it? If yes, how are
they going to be displayed? Vertically or horisonally?
For all of this additional meaning, we have to scour our css files at
the same time.
And additionally, some things are so much more easily expressed with
elm-ui.
For example: an entire (working) empty page example that displays
centered text:
```elm
view = E.layout
[
]
<| E.el
[ E.centerX
, E.centerY
]
<| E.text "hello"
```
Which will center the text.
With css, even a simple task like this is so unintuitive that there's a
very popular thread on stack overflow on how to do it, with answers of
varying complexity that I would argue are way too cryptic for the
simplicity of the problem.
[The thread](https://stackoverflow.com/questions/114543/how-to-horizontally-center-a-div)
Possible counter arguments:
1. What if the user has javascript disabled? Then the web page won't even
display!
Answer:
My rebuttal to this is that since this is an aplication that requires
javascript to even work, this is not an issue. No point in seeing
the app if you can't use it.
Also, even if we used elm/html, and we had css separately, if javascript
doesn't run, no html nodes will even be created, so again, nothing will
be displayed. So both approaches suffer from the same problem.
It's difficult to convey through these arguments how much more joyful I am
styling my app in elm-ui versus css, but it's such a big deal for me that this
library was one of the main reasons I picked up elm.
Also relevant, Matt Griffith's talk about the elm-ui library:
https://www.youtube.com/watch?v=Ie-gqwSHQr0
-}
view : Model -> Html.Html Msg
view model =
let
content =
case model of
Loading loadingModel ->
viewLoading loadingModel
Loaded loadedModel ->
viewDashboard loadedModel
JsonError err ->
viewJsonError err
in
E.layout
-- this is the root of the page
[ EFont.family
-- we set a font family that applies globally
[ EFont.typeface Palette.font0
]
, EFont.size Palette.fontSize0 -- and a size
, EBackground.color Palette.white -- and the background color of the whole page
]
-- we split the page into a column of the content and
-- the color palette at the bottom
<| E.column
[ E.width E.fill
, E.height E.fill
]
[ E.el [ E.paddingXY 0 80, E.centerX, E.height E.fill ] content
, E.row
[ E.width E.fill
, E.alignBottom
]
<| List.map viewColor colors
]
sortButton : Data.Audience.AudienceType -> Data.Audience.AudienceType -> E.Element Msg
sortButton audienceType audienceTypeToSortBy =
let
-- the "label" is a row of the icon and the text
label =
E.row
[ E.spacing 10
, E.centerX
, E.centerY
]
[ E.el
[ E.width <| E.px 18
, E.height <| E.px 18
]
<| E.html <| Data.Audience.audienceTypeToIcon audienceType
, E.text <| Data.Audience.audienceTypeToString audienceType
]
in
EInput.button
[ EBackground.color <|
case audienceTypeToSortBy == audienceType of
True ->
Palette.color3
False ->
E.rgba 0 0 0 0
, E.width <| E.px 110
, E.height <| E.px 40
, EBorder.rounded 5
, EBorder.width 1
, EBorder.color <| Palette.color3
]
{ label = label
, onPress = Just (FilterBy audienceType)
}
-- the panel on the right hand side of the dashboard
viewSortingPanel : Data.Audience.AudienceType -> E.Element Msg
viewSortingPanel currentlySortBy =
let
buttons =
List.map
(\btn -> sortButton btn currentlySortBy)
[ Data.Audience.Authored
, Data.Audience.Curated
, Data.Audience.Shared
]
in
E.column
[ E.paddingXY 20 20
, EBorder.width 1
, EBorder.color Palette.color5
, EBackground.color Palette.gray5
, EBorder.rounded 8
, E.spacing 20
, E.alignTop
]
[ E.text "Sort by:"
, E.row
[ E.spacing 10
]
buttons
]
-- the dashboard is just the file browser and the "sorting panel" one
-- next to the other
viewDashboard : LoadedModel -> E.Element Msg
viewDashboard model =
let
audienceFolders =
case model.history of
Just hs ->
getCurrentPoint hs
|> Data.AudienceTree.getSubFolders
|> Dict.values
|> List.foldl viewFolder []
Nothing ->
[]
audiences =
case model.history of
Just hs ->
getCurrentPoint hs
|> Data.AudienceTree.getAudiences
|> List.foldl viewAudience []
Nothing ->
Debug.log "" <| List.foldl viewAudience [] model.categorizedAudiences.sharedAudiences
-- we would normally use an icon here that would represent "i" for
-- "info", but a regular text element did the job well enough
coolI : E.Element Msg
coolI =
E.el
[ E.width <| E.px 15
, E.height <| E.px 15
, EFont.color Palette.color2
]
<| E.el [ E.centerX, E.centerY ] <| E.text "i"
-- according to "FIRST_STEP.md", we should only display the "back" button
-- if we're not at the root of the tree
upperLeftBackButtonOrText : E.Element Msg
upperLeftBackButtonOrText =
case model.history of
Just hs ->
case hs.points of
[] ->
E.el
[ E.centerY
]
<| E.text upperLeftText
els ->
EInput.button
[ E.centerY
, EBackground.color Palette.color4
, EBorder.rounded 3
, E.paddingXY 7 7
]
{ onPress = Just GoBack
, label = E.text "Go Back"
}
Nothing ->
E.el
[ E.centerY
]
<| E.text upperLeftText
upperLeftText : String
upperLeftText =
case model.filterBy of
Data.Audience.Shared ->
"Displaying Shared audiences from all folders"
_ ->
"Click a folder to start browsing!"
upperRightInfoElement : E.Element Msg
upperRightInfoElement =
E.row
[ EBackground.color Palette.color4
, E.padding 5
, E.spacing 5
, EBorder.roundEach { topRight = 99, bottomRight = 99, bottomLeft = 20, topLeft = 20 }
, EFont.color Palette.gray0
]
[ E.paragraph
[ E.paddingXY 5 0
]
[ E.text "Currently sorting by "
, E.el
[ EFont.bold ]
<| E.text (Data.Audience.audienceTypeToString model.filterBy)
]
, wrapColorCircle Palette.color3 coolI
]
-- the little panel above the file browser
upperPanel : E.Element Msg
upperPanel =
E.row
[ E.height <| E.px 50
, E.paddingEach { top = 0, right = 7, bottom = 0, left = 20 }
, EBackground.color Palette.gray4
, E.width E.fill
]
[ upperLeftBackButtonOrText
, E.el [ E.alignRight ] upperRightInfoElement
]
browser : E.Element Msg
browser =
E.column
[ E.width E.fill
, E.height E.fill
, EBackground.color Palette.gray4
, E.spacing 1
, EBorder.rounded 7
, EBorder.width 1
, EBorder.color Palette.color5
-- we do this, otherwise the elements inside aren't going to respect
-- our rounded borders
, E.htmlAttribute <| Html.Attributes.style "overflow" "hidden"
]
[ upperPanel
, E.column
[ E.width E.fill
, E.height E.fill
, E.spacing 1
]
-- folders first, just like "FIRST_STEP.md" says
(audienceFolders ++ audiences )
]
in
E.row
[ E.spacing 20
]
[ E.el [ E.alignTop, E.width <| E.px 700 ] browser
, viewSortingPanel model.filterBy
]
viewFolder : Data.AudienceTree.AudienceTree -> List (E.Element Msg) -> List (E.Element Msg)
viewFolder folder acc =
let
-- we view a "folder" as a row: the icon, and the name of the folder
item =
E.row
[ E.paddingXY 15 10
, EBackground.color Palette.gray5
, EEvents.onClick (FolderClicked folder)
, EFont.color Palette.gray0
, E.width E.fill
, E.spacing 15
, E.htmlAttribute <| Html.Attributes.style "cursor" "pointer"
, E.mouseOver <| [ EBackground.color <| E.rgb255 255 255 255 ]
]
[ E.el
[ E.width <| E.px 18
, E.height <| E.px 18
]
<| E.html <| Icons.folder "#6ea4fc"
, E.text (Data.AudienceTree.getName folder)
]
in
item :: acc
viewAudience : Data.Audience.Audience -> List (E.Element Msg) -> List (E.Element Msg)
viewAudience audience acc =
let
-- we view an "audience" as a row: the icon, and the name of the audience
item =
E.row
[ E.paddingXY 15 10
, EBackground.color Palette.gray5
, E.width E.fill
, E.spacing 15
, EFont.color Palette.gray0
, E.mouseOver <| [ EBackground.color <| E.rgb255 255 255 255 ]
]
[ E.el
[ E.width <| E.px 17
, E.height <| E.px 17
]
<| E.html <| Data.Audience.audienceTypeToIcon audience.type_
, E.text audience.name
]
in
item :: acc
viewColor : E.Color -> E.Element Msg
viewColor c =
E.el
[ E.width E.fill
, E.height <| E.px 100
, EBackground.color c
, E.alignBottom
]
E.none
-- this just wraps some element in a colored circle
wrapColorCircle : E.Color -> E.Element Msg -> E.Element Msg
wrapColorCircle color_ content_ =
E.el
[ E.padding 5
, EBorder.rounded 99999
, EBackground.color color_
]
content_
colors : List E.Color
colors =
[ Palette.color0
, Palette.color1
, Palette.color2
, Palette.color3
, Palette.color4
, Palette.color5
]
viewLoading : LoadingModel -> E.Element Msg
viewLoading loadingModel =
let
currentTime =
case loadingModel.time of
Just t ->
toFloat (Time.posixToMillis t) / 70 -- this controls the speed of the animation
Nothing ->
0
-- we want each circle to "start" at evenly spaced sizes from one another
-- so we use this step * (index of each color + 1) to do that
step =
toFloat 1 / toFloat (List.length colors)
maxWidth =
80
circleColors =
List.map viewCircle colors
|> List.map (\v -> v maxWidth)
|> List.indexedMap (\i v -> v (toFloat (i + 1) * step))
|> List.map (\v -> v currentTime)
|> List.foldl nest E.none
in
E.column
[ E.spacing 20
, E.centerY
]
[ circleColors
, E.el
[ E.centerX
, E.centerY
, EFont.size Palette.fontSize3
, EFont.bold
, EFont.color Palette.gray0
]
<| E.text "Loading..."
]
-- food for thought: Correct me if I'm wrong, but I think E.Element, under this
-- "nest" operation is a monoid
-- 1. identity element
-- the identity element is "E.none"
-- 2. associativity
-- ((thing1 `nest` thing2) `nest` thing3) == (thing1 `nest` (thing2 `nest` thing3))
-- 3. is a magma since the operation between these two things returns another thing
-- of the same type
-- we use this to "nest" circles into one another
nest : E.Element Msg -> E.Element Msg -> E.Element Msg
nest thing1 thing2 =
-- we can't use "E.row" or "E.column" since we don't want them displayed in
-- a row or a column, but one in front of the other
E.el
[ E.inFront thing2
, E.centerY
, E.centerX
]
<| thing1
-- in a production setting I would actually use svg for this sort of thing
viewCircle : E.Color -> Float -> Float -> Float -> E.Element Msg
viewCircle color_ width startingPoint currentPosition =
let
w =
round <| width * abs (sin (currentPosition * startingPoint))
in
E.el
[ E.width <| E.px (round width)
, E.height <| E.px (round width)
]
<| E.el
[ EBackground.color color_
, E.width <| E.px w
, E.height <| E.px w
, E.centerX
, E.centerY
, E.htmlAttribute <| Html.Attributes.style "border-radius" "50%"
]
<| E.none
{-
Note on error reporting:
When I saw these ids that represent "parents" or "folders" I thought a lot
could go wrong.
What if we have a folder whose parent id actually points to an "audience"? Or
an audience whose "folder" id actually points to another "audience"?
What if there there's cyclical references? folder 1 points to folder 2 and vice versa?
What if we have a "parent" or "folder" id that points to a folder or parent that
doesn't exist?
Initially I thought "ok, cool maybe we can do something in elm to address this".
But then I realized that that would probably make the app much slower. Having to
to check for all of these potential errors would bring a lot of complexity
code-wise and also time-complexity wise. So instead I concluded that this may be
better addressed on the backend by writing very good tests.
This way our frontend is faster, easier to understand and our tests for these issues
only live in one place: the backend.
Additionally, this made me think that since there are so many things that could go
wrong by having this model of references between the audiences and audienceFolders,
maybe this would even better be addressed not by writing really good tests on the
backend, but instead by data modelling and representing these relationships in a
better way, thus making these invalid states impossible to even represent, so we
wouldn't even need to test for them.
Relevant: Richard Feldman's talk "Making Impossible States Impossible"
https://www.youtube.com/watch?v=IcgmSRJHu_8
Just for the record: In production code I wouldn't write these sorts of very long
comments. I'd instead probably open up an issue or ping the team on slack.
-}
-- I haven't spent much time styling this because this is something the user shouldn't
-- even see. No point in styling it just for it to look cute for the developers
viewJsonError : Json.Decode.Error -> E.Element Msg
viewJsonError err =
let
formattedErrText =
Json.Decode.errorToString err
|> String.replace "\\n" "\n"
|> String.replace "\\\"" "\""
in
E.el
[ EBackground.color <| E.rgb255 240 80 105
, E.width E.fill
, E.paddingXY 20 20
, EBorder.rounded 7
]
<|
E.el
[ E.centerX
, E.centerY
]
<| E.text formattedErrText
-- intermediate representation for "audience"s and "audienceFolder"s , so we
-- can easily make dicts out of them
-- audiencesToDict : List Data.Audience.Audience -> Dict.Dict Int FormattedAudience
audiencesToDict audiences =
audiences
|> List.map (\a -> ( a.id, a ))
|> Dict.fromList
-- audienceFoldersToDict : List Data.AudienceFolder.AudienceFolder -> Dict.Dict Int FormattedAudienceFolder
audienceFoldersToDict folders =
folders
|> List.map (\f -> ( f.id, f ))
|> Dict.fromList
subscriptions : Model -> Sub Msg
subscriptions model =
case model of
Loading _ ->
Browser.Events.onAnimationFrame (\posix -> GotTime posix)
_ ->
Sub.none
main : Program () Model Msg
main =
Browser.element
{ view = view
, subscriptions = subscriptions
, update = \msg model -> ( update msg model, Cmd.none )
, init = init
}
| 6491 | module Main exposing (main)
import Browser
import Browser.Events
import Data.Audience
import Data.AudienceFolder
import Data.AudienceTree
import Dict
import Element as E -- elm-ui
import Element.Background as EBackground
import Element.Border as EBorder
import Element.Events as EEvents
import Element.Font as EFont
import Element.Input as EInput
import Html
import Html.Attributes
import Icons
import Json.Decode
import Palette
import Process
import Task
import Time
type alias History =
{ root : Data.AudienceTree.AudienceTree
-- this list tracks the depth that we went to into an AudienceTree
-- it takes the form of [ currentLevel, parent, grandparent, etc ]
, points : List Data.AudienceTree.AudienceTree
}
getCurrentPoint : History -> Data.AudienceTree.AudienceTree
getCurrentPoint history =
case history.points of
[] ->
history.root
x :: xs ->
x
tail history =
case history.points of
[] ->
{ root = history.root
, points = []
}
x :: xs ->
{ root = history.root
, points = xs
}
-- we could perhaps model this so that you can only make a "FolderClicked" Msg
-- or "SortBy" Msg only after the model has loaded up, but I don't think this is
-- too much of an issue
type Msg
= FolderClicked Data.AudienceTree.AudienceTree
| GoBack
| FilterBy Data.Audience.AudienceType
| GotAudiencesJSON String
| GotAudienceFoldersJSON String
| GotTime Time.Posix
-- we use dicts instead of lists because it gives us O(log n) time complexity
-- for insertion, removal and querying, as opposed to lists which would be O(n).
-- additional note: I chose to store audiences and audienceFolders separately because:
-- 1. I don't know if on the server side the IDs of the Folders
-- and the IDs of the Audiences are kept separately. This way I
-- would make sure that there's no collisions between them
-- 2. These two come from different API endpoints.
-- Audiences come from "/api/audiences" and audienceFolders come
-- from "api/audience_folders".
-- If we kept these as the same Dict, and only one result would come back,
-- the dict would look completely normal, but it wouldn't be. Things would
-- be missing.
-- So this way, it's either "everything came back, and we render the ui,
-- or we render some loading page or some error page "
type Model
= Loading LoadingModel
| Loaded LoadedModel
| JsonError Json.Decode.Error
type alias LoadingModel =
{ audiences : Maybe (Dict.Dict Int Data.Audience.Audience)
, audienceFolders : Maybe (Dict.Dict Int Data.AudienceFolder.AudienceFolder)
, time : Maybe Time.Posix
}
type alias LoadedModel =
{ categorizedAudiences : Data.AudienceTree.CategorizedAudiences
, history : Maybe History -- if there's no history, we "filter" by shared
-- according to "SECOND_STEP.md" there must be at least one category selected
-- at any time
, filterBy : Data.Audience.AudienceType
}
-- we fake an http request with a delay
fakeHttpGet : Msg -> Float -> Cmd Msg
fakeHttpGet msg time =
Task.perform (\_ -> msg) (Process.sleep time)
init : () -> ( Model, Cmd Msg )
init _ =
let
model_ =
Loading
{ audiences = Nothing
, audienceFolders = Nothing
, time = Nothing
}
-- "load" these at different times, to show that the UI works right
-- the user can't do anything with the audienceFolders and audiences
-- until both of them load
cmd_ =
Cmd.batch
[ fakeHttpGet (GotAudiencesJSON Data.Audience.audiencesJSON) 300
, fakeHttpGet (GotAudienceFoldersJSON Data.AudienceFolder.audienceFoldersJSON) 200
]
in
( model_, cmd_ )
initLoadedModel : Dict.Dict Int Data.Audience.Audience -> Dict.Dict Int Data.AudienceFolder.AudienceFolder -> LoadedModel
initLoadedModel loadedAudiences loadedAudienceFolders =
let
categorizedAudiences = Data.AudienceTree.constructCategorizedAudiences loadedAudiences loadedAudienceFolders
in
{ categorizedAudiences = categorizedAudiences
, history = Just { root = categorizedAudiences.authoredAudienceTree , points = [] }
, filterBy = Data.Audience.Authored
}
tryLoadingModelToLoaded : LoadingModel -> Model
tryLoadingModelToLoaded loadingM =
case ( loadingM.audiences, loadingM.audienceFolders ) of
( Just loadedAudiences, Just loadedAudienceFolders ) ->
Loaded (initLoadedModel loadedAudiences loadedAudienceFolders)
_ ->
Loading loadingM
-- normally, here I would return a tuple of type (Model, Cmd Msg), but since
-- in this app there's no Cmd s to run, I decided to simplify everything
-- and just return the Model
update : Msg -> Model -> Model
update msg model =
case ( msg, model ) of
( GotAudiencesJSON json, Loading loadingModel ) ->
let
audiencesDecoder : Json.Decode.Decoder (List Data.Audience.Audience)
audiencesDecoder =
Json.Decode.field "data" <|
Json.Decode.list Data.Audience.audienceDecoder
in
case Json.Decode.decodeString audiencesDecoder json of
Err err ->
JsonError err
Ok audiencesList ->
tryLoadingModelToLoaded
{ loadingModel
| audiences = Just (audiencesToDict audiencesList)
}
( GotAudienceFoldersJSON json, Loading loadingModel ) ->
let
audienceFoldersDecoder : Json.Decode.Decoder (List Data.AudienceFolder.AudienceFolder)
audienceFoldersDecoder =
Json.Decode.field "data" <|
Json.Decode.list Data.AudienceFolder.audienceFolderDecoder
in
case Json.Decode.decodeString audienceFoldersDecoder json of
Err err ->
JsonError err
Ok audienceFoldersList ->
tryLoadingModelToLoaded
{ loadingModel
| audienceFolders = Just (audienceFoldersToDict audienceFoldersList)
}
( FolderClicked sel, Loaded loadedModel ) ->
Loaded
<| case loadedModel.history of
Nothing ->
loadedModel
Just hs ->
{ loadedModel
| history = Just { hs | points = sel :: hs.points }
}
( GoBack, Loaded loadedModel ) ->
Loaded
<| case loadedModel.history of
Nothing ->
loadedModel
Just hs ->
{ loadedModel
| history = Just (tail hs)
}
( FilterBy audienceType, Loaded loadedModel ) ->
Loaded
{ loadedModel
| filterBy = audienceType
, history =
case audienceType of
Data.Audience.Authored ->
Just { root = loadedModel.categorizedAudiences.authoredAudienceTree, points = [] }
Data.Audience.Curated ->
Just { root = loadedModel.categorizedAudiences.curatedAudienceTree, points = [] }
Data.Audience.Shared ->
Nothing
}
( GotTime time, Loading loadingModel ) ->
Loading
{ loadingModel
| time = Just time
}
( _, _ ) ->
model
-- View
{-
I chose to go with the "mdgriffith/elm-ui" library instead of the "elm/html"
because of a few reasons:
1. Our UI can now be expressed in elm code, without having to write css.
Css is very tricky to do layout of your page with, whereas with elm-ui
Everything pertaining to layout is expressed in terms of rows and columns,
and designing your page from the outside in.
2. I'm very familiar with it, and have successfully used it in numerous
projects so far
3. I noticed you said that currently you use SCSS for css. By using elm-ui
there's no intermediate step for compiling styling anymore. Everything
is done directly in elm.
4. It "makes more sense". This one is hard to explain, but basically:
Doing something like:
```elm
Element.column
[ -- attributes
]
[ E.el [] <| E.text "1"
, E.el [] <| E.text "2"
, E.el [] <| E.text "3"
]
```
conveys much more meaning about what's going on. It's a vertical column
of text elements. Whereas
```elm
Html.div
[
]
[ Html.div [] [ Html.text "1" ]
, Html.div [] [ Html.text "2" ]
, Html.div [] [ Html.text "3" ]
]
```
Says nothing about its layout. Are the elements going to be displayed
verically or horisontally? Also, a "div" doesn't explain a lot about
the fact that this is supposed to only hold one single piece of text.
Should we be able to put more pieces of text in it? If yes, how are
they going to be displayed? Vertically or horisonally?
For all of this additional meaning, we have to scour our css files at
the same time.
And additionally, some things are so much more easily expressed with
elm-ui.
For example: an entire (working) empty page example that displays
centered text:
```elm
view = E.layout
[
]
<| E.el
[ E.centerX
, E.centerY
]
<| E.text "hello"
```
Which will center the text.
With css, even a simple task like this is so unintuitive that there's a
very popular thread on stack overflow on how to do it, with answers of
varying complexity that I would argue are way too cryptic for the
simplicity of the problem.
[The thread](https://stackoverflow.com/questions/114543/how-to-horizontally-center-a-div)
Possible counter arguments:
1. What if the user has javascript disabled? Then the web page won't even
display!
Answer:
My rebuttal to this is that since this is an aplication that requires
javascript to even work, this is not an issue. No point in seeing
the app if you can't use it.
Also, even if we used elm/html, and we had css separately, if javascript
doesn't run, no html nodes will even be created, so again, nothing will
be displayed. So both approaches suffer from the same problem.
It's difficult to convey through these arguments how much more joyful I am
styling my app in elm-ui versus css, but it's such a big deal for me that this
library was one of the main reasons I picked up elm.
Also relevant, <NAME>'s talk about the elm-ui library:
https://www.youtube.com/watch?v=Ie-gqwSHQr0
-}
view : Model -> Html.Html Msg
view model =
let
content =
case model of
Loading loadingModel ->
viewLoading loadingModel
Loaded loadedModel ->
viewDashboard loadedModel
JsonError err ->
viewJsonError err
in
E.layout
-- this is the root of the page
[ EFont.family
-- we set a font family that applies globally
[ EFont.typeface Palette.font0
]
, EFont.size Palette.fontSize0 -- and a size
, EBackground.color Palette.white -- and the background color of the whole page
]
-- we split the page into a column of the content and
-- the color palette at the bottom
<| E.column
[ E.width E.fill
, E.height E.fill
]
[ E.el [ E.paddingXY 0 80, E.centerX, E.height E.fill ] content
, E.row
[ E.width E.fill
, E.alignBottom
]
<| List.map viewColor colors
]
sortButton : Data.Audience.AudienceType -> Data.Audience.AudienceType -> E.Element Msg
sortButton audienceType audienceTypeToSortBy =
let
-- the "label" is a row of the icon and the text
label =
E.row
[ E.spacing 10
, E.centerX
, E.centerY
]
[ E.el
[ E.width <| E.px 18
, E.height <| E.px 18
]
<| E.html <| Data.Audience.audienceTypeToIcon audienceType
, E.text <| Data.Audience.audienceTypeToString audienceType
]
in
EInput.button
[ EBackground.color <|
case audienceTypeToSortBy == audienceType of
True ->
Palette.color3
False ->
E.rgba 0 0 0 0
, E.width <| E.px 110
, E.height <| E.px 40
, EBorder.rounded 5
, EBorder.width 1
, EBorder.color <| Palette.color3
]
{ label = label
, onPress = Just (FilterBy audienceType)
}
-- the panel on the right hand side of the dashboard
viewSortingPanel : Data.Audience.AudienceType -> E.Element Msg
viewSortingPanel currentlySortBy =
let
buttons =
List.map
(\btn -> sortButton btn currentlySortBy)
[ Data.Audience.Authored
, Data.Audience.Curated
, Data.Audience.Shared
]
in
E.column
[ E.paddingXY 20 20
, EBorder.width 1
, EBorder.color Palette.color5
, EBackground.color Palette.gray5
, EBorder.rounded 8
, E.spacing 20
, E.alignTop
]
[ E.text "Sort by:"
, E.row
[ E.spacing 10
]
buttons
]
-- the dashboard is just the file browser and the "sorting panel" one
-- next to the other
viewDashboard : LoadedModel -> E.Element Msg
viewDashboard model =
let
audienceFolders =
case model.history of
Just hs ->
getCurrentPoint hs
|> Data.AudienceTree.getSubFolders
|> Dict.values
|> List.foldl viewFolder []
Nothing ->
[]
audiences =
case model.history of
Just hs ->
getCurrentPoint hs
|> Data.AudienceTree.getAudiences
|> List.foldl viewAudience []
Nothing ->
Debug.log "" <| List.foldl viewAudience [] model.categorizedAudiences.sharedAudiences
-- we would normally use an icon here that would represent "i" for
-- "info", but a regular text element did the job well enough
coolI : E.Element Msg
coolI =
E.el
[ E.width <| E.px 15
, E.height <| E.px 15
, EFont.color Palette.color2
]
<| E.el [ E.centerX, E.centerY ] <| E.text "i"
-- according to "FIRST_STEP.md", we should only display the "back" button
-- if we're not at the root of the tree
upperLeftBackButtonOrText : E.Element Msg
upperLeftBackButtonOrText =
case model.history of
Just hs ->
case hs.points of
[] ->
E.el
[ E.centerY
]
<| E.text upperLeftText
els ->
EInput.button
[ E.centerY
, EBackground.color Palette.color4
, EBorder.rounded 3
, E.paddingXY 7 7
]
{ onPress = Just GoBack
, label = E.text "Go Back"
}
Nothing ->
E.el
[ E.centerY
]
<| E.text upperLeftText
upperLeftText : String
upperLeftText =
case model.filterBy of
Data.Audience.Shared ->
"Displaying Shared audiences from all folders"
_ ->
"Click a folder to start browsing!"
upperRightInfoElement : E.Element Msg
upperRightInfoElement =
E.row
[ EBackground.color Palette.color4
, E.padding 5
, E.spacing 5
, EBorder.roundEach { topRight = 99, bottomRight = 99, bottomLeft = 20, topLeft = 20 }
, EFont.color Palette.gray0
]
[ E.paragraph
[ E.paddingXY 5 0
]
[ E.text "Currently sorting by "
, E.el
[ EFont.bold ]
<| E.text (Data.Audience.audienceTypeToString model.filterBy)
]
, wrapColorCircle Palette.color3 coolI
]
-- the little panel above the file browser
upperPanel : E.Element Msg
upperPanel =
E.row
[ E.height <| E.px 50
, E.paddingEach { top = 0, right = 7, bottom = 0, left = 20 }
, EBackground.color Palette.gray4
, E.width E.fill
]
[ upperLeftBackButtonOrText
, E.el [ E.alignRight ] upperRightInfoElement
]
browser : E.Element Msg
browser =
E.column
[ E.width E.fill
, E.height E.fill
, EBackground.color Palette.gray4
, E.spacing 1
, EBorder.rounded 7
, EBorder.width 1
, EBorder.color Palette.color5
-- we do this, otherwise the elements inside aren't going to respect
-- our rounded borders
, E.htmlAttribute <| Html.Attributes.style "overflow" "hidden"
]
[ upperPanel
, E.column
[ E.width E.fill
, E.height E.fill
, E.spacing 1
]
-- folders first, just like "FIRST_STEP.md" says
(audienceFolders ++ audiences )
]
in
E.row
[ E.spacing 20
]
[ E.el [ E.alignTop, E.width <| E.px 700 ] browser
, viewSortingPanel model.filterBy
]
viewFolder : Data.AudienceTree.AudienceTree -> List (E.Element Msg) -> List (E.Element Msg)
viewFolder folder acc =
let
-- we view a "folder" as a row: the icon, and the name of the folder
item =
E.row
[ E.paddingXY 15 10
, EBackground.color Palette.gray5
, EEvents.onClick (FolderClicked folder)
, EFont.color Palette.gray0
, E.width E.fill
, E.spacing 15
, E.htmlAttribute <| Html.Attributes.style "cursor" "pointer"
, E.mouseOver <| [ EBackground.color <| E.rgb255 255 255 255 ]
]
[ E.el
[ E.width <| E.px 18
, E.height <| E.px 18
]
<| E.html <| Icons.folder "#6ea4fc"
, E.text (Data.AudienceTree.getName folder)
]
in
item :: acc
viewAudience : Data.Audience.Audience -> List (E.Element Msg) -> List (E.Element Msg)
viewAudience audience acc =
let
-- we view an "audience" as a row: the icon, and the name of the audience
item =
E.row
[ E.paddingXY 15 10
, EBackground.color Palette.gray5
, E.width E.fill
, E.spacing 15
, EFont.color Palette.gray0
, E.mouseOver <| [ EBackground.color <| E.rgb255 255 255 255 ]
]
[ E.el
[ E.width <| E.px 17
, E.height <| E.px 17
]
<| E.html <| Data.Audience.audienceTypeToIcon audience.type_
, E.text audience.name
]
in
item :: acc
viewColor : E.Color -> E.Element Msg
viewColor c =
E.el
[ E.width E.fill
, E.height <| E.px 100
, EBackground.color c
, E.alignBottom
]
E.none
-- this just wraps some element in a colored circle
wrapColorCircle : E.Color -> E.Element Msg -> E.Element Msg
wrapColorCircle color_ content_ =
E.el
[ E.padding 5
, EBorder.rounded 99999
, EBackground.color color_
]
content_
colors : List E.Color
colors =
[ Palette.color0
, Palette.color1
, Palette.color2
, Palette.color3
, Palette.color4
, Palette.color5
]
viewLoading : LoadingModel -> E.Element Msg
viewLoading loadingModel =
let
currentTime =
case loadingModel.time of
Just t ->
toFloat (Time.posixToMillis t) / 70 -- this controls the speed of the animation
Nothing ->
0
-- we want each circle to "start" at evenly spaced sizes from one another
-- so we use this step * (index of each color + 1) to do that
step =
toFloat 1 / toFloat (List.length colors)
maxWidth =
80
circleColors =
List.map viewCircle colors
|> List.map (\v -> v maxWidth)
|> List.indexedMap (\i v -> v (toFloat (i + 1) * step))
|> List.map (\v -> v currentTime)
|> List.foldl nest E.none
in
E.column
[ E.spacing 20
, E.centerY
]
[ circleColors
, E.el
[ E.centerX
, E.centerY
, EFont.size Palette.fontSize3
, EFont.bold
, EFont.color Palette.gray0
]
<| E.text "Loading..."
]
-- food for thought: Correct me if I'm wrong, but I think E.Element, under this
-- "nest" operation is a monoid
-- 1. identity element
-- the identity element is "E.none"
-- 2. associativity
-- ((thing1 `nest` thing2) `nest` thing3) == (thing1 `nest` (thing2 `nest` thing3))
-- 3. is a magma since the operation between these two things returns another thing
-- of the same type
-- we use this to "nest" circles into one another
nest : E.Element Msg -> E.Element Msg -> E.Element Msg
nest thing1 thing2 =
-- we can't use "E.row" or "E.column" since we don't want them displayed in
-- a row or a column, but one in front of the other
E.el
[ E.inFront thing2
, E.centerY
, E.centerX
]
<| thing1
-- in a production setting I would actually use svg for this sort of thing
viewCircle : E.Color -> Float -> Float -> Float -> E.Element Msg
viewCircle color_ width startingPoint currentPosition =
let
w =
round <| width * abs (sin (currentPosition * startingPoint))
in
E.el
[ E.width <| E.px (round width)
, E.height <| E.px (round width)
]
<| E.el
[ EBackground.color color_
, E.width <| E.px w
, E.height <| E.px w
, E.centerX
, E.centerY
, E.htmlAttribute <| Html.Attributes.style "border-radius" "50%"
]
<| E.none
{-
Note on error reporting:
When I saw these ids that represent "parents" or "folders" I thought a lot
could go wrong.
What if we have a folder whose parent id actually points to an "audience"? Or
an audience whose "folder" id actually points to another "audience"?
What if there there's cyclical references? folder 1 points to folder 2 and vice versa?
What if we have a "parent" or "folder" id that points to a folder or parent that
doesn't exist?
Initially I thought "ok, cool maybe we can do something in elm to address this".
But then I realized that that would probably make the app much slower. Having to
to check for all of these potential errors would bring a lot of complexity
code-wise and also time-complexity wise. So instead I concluded that this may be
better addressed on the backend by writing very good tests.
This way our frontend is faster, easier to understand and our tests for these issues
only live in one place: the backend.
Additionally, this made me think that since there are so many things that could go
wrong by having this model of references between the audiences and audienceFolders,
maybe this would even better be addressed not by writing really good tests on the
backend, but instead by data modelling and representing these relationships in a
better way, thus making these invalid states impossible to even represent, so we
wouldn't even need to test for them.
Relevant: <NAME>'s talk "Making Impossible States Impossible"
https://www.youtube.com/watch?v=IcgmSRJHu_8
Just for the record: In production code I wouldn't write these sorts of very long
comments. I'd instead probably open up an issue or ping the team on slack.
-}
-- I haven't spent much time styling this because this is something the user shouldn't
-- even see. No point in styling it just for it to look cute for the developers
viewJsonError : Json.Decode.Error -> E.Element Msg
viewJsonError err =
let
formattedErrText =
Json.Decode.errorToString err
|> String.replace "\\n" "\n"
|> String.replace "\\\"" "\""
in
E.el
[ EBackground.color <| E.rgb255 240 80 105
, E.width E.fill
, E.paddingXY 20 20
, EBorder.rounded 7
]
<|
E.el
[ E.centerX
, E.centerY
]
<| E.text formattedErrText
-- intermediate representation for "audience"s and "audienceFolder"s , so we
-- can easily make dicts out of them
-- audiencesToDict : List Data.Audience.Audience -> Dict.Dict Int FormattedAudience
audiencesToDict audiences =
audiences
|> List.map (\a -> ( a.id, a ))
|> Dict.fromList
-- audienceFoldersToDict : List Data.AudienceFolder.AudienceFolder -> Dict.Dict Int FormattedAudienceFolder
audienceFoldersToDict folders =
folders
|> List.map (\f -> ( f.id, f ))
|> Dict.fromList
subscriptions : Model -> Sub Msg
subscriptions model =
case model of
Loading _ ->
Browser.Events.onAnimationFrame (\posix -> GotTime posix)
_ ->
Sub.none
main : Program () Model Msg
main =
Browser.element
{ view = view
, subscriptions = subscriptions
, update = \msg model -> ( update msg model, Cmd.none )
, init = init
}
| true | module Main exposing (main)
import Browser
import Browser.Events
import Data.Audience
import Data.AudienceFolder
import Data.AudienceTree
import Dict
import Element as E -- elm-ui
import Element.Background as EBackground
import Element.Border as EBorder
import Element.Events as EEvents
import Element.Font as EFont
import Element.Input as EInput
import Html
import Html.Attributes
import Icons
import Json.Decode
import Palette
import Process
import Task
import Time
type alias History =
{ root : Data.AudienceTree.AudienceTree
-- this list tracks the depth that we went to into an AudienceTree
-- it takes the form of [ currentLevel, parent, grandparent, etc ]
, points : List Data.AudienceTree.AudienceTree
}
getCurrentPoint : History -> Data.AudienceTree.AudienceTree
getCurrentPoint history =
case history.points of
[] ->
history.root
x :: xs ->
x
tail history =
case history.points of
[] ->
{ root = history.root
, points = []
}
x :: xs ->
{ root = history.root
, points = xs
}
-- we could perhaps model this so that you can only make a "FolderClicked" Msg
-- or "SortBy" Msg only after the model has loaded up, but I don't think this is
-- too much of an issue
type Msg
= FolderClicked Data.AudienceTree.AudienceTree
| GoBack
| FilterBy Data.Audience.AudienceType
| GotAudiencesJSON String
| GotAudienceFoldersJSON String
| GotTime Time.Posix
-- we use dicts instead of lists because it gives us O(log n) time complexity
-- for insertion, removal and querying, as opposed to lists which would be O(n).
-- additional note: I chose to store audiences and audienceFolders separately because:
-- 1. I don't know if on the server side the IDs of the Folders
-- and the IDs of the Audiences are kept separately. This way I
-- would make sure that there's no collisions between them
-- 2. These two come from different API endpoints.
-- Audiences come from "/api/audiences" and audienceFolders come
-- from "api/audience_folders".
-- If we kept these as the same Dict, and only one result would come back,
-- the dict would look completely normal, but it wouldn't be. Things would
-- be missing.
-- So this way, it's either "everything came back, and we render the ui,
-- or we render some loading page or some error page "
type Model
= Loading LoadingModel
| Loaded LoadedModel
| JsonError Json.Decode.Error
type alias LoadingModel =
{ audiences : Maybe (Dict.Dict Int Data.Audience.Audience)
, audienceFolders : Maybe (Dict.Dict Int Data.AudienceFolder.AudienceFolder)
, time : Maybe Time.Posix
}
type alias LoadedModel =
{ categorizedAudiences : Data.AudienceTree.CategorizedAudiences
, history : Maybe History -- if there's no history, we "filter" by shared
-- according to "SECOND_STEP.md" there must be at least one category selected
-- at any time
, filterBy : Data.Audience.AudienceType
}
-- we fake an http request with a delay
fakeHttpGet : Msg -> Float -> Cmd Msg
fakeHttpGet msg time =
Task.perform (\_ -> msg) (Process.sleep time)
init : () -> ( Model, Cmd Msg )
init _ =
let
model_ =
Loading
{ audiences = Nothing
, audienceFolders = Nothing
, time = Nothing
}
-- "load" these at different times, to show that the UI works right
-- the user can't do anything with the audienceFolders and audiences
-- until both of them load
cmd_ =
Cmd.batch
[ fakeHttpGet (GotAudiencesJSON Data.Audience.audiencesJSON) 300
, fakeHttpGet (GotAudienceFoldersJSON Data.AudienceFolder.audienceFoldersJSON) 200
]
in
( model_, cmd_ )
initLoadedModel : Dict.Dict Int Data.Audience.Audience -> Dict.Dict Int Data.AudienceFolder.AudienceFolder -> LoadedModel
initLoadedModel loadedAudiences loadedAudienceFolders =
let
categorizedAudiences = Data.AudienceTree.constructCategorizedAudiences loadedAudiences loadedAudienceFolders
in
{ categorizedAudiences = categorizedAudiences
, history = Just { root = categorizedAudiences.authoredAudienceTree , points = [] }
, filterBy = Data.Audience.Authored
}
tryLoadingModelToLoaded : LoadingModel -> Model
tryLoadingModelToLoaded loadingM =
case ( loadingM.audiences, loadingM.audienceFolders ) of
( Just loadedAudiences, Just loadedAudienceFolders ) ->
Loaded (initLoadedModel loadedAudiences loadedAudienceFolders)
_ ->
Loading loadingM
-- normally, here I would return a tuple of type (Model, Cmd Msg), but since
-- in this app there's no Cmd s to run, I decided to simplify everything
-- and just return the Model
update : Msg -> Model -> Model
update msg model =
case ( msg, model ) of
( GotAudiencesJSON json, Loading loadingModel ) ->
let
audiencesDecoder : Json.Decode.Decoder (List Data.Audience.Audience)
audiencesDecoder =
Json.Decode.field "data" <|
Json.Decode.list Data.Audience.audienceDecoder
in
case Json.Decode.decodeString audiencesDecoder json of
Err err ->
JsonError err
Ok audiencesList ->
tryLoadingModelToLoaded
{ loadingModel
| audiences = Just (audiencesToDict audiencesList)
}
( GotAudienceFoldersJSON json, Loading loadingModel ) ->
let
audienceFoldersDecoder : Json.Decode.Decoder (List Data.AudienceFolder.AudienceFolder)
audienceFoldersDecoder =
Json.Decode.field "data" <|
Json.Decode.list Data.AudienceFolder.audienceFolderDecoder
in
case Json.Decode.decodeString audienceFoldersDecoder json of
Err err ->
JsonError err
Ok audienceFoldersList ->
tryLoadingModelToLoaded
{ loadingModel
| audienceFolders = Just (audienceFoldersToDict audienceFoldersList)
}
( FolderClicked sel, Loaded loadedModel ) ->
Loaded
<| case loadedModel.history of
Nothing ->
loadedModel
Just hs ->
{ loadedModel
| history = Just { hs | points = sel :: hs.points }
}
( GoBack, Loaded loadedModel ) ->
Loaded
<| case loadedModel.history of
Nothing ->
loadedModel
Just hs ->
{ loadedModel
| history = Just (tail hs)
}
( FilterBy audienceType, Loaded loadedModel ) ->
Loaded
{ loadedModel
| filterBy = audienceType
, history =
case audienceType of
Data.Audience.Authored ->
Just { root = loadedModel.categorizedAudiences.authoredAudienceTree, points = [] }
Data.Audience.Curated ->
Just { root = loadedModel.categorizedAudiences.curatedAudienceTree, points = [] }
Data.Audience.Shared ->
Nothing
}
( GotTime time, Loading loadingModel ) ->
Loading
{ loadingModel
| time = Just time
}
( _, _ ) ->
model
-- View
{-
I chose to go with the "mdgriffith/elm-ui" library instead of the "elm/html"
because of a few reasons:
1. Our UI can now be expressed in elm code, without having to write css.
Css is very tricky to do layout of your page with, whereas with elm-ui
Everything pertaining to layout is expressed in terms of rows and columns,
and designing your page from the outside in.
2. I'm very familiar with it, and have successfully used it in numerous
projects so far
3. I noticed you said that currently you use SCSS for css. By using elm-ui
there's no intermediate step for compiling styling anymore. Everything
is done directly in elm.
4. It "makes more sense". This one is hard to explain, but basically:
Doing something like:
```elm
Element.column
[ -- attributes
]
[ E.el [] <| E.text "1"
, E.el [] <| E.text "2"
, E.el [] <| E.text "3"
]
```
conveys much more meaning about what's going on. It's a vertical column
of text elements. Whereas
```elm
Html.div
[
]
[ Html.div [] [ Html.text "1" ]
, Html.div [] [ Html.text "2" ]
, Html.div [] [ Html.text "3" ]
]
```
Says nothing about its layout. Are the elements going to be displayed
verically or horisontally? Also, a "div" doesn't explain a lot about
the fact that this is supposed to only hold one single piece of text.
Should we be able to put more pieces of text in it? If yes, how are
they going to be displayed? Vertically or horisonally?
For all of this additional meaning, we have to scour our css files at
the same time.
And additionally, some things are so much more easily expressed with
elm-ui.
For example: an entire (working) empty page example that displays
centered text:
```elm
view = E.layout
[
]
<| E.el
[ E.centerX
, E.centerY
]
<| E.text "hello"
```
Which will center the text.
With css, even a simple task like this is so unintuitive that there's a
very popular thread on stack overflow on how to do it, with answers of
varying complexity that I would argue are way too cryptic for the
simplicity of the problem.
[The thread](https://stackoverflow.com/questions/114543/how-to-horizontally-center-a-div)
Possible counter arguments:
1. What if the user has javascript disabled? Then the web page won't even
display!
Answer:
My rebuttal to this is that since this is an aplication that requires
javascript to even work, this is not an issue. No point in seeing
the app if you can't use it.
Also, even if we used elm/html, and we had css separately, if javascript
doesn't run, no html nodes will even be created, so again, nothing will
be displayed. So both approaches suffer from the same problem.
It's difficult to convey through these arguments how much more joyful I am
styling my app in elm-ui versus css, but it's such a big deal for me that this
library was one of the main reasons I picked up elm.
Also relevant, PI:NAME:<NAME>END_PI's talk about the elm-ui library:
https://www.youtube.com/watch?v=Ie-gqwSHQr0
-}
view : Model -> Html.Html Msg
view model =
let
content =
case model of
Loading loadingModel ->
viewLoading loadingModel
Loaded loadedModel ->
viewDashboard loadedModel
JsonError err ->
viewJsonError err
in
E.layout
-- this is the root of the page
[ EFont.family
-- we set a font family that applies globally
[ EFont.typeface Palette.font0
]
, EFont.size Palette.fontSize0 -- and a size
, EBackground.color Palette.white -- and the background color of the whole page
]
-- we split the page into a column of the content and
-- the color palette at the bottom
<| E.column
[ E.width E.fill
, E.height E.fill
]
[ E.el [ E.paddingXY 0 80, E.centerX, E.height E.fill ] content
, E.row
[ E.width E.fill
, E.alignBottom
]
<| List.map viewColor colors
]
sortButton : Data.Audience.AudienceType -> Data.Audience.AudienceType -> E.Element Msg
sortButton audienceType audienceTypeToSortBy =
let
-- the "label" is a row of the icon and the text
label =
E.row
[ E.spacing 10
, E.centerX
, E.centerY
]
[ E.el
[ E.width <| E.px 18
, E.height <| E.px 18
]
<| E.html <| Data.Audience.audienceTypeToIcon audienceType
, E.text <| Data.Audience.audienceTypeToString audienceType
]
in
EInput.button
[ EBackground.color <|
case audienceTypeToSortBy == audienceType of
True ->
Palette.color3
False ->
E.rgba 0 0 0 0
, E.width <| E.px 110
, E.height <| E.px 40
, EBorder.rounded 5
, EBorder.width 1
, EBorder.color <| Palette.color3
]
{ label = label
, onPress = Just (FilterBy audienceType)
}
-- the panel on the right hand side of the dashboard
viewSortingPanel : Data.Audience.AudienceType -> E.Element Msg
viewSortingPanel currentlySortBy =
let
buttons =
List.map
(\btn -> sortButton btn currentlySortBy)
[ Data.Audience.Authored
, Data.Audience.Curated
, Data.Audience.Shared
]
in
E.column
[ E.paddingXY 20 20
, EBorder.width 1
, EBorder.color Palette.color5
, EBackground.color Palette.gray5
, EBorder.rounded 8
, E.spacing 20
, E.alignTop
]
[ E.text "Sort by:"
, E.row
[ E.spacing 10
]
buttons
]
-- the dashboard is just the file browser and the "sorting panel" one
-- next to the other
viewDashboard : LoadedModel -> E.Element Msg
viewDashboard model =
let
audienceFolders =
case model.history of
Just hs ->
getCurrentPoint hs
|> Data.AudienceTree.getSubFolders
|> Dict.values
|> List.foldl viewFolder []
Nothing ->
[]
audiences =
case model.history of
Just hs ->
getCurrentPoint hs
|> Data.AudienceTree.getAudiences
|> List.foldl viewAudience []
Nothing ->
Debug.log "" <| List.foldl viewAudience [] model.categorizedAudiences.sharedAudiences
-- we would normally use an icon here that would represent "i" for
-- "info", but a regular text element did the job well enough
coolI : E.Element Msg
coolI =
E.el
[ E.width <| E.px 15
, E.height <| E.px 15
, EFont.color Palette.color2
]
<| E.el [ E.centerX, E.centerY ] <| E.text "i"
-- according to "FIRST_STEP.md", we should only display the "back" button
-- if we're not at the root of the tree
upperLeftBackButtonOrText : E.Element Msg
upperLeftBackButtonOrText =
case model.history of
Just hs ->
case hs.points of
[] ->
E.el
[ E.centerY
]
<| E.text upperLeftText
els ->
EInput.button
[ E.centerY
, EBackground.color Palette.color4
, EBorder.rounded 3
, E.paddingXY 7 7
]
{ onPress = Just GoBack
, label = E.text "Go Back"
}
Nothing ->
E.el
[ E.centerY
]
<| E.text upperLeftText
upperLeftText : String
upperLeftText =
case model.filterBy of
Data.Audience.Shared ->
"Displaying Shared audiences from all folders"
_ ->
"Click a folder to start browsing!"
upperRightInfoElement : E.Element Msg
upperRightInfoElement =
E.row
[ EBackground.color Palette.color4
, E.padding 5
, E.spacing 5
, EBorder.roundEach { topRight = 99, bottomRight = 99, bottomLeft = 20, topLeft = 20 }
, EFont.color Palette.gray0
]
[ E.paragraph
[ E.paddingXY 5 0
]
[ E.text "Currently sorting by "
, E.el
[ EFont.bold ]
<| E.text (Data.Audience.audienceTypeToString model.filterBy)
]
, wrapColorCircle Palette.color3 coolI
]
-- the little panel above the file browser
upperPanel : E.Element Msg
upperPanel =
E.row
[ E.height <| E.px 50
, E.paddingEach { top = 0, right = 7, bottom = 0, left = 20 }
, EBackground.color Palette.gray4
, E.width E.fill
]
[ upperLeftBackButtonOrText
, E.el [ E.alignRight ] upperRightInfoElement
]
browser : E.Element Msg
browser =
E.column
[ E.width E.fill
, E.height E.fill
, EBackground.color Palette.gray4
, E.spacing 1
, EBorder.rounded 7
, EBorder.width 1
, EBorder.color Palette.color5
-- we do this, otherwise the elements inside aren't going to respect
-- our rounded borders
, E.htmlAttribute <| Html.Attributes.style "overflow" "hidden"
]
[ upperPanel
, E.column
[ E.width E.fill
, E.height E.fill
, E.spacing 1
]
-- folders first, just like "FIRST_STEP.md" says
(audienceFolders ++ audiences )
]
in
E.row
[ E.spacing 20
]
[ E.el [ E.alignTop, E.width <| E.px 700 ] browser
, viewSortingPanel model.filterBy
]
viewFolder : Data.AudienceTree.AudienceTree -> List (E.Element Msg) -> List (E.Element Msg)
viewFolder folder acc =
let
-- we view a "folder" as a row: the icon, and the name of the folder
item =
E.row
[ E.paddingXY 15 10
, EBackground.color Palette.gray5
, EEvents.onClick (FolderClicked folder)
, EFont.color Palette.gray0
, E.width E.fill
, E.spacing 15
, E.htmlAttribute <| Html.Attributes.style "cursor" "pointer"
, E.mouseOver <| [ EBackground.color <| E.rgb255 255 255 255 ]
]
[ E.el
[ E.width <| E.px 18
, E.height <| E.px 18
]
<| E.html <| Icons.folder "#6ea4fc"
, E.text (Data.AudienceTree.getName folder)
]
in
item :: acc
viewAudience : Data.Audience.Audience -> List (E.Element Msg) -> List (E.Element Msg)
viewAudience audience acc =
let
-- we view an "audience" as a row: the icon, and the name of the audience
item =
E.row
[ E.paddingXY 15 10
, EBackground.color Palette.gray5
, E.width E.fill
, E.spacing 15
, EFont.color Palette.gray0
, E.mouseOver <| [ EBackground.color <| E.rgb255 255 255 255 ]
]
[ E.el
[ E.width <| E.px 17
, E.height <| E.px 17
]
<| E.html <| Data.Audience.audienceTypeToIcon audience.type_
, E.text audience.name
]
in
item :: acc
viewColor : E.Color -> E.Element Msg
viewColor c =
E.el
[ E.width E.fill
, E.height <| E.px 100
, EBackground.color c
, E.alignBottom
]
E.none
-- this just wraps some element in a colored circle
wrapColorCircle : E.Color -> E.Element Msg -> E.Element Msg
wrapColorCircle color_ content_ =
E.el
[ E.padding 5
, EBorder.rounded 99999
, EBackground.color color_
]
content_
colors : List E.Color
colors =
[ Palette.color0
, Palette.color1
, Palette.color2
, Palette.color3
, Palette.color4
, Palette.color5
]
viewLoading : LoadingModel -> E.Element Msg
viewLoading loadingModel =
let
currentTime =
case loadingModel.time of
Just t ->
toFloat (Time.posixToMillis t) / 70 -- this controls the speed of the animation
Nothing ->
0
-- we want each circle to "start" at evenly spaced sizes from one another
-- so we use this step * (index of each color + 1) to do that
step =
toFloat 1 / toFloat (List.length colors)
maxWidth =
80
circleColors =
List.map viewCircle colors
|> List.map (\v -> v maxWidth)
|> List.indexedMap (\i v -> v (toFloat (i + 1) * step))
|> List.map (\v -> v currentTime)
|> List.foldl nest E.none
in
E.column
[ E.spacing 20
, E.centerY
]
[ circleColors
, E.el
[ E.centerX
, E.centerY
, EFont.size Palette.fontSize3
, EFont.bold
, EFont.color Palette.gray0
]
<| E.text "Loading..."
]
-- food for thought: Correct me if I'm wrong, but I think E.Element, under this
-- "nest" operation is a monoid
-- 1. identity element
-- the identity element is "E.none"
-- 2. associativity
-- ((thing1 `nest` thing2) `nest` thing3) == (thing1 `nest` (thing2 `nest` thing3))
-- 3. is a magma since the operation between these two things returns another thing
-- of the same type
-- we use this to "nest" circles into one another
nest : E.Element Msg -> E.Element Msg -> E.Element Msg
nest thing1 thing2 =
-- we can't use "E.row" or "E.column" since we don't want them displayed in
-- a row or a column, but one in front of the other
E.el
[ E.inFront thing2
, E.centerY
, E.centerX
]
<| thing1
-- in a production setting I would actually use svg for this sort of thing
viewCircle : E.Color -> Float -> Float -> Float -> E.Element Msg
viewCircle color_ width startingPoint currentPosition =
let
w =
round <| width * abs (sin (currentPosition * startingPoint))
in
E.el
[ E.width <| E.px (round width)
, E.height <| E.px (round width)
]
<| E.el
[ EBackground.color color_
, E.width <| E.px w
, E.height <| E.px w
, E.centerX
, E.centerY
, E.htmlAttribute <| Html.Attributes.style "border-radius" "50%"
]
<| E.none
{-
Note on error reporting:
When I saw these ids that represent "parents" or "folders" I thought a lot
could go wrong.
What if we have a folder whose parent id actually points to an "audience"? Or
an audience whose "folder" id actually points to another "audience"?
What if there there's cyclical references? folder 1 points to folder 2 and vice versa?
What if we have a "parent" or "folder" id that points to a folder or parent that
doesn't exist?
Initially I thought "ok, cool maybe we can do something in elm to address this".
But then I realized that that would probably make the app much slower. Having to
to check for all of these potential errors would bring a lot of complexity
code-wise and also time-complexity wise. So instead I concluded that this may be
better addressed on the backend by writing very good tests.
This way our frontend is faster, easier to understand and our tests for these issues
only live in one place: the backend.
Additionally, this made me think that since there are so many things that could go
wrong by having this model of references between the audiences and audienceFolders,
maybe this would even better be addressed not by writing really good tests on the
backend, but instead by data modelling and representing these relationships in a
better way, thus making these invalid states impossible to even represent, so we
wouldn't even need to test for them.
Relevant: PI:NAME:<NAME>END_PI's talk "Making Impossible States Impossible"
https://www.youtube.com/watch?v=IcgmSRJHu_8
Just for the record: In production code I wouldn't write these sorts of very long
comments. I'd instead probably open up an issue or ping the team on slack.
-}
-- I haven't spent much time styling this because this is something the user shouldn't
-- even see. No point in styling it just for it to look cute for the developers
viewJsonError : Json.Decode.Error -> E.Element Msg
viewJsonError err =
let
formattedErrText =
Json.Decode.errorToString err
|> String.replace "\\n" "\n"
|> String.replace "\\\"" "\""
in
E.el
[ EBackground.color <| E.rgb255 240 80 105
, E.width E.fill
, E.paddingXY 20 20
, EBorder.rounded 7
]
<|
E.el
[ E.centerX
, E.centerY
]
<| E.text formattedErrText
-- intermediate representation for "audience"s and "audienceFolder"s , so we
-- can easily make dicts out of them
-- audiencesToDict : List Data.Audience.Audience -> Dict.Dict Int FormattedAudience
audiencesToDict audiences =
audiences
|> List.map (\a -> ( a.id, a ))
|> Dict.fromList
-- audienceFoldersToDict : List Data.AudienceFolder.AudienceFolder -> Dict.Dict Int FormattedAudienceFolder
audienceFoldersToDict folders =
folders
|> List.map (\f -> ( f.id, f ))
|> Dict.fromList
subscriptions : Model -> Sub Msg
subscriptions model =
case model of
Loading _ ->
Browser.Events.onAnimationFrame (\posix -> GotTime posix)
_ ->
Sub.none
main : Program () Model Msg
main =
Browser.element
{ view = view
, subscriptions = subscriptions
, update = \msg model -> ( update msg model, Cmd.none )
, init = init
}
| elm |
[
{
"context": "etUser newUser ->\n { model | username = newUser }\n SetPassword newPassword ->\n ",
"end": 1127,
"score": 0.9981729984,
"start": 1120,
"tag": "USERNAME",
"value": "newUser"
},
{
"context": "rd newPassword ->\n { model | password = newPassword }\n Validate ->\n let\n ",
"end": 1209,
"score": 0.9966636896,
"start": 1198,
"tag": "PASSWORD",
"value": "newPassword"
},
{
"context": "ion Demo\" ]\n , inputWithError\n \"username\"\n \"Username: \"\n model.usern",
"end": 1922,
"score": 0.9819195271,
"start": 1914,
"tag": "USERNAME",
"value": "username"
}
] | src/FormValidator.elm | Rhadow/elm-demo | 1 | module FormValidator exposing (..)
import Html exposing (..)
import Html.Attributes exposing (style, id, for, value, type')
import Html.Events exposing (on, onClick, onInput)
type alias Model =
{ username: String
, password: String
, errorMessage: ErrorMessage
}
type alias ErrorMessage =
{ userErrMsg: String
, passwordErrMsg: String
}
type Msg
= SetUser String
| SetPassword String
| Validate
updateErrorMessage: String -> String -> ErrorMessage
updateErrorMessage user password =
let
userErrMsg = if user == "" then "User must not be empty!" else ""
passwordErrMsg =
if password == "" then
"Password must not be empty!"
else
""
in
{ userErrMsg = userErrMsg, passwordErrMsg = passwordErrMsg}
model: Model
model =
{ username = ""
, password = ""
, errorMessage =
{ userErrMsg = ""
, passwordErrMsg = ""
}
}
update: Msg -> Model -> Model
update action model =
case action of
SetUser newUser ->
{ model | username = newUser }
SetPassword newPassword ->
{ model | password = newPassword }
Validate ->
let
newErrorMessage = updateErrorMessage model.username model.password
in { model | errorMessage = newErrorMessage }
inputWithError inputId displayText inputValue errMsg inputType onInputAction =
div
[]
[ label [for inputId] [text displayText]
, input
[ id inputId
, onInput onInputAction
, value inputValue
, type' inputType
]
[]
, div [style [("color", "red")]] [text errMsg]
]
view: Model -> Html Msg
view model =
div
[]
[ h1 [] [ text "Form Validation Demo" ]
, inputWithError
"username"
"Username: "
model.username
model.errorMessage.userErrMsg
"text"
SetUser
, inputWithError
"password"
"Password: "
model.password
model.errorMessage.passwordErrMsg
"password"
SetPassword
, button [onClick Validate] [text "Submit"]
]
| 36313 | module FormValidator exposing (..)
import Html exposing (..)
import Html.Attributes exposing (style, id, for, value, type')
import Html.Events exposing (on, onClick, onInput)
type alias Model =
{ username: String
, password: String
, errorMessage: ErrorMessage
}
type alias ErrorMessage =
{ userErrMsg: String
, passwordErrMsg: String
}
type Msg
= SetUser String
| SetPassword String
| Validate
updateErrorMessage: String -> String -> ErrorMessage
updateErrorMessage user password =
let
userErrMsg = if user == "" then "User must not be empty!" else ""
passwordErrMsg =
if password == "" then
"Password must not be empty!"
else
""
in
{ userErrMsg = userErrMsg, passwordErrMsg = passwordErrMsg}
model: Model
model =
{ username = ""
, password = ""
, errorMessage =
{ userErrMsg = ""
, passwordErrMsg = ""
}
}
update: Msg -> Model -> Model
update action model =
case action of
SetUser newUser ->
{ model | username = newUser }
SetPassword newPassword ->
{ model | password = <PASSWORD> }
Validate ->
let
newErrorMessage = updateErrorMessage model.username model.password
in { model | errorMessage = newErrorMessage }
inputWithError inputId displayText inputValue errMsg inputType onInputAction =
div
[]
[ label [for inputId] [text displayText]
, input
[ id inputId
, onInput onInputAction
, value inputValue
, type' inputType
]
[]
, div [style [("color", "red")]] [text errMsg]
]
view: Model -> Html Msg
view model =
div
[]
[ h1 [] [ text "Form Validation Demo" ]
, inputWithError
"username"
"Username: "
model.username
model.errorMessage.userErrMsg
"text"
SetUser
, inputWithError
"password"
"Password: "
model.password
model.errorMessage.passwordErrMsg
"password"
SetPassword
, button [onClick Validate] [text "Submit"]
]
| true | module FormValidator exposing (..)
import Html exposing (..)
import Html.Attributes exposing (style, id, for, value, type')
import Html.Events exposing (on, onClick, onInput)
type alias Model =
{ username: String
, password: String
, errorMessage: ErrorMessage
}
type alias ErrorMessage =
{ userErrMsg: String
, passwordErrMsg: String
}
type Msg
= SetUser String
| SetPassword String
| Validate
updateErrorMessage: String -> String -> ErrorMessage
updateErrorMessage user password =
let
userErrMsg = if user == "" then "User must not be empty!" else ""
passwordErrMsg =
if password == "" then
"Password must not be empty!"
else
""
in
{ userErrMsg = userErrMsg, passwordErrMsg = passwordErrMsg}
model: Model
model =
{ username = ""
, password = ""
, errorMessage =
{ userErrMsg = ""
, passwordErrMsg = ""
}
}
update: Msg -> Model -> Model
update action model =
case action of
SetUser newUser ->
{ model | username = newUser }
SetPassword newPassword ->
{ model | password = PI:PASSWORD:<PASSWORD>END_PI }
Validate ->
let
newErrorMessage = updateErrorMessage model.username model.password
in { model | errorMessage = newErrorMessage }
inputWithError inputId displayText inputValue errMsg inputType onInputAction =
div
[]
[ label [for inputId] [text displayText]
, input
[ id inputId
, onInput onInputAction
, value inputValue
, type' inputType
]
[]
, div [style [("color", "red")]] [text errMsg]
]
view: Model -> Html Msg
view model =
div
[]
[ h1 [] [ text "Form Validation Demo" ]
, inputWithError
"username"
"Username: "
model.username
model.errorMessage.userErrMsg
"text"
SetUser
, inputWithError
"password"
"Password: "
model.password
model.errorMessage.passwordErrMsg
"password"
SetPassword
, button [onClick Validate] [text "Submit"]
]
| elm |
[
{
"context": ", whitelist, whitelist_\n )\n\n{-| [Demo](https://lucamug.github.io/elm-style-framework/#/framework/Icons/I",
"end": 471,
"score": 0.9792134166,
"start": 464,
"tag": "USERNAME",
"value": "lucamug"
},
{
"context": "1 48.9L128 146.73 30.19 48.91 0 79.09l128 128 128-128z\"\n ]\n []\n ",
"end": 9083,
"score": 0.5632855892,
"start": 9079,
"tag": "KEY",
"value": "128z"
}
] | src/Framework/Icon.elm | julianpistorius/elm-style-framework | 44 | module Framework.Icon exposing
( arrows, chevronDown, exitFullscreen, fullscreen, hide, home, introspection, mobileNotification, mobileNotification2, mobileRinging, pencil, show
, blackFlag, blackFlag_, blackStar, blackStar_, circle, circle_, edit, edit_, exclamation, exclamation_, featureFlag, featureFlag_, smile, smile_, userVerification, userVerification_, whiteFlag, whiteFlag_, whiteStar, whiteStar_, whitelist, whitelist_
)
{-| [Demo](https://lucamug.github.io/elm-style-framework/#/framework/Icons/Icons)
# Functions
@docs arrows, chevronDown, exitFullscreen, fullscreen, hide, home, introspection, mobileNotification, mobileNotification2, mobileRinging, pencil, show
-}
-- import Color
import Color
import Element
import Framework.Color exposing (black)
import Html
import Html.Attributes
import Svg
import Svg.Attributes as SA
{-| -}
introspection :
{ name : String
, description : String
, signature : String
, variations : List ( String, List ( Element.Element msg1, String ) )
}
introspection =
{ name = "Icons"
, description = "List of SVG icons"
, signature = "Color.Color -> Int -> Element.Element msg"
, variations =
[ ( "Icons"
, [ ( pencil black 32, "pencil black 32" )
, ( exitFullscreen black 32, "exitFullscreen black 32" )
, ( fullscreen black 32, "fullscreen black 32" )
, ( home black 32, "home black 32" )
, ( hide black 32, "hide black 32" )
, ( show black 32, "show black 32" )
, ( mobileRinging black 32, "mobileRinging black 32" )
, ( mobileNotification black 32, "mobileNotification black 32" )
, ( mobileNotification2 black 32, "mobileNotification2 black 32" )
, ( chevronDown black 32, "chevronDown black 32" )
, ( arrows black 32, "arrows black 32" )
, ( circle black 32, "circle black 32" )
, ( smile black 32, "smile black 32" )
, ( exclamation black 32, "exclamation black 32" )
, ( edit black 32, "edit black 32" )
, ( userVerification black 32, "userVerification black 32" )
, ( featureFlag black 32, "featureFlag black 32" )
, ( blackFlag black 32, "blackFlag black 32" )
, ( whiteFlag black 32, "whiteFlag black 32" )
, ( whiteStar black 32, "whiteStar black 32" )
, ( blackStar black 32, "blackStar black 32" )
, ( whitelist black 32, "whitelist black 32" )
]
)
]
}
{-| -}
arrows : Color.Color -> Int -> Element.Element msg
arrows _ size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 490 490", SA.height <| String.fromInt size ]
[ Svg.path [ SA.d "M112 97c72-65 181-66 254-7l-58 3c-8 0-13 6-13 14 0 7 6 13 13 13h1l89-4c7 0 13-6 13-13v-2l-3-88a14 14 0 0 0-27 1l2 55c-36-29-81-47-129-49A222 222 0 0 0 27 294a13 13 0 0 0 17 10c7-2 11-9 9-16-16-70 6-143 59-191zm350 99a14 14 0 0 0-26 6 195 195 0 0 1-314 196l59-5a13 13 0 1 0-3-27l-88 8c-8 1-13 7-13 15l8 88c1 7 7 13 14 13h1c7-1 13-8 12-15l-5-54a221 221 0 0 0 289-8c60-55 86-138 66-217z" ] []
]
{-| -}
home : Color.Color -> Int -> Element.Element msg
home _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 34.94 32.63" ]
[ Svg.path [ SA.d "M34.94 15.58L17.24 0 0 15.65l1.5 1.66 2.14-1.92v17.25h27.68V15.38l2.14 1.88zM14.8 29.93V21.6h5.35v8.34zm14.27.45H22.4v-11h-9.84v11H5.88v-17L17.25 3l11.82 10.4z", SA.fill "#262626", SA.id "_01" ] []
]
{-| -}
pencil : Color.Color -> Int -> Element.Element msg
pencil _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 529 529" ]
[ Svg.path [ SA.d "M329 89l107 108-272 272L57 361 329 89zm189-26l-48-48a48 48 0 0 0-67 0l-46 46 108 108 53-54c14-14 14-37 0-52zM0 513c-2 9 6 16 15 14l120-29L27 391 0 513z" ] []
]
{-| -}
exitFullscreen : Color.Color -> Int -> Element.Element msg
exitFullscreen _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 32 32" ]
[ Svg.path [ SA.fill "#030104", SA.d "M25 27l4 5 3-3-5-4 5-5H20v12zM0 12h12V0L7 5 3 0 0 3l5 4zm0 17l3 3 4-5 5 5V20H0l5 5zm20-17h12l-5-5 5-4-3-3-4 5-5-5z" ] []
]
{-| -}
fullscreen : Color.Color -> Int -> Element.Element msg
fullscreen _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 533 533" ]
[ Svg.path [ SA.d "M533 0v217l-83-84-100 100-50-50L400 83 317 0h216zM233 350L133 450l84 83H0V317l83 83 100-100 50 50z" ] []
]
{-| -}
hide : Color.Color -> Int -> Element.Element msg
hide cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d
"M506 241l-89-89-14-13-258 258a227 227 0 0 0 272-37l89-89c8-8 8-22 0-30zM256 363a21 21 0 0 1 0-43c35 0 64-29 64-64a21 21 0 0 1 43 0c0 59-48 107-107 107zM95 152L6 241c-8 8-8 22 0 30l89 89 14 13 258-258c-86-49-198-37-272 37zm161 40c-35 0-64 29-64 64a21 21 0 0 1-43 0c0-59 48-107 107-107a21 21 0 0 1 0 43z"
]
[]
]
{-| -}
show : Color.Color -> Int -> Element.Element msg
show cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d
"M256 192a64 64 0 1 0 0 128 64 64 0 0 0 0-128zm250 49l-89-89c-89-89-233-89-322 0L6 241c-8 8-8 22 0 30l89 89a227 227 0 0 0 322 0l89-89c8-8 8-22 0-30zM256 363a107 107 0 1 1 0-214 107 107 0 0 1 0 214z"
]
[]
]
{-| -}
mobileNotification2 : Color.Color -> Int -> Element.Element msg
mobileNotification2 cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 31.68 31.68", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d "M21.5 25.67H7V3.89h14.5v4.7h1.73V2.3a2.3 2.3 0 0 0-2.3-2.3H7.58a2.3 2.3 0 0 0-2.3 2.3v27.08a2.3 2.3 0 0 0 2.3 2.3h13.33a2.3 2.3 0 0 0 2.3-2.3V19.2H21.5v6.46zM19.4 1.44c.33 0 .59.27.59.6s-.26.58-.59.58-.59-.26-.59-.59.26-.59.59-.59zm-8.24.23h6.19v.67h-6.19v-.67zm5.91 27.55h-5.63V27.5h5.63v1.73z"
]
[]
, Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d "M13.05 9.3v9h1.56L13.05 22l4.54-3.7h8.81v-9H13.05zm12.21 7.86H17.2l-.32.25-1 .81.45-1.06H14.2v-6.71h11.07v6.7z"
]
[]
]
{-| -}
mobileRinging : Color.Color -> Int -> Element.Element msg
mobileRinging cl size =
let
hexColor =
Color.colorToHex cl
in
Element.html <|
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill hexColor, SA.d "M43 0H17c-2 0-4 2-4 4v52c0 2 2 4 4 4h26c2 0 4-2 4-4V4c0-2-2-4-4-4zM15 8h30v38H15V8zm2-6h26l2 2v2H15V4l2-2zm26 56H17l-2-2v-8h30v8l-2 2z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M30 49a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM26 5h4a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2zm7 0h1a1 1 0 1 0 0-2h-1a1 1 0 1 0 0 2zm24 0a1 1 0 1 0-2 1c4 4 4 10 0 14a1 1 0 1 0 2 1c4-5 4-12 0-16z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M52 7a1 1 0 1 0-1 1 7 7 0 0 1 0 10 1 1 0 1 0 1 1 8 8 0 0 0 0-12zM5 6a1 1 0 1 0-2-1c-4 4-4 11 0 16a1 1 0 0 0 2 0v-1C1 16 1 10 5 6z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M9 7H8a8 8 0 0 0 0 12 1 1 0 0 0 1 0v-2a7 7 0 0 1 0-9V7z" ] []
]
{-| -}
mobileNotification : Color.Color -> Int -> Element.Element msg
mobileNotification cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M20 49a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM17 5h4a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2zm7 0h1a1 1 0 1 0 0-2h-1a1 1 0 1 0 0 2z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M56 12H38V4c0-2-2-4-4-4H8C6 0 4 2 4 4v52c0 2 2 4 4 4h26c2 0 4-2 4-4V33h18V12zM8 2h26l2 2v2H6V4l2-2zm26 56H8l-2-2v-8h30v8l-2 2zm2-12H6V8h30v4H18v21h4v7l9-7h5v13zm18-15H31l-7 5v-5h-4V14h34v17z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M25 21h10a1 1 0 1 0 0-2H25a1 1 0 1 0 0 2zm-1 4l1 1h24a1 1 0 1 0 0-2H25l-1 1z" ] []
]
{-| -}
chevronDown : Color.Color -> Int -> Element.Element msg
chevronDown _ size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 256 256", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.d "M225.81 48.9L128 146.73 30.19 48.91 0 79.09l128 128 128-128z"
]
[]
]
{-| -}
circle_ : Color.Color -> Int -> Html.Html msg
circle_ cl size =
Svg.svg [ SA.viewBox "0 0 100 100", SA.height <| String.fromInt size ]
[ Svg.circle
[ SA.fill (Color.colorToHex cl), SA.cx "50", SA.cy "50", SA.r "50" ]
[]
]
{-| -}
circle : Color.Color -> Int -> Element.Element msg
circle cl size =
Element.html <|
circle_ cl size
{-| -}
smile_ : Color.Color -> Int -> Html.Html msg
smile_ cl size =
Svg.svg [ SA.viewBox "0 0 559 559", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M315 429h-49c-62 0-110-48-110-109a13 13 0 0 1 27 0c0 46 36 82 83 82h49c46 0 83-35 83-80a13 13 0 1 1 27 0c0 60-48 107-110 107zm-88-224c-3 0-7-1-9-4a33 33 0 0 0-46-1 13 13 0 1 1-19-19c22-23 61-22 84 1a13 13 0 0 1-10 23zm183 0c-3 0-6-1-9-4a33 33 0 0 0-46-1 13 13 0 1 1-19-19c22-23 61-22 84 1a13 13 0 0 1-10 23z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M280 559a280 280 0 1 1 0-560 280 280 0 0 1 0 560zm0-532a253 253 0 1 0 0 506 253 253 0 0 0 0-506z" ] []
]
{-| -}
smile : Color.Color -> Int -> Element.Element msg
smile cl size =
Element.html <|
smile_ cl size
exclamation_ : Color.Color -> Int -> Html.Html msg
exclamation_ cl size =
Svg.svg [ SA.viewBox "0 0 612 612", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M605 502L350 60a51 51 0 0 0-88 0L7 502a51 51 0 0 0 44 76h510a51 51 0 0 0 44-76zM51 527L306 85l255 442H51zm255-119a34 34 0 1 0 0 68 34 34 0 0 0 0-68zm-34-153v6l17 99a17 17 0 0 0 34 0l17-99v-6a34 34 0 0 0-68 0z" ] []
]
exclamation : Color.Color -> Int -> Element.Element msg
exclamation cl size =
Element.html <|
exclamation_ cl size
edit : Color.Color -> Int -> Element.Element msg
edit cl size =
Element.html <|
edit_ cl size
edit_ : Color.Color -> Int -> Html.Html msg
edit_ cl size =
Svg.svg [ SA.viewBox "0 0 490 490", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M230 145l-48 48-52 53c-4 4-7 9-8 15l-19 87-3 16c-2 7 0 15 5 20 4 5 10 7 16 7l5-1 18-3 84-18c6-1 12-4 17-9l235-236c6-6 10-13 10-21v-4l-1-6-5-17c-15-33-39-57-73-71-6-3-13-3-20-4h-1c-9-2-17 1-25 9L230 145zM386 25h3c5 0 10 1 13 3 28 11 48 30 60 58l3 11 1 5-3 5-236 235-4 3-84 17-15 3 3-13 18-86 2-3 53-53 47-47L383 27l3-2z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M39 109h175a12 12 0 1 0 0-24H39c-22 0-39 17-39 39v327c0 22 18 39 39 39h327c22 0 39-18 39-39V284a12 12 0 1 0-24 0v167c0 8-7 14-15 14H39c-8 0-15-6-15-14V124c1-8 7-15 15-15z" ] []
]
userVerification : Color.Color -> Int -> Element.Element msg
userVerification cl size =
Element.html <|
userVerification_ cl size
userVerification_ : Color.Color -> Int -> Html.Html msg
userVerification_ cl size =
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M336 32h-35a48 48 0 0 0-90 0h-35c-9 0-16 7-16 16v32c0 9 7 16 16 16h160c9 0 16-7 16-16V48c0-9-7-16-16-16z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M416 64h-32v16c0 26-22 48-48 48H176c-26 0-48-22-48-48V64H96c-18 0-32 14-32 32v384c0 18 14 32 32 32h320c18 0 32-14 32-32V96c0-18-14-32-32-32zM256 192a64 64 0 1 1 0 128 64 64 0 0 1 0-128zm128 240c0 9-7 16-16 16H144c-9 0-16-7-16-16v-32c0-6 3-11 8-14 74-46 166-46 240 0 5 3 8 8 8 14v32z" ] []
]
featureFlag : Color.Color -> Int -> Element.Element msg
featureFlag cl size =
Element.html <|
featureFlag_ cl size
featureFlag_ : Color.Color -> Int -> Html.Html msg
featureFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M51 23L10 3V1a1 1 0 1 0-2 0v58a1 1 0 1 0 2 0V41l41-17a1 1 0 0 0 0-1z" ] []
]
blackFlag : Color.Color -> Int -> Element.Element msg
blackFlag cl size =
Element.html <|
blackFlag_ cl size
blackFlag_ : Color.Color -> Int -> Html.Html msg
blackFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M427 43H107V21a21 21 0 1 0-43 0v470a21 21 0 1 0 43 0V341h320c11 0 21-9 21-21V64c0-12-10-21-21-21z" ] []
]
whiteFlag : Color.Color -> Int -> Element.Element msg
whiteFlag cl size =
Element.html <|
whiteFlag_ cl size
whiteFlag_ : Color.Color -> Int -> Html.Html msg
whiteFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 464 464", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M388 10H104V5c0-3-2-5-5-5H76c-3 0-5 2-5 5v454c0 3 2 5 5 5h23c3 0 5-2 5-5V205h284c3 0 5-2 5-5V15c0-3-2-5-5-5zM81 454V205h13v249H81zm302-259H104V67a5 5 0 0 0-10 0v128H81V10h13v23a5 5 0 0 0 10 0V20h279v175z" ] []
]
whiteStar : Color.Color -> Int -> Element.Element msg
whiteStar cl size =
Element.html <|
whiteStar_ cl size
whiteStar_ : Color.Color -> Int -> Html.Html msg
whiteStar_ cl size =
Svg.svg [ SA.viewBox "0 0 326 326", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M290 115l-18-2-9-1c-17-2-37-4-44-8-6-5-15-23-22-38l-5-11-8-17c-9-21-13-30-21-30s-13 9-22 30l-8 17-5 11c-7 15-16 33-22 38-6 4-27 6-43 8l-10 1-17 2c-20 1-33 2-36 10-2 8 6 16 23 31a464 464 0 0 1 54 56c1 6 2 11 0 16l-17 71c-3 10-1 15 2 17l6 2c6 0 15-4 28-11l17-9 13-6c14-7 30-15 37-15s23 8 37 15a756 756 0 0 0 57 26l6-2c3-2 6-7 3-17l-18-71c-1-5-1-10 1-16 2-7 17-21 30-33l9-9 15-14c16-15 25-23 22-31s-16-9-35-10zm5 33a468 468 0 0 0-24 23c-15 14-29 28-32 38-3 8-3 15-1 22l17 71 1 5-21-10-18-9-13-6c-16-8-32-16-41-16-10 0-25 8-42 16l-13 6-17 9c-8 4-17 9-22 10l1-5 17-71c3-7 2-14 0-22-3-10-17-24-33-38l-9-9-15-14-19-19c5-2 17-3 26-3l17-2 10-1c20-2 40-4 48-11 9-6 17-23 26-42l5-10 8-18 12-23 11 23a438 438 0 0 0 13 28c9 19 18 36 26 42 9 7 28 9 49 11l9 1 18 2c8 0 21 1 25 3l-19 19z" ] []
]
blackStar : Color.Color -> Int -> Element.Element msg
blackStar cl size =
Element.html <|
blackStar_ cl size
blackStar_ : Color.Color -> Int -> Html.Html msg
blackStar_ cl size =
Svg.svg [ SA.viewBox "0 0 88 88", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M44 0l12 33.6h32L61.8 53.4 71.2 88 44 67.2 16.8 88l9.4-34.6L0 33.6h32z" ] []
]
whitelist : Color.Color -> Int -> Element.Element msg
whitelist cl size =
Element.html <|
whitelist_ cl size
whitelist_ : Color.Color -> Int -> Html.Html msg
whitelist_ cl size =
Svg.svg [ SA.viewBox "0 0 500 500", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 370.59 230.965 c -5.52344 0 -10 4.47656 -10 10 v 88.793 c -0.019532 16.5586 -13.4375 29.9805 -30 30 h -280.59 c -16.5625 -0.019531 -29.9805 -13.4414 -30 -30 v -260.59 c 0.019531 -16.5625 13.4375 -29.9805 30 -30 h 88.7891 c 5.52344 0 10 -4.47656 10 -10 c 0 -5.52344 -4.47656 -10 -10 -10 h -88.7891 c -27.6016 0.03125 -49.9688 22.3984 -50 50 v 260.59 c 0.03125 27.6016 22.3984 49.9688 50 50 h 280.59 c 27.6016 -0.03125 49.9688 -22.3984 50 -50 v -88.7891 c 0 -5.52344 -4.47656 -10.0039 -10 -10.0039 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 156.367 178.344 l 146.012 -146.016 l 47.0898 47.0898 l -146.012 146.016 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 132.543 249.258 l 52.0391 -14.4141 l -37.625 -37.625 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 362.488 7.57813 c -9.76953 -9.74609 -25.5859 -9.74609 -35.3555 0 l -10.6055 10.6055 l 47.0898 47.0898 l 10.6055 -10.6055 c 9.75 -9.76953 9.75 -25.5859 0 -35.3555 Z m 0 0" ] []
]
| 27339 | module Framework.Icon exposing
( arrows, chevronDown, exitFullscreen, fullscreen, hide, home, introspection, mobileNotification, mobileNotification2, mobileRinging, pencil, show
, blackFlag, blackFlag_, blackStar, blackStar_, circle, circle_, edit, edit_, exclamation, exclamation_, featureFlag, featureFlag_, smile, smile_, userVerification, userVerification_, whiteFlag, whiteFlag_, whiteStar, whiteStar_, whitelist, whitelist_
)
{-| [Demo](https://lucamug.github.io/elm-style-framework/#/framework/Icons/Icons)
# Functions
@docs arrows, chevronDown, exitFullscreen, fullscreen, hide, home, introspection, mobileNotification, mobileNotification2, mobileRinging, pencil, show
-}
-- import Color
import Color
import Element
import Framework.Color exposing (black)
import Html
import Html.Attributes
import Svg
import Svg.Attributes as SA
{-| -}
introspection :
{ name : String
, description : String
, signature : String
, variations : List ( String, List ( Element.Element msg1, String ) )
}
introspection =
{ name = "Icons"
, description = "List of SVG icons"
, signature = "Color.Color -> Int -> Element.Element msg"
, variations =
[ ( "Icons"
, [ ( pencil black 32, "pencil black 32" )
, ( exitFullscreen black 32, "exitFullscreen black 32" )
, ( fullscreen black 32, "fullscreen black 32" )
, ( home black 32, "home black 32" )
, ( hide black 32, "hide black 32" )
, ( show black 32, "show black 32" )
, ( mobileRinging black 32, "mobileRinging black 32" )
, ( mobileNotification black 32, "mobileNotification black 32" )
, ( mobileNotification2 black 32, "mobileNotification2 black 32" )
, ( chevronDown black 32, "chevronDown black 32" )
, ( arrows black 32, "arrows black 32" )
, ( circle black 32, "circle black 32" )
, ( smile black 32, "smile black 32" )
, ( exclamation black 32, "exclamation black 32" )
, ( edit black 32, "edit black 32" )
, ( userVerification black 32, "userVerification black 32" )
, ( featureFlag black 32, "featureFlag black 32" )
, ( blackFlag black 32, "blackFlag black 32" )
, ( whiteFlag black 32, "whiteFlag black 32" )
, ( whiteStar black 32, "whiteStar black 32" )
, ( blackStar black 32, "blackStar black 32" )
, ( whitelist black 32, "whitelist black 32" )
]
)
]
}
{-| -}
arrows : Color.Color -> Int -> Element.Element msg
arrows _ size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 490 490", SA.height <| String.fromInt size ]
[ Svg.path [ SA.d "M112 97c72-65 181-66 254-7l-58 3c-8 0-13 6-13 14 0 7 6 13 13 13h1l89-4c7 0 13-6 13-13v-2l-3-88a14 14 0 0 0-27 1l2 55c-36-29-81-47-129-49A222 222 0 0 0 27 294a13 13 0 0 0 17 10c7-2 11-9 9-16-16-70 6-143 59-191zm350 99a14 14 0 0 0-26 6 195 195 0 0 1-314 196l59-5a13 13 0 1 0-3-27l-88 8c-8 1-13 7-13 15l8 88c1 7 7 13 14 13h1c7-1 13-8 12-15l-5-54a221 221 0 0 0 289-8c60-55 86-138 66-217z" ] []
]
{-| -}
home : Color.Color -> Int -> Element.Element msg
home _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 34.94 32.63" ]
[ Svg.path [ SA.d "M34.94 15.58L17.24 0 0 15.65l1.5 1.66 2.14-1.92v17.25h27.68V15.38l2.14 1.88zM14.8 29.93V21.6h5.35v8.34zm14.27.45H22.4v-11h-9.84v11H5.88v-17L17.25 3l11.82 10.4z", SA.fill "#262626", SA.id "_01" ] []
]
{-| -}
pencil : Color.Color -> Int -> Element.Element msg
pencil _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 529 529" ]
[ Svg.path [ SA.d "M329 89l107 108-272 272L57 361 329 89zm189-26l-48-48a48 48 0 0 0-67 0l-46 46 108 108 53-54c14-14 14-37 0-52zM0 513c-2 9 6 16 15 14l120-29L27 391 0 513z" ] []
]
{-| -}
exitFullscreen : Color.Color -> Int -> Element.Element msg
exitFullscreen _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 32 32" ]
[ Svg.path [ SA.fill "#030104", SA.d "M25 27l4 5 3-3-5-4 5-5H20v12zM0 12h12V0L7 5 3 0 0 3l5 4zm0 17l3 3 4-5 5 5V20H0l5 5zm20-17h12l-5-5 5-4-3-3-4 5-5-5z" ] []
]
{-| -}
fullscreen : Color.Color -> Int -> Element.Element msg
fullscreen _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 533 533" ]
[ Svg.path [ SA.d "M533 0v217l-83-84-100 100-50-50L400 83 317 0h216zM233 350L133 450l84 83H0V317l83 83 100-100 50 50z" ] []
]
{-| -}
hide : Color.Color -> Int -> Element.Element msg
hide cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d
"M506 241l-89-89-14-13-258 258a227 227 0 0 0 272-37l89-89c8-8 8-22 0-30zM256 363a21 21 0 0 1 0-43c35 0 64-29 64-64a21 21 0 0 1 43 0c0 59-48 107-107 107zM95 152L6 241c-8 8-8 22 0 30l89 89 14 13 258-258c-86-49-198-37-272 37zm161 40c-35 0-64 29-64 64a21 21 0 0 1-43 0c0-59 48-107 107-107a21 21 0 0 1 0 43z"
]
[]
]
{-| -}
show : Color.Color -> Int -> Element.Element msg
show cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d
"M256 192a64 64 0 1 0 0 128 64 64 0 0 0 0-128zm250 49l-89-89c-89-89-233-89-322 0L6 241c-8 8-8 22 0 30l89 89a227 227 0 0 0 322 0l89-89c8-8 8-22 0-30zM256 363a107 107 0 1 1 0-214 107 107 0 0 1 0 214z"
]
[]
]
{-| -}
mobileNotification2 : Color.Color -> Int -> Element.Element msg
mobileNotification2 cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 31.68 31.68", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d "M21.5 25.67H7V3.89h14.5v4.7h1.73V2.3a2.3 2.3 0 0 0-2.3-2.3H7.58a2.3 2.3 0 0 0-2.3 2.3v27.08a2.3 2.3 0 0 0 2.3 2.3h13.33a2.3 2.3 0 0 0 2.3-2.3V19.2H21.5v6.46zM19.4 1.44c.33 0 .59.27.59.6s-.26.58-.59.58-.59-.26-.59-.59.26-.59.59-.59zm-8.24.23h6.19v.67h-6.19v-.67zm5.91 27.55h-5.63V27.5h5.63v1.73z"
]
[]
, Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d "M13.05 9.3v9h1.56L13.05 22l4.54-3.7h8.81v-9H13.05zm12.21 7.86H17.2l-.32.25-1 .81.45-1.06H14.2v-6.71h11.07v6.7z"
]
[]
]
{-| -}
mobileRinging : Color.Color -> Int -> Element.Element msg
mobileRinging cl size =
let
hexColor =
Color.colorToHex cl
in
Element.html <|
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill hexColor, SA.d "M43 0H17c-2 0-4 2-4 4v52c0 2 2 4 4 4h26c2 0 4-2 4-4V4c0-2-2-4-4-4zM15 8h30v38H15V8zm2-6h26l2 2v2H15V4l2-2zm26 56H17l-2-2v-8h30v8l-2 2z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M30 49a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM26 5h4a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2zm7 0h1a1 1 0 1 0 0-2h-1a1 1 0 1 0 0 2zm24 0a1 1 0 1 0-2 1c4 4 4 10 0 14a1 1 0 1 0 2 1c4-5 4-12 0-16z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M52 7a1 1 0 1 0-1 1 7 7 0 0 1 0 10 1 1 0 1 0 1 1 8 8 0 0 0 0-12zM5 6a1 1 0 1 0-2-1c-4 4-4 11 0 16a1 1 0 0 0 2 0v-1C1 16 1 10 5 6z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M9 7H8a8 8 0 0 0 0 12 1 1 0 0 0 1 0v-2a7 7 0 0 1 0-9V7z" ] []
]
{-| -}
mobileNotification : Color.Color -> Int -> Element.Element msg
mobileNotification cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M20 49a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM17 5h4a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2zm7 0h1a1 1 0 1 0 0-2h-1a1 1 0 1 0 0 2z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M56 12H38V4c0-2-2-4-4-4H8C6 0 4 2 4 4v52c0 2 2 4 4 4h26c2 0 4-2 4-4V33h18V12zM8 2h26l2 2v2H6V4l2-2zm26 56H8l-2-2v-8h30v8l-2 2zm2-12H6V8h30v4H18v21h4v7l9-7h5v13zm18-15H31l-7 5v-5h-4V14h34v17z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M25 21h10a1 1 0 1 0 0-2H25a1 1 0 1 0 0 2zm-1 4l1 1h24a1 1 0 1 0 0-2H25l-1 1z" ] []
]
{-| -}
chevronDown : Color.Color -> Int -> Element.Element msg
chevronDown _ size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 256 256", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.d "M225.81 48.9L128 146.73 30.19 48.91 0 79.09l128 128 128-<KEY>"
]
[]
]
{-| -}
circle_ : Color.Color -> Int -> Html.Html msg
circle_ cl size =
Svg.svg [ SA.viewBox "0 0 100 100", SA.height <| String.fromInt size ]
[ Svg.circle
[ SA.fill (Color.colorToHex cl), SA.cx "50", SA.cy "50", SA.r "50" ]
[]
]
{-| -}
circle : Color.Color -> Int -> Element.Element msg
circle cl size =
Element.html <|
circle_ cl size
{-| -}
smile_ : Color.Color -> Int -> Html.Html msg
smile_ cl size =
Svg.svg [ SA.viewBox "0 0 559 559", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M315 429h-49c-62 0-110-48-110-109a13 13 0 0 1 27 0c0 46 36 82 83 82h49c46 0 83-35 83-80a13 13 0 1 1 27 0c0 60-48 107-110 107zm-88-224c-3 0-7-1-9-4a33 33 0 0 0-46-1 13 13 0 1 1-19-19c22-23 61-22 84 1a13 13 0 0 1-10 23zm183 0c-3 0-6-1-9-4a33 33 0 0 0-46-1 13 13 0 1 1-19-19c22-23 61-22 84 1a13 13 0 0 1-10 23z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M280 559a280 280 0 1 1 0-560 280 280 0 0 1 0 560zm0-532a253 253 0 1 0 0 506 253 253 0 0 0 0-506z" ] []
]
{-| -}
smile : Color.Color -> Int -> Element.Element msg
smile cl size =
Element.html <|
smile_ cl size
exclamation_ : Color.Color -> Int -> Html.Html msg
exclamation_ cl size =
Svg.svg [ SA.viewBox "0 0 612 612", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M605 502L350 60a51 51 0 0 0-88 0L7 502a51 51 0 0 0 44 76h510a51 51 0 0 0 44-76zM51 527L306 85l255 442H51zm255-119a34 34 0 1 0 0 68 34 34 0 0 0 0-68zm-34-153v6l17 99a17 17 0 0 0 34 0l17-99v-6a34 34 0 0 0-68 0z" ] []
]
exclamation : Color.Color -> Int -> Element.Element msg
exclamation cl size =
Element.html <|
exclamation_ cl size
edit : Color.Color -> Int -> Element.Element msg
edit cl size =
Element.html <|
edit_ cl size
edit_ : Color.Color -> Int -> Html.Html msg
edit_ cl size =
Svg.svg [ SA.viewBox "0 0 490 490", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M230 145l-48 48-52 53c-4 4-7 9-8 15l-19 87-3 16c-2 7 0 15 5 20 4 5 10 7 16 7l5-1 18-3 84-18c6-1 12-4 17-9l235-236c6-6 10-13 10-21v-4l-1-6-5-17c-15-33-39-57-73-71-6-3-13-3-20-4h-1c-9-2-17 1-25 9L230 145zM386 25h3c5 0 10 1 13 3 28 11 48 30 60 58l3 11 1 5-3 5-236 235-4 3-84 17-15 3 3-13 18-86 2-3 53-53 47-47L383 27l3-2z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M39 109h175a12 12 0 1 0 0-24H39c-22 0-39 17-39 39v327c0 22 18 39 39 39h327c22 0 39-18 39-39V284a12 12 0 1 0-24 0v167c0 8-7 14-15 14H39c-8 0-15-6-15-14V124c1-8 7-15 15-15z" ] []
]
userVerification : Color.Color -> Int -> Element.Element msg
userVerification cl size =
Element.html <|
userVerification_ cl size
userVerification_ : Color.Color -> Int -> Html.Html msg
userVerification_ cl size =
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M336 32h-35a48 48 0 0 0-90 0h-35c-9 0-16 7-16 16v32c0 9 7 16 16 16h160c9 0 16-7 16-16V48c0-9-7-16-16-16z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M416 64h-32v16c0 26-22 48-48 48H176c-26 0-48-22-48-48V64H96c-18 0-32 14-32 32v384c0 18 14 32 32 32h320c18 0 32-14 32-32V96c0-18-14-32-32-32zM256 192a64 64 0 1 1 0 128 64 64 0 0 1 0-128zm128 240c0 9-7 16-16 16H144c-9 0-16-7-16-16v-32c0-6 3-11 8-14 74-46 166-46 240 0 5 3 8 8 8 14v32z" ] []
]
featureFlag : Color.Color -> Int -> Element.Element msg
featureFlag cl size =
Element.html <|
featureFlag_ cl size
featureFlag_ : Color.Color -> Int -> Html.Html msg
featureFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M51 23L10 3V1a1 1 0 1 0-2 0v58a1 1 0 1 0 2 0V41l41-17a1 1 0 0 0 0-1z" ] []
]
blackFlag : Color.Color -> Int -> Element.Element msg
blackFlag cl size =
Element.html <|
blackFlag_ cl size
blackFlag_ : Color.Color -> Int -> Html.Html msg
blackFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M427 43H107V21a21 21 0 1 0-43 0v470a21 21 0 1 0 43 0V341h320c11 0 21-9 21-21V64c0-12-10-21-21-21z" ] []
]
whiteFlag : Color.Color -> Int -> Element.Element msg
whiteFlag cl size =
Element.html <|
whiteFlag_ cl size
whiteFlag_ : Color.Color -> Int -> Html.Html msg
whiteFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 464 464", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M388 10H104V5c0-3-2-5-5-5H76c-3 0-5 2-5 5v454c0 3 2 5 5 5h23c3 0 5-2 5-5V205h284c3 0 5-2 5-5V15c0-3-2-5-5-5zM81 454V205h13v249H81zm302-259H104V67a5 5 0 0 0-10 0v128H81V10h13v23a5 5 0 0 0 10 0V20h279v175z" ] []
]
whiteStar : Color.Color -> Int -> Element.Element msg
whiteStar cl size =
Element.html <|
whiteStar_ cl size
whiteStar_ : Color.Color -> Int -> Html.Html msg
whiteStar_ cl size =
Svg.svg [ SA.viewBox "0 0 326 326", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M290 115l-18-2-9-1c-17-2-37-4-44-8-6-5-15-23-22-38l-5-11-8-17c-9-21-13-30-21-30s-13 9-22 30l-8 17-5 11c-7 15-16 33-22 38-6 4-27 6-43 8l-10 1-17 2c-20 1-33 2-36 10-2 8 6 16 23 31a464 464 0 0 1 54 56c1 6 2 11 0 16l-17 71c-3 10-1 15 2 17l6 2c6 0 15-4 28-11l17-9 13-6c14-7 30-15 37-15s23 8 37 15a756 756 0 0 0 57 26l6-2c3-2 6-7 3-17l-18-71c-1-5-1-10 1-16 2-7 17-21 30-33l9-9 15-14c16-15 25-23 22-31s-16-9-35-10zm5 33a468 468 0 0 0-24 23c-15 14-29 28-32 38-3 8-3 15-1 22l17 71 1 5-21-10-18-9-13-6c-16-8-32-16-41-16-10 0-25 8-42 16l-13 6-17 9c-8 4-17 9-22 10l1-5 17-71c3-7 2-14 0-22-3-10-17-24-33-38l-9-9-15-14-19-19c5-2 17-3 26-3l17-2 10-1c20-2 40-4 48-11 9-6 17-23 26-42l5-10 8-18 12-23 11 23a438 438 0 0 0 13 28c9 19 18 36 26 42 9 7 28 9 49 11l9 1 18 2c8 0 21 1 25 3l-19 19z" ] []
]
blackStar : Color.Color -> Int -> Element.Element msg
blackStar cl size =
Element.html <|
blackStar_ cl size
blackStar_ : Color.Color -> Int -> Html.Html msg
blackStar_ cl size =
Svg.svg [ SA.viewBox "0 0 88 88", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M44 0l12 33.6h32L61.8 53.4 71.2 88 44 67.2 16.8 88l9.4-34.6L0 33.6h32z" ] []
]
whitelist : Color.Color -> Int -> Element.Element msg
whitelist cl size =
Element.html <|
whitelist_ cl size
whitelist_ : Color.Color -> Int -> Html.Html msg
whitelist_ cl size =
Svg.svg [ SA.viewBox "0 0 500 500", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 370.59 230.965 c -5.52344 0 -10 4.47656 -10 10 v 88.793 c -0.019532 16.5586 -13.4375 29.9805 -30 30 h -280.59 c -16.5625 -0.019531 -29.9805 -13.4414 -30 -30 v -260.59 c 0.019531 -16.5625 13.4375 -29.9805 30 -30 h 88.7891 c 5.52344 0 10 -4.47656 10 -10 c 0 -5.52344 -4.47656 -10 -10 -10 h -88.7891 c -27.6016 0.03125 -49.9688 22.3984 -50 50 v 260.59 c 0.03125 27.6016 22.3984 49.9688 50 50 h 280.59 c 27.6016 -0.03125 49.9688 -22.3984 50 -50 v -88.7891 c 0 -5.52344 -4.47656 -10.0039 -10 -10.0039 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 156.367 178.344 l 146.012 -146.016 l 47.0898 47.0898 l -146.012 146.016 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 132.543 249.258 l 52.0391 -14.4141 l -37.625 -37.625 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 362.488 7.57813 c -9.76953 -9.74609 -25.5859 -9.74609 -35.3555 0 l -10.6055 10.6055 l 47.0898 47.0898 l 10.6055 -10.6055 c 9.75 -9.76953 9.75 -25.5859 0 -35.3555 Z m 0 0" ] []
]
| true | module Framework.Icon exposing
( arrows, chevronDown, exitFullscreen, fullscreen, hide, home, introspection, mobileNotification, mobileNotification2, mobileRinging, pencil, show
, blackFlag, blackFlag_, blackStar, blackStar_, circle, circle_, edit, edit_, exclamation, exclamation_, featureFlag, featureFlag_, smile, smile_, userVerification, userVerification_, whiteFlag, whiteFlag_, whiteStar, whiteStar_, whitelist, whitelist_
)
{-| [Demo](https://lucamug.github.io/elm-style-framework/#/framework/Icons/Icons)
# Functions
@docs arrows, chevronDown, exitFullscreen, fullscreen, hide, home, introspection, mobileNotification, mobileNotification2, mobileRinging, pencil, show
-}
-- import Color
import Color
import Element
import Framework.Color exposing (black)
import Html
import Html.Attributes
import Svg
import Svg.Attributes as SA
{-| -}
introspection :
{ name : String
, description : String
, signature : String
, variations : List ( String, List ( Element.Element msg1, String ) )
}
introspection =
{ name = "Icons"
, description = "List of SVG icons"
, signature = "Color.Color -> Int -> Element.Element msg"
, variations =
[ ( "Icons"
, [ ( pencil black 32, "pencil black 32" )
, ( exitFullscreen black 32, "exitFullscreen black 32" )
, ( fullscreen black 32, "fullscreen black 32" )
, ( home black 32, "home black 32" )
, ( hide black 32, "hide black 32" )
, ( show black 32, "show black 32" )
, ( mobileRinging black 32, "mobileRinging black 32" )
, ( mobileNotification black 32, "mobileNotification black 32" )
, ( mobileNotification2 black 32, "mobileNotification2 black 32" )
, ( chevronDown black 32, "chevronDown black 32" )
, ( arrows black 32, "arrows black 32" )
, ( circle black 32, "circle black 32" )
, ( smile black 32, "smile black 32" )
, ( exclamation black 32, "exclamation black 32" )
, ( edit black 32, "edit black 32" )
, ( userVerification black 32, "userVerification black 32" )
, ( featureFlag black 32, "featureFlag black 32" )
, ( blackFlag black 32, "blackFlag black 32" )
, ( whiteFlag black 32, "whiteFlag black 32" )
, ( whiteStar black 32, "whiteStar black 32" )
, ( blackStar black 32, "blackStar black 32" )
, ( whitelist black 32, "whitelist black 32" )
]
)
]
}
{-| -}
arrows : Color.Color -> Int -> Element.Element msg
arrows _ size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 490 490", SA.height <| String.fromInt size ]
[ Svg.path [ SA.d "M112 97c72-65 181-66 254-7l-58 3c-8 0-13 6-13 14 0 7 6 13 13 13h1l89-4c7 0 13-6 13-13v-2l-3-88a14 14 0 0 0-27 1l2 55c-36-29-81-47-129-49A222 222 0 0 0 27 294a13 13 0 0 0 17 10c7-2 11-9 9-16-16-70 6-143 59-191zm350 99a14 14 0 0 0-26 6 195 195 0 0 1-314 196l59-5a13 13 0 1 0-3-27l-88 8c-8 1-13 7-13 15l8 88c1 7 7 13 14 13h1c7-1 13-8 12-15l-5-54a221 221 0 0 0 289-8c60-55 86-138 66-217z" ] []
]
{-| -}
home : Color.Color -> Int -> Element.Element msg
home _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 34.94 32.63" ]
[ Svg.path [ SA.d "M34.94 15.58L17.24 0 0 15.65l1.5 1.66 2.14-1.92v17.25h27.68V15.38l2.14 1.88zM14.8 29.93V21.6h5.35v8.34zm14.27.45H22.4v-11h-9.84v11H5.88v-17L17.25 3l11.82 10.4z", SA.fill "#262626", SA.id "_01" ] []
]
{-| -}
pencil : Color.Color -> Int -> Element.Element msg
pencil _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 529 529" ]
[ Svg.path [ SA.d "M329 89l107 108-272 272L57 361 329 89zm189-26l-48-48a48 48 0 0 0-67 0l-46 46 108 108 53-54c14-14 14-37 0-52zM0 513c-2 9 6 16 15 14l120-29L27 391 0 513z" ] []
]
{-| -}
exitFullscreen : Color.Color -> Int -> Element.Element msg
exitFullscreen _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 32 32" ]
[ Svg.path [ SA.fill "#030104", SA.d "M25 27l4 5 3-3-5-4 5-5H20v12zM0 12h12V0L7 5 3 0 0 3l5 4zm0 17l3 3 4-5 5 5V20H0l5 5zm20-17h12l-5-5 5-4-3-3-4 5-5-5z" ] []
]
{-| -}
fullscreen : Color.Color -> Int -> Element.Element msg
fullscreen _ size =
Element.html <|
Svg.svg [ Html.Attributes.style "height" (String.fromInt size ++ "px"), SA.viewBox "0 0 533 533" ]
[ Svg.path [ SA.d "M533 0v217l-83-84-100 100-50-50L400 83 317 0h216zM233 350L133 450l84 83H0V317l83 83 100-100 50 50z" ] []
]
{-| -}
hide : Color.Color -> Int -> Element.Element msg
hide cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d
"M506 241l-89-89-14-13-258 258a227 227 0 0 0 272-37l89-89c8-8 8-22 0-30zM256 363a21 21 0 0 1 0-43c35 0 64-29 64-64a21 21 0 0 1 43 0c0 59-48 107-107 107zM95 152L6 241c-8 8-8 22 0 30l89 89 14 13 258-258c-86-49-198-37-272 37zm161 40c-35 0-64 29-64 64a21 21 0 0 1-43 0c0-59 48-107 107-107a21 21 0 0 1 0 43z"
]
[]
]
{-| -}
show : Color.Color -> Int -> Element.Element msg
show cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d
"M256 192a64 64 0 1 0 0 128 64 64 0 0 0 0-128zm250 49l-89-89c-89-89-233-89-322 0L6 241c-8 8-8 22 0 30l89 89a227 227 0 0 0 322 0l89-89c8-8 8-22 0-30zM256 363a107 107 0 1 1 0-214 107 107 0 0 1 0 214z"
]
[]
]
{-| -}
mobileNotification2 : Color.Color -> Int -> Element.Element msg
mobileNotification2 cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 31.68 31.68", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d "M21.5 25.67H7V3.89h14.5v4.7h1.73V2.3a2.3 2.3 0 0 0-2.3-2.3H7.58a2.3 2.3 0 0 0-2.3 2.3v27.08a2.3 2.3 0 0 0 2.3 2.3h13.33a2.3 2.3 0 0 0 2.3-2.3V19.2H21.5v6.46zM19.4 1.44c.33 0 .59.27.59.6s-.26.58-.59.58-.59-.26-.59-.59.26-.59.59-.59zm-8.24.23h6.19v.67h-6.19v-.67zm5.91 27.55h-5.63V27.5h5.63v1.73z"
]
[]
, Svg.path
[ SA.fill
(Color.colorToHex cl)
, SA.d "M13.05 9.3v9h1.56L13.05 22l4.54-3.7h8.81v-9H13.05zm12.21 7.86H17.2l-.32.25-1 .81.45-1.06H14.2v-6.71h11.07v6.7z"
]
[]
]
{-| -}
mobileRinging : Color.Color -> Int -> Element.Element msg
mobileRinging cl size =
let
hexColor =
Color.colorToHex cl
in
Element.html <|
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill hexColor, SA.d "M43 0H17c-2 0-4 2-4 4v52c0 2 2 4 4 4h26c2 0 4-2 4-4V4c0-2-2-4-4-4zM15 8h30v38H15V8zm2-6h26l2 2v2H15V4l2-2zm26 56H17l-2-2v-8h30v8l-2 2z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M30 49a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM26 5h4a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2zm7 0h1a1 1 0 1 0 0-2h-1a1 1 0 1 0 0 2zm24 0a1 1 0 1 0-2 1c4 4 4 10 0 14a1 1 0 1 0 2 1c4-5 4-12 0-16z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M52 7a1 1 0 1 0-1 1 7 7 0 0 1 0 10 1 1 0 1 0 1 1 8 8 0 0 0 0-12zM5 6a1 1 0 1 0-2-1c-4 4-4 11 0 16a1 1 0 0 0 2 0v-1C1 16 1 10 5 6z" ] []
, Svg.path [ SA.fill hexColor, SA.d "M9 7H8a8 8 0 0 0 0 12 1 1 0 0 0 1 0v-2a7 7 0 0 1 0-9V7z" ] []
]
{-| -}
mobileNotification : Color.Color -> Int -> Element.Element msg
mobileNotification cl size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M20 49a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM17 5h4a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2zm7 0h1a1 1 0 1 0 0-2h-1a1 1 0 1 0 0 2z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M56 12H38V4c0-2-2-4-4-4H8C6 0 4 2 4 4v52c0 2 2 4 4 4h26c2 0 4-2 4-4V33h18V12zM8 2h26l2 2v2H6V4l2-2zm26 56H8l-2-2v-8h30v8l-2 2zm2-12H6V8h30v4H18v21h4v7l9-7h5v13zm18-15H31l-7 5v-5h-4V14h34v17z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M25 21h10a1 1 0 1 0 0-2H25a1 1 0 1 0 0 2zm-1 4l1 1h24a1 1 0 1 0 0-2H25l-1 1z" ] []
]
{-| -}
chevronDown : Color.Color -> Int -> Element.Element msg
chevronDown _ size =
Element.html <|
Svg.svg [ SA.viewBox "0 0 256 256", SA.height <| String.fromInt size ]
[ Svg.path
[ SA.d "M225.81 48.9L128 146.73 30.19 48.91 0 79.09l128 128 128-PI:KEY:<KEY>END_PI"
]
[]
]
{-| -}
circle_ : Color.Color -> Int -> Html.Html msg
circle_ cl size =
Svg.svg [ SA.viewBox "0 0 100 100", SA.height <| String.fromInt size ]
[ Svg.circle
[ SA.fill (Color.colorToHex cl), SA.cx "50", SA.cy "50", SA.r "50" ]
[]
]
{-| -}
circle : Color.Color -> Int -> Element.Element msg
circle cl size =
Element.html <|
circle_ cl size
{-| -}
smile_ : Color.Color -> Int -> Html.Html msg
smile_ cl size =
Svg.svg [ SA.viewBox "0 0 559 559", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M315 429h-49c-62 0-110-48-110-109a13 13 0 0 1 27 0c0 46 36 82 83 82h49c46 0 83-35 83-80a13 13 0 1 1 27 0c0 60-48 107-110 107zm-88-224c-3 0-7-1-9-4a33 33 0 0 0-46-1 13 13 0 1 1-19-19c22-23 61-22 84 1a13 13 0 0 1-10 23zm183 0c-3 0-6-1-9-4a33 33 0 0 0-46-1 13 13 0 1 1-19-19c22-23 61-22 84 1a13 13 0 0 1-10 23z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M280 559a280 280 0 1 1 0-560 280 280 0 0 1 0 560zm0-532a253 253 0 1 0 0 506 253 253 0 0 0 0-506z" ] []
]
{-| -}
smile : Color.Color -> Int -> Element.Element msg
smile cl size =
Element.html <|
smile_ cl size
exclamation_ : Color.Color -> Int -> Html.Html msg
exclamation_ cl size =
Svg.svg [ SA.viewBox "0 0 612 612", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M605 502L350 60a51 51 0 0 0-88 0L7 502a51 51 0 0 0 44 76h510a51 51 0 0 0 44-76zM51 527L306 85l255 442H51zm255-119a34 34 0 1 0 0 68 34 34 0 0 0 0-68zm-34-153v6l17 99a17 17 0 0 0 34 0l17-99v-6a34 34 0 0 0-68 0z" ] []
]
exclamation : Color.Color -> Int -> Element.Element msg
exclamation cl size =
Element.html <|
exclamation_ cl size
edit : Color.Color -> Int -> Element.Element msg
edit cl size =
Element.html <|
edit_ cl size
edit_ : Color.Color -> Int -> Html.Html msg
edit_ cl size =
Svg.svg [ SA.viewBox "0 0 490 490", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M230 145l-48 48-52 53c-4 4-7 9-8 15l-19 87-3 16c-2 7 0 15 5 20 4 5 10 7 16 7l5-1 18-3 84-18c6-1 12-4 17-9l235-236c6-6 10-13 10-21v-4l-1-6-5-17c-15-33-39-57-73-71-6-3-13-3-20-4h-1c-9-2-17 1-25 9L230 145zM386 25h3c5 0 10 1 13 3 28 11 48 30 60 58l3 11 1 5-3 5-236 235-4 3-84 17-15 3 3-13 18-86 2-3 53-53 47-47L383 27l3-2z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M39 109h175a12 12 0 1 0 0-24H39c-22 0-39 17-39 39v327c0 22 18 39 39 39h327c22 0 39-18 39-39V284a12 12 0 1 0-24 0v167c0 8-7 14-15 14H39c-8 0-15-6-15-14V124c1-8 7-15 15-15z" ] []
]
userVerification : Color.Color -> Int -> Element.Element msg
userVerification cl size =
Element.html <|
userVerification_ cl size
userVerification_ : Color.Color -> Int -> Html.Html msg
userVerification_ cl size =
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M336 32h-35a48 48 0 0 0-90 0h-35c-9 0-16 7-16 16v32c0 9 7 16 16 16h160c9 0 16-7 16-16V48c0-9-7-16-16-16z" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M416 64h-32v16c0 26-22 48-48 48H176c-26 0-48-22-48-48V64H96c-18 0-32 14-32 32v384c0 18 14 32 32 32h320c18 0 32-14 32-32V96c0-18-14-32-32-32zM256 192a64 64 0 1 1 0 128 64 64 0 0 1 0-128zm128 240c0 9-7 16-16 16H144c-9 0-16-7-16-16v-32c0-6 3-11 8-14 74-46 166-46 240 0 5 3 8 8 8 14v32z" ] []
]
featureFlag : Color.Color -> Int -> Element.Element msg
featureFlag cl size =
Element.html <|
featureFlag_ cl size
featureFlag_ : Color.Color -> Int -> Html.Html msg
featureFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 60 60", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M51 23L10 3V1a1 1 0 1 0-2 0v58a1 1 0 1 0 2 0V41l41-17a1 1 0 0 0 0-1z" ] []
]
blackFlag : Color.Color -> Int -> Element.Element msg
blackFlag cl size =
Element.html <|
blackFlag_ cl size
blackFlag_ : Color.Color -> Int -> Html.Html msg
blackFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 512 512", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M427 43H107V21a21 21 0 1 0-43 0v470a21 21 0 1 0 43 0V341h320c11 0 21-9 21-21V64c0-12-10-21-21-21z" ] []
]
whiteFlag : Color.Color -> Int -> Element.Element msg
whiteFlag cl size =
Element.html <|
whiteFlag_ cl size
whiteFlag_ : Color.Color -> Int -> Html.Html msg
whiteFlag_ cl size =
Svg.svg [ SA.viewBox "0 0 464 464", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M388 10H104V5c0-3-2-5-5-5H76c-3 0-5 2-5 5v454c0 3 2 5 5 5h23c3 0 5-2 5-5V205h284c3 0 5-2 5-5V15c0-3-2-5-5-5zM81 454V205h13v249H81zm302-259H104V67a5 5 0 0 0-10 0v128H81V10h13v23a5 5 0 0 0 10 0V20h279v175z" ] []
]
whiteStar : Color.Color -> Int -> Element.Element msg
whiteStar cl size =
Element.html <|
whiteStar_ cl size
whiteStar_ : Color.Color -> Int -> Html.Html msg
whiteStar_ cl size =
Svg.svg [ SA.viewBox "0 0 326 326", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M290 115l-18-2-9-1c-17-2-37-4-44-8-6-5-15-23-22-38l-5-11-8-17c-9-21-13-30-21-30s-13 9-22 30l-8 17-5 11c-7 15-16 33-22 38-6 4-27 6-43 8l-10 1-17 2c-20 1-33 2-36 10-2 8 6 16 23 31a464 464 0 0 1 54 56c1 6 2 11 0 16l-17 71c-3 10-1 15 2 17l6 2c6 0 15-4 28-11l17-9 13-6c14-7 30-15 37-15s23 8 37 15a756 756 0 0 0 57 26l6-2c3-2 6-7 3-17l-18-71c-1-5-1-10 1-16 2-7 17-21 30-33l9-9 15-14c16-15 25-23 22-31s-16-9-35-10zm5 33a468 468 0 0 0-24 23c-15 14-29 28-32 38-3 8-3 15-1 22l17 71 1 5-21-10-18-9-13-6c-16-8-32-16-41-16-10 0-25 8-42 16l-13 6-17 9c-8 4-17 9-22 10l1-5 17-71c3-7 2-14 0-22-3-10-17-24-33-38l-9-9-15-14-19-19c5-2 17-3 26-3l17-2 10-1c20-2 40-4 48-11 9-6 17-23 26-42l5-10 8-18 12-23 11 23a438 438 0 0 0 13 28c9 19 18 36 26 42 9 7 28 9 49 11l9 1 18 2c8 0 21 1 25 3l-19 19z" ] []
]
blackStar : Color.Color -> Int -> Element.Element msg
blackStar cl size =
Element.html <|
blackStar_ cl size
blackStar_ : Color.Color -> Int -> Html.Html msg
blackStar_ cl size =
Svg.svg [ SA.viewBox "0 0 88 88", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "M44 0l12 33.6h32L61.8 53.4 71.2 88 44 67.2 16.8 88l9.4-34.6L0 33.6h32z" ] []
]
whitelist : Color.Color -> Int -> Element.Element msg
whitelist cl size =
Element.html <|
whitelist_ cl size
whitelist_ : Color.Color -> Int -> Html.Html msg
whitelist_ cl size =
Svg.svg [ SA.viewBox "0 0 500 500", SA.height <| String.fromInt size ]
[ Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 370.59 230.965 c -5.52344 0 -10 4.47656 -10 10 v 88.793 c -0.019532 16.5586 -13.4375 29.9805 -30 30 h -280.59 c -16.5625 -0.019531 -29.9805 -13.4414 -30 -30 v -260.59 c 0.019531 -16.5625 13.4375 -29.9805 30 -30 h 88.7891 c 5.52344 0 10 -4.47656 10 -10 c 0 -5.52344 -4.47656 -10 -10 -10 h -88.7891 c -27.6016 0.03125 -49.9688 22.3984 -50 50 v 260.59 c 0.03125 27.6016 22.3984 49.9688 50 50 h 280.59 c 27.6016 -0.03125 49.9688 -22.3984 50 -50 v -88.7891 c 0 -5.52344 -4.47656 -10.0039 -10 -10.0039 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 156.367 178.344 l 146.012 -146.016 l 47.0898 47.0898 l -146.012 146.016 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 132.543 249.258 l 52.0391 -14.4141 l -37.625 -37.625 Z m 0 0" ] []
, Svg.path [ SA.fill (Color.colorToHex cl), SA.d "m 362.488 7.57813 c -9.76953 -9.74609 -25.5859 -9.74609 -35.3555 0 l -10.6055 10.6055 l 47.0898 47.0898 l 10.6055 -10.6055 c 9.75 -9.76953 9.75 -25.5859 0 -35.3555 Z m 0 0" ] []
]
| elm |
[
{
"context": "{-\n Copyright 2020 Morgan Stanley\n\n Licensed under the Apache License, Version 2.",
"end": 35,
"score": 0.9998421669,
"start": 21,
"tag": "NAME",
"value": "Morgan Stanley"
}
] | src/Morphir/IR/SDK/Char.elm | bekand/morphir-elm | 6 | {-
Copyright 2020 Morgan Stanley
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.
-}
module Morphir.IR.SDK.Char exposing (..)
import Dict
import Morphir.IR.Documented exposing (Documented)
import Morphir.IR.Module as Module exposing (ModuleName)
import Morphir.IR.Name as Name
import Morphir.IR.Path as Path
import Morphir.IR.SDK.Basics exposing (boolType, intType)
import Morphir.IR.SDK.Common exposing (toFQName, vSpec)
import Morphir.IR.Type exposing (Specification(..), Type(..))
moduleName : ModuleName
moduleName =
Path.fromString "Char"
moduleSpec : Module.Specification ()
moduleSpec =
{ types =
Dict.fromList
[ ( Name.fromString "Char", OpaqueTypeSpecification [] |> Documented "Type that represents a single character." )
]
, values =
Dict.fromList
[ vSpec "isUpper" [ ( "c", charType () ) ] (boolType ())
, vSpec "isLower" [ ( "c", charType () ) ] (boolType ())
, vSpec "isAlpha" [ ( "c", charType () ) ] (boolType ())
, vSpec "isAlphaNum" [ ( "c", charType () ) ] (boolType ())
, vSpec "isDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "isOctDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "isHexDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "toUpper" [ ( "c", charType () ) ] (charType ())
, vSpec "toLower" [ ( "c", charType () ) ] (charType ())
, vSpec "toLocaleUpper" [ ( "c", charType () ) ] (charType ())
, vSpec "toLocaleLower" [ ( "c", charType () ) ] (charType ())
, vSpec "toCode" [ ( "c", charType () ) ] (intType ())
, vSpec "fromCode" [ ( "c", intType () ) ] (charType ())
]
}
charType : a -> Type a
charType attributes =
Reference attributes (toFQName moduleName "Char") []
| 21459 | {-
Copyright 2020 <NAME>
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.
-}
module Morphir.IR.SDK.Char exposing (..)
import Dict
import Morphir.IR.Documented exposing (Documented)
import Morphir.IR.Module as Module exposing (ModuleName)
import Morphir.IR.Name as Name
import Morphir.IR.Path as Path
import Morphir.IR.SDK.Basics exposing (boolType, intType)
import Morphir.IR.SDK.Common exposing (toFQName, vSpec)
import Morphir.IR.Type exposing (Specification(..), Type(..))
moduleName : ModuleName
moduleName =
Path.fromString "Char"
moduleSpec : Module.Specification ()
moduleSpec =
{ types =
Dict.fromList
[ ( Name.fromString "Char", OpaqueTypeSpecification [] |> Documented "Type that represents a single character." )
]
, values =
Dict.fromList
[ vSpec "isUpper" [ ( "c", charType () ) ] (boolType ())
, vSpec "isLower" [ ( "c", charType () ) ] (boolType ())
, vSpec "isAlpha" [ ( "c", charType () ) ] (boolType ())
, vSpec "isAlphaNum" [ ( "c", charType () ) ] (boolType ())
, vSpec "isDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "isOctDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "isHexDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "toUpper" [ ( "c", charType () ) ] (charType ())
, vSpec "toLower" [ ( "c", charType () ) ] (charType ())
, vSpec "toLocaleUpper" [ ( "c", charType () ) ] (charType ())
, vSpec "toLocaleLower" [ ( "c", charType () ) ] (charType ())
, vSpec "toCode" [ ( "c", charType () ) ] (intType ())
, vSpec "fromCode" [ ( "c", intType () ) ] (charType ())
]
}
charType : a -> Type a
charType attributes =
Reference attributes (toFQName moduleName "Char") []
| true | {-
Copyright 2020 PI:NAME:<NAME>END_PI
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.
-}
module Morphir.IR.SDK.Char exposing (..)
import Dict
import Morphir.IR.Documented exposing (Documented)
import Morphir.IR.Module as Module exposing (ModuleName)
import Morphir.IR.Name as Name
import Morphir.IR.Path as Path
import Morphir.IR.SDK.Basics exposing (boolType, intType)
import Morphir.IR.SDK.Common exposing (toFQName, vSpec)
import Morphir.IR.Type exposing (Specification(..), Type(..))
moduleName : ModuleName
moduleName =
Path.fromString "Char"
moduleSpec : Module.Specification ()
moduleSpec =
{ types =
Dict.fromList
[ ( Name.fromString "Char", OpaqueTypeSpecification [] |> Documented "Type that represents a single character." )
]
, values =
Dict.fromList
[ vSpec "isUpper" [ ( "c", charType () ) ] (boolType ())
, vSpec "isLower" [ ( "c", charType () ) ] (boolType ())
, vSpec "isAlpha" [ ( "c", charType () ) ] (boolType ())
, vSpec "isAlphaNum" [ ( "c", charType () ) ] (boolType ())
, vSpec "isDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "isOctDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "isHexDigit" [ ( "c", charType () ) ] (boolType ())
, vSpec "toUpper" [ ( "c", charType () ) ] (charType ())
, vSpec "toLower" [ ( "c", charType () ) ] (charType ())
, vSpec "toLocaleUpper" [ ( "c", charType () ) ] (charType ())
, vSpec "toLocaleLower" [ ( "c", charType () ) ] (charType ())
, vSpec "toCode" [ ( "c", charType () ) ] (intType ())
, vSpec "fromCode" [ ( "c", intType () ) ] (charType ())
]
}
charType : a -> Type a
charType attributes =
Reference attributes (toFQName moduleName "Char") []
| elm |
[
{
"context": " \n } \n , { key = (Brown, Just Red)\n , value = { state = StableCell (",
"end": 5628,
"score": 0.8939956427,
"start": 5624,
"tag": "KEY",
"value": "rown"
},
{
"context": " \n , clickNum = 0\n } \n , { key = (Brown, Just Yellow) \n , value = { state = StableCe",
"end": 5857,
"score": 0.720422864,
"start": 5852,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n , clickNum = 0 \n } \n , { key = (Brown, Just Green) \n , value = { state = StableCel",
"end": 6092,
"score": 0.8178103566,
"start": 6087,
"tag": "KEY",
"value": "Brown"
},
{
"context": "} \n , clickNum = 0 \n }\n , { key = (Brown, Nothing) \n , value = { state = StableCell",
"end": 6325,
"score": 0.8597477078,
"start": 6320,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n } \n , { key = (Brown, Just Red) ",
"end": 14819,
"score": 0.5392230153,
"start": 14815,
"tag": "KEY",
"value": "rown"
},
{
"context": " \n , { key = (Brown, Just Yellow) ",
"end": 15382,
"score": 0.6082577705,
"start": 15378,
"tag": "KEY",
"value": "rown"
},
{
"context": " \n , { key = (Brown, Just Blue) ",
"end": 15953,
"score": 0.9514861703,
"start": 15949,
"tag": "KEY",
"value": "rown"
},
{
"context": " \n } \n , { key = (DarkBrown, Just Red) ",
"end": 16460,
"score": 0.9690431356,
"start": 16455,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n , { key = (DarkBrown, Just Yellow) ",
"end": 17027,
"score": 0.9497795701,
"start": 17022,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n , { key = (DarkBrown, Just Blue) ",
"end": 17594,
"score": 0.9737871885,
"start": 17589,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n , { key = (DarkBrown, Nothing) ",
"end": 18161,
"score": 0.8419625759,
"start": 18156,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n fromList \n [ { key = (White, Just Red) \n",
"end": 21032,
"score": 0.3307235241,
"start": 21029,
"tag": "KEY",
"value": "Red"
},
{
"context": " \n } \n , { key = (LightGrey, Nothing) ",
"end": 24567,
"score": 0.6844726205,
"start": 24562,
"tag": "KEY",
"value": "Light"
},
{
"context": " \n } \n , { key = (Brown, Just Red) ",
"end": 27170,
"score": 0.7398828268,
"start": 27165,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n , { key = (Brown, Just Green) ",
"end": 27740,
"score": 0.877856195,
"start": 27736,
"tag": "KEY",
"value": "rown"
},
{
"context": " \n , { key = (Brown, Just Yellow) ",
"end": 28310,
"score": 0.7297309637,
"start": 28305,
"tag": "KEY",
"value": "Brown"
},
{
"context": " \n }\n , { key = (DarkBrown, Just Red) ",
"end": 28807,
"score": 0.9365417361,
"start": 28798,
"tag": "KEY",
"value": "DarkBrown"
},
{
"context": " \n } \n , { key = (DarkBrown, Just Green) ",
"end": 29800,
"score": 0.9947927594,
"start": 29791,
"tag": "KEY",
"value": "DarkBrown"
},
{
"context": "olet \n } \n\ntransTable6_4 : UserTransTable BallOfWool Kitten\ntransTable6_4 =\n fromList\n [ { key = (White",
"end": 31975,
"score": 0.7857655883,
"start": 31965,
"tag": "NAME",
"value": "ool Kitten"
},
{
"context": "} \n , clickNum = 0 \n }\n , { key = (LightGrey, Just Red) ",
"end": 32488,
"score": 0.7026979923,
"start": 32479,
"tag": "KEY",
"value": "LightGrey"
},
{
"context": " \n } \n , { key = (LightGrey, Just Green) \n , value = { state = StableCel",
"end": 32963,
"score": 0.6584621668,
"start": 32954,
"tag": "KEY",
"value": "LightGrey"
},
{
"context": " , clickNum = 0 \n } \n , { key = (LightGrey, Just Blue) ",
"end": 33201,
"score": 0.4939154685,
"start": 33197,
"tag": "KEY",
"value": "Grey"
},
{
"context": "\n , clickNum = 0 \n } \n , { key = (Brown, Just Blue) \n , value = { state = StableCell",
"end": 34600,
"score": 0.8278573751,
"start": 34595,
"tag": "KEY",
"value": "Brown"
},
{
"context": " } \n , clickNum = 0\n }\n , { key = (Brown, Nothing)\n , value = { state = EmptyCell\n ",
"end": 34828,
"score": 0.7916208506,
"start": 34823,
"tag": "KEY",
"value": "Brown"
}
] | Turing/src/GameBase/Data/LevelsData/TasksBlock6Data.elm | JetBrains/programmer-games | 7 | module GameBase.Data.LevelsData.TasksBlock6Data exposing
(basketsNumb6_1, machine6_1, input6_1, transTable6_1,
expectedResult6_1, expectedPos6_1, usedCats6_1, usedBalls6_1,
basketsNumb6_2, machine6_2, input6_2, transTable6_2,
expectedResult6_2, expectedPos6_2, usedCats6_2, usedBalls6_2,
basketsNumb6_3, machine6_3, input6_3, transTable6_3,
expectedResult6_3, expectedPos6_3, usedCats6_3, usedBalls6_3,
basketsNumb6_4, machine6_4, input6_4, transTable6_4,
expectedResult6_4, expectedPos6_4, usedCats6_4, usedBalls6_4)
import TuringMachine.TuringTypes exposing (Direction(..), Machine,
UserTransTable, Cell(..))
import TuringMachine.RunTuring exposing (transFunc)
import GameBase.Data.GameTypes exposing (BallOfWool(..), Kitten(..))
import GameBase.UI.MainObjects.Basket exposing (nineBaskets)
--(sevenBaskets, eightBaskets, nineBaskets)
import Array exposing (Array, fromList)
-- BLOCK 6 : Get result on new place and fixing place on the tape--------------
-- 6_1 - Delete yellow balls from the word, if they exist, else dont change the
-- word
basketsNumb6_1 : Int
basketsNumb6_1 = nineBaskets --eightBaskets
machine6_1 : Machine BallOfWool Kitten
machine6_1 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 1 --0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_1 : UserTransTable BallOfWool Kitten
transTable6_1 =
fromList
[ { key = (White, Just Red)
, value = { state = StableCell (White)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Brown)
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = EmptyCell
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = StableCell (Orange)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Yellow)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_1 : List (Maybe BallOfWool)
input6_1 =
[Nothing, Just Yellow, Just Yellow, Just Red, Just Yellow, Nothing, Nothing,
Nothing]
expectedResult6_1 : List (Maybe BallOfWool)
expectedResult6_1 =
[Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Just Red, Nothing]
expectedPos6_1 : Int
expectedPos6_1 = 7 --6
usedCats6_1 : Array (Cell Kitten)
usedCats6_1 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_1 : Array (Cell (Maybe BallOfWool))
usedBalls6_1 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_2 - Arrange balls in colors of the rainbow by creation new word near input
-- word. Provide proccessing of the case where there isnt red or yellow ball in
-- input word
basketsNumb6_2 : Int
basketsNumb6_2 = nineBaskets --sevenBaskets
machine6_2 : Machine BallOfWool Kitten
machine6_2 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 1 --0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_2 : UserTransTable BallOfWool Kitten
transTable6_2 =
fromList
[ { key = (White, Just Red)
, value = { state = EmptyCell
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Blue)
, value = { state = EmptyCell
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Blue)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Blue)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Blue)
, value = { state = StableCell (Orange)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Red)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Blue)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Nothing)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_2 : List (Maybe BallOfWool)
input6_2 =
[Nothing, Just Yellow, Just Red, Just Blue, Nothing, Nothing, Nothing]
expectedResult6_2 : List (Maybe BallOfWool)
expectedResult6_2 =
[Nothing, Just Yellow, Just Red, Just Blue, Just Red, Just Yellow, Nothing]
expectedPos6_2 : Int
expectedPos6_2 = 5 --4
usedCats6_2 : Array (Cell Kitten)
usedCats6_2 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_2 : Array (Cell (Maybe BallOfWool))
usedBalls6_2 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_3 - Turn the word (abb -> bba)
basketsNumb6_3 : Int
basketsNumb6_3 = nineBaskets --eightBaskets
machine6_3 : Machine BallOfWool Kitten
machine6_3 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 0
, initHeadPosForMach = 3
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_3 : UserTransTable BallOfWool Kitten
transTable6_3 =
fromList
[ { key = (White, Just Red)
, value = { state = StableCell (LightGrey)
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (White, Just Green)
, value = { state = EmptyCell
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Nothing)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Brown, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Brown, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Brown, Just Yellow)
, value = { state = EmptyCell
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Red)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Green)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
]
input6_3 : List (Maybe BallOfWool)
input6_3 =
[Nothing, Just Red, Just Green, Just Green, Nothing, Nothing, Nothing,
Nothing]
expectedResult6_3 : List (Maybe BallOfWool)
expectedResult6_3 =
[Nothing, Nothing, Nothing, Nothing, Just Green, Just Green, Just Red,
Nothing]
expectedPos6_3 : Int
expectedPos6_3 = 5
usedCats6_3 : Array (Cell Kitten)
usedCats6_3 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_3 : Array (Cell (Maybe BallOfWool))
usedBalls6_3 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_4 - Double the word, put blue ball between the word and its copy
basketsNumb6_4 : Int
basketsNumb6_4 = nineBaskets
machine6_4 : Machine BallOfWool Kitten
machine6_4 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_4 : UserTransTable BallOfWool Kitten
transTable6_4 =
fromList
[ { key = (White, Just Green)
, value = { state = StableCell (White)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = EmptyCell
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Blue)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = EmptyCell
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Blue)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Blue)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_4 : List (Maybe BallOfWool)
input6_4 =
[Nothing, Just Green, Just Green, Just Green, Nothing, Nothing, Nothing,
Nothing, Nothing]
expectedResult6_4 : List (Maybe BallOfWool)
expectedResult6_4 =
[Nothing, Just Green, Just Green, Just Green, Just Blue, Just Green,
Just Green, Just Green, Nothing]
expectedPos6_4 : Int
expectedPos6_4 = 5
usedCats6_4 : Array (Cell Kitten)
usedCats6_4 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_4 : Array (Cell (Maybe BallOfWool))
usedBalls6_4 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-------------------------------------------------------------------------------
| 3205 | module GameBase.Data.LevelsData.TasksBlock6Data exposing
(basketsNumb6_1, machine6_1, input6_1, transTable6_1,
expectedResult6_1, expectedPos6_1, usedCats6_1, usedBalls6_1,
basketsNumb6_2, machine6_2, input6_2, transTable6_2,
expectedResult6_2, expectedPos6_2, usedCats6_2, usedBalls6_2,
basketsNumb6_3, machine6_3, input6_3, transTable6_3,
expectedResult6_3, expectedPos6_3, usedCats6_3, usedBalls6_3,
basketsNumb6_4, machine6_4, input6_4, transTable6_4,
expectedResult6_4, expectedPos6_4, usedCats6_4, usedBalls6_4)
import TuringMachine.TuringTypes exposing (Direction(..), Machine,
UserTransTable, Cell(..))
import TuringMachine.RunTuring exposing (transFunc)
import GameBase.Data.GameTypes exposing (BallOfWool(..), Kitten(..))
import GameBase.UI.MainObjects.Basket exposing (nineBaskets)
--(sevenBaskets, eightBaskets, nineBaskets)
import Array exposing (Array, fromList)
-- BLOCK 6 : Get result on new place and fixing place on the tape--------------
-- 6_1 - Delete yellow balls from the word, if they exist, else dont change the
-- word
basketsNumb6_1 : Int
basketsNumb6_1 = nineBaskets --eightBaskets
machine6_1 : Machine BallOfWool Kitten
machine6_1 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 1 --0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_1 : UserTransTable BallOfWool Kitten
transTable6_1 =
fromList
[ { key = (White, Just Red)
, value = { state = StableCell (White)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Brown)
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = EmptyCell
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = StableCell (Orange)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (B<KEY>, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Just Yellow)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_1 : List (Maybe BallOfWool)
input6_1 =
[Nothing, Just Yellow, Just Yellow, Just Red, Just Yellow, Nothing, Nothing,
Nothing]
expectedResult6_1 : List (Maybe BallOfWool)
expectedResult6_1 =
[Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Just Red, Nothing]
expectedPos6_1 : Int
expectedPos6_1 = 7 --6
usedCats6_1 : Array (Cell Kitten)
usedCats6_1 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_1 : Array (Cell (Maybe BallOfWool))
usedBalls6_1 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_2 - Arrange balls in colors of the rainbow by creation new word near input
-- word. Provide proccessing of the case where there isnt red or yellow ball in
-- input word
basketsNumb6_2 : Int
basketsNumb6_2 = nineBaskets --sevenBaskets
machine6_2 : Machine BallOfWool Kitten
machine6_2 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 1 --0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_2 : UserTransTable BallOfWool Kitten
transTable6_2 =
fromList
[ { key = (White, Just Red)
, value = { state = EmptyCell
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Blue)
, value = { state = EmptyCell
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Blue)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Blue)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (B<KEY>, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (B<KEY>, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (B<KEY>, Just Blue)
, value = { state = StableCell (Orange)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Dark<KEY>, Just Red)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Dark<KEY>, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Dark<KEY>, Just Blue)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Dark<KEY>, Nothing)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_2 : List (Maybe BallOfWool)
input6_2 =
[Nothing, Just Yellow, Just Red, Just Blue, Nothing, Nothing, Nothing]
expectedResult6_2 : List (Maybe BallOfWool)
expectedResult6_2 =
[Nothing, Just Yellow, Just Red, Just Blue, Just Red, Just Yellow, Nothing]
expectedPos6_2 : Int
expectedPos6_2 = 5 --4
usedCats6_2 : Array (Cell Kitten)
usedCats6_2 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_2 : Array (Cell (Maybe BallOfWool))
usedBalls6_2 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_3 - Turn the word (abb -> bba)
basketsNumb6_3 : Int
basketsNumb6_3 = nineBaskets --eightBaskets
machine6_3 : Machine BallOfWool Kitten
machine6_3 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 0
, initHeadPosForMach = 3
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_3 : UserTransTable BallOfWool Kitten
transTable6_3 =
fromList
[ { key = (White, Just <KEY>)
, value = { state = StableCell (LightGrey)
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (White, Just Green)
, value = { state = EmptyCell
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>Grey, Nothing)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Nothing)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (<KEY>, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (B<KEY>, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (<KEY>, Just Yellow)
, value = { state = EmptyCell
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (<KEY>, Just Red)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Just Green)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
]
input6_3 : List (Maybe BallOfWool)
input6_3 =
[Nothing, Just Red, Just Green, Just Green, Nothing, Nothing, Nothing,
Nothing]
expectedResult6_3 : List (Maybe BallOfWool)
expectedResult6_3 =
[Nothing, Nothing, Nothing, Nothing, Just Green, Just Green, Just Red,
Nothing]
expectedPos6_3 : Int
expectedPos6_3 = 5
usedCats6_3 : Array (Cell Kitten)
usedCats6_3 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_3 : Array (Cell (Maybe BallOfWool))
usedBalls6_3 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_4 - Double the word, put blue ball between the word and its copy
basketsNumb6_4 : Int
basketsNumb6_4 = nineBaskets
machine6_4 : Machine BallOfWool Kitten
machine6_4 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_4 : UserTransTable BallOfW<NAME>
transTable6_4 =
fromList
[ { key = (White, Just Green)
, value = { state = StableCell (White)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (<KEY>, Just Red)
, value = { state = EmptyCell
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Light<KEY>, Just Blue)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = EmptyCell
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Blue)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Just Blue)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (<KEY>, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_4 : List (Maybe BallOfWool)
input6_4 =
[Nothing, Just Green, Just Green, Just Green, Nothing, Nothing, Nothing,
Nothing, Nothing]
expectedResult6_4 : List (Maybe BallOfWool)
expectedResult6_4 =
[Nothing, Just Green, Just Green, Just Green, Just Blue, Just Green,
Just Green, Just Green, Nothing]
expectedPos6_4 : Int
expectedPos6_4 = 5
usedCats6_4 : Array (Cell Kitten)
usedCats6_4 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_4 : Array (Cell (Maybe BallOfWool))
usedBalls6_4 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-------------------------------------------------------------------------------
| true | module GameBase.Data.LevelsData.TasksBlock6Data exposing
(basketsNumb6_1, machine6_1, input6_1, transTable6_1,
expectedResult6_1, expectedPos6_1, usedCats6_1, usedBalls6_1,
basketsNumb6_2, machine6_2, input6_2, transTable6_2,
expectedResult6_2, expectedPos6_2, usedCats6_2, usedBalls6_2,
basketsNumb6_3, machine6_3, input6_3, transTable6_3,
expectedResult6_3, expectedPos6_3, usedCats6_3, usedBalls6_3,
basketsNumb6_4, machine6_4, input6_4, transTable6_4,
expectedResult6_4, expectedPos6_4, usedCats6_4, usedBalls6_4)
import TuringMachine.TuringTypes exposing (Direction(..), Machine,
UserTransTable, Cell(..))
import TuringMachine.RunTuring exposing (transFunc)
import GameBase.Data.GameTypes exposing (BallOfWool(..), Kitten(..))
import GameBase.UI.MainObjects.Basket exposing (nineBaskets)
--(sevenBaskets, eightBaskets, nineBaskets)
import Array exposing (Array, fromList)
-- BLOCK 6 : Get result on new place and fixing place on the tape--------------
-- 6_1 - Delete yellow balls from the word, if they exist, else dont change the
-- word
basketsNumb6_1 : Int
basketsNumb6_1 = nineBaskets --eightBaskets
machine6_1 : Machine BallOfWool Kitten
machine6_1 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 1 --0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_1 : UserTransTable BallOfWool Kitten
transTable6_1 =
fromList
[ { key = (White, Just Red)
, value = { state = StableCell (White)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Brown)
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = EmptyCell
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = StableCell (Orange)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (BPI:KEY:<KEY>END_PI, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Yellow)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_1 : List (Maybe BallOfWool)
input6_1 =
[Nothing, Just Yellow, Just Yellow, Just Red, Just Yellow, Nothing, Nothing,
Nothing]
expectedResult6_1 : List (Maybe BallOfWool)
expectedResult6_1 =
[Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Just Red, Nothing]
expectedPos6_1 : Int
expectedPos6_1 = 7 --6
usedCats6_1 : Array (Cell Kitten)
usedCats6_1 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_1 : Array (Cell (Maybe BallOfWool))
usedBalls6_1 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_2 - Arrange balls in colors of the rainbow by creation new word near input
-- word. Provide proccessing of the case where there isnt red or yellow ball in
-- input word
basketsNumb6_2 : Int
basketsNumb6_2 = nineBaskets --sevenBaskets
machine6_2 : Machine BallOfWool Kitten
machine6_2 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 1 --0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_2 : UserTransTable BallOfWool Kitten
transTable6_2 =
fromList
[ { key = (White, Just Red)
, value = { state = EmptyCell
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Blue)
, value = { state = EmptyCell
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Blue)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Blue)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (BPI:KEY:<KEY>END_PI, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (BPI:KEY:<KEY>END_PI, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (BPI:KEY:<KEY>END_PI, Just Blue)
, value = { state = StableCell (Orange)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkPI:KEY:<KEY>END_PI, Just Red)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkPI:KEY:<KEY>END_PI, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkPI:KEY:<KEY>END_PI, Just Blue)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkPI:KEY:<KEY>END_PI, Nothing)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_2 : List (Maybe BallOfWool)
input6_2 =
[Nothing, Just Yellow, Just Red, Just Blue, Nothing, Nothing, Nothing]
expectedResult6_2 : List (Maybe BallOfWool)
expectedResult6_2 =
[Nothing, Just Yellow, Just Red, Just Blue, Just Red, Just Yellow, Nothing]
expectedPos6_2 : Int
expectedPos6_2 = 5 --4
usedCats6_2 : Array (Cell Kitten)
usedCats6_2 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_2 : Array (Cell (Maybe BallOfWool))
usedBalls6_2 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_3 - Turn the word (abb -> bba)
basketsNumb6_3 : Int
basketsNumb6_3 = nineBaskets --eightBaskets
machine6_3 : Machine BallOfWool Kitten
machine6_3 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 0
, initHeadPosForMach = 3
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_3 : UserTransTable BallOfWool Kitten
transTable6_3 =
fromList
[ { key = (White, Just PI:KEY:<KEY>END_PI)
, value = { state = StableCell (LightGrey)
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Just Yellow)
, value = { state = StableCell (White)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (White, Just Green)
, value = { state = EmptyCell
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Red)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Yellow)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (LightGrey, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PIGrey, Nothing)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (Grey, Just Red)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Yellow)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = StableCell (Grey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Nothing)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Red)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Red)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (BPI:KEY:<KEY>END_PI, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Yellow)
, value = { state = EmptyCell
, symb = StableCell (Just Yellow)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Red)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (DarkBrown, Just Yellow)
, value = { state = StableCell (DarkBrown)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Green)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
]
input6_3 : List (Maybe BallOfWool)
input6_3 =
[Nothing, Just Red, Just Green, Just Green, Nothing, Nothing, Nothing,
Nothing]
expectedResult6_3 : List (Maybe BallOfWool)
expectedResult6_3 =
[Nothing, Nothing, Nothing, Nothing, Just Green, Just Green, Just Red,
Nothing]
expectedPos6_3 : Int
expectedPos6_3 = 5
usedCats6_3 : Array (Cell Kitten)
usedCats6_3 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_3 : Array (Cell (Maybe BallOfWool))
usedBalls6_3 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-- 6_4 - Double the word, put blue ball between the word and its copy
basketsNumb6_4 : Int
basketsNumb6_4 = nineBaskets
machine6_4 : Machine BallOfWool Kitten
machine6_4 =
{ transition = (transFunc (fromList []) (Violet, Nothing, MoveLeft))
, initHeadPosForDraw = 0
, initHeadPosForMach = 1
, startState = White
, acceptState = Orange
, rejectState = Violet
}
transTable6_4 : UserTransTable BallOfWPI:NAME:<NAME>END_PI
transTable6_4 =
fromList
[ { key = (White, Just Green)
, value = { state = StableCell (White)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (White, Nothing)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Red)
, value = { state = EmptyCell
, symb = EmptyCell
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Green)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightPI:KEY:<KEY>END_PI, Just Blue)
, value = { state = StableCell (LightGrey)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
, { key = (LightGrey, Nothing)
, value = { state = StableCell (Grey)
, symb = StableCell (Nothing)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Green)
, value = { state = EmptyCell
, symb = StableCell (Just Red)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Grey, Just Blue)
, value = { state = StableCell (Orange)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (Brown, Just Green)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Green)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Just Blue)
, value = { state = StableCell (Brown)
, symb = StableCell (Just Blue)
, dir = StableCell (MoveRight)
}
, clickNum = 0
}
, { key = (PI:KEY:<KEY>END_PI, Nothing)
, value = { state = EmptyCell
, symb = StableCell (Just Green)
, dir = StableCell (MoveLeft)
}
, clickNum = 0
}
]
input6_4 : List (Maybe BallOfWool)
input6_4 =
[Nothing, Just Green, Just Green, Just Green, Nothing, Nothing, Nothing,
Nothing, Nothing]
expectedResult6_4 : List (Maybe BallOfWool)
expectedResult6_4 =
[Nothing, Just Green, Just Green, Just Green, Just Blue, Just Green,
Just Green, Just Green, Nothing]
expectedPos6_4 : Int
expectedPos6_4 = 5
usedCats6_4 : Array (Cell Kitten)
usedCats6_4 = fromList [UserCell White, UserCell LightGrey, UserCell Grey,
UserCell Brown, UserCell DarkBrown]
usedBalls6_4 : Array (Cell (Maybe BallOfWool))
usedBalls6_4 = fromList [UserCell (Just Red), UserCell (Just Yellow),
UserCell (Just Green), UserCell (Just Blue), UserCell Nothing]
-------------------------------------------------------------------------------
| elm |
[
{
"context": "ase\n { abstractPhase\n | name = \"Morgen\"\n , steps =\n [ detectiv",
"end": 792,
"score": 0.9887081981,
"start": 786,
"tag": "NAME",
"value": "Morgen"
},
{
"context": "Step\n { abstractStep\n | name = \"Bürger-Spion\"\n , view =\n gameView\n ",
"end": 2506,
"score": 0.9995486736,
"start": 2494,
"tag": "NAME",
"value": "Bürger-Spion"
},
{
"context": "View\n [ simpleAnnouncement \"Der Bürger-Spion darf aufwachen und jemanden überprüfen.\"",
"end": 2603,
"score": 0.8920211196,
"start": 2600,
"tag": "NAME",
"value": "Bür"
},
{
"context": "Step\n { abstractStep\n | name = \"Mafia-Spion\"\n , view =\n gameView\n ",
"end": 2915,
"score": 0.9995071292,
"start": 2904,
"tag": "NAME",
"value": "Mafia-Spion"
},
{
"context": "bbon\n , action = \\player -> AddMarker player.id Alibi\n , options = always [ Button.success ]\n , c",
"end": 4492,
"score": 0.7618240714,
"start": 4487,
"tag": "NAME",
"value": "Alibi"
}
] | src/Phases/Dawn.elm | mafiakiel/gmtool | 1 | module Phases.Dawn exposing (dawn, muter)
import Bootstrap.Button as Button
import Data.Strings exposing (roleToString)
import FontAwesome exposing (icon, ribbon, volumeMute)
import Phases.Abstract exposing (abstractPhase, abstractStep)
import Phases.Common exposing (customCardsStep, gameView, silenceWarning, simpleAnnouncement)
import Types exposing (Action(..), CustomCardStep(..), Marker(..), Party(..), Phase(..), PlayerControl, Role(..), Step(..), StepMode(..))
import Util.Condition exposing (all, both)
import Util.Phases exposing (stepModeByPartyAndRole, stepModeByRole)
import Util.Player exposing (hasMarker, hasParty, hasRole, isAlive)
import Util.Update exposing (removeMarkersFromAllPlayers)
dawn : Phase
dawn =
Phase
{ abstractPhase
| name = "Morgen"
, steps =
[ detective
, privateDetective
, inspector
, villagerSpy
, mafiaSpy
, muter
, crackWhore
, pathologist
, crimeSceneCleaner
, customCardsStep WakeUpAtDawn
]
, backgroundImage = "%PUBLIC_URL%/img/dawn.jpg"
, textColor = "white"
}
detective : Step
detective =
Step
{ abstractStep
| name = roleToString Detective
, view =
gameView
[ simpleAnnouncement "Der Detektiv darf aufwachen und jemanden überprüfen." ]
, mode = stepModeByRole Detective
, isPlayerActive = always (hasRole Detective)
}
privateDetective : Step
privateDetective =
Step
{ abstractStep
| name = roleToString PrivateDetective
, view =
gameView
[ simpleAnnouncement "Der Privatdetektiv darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByRole PrivateDetective
, isPlayerActive = always (hasRole PrivateDetective)
}
inspector : Step
inspector =
Step
{ abstractStep
| name = roleToString Inspector
, view =
gameView
[ simpleAnnouncement "Der Inspektor darf aufwachen und jemanden überprüfen." ]
, mode = stepModeByRole Inspector
, isPlayerActive = always (hasRole Inspector)
}
villagerSpy : Step
villagerSpy =
Step
{ abstractStep
| name = "Bürger-Spion"
, view =
gameView
[ simpleAnnouncement "Der Bürger-Spion darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByPartyAndRole Villagers Spy
, isPlayerActive = always <| both (hasRole Spy) (hasParty Villagers)
}
mafiaSpy : Step
mafiaSpy =
Step
{ abstractStep
| name = "Mafia-Spion"
, view =
gameView
[ simpleAnnouncement "Der Mafia-Spion darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByPartyAndRole Mafia Spy
, isPlayerActive = always <| both (hasRole Spy) (hasParty Mafia)
}
muter : Step
muter =
Step
{ abstractStep
| name = roleToString Muter
, view =
gameView
[ simpleAnnouncement "Der Muter darf aufwachen und jemanden muten." ]
, mode = stepModeByRole Muter
, isPlayerActive = always (hasRole Muter)
, playerControls = [ muterPlayerControl ]
, init = removeMarkersFromAllPlayers <| (==) Muted
}
muterPlayerControl : PlayerControl
muterPlayerControl =
{ label = icon volumeMute
, action = \player -> AddMarker player.id Muted
, options = always [ Button.dark ]
, condition = both isAlive (not << hasMarker Muted)
}
crackWhore : Step
crackWhore =
Step
{ abstractStep
| name = roleToString CrackWhore
, view =
gameView
[ simpleAnnouncement "Die Nutte darf aufwachen und jemandem ein Alibi geben." ]
, mode = stepModeByRole CrackWhore
, isPlayerActive = always (hasRole CrackWhore)
, playerControls = [ crackWhorePlayerControl ]
}
crackWhorePlayerControl : PlayerControl
crackWhorePlayerControl =
{ label = icon ribbon
, action = \player -> AddMarker player.id Alibi
, options = always [ Button.success ]
, condition = all [ isAlive, not << hasRole CrackWhore, not << hasMarker Alibi ]
}
pathologist : Step
pathologist =
Step
{ abstractStep
| name = roleToString Pathologist
, mode = always Skip
}
crimeSceneCleaner : Step
crimeSceneCleaner =
Step
{ abstractStep
| name = roleToString CrimeSceneCleaner
, mode = always Skip
}
| 29635 | module Phases.Dawn exposing (dawn, muter)
import Bootstrap.Button as Button
import Data.Strings exposing (roleToString)
import FontAwesome exposing (icon, ribbon, volumeMute)
import Phases.Abstract exposing (abstractPhase, abstractStep)
import Phases.Common exposing (customCardsStep, gameView, silenceWarning, simpleAnnouncement)
import Types exposing (Action(..), CustomCardStep(..), Marker(..), Party(..), Phase(..), PlayerControl, Role(..), Step(..), StepMode(..))
import Util.Condition exposing (all, both)
import Util.Phases exposing (stepModeByPartyAndRole, stepModeByRole)
import Util.Player exposing (hasMarker, hasParty, hasRole, isAlive)
import Util.Update exposing (removeMarkersFromAllPlayers)
dawn : Phase
dawn =
Phase
{ abstractPhase
| name = "<NAME>"
, steps =
[ detective
, privateDetective
, inspector
, villagerSpy
, mafiaSpy
, muter
, crackWhore
, pathologist
, crimeSceneCleaner
, customCardsStep WakeUpAtDawn
]
, backgroundImage = "%PUBLIC_URL%/img/dawn.jpg"
, textColor = "white"
}
detective : Step
detective =
Step
{ abstractStep
| name = roleToString Detective
, view =
gameView
[ simpleAnnouncement "Der Detektiv darf aufwachen und jemanden überprüfen." ]
, mode = stepModeByRole Detective
, isPlayerActive = always (hasRole Detective)
}
privateDetective : Step
privateDetective =
Step
{ abstractStep
| name = roleToString PrivateDetective
, view =
gameView
[ simpleAnnouncement "Der Privatdetektiv darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByRole PrivateDetective
, isPlayerActive = always (hasRole PrivateDetective)
}
inspector : Step
inspector =
Step
{ abstractStep
| name = roleToString Inspector
, view =
gameView
[ simpleAnnouncement "Der Inspektor darf aufwachen und jemanden überprüfen." ]
, mode = stepModeByRole Inspector
, isPlayerActive = always (hasRole Inspector)
}
villagerSpy : Step
villagerSpy =
Step
{ abstractStep
| name = "<NAME>"
, view =
gameView
[ simpleAnnouncement "Der <NAME>ger-Spion darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByPartyAndRole Villagers Spy
, isPlayerActive = always <| both (hasRole Spy) (hasParty Villagers)
}
mafiaSpy : Step
mafiaSpy =
Step
{ abstractStep
| name = "<NAME>"
, view =
gameView
[ simpleAnnouncement "Der Mafia-Spion darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByPartyAndRole Mafia Spy
, isPlayerActive = always <| both (hasRole Spy) (hasParty Mafia)
}
muter : Step
muter =
Step
{ abstractStep
| name = roleToString Muter
, view =
gameView
[ simpleAnnouncement "Der Muter darf aufwachen und jemanden muten." ]
, mode = stepModeByRole Muter
, isPlayerActive = always (hasRole Muter)
, playerControls = [ muterPlayerControl ]
, init = removeMarkersFromAllPlayers <| (==) Muted
}
muterPlayerControl : PlayerControl
muterPlayerControl =
{ label = icon volumeMute
, action = \player -> AddMarker player.id Muted
, options = always [ Button.dark ]
, condition = both isAlive (not << hasMarker Muted)
}
crackWhore : Step
crackWhore =
Step
{ abstractStep
| name = roleToString CrackWhore
, view =
gameView
[ simpleAnnouncement "Die Nutte darf aufwachen und jemandem ein Alibi geben." ]
, mode = stepModeByRole CrackWhore
, isPlayerActive = always (hasRole CrackWhore)
, playerControls = [ crackWhorePlayerControl ]
}
crackWhorePlayerControl : PlayerControl
crackWhorePlayerControl =
{ label = icon ribbon
, action = \player -> AddMarker player.id <NAME>
, options = always [ Button.success ]
, condition = all [ isAlive, not << hasRole CrackWhore, not << hasMarker Alibi ]
}
pathologist : Step
pathologist =
Step
{ abstractStep
| name = roleToString Pathologist
, mode = always Skip
}
crimeSceneCleaner : Step
crimeSceneCleaner =
Step
{ abstractStep
| name = roleToString CrimeSceneCleaner
, mode = always Skip
}
| true | module Phases.Dawn exposing (dawn, muter)
import Bootstrap.Button as Button
import Data.Strings exposing (roleToString)
import FontAwesome exposing (icon, ribbon, volumeMute)
import Phases.Abstract exposing (abstractPhase, abstractStep)
import Phases.Common exposing (customCardsStep, gameView, silenceWarning, simpleAnnouncement)
import Types exposing (Action(..), CustomCardStep(..), Marker(..), Party(..), Phase(..), PlayerControl, Role(..), Step(..), StepMode(..))
import Util.Condition exposing (all, both)
import Util.Phases exposing (stepModeByPartyAndRole, stepModeByRole)
import Util.Player exposing (hasMarker, hasParty, hasRole, isAlive)
import Util.Update exposing (removeMarkersFromAllPlayers)
dawn : Phase
dawn =
Phase
{ abstractPhase
| name = "PI:NAME:<NAME>END_PI"
, steps =
[ detective
, privateDetective
, inspector
, villagerSpy
, mafiaSpy
, muter
, crackWhore
, pathologist
, crimeSceneCleaner
, customCardsStep WakeUpAtDawn
]
, backgroundImage = "%PUBLIC_URL%/img/dawn.jpg"
, textColor = "white"
}
detective : Step
detective =
Step
{ abstractStep
| name = roleToString Detective
, view =
gameView
[ simpleAnnouncement "Der Detektiv darf aufwachen und jemanden überprüfen." ]
, mode = stepModeByRole Detective
, isPlayerActive = always (hasRole Detective)
}
privateDetective : Step
privateDetective =
Step
{ abstractStep
| name = roleToString PrivateDetective
, view =
gameView
[ simpleAnnouncement "Der Privatdetektiv darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByRole PrivateDetective
, isPlayerActive = always (hasRole PrivateDetective)
}
inspector : Step
inspector =
Step
{ abstractStep
| name = roleToString Inspector
, view =
gameView
[ simpleAnnouncement "Der Inspektor darf aufwachen und jemanden überprüfen." ]
, mode = stepModeByRole Inspector
, isPlayerActive = always (hasRole Inspector)
}
villagerSpy : Step
villagerSpy =
Step
{ abstractStep
| name = "PI:NAME:<NAME>END_PI"
, view =
gameView
[ simpleAnnouncement "Der PI:NAME:<NAME>END_PIger-Spion darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByPartyAndRole Villagers Spy
, isPlayerActive = always <| both (hasRole Spy) (hasParty Villagers)
}
mafiaSpy : Step
mafiaSpy =
Step
{ abstractStep
| name = "PI:NAME:<NAME>END_PI"
, view =
gameView
[ simpleAnnouncement "Der Mafia-Spion darf aufwachen und jemanden überprüfen.", silenceWarning ]
, mode = stepModeByPartyAndRole Mafia Spy
, isPlayerActive = always <| both (hasRole Spy) (hasParty Mafia)
}
muter : Step
muter =
Step
{ abstractStep
| name = roleToString Muter
, view =
gameView
[ simpleAnnouncement "Der Muter darf aufwachen und jemanden muten." ]
, mode = stepModeByRole Muter
, isPlayerActive = always (hasRole Muter)
, playerControls = [ muterPlayerControl ]
, init = removeMarkersFromAllPlayers <| (==) Muted
}
muterPlayerControl : PlayerControl
muterPlayerControl =
{ label = icon volumeMute
, action = \player -> AddMarker player.id Muted
, options = always [ Button.dark ]
, condition = both isAlive (not << hasMarker Muted)
}
crackWhore : Step
crackWhore =
Step
{ abstractStep
| name = roleToString CrackWhore
, view =
gameView
[ simpleAnnouncement "Die Nutte darf aufwachen und jemandem ein Alibi geben." ]
, mode = stepModeByRole CrackWhore
, isPlayerActive = always (hasRole CrackWhore)
, playerControls = [ crackWhorePlayerControl ]
}
crackWhorePlayerControl : PlayerControl
crackWhorePlayerControl =
{ label = icon ribbon
, action = \player -> AddMarker player.id PI:NAME:<NAME>END_PI
, options = always [ Button.success ]
, condition = all [ isAlive, not << hasRole CrackWhore, not << hasMarker Alibi ]
}
pathologist : Step
pathologist =
Step
{ abstractStep
| name = roleToString Pathologist
, mode = always Skip
}
crimeSceneCleaner : Step
crimeSceneCleaner =
Step
{ abstractStep
| name = roleToString CrimeSceneCleaner
, mode = always Skip
}
| elm |
[
{
"context": " , selectedMember = Nothing\n , members = [ \"Mindy\", \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\",",
"end": 581,
"score": 0.9997617602,
"start": 576,
"tag": "NAME",
"value": "Mindy"
},
{
"context": "ectedMember = Nothing\n , members = [ \"Mindy\", \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\"",
"end": 590,
"score": 0.9997526407,
"start": 585,
"tag": "NAME",
"value": "Jaime"
},
{
"context": "er = Nothing\n , members = [ \"Mindy\", \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\", \"Chari",
"end": 598,
"score": 0.9997236729,
"start": 594,
"tag": "NAME",
"value": "Rafa"
},
{
"context": "hing\n , members = [ \"Mindy\", \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\", \"Charith\", \"Nick",
"end": 608,
"score": 0.9997836947,
"start": 602,
"tag": "NAME",
"value": "Elaine"
},
{
"context": " members = [ \"Mindy\", \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\", \"Charith\", \"Nick\" ]\n }",
"end": 617,
"score": 0.9997368455,
"start": 612,
"tag": "NAME",
"value": "Julio"
},
{
"context": "= [ \"Mindy\", \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\", \"Charith\", \"Nick\" ]\n }\n\n\nupdate : ",
"end": 629,
"score": 0.9997500777,
"start": 621,
"tag": "NAME",
"value": "Priyanka"
},
{
"context": " \"Jaime\", \"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\", \"Charith\", \"Nick\" ]\n }\n\n\nupdate : SelectMsg ",
"end": 639,
"score": 0.9997489452,
"start": 633,
"tag": "NAME",
"value": "Prince"
},
{
"context": "\"Rafa\", \"Elaine\", \"Julio\", \"Priyanka\", \"Prince\", \"Charith\", \"Nick\" ]\n }\n\n\nupdate : SelectMsg -> SelectMo",
"end": 650,
"score": 0.9997414947,
"start": 643,
"tag": "NAME",
"value": "Charith"
},
{
"context": "aine\", \"Julio\", \"Priyanka\", \"Prince\", \"Charith\", \"Nick\" ]\n }\n\n\nupdate : SelectMsg -> SelectModel -> (",
"end": 658,
"score": 0.999786675,
"start": 654,
"tag": "NAME",
"value": "Nick"
}
] | packages/component-library/stories/SelectStories.elm | lindsey-collins/kaizen-design-system | 0 | module Main exposing (main)
import ElmStorybook exposing (storyOf, storybook)
import Html exposing (Html, div)
import Html.Attributes exposing (style)
import Kaizen.Select.Select as Select
type alias Item =
String
type alias SelectModel =
{ selectState : Select.State
, selectedMembers : List Item
, selectedMember : Maybe Item
, members : List Item
}
type SelectMsg
= SelectMsg (Select.Msg Item)
model : SelectModel
model =
{ selectState = Select.initState
, selectedMembers = []
, selectedMember = Nothing
, members = [ "Mindy", "Jaime", "Rafa", "Elaine", "Julio", "Priyanka", "Prince", "Charith", "Nick" ]
}
update : SelectMsg -> SelectModel -> ( SelectModel, Cmd SelectMsg )
update msg selectModel =
case msg of
SelectMsg selectMsg ->
let
( action, selectState, selectCmd ) =
Select.update selectMsg selectModel.selectState
updatedModel =
case action of
Select.Select i ->
{ selectModel | selectedMember = Just i, selectedMembers = selectModel.selectedMembers ++ [ i ] }
Select.Deselect i ->
{ selectModel | selectedMembers = List.filter (\item -> item /= i) selectModel.selectedMembers }
_ ->
selectModel
in
( { updatedModel | selectState = selectState }, Cmd.map SelectMsg selectCmd )
main =
let
buildMenuItems i =
{ item = i, label = i, menuItemType = Select.Default }
buildSelected m =
case m.selectedMember of
Just member ->
Just { item = member, label = member, menuItemType = Select.Default }
Nothing ->
Nothing
config =
{ update = update
, init = ( model, Cmd.none )
, subscriptions = \_ -> Sub.none
}
in
storybook
[ storyOf "Single (Kaizen Site Demo)" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "300px", style "margin-top" "12px" ]
[ Select.view
(Select.single (buildSelected m)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable False
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Single Select")
]
, storyOf "Single Searchable" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "300px", style "margin-top" "12px" ]
[ Select.view
(Select.single (buildSelected m)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable True
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Single Searchable Select")
]
, storyOf "Multi-Select Searchable" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "500px", style "margin-top" "12px" ]
[ Select.view
(Select.multi { truncationWidth = Just 300 } (List.map buildMenuItems m.selectedMembers)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable True
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Multi Select")
]
]
| 28362 | module Main exposing (main)
import ElmStorybook exposing (storyOf, storybook)
import Html exposing (Html, div)
import Html.Attributes exposing (style)
import Kaizen.Select.Select as Select
type alias Item =
String
type alias SelectModel =
{ selectState : Select.State
, selectedMembers : List Item
, selectedMember : Maybe Item
, members : List Item
}
type SelectMsg
= SelectMsg (Select.Msg Item)
model : SelectModel
model =
{ selectState = Select.initState
, selectedMembers = []
, selectedMember = Nothing
, members = [ "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>" ]
}
update : SelectMsg -> SelectModel -> ( SelectModel, Cmd SelectMsg )
update msg selectModel =
case msg of
SelectMsg selectMsg ->
let
( action, selectState, selectCmd ) =
Select.update selectMsg selectModel.selectState
updatedModel =
case action of
Select.Select i ->
{ selectModel | selectedMember = Just i, selectedMembers = selectModel.selectedMembers ++ [ i ] }
Select.Deselect i ->
{ selectModel | selectedMembers = List.filter (\item -> item /= i) selectModel.selectedMembers }
_ ->
selectModel
in
( { updatedModel | selectState = selectState }, Cmd.map SelectMsg selectCmd )
main =
let
buildMenuItems i =
{ item = i, label = i, menuItemType = Select.Default }
buildSelected m =
case m.selectedMember of
Just member ->
Just { item = member, label = member, menuItemType = Select.Default }
Nothing ->
Nothing
config =
{ update = update
, init = ( model, Cmd.none )
, subscriptions = \_ -> Sub.none
}
in
storybook
[ storyOf "Single (Kaizen Site Demo)" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "300px", style "margin-top" "12px" ]
[ Select.view
(Select.single (buildSelected m)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable False
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Single Select")
]
, storyOf "Single Searchable" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "300px", style "margin-top" "12px" ]
[ Select.view
(Select.single (buildSelected m)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable True
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Single Searchable Select")
]
, storyOf "Multi-Select Searchable" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "500px", style "margin-top" "12px" ]
[ Select.view
(Select.multi { truncationWidth = Just 300 } (List.map buildMenuItems m.selectedMembers)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable True
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Multi Select")
]
]
| true | module Main exposing (main)
import ElmStorybook exposing (storyOf, storybook)
import Html exposing (Html, div)
import Html.Attributes exposing (style)
import Kaizen.Select.Select as Select
type alias Item =
String
type alias SelectModel =
{ selectState : Select.State
, selectedMembers : List Item
, selectedMember : Maybe Item
, members : List Item
}
type SelectMsg
= SelectMsg (Select.Msg Item)
model : SelectModel
model =
{ selectState = Select.initState
, selectedMembers = []
, selectedMember = Nothing
, members = [ "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI" ]
}
update : SelectMsg -> SelectModel -> ( SelectModel, Cmd SelectMsg )
update msg selectModel =
case msg of
SelectMsg selectMsg ->
let
( action, selectState, selectCmd ) =
Select.update selectMsg selectModel.selectState
updatedModel =
case action of
Select.Select i ->
{ selectModel | selectedMember = Just i, selectedMembers = selectModel.selectedMembers ++ [ i ] }
Select.Deselect i ->
{ selectModel | selectedMembers = List.filter (\item -> item /= i) selectModel.selectedMembers }
_ ->
selectModel
in
( { updatedModel | selectState = selectState }, Cmd.map SelectMsg selectCmd )
main =
let
buildMenuItems i =
{ item = i, label = i, menuItemType = Select.Default }
buildSelected m =
case m.selectedMember of
Just member ->
Just { item = member, label = member, menuItemType = Select.Default }
Nothing ->
Nothing
config =
{ update = update
, init = ( model, Cmd.none )
, subscriptions = \_ -> Sub.none
}
in
storybook
[ storyOf "Single (Kaizen Site Demo)" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "300px", style "margin-top" "12px" ]
[ Select.view
(Select.single (buildSelected m)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable False
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Single Select")
]
, storyOf "Single Searchable" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "300px", style "margin-top" "12px" ]
[ Select.view
(Select.single (buildSelected m)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable True
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Single Searchable Select")
]
, storyOf "Multi-Select Searchable" config <|
\m ->
Html.map SelectMsg <|
div [ style "width" "500px", style "margin-top" "12px" ]
[ Select.view
(Select.multi { truncationWidth = Just 300 } (List.map buildMenuItems m.selectedMembers)
|> Select.state m.selectState
|> Select.menuItems (List.map buildMenuItems m.members)
|> Select.searchable True
|> Select.placeholder ( "Placeholder", Select.Bold )
)
(Select.selectIdentifier "Multi Select")
]
]
| elm |
[
{
"context": "t \"User name\"\n\n Password ->\n t \"Password\"\n\n SignIn ->\n t \"Sign in\"\n\n ",
"end": 909,
"score": 0.9980074167,
"start": 901,
"tag": "PASSWORD",
"value": "Password"
}
] | src/Locale/English.elm | jtojnar/almafoss | 1 | module Locale.English exposing (translator)
{-| English translation of the application.
@docs translator
-}
import Localization exposing (..)
import Localization.Pluralization as Pluralization
import Messages exposing (..)
pl : Int -> String -> String -> Translation
pl n one more =
t (Pluralization.english n one more)
{-| -}
translator : Translator Message
translator str =
case str of
AppName ->
t "álmafoss"
Title page ->
case page of
Nothing ->
t "álmafoss"
Just title ->
t (title ++ " – álmafoss")
NotFoundTitle ->
t "Page not found"
NotFound ->
t "Requested page could not be found."
AuthenticationTitle ->
t "Sign in"
UserName ->
t "User name"
Password ->
t "Password"
SignIn ->
t "Sign in"
SignOut ->
t "Sign out"
AuthenticationRequired ->
t "You do not have permissions to carry out this action. Please sign in."
IncorrectCredentials ->
t "Incorrect credentials entered."
Filters ->
t "Filters"
All ->
t "All"
Unread ->
t "Unread"
Starred ->
t "Starred"
Tags ->
t "Tags"
AllTags ->
t "All tags"
Sources ->
t "Sources"
NumberUnread n ->
t (toString n ++ " unread")
Refresh ->
t "Refresh"
ItemListTitle ->
t "List of items"
Loading ->
t "Loading content…"
NoEntries ->
t "No entries found."
UnstarEntry ->
t "Unstar"
StarEntry ->
t "Star"
MarkEntryRead ->
t "Mark as read"
MarkEntryUnread ->
t "Mark as unread"
ManageSources ->
t "Manage sources"
SourceListTitle ->
t "List of sources"
AddSource ->
t "Add source"
NoSources ->
t "No sources found."
EditSource ->
t "Edit"
SaveSource ->
t "Save"
SourceSaved ->
t "Changes saved"
CancelSourceEditing ->
t "Cancel"
DeleteSource ->
t "Delete"
ReallyDeleteSource ->
t "Do you really wish to delete the source?"
YesDeleteSource ->
t "Yes, delete"
NoDeleteSource ->
t "No, keep it"
SourceTitle ->
t "Title"
SourceTags ->
t "Tags"
SourceFilter ->
t "Filter"
SourceSpout ->
t "Spout"
| 59282 | module Locale.English exposing (translator)
{-| English translation of the application.
@docs translator
-}
import Localization exposing (..)
import Localization.Pluralization as Pluralization
import Messages exposing (..)
pl : Int -> String -> String -> Translation
pl n one more =
t (Pluralization.english n one more)
{-| -}
translator : Translator Message
translator str =
case str of
AppName ->
t "álmafoss"
Title page ->
case page of
Nothing ->
t "álmafoss"
Just title ->
t (title ++ " – álmafoss")
NotFoundTitle ->
t "Page not found"
NotFound ->
t "Requested page could not be found."
AuthenticationTitle ->
t "Sign in"
UserName ->
t "User name"
Password ->
t "<PASSWORD>"
SignIn ->
t "Sign in"
SignOut ->
t "Sign out"
AuthenticationRequired ->
t "You do not have permissions to carry out this action. Please sign in."
IncorrectCredentials ->
t "Incorrect credentials entered."
Filters ->
t "Filters"
All ->
t "All"
Unread ->
t "Unread"
Starred ->
t "Starred"
Tags ->
t "Tags"
AllTags ->
t "All tags"
Sources ->
t "Sources"
NumberUnread n ->
t (toString n ++ " unread")
Refresh ->
t "Refresh"
ItemListTitle ->
t "List of items"
Loading ->
t "Loading content…"
NoEntries ->
t "No entries found."
UnstarEntry ->
t "Unstar"
StarEntry ->
t "Star"
MarkEntryRead ->
t "Mark as read"
MarkEntryUnread ->
t "Mark as unread"
ManageSources ->
t "Manage sources"
SourceListTitle ->
t "List of sources"
AddSource ->
t "Add source"
NoSources ->
t "No sources found."
EditSource ->
t "Edit"
SaveSource ->
t "Save"
SourceSaved ->
t "Changes saved"
CancelSourceEditing ->
t "Cancel"
DeleteSource ->
t "Delete"
ReallyDeleteSource ->
t "Do you really wish to delete the source?"
YesDeleteSource ->
t "Yes, delete"
NoDeleteSource ->
t "No, keep it"
SourceTitle ->
t "Title"
SourceTags ->
t "Tags"
SourceFilter ->
t "Filter"
SourceSpout ->
t "Spout"
| true | module Locale.English exposing (translator)
{-| English translation of the application.
@docs translator
-}
import Localization exposing (..)
import Localization.Pluralization as Pluralization
import Messages exposing (..)
pl : Int -> String -> String -> Translation
pl n one more =
t (Pluralization.english n one more)
{-| -}
translator : Translator Message
translator str =
case str of
AppName ->
t "álmafoss"
Title page ->
case page of
Nothing ->
t "álmafoss"
Just title ->
t (title ++ " – álmafoss")
NotFoundTitle ->
t "Page not found"
NotFound ->
t "Requested page could not be found."
AuthenticationTitle ->
t "Sign in"
UserName ->
t "User name"
Password ->
t "PI:PASSWORD:<PASSWORD>END_PI"
SignIn ->
t "Sign in"
SignOut ->
t "Sign out"
AuthenticationRequired ->
t "You do not have permissions to carry out this action. Please sign in."
IncorrectCredentials ->
t "Incorrect credentials entered."
Filters ->
t "Filters"
All ->
t "All"
Unread ->
t "Unread"
Starred ->
t "Starred"
Tags ->
t "Tags"
AllTags ->
t "All tags"
Sources ->
t "Sources"
NumberUnread n ->
t (toString n ++ " unread")
Refresh ->
t "Refresh"
ItemListTitle ->
t "List of items"
Loading ->
t "Loading content…"
NoEntries ->
t "No entries found."
UnstarEntry ->
t "Unstar"
StarEntry ->
t "Star"
MarkEntryRead ->
t "Mark as read"
MarkEntryUnread ->
t "Mark as unread"
ManageSources ->
t "Manage sources"
SourceListTitle ->
t "List of sources"
AddSource ->
t "Add source"
NoSources ->
t "No sources found."
EditSource ->
t "Edit"
SaveSource ->
t "Save"
SourceSaved ->
t "Changes saved"
CancelSourceEditing ->
t "Cancel"
DeleteSource ->
t "Delete"
ReallyDeleteSource ->
t "Do you really wish to delete the source?"
YesDeleteSource ->
t "Yes, delete"
NoDeleteSource ->
t "No, keep it"
SourceTitle ->
t "Title"
SourceTags ->
t "Tags"
SourceFilter ->
t "Filter"
SourceSpout ->
t "Spout"
| elm |
[
{
"context": " , maxlength 255\n , placeholder \"Passwort\"\n , required True\n ",
"end": 7149,
"score": 0.7234351039,
"start": 7145,
"tag": "PASSWORD",
"value": "Pass"
}
] | elm-simpler/src/Main.elm | marc136/wichteln | 0 | module Main exposing (Model, Msg(..), init, main, update, view)
import Browser exposing (UrlRequest(..))
import Browser.Navigation as Navigation
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput, onSubmit)
import Http
import Json.Decode as Json
import Participate
import Participate.Message as Participate
import Participate.Model as Participate
import Url exposing (Url)
import Url.Parser as UrlParser exposing ((</>))
---- MODEL ----
type alias Model =
{ page : Page
, navKey : Navigation.Key
, self : String
, participants : List String
}
type Page
= LoginForm String
| Waiting
| Result Participate.Model
| LoginError Http.Error
type Route
= Login
| LoginWithName String
init : Flags -> Url -> Navigation.Key -> ( Model, Cmd Msg )
init flags url key =
( { page = LoginForm ""
, navKey = key
, self = flags.random
, participants = List.sort flags.participants
}
|> routeToPage url
, Cmd.none
)
routeToPage : Url -> Model -> Model
routeToPage url model =
let
self =
case UrlParser.parse routeParser url of
Just (LoginWithName self_) ->
case Url.percentDecode self_ of
Just decoded ->
decoded
Nothing ->
model.self
_ ->
model.self
in
{ model | page = LoginForm "", self = self }
routeParser : UrlParser.Parser (Route -> Route) Route
routeParser =
UrlParser.oneOf
[ UrlParser.map Login UrlParser.top
, UrlParser.map Login (UrlParser.s "wichteln_2018" </> UrlParser.top)
, UrlParser.map Login (UrlParser.s "wichteln_2018")
, UrlParser.map LoginWithName UrlParser.string
, UrlParser.map LoginWithName (UrlParser.s "wichteln_2018" </> UrlParser.string)
]
type alias Flags =
{ random : String
, participants : List String
}
---- UPDATE ----
type Msg
= NoOp
| ClickedLink UrlRequest
| UrlChanged Url
-- Login form
| EnteredPassword String
| SelectedParticipant String
| SubmitLogin
| LoginResponse (Result Http.Error LoginSuccess)
| LoginAgain
-- Participate
| ParticipateMsg Participate.Msg
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
NoOp ->
( model, Cmd.none )
ClickedLink urlRequest ->
case urlRequest of
Internal url ->
( model
, Navigation.pushUrl model.navKey (Url.toString url)
)
External url ->
( model, Navigation.load url )
UrlChanged url ->
( routeToPage url model, Cmd.none )
EnteredPassword string ->
case model.page of
LoginForm _ ->
( { model | page = LoginForm string }, Cmd.none )
_ ->
( model, Cmd.none )
SelectedParticipant string ->
case model.page of
LoginForm password ->
( model
, Navigation.pushUrl model.navKey ("/wichteln_2018/" ++ string)
)
_ ->
( model, Cmd.none )
SubmitLogin ->
case model.page of
LoginForm password ->
( { model | page = Waiting }
, submitLogin model.self password
)
_ ->
( model, Cmd.none )
LoginResponse (Ok success) ->
case model.page of
Waiting ->
( { model
| page =
Participate.init success
|> Tuple.first
|> Result
}
, Cmd.none
)
_ ->
( model, Cmd.none )
LoginResponse (Err err) ->
-- let
-- _ =
-- Debug.log "LoginResponse Error" err
-- in
( { model | page = LoginError err }, Cmd.none )
LoginAgain ->
( { model | page = LoginForm "" }, Cmd.none )
ParticipateMsg msg_ ->
case model.page of
Result state ->
let
( change, cmd ) =
Participate.update msg_ state
in
( { model | page = Result change }
, Cmd.map ParticipateMsg cmd
)
_ ->
( model, Cmd.none )
submitLogin : String -> String -> Cmd Msg
submitLogin self password =
Http.post
{ url = "/wichteln_2018/api.php"
, body =
Http.multipartBody
[ Http.stringPart "name" self
, Http.stringPart "password" password
]
, expect = Http.expectJson LoginResponse loginResponseDecoder
}
loginResponseDecoder : Json.Decoder { self : String, target : String }
loginResponseDecoder =
Json.map2 LoginSuccess
(Json.field "name" Json.string)
(Json.field "partner" Json.string)
type alias LoginSuccess =
{ self : String, target : String }
---- VIEW ----
view : Model -> Browser.Document Msg
view model =
{ title = "Wichteln"
, body =
case model.page of
LoginForm password ->
[ login model.self password model.participants ]
Waiting ->
[ div [ class "centered" ]
[ h1 [] [ text "Wichteln" ]
, p [] [ text "Am Laden" ]
]
]
LoginError err ->
[ div [ class "centered" ]
[ h1 [] [ text "Passwort falsch." ]
, button [ class "button", onClick LoginAgain ]
[ text "Nochmal versuchen" ]
]
]
Result state ->
[ Participate.view state
|> Html.map ParticipateMsg
]
}
login : String -> String -> List String -> Html Msg
login self password participants =
Html.form [ class "centered", onSubmit SubmitLogin ]
[ h1 [] [ text "Wichteln" ]
, p [] [ text "Damit keiner spicken kann, wen Du gezogen hast, musst Du ein Passwort vergeben." ]
, p []
[ text "Danach kannst Du Deinen Wichtel ziehen"
, br [] []
, text "Mit dem Passwort kannst Du dann jederzeit nochmal schauen, wen Du beschenken darfst."
]
, div [ class "wide-row" ]
[ select [ name "name", onInput SelectedParticipant ] <| List.map (person self) participants
, input
[ type_ "password"
, maxlength 255
, placeholder "Passwort"
, required True
, onInput EnteredPassword
]
[ text password ]
, input [ class "button", type_ "submit", value "Anmelden" ] []
]
]
person : String -> String -> Html msg
person self name =
option [ value name, selected (self == name) ] [ text name ]
---- PROGRAM ----
main : Program Flags Model Msg
main =
Browser.application
{ init = init
, onUrlChange = UrlChanged
, onUrlRequest = ClickedLink
, update = update
, subscriptions = \_ -> Sub.none
, view = view
}
| 2129 | module Main exposing (Model, Msg(..), init, main, update, view)
import Browser exposing (UrlRequest(..))
import Browser.Navigation as Navigation
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput, onSubmit)
import Http
import Json.Decode as Json
import Participate
import Participate.Message as Participate
import Participate.Model as Participate
import Url exposing (Url)
import Url.Parser as UrlParser exposing ((</>))
---- MODEL ----
type alias Model =
{ page : Page
, navKey : Navigation.Key
, self : String
, participants : List String
}
type Page
= LoginForm String
| Waiting
| Result Participate.Model
| LoginError Http.Error
type Route
= Login
| LoginWithName String
init : Flags -> Url -> Navigation.Key -> ( Model, Cmd Msg )
init flags url key =
( { page = LoginForm ""
, navKey = key
, self = flags.random
, participants = List.sort flags.participants
}
|> routeToPage url
, Cmd.none
)
routeToPage : Url -> Model -> Model
routeToPage url model =
let
self =
case UrlParser.parse routeParser url of
Just (LoginWithName self_) ->
case Url.percentDecode self_ of
Just decoded ->
decoded
Nothing ->
model.self
_ ->
model.self
in
{ model | page = LoginForm "", self = self }
routeParser : UrlParser.Parser (Route -> Route) Route
routeParser =
UrlParser.oneOf
[ UrlParser.map Login UrlParser.top
, UrlParser.map Login (UrlParser.s "wichteln_2018" </> UrlParser.top)
, UrlParser.map Login (UrlParser.s "wichteln_2018")
, UrlParser.map LoginWithName UrlParser.string
, UrlParser.map LoginWithName (UrlParser.s "wichteln_2018" </> UrlParser.string)
]
type alias Flags =
{ random : String
, participants : List String
}
---- UPDATE ----
type Msg
= NoOp
| ClickedLink UrlRequest
| UrlChanged Url
-- Login form
| EnteredPassword String
| SelectedParticipant String
| SubmitLogin
| LoginResponse (Result Http.Error LoginSuccess)
| LoginAgain
-- Participate
| ParticipateMsg Participate.Msg
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
NoOp ->
( model, Cmd.none )
ClickedLink urlRequest ->
case urlRequest of
Internal url ->
( model
, Navigation.pushUrl model.navKey (Url.toString url)
)
External url ->
( model, Navigation.load url )
UrlChanged url ->
( routeToPage url model, Cmd.none )
EnteredPassword string ->
case model.page of
LoginForm _ ->
( { model | page = LoginForm string }, Cmd.none )
_ ->
( model, Cmd.none )
SelectedParticipant string ->
case model.page of
LoginForm password ->
( model
, Navigation.pushUrl model.navKey ("/wichteln_2018/" ++ string)
)
_ ->
( model, Cmd.none )
SubmitLogin ->
case model.page of
LoginForm password ->
( { model | page = Waiting }
, submitLogin model.self password
)
_ ->
( model, Cmd.none )
LoginResponse (Ok success) ->
case model.page of
Waiting ->
( { model
| page =
Participate.init success
|> Tuple.first
|> Result
}
, Cmd.none
)
_ ->
( model, Cmd.none )
LoginResponse (Err err) ->
-- let
-- _ =
-- Debug.log "LoginResponse Error" err
-- in
( { model | page = LoginError err }, Cmd.none )
LoginAgain ->
( { model | page = LoginForm "" }, Cmd.none )
ParticipateMsg msg_ ->
case model.page of
Result state ->
let
( change, cmd ) =
Participate.update msg_ state
in
( { model | page = Result change }
, Cmd.map ParticipateMsg cmd
)
_ ->
( model, Cmd.none )
submitLogin : String -> String -> Cmd Msg
submitLogin self password =
Http.post
{ url = "/wichteln_2018/api.php"
, body =
Http.multipartBody
[ Http.stringPart "name" self
, Http.stringPart "password" password
]
, expect = Http.expectJson LoginResponse loginResponseDecoder
}
loginResponseDecoder : Json.Decoder { self : String, target : String }
loginResponseDecoder =
Json.map2 LoginSuccess
(Json.field "name" Json.string)
(Json.field "partner" Json.string)
type alias LoginSuccess =
{ self : String, target : String }
---- VIEW ----
view : Model -> Browser.Document Msg
view model =
{ title = "Wichteln"
, body =
case model.page of
LoginForm password ->
[ login model.self password model.participants ]
Waiting ->
[ div [ class "centered" ]
[ h1 [] [ text "Wichteln" ]
, p [] [ text "Am Laden" ]
]
]
LoginError err ->
[ div [ class "centered" ]
[ h1 [] [ text "Passwort falsch." ]
, button [ class "button", onClick LoginAgain ]
[ text "Nochmal versuchen" ]
]
]
Result state ->
[ Participate.view state
|> Html.map ParticipateMsg
]
}
login : String -> String -> List String -> Html Msg
login self password participants =
Html.form [ class "centered", onSubmit SubmitLogin ]
[ h1 [] [ text "Wichteln" ]
, p [] [ text "Damit keiner spicken kann, wen Du gezogen hast, musst Du ein Passwort vergeben." ]
, p []
[ text "Danach kannst Du Deinen Wichtel ziehen"
, br [] []
, text "Mit dem Passwort kannst Du dann jederzeit nochmal schauen, wen Du beschenken darfst."
]
, div [ class "wide-row" ]
[ select [ name "name", onInput SelectedParticipant ] <| List.map (person self) participants
, input
[ type_ "password"
, maxlength 255
, placeholder "<PASSWORD>wort"
, required True
, onInput EnteredPassword
]
[ text password ]
, input [ class "button", type_ "submit", value "Anmelden" ] []
]
]
person : String -> String -> Html msg
person self name =
option [ value name, selected (self == name) ] [ text name ]
---- PROGRAM ----
main : Program Flags Model Msg
main =
Browser.application
{ init = init
, onUrlChange = UrlChanged
, onUrlRequest = ClickedLink
, update = update
, subscriptions = \_ -> Sub.none
, view = view
}
| true | module Main exposing (Model, Msg(..), init, main, update, view)
import Browser exposing (UrlRequest(..))
import Browser.Navigation as Navigation
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput, onSubmit)
import Http
import Json.Decode as Json
import Participate
import Participate.Message as Participate
import Participate.Model as Participate
import Url exposing (Url)
import Url.Parser as UrlParser exposing ((</>))
---- MODEL ----
type alias Model =
{ page : Page
, navKey : Navigation.Key
, self : String
, participants : List String
}
type Page
= LoginForm String
| Waiting
| Result Participate.Model
| LoginError Http.Error
type Route
= Login
| LoginWithName String
init : Flags -> Url -> Navigation.Key -> ( Model, Cmd Msg )
init flags url key =
( { page = LoginForm ""
, navKey = key
, self = flags.random
, participants = List.sort flags.participants
}
|> routeToPage url
, Cmd.none
)
routeToPage : Url -> Model -> Model
routeToPage url model =
let
self =
case UrlParser.parse routeParser url of
Just (LoginWithName self_) ->
case Url.percentDecode self_ of
Just decoded ->
decoded
Nothing ->
model.self
_ ->
model.self
in
{ model | page = LoginForm "", self = self }
routeParser : UrlParser.Parser (Route -> Route) Route
routeParser =
UrlParser.oneOf
[ UrlParser.map Login UrlParser.top
, UrlParser.map Login (UrlParser.s "wichteln_2018" </> UrlParser.top)
, UrlParser.map Login (UrlParser.s "wichteln_2018")
, UrlParser.map LoginWithName UrlParser.string
, UrlParser.map LoginWithName (UrlParser.s "wichteln_2018" </> UrlParser.string)
]
type alias Flags =
{ random : String
, participants : List String
}
---- UPDATE ----
type Msg
= NoOp
| ClickedLink UrlRequest
| UrlChanged Url
-- Login form
| EnteredPassword String
| SelectedParticipant String
| SubmitLogin
| LoginResponse (Result Http.Error LoginSuccess)
| LoginAgain
-- Participate
| ParticipateMsg Participate.Msg
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
NoOp ->
( model, Cmd.none )
ClickedLink urlRequest ->
case urlRequest of
Internal url ->
( model
, Navigation.pushUrl model.navKey (Url.toString url)
)
External url ->
( model, Navigation.load url )
UrlChanged url ->
( routeToPage url model, Cmd.none )
EnteredPassword string ->
case model.page of
LoginForm _ ->
( { model | page = LoginForm string }, Cmd.none )
_ ->
( model, Cmd.none )
SelectedParticipant string ->
case model.page of
LoginForm password ->
( model
, Navigation.pushUrl model.navKey ("/wichteln_2018/" ++ string)
)
_ ->
( model, Cmd.none )
SubmitLogin ->
case model.page of
LoginForm password ->
( { model | page = Waiting }
, submitLogin model.self password
)
_ ->
( model, Cmd.none )
LoginResponse (Ok success) ->
case model.page of
Waiting ->
( { model
| page =
Participate.init success
|> Tuple.first
|> Result
}
, Cmd.none
)
_ ->
( model, Cmd.none )
LoginResponse (Err err) ->
-- let
-- _ =
-- Debug.log "LoginResponse Error" err
-- in
( { model | page = LoginError err }, Cmd.none )
LoginAgain ->
( { model | page = LoginForm "" }, Cmd.none )
ParticipateMsg msg_ ->
case model.page of
Result state ->
let
( change, cmd ) =
Participate.update msg_ state
in
( { model | page = Result change }
, Cmd.map ParticipateMsg cmd
)
_ ->
( model, Cmd.none )
submitLogin : String -> String -> Cmd Msg
submitLogin self password =
Http.post
{ url = "/wichteln_2018/api.php"
, body =
Http.multipartBody
[ Http.stringPart "name" self
, Http.stringPart "password" password
]
, expect = Http.expectJson LoginResponse loginResponseDecoder
}
loginResponseDecoder : Json.Decoder { self : String, target : String }
loginResponseDecoder =
Json.map2 LoginSuccess
(Json.field "name" Json.string)
(Json.field "partner" Json.string)
type alias LoginSuccess =
{ self : String, target : String }
---- VIEW ----
view : Model -> Browser.Document Msg
view model =
{ title = "Wichteln"
, body =
case model.page of
LoginForm password ->
[ login model.self password model.participants ]
Waiting ->
[ div [ class "centered" ]
[ h1 [] [ text "Wichteln" ]
, p [] [ text "Am Laden" ]
]
]
LoginError err ->
[ div [ class "centered" ]
[ h1 [] [ text "Passwort falsch." ]
, button [ class "button", onClick LoginAgain ]
[ text "Nochmal versuchen" ]
]
]
Result state ->
[ Participate.view state
|> Html.map ParticipateMsg
]
}
login : String -> String -> List String -> Html Msg
login self password participants =
Html.form [ class "centered", onSubmit SubmitLogin ]
[ h1 [] [ text "Wichteln" ]
, p [] [ text "Damit keiner spicken kann, wen Du gezogen hast, musst Du ein Passwort vergeben." ]
, p []
[ text "Danach kannst Du Deinen Wichtel ziehen"
, br [] []
, text "Mit dem Passwort kannst Du dann jederzeit nochmal schauen, wen Du beschenken darfst."
]
, div [ class "wide-row" ]
[ select [ name "name", onInput SelectedParticipant ] <| List.map (person self) participants
, input
[ type_ "password"
, maxlength 255
, placeholder "PI:PASSWORD:<PASSWORD>END_PIwort"
, required True
, onInput EnteredPassword
]
[ text password ]
, input [ class "button", type_ "submit", value "Anmelden" ] []
]
]
person : String -> String -> Html msg
person self name =
option [ value name, selected (self == name) ] [ text name ]
---- PROGRAM ----
main : Program Flags Model Msg
main =
Browser.application
{ init = init
, onUrlChange = UrlChanged
, onUrlRequest = ClickedLink
, update = update
, subscriptions = \_ -> Sub.none
, view = view
}
| elm |
[
{
"context": "**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](http",
"end": 3263,
"score": 0.8112111092,
"start": 3253,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "および[elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/)で記述されたインタラクティブなビルディングブロックのライブラリです。",
"end": 3600,
"score": 0.8244193196,
"start": 3590,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](http",
"end": 3893,
"score": 0.9718679786,
"start": 3883,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](http",
"end": 4240,
"score": 0.9933319092,
"start": 4230,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](http",
"end": 4587,
"score": 0.8735716939,
"start": 4577,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](http",
"end": 4934,
"score": 0.9936982989,
"start": 4924,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": "r10/latest/)\n* [R10 in Github](https://github.com/rakutentech/r10)\n* [Ellie: R10 Simple View](https://ellie-app",
"end": 5674,
"score": 0.976064682,
"start": 5663,
"tag": "USERNAME",
"value": "rakutentech"
},
{
"context": "in the folder [`examples/pwa`](https://github.com/rakutentech/r10/tree/master/examples/pwa). You can use it as ",
"end": 6276,
"score": 0.9972330332,
"start": 6265,
"tag": "USERNAME",
"value": "rakutentech"
},
{
"context": "t.com/390c074f3/p/080991-).\n\n\n\n# Thanks\n\nThanks to Evan Czaplicki, Matthew Griffith, Richard Feldman, the folks at ",
"end": 8166,
"score": 0.9998853803,
"start": 8152,
"tag": "NAME",
"value": "Evan Czaplicki"
},
{
"context": "p/080991-).\n\n\n\n# Thanks\n\nThanks to Evan Czaplicki, Matthew Griffith, Richard Feldman, the folks at NoRedInk, Ryan Has",
"end": 8184,
"score": 0.9998781085,
"start": 8168,
"tag": "NAME",
"value": "Matthew Griffith"
},
{
"context": "hanks\n\nThanks to Evan Czaplicki, Matthew Griffith, Richard Feldman, the folks at NoRedInk, Ryan Haskell-Glatz, Ilias",
"end": 8201,
"score": 0.9998760819,
"start": 8186,
"tag": "NAME",
"value": "Richard Feldman"
},
{
"context": " Griffith, Richard Feldman, the folks at NoRedInk, Ryan Haskell-Glatz, Ilias Van Peer, Aaron VonderHaar, Abadi Kurniawa",
"end": 8244,
"score": 0.999889493,
"start": 8226,
"tag": "NAME",
"value": "Ryan Haskell-Glatz"
},
{
"context": "eldman, the folks at NoRedInk, Ryan Haskell-Glatz, Ilias Van Peer, Aaron VonderHaar, Abadi Kurniawaan, Dillon Kearn",
"end": 8260,
"score": 0.9998775721,
"start": 8246,
"tag": "NAME",
"value": "Ilias Van Peer"
},
{
"context": "s at NoRedInk, Ryan Haskell-Glatz, Ilias Van Peer, Aaron VonderHaar, Abadi Kurniawaan, Dillon Kearns, Jeroen Engels, ",
"end": 8278,
"score": 0.9998881221,
"start": 8262,
"tag": "NAME",
"value": "Aaron VonderHaar"
},
{
"context": "n Haskell-Glatz, Ilias Van Peer, Aaron VonderHaar, Abadi Kurniawaan, Dillon Kearns, Jeroen Engels, Keith Lazuka, Luke",
"end": 8296,
"score": 0.9998874664,
"start": 8280,
"tag": "NAME",
"value": "Abadi Kurniawaan"
},
{
"context": "lias Van Peer, Aaron VonderHaar, Abadi Kurniawaan, Dillon Kearns, Jeroen Engels, Keith Lazuka, Luke Westby, Alex K",
"end": 8311,
"score": 0.9998796582,
"start": 8298,
"tag": "NAME",
"value": "Dillon Kearns"
},
{
"context": "Aaron VonderHaar, Abadi Kurniawaan, Dillon Kearns, Jeroen Engels, Keith Lazuka, Luke Westby, Alex Korban, Thibaut ",
"end": 8326,
"score": 0.999884665,
"start": 8313,
"tag": "NAME",
"value": "Jeroen Engels"
},
{
"context": "r, Abadi Kurniawaan, Dillon Kearns, Jeroen Engels, Keith Lazuka, Luke Westby, Alex Korban, Thibaut Assus, Brian H",
"end": 8340,
"score": 0.9998754263,
"start": 8328,
"tag": "NAME",
"value": "Keith Lazuka"
},
{
"context": "awaan, Dillon Kearns, Jeroen Engels, Keith Lazuka, Luke Westby, Alex Korban, Thibaut Assus, Brian Hicks and many",
"end": 8353,
"score": 0.9998703003,
"start": 8342,
"tag": "NAME",
"value": "Luke Westby"
},
{
"context": " Kearns, Jeroen Engels, Keith Lazuka, Luke Westby, Alex Korban, Thibaut Assus, Brian Hicks and many more from th",
"end": 8366,
"score": 0.9998761415,
"start": 8355,
"tag": "NAME",
"value": "Alex Korban"
},
{
"context": "en Engels, Keith Lazuka, Luke Westby, Alex Korban, Thibaut Assus, Brian Hicks and many more from the Elm community",
"end": 8381,
"score": 0.9998749495,
"start": 8368,
"tag": "NAME",
"value": "Thibaut Assus"
},
{
"context": "h Lazuka, Luke Westby, Alex Korban, Thibaut Assus, Brian Hicks and many more from the Elm community that directl",
"end": 8394,
"score": 0.999881804,
"start": 8383,
"tag": "NAME",
"value": "Brian Hicks"
},
{
"context": "n also find it at [github.com](https://github.com/rakutentech/r10/tree/master/examples/simpleView/src/Main.elm)",
"end": 9148,
"score": 0.999068141,
"start": 9137,
"tag": "USERNAME",
"value": "rakutentech"
},
{
"context": "), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lan",
"end": 10465,
"score": 0.953083694,
"start": 10455,
"tag": "USERNAME",
"value": "mdgriffith"
},
{
"context": ") and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://git",
"end": 10531,
"score": 0.5378800631,
"start": 10530,
"tag": "USERNAME",
"value": "r"
},
{
"context": "nd [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com",
"end": 10538,
"score": 0.5575740337,
"start": 10533,
"tag": "USERNAME",
"value": "utent"
},
{
"context": "ch/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleView/src/Main.elm)",
"end": 10600,
"score": 0.9994564056,
"start": 10589,
"tag": "USERNAME",
"value": "rakutentech"
},
{
"context": "w with the form ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm)",
"end": 11485,
"score": 0.9995325208,
"start": 11474,
"tag": "USERNAME",
"value": "rakutentech"
},
{
"context": " [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lan",
"end": 16753,
"score": 0.631726563,
"start": 16745,
"tag": "USERNAME",
"value": "griffith"
},
{
"context": "ch/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm)",
"end": 16888,
"score": 0.9994319677,
"start": 16877,
"tag": "USERNAME",
"value": "rakutentech"
}
] | examples/pwa/src/Pages/Top.elm | rakutentech/rakuten-ui | 61 | module Pages.Top exposing
( maxWidth
, view
)
import Color
import Element exposing (..)
import Element.Font as Font
import Html.Attributes
import Markdown
import R10.Card
import R10.I18n
import R10.Language
import R10.Svg.Icons
import R10.Svg.IconsExtra
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
maxWidth : Attribute msg
maxWidth =
width (fill |> maximum 1000)
responsive : number -> a -> a -> a
responsive x mobile desktop =
if x < 600 then
mobile
else
desktop
view : R10.Theme.Theme -> R10.Language.Language -> { x : Int, y : Int } -> Attribute msg -> List (Element msg) -> (String -> msg) -> Element msg
view theme language windowSize heroBackgroundColor content _ =
column [ width fill ] <|
[ column
[ width fill
, paddingXY 0 80
, spacing 60
, heroBackgroundColor
, htmlAttribute <| Html.Attributes.style "transition" "background-color 1.2s"
]
[ row
[ spacing <| responsive windowSize.x 20 40, centerX, centerY, moveDown 40 ]
[ R10.Svg.LogosExtra.elm_monochrome []
(rgb 1 1 1)
(responsive windowSize.x (155 // 2) 155)
, R10.Svg.Icons.x [ moveRight (responsive windowSize.x 10 15) ] (rgb 1 1 1) (responsive windowSize.x (100 // 2) 100)
, R10.Svg.Logos.r [ moveDown (responsive windowSize.x 9 19) ] (rgb 1 1 1) (responsive windowSize.x (200 // 2) 200)
]
, viewMessage language
]
, el
[ padding 40
, centerX
]
<|
column
(R10.Card.normal theme
++ [ centerX
, paddingXY 20 40
, maxWidth
, spacing 40
]
)
[ paragraph [] [ html <| Markdown.toHtml [ Html.Attributes.class "markdown" ] readme ]
-- , paragraph [] [ html <| Markdown.toHtml [ Html.Attributes.class "markdown" ] "# Content" ]
-- , paragraph [ paddingEach { top = 0, right = 20, bottom = 40, left = 50 } ] content
]
]
viewMessage : R10.Language.Language -> Element msg
viewMessage language =
column
[ spacing 0
, centerX
, paddingXY 20 0
, htmlAttribute <| Html.Attributes.style "word-spacing" "5px"
, htmlAttribute <| Html.Attributes.style "letter-spacing" "1px"
, Font.color <| rgb 1 1 1
]
[ paragraph
[ Font.center
, width (fill |> maximum 500)
, spacing 10
]
[ html <| Markdown.toHtml [ Html.Attributes.class "markdown whiteLinks" ] (R10.I18n.t language intro) ]
, R10.Svg.IconsExtra.keyboardArrowDown [ centerX, moveDown 30, alpha 0.2 ] (rgb 1 1 1) 100
]
intro : R10.Language.Translations
intro =
{ key = "title"
, en_us = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, ja_jp = "[R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/)は、[楽天](https://global.rakuten.com/)でユーザーインターフェイスを作成するために使用する[Elm](https://elm-lang.org/)および[elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/)で記述されたインタラクティブなビルディングブロックのライブラリです。"
, zh_tw = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, es_es = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, fr_fr = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, de_de = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
}
readme : String
readme =
--
-- This is copied and pasted from /README.md
--
"""**Disclaimer**: This library is actively used in our live projects and the code and the documentation can be rough in most places because, you know, deadlines! It is also tailored for our use so it is probably useful as source of information rather than as a real dependency to add in your projects.
### Links
* [R10 demo with documentation and examples](https://r10.netlify.app/)
* [R10 in the Elm's package website](https://package.elm-lang.org/packages/rakutentech/r10/latest/)
* [R10 in Github](https://github.com/rakutentech/r10)
* [Ellie: R10 Simple View](https://ellie-app.com/c5SL2qqLZP2a1)
* [Ellie: R10 Simple Form](https://ellie-app.com/c5SKjKvwnNRa1)
* [Ellie: R10 Credit Card](https://ellie-app.com/c5SH5HxBXPHa1)
# How to use the R10 library
If you already have an existing Elm project, install the library with
```bash
elm install rakutentech/r10
```
See [this Ellie](https://ellie-app.com/c5SL2qqLZP2a1) or scroll down this page to see an usage code sample.
# How to bootstrap a new project
You can find a fully functional project in the folder [`examples/pwa`](https://github.com/rakutentech/r10/tree/master/examples/pwa). You can use it as a base for a new project simply copying it.
From the root folder of the example, run
```bash
npm install
npm start
```
Then you can preview the website at http://localhost:8000.
Changing `src/Main.elm` will automatically recompile the application and refresh the browser.
To build the files optimized for the release in production, run:
```bash
npm run build
```
You can then find the files in `elm-stuff/elm-starter-files/build`.
## Website characteristics
The bootstrapped website showcases has these characteristics:
* Single Page Application (**SPA**)
* Progressive Web Application (**PWA**)
* **Static SSR** (pre-render during the build)
* Works **off-line** and **without Javascript**
* **Installable** on desktop and mobile
* Friendly to search engines (**SEO**)
* Supports **custom previews** so it looks good when you share links
* **Best practices**, **Accessibility**, etc. (High scores with Lighthouse)
* Includes **R10 building blocks** such as logos, icons, buttons, forms, etc. with coding playgrounds.
* Supports **multi language** websites
* Standard **header and footer**
To know more, read the [`elm-starter` documentation](https://github.com/lucamug/elm-starter) and the [`r10` documentation](https://package.elm-lang.org/packages/rakutentech/r10/latest/).
Note: If you copied the file in a new folder you need to modify the `elm.json` file:
1. Remove `../../src` from the list of `source-directories`
2. Run `elm install rakutentech/r10` that will add this library as dependency
# Other languages or frameworks
If you are looking for Rakuten UI components written in other languages or frameworks, have a look at the [ReX Github repository](https://github.com/rakuten-rex) and the [ReX Frontend Components Library](https://zeroheight.com/390c074f3/p/080991-).
# Thanks
Thanks to Evan Czaplicki, Matthew Griffith, Richard Feldman, the folks at NoRedInk, Ryan Haskell-Glatz, Ilias Van Peer, Aaron VonderHaar, Abadi Kurniawaan, Dillon Kearns, Jeroen Engels, Keith Lazuka, Luke Westby, Alex Korban, Thibaut Assus, Brian Hicks and many more from the Elm community that directly or indirectly supported us in this journey.
# Examples
These are real-life fully working code samples that render these views:
![Examples](https://r10.netlify.app/images/examples-600.png)
The primary color and the light/dark mode can be changed through the `theme` definitions. For example:
```elm
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.green
}
theme =
{ mode = R10.Mode.Dark
, primaryColor = R10.Color.primary.blueSky
}
```
This is the source code for the example with two buttons.
You can also find it at [github.com](https://github.com/rakutentech/r10/tree/master/examples/simpleView/src/Main.elm) or in [this Ellie](https://ellie-app.com/c5SL2qqLZP2a1).
```elm
module Main exposing (main)
import Element exposing (..)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Html
import R10.Button
import R10.Card
import R10.Color
import R10.Color.AttrsBackground
import R10.Color.Svg
import R10.FontSize
import R10.Libu
import R10.Mode
import R10.Paragraph
import R10.Svg.Icons
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
theme : R10.Theme.Theme
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
main : Html.Html msg
main =
layout [ R10.Color.AttrsBackground.underModal theme, padding 20, R10.FontSize.normal ] <|
column
(R10.Card.high theme
++ [ centerX
, centerY
, width (fill |> maximum 360)
, height shrink
, spacing 30
]
)
[ R10.Svg.LogosExtra.r10 [ centerX ] (R10.Color.Svg.logo theme) 32
, R10.Paragraph.normalMarkdown [ Font.center ] theme "This is an example of a view made with [Elm](https://elm-lang.org/), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleView/src/Main.elm))."
, el [ Font.size 60, centerX, padding 10 ] <| text "🎉"
, R10.Button.primary []
{ label =
row [ spacing 15, centerX ]
[ R10.Paragraph.normal [] [ text "Primary Buttons" ]
, R10.Svg.Icons.cart_f [] (R10.Color.Svg.fontButtonPrimary theme) 18
]
, libu = R10.Libu.Li "https://r10.netlify.app"
, theme = theme
}
, R10.Button.secondary []
{ label = R10.Paragraph.normal [] [ text "Secondary Buttons" ]
, libu = R10.Libu.Li "https://r10.netlify.app"
, theme = theme
}
]
```
This is the code sample for the view with the form ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm)).
```elm
module Main exposing (main)
import Browser
import Element exposing (..)
import Element.Font as Font
import Html
import R10.Button
import R10.Card
import R10.Color
import R10.Color.AttrsBackground
import R10.Color.Svg
import R10.FontSize
import R10.Form
import R10.Language
import R10.Libu
import R10.Mode
import R10.Paragraph
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
main : Program () Model Msg
main =
Browser.sandbox
{ init = init
, view = view
, update = update
}
type alias Model =
{ form : R10.Form.Form }
type Msg
= MsgForm R10.Form.Msg
init : Model
init =
{ form =
{ conf =
[ R10.Form.entity.field
{ id = "email"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.email
, label = "Email"
, helperText = Just "Helper text for Email"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = False
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.commonValidation.email
, R10.Form.validation.minLength 5
, R10.Form.validation.maxLength 50
, R10.Form.validation.required
]
}
}
, R10.Form.entity.field
{ id = "password"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.passwordNew
, label = "Password"
, helperText = Just "Helper text for Password"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = True
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.commonValidation.password
, R10.Form.validation.minLength 8
, R10.Form.validation.required
]
}
}
, R10.Form.entity.field
{ id = "password_repeat"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.passwordNew
, label = "Repeat Password"
, helperText = Just "Helper text for Repeat Password"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = True
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.validation.withMsg
{ ok = "Passwords are the same"
, err = "Passwords are not the same"
}
<|
R10.Form.validation.dependant "password" (R10.Form.validation.equal "password_repeat")
]
}
}
]
, state = R10.Form.initState
}
}
update : Msg -> Model -> Model
update msg model =
case msg of
MsgForm msgForm ->
let
form : R10.Form.Form
form =
model.form
newForm : R10.Form.Form
newForm =
{ form
| state =
form.state
|> R10.Form.update msgForm
|> Tuple.first
}
in
{ model | form = newForm }
theme : R10.Theme.Theme
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
view : Model -> Html.Html Msg
view model =
layoutWith
{ options =
[ focusStyle
{ borderColor = Nothing
, backgroundColor = Nothing
, shadow = Nothing
}
]
}
[ R10.Color.AttrsBackground.underModal theme, padding 20, R10.FontSize.normal ]
(column
(R10.Card.high theme
++ [ centerX
, centerY
, width (fill |> maximum 360)
, height shrink
, spacing 30
]
)
[ R10.Svg.LogosExtra.r10 [ centerX ] (R10.Color.Svg.logo theme) 32
, R10.Paragraph.normalMarkdown [ Font.center ] theme "This is an example of a form made with [Elm](https://elm-lang.org/), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm))."
, column [ spacing 20 ] <| R10.Form.view model.form MsgForm
, Element.map MsgForm <|
R10.Button.primary []
{ label = text "Sign In"
, libu = R10.Libu.Bu <| Just <| R10.Form.msg.submit model.form.conf
, theme = theme
}
]
)
```"""
| 8707 | module Pages.Top exposing
( maxWidth
, view
)
import Color
import Element exposing (..)
import Element.Font as Font
import Html.Attributes
import Markdown
import R10.Card
import R10.I18n
import R10.Language
import R10.Svg.Icons
import R10.Svg.IconsExtra
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
maxWidth : Attribute msg
maxWidth =
width (fill |> maximum 1000)
responsive : number -> a -> a -> a
responsive x mobile desktop =
if x < 600 then
mobile
else
desktop
view : R10.Theme.Theme -> R10.Language.Language -> { x : Int, y : Int } -> Attribute msg -> List (Element msg) -> (String -> msg) -> Element msg
view theme language windowSize heroBackgroundColor content _ =
column [ width fill ] <|
[ column
[ width fill
, paddingXY 0 80
, spacing 60
, heroBackgroundColor
, htmlAttribute <| Html.Attributes.style "transition" "background-color 1.2s"
]
[ row
[ spacing <| responsive windowSize.x 20 40, centerX, centerY, moveDown 40 ]
[ R10.Svg.LogosExtra.elm_monochrome []
(rgb 1 1 1)
(responsive windowSize.x (155 // 2) 155)
, R10.Svg.Icons.x [ moveRight (responsive windowSize.x 10 15) ] (rgb 1 1 1) (responsive windowSize.x (100 // 2) 100)
, R10.Svg.Logos.r [ moveDown (responsive windowSize.x 9 19) ] (rgb 1 1 1) (responsive windowSize.x (200 // 2) 200)
]
, viewMessage language
]
, el
[ padding 40
, centerX
]
<|
column
(R10.Card.normal theme
++ [ centerX
, paddingXY 20 40
, maxWidth
, spacing 40
]
)
[ paragraph [] [ html <| Markdown.toHtml [ Html.Attributes.class "markdown" ] readme ]
-- , paragraph [] [ html <| Markdown.toHtml [ Html.Attributes.class "markdown" ] "# Content" ]
-- , paragraph [ paddingEach { top = 0, right = 20, bottom = 40, left = 50 } ] content
]
]
viewMessage : R10.Language.Language -> Element msg
viewMessage language =
column
[ spacing 0
, centerX
, paddingXY 20 0
, htmlAttribute <| Html.Attributes.style "word-spacing" "5px"
, htmlAttribute <| Html.Attributes.style "letter-spacing" "1px"
, Font.color <| rgb 1 1 1
]
[ paragraph
[ Font.center
, width (fill |> maximum 500)
, spacing 10
]
[ html <| Markdown.toHtml [ Html.Attributes.class "markdown whiteLinks" ] (R10.I18n.t language intro) ]
, R10.Svg.IconsExtra.keyboardArrowDown [ centerX, moveDown 30, alpha 0.2 ] (rgb 1 1 1) 100
]
intro : R10.Language.Translations
intro =
{ key = "title"
, en_us = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, ja_jp = "[R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/)は、[楽天](https://global.rakuten.com/)でユーザーインターフェイスを作成するために使用する[Elm](https://elm-lang.org/)および[elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/)で記述されたインタラクティブなビルディングブロックのライブラリです。"
, zh_tw = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, es_es = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, fr_fr = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, de_de = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
}
readme : String
readme =
--
-- This is copied and pasted from /README.md
--
"""**Disclaimer**: This library is actively used in our live projects and the code and the documentation can be rough in most places because, you know, deadlines! It is also tailored for our use so it is probably useful as source of information rather than as a real dependency to add in your projects.
### Links
* [R10 demo with documentation and examples](https://r10.netlify.app/)
* [R10 in the Elm's package website](https://package.elm-lang.org/packages/rakutentech/r10/latest/)
* [R10 in Github](https://github.com/rakutentech/r10)
* [Ellie: R10 Simple View](https://ellie-app.com/c5SL2qqLZP2a1)
* [Ellie: R10 Simple Form](https://ellie-app.com/c5SKjKvwnNRa1)
* [Ellie: R10 Credit Card](https://ellie-app.com/c5SH5HxBXPHa1)
# How to use the R10 library
If you already have an existing Elm project, install the library with
```bash
elm install rakutentech/r10
```
See [this Ellie](https://ellie-app.com/c5SL2qqLZP2a1) or scroll down this page to see an usage code sample.
# How to bootstrap a new project
You can find a fully functional project in the folder [`examples/pwa`](https://github.com/rakutentech/r10/tree/master/examples/pwa). You can use it as a base for a new project simply copying it.
From the root folder of the example, run
```bash
npm install
npm start
```
Then you can preview the website at http://localhost:8000.
Changing `src/Main.elm` will automatically recompile the application and refresh the browser.
To build the files optimized for the release in production, run:
```bash
npm run build
```
You can then find the files in `elm-stuff/elm-starter-files/build`.
## Website characteristics
The bootstrapped website showcases has these characteristics:
* Single Page Application (**SPA**)
* Progressive Web Application (**PWA**)
* **Static SSR** (pre-render during the build)
* Works **off-line** and **without Javascript**
* **Installable** on desktop and mobile
* Friendly to search engines (**SEO**)
* Supports **custom previews** so it looks good when you share links
* **Best practices**, **Accessibility**, etc. (High scores with Lighthouse)
* Includes **R10 building blocks** such as logos, icons, buttons, forms, etc. with coding playgrounds.
* Supports **multi language** websites
* Standard **header and footer**
To know more, read the [`elm-starter` documentation](https://github.com/lucamug/elm-starter) and the [`r10` documentation](https://package.elm-lang.org/packages/rakutentech/r10/latest/).
Note: If you copied the file in a new folder you need to modify the `elm.json` file:
1. Remove `../../src` from the list of `source-directories`
2. Run `elm install rakutentech/r10` that will add this library as dependency
# Other languages or frameworks
If you are looking for Rakuten UI components written in other languages or frameworks, have a look at the [ReX Github repository](https://github.com/rakuten-rex) and the [ReX Frontend Components Library](https://zeroheight.com/390c074f3/p/080991-).
# Thanks
Thanks to <NAME>, <NAME>, <NAME>, the folks at NoRedInk, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and many more from the Elm community that directly or indirectly supported us in this journey.
# Examples
These are real-life fully working code samples that render these views:
![Examples](https://r10.netlify.app/images/examples-600.png)
The primary color and the light/dark mode can be changed through the `theme` definitions. For example:
```elm
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.green
}
theme =
{ mode = R10.Mode.Dark
, primaryColor = R10.Color.primary.blueSky
}
```
This is the source code for the example with two buttons.
You can also find it at [github.com](https://github.com/rakutentech/r10/tree/master/examples/simpleView/src/Main.elm) or in [this Ellie](https://ellie-app.com/c5SL2qqLZP2a1).
```elm
module Main exposing (main)
import Element exposing (..)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Html
import R10.Button
import R10.Card
import R10.Color
import R10.Color.AttrsBackground
import R10.Color.Svg
import R10.FontSize
import R10.Libu
import R10.Mode
import R10.Paragraph
import R10.Svg.Icons
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
theme : R10.Theme.Theme
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
main : Html.Html msg
main =
layout [ R10.Color.AttrsBackground.underModal theme, padding 20, R10.FontSize.normal ] <|
column
(R10.Card.high theme
++ [ centerX
, centerY
, width (fill |> maximum 360)
, height shrink
, spacing 30
]
)
[ R10.Svg.LogosExtra.r10 [ centerX ] (R10.Color.Svg.logo theme) 32
, R10.Paragraph.normalMarkdown [ Font.center ] theme "This is an example of a view made with [Elm](https://elm-lang.org/), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleView/src/Main.elm))."
, el [ Font.size 60, centerX, padding 10 ] <| text "🎉"
, R10.Button.primary []
{ label =
row [ spacing 15, centerX ]
[ R10.Paragraph.normal [] [ text "Primary Buttons" ]
, R10.Svg.Icons.cart_f [] (R10.Color.Svg.fontButtonPrimary theme) 18
]
, libu = R10.Libu.Li "https://r10.netlify.app"
, theme = theme
}
, R10.Button.secondary []
{ label = R10.Paragraph.normal [] [ text "Secondary Buttons" ]
, libu = R10.Libu.Li "https://r10.netlify.app"
, theme = theme
}
]
```
This is the code sample for the view with the form ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm)).
```elm
module Main exposing (main)
import Browser
import Element exposing (..)
import Element.Font as Font
import Html
import R10.Button
import R10.Card
import R10.Color
import R10.Color.AttrsBackground
import R10.Color.Svg
import R10.FontSize
import R10.Form
import R10.Language
import R10.Libu
import R10.Mode
import R10.Paragraph
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
main : Program () Model Msg
main =
Browser.sandbox
{ init = init
, view = view
, update = update
}
type alias Model =
{ form : R10.Form.Form }
type Msg
= MsgForm R10.Form.Msg
init : Model
init =
{ form =
{ conf =
[ R10.Form.entity.field
{ id = "email"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.email
, label = "Email"
, helperText = Just "Helper text for Email"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = False
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.commonValidation.email
, R10.Form.validation.minLength 5
, R10.Form.validation.maxLength 50
, R10.Form.validation.required
]
}
}
, R10.Form.entity.field
{ id = "password"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.passwordNew
, label = "Password"
, helperText = Just "Helper text for Password"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = True
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.commonValidation.password
, R10.Form.validation.minLength 8
, R10.Form.validation.required
]
}
}
, R10.Form.entity.field
{ id = "password_repeat"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.passwordNew
, label = "Repeat Password"
, helperText = Just "Helper text for Repeat Password"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = True
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.validation.withMsg
{ ok = "Passwords are the same"
, err = "Passwords are not the same"
}
<|
R10.Form.validation.dependant "password" (R10.Form.validation.equal "password_repeat")
]
}
}
]
, state = R10.Form.initState
}
}
update : Msg -> Model -> Model
update msg model =
case msg of
MsgForm msgForm ->
let
form : R10.Form.Form
form =
model.form
newForm : R10.Form.Form
newForm =
{ form
| state =
form.state
|> R10.Form.update msgForm
|> Tuple.first
}
in
{ model | form = newForm }
theme : R10.Theme.Theme
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
view : Model -> Html.Html Msg
view model =
layoutWith
{ options =
[ focusStyle
{ borderColor = Nothing
, backgroundColor = Nothing
, shadow = Nothing
}
]
}
[ R10.Color.AttrsBackground.underModal theme, padding 20, R10.FontSize.normal ]
(column
(R10.Card.high theme
++ [ centerX
, centerY
, width (fill |> maximum 360)
, height shrink
, spacing 30
]
)
[ R10.Svg.LogosExtra.r10 [ centerX ] (R10.Color.Svg.logo theme) 32
, R10.Paragraph.normalMarkdown [ Font.center ] theme "This is an example of a form made with [Elm](https://elm-lang.org/), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm))."
, column [ spacing 20 ] <| R10.Form.view model.form MsgForm
, Element.map MsgForm <|
R10.Button.primary []
{ label = text "Sign In"
, libu = R10.Libu.Bu <| Just <| R10.Form.msg.submit model.form.conf
, theme = theme
}
]
)
```"""
| true | module Pages.Top exposing
( maxWidth
, view
)
import Color
import Element exposing (..)
import Element.Font as Font
import Html.Attributes
import Markdown
import R10.Card
import R10.I18n
import R10.Language
import R10.Svg.Icons
import R10.Svg.IconsExtra
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
maxWidth : Attribute msg
maxWidth =
width (fill |> maximum 1000)
responsive : number -> a -> a -> a
responsive x mobile desktop =
if x < 600 then
mobile
else
desktop
view : R10.Theme.Theme -> R10.Language.Language -> { x : Int, y : Int } -> Attribute msg -> List (Element msg) -> (String -> msg) -> Element msg
view theme language windowSize heroBackgroundColor content _ =
column [ width fill ] <|
[ column
[ width fill
, paddingXY 0 80
, spacing 60
, heroBackgroundColor
, htmlAttribute <| Html.Attributes.style "transition" "background-color 1.2s"
]
[ row
[ spacing <| responsive windowSize.x 20 40, centerX, centerY, moveDown 40 ]
[ R10.Svg.LogosExtra.elm_monochrome []
(rgb 1 1 1)
(responsive windowSize.x (155 // 2) 155)
, R10.Svg.Icons.x [ moveRight (responsive windowSize.x 10 15) ] (rgb 1 1 1) (responsive windowSize.x (100 // 2) 100)
, R10.Svg.Logos.r [ moveDown (responsive windowSize.x 9 19) ] (rgb 1 1 1) (responsive windowSize.x (200 // 2) 200)
]
, viewMessage language
]
, el
[ padding 40
, centerX
]
<|
column
(R10.Card.normal theme
++ [ centerX
, paddingXY 20 40
, maxWidth
, spacing 40
]
)
[ paragraph [] [ html <| Markdown.toHtml [ Html.Attributes.class "markdown" ] readme ]
-- , paragraph [] [ html <| Markdown.toHtml [ Html.Attributes.class "markdown" ] "# Content" ]
-- , paragraph [ paddingEach { top = 0, right = 20, bottom = 40, left = 50 } ] content
]
]
viewMessage : R10.Language.Language -> Element msg
viewMessage language =
column
[ spacing 0
, centerX
, paddingXY 20 0
, htmlAttribute <| Html.Attributes.style "word-spacing" "5px"
, htmlAttribute <| Html.Attributes.style "letter-spacing" "1px"
, Font.color <| rgb 1 1 1
]
[ paragraph
[ Font.center
, width (fill |> maximum 500)
, spacing 10
]
[ html <| Markdown.toHtml [ Html.Attributes.class "markdown whiteLinks" ] (R10.I18n.t language intro) ]
, R10.Svg.IconsExtra.keyboardArrowDown [ centerX, moveDown 30, alpha 0.2 ] (rgb 1 1 1) 100
]
intro : R10.Language.Translations
intro =
{ key = "title"
, en_us = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, ja_jp = "[R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/)は、[楽天](https://global.rakuten.com/)でユーザーインターフェイスを作成するために使用する[Elm](https://elm-lang.org/)および[elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/)で記述されたインタラクティブなビルディングブロックのライブラリです。"
, zh_tw = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, es_es = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, fr_fr = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
, de_de = "[**R10**](https://package.elm-lang.org/packages/rakutentech/r10/latest/) is a library of interactive building blocks written in [**Elm**](https://elm-lang.org/) and [**elm-ui**](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) that we use at [**Rakuten**](https://global.rakuten.com/) for creating user interfaces."
}
readme : String
readme =
--
-- This is copied and pasted from /README.md
--
"""**Disclaimer**: This library is actively used in our live projects and the code and the documentation can be rough in most places because, you know, deadlines! It is also tailored for our use so it is probably useful as source of information rather than as a real dependency to add in your projects.
### Links
* [R10 demo with documentation and examples](https://r10.netlify.app/)
* [R10 in the Elm's package website](https://package.elm-lang.org/packages/rakutentech/r10/latest/)
* [R10 in Github](https://github.com/rakutentech/r10)
* [Ellie: R10 Simple View](https://ellie-app.com/c5SL2qqLZP2a1)
* [Ellie: R10 Simple Form](https://ellie-app.com/c5SKjKvwnNRa1)
* [Ellie: R10 Credit Card](https://ellie-app.com/c5SH5HxBXPHa1)
# How to use the R10 library
If you already have an existing Elm project, install the library with
```bash
elm install rakutentech/r10
```
See [this Ellie](https://ellie-app.com/c5SL2qqLZP2a1) or scroll down this page to see an usage code sample.
# How to bootstrap a new project
You can find a fully functional project in the folder [`examples/pwa`](https://github.com/rakutentech/r10/tree/master/examples/pwa). You can use it as a base for a new project simply copying it.
From the root folder of the example, run
```bash
npm install
npm start
```
Then you can preview the website at http://localhost:8000.
Changing `src/Main.elm` will automatically recompile the application and refresh the browser.
To build the files optimized for the release in production, run:
```bash
npm run build
```
You can then find the files in `elm-stuff/elm-starter-files/build`.
## Website characteristics
The bootstrapped website showcases has these characteristics:
* Single Page Application (**SPA**)
* Progressive Web Application (**PWA**)
* **Static SSR** (pre-render during the build)
* Works **off-line** and **without Javascript**
* **Installable** on desktop and mobile
* Friendly to search engines (**SEO**)
* Supports **custom previews** so it looks good when you share links
* **Best practices**, **Accessibility**, etc. (High scores with Lighthouse)
* Includes **R10 building blocks** such as logos, icons, buttons, forms, etc. with coding playgrounds.
* Supports **multi language** websites
* Standard **header and footer**
To know more, read the [`elm-starter` documentation](https://github.com/lucamug/elm-starter) and the [`r10` documentation](https://package.elm-lang.org/packages/rakutentech/r10/latest/).
Note: If you copied the file in a new folder you need to modify the `elm.json` file:
1. Remove `../../src` from the list of `source-directories`
2. Run `elm install rakutentech/r10` that will add this library as dependency
# Other languages or frameworks
If you are looking for Rakuten UI components written in other languages or frameworks, have a look at the [ReX Github repository](https://github.com/rakuten-rex) and the [ReX Frontend Components Library](https://zeroheight.com/390c074f3/p/080991-).
# Thanks
Thanks to PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, the folks at NoRedInk, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI and many more from the Elm community that directly or indirectly supported us in this journey.
# Examples
These are real-life fully working code samples that render these views:
![Examples](https://r10.netlify.app/images/examples-600.png)
The primary color and the light/dark mode can be changed through the `theme` definitions. For example:
```elm
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.green
}
theme =
{ mode = R10.Mode.Dark
, primaryColor = R10.Color.primary.blueSky
}
```
This is the source code for the example with two buttons.
You can also find it at [github.com](https://github.com/rakutentech/r10/tree/master/examples/simpleView/src/Main.elm) or in [this Ellie](https://ellie-app.com/c5SL2qqLZP2a1).
```elm
module Main exposing (main)
import Element exposing (..)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Html
import R10.Button
import R10.Card
import R10.Color
import R10.Color.AttrsBackground
import R10.Color.Svg
import R10.FontSize
import R10.Libu
import R10.Mode
import R10.Paragraph
import R10.Svg.Icons
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
theme : R10.Theme.Theme
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
main : Html.Html msg
main =
layout [ R10.Color.AttrsBackground.underModal theme, padding 20, R10.FontSize.normal ] <|
column
(R10.Card.high theme
++ [ centerX
, centerY
, width (fill |> maximum 360)
, height shrink
, spacing 30
]
)
[ R10.Svg.LogosExtra.r10 [ centerX ] (R10.Color.Svg.logo theme) 32
, R10.Paragraph.normalMarkdown [ Font.center ] theme "This is an example of a view made with [Elm](https://elm-lang.org/), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleView/src/Main.elm))."
, el [ Font.size 60, centerX, padding 10 ] <| text "🎉"
, R10.Button.primary []
{ label =
row [ spacing 15, centerX ]
[ R10.Paragraph.normal [] [ text "Primary Buttons" ]
, R10.Svg.Icons.cart_f [] (R10.Color.Svg.fontButtonPrimary theme) 18
]
, libu = R10.Libu.Li "https://r10.netlify.app"
, theme = theme
}
, R10.Button.secondary []
{ label = R10.Paragraph.normal [] [ text "Secondary Buttons" ]
, libu = R10.Libu.Li "https://r10.netlify.app"
, theme = theme
}
]
```
This is the code sample for the view with the form ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm)).
```elm
module Main exposing (main)
import Browser
import Element exposing (..)
import Element.Font as Font
import Html
import R10.Button
import R10.Card
import R10.Color
import R10.Color.AttrsBackground
import R10.Color.Svg
import R10.FontSize
import R10.Form
import R10.Language
import R10.Libu
import R10.Mode
import R10.Paragraph
import R10.Svg.Logos
import R10.Svg.LogosExtra
import R10.Theme
main : Program () Model Msg
main =
Browser.sandbox
{ init = init
, view = view
, update = update
}
type alias Model =
{ form : R10.Form.Form }
type Msg
= MsgForm R10.Form.Msg
init : Model
init =
{ form =
{ conf =
[ R10.Form.entity.field
{ id = "email"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.email
, label = "Email"
, helperText = Just "Helper text for Email"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = False
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.commonValidation.email
, R10.Form.validation.minLength 5
, R10.Form.validation.maxLength 50
, R10.Form.validation.required
]
}
}
, R10.Form.entity.field
{ id = "password"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.passwordNew
, label = "Password"
, helperText = Just "Helper text for Password"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = True
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.commonValidation.password
, R10.Form.validation.minLength 8
, R10.Form.validation.required
]
}
}
, R10.Form.entity.field
{ id = "password_repeat"
, idDom = Nothing
, type_ = R10.Form.fieldType.text R10.Form.text.passwordNew
, label = "Repeat Password"
, helperText = Just "Helper text for Repeat Password"
, requiredLabel = Just "(required)"
, validationSpecs =
Just
{ showPassedValidationMessages = True
, hidePassedValidationStyle = False
, validationIcon = R10.Form.validationIcon.noIcon
, validation =
[ R10.Form.validation.withMsg
{ ok = "Passwords are the same"
, err = "Passwords are not the same"
}
<|
R10.Form.validation.dependant "password" (R10.Form.validation.equal "password_repeat")
]
}
}
]
, state = R10.Form.initState
}
}
update : Msg -> Model -> Model
update msg model =
case msg of
MsgForm msgForm ->
let
form : R10.Form.Form
form =
model.form
newForm : R10.Form.Form
newForm =
{ form
| state =
form.state
|> R10.Form.update msgForm
|> Tuple.first
}
in
{ model | form = newForm }
theme : R10.Theme.Theme
theme =
{ mode = R10.Mode.Light
, primaryColor = R10.Color.primary.blueSky
}
view : Model -> Html.Html Msg
view model =
layoutWith
{ options =
[ focusStyle
{ borderColor = Nothing
, backgroundColor = Nothing
, shadow = Nothing
}
]
}
[ R10.Color.AttrsBackground.underModal theme, padding 20, R10.FontSize.normal ]
(column
(R10.Card.high theme
++ [ centerX
, centerY
, width (fill |> maximum 360)
, height shrink
, spacing 30
]
)
[ R10.Svg.LogosExtra.r10 [ centerX ] (R10.Color.Svg.logo theme) 32
, R10.Paragraph.normalMarkdown [ Font.center ] theme "This is an example of a form made with [Elm](https://elm-lang.org/), [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) and [R10](https://package.elm-lang.org/packages/rakutentech/r10/latest/) ([Source code](https://github.com/rakutentech/r10/blob/master/examples/simpleForm/src/Main.elm))."
, column [ spacing 20 ] <| R10.Form.view model.form MsgForm
, Element.map MsgForm <|
R10.Button.primary []
{ label = text "Sign In"
, libu = R10.Libu.Bu <| Just <| R10.Form.msg.submit model.form.conf
, theme = theme
}
]
)
```"""
| elm |
[
{
"context": "ideoToSubmit\n , login = userData.username\n , password = userData",
"end": 3695,
"score": 0.9514500499,
"start": 3678,
"tag": "USERNAME",
"value": "userData.username"
},
{
"context": ".username\n , password = userData.password\n }\n ",
"end": 3754,
"score": 0.9991963506,
"start": 3737,
"tag": "PASSWORD",
"value": "userData.password"
}
] | src/Page/Participate.elm | yohanboniface/ClasseA12 | 0 | module Page.Participate exposing (Model, Msg(..), init, update, view)
import Data.Kinto exposing (KintoData(..), NewVideo, Video, emptyNewVideo, emptyVideo)
import Data.Session exposing (Session)
import Dict
import Html as H
import Html.Attributes as HA
import Html.Events as HE
import Http
import Json.Decode as Decode
import Kinto
import Page.Common.Components
import Page.Common.Progress
import Ports
import Request.KintoUpcoming
import Route
import Task
import Time
type alias Model =
{ title : String
, newVideo : NewVideo
, newVideoKintoData : KintoData Video
, videoObjectUrl : Maybe String
, progress : Page.Common.Progress.Progress
, preSelectedKeywords : Keywords
, freeformKeywords : String
}
type alias Keywords =
Dict.Dict String Bool
noKeywords : Dict.Dict String Bool
noKeywords =
Data.Kinto.keywordList
|> List.map (\( keyword, _ ) -> ( keyword, False ))
|> Dict.fromList
type Credentials
= Credentials ( String, String )
type Msg
= UpdateVideoForm NewVideo
| GetTimestamp
| SubmitNewVideo Time.Posix
| DiscardNotification
| VideoSelected
| VideoObjectUrlReceived Decode.Value
| ProgressUpdated Decode.Value
| AttachmentSent String
| UpdatePreSelectedKeywords String
| UpdateFreeformKeywords String
init : Session -> ( Model, Cmd Msg )
init session =
( { title = "Je participe !"
, newVideo = emptyNewVideo
, newVideoKintoData = NotRequested
, videoObjectUrl = Nothing
, progress = Page.Common.Progress.empty
, preSelectedKeywords = noKeywords
, freeformKeywords = ""
}
, Cmd.none
)
update : Session -> Msg -> Model -> ( Model, Cmd Msg )
update { userData } msg model =
case msg of
UpdateVideoForm video ->
( { model | newVideo = video }, Cmd.none )
GetTimestamp ->
( model, Task.perform SubmitNewVideo Time.now )
SubmitNewVideo timestamp ->
case userData.profile of
Just profile ->
let
newVideo =
model.newVideo
timestampedVideo =
{ newVideo | creation_date = timestamp }
updatedKeywords =
model.freeformKeywords
-- Split the keywords into a list
|> String.split ","
-- Remove the extraneous spaces
|> List.map String.trim
-- Remove the empty keywords
|> List.filter (\keyword -> keyword /= "")
-- Add the keywords to the current video keywords
|> List.foldl
(\keyword keywords ->
Dict.insert keyword True keywords
)
model.preSelectedKeywords
videoToSubmit =
{ timestampedVideo
| keywords = keywordsToList updatedKeywords
, profile = profile
}
submitVideoData : Ports.SubmitVideoData
submitVideoData =
{ nodeID = "video"
, videoNodeID = "uploaded-video"
, videoData = Data.Kinto.encodeNewVideoData videoToSubmit
, login = userData.username
, password = userData.password
}
in
( { model
| newVideoKintoData = Requested
, newVideo = videoToSubmit
}
, Ports.submitVideo submitVideoData
)
Nothing ->
-- Not profile information in the session? We should never reach this state.
( model, Cmd.none )
DiscardNotification ->
( { model | newVideoKintoData = NotRequested }, Cmd.none )
VideoSelected ->
( model, Ports.videoSelected "video" )
VideoObjectUrlReceived value ->
let
objectUrl =
Decode.decodeValue Decode.string value
in
( { model | videoObjectUrl = Result.toMaybe objectUrl }, Cmd.none )
ProgressUpdated value ->
let
progress =
Decode.decodeValue Page.Common.Progress.decoder value
|> Result.withDefault Page.Common.Progress.empty
in
( { model | progress = progress }, Cmd.none )
AttachmentSent response ->
let
result =
Decode.decodeString Data.Kinto.attachmentDecoder response
|> Result.mapError
(\_ ->
Decode.decodeString Kinto.errorDecoder response
|> Result.map
(\errorDetail ->
Kinto.KintoError errorDetail.code errorDetail.message errorDetail
)
|> Result.withDefault (Kinto.NetworkError Http.NetworkError)
)
kintoData =
case result of
Ok attachment ->
let
video =
{ emptyVideo
| title = model.newVideo.title
, keywords = model.newVideo.keywords
, description = model.newVideo.description
, attachment = attachment
}
in
Received video
Err error ->
Failed error
in
( { model
| newVideo = emptyNewVideo
, newVideoKintoData = kintoData
, freeformKeywords = ""
, videoObjectUrl = Nothing
, progress = Page.Common.Progress.empty
}
, Cmd.none
)
UpdatePreSelectedKeywords keyword ->
( { model | preSelectedKeywords = toggleKeyword keyword model.preSelectedKeywords }
, Cmd.none
)
UpdateFreeformKeywords keywords ->
( { model | freeformKeywords = keywords }, Cmd.none )
view : Session -> Model -> ( String, List (H.Html Msg) )
view { staticFiles, userData } model =
( model.title
, [ H.div [ HA.class "main" ]
[ H.div [ HA.class "section section-white" ]
[ H.div [ HA.class "container" ]
[ displayKintoData model.newVideoKintoData
, H.p [] [ H.text "Vous aimeriez avoir l'avis de vos collègues sur une problématique ou souhaitez poster une vidéo pour aider le collectif, vous êtes au bon endroit !" ]
, H.p []
[ H.text "Pensez bien à faire signer les autorisations de droit à l'image !"
, H.ul []
[ H.li []
[ H.a [ HA.href staticFiles.autorisationCaptationImageMineur ]
[ H.text "Autorisation captation image mineur" ]
]
, H.li []
[ H.a [ HA.href staticFiles.autorisationCaptationImageMajeur ]
[ H.text "Autorisation captation image majeur" ]
]
]
]
, if not <| Data.Session.isLoggedIn userData then
Page.Common.Components.viewConnectNow "Pour ajouter une contribution veuillez vous " "connecter"
else
displaySubmitVideoForm model
]
]
]
]
)
displaySubmitVideoForm :
{ a
| newVideo : NewVideo
, newVideoKintoData : KintoData Video
, videoObjectUrl : Maybe String
, progress : Page.Common.Progress.Progress
, preSelectedKeywords : Keywords
, freeformKeywords : String
}
-> H.Html Msg
displaySubmitVideoForm { newVideo, newVideoKintoData, videoObjectUrl, progress, preSelectedKeywords, freeformKeywords } =
let
videoSelected =
videoObjectUrl
/= Nothing
in
H.form [ HE.onSubmit GetTimestamp ]
[ displayVideo videoObjectUrl
, H.div
[ HA.class "upload-video"
]
[ H.label
[ HA.style "display"
(if videoSelected then
"none"
else
"block"
)
]
[ H.input
[ HA.class "file-input"
, HA.type_ "file"
, HA.id "video"
, HA.accept "video/*"
, Page.Common.Components.onFileSelected VideoSelected
]
[]
, H.span [ HA.class "file-cta" ]
[ H.span [ HA.class "file-icon" ]
[ H.i [ HA.class "fas fa-upload" ] []
]
, H.span [ HA.class "file-label" ] [ H.text "Envoyer un fichier vidéo" ]
]
]
]
, formInput
H.input
"title"
"Titre*"
"Titre de la video"
newVideo.title
(\title -> UpdateVideoForm { newVideo | title = title })
videoSelected
, H.div
[ HA.class "form__group"
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.fieldset []
[ H.legend []
[ H.text "Niveau" ]
, H.input
[ HA.id "grade-cp"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CP"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CP" })
]
[]
, H.label [ HA.for "grade-cp", HA.class "label-inline" ]
[ H.text "CP" ]
, H.input
[ HA.id "grade-ce1"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CE1"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CE1" })
]
[]
, H.label [ HA.for "grade-ce1", HA.class "label-inline" ]
[ H.text "CE1" ]
, H.input
[ HA.id "grade-cp-ce1"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CP et CE1"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CP et CE1" })
]
[]
, H.label [ HA.for "grade-cp-ce1", HA.class "label-inline" ]
[ H.text "CP et CE1" ]
]
]
, formInput
H.textarea
"description"
"Description"
"Description succincte, ville, académie (mise en forme possible avec Markdown)"
newVideo.description
(\description -> UpdateVideoForm { newVideo | description = description })
videoSelected
, H.div
[ HA.class "form__group"
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.fieldset []
([ H.legend [] [ H.text "Mots Clés" ] ]
++ viewKeywords
preSelectedKeywords
UpdatePreSelectedKeywords
)
]
, formInput
H.input
"freeform-keyword"
"Préciser (parmi les mots clés grisés ci-dessus) ou ajouter des mots clés"
"Liste de mots clés séparés par des virgules"
freeformKeywords
UpdateFreeformKeywords
videoSelected
, H.button
[ HA.type_ "submit"
, HA.class "button"
, HA.disabled (newVideo.title == "")
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.text "Soumettre cette vidéo" ]
, H.div
[ HA.classList
[ ( "modal__backdrop", True )
, ( "is-active", newVideoKintoData == Requested )
]
]
[ H.div [ HA.class "modal" ]
[ H.h1 [] [ H.text "Envoi de la vidéo en cours, veuillez patienter..." ]
, H.p [] [ H.text progress.message ]
, H.progress
[ HA.class "is-large"
, HA.value <| String.fromInt progress.percentage
, HA.max "100"
]
[ H.text <| String.fromInt progress.percentage ++ "%" ]
]
]
]
displayVideo : Maybe String -> H.Html Msg
displayVideo maybeVideoObjectUrl =
H.div [ HA.style "display" "none", HA.style "text-align" "center" ]
[ H.video
[ HA.controls True
, HA.id "uploaded-video"
]
[]
, H.p [] [ H.text "Aperçu de la miniature de la vidéo (déplacer le curseur de la vidéo ci-dessus)" ]
, H.canvas [ HA.id "thumbnail-preview" ] []
]
displayKintoData : KintoData Video -> H.Html Msg
displayKintoData kintoData =
case kintoData of
Failed error ->
H.div [ HA.class "notification error closable" ]
[ H.button
[ HA.class "close"
, HE.onClick DiscardNotification
]
[ H.i [ HA.class "fas fa-times" ] [] ]
, H.text <| Kinto.errorToString error
]
Received _ ->
H.div [ HA.class "notification success closable" ]
[ H.button
[ HA.class "close"
, HE.onClick DiscardNotification
]
[ H.i [ HA.class "fas fa-times" ] [] ]
, H.text "Merci pour cette vidéo ! Vous pouvez en poster une autre ou "
, H.a [ Route.href Route.Home ] [ H.text "retourner à la liste de vidéos" ]
]
_ ->
H.div [] []
type alias HtmlNode msg =
List (H.Attribute msg) -> List (H.Html msg) -> H.Html msg
formInput : HtmlNode msg -> String -> String -> String -> String -> (String -> msg) -> Bool -> H.Html msg
formInput input id label placeholder value onInput isVisible =
H.div
[ HA.class "form__group"
, HA.style "display"
(if isVisible then
"block"
else
"none"
)
]
[ H.label [ HA.for id ]
[ H.text label ]
, input
[ HA.id id
, HA.placeholder placeholder
, HA.value value
, HE.onInput onInput
]
[]
]
onSelectMultiple : (List String -> Msg) -> H.Attribute Msg
onSelectMultiple tagger =
HE.on "change" (Decode.map tagger targetSelectedOptions)
checkbox : (String -> Msg) -> ( String, Bool ) -> H.Html Msg
checkbox msg ( key, value ) =
let
id =
"keyword-" ++ key
includedKeywords =
-- Some keywords "include" other sub-keywords, display those to the user to help them choose
Data.Kinto.keywordList
|> List.filter (\( keyword, included ) -> keyword == key && included /= "")
|> List.head
|> Maybe.map
(\( keyword, included ) ->
[ H.span [ HA.class "included-keywords" ] [ H.text <| " (" ++ included ++ ")" ] ]
)
|> Maybe.withDefault []
in
H.div [ HA.class "keywords" ]
([ H.input
[ HA.type_ "checkbox"
, HA.id id
, HA.checked value
, HE.onClick <| msg key
]
[]
, H.label [ HA.for id, HA.class "label-inline" ] [ H.text key ]
]
++ includedKeywords
)
viewKeywords : Keywords -> (String -> Msg) -> List (H.Html Msg)
viewKeywords keywords msg =
Dict.toList keywords
|> List.map (checkbox msg)
targetSelectedOptions : Decode.Decoder (List String)
targetSelectedOptions =
Decode.at [ "target", "selectedOptions" ] <|
collection <|
Decode.field "value" Decode.string
collection : Decode.Decoder a -> Decode.Decoder (List a)
collection decoder =
-- Taken from elm-community/json-extra
Decode.field "length" Decode.int
|> Decode.andThen
(\length ->
List.range 0 (length - 1)
|> List.map (\index -> Decode.field (String.fromInt index) decoder)
|> combine
)
combine : List (Decode.Decoder a) -> Decode.Decoder (List a)
combine =
-- Taken from elm-community/json-extra
List.foldr (Decode.map2 (::)) (Decode.succeed [])
keywordsToList : Keywords -> List String
keywordsToList keywords =
keywords
|> Dict.filter (\key value -> value)
|> Dict.keys
toggleKeyword : String -> Keywords -> Keywords
toggleKeyword keyword keywords =
Dict.update keyword
(\oldValue ->
case oldValue of
Just value ->
Just <| not value
Nothing ->
Nothing
)
keywords
| 38521 | module Page.Participate exposing (Model, Msg(..), init, update, view)
import Data.Kinto exposing (KintoData(..), NewVideo, Video, emptyNewVideo, emptyVideo)
import Data.Session exposing (Session)
import Dict
import Html as H
import Html.Attributes as HA
import Html.Events as HE
import Http
import Json.Decode as Decode
import Kinto
import Page.Common.Components
import Page.Common.Progress
import Ports
import Request.KintoUpcoming
import Route
import Task
import Time
type alias Model =
{ title : String
, newVideo : NewVideo
, newVideoKintoData : KintoData Video
, videoObjectUrl : Maybe String
, progress : Page.Common.Progress.Progress
, preSelectedKeywords : Keywords
, freeformKeywords : String
}
type alias Keywords =
Dict.Dict String Bool
noKeywords : Dict.Dict String Bool
noKeywords =
Data.Kinto.keywordList
|> List.map (\( keyword, _ ) -> ( keyword, False ))
|> Dict.fromList
type Credentials
= Credentials ( String, String )
type Msg
= UpdateVideoForm NewVideo
| GetTimestamp
| SubmitNewVideo Time.Posix
| DiscardNotification
| VideoSelected
| VideoObjectUrlReceived Decode.Value
| ProgressUpdated Decode.Value
| AttachmentSent String
| UpdatePreSelectedKeywords String
| UpdateFreeformKeywords String
init : Session -> ( Model, Cmd Msg )
init session =
( { title = "Je participe !"
, newVideo = emptyNewVideo
, newVideoKintoData = NotRequested
, videoObjectUrl = Nothing
, progress = Page.Common.Progress.empty
, preSelectedKeywords = noKeywords
, freeformKeywords = ""
}
, Cmd.none
)
update : Session -> Msg -> Model -> ( Model, Cmd Msg )
update { userData } msg model =
case msg of
UpdateVideoForm video ->
( { model | newVideo = video }, Cmd.none )
GetTimestamp ->
( model, Task.perform SubmitNewVideo Time.now )
SubmitNewVideo timestamp ->
case userData.profile of
Just profile ->
let
newVideo =
model.newVideo
timestampedVideo =
{ newVideo | creation_date = timestamp }
updatedKeywords =
model.freeformKeywords
-- Split the keywords into a list
|> String.split ","
-- Remove the extraneous spaces
|> List.map String.trim
-- Remove the empty keywords
|> List.filter (\keyword -> keyword /= "")
-- Add the keywords to the current video keywords
|> List.foldl
(\keyword keywords ->
Dict.insert keyword True keywords
)
model.preSelectedKeywords
videoToSubmit =
{ timestampedVideo
| keywords = keywordsToList updatedKeywords
, profile = profile
}
submitVideoData : Ports.SubmitVideoData
submitVideoData =
{ nodeID = "video"
, videoNodeID = "uploaded-video"
, videoData = Data.Kinto.encodeNewVideoData videoToSubmit
, login = userData.username
, password = <PASSWORD>
}
in
( { model
| newVideoKintoData = Requested
, newVideo = videoToSubmit
}
, Ports.submitVideo submitVideoData
)
Nothing ->
-- Not profile information in the session? We should never reach this state.
( model, Cmd.none )
DiscardNotification ->
( { model | newVideoKintoData = NotRequested }, Cmd.none )
VideoSelected ->
( model, Ports.videoSelected "video" )
VideoObjectUrlReceived value ->
let
objectUrl =
Decode.decodeValue Decode.string value
in
( { model | videoObjectUrl = Result.toMaybe objectUrl }, Cmd.none )
ProgressUpdated value ->
let
progress =
Decode.decodeValue Page.Common.Progress.decoder value
|> Result.withDefault Page.Common.Progress.empty
in
( { model | progress = progress }, Cmd.none )
AttachmentSent response ->
let
result =
Decode.decodeString Data.Kinto.attachmentDecoder response
|> Result.mapError
(\_ ->
Decode.decodeString Kinto.errorDecoder response
|> Result.map
(\errorDetail ->
Kinto.KintoError errorDetail.code errorDetail.message errorDetail
)
|> Result.withDefault (Kinto.NetworkError Http.NetworkError)
)
kintoData =
case result of
Ok attachment ->
let
video =
{ emptyVideo
| title = model.newVideo.title
, keywords = model.newVideo.keywords
, description = model.newVideo.description
, attachment = attachment
}
in
Received video
Err error ->
Failed error
in
( { model
| newVideo = emptyNewVideo
, newVideoKintoData = kintoData
, freeformKeywords = ""
, videoObjectUrl = Nothing
, progress = Page.Common.Progress.empty
}
, Cmd.none
)
UpdatePreSelectedKeywords keyword ->
( { model | preSelectedKeywords = toggleKeyword keyword model.preSelectedKeywords }
, Cmd.none
)
UpdateFreeformKeywords keywords ->
( { model | freeformKeywords = keywords }, Cmd.none )
view : Session -> Model -> ( String, List (H.Html Msg) )
view { staticFiles, userData } model =
( model.title
, [ H.div [ HA.class "main" ]
[ H.div [ HA.class "section section-white" ]
[ H.div [ HA.class "container" ]
[ displayKintoData model.newVideoKintoData
, H.p [] [ H.text "Vous aimeriez avoir l'avis de vos collègues sur une problématique ou souhaitez poster une vidéo pour aider le collectif, vous êtes au bon endroit !" ]
, H.p []
[ H.text "Pensez bien à faire signer les autorisations de droit à l'image !"
, H.ul []
[ H.li []
[ H.a [ HA.href staticFiles.autorisationCaptationImageMineur ]
[ H.text "Autorisation captation image mineur" ]
]
, H.li []
[ H.a [ HA.href staticFiles.autorisationCaptationImageMajeur ]
[ H.text "Autorisation captation image majeur" ]
]
]
]
, if not <| Data.Session.isLoggedIn userData then
Page.Common.Components.viewConnectNow "Pour ajouter une contribution veuillez vous " "connecter"
else
displaySubmitVideoForm model
]
]
]
]
)
displaySubmitVideoForm :
{ a
| newVideo : NewVideo
, newVideoKintoData : KintoData Video
, videoObjectUrl : Maybe String
, progress : Page.Common.Progress.Progress
, preSelectedKeywords : Keywords
, freeformKeywords : String
}
-> H.Html Msg
displaySubmitVideoForm { newVideo, newVideoKintoData, videoObjectUrl, progress, preSelectedKeywords, freeformKeywords } =
let
videoSelected =
videoObjectUrl
/= Nothing
in
H.form [ HE.onSubmit GetTimestamp ]
[ displayVideo videoObjectUrl
, H.div
[ HA.class "upload-video"
]
[ H.label
[ HA.style "display"
(if videoSelected then
"none"
else
"block"
)
]
[ H.input
[ HA.class "file-input"
, HA.type_ "file"
, HA.id "video"
, HA.accept "video/*"
, Page.Common.Components.onFileSelected VideoSelected
]
[]
, H.span [ HA.class "file-cta" ]
[ H.span [ HA.class "file-icon" ]
[ H.i [ HA.class "fas fa-upload" ] []
]
, H.span [ HA.class "file-label" ] [ H.text "Envoyer un fichier vidéo" ]
]
]
]
, formInput
H.input
"title"
"Titre*"
"Titre de la video"
newVideo.title
(\title -> UpdateVideoForm { newVideo | title = title })
videoSelected
, H.div
[ HA.class "form__group"
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.fieldset []
[ H.legend []
[ H.text "Niveau" ]
, H.input
[ HA.id "grade-cp"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CP"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CP" })
]
[]
, H.label [ HA.for "grade-cp", HA.class "label-inline" ]
[ H.text "CP" ]
, H.input
[ HA.id "grade-ce1"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CE1"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CE1" })
]
[]
, H.label [ HA.for "grade-ce1", HA.class "label-inline" ]
[ H.text "CE1" ]
, H.input
[ HA.id "grade-cp-ce1"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CP et CE1"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CP et CE1" })
]
[]
, H.label [ HA.for "grade-cp-ce1", HA.class "label-inline" ]
[ H.text "CP et CE1" ]
]
]
, formInput
H.textarea
"description"
"Description"
"Description succincte, ville, académie (mise en forme possible avec Markdown)"
newVideo.description
(\description -> UpdateVideoForm { newVideo | description = description })
videoSelected
, H.div
[ HA.class "form__group"
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.fieldset []
([ H.legend [] [ H.text "Mots Clés" ] ]
++ viewKeywords
preSelectedKeywords
UpdatePreSelectedKeywords
)
]
, formInput
H.input
"freeform-keyword"
"Préciser (parmi les mots clés grisés ci-dessus) ou ajouter des mots clés"
"Liste de mots clés séparés par des virgules"
freeformKeywords
UpdateFreeformKeywords
videoSelected
, H.button
[ HA.type_ "submit"
, HA.class "button"
, HA.disabled (newVideo.title == "")
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.text "Soumettre cette vidéo" ]
, H.div
[ HA.classList
[ ( "modal__backdrop", True )
, ( "is-active", newVideoKintoData == Requested )
]
]
[ H.div [ HA.class "modal" ]
[ H.h1 [] [ H.text "Envoi de la vidéo en cours, veuillez patienter..." ]
, H.p [] [ H.text progress.message ]
, H.progress
[ HA.class "is-large"
, HA.value <| String.fromInt progress.percentage
, HA.max "100"
]
[ H.text <| String.fromInt progress.percentage ++ "%" ]
]
]
]
displayVideo : Maybe String -> H.Html Msg
displayVideo maybeVideoObjectUrl =
H.div [ HA.style "display" "none", HA.style "text-align" "center" ]
[ H.video
[ HA.controls True
, HA.id "uploaded-video"
]
[]
, H.p [] [ H.text "Aperçu de la miniature de la vidéo (déplacer le curseur de la vidéo ci-dessus)" ]
, H.canvas [ HA.id "thumbnail-preview" ] []
]
displayKintoData : KintoData Video -> H.Html Msg
displayKintoData kintoData =
case kintoData of
Failed error ->
H.div [ HA.class "notification error closable" ]
[ H.button
[ HA.class "close"
, HE.onClick DiscardNotification
]
[ H.i [ HA.class "fas fa-times" ] [] ]
, H.text <| Kinto.errorToString error
]
Received _ ->
H.div [ HA.class "notification success closable" ]
[ H.button
[ HA.class "close"
, HE.onClick DiscardNotification
]
[ H.i [ HA.class "fas fa-times" ] [] ]
, H.text "Merci pour cette vidéo ! Vous pouvez en poster une autre ou "
, H.a [ Route.href Route.Home ] [ H.text "retourner à la liste de vidéos" ]
]
_ ->
H.div [] []
type alias HtmlNode msg =
List (H.Attribute msg) -> List (H.Html msg) -> H.Html msg
formInput : HtmlNode msg -> String -> String -> String -> String -> (String -> msg) -> Bool -> H.Html msg
formInput input id label placeholder value onInput isVisible =
H.div
[ HA.class "form__group"
, HA.style "display"
(if isVisible then
"block"
else
"none"
)
]
[ H.label [ HA.for id ]
[ H.text label ]
, input
[ HA.id id
, HA.placeholder placeholder
, HA.value value
, HE.onInput onInput
]
[]
]
onSelectMultiple : (List String -> Msg) -> H.Attribute Msg
onSelectMultiple tagger =
HE.on "change" (Decode.map tagger targetSelectedOptions)
checkbox : (String -> Msg) -> ( String, Bool ) -> H.Html Msg
checkbox msg ( key, value ) =
let
id =
"keyword-" ++ key
includedKeywords =
-- Some keywords "include" other sub-keywords, display those to the user to help them choose
Data.Kinto.keywordList
|> List.filter (\( keyword, included ) -> keyword == key && included /= "")
|> List.head
|> Maybe.map
(\( keyword, included ) ->
[ H.span [ HA.class "included-keywords" ] [ H.text <| " (" ++ included ++ ")" ] ]
)
|> Maybe.withDefault []
in
H.div [ HA.class "keywords" ]
([ H.input
[ HA.type_ "checkbox"
, HA.id id
, HA.checked value
, HE.onClick <| msg key
]
[]
, H.label [ HA.for id, HA.class "label-inline" ] [ H.text key ]
]
++ includedKeywords
)
viewKeywords : Keywords -> (String -> Msg) -> List (H.Html Msg)
viewKeywords keywords msg =
Dict.toList keywords
|> List.map (checkbox msg)
targetSelectedOptions : Decode.Decoder (List String)
targetSelectedOptions =
Decode.at [ "target", "selectedOptions" ] <|
collection <|
Decode.field "value" Decode.string
collection : Decode.Decoder a -> Decode.Decoder (List a)
collection decoder =
-- Taken from elm-community/json-extra
Decode.field "length" Decode.int
|> Decode.andThen
(\length ->
List.range 0 (length - 1)
|> List.map (\index -> Decode.field (String.fromInt index) decoder)
|> combine
)
combine : List (Decode.Decoder a) -> Decode.Decoder (List a)
combine =
-- Taken from elm-community/json-extra
List.foldr (Decode.map2 (::)) (Decode.succeed [])
keywordsToList : Keywords -> List String
keywordsToList keywords =
keywords
|> Dict.filter (\key value -> value)
|> Dict.keys
toggleKeyword : String -> Keywords -> Keywords
toggleKeyword keyword keywords =
Dict.update keyword
(\oldValue ->
case oldValue of
Just value ->
Just <| not value
Nothing ->
Nothing
)
keywords
| true | module Page.Participate exposing (Model, Msg(..), init, update, view)
import Data.Kinto exposing (KintoData(..), NewVideo, Video, emptyNewVideo, emptyVideo)
import Data.Session exposing (Session)
import Dict
import Html as H
import Html.Attributes as HA
import Html.Events as HE
import Http
import Json.Decode as Decode
import Kinto
import Page.Common.Components
import Page.Common.Progress
import Ports
import Request.KintoUpcoming
import Route
import Task
import Time
type alias Model =
{ title : String
, newVideo : NewVideo
, newVideoKintoData : KintoData Video
, videoObjectUrl : Maybe String
, progress : Page.Common.Progress.Progress
, preSelectedKeywords : Keywords
, freeformKeywords : String
}
type alias Keywords =
Dict.Dict String Bool
noKeywords : Dict.Dict String Bool
noKeywords =
Data.Kinto.keywordList
|> List.map (\( keyword, _ ) -> ( keyword, False ))
|> Dict.fromList
type Credentials
= Credentials ( String, String )
type Msg
= UpdateVideoForm NewVideo
| GetTimestamp
| SubmitNewVideo Time.Posix
| DiscardNotification
| VideoSelected
| VideoObjectUrlReceived Decode.Value
| ProgressUpdated Decode.Value
| AttachmentSent String
| UpdatePreSelectedKeywords String
| UpdateFreeformKeywords String
init : Session -> ( Model, Cmd Msg )
init session =
( { title = "Je participe !"
, newVideo = emptyNewVideo
, newVideoKintoData = NotRequested
, videoObjectUrl = Nothing
, progress = Page.Common.Progress.empty
, preSelectedKeywords = noKeywords
, freeformKeywords = ""
}
, Cmd.none
)
update : Session -> Msg -> Model -> ( Model, Cmd Msg )
update { userData } msg model =
case msg of
UpdateVideoForm video ->
( { model | newVideo = video }, Cmd.none )
GetTimestamp ->
( model, Task.perform SubmitNewVideo Time.now )
SubmitNewVideo timestamp ->
case userData.profile of
Just profile ->
let
newVideo =
model.newVideo
timestampedVideo =
{ newVideo | creation_date = timestamp }
updatedKeywords =
model.freeformKeywords
-- Split the keywords into a list
|> String.split ","
-- Remove the extraneous spaces
|> List.map String.trim
-- Remove the empty keywords
|> List.filter (\keyword -> keyword /= "")
-- Add the keywords to the current video keywords
|> List.foldl
(\keyword keywords ->
Dict.insert keyword True keywords
)
model.preSelectedKeywords
videoToSubmit =
{ timestampedVideo
| keywords = keywordsToList updatedKeywords
, profile = profile
}
submitVideoData : Ports.SubmitVideoData
submitVideoData =
{ nodeID = "video"
, videoNodeID = "uploaded-video"
, videoData = Data.Kinto.encodeNewVideoData videoToSubmit
, login = userData.username
, password = PI:PASSWORD:<PASSWORD>END_PI
}
in
( { model
| newVideoKintoData = Requested
, newVideo = videoToSubmit
}
, Ports.submitVideo submitVideoData
)
Nothing ->
-- Not profile information in the session? We should never reach this state.
( model, Cmd.none )
DiscardNotification ->
( { model | newVideoKintoData = NotRequested }, Cmd.none )
VideoSelected ->
( model, Ports.videoSelected "video" )
VideoObjectUrlReceived value ->
let
objectUrl =
Decode.decodeValue Decode.string value
in
( { model | videoObjectUrl = Result.toMaybe objectUrl }, Cmd.none )
ProgressUpdated value ->
let
progress =
Decode.decodeValue Page.Common.Progress.decoder value
|> Result.withDefault Page.Common.Progress.empty
in
( { model | progress = progress }, Cmd.none )
AttachmentSent response ->
let
result =
Decode.decodeString Data.Kinto.attachmentDecoder response
|> Result.mapError
(\_ ->
Decode.decodeString Kinto.errorDecoder response
|> Result.map
(\errorDetail ->
Kinto.KintoError errorDetail.code errorDetail.message errorDetail
)
|> Result.withDefault (Kinto.NetworkError Http.NetworkError)
)
kintoData =
case result of
Ok attachment ->
let
video =
{ emptyVideo
| title = model.newVideo.title
, keywords = model.newVideo.keywords
, description = model.newVideo.description
, attachment = attachment
}
in
Received video
Err error ->
Failed error
in
( { model
| newVideo = emptyNewVideo
, newVideoKintoData = kintoData
, freeformKeywords = ""
, videoObjectUrl = Nothing
, progress = Page.Common.Progress.empty
}
, Cmd.none
)
UpdatePreSelectedKeywords keyword ->
( { model | preSelectedKeywords = toggleKeyword keyword model.preSelectedKeywords }
, Cmd.none
)
UpdateFreeformKeywords keywords ->
( { model | freeformKeywords = keywords }, Cmd.none )
view : Session -> Model -> ( String, List (H.Html Msg) )
view { staticFiles, userData } model =
( model.title
, [ H.div [ HA.class "main" ]
[ H.div [ HA.class "section section-white" ]
[ H.div [ HA.class "container" ]
[ displayKintoData model.newVideoKintoData
, H.p [] [ H.text "Vous aimeriez avoir l'avis de vos collègues sur une problématique ou souhaitez poster une vidéo pour aider le collectif, vous êtes au bon endroit !" ]
, H.p []
[ H.text "Pensez bien à faire signer les autorisations de droit à l'image !"
, H.ul []
[ H.li []
[ H.a [ HA.href staticFiles.autorisationCaptationImageMineur ]
[ H.text "Autorisation captation image mineur" ]
]
, H.li []
[ H.a [ HA.href staticFiles.autorisationCaptationImageMajeur ]
[ H.text "Autorisation captation image majeur" ]
]
]
]
, if not <| Data.Session.isLoggedIn userData then
Page.Common.Components.viewConnectNow "Pour ajouter une contribution veuillez vous " "connecter"
else
displaySubmitVideoForm model
]
]
]
]
)
displaySubmitVideoForm :
{ a
| newVideo : NewVideo
, newVideoKintoData : KintoData Video
, videoObjectUrl : Maybe String
, progress : Page.Common.Progress.Progress
, preSelectedKeywords : Keywords
, freeformKeywords : String
}
-> H.Html Msg
displaySubmitVideoForm { newVideo, newVideoKintoData, videoObjectUrl, progress, preSelectedKeywords, freeformKeywords } =
let
videoSelected =
videoObjectUrl
/= Nothing
in
H.form [ HE.onSubmit GetTimestamp ]
[ displayVideo videoObjectUrl
, H.div
[ HA.class "upload-video"
]
[ H.label
[ HA.style "display"
(if videoSelected then
"none"
else
"block"
)
]
[ H.input
[ HA.class "file-input"
, HA.type_ "file"
, HA.id "video"
, HA.accept "video/*"
, Page.Common.Components.onFileSelected VideoSelected
]
[]
, H.span [ HA.class "file-cta" ]
[ H.span [ HA.class "file-icon" ]
[ H.i [ HA.class "fas fa-upload" ] []
]
, H.span [ HA.class "file-label" ] [ H.text "Envoyer un fichier vidéo" ]
]
]
]
, formInput
H.input
"title"
"Titre*"
"Titre de la video"
newVideo.title
(\title -> UpdateVideoForm { newVideo | title = title })
videoSelected
, H.div
[ HA.class "form__group"
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.fieldset []
[ H.legend []
[ H.text "Niveau" ]
, H.input
[ HA.id "grade-cp"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CP"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CP" })
]
[]
, H.label [ HA.for "grade-cp", HA.class "label-inline" ]
[ H.text "CP" ]
, H.input
[ HA.id "grade-ce1"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CE1"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CE1" })
]
[]
, H.label [ HA.for "grade-ce1", HA.class "label-inline" ]
[ H.text "CE1" ]
, H.input
[ HA.id "grade-cp-ce1"
, HA.type_ "radio"
, HA.name "grade"
, HA.checked <| newVideo.grade == "CP et CE1"
, HE.onInput (\grade -> UpdateVideoForm { newVideo | grade = "CP et CE1" })
]
[]
, H.label [ HA.for "grade-cp-ce1", HA.class "label-inline" ]
[ H.text "CP et CE1" ]
]
]
, formInput
H.textarea
"description"
"Description"
"Description succincte, ville, académie (mise en forme possible avec Markdown)"
newVideo.description
(\description -> UpdateVideoForm { newVideo | description = description })
videoSelected
, H.div
[ HA.class "form__group"
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.fieldset []
([ H.legend [] [ H.text "Mots Clés" ] ]
++ viewKeywords
preSelectedKeywords
UpdatePreSelectedKeywords
)
]
, formInput
H.input
"freeform-keyword"
"Préciser (parmi les mots clés grisés ci-dessus) ou ajouter des mots clés"
"Liste de mots clés séparés par des virgules"
freeformKeywords
UpdateFreeformKeywords
videoSelected
, H.button
[ HA.type_ "submit"
, HA.class "button"
, HA.disabled (newVideo.title == "")
, HA.style "display"
(if videoSelected then
"block"
else
"none"
)
]
[ H.text "Soumettre cette vidéo" ]
, H.div
[ HA.classList
[ ( "modal__backdrop", True )
, ( "is-active", newVideoKintoData == Requested )
]
]
[ H.div [ HA.class "modal" ]
[ H.h1 [] [ H.text "Envoi de la vidéo en cours, veuillez patienter..." ]
, H.p [] [ H.text progress.message ]
, H.progress
[ HA.class "is-large"
, HA.value <| String.fromInt progress.percentage
, HA.max "100"
]
[ H.text <| String.fromInt progress.percentage ++ "%" ]
]
]
]
displayVideo : Maybe String -> H.Html Msg
displayVideo maybeVideoObjectUrl =
H.div [ HA.style "display" "none", HA.style "text-align" "center" ]
[ H.video
[ HA.controls True
, HA.id "uploaded-video"
]
[]
, H.p [] [ H.text "Aperçu de la miniature de la vidéo (déplacer le curseur de la vidéo ci-dessus)" ]
, H.canvas [ HA.id "thumbnail-preview" ] []
]
displayKintoData : KintoData Video -> H.Html Msg
displayKintoData kintoData =
case kintoData of
Failed error ->
H.div [ HA.class "notification error closable" ]
[ H.button
[ HA.class "close"
, HE.onClick DiscardNotification
]
[ H.i [ HA.class "fas fa-times" ] [] ]
, H.text <| Kinto.errorToString error
]
Received _ ->
H.div [ HA.class "notification success closable" ]
[ H.button
[ HA.class "close"
, HE.onClick DiscardNotification
]
[ H.i [ HA.class "fas fa-times" ] [] ]
, H.text "Merci pour cette vidéo ! Vous pouvez en poster une autre ou "
, H.a [ Route.href Route.Home ] [ H.text "retourner à la liste de vidéos" ]
]
_ ->
H.div [] []
type alias HtmlNode msg =
List (H.Attribute msg) -> List (H.Html msg) -> H.Html msg
formInput : HtmlNode msg -> String -> String -> String -> String -> (String -> msg) -> Bool -> H.Html msg
formInput input id label placeholder value onInput isVisible =
H.div
[ HA.class "form__group"
, HA.style "display"
(if isVisible then
"block"
else
"none"
)
]
[ H.label [ HA.for id ]
[ H.text label ]
, input
[ HA.id id
, HA.placeholder placeholder
, HA.value value
, HE.onInput onInput
]
[]
]
onSelectMultiple : (List String -> Msg) -> H.Attribute Msg
onSelectMultiple tagger =
HE.on "change" (Decode.map tagger targetSelectedOptions)
checkbox : (String -> Msg) -> ( String, Bool ) -> H.Html Msg
checkbox msg ( key, value ) =
let
id =
"keyword-" ++ key
includedKeywords =
-- Some keywords "include" other sub-keywords, display those to the user to help them choose
Data.Kinto.keywordList
|> List.filter (\( keyword, included ) -> keyword == key && included /= "")
|> List.head
|> Maybe.map
(\( keyword, included ) ->
[ H.span [ HA.class "included-keywords" ] [ H.text <| " (" ++ included ++ ")" ] ]
)
|> Maybe.withDefault []
in
H.div [ HA.class "keywords" ]
([ H.input
[ HA.type_ "checkbox"
, HA.id id
, HA.checked value
, HE.onClick <| msg key
]
[]
, H.label [ HA.for id, HA.class "label-inline" ] [ H.text key ]
]
++ includedKeywords
)
viewKeywords : Keywords -> (String -> Msg) -> List (H.Html Msg)
viewKeywords keywords msg =
Dict.toList keywords
|> List.map (checkbox msg)
targetSelectedOptions : Decode.Decoder (List String)
targetSelectedOptions =
Decode.at [ "target", "selectedOptions" ] <|
collection <|
Decode.field "value" Decode.string
collection : Decode.Decoder a -> Decode.Decoder (List a)
collection decoder =
-- Taken from elm-community/json-extra
Decode.field "length" Decode.int
|> Decode.andThen
(\length ->
List.range 0 (length - 1)
|> List.map (\index -> Decode.field (String.fromInt index) decoder)
|> combine
)
combine : List (Decode.Decoder a) -> Decode.Decoder (List a)
combine =
-- Taken from elm-community/json-extra
List.foldr (Decode.map2 (::)) (Decode.succeed [])
keywordsToList : Keywords -> List String
keywordsToList keywords =
keywords
|> Dict.filter (\key value -> value)
|> Dict.keys
toggleKeyword : String -> Keywords -> Keywords
toggleKeyword keyword keywords =
Dict.update keyword
(\oldValue ->
case oldValue of
Just value ->
Just <| not value
Nothing ->
Nothing
)
keywords
| elm |
[
{
"context": "rapper ] ]\n [ input [ placeholder \"Your name\", onInput NameChange, class [ OrderName ] ] []\n ",
"end": 6100,
"score": 0.9277291298,
"start": 6091,
"tag": "NAME",
"value": "Your name"
}
] | src/Starbucks.elm | Ball/elm-soundex | 0 | port module Starbucks exposing (..)
import Array exposing (Array)
import Css
import Dict exposing (..)
import Html exposing (Attribute, Html, div, input, li, node, program, text, ul)
import Html.Attributes exposing (..)
import Html.CssHelpers exposing (withNamespace)
import Html.Events exposing (onInput)
import Random
import Soundex exposing (Soundex, soundex)
import Style exposing (..)
import Task
main : Program Never Model Msg
main =
program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
-- MODEL
type alias MatchData =
Dict Soundex (List String)
type alias Model =
{ name : String
, sndx : Soundex
, sbuxName : String
, isBusy : Bool
, matchData : Maybe MatchData
, soundexCount : String
, nameCount : String
, nameMatches : Maybe MatchData
, nameMisses : Maybe (List ( Soundex, String ))
}
initModel : Model
initModel =
{ name = ""
, sndx = ""
, sbuxName = ""
, isBusy = True
, matchData = Nothing
, soundexCount = ""
, nameCount = ""
, nameMatches = Nothing
, nameMisses = Nothing
}
init : ( Model, Cmd Msg )
init =
( initModel, Cmd.none )
buildMatchData : Array String -> MatchData
buildMatchData words =
let
addWord : ( String, Soundex ) -> MatchData -> MatchData
addWord ( word, key ) data =
data
|> Dict.update key (\d -> d |> Maybe.withDefault [] |> (::) word |> Just)
in
words
|> Array.map (\word -> ( word, transform word ))
|> Array.foldl addWord Dict.empty
-- UPDATE
type Msg
= NameChange String
| GotRandom Int
| NewWords (Array.Array String)
| NewNames (Array.Array String)
| CompiledLookup MatchData
| CompiledNames MatchData
-- | NamesAndWordsBoth
nameMisses : Model -> Maybe (List ( Soundex, String ))
nameMisses model =
case ( model.matchData, model.nameMatches ) of
( Just words, Just names ) ->
let
diffs : List ( Soundex, List String )
diffs =
Dict.diff names words |> Dict.toList
flattenMatch : ( Soundex, List String ) -> List ( Soundex, String )
flattenMatch ( snx, nms ) =
List.map (\n -> ( snx, n )) nms
in
diffs
|> List.concatMap flattenMatch
|> Just
_ ->
Nothing
updateMisses : Model -> Model
updateMisses model =
{ model | nameMisses = nameMisses model }
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
CompiledLookup matchData ->
( { model
| isBusy = False
, matchData = Maybe.Just matchData
, soundexCount = toString <| Dict.size matchData
}
|> updateMisses
, Cmd.none
)
CompiledNames matchData ->
( { model
| nameMatches = Maybe.Just matchData
, nameCount = toString <| Dict.size matchData
}
|> updateMisses
, Cmd.none
)
NewWords words ->
( model
, Task.perform (\ws -> CompiledLookup <| buildMatchData ws) (Task.succeed words)
)
NewNames names ->
( model
, Task.perform (\ws -> CompiledNames <| buildMatchData ws) (Task.succeed names)
)
NameChange "" ->
( { model | name = "", sndx = "", sbuxName = "" }
, Cmd.none
)
NameChange newName ->
let
soundex =
transform newName
optionCount =
model.matchData
|> Maybe.map (\matchData -> howMutch matchData soundex)
|> Maybe.withDefault 0
in
if optionCount == 0 then
( { model | name = newName, sndx = soundex, sbuxName = soundex }
, Cmd.none
)
else
( { model | name = newName, sndx = transform newName }
, Random.generate GotRandom (Random.int 0 (optionCount - 1))
)
GotRandom index ->
( { model | sbuxName = lookup model.matchData model.sndx index }
, Cmd.none
)
lookup : Maybe MatchData -> Soundex -> Int -> String
lookup match sndx index =
case match of
Just match ->
match
|> Dict.get sndx
|> Maybe.andThen (\ls -> ls |> List.drop (index - 1) |> List.head)
|> Maybe.withDefault sndx
Nothing ->
sndx
transform : String -> Soundex
transform =
Soundex.soundex
howMutch : MatchData -> Soundex -> Int
howMutch match soundex =
Dict.get soundex match
|> Maybe.withDefault []
|> List.length
-- SUBSCRIPTIONS
port setWords : (Array String -> msg) -> Sub msg
port setNames : (Array String -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ setWords NewWords
, setNames NewNames
]
-- VIEW
-- TODO : busy spinner / background number
-- TODO : include a number of names that miss
{ id, class, classList } =
withNamespace "sbux"
styleOutput : { warnings : List String, css : String }
styleOutput =
Css.compile [ css ]
view : Model -> Html Msg
view model =
div []
[ node "style"
[ Html.Attributes.type_ "text/css" ]
[ text styleOutput.css ]
, cup model
]
cup : Model -> Html Msg
cup model =
case ( model.matchData, model.nameMatches ) of
( Nothing, Nothing ) ->
div [] [ text "Please wait, we are building our corpus" ]
( Nothing, _ ) ->
div [] [ text "Please wait, we are building our corbus" ]
( _, _ ) ->
div [ class [ Wrapper ] ]
[ input [ placeholder "Your name", onInput NameChange, class [ OrderName ] ] []
, div [ class [ Cup ] ] [ text model.sbuxName ]
, div [] [ text <| "Your sound index: " ++ model.sndx ]
, soundIndexLabel model
, nameIndexLabel model
, missesLabel model
, uniqueNames model
]
uniqueNames : Model -> Html Msg
uniqueNames model =
case model.nameMisses of
Nothing ->
div [] []
Just misses ->
ul [] (List.map (\( s, n ) -> li [] [ text <| s ++ ": " ++ n ]) misses)
missesLabel : Model -> Html Msg
missesLabel model =
case model.nameMisses of
Nothing ->
div [] [ text "---" ]
Just misses ->
div [] [ text <| "There are " ++ (toString <| List.length misses) ++ " names without matching words" ]
nameIndexLabel : Model -> Html Msg
nameIndexLabel model =
case model.nameMatches of
Nothing ->
div [] []
Just matchData ->
div [] [ text <| "Cataloging " ++ (toString <| Dict.size matchData) ++ " name sounds" ]
soundIndexLabel : Model -> Html Msg
soundIndexLabel model =
case model.matchData of
Nothing ->
div [] []
Just matchData ->
div [] [ text <| "Cataloging " ++ (toString <| Dict.size matchData) ++ " sound indexs" ]
| 11026 | port module Starbucks exposing (..)
import Array exposing (Array)
import Css
import Dict exposing (..)
import Html exposing (Attribute, Html, div, input, li, node, program, text, ul)
import Html.Attributes exposing (..)
import Html.CssHelpers exposing (withNamespace)
import Html.Events exposing (onInput)
import Random
import Soundex exposing (Soundex, soundex)
import Style exposing (..)
import Task
main : Program Never Model Msg
main =
program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
-- MODEL
type alias MatchData =
Dict Soundex (List String)
type alias Model =
{ name : String
, sndx : Soundex
, sbuxName : String
, isBusy : Bool
, matchData : Maybe MatchData
, soundexCount : String
, nameCount : String
, nameMatches : Maybe MatchData
, nameMisses : Maybe (List ( Soundex, String ))
}
initModel : Model
initModel =
{ name = ""
, sndx = ""
, sbuxName = ""
, isBusy = True
, matchData = Nothing
, soundexCount = ""
, nameCount = ""
, nameMatches = Nothing
, nameMisses = Nothing
}
init : ( Model, Cmd Msg )
init =
( initModel, Cmd.none )
buildMatchData : Array String -> MatchData
buildMatchData words =
let
addWord : ( String, Soundex ) -> MatchData -> MatchData
addWord ( word, key ) data =
data
|> Dict.update key (\d -> d |> Maybe.withDefault [] |> (::) word |> Just)
in
words
|> Array.map (\word -> ( word, transform word ))
|> Array.foldl addWord Dict.empty
-- UPDATE
type Msg
= NameChange String
| GotRandom Int
| NewWords (Array.Array String)
| NewNames (Array.Array String)
| CompiledLookup MatchData
| CompiledNames MatchData
-- | NamesAndWordsBoth
nameMisses : Model -> Maybe (List ( Soundex, String ))
nameMisses model =
case ( model.matchData, model.nameMatches ) of
( Just words, Just names ) ->
let
diffs : List ( Soundex, List String )
diffs =
Dict.diff names words |> Dict.toList
flattenMatch : ( Soundex, List String ) -> List ( Soundex, String )
flattenMatch ( snx, nms ) =
List.map (\n -> ( snx, n )) nms
in
diffs
|> List.concatMap flattenMatch
|> Just
_ ->
Nothing
updateMisses : Model -> Model
updateMisses model =
{ model | nameMisses = nameMisses model }
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
CompiledLookup matchData ->
( { model
| isBusy = False
, matchData = Maybe.Just matchData
, soundexCount = toString <| Dict.size matchData
}
|> updateMisses
, Cmd.none
)
CompiledNames matchData ->
( { model
| nameMatches = Maybe.Just matchData
, nameCount = toString <| Dict.size matchData
}
|> updateMisses
, Cmd.none
)
NewWords words ->
( model
, Task.perform (\ws -> CompiledLookup <| buildMatchData ws) (Task.succeed words)
)
NewNames names ->
( model
, Task.perform (\ws -> CompiledNames <| buildMatchData ws) (Task.succeed names)
)
NameChange "" ->
( { model | name = "", sndx = "", sbuxName = "" }
, Cmd.none
)
NameChange newName ->
let
soundex =
transform newName
optionCount =
model.matchData
|> Maybe.map (\matchData -> howMutch matchData soundex)
|> Maybe.withDefault 0
in
if optionCount == 0 then
( { model | name = newName, sndx = soundex, sbuxName = soundex }
, Cmd.none
)
else
( { model | name = newName, sndx = transform newName }
, Random.generate GotRandom (Random.int 0 (optionCount - 1))
)
GotRandom index ->
( { model | sbuxName = lookup model.matchData model.sndx index }
, Cmd.none
)
lookup : Maybe MatchData -> Soundex -> Int -> String
lookup match sndx index =
case match of
Just match ->
match
|> Dict.get sndx
|> Maybe.andThen (\ls -> ls |> List.drop (index - 1) |> List.head)
|> Maybe.withDefault sndx
Nothing ->
sndx
transform : String -> Soundex
transform =
Soundex.soundex
howMutch : MatchData -> Soundex -> Int
howMutch match soundex =
Dict.get soundex match
|> Maybe.withDefault []
|> List.length
-- SUBSCRIPTIONS
port setWords : (Array String -> msg) -> Sub msg
port setNames : (Array String -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ setWords NewWords
, setNames NewNames
]
-- VIEW
-- TODO : busy spinner / background number
-- TODO : include a number of names that miss
{ id, class, classList } =
withNamespace "sbux"
styleOutput : { warnings : List String, css : String }
styleOutput =
Css.compile [ css ]
view : Model -> Html Msg
view model =
div []
[ node "style"
[ Html.Attributes.type_ "text/css" ]
[ text styleOutput.css ]
, cup model
]
cup : Model -> Html Msg
cup model =
case ( model.matchData, model.nameMatches ) of
( Nothing, Nothing ) ->
div [] [ text "Please wait, we are building our corpus" ]
( Nothing, _ ) ->
div [] [ text "Please wait, we are building our corbus" ]
( _, _ ) ->
div [ class [ Wrapper ] ]
[ input [ placeholder "<NAME>", onInput NameChange, class [ OrderName ] ] []
, div [ class [ Cup ] ] [ text model.sbuxName ]
, div [] [ text <| "Your sound index: " ++ model.sndx ]
, soundIndexLabel model
, nameIndexLabel model
, missesLabel model
, uniqueNames model
]
uniqueNames : Model -> Html Msg
uniqueNames model =
case model.nameMisses of
Nothing ->
div [] []
Just misses ->
ul [] (List.map (\( s, n ) -> li [] [ text <| s ++ ": " ++ n ]) misses)
missesLabel : Model -> Html Msg
missesLabel model =
case model.nameMisses of
Nothing ->
div [] [ text "---" ]
Just misses ->
div [] [ text <| "There are " ++ (toString <| List.length misses) ++ " names without matching words" ]
nameIndexLabel : Model -> Html Msg
nameIndexLabel model =
case model.nameMatches of
Nothing ->
div [] []
Just matchData ->
div [] [ text <| "Cataloging " ++ (toString <| Dict.size matchData) ++ " name sounds" ]
soundIndexLabel : Model -> Html Msg
soundIndexLabel model =
case model.matchData of
Nothing ->
div [] []
Just matchData ->
div [] [ text <| "Cataloging " ++ (toString <| Dict.size matchData) ++ " sound indexs" ]
| true | port module Starbucks exposing (..)
import Array exposing (Array)
import Css
import Dict exposing (..)
import Html exposing (Attribute, Html, div, input, li, node, program, text, ul)
import Html.Attributes exposing (..)
import Html.CssHelpers exposing (withNamespace)
import Html.Events exposing (onInput)
import Random
import Soundex exposing (Soundex, soundex)
import Style exposing (..)
import Task
main : Program Never Model Msg
main =
program
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
-- MODEL
type alias MatchData =
Dict Soundex (List String)
type alias Model =
{ name : String
, sndx : Soundex
, sbuxName : String
, isBusy : Bool
, matchData : Maybe MatchData
, soundexCount : String
, nameCount : String
, nameMatches : Maybe MatchData
, nameMisses : Maybe (List ( Soundex, String ))
}
initModel : Model
initModel =
{ name = ""
, sndx = ""
, sbuxName = ""
, isBusy = True
, matchData = Nothing
, soundexCount = ""
, nameCount = ""
, nameMatches = Nothing
, nameMisses = Nothing
}
init : ( Model, Cmd Msg )
init =
( initModel, Cmd.none )
buildMatchData : Array String -> MatchData
buildMatchData words =
let
addWord : ( String, Soundex ) -> MatchData -> MatchData
addWord ( word, key ) data =
data
|> Dict.update key (\d -> d |> Maybe.withDefault [] |> (::) word |> Just)
in
words
|> Array.map (\word -> ( word, transform word ))
|> Array.foldl addWord Dict.empty
-- UPDATE
type Msg
= NameChange String
| GotRandom Int
| NewWords (Array.Array String)
| NewNames (Array.Array String)
| CompiledLookup MatchData
| CompiledNames MatchData
-- | NamesAndWordsBoth
nameMisses : Model -> Maybe (List ( Soundex, String ))
nameMisses model =
case ( model.matchData, model.nameMatches ) of
( Just words, Just names ) ->
let
diffs : List ( Soundex, List String )
diffs =
Dict.diff names words |> Dict.toList
flattenMatch : ( Soundex, List String ) -> List ( Soundex, String )
flattenMatch ( snx, nms ) =
List.map (\n -> ( snx, n )) nms
in
diffs
|> List.concatMap flattenMatch
|> Just
_ ->
Nothing
updateMisses : Model -> Model
updateMisses model =
{ model | nameMisses = nameMisses model }
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
CompiledLookup matchData ->
( { model
| isBusy = False
, matchData = Maybe.Just matchData
, soundexCount = toString <| Dict.size matchData
}
|> updateMisses
, Cmd.none
)
CompiledNames matchData ->
( { model
| nameMatches = Maybe.Just matchData
, nameCount = toString <| Dict.size matchData
}
|> updateMisses
, Cmd.none
)
NewWords words ->
( model
, Task.perform (\ws -> CompiledLookup <| buildMatchData ws) (Task.succeed words)
)
NewNames names ->
( model
, Task.perform (\ws -> CompiledNames <| buildMatchData ws) (Task.succeed names)
)
NameChange "" ->
( { model | name = "", sndx = "", sbuxName = "" }
, Cmd.none
)
NameChange newName ->
let
soundex =
transform newName
optionCount =
model.matchData
|> Maybe.map (\matchData -> howMutch matchData soundex)
|> Maybe.withDefault 0
in
if optionCount == 0 then
( { model | name = newName, sndx = soundex, sbuxName = soundex }
, Cmd.none
)
else
( { model | name = newName, sndx = transform newName }
, Random.generate GotRandom (Random.int 0 (optionCount - 1))
)
GotRandom index ->
( { model | sbuxName = lookup model.matchData model.sndx index }
, Cmd.none
)
lookup : Maybe MatchData -> Soundex -> Int -> String
lookup match sndx index =
case match of
Just match ->
match
|> Dict.get sndx
|> Maybe.andThen (\ls -> ls |> List.drop (index - 1) |> List.head)
|> Maybe.withDefault sndx
Nothing ->
sndx
transform : String -> Soundex
transform =
Soundex.soundex
howMutch : MatchData -> Soundex -> Int
howMutch match soundex =
Dict.get soundex match
|> Maybe.withDefault []
|> List.length
-- SUBSCRIPTIONS
port setWords : (Array String -> msg) -> Sub msg
port setNames : (Array String -> msg) -> Sub msg
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.batch
[ setWords NewWords
, setNames NewNames
]
-- VIEW
-- TODO : busy spinner / background number
-- TODO : include a number of names that miss
{ id, class, classList } =
withNamespace "sbux"
styleOutput : { warnings : List String, css : String }
styleOutput =
Css.compile [ css ]
view : Model -> Html Msg
view model =
div []
[ node "style"
[ Html.Attributes.type_ "text/css" ]
[ text styleOutput.css ]
, cup model
]
cup : Model -> Html Msg
cup model =
case ( model.matchData, model.nameMatches ) of
( Nothing, Nothing ) ->
div [] [ text "Please wait, we are building our corpus" ]
( Nothing, _ ) ->
div [] [ text "Please wait, we are building our corbus" ]
( _, _ ) ->
div [ class [ Wrapper ] ]
[ input [ placeholder "PI:NAME:<NAME>END_PI", onInput NameChange, class [ OrderName ] ] []
, div [ class [ Cup ] ] [ text model.sbuxName ]
, div [] [ text <| "Your sound index: " ++ model.sndx ]
, soundIndexLabel model
, nameIndexLabel model
, missesLabel model
, uniqueNames model
]
uniqueNames : Model -> Html Msg
uniqueNames model =
case model.nameMisses of
Nothing ->
div [] []
Just misses ->
ul [] (List.map (\( s, n ) -> li [] [ text <| s ++ ": " ++ n ]) misses)
missesLabel : Model -> Html Msg
missesLabel model =
case model.nameMisses of
Nothing ->
div [] [ text "---" ]
Just misses ->
div [] [ text <| "There are " ++ (toString <| List.length misses) ++ " names without matching words" ]
nameIndexLabel : Model -> Html Msg
nameIndexLabel model =
case model.nameMatches of
Nothing ->
div [] []
Just matchData ->
div [] [ text <| "Cataloging " ++ (toString <| Dict.size matchData) ++ " name sounds" ]
soundIndexLabel : Model -> Html Msg
soundIndexLabel model =
case model.matchData of
Nothing ->
div [] []
Just matchData ->
div [] [ text <| "Cataloging " ++ (toString <| Dict.size matchData) ++ " sound indexs" ]
| elm |
[
{
"context": ", participants =\n [ { name = \"1\", email = \"b@dev.xz\" }\n , { name = \"2\", email = \"\" }\n ,",
"end": 1102,
"score": 0.7589383721,
"start": 1094,
"tag": "EMAIL",
"value": "b@dev.xz"
},
{
"context": "3\", email = \"\" }\n , { name = \"4\", email = \"d@a.com\" }\n ]\n , mayStoreEmail = False\n , de",
"end": 1220,
"score": 0.9982528687,
"start": 1213,
"tag": "EMAIL",
"value": "d@a.com"
},
{
"context": "l ->\n ( \"name-or-email\"\n , \"Willi und ich teilen uns die Arbeit\"\n )\n\n ",
"end": 10459,
"score": 0.9997067451,
"start": 10454,
"tag": "NAME",
"value": "Willi"
},
{
"context": " ->\n ( \"name-and-email\"\n , \"Willi soll alle Teilnehmer benachrichtigen\"\n ",
"end": 10581,
"score": 0.9996510744,
"start": 10576,
"tag": "NAME",
"value": "Willi"
},
{
"context": " 1 ->\n \"Bis Morgen\"\n\n _ ->\n ",
"end": 16404,
"score": 0.9996759295,
"start": 16394,
"tag": "NAME",
"value": "Bis Morgen"
},
{
"context": "s ->\n [ text <| count participants ++ \" Wichtel dürfen teilnehmen.\" ]\n\n NameOrEmail ->\n ",
"end": 17029,
"score": 0.9880161285,
"start": 17022,
"tag": "NAME",
"value": "Wichtel"
},
{
"context": " in\n [ row <| count manual ++ \" Wichtel werden von dir benachrichtigt.\"\n , ul ",
"end": 17352,
"score": 0.9673150182,
"start": 17345,
"tag": "NAME",
"value": "Wichtel"
},
{
"context": ") manual\n , row <| count automated ++ \" Wichtel werden von Willi benachrichtigt.\"\n , u",
"end": 17524,
"score": 0.8612360358,
"start": 17517,
"tag": "NAME",
"value": "Wichtel"
},
{
"context": " , row <| count automated ++ \" Wichtel werden von Willi benachrichtigt.\"\n , ul [] <|\n ",
"end": 17541,
"score": 0.9881927967,
"start": 17536,
"tag": "NAME",
"value": "Willi"
},
{
"context": " ++ count participants\n ++ \" Wichtel werden von Willi benachrichtigt.\"\n ",
"end": 17781,
"score": 0.9839072227,
"start": 17774,
"tag": "NAME",
"value": "Wichtel"
},
{
"context": "rticipants\n ++ \" Wichtel werden von Willi benachrichtigt.\"\n |> text\n ",
"end": 17798,
"score": 0.9939236641,
"start": 17793,
"tag": "NAME",
"value": "Willi"
},
{
"context": "\n problem Stage.EnterParticipants \"Willi braucht von jedem Teilnehmer eine Email Adresse.\"",
"end": 17954,
"score": 0.9964116812,
"start": 17949,
"tag": "NAME",
"value": "Willi"
},
{
"context": "then\n problem Stage.ConfirmDataProtection \"Willi hat nicht das Recht, die Teilnehmer zu speichern.",
"end": 18329,
"score": 0.9938265085,
"start": 18324,
"tag": "NAME",
"value": "Willi"
},
{
"context": "eichern.\"\n\n else\n p []\n [ \"Willi wird alle Daten nach dem \"\n ++ for",
"end": 18426,
"score": 0.9953155518,
"start": 18421,
"tag": "NAME",
"value": "Willi"
}
] | elm/src/Page/Create.elm | marc136/wichteln | 0 | module Page.Create exposing (allEmailsFilledIfNeeded, init, noGdprConfirmation, tooFewParticipants, update, view)
import Browser.Dom as Dom
import Date exposing (Date)
import Dev
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Http
import Json.Decode as D exposing (Value)
import Json.Encode as E
import Page.Create.Constants as Constants
import Page.Create.Encoder as Encoder
import Page.Create.Message exposing (Msg(..))
import Page.Create.Model as Model exposing (Filter(..), Kind(..), Model, Participant, SettingsError(..))
import Page.Create.Sanitize as Sanitize
import Page.Create.Stage as Stage exposing (Stage)
import Task
---- MODEL ----
init : ( Model, Cmd Msg )
init =
( Model.default, Task.perform Today Date.today )
|> Tuple.mapFirst (\_ -> test1)
test1 : Model
test1 =
{ today = Date.fromOrdinalDate 2018 123
, stage = Stage.LastCheck
, highestStage = Stage.LastCheck
, kind = FixedList
, filterFields = NameAndEmail
, participants =
[ { name = "1", email = "b@dev.xz" }
, { name = "2", email = "" }
, { name = "3", email = "" }
, { name = "4", email = "d@a.com" }
]
, mayStoreEmail = False
, deleteAfter = 31
, settingsErrors = []
, lastResponse = Ok "leer"
}
---- UPDATE ----
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
NoOp ->
( model, Cmd.none )
Today today ->
( { model | today = today }, Cmd.none )
GoTo stage ->
( goto stage model, Cmd.none )
Pick kind ->
( { model | kind = kind }
|> goto Stage.ChooseFilter
, Cmd.none
)
PickFilter filter ->
( { model | filterFields = filter }
|> goto Stage.EnterParticipants
, focus <| participantId (List.length model.participants - 1)
)
AddParticipant ->
( { model
| participants = model.participants ++ [ Model.newParticipant ]
}
, focus <| participantId (List.length model.participants)
)
ChangeParticipantName index string ->
let
changed =
set index (\p -> { p | name = string }) model.participants
in
( { model | participants = changed }, Cmd.none )
ChangeParticipantEmail index string ->
( { model
| participants =
set index (\p -> { p | email = string }) model.participants
, mayStoreEmail = False
}
, Cmd.none
)
ToggleMayStoreEmails ->
( { model | mayStoreEmail = not model.mayStoreEmail }, Cmd.none )
DeleteAfter Nothing ->
( model, Cmd.none )
DeleteAfter (Just days) ->
( { model | deleteAfter = days }, Cmd.none )
Submit ->
( model
, Http.post "/create"
(Http.jsonBody (Encoder.encode model))
D.value
|> Http.send SubmitResponse
)
SubmitResponse (Err err) ->
-- let
-- _ =
-- Debug.log "SubmitResponse Err" err
-- in
( model, Cmd.none )
SubmitResponse result ->
result
|> Result.map Dev.jsonToString
|> (\r -> ( { model | lastResponse = r }, Cmd.none ))
goto : Stage -> Model -> Model
goto stage model =
{ model | stage = stage }
|> increaseHighestStageIfNeeded stage
|> trimParticipantsIfNeeded stage
|> checkForSettingsErrors
trimParticipantsIfNeeded : Stage -> Model -> Model
trimParticipantsIfNeeded stage model =
if stage == Stage.LastCheck then
{ model | participants = Sanitize.dropEmptyParticipants model }
else
model
increaseHighestStageIfNeeded : Stage -> Model -> Model
increaseHighestStageIfNeeded stage model =
case Stage.compare stage model.highestStage of
GT ->
{ model | highestStage = stage }
_ ->
model
focus : String -> Cmd Msg
focus id =
Task.attempt (\_ -> NoOp) (Dom.focus id)
set : Int -> (a -> a) -> List a -> List a
set index fn =
List.indexedMap
(\i a ->
if i == index then
fn a
else
a
)
checkForSettingsErrors : Model -> Model
checkForSettingsErrors model =
{ model | settingsErrors = checkSettingsErrors model }
checkSettingsErrors : Model -> List SettingsError
checkSettingsErrors model =
[ tooFewParticipants model
, allEmailsFilledIfNeeded model
, noGdprConfirmation model
]
|> List.filterMap identity
tooFewParticipants : Model -> Maybe SettingsError
tooFewParticipants model =
if
Sanitize.dropEmptyParticipants model
|> List.length
|> (>) Constants.minimumParticipants
then
Just TooFewParticipants
else
Nothing
allEmailsFilledIfNeeded : Model -> Maybe SettingsError
allEmailsFilledIfNeeded model =
if model.filterFields /= NameAndEmail then
Nothing
else if
Sanitize.dropEmptyParticipants model
|> List.any (\p -> String.isEmpty p.email)
then
Just EmailsMissing
else
Nothing
noGdprConfirmation : Model -> Maybe SettingsError
noGdprConfirmation model =
if model.filterFields == OnlyNames || model.mayStoreEmail then
Nothing
else
Just MayNotStoreEmail
---- VIEW ----
view : Model -> Html Msg
view model =
div [ class "wichteln-create" ]
[ div [ class "wrapper" ]
[ header model
, case model.stage of
Stage.ChooseKind ->
chooseKind model
Stage.ChooseFilter ->
chooseFilter model
Stage.EnterParticipants ->
enterParticipants model.participants model.filterFields
Stage.ConfirmDataProtection ->
confirm model
Stage.LastCheck ->
if model.settingsErrors == [] then
lastCheck model
else
checkFailed model
, button [ onClick Submit ] [ text "dev submit" ]
, case model.lastResponse of
Ok response ->
div []
[ h2 [] [ text "Last response: Ok" ]
, pre [] [ code [] [ text response ] ]
]
Err response ->
div []
[ h2 [] [ text "Last response: Error " ]
-- , pre [] [ code [] [ text (Debug.toString response) ] ] -- TODO
]
]
]
header : Model -> Html Msg
header model =
let
event stage =
if Stage.toInt model.highestStage - Stage.toInt stage >= -1 then
GoTo stage
else
NoOp
btn stage =
li
[ onClick <| event stage
, classList
[ ( "not-visited", Stage.compare model.highestStage stage == LT )
, ( "current", model.stage == stage )
]
]
[ a [ href "#" ] [ text <| Stage.toString stage ] ]
in
div [ class "progress-dots" ]
[ ul [ class "stages" ]
[ btn Stage.ChooseKind
, btn Stage.ChooseFilter
, btn Stage.EnterParticipants
, btn Stage.ConfirmDataProtection
, btn Stage.LastCheck
]
]
chooseKind : Model -> Html Msg
chooseKind model =
let
maybeKind =
if model.highestStage /= Stage.ChooseKind then
Just model.kind
else
Nothing
revisit =
model.highestStage /= Stage.ChooseKind
in
div []
[ h1 [] [ text "Schritt eins: Liste" ]
, div []
[ div
[ class "half"
, classList [ ( "selected", revisit && (model.kind == FixedList) ) ]
, onClick (Pick FixedList)
]
[ p [] [ text "Ich habe eine fertige Liste aller Teilnehmer" ] ]
, div
[ class "half"
, classList [ ( "selected", revisit && (model.kind == InviteParticipants) ) ]
, onClick (Pick InviteParticipants)
]
[ p [] [ text "Jeder Teilnehmer soll zuerst noch bestätigen, ob er teilnehmen möchte." ]
]
]
, if revisit then
div [ class "gotoButtons" ]
[ button
[ class "forward", onClick <| GoTo Stage.ChooseFilter ]
[ text "weiter" ]
]
else
text ""
]
chooseFilter : Model -> Html Msg
chooseFilter model =
div []
[ h1 [] [ text "Schritt zwei: Benachrichtigungen" ]
, fieldFilter model.filterFields OnlyNames
, fieldFilter model.filterFields NameOrEmail
, fieldFilter model.filterFields NameAndEmail
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.ChooseKind ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.EnterParticipants ]
[ text "weiter" ]
]
]
fieldFilter : Filter -> Filter -> Html Msg
fieldFilter current this =
let
( id_, caption ) =
filterToString this
in
div []
[ input
[ type_ "radio"
, name "filter"
, value caption
, checked (current == this)
, id id_
, onClick <| PickFilter this
]
[]
, label [ for id_ ] [ text caption ]
]
filterToString : Filter -> ( String, String )
filterToString filter =
case filter of
OnlyNames ->
( "only-names"
, "Ich werde alle Teilnehmer selbst benachrichtigen"
)
NameOrEmail ->
( "name-or-email"
, "Willi und ich teilen uns die Arbeit"
)
NameAndEmail ->
( "name-and-email"
, "Willi soll alle Teilnehmer benachrichtigen"
)
enterParticipants : List Participant -> Filter -> Html Msg
enterParticipants participants filter =
div []
[ h1 [] [ text "Teilnehmer eingeben:" ]
, ul [ class "participants enter" ]
(List.indexedMap (enterParticipant filter) participants)
, button [ onClick AddParticipant ] [ text "Teilnehmer hinzufügen" ]
, hr [] []
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.ChooseFilter ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.ConfirmDataProtection ]
[ text "weiter" ]
]
]
enterParticipant : Filter -> Int -> Participant -> Html Msg
enterParticipant filter index participant =
if filter == OnlyNames then
li []
[ input
[ value participant.name
, onInput (ChangeParticipantName index)
, id <| participantId index
]
[]
]
else
let
id_ =
participantId index
in
li []
[ label [ for id_ ] [ text "Name" ]
, input
[ id id_
, value participant.name
, onInput (ChangeParticipantName index)
]
[]
, label [ for (id_ ++ "_email") ] [ text "Email" ]
, input
[ id (id_ ++ "_email")
, value participant.email
, onInput (ChangeParticipantEmail index)
]
[]
]
participantId : Int -> String
participantId index =
"participant" ++ String.fromInt index
confirm : Model -> Html Msg
confirm model =
div []
[ h1 [] [ text "confirm TODO" ]
, if model.filterFields /= OnlyNames then
let
id_ =
"confirm-gdpr"
in
div [ class "row" ]
[ input
[ id id_
, type_ "checkbox"
, value "gdpr"
, onClick ToggleMayStoreEmails
, checked model.mayStoreEmail
]
[]
, label [ for id_ ]
[ text "Ich habe die Einwilligung von allen Teilnehmern, ihre Email Adressen bei Willi zu speichern." ]
]
else
text ""
, label [ for "delete-after" ] [ text "Daten löschen nach" ]
, select [ id "delete-after", onInput (DeleteAfter << String.toInt) ]
[ option [ value "14", selected (model.deleteAfter == 14) ]
[ text "Zwei Wochen" ]
, option [ value "31", selected (model.deleteAfter == 31) ]
[ text "Einem Monat" ]
, option [ value "93", selected (model.deleteAfter == 93) ]
[ text "Drei Monaten" ]
, option [ value "186", selected (model.deleteAfter == 186) ]
[ text "Sechs Monaten" ]
, option [ value "279", selected (model.deleteAfter == 279) ]
[ text "Neun Monaten" ]
]
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.EnterParticipants ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.LastCheck ]
[ text "weiter" ]
]
]
checkFailed : Model -> Html Msg
checkFailed model =
div []
[ h1 [] [ text "checkFailed" ]
, summary model
, debug model
]
lastCheck : Model -> Html Msg
lastCheck model =
div []
[ h1 [] [ text "lastCheck" ]
, summary model
, if List.length model.settingsErrors == 0 then
button [ onClick Submit ] [ text "Erstellen" ]
else
button [ disabled True ]
[ text "Kann nicht gespeichert werden, da Fehler existieren" ]
, debug model
]
summary : Model -> Html Msg
summary model =
div []
[ p [] [ text (summaryStart model) ]
, if Sanitize.hasError TooFewParticipants model then
problem Stage.EnterParticipants "Es müssen mindestens vier Teilnehmer eingetragen werden, damit nicht sofort klar ist, wer wen beschenkt."
else
text ""
, if List.length model.participants < Constants.minimumParticipants then
text ""
else
div [] (summaryContact model)
, div [] (summaryDataProtection model)
, div [] []
]
problem : Stage -> String -> Html Msg
problem stage msg =
div [ class "error" ]
[ text ("Fehler: " ++ msg)
, button
[ onClick <| GoTo stage ]
[ text "Fehler beheben" ]
]
summaryStart : Model -> String
summaryStart model =
let
startDate =
Sanitize.startOn model
in
case model.kind of
FixedList ->
let
startOn =
case Date.diff Date.Days model.today startDate of
0 ->
"sofort"
1 ->
"morgen"
_ ->
"am " ++ formatDate startDate
in
"Die Wichtel werden " ++ startOn ++ " ausgelost."
InviteParticipants ->
let
startOn =
case Date.diff Date.Days model.today startDate of
0 ->
"Heute"
1 ->
"Bis Morgen"
_ ->
"Bis " ++ formatDate startDate
in
startOn ++ " können die Wichtel zusagen, danach beginnt das Auslosen."
formatDate : Date -> String
formatDate =
Date.format "dd.MM.y"
summaryContact : Model -> List (Html Msg)
summaryContact model =
let
participants : List Participant
participants =
Sanitize.dropEmptyParticipants model
count list =
String.fromInt (List.length list)
in
case model.filterFields of
OnlyNames ->
[ text <| count participants ++ " Wichtel dürfen teilnehmen." ]
NameOrEmail ->
let
( manual, automated ) =
List.partition (String.isEmpty << .email) participants
row string =
p [ class "row" ] [ text string ]
in
[ row <| count manual ++ " Wichtel werden von dir benachrichtigt."
, ul [] <|
List.map (\{ name } -> li [] [ text name ]) manual
, row <| count automated ++ " Wichtel werden von Willi benachrichtigt."
, ul [] <|
List.map (\{ email } -> li [] [ text email ]) automated
]
NameAndEmail ->
[ "Alle "
++ count participants
++ " Wichtel werden von Willi benachrichtigt."
|> text
, if Sanitize.hasError EmailsMissing model then
problem Stage.EnterParticipants "Willi braucht von jedem Teilnehmer eine Email Adresse."
else
List.map (\{ email } -> li [] [ text email ]) participants
|> ul []
]
summaryDataProtection : Model -> List (Html Msg)
summaryDataProtection model =
[ if Sanitize.hasError MayNotStoreEmail model then
problem Stage.ConfirmDataProtection "Willi hat nicht das Recht, die Teilnehmer zu speichern."
else
p []
[ "Willi wird alle Daten nach dem "
++ formatDate (Sanitize.deleteAfter model)
++ " löschen."
|> text
]
]
debug model =
div []
[ h1 []
[ text "errors: "
, text <| String.fromInt <| List.length model.settingsErrors
]
, button [ onClick (GoTo Stage.LastCheck) ] [ text "again" ]
, pre [] [ code [] [ text <| Dev.jsonToString <| Encoder.encode model ] ]
]
| 244 | module Page.Create exposing (allEmailsFilledIfNeeded, init, noGdprConfirmation, tooFewParticipants, update, view)
import Browser.Dom as Dom
import Date exposing (Date)
import Dev
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Http
import Json.Decode as D exposing (Value)
import Json.Encode as E
import Page.Create.Constants as Constants
import Page.Create.Encoder as Encoder
import Page.Create.Message exposing (Msg(..))
import Page.Create.Model as Model exposing (Filter(..), Kind(..), Model, Participant, SettingsError(..))
import Page.Create.Sanitize as Sanitize
import Page.Create.Stage as Stage exposing (Stage)
import Task
---- MODEL ----
init : ( Model, Cmd Msg )
init =
( Model.default, Task.perform Today Date.today )
|> Tuple.mapFirst (\_ -> test1)
test1 : Model
test1 =
{ today = Date.fromOrdinalDate 2018 123
, stage = Stage.LastCheck
, highestStage = Stage.LastCheck
, kind = FixedList
, filterFields = NameAndEmail
, participants =
[ { name = "1", email = "<EMAIL>" }
, { name = "2", email = "" }
, { name = "3", email = "" }
, { name = "4", email = "<EMAIL>" }
]
, mayStoreEmail = False
, deleteAfter = 31
, settingsErrors = []
, lastResponse = Ok "leer"
}
---- UPDATE ----
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
NoOp ->
( model, Cmd.none )
Today today ->
( { model | today = today }, Cmd.none )
GoTo stage ->
( goto stage model, Cmd.none )
Pick kind ->
( { model | kind = kind }
|> goto Stage.ChooseFilter
, Cmd.none
)
PickFilter filter ->
( { model | filterFields = filter }
|> goto Stage.EnterParticipants
, focus <| participantId (List.length model.participants - 1)
)
AddParticipant ->
( { model
| participants = model.participants ++ [ Model.newParticipant ]
}
, focus <| participantId (List.length model.participants)
)
ChangeParticipantName index string ->
let
changed =
set index (\p -> { p | name = string }) model.participants
in
( { model | participants = changed }, Cmd.none )
ChangeParticipantEmail index string ->
( { model
| participants =
set index (\p -> { p | email = string }) model.participants
, mayStoreEmail = False
}
, Cmd.none
)
ToggleMayStoreEmails ->
( { model | mayStoreEmail = not model.mayStoreEmail }, Cmd.none )
DeleteAfter Nothing ->
( model, Cmd.none )
DeleteAfter (Just days) ->
( { model | deleteAfter = days }, Cmd.none )
Submit ->
( model
, Http.post "/create"
(Http.jsonBody (Encoder.encode model))
D.value
|> Http.send SubmitResponse
)
SubmitResponse (Err err) ->
-- let
-- _ =
-- Debug.log "SubmitResponse Err" err
-- in
( model, Cmd.none )
SubmitResponse result ->
result
|> Result.map Dev.jsonToString
|> (\r -> ( { model | lastResponse = r }, Cmd.none ))
goto : Stage -> Model -> Model
goto stage model =
{ model | stage = stage }
|> increaseHighestStageIfNeeded stage
|> trimParticipantsIfNeeded stage
|> checkForSettingsErrors
trimParticipantsIfNeeded : Stage -> Model -> Model
trimParticipantsIfNeeded stage model =
if stage == Stage.LastCheck then
{ model | participants = Sanitize.dropEmptyParticipants model }
else
model
increaseHighestStageIfNeeded : Stage -> Model -> Model
increaseHighestStageIfNeeded stage model =
case Stage.compare stage model.highestStage of
GT ->
{ model | highestStage = stage }
_ ->
model
focus : String -> Cmd Msg
focus id =
Task.attempt (\_ -> NoOp) (Dom.focus id)
set : Int -> (a -> a) -> List a -> List a
set index fn =
List.indexedMap
(\i a ->
if i == index then
fn a
else
a
)
checkForSettingsErrors : Model -> Model
checkForSettingsErrors model =
{ model | settingsErrors = checkSettingsErrors model }
checkSettingsErrors : Model -> List SettingsError
checkSettingsErrors model =
[ tooFewParticipants model
, allEmailsFilledIfNeeded model
, noGdprConfirmation model
]
|> List.filterMap identity
tooFewParticipants : Model -> Maybe SettingsError
tooFewParticipants model =
if
Sanitize.dropEmptyParticipants model
|> List.length
|> (>) Constants.minimumParticipants
then
Just TooFewParticipants
else
Nothing
allEmailsFilledIfNeeded : Model -> Maybe SettingsError
allEmailsFilledIfNeeded model =
if model.filterFields /= NameAndEmail then
Nothing
else if
Sanitize.dropEmptyParticipants model
|> List.any (\p -> String.isEmpty p.email)
then
Just EmailsMissing
else
Nothing
noGdprConfirmation : Model -> Maybe SettingsError
noGdprConfirmation model =
if model.filterFields == OnlyNames || model.mayStoreEmail then
Nothing
else
Just MayNotStoreEmail
---- VIEW ----
view : Model -> Html Msg
view model =
div [ class "wichteln-create" ]
[ div [ class "wrapper" ]
[ header model
, case model.stage of
Stage.ChooseKind ->
chooseKind model
Stage.ChooseFilter ->
chooseFilter model
Stage.EnterParticipants ->
enterParticipants model.participants model.filterFields
Stage.ConfirmDataProtection ->
confirm model
Stage.LastCheck ->
if model.settingsErrors == [] then
lastCheck model
else
checkFailed model
, button [ onClick Submit ] [ text "dev submit" ]
, case model.lastResponse of
Ok response ->
div []
[ h2 [] [ text "Last response: Ok" ]
, pre [] [ code [] [ text response ] ]
]
Err response ->
div []
[ h2 [] [ text "Last response: Error " ]
-- , pre [] [ code [] [ text (Debug.toString response) ] ] -- TODO
]
]
]
header : Model -> Html Msg
header model =
let
event stage =
if Stage.toInt model.highestStage - Stage.toInt stage >= -1 then
GoTo stage
else
NoOp
btn stage =
li
[ onClick <| event stage
, classList
[ ( "not-visited", Stage.compare model.highestStage stage == LT )
, ( "current", model.stage == stage )
]
]
[ a [ href "#" ] [ text <| Stage.toString stage ] ]
in
div [ class "progress-dots" ]
[ ul [ class "stages" ]
[ btn Stage.ChooseKind
, btn Stage.ChooseFilter
, btn Stage.EnterParticipants
, btn Stage.ConfirmDataProtection
, btn Stage.LastCheck
]
]
chooseKind : Model -> Html Msg
chooseKind model =
let
maybeKind =
if model.highestStage /= Stage.ChooseKind then
Just model.kind
else
Nothing
revisit =
model.highestStage /= Stage.ChooseKind
in
div []
[ h1 [] [ text "Schritt eins: Liste" ]
, div []
[ div
[ class "half"
, classList [ ( "selected", revisit && (model.kind == FixedList) ) ]
, onClick (Pick FixedList)
]
[ p [] [ text "Ich habe eine fertige Liste aller Teilnehmer" ] ]
, div
[ class "half"
, classList [ ( "selected", revisit && (model.kind == InviteParticipants) ) ]
, onClick (Pick InviteParticipants)
]
[ p [] [ text "Jeder Teilnehmer soll zuerst noch bestätigen, ob er teilnehmen möchte." ]
]
]
, if revisit then
div [ class "gotoButtons" ]
[ button
[ class "forward", onClick <| GoTo Stage.ChooseFilter ]
[ text "weiter" ]
]
else
text ""
]
chooseFilter : Model -> Html Msg
chooseFilter model =
div []
[ h1 [] [ text "Schritt zwei: Benachrichtigungen" ]
, fieldFilter model.filterFields OnlyNames
, fieldFilter model.filterFields NameOrEmail
, fieldFilter model.filterFields NameAndEmail
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.ChooseKind ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.EnterParticipants ]
[ text "weiter" ]
]
]
fieldFilter : Filter -> Filter -> Html Msg
fieldFilter current this =
let
( id_, caption ) =
filterToString this
in
div []
[ input
[ type_ "radio"
, name "filter"
, value caption
, checked (current == this)
, id id_
, onClick <| PickFilter this
]
[]
, label [ for id_ ] [ text caption ]
]
filterToString : Filter -> ( String, String )
filterToString filter =
case filter of
OnlyNames ->
( "only-names"
, "Ich werde alle Teilnehmer selbst benachrichtigen"
)
NameOrEmail ->
( "name-or-email"
, "<NAME> und ich teilen uns die Arbeit"
)
NameAndEmail ->
( "name-and-email"
, "<NAME> soll alle Teilnehmer benachrichtigen"
)
enterParticipants : List Participant -> Filter -> Html Msg
enterParticipants participants filter =
div []
[ h1 [] [ text "Teilnehmer eingeben:" ]
, ul [ class "participants enter" ]
(List.indexedMap (enterParticipant filter) participants)
, button [ onClick AddParticipant ] [ text "Teilnehmer hinzufügen" ]
, hr [] []
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.ChooseFilter ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.ConfirmDataProtection ]
[ text "weiter" ]
]
]
enterParticipant : Filter -> Int -> Participant -> Html Msg
enterParticipant filter index participant =
if filter == OnlyNames then
li []
[ input
[ value participant.name
, onInput (ChangeParticipantName index)
, id <| participantId index
]
[]
]
else
let
id_ =
participantId index
in
li []
[ label [ for id_ ] [ text "Name" ]
, input
[ id id_
, value participant.name
, onInput (ChangeParticipantName index)
]
[]
, label [ for (id_ ++ "_email") ] [ text "Email" ]
, input
[ id (id_ ++ "_email")
, value participant.email
, onInput (ChangeParticipantEmail index)
]
[]
]
participantId : Int -> String
participantId index =
"participant" ++ String.fromInt index
confirm : Model -> Html Msg
confirm model =
div []
[ h1 [] [ text "confirm TODO" ]
, if model.filterFields /= OnlyNames then
let
id_ =
"confirm-gdpr"
in
div [ class "row" ]
[ input
[ id id_
, type_ "checkbox"
, value "gdpr"
, onClick ToggleMayStoreEmails
, checked model.mayStoreEmail
]
[]
, label [ for id_ ]
[ text "Ich habe die Einwilligung von allen Teilnehmern, ihre Email Adressen bei Willi zu speichern." ]
]
else
text ""
, label [ for "delete-after" ] [ text "Daten löschen nach" ]
, select [ id "delete-after", onInput (DeleteAfter << String.toInt) ]
[ option [ value "14", selected (model.deleteAfter == 14) ]
[ text "Zwei Wochen" ]
, option [ value "31", selected (model.deleteAfter == 31) ]
[ text "Einem Monat" ]
, option [ value "93", selected (model.deleteAfter == 93) ]
[ text "Drei Monaten" ]
, option [ value "186", selected (model.deleteAfter == 186) ]
[ text "Sechs Monaten" ]
, option [ value "279", selected (model.deleteAfter == 279) ]
[ text "Neun Monaten" ]
]
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.EnterParticipants ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.LastCheck ]
[ text "weiter" ]
]
]
checkFailed : Model -> Html Msg
checkFailed model =
div []
[ h1 [] [ text "checkFailed" ]
, summary model
, debug model
]
lastCheck : Model -> Html Msg
lastCheck model =
div []
[ h1 [] [ text "lastCheck" ]
, summary model
, if List.length model.settingsErrors == 0 then
button [ onClick Submit ] [ text "Erstellen" ]
else
button [ disabled True ]
[ text "Kann nicht gespeichert werden, da Fehler existieren" ]
, debug model
]
summary : Model -> Html Msg
summary model =
div []
[ p [] [ text (summaryStart model) ]
, if Sanitize.hasError TooFewParticipants model then
problem Stage.EnterParticipants "Es müssen mindestens vier Teilnehmer eingetragen werden, damit nicht sofort klar ist, wer wen beschenkt."
else
text ""
, if List.length model.participants < Constants.minimumParticipants then
text ""
else
div [] (summaryContact model)
, div [] (summaryDataProtection model)
, div [] []
]
problem : Stage -> String -> Html Msg
problem stage msg =
div [ class "error" ]
[ text ("Fehler: " ++ msg)
, button
[ onClick <| GoTo stage ]
[ text "Fehler beheben" ]
]
summaryStart : Model -> String
summaryStart model =
let
startDate =
Sanitize.startOn model
in
case model.kind of
FixedList ->
let
startOn =
case Date.diff Date.Days model.today startDate of
0 ->
"sofort"
1 ->
"morgen"
_ ->
"am " ++ formatDate startDate
in
"Die Wichtel werden " ++ startOn ++ " ausgelost."
InviteParticipants ->
let
startOn =
case Date.diff Date.Days model.today startDate of
0 ->
"Heute"
1 ->
"<NAME>"
_ ->
"Bis " ++ formatDate startDate
in
startOn ++ " können die Wichtel zusagen, danach beginnt das Auslosen."
formatDate : Date -> String
formatDate =
Date.format "dd.MM.y"
summaryContact : Model -> List (Html Msg)
summaryContact model =
let
participants : List Participant
participants =
Sanitize.dropEmptyParticipants model
count list =
String.fromInt (List.length list)
in
case model.filterFields of
OnlyNames ->
[ text <| count participants ++ " <NAME> dürfen teilnehmen." ]
NameOrEmail ->
let
( manual, automated ) =
List.partition (String.isEmpty << .email) participants
row string =
p [ class "row" ] [ text string ]
in
[ row <| count manual ++ " <NAME> werden von dir benachrichtigt."
, ul [] <|
List.map (\{ name } -> li [] [ text name ]) manual
, row <| count automated ++ " <NAME> werden von <NAME> benachrichtigt."
, ul [] <|
List.map (\{ email } -> li [] [ text email ]) automated
]
NameAndEmail ->
[ "Alle "
++ count participants
++ " <NAME> werden von <NAME> benachrichtigt."
|> text
, if Sanitize.hasError EmailsMissing model then
problem Stage.EnterParticipants "<NAME> braucht von jedem Teilnehmer eine Email Adresse."
else
List.map (\{ email } -> li [] [ text email ]) participants
|> ul []
]
summaryDataProtection : Model -> List (Html Msg)
summaryDataProtection model =
[ if Sanitize.hasError MayNotStoreEmail model then
problem Stage.ConfirmDataProtection "<NAME> hat nicht das Recht, die Teilnehmer zu speichern."
else
p []
[ "<NAME> wird alle Daten nach dem "
++ formatDate (Sanitize.deleteAfter model)
++ " löschen."
|> text
]
]
debug model =
div []
[ h1 []
[ text "errors: "
, text <| String.fromInt <| List.length model.settingsErrors
]
, button [ onClick (GoTo Stage.LastCheck) ] [ text "again" ]
, pre [] [ code [] [ text <| Dev.jsonToString <| Encoder.encode model ] ]
]
| true | module Page.Create exposing (allEmailsFilledIfNeeded, init, noGdprConfirmation, tooFewParticipants, update, view)
import Browser.Dom as Dom
import Date exposing (Date)
import Dev
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick, onInput)
import Http
import Json.Decode as D exposing (Value)
import Json.Encode as E
import Page.Create.Constants as Constants
import Page.Create.Encoder as Encoder
import Page.Create.Message exposing (Msg(..))
import Page.Create.Model as Model exposing (Filter(..), Kind(..), Model, Participant, SettingsError(..))
import Page.Create.Sanitize as Sanitize
import Page.Create.Stage as Stage exposing (Stage)
import Task
---- MODEL ----
init : ( Model, Cmd Msg )
init =
( Model.default, Task.perform Today Date.today )
|> Tuple.mapFirst (\_ -> test1)
test1 : Model
test1 =
{ today = Date.fromOrdinalDate 2018 123
, stage = Stage.LastCheck
, highestStage = Stage.LastCheck
, kind = FixedList
, filterFields = NameAndEmail
, participants =
[ { name = "1", email = "PI:EMAIL:<EMAIL>END_PI" }
, { name = "2", email = "" }
, { name = "3", email = "" }
, { name = "4", email = "PI:EMAIL:<EMAIL>END_PI" }
]
, mayStoreEmail = False
, deleteAfter = 31
, settingsErrors = []
, lastResponse = Ok "leer"
}
---- UPDATE ----
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
NoOp ->
( model, Cmd.none )
Today today ->
( { model | today = today }, Cmd.none )
GoTo stage ->
( goto stage model, Cmd.none )
Pick kind ->
( { model | kind = kind }
|> goto Stage.ChooseFilter
, Cmd.none
)
PickFilter filter ->
( { model | filterFields = filter }
|> goto Stage.EnterParticipants
, focus <| participantId (List.length model.participants - 1)
)
AddParticipant ->
( { model
| participants = model.participants ++ [ Model.newParticipant ]
}
, focus <| participantId (List.length model.participants)
)
ChangeParticipantName index string ->
let
changed =
set index (\p -> { p | name = string }) model.participants
in
( { model | participants = changed }, Cmd.none )
ChangeParticipantEmail index string ->
( { model
| participants =
set index (\p -> { p | email = string }) model.participants
, mayStoreEmail = False
}
, Cmd.none
)
ToggleMayStoreEmails ->
( { model | mayStoreEmail = not model.mayStoreEmail }, Cmd.none )
DeleteAfter Nothing ->
( model, Cmd.none )
DeleteAfter (Just days) ->
( { model | deleteAfter = days }, Cmd.none )
Submit ->
( model
, Http.post "/create"
(Http.jsonBody (Encoder.encode model))
D.value
|> Http.send SubmitResponse
)
SubmitResponse (Err err) ->
-- let
-- _ =
-- Debug.log "SubmitResponse Err" err
-- in
( model, Cmd.none )
SubmitResponse result ->
result
|> Result.map Dev.jsonToString
|> (\r -> ( { model | lastResponse = r }, Cmd.none ))
goto : Stage -> Model -> Model
goto stage model =
{ model | stage = stage }
|> increaseHighestStageIfNeeded stage
|> trimParticipantsIfNeeded stage
|> checkForSettingsErrors
trimParticipantsIfNeeded : Stage -> Model -> Model
trimParticipantsIfNeeded stage model =
if stage == Stage.LastCheck then
{ model | participants = Sanitize.dropEmptyParticipants model }
else
model
increaseHighestStageIfNeeded : Stage -> Model -> Model
increaseHighestStageIfNeeded stage model =
case Stage.compare stage model.highestStage of
GT ->
{ model | highestStage = stage }
_ ->
model
focus : String -> Cmd Msg
focus id =
Task.attempt (\_ -> NoOp) (Dom.focus id)
set : Int -> (a -> a) -> List a -> List a
set index fn =
List.indexedMap
(\i a ->
if i == index then
fn a
else
a
)
checkForSettingsErrors : Model -> Model
checkForSettingsErrors model =
{ model | settingsErrors = checkSettingsErrors model }
checkSettingsErrors : Model -> List SettingsError
checkSettingsErrors model =
[ tooFewParticipants model
, allEmailsFilledIfNeeded model
, noGdprConfirmation model
]
|> List.filterMap identity
tooFewParticipants : Model -> Maybe SettingsError
tooFewParticipants model =
if
Sanitize.dropEmptyParticipants model
|> List.length
|> (>) Constants.minimumParticipants
then
Just TooFewParticipants
else
Nothing
allEmailsFilledIfNeeded : Model -> Maybe SettingsError
allEmailsFilledIfNeeded model =
if model.filterFields /= NameAndEmail then
Nothing
else if
Sanitize.dropEmptyParticipants model
|> List.any (\p -> String.isEmpty p.email)
then
Just EmailsMissing
else
Nothing
noGdprConfirmation : Model -> Maybe SettingsError
noGdprConfirmation model =
if model.filterFields == OnlyNames || model.mayStoreEmail then
Nothing
else
Just MayNotStoreEmail
---- VIEW ----
view : Model -> Html Msg
view model =
div [ class "wichteln-create" ]
[ div [ class "wrapper" ]
[ header model
, case model.stage of
Stage.ChooseKind ->
chooseKind model
Stage.ChooseFilter ->
chooseFilter model
Stage.EnterParticipants ->
enterParticipants model.participants model.filterFields
Stage.ConfirmDataProtection ->
confirm model
Stage.LastCheck ->
if model.settingsErrors == [] then
lastCheck model
else
checkFailed model
, button [ onClick Submit ] [ text "dev submit" ]
, case model.lastResponse of
Ok response ->
div []
[ h2 [] [ text "Last response: Ok" ]
, pre [] [ code [] [ text response ] ]
]
Err response ->
div []
[ h2 [] [ text "Last response: Error " ]
-- , pre [] [ code [] [ text (Debug.toString response) ] ] -- TODO
]
]
]
header : Model -> Html Msg
header model =
let
event stage =
if Stage.toInt model.highestStage - Stage.toInt stage >= -1 then
GoTo stage
else
NoOp
btn stage =
li
[ onClick <| event stage
, classList
[ ( "not-visited", Stage.compare model.highestStage stage == LT )
, ( "current", model.stage == stage )
]
]
[ a [ href "#" ] [ text <| Stage.toString stage ] ]
in
div [ class "progress-dots" ]
[ ul [ class "stages" ]
[ btn Stage.ChooseKind
, btn Stage.ChooseFilter
, btn Stage.EnterParticipants
, btn Stage.ConfirmDataProtection
, btn Stage.LastCheck
]
]
chooseKind : Model -> Html Msg
chooseKind model =
let
maybeKind =
if model.highestStage /= Stage.ChooseKind then
Just model.kind
else
Nothing
revisit =
model.highestStage /= Stage.ChooseKind
in
div []
[ h1 [] [ text "Schritt eins: Liste" ]
, div []
[ div
[ class "half"
, classList [ ( "selected", revisit && (model.kind == FixedList) ) ]
, onClick (Pick FixedList)
]
[ p [] [ text "Ich habe eine fertige Liste aller Teilnehmer" ] ]
, div
[ class "half"
, classList [ ( "selected", revisit && (model.kind == InviteParticipants) ) ]
, onClick (Pick InviteParticipants)
]
[ p [] [ text "Jeder Teilnehmer soll zuerst noch bestätigen, ob er teilnehmen möchte." ]
]
]
, if revisit then
div [ class "gotoButtons" ]
[ button
[ class "forward", onClick <| GoTo Stage.ChooseFilter ]
[ text "weiter" ]
]
else
text ""
]
chooseFilter : Model -> Html Msg
chooseFilter model =
div []
[ h1 [] [ text "Schritt zwei: Benachrichtigungen" ]
, fieldFilter model.filterFields OnlyNames
, fieldFilter model.filterFields NameOrEmail
, fieldFilter model.filterFields NameAndEmail
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.ChooseKind ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.EnterParticipants ]
[ text "weiter" ]
]
]
fieldFilter : Filter -> Filter -> Html Msg
fieldFilter current this =
let
( id_, caption ) =
filterToString this
in
div []
[ input
[ type_ "radio"
, name "filter"
, value caption
, checked (current == this)
, id id_
, onClick <| PickFilter this
]
[]
, label [ for id_ ] [ text caption ]
]
filterToString : Filter -> ( String, String )
filterToString filter =
case filter of
OnlyNames ->
( "only-names"
, "Ich werde alle Teilnehmer selbst benachrichtigen"
)
NameOrEmail ->
( "name-or-email"
, "PI:NAME:<NAME>END_PI und ich teilen uns die Arbeit"
)
NameAndEmail ->
( "name-and-email"
, "PI:NAME:<NAME>END_PI soll alle Teilnehmer benachrichtigen"
)
enterParticipants : List Participant -> Filter -> Html Msg
enterParticipants participants filter =
div []
[ h1 [] [ text "Teilnehmer eingeben:" ]
, ul [ class "participants enter" ]
(List.indexedMap (enterParticipant filter) participants)
, button [ onClick AddParticipant ] [ text "Teilnehmer hinzufügen" ]
, hr [] []
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.ChooseFilter ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.ConfirmDataProtection ]
[ text "weiter" ]
]
]
enterParticipant : Filter -> Int -> Participant -> Html Msg
enterParticipant filter index participant =
if filter == OnlyNames then
li []
[ input
[ value participant.name
, onInput (ChangeParticipantName index)
, id <| participantId index
]
[]
]
else
let
id_ =
participantId index
in
li []
[ label [ for id_ ] [ text "Name" ]
, input
[ id id_
, value participant.name
, onInput (ChangeParticipantName index)
]
[]
, label [ for (id_ ++ "_email") ] [ text "Email" ]
, input
[ id (id_ ++ "_email")
, value participant.email
, onInput (ChangeParticipantEmail index)
]
[]
]
participantId : Int -> String
participantId index =
"participant" ++ String.fromInt index
confirm : Model -> Html Msg
confirm model =
div []
[ h1 [] [ text "confirm TODO" ]
, if model.filterFields /= OnlyNames then
let
id_ =
"confirm-gdpr"
in
div [ class "row" ]
[ input
[ id id_
, type_ "checkbox"
, value "gdpr"
, onClick ToggleMayStoreEmails
, checked model.mayStoreEmail
]
[]
, label [ for id_ ]
[ text "Ich habe die Einwilligung von allen Teilnehmern, ihre Email Adressen bei Willi zu speichern." ]
]
else
text ""
, label [ for "delete-after" ] [ text "Daten löschen nach" ]
, select [ id "delete-after", onInput (DeleteAfter << String.toInt) ]
[ option [ value "14", selected (model.deleteAfter == 14) ]
[ text "Zwei Wochen" ]
, option [ value "31", selected (model.deleteAfter == 31) ]
[ text "Einem Monat" ]
, option [ value "93", selected (model.deleteAfter == 93) ]
[ text "Drei Monaten" ]
, option [ value "186", selected (model.deleteAfter == 186) ]
[ text "Sechs Monaten" ]
, option [ value "279", selected (model.deleteAfter == 279) ]
[ text "Neun Monaten" ]
]
, div [ class "gotoButtons" ]
[ button
[ class "back", onClick <| GoTo Stage.EnterParticipants ]
[ text "zurück" ]
, button
[ class "forward", onClick <| GoTo Stage.LastCheck ]
[ text "weiter" ]
]
]
checkFailed : Model -> Html Msg
checkFailed model =
div []
[ h1 [] [ text "checkFailed" ]
, summary model
, debug model
]
lastCheck : Model -> Html Msg
lastCheck model =
div []
[ h1 [] [ text "lastCheck" ]
, summary model
, if List.length model.settingsErrors == 0 then
button [ onClick Submit ] [ text "Erstellen" ]
else
button [ disabled True ]
[ text "Kann nicht gespeichert werden, da Fehler existieren" ]
, debug model
]
summary : Model -> Html Msg
summary model =
div []
[ p [] [ text (summaryStart model) ]
, if Sanitize.hasError TooFewParticipants model then
problem Stage.EnterParticipants "Es müssen mindestens vier Teilnehmer eingetragen werden, damit nicht sofort klar ist, wer wen beschenkt."
else
text ""
, if List.length model.participants < Constants.minimumParticipants then
text ""
else
div [] (summaryContact model)
, div [] (summaryDataProtection model)
, div [] []
]
problem : Stage -> String -> Html Msg
problem stage msg =
div [ class "error" ]
[ text ("Fehler: " ++ msg)
, button
[ onClick <| GoTo stage ]
[ text "Fehler beheben" ]
]
summaryStart : Model -> String
summaryStart model =
let
startDate =
Sanitize.startOn model
in
case model.kind of
FixedList ->
let
startOn =
case Date.diff Date.Days model.today startDate of
0 ->
"sofort"
1 ->
"morgen"
_ ->
"am " ++ formatDate startDate
in
"Die Wichtel werden " ++ startOn ++ " ausgelost."
InviteParticipants ->
let
startOn =
case Date.diff Date.Days model.today startDate of
0 ->
"Heute"
1 ->
"PI:NAME:<NAME>END_PI"
_ ->
"Bis " ++ formatDate startDate
in
startOn ++ " können die Wichtel zusagen, danach beginnt das Auslosen."
formatDate : Date -> String
formatDate =
Date.format "dd.MM.y"
summaryContact : Model -> List (Html Msg)
summaryContact model =
let
participants : List Participant
participants =
Sanitize.dropEmptyParticipants model
count list =
String.fromInt (List.length list)
in
case model.filterFields of
OnlyNames ->
[ text <| count participants ++ " PI:NAME:<NAME>END_PI dürfen teilnehmen." ]
NameOrEmail ->
let
( manual, automated ) =
List.partition (String.isEmpty << .email) participants
row string =
p [ class "row" ] [ text string ]
in
[ row <| count manual ++ " PI:NAME:<NAME>END_PI werden von dir benachrichtigt."
, ul [] <|
List.map (\{ name } -> li [] [ text name ]) manual
, row <| count automated ++ " PI:NAME:<NAME>END_PI werden von PI:NAME:<NAME>END_PI benachrichtigt."
, ul [] <|
List.map (\{ email } -> li [] [ text email ]) automated
]
NameAndEmail ->
[ "Alle "
++ count participants
++ " PI:NAME:<NAME>END_PI werden von PI:NAME:<NAME>END_PI benachrichtigt."
|> text
, if Sanitize.hasError EmailsMissing model then
problem Stage.EnterParticipants "PI:NAME:<NAME>END_PI braucht von jedem Teilnehmer eine Email Adresse."
else
List.map (\{ email } -> li [] [ text email ]) participants
|> ul []
]
summaryDataProtection : Model -> List (Html Msg)
summaryDataProtection model =
[ if Sanitize.hasError MayNotStoreEmail model then
problem Stage.ConfirmDataProtection "PI:NAME:<NAME>END_PI hat nicht das Recht, die Teilnehmer zu speichern."
else
p []
[ "PI:NAME:<NAME>END_PI wird alle Daten nach dem "
++ formatDate (Sanitize.deleteAfter model)
++ " löschen."
|> text
]
]
debug model =
div []
[ h1 []
[ text "errors: "
, text <| String.fromInt <| List.length model.settingsErrors
]
, button [ onClick (GoTo Stage.LastCheck) ] [ text "again" ]
, pre [] [ code [] [ text <| Dev.jsonToString <| Encoder.encode model ] ]
]
| elm |
[
{
"context": "y\" ] []\n\n\n\n-- pin ls with arg SUCCESS - {\"Keys\":{\"QmHash\":{\"Type\":\"recursive\"}}}\n-- pin ls with arg NOT FOUND - {\"Message\":\"merkl",
"end": 5504,
"score": 0.9860277772,
"start": 5475,
"tag": "KEY",
"value": "QmHash\":{\"Type\":\"recursive\"}}"
}
] | src/elm/Api/Endpoint.elm | movefasta/suzdal | 0 | module Api.Endpoint exposing (Endpoint, add, changeLog, cluster, config, configSet, connect, content, dagGet, dagPut, file, filesLs, filesRead, filesWrite, getContent, getInitRepos, id, ipfsWebUI, links, node, objectGet, pinAdd, pinLs, pinUpdate, pinVerify, publish, repoStat, request, resolve, swarmPeers, task, unwrap)
import Http
import Json.Encode as Encode
import Route
import Task
import Url exposing (Url)
import Url.Builder exposing (QueryParameter)
-- ENDPOINTS
changeLog : Endpoint
changeLog =
Url.Builder.relative [ "CHANGELOG.md" ] []
|> Endpoint
getInitRepos : Endpoint
getInitRepos =
Url.Builder.relative [ "repos.json" ] []
|> Endpoint
getContent : Url -> String -> Endpoint
getContent url cid =
urlBuilder (gateway url) [ cid ] []
file : Url -> String -> String
file url cid =
unwrap (getContent url cid)
dagGet : Url -> String -> Endpoint
dagGet url cid =
urlBuilder (endpoint url) [ "dag", "get" ] [ Url.Builder.string "arg" cid ]
objectGet : Url -> String -> Endpoint
objectGet url cid =
urlBuilder (endpoint url) [ "object", "get" ] [ Url.Builder.string "arg" cid ]
dagPut : Url -> Endpoint
dagPut url =
urlBuilder (endpoint url) [ "dag", "put" ] []
publish : Url -> String -> Endpoint
publish url cid =
urlBuilder (endpoint url) [ "name", "publish" ] [ Url.Builder.string "arg" cid, Url.Builder.string "allow-offline" "true" ]
filesRead : Url -> String -> Endpoint
filesRead url path =
urlBuilder (endpoint url) [ "files", "read" ] [ Url.Builder.string "arg" path ]
filesWrite : Url -> String -> Endpoint
filesWrite url path =
let
options =
String.join "&" [ path, "create=true", "truncate=true", "parents=true" ]
in
Endpoint (endpoint url ++ "/files/write?arg=" ++ options)
filesLs : Url -> String -> Endpoint
filesLs url path =
Endpoint (endpoint url ++ "/files/ls?arg=" ++ path ++ "&" ++ "l=true")
filesStat : Url -> String -> Endpoint
filesStat url path =
urlBuilder (endpoint url) [ "files", "stat" ] [ Url.Builder.string "arg" path ]
--connect : Url -> String -> String -> Endpoint
--connect url peerid relay =
-- urlBuilder (endpoint url) [ "swarm", "connect" ] [ Url.Builder.string "arg" ("/ipfs/" ++ relay ++ "/p2p-circuit/ipfs/" ++ peerid) ]
connect : Url -> String -> String -> Endpoint
connect url peerid relay =
endpoint url
++ "/swarm/connect?arg="
--++ "/ipfs/"
--++ relay
--++ "/p2p-circuit
++ "/ipfs/"
++ peerid
|> Endpoint
resolve : Url -> String -> Endpoint
resolve url peerid =
urlBuilder (endpoint url) [ "name", "resolve" ] [ Url.Builder.string "arg" peerid ]
content : Url -> Route.Path -> Endpoint
content url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
++ "/cid"
|> Endpoint
links : Url -> Route.Path -> Endpoint
links url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
++ "/links"
|> Endpoint
node : Url -> Route.Path -> Endpoint
node url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
|> Endpoint
config : Url -> Endpoint
config url =
urlBuilder (endpoint url) [ "config", "show" ] []
swarmPeers : Url -> Endpoint
swarmPeers url =
urlBuilder (endpoint url) [ "swarm", "peers" ] []
configSet : Url -> String -> Encode.Value -> Endpoint
configSet url key value =
urlBuilder (endpoint url) [ "config" ] [ Url.Builder.string "arg" key, Url.Builder.string "arg" <| Encode.encode 0 value ]
id : Url -> Endpoint
id url =
urlBuilder (endpoint url) [ "id" ] []
pinAdd : Url -> String -> Endpoint
pinAdd url hash =
urlBuilder (endpoint url) [ "pin", "add" ] [ Url.Builder.string "arg" hash, Url.Builder.string "recursive" "true" ]
add : Url -> Endpoint
add url =
urlBuilder (endpoint url) [ "add" ] [ Url.Builder.string "pin" "false" ]
repoStat : Url -> Endpoint
repoStat url =
urlBuilder (endpoint url) [ "repo", "stat" ] []
pinLs : Url -> Maybe String -> Endpoint
pinLs url maybe_hash =
let
arg =
case maybe_hash of
Just hash ->
[ Url.Builder.string "arg" hash ]
Nothing ->
[]
in
urlBuilder (endpoint url) [ "pin", "ls" ] <| Url.Builder.string "type" "recursive" :: arg
pinRm : Url -> String -> Endpoint
pinRm url hash =
urlBuilder (endpoint url) [ "pin", "rm" ] [ Url.Builder.string "arg" hash ]
pinUpdate : Url -> String -> String -> Endpoint
pinUpdate url old_hash new_hash =
urlBuilder (endpoint url)
[ "pin", "update" ]
[ Url.Builder.string "arg" old_hash
, Url.Builder.string "arg" new_hash
, Url.Builder.string "unpin" "true"
]
pinVerify : Url -> String -> Endpoint
pinVerify url hash =
urlBuilder (endpoint url) [ "pin", "verify" ] []
-- pin ls with arg SUCCESS - {"Keys":{"QmHash":{"Type":"recursive"}}}
-- pin ls with arg NOT FOUND - {"Message":"merkledag: not found","Code":0,"Type":"error"}
-- pin ls with arg INVALID PATH - {"Message":"invalid path \"QmHash\": multihash length inconsistent: \u0026{18 sha2-256 32 [93 ... 241]}","Code":0,"Type":"error"}
-- TYPES
type Endpoint
= Endpoint String
urlBuilder : String -> List String -> List QueryParameter -> Endpoint
urlBuilder host paths queryParams =
Url.Builder.crossOrigin
host
paths
queryParams
|> Endpoint
endpoint : Url -> String
endpoint url =
Url.toString { url | port_ = Just 5001, path = "/api/v0", fragment = Nothing }
gateway : Url -> String
gateway url =
Url.toString { url | port_ = Just 8080, path = "/ipfs", fragment = Nothing }
ipfsWebUI : Url -> String
ipfsWebUI url =
Url.toString { url | port_ = Just 5001, path = "/webui", fragment = Nothing }
cluster : Url -> String
cluster url =
Url.toString { url | port_ = Just 9094, path = "", fragment = Nothing }
unwrap : Endpoint -> String
unwrap (Endpoint str) =
str
{-| Http.request, except it takes an Endpoint instead of a Url.
-}
request :
{ method : String
, headers : List Http.Header
, url : Endpoint
, body : Http.Body
, expect : Http.Expect msg
, timeout : Maybe Float
, tracker : Maybe String
}
-> Cmd msg
request r =
Http.request
{ method = r.method
, headers = r.headers
, url = unwrap r.url
, body = r.body
, expect = r.expect
, timeout = r.timeout
, tracker = r.tracker
}
task :
{ method : String
, headers : List Http.Header
, url : Endpoint
, body : Http.Body
, resolver : Http.Resolver x a
, timeout : Maybe Float
}
-> Task.Task x a
task r =
Http.task
{ method = r.method
, headers = r.headers
, url = unwrap r.url
, body = r.body
, resolver = r.resolver
, timeout = r.timeout
}
| 21653 | module Api.Endpoint exposing (Endpoint, add, changeLog, cluster, config, configSet, connect, content, dagGet, dagPut, file, filesLs, filesRead, filesWrite, getContent, getInitRepos, id, ipfsWebUI, links, node, objectGet, pinAdd, pinLs, pinUpdate, pinVerify, publish, repoStat, request, resolve, swarmPeers, task, unwrap)
import Http
import Json.Encode as Encode
import Route
import Task
import Url exposing (Url)
import Url.Builder exposing (QueryParameter)
-- ENDPOINTS
changeLog : Endpoint
changeLog =
Url.Builder.relative [ "CHANGELOG.md" ] []
|> Endpoint
getInitRepos : Endpoint
getInitRepos =
Url.Builder.relative [ "repos.json" ] []
|> Endpoint
getContent : Url -> String -> Endpoint
getContent url cid =
urlBuilder (gateway url) [ cid ] []
file : Url -> String -> String
file url cid =
unwrap (getContent url cid)
dagGet : Url -> String -> Endpoint
dagGet url cid =
urlBuilder (endpoint url) [ "dag", "get" ] [ Url.Builder.string "arg" cid ]
objectGet : Url -> String -> Endpoint
objectGet url cid =
urlBuilder (endpoint url) [ "object", "get" ] [ Url.Builder.string "arg" cid ]
dagPut : Url -> Endpoint
dagPut url =
urlBuilder (endpoint url) [ "dag", "put" ] []
publish : Url -> String -> Endpoint
publish url cid =
urlBuilder (endpoint url) [ "name", "publish" ] [ Url.Builder.string "arg" cid, Url.Builder.string "allow-offline" "true" ]
filesRead : Url -> String -> Endpoint
filesRead url path =
urlBuilder (endpoint url) [ "files", "read" ] [ Url.Builder.string "arg" path ]
filesWrite : Url -> String -> Endpoint
filesWrite url path =
let
options =
String.join "&" [ path, "create=true", "truncate=true", "parents=true" ]
in
Endpoint (endpoint url ++ "/files/write?arg=" ++ options)
filesLs : Url -> String -> Endpoint
filesLs url path =
Endpoint (endpoint url ++ "/files/ls?arg=" ++ path ++ "&" ++ "l=true")
filesStat : Url -> String -> Endpoint
filesStat url path =
urlBuilder (endpoint url) [ "files", "stat" ] [ Url.Builder.string "arg" path ]
--connect : Url -> String -> String -> Endpoint
--connect url peerid relay =
-- urlBuilder (endpoint url) [ "swarm", "connect" ] [ Url.Builder.string "arg" ("/ipfs/" ++ relay ++ "/p2p-circuit/ipfs/" ++ peerid) ]
connect : Url -> String -> String -> Endpoint
connect url peerid relay =
endpoint url
++ "/swarm/connect?arg="
--++ "/ipfs/"
--++ relay
--++ "/p2p-circuit
++ "/ipfs/"
++ peerid
|> Endpoint
resolve : Url -> String -> Endpoint
resolve url peerid =
urlBuilder (endpoint url) [ "name", "resolve" ] [ Url.Builder.string "arg" peerid ]
content : Url -> Route.Path -> Endpoint
content url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
++ "/cid"
|> Endpoint
links : Url -> Route.Path -> Endpoint
links url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
++ "/links"
|> Endpoint
node : Url -> Route.Path -> Endpoint
node url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
|> Endpoint
config : Url -> Endpoint
config url =
urlBuilder (endpoint url) [ "config", "show" ] []
swarmPeers : Url -> Endpoint
swarmPeers url =
urlBuilder (endpoint url) [ "swarm", "peers" ] []
configSet : Url -> String -> Encode.Value -> Endpoint
configSet url key value =
urlBuilder (endpoint url) [ "config" ] [ Url.Builder.string "arg" key, Url.Builder.string "arg" <| Encode.encode 0 value ]
id : Url -> Endpoint
id url =
urlBuilder (endpoint url) [ "id" ] []
pinAdd : Url -> String -> Endpoint
pinAdd url hash =
urlBuilder (endpoint url) [ "pin", "add" ] [ Url.Builder.string "arg" hash, Url.Builder.string "recursive" "true" ]
add : Url -> Endpoint
add url =
urlBuilder (endpoint url) [ "add" ] [ Url.Builder.string "pin" "false" ]
repoStat : Url -> Endpoint
repoStat url =
urlBuilder (endpoint url) [ "repo", "stat" ] []
pinLs : Url -> Maybe String -> Endpoint
pinLs url maybe_hash =
let
arg =
case maybe_hash of
Just hash ->
[ Url.Builder.string "arg" hash ]
Nothing ->
[]
in
urlBuilder (endpoint url) [ "pin", "ls" ] <| Url.Builder.string "type" "recursive" :: arg
pinRm : Url -> String -> Endpoint
pinRm url hash =
urlBuilder (endpoint url) [ "pin", "rm" ] [ Url.Builder.string "arg" hash ]
pinUpdate : Url -> String -> String -> Endpoint
pinUpdate url old_hash new_hash =
urlBuilder (endpoint url)
[ "pin", "update" ]
[ Url.Builder.string "arg" old_hash
, Url.Builder.string "arg" new_hash
, Url.Builder.string "unpin" "true"
]
pinVerify : Url -> String -> Endpoint
pinVerify url hash =
urlBuilder (endpoint url) [ "pin", "verify" ] []
-- pin ls with arg SUCCESS - {"Keys":{"<KEY>}
-- pin ls with arg NOT FOUND - {"Message":"merkledag: not found","Code":0,"Type":"error"}
-- pin ls with arg INVALID PATH - {"Message":"invalid path \"QmHash\": multihash length inconsistent: \u0026{18 sha2-256 32 [93 ... 241]}","Code":0,"Type":"error"}
-- TYPES
type Endpoint
= Endpoint String
urlBuilder : String -> List String -> List QueryParameter -> Endpoint
urlBuilder host paths queryParams =
Url.Builder.crossOrigin
host
paths
queryParams
|> Endpoint
endpoint : Url -> String
endpoint url =
Url.toString { url | port_ = Just 5001, path = "/api/v0", fragment = Nothing }
gateway : Url -> String
gateway url =
Url.toString { url | port_ = Just 8080, path = "/ipfs", fragment = Nothing }
ipfsWebUI : Url -> String
ipfsWebUI url =
Url.toString { url | port_ = Just 5001, path = "/webui", fragment = Nothing }
cluster : Url -> String
cluster url =
Url.toString { url | port_ = Just 9094, path = "", fragment = Nothing }
unwrap : Endpoint -> String
unwrap (Endpoint str) =
str
{-| Http.request, except it takes an Endpoint instead of a Url.
-}
request :
{ method : String
, headers : List Http.Header
, url : Endpoint
, body : Http.Body
, expect : Http.Expect msg
, timeout : Maybe Float
, tracker : Maybe String
}
-> Cmd msg
request r =
Http.request
{ method = r.method
, headers = r.headers
, url = unwrap r.url
, body = r.body
, expect = r.expect
, timeout = r.timeout
, tracker = r.tracker
}
task :
{ method : String
, headers : List Http.Header
, url : Endpoint
, body : Http.Body
, resolver : Http.Resolver x a
, timeout : Maybe Float
}
-> Task.Task x a
task r =
Http.task
{ method = r.method
, headers = r.headers
, url = unwrap r.url
, body = r.body
, resolver = r.resolver
, timeout = r.timeout
}
| true | module Api.Endpoint exposing (Endpoint, add, changeLog, cluster, config, configSet, connect, content, dagGet, dagPut, file, filesLs, filesRead, filesWrite, getContent, getInitRepos, id, ipfsWebUI, links, node, objectGet, pinAdd, pinLs, pinUpdate, pinVerify, publish, repoStat, request, resolve, swarmPeers, task, unwrap)
import Http
import Json.Encode as Encode
import Route
import Task
import Url exposing (Url)
import Url.Builder exposing (QueryParameter)
-- ENDPOINTS
changeLog : Endpoint
changeLog =
Url.Builder.relative [ "CHANGELOG.md" ] []
|> Endpoint
getInitRepos : Endpoint
getInitRepos =
Url.Builder.relative [ "repos.json" ] []
|> Endpoint
getContent : Url -> String -> Endpoint
getContent url cid =
urlBuilder (gateway url) [ cid ] []
file : Url -> String -> String
file url cid =
unwrap (getContent url cid)
dagGet : Url -> String -> Endpoint
dagGet url cid =
urlBuilder (endpoint url) [ "dag", "get" ] [ Url.Builder.string "arg" cid ]
objectGet : Url -> String -> Endpoint
objectGet url cid =
urlBuilder (endpoint url) [ "object", "get" ] [ Url.Builder.string "arg" cid ]
dagPut : Url -> Endpoint
dagPut url =
urlBuilder (endpoint url) [ "dag", "put" ] []
publish : Url -> String -> Endpoint
publish url cid =
urlBuilder (endpoint url) [ "name", "publish" ] [ Url.Builder.string "arg" cid, Url.Builder.string "allow-offline" "true" ]
filesRead : Url -> String -> Endpoint
filesRead url path =
urlBuilder (endpoint url) [ "files", "read" ] [ Url.Builder.string "arg" path ]
filesWrite : Url -> String -> Endpoint
filesWrite url path =
let
options =
String.join "&" [ path, "create=true", "truncate=true", "parents=true" ]
in
Endpoint (endpoint url ++ "/files/write?arg=" ++ options)
filesLs : Url -> String -> Endpoint
filesLs url path =
Endpoint (endpoint url ++ "/files/ls?arg=" ++ path ++ "&" ++ "l=true")
filesStat : Url -> String -> Endpoint
filesStat url path =
urlBuilder (endpoint url) [ "files", "stat" ] [ Url.Builder.string "arg" path ]
--connect : Url -> String -> String -> Endpoint
--connect url peerid relay =
-- urlBuilder (endpoint url) [ "swarm", "connect" ] [ Url.Builder.string "arg" ("/ipfs/" ++ relay ++ "/p2p-circuit/ipfs/" ++ peerid) ]
connect : Url -> String -> String -> Endpoint
connect url peerid relay =
endpoint url
++ "/swarm/connect?arg="
--++ "/ipfs/"
--++ relay
--++ "/p2p-circuit
++ "/ipfs/"
++ peerid
|> Endpoint
resolve : Url -> String -> Endpoint
resolve url peerid =
urlBuilder (endpoint url) [ "name", "resolve" ] [ Url.Builder.string "arg" peerid ]
content : Url -> Route.Path -> Endpoint
content url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
++ "/cid"
|> Endpoint
links : Url -> Route.Path -> Endpoint
links url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
++ "/links"
|> Endpoint
node : Url -> Route.Path -> Endpoint
node url path =
let
location =
List.map (\s -> "links/" ++ String.fromInt s) path.location
|> String.join "/"
in
endpoint url
++ "/dag/get?arg="
++ path.cid
++ "/"
++ location
|> Endpoint
config : Url -> Endpoint
config url =
urlBuilder (endpoint url) [ "config", "show" ] []
swarmPeers : Url -> Endpoint
swarmPeers url =
urlBuilder (endpoint url) [ "swarm", "peers" ] []
configSet : Url -> String -> Encode.Value -> Endpoint
configSet url key value =
urlBuilder (endpoint url) [ "config" ] [ Url.Builder.string "arg" key, Url.Builder.string "arg" <| Encode.encode 0 value ]
id : Url -> Endpoint
id url =
urlBuilder (endpoint url) [ "id" ] []
pinAdd : Url -> String -> Endpoint
pinAdd url hash =
urlBuilder (endpoint url) [ "pin", "add" ] [ Url.Builder.string "arg" hash, Url.Builder.string "recursive" "true" ]
add : Url -> Endpoint
add url =
urlBuilder (endpoint url) [ "add" ] [ Url.Builder.string "pin" "false" ]
repoStat : Url -> Endpoint
repoStat url =
urlBuilder (endpoint url) [ "repo", "stat" ] []
pinLs : Url -> Maybe String -> Endpoint
pinLs url maybe_hash =
let
arg =
case maybe_hash of
Just hash ->
[ Url.Builder.string "arg" hash ]
Nothing ->
[]
in
urlBuilder (endpoint url) [ "pin", "ls" ] <| Url.Builder.string "type" "recursive" :: arg
pinRm : Url -> String -> Endpoint
pinRm url hash =
urlBuilder (endpoint url) [ "pin", "rm" ] [ Url.Builder.string "arg" hash ]
pinUpdate : Url -> String -> String -> Endpoint
pinUpdate url old_hash new_hash =
urlBuilder (endpoint url)
[ "pin", "update" ]
[ Url.Builder.string "arg" old_hash
, Url.Builder.string "arg" new_hash
, Url.Builder.string "unpin" "true"
]
pinVerify : Url -> String -> Endpoint
pinVerify url hash =
urlBuilder (endpoint url) [ "pin", "verify" ] []
-- pin ls with arg SUCCESS - {"Keys":{"PI:KEY:<KEY>END_PI}
-- pin ls with arg NOT FOUND - {"Message":"merkledag: not found","Code":0,"Type":"error"}
-- pin ls with arg INVALID PATH - {"Message":"invalid path \"QmHash\": multihash length inconsistent: \u0026{18 sha2-256 32 [93 ... 241]}","Code":0,"Type":"error"}
-- TYPES
type Endpoint
= Endpoint String
urlBuilder : String -> List String -> List QueryParameter -> Endpoint
urlBuilder host paths queryParams =
Url.Builder.crossOrigin
host
paths
queryParams
|> Endpoint
endpoint : Url -> String
endpoint url =
Url.toString { url | port_ = Just 5001, path = "/api/v0", fragment = Nothing }
gateway : Url -> String
gateway url =
Url.toString { url | port_ = Just 8080, path = "/ipfs", fragment = Nothing }
ipfsWebUI : Url -> String
ipfsWebUI url =
Url.toString { url | port_ = Just 5001, path = "/webui", fragment = Nothing }
cluster : Url -> String
cluster url =
Url.toString { url | port_ = Just 9094, path = "", fragment = Nothing }
unwrap : Endpoint -> String
unwrap (Endpoint str) =
str
{-| Http.request, except it takes an Endpoint instead of a Url.
-}
request :
{ method : String
, headers : List Http.Header
, url : Endpoint
, body : Http.Body
, expect : Http.Expect msg
, timeout : Maybe Float
, tracker : Maybe String
}
-> Cmd msg
request r =
Http.request
{ method = r.method
, headers = r.headers
, url = unwrap r.url
, body = r.body
, expect = r.expect
, timeout = r.timeout
, tracker = r.tracker
}
task :
{ method : String
, headers : List Http.Header
, url : Endpoint
, body : Http.Body
, resolver : Http.Resolver x a
, timeout : Maybe Float
}
-> Task.Task x a
task r =
Http.task
{ method = r.method
, headers = r.headers
, url = unwrap r.url
, body = r.body
, resolver = r.resolver
, timeout = r.timeout
}
| elm |
[
{
"context": "xposing (Author)\n\n\nwy : Author\nwy =\n { name = \"Wang Yi\"\n , avatar = \"/image/wy.png\"\n , email = \"li",
"end": 101,
"score": 0.9996657372,
"start": 94,
"tag": "NAME",
"value": "Wang Yi"
},
{
"context": "Yi\"\n , avatar = \"/image/wy.png\"\n , email = \"linucywang@aliyun.com\"\n , bio = \"Coder\"\n , blog = \"https://meilab",
"end": 170,
"score": 0.9999309182,
"start": 149,
"tag": "EMAIL",
"value": "linucywang@aliyun.com"
},
{
"context": "tion = \"Xi'an\"\n , github = \"https://github.com/meilab/\"\n }\n\n\nauthors : List Author\nauthors =\n [ w",
"end": 308,
"score": 0.9970348477,
"start": 302,
"tag": "USERNAME",
"value": "meilab"
}
] | src/Authors.elm | meilab/johnny-art | 0 | module Authors exposing (..)
import Types exposing (Author)
wy : Author
wy =
{ name = "Wang Yi"
, avatar = "/image/wy.png"
, email = "linucywang@aliyun.com"
, bio = "Coder"
, blog = "https://meilab.github.io/elm_blog/"
, location = "Xi'an"
, github = "https://github.com/meilab/"
}
authors : List Author
authors =
[ wy ]
| 24337 | module Authors exposing (..)
import Types exposing (Author)
wy : Author
wy =
{ name = "<NAME>"
, avatar = "/image/wy.png"
, email = "<EMAIL>"
, bio = "Coder"
, blog = "https://meilab.github.io/elm_blog/"
, location = "Xi'an"
, github = "https://github.com/meilab/"
}
authors : List Author
authors =
[ wy ]
| true | module Authors exposing (..)
import Types exposing (Author)
wy : Author
wy =
{ name = "PI:NAME:<NAME>END_PI"
, avatar = "/image/wy.png"
, email = "PI:EMAIL:<EMAIL>END_PI"
, bio = "Coder"
, blog = "https://meilab.github.io/elm_blog/"
, location = "Xi'an"
, github = "https://github.com/meilab/"
}
authors : List Author
authors =
[ wy ]
| elm |
[
{
"context": "anually edit this file, it was auto-generated by dillonkearns/elm-graphql\n-- https://github.com/dillonkearns/",
"end": 70,
"score": 0.6212692261,
"start": 61,
"tag": "USERNAME",
"value": "illonkear"
},
{
"context": "by dillonkearns/elm-graphql\n-- https://github.com/dillonkearns/elm-graphql\n\n\nmodule Hasura.Mutation exposing (..",
"end": 119,
"score": 0.9977353215,
"start": 107,
"tag": "USERNAME",
"value": "dillonkearns"
},
{
"context": "lable)\n\n\ntype alias LoginRequiredArguments =\n { password : String\n , username : String\n }\n\n\n{-| perf",
"end": 10028,
"score": 0.9688779116,
"start": 10020,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "pe alias LoginRequiredArguments =\n { password : String\n , username : String\n }\n\n\n{-| perform the a",
"end": 10037,
"score": 0.9847090244,
"start": 10031,
"tag": "PASSWORD",
"value": "String"
},
{
"context": "ionForCompositeField \"login\" [ Argument.required \"password\" requiredArgs.password Encode.string, Argument.re",
"end": 10333,
"score": 0.9314976931,
"start": 10325,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "edArgs.password Encode.string, Argument.required \"username\" requiredArgs.username Encode.string ] object_ id",
"end": 10399,
"score": 0.9987890124,
"start": 10391,
"tag": "USERNAME",
"value": "username"
}
] | frontend/src/elm/Hasura/Mutation.elm | andrewMacmurray/realworld-hasura | 45 | -- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql
module Hasura.Mutation exposing (..)
import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Hasura.InputObject
import Hasura.Interface
import Hasura.Object
import Hasura.Scalar
import Hasura.ScalarCodecs
import Hasura.Union
import Json.Decode as Decode exposing (Decoder)
type alias DeleteArticleRequiredArguments =
{ id : Int }
{-| delete single row from the table: "articles"
-}
delete_article : DeleteArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
delete_article requiredArgs object_ =
Object.selectionForCompositeField "delete_article" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteArticlesRequiredArguments =
{ where_ : Hasura.InputObject.Articles_bool_exp }
{-| delete data from the table: "articles"
- where\_ - filter the rows which have to be deleted
-}
delete_articles : DeleteArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_articles requiredArgs object_ =
Object.selectionForCompositeField "delete_articles" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeArticles_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteCommentRequiredArguments =
{ id : Int }
{-| delete single row from the table: "comments"
-}
delete_comment : DeleteCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
delete_comment requiredArgs object_ =
Object.selectionForCompositeField "delete_comment" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteCommentsRequiredArguments =
{ where_ : Hasura.InputObject.Comments_bool_exp }
{-| delete data from the table: "comments"
- where\_ - filter the rows which have to be deleted
-}
delete_comments : DeleteCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_comments requiredArgs object_ =
Object.selectionForCompositeField "delete_comments" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeComments_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteFollowsByPkRequiredArguments =
{ id : Int }
{-| delete single row from the table: "follows"
-}
delete_follows_by_pk : DeleteFollowsByPkRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows -> SelectionSet (Maybe decodesTo) RootMutation
delete_follows_by_pk requiredArgs object_ =
Object.selectionForCompositeField "delete_follows_by_pk" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteTagsRequiredArguments =
{ where_ : Hasura.InputObject.Tags_bool_exp }
{-| delete data from the table: "tags"
- where\_ - filter the rows which have to be deleted
-}
delete_tags : DeleteTagsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_tags requiredArgs object_ =
Object.selectionForCompositeField "delete_tags" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeTags_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteTagsByPkRequiredArguments =
{ id : Int }
{-| delete single row from the table: "tags"
-}
delete_tags_by_pk : DeleteTagsByPkRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags -> SelectionSet (Maybe decodesTo) RootMutation
delete_tags_by_pk requiredArgs object_ =
Object.selectionForCompositeField "delete_tags_by_pk" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias EditArticleOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Articles_set_input }
type alias EditArticleRequiredArguments =
{ pk_columns : Hasura.InputObject.Articles_pk_columns_input }
{-| update single row of the table: "articles"
- set\_ - sets the columns of the filtered rows to the given values
-}
edit_article : (EditArticleOptionalArguments -> EditArticleOptionalArguments) -> EditArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
edit_article fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeArticles_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "edit_article" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeArticles_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias FollowAuthorRequiredArguments =
{ object : Hasura.InputObject.Follows_insert_input }
{-| insert a single row into the table: "follows"
- object - the row to be inserted
-}
follow_author : FollowAuthorRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows -> SelectionSet (Maybe decodesTo) RootMutation
follow_author requiredArgs object_ =
Object.selectionForCompositeField "follow_author" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeFollows_insert_input ] object_ (identity >> Decode.nullable)
type alias FollowAuthorsRequiredArguments =
{ objects : List Hasura.InputObject.Follows_insert_input }
{-| insert data into the table: "follows"
- objects - the rows to be inserted
-}
follow_authors : FollowAuthorsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
follow_authors requiredArgs object_ =
Object.selectionForCompositeField "follow_authors" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeFollows_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias InsertCommentsOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Comments_on_conflict }
type alias InsertCommentsRequiredArguments =
{ objects : List Hasura.InputObject.Comments_insert_input }
{-| insert data into the table: "comments"
- objects - the rows to be inserted
- on\_conflict - on conflict condition
-}
insert_comments : (InsertCommentsOptionalArguments -> InsertCommentsOptionalArguments) -> InsertCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
insert_comments fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeComments_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "insert_comments" (optionalArgs ++ [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeComments_insert_input |> Encode.list) ]) object_ (identity >> Decode.nullable)
type alias InsertTagRequiredArguments =
{ object : Hasura.InputObject.Tags_insert_input }
{-| insert a single row into the table: "tags"
- object - the row to be inserted
-}
insert_tag : InsertTagRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags -> SelectionSet (Maybe decodesTo) RootMutation
insert_tag requiredArgs object_ =
Object.selectionForCompositeField "insert_tag" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeTags_insert_input ] object_ (identity >> Decode.nullable)
type alias InsertTagsRequiredArguments =
{ objects : List Hasura.InputObject.Tags_insert_input }
{-| insert data into the table: "tags"
- objects - the rows to be inserted
-}
insert_tags : InsertTagsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
insert_tags requiredArgs object_ =
Object.selectionForCompositeField "insert_tags" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeTags_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias LikeArticleRequiredArguments =
{ object : Hasura.InputObject.Likes_insert_input }
{-| insert a single row into the table: "likes"
- object - the row to be inserted
-}
like_article : LikeArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Likes -> SelectionSet (Maybe decodesTo) RootMutation
like_article requiredArgs object_ =
Object.selectionForCompositeField "like_article" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeLikes_insert_input ] object_ (identity >> Decode.nullable)
type alias LikeArticlesRequiredArguments =
{ objects : List Hasura.InputObject.Likes_insert_input }
{-| insert data into the table: "likes"
- objects - the rows to be inserted
-}
like_articles : LikeArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Likes_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
like_articles requiredArgs object_ =
Object.selectionForCompositeField "like_articles" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeLikes_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias LoginRequiredArguments =
{ password : String
, username : String
}
{-| perform the action: "login"
-}
login : LoginRequiredArguments -> SelectionSet decodesTo Hasura.Object.TokenResponse -> SelectionSet decodesTo RootMutation
login requiredArgs object_ =
Object.selectionForCompositeField "login" [ Argument.required "password" requiredArgs.password Encode.string, Argument.required "username" requiredArgs.username Encode.string ] object_ identity
type alias PostCommentOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Comments_on_conflict }
type alias PostCommentRequiredArguments =
{ object : Hasura.InputObject.Comments_insert_input }
{-| insert a single row into the table: "comments"
- object - the row to be inserted
- on\_conflict - on conflict condition
-}
post_comment : (PostCommentOptionalArguments -> PostCommentOptionalArguments) -> PostCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
post_comment fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeComments_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "post_comment" (optionalArgs ++ [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeComments_insert_input ]) object_ (identity >> Decode.nullable)
type alias PublishArticleOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Articles_on_conflict }
type alias PublishArticleRequiredArguments =
{ object : Hasura.InputObject.Articles_insert_input }
{-| insert a single row into the table: "articles"
- object - the row to be inserted
- on\_conflict - on conflict condition
-}
publish_article : (PublishArticleOptionalArguments -> PublishArticleOptionalArguments) -> PublishArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
publish_article fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeArticles_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "publish_article" (optionalArgs ++ [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeArticles_insert_input ]) object_ (identity >> Decode.nullable)
type alias PublishArticlesOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Articles_on_conflict }
type alias PublishArticlesRequiredArguments =
{ objects : List Hasura.InputObject.Articles_insert_input }
{-| insert data into the table: "articles"
- objects - the rows to be inserted
- on\_conflict - on conflict condition
-}
publish_articles : (PublishArticlesOptionalArguments -> PublishArticlesOptionalArguments) -> PublishArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
publish_articles fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeArticles_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "publish_articles" (optionalArgs ++ [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeArticles_insert_input |> Encode.list) ]) object_ (identity >> Decode.nullable)
type alias SignupRequiredArguments =
{ email : String
, password : String
, username : String
}
{-| perform the action: "signup"
-}
signup : SignupRequiredArguments -> SelectionSet decodesTo Hasura.Object.TokenResponse -> SelectionSet decodesTo RootMutation
signup requiredArgs object_ =
Object.selectionForCompositeField "signup" [ Argument.required "email" requiredArgs.email Encode.string, Argument.required "password" requiredArgs.password Encode.string, Argument.required "username" requiredArgs.username Encode.string ] object_ identity
type alias UnfollowAuthorsRequiredArguments =
{ where_ : Hasura.InputObject.Follows_bool_exp }
{-| delete data from the table: "follows"
- where\_ - filter the rows which have to be deleted
-}
unfollow_authors : UnfollowAuthorsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
unfollow_authors requiredArgs object_ =
Object.selectionForCompositeField "unfollow_authors" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeFollows_bool_exp ] object_ (identity >> Decode.nullable)
type alias UnlikeArticleRequiredArguments =
{ article_id : Int }
{-| perform the action: "unlike\_article"
-}
unlike_article : UnlikeArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.UnlikeResponse -> SelectionSet decodesTo RootMutation
unlike_article requiredArgs object_ =
Object.selectionForCompositeField "unlike_article" [ Argument.required "article_id" requiredArgs.article_id Encode.int ] object_ identity
type alias UpdateArticlesOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Articles_set_input }
type alias UpdateArticlesRequiredArguments =
{ where_ : Hasura.InputObject.Articles_bool_exp }
{-| update data of the table: "articles"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_articles : (UpdateArticlesOptionalArguments -> UpdateArticlesOptionalArguments) -> UpdateArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_articles fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeArticles_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_articles" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeArticles_bool_exp ]) object_ (identity >> Decode.nullable)
type alias UpdateCommentOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Comments_set_input }
type alias UpdateCommentRequiredArguments =
{ pk_columns : Hasura.InputObject.Comments_pk_columns_input }
{-| update single row of the table: "comments"
- set\_ - sets the columns of the filtered rows to the given values
-}
update_comment : (UpdateCommentOptionalArguments -> UpdateCommentOptionalArguments) -> UpdateCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
update_comment fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeComments_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_comment" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeComments_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias UpdateCommentsOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Comments_set_input }
type alias UpdateCommentsRequiredArguments =
{ where_ : Hasura.InputObject.Comments_bool_exp }
{-| update data of the table: "comments"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_comments : (UpdateCommentsOptionalArguments -> UpdateCommentsOptionalArguments) -> UpdateCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_comments fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeComments_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_comments" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeComments_bool_exp ]) object_ (identity >> Decode.nullable)
type alias UpdateUserOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Users_set_input }
type alias UpdateUserRequiredArguments =
{ pk_columns : Hasura.InputObject.Users_pk_columns_input }
{-| update single row of the table: "users"
- set\_ - sets the columns of the filtered rows to the given values
-}
update_user : (UpdateUserOptionalArguments -> UpdateUserOptionalArguments) -> UpdateUserRequiredArguments -> SelectionSet decodesTo Hasura.Object.Users -> SelectionSet (Maybe decodesTo) RootMutation
update_user fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeUsers_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_user" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeUsers_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias UpdateUsersOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Users_set_input }
type alias UpdateUsersRequiredArguments =
{ where_ : Hasura.InputObject.Users_bool_exp }
{-| update data of the table: "users"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_users : (UpdateUsersOptionalArguments -> UpdateUsersOptionalArguments) -> UpdateUsersRequiredArguments -> SelectionSet decodesTo Hasura.Object.Users_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_users fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeUsers_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_users" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeUsers_bool_exp ]) object_ (identity >> Decode.nullable)
| 59850 | -- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql
module Hasura.Mutation exposing (..)
import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Hasura.InputObject
import Hasura.Interface
import Hasura.Object
import Hasura.Scalar
import Hasura.ScalarCodecs
import Hasura.Union
import Json.Decode as Decode exposing (Decoder)
type alias DeleteArticleRequiredArguments =
{ id : Int }
{-| delete single row from the table: "articles"
-}
delete_article : DeleteArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
delete_article requiredArgs object_ =
Object.selectionForCompositeField "delete_article" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteArticlesRequiredArguments =
{ where_ : Hasura.InputObject.Articles_bool_exp }
{-| delete data from the table: "articles"
- where\_ - filter the rows which have to be deleted
-}
delete_articles : DeleteArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_articles requiredArgs object_ =
Object.selectionForCompositeField "delete_articles" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeArticles_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteCommentRequiredArguments =
{ id : Int }
{-| delete single row from the table: "comments"
-}
delete_comment : DeleteCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
delete_comment requiredArgs object_ =
Object.selectionForCompositeField "delete_comment" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteCommentsRequiredArguments =
{ where_ : Hasura.InputObject.Comments_bool_exp }
{-| delete data from the table: "comments"
- where\_ - filter the rows which have to be deleted
-}
delete_comments : DeleteCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_comments requiredArgs object_ =
Object.selectionForCompositeField "delete_comments" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeComments_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteFollowsByPkRequiredArguments =
{ id : Int }
{-| delete single row from the table: "follows"
-}
delete_follows_by_pk : DeleteFollowsByPkRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows -> SelectionSet (Maybe decodesTo) RootMutation
delete_follows_by_pk requiredArgs object_ =
Object.selectionForCompositeField "delete_follows_by_pk" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteTagsRequiredArguments =
{ where_ : Hasura.InputObject.Tags_bool_exp }
{-| delete data from the table: "tags"
- where\_ - filter the rows which have to be deleted
-}
delete_tags : DeleteTagsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_tags requiredArgs object_ =
Object.selectionForCompositeField "delete_tags" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeTags_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteTagsByPkRequiredArguments =
{ id : Int }
{-| delete single row from the table: "tags"
-}
delete_tags_by_pk : DeleteTagsByPkRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags -> SelectionSet (Maybe decodesTo) RootMutation
delete_tags_by_pk requiredArgs object_ =
Object.selectionForCompositeField "delete_tags_by_pk" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias EditArticleOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Articles_set_input }
type alias EditArticleRequiredArguments =
{ pk_columns : Hasura.InputObject.Articles_pk_columns_input }
{-| update single row of the table: "articles"
- set\_ - sets the columns of the filtered rows to the given values
-}
edit_article : (EditArticleOptionalArguments -> EditArticleOptionalArguments) -> EditArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
edit_article fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeArticles_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "edit_article" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeArticles_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias FollowAuthorRequiredArguments =
{ object : Hasura.InputObject.Follows_insert_input }
{-| insert a single row into the table: "follows"
- object - the row to be inserted
-}
follow_author : FollowAuthorRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows -> SelectionSet (Maybe decodesTo) RootMutation
follow_author requiredArgs object_ =
Object.selectionForCompositeField "follow_author" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeFollows_insert_input ] object_ (identity >> Decode.nullable)
type alias FollowAuthorsRequiredArguments =
{ objects : List Hasura.InputObject.Follows_insert_input }
{-| insert data into the table: "follows"
- objects - the rows to be inserted
-}
follow_authors : FollowAuthorsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
follow_authors requiredArgs object_ =
Object.selectionForCompositeField "follow_authors" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeFollows_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias InsertCommentsOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Comments_on_conflict }
type alias InsertCommentsRequiredArguments =
{ objects : List Hasura.InputObject.Comments_insert_input }
{-| insert data into the table: "comments"
- objects - the rows to be inserted
- on\_conflict - on conflict condition
-}
insert_comments : (InsertCommentsOptionalArguments -> InsertCommentsOptionalArguments) -> InsertCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
insert_comments fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeComments_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "insert_comments" (optionalArgs ++ [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeComments_insert_input |> Encode.list) ]) object_ (identity >> Decode.nullable)
type alias InsertTagRequiredArguments =
{ object : Hasura.InputObject.Tags_insert_input }
{-| insert a single row into the table: "tags"
- object - the row to be inserted
-}
insert_tag : InsertTagRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags -> SelectionSet (Maybe decodesTo) RootMutation
insert_tag requiredArgs object_ =
Object.selectionForCompositeField "insert_tag" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeTags_insert_input ] object_ (identity >> Decode.nullable)
type alias InsertTagsRequiredArguments =
{ objects : List Hasura.InputObject.Tags_insert_input }
{-| insert data into the table: "tags"
- objects - the rows to be inserted
-}
insert_tags : InsertTagsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
insert_tags requiredArgs object_ =
Object.selectionForCompositeField "insert_tags" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeTags_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias LikeArticleRequiredArguments =
{ object : Hasura.InputObject.Likes_insert_input }
{-| insert a single row into the table: "likes"
- object - the row to be inserted
-}
like_article : LikeArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Likes -> SelectionSet (Maybe decodesTo) RootMutation
like_article requiredArgs object_ =
Object.selectionForCompositeField "like_article" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeLikes_insert_input ] object_ (identity >> Decode.nullable)
type alias LikeArticlesRequiredArguments =
{ objects : List Hasura.InputObject.Likes_insert_input }
{-| insert data into the table: "likes"
- objects - the rows to be inserted
-}
like_articles : LikeArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Likes_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
like_articles requiredArgs object_ =
Object.selectionForCompositeField "like_articles" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeLikes_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias LoginRequiredArguments =
{ <PASSWORD> : <PASSWORD>
, username : String
}
{-| perform the action: "login"
-}
login : LoginRequiredArguments -> SelectionSet decodesTo Hasura.Object.TokenResponse -> SelectionSet decodesTo RootMutation
login requiredArgs object_ =
Object.selectionForCompositeField "login" [ Argument.required "<PASSWORD>" requiredArgs.password Encode.string, Argument.required "username" requiredArgs.username Encode.string ] object_ identity
type alias PostCommentOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Comments_on_conflict }
type alias PostCommentRequiredArguments =
{ object : Hasura.InputObject.Comments_insert_input }
{-| insert a single row into the table: "comments"
- object - the row to be inserted
- on\_conflict - on conflict condition
-}
post_comment : (PostCommentOptionalArguments -> PostCommentOptionalArguments) -> PostCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
post_comment fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeComments_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "post_comment" (optionalArgs ++ [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeComments_insert_input ]) object_ (identity >> Decode.nullable)
type alias PublishArticleOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Articles_on_conflict }
type alias PublishArticleRequiredArguments =
{ object : Hasura.InputObject.Articles_insert_input }
{-| insert a single row into the table: "articles"
- object - the row to be inserted
- on\_conflict - on conflict condition
-}
publish_article : (PublishArticleOptionalArguments -> PublishArticleOptionalArguments) -> PublishArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
publish_article fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeArticles_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "publish_article" (optionalArgs ++ [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeArticles_insert_input ]) object_ (identity >> Decode.nullable)
type alias PublishArticlesOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Articles_on_conflict }
type alias PublishArticlesRequiredArguments =
{ objects : List Hasura.InputObject.Articles_insert_input }
{-| insert data into the table: "articles"
- objects - the rows to be inserted
- on\_conflict - on conflict condition
-}
publish_articles : (PublishArticlesOptionalArguments -> PublishArticlesOptionalArguments) -> PublishArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
publish_articles fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeArticles_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "publish_articles" (optionalArgs ++ [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeArticles_insert_input |> Encode.list) ]) object_ (identity >> Decode.nullable)
type alias SignupRequiredArguments =
{ email : String
, password : String
, username : String
}
{-| perform the action: "signup"
-}
signup : SignupRequiredArguments -> SelectionSet decodesTo Hasura.Object.TokenResponse -> SelectionSet decodesTo RootMutation
signup requiredArgs object_ =
Object.selectionForCompositeField "signup" [ Argument.required "email" requiredArgs.email Encode.string, Argument.required "password" requiredArgs.password Encode.string, Argument.required "username" requiredArgs.username Encode.string ] object_ identity
type alias UnfollowAuthorsRequiredArguments =
{ where_ : Hasura.InputObject.Follows_bool_exp }
{-| delete data from the table: "follows"
- where\_ - filter the rows which have to be deleted
-}
unfollow_authors : UnfollowAuthorsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
unfollow_authors requiredArgs object_ =
Object.selectionForCompositeField "unfollow_authors" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeFollows_bool_exp ] object_ (identity >> Decode.nullable)
type alias UnlikeArticleRequiredArguments =
{ article_id : Int }
{-| perform the action: "unlike\_article"
-}
unlike_article : UnlikeArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.UnlikeResponse -> SelectionSet decodesTo RootMutation
unlike_article requiredArgs object_ =
Object.selectionForCompositeField "unlike_article" [ Argument.required "article_id" requiredArgs.article_id Encode.int ] object_ identity
type alias UpdateArticlesOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Articles_set_input }
type alias UpdateArticlesRequiredArguments =
{ where_ : Hasura.InputObject.Articles_bool_exp }
{-| update data of the table: "articles"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_articles : (UpdateArticlesOptionalArguments -> UpdateArticlesOptionalArguments) -> UpdateArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_articles fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeArticles_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_articles" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeArticles_bool_exp ]) object_ (identity >> Decode.nullable)
type alias UpdateCommentOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Comments_set_input }
type alias UpdateCommentRequiredArguments =
{ pk_columns : Hasura.InputObject.Comments_pk_columns_input }
{-| update single row of the table: "comments"
- set\_ - sets the columns of the filtered rows to the given values
-}
update_comment : (UpdateCommentOptionalArguments -> UpdateCommentOptionalArguments) -> UpdateCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
update_comment fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeComments_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_comment" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeComments_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias UpdateCommentsOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Comments_set_input }
type alias UpdateCommentsRequiredArguments =
{ where_ : Hasura.InputObject.Comments_bool_exp }
{-| update data of the table: "comments"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_comments : (UpdateCommentsOptionalArguments -> UpdateCommentsOptionalArguments) -> UpdateCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_comments fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeComments_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_comments" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeComments_bool_exp ]) object_ (identity >> Decode.nullable)
type alias UpdateUserOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Users_set_input }
type alias UpdateUserRequiredArguments =
{ pk_columns : Hasura.InputObject.Users_pk_columns_input }
{-| update single row of the table: "users"
- set\_ - sets the columns of the filtered rows to the given values
-}
update_user : (UpdateUserOptionalArguments -> UpdateUserOptionalArguments) -> UpdateUserRequiredArguments -> SelectionSet decodesTo Hasura.Object.Users -> SelectionSet (Maybe decodesTo) RootMutation
update_user fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeUsers_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_user" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeUsers_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias UpdateUsersOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Users_set_input }
type alias UpdateUsersRequiredArguments =
{ where_ : Hasura.InputObject.Users_bool_exp }
{-| update data of the table: "users"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_users : (UpdateUsersOptionalArguments -> UpdateUsersOptionalArguments) -> UpdateUsersRequiredArguments -> SelectionSet decodesTo Hasura.Object.Users_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_users fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeUsers_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_users" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeUsers_bool_exp ]) object_ (identity >> Decode.nullable)
| true | -- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql
module Hasura.Mutation exposing (..)
import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Hasura.InputObject
import Hasura.Interface
import Hasura.Object
import Hasura.Scalar
import Hasura.ScalarCodecs
import Hasura.Union
import Json.Decode as Decode exposing (Decoder)
type alias DeleteArticleRequiredArguments =
{ id : Int }
{-| delete single row from the table: "articles"
-}
delete_article : DeleteArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
delete_article requiredArgs object_ =
Object.selectionForCompositeField "delete_article" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteArticlesRequiredArguments =
{ where_ : Hasura.InputObject.Articles_bool_exp }
{-| delete data from the table: "articles"
- where\_ - filter the rows which have to be deleted
-}
delete_articles : DeleteArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_articles requiredArgs object_ =
Object.selectionForCompositeField "delete_articles" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeArticles_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteCommentRequiredArguments =
{ id : Int }
{-| delete single row from the table: "comments"
-}
delete_comment : DeleteCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
delete_comment requiredArgs object_ =
Object.selectionForCompositeField "delete_comment" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteCommentsRequiredArguments =
{ where_ : Hasura.InputObject.Comments_bool_exp }
{-| delete data from the table: "comments"
- where\_ - filter the rows which have to be deleted
-}
delete_comments : DeleteCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_comments requiredArgs object_ =
Object.selectionForCompositeField "delete_comments" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeComments_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteFollowsByPkRequiredArguments =
{ id : Int }
{-| delete single row from the table: "follows"
-}
delete_follows_by_pk : DeleteFollowsByPkRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows -> SelectionSet (Maybe decodesTo) RootMutation
delete_follows_by_pk requiredArgs object_ =
Object.selectionForCompositeField "delete_follows_by_pk" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias DeleteTagsRequiredArguments =
{ where_ : Hasura.InputObject.Tags_bool_exp }
{-| delete data from the table: "tags"
- where\_ - filter the rows which have to be deleted
-}
delete_tags : DeleteTagsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
delete_tags requiredArgs object_ =
Object.selectionForCompositeField "delete_tags" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeTags_bool_exp ] object_ (identity >> Decode.nullable)
type alias DeleteTagsByPkRequiredArguments =
{ id : Int }
{-| delete single row from the table: "tags"
-}
delete_tags_by_pk : DeleteTagsByPkRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags -> SelectionSet (Maybe decodesTo) RootMutation
delete_tags_by_pk requiredArgs object_ =
Object.selectionForCompositeField "delete_tags_by_pk" [ Argument.required "id" requiredArgs.id Encode.int ] object_ (identity >> Decode.nullable)
type alias EditArticleOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Articles_set_input }
type alias EditArticleRequiredArguments =
{ pk_columns : Hasura.InputObject.Articles_pk_columns_input }
{-| update single row of the table: "articles"
- set\_ - sets the columns of the filtered rows to the given values
-}
edit_article : (EditArticleOptionalArguments -> EditArticleOptionalArguments) -> EditArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
edit_article fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeArticles_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "edit_article" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeArticles_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias FollowAuthorRequiredArguments =
{ object : Hasura.InputObject.Follows_insert_input }
{-| insert a single row into the table: "follows"
- object - the row to be inserted
-}
follow_author : FollowAuthorRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows -> SelectionSet (Maybe decodesTo) RootMutation
follow_author requiredArgs object_ =
Object.selectionForCompositeField "follow_author" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeFollows_insert_input ] object_ (identity >> Decode.nullable)
type alias FollowAuthorsRequiredArguments =
{ objects : List Hasura.InputObject.Follows_insert_input }
{-| insert data into the table: "follows"
- objects - the rows to be inserted
-}
follow_authors : FollowAuthorsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
follow_authors requiredArgs object_ =
Object.selectionForCompositeField "follow_authors" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeFollows_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias InsertCommentsOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Comments_on_conflict }
type alias InsertCommentsRequiredArguments =
{ objects : List Hasura.InputObject.Comments_insert_input }
{-| insert data into the table: "comments"
- objects - the rows to be inserted
- on\_conflict - on conflict condition
-}
insert_comments : (InsertCommentsOptionalArguments -> InsertCommentsOptionalArguments) -> InsertCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
insert_comments fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeComments_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "insert_comments" (optionalArgs ++ [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeComments_insert_input |> Encode.list) ]) object_ (identity >> Decode.nullable)
type alias InsertTagRequiredArguments =
{ object : Hasura.InputObject.Tags_insert_input }
{-| insert a single row into the table: "tags"
- object - the row to be inserted
-}
insert_tag : InsertTagRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags -> SelectionSet (Maybe decodesTo) RootMutation
insert_tag requiredArgs object_ =
Object.selectionForCompositeField "insert_tag" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeTags_insert_input ] object_ (identity >> Decode.nullable)
type alias InsertTagsRequiredArguments =
{ objects : List Hasura.InputObject.Tags_insert_input }
{-| insert data into the table: "tags"
- objects - the rows to be inserted
-}
insert_tags : InsertTagsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Tags_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
insert_tags requiredArgs object_ =
Object.selectionForCompositeField "insert_tags" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeTags_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias LikeArticleRequiredArguments =
{ object : Hasura.InputObject.Likes_insert_input }
{-| insert a single row into the table: "likes"
- object - the row to be inserted
-}
like_article : LikeArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Likes -> SelectionSet (Maybe decodesTo) RootMutation
like_article requiredArgs object_ =
Object.selectionForCompositeField "like_article" [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeLikes_insert_input ] object_ (identity >> Decode.nullable)
type alias LikeArticlesRequiredArguments =
{ objects : List Hasura.InputObject.Likes_insert_input }
{-| insert data into the table: "likes"
- objects - the rows to be inserted
-}
like_articles : LikeArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Likes_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
like_articles requiredArgs object_ =
Object.selectionForCompositeField "like_articles" [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeLikes_insert_input |> Encode.list) ] object_ (identity >> Decode.nullable)
type alias LoginRequiredArguments =
{ PI:PASSWORD:<PASSWORD>END_PI : PI:PASSWORD:<PASSWORD>END_PI
, username : String
}
{-| perform the action: "login"
-}
login : LoginRequiredArguments -> SelectionSet decodesTo Hasura.Object.TokenResponse -> SelectionSet decodesTo RootMutation
login requiredArgs object_ =
Object.selectionForCompositeField "login" [ Argument.required "PI:PASSWORD:<PASSWORD>END_PI" requiredArgs.password Encode.string, Argument.required "username" requiredArgs.username Encode.string ] object_ identity
type alias PostCommentOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Comments_on_conflict }
type alias PostCommentRequiredArguments =
{ object : Hasura.InputObject.Comments_insert_input }
{-| insert a single row into the table: "comments"
- object - the row to be inserted
- on\_conflict - on conflict condition
-}
post_comment : (PostCommentOptionalArguments -> PostCommentOptionalArguments) -> PostCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
post_comment fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeComments_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "post_comment" (optionalArgs ++ [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeComments_insert_input ]) object_ (identity >> Decode.nullable)
type alias PublishArticleOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Articles_on_conflict }
type alias PublishArticleRequiredArguments =
{ object : Hasura.InputObject.Articles_insert_input }
{-| insert a single row into the table: "articles"
- object - the row to be inserted
- on\_conflict - on conflict condition
-}
publish_article : (PublishArticleOptionalArguments -> PublishArticleOptionalArguments) -> PublishArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles -> SelectionSet (Maybe decodesTo) RootMutation
publish_article fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeArticles_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "publish_article" (optionalArgs ++ [ Argument.required "object" requiredArgs.object Hasura.InputObject.encodeArticles_insert_input ]) object_ (identity >> Decode.nullable)
type alias PublishArticlesOptionalArguments =
{ on_conflict : OptionalArgument Hasura.InputObject.Articles_on_conflict }
type alias PublishArticlesRequiredArguments =
{ objects : List Hasura.InputObject.Articles_insert_input }
{-| insert data into the table: "articles"
- objects - the rows to be inserted
- on\_conflict - on conflict condition
-}
publish_articles : (PublishArticlesOptionalArguments -> PublishArticlesOptionalArguments) -> PublishArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
publish_articles fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { on_conflict = Absent }
optionalArgs =
[ Argument.optional "on_conflict" filledInOptionals.on_conflict Hasura.InputObject.encodeArticles_on_conflict ]
|> List.filterMap identity
in
Object.selectionForCompositeField "publish_articles" (optionalArgs ++ [ Argument.required "objects" requiredArgs.objects (Hasura.InputObject.encodeArticles_insert_input |> Encode.list) ]) object_ (identity >> Decode.nullable)
type alias SignupRequiredArguments =
{ email : String
, password : String
, username : String
}
{-| perform the action: "signup"
-}
signup : SignupRequiredArguments -> SelectionSet decodesTo Hasura.Object.TokenResponse -> SelectionSet decodesTo RootMutation
signup requiredArgs object_ =
Object.selectionForCompositeField "signup" [ Argument.required "email" requiredArgs.email Encode.string, Argument.required "password" requiredArgs.password Encode.string, Argument.required "username" requiredArgs.username Encode.string ] object_ identity
type alias UnfollowAuthorsRequiredArguments =
{ where_ : Hasura.InputObject.Follows_bool_exp }
{-| delete data from the table: "follows"
- where\_ - filter the rows which have to be deleted
-}
unfollow_authors : UnfollowAuthorsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Follows_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
unfollow_authors requiredArgs object_ =
Object.selectionForCompositeField "unfollow_authors" [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeFollows_bool_exp ] object_ (identity >> Decode.nullable)
type alias UnlikeArticleRequiredArguments =
{ article_id : Int }
{-| perform the action: "unlike\_article"
-}
unlike_article : UnlikeArticleRequiredArguments -> SelectionSet decodesTo Hasura.Object.UnlikeResponse -> SelectionSet decodesTo RootMutation
unlike_article requiredArgs object_ =
Object.selectionForCompositeField "unlike_article" [ Argument.required "article_id" requiredArgs.article_id Encode.int ] object_ identity
type alias UpdateArticlesOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Articles_set_input }
type alias UpdateArticlesRequiredArguments =
{ where_ : Hasura.InputObject.Articles_bool_exp }
{-| update data of the table: "articles"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_articles : (UpdateArticlesOptionalArguments -> UpdateArticlesOptionalArguments) -> UpdateArticlesRequiredArguments -> SelectionSet decodesTo Hasura.Object.Articles_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_articles fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeArticles_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_articles" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeArticles_bool_exp ]) object_ (identity >> Decode.nullable)
type alias UpdateCommentOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Comments_set_input }
type alias UpdateCommentRequiredArguments =
{ pk_columns : Hasura.InputObject.Comments_pk_columns_input }
{-| update single row of the table: "comments"
- set\_ - sets the columns of the filtered rows to the given values
-}
update_comment : (UpdateCommentOptionalArguments -> UpdateCommentOptionalArguments) -> UpdateCommentRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments -> SelectionSet (Maybe decodesTo) RootMutation
update_comment fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeComments_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_comment" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeComments_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias UpdateCommentsOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Comments_set_input }
type alias UpdateCommentsRequiredArguments =
{ where_ : Hasura.InputObject.Comments_bool_exp }
{-| update data of the table: "comments"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_comments : (UpdateCommentsOptionalArguments -> UpdateCommentsOptionalArguments) -> UpdateCommentsRequiredArguments -> SelectionSet decodesTo Hasura.Object.Comments_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_comments fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeComments_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_comments" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeComments_bool_exp ]) object_ (identity >> Decode.nullable)
type alias UpdateUserOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Users_set_input }
type alias UpdateUserRequiredArguments =
{ pk_columns : Hasura.InputObject.Users_pk_columns_input }
{-| update single row of the table: "users"
- set\_ - sets the columns of the filtered rows to the given values
-}
update_user : (UpdateUserOptionalArguments -> UpdateUserOptionalArguments) -> UpdateUserRequiredArguments -> SelectionSet decodesTo Hasura.Object.Users -> SelectionSet (Maybe decodesTo) RootMutation
update_user fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeUsers_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_user" (optionalArgs ++ [ Argument.required "pk_columns" requiredArgs.pk_columns Hasura.InputObject.encodeUsers_pk_columns_input ]) object_ (identity >> Decode.nullable)
type alias UpdateUsersOptionalArguments =
{ set_ : OptionalArgument Hasura.InputObject.Users_set_input }
type alias UpdateUsersRequiredArguments =
{ where_ : Hasura.InputObject.Users_bool_exp }
{-| update data of the table: "users"
- set\_ - sets the columns of the filtered rows to the given values
- where\_ - filter the rows which have to be updated
-}
update_users : (UpdateUsersOptionalArguments -> UpdateUsersOptionalArguments) -> UpdateUsersRequiredArguments -> SelectionSet decodesTo Hasura.Object.Users_mutation_response -> SelectionSet (Maybe decodesTo) RootMutation
update_users fillInOptionals requiredArgs object_ =
let
filledInOptionals =
fillInOptionals { set_ = Absent }
optionalArgs =
[ Argument.optional "_set" filledInOptionals.set_ Hasura.InputObject.encodeUsers_set_input ]
|> List.filterMap identity
in
Object.selectionForCompositeField "update_users" (optionalArgs ++ [ Argument.required "where" requiredArgs.where_ Hasura.InputObject.encodeUsers_bool_exp ]) object_ (identity >> Decode.nullable)
| elm |
[
{
"context": "uHeader []\n [ UI.panelMenuTitle [] [ text \"Almanac\" ]\n , UI.panelMenuTextfield []\n ",
"end": 1018,
"score": 0.8714828491,
"start": 1011,
"tag": "NAME",
"value": "Almanac"
}
] | src/App/Page.elm | mfeineis/kata-chatapp | 0 | module App.Page exposing (Intent(..), Model, view)
import App.Stream as Stream exposing (Stream, Topic)
import App.UI as UI exposing (ButtonModifier(..), PillModifier(..))
import Browser
import Html exposing (Html, button, div, input, li, ol, span, text)
import Html.Attributes as Attr exposing (class, disabled, placeholder)
type alias Model =
{ streams : List Stream
}
type Intent
= NoOp
view : Model -> Browser.Document Intent
view model =
{ title = "Chat"
, body =
[ UI.layout []
[ UI.layoutContent []
[ header model
, UI.mainContent [ Attr.attribute "role" "main" ]
[ toolPanel model
, toolPanelMenu model
, streamPanel model
, detailPanel model
, threadPanel model
]
]
]
]
}
-- HEADER
header _ =
UI.panelMenuHeader []
[ UI.panelMenuTitle [] [ text "Almanac" ]
, UI.panelMenuTextfield []
[ input [ placeholder "What are you looking for?" ] []
]
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🍔"
, UI.pill [ PrimaryPill, SupPill ] [] [ text "3" ]
]
]
]
toolPanel _ =
UI.toolPanel []
[ UI.toolPanelItems []
[ UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "\u{1F9EA}"
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👔"
, UI.pill [ SupPill ] [] [ text "1" ]
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👕"
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👗"
]
]
]
, UI.toolPanelTools []
[ UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "⚙️"
]
]
]
]
toolPanelMenu _ =
UI.toolPanelMenu []
[ UI.toolPanelItems []
[ UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F9F6}" ]
, UI.menuEntryLabel [] [ text "Do Something" ]
]
]
, UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F9F8}" ]
, UI.menuEntryLabel [] [ text "Do Another Thing" ]
]
]
]
, UI.toolPanelTools []
[ UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F97C}" ]
, UI.menuEntryLabel [] [ text "Experimental" ]
]
]
]
]
-- STREAMS
streamPanel : { a | streams : List Stream } -> Html Intent
streamPanel { streams } =
UI.toolPanelMenu []
[ UI.toolPanelItems []
(List.map streamItem streams)
]
streamItem : Stream -> Html Intent
streamItem stream =
UI.toolPanelItem []
[ UI.streamItemHighlighted []
[ UI.streamItemIcon [] [ text "💢" ]
, UI.streamItemLabel [] [ text (Stream.name stream) ]
, span []
[ UI.pill [ InlinePill, PrimaryPill ]
[]
[ text "1" ]
]
]
, UI.toolPanelItems []
(List.map topicItem (Stream.topics stream))
]
topicItem : Topic -> Html Intent
topicItem name =
UI.toolPanelItem []
[ UI.streamItemSub []
[ UI.streamItemIcon [] [ text "📎" ]
, UI.streamItemLabel [] [ text (Stream.topicName name) ]
]
]
-- DETAILS
detailPanel : a -> Html Intent
detailPanel _ =
UI.detailPanel []
[ UI.panelMenu []
[ UI.panelMenuSpacing [] []
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🍔"
]
]
]
, UI.panelContent []
[ text "Details..."
, UI.button [ PrimaryButton ] [ disabled True ]
[ text "A disabled button" ]
, text "Some more text and finally"
, UI.button [ PrimaryButton ] []
[ text "An active button" ]
, UI.button [ PrimaryButton, SmallButton ] []
[ text "A small button" ]
, UI.button [ LargeButton, PrimaryButton ] []
[ text "A large button" ]
]
]
-- THREADS
threadPanel : a -> Html Intent
threadPanel _ =
UI.threadPanel []
[ UI.panelMenu []
[ li []
[ UI.button [ IconButton ] [ disabled True ]
[ text "🖌"
]
]
, li []
[ UI.button [ IconButton, PrimaryButton ] []
[ text "💡"
]
]
, UI.panelMenuTitle []
[ text "Conversation"
]
, UI.panelMenuSpacing [] []
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🐣"
]
]
]
, UI.panelContent []
[ text "Content"
]
, UI.panelMenuFooter []
[ UI.panelMenuTextfield []
[ input [ placeholder "Write something!" ] []
]
, UI.button [ IconButton, PrimaryButton ] []
[ text "📬" ]
]
]
| 33327 | module App.Page exposing (Intent(..), Model, view)
import App.Stream as Stream exposing (Stream, Topic)
import App.UI as UI exposing (ButtonModifier(..), PillModifier(..))
import Browser
import Html exposing (Html, button, div, input, li, ol, span, text)
import Html.Attributes as Attr exposing (class, disabled, placeholder)
type alias Model =
{ streams : List Stream
}
type Intent
= NoOp
view : Model -> Browser.Document Intent
view model =
{ title = "Chat"
, body =
[ UI.layout []
[ UI.layoutContent []
[ header model
, UI.mainContent [ Attr.attribute "role" "main" ]
[ toolPanel model
, toolPanelMenu model
, streamPanel model
, detailPanel model
, threadPanel model
]
]
]
]
}
-- HEADER
header _ =
UI.panelMenuHeader []
[ UI.panelMenuTitle [] [ text "<NAME>" ]
, UI.panelMenuTextfield []
[ input [ placeholder "What are you looking for?" ] []
]
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🍔"
, UI.pill [ PrimaryPill, SupPill ] [] [ text "3" ]
]
]
]
toolPanel _ =
UI.toolPanel []
[ UI.toolPanelItems []
[ UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "\u{1F9EA}"
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👔"
, UI.pill [ SupPill ] [] [ text "1" ]
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👕"
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👗"
]
]
]
, UI.toolPanelTools []
[ UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "⚙️"
]
]
]
]
toolPanelMenu _ =
UI.toolPanelMenu []
[ UI.toolPanelItems []
[ UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F9F6}" ]
, UI.menuEntryLabel [] [ text "Do Something" ]
]
]
, UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F9F8}" ]
, UI.menuEntryLabel [] [ text "Do Another Thing" ]
]
]
]
, UI.toolPanelTools []
[ UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F97C}" ]
, UI.menuEntryLabel [] [ text "Experimental" ]
]
]
]
]
-- STREAMS
streamPanel : { a | streams : List Stream } -> Html Intent
streamPanel { streams } =
UI.toolPanelMenu []
[ UI.toolPanelItems []
(List.map streamItem streams)
]
streamItem : Stream -> Html Intent
streamItem stream =
UI.toolPanelItem []
[ UI.streamItemHighlighted []
[ UI.streamItemIcon [] [ text "💢" ]
, UI.streamItemLabel [] [ text (Stream.name stream) ]
, span []
[ UI.pill [ InlinePill, PrimaryPill ]
[]
[ text "1" ]
]
]
, UI.toolPanelItems []
(List.map topicItem (Stream.topics stream))
]
topicItem : Topic -> Html Intent
topicItem name =
UI.toolPanelItem []
[ UI.streamItemSub []
[ UI.streamItemIcon [] [ text "📎" ]
, UI.streamItemLabel [] [ text (Stream.topicName name) ]
]
]
-- DETAILS
detailPanel : a -> Html Intent
detailPanel _ =
UI.detailPanel []
[ UI.panelMenu []
[ UI.panelMenuSpacing [] []
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🍔"
]
]
]
, UI.panelContent []
[ text "Details..."
, UI.button [ PrimaryButton ] [ disabled True ]
[ text "A disabled button" ]
, text "Some more text and finally"
, UI.button [ PrimaryButton ] []
[ text "An active button" ]
, UI.button [ PrimaryButton, SmallButton ] []
[ text "A small button" ]
, UI.button [ LargeButton, PrimaryButton ] []
[ text "A large button" ]
]
]
-- THREADS
threadPanel : a -> Html Intent
threadPanel _ =
UI.threadPanel []
[ UI.panelMenu []
[ li []
[ UI.button [ IconButton ] [ disabled True ]
[ text "🖌"
]
]
, li []
[ UI.button [ IconButton, PrimaryButton ] []
[ text "💡"
]
]
, UI.panelMenuTitle []
[ text "Conversation"
]
, UI.panelMenuSpacing [] []
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🐣"
]
]
]
, UI.panelContent []
[ text "Content"
]
, UI.panelMenuFooter []
[ UI.panelMenuTextfield []
[ input [ placeholder "Write something!" ] []
]
, UI.button [ IconButton, PrimaryButton ] []
[ text "📬" ]
]
]
| true | module App.Page exposing (Intent(..), Model, view)
import App.Stream as Stream exposing (Stream, Topic)
import App.UI as UI exposing (ButtonModifier(..), PillModifier(..))
import Browser
import Html exposing (Html, button, div, input, li, ol, span, text)
import Html.Attributes as Attr exposing (class, disabled, placeholder)
type alias Model =
{ streams : List Stream
}
type Intent
= NoOp
view : Model -> Browser.Document Intent
view model =
{ title = "Chat"
, body =
[ UI.layout []
[ UI.layoutContent []
[ header model
, UI.mainContent [ Attr.attribute "role" "main" ]
[ toolPanel model
, toolPanelMenu model
, streamPanel model
, detailPanel model
, threadPanel model
]
]
]
]
}
-- HEADER
header _ =
UI.panelMenuHeader []
[ UI.panelMenuTitle [] [ text "PI:NAME:<NAME>END_PI" ]
, UI.panelMenuTextfield []
[ input [ placeholder "What are you looking for?" ] []
]
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🍔"
, UI.pill [ PrimaryPill, SupPill ] [] [ text "3" ]
]
]
]
toolPanel _ =
UI.toolPanel []
[ UI.toolPanelItems []
[ UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "\u{1F9EA}"
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👔"
, UI.pill [ SupPill ] [] [ text "1" ]
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👕"
]
]
, UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "👗"
]
]
]
, UI.toolPanelTools []
[ UI.toolPanelItem []
[ UI.button [ IconButton ] []
[ text "⚙️"
]
]
]
]
toolPanelMenu _ =
UI.toolPanelMenu []
[ UI.toolPanelItems []
[ UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F9F6}" ]
, UI.menuEntryLabel [] [ text "Do Something" ]
]
]
, UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F9F8}" ]
, UI.menuEntryLabel [] [ text "Do Another Thing" ]
]
]
]
, UI.toolPanelTools []
[ UI.toolPanelItem []
[ UI.menuEntry []
[ UI.menuEntryIcon [] [ text "\u{1F97C}" ]
, UI.menuEntryLabel [] [ text "Experimental" ]
]
]
]
]
-- STREAMS
streamPanel : { a | streams : List Stream } -> Html Intent
streamPanel { streams } =
UI.toolPanelMenu []
[ UI.toolPanelItems []
(List.map streamItem streams)
]
streamItem : Stream -> Html Intent
streamItem stream =
UI.toolPanelItem []
[ UI.streamItemHighlighted []
[ UI.streamItemIcon [] [ text "💢" ]
, UI.streamItemLabel [] [ text (Stream.name stream) ]
, span []
[ UI.pill [ InlinePill, PrimaryPill ]
[]
[ text "1" ]
]
]
, UI.toolPanelItems []
(List.map topicItem (Stream.topics stream))
]
topicItem : Topic -> Html Intent
topicItem name =
UI.toolPanelItem []
[ UI.streamItemSub []
[ UI.streamItemIcon [] [ text "📎" ]
, UI.streamItemLabel [] [ text (Stream.topicName name) ]
]
]
-- DETAILS
detailPanel : a -> Html Intent
detailPanel _ =
UI.detailPanel []
[ UI.panelMenu []
[ UI.panelMenuSpacing [] []
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🍔"
]
]
]
, UI.panelContent []
[ text "Details..."
, UI.button [ PrimaryButton ] [ disabled True ]
[ text "A disabled button" ]
, text "Some more text and finally"
, UI.button [ PrimaryButton ] []
[ text "An active button" ]
, UI.button [ PrimaryButton, SmallButton ] []
[ text "A small button" ]
, UI.button [ LargeButton, PrimaryButton ] []
[ text "A large button" ]
]
]
-- THREADS
threadPanel : a -> Html Intent
threadPanel _ =
UI.threadPanel []
[ UI.panelMenu []
[ li []
[ UI.button [ IconButton ] [ disabled True ]
[ text "🖌"
]
]
, li []
[ UI.button [ IconButton, PrimaryButton ] []
[ text "💡"
]
]
, UI.panelMenuTitle []
[ text "Conversation"
]
, UI.panelMenuSpacing [] []
, UI.panelMenuMenu []
[ UI.button [ IconButton ] []
[ text "🐣"
]
]
]
, UI.panelContent []
[ text "Content"
]
, UI.panelMenuFooter []
[ UI.panelMenuTextfield []
[ input [ placeholder "Write something!" ] []
]
, UI.button [ IconButton, PrimaryButton ] []
[ text "📬" ]
]
]
| elm |
[
{
"context": " -- e.g. [(\"Destination.ToAddresses.member.1\", \"foobar@example.com\")]\n List.indexedMap (\\i s -> ( prefix ++ Strin",
"end": 1150,
"score": 0.9999057651,
"start": 1132,
"tag": "EMAIL",
"value": "foobar@example.com"
}
] | src/AWS/SQS.elm | choonkeat/elm-aws | 0 | module AWS.SQS exposing
( OutgoingMessage(..), Response(..), unsignedRequest
, paramsForMessages, decodeResponse
)
{-| Implementation of <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-working-with-apis.html>
@docs OutgoingMessage, Response, unsignedRequest
## Tested internals
@docs paramsForMessages, decodeResponse
-}
import AWS
import AWS.DynamoDB
import AWS.Internal
import AWS.Types exposing (..)
import Base64
import Dict
import Http
import Json.Decode
import Json.Encode
import Platform exposing (Task)
import String exposing (toInt)
import Task
import Time
import Url
import Xml.Decode
{-| -}
type OutgoingMessage
= OutgoingMessage
{ body : String
, attributes : List { name : String, type_ : String, value : String }
-- https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatchRequestEntry.html
-- , id : String -- autogenerated since: "The Ids of a batch request need to be unique within a request."
}
indexedTuples prefix suffix list =
-- e.g. [("Destination.ToAddresses.member.1", "foobar@example.com")]
List.indexedMap (\i s -> ( prefix ++ String.fromInt (i + 1) ++ suffix, s )) list
{-|
expectedParams : List ( String, String )
expectedParams =
[ ("Action","SendMessageBatch")
, ("SendMessageBatchRequestEntry.1.Id","0")
, ("SendMessageBatchRequestEntry.2.Id","1")
, ("SendMessageBatchRequestEntry.1.MessageBody","alpha message")
, ("SendMessageBatchRequestEntry.2.MessageBody","beta message")
, ("SendMessageBatchRequestEntry.1.MessageGroupId","MessageGroup123")
, ("SendMessageBatchRequestEntry.2.MessageGroupId","MessageGroup123")
]
paramsForMessages "MessageGroup123"
[ OutgoingMessage
{ body = "alpha message"
, attributes = [ { name = "nameA", type_ = "typeA", value = "valueA" }]
}
, OutgoingMessage
{ body = "beta message"
, attributes = [ { name = "nameB", type_ = "typeB", value = "valueB" }]
}
]
--> expectedParams
-}
paramsForMessages : String -> List OutgoingMessage -> List ( String, String )
paramsForMessages messageGroupId messages =
List.concat
[ [ ( "Action", "SendMessageBatch" ) ]
, indexedTuples "SendMessageBatchRequestEntry." ".Id" (List.indexedMap (\i _ -> String.fromInt i) messages)
, indexedTuples "SendMessageBatchRequestEntry." ".MessageBody" (List.map (\(OutgoingMessage { body }) -> body) messages)
, indexedTuples "SendMessageBatchRequestEntry." ".MessageGroupId" (List.map (always messageGroupId) messages)
]
{-| Construct an `UnsignedRequest` for SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html>, e.g.
import Http
import AWS.Types
import Url
queueUrl : Url.Url
queueUrl =
{ protocol = Url.Https
, host = "somequeue"
, port_ = Nothing
, path = "/123/queue.fifo"
, query = Nothing
, fragment = Nothing
}
unsignedResult : AWS.Types.UnsignedRequest Http.Error Response
unsignedResult =
unsignedRequest queueUrl "messageGroupABC"
[ OutgoingMessage
{ body = "alpha message"
, attributes = [ { name = "nameA", type_ = "typeA", value = "valueA" }]
}
, OutgoingMessage
{ body = "beta message"
, attributes = [ { name = "nameB", type_ = "typeB", value = "valueB" }]
}
]
unsignedResult.method
--> "POST"
unsignedResult.headers
--> [("Content-Type","application/x-www-form-urlencoded")]
unsignedResult.stringBody
--> "Action=SendMessageBatch&SendMessageBatchRequestEntry.1.Id=0&SendMessageBatchRequestEntry.2.Id=1&SendMessageBatchRequestEntry.1.MessageBody=alpha%20message&SendMessageBatchRequestEntry.2.MessageBody=beta%20message&SendMessageBatchRequestEntry.1.MessageGroupId=messageGroupABC&SendMessageBatchRequestEntry.2.MessageGroupId=messageGroupABC"
unsignedResult.service
--> AWS.Types.ServiceSQS queueUrl
usage config now unsignedResult =
unsignedResult
|> Result.andThen (AWS.signRequest config now)
|> Result.map Http.task
-}
unsignedRequest : Url.Url -> String -> List OutgoingMessage -> UnsignedRequest Http.Error Response
unsignedRequest queueUrl messageGroupId outgoingMessages =
let
toUnsignedRequest params =
let
stringBody =
params
|> List.map (\( k, v ) -> k ++ "=" ++ AWS.Internal.awsPercentEncode v)
|> String.join "&"
in
{ method = "POST"
, headers = [ ( "Content-Type", "application/x-www-form-urlencoded" ) ]
, query = []
, stringBody = stringBody
, resolver = Http.stringResolver (AWS.Internal.decodeHttpResponse (Xml.Decode.decodeString decodeResponse) identity)
, service = AWS.Types.ServiceSQS queueUrl
}
in
paramsForMessages messageGroupId outgoingMessages
|> toUnsignedRequest
{-| Response from SES API
See <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-ses-api-responses.html>
-}
type Response
= Error { type_ : String, code : String, message : String }
| Success { messageIds : List String, requestId : String }
{-|
import Xml.Decode
--
-- Success scenario
"""
<SendMessageBatchResponse>
<SendMessageBatchResult>
<SendMessageBatchResultEntry>
<Id>test_msg_001</Id>
<MessageId>0a5231c7-8bff-4955-be2e-8dc7c50a25fa</MessageId>
<MD5OfMessageBody>0e024d309850c78cba5eabbeff7cae71</MD5OfMessageBody>
</SendMessageBatchResultEntry>
<SendMessageBatchResultEntry>
<Id>test_msg_002</Id>
<MessageId>15ee1ed3-87e7-40c1-bdaa-2e49968ea7e9</MessageId>
<MD5OfMessageBody>7fb8146a82f95e0af155278f406862c2</MD5OfMessageBody>
<MD5OfMessageAttributes>295c5fa15a51aae6884d1d7c1d99ca50</MD5OfMessageAttributes>
</SendMessageBatchResultEntry>
</SendMessageBatchResult>
<ResponseMetadata>
<RequestId>ca1ad5d0-8271-408b-8d0f-1351bf547e74</RequestId>
</ResponseMetadata>
</SendMessageBatchResponse>
"""
|> Xml.Decode.run decodeResponse
--> Ok (Success { messageIds = ["test_msg_001","test_msg_002"], requestId = "ca1ad5d0-8271-408b-8d0f-1351bf547e74" })
--
-- Error scenario
"""
<ErrorResponse>
<Error>
<Type>
Sender
</Type>
<Code>
ValidationError
</Code>
<Message>
Value null at 'message.subject' failed to satisfy constraint: Member must not be null
</Message>
</Error>
<RequestId>
42d59b56-7407-4c4a-be0f-4c88daeea257
</RequestId>
</ErrorResponse>
"""
|> Xml.Decode.run decodeResponse
--> Ok (Error { type_ = "Sender", code = "ValidationError", message = "Value null at 'message.subject' failed to satisfy constraint: Member must not be null" })
-}
decodeResponse : Xml.Decode.Decoder Response
decodeResponse =
Xml.Decode.oneOf
[ -- Error
Xml.Decode.succeed (\type_ code message -> Error { type_ = type_, code = code, message = message })
|> Xml.Decode.requiredPath [ "Error", "Type" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
|> Xml.Decode.requiredPath [ "Error", "Code" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
|> Xml.Decode.requiredPath [ "Error", "Message" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
-- SendMessageBatch
, Xml.Decode.succeed (\messageIds requestId -> Success { messageIds = messageIds, requestId = requestId })
|> Xml.Decode.requiredPath [ "SendMessageBatchResult", "SendMessageBatchResultEntry", "Id" ] (Xml.Decode.list Xml.Decode.string)
|> Xml.Decode.requiredPath [ "ResponseMetadata", "RequestId" ] (Xml.Decode.single Xml.Decode.string)
]
| 5417 | module AWS.SQS exposing
( OutgoingMessage(..), Response(..), unsignedRequest
, paramsForMessages, decodeResponse
)
{-| Implementation of <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-working-with-apis.html>
@docs OutgoingMessage, Response, unsignedRequest
## Tested internals
@docs paramsForMessages, decodeResponse
-}
import AWS
import AWS.DynamoDB
import AWS.Internal
import AWS.Types exposing (..)
import Base64
import Dict
import Http
import Json.Decode
import Json.Encode
import Platform exposing (Task)
import String exposing (toInt)
import Task
import Time
import Url
import Xml.Decode
{-| -}
type OutgoingMessage
= OutgoingMessage
{ body : String
, attributes : List { name : String, type_ : String, value : String }
-- https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatchRequestEntry.html
-- , id : String -- autogenerated since: "The Ids of a batch request need to be unique within a request."
}
indexedTuples prefix suffix list =
-- e.g. [("Destination.ToAddresses.member.1", "<EMAIL>")]
List.indexedMap (\i s -> ( prefix ++ String.fromInt (i + 1) ++ suffix, s )) list
{-|
expectedParams : List ( String, String )
expectedParams =
[ ("Action","SendMessageBatch")
, ("SendMessageBatchRequestEntry.1.Id","0")
, ("SendMessageBatchRequestEntry.2.Id","1")
, ("SendMessageBatchRequestEntry.1.MessageBody","alpha message")
, ("SendMessageBatchRequestEntry.2.MessageBody","beta message")
, ("SendMessageBatchRequestEntry.1.MessageGroupId","MessageGroup123")
, ("SendMessageBatchRequestEntry.2.MessageGroupId","MessageGroup123")
]
paramsForMessages "MessageGroup123"
[ OutgoingMessage
{ body = "alpha message"
, attributes = [ { name = "nameA", type_ = "typeA", value = "valueA" }]
}
, OutgoingMessage
{ body = "beta message"
, attributes = [ { name = "nameB", type_ = "typeB", value = "valueB" }]
}
]
--> expectedParams
-}
paramsForMessages : String -> List OutgoingMessage -> List ( String, String )
paramsForMessages messageGroupId messages =
List.concat
[ [ ( "Action", "SendMessageBatch" ) ]
, indexedTuples "SendMessageBatchRequestEntry." ".Id" (List.indexedMap (\i _ -> String.fromInt i) messages)
, indexedTuples "SendMessageBatchRequestEntry." ".MessageBody" (List.map (\(OutgoingMessage { body }) -> body) messages)
, indexedTuples "SendMessageBatchRequestEntry." ".MessageGroupId" (List.map (always messageGroupId) messages)
]
{-| Construct an `UnsignedRequest` for SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html>, e.g.
import Http
import AWS.Types
import Url
queueUrl : Url.Url
queueUrl =
{ protocol = Url.Https
, host = "somequeue"
, port_ = Nothing
, path = "/123/queue.fifo"
, query = Nothing
, fragment = Nothing
}
unsignedResult : AWS.Types.UnsignedRequest Http.Error Response
unsignedResult =
unsignedRequest queueUrl "messageGroupABC"
[ OutgoingMessage
{ body = "alpha message"
, attributes = [ { name = "nameA", type_ = "typeA", value = "valueA" }]
}
, OutgoingMessage
{ body = "beta message"
, attributes = [ { name = "nameB", type_ = "typeB", value = "valueB" }]
}
]
unsignedResult.method
--> "POST"
unsignedResult.headers
--> [("Content-Type","application/x-www-form-urlencoded")]
unsignedResult.stringBody
--> "Action=SendMessageBatch&SendMessageBatchRequestEntry.1.Id=0&SendMessageBatchRequestEntry.2.Id=1&SendMessageBatchRequestEntry.1.MessageBody=alpha%20message&SendMessageBatchRequestEntry.2.MessageBody=beta%20message&SendMessageBatchRequestEntry.1.MessageGroupId=messageGroupABC&SendMessageBatchRequestEntry.2.MessageGroupId=messageGroupABC"
unsignedResult.service
--> AWS.Types.ServiceSQS queueUrl
usage config now unsignedResult =
unsignedResult
|> Result.andThen (AWS.signRequest config now)
|> Result.map Http.task
-}
unsignedRequest : Url.Url -> String -> List OutgoingMessage -> UnsignedRequest Http.Error Response
unsignedRequest queueUrl messageGroupId outgoingMessages =
let
toUnsignedRequest params =
let
stringBody =
params
|> List.map (\( k, v ) -> k ++ "=" ++ AWS.Internal.awsPercentEncode v)
|> String.join "&"
in
{ method = "POST"
, headers = [ ( "Content-Type", "application/x-www-form-urlencoded" ) ]
, query = []
, stringBody = stringBody
, resolver = Http.stringResolver (AWS.Internal.decodeHttpResponse (Xml.Decode.decodeString decodeResponse) identity)
, service = AWS.Types.ServiceSQS queueUrl
}
in
paramsForMessages messageGroupId outgoingMessages
|> toUnsignedRequest
{-| Response from SES API
See <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-ses-api-responses.html>
-}
type Response
= Error { type_ : String, code : String, message : String }
| Success { messageIds : List String, requestId : String }
{-|
import Xml.Decode
--
-- Success scenario
"""
<SendMessageBatchResponse>
<SendMessageBatchResult>
<SendMessageBatchResultEntry>
<Id>test_msg_001</Id>
<MessageId>0a5231c7-8bff-4955-be2e-8dc7c50a25fa</MessageId>
<MD5OfMessageBody>0e024d309850c78cba5eabbeff7cae71</MD5OfMessageBody>
</SendMessageBatchResultEntry>
<SendMessageBatchResultEntry>
<Id>test_msg_002</Id>
<MessageId>15ee1ed3-87e7-40c1-bdaa-2e49968ea7e9</MessageId>
<MD5OfMessageBody>7fb8146a82f95e0af155278f406862c2</MD5OfMessageBody>
<MD5OfMessageAttributes>295c5fa15a51aae6884d1d7c1d99ca50</MD5OfMessageAttributes>
</SendMessageBatchResultEntry>
</SendMessageBatchResult>
<ResponseMetadata>
<RequestId>ca1ad5d0-8271-408b-8d0f-1351bf547e74</RequestId>
</ResponseMetadata>
</SendMessageBatchResponse>
"""
|> Xml.Decode.run decodeResponse
--> Ok (Success { messageIds = ["test_msg_001","test_msg_002"], requestId = "ca1ad5d0-8271-408b-8d0f-1351bf547e74" })
--
-- Error scenario
"""
<ErrorResponse>
<Error>
<Type>
Sender
</Type>
<Code>
ValidationError
</Code>
<Message>
Value null at 'message.subject' failed to satisfy constraint: Member must not be null
</Message>
</Error>
<RequestId>
42d59b56-7407-4c4a-be0f-4c88daeea257
</RequestId>
</ErrorResponse>
"""
|> Xml.Decode.run decodeResponse
--> Ok (Error { type_ = "Sender", code = "ValidationError", message = "Value null at 'message.subject' failed to satisfy constraint: Member must not be null" })
-}
decodeResponse : Xml.Decode.Decoder Response
decodeResponse =
Xml.Decode.oneOf
[ -- Error
Xml.Decode.succeed (\type_ code message -> Error { type_ = type_, code = code, message = message })
|> Xml.Decode.requiredPath [ "Error", "Type" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
|> Xml.Decode.requiredPath [ "Error", "Code" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
|> Xml.Decode.requiredPath [ "Error", "Message" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
-- SendMessageBatch
, Xml.Decode.succeed (\messageIds requestId -> Success { messageIds = messageIds, requestId = requestId })
|> Xml.Decode.requiredPath [ "SendMessageBatchResult", "SendMessageBatchResultEntry", "Id" ] (Xml.Decode.list Xml.Decode.string)
|> Xml.Decode.requiredPath [ "ResponseMetadata", "RequestId" ] (Xml.Decode.single Xml.Decode.string)
]
| true | module AWS.SQS exposing
( OutgoingMessage(..), Response(..), unsignedRequest
, paramsForMessages, decodeResponse
)
{-| Implementation of <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-working-with-apis.html>
@docs OutgoingMessage, Response, unsignedRequest
## Tested internals
@docs paramsForMessages, decodeResponse
-}
import AWS
import AWS.DynamoDB
import AWS.Internal
import AWS.Types exposing (..)
import Base64
import Dict
import Http
import Json.Decode
import Json.Encode
import Platform exposing (Task)
import String exposing (toInt)
import Task
import Time
import Url
import Xml.Decode
{-| -}
type OutgoingMessage
= OutgoingMessage
{ body : String
, attributes : List { name : String, type_ : String, value : String }
-- https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatchRequestEntry.html
-- , id : String -- autogenerated since: "The Ids of a batch request need to be unique within a request."
}
indexedTuples prefix suffix list =
-- e.g. [("Destination.ToAddresses.member.1", "PI:EMAIL:<EMAIL>END_PI")]
List.indexedMap (\i s -> ( prefix ++ String.fromInt (i + 1) ++ suffix, s )) list
{-|
expectedParams : List ( String, String )
expectedParams =
[ ("Action","SendMessageBatch")
, ("SendMessageBatchRequestEntry.1.Id","0")
, ("SendMessageBatchRequestEntry.2.Id","1")
, ("SendMessageBatchRequestEntry.1.MessageBody","alpha message")
, ("SendMessageBatchRequestEntry.2.MessageBody","beta message")
, ("SendMessageBatchRequestEntry.1.MessageGroupId","MessageGroup123")
, ("SendMessageBatchRequestEntry.2.MessageGroupId","MessageGroup123")
]
paramsForMessages "MessageGroup123"
[ OutgoingMessage
{ body = "alpha message"
, attributes = [ { name = "nameA", type_ = "typeA", value = "valueA" }]
}
, OutgoingMessage
{ body = "beta message"
, attributes = [ { name = "nameB", type_ = "typeB", value = "valueB" }]
}
]
--> expectedParams
-}
paramsForMessages : String -> List OutgoingMessage -> List ( String, String )
paramsForMessages messageGroupId messages =
List.concat
[ [ ( "Action", "SendMessageBatch" ) ]
, indexedTuples "SendMessageBatchRequestEntry." ".Id" (List.indexedMap (\i _ -> String.fromInt i) messages)
, indexedTuples "SendMessageBatchRequestEntry." ".MessageBody" (List.map (\(OutgoingMessage { body }) -> body) messages)
, indexedTuples "SendMessageBatchRequestEntry." ".MessageGroupId" (List.map (always messageGroupId) messages)
]
{-| Construct an `UnsignedRequest` for SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html>, e.g.
import Http
import AWS.Types
import Url
queueUrl : Url.Url
queueUrl =
{ protocol = Url.Https
, host = "somequeue"
, port_ = Nothing
, path = "/123/queue.fifo"
, query = Nothing
, fragment = Nothing
}
unsignedResult : AWS.Types.UnsignedRequest Http.Error Response
unsignedResult =
unsignedRequest queueUrl "messageGroupABC"
[ OutgoingMessage
{ body = "alpha message"
, attributes = [ { name = "nameA", type_ = "typeA", value = "valueA" }]
}
, OutgoingMessage
{ body = "beta message"
, attributes = [ { name = "nameB", type_ = "typeB", value = "valueB" }]
}
]
unsignedResult.method
--> "POST"
unsignedResult.headers
--> [("Content-Type","application/x-www-form-urlencoded")]
unsignedResult.stringBody
--> "Action=SendMessageBatch&SendMessageBatchRequestEntry.1.Id=0&SendMessageBatchRequestEntry.2.Id=1&SendMessageBatchRequestEntry.1.MessageBody=alpha%20message&SendMessageBatchRequestEntry.2.MessageBody=beta%20message&SendMessageBatchRequestEntry.1.MessageGroupId=messageGroupABC&SendMessageBatchRequestEntry.2.MessageGroupId=messageGroupABC"
unsignedResult.service
--> AWS.Types.ServiceSQS queueUrl
usage config now unsignedResult =
unsignedResult
|> Result.andThen (AWS.signRequest config now)
|> Result.map Http.task
-}
unsignedRequest : Url.Url -> String -> List OutgoingMessage -> UnsignedRequest Http.Error Response
unsignedRequest queueUrl messageGroupId outgoingMessages =
let
toUnsignedRequest params =
let
stringBody =
params
|> List.map (\( k, v ) -> k ++ "=" ++ AWS.Internal.awsPercentEncode v)
|> String.join "&"
in
{ method = "POST"
, headers = [ ( "Content-Type", "application/x-www-form-urlencoded" ) ]
, query = []
, stringBody = stringBody
, resolver = Http.stringResolver (AWS.Internal.decodeHttpResponse (Xml.Decode.decodeString decodeResponse) identity)
, service = AWS.Types.ServiceSQS queueUrl
}
in
paramsForMessages messageGroupId outgoingMessages
|> toUnsignedRequest
{-| Response from SES API
See <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-ses-api-responses.html>
-}
type Response
= Error { type_ : String, code : String, message : String }
| Success { messageIds : List String, requestId : String }
{-|
import Xml.Decode
--
-- Success scenario
"""
<SendMessageBatchResponse>
<SendMessageBatchResult>
<SendMessageBatchResultEntry>
<Id>test_msg_001</Id>
<MessageId>0a5231c7-8bff-4955-be2e-8dc7c50a25fa</MessageId>
<MD5OfMessageBody>0e024d309850c78cba5eabbeff7cae71</MD5OfMessageBody>
</SendMessageBatchResultEntry>
<SendMessageBatchResultEntry>
<Id>test_msg_002</Id>
<MessageId>15ee1ed3-87e7-40c1-bdaa-2e49968ea7e9</MessageId>
<MD5OfMessageBody>7fb8146a82f95e0af155278f406862c2</MD5OfMessageBody>
<MD5OfMessageAttributes>295c5fa15a51aae6884d1d7c1d99ca50</MD5OfMessageAttributes>
</SendMessageBatchResultEntry>
</SendMessageBatchResult>
<ResponseMetadata>
<RequestId>ca1ad5d0-8271-408b-8d0f-1351bf547e74</RequestId>
</ResponseMetadata>
</SendMessageBatchResponse>
"""
|> Xml.Decode.run decodeResponse
--> Ok (Success { messageIds = ["test_msg_001","test_msg_002"], requestId = "ca1ad5d0-8271-408b-8d0f-1351bf547e74" })
--
-- Error scenario
"""
<ErrorResponse>
<Error>
<Type>
Sender
</Type>
<Code>
ValidationError
</Code>
<Message>
Value null at 'message.subject' failed to satisfy constraint: Member must not be null
</Message>
</Error>
<RequestId>
42d59b56-7407-4c4a-be0f-4c88daeea257
</RequestId>
</ErrorResponse>
"""
|> Xml.Decode.run decodeResponse
--> Ok (Error { type_ = "Sender", code = "ValidationError", message = "Value null at 'message.subject' failed to satisfy constraint: Member must not be null" })
-}
decodeResponse : Xml.Decode.Decoder Response
decodeResponse =
Xml.Decode.oneOf
[ -- Error
Xml.Decode.succeed (\type_ code message -> Error { type_ = type_, code = code, message = message })
|> Xml.Decode.requiredPath [ "Error", "Type" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
|> Xml.Decode.requiredPath [ "Error", "Code" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
|> Xml.Decode.requiredPath [ "Error", "Message" ] (Xml.Decode.single (Xml.Decode.string |> Xml.Decode.map String.trim))
-- SendMessageBatch
, Xml.Decode.succeed (\messageIds requestId -> Success { messageIds = messageIds, requestId = requestId })
|> Xml.Decode.requiredPath [ "SendMessageBatchResult", "SendMessageBatchResultEntry", "Id" ] (Xml.Decode.list Xml.Decode.string)
|> Xml.Decode.requiredPath [ "ResponseMetadata", "RequestId" ] (Xml.Decode.single Xml.Decode.string)
]
| elm |
[
{
"context": "-- Copyright (c) 2013 Grzegorz Balcerek; see the LICENSE.txt file\n\nmodule Tutorial where\n",
"end": 39,
"score": 0.9998588562,
"start": 22,
"tag": "NAME",
"value": "Grzegorz Balcerek"
},
{
"context": "## You can find Preselm [here](https://github.com/grzegorzbalcerek/Preselm).|] }\n\n--------------------------\n\nframe9",
"end": 7330,
"score": 0.9996612072,
"start": 7314,
"tag": "USERNAME",
"value": "grzegorzbalcerek"
}
] | Tutorial.elm | deadfoxygrandpa/Preselm | 2 | -- Copyright (c) 2013 Grzegorz Balcerek; see the LICENSE.txt file
module Tutorial where
import Window
import Keyboard
import Preselm (..)
import Preselm
--------------------------
frame1 = { emptyFrame | middle <- Just [markdown|# Preselm Tutorial
Press *Enter* to continue.|] }
--------------------------
frame2 = { emptyFrame | title <- Just "Navigation", middle <- Just [markdown|
# Welcome to the Preselm Tutorial!
The goal of Preselm is to make it possible and easy to create presentations using the Elm programming language.
Preselm is written in Elm. If you do not know Elm, you can take a look at its [website](http://elm-lang.org/).
Before we continue, let’s see how you can navigate through this presentation.
### Here is what you can do to move forward or backward:
- press the _**right arrow**_, _**Enter**_ or _**n**_ to go to the next frame
- press the _**left arrow**_ or _**p**_ to go to the previous frame
- press _**home**_ or _**h**_ button to go to the first frame
- press _**end**_ or _**e**_ to go to the last frame
### Now, press *Enter* to go to the next frame|] }
--------------------------
hwProgram = "import Preselm
frame1 = { emptyFrame | middle <- Just [markdown|# Hello World!|] }
frame2 = { emptyFrame | title <- Just \"Goodbye\", middle <- Just [markdown|#World!|] }
main = presentation [frame1, frame2]"
frame3 = { emptyFrame | title <- Just "Hello World", column1 <- Just <| [markdown|Let’s create a simple presentation. You can follow the steps described here.
Create a centered file called *HelloWorld.elm* with the content shown on the right hand side.
Then you need to compile it together with Preselm. Here is how you can do it:
elm --make HelloWorld.elm
If the compilation is successful you should get the *HelloWorld.html* file with your presentation.
When you open it in a browser, you should get a Preselm presentation with two frames, which look like the next two frames of this tutorial.
After those two frames the tutorial will continue.
Press *Enter* to continue. |],
column2 <- Just (centered <| monospace <| toText hwProgram) }
--------------------------
hwframe1 = { emptyFrame | middle <- Just [markdown|# Hello World!|] }
--------------------------
hwframe2 = { emptyFrame | title <- Just "Goodbye", middle <- Just [markdown|#World!|] }
--------------------------
frame4 = { emptyFrame | column1 <- Just <| [markdown|
We are back to the tutorial.
Let’s analyze the program line by line. Actually, it is a valid Elm program, so when you write your presentation, you should follow the Elm syntax.
The first line imports Preselm.
The second and third lines define both frames of the presentation.
The last frame defines what the Elm program should actually do by defining the `main` function. Since we create a Preselm presentation, we define `main` to call the `presentation` function (imported from Preselm) and we give it as its argument the list of frames to be included in the presentation. The frame names (here: `frame1` and `frame2`) are not important, they should just be consistent with the names defined earlier.|],
column2 <- Just [markdown|Let’s go back to the second line. It defines the first frame. The frame definition is a record with fields describing the frame. Since there are many possible fields, Preselm provides a default record, called `emptyFrame`, which includes all the fields with default values. When defining our frames we use that default frame and only update relevant fields that we want to change. We use the Elm record update syntax to do that.
Each record field has an optional value, which means it is a value wrapped in a Maybe value.
Our first frame updates only one field, called `middle`. That field has the type of `Maybe Element` and its purpose is to show the element in the middle of the frame.
The second frame updates two fields: `title` and `middle`. The `title` field has the type of `Maybe String` and its purpose is to show the frame title on the top section of the frame.|] }
--------------------------
frame5 = { emptyFrame | title <- Just "Preselm fields", content <- Just [markdown|
The following is the list of fields that you can use in the frames of a Preselm presentation.
Each item on the list contains the field name, type and a short description.
- `backgroundColor :: Maybe Color` — the frame background color
- `column1 :: Maybe String` — an element shown on the left side of the frame, placed `leftMargin` from the left, its width is specified by the value of the `columnWidth` field
- `column2 :: Maybe String` — an element shown on the right side of the frame, placed `rightMargin` from the right, its width is specified by the value of the `columnWidth` field
- `columnWidth :: Maybe Float` — the width of a column specified as a fraction of the frame width; its default value is `Just 0.35`
- `content :: Maybe Element` — the frame content, placed `leftMargin` from the left and `topMargin` from the top of the frame; its width is specified by `contentWidth`
- `contentWidth :: Maybe Float` — the width of the frame content specified as a fraction of the frame width; its default value is `Just 0.8`
- `headerBackgroundColor :: Maybe Color` — the header background color
- `headerHeight :: Maybe Float` — the header height specified as a fraction of the frame height; its default value is `Just 0.1`
- `leftMargin :: Maybe Float` — the left margin specified as a fraction of the frame width; its default value is `Just 0.1`
- `middle :: Maybe Element` — an element shown in the middle of the frame
- `rightMargin :: Maybe Float` — the right margin specified as a fraction of the frame width; its default value is `Just 0.1`
- `selectionBoxColor :: Maybe Color` — the color of the selection box
- `title :: Maybe String` — the frame title, shown in the frame header
- `topMargin :: Maybe Float` — the top margin specified as a fraction of the frame height; its default value is `Just 0.15`
Let’s now see some of them in action. Press *Enter* to continue.
|] }
--------------------------
frame6 = { emptyFrame | title <- Just "Colored frame",
backgroundColor <- Just yellow,
headerBackgroundColor <- Just green,
headerHeight <- Just 0.2,
topMargin <- Just 0.25,
leftMargin <- Just 0.2,
content <- Just [markdown|This frame has the following fields set:
title <- Just "Colored frame",
backgroundColor <- Just yellow,
headerBackgroundColor <- Just green,
headerHeight <- Just 0.2,
topMargin <- Just 0.25,
leftMargin <- Just 0.2,
... and `content`.
|] }
--------------------------
frame7 = { emptyFrame | title <- Just "Selection box", selectionBoxColor <- Just blue,
content <- Just [markdown|If the `selectionBoxColor` field is set for a frame, then you can use the mouse to select an area of the frame by pressing the left mouse button and moving the mouse while the button remains pressed.
Preselm will draw a rectangle on the frame using the color specified in by the field. That way, during the presentation, you can select an area on the frame to point it out to the audience.
Since this frame has the `selectionBoxColor` set to `Just blue`, you can try it now.
|] }
--------------------------
frame8 = { emptyFrame | middle <- Just [markdown|## You can find Preselm [here](https://github.com/grzegorzbalcerek/Preselm).|] }
--------------------------
frame9 = { emptyFrame | middle <- Just [markdown|## This the end of the tutorial.|] }
--------------------------
keys = (\x -> [x]) <~ Keyboard.lastPressed
handle : [Keyboard.KeyCode] -> Maybe Preselm.Action
handle keys = if | keys == [39] || keys == [78] || keys == [13] -> Just Preselm.Forward
| keys == [37] || keys == [80] -> Just Preselm.Backward
| keys == [35] || keys == [69] -> Just Preselm.End
| keys == [36] || keys == [72] -> Just Preselm.Home
| otherwise -> Nothing
main = presentation [frame1, frame2, frame3, hwframe1, hwframe2, frame4, frame5, frame6, frame7, frame8, frame9] (constant (500, 700)) keys handle
| 34296 | -- Copyright (c) 2013 <NAME>; see the LICENSE.txt file
module Tutorial where
import Window
import Keyboard
import Preselm (..)
import Preselm
--------------------------
frame1 = { emptyFrame | middle <- Just [markdown|# Preselm Tutorial
Press *Enter* to continue.|] }
--------------------------
frame2 = { emptyFrame | title <- Just "Navigation", middle <- Just [markdown|
# Welcome to the Preselm Tutorial!
The goal of Preselm is to make it possible and easy to create presentations using the Elm programming language.
Preselm is written in Elm. If you do not know Elm, you can take a look at its [website](http://elm-lang.org/).
Before we continue, let’s see how you can navigate through this presentation.
### Here is what you can do to move forward or backward:
- press the _**right arrow**_, _**Enter**_ or _**n**_ to go to the next frame
- press the _**left arrow**_ or _**p**_ to go to the previous frame
- press _**home**_ or _**h**_ button to go to the first frame
- press _**end**_ or _**e**_ to go to the last frame
### Now, press *Enter* to go to the next frame|] }
--------------------------
hwProgram = "import Preselm
frame1 = { emptyFrame | middle <- Just [markdown|# Hello World!|] }
frame2 = { emptyFrame | title <- Just \"Goodbye\", middle <- Just [markdown|#World!|] }
main = presentation [frame1, frame2]"
frame3 = { emptyFrame | title <- Just "Hello World", column1 <- Just <| [markdown|Let’s create a simple presentation. You can follow the steps described here.
Create a centered file called *HelloWorld.elm* with the content shown on the right hand side.
Then you need to compile it together with Preselm. Here is how you can do it:
elm --make HelloWorld.elm
If the compilation is successful you should get the *HelloWorld.html* file with your presentation.
When you open it in a browser, you should get a Preselm presentation with two frames, which look like the next two frames of this tutorial.
After those two frames the tutorial will continue.
Press *Enter* to continue. |],
column2 <- Just (centered <| monospace <| toText hwProgram) }
--------------------------
hwframe1 = { emptyFrame | middle <- Just [markdown|# Hello World!|] }
--------------------------
hwframe2 = { emptyFrame | title <- Just "Goodbye", middle <- Just [markdown|#World!|] }
--------------------------
frame4 = { emptyFrame | column1 <- Just <| [markdown|
We are back to the tutorial.
Let’s analyze the program line by line. Actually, it is a valid Elm program, so when you write your presentation, you should follow the Elm syntax.
The first line imports Preselm.
The second and third lines define both frames of the presentation.
The last frame defines what the Elm program should actually do by defining the `main` function. Since we create a Preselm presentation, we define `main` to call the `presentation` function (imported from Preselm) and we give it as its argument the list of frames to be included in the presentation. The frame names (here: `frame1` and `frame2`) are not important, they should just be consistent with the names defined earlier.|],
column2 <- Just [markdown|Let’s go back to the second line. It defines the first frame. The frame definition is a record with fields describing the frame. Since there are many possible fields, Preselm provides a default record, called `emptyFrame`, which includes all the fields with default values. When defining our frames we use that default frame and only update relevant fields that we want to change. We use the Elm record update syntax to do that.
Each record field has an optional value, which means it is a value wrapped in a Maybe value.
Our first frame updates only one field, called `middle`. That field has the type of `Maybe Element` and its purpose is to show the element in the middle of the frame.
The second frame updates two fields: `title` and `middle`. The `title` field has the type of `Maybe String` and its purpose is to show the frame title on the top section of the frame.|] }
--------------------------
frame5 = { emptyFrame | title <- Just "Preselm fields", content <- Just [markdown|
The following is the list of fields that you can use in the frames of a Preselm presentation.
Each item on the list contains the field name, type and a short description.
- `backgroundColor :: Maybe Color` — the frame background color
- `column1 :: Maybe String` — an element shown on the left side of the frame, placed `leftMargin` from the left, its width is specified by the value of the `columnWidth` field
- `column2 :: Maybe String` — an element shown on the right side of the frame, placed `rightMargin` from the right, its width is specified by the value of the `columnWidth` field
- `columnWidth :: Maybe Float` — the width of a column specified as a fraction of the frame width; its default value is `Just 0.35`
- `content :: Maybe Element` — the frame content, placed `leftMargin` from the left and `topMargin` from the top of the frame; its width is specified by `contentWidth`
- `contentWidth :: Maybe Float` — the width of the frame content specified as a fraction of the frame width; its default value is `Just 0.8`
- `headerBackgroundColor :: Maybe Color` — the header background color
- `headerHeight :: Maybe Float` — the header height specified as a fraction of the frame height; its default value is `Just 0.1`
- `leftMargin :: Maybe Float` — the left margin specified as a fraction of the frame width; its default value is `Just 0.1`
- `middle :: Maybe Element` — an element shown in the middle of the frame
- `rightMargin :: Maybe Float` — the right margin specified as a fraction of the frame width; its default value is `Just 0.1`
- `selectionBoxColor :: Maybe Color` — the color of the selection box
- `title :: Maybe String` — the frame title, shown in the frame header
- `topMargin :: Maybe Float` — the top margin specified as a fraction of the frame height; its default value is `Just 0.15`
Let’s now see some of them in action. Press *Enter* to continue.
|] }
--------------------------
frame6 = { emptyFrame | title <- Just "Colored frame",
backgroundColor <- Just yellow,
headerBackgroundColor <- Just green,
headerHeight <- Just 0.2,
topMargin <- Just 0.25,
leftMargin <- Just 0.2,
content <- Just [markdown|This frame has the following fields set:
title <- Just "Colored frame",
backgroundColor <- Just yellow,
headerBackgroundColor <- Just green,
headerHeight <- Just 0.2,
topMargin <- Just 0.25,
leftMargin <- Just 0.2,
... and `content`.
|] }
--------------------------
frame7 = { emptyFrame | title <- Just "Selection box", selectionBoxColor <- Just blue,
content <- Just [markdown|If the `selectionBoxColor` field is set for a frame, then you can use the mouse to select an area of the frame by pressing the left mouse button and moving the mouse while the button remains pressed.
Preselm will draw a rectangle on the frame using the color specified in by the field. That way, during the presentation, you can select an area on the frame to point it out to the audience.
Since this frame has the `selectionBoxColor` set to `Just blue`, you can try it now.
|] }
--------------------------
frame8 = { emptyFrame | middle <- Just [markdown|## You can find Preselm [here](https://github.com/grzegorzbalcerek/Preselm).|] }
--------------------------
frame9 = { emptyFrame | middle <- Just [markdown|## This the end of the tutorial.|] }
--------------------------
keys = (\x -> [x]) <~ Keyboard.lastPressed
handle : [Keyboard.KeyCode] -> Maybe Preselm.Action
handle keys = if | keys == [39] || keys == [78] || keys == [13] -> Just Preselm.Forward
| keys == [37] || keys == [80] -> Just Preselm.Backward
| keys == [35] || keys == [69] -> Just Preselm.End
| keys == [36] || keys == [72] -> Just Preselm.Home
| otherwise -> Nothing
main = presentation [frame1, frame2, frame3, hwframe1, hwframe2, frame4, frame5, frame6, frame7, frame8, frame9] (constant (500, 700)) keys handle
| true | -- Copyright (c) 2013 PI:NAME:<NAME>END_PI; see the LICENSE.txt file
module Tutorial where
import Window
import Keyboard
import Preselm (..)
import Preselm
--------------------------
frame1 = { emptyFrame | middle <- Just [markdown|# Preselm Tutorial
Press *Enter* to continue.|] }
--------------------------
frame2 = { emptyFrame | title <- Just "Navigation", middle <- Just [markdown|
# Welcome to the Preselm Tutorial!
The goal of Preselm is to make it possible and easy to create presentations using the Elm programming language.
Preselm is written in Elm. If you do not know Elm, you can take a look at its [website](http://elm-lang.org/).
Before we continue, let’s see how you can navigate through this presentation.
### Here is what you can do to move forward or backward:
- press the _**right arrow**_, _**Enter**_ or _**n**_ to go to the next frame
- press the _**left arrow**_ or _**p**_ to go to the previous frame
- press _**home**_ or _**h**_ button to go to the first frame
- press _**end**_ or _**e**_ to go to the last frame
### Now, press *Enter* to go to the next frame|] }
--------------------------
hwProgram = "import Preselm
frame1 = { emptyFrame | middle <- Just [markdown|# Hello World!|] }
frame2 = { emptyFrame | title <- Just \"Goodbye\", middle <- Just [markdown|#World!|] }
main = presentation [frame1, frame2]"
frame3 = { emptyFrame | title <- Just "Hello World", column1 <- Just <| [markdown|Let’s create a simple presentation. You can follow the steps described here.
Create a centered file called *HelloWorld.elm* with the content shown on the right hand side.
Then you need to compile it together with Preselm. Here is how you can do it:
elm --make HelloWorld.elm
If the compilation is successful you should get the *HelloWorld.html* file with your presentation.
When you open it in a browser, you should get a Preselm presentation with two frames, which look like the next two frames of this tutorial.
After those two frames the tutorial will continue.
Press *Enter* to continue. |],
column2 <- Just (centered <| monospace <| toText hwProgram) }
--------------------------
hwframe1 = { emptyFrame | middle <- Just [markdown|# Hello World!|] }
--------------------------
hwframe2 = { emptyFrame | title <- Just "Goodbye", middle <- Just [markdown|#World!|] }
--------------------------
frame4 = { emptyFrame | column1 <- Just <| [markdown|
We are back to the tutorial.
Let’s analyze the program line by line. Actually, it is a valid Elm program, so when you write your presentation, you should follow the Elm syntax.
The first line imports Preselm.
The second and third lines define both frames of the presentation.
The last frame defines what the Elm program should actually do by defining the `main` function. Since we create a Preselm presentation, we define `main` to call the `presentation` function (imported from Preselm) and we give it as its argument the list of frames to be included in the presentation. The frame names (here: `frame1` and `frame2`) are not important, they should just be consistent with the names defined earlier.|],
column2 <- Just [markdown|Let’s go back to the second line. It defines the first frame. The frame definition is a record with fields describing the frame. Since there are many possible fields, Preselm provides a default record, called `emptyFrame`, which includes all the fields with default values. When defining our frames we use that default frame and only update relevant fields that we want to change. We use the Elm record update syntax to do that.
Each record field has an optional value, which means it is a value wrapped in a Maybe value.
Our first frame updates only one field, called `middle`. That field has the type of `Maybe Element` and its purpose is to show the element in the middle of the frame.
The second frame updates two fields: `title` and `middle`. The `title` field has the type of `Maybe String` and its purpose is to show the frame title on the top section of the frame.|] }
--------------------------
frame5 = { emptyFrame | title <- Just "Preselm fields", content <- Just [markdown|
The following is the list of fields that you can use in the frames of a Preselm presentation.
Each item on the list contains the field name, type and a short description.
- `backgroundColor :: Maybe Color` — the frame background color
- `column1 :: Maybe String` — an element shown on the left side of the frame, placed `leftMargin` from the left, its width is specified by the value of the `columnWidth` field
- `column2 :: Maybe String` — an element shown on the right side of the frame, placed `rightMargin` from the right, its width is specified by the value of the `columnWidth` field
- `columnWidth :: Maybe Float` — the width of a column specified as a fraction of the frame width; its default value is `Just 0.35`
- `content :: Maybe Element` — the frame content, placed `leftMargin` from the left and `topMargin` from the top of the frame; its width is specified by `contentWidth`
- `contentWidth :: Maybe Float` — the width of the frame content specified as a fraction of the frame width; its default value is `Just 0.8`
- `headerBackgroundColor :: Maybe Color` — the header background color
- `headerHeight :: Maybe Float` — the header height specified as a fraction of the frame height; its default value is `Just 0.1`
- `leftMargin :: Maybe Float` — the left margin specified as a fraction of the frame width; its default value is `Just 0.1`
- `middle :: Maybe Element` — an element shown in the middle of the frame
- `rightMargin :: Maybe Float` — the right margin specified as a fraction of the frame width; its default value is `Just 0.1`
- `selectionBoxColor :: Maybe Color` — the color of the selection box
- `title :: Maybe String` — the frame title, shown in the frame header
- `topMargin :: Maybe Float` — the top margin specified as a fraction of the frame height; its default value is `Just 0.15`
Let’s now see some of them in action. Press *Enter* to continue.
|] }
--------------------------
frame6 = { emptyFrame | title <- Just "Colored frame",
backgroundColor <- Just yellow,
headerBackgroundColor <- Just green,
headerHeight <- Just 0.2,
topMargin <- Just 0.25,
leftMargin <- Just 0.2,
content <- Just [markdown|This frame has the following fields set:
title <- Just "Colored frame",
backgroundColor <- Just yellow,
headerBackgroundColor <- Just green,
headerHeight <- Just 0.2,
topMargin <- Just 0.25,
leftMargin <- Just 0.2,
... and `content`.
|] }
--------------------------
frame7 = { emptyFrame | title <- Just "Selection box", selectionBoxColor <- Just blue,
content <- Just [markdown|If the `selectionBoxColor` field is set for a frame, then you can use the mouse to select an area of the frame by pressing the left mouse button and moving the mouse while the button remains pressed.
Preselm will draw a rectangle on the frame using the color specified in by the field. That way, during the presentation, you can select an area on the frame to point it out to the audience.
Since this frame has the `selectionBoxColor` set to `Just blue`, you can try it now.
|] }
--------------------------
frame8 = { emptyFrame | middle <- Just [markdown|## You can find Preselm [here](https://github.com/grzegorzbalcerek/Preselm).|] }
--------------------------
frame9 = { emptyFrame | middle <- Just [markdown|## This the end of the tutorial.|] }
--------------------------
keys = (\x -> [x]) <~ Keyboard.lastPressed
handle : [Keyboard.KeyCode] -> Maybe Preselm.Action
handle keys = if | keys == [39] || keys == [78] || keys == [13] -> Just Preselm.Forward
| keys == [37] || keys == [80] -> Just Preselm.Backward
| keys == [35] || keys == [69] -> Just Preselm.End
| keys == [36] || keys == [72] -> Just Preselm.Home
| otherwise -> Nothing
main = presentation [frame1, frame2, frame3, hwframe1, hwframe2, frame4, frame5, frame6, frame7, frame8, frame9] (constant (500, 700)) keys handle
| elm |
[
{
"context": "-> Bool\nmissingBond s =\n if String.startsWith \"Mash Kyrielight\" s.name then\n False\n else\n Craft",
"end": 907,
"score": 0.9998314977,
"start": 892,
"tag": "NAME",
"value": "Mash Kyrielight"
}
] | test/Test.elm | jnbooth/chaldeas | 18 | module Test exposing (main)
import Set
import Platform exposing (worker)
import StandardLibrary exposing (pure, suite)
import Database.CraftEssences as CraftEssences
import Database.Servants as Servants
import Model.CraftEssence exposing (CraftEssence)
import Model.Servant exposing (Servant)
import Model.Skill.Amount exposing (Amount(..))
import Model.Skill.SkillEffect as SkillEffect exposing (SkillEffect(..))
import Model.Skill.Rank as Rank exposing (Rank(..))
import Site.CraftEssence.Filters as CraftEssencesFilters
import Site.Servant.Filters as ServantsFilters
invalidBond : CraftEssence -> Bool
invalidBond ce =
case ce.bond of
Just s ->
Servants.db
|> List.map .name
>> List.member s
>> not
Nothing ->
False
missingBond : Servant -> Bool
missingBond s =
if String.startsWith "Mash Kyrielight" s.name then
False
else
CraftEssences.db
|> List.filterMap .bond
>> List.member s.name
>> not
idConflicts : List {a | id: Int} -> List String
idConflicts =
let
go {id} (acc, xs) =
if Set.member id acc then
(acc, id :: xs)
else
(Set.insert id acc, xs)
in
List.foldr go (Set.empty, [])
>> Tuple.second
>> List.map String.fromInt
invalidRarities : List {a | rarity: Int, name: String} -> List String
invalidRarities =
let
invalid {rarity} =
rarity < 0 || rarity > 5
in
List.filter invalid
>> List.map .name
isPlaceholder : SkillEffect -> Bool
isPlaceholder a =
case SkillEffect.simplify a of
Grant _ _ _ Placeholder -> True
Debuff _ _ _ Placeholder -> True
To _ _ Placeholder -> True
Bonus _ _ Placeholder -> True
_ -> False
placeholders : List String
placeholders =
Servants.db
|> List.concatMap .passives
>> List.filter (.effect >> List.any isPlaceholder)
>> List.map (\x -> x.name ++ Rank.show x.rank)
errors : List String
errors =
let
missingBonds =
Servants.db
|> List.filter missingBond
>> List.map .name
invalidBonds =
CraftEssences.db
|> List.filter invalidBond
>> List.map .name
in
suite "Missing CE Bond" missingBonds
++ suite "Invalid CE Bond" invalidBonds
++ suite "CE ID Conflicts" (idConflicts CraftEssences.db)
++ suite "Servant ID Conflicts" (idConflicts Servants.db)
++ suite "CE Invalid Rarities" (invalidRarities CraftEssences.db)
++ suite "Servant Invalid Rarities" (invalidRarities Servants.db)
++ suite "Missing Passives" placeholders
++ CraftEssencesFilters.errors
++ ServantsFilters.errors
output : ()
output = case errors of
[] -> ()
_ -> Debug.todo <| String.join "\n" errors
main : Program () () Never
main = worker
{ init = \_ -> pure output
, update = \_ _ -> pure ()
, subscriptions = \_ -> Sub.none
}
| 29648 | module Test exposing (main)
import Set
import Platform exposing (worker)
import StandardLibrary exposing (pure, suite)
import Database.CraftEssences as CraftEssences
import Database.Servants as Servants
import Model.CraftEssence exposing (CraftEssence)
import Model.Servant exposing (Servant)
import Model.Skill.Amount exposing (Amount(..))
import Model.Skill.SkillEffect as SkillEffect exposing (SkillEffect(..))
import Model.Skill.Rank as Rank exposing (Rank(..))
import Site.CraftEssence.Filters as CraftEssencesFilters
import Site.Servant.Filters as ServantsFilters
invalidBond : CraftEssence -> Bool
invalidBond ce =
case ce.bond of
Just s ->
Servants.db
|> List.map .name
>> List.member s
>> not
Nothing ->
False
missingBond : Servant -> Bool
missingBond s =
if String.startsWith "<NAME>" s.name then
False
else
CraftEssences.db
|> List.filterMap .bond
>> List.member s.name
>> not
idConflicts : List {a | id: Int} -> List String
idConflicts =
let
go {id} (acc, xs) =
if Set.member id acc then
(acc, id :: xs)
else
(Set.insert id acc, xs)
in
List.foldr go (Set.empty, [])
>> Tuple.second
>> List.map String.fromInt
invalidRarities : List {a | rarity: Int, name: String} -> List String
invalidRarities =
let
invalid {rarity} =
rarity < 0 || rarity > 5
in
List.filter invalid
>> List.map .name
isPlaceholder : SkillEffect -> Bool
isPlaceholder a =
case SkillEffect.simplify a of
Grant _ _ _ Placeholder -> True
Debuff _ _ _ Placeholder -> True
To _ _ Placeholder -> True
Bonus _ _ Placeholder -> True
_ -> False
placeholders : List String
placeholders =
Servants.db
|> List.concatMap .passives
>> List.filter (.effect >> List.any isPlaceholder)
>> List.map (\x -> x.name ++ Rank.show x.rank)
errors : List String
errors =
let
missingBonds =
Servants.db
|> List.filter missingBond
>> List.map .name
invalidBonds =
CraftEssences.db
|> List.filter invalidBond
>> List.map .name
in
suite "Missing CE Bond" missingBonds
++ suite "Invalid CE Bond" invalidBonds
++ suite "CE ID Conflicts" (idConflicts CraftEssences.db)
++ suite "Servant ID Conflicts" (idConflicts Servants.db)
++ suite "CE Invalid Rarities" (invalidRarities CraftEssences.db)
++ suite "Servant Invalid Rarities" (invalidRarities Servants.db)
++ suite "Missing Passives" placeholders
++ CraftEssencesFilters.errors
++ ServantsFilters.errors
output : ()
output = case errors of
[] -> ()
_ -> Debug.todo <| String.join "\n" errors
main : Program () () Never
main = worker
{ init = \_ -> pure output
, update = \_ _ -> pure ()
, subscriptions = \_ -> Sub.none
}
| true | module Test exposing (main)
import Set
import Platform exposing (worker)
import StandardLibrary exposing (pure, suite)
import Database.CraftEssences as CraftEssences
import Database.Servants as Servants
import Model.CraftEssence exposing (CraftEssence)
import Model.Servant exposing (Servant)
import Model.Skill.Amount exposing (Amount(..))
import Model.Skill.SkillEffect as SkillEffect exposing (SkillEffect(..))
import Model.Skill.Rank as Rank exposing (Rank(..))
import Site.CraftEssence.Filters as CraftEssencesFilters
import Site.Servant.Filters as ServantsFilters
invalidBond : CraftEssence -> Bool
invalidBond ce =
case ce.bond of
Just s ->
Servants.db
|> List.map .name
>> List.member s
>> not
Nothing ->
False
missingBond : Servant -> Bool
missingBond s =
if String.startsWith "PI:NAME:<NAME>END_PI" s.name then
False
else
CraftEssences.db
|> List.filterMap .bond
>> List.member s.name
>> not
idConflicts : List {a | id: Int} -> List String
idConflicts =
let
go {id} (acc, xs) =
if Set.member id acc then
(acc, id :: xs)
else
(Set.insert id acc, xs)
in
List.foldr go (Set.empty, [])
>> Tuple.second
>> List.map String.fromInt
invalidRarities : List {a | rarity: Int, name: String} -> List String
invalidRarities =
let
invalid {rarity} =
rarity < 0 || rarity > 5
in
List.filter invalid
>> List.map .name
isPlaceholder : SkillEffect -> Bool
isPlaceholder a =
case SkillEffect.simplify a of
Grant _ _ _ Placeholder -> True
Debuff _ _ _ Placeholder -> True
To _ _ Placeholder -> True
Bonus _ _ Placeholder -> True
_ -> False
placeholders : List String
placeholders =
Servants.db
|> List.concatMap .passives
>> List.filter (.effect >> List.any isPlaceholder)
>> List.map (\x -> x.name ++ Rank.show x.rank)
errors : List String
errors =
let
missingBonds =
Servants.db
|> List.filter missingBond
>> List.map .name
invalidBonds =
CraftEssences.db
|> List.filter invalidBond
>> List.map .name
in
suite "Missing CE Bond" missingBonds
++ suite "Invalid CE Bond" invalidBonds
++ suite "CE ID Conflicts" (idConflicts CraftEssences.db)
++ suite "Servant ID Conflicts" (idConflicts Servants.db)
++ suite "CE Invalid Rarities" (invalidRarities CraftEssences.db)
++ suite "Servant Invalid Rarities" (invalidRarities Servants.db)
++ suite "Missing Passives" placeholders
++ CraftEssencesFilters.errors
++ ServantsFilters.errors
output : ()
output = case errors of
[] -> ()
_ -> Debug.todo <| String.join "\n" errors
main : Program () () Never
main = worker
{ init = \_ -> pure output
, update = \_ _ -> pure ()
, subscriptions = \_ -> Sub.none
}
| elm |
[
{
"context": "trol form-control-lg\", type_ \"text\", placeholder \"Your Name\" ]\n []\n ",
"end": 1271,
"score": 0.9975399375,
"start": 1262,
"tag": "NAME",
"value": "Your Name"
},
{
"context": "trol form-control-lg\", type_ \"text\", placeholder \"Email\" ]\n []\n ",
"end": 1566,
"score": 0.9650828838,
"start": 1561,
"tag": "NAME",
"value": "Email"
},
{
"context": " form-control-lg\", type_ \"password\", placeholder \"Password\" ]\n []\n ",
"end": 1868,
"score": 0.9140870571,
"start": 1860,
"tag": "PASSWORD",
"value": "Password"
}
] | src/elm/Pages/Register.elm | pdamoc/elm-conduit | 7 | module Pages.Register exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Components exposing (..)
import Types exposing (..)
import Router exposing (toUrl, userLink)
view : { c | store : Store, currentPage : Page } -> Html msg
view cfg =
div []
[ navBar cfg
, registerPage
, footer_
]
registerPage : Html msg
registerPage =
box "auth-page"
[ box "container page"
[ row
[ box "col-md-6 offset-md-3 col-xs-12"
[ h1 [ class "text-xs-center" ]
[ text "Sign up" ]
, p [ class "text-xs-center" ]
[ a [ href (toUrl Login) ]
[ text "Have an account?" ]
]
, ul [ class "error-messages" ]
[ li
[]
[ text "That email is already taken" ]
]
, Html.form []
[ fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "text", placeholder "Your Name" ]
[]
]
, fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "text", placeholder "Email" ]
[]
]
, fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "password", placeholder "Password" ]
[]
]
, button
[ class "btn btn-lg btn-primary pull-xs-right" ]
[ text "Sign up" ]
]
]
]
]
]
| 20059 | module Pages.Register exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Components exposing (..)
import Types exposing (..)
import Router exposing (toUrl, userLink)
view : { c | store : Store, currentPage : Page } -> Html msg
view cfg =
div []
[ navBar cfg
, registerPage
, footer_
]
registerPage : Html msg
registerPage =
box "auth-page"
[ box "container page"
[ row
[ box "col-md-6 offset-md-3 col-xs-12"
[ h1 [ class "text-xs-center" ]
[ text "Sign up" ]
, p [ class "text-xs-center" ]
[ a [ href (toUrl Login) ]
[ text "Have an account?" ]
]
, ul [ class "error-messages" ]
[ li
[]
[ text "That email is already taken" ]
]
, Html.form []
[ fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "text", placeholder "<NAME>" ]
[]
]
, fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "text", placeholder "<NAME>" ]
[]
]
, fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "password", placeholder "<PASSWORD>" ]
[]
]
, button
[ class "btn btn-lg btn-primary pull-xs-right" ]
[ text "Sign up" ]
]
]
]
]
]
| true | module Pages.Register exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Components exposing (..)
import Types exposing (..)
import Router exposing (toUrl, userLink)
view : { c | store : Store, currentPage : Page } -> Html msg
view cfg =
div []
[ navBar cfg
, registerPage
, footer_
]
registerPage : Html msg
registerPage =
box "auth-page"
[ box "container page"
[ row
[ box "col-md-6 offset-md-3 col-xs-12"
[ h1 [ class "text-xs-center" ]
[ text "Sign up" ]
, p [ class "text-xs-center" ]
[ a [ href (toUrl Login) ]
[ text "Have an account?" ]
]
, ul [ class "error-messages" ]
[ li
[]
[ text "That email is already taken" ]
]
, Html.form []
[ fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "text", placeholder "PI:NAME:<NAME>END_PI" ]
[]
]
, fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "text", placeholder "PI:NAME:<NAME>END_PI" ]
[]
]
, fieldset
[ class "form-group" ]
[ input
[ class "form-control form-control-lg", type_ "password", placeholder "PI:PASSWORD:<PASSWORD>END_PI" ]
[]
]
, button
[ class "btn btn-lg btn-primary pull-xs-right" ]
[ text "Sign up" ]
]
]
]
]
]
| elm |
[
{
"context": "thmacro}\n\n\\\\begin{textmacro}\n\\\\newcommand{\\\\boss}{Phineas Fogg}\n\\\\newcommand{\\\\hello}[1]{Hello \\\\strong{#1}!}\n\\\\",
"end": 1345,
"score": 0.9998753667,
"start": 1333,
"tag": "NAME",
"value": "Phineas Fogg"
},
{
"context": "f{https://minilatex.io}{minilatex.io},\nor write to jxxcarlson at gmail.\n\n\\\\section{Try it out}\n\n\\\\italic{Try",
"end": 2635,
"score": 0.8187256455,
"start": 2628,
"tag": "USERNAME",
"value": "jxxcarl"
},
{
"context": "verbatim}\n\\\\begin{textmacro}\n\\\\newcommand{\\\\boss}{Phineas Fogg}\n\\\\newcommand{\\\\hello}[1]{Hello \\\\strong{#1}!}\n\\\\",
"end": 8780,
"score": 0.9992574453,
"start": 8768,
"tag": "NAME",
"value": "Phineas Fogg"
},
{
"context": "s.}\nLikewise, the text\n\n\\\\begin{verbatim}\n\\\\hello{John}\n\\\\end{verbatim}\n\nyields \\\\hello{John}.\n\n\\\\sectio",
"end": 9061,
"score": 0.9996542931,
"start": 9057,
"tag": "NAME",
"value": "John"
},
{
"context": "im}\n\\\\hello{John}\n\\\\end{verbatim}\n\nyields \\\\hello{John}.\n\n\\\\section{MiniLatex Macros}\n\nMiniLatex has a n",
"end": 9099,
"score": 0.9995968938,
"start": 9095,
"tag": "NAME",
"value": "John"
},
{
"context": "mation about these or related apps, please contact jxxcarlson at gmail.\nBug reports and feature requests are be",
"end": 11086,
"score": 0.9784027338,
"start": 11076,
"tag": "USERNAME",
"value": "jxxcarlson"
},
{
"context": " are best posted on\nthe \\\\href{https://github.com/jxxcarlson/meenylatex}{Github repo} for this project,\nbut em",
"end": 11189,
"score": 0.997475028,
"start": 11179,
"tag": "USERNAME",
"value": "jxxcarlson"
},
{
"context": "y typed functional\nprogramming language created by Evan Czaplicki for building web applications. Because of its ex",
"end": 11420,
"score": 0.9998725057,
"start": 11406,
"tag": "NAME",
"value": "Evan Czaplicki"
},
{
"context": "/mathjax.org}{MathJax}. It is a pleasure to thank Davide Cervone for his\ngenerous help with MathJax.\n\nFor an overv",
"end": 11735,
"score": 0.9998726845,
"start": 11721,
"tag": "NAME",
"value": "Davide Cervone"
},
{
"context": " everything\ninto sync.\n\n\\\\href{https://github.com/jxxcarlson/meenylatex}{Github repo}\n\n\\\\medskip\n\n\\\\section{Re",
"end": 12623,
"score": 0.998652339,
"start": 12613,
"tag": "USERNAME",
"value": "jxxcarlson"
},
{
"context": "eferences}\n\n\\\\begin{thebibliography}\n\n\\\\bibitem{G} James Carlson, \\\\href{https://knode.io/628}{MiniLaTeX Grammar},",
"end": 12736,
"score": 0.9998001456,
"start": 12723,
"tag": "NAME",
"value": "James Carlson"
},
{
"context": "://knode.io/628}{MiniLaTeX Grammar},\n\n\\\\bibitem{H} James Carlson, \\\\href{https://hackernoon.com/towards-latex-in-t",
"end": 12814,
"score": 0.9998298883,
"start": 12801,
"tag": "NAME",
"value": "James Carlson"
},
{
"context": "rlson/minilatex/latest}{Source code}\n\n\\\\bibitem{T} James Carlson, \\\\href{https://knode.io/525}{MiniLatex Technical",
"end": 13059,
"score": 0.9997814894,
"start": 13046,
"tag": "NAME",
"value": "James Carlson"
},
{
"context": "etcounter{section}{8}\n\n\n\\\\section{Bras and Kets}\n\nPaul Dirac invented a new notation \\\\mdash the notation of b",
"end": 13250,
"score": 0.9991532564,
"start": 13240,
"tag": "NAME",
"value": "Paul Dirac"
},
{
"context": "}{Dirac's Bra and Ket notation} \\\\mdash Notes from B. Zwiebach's course at MIT\n\n\\\\href{http://www.physics.iitm.a",
"end": 19035,
"score": 0.9870180488,
"start": 19024,
"tag": "NAME",
"value": "B. Zwiebach"
},
{
"context": "a.pdf}{All about the Dirac delta function} \\\\mdash V. Balakrishnan, IIT Madras\n\n\\\\href{http://math.arizona.edu/~kgla",
"end": 19188,
"score": 0.9986416698,
"start": 19173,
"tag": "NAME",
"value": "V. Balakrishnan"
}
] | Demo/src/StringsV2.elm | elm-review-bot/meenylatex | 0 | module StringsV2 exposing (anharmonic, initialText, macros, mathExampleText)
macros =
"""
\\def\\half{\\small\\frac{1}{2}}
\\def\\bbR{\\mathbb{R}}
\\def\\caA{\\mathcal{A}}
\\def\\caC{\\mathcal{C}}
\\def\\caD{\\mathcal{D}}
\\def\\caF{\\mathcal{F}}
\\def\\caL{\\mathcal{L}}
\\def\\caP{\\mathcal{P}}
\\def\\UUU{\\mathcal{U}}
\\def\\FFF{\\mathcal{F}}
\\def\\ZZ{\\mathbb{Z}}
\\def\\UU{\\mathbb{U}}
\\def\\CC{\\mathbb{C}}
\\newcommand{\\boa}{\\mathbf{a}}
\\newcommand{\\boi}{\\mathbf{i}}
\\newcommand{\\bop}{\\mathbf{p}}
\\newcommand{\\boF}{\\mathbf{F}}
\\newcommand{\\boL}{\\mathbf{L}}
\\newcommand{\\bor}{\\mathbf r }
\\newcommand{\\boR}{{\\bf R}}
\\newcommand{\\bov}{\\mathbf v }
\\newcommand{\\sinc}{\\,\\text{sinc}\\,}
\\newcommand{\\bra}{\\langle}
\\newcommand{\\ket}{\\rangle}
\\newcommand{\\set}[1]{\\{#1\\}}
\\newcommand{\\sett}[2]{\\{ #1 | #2 \\}}
\\def\\card{{\\bf card}\\; }
\\def\\id{\\mathbf{1}}
"""
macros2 =
"""
$$
\\newcommand{\\bra}{\\langle}
\\newcommand{\\ket}{\\rangle}
\\newcommand{\\set}[1]{\\{\\ #1 \\ \\}}
\\newcommand{\\sett}[2]{\\{\\ #1 \\ |\\ #2 \\}}
\\newcommand{\\id}{\\mathbb{\\,I\\,}}
$$
"""
initialText =
"""
\\title{Sample MiniLaTeX Doc}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
\\begin{textmacro}
\\newcommand{\\boss}{Phineas Fogg}
\\newcommand{\\hello}[1]{Hello \\strong{#1}!}
\\newcommand{\\reverseconcat}[3]{#3#2#1}
\\end{textmacro}
\\maketitle
% EXAMPLE 1
\\tableofcontents
\\section{Introduction}
MiniLatex is a subset of LaTeX that can be
rendered live in the browser using a custom just-in-time compiler.
Mathematical text is rendered by \\href{https://mathjax.org}{MathJax}:
$$
\\int_{-\\infty}^\\infty e^{-x^2} dx = \\pi
$$
The combination of MiniLaTeX and MathJax
gives you access to both text-mode
and math-mode LaTeX in the browser.
Feel free to
experiment with MiniLatex using this app
\\mdash you can change the text in the
left-hand window, or clear it and enter
your own text. Use the \\blue{export} button
below to export the text you write to a
LaTeX document on your computer. It can
be processed as-is by any program that runs LaTeX,
e.g, TeXShop or \\code{pdflatex}.
Images in MiniLaTeX are accessed by URL (see the example
in section 4 below). When you export a document, images
used in it will be listed to the right
of the rendered text. To use them in the exported
document, right (option) click on the image and
save it in a folder named \\italic{image}.
For more information about
the MiniLaTeX project, please go to
\\href{https://minilatex.io}{minilatex.io},
or write to jxxcarlson at gmail.
\\section{Try it out}
\\italic{Try editing formula \\eqref{integral:xn} or \\eqref{integral:exp} below.}
Note, e.g., from the source text, that the formulas are written inside
equation environments.
The most basic integral:
\\begin{equation}
\\label{integral:xn}
\\int_0^1 x^n dx = \\frac{1}{n+1}
\\end{equation}
An improper integral:
\\begin{equation}
\\label{integral:exp}
\\int_0^\\infty e^{-x} dx = 1
\\end{equation}
An equation alignment:
\\begin{align}
2x + 3y &= 1 \\\\
-x + 5y &= 2 \\\\
\\end{align}
\\section{Theorems}
\\begin{theorem}
There are infinitely many prime numbers.
\\end{theorem}
\\begin{theorem}
There are infinitley many prime numbers
$p$ such that $p \\equiv 1\\ mod\\ 4$.
\\end{theorem}
\\section{Images}
\\image{http://psurl.s3.amazonaws.com/images/jc/beats-eca1.png}{Figure 1. Two-frequency beats}{width: 350, align: center}
\\section{SVG}
\\begin{svg}
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="381.603" height="250.385" viewBox="0, 0, 381.603, 250.385">
<g id="Layer_1">
<g>
<path d="M95.401,166.09 L71.5,124.692 L95.401,83.295 L143.203,83.295 L167.103,124.692 L143.202,166.09 z" fill="#CCDD10"/>
<path d="M95.401,166.09 L71.5,124.692 L95.401,83.295 L143.203,83.295 L167.103,124.692 L143.202,166.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M166.401,126.09 L142.5,84.692 L166.401,43.295 L214.203,43.295 L238.103,84.692 L214.202,126.09 z" fill="#0D9B53"/>
<path d="M166.401,126.09 L142.5,84.692 L166.401,43.295 L214.203,43.295 L238.103,84.692 L214.202,126.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M167.401,207.885 L143.5,166.487 L167.401,125.09 L215.203,125.09 L239.103,166.487 L215.202,207.885 z" fill="#0D9B53"/>
<path d="M167.401,207.885 L143.5,166.487 L167.401,125.09 L215.203,125.09 L239.103,166.487 L215.202,207.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M309.401,209.885 L285.5,168.487 L309.401,127.09 L357.203,127.09 L381.103,168.487 L357.203,209.885 z" fill="#0D9B53"/>
<path d="M309.401,209.885 L285.5,168.487 L309.401,127.09 L357.203,127.09 L381.103,168.487 L357.203,209.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M309.401,125.09 L285.5,83.692 L309.401,42.295 L357.203,42.295 L381.103,83.692 L357.203,125.09 z" fill="#0D9B53"/>
<path d="M309.401,125.09 L285.5,83.692 L309.401,42.295 L357.203,42.295 L381.103,83.692 L357.203,125.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M23.401,126.09 L-0.5,84.692 L23.401,43.295 L71.203,43.295 L95.103,84.692 L71.203,126.09 z" fill="#0D9B53"/>
<path d="M23.401,126.09 L-0.5,84.692 L23.401,43.295 L71.203,43.295 L95.103,84.692 L71.203,126.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M237.401,84.295 L213.5,42.897 L237.401,1.5 L285.203,1.5 L309.103,42.897 L285.203,84.295 z" fill="#CCDD10"/>
<path d="M237.401,84.295 L213.5,42.897 L237.401,1.5 L285.203,1.5 L309.103,42.897 L285.203,84.295 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M239.401,249.885 L215.5,208.487 L239.401,167.09 L287.203,167.09 L311.103,208.487 L287.203,249.885 z" fill="#CCDD10"/>
<path d="M239.401,249.885 L215.5,208.487 L239.401,167.09 L287.203,167.09 L311.103,208.487 L287.203,249.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M94.401,84.295 L70.5,42.897 L94.401,1.5 L142.203,1.5 L166.103,42.897 L142.202,84.295 z" fill="#CCDD10"/>
<path d="M94.401,84.295 L70.5,42.897 L94.401,1.5 L142.203,1.5 L166.103,42.897 L142.202,84.295 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M333.302,94.897 C327.411,94.897 322.635,90.328 322.635,84.692 C322.635,79.056 327.411,74.487 333.302,74.487 C339.193,74.487 343.968,79.056 343.968,84.692 C343.968,90.328 339.193,94.897 333.302,94.897 z" fill="#D60B8E"/>
<path d="M333.302,94.897 C327.411,94.897 322.635,90.328 322.635,84.692 C322.635,79.056 327.411,74.487 333.302,74.487 C339.193,74.487 343.968,79.056 343.968,84.692 C343.968,90.328 339.193,94.897 333.302,94.897 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
</g>
</svg>
\\end{svg}
\\section{Lists}
\\begin{itemize}
\\item This is \\strong{just} a test.
\\item \\italic{And so is this:} $a^2 + b^2 = c^2$
\\begin{itemize}
\\item Items can be nested
\\item And you can do this: $ \\frac{1}{1 + \\frac{2}{3}} $
\\end{itemize}
\\end{itemize}
\\section{Tables}
\\begin{indent}
\\begin{tabular}{ l l l l }
Hydrogen & H & 1 & 1.008 \\\\
Helium & He & 2 & 4.003 \\\\
Lithium& Li & 3 & 6.94 \\\\
Beryllium& Be& 4& 9.012 \\\\
\\end{tabular}
\\end{indent}
\\section{Math-mode macros}
Math-mode macros are added using the \\code{mathmacro} environment:
\\begin{verbatim}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
\\end{verbatim}
Then saying
\\begin{verbatim}
$$
a^2 = \\bt{Z}/\\mca
$$
\\end{verbatim}
yields
$$
a^2 = \\bt{Z}/\\mca
$$
Likewise, saying
\\begin{verbatim}
\\begin{equation}
\\label{eq:function.type}
\\mca^{\\bt{Z}} = \\bt{Z} \\to \\mca
\\end{equation}
\\end{verbatim}
yields
\\begin{equation}
\\label{eq:function.type}
\\mca^{\\bt{Z}} = \\bt{Z} \\to \\mca
\\end{equation}
There are some restrictions:
\\begin{verbatim}
1. No regions, e.g, use \\bf{#1},
not {\\bf #1}
2. Macros with no arguments:
Say \\newcommand{\\mca}[0]{\\mathcal{A}},
not \\newcommand{\\mca}{\\mathcal{A}}
3. No recursion: the body of the macro
cannot refer to other macros defined
in the mathmacro environment.
4. Put the mathmacro environment at
the beginning of the document
\\end{verbatim}
Items 1—3 will be eliminated in a
future release.
\\section{Text-mode Macros}
Text-mode macros are defined in a \\code{textmacro} environment:
\\begin{verbatim}
\\begin{textmacro}
\\newcommand{\\boss}{Phineas Fogg}
\\newcommand{\\hello}[1]{Hello \\strong{#1}!}
\\newcommand{\\reverseconcat}[3]{#3#2#1}
\\end{textmacro}
\\end{verbatim}
Then
\\begin{verbatim}
\\italic{My boss is \\boss.}
\\end{verbatim}
produces \\italic{My boss is \\boss.}
Likewise, the text
\\begin{verbatim}
\\hello{John}
\\end{verbatim}
yields \\hello{John}.
\\section{MiniLatex Macros}
MiniLatex has a number of macros of its own, For
example, text can be rendered in various colors, \\red{such as red}
and \\blue{blue}. Text can \\highlight{be highlighted}
and can \\strike{also be struck}. Here are the macros:
\\begin{verbatim}
\\red
\\blue
\\highlight
\\strike
\\end{verbatim}
\\section{Errors and related matters}
Errors, as illustrated below, are rendered in real time and are reported in red, in place.
For example, suppose you type the text
\\begin{verbatim}
$$
a^2 + b^2 = c^2
\\end{verbatim}
Then you will see this in the rendered text window:
\\image{http://jxxcarlson.s3.amazonaws.com/miniLaTeXErrorMsg-2020-02-22.png}{Fig 2. Error message}{width: 200}
We plan to make further improvements in error reporting.
\\section{More about MiniLaTeX}
This app is intended as a bare-bones demonstration of what one can do with MiniLaTeX.
There are several other apps in various stages of development which
offer different or more sophisticated services:
\\begin{itemize}
\\item \\href{https://knode.io}{knode.io} is a web app for creating, editing, and distributing
MiniLaTeX documents. Try this link: \\href{https://knode.io/424}{QM class notes on knode.io}.
Public documents can be read by anyone, but to create documents, you need to create an account
on knode.io.
\\item \\href{https://reader.minilatex.app}{reader.minilatex.app} is a read-only app for
distributing MiniLaTeX documents on the web. Good for class notes and the like.
\\item \\italic{In development}: a desktop app for creating MiniLaTeX content. Documents
are stored on your computer's hard disk and can also be stored in the cloud.
Documents can also be posted to any website that implements the app's publishing
protocol. The desktop app supports two document formats: MiniLaTeX and MathMarkdown,
a version of Markdown that can render math-mode LaTeX.
\\end{itemize}
For more information about these or related apps, please contact jxxcarlson at gmail.
Bug reports and feature requests are best posted on
the \\href{https://github.com/jxxcarlson/meenylatex}{Github repo} for this project,
but email is also OK.
\\section{The Technology}
MiniLatex is written in \\href{https://elm-lang.org}{Elm}, the statically typed functional
programming language created by Evan Czaplicki for building web applications. Because of its excellent
\\href{https://package.elm-lang.org/packages/elm/parser/latest}{parser combinator library},
Elm is a good fit for a project like the present one. Math-mode LaTeX is rendered
by \\href{https://mathjax.org}{MathJax}. It is a pleasure to thank Davide Cervone for his
generous help with MathJax.
For an overview of the design of MiniLatex, see
\\href{https://hackernoon.com/towards-latex-in-the-browser-2ff4d94a0c08}{Towards Latex in the Browser}.
Briefly, \\href{https://www.mathjax.org/}{MathJax} is used for math-mode
text and Elm is used for text-mode material.
One feature of note is the default incremental
parsing and rendering of source text, which is needed for responsive live editing.
Source text is divided into logical paragraphs: ordinary paragraphs or an outer
begin-end block. When a logical paragraph is modified, only that paragraph
is recompiled. The upside of this strategy is that recompilation is very fast.
The downside is that numbering and cross-references can get out of sync. Press
the \\blue{Full Render} button to recompile the entire document and bring everything
into sync.
\\href{https://github.com/jxxcarlson/meenylatex}{Github repo}
\\medskip
\\section{References}
\\begin{thebibliography}
\\bibitem{G} James Carlson, \\href{https://knode.io/628}{MiniLaTeX Grammar},
\\bibitem{H} James Carlson, \\href{https://hackernoon.com/towards-latex-in-the-browser-2ff4d94a0c08}{Towards LaTeX in the Browser }, Hackernoon
\\bibitem{S} \\href{http://package.elm-lang.org/packages/jxxcarlson/minilatex/latest}{Source code}
\\bibitem{T} James Carlson, \\href{https://knode.io/525}{MiniLatex Technical Report}
\\end{thebibliography}
"""
mathExampleText =
"""
% EXAMPLE 2
\\setcounter{section}{8}
\\section{Bras and Kets}
Paul Dirac invented a new notation \\mdash the notation of bras and kets \\mdash for working with hermitian inner products and operators on a Hilbert space $H$. We describe the basics below, then elaborate on how these apply in the case of countable and continuous orthonormal bases. We also discuss some of the mathematical issues raised by the delta function and by formulas such as
\\begin{equation}
\\int_{-\\infty}^\\infty \\frac{dx}{2\\pi}\\; | x \\ket\\bra x | = 1
\\end{equation}
a
that Dirac introduced and which abound in the physics literature.
\\subsection{The basics}
For the inner product of two vectors, we write $\\bra u | v \\ket$, where this expression is linear in the second variable and conjugate linear in the first. Thus Dirac's $\\bra u | v \\ket$ is the mathematicians's $\\bra v, w \\ket$.
In this notations, $\\bra u | c v\\ket = c\\bra u | v \\ket$, but $\\bra cu | v\\ket = \\bar c\\bra u | v \\ket$. The symmetry condition reads $\\bra v | u \\ket = \\overline{\\bra u | v \\ket}$.
Let $A$ be an operator. The expression $\\bra u | A | v \\ket$ means $\\bra u | Av \\ket$. Thus it is the same as $\\bra A^*u | v \\ket$.
The symbol $|v\\ket$ has the same meaning as $v$ if $v$ is a vector. Such vectors are called \\term{kets}. Let $\\set{ \\psi_a }$ be a set of states, that is, eigenvectors for an operator $A$ with eigenvalue $a$. The notations $\\psi_a$, $|\\psi_a \\ket$, and $|a\\ket$ all stand fors the same thing. It makes sense to say
\\begin{equation}
A|a\\ket = a|a\\ket
\\end{equation}
The expression $\\bra u |$ is the \\term{bra} associated to $u$, where $u$ is an element of the space \\emph{dual} to $V$. That is, $u$ is a linear functional on $V$:
\\begin{equation}
\\bra u |(v) = u(v)
\\end{equation}
If $u$ is a vector in $V$, we may define the linear functional $\\phi_u(v) = \\bra u | v \\ket$. In this case, both sides of the equation
\\begin{equation}
\\bra u |(v) = \\bra u | v \\ket
\\end{equation}
have meaning. For finite-dimensional spaces, we may view bras as row vectors and kets as column vectors.
Consider next the expression $| v \\ket \\bra v |$ where $v$ is a unit vector. it operates on a arbitrary vector $w$ by the rule
\\begin{equation}
| w \\ket \\mapsto | v \\ket \\bra v | w \\ket
\\end{equation}
If $| w \\ket$ is orthogonal to $| v \\ket$, then the result is zero. If $| w \\ket = | v \\ket$, then the result is $| v \\ket$, Therefore $| v \\ket \\bra v |$ is orthogonal projection onto $v$.
\\subsection{Resolution of the identity}
Let $\\set{ |v_n\\ket} = \\set{ |n\\ket}$ be a complete orthonormal set for $H$ which is indexed by integers $n = 0, 1, 2, \\ldots$. We claim that
\\begin{equation}
\\label{resolutionofidentity}
\\sum_n | n \\ket \\bra n | = \\id.
\\end{equation}
That is, the expression on the left, which is a sum of projections operators, is the identity operator $\\id$. We say that the left-hand side of \\eqref{resolutionofidentity} is \\term{resolution of the identity}. The proof that \\eqref{resolutionofidentity} holds an exercise in bra-ket formalism. Let $v$ be arbitrary and write
\\begin{equation}
v = \\sum_m | m \\ket\\bra m | v \\ket
\\end{equation}
This is the Fourier decomposition of $v$. Note that it depends linearly on $| v \\ket$. Applying $\\sum | n \\ket\\bra n|$ to $v$, we find that
\\begin{align}
\\left(\\sum_n | n\\ket \\bra n |\\right) \\left(\\sum_m | m \\ket\\bra m | v \\ket \\right) &=
\\sum_{m,n} | n \\ket \\bra n |m \\ket\\bra m | v \\ket \\\\
&= \\sum_{m,n} | n \\ket \\delta_{n,m}\\bra m | v \\ket \\\\
& = \\sum_{m} | m \\ket \\bra m | v \\ket \\\\
&= v
\\end{align}
\\strong{Q.E.D.}
Here the quantities $\\delta_{n,m}$ may be viewed as the elements of the identity matrix \\mdash possibly $n\\times n$, possibly $\\infty\\times\\infty$.
Consider next an operator $\\Omega$. Write it as
\\begin{align}
\\Omega &= \\left(\\sum_m | m \\ket \\bra m |\\right) \\Omega \\left(\\sum_n | n \\ket \\bra n | \\right) \\\\
&= \\sum_{m,n} |m | \\ket \\bra m | \\Omega | n \\ket \\bra n | & \\\\
& = \\sum_m | m\\ket \\Omega_{m.n} \\bra n |
\\end{align}
The operator is determined by its \\term{matrix elements}
\\begin{equation}
\\Omega_{m,n} = \\bra m | \\Omega | n \\ket
\\end{equation}
The matrix elements are the elements o the matrix of $\\Omega$ in the given orthonormal basis, i.e., the $\\Omega_{m,n}$
One often encounters the phrase "let us insert a resolution of the identity". To see what this means, consider the expression $\\bra m AB m \\ket$, which we expand as follows:
\\begin{align}
\\bra m | AB n | \\ket &= \\bra m | A\\id B | n \\ket \\\\
&= \\sum_i \\bra m A | i \\ket \\bra i | B n \\ket
\\end{align}
This is the same as the identity
\\begin{equation}
(AB)_{mn} = \\sum_i A_{mi} B_{in}
\\end{equation}
\\subsection{Continuous spectrum}
One also has resolution of the identity for operators with continuous spectrum. Take, for example, the operator $-id/dx$ which has (generalized) eigenfunctions $e^{ikx}$. Writing $| k \\ket$ for $e^{ikx}$, one has
\\begin{equation}
\\id = \\frac{1}{2\\pi} \\int_{-\\infty}^\\infty dk\\, | k \\ket \\bra k |
\\end{equation}
Standing by itself, the meaning of this formula is a subtle matter. However, when applied to a function, we have
\\begin{equation}
| f \\ket = \\frac{1}{2\\pi} \\int_{-\\infty}^\\infty dk\\, | k \\ket \\bra k | f \\ket
\\end{equation}
This is an encoding of the Fourier inversion theorem:
\\begin{equation}
f(x) = \\frac{1}{\\sqrt{2\\pi}} \\int_{-\\infty}^\\infty \\hat f(k) e^{ikx} dk
\\end{equation}
\\subsection{References}
\\href{http://ocw.mit.edu/courses/physics/8-05-quantum-physics-ii-fall-2013/lecture-notes/MIT8_05F13_Chap_04.pdf}{Dirac's Bra and Ket notation} \\mdash Notes from B. Zwiebach's course at MIT
\\href{http://www.physics.iitm.ac.in/~labs/dynamical/pedagogy/vb/delta.pdf}{All about the Dirac delta function} \\mdash V. Balakrishnan, IIT Madras
\\href{http://math.arizona.edu/~kglasner/math456/fouriertransform.pdf}{Fourier transform techniques} \\mdash U. Arizona notes
\\href{https://www.math.utah.edu/~gustafso/s2013/3150/pdeNotes/fourierTransorm-PeterOlver2013.pdf}{Fourier transform} \\mdash Olver notes
\\href{http://www.physics.rutgers.edu/~steves/501/Lectures_Final/Lec06_Propagator.pdf}{Free particle propagator}
"""
anharmonic =
"""
\\setcounter{section}{6}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
$$
a^2 = \\bt{Z}/\\mca
$$
\\section{Anharmonic Oscillator}
\\innertableofcontents
The classical anharmonic oscillator is one
with a "non-linear spring". By this we mean
that the standard force law $F = -kx$ has
additional terms, e.g., $F = -kx - \\ell x^3$
. In this case the corresponding potential is
a quartic:
\\begin{equation}
V(x) = (1/2)kx^2 + (\\ell/4)x^4
\\end{equation}
In this section we study the quantum anharmonic
oscillator with a quartic term in the
potential. Our first task is to find the
energy of the ground state when a small quartic
term is added to the potential. For this
we need some basic perturbation theory. An
approximation to the ground state energy in
two ways: (i) by doing a Gaussian integral
(ii) by working out the expression $(a +
a^\\dagger)^4$ as a noncommutative polynomial
using the harmonic oscillator operator calculus.
\\subsection{Perturbation theory}
Let us suppose given a quantum mechanical
system with Hamiltonian of the form $H =
H_0 + \\epsilon V$ , where a complete set of
non-degenerate eigenstates for $H_0$ is known.
Let us call these states $\\psi^{(m)}$ . By
nondegenerate, we mean that all eigenspaces
have dimension one. The second term is a small
multiple of an operator which we generally take
to be a potential. We use this setup to find
solutions of the time-ndependent Schroedinger
equation $H\\psi = E\\psi$ up to terms of order
epsilon, where we imagine that true solutions
have an expansion $\\psi = \\psi_0 + \\epsilon
\\psi_1 + \\epsilon^2 \\psi_2 + \\cdots$ .
Substituting into the Schroedinger equation
and ignoring terms in $\\epsilon^2$ or higher
powers, we have
\\begin{equation}
H_0\\psi_0 + \\epsilon H_0 \\psi_1 + \\epsilon V\\psi_0
=
E_0\\psi_0 + \\epsilon E_0 \\psi_1 + \\epsilon E_1 \\psi_0
\\end{equation}
The $\\epsilon^0$ component of this equation is
\\begin{equation}
H_0\\psi_0 =
E_0\\psi_0
\\end{equation}
Therefore $\\psi_0$ , the zeroth term in the
perturbation expansion, is an eigenfunction of
the unperturbed Hamiltonian. That is, $\\psi_0
= \\psi^{(m)}$ up to a constant.
The $\\epsilon^1$ component of the equation reads
\\begin{equation}
\\label{foperturbationequation}
H_0 \\psi_1 + V\\psi_0
=
E_0 \\psi_1 + E_1 \\psi_0
\\end{equation}
Take the inner product with $\\psi_0$ :
\\begin{equation}
\\left< \\psi_0 | H_0 | \\psi_1\\right> + \\left< \\psi_0 | V | \\psi_0 \\right>
=
E_0 \\left< \\psi_0 | \\psi_1 \\right> + E_1 \\left< \\psi_0 | \\psi_0 \\right>
\\end{equation}
Because $\\psi_0$ is an eigenfunction of $H_0$
, the first term on the left is equal to the
first term on the right, so that
\\begin{equation}
\\label{perturbation_of_energy}
E_1 =\\frac{\\left<\\psi_0 | V | \\psi_0 \\right>}{ ||\\psi_0||^2 }
\\end{equation}
In other words, if $E^{(m)}$ is the energy of
the unperturbed Hamiltonian, then the energy
of the corresponding state of the perturbed
system is $E^{(m)} + \\epsilon \\Delta E^{(m)}$
, where
\\begin{equation}
\\label{perturbation_of_En}
\\Delta E^{(m)} =\\frac{\\left<\\psi^{(m)} | V | \\psi^{(m)} \\right>}{ || \\psi^{(m)} ||^2 }
\\end{equation}
To find the wave functions for the perturbed
system, assume that $\\psi_0 = \\psi^{(n)}$
and take the inner product of
\\eqref{foperturbationequation} with
$\\psi^{(m)}$ for $m \\ne n$ . One obtains
\\begin{equation}
\\left< \\psi^{(m)} | H_0 | \\psi_1 \\right> + \\left< \\psi^{(m)} | V | \\psi_0 \\right>
=
E_0\\left< \\psi^{(m)} | \\psi_1 \\right> + E_1\\left< \\psi^{(m)} | \\psi_0 \\right>
\\end{equation}
The first term on the left is $E_m\\left<
\\psi^{(m)} | \\psi_1 \\right>$ and the last term
on the right vanishes, so that we obtain
\\begin{equation}
\\label{perturbation_fourier_coefficients}
\\left< \\psi^{(m)} | \\psi_1 \\right>
= \\frac{\\left< \\psi^{(m)} | V | \\psi_1 \\right>}{E_0 - E_m}
\\end{equation}
The numbers are the Fourier coefficients of
the expansion of $\\psi$ :
\\begin{equation}
\\label{perturbation_fourier_expansion}
\\psi = \\psi^{(n)}
+ \\epsilon \\sum_{m \\ne n} \\frac{\\left< \\psi^{(n)} | V | \\psi^{(m)} \\right>}{ E^{(n)} - E^{(m)} }\\psi^{(m)}
\\end{equation}
\\subsection{Quartic perturbation by Gaussian
integrals}
Let us consider a quartic perturbation of the
harmonic oscillator, where
\\begin{equation}
H_0 = \\frac{1}{2m}(\\hat p^2 + m^2 \\omega^2 x^2) + \\lambda g x^4,
\\end{equation}
where $\\lambda$ is a small dimensionless
parameter. Now $p^2/2m$ is a kinetic energy
term, so $[gx^4] = [E]$ , where $E$ is an
energy and $[\\ ]$ means "units of". Solving,
we have $[g] = [Ex^{-4}]$ . Let us try to cook
up a "natural value" for $g$ . A natural energy
is the zero point energy of the oscillator,
$\\omega\\hbar/2$ . In addition, we need a
natural length scale for $x$ . To this end,
consider the ground state wave function, which
is proportional to $e^{-m\\omega x^2/2\\hbar}$
. Solve for $m\\omega x^2/2\\hbar = 1$ . One
obtains $x_0^2 = 2\\hbar/m\\omega$ . At disance
$x = x_0$ , the value of the wave function
has decreased from its maximum at $x = 0$ by
a factor of $1/e$ . Thus a natural choice is
\\begin{equation}
g = \\frac{\\omega\\hbar}{2}\\left(\\frac{2\\hbar}{m\\omega}\\right)^{-2} = \\frac{m^2 \\omega^3}{8\\hbar}
\\end{equation}
Writing $H= H_0 + \\lambda g x^4$ , we find
ourselves in the context of perturbation
theory. Then the shift in the $n$ -th energy
level is given by
\\begin{equation}
\\label{DeltaEn]}
\\Delta E_n = \\lambda g \\left< \\psi_n | x^4 | \\psi_n \\right> ,
\\end{equation}
and where the $\\psi_n$ are normalized wave
functions for the harmonic oscillator.
Referring to the definition of the normalized
ground state wave function, we find that the
shift in energy levels is given by a Gaussian
integral:
\\begin{equation}
\\Delta E_0 = \\lambda g \\left(\\frac{m\\omega}{\\pi\\hbar}\\right)^{ 1/2 } \\int_{-\\infty}^\\infty x^4 e^{-m\\omega x^2 / \\hbar} dx
\\end{equation}
The integral to be evaluated has the form
\\begin{equation}
I_2 = \\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx
\\end{equation}
To compute it, recall that
\\begin{equation}
\\int_{-\\infty}^\\infty e^{-\\alpha x^2} dx
= \\left( \\frac{\\pi}{\\alpha} \\right)^{1/2}
\\end{equation}
Now compare this derivative computation
\\begin{equation}
\\frac{d}{d\\alpha} \\int_{-\\infty}^\\infty e^{-\\alpha x^2} dx = - \\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx
\\end{equation}
with this one:
\\begin{equation}
\\frac{d}{d\\alpha} \\left(\\frac{\\pi}{\\alpha}\\right)^{1/2} = -\\frac{1}{2}\\left(\\frac{\\pi}{ \\alpha^3 } \\right)^{1/2}
\\end{equation}
to conclude that
\\begin{equation}
\\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx = \\frac{1}{2}\\left(\\frac{\\pi}{ \\alpha^3 } \\right)^{1/2}
\\end{equation}
Similarly, one obtains
\\begin{equation}
\\int_{-\\infty}^\\infty x^4 e^{-\\alpha x^2} dx = \\frac{3}{4}\\left(\\frac{\\pi}{ \\alpha^5 } \\right)^{1/2}
\\end{equation}
Working through the constants, one obtains at
long last the first order energy shift:
\\begin{equation}
\\label{anharmonic_correction}
\\Delta E_0 = \\frac{3}{16}\\,\\left( \\frac{\\omega \\hbar}{2}\\right) \\lambda
\\end{equation}
\\subsection{Quartic perturbation by operator
calculus}
The operator "multiplication by $x$ " can
also be written in terms of creation and
annihilation operators. Adding the expressions
for these operators in the xref::225[last
section], we find that
\\begin{equation}
x = \\left(\\frac{ \\hbar }{ 2m \\omega} \\right)^{1/2} (a + a^\\dagger )
\\end{equation}
Substituting this into (<<DeltaEn>>), we find
that
\\begin{align}
\\label{aa4}
\\Delta E_0 &= \\lambda g \\left(\\frac{ \\hbar }{ 2m \\omega} \\right)^{2} \\left< \\psi_0 | ( a + a^\\dagger )^4 | \\psi_0 \\right> \\\\
&= \\lambda \\frac{1}{16}\\,\\frac{\\omega \\hbar}{2}\\,\\left< \\psi_0 | ( a + a^\\dagger )^4 | \\psi_0 \\right>
\\end{align}
The operator $(a + a^\\dagger)^4$ is a sum of
sixteen noncommutative monomials which can be
listed in lexicographical order as
\\begin{align}
& a^\\dagger a^\\dagger a^\\dagger a^\\dagger \\\\
& a^\\dagger a^\\dagger a^\\dagger a \\\\
& a^\\dagger a^\\dagger a a^\\dagger \\\\
& a^\\dagger a a^\\dagger a^\\dagger \\\\
& etc
\\end{align}
We say that a monomial is in \\term{normal
order} if all of the creation operators appear
before the annihilation operators. In the list
above, the first, second, and fourth entries
are in normal order. Using the identity
$[a,a^\\dagger] = 1$ , any monomial can be
expressed as a sum of monomials in normal
order. One has, for instance, $aa^\\dagger =
a^\\dagger a + 1$ . Now consider the monomials
$M$ that might enter into the formula (<<aa4>>)
with nonzero coefficient. A bit of reflection
tells us that such a monomial must consist of
two creation operators and two annihilation
operators. This is because the expression
$M\\psi_0$ must be be a multiple of $\\psi_0$ .
That is, $M$ must raise the eigenvalue twice
and also lower it twice. There are six such
monomials. The monomial $M$ must also have a
creation operator on the right, since otherwise
$M\\psi_0 = 0$ . For essentially the same
reasons, it must have an annihilation operator
on the left. This constraint reduces the number
of admissible monomials to two: $aa^\\dagger
aa^\\dagger$ and $aaa^\\dagger a^\\dagger$ . Let
us give the beginning of the computation for
the first of these so that you see the pattern.
Then we will state the result. The computation
is a kind of game in which we move $a$ 's to
the right using the relation $ a a^\\dagger
= a^\\dagger a + 1$ . To win the game is to
express the monomial as a sum of monomials in
normal order. The first move is $aaa^\\dagger
a^\\dagger = aa^\\dagger a a^\\dagger +
aa^\\dagger$ . After a sequence of such moves,
you will find that
\\begin{equation}
aaa^\\dagger a^\\dagger = a^\\dagger a^\\dagger aa + 4a^\\dagger a + 2
\\end{equation}
For the second monomial, you will find that
\\begin{equation}
aa^\\dagger a a^\\dagger = a^\\dagger a^\\dagger aa + 2a^\\dagger a + 1
\\end{equation}
We are led to the conclusion that
\\begin{equation}
(a + a^\\dagger )^4 = M' + 3,
\\end{equation}
where $M'$ is a sum of monomials different from
1. Now think about expressions $\\left< \\psi_0 |
M | \\psi_0 \\right>$ , where $M$ is a monomial in
normal order. It is zero if $M \\ne 1$ and is
1 if $M = 1$ . We can therefore read off the
value of the perturbation term for the energy:
\\begin{equation}
\\Delta E_0 = \\frac{3}{16}\\,\\left( \\frac{\\omega \\hbar}{2}\\right) \\lambda
\\end{equation}
This is in agreement with the value computed
by doing a Gaussian integral.
\\begin{remark}
Let $P(a,a^\\dagger)$ be a polynomial in the creation and annihilation operators. Let $m_M(P)$ be the multiplicity with which $M$ appears in the normal order expression for $P$ . Then $\\left< \\psi_0 | P(a,a^\\dagger) | \\psi_0 \\right> = m_1(P)$
\\end{remark}
Note the combinatorial flavor of the
computation of the energy shift by this method.
We will encounter it again in the theory of
Feynman diagrams.
\\subsection{References}
\\href{http://www2.ph.ed.ac.uk/~ldeldebb/docs/QM/lect17.pdf}{Perturbation Theory, Edinburgh}
\\href{http://www.cavendishscience.org/phys/tyoung/tyoung.htm}{Two-slit experiment}
"""
| 40372 | module StringsV2 exposing (anharmonic, initialText, macros, mathExampleText)
macros =
"""
\\def\\half{\\small\\frac{1}{2}}
\\def\\bbR{\\mathbb{R}}
\\def\\caA{\\mathcal{A}}
\\def\\caC{\\mathcal{C}}
\\def\\caD{\\mathcal{D}}
\\def\\caF{\\mathcal{F}}
\\def\\caL{\\mathcal{L}}
\\def\\caP{\\mathcal{P}}
\\def\\UUU{\\mathcal{U}}
\\def\\FFF{\\mathcal{F}}
\\def\\ZZ{\\mathbb{Z}}
\\def\\UU{\\mathbb{U}}
\\def\\CC{\\mathbb{C}}
\\newcommand{\\boa}{\\mathbf{a}}
\\newcommand{\\boi}{\\mathbf{i}}
\\newcommand{\\bop}{\\mathbf{p}}
\\newcommand{\\boF}{\\mathbf{F}}
\\newcommand{\\boL}{\\mathbf{L}}
\\newcommand{\\bor}{\\mathbf r }
\\newcommand{\\boR}{{\\bf R}}
\\newcommand{\\bov}{\\mathbf v }
\\newcommand{\\sinc}{\\,\\text{sinc}\\,}
\\newcommand{\\bra}{\\langle}
\\newcommand{\\ket}{\\rangle}
\\newcommand{\\set}[1]{\\{#1\\}}
\\newcommand{\\sett}[2]{\\{ #1 | #2 \\}}
\\def\\card{{\\bf card}\\; }
\\def\\id{\\mathbf{1}}
"""
macros2 =
"""
$$
\\newcommand{\\bra}{\\langle}
\\newcommand{\\ket}{\\rangle}
\\newcommand{\\set}[1]{\\{\\ #1 \\ \\}}
\\newcommand{\\sett}[2]{\\{\\ #1 \\ |\\ #2 \\}}
\\newcommand{\\id}{\\mathbb{\\,I\\,}}
$$
"""
initialText =
"""
\\title{Sample MiniLaTeX Doc}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
\\begin{textmacro}
\\newcommand{\\boss}{<NAME>}
\\newcommand{\\hello}[1]{Hello \\strong{#1}!}
\\newcommand{\\reverseconcat}[3]{#3#2#1}
\\end{textmacro}
\\maketitle
% EXAMPLE 1
\\tableofcontents
\\section{Introduction}
MiniLatex is a subset of LaTeX that can be
rendered live in the browser using a custom just-in-time compiler.
Mathematical text is rendered by \\href{https://mathjax.org}{MathJax}:
$$
\\int_{-\\infty}^\\infty e^{-x^2} dx = \\pi
$$
The combination of MiniLaTeX and MathJax
gives you access to both text-mode
and math-mode LaTeX in the browser.
Feel free to
experiment with MiniLatex using this app
\\mdash you can change the text in the
left-hand window, or clear it and enter
your own text. Use the \\blue{export} button
below to export the text you write to a
LaTeX document on your computer. It can
be processed as-is by any program that runs LaTeX,
e.g, TeXShop or \\code{pdflatex}.
Images in MiniLaTeX are accessed by URL (see the example
in section 4 below). When you export a document, images
used in it will be listed to the right
of the rendered text. To use them in the exported
document, right (option) click on the image and
save it in a folder named \\italic{image}.
For more information about
the MiniLaTeX project, please go to
\\href{https://minilatex.io}{minilatex.io},
or write to jxxcarlson at gmail.
\\section{Try it out}
\\italic{Try editing formula \\eqref{integral:xn} or \\eqref{integral:exp} below.}
Note, e.g., from the source text, that the formulas are written inside
equation environments.
The most basic integral:
\\begin{equation}
\\label{integral:xn}
\\int_0^1 x^n dx = \\frac{1}{n+1}
\\end{equation}
An improper integral:
\\begin{equation}
\\label{integral:exp}
\\int_0^\\infty e^{-x} dx = 1
\\end{equation}
An equation alignment:
\\begin{align}
2x + 3y &= 1 \\\\
-x + 5y &= 2 \\\\
\\end{align}
\\section{Theorems}
\\begin{theorem}
There are infinitely many prime numbers.
\\end{theorem}
\\begin{theorem}
There are infinitley many prime numbers
$p$ such that $p \\equiv 1\\ mod\\ 4$.
\\end{theorem}
\\section{Images}
\\image{http://psurl.s3.amazonaws.com/images/jc/beats-eca1.png}{Figure 1. Two-frequency beats}{width: 350, align: center}
\\section{SVG}
\\begin{svg}
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="381.603" height="250.385" viewBox="0, 0, 381.603, 250.385">
<g id="Layer_1">
<g>
<path d="M95.401,166.09 L71.5,124.692 L95.401,83.295 L143.203,83.295 L167.103,124.692 L143.202,166.09 z" fill="#CCDD10"/>
<path d="M95.401,166.09 L71.5,124.692 L95.401,83.295 L143.203,83.295 L167.103,124.692 L143.202,166.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M166.401,126.09 L142.5,84.692 L166.401,43.295 L214.203,43.295 L238.103,84.692 L214.202,126.09 z" fill="#0D9B53"/>
<path d="M166.401,126.09 L142.5,84.692 L166.401,43.295 L214.203,43.295 L238.103,84.692 L214.202,126.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M167.401,207.885 L143.5,166.487 L167.401,125.09 L215.203,125.09 L239.103,166.487 L215.202,207.885 z" fill="#0D9B53"/>
<path d="M167.401,207.885 L143.5,166.487 L167.401,125.09 L215.203,125.09 L239.103,166.487 L215.202,207.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M309.401,209.885 L285.5,168.487 L309.401,127.09 L357.203,127.09 L381.103,168.487 L357.203,209.885 z" fill="#0D9B53"/>
<path d="M309.401,209.885 L285.5,168.487 L309.401,127.09 L357.203,127.09 L381.103,168.487 L357.203,209.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M309.401,125.09 L285.5,83.692 L309.401,42.295 L357.203,42.295 L381.103,83.692 L357.203,125.09 z" fill="#0D9B53"/>
<path d="M309.401,125.09 L285.5,83.692 L309.401,42.295 L357.203,42.295 L381.103,83.692 L357.203,125.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M23.401,126.09 L-0.5,84.692 L23.401,43.295 L71.203,43.295 L95.103,84.692 L71.203,126.09 z" fill="#0D9B53"/>
<path d="M23.401,126.09 L-0.5,84.692 L23.401,43.295 L71.203,43.295 L95.103,84.692 L71.203,126.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M237.401,84.295 L213.5,42.897 L237.401,1.5 L285.203,1.5 L309.103,42.897 L285.203,84.295 z" fill="#CCDD10"/>
<path d="M237.401,84.295 L213.5,42.897 L237.401,1.5 L285.203,1.5 L309.103,42.897 L285.203,84.295 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M239.401,249.885 L215.5,208.487 L239.401,167.09 L287.203,167.09 L311.103,208.487 L287.203,249.885 z" fill="#CCDD10"/>
<path d="M239.401,249.885 L215.5,208.487 L239.401,167.09 L287.203,167.09 L311.103,208.487 L287.203,249.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M94.401,84.295 L70.5,42.897 L94.401,1.5 L142.203,1.5 L166.103,42.897 L142.202,84.295 z" fill="#CCDD10"/>
<path d="M94.401,84.295 L70.5,42.897 L94.401,1.5 L142.203,1.5 L166.103,42.897 L142.202,84.295 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M333.302,94.897 C327.411,94.897 322.635,90.328 322.635,84.692 C322.635,79.056 327.411,74.487 333.302,74.487 C339.193,74.487 343.968,79.056 343.968,84.692 C343.968,90.328 339.193,94.897 333.302,94.897 z" fill="#D60B8E"/>
<path d="M333.302,94.897 C327.411,94.897 322.635,90.328 322.635,84.692 C322.635,79.056 327.411,74.487 333.302,74.487 C339.193,74.487 343.968,79.056 343.968,84.692 C343.968,90.328 339.193,94.897 333.302,94.897 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
</g>
</svg>
\\end{svg}
\\section{Lists}
\\begin{itemize}
\\item This is \\strong{just} a test.
\\item \\italic{And so is this:} $a^2 + b^2 = c^2$
\\begin{itemize}
\\item Items can be nested
\\item And you can do this: $ \\frac{1}{1 + \\frac{2}{3}} $
\\end{itemize}
\\end{itemize}
\\section{Tables}
\\begin{indent}
\\begin{tabular}{ l l l l }
Hydrogen & H & 1 & 1.008 \\\\
Helium & He & 2 & 4.003 \\\\
Lithium& Li & 3 & 6.94 \\\\
Beryllium& Be& 4& 9.012 \\\\
\\end{tabular}
\\end{indent}
\\section{Math-mode macros}
Math-mode macros are added using the \\code{mathmacro} environment:
\\begin{verbatim}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
\\end{verbatim}
Then saying
\\begin{verbatim}
$$
a^2 = \\bt{Z}/\\mca
$$
\\end{verbatim}
yields
$$
a^2 = \\bt{Z}/\\mca
$$
Likewise, saying
\\begin{verbatim}
\\begin{equation}
\\label{eq:function.type}
\\mca^{\\bt{Z}} = \\bt{Z} \\to \\mca
\\end{equation}
\\end{verbatim}
yields
\\begin{equation}
\\label{eq:function.type}
\\mca^{\\bt{Z}} = \\bt{Z} \\to \\mca
\\end{equation}
There are some restrictions:
\\begin{verbatim}
1. No regions, e.g, use \\bf{#1},
not {\\bf #1}
2. Macros with no arguments:
Say \\newcommand{\\mca}[0]{\\mathcal{A}},
not \\newcommand{\\mca}{\\mathcal{A}}
3. No recursion: the body of the macro
cannot refer to other macros defined
in the mathmacro environment.
4. Put the mathmacro environment at
the beginning of the document
\\end{verbatim}
Items 1—3 will be eliminated in a
future release.
\\section{Text-mode Macros}
Text-mode macros are defined in a \\code{textmacro} environment:
\\begin{verbatim}
\\begin{textmacro}
\\newcommand{\\boss}{<NAME>}
\\newcommand{\\hello}[1]{Hello \\strong{#1}!}
\\newcommand{\\reverseconcat}[3]{#3#2#1}
\\end{textmacro}
\\end{verbatim}
Then
\\begin{verbatim}
\\italic{My boss is \\boss.}
\\end{verbatim}
produces \\italic{My boss is \\boss.}
Likewise, the text
\\begin{verbatim}
\\hello{<NAME>}
\\end{verbatim}
yields \\hello{<NAME>}.
\\section{MiniLatex Macros}
MiniLatex has a number of macros of its own, For
example, text can be rendered in various colors, \\red{such as red}
and \\blue{blue}. Text can \\highlight{be highlighted}
and can \\strike{also be struck}. Here are the macros:
\\begin{verbatim}
\\red
\\blue
\\highlight
\\strike
\\end{verbatim}
\\section{Errors and related matters}
Errors, as illustrated below, are rendered in real time and are reported in red, in place.
For example, suppose you type the text
\\begin{verbatim}
$$
a^2 + b^2 = c^2
\\end{verbatim}
Then you will see this in the rendered text window:
\\image{http://jxxcarlson.s3.amazonaws.com/miniLaTeXErrorMsg-2020-02-22.png}{Fig 2. Error message}{width: 200}
We plan to make further improvements in error reporting.
\\section{More about MiniLaTeX}
This app is intended as a bare-bones demonstration of what one can do with MiniLaTeX.
There are several other apps in various stages of development which
offer different or more sophisticated services:
\\begin{itemize}
\\item \\href{https://knode.io}{knode.io} is a web app for creating, editing, and distributing
MiniLaTeX documents. Try this link: \\href{https://knode.io/424}{QM class notes on knode.io}.
Public documents can be read by anyone, but to create documents, you need to create an account
on knode.io.
\\item \\href{https://reader.minilatex.app}{reader.minilatex.app} is a read-only app for
distributing MiniLaTeX documents on the web. Good for class notes and the like.
\\item \\italic{In development}: a desktop app for creating MiniLaTeX content. Documents
are stored on your computer's hard disk and can also be stored in the cloud.
Documents can also be posted to any website that implements the app's publishing
protocol. The desktop app supports two document formats: MiniLaTeX and MathMarkdown,
a version of Markdown that can render math-mode LaTeX.
\\end{itemize}
For more information about these or related apps, please contact jxxcarlson at gmail.
Bug reports and feature requests are best posted on
the \\href{https://github.com/jxxcarlson/meenylatex}{Github repo} for this project,
but email is also OK.
\\section{The Technology}
MiniLatex is written in \\href{https://elm-lang.org}{Elm}, the statically typed functional
programming language created by <NAME> for building web applications. Because of its excellent
\\href{https://package.elm-lang.org/packages/elm/parser/latest}{parser combinator library},
Elm is a good fit for a project like the present one. Math-mode LaTeX is rendered
by \\href{https://mathjax.org}{MathJax}. It is a pleasure to thank <NAME> for his
generous help with MathJax.
For an overview of the design of MiniLatex, see
\\href{https://hackernoon.com/towards-latex-in-the-browser-2ff4d94a0c08}{Towards Latex in the Browser}.
Briefly, \\href{https://www.mathjax.org/}{MathJax} is used for math-mode
text and Elm is used for text-mode material.
One feature of note is the default incremental
parsing and rendering of source text, which is needed for responsive live editing.
Source text is divided into logical paragraphs: ordinary paragraphs or an outer
begin-end block. When a logical paragraph is modified, only that paragraph
is recompiled. The upside of this strategy is that recompilation is very fast.
The downside is that numbering and cross-references can get out of sync. Press
the \\blue{Full Render} button to recompile the entire document and bring everything
into sync.
\\href{https://github.com/jxxcarlson/meenylatex}{Github repo}
\\medskip
\\section{References}
\\begin{thebibliography}
\\bibitem{G} <NAME>, \\href{https://knode.io/628}{MiniLaTeX Grammar},
\\bibitem{H} <NAME>, \\href{https://hackernoon.com/towards-latex-in-the-browser-2ff4d94a0c08}{Towards LaTeX in the Browser }, Hackernoon
\\bibitem{S} \\href{http://package.elm-lang.org/packages/jxxcarlson/minilatex/latest}{Source code}
\\bibitem{T} <NAME>, \\href{https://knode.io/525}{MiniLatex Technical Report}
\\end{thebibliography}
"""
mathExampleText =
"""
% EXAMPLE 2
\\setcounter{section}{8}
\\section{Bras and Kets}
<NAME> invented a new notation \\mdash the notation of bras and kets \\mdash for working with hermitian inner products and operators on a Hilbert space $H$. We describe the basics below, then elaborate on how these apply in the case of countable and continuous orthonormal bases. We also discuss some of the mathematical issues raised by the delta function and by formulas such as
\\begin{equation}
\\int_{-\\infty}^\\infty \\frac{dx}{2\\pi}\\; | x \\ket\\bra x | = 1
\\end{equation}
a
that Dirac introduced and which abound in the physics literature.
\\subsection{The basics}
For the inner product of two vectors, we write $\\bra u | v \\ket$, where this expression is linear in the second variable and conjugate linear in the first. Thus Dirac's $\\bra u | v \\ket$ is the mathematicians's $\\bra v, w \\ket$.
In this notations, $\\bra u | c v\\ket = c\\bra u | v \\ket$, but $\\bra cu | v\\ket = \\bar c\\bra u | v \\ket$. The symmetry condition reads $\\bra v | u \\ket = \\overline{\\bra u | v \\ket}$.
Let $A$ be an operator. The expression $\\bra u | A | v \\ket$ means $\\bra u | Av \\ket$. Thus it is the same as $\\bra A^*u | v \\ket$.
The symbol $|v\\ket$ has the same meaning as $v$ if $v$ is a vector. Such vectors are called \\term{kets}. Let $\\set{ \\psi_a }$ be a set of states, that is, eigenvectors for an operator $A$ with eigenvalue $a$. The notations $\\psi_a$, $|\\psi_a \\ket$, and $|a\\ket$ all stand fors the same thing. It makes sense to say
\\begin{equation}
A|a\\ket = a|a\\ket
\\end{equation}
The expression $\\bra u |$ is the \\term{bra} associated to $u$, where $u$ is an element of the space \\emph{dual} to $V$. That is, $u$ is a linear functional on $V$:
\\begin{equation}
\\bra u |(v) = u(v)
\\end{equation}
If $u$ is a vector in $V$, we may define the linear functional $\\phi_u(v) = \\bra u | v \\ket$. In this case, both sides of the equation
\\begin{equation}
\\bra u |(v) = \\bra u | v \\ket
\\end{equation}
have meaning. For finite-dimensional spaces, we may view bras as row vectors and kets as column vectors.
Consider next the expression $| v \\ket \\bra v |$ where $v$ is a unit vector. it operates on a arbitrary vector $w$ by the rule
\\begin{equation}
| w \\ket \\mapsto | v \\ket \\bra v | w \\ket
\\end{equation}
If $| w \\ket$ is orthogonal to $| v \\ket$, then the result is zero. If $| w \\ket = | v \\ket$, then the result is $| v \\ket$, Therefore $| v \\ket \\bra v |$ is orthogonal projection onto $v$.
\\subsection{Resolution of the identity}
Let $\\set{ |v_n\\ket} = \\set{ |n\\ket}$ be a complete orthonormal set for $H$ which is indexed by integers $n = 0, 1, 2, \\ldots$. We claim that
\\begin{equation}
\\label{resolutionofidentity}
\\sum_n | n \\ket \\bra n | = \\id.
\\end{equation}
That is, the expression on the left, which is a sum of projections operators, is the identity operator $\\id$. We say that the left-hand side of \\eqref{resolutionofidentity} is \\term{resolution of the identity}. The proof that \\eqref{resolutionofidentity} holds an exercise in bra-ket formalism. Let $v$ be arbitrary and write
\\begin{equation}
v = \\sum_m | m \\ket\\bra m | v \\ket
\\end{equation}
This is the Fourier decomposition of $v$. Note that it depends linearly on $| v \\ket$. Applying $\\sum | n \\ket\\bra n|$ to $v$, we find that
\\begin{align}
\\left(\\sum_n | n\\ket \\bra n |\\right) \\left(\\sum_m | m \\ket\\bra m | v \\ket \\right) &=
\\sum_{m,n} | n \\ket \\bra n |m \\ket\\bra m | v \\ket \\\\
&= \\sum_{m,n} | n \\ket \\delta_{n,m}\\bra m | v \\ket \\\\
& = \\sum_{m} | m \\ket \\bra m | v \\ket \\\\
&= v
\\end{align}
\\strong{Q.E.D.}
Here the quantities $\\delta_{n,m}$ may be viewed as the elements of the identity matrix \\mdash possibly $n\\times n$, possibly $\\infty\\times\\infty$.
Consider next an operator $\\Omega$. Write it as
\\begin{align}
\\Omega &= \\left(\\sum_m | m \\ket \\bra m |\\right) \\Omega \\left(\\sum_n | n \\ket \\bra n | \\right) \\\\
&= \\sum_{m,n} |m | \\ket \\bra m | \\Omega | n \\ket \\bra n | & \\\\
& = \\sum_m | m\\ket \\Omega_{m.n} \\bra n |
\\end{align}
The operator is determined by its \\term{matrix elements}
\\begin{equation}
\\Omega_{m,n} = \\bra m | \\Omega | n \\ket
\\end{equation}
The matrix elements are the elements o the matrix of $\\Omega$ in the given orthonormal basis, i.e., the $\\Omega_{m,n}$
One often encounters the phrase "let us insert a resolution of the identity". To see what this means, consider the expression $\\bra m AB m \\ket$, which we expand as follows:
\\begin{align}
\\bra m | AB n | \\ket &= \\bra m | A\\id B | n \\ket \\\\
&= \\sum_i \\bra m A | i \\ket \\bra i | B n \\ket
\\end{align}
This is the same as the identity
\\begin{equation}
(AB)_{mn} = \\sum_i A_{mi} B_{in}
\\end{equation}
\\subsection{Continuous spectrum}
One also has resolution of the identity for operators with continuous spectrum. Take, for example, the operator $-id/dx$ which has (generalized) eigenfunctions $e^{ikx}$. Writing $| k \\ket$ for $e^{ikx}$, one has
\\begin{equation}
\\id = \\frac{1}{2\\pi} \\int_{-\\infty}^\\infty dk\\, | k \\ket \\bra k |
\\end{equation}
Standing by itself, the meaning of this formula is a subtle matter. However, when applied to a function, we have
\\begin{equation}
| f \\ket = \\frac{1}{2\\pi} \\int_{-\\infty}^\\infty dk\\, | k \\ket \\bra k | f \\ket
\\end{equation}
This is an encoding of the Fourier inversion theorem:
\\begin{equation}
f(x) = \\frac{1}{\\sqrt{2\\pi}} \\int_{-\\infty}^\\infty \\hat f(k) e^{ikx} dk
\\end{equation}
\\subsection{References}
\\href{http://ocw.mit.edu/courses/physics/8-05-quantum-physics-ii-fall-2013/lecture-notes/MIT8_05F13_Chap_04.pdf}{Dirac's Bra and Ket notation} \\mdash Notes from <NAME>'s course at MIT
\\href{http://www.physics.iitm.ac.in/~labs/dynamical/pedagogy/vb/delta.pdf}{All about the Dirac delta function} \\mdash <NAME>, IIT Madras
\\href{http://math.arizona.edu/~kglasner/math456/fouriertransform.pdf}{Fourier transform techniques} \\mdash U. Arizona notes
\\href{https://www.math.utah.edu/~gustafso/s2013/3150/pdeNotes/fourierTransorm-PeterOlver2013.pdf}{Fourier transform} \\mdash Olver notes
\\href{http://www.physics.rutgers.edu/~steves/501/Lectures_Final/Lec06_Propagator.pdf}{Free particle propagator}
"""
anharmonic =
"""
\\setcounter{section}{6}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
$$
a^2 = \\bt{Z}/\\mca
$$
\\section{Anharmonic Oscillator}
\\innertableofcontents
The classical anharmonic oscillator is one
with a "non-linear spring". By this we mean
that the standard force law $F = -kx$ has
additional terms, e.g., $F = -kx - \\ell x^3$
. In this case the corresponding potential is
a quartic:
\\begin{equation}
V(x) = (1/2)kx^2 + (\\ell/4)x^4
\\end{equation}
In this section we study the quantum anharmonic
oscillator with a quartic term in the
potential. Our first task is to find the
energy of the ground state when a small quartic
term is added to the potential. For this
we need some basic perturbation theory. An
approximation to the ground state energy in
two ways: (i) by doing a Gaussian integral
(ii) by working out the expression $(a +
a^\\dagger)^4$ as a noncommutative polynomial
using the harmonic oscillator operator calculus.
\\subsection{Perturbation theory}
Let us suppose given a quantum mechanical
system with Hamiltonian of the form $H =
H_0 + \\epsilon V$ , where a complete set of
non-degenerate eigenstates for $H_0$ is known.
Let us call these states $\\psi^{(m)}$ . By
nondegenerate, we mean that all eigenspaces
have dimension one. The second term is a small
multiple of an operator which we generally take
to be a potential. We use this setup to find
solutions of the time-ndependent Schroedinger
equation $H\\psi = E\\psi$ up to terms of order
epsilon, where we imagine that true solutions
have an expansion $\\psi = \\psi_0 + \\epsilon
\\psi_1 + \\epsilon^2 \\psi_2 + \\cdots$ .
Substituting into the Schroedinger equation
and ignoring terms in $\\epsilon^2$ or higher
powers, we have
\\begin{equation}
H_0\\psi_0 + \\epsilon H_0 \\psi_1 + \\epsilon V\\psi_0
=
E_0\\psi_0 + \\epsilon E_0 \\psi_1 + \\epsilon E_1 \\psi_0
\\end{equation}
The $\\epsilon^0$ component of this equation is
\\begin{equation}
H_0\\psi_0 =
E_0\\psi_0
\\end{equation}
Therefore $\\psi_0$ , the zeroth term in the
perturbation expansion, is an eigenfunction of
the unperturbed Hamiltonian. That is, $\\psi_0
= \\psi^{(m)}$ up to a constant.
The $\\epsilon^1$ component of the equation reads
\\begin{equation}
\\label{foperturbationequation}
H_0 \\psi_1 + V\\psi_0
=
E_0 \\psi_1 + E_1 \\psi_0
\\end{equation}
Take the inner product with $\\psi_0$ :
\\begin{equation}
\\left< \\psi_0 | H_0 | \\psi_1\\right> + \\left< \\psi_0 | V | \\psi_0 \\right>
=
E_0 \\left< \\psi_0 | \\psi_1 \\right> + E_1 \\left< \\psi_0 | \\psi_0 \\right>
\\end{equation}
Because $\\psi_0$ is an eigenfunction of $H_0$
, the first term on the left is equal to the
first term on the right, so that
\\begin{equation}
\\label{perturbation_of_energy}
E_1 =\\frac{\\left<\\psi_0 | V | \\psi_0 \\right>}{ ||\\psi_0||^2 }
\\end{equation}
In other words, if $E^{(m)}$ is the energy of
the unperturbed Hamiltonian, then the energy
of the corresponding state of the perturbed
system is $E^{(m)} + \\epsilon \\Delta E^{(m)}$
, where
\\begin{equation}
\\label{perturbation_of_En}
\\Delta E^{(m)} =\\frac{\\left<\\psi^{(m)} | V | \\psi^{(m)} \\right>}{ || \\psi^{(m)} ||^2 }
\\end{equation}
To find the wave functions for the perturbed
system, assume that $\\psi_0 = \\psi^{(n)}$
and take the inner product of
\\eqref{foperturbationequation} with
$\\psi^{(m)}$ for $m \\ne n$ . One obtains
\\begin{equation}
\\left< \\psi^{(m)} | H_0 | \\psi_1 \\right> + \\left< \\psi^{(m)} | V | \\psi_0 \\right>
=
E_0\\left< \\psi^{(m)} | \\psi_1 \\right> + E_1\\left< \\psi^{(m)} | \\psi_0 \\right>
\\end{equation}
The first term on the left is $E_m\\left<
\\psi^{(m)} | \\psi_1 \\right>$ and the last term
on the right vanishes, so that we obtain
\\begin{equation}
\\label{perturbation_fourier_coefficients}
\\left< \\psi^{(m)} | \\psi_1 \\right>
= \\frac{\\left< \\psi^{(m)} | V | \\psi_1 \\right>}{E_0 - E_m}
\\end{equation}
The numbers are the Fourier coefficients of
the expansion of $\\psi$ :
\\begin{equation}
\\label{perturbation_fourier_expansion}
\\psi = \\psi^{(n)}
+ \\epsilon \\sum_{m \\ne n} \\frac{\\left< \\psi^{(n)} | V | \\psi^{(m)} \\right>}{ E^{(n)} - E^{(m)} }\\psi^{(m)}
\\end{equation}
\\subsection{Quartic perturbation by Gaussian
integrals}
Let us consider a quartic perturbation of the
harmonic oscillator, where
\\begin{equation}
H_0 = \\frac{1}{2m}(\\hat p^2 + m^2 \\omega^2 x^2) + \\lambda g x^4,
\\end{equation}
where $\\lambda$ is a small dimensionless
parameter. Now $p^2/2m$ is a kinetic energy
term, so $[gx^4] = [E]$ , where $E$ is an
energy and $[\\ ]$ means "units of". Solving,
we have $[g] = [Ex^{-4}]$ . Let us try to cook
up a "natural value" for $g$ . A natural energy
is the zero point energy of the oscillator,
$\\omega\\hbar/2$ . In addition, we need a
natural length scale for $x$ . To this end,
consider the ground state wave function, which
is proportional to $e^{-m\\omega x^2/2\\hbar}$
. Solve for $m\\omega x^2/2\\hbar = 1$ . One
obtains $x_0^2 = 2\\hbar/m\\omega$ . At disance
$x = x_0$ , the value of the wave function
has decreased from its maximum at $x = 0$ by
a factor of $1/e$ . Thus a natural choice is
\\begin{equation}
g = \\frac{\\omega\\hbar}{2}\\left(\\frac{2\\hbar}{m\\omega}\\right)^{-2} = \\frac{m^2 \\omega^3}{8\\hbar}
\\end{equation}
Writing $H= H_0 + \\lambda g x^4$ , we find
ourselves in the context of perturbation
theory. Then the shift in the $n$ -th energy
level is given by
\\begin{equation}
\\label{DeltaEn]}
\\Delta E_n = \\lambda g \\left< \\psi_n | x^4 | \\psi_n \\right> ,
\\end{equation}
and where the $\\psi_n$ are normalized wave
functions for the harmonic oscillator.
Referring to the definition of the normalized
ground state wave function, we find that the
shift in energy levels is given by a Gaussian
integral:
\\begin{equation}
\\Delta E_0 = \\lambda g \\left(\\frac{m\\omega}{\\pi\\hbar}\\right)^{ 1/2 } \\int_{-\\infty}^\\infty x^4 e^{-m\\omega x^2 / \\hbar} dx
\\end{equation}
The integral to be evaluated has the form
\\begin{equation}
I_2 = \\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx
\\end{equation}
To compute it, recall that
\\begin{equation}
\\int_{-\\infty}^\\infty e^{-\\alpha x^2} dx
= \\left( \\frac{\\pi}{\\alpha} \\right)^{1/2}
\\end{equation}
Now compare this derivative computation
\\begin{equation}
\\frac{d}{d\\alpha} \\int_{-\\infty}^\\infty e^{-\\alpha x^2} dx = - \\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx
\\end{equation}
with this one:
\\begin{equation}
\\frac{d}{d\\alpha} \\left(\\frac{\\pi}{\\alpha}\\right)^{1/2} = -\\frac{1}{2}\\left(\\frac{\\pi}{ \\alpha^3 } \\right)^{1/2}
\\end{equation}
to conclude that
\\begin{equation}
\\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx = \\frac{1}{2}\\left(\\frac{\\pi}{ \\alpha^3 } \\right)^{1/2}
\\end{equation}
Similarly, one obtains
\\begin{equation}
\\int_{-\\infty}^\\infty x^4 e^{-\\alpha x^2} dx = \\frac{3}{4}\\left(\\frac{\\pi}{ \\alpha^5 } \\right)^{1/2}
\\end{equation}
Working through the constants, one obtains at
long last the first order energy shift:
\\begin{equation}
\\label{anharmonic_correction}
\\Delta E_0 = \\frac{3}{16}\\,\\left( \\frac{\\omega \\hbar}{2}\\right) \\lambda
\\end{equation}
\\subsection{Quartic perturbation by operator
calculus}
The operator "multiplication by $x$ " can
also be written in terms of creation and
annihilation operators. Adding the expressions
for these operators in the xref::225[last
section], we find that
\\begin{equation}
x = \\left(\\frac{ \\hbar }{ 2m \\omega} \\right)^{1/2} (a + a^\\dagger )
\\end{equation}
Substituting this into (<<DeltaEn>>), we find
that
\\begin{align}
\\label{aa4}
\\Delta E_0 &= \\lambda g \\left(\\frac{ \\hbar }{ 2m \\omega} \\right)^{2} \\left< \\psi_0 | ( a + a^\\dagger )^4 | \\psi_0 \\right> \\\\
&= \\lambda \\frac{1}{16}\\,\\frac{\\omega \\hbar}{2}\\,\\left< \\psi_0 | ( a + a^\\dagger )^4 | \\psi_0 \\right>
\\end{align}
The operator $(a + a^\\dagger)^4$ is a sum of
sixteen noncommutative monomials which can be
listed in lexicographical order as
\\begin{align}
& a^\\dagger a^\\dagger a^\\dagger a^\\dagger \\\\
& a^\\dagger a^\\dagger a^\\dagger a \\\\
& a^\\dagger a^\\dagger a a^\\dagger \\\\
& a^\\dagger a a^\\dagger a^\\dagger \\\\
& etc
\\end{align}
We say that a monomial is in \\term{normal
order} if all of the creation operators appear
before the annihilation operators. In the list
above, the first, second, and fourth entries
are in normal order. Using the identity
$[a,a^\\dagger] = 1$ , any monomial can be
expressed as a sum of monomials in normal
order. One has, for instance, $aa^\\dagger =
a^\\dagger a + 1$ . Now consider the monomials
$M$ that might enter into the formula (<<aa4>>)
with nonzero coefficient. A bit of reflection
tells us that such a monomial must consist of
two creation operators and two annihilation
operators. This is because the expression
$M\\psi_0$ must be be a multiple of $\\psi_0$ .
That is, $M$ must raise the eigenvalue twice
and also lower it twice. There are six such
monomials. The monomial $M$ must also have a
creation operator on the right, since otherwise
$M\\psi_0 = 0$ . For essentially the same
reasons, it must have an annihilation operator
on the left. This constraint reduces the number
of admissible monomials to two: $aa^\\dagger
aa^\\dagger$ and $aaa^\\dagger a^\\dagger$ . Let
us give the beginning of the computation for
the first of these so that you see the pattern.
Then we will state the result. The computation
is a kind of game in which we move $a$ 's to
the right using the relation $ a a^\\dagger
= a^\\dagger a + 1$ . To win the game is to
express the monomial as a sum of monomials in
normal order. The first move is $aaa^\\dagger
a^\\dagger = aa^\\dagger a a^\\dagger +
aa^\\dagger$ . After a sequence of such moves,
you will find that
\\begin{equation}
aaa^\\dagger a^\\dagger = a^\\dagger a^\\dagger aa + 4a^\\dagger a + 2
\\end{equation}
For the second monomial, you will find that
\\begin{equation}
aa^\\dagger a a^\\dagger = a^\\dagger a^\\dagger aa + 2a^\\dagger a + 1
\\end{equation}
We are led to the conclusion that
\\begin{equation}
(a + a^\\dagger )^4 = M' + 3,
\\end{equation}
where $M'$ is a sum of monomials different from
1. Now think about expressions $\\left< \\psi_0 |
M | \\psi_0 \\right>$ , where $M$ is a monomial in
normal order. It is zero if $M \\ne 1$ and is
1 if $M = 1$ . We can therefore read off the
value of the perturbation term for the energy:
\\begin{equation}
\\Delta E_0 = \\frac{3}{16}\\,\\left( \\frac{\\omega \\hbar}{2}\\right) \\lambda
\\end{equation}
This is in agreement with the value computed
by doing a Gaussian integral.
\\begin{remark}
Let $P(a,a^\\dagger)$ be a polynomial in the creation and annihilation operators. Let $m_M(P)$ be the multiplicity with which $M$ appears in the normal order expression for $P$ . Then $\\left< \\psi_0 | P(a,a^\\dagger) | \\psi_0 \\right> = m_1(P)$
\\end{remark}
Note the combinatorial flavor of the
computation of the energy shift by this method.
We will encounter it again in the theory of
Feynman diagrams.
\\subsection{References}
\\href{http://www2.ph.ed.ac.uk/~ldeldebb/docs/QM/lect17.pdf}{Perturbation Theory, Edinburgh}
\\href{http://www.cavendishscience.org/phys/tyoung/tyoung.htm}{Two-slit experiment}
"""
| true | module StringsV2 exposing (anharmonic, initialText, macros, mathExampleText)
macros =
"""
\\def\\half{\\small\\frac{1}{2}}
\\def\\bbR{\\mathbb{R}}
\\def\\caA{\\mathcal{A}}
\\def\\caC{\\mathcal{C}}
\\def\\caD{\\mathcal{D}}
\\def\\caF{\\mathcal{F}}
\\def\\caL{\\mathcal{L}}
\\def\\caP{\\mathcal{P}}
\\def\\UUU{\\mathcal{U}}
\\def\\FFF{\\mathcal{F}}
\\def\\ZZ{\\mathbb{Z}}
\\def\\UU{\\mathbb{U}}
\\def\\CC{\\mathbb{C}}
\\newcommand{\\boa}{\\mathbf{a}}
\\newcommand{\\boi}{\\mathbf{i}}
\\newcommand{\\bop}{\\mathbf{p}}
\\newcommand{\\boF}{\\mathbf{F}}
\\newcommand{\\boL}{\\mathbf{L}}
\\newcommand{\\bor}{\\mathbf r }
\\newcommand{\\boR}{{\\bf R}}
\\newcommand{\\bov}{\\mathbf v }
\\newcommand{\\sinc}{\\,\\text{sinc}\\,}
\\newcommand{\\bra}{\\langle}
\\newcommand{\\ket}{\\rangle}
\\newcommand{\\set}[1]{\\{#1\\}}
\\newcommand{\\sett}[2]{\\{ #1 | #2 \\}}
\\def\\card{{\\bf card}\\; }
\\def\\id{\\mathbf{1}}
"""
macros2 =
"""
$$
\\newcommand{\\bra}{\\langle}
\\newcommand{\\ket}{\\rangle}
\\newcommand{\\set}[1]{\\{\\ #1 \\ \\}}
\\newcommand{\\sett}[2]{\\{\\ #1 \\ |\\ #2 \\}}
\\newcommand{\\id}{\\mathbb{\\,I\\,}}
$$
"""
initialText =
"""
\\title{Sample MiniLaTeX Doc}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
\\begin{textmacro}
\\newcommand{\\boss}{PI:NAME:<NAME>END_PI}
\\newcommand{\\hello}[1]{Hello \\strong{#1}!}
\\newcommand{\\reverseconcat}[3]{#3#2#1}
\\end{textmacro}
\\maketitle
% EXAMPLE 1
\\tableofcontents
\\section{Introduction}
MiniLatex is a subset of LaTeX that can be
rendered live in the browser using a custom just-in-time compiler.
Mathematical text is rendered by \\href{https://mathjax.org}{MathJax}:
$$
\\int_{-\\infty}^\\infty e^{-x^2} dx = \\pi
$$
The combination of MiniLaTeX and MathJax
gives you access to both text-mode
and math-mode LaTeX in the browser.
Feel free to
experiment with MiniLatex using this app
\\mdash you can change the text in the
left-hand window, or clear it and enter
your own text. Use the \\blue{export} button
below to export the text you write to a
LaTeX document on your computer. It can
be processed as-is by any program that runs LaTeX,
e.g, TeXShop or \\code{pdflatex}.
Images in MiniLaTeX are accessed by URL (see the example
in section 4 below). When you export a document, images
used in it will be listed to the right
of the rendered text. To use them in the exported
document, right (option) click on the image and
save it in a folder named \\italic{image}.
For more information about
the MiniLaTeX project, please go to
\\href{https://minilatex.io}{minilatex.io},
or write to jxxcarlson at gmail.
\\section{Try it out}
\\italic{Try editing formula \\eqref{integral:xn} or \\eqref{integral:exp} below.}
Note, e.g., from the source text, that the formulas are written inside
equation environments.
The most basic integral:
\\begin{equation}
\\label{integral:xn}
\\int_0^1 x^n dx = \\frac{1}{n+1}
\\end{equation}
An improper integral:
\\begin{equation}
\\label{integral:exp}
\\int_0^\\infty e^{-x} dx = 1
\\end{equation}
An equation alignment:
\\begin{align}
2x + 3y &= 1 \\\\
-x + 5y &= 2 \\\\
\\end{align}
\\section{Theorems}
\\begin{theorem}
There are infinitely many prime numbers.
\\end{theorem}
\\begin{theorem}
There are infinitley many prime numbers
$p$ such that $p \\equiv 1\\ mod\\ 4$.
\\end{theorem}
\\section{Images}
\\image{http://psurl.s3.amazonaws.com/images/jc/beats-eca1.png}{Figure 1. Two-frequency beats}{width: 350, align: center}
\\section{SVG}
\\begin{svg}
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="381.603" height="250.385" viewBox="0, 0, 381.603, 250.385">
<g id="Layer_1">
<g>
<path d="M95.401,166.09 L71.5,124.692 L95.401,83.295 L143.203,83.295 L167.103,124.692 L143.202,166.09 z" fill="#CCDD10"/>
<path d="M95.401,166.09 L71.5,124.692 L95.401,83.295 L143.203,83.295 L167.103,124.692 L143.202,166.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M166.401,126.09 L142.5,84.692 L166.401,43.295 L214.203,43.295 L238.103,84.692 L214.202,126.09 z" fill="#0D9B53"/>
<path d="M166.401,126.09 L142.5,84.692 L166.401,43.295 L214.203,43.295 L238.103,84.692 L214.202,126.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M167.401,207.885 L143.5,166.487 L167.401,125.09 L215.203,125.09 L239.103,166.487 L215.202,207.885 z" fill="#0D9B53"/>
<path d="M167.401,207.885 L143.5,166.487 L167.401,125.09 L215.203,125.09 L239.103,166.487 L215.202,207.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M309.401,209.885 L285.5,168.487 L309.401,127.09 L357.203,127.09 L381.103,168.487 L357.203,209.885 z" fill="#0D9B53"/>
<path d="M309.401,209.885 L285.5,168.487 L309.401,127.09 L357.203,127.09 L381.103,168.487 L357.203,209.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M309.401,125.09 L285.5,83.692 L309.401,42.295 L357.203,42.295 L381.103,83.692 L357.203,125.09 z" fill="#0D9B53"/>
<path d="M309.401,125.09 L285.5,83.692 L309.401,42.295 L357.203,42.295 L381.103,83.692 L357.203,125.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M23.401,126.09 L-0.5,84.692 L23.401,43.295 L71.203,43.295 L95.103,84.692 L71.203,126.09 z" fill="#0D9B53"/>
<path d="M23.401,126.09 L-0.5,84.692 L23.401,43.295 L71.203,43.295 L95.103,84.692 L71.203,126.09 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M237.401,84.295 L213.5,42.897 L237.401,1.5 L285.203,1.5 L309.103,42.897 L285.203,84.295 z" fill="#CCDD10"/>
<path d="M237.401,84.295 L213.5,42.897 L237.401,1.5 L285.203,1.5 L309.103,42.897 L285.203,84.295 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M239.401,249.885 L215.5,208.487 L239.401,167.09 L287.203,167.09 L311.103,208.487 L287.203,249.885 z" fill="#CCDD10"/>
<path d="M239.401,249.885 L215.5,208.487 L239.401,167.09 L287.203,167.09 L311.103,208.487 L287.203,249.885 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M94.401,84.295 L70.5,42.897 L94.401,1.5 L142.203,1.5 L166.103,42.897 L142.202,84.295 z" fill="#CCDD10"/>
<path d="M94.401,84.295 L70.5,42.897 L94.401,1.5 L142.203,1.5 L166.103,42.897 L142.202,84.295 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
<g>
<path d="M333.302,94.897 C327.411,94.897 322.635,90.328 322.635,84.692 C322.635,79.056 327.411,74.487 333.302,74.487 C339.193,74.487 343.968,79.056 343.968,84.692 C343.968,90.328 339.193,94.897 333.302,94.897 z" fill="#D60B8E"/>
<path d="M333.302,94.897 C327.411,94.897 322.635,90.328 322.635,84.692 C322.635,79.056 327.411,74.487 333.302,74.487 C339.193,74.487 343.968,79.056 343.968,84.692 C343.968,90.328 339.193,94.897 333.302,94.897 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>
</g>
</g>
</svg>
\\end{svg}
\\section{Lists}
\\begin{itemize}
\\item This is \\strong{just} a test.
\\item \\italic{And so is this:} $a^2 + b^2 = c^2$
\\begin{itemize}
\\item Items can be nested
\\item And you can do this: $ \\frac{1}{1 + \\frac{2}{3}} $
\\end{itemize}
\\end{itemize}
\\section{Tables}
\\begin{indent}
\\begin{tabular}{ l l l l }
Hydrogen & H & 1 & 1.008 \\\\
Helium & He & 2 & 4.003 \\\\
Lithium& Li & 3 & 6.94 \\\\
Beryllium& Be& 4& 9.012 \\\\
\\end{tabular}
\\end{indent}
\\section{Math-mode macros}
Math-mode macros are added using the \\code{mathmacro} environment:
\\begin{verbatim}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
\\end{verbatim}
Then saying
\\begin{verbatim}
$$
a^2 = \\bt{Z}/\\mca
$$
\\end{verbatim}
yields
$$
a^2 = \\bt{Z}/\\mca
$$
Likewise, saying
\\begin{verbatim}
\\begin{equation}
\\label{eq:function.type}
\\mca^{\\bt{Z}} = \\bt{Z} \\to \\mca
\\end{equation}
\\end{verbatim}
yields
\\begin{equation}
\\label{eq:function.type}
\\mca^{\\bt{Z}} = \\bt{Z} \\to \\mca
\\end{equation}
There are some restrictions:
\\begin{verbatim}
1. No regions, e.g, use \\bf{#1},
not {\\bf #1}
2. Macros with no arguments:
Say \\newcommand{\\mca}[0]{\\mathcal{A}},
not \\newcommand{\\mca}{\\mathcal{A}}
3. No recursion: the body of the macro
cannot refer to other macros defined
in the mathmacro environment.
4. Put the mathmacro environment at
the beginning of the document
\\end{verbatim}
Items 1—3 will be eliminated in a
future release.
\\section{Text-mode Macros}
Text-mode macros are defined in a \\code{textmacro} environment:
\\begin{verbatim}
\\begin{textmacro}
\\newcommand{\\boss}{PI:NAME:<NAME>END_PI}
\\newcommand{\\hello}[1]{Hello \\strong{#1}!}
\\newcommand{\\reverseconcat}[3]{#3#2#1}
\\end{textmacro}
\\end{verbatim}
Then
\\begin{verbatim}
\\italic{My boss is \\boss.}
\\end{verbatim}
produces \\italic{My boss is \\boss.}
Likewise, the text
\\begin{verbatim}
\\hello{PI:NAME:<NAME>END_PI}
\\end{verbatim}
yields \\hello{PI:NAME:<NAME>END_PI}.
\\section{MiniLatex Macros}
MiniLatex has a number of macros of its own, For
example, text can be rendered in various colors, \\red{such as red}
and \\blue{blue}. Text can \\highlight{be highlighted}
and can \\strike{also be struck}. Here are the macros:
\\begin{verbatim}
\\red
\\blue
\\highlight
\\strike
\\end{verbatim}
\\section{Errors and related matters}
Errors, as illustrated below, are rendered in real time and are reported in red, in place.
For example, suppose you type the text
\\begin{verbatim}
$$
a^2 + b^2 = c^2
\\end{verbatim}
Then you will see this in the rendered text window:
\\image{http://jxxcarlson.s3.amazonaws.com/miniLaTeXErrorMsg-2020-02-22.png}{Fig 2. Error message}{width: 200}
We plan to make further improvements in error reporting.
\\section{More about MiniLaTeX}
This app is intended as a bare-bones demonstration of what one can do with MiniLaTeX.
There are several other apps in various stages of development which
offer different or more sophisticated services:
\\begin{itemize}
\\item \\href{https://knode.io}{knode.io} is a web app for creating, editing, and distributing
MiniLaTeX documents. Try this link: \\href{https://knode.io/424}{QM class notes on knode.io}.
Public documents can be read by anyone, but to create documents, you need to create an account
on knode.io.
\\item \\href{https://reader.minilatex.app}{reader.minilatex.app} is a read-only app for
distributing MiniLaTeX documents on the web. Good for class notes and the like.
\\item \\italic{In development}: a desktop app for creating MiniLaTeX content. Documents
are stored on your computer's hard disk and can also be stored in the cloud.
Documents can also be posted to any website that implements the app's publishing
protocol. The desktop app supports two document formats: MiniLaTeX and MathMarkdown,
a version of Markdown that can render math-mode LaTeX.
\\end{itemize}
For more information about these or related apps, please contact jxxcarlson at gmail.
Bug reports and feature requests are best posted on
the \\href{https://github.com/jxxcarlson/meenylatex}{Github repo} for this project,
but email is also OK.
\\section{The Technology}
MiniLatex is written in \\href{https://elm-lang.org}{Elm}, the statically typed functional
programming language created by PI:NAME:<NAME>END_PI for building web applications. Because of its excellent
\\href{https://package.elm-lang.org/packages/elm/parser/latest}{parser combinator library},
Elm is a good fit for a project like the present one. Math-mode LaTeX is rendered
by \\href{https://mathjax.org}{MathJax}. It is a pleasure to thank PI:NAME:<NAME>END_PI for his
generous help with MathJax.
For an overview of the design of MiniLatex, see
\\href{https://hackernoon.com/towards-latex-in-the-browser-2ff4d94a0c08}{Towards Latex in the Browser}.
Briefly, \\href{https://www.mathjax.org/}{MathJax} is used for math-mode
text and Elm is used for text-mode material.
One feature of note is the default incremental
parsing and rendering of source text, which is needed for responsive live editing.
Source text is divided into logical paragraphs: ordinary paragraphs or an outer
begin-end block. When a logical paragraph is modified, only that paragraph
is recompiled. The upside of this strategy is that recompilation is very fast.
The downside is that numbering and cross-references can get out of sync. Press
the \\blue{Full Render} button to recompile the entire document and bring everything
into sync.
\\href{https://github.com/jxxcarlson/meenylatex}{Github repo}
\\medskip
\\section{References}
\\begin{thebibliography}
\\bibitem{G} PI:NAME:<NAME>END_PI, \\href{https://knode.io/628}{MiniLaTeX Grammar},
\\bibitem{H} PI:NAME:<NAME>END_PI, \\href{https://hackernoon.com/towards-latex-in-the-browser-2ff4d94a0c08}{Towards LaTeX in the Browser }, Hackernoon
\\bibitem{S} \\href{http://package.elm-lang.org/packages/jxxcarlson/minilatex/latest}{Source code}
\\bibitem{T} PI:NAME:<NAME>END_PI, \\href{https://knode.io/525}{MiniLatex Technical Report}
\\end{thebibliography}
"""
mathExampleText =
"""
% EXAMPLE 2
\\setcounter{section}{8}
\\section{Bras and Kets}
PI:NAME:<NAME>END_PI invented a new notation \\mdash the notation of bras and kets \\mdash for working with hermitian inner products and operators on a Hilbert space $H$. We describe the basics below, then elaborate on how these apply in the case of countable and continuous orthonormal bases. We also discuss some of the mathematical issues raised by the delta function and by formulas such as
\\begin{equation}
\\int_{-\\infty}^\\infty \\frac{dx}{2\\pi}\\; | x \\ket\\bra x | = 1
\\end{equation}
a
that Dirac introduced and which abound in the physics literature.
\\subsection{The basics}
For the inner product of two vectors, we write $\\bra u | v \\ket$, where this expression is linear in the second variable and conjugate linear in the first. Thus Dirac's $\\bra u | v \\ket$ is the mathematicians's $\\bra v, w \\ket$.
In this notations, $\\bra u | c v\\ket = c\\bra u | v \\ket$, but $\\bra cu | v\\ket = \\bar c\\bra u | v \\ket$. The symmetry condition reads $\\bra v | u \\ket = \\overline{\\bra u | v \\ket}$.
Let $A$ be an operator. The expression $\\bra u | A | v \\ket$ means $\\bra u | Av \\ket$. Thus it is the same as $\\bra A^*u | v \\ket$.
The symbol $|v\\ket$ has the same meaning as $v$ if $v$ is a vector. Such vectors are called \\term{kets}. Let $\\set{ \\psi_a }$ be a set of states, that is, eigenvectors for an operator $A$ with eigenvalue $a$. The notations $\\psi_a$, $|\\psi_a \\ket$, and $|a\\ket$ all stand fors the same thing. It makes sense to say
\\begin{equation}
A|a\\ket = a|a\\ket
\\end{equation}
The expression $\\bra u |$ is the \\term{bra} associated to $u$, where $u$ is an element of the space \\emph{dual} to $V$. That is, $u$ is a linear functional on $V$:
\\begin{equation}
\\bra u |(v) = u(v)
\\end{equation}
If $u$ is a vector in $V$, we may define the linear functional $\\phi_u(v) = \\bra u | v \\ket$. In this case, both sides of the equation
\\begin{equation}
\\bra u |(v) = \\bra u | v \\ket
\\end{equation}
have meaning. For finite-dimensional spaces, we may view bras as row vectors and kets as column vectors.
Consider next the expression $| v \\ket \\bra v |$ where $v$ is a unit vector. it operates on a arbitrary vector $w$ by the rule
\\begin{equation}
| w \\ket \\mapsto | v \\ket \\bra v | w \\ket
\\end{equation}
If $| w \\ket$ is orthogonal to $| v \\ket$, then the result is zero. If $| w \\ket = | v \\ket$, then the result is $| v \\ket$, Therefore $| v \\ket \\bra v |$ is orthogonal projection onto $v$.
\\subsection{Resolution of the identity}
Let $\\set{ |v_n\\ket} = \\set{ |n\\ket}$ be a complete orthonormal set for $H$ which is indexed by integers $n = 0, 1, 2, \\ldots$. We claim that
\\begin{equation}
\\label{resolutionofidentity}
\\sum_n | n \\ket \\bra n | = \\id.
\\end{equation}
That is, the expression on the left, which is a sum of projections operators, is the identity operator $\\id$. We say that the left-hand side of \\eqref{resolutionofidentity} is \\term{resolution of the identity}. The proof that \\eqref{resolutionofidentity} holds an exercise in bra-ket formalism. Let $v$ be arbitrary and write
\\begin{equation}
v = \\sum_m | m \\ket\\bra m | v \\ket
\\end{equation}
This is the Fourier decomposition of $v$. Note that it depends linearly on $| v \\ket$. Applying $\\sum | n \\ket\\bra n|$ to $v$, we find that
\\begin{align}
\\left(\\sum_n | n\\ket \\bra n |\\right) \\left(\\sum_m | m \\ket\\bra m | v \\ket \\right) &=
\\sum_{m,n} | n \\ket \\bra n |m \\ket\\bra m | v \\ket \\\\
&= \\sum_{m,n} | n \\ket \\delta_{n,m}\\bra m | v \\ket \\\\
& = \\sum_{m} | m \\ket \\bra m | v \\ket \\\\
&= v
\\end{align}
\\strong{Q.E.D.}
Here the quantities $\\delta_{n,m}$ may be viewed as the elements of the identity matrix \\mdash possibly $n\\times n$, possibly $\\infty\\times\\infty$.
Consider next an operator $\\Omega$. Write it as
\\begin{align}
\\Omega &= \\left(\\sum_m | m \\ket \\bra m |\\right) \\Omega \\left(\\sum_n | n \\ket \\bra n | \\right) \\\\
&= \\sum_{m,n} |m | \\ket \\bra m | \\Omega | n \\ket \\bra n | & \\\\
& = \\sum_m | m\\ket \\Omega_{m.n} \\bra n |
\\end{align}
The operator is determined by its \\term{matrix elements}
\\begin{equation}
\\Omega_{m,n} = \\bra m | \\Omega | n \\ket
\\end{equation}
The matrix elements are the elements o the matrix of $\\Omega$ in the given orthonormal basis, i.e., the $\\Omega_{m,n}$
One often encounters the phrase "let us insert a resolution of the identity". To see what this means, consider the expression $\\bra m AB m \\ket$, which we expand as follows:
\\begin{align}
\\bra m | AB n | \\ket &= \\bra m | A\\id B | n \\ket \\\\
&= \\sum_i \\bra m A | i \\ket \\bra i | B n \\ket
\\end{align}
This is the same as the identity
\\begin{equation}
(AB)_{mn} = \\sum_i A_{mi} B_{in}
\\end{equation}
\\subsection{Continuous spectrum}
One also has resolution of the identity for operators with continuous spectrum. Take, for example, the operator $-id/dx$ which has (generalized) eigenfunctions $e^{ikx}$. Writing $| k \\ket$ for $e^{ikx}$, one has
\\begin{equation}
\\id = \\frac{1}{2\\pi} \\int_{-\\infty}^\\infty dk\\, | k \\ket \\bra k |
\\end{equation}
Standing by itself, the meaning of this formula is a subtle matter. However, when applied to a function, we have
\\begin{equation}
| f \\ket = \\frac{1}{2\\pi} \\int_{-\\infty}^\\infty dk\\, | k \\ket \\bra k | f \\ket
\\end{equation}
This is an encoding of the Fourier inversion theorem:
\\begin{equation}
f(x) = \\frac{1}{\\sqrt{2\\pi}} \\int_{-\\infty}^\\infty \\hat f(k) e^{ikx} dk
\\end{equation}
\\subsection{References}
\\href{http://ocw.mit.edu/courses/physics/8-05-quantum-physics-ii-fall-2013/lecture-notes/MIT8_05F13_Chap_04.pdf}{Dirac's Bra and Ket notation} \\mdash Notes from PI:NAME:<NAME>END_PI's course at MIT
\\href{http://www.physics.iitm.ac.in/~labs/dynamical/pedagogy/vb/delta.pdf}{All about the Dirac delta function} \\mdash PI:NAME:<NAME>END_PI, IIT Madras
\\href{http://math.arizona.edu/~kglasner/math456/fouriertransform.pdf}{Fourier transform techniques} \\mdash U. Arizona notes
\\href{https://www.math.utah.edu/~gustafso/s2013/3150/pdeNotes/fourierTransorm-PeterOlver2013.pdf}{Fourier transform} \\mdash Olver notes
\\href{http://www.physics.rutgers.edu/~steves/501/Lectures_Final/Lec06_Propagator.pdf}{Free particle propagator}
"""
anharmonic =
"""
\\setcounter{section}{6}
\\begin{mathmacro}
\\newcommand{\\bt}[1]{\\bf{#1}}
\\newcommand{\\mca}[0]{\\mathcal{A}}
\\end{mathmacro}
$$
a^2 = \\bt{Z}/\\mca
$$
\\section{Anharmonic Oscillator}
\\innertableofcontents
The classical anharmonic oscillator is one
with a "non-linear spring". By this we mean
that the standard force law $F = -kx$ has
additional terms, e.g., $F = -kx - \\ell x^3$
. In this case the corresponding potential is
a quartic:
\\begin{equation}
V(x) = (1/2)kx^2 + (\\ell/4)x^4
\\end{equation}
In this section we study the quantum anharmonic
oscillator with a quartic term in the
potential. Our first task is to find the
energy of the ground state when a small quartic
term is added to the potential. For this
we need some basic perturbation theory. An
approximation to the ground state energy in
two ways: (i) by doing a Gaussian integral
(ii) by working out the expression $(a +
a^\\dagger)^4$ as a noncommutative polynomial
using the harmonic oscillator operator calculus.
\\subsection{Perturbation theory}
Let us suppose given a quantum mechanical
system with Hamiltonian of the form $H =
H_0 + \\epsilon V$ , where a complete set of
non-degenerate eigenstates for $H_0$ is known.
Let us call these states $\\psi^{(m)}$ . By
nondegenerate, we mean that all eigenspaces
have dimension one. The second term is a small
multiple of an operator which we generally take
to be a potential. We use this setup to find
solutions of the time-ndependent Schroedinger
equation $H\\psi = E\\psi$ up to terms of order
epsilon, where we imagine that true solutions
have an expansion $\\psi = \\psi_0 + \\epsilon
\\psi_1 + \\epsilon^2 \\psi_2 + \\cdots$ .
Substituting into the Schroedinger equation
and ignoring terms in $\\epsilon^2$ or higher
powers, we have
\\begin{equation}
H_0\\psi_0 + \\epsilon H_0 \\psi_1 + \\epsilon V\\psi_0
=
E_0\\psi_0 + \\epsilon E_0 \\psi_1 + \\epsilon E_1 \\psi_0
\\end{equation}
The $\\epsilon^0$ component of this equation is
\\begin{equation}
H_0\\psi_0 =
E_0\\psi_0
\\end{equation}
Therefore $\\psi_0$ , the zeroth term in the
perturbation expansion, is an eigenfunction of
the unperturbed Hamiltonian. That is, $\\psi_0
= \\psi^{(m)}$ up to a constant.
The $\\epsilon^1$ component of the equation reads
\\begin{equation}
\\label{foperturbationequation}
H_0 \\psi_1 + V\\psi_0
=
E_0 \\psi_1 + E_1 \\psi_0
\\end{equation}
Take the inner product with $\\psi_0$ :
\\begin{equation}
\\left< \\psi_0 | H_0 | \\psi_1\\right> + \\left< \\psi_0 | V | \\psi_0 \\right>
=
E_0 \\left< \\psi_0 | \\psi_1 \\right> + E_1 \\left< \\psi_0 | \\psi_0 \\right>
\\end{equation}
Because $\\psi_0$ is an eigenfunction of $H_0$
, the first term on the left is equal to the
first term on the right, so that
\\begin{equation}
\\label{perturbation_of_energy}
E_1 =\\frac{\\left<\\psi_0 | V | \\psi_0 \\right>}{ ||\\psi_0||^2 }
\\end{equation}
In other words, if $E^{(m)}$ is the energy of
the unperturbed Hamiltonian, then the energy
of the corresponding state of the perturbed
system is $E^{(m)} + \\epsilon \\Delta E^{(m)}$
, where
\\begin{equation}
\\label{perturbation_of_En}
\\Delta E^{(m)} =\\frac{\\left<\\psi^{(m)} | V | \\psi^{(m)} \\right>}{ || \\psi^{(m)} ||^2 }
\\end{equation}
To find the wave functions for the perturbed
system, assume that $\\psi_0 = \\psi^{(n)}$
and take the inner product of
\\eqref{foperturbationequation} with
$\\psi^{(m)}$ for $m \\ne n$ . One obtains
\\begin{equation}
\\left< \\psi^{(m)} | H_0 | \\psi_1 \\right> + \\left< \\psi^{(m)} | V | \\psi_0 \\right>
=
E_0\\left< \\psi^{(m)} | \\psi_1 \\right> + E_1\\left< \\psi^{(m)} | \\psi_0 \\right>
\\end{equation}
The first term on the left is $E_m\\left<
\\psi^{(m)} | \\psi_1 \\right>$ and the last term
on the right vanishes, so that we obtain
\\begin{equation}
\\label{perturbation_fourier_coefficients}
\\left< \\psi^{(m)} | \\psi_1 \\right>
= \\frac{\\left< \\psi^{(m)} | V | \\psi_1 \\right>}{E_0 - E_m}
\\end{equation}
The numbers are the Fourier coefficients of
the expansion of $\\psi$ :
\\begin{equation}
\\label{perturbation_fourier_expansion}
\\psi = \\psi^{(n)}
+ \\epsilon \\sum_{m \\ne n} \\frac{\\left< \\psi^{(n)} | V | \\psi^{(m)} \\right>}{ E^{(n)} - E^{(m)} }\\psi^{(m)}
\\end{equation}
\\subsection{Quartic perturbation by Gaussian
integrals}
Let us consider a quartic perturbation of the
harmonic oscillator, where
\\begin{equation}
H_0 = \\frac{1}{2m}(\\hat p^2 + m^2 \\omega^2 x^2) + \\lambda g x^4,
\\end{equation}
where $\\lambda$ is a small dimensionless
parameter. Now $p^2/2m$ is a kinetic energy
term, so $[gx^4] = [E]$ , where $E$ is an
energy and $[\\ ]$ means "units of". Solving,
we have $[g] = [Ex^{-4}]$ . Let us try to cook
up a "natural value" for $g$ . A natural energy
is the zero point energy of the oscillator,
$\\omega\\hbar/2$ . In addition, we need a
natural length scale for $x$ . To this end,
consider the ground state wave function, which
is proportional to $e^{-m\\omega x^2/2\\hbar}$
. Solve for $m\\omega x^2/2\\hbar = 1$ . One
obtains $x_0^2 = 2\\hbar/m\\omega$ . At disance
$x = x_0$ , the value of the wave function
has decreased from its maximum at $x = 0$ by
a factor of $1/e$ . Thus a natural choice is
\\begin{equation}
g = \\frac{\\omega\\hbar}{2}\\left(\\frac{2\\hbar}{m\\omega}\\right)^{-2} = \\frac{m^2 \\omega^3}{8\\hbar}
\\end{equation}
Writing $H= H_0 + \\lambda g x^4$ , we find
ourselves in the context of perturbation
theory. Then the shift in the $n$ -th energy
level is given by
\\begin{equation}
\\label{DeltaEn]}
\\Delta E_n = \\lambda g \\left< \\psi_n | x^4 | \\psi_n \\right> ,
\\end{equation}
and where the $\\psi_n$ are normalized wave
functions for the harmonic oscillator.
Referring to the definition of the normalized
ground state wave function, we find that the
shift in energy levels is given by a Gaussian
integral:
\\begin{equation}
\\Delta E_0 = \\lambda g \\left(\\frac{m\\omega}{\\pi\\hbar}\\right)^{ 1/2 } \\int_{-\\infty}^\\infty x^4 e^{-m\\omega x^2 / \\hbar} dx
\\end{equation}
The integral to be evaluated has the form
\\begin{equation}
I_2 = \\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx
\\end{equation}
To compute it, recall that
\\begin{equation}
\\int_{-\\infty}^\\infty e^{-\\alpha x^2} dx
= \\left( \\frac{\\pi}{\\alpha} \\right)^{1/2}
\\end{equation}
Now compare this derivative computation
\\begin{equation}
\\frac{d}{d\\alpha} \\int_{-\\infty}^\\infty e^{-\\alpha x^2} dx = - \\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx
\\end{equation}
with this one:
\\begin{equation}
\\frac{d}{d\\alpha} \\left(\\frac{\\pi}{\\alpha}\\right)^{1/2} = -\\frac{1}{2}\\left(\\frac{\\pi}{ \\alpha^3 } \\right)^{1/2}
\\end{equation}
to conclude that
\\begin{equation}
\\int_{-\\infty}^\\infty x^2 e^{-\\alpha x^2} dx = \\frac{1}{2}\\left(\\frac{\\pi}{ \\alpha^3 } \\right)^{1/2}
\\end{equation}
Similarly, one obtains
\\begin{equation}
\\int_{-\\infty}^\\infty x^4 e^{-\\alpha x^2} dx = \\frac{3}{4}\\left(\\frac{\\pi}{ \\alpha^5 } \\right)^{1/2}
\\end{equation}
Working through the constants, one obtains at
long last the first order energy shift:
\\begin{equation}
\\label{anharmonic_correction}
\\Delta E_0 = \\frac{3}{16}\\,\\left( \\frac{\\omega \\hbar}{2}\\right) \\lambda
\\end{equation}
\\subsection{Quartic perturbation by operator
calculus}
The operator "multiplication by $x$ " can
also be written in terms of creation and
annihilation operators. Adding the expressions
for these operators in the xref::225[last
section], we find that
\\begin{equation}
x = \\left(\\frac{ \\hbar }{ 2m \\omega} \\right)^{1/2} (a + a^\\dagger )
\\end{equation}
Substituting this into (<<DeltaEn>>), we find
that
\\begin{align}
\\label{aa4}
\\Delta E_0 &= \\lambda g \\left(\\frac{ \\hbar }{ 2m \\omega} \\right)^{2} \\left< \\psi_0 | ( a + a^\\dagger )^4 | \\psi_0 \\right> \\\\
&= \\lambda \\frac{1}{16}\\,\\frac{\\omega \\hbar}{2}\\,\\left< \\psi_0 | ( a + a^\\dagger )^4 | \\psi_0 \\right>
\\end{align}
The operator $(a + a^\\dagger)^4$ is a sum of
sixteen noncommutative monomials which can be
listed in lexicographical order as
\\begin{align}
& a^\\dagger a^\\dagger a^\\dagger a^\\dagger \\\\
& a^\\dagger a^\\dagger a^\\dagger a \\\\
& a^\\dagger a^\\dagger a a^\\dagger \\\\
& a^\\dagger a a^\\dagger a^\\dagger \\\\
& etc
\\end{align}
We say that a monomial is in \\term{normal
order} if all of the creation operators appear
before the annihilation operators. In the list
above, the first, second, and fourth entries
are in normal order. Using the identity
$[a,a^\\dagger] = 1$ , any monomial can be
expressed as a sum of monomials in normal
order. One has, for instance, $aa^\\dagger =
a^\\dagger a + 1$ . Now consider the monomials
$M$ that might enter into the formula (<<aa4>>)
with nonzero coefficient. A bit of reflection
tells us that such a monomial must consist of
two creation operators and two annihilation
operators. This is because the expression
$M\\psi_0$ must be be a multiple of $\\psi_0$ .
That is, $M$ must raise the eigenvalue twice
and also lower it twice. There are six such
monomials. The monomial $M$ must also have a
creation operator on the right, since otherwise
$M\\psi_0 = 0$ . For essentially the same
reasons, it must have an annihilation operator
on the left. This constraint reduces the number
of admissible monomials to two: $aa^\\dagger
aa^\\dagger$ and $aaa^\\dagger a^\\dagger$ . Let
us give the beginning of the computation for
the first of these so that you see the pattern.
Then we will state the result. The computation
is a kind of game in which we move $a$ 's to
the right using the relation $ a a^\\dagger
= a^\\dagger a + 1$ . To win the game is to
express the monomial as a sum of monomials in
normal order. The first move is $aaa^\\dagger
a^\\dagger = aa^\\dagger a a^\\dagger +
aa^\\dagger$ . After a sequence of such moves,
you will find that
\\begin{equation}
aaa^\\dagger a^\\dagger = a^\\dagger a^\\dagger aa + 4a^\\dagger a + 2
\\end{equation}
For the second monomial, you will find that
\\begin{equation}
aa^\\dagger a a^\\dagger = a^\\dagger a^\\dagger aa + 2a^\\dagger a + 1
\\end{equation}
We are led to the conclusion that
\\begin{equation}
(a + a^\\dagger )^4 = M' + 3,
\\end{equation}
where $M'$ is a sum of monomials different from
1. Now think about expressions $\\left< \\psi_0 |
M | \\psi_0 \\right>$ , where $M$ is a monomial in
normal order. It is zero if $M \\ne 1$ and is
1 if $M = 1$ . We can therefore read off the
value of the perturbation term for the energy:
\\begin{equation}
\\Delta E_0 = \\frac{3}{16}\\,\\left( \\frac{\\omega \\hbar}{2}\\right) \\lambda
\\end{equation}
This is in agreement with the value computed
by doing a Gaussian integral.
\\begin{remark}
Let $P(a,a^\\dagger)$ be a polynomial in the creation and annihilation operators. Let $m_M(P)$ be the multiplicity with which $M$ appears in the normal order expression for $P$ . Then $\\left< \\psi_0 | P(a,a^\\dagger) | \\psi_0 \\right> = m_1(P)$
\\end{remark}
Note the combinatorial flavor of the
computation of the energy shift by this method.
We will encounter it again in the theory of
Feynman diagrams.
\\subsection{References}
\\href{http://www2.ph.ed.ac.uk/~ldeldebb/docs/QM/lect17.pdf}{Perturbation Theory, Edinburgh}
\\href{http://www.cavendishscience.org/phys/tyoung/tyoung.htm}{Two-slit experiment}
"""
| elm |
[
{
"context": " from a tuple.\n\n first (3, 4) == 3\n first (\"john\", \"doe\") == \"john\"\n-}\nfirst : (a1, a2) -> a1\nfirs",
"end": 507,
"score": 0.9513707161,
"start": 503,
"tag": "NAME",
"value": "john"
},
{
"context": "tuple.\n\n first (3, 4) == 3\n first (\"john\", \"doe\") == \"john\"\n-}\nfirst : (a1, a2) -> a1\nfirst (x,_)",
"end": 514,
"score": 0.9845784903,
"start": 511,
"tag": "NAME",
"value": "doe"
},
{
"context": " first (3, 4) == 3\n first (\"john\", \"doe\") == \"john\"\n-}\nfirst : (a1, a2) -> a1\nfirst (x,_) =\n x\n\n\n{-",
"end": 525,
"score": 0.9650967121,
"start": 521,
"tag": "NAME",
"value": "john"
},
{
"context": "rom a tuple.\n\n second (3, 4) == 4\n second (\"john\", \"doe\") == \"doe\"\n-}\nsecond : (a1, a2) -> a2\nseco",
"end": 657,
"score": 0.9829882979,
"start": 653,
"tag": "NAME",
"value": "john"
},
{
"context": "ple.\n\n second (3, 4) == 4\n second (\"john\", \"doe\") == \"doe\"\n-}\nsecond : (a1, a2) -> a2\nsecond (_,y",
"end": 664,
"score": 0.9895014167,
"start": 661,
"tag": "NAME",
"value": "doe"
},
{
"context": "second (3, 4) == 4\n second (\"john\", \"doe\") == \"doe\"\n-}\nsecond : (a1, a2) -> a2\nsecond (_,y) =\n y\n\n\n",
"end": 674,
"score": 0.9500325918,
"start": 671,
"tag": "NAME",
"value": "doe"
}
] | resources/assets/scripts/contact/elm-stuff/packages/elm-lang/core/5.1.1/src/Tuple.elm | kyasu1/officeiko-theme | 494 | module Tuple exposing
( first, second
, mapFirst, mapSecond
)
{-| Some helpers for working with 2-tuples.
**Note:** For larger chunks of data, it is best to switch to using records. So
instead of representing a 3D point as `(3,4,5)` and wondering why there are no
helper functions, represent it as `{ x = 3, y = 4, z = 5 }` and use all the
built-in syntax for records.
@docs first, second, mapFirst, mapSecond
-}
{-| Extract the first value from a tuple.
first (3, 4) == 3
first ("john", "doe") == "john"
-}
first : (a1, a2) -> a1
first (x,_) =
x
{-| Extract the second value from a tuple.
second (3, 4) == 4
second ("john", "doe") == "doe"
-}
second : (a1, a2) -> a2
second (_,y) =
y
{-| Transform the first value in a tuple.
import String
mapFirst String.reverse ("stressed", 16) == ("desserts", 16)
mapFirst String.length ("stressed", 16) == (8, 16)
-}
mapFirst : (a -> b) -> (a, a2) -> (b, a2)
mapFirst func (x,y) =
(func x, y)
{-| Transform the second value in a tuple.
import String
mapSecond sqrt ("stressed", 16) == ("stressed", 4)
mapSecond (\x -> x + 1) ("stressed", 16) == ("stressed", 17)
-}
mapSecond : (a -> b) -> (a1, a) -> (a1, b)
mapSecond func (x,y) =
(x, func y)
| 35683 | module Tuple exposing
( first, second
, mapFirst, mapSecond
)
{-| Some helpers for working with 2-tuples.
**Note:** For larger chunks of data, it is best to switch to using records. So
instead of representing a 3D point as `(3,4,5)` and wondering why there are no
helper functions, represent it as `{ x = 3, y = 4, z = 5 }` and use all the
built-in syntax for records.
@docs first, second, mapFirst, mapSecond
-}
{-| Extract the first value from a tuple.
first (3, 4) == 3
first ("<NAME>", "<NAME>") == "<NAME>"
-}
first : (a1, a2) -> a1
first (x,_) =
x
{-| Extract the second value from a tuple.
second (3, 4) == 4
second ("<NAME>", "<NAME>") == "<NAME>"
-}
second : (a1, a2) -> a2
second (_,y) =
y
{-| Transform the first value in a tuple.
import String
mapFirst String.reverse ("stressed", 16) == ("desserts", 16)
mapFirst String.length ("stressed", 16) == (8, 16)
-}
mapFirst : (a -> b) -> (a, a2) -> (b, a2)
mapFirst func (x,y) =
(func x, y)
{-| Transform the second value in a tuple.
import String
mapSecond sqrt ("stressed", 16) == ("stressed", 4)
mapSecond (\x -> x + 1) ("stressed", 16) == ("stressed", 17)
-}
mapSecond : (a -> b) -> (a1, a) -> (a1, b)
mapSecond func (x,y) =
(x, func y)
| true | module Tuple exposing
( first, second
, mapFirst, mapSecond
)
{-| Some helpers for working with 2-tuples.
**Note:** For larger chunks of data, it is best to switch to using records. So
instead of representing a 3D point as `(3,4,5)` and wondering why there are no
helper functions, represent it as `{ x = 3, y = 4, z = 5 }` and use all the
built-in syntax for records.
@docs first, second, mapFirst, mapSecond
-}
{-| Extract the first value from a tuple.
first (3, 4) == 3
first ("PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI") == "PI:NAME:<NAME>END_PI"
-}
first : (a1, a2) -> a1
first (x,_) =
x
{-| Extract the second value from a tuple.
second (3, 4) == 4
second ("PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI") == "PI:NAME:<NAME>END_PI"
-}
second : (a1, a2) -> a2
second (_,y) =
y
{-| Transform the first value in a tuple.
import String
mapFirst String.reverse ("stressed", 16) == ("desserts", 16)
mapFirst String.length ("stressed", 16) == (8, 16)
-}
mapFirst : (a -> b) -> (a, a2) -> (b, a2)
mapFirst func (x,y) =
(func x, y)
{-| Transform the second value in a tuple.
import String
mapSecond sqrt ("stressed", 16) == ("stressed", 4)
mapSecond (\x -> x + 1) ("stressed", 16) == ("stressed", 17)
-}
mapSecond : (a -> b) -> (a1, a) -> (a1, b)
mapSecond func (x,y) =
(x, func y)
| elm |
[
{
"context": " , owner = { displayName = Just \"Jon Doe\", id = \"\", url = \"https://open.spotify.com/user/e",
"end": 774,
"score": 0.9997543097,
"start": 767,
"tag": "NAME",
"value": "Jon Doe"
}
] | tests/Backup/PayloadTests.elm | Drako/SpotifyBackup | 2 | module Backup.PayloadTests exposing (..)
import Backup.Payloads exposing (spotifyToBackup)
import Backup.TestData exposing (..)
import Expect
import Spotify.Payloads as Spotify
import Test exposing (Test, test)
spotifyToBackupTest : Test
spotifyToBackupTest =
test "spotifyToBackup" <|
\_ ->
let
inputPlaylist : Spotify.Playlist
inputPlaylist =
{ href = ""
, url = "https://open.spotify.com/playlist/example"
, id = "<some-id>"
, images = []
, name = "example"
, isPublic = False
, tracks = { href = "", total = 2 }
, owner = { displayName = Just "Jon Doe", id = "", url = "https://open.spotify.com/user/example" }
}
inputTracks : List Spotify.Track
inputTracks =
[ trackObject, trackLocalFileObject ]
in
Expect.equal playlistObject <| spotifyToBackup inputPlaylist inputTracks
| 28438 | module Backup.PayloadTests exposing (..)
import Backup.Payloads exposing (spotifyToBackup)
import Backup.TestData exposing (..)
import Expect
import Spotify.Payloads as Spotify
import Test exposing (Test, test)
spotifyToBackupTest : Test
spotifyToBackupTest =
test "spotifyToBackup" <|
\_ ->
let
inputPlaylist : Spotify.Playlist
inputPlaylist =
{ href = ""
, url = "https://open.spotify.com/playlist/example"
, id = "<some-id>"
, images = []
, name = "example"
, isPublic = False
, tracks = { href = "", total = 2 }
, owner = { displayName = Just "<NAME>", id = "", url = "https://open.spotify.com/user/example" }
}
inputTracks : List Spotify.Track
inputTracks =
[ trackObject, trackLocalFileObject ]
in
Expect.equal playlistObject <| spotifyToBackup inputPlaylist inputTracks
| true | module Backup.PayloadTests exposing (..)
import Backup.Payloads exposing (spotifyToBackup)
import Backup.TestData exposing (..)
import Expect
import Spotify.Payloads as Spotify
import Test exposing (Test, test)
spotifyToBackupTest : Test
spotifyToBackupTest =
test "spotifyToBackup" <|
\_ ->
let
inputPlaylist : Spotify.Playlist
inputPlaylist =
{ href = ""
, url = "https://open.spotify.com/playlist/example"
, id = "<some-id>"
, images = []
, name = "example"
, isPublic = False
, tracks = { href = "", total = 2 }
, owner = { displayName = Just "PI:NAME:<NAME>END_PI", id = "", url = "https://open.spotify.com/user/example" }
}
inputTracks : List Spotify.Track
inputTracks =
[ trackObject, trackLocalFileObject ]
in
Expect.equal playlistObject <| spotifyToBackup inputPlaylist inputTracks
| elm |
[
{
"context": "aantal: Int }\n\nmyinit : Model\nmyinit = { naam = \"Klaas\", aantal = 3 }\n\n------------------- VIEW --------",
"end": 711,
"score": 0.9993054271,
"start": 706,
"tag": "NAME",
"value": "Klaas"
}
] | scholing/sneeuwvlokken-4.elm | eelcodijkstra/functioneelElm | 2 | -- sneeuwvlokken-4 -- message type
module Main exposing(..)
import Browser
import Html exposing (Html, text, div, input, Attribute)
import Html.Attributes exposing (placeholder, value)
import Html.Events exposing (onInput)
import String exposing (join)
import List exposing(..)
import Maybe
import Svg exposing (svg, g, polyline)
import Svg.Attributes exposing (..)
-------------- ALGEMENE DEFINITIES ------------------------
--================= SHOWTIME ==========================
main = Browser.sandbox { init = myinit, view = myview, update = myupdate }
------------------- MODEL -----------------------------
type alias Model = { naam: String, aantal: Int }
myinit : Model
myinit = { naam = "Klaas", aantal = 3 }
------------------- VIEW -----------------------------
myview: Model -> Html msg
myview model =
let groet = String.repeat model.aantal "Hoi, " in
div []
[
div [ ] [ Html.b [] [ text groet], text model.naam ]
, input [ placeholder "gewenst aantal" ] [ ]
]
------------------- UPDATE -----------------------------
type Msg = Nada
myupdate: Msg -> Model -> Model
myupdate msg model =
model
| 4210 | -- sneeuwvlokken-4 -- message type
module Main exposing(..)
import Browser
import Html exposing (Html, text, div, input, Attribute)
import Html.Attributes exposing (placeholder, value)
import Html.Events exposing (onInput)
import String exposing (join)
import List exposing(..)
import Maybe
import Svg exposing (svg, g, polyline)
import Svg.Attributes exposing (..)
-------------- ALGEMENE DEFINITIES ------------------------
--================= SHOWTIME ==========================
main = Browser.sandbox { init = myinit, view = myview, update = myupdate }
------------------- MODEL -----------------------------
type alias Model = { naam: String, aantal: Int }
myinit : Model
myinit = { naam = "<NAME>", aantal = 3 }
------------------- VIEW -----------------------------
myview: Model -> Html msg
myview model =
let groet = String.repeat model.aantal "Hoi, " in
div []
[
div [ ] [ Html.b [] [ text groet], text model.naam ]
, input [ placeholder "gewenst aantal" ] [ ]
]
------------------- UPDATE -----------------------------
type Msg = Nada
myupdate: Msg -> Model -> Model
myupdate msg model =
model
| true | -- sneeuwvlokken-4 -- message type
module Main exposing(..)
import Browser
import Html exposing (Html, text, div, input, Attribute)
import Html.Attributes exposing (placeholder, value)
import Html.Events exposing (onInput)
import String exposing (join)
import List exposing(..)
import Maybe
import Svg exposing (svg, g, polyline)
import Svg.Attributes exposing (..)
-------------- ALGEMENE DEFINITIES ------------------------
--================= SHOWTIME ==========================
main = Browser.sandbox { init = myinit, view = myview, update = myupdate }
------------------- MODEL -----------------------------
type alias Model = { naam: String, aantal: Int }
myinit : Model
myinit = { naam = "PI:NAME:<NAME>END_PI", aantal = 3 }
------------------- VIEW -----------------------------
myview: Model -> Html msg
myview model =
let groet = String.repeat model.aantal "Hoi, " in
div []
[
div [ ] [ Html.b [] [ text groet], text model.naam ]
, input [ placeholder "gewenst aantal" ] [ ]
]
------------------- UPDATE -----------------------------
type Msg = Nada
myupdate: Msg -> Model -> Model
myupdate msg model =
model
| elm |
[
{
"context": "ct\n [ ( \"name\", JE.string \"george\" )\n , ( \"age\", JE.int 6 )\n",
"end": 6407,
"score": 0.9989512563,
"start": 6401,
"tag": "NAME",
"value": "george"
}
] | tests/SignersTests/CanonicalTests.elm | epequeno/elm-aws-core | 11 | module SignersTests.CanonicalTests
exposing
( canonicalHeadersTests
, canonicalPayloadTests
, canonicalQueryStringTests
, canonicalTests
, canonicalUriTests
, signedHeadersTests
)
import AWS.Core.Http
import AWS.Core.InternalTypes exposing (Signer(..))
import AWS.Core.Signers.Canonical exposing (..)
import Expect
import Json.Encode as JE
import Test exposing (Test, describe, test)
import TestHelpers exposing (expectMatches)
canonicalTests : Test
canonicalTests =
describe "canonical"
[ test "does the same request encoding as http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html" <|
\_ ->
canonical SignV4
"get"
""
[ ( "Content-Type", "application/x-www-form-urlencoded; charset=utf-8" )
, ( "x-amz-date", "20150830T123600Z" )
, ( "host", " iam.amazonaws.com" )
]
[ ( "Version", "2010-05-08" )
, ( "Action", "ListUsers" )
]
AWS.Core.Http.emptyBody
|> Expect.equal "f536975d06c0309214f805bb90ccff089219ecd68b2577efef23edd43b7e1a59"
, test "does the same request encoding as http://docs.aws.amazon.com/general/latest/gr/signature-v4-test-suite.html#signature-v4-test-suite-example" <|
\_ ->
canonical SignV4
"get"
""
[ ( "X-Amz-Date", "20150830T123600Z" )
, ( "Host", "example.amazonaws.com" )
]
[ ( "Param1", "value1" )
, ( "Param2", "value2" )
]
AWS.Core.Http.emptyBody
|> Expect.equal "816cd5b414d056048ba4f7c5386d6e0533120fb1fcfa93762cf0fc39e2cf19e0"
]
canonicalUriTests : Test
canonicalUriTests =
describe "canonicalUri"
[ test "converts an empty path to /" <|
\_ ->
""
|> canonicalUri SignV4
|> Expect.equal "/"
, test "removes redundant separators (i.e. slash /)" <|
\_ ->
"//foo//bar/car"
|> canonicalUri SignV4
|> Expect.equal "/foo/bar/car"
, test "leaves redundant separators when signing for S3" <|
\_ ->
"//foo//bar/car"
|> canonicalUri SignS3
|> Expect.equal "//foo//bar/car"
, test "uri encodes path components" <|
\_ ->
"/foo-bar/biz baz/one=two"
|> canonicalUri SignV4
|> Expect.equal "/foo-bar/biz%20baz/one%3Dtwo"
]
canonicalQueryStringTests : Test
canonicalQueryStringTests =
describe "canonicalQueryString"
[ test "empty string when query params is an empty list" <|
\_ ->
[]
|> canonicalQueryString
|> Expect.equal ""
, test "sorts by query keys" <|
\_ ->
[ ( "bar", "car" ), ( "Foo", "baz" ), ( "alpha", "beta" ) ]
|> canonicalQueryString
|> Expect.equal "Foo=baz&alpha=beta&bar=car"
, test "encodes a key without a value as key=" <|
\_ ->
[ ( "foo", "baz" ), ( "bar", "" ) ]
|> canonicalQueryString
|> Expect.equal "bar=&foo=baz"
, test "uri encodes keys and values" <|
\_ ->
[ ( "one & two", "three=four" ) ]
|> canonicalQueryString
|> Expect.equal "one%20%26%20two=three%3Dfour"
, test "does not uri encode 0-9, -, _, ., or ~" <|
\_ ->
[ ( "keep-these", "_.~0123456789" ) ]
|> canonicalQueryString
|> Expect.equal "keep-these=_.~0123456789"
, test "uri encodes all other non-letter characters" <|
\_ ->
[ ( "encode-these"
, " !\"#$%&'()*+,/:;<=>?@[\\]^`{|}"
)
]
|> canonicalQueryString
|> Expect.equal "encode-these=%20%21%22%23%24%25%26%27%28%29%2A%2B%2C%2F%3A%3B%3C%3D%3E%3F%40%5B%5C%5D%5E%60%7B%7C%7D"
]
canonicalHeadersTests : Test
canonicalHeadersTests =
describe "canonicalHeaders"
[ test "sorts the headers and converts names to lowercase" <|
\_ ->
[ ( "one-1", "a" ), ( "two-2", "b" ), ( "Three-3", "c" ), ( "four-4", "d" ) ]
|> canonicalHeaders
|> Expect.equal
([ "four-4:d"
, "one-1:a"
, "three-3:c"
, "two-2:b"
]
|> String.join "\n"
)
, test "removes extra spaces from the values" <|
\_ ->
[ ( "my-header-1", " a b c " )
, ( "My-header-2", " \"a b c\" " )
, ( "content-type", "application/json; charset=utf-8" )
]
|> canonicalHeaders
|> Expect.equal
([ "content-type:application/json; charset=utf-8"
, "my-header-1:a b c"
, "my-header-2:\"a b c\""
]
|> String.join "\n"
)
]
signedHeadersTests : Test
signedHeadersTests =
describe "signedHeaders"
[ test "sorts the header names and converts to lowercase" <|
\_ ->
[ ( "one-1", "a" ), ( "two-2", "b" ), ( "Three-3", "c" ), ( "four-4", "d" ) ]
|> signedHeaders
|> Expect.equal "four-4;one-1;three-3;two-2"
]
canonicalPayloadTests : Test
canonicalPayloadTests =
let
hexPattern =
"^[0-9a-f]+$"
in
describe "canonicalPayload"
[ test "hex encodes a JSON body" <|
\_ ->
AWS.Core.Http.jsonBody
(JE.object
[ ( "name", JE.string "george" )
, ( "age", JE.int 6 )
]
)
|> canonicalPayload
|> expectMatches hexPattern
, test "hex encodes an empty body" <|
\_ ->
AWS.Core.Http.emptyBody
|> canonicalPayload
|> expectMatches hexPattern
]
| 56212 | module SignersTests.CanonicalTests
exposing
( canonicalHeadersTests
, canonicalPayloadTests
, canonicalQueryStringTests
, canonicalTests
, canonicalUriTests
, signedHeadersTests
)
import AWS.Core.Http
import AWS.Core.InternalTypes exposing (Signer(..))
import AWS.Core.Signers.Canonical exposing (..)
import Expect
import Json.Encode as JE
import Test exposing (Test, describe, test)
import TestHelpers exposing (expectMatches)
canonicalTests : Test
canonicalTests =
describe "canonical"
[ test "does the same request encoding as http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html" <|
\_ ->
canonical SignV4
"get"
""
[ ( "Content-Type", "application/x-www-form-urlencoded; charset=utf-8" )
, ( "x-amz-date", "20150830T123600Z" )
, ( "host", " iam.amazonaws.com" )
]
[ ( "Version", "2010-05-08" )
, ( "Action", "ListUsers" )
]
AWS.Core.Http.emptyBody
|> Expect.equal "f536975d06c0309214f805bb90ccff089219ecd68b2577efef23edd43b7e1a59"
, test "does the same request encoding as http://docs.aws.amazon.com/general/latest/gr/signature-v4-test-suite.html#signature-v4-test-suite-example" <|
\_ ->
canonical SignV4
"get"
""
[ ( "X-Amz-Date", "20150830T123600Z" )
, ( "Host", "example.amazonaws.com" )
]
[ ( "Param1", "value1" )
, ( "Param2", "value2" )
]
AWS.Core.Http.emptyBody
|> Expect.equal "816cd5b414d056048ba4f7c5386d6e0533120fb1fcfa93762cf0fc39e2cf19e0"
]
canonicalUriTests : Test
canonicalUriTests =
describe "canonicalUri"
[ test "converts an empty path to /" <|
\_ ->
""
|> canonicalUri SignV4
|> Expect.equal "/"
, test "removes redundant separators (i.e. slash /)" <|
\_ ->
"//foo//bar/car"
|> canonicalUri SignV4
|> Expect.equal "/foo/bar/car"
, test "leaves redundant separators when signing for S3" <|
\_ ->
"//foo//bar/car"
|> canonicalUri SignS3
|> Expect.equal "//foo//bar/car"
, test "uri encodes path components" <|
\_ ->
"/foo-bar/biz baz/one=two"
|> canonicalUri SignV4
|> Expect.equal "/foo-bar/biz%20baz/one%3Dtwo"
]
canonicalQueryStringTests : Test
canonicalQueryStringTests =
describe "canonicalQueryString"
[ test "empty string when query params is an empty list" <|
\_ ->
[]
|> canonicalQueryString
|> Expect.equal ""
, test "sorts by query keys" <|
\_ ->
[ ( "bar", "car" ), ( "Foo", "baz" ), ( "alpha", "beta" ) ]
|> canonicalQueryString
|> Expect.equal "Foo=baz&alpha=beta&bar=car"
, test "encodes a key without a value as key=" <|
\_ ->
[ ( "foo", "baz" ), ( "bar", "" ) ]
|> canonicalQueryString
|> Expect.equal "bar=&foo=baz"
, test "uri encodes keys and values" <|
\_ ->
[ ( "one & two", "three=four" ) ]
|> canonicalQueryString
|> Expect.equal "one%20%26%20two=three%3Dfour"
, test "does not uri encode 0-9, -, _, ., or ~" <|
\_ ->
[ ( "keep-these", "_.~0123456789" ) ]
|> canonicalQueryString
|> Expect.equal "keep-these=_.~0123456789"
, test "uri encodes all other non-letter characters" <|
\_ ->
[ ( "encode-these"
, " !\"#$%&'()*+,/:;<=>?@[\\]^`{|}"
)
]
|> canonicalQueryString
|> Expect.equal "encode-these=%20%21%22%23%24%25%26%27%28%29%2A%2B%2C%2F%3A%3B%3C%3D%3E%3F%40%5B%5C%5D%5E%60%7B%7C%7D"
]
canonicalHeadersTests : Test
canonicalHeadersTests =
describe "canonicalHeaders"
[ test "sorts the headers and converts names to lowercase" <|
\_ ->
[ ( "one-1", "a" ), ( "two-2", "b" ), ( "Three-3", "c" ), ( "four-4", "d" ) ]
|> canonicalHeaders
|> Expect.equal
([ "four-4:d"
, "one-1:a"
, "three-3:c"
, "two-2:b"
]
|> String.join "\n"
)
, test "removes extra spaces from the values" <|
\_ ->
[ ( "my-header-1", " a b c " )
, ( "My-header-2", " \"a b c\" " )
, ( "content-type", "application/json; charset=utf-8" )
]
|> canonicalHeaders
|> Expect.equal
([ "content-type:application/json; charset=utf-8"
, "my-header-1:a b c"
, "my-header-2:\"a b c\""
]
|> String.join "\n"
)
]
signedHeadersTests : Test
signedHeadersTests =
describe "signedHeaders"
[ test "sorts the header names and converts to lowercase" <|
\_ ->
[ ( "one-1", "a" ), ( "two-2", "b" ), ( "Three-3", "c" ), ( "four-4", "d" ) ]
|> signedHeaders
|> Expect.equal "four-4;one-1;three-3;two-2"
]
canonicalPayloadTests : Test
canonicalPayloadTests =
let
hexPattern =
"^[0-9a-f]+$"
in
describe "canonicalPayload"
[ test "hex encodes a JSON body" <|
\_ ->
AWS.Core.Http.jsonBody
(JE.object
[ ( "name", JE.string "<NAME>" )
, ( "age", JE.int 6 )
]
)
|> canonicalPayload
|> expectMatches hexPattern
, test "hex encodes an empty body" <|
\_ ->
AWS.Core.Http.emptyBody
|> canonicalPayload
|> expectMatches hexPattern
]
| true | module SignersTests.CanonicalTests
exposing
( canonicalHeadersTests
, canonicalPayloadTests
, canonicalQueryStringTests
, canonicalTests
, canonicalUriTests
, signedHeadersTests
)
import AWS.Core.Http
import AWS.Core.InternalTypes exposing (Signer(..))
import AWS.Core.Signers.Canonical exposing (..)
import Expect
import Json.Encode as JE
import Test exposing (Test, describe, test)
import TestHelpers exposing (expectMatches)
canonicalTests : Test
canonicalTests =
describe "canonical"
[ test "does the same request encoding as http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html" <|
\_ ->
canonical SignV4
"get"
""
[ ( "Content-Type", "application/x-www-form-urlencoded; charset=utf-8" )
, ( "x-amz-date", "20150830T123600Z" )
, ( "host", " iam.amazonaws.com" )
]
[ ( "Version", "2010-05-08" )
, ( "Action", "ListUsers" )
]
AWS.Core.Http.emptyBody
|> Expect.equal "f536975d06c0309214f805bb90ccff089219ecd68b2577efef23edd43b7e1a59"
, test "does the same request encoding as http://docs.aws.amazon.com/general/latest/gr/signature-v4-test-suite.html#signature-v4-test-suite-example" <|
\_ ->
canonical SignV4
"get"
""
[ ( "X-Amz-Date", "20150830T123600Z" )
, ( "Host", "example.amazonaws.com" )
]
[ ( "Param1", "value1" )
, ( "Param2", "value2" )
]
AWS.Core.Http.emptyBody
|> Expect.equal "816cd5b414d056048ba4f7c5386d6e0533120fb1fcfa93762cf0fc39e2cf19e0"
]
canonicalUriTests : Test
canonicalUriTests =
describe "canonicalUri"
[ test "converts an empty path to /" <|
\_ ->
""
|> canonicalUri SignV4
|> Expect.equal "/"
, test "removes redundant separators (i.e. slash /)" <|
\_ ->
"//foo//bar/car"
|> canonicalUri SignV4
|> Expect.equal "/foo/bar/car"
, test "leaves redundant separators when signing for S3" <|
\_ ->
"//foo//bar/car"
|> canonicalUri SignS3
|> Expect.equal "//foo//bar/car"
, test "uri encodes path components" <|
\_ ->
"/foo-bar/biz baz/one=two"
|> canonicalUri SignV4
|> Expect.equal "/foo-bar/biz%20baz/one%3Dtwo"
]
canonicalQueryStringTests : Test
canonicalQueryStringTests =
describe "canonicalQueryString"
[ test "empty string when query params is an empty list" <|
\_ ->
[]
|> canonicalQueryString
|> Expect.equal ""
, test "sorts by query keys" <|
\_ ->
[ ( "bar", "car" ), ( "Foo", "baz" ), ( "alpha", "beta" ) ]
|> canonicalQueryString
|> Expect.equal "Foo=baz&alpha=beta&bar=car"
, test "encodes a key without a value as key=" <|
\_ ->
[ ( "foo", "baz" ), ( "bar", "" ) ]
|> canonicalQueryString
|> Expect.equal "bar=&foo=baz"
, test "uri encodes keys and values" <|
\_ ->
[ ( "one & two", "three=four" ) ]
|> canonicalQueryString
|> Expect.equal "one%20%26%20two=three%3Dfour"
, test "does not uri encode 0-9, -, _, ., or ~" <|
\_ ->
[ ( "keep-these", "_.~0123456789" ) ]
|> canonicalQueryString
|> Expect.equal "keep-these=_.~0123456789"
, test "uri encodes all other non-letter characters" <|
\_ ->
[ ( "encode-these"
, " !\"#$%&'()*+,/:;<=>?@[\\]^`{|}"
)
]
|> canonicalQueryString
|> Expect.equal "encode-these=%20%21%22%23%24%25%26%27%28%29%2A%2B%2C%2F%3A%3B%3C%3D%3E%3F%40%5B%5C%5D%5E%60%7B%7C%7D"
]
canonicalHeadersTests : Test
canonicalHeadersTests =
describe "canonicalHeaders"
[ test "sorts the headers and converts names to lowercase" <|
\_ ->
[ ( "one-1", "a" ), ( "two-2", "b" ), ( "Three-3", "c" ), ( "four-4", "d" ) ]
|> canonicalHeaders
|> Expect.equal
([ "four-4:d"
, "one-1:a"
, "three-3:c"
, "two-2:b"
]
|> String.join "\n"
)
, test "removes extra spaces from the values" <|
\_ ->
[ ( "my-header-1", " a b c " )
, ( "My-header-2", " \"a b c\" " )
, ( "content-type", "application/json; charset=utf-8" )
]
|> canonicalHeaders
|> Expect.equal
([ "content-type:application/json; charset=utf-8"
, "my-header-1:a b c"
, "my-header-2:\"a b c\""
]
|> String.join "\n"
)
]
signedHeadersTests : Test
signedHeadersTests =
describe "signedHeaders"
[ test "sorts the header names and converts to lowercase" <|
\_ ->
[ ( "one-1", "a" ), ( "two-2", "b" ), ( "Three-3", "c" ), ( "four-4", "d" ) ]
|> signedHeaders
|> Expect.equal "four-4;one-1;three-3;two-2"
]
canonicalPayloadTests : Test
canonicalPayloadTests =
let
hexPattern =
"^[0-9a-f]+$"
in
describe "canonicalPayload"
[ test "hex encodes a JSON body" <|
\_ ->
AWS.Core.Http.jsonBody
(JE.object
[ ( "name", JE.string "PI:NAME:<NAME>END_PI" )
, ( "age", JE.int 6 )
]
)
|> canonicalPayload
|> expectMatches hexPattern
, test "hex encodes an empty body" <|
\_ ->
AWS.Core.Http.emptyBody
|> canonicalPayload
|> expectMatches hexPattern
]
| elm |
[
{
"context": ")\r\n ]\r\n , name = \"Placeholder\"\r\n , score = 0\r\n , kills = 0\r\n ",
"end": 1665,
"score": 0.7357559204,
"start": 1654,
"tag": "NAME",
"value": "Placeholder"
}
] | elm-components/Galactic-War/src/GalacticWar/Stats.elm | BeardedPlatypus/capita-selecta-ctf | 0 | module GalacticWar.Stats exposing ( Model, init
, Msg ( UpdateModel )
, UpdateModelMsg ( UpdateTeam
, UpdateTeamScore
, UpdateName
, UpdateScore
, UpdateKills
, UpdateDeaths
)
, update, subscriptions, view )
-- Import Libraries
--------------------------------------------------------------------------------
import Html exposing ( Html )
import Html.App as App
import Html.Attributes
import Html.Events
import Platform.Cmd as Cmd exposing ( Cmd )
import Platform.Sub as Sub exposing ( Sub )
import List
-- Import modules
--------------------------------------------------------------------------------
import GalacticWar.Team as Team
-- Model
--------------------------------------------------------------------------------
-- TODO fix the team_score display
type alias Model = { team : Team.ID
, team_scores : List ( Team.ID, Int )
, name : String
, score : Int
, kills : Int
, deaths : Int
}
init : ( Model, Cmd Msg )
init = ( { team = Team.Red
, team_scores = [ ( Team.Red, 0 )
, ( Team.Blue, 0 )
]
, name = "Placeholder"
, score = 0
, kills = 0
, deaths = 0
}
, Cmd.none
)
-- Update
--------------------------------------------------------------------------------
type Msg = UpdateModel UpdateModelMsg
type UpdateModelMsg = UpdateTeam Team.ID
| UpdateTeamScore ( List ( Team.ID, Int ))
| UpdateName String
| UpdateScore Int
| UpdateKills Int
| UpdateDeaths Int
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
UpdateModel update_model_msg -> updateModel update_model_msg model
--------------------------------------------------------------------------------
-- FIXME implement update team score in a safer way
updateModel : UpdateModelMsg -> Model -> ( Model, Cmd Msg )
updateModel msg model =
case msg of
UpdateTeam team_id ->
( { model | team = team_id }, Cmd.none )
UpdateTeamScore new_team_scores ->
( { model | team_scores = new_team_scores }, Cmd.none )
UpdateName new_name ->
( { model | name = new_name }, Cmd.none )
UpdateScore new_score ->
( { model | score = new_score }, Cmd.none )
UpdateKills new_kills ->
( { model | kills = new_kills }, Cmd.none )
UpdateDeaths new_deaths ->
( { model | deaths = new_deaths }, Cmd.none )
-- Subscriptions
--------------------------------------------------------------------------------
subscriptions : Model -> Sub Msg
subscriptions model = Sub.none
-- View
--------------------------------------------------------------------------------
view : Model -> Html Msg
view model =
let
outer_container =
Html.div [ Html.Attributes.class "col-xs-6 col-sm-6 col-md-6 col-lg-6 ctf_component_side" ]
in
outer_container [ Html.div [ Html.Attributes.class "row ctf_stats_teams" ]
[ viewTeamScores model.team model.team_scores ]
, Html.div [ Html.Attributes.class "row ctf_stats_values" ]
[ viewPlayerStats model ]
]
viewTeamScores : Team.ID -> List ( Team.ID, Int ) -> Html Msg
viewTeamScores player_team team_scores =
let
cls t = case t of
Team.Red -> "row ctf_team_red_row"
Team.Blue -> "row ctf_team_blue_row"
outer_row t = Html.div [ Html.Attributes.class ( cls t ) ]
inner_class_2 = Html.div [ Html.Attributes.class "col-md-2" ]
inner_class_6 = Html.div [ Html.Attributes.class "col-md-6" ]
inner_class_4 = Html.div [ Html.Attributes.class "col-md-4" ]
icon_player_team = Html.img [ Html.Attributes.src ( Team.iconUrl )
, Html.Attributes.class "ctf_team_icon"
] [ ]
team_player_icon t = inner_class_2 ( if player_team == t then [ icon_player_team ]
else [ ]
)
team_name t = inner_class_6 [ Html.text ( Team.toStr t ) ]
team_score s = inner_class_4 [ Html.text ( toString s ) ]
toHtml ( id, score ) = outer_row id [ team_player_icon id
, team_name id
, team_score score
]
in
Html.div [ Html.Attributes.class "col-md-12" ]
( List.map toHtml team_scores )
viewPlayerStats : Model -> Html Msg
viewPlayerStats model =
let
outer_row = Html.div [ Html.Attributes.class "row" ]
inner_class_8 = Html.div [ Html.Attributes.class "col-md-8" ]
inner_class_4 = Html.div [ Html.Attributes.class "col-md-4" ]
intToHtml i = inner_class_4 [ Html.text ( toString i )]
player_name = outer_row [ inner_class_8 [ Html.text "Player name:" ]
, inner_class_4 [ Html.text model.name ]]
player_score = outer_row [ inner_class_8 [ Html.text "Score:" ]
, intToHtml model.score ]
player_kills = outer_row [ inner_class_8 [ Html.text "Kills:"]
, intToHtml model.kills ]
player_deaths = outer_row [ inner_class_8 [ Html.text "Deaths:"]
, intToHtml model.deaths ]
in
Html.div [ Html.Attributes.class "col-md-12" ]
[ player_name
, player_score
, player_kills
, player_deaths
]
| 14272 | module GalacticWar.Stats exposing ( Model, init
, Msg ( UpdateModel )
, UpdateModelMsg ( UpdateTeam
, UpdateTeamScore
, UpdateName
, UpdateScore
, UpdateKills
, UpdateDeaths
)
, update, subscriptions, view )
-- Import Libraries
--------------------------------------------------------------------------------
import Html exposing ( Html )
import Html.App as App
import Html.Attributes
import Html.Events
import Platform.Cmd as Cmd exposing ( Cmd )
import Platform.Sub as Sub exposing ( Sub )
import List
-- Import modules
--------------------------------------------------------------------------------
import GalacticWar.Team as Team
-- Model
--------------------------------------------------------------------------------
-- TODO fix the team_score display
type alias Model = { team : Team.ID
, team_scores : List ( Team.ID, Int )
, name : String
, score : Int
, kills : Int
, deaths : Int
}
init : ( Model, Cmd Msg )
init = ( { team = Team.Red
, team_scores = [ ( Team.Red, 0 )
, ( Team.Blue, 0 )
]
, name = "<NAME>"
, score = 0
, kills = 0
, deaths = 0
}
, Cmd.none
)
-- Update
--------------------------------------------------------------------------------
type Msg = UpdateModel UpdateModelMsg
type UpdateModelMsg = UpdateTeam Team.ID
| UpdateTeamScore ( List ( Team.ID, Int ))
| UpdateName String
| UpdateScore Int
| UpdateKills Int
| UpdateDeaths Int
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
UpdateModel update_model_msg -> updateModel update_model_msg model
--------------------------------------------------------------------------------
-- FIXME implement update team score in a safer way
updateModel : UpdateModelMsg -> Model -> ( Model, Cmd Msg )
updateModel msg model =
case msg of
UpdateTeam team_id ->
( { model | team = team_id }, Cmd.none )
UpdateTeamScore new_team_scores ->
( { model | team_scores = new_team_scores }, Cmd.none )
UpdateName new_name ->
( { model | name = new_name }, Cmd.none )
UpdateScore new_score ->
( { model | score = new_score }, Cmd.none )
UpdateKills new_kills ->
( { model | kills = new_kills }, Cmd.none )
UpdateDeaths new_deaths ->
( { model | deaths = new_deaths }, Cmd.none )
-- Subscriptions
--------------------------------------------------------------------------------
subscriptions : Model -> Sub Msg
subscriptions model = Sub.none
-- View
--------------------------------------------------------------------------------
view : Model -> Html Msg
view model =
let
outer_container =
Html.div [ Html.Attributes.class "col-xs-6 col-sm-6 col-md-6 col-lg-6 ctf_component_side" ]
in
outer_container [ Html.div [ Html.Attributes.class "row ctf_stats_teams" ]
[ viewTeamScores model.team model.team_scores ]
, Html.div [ Html.Attributes.class "row ctf_stats_values" ]
[ viewPlayerStats model ]
]
viewTeamScores : Team.ID -> List ( Team.ID, Int ) -> Html Msg
viewTeamScores player_team team_scores =
let
cls t = case t of
Team.Red -> "row ctf_team_red_row"
Team.Blue -> "row ctf_team_blue_row"
outer_row t = Html.div [ Html.Attributes.class ( cls t ) ]
inner_class_2 = Html.div [ Html.Attributes.class "col-md-2" ]
inner_class_6 = Html.div [ Html.Attributes.class "col-md-6" ]
inner_class_4 = Html.div [ Html.Attributes.class "col-md-4" ]
icon_player_team = Html.img [ Html.Attributes.src ( Team.iconUrl )
, Html.Attributes.class "ctf_team_icon"
] [ ]
team_player_icon t = inner_class_2 ( if player_team == t then [ icon_player_team ]
else [ ]
)
team_name t = inner_class_6 [ Html.text ( Team.toStr t ) ]
team_score s = inner_class_4 [ Html.text ( toString s ) ]
toHtml ( id, score ) = outer_row id [ team_player_icon id
, team_name id
, team_score score
]
in
Html.div [ Html.Attributes.class "col-md-12" ]
( List.map toHtml team_scores )
viewPlayerStats : Model -> Html Msg
viewPlayerStats model =
let
outer_row = Html.div [ Html.Attributes.class "row" ]
inner_class_8 = Html.div [ Html.Attributes.class "col-md-8" ]
inner_class_4 = Html.div [ Html.Attributes.class "col-md-4" ]
intToHtml i = inner_class_4 [ Html.text ( toString i )]
player_name = outer_row [ inner_class_8 [ Html.text "Player name:" ]
, inner_class_4 [ Html.text model.name ]]
player_score = outer_row [ inner_class_8 [ Html.text "Score:" ]
, intToHtml model.score ]
player_kills = outer_row [ inner_class_8 [ Html.text "Kills:"]
, intToHtml model.kills ]
player_deaths = outer_row [ inner_class_8 [ Html.text "Deaths:"]
, intToHtml model.deaths ]
in
Html.div [ Html.Attributes.class "col-md-12" ]
[ player_name
, player_score
, player_kills
, player_deaths
]
| true | module GalacticWar.Stats exposing ( Model, init
, Msg ( UpdateModel )
, UpdateModelMsg ( UpdateTeam
, UpdateTeamScore
, UpdateName
, UpdateScore
, UpdateKills
, UpdateDeaths
)
, update, subscriptions, view )
-- Import Libraries
--------------------------------------------------------------------------------
import Html exposing ( Html )
import Html.App as App
import Html.Attributes
import Html.Events
import Platform.Cmd as Cmd exposing ( Cmd )
import Platform.Sub as Sub exposing ( Sub )
import List
-- Import modules
--------------------------------------------------------------------------------
import GalacticWar.Team as Team
-- Model
--------------------------------------------------------------------------------
-- TODO fix the team_score display
type alias Model = { team : Team.ID
, team_scores : List ( Team.ID, Int )
, name : String
, score : Int
, kills : Int
, deaths : Int
}
init : ( Model, Cmd Msg )
init = ( { team = Team.Red
, team_scores = [ ( Team.Red, 0 )
, ( Team.Blue, 0 )
]
, name = "PI:NAME:<NAME>END_PI"
, score = 0
, kills = 0
, deaths = 0
}
, Cmd.none
)
-- Update
--------------------------------------------------------------------------------
type Msg = UpdateModel UpdateModelMsg
type UpdateModelMsg = UpdateTeam Team.ID
| UpdateTeamScore ( List ( Team.ID, Int ))
| UpdateName String
| UpdateScore Int
| UpdateKills Int
| UpdateDeaths Int
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
UpdateModel update_model_msg -> updateModel update_model_msg model
--------------------------------------------------------------------------------
-- FIXME implement update team score in a safer way
updateModel : UpdateModelMsg -> Model -> ( Model, Cmd Msg )
updateModel msg model =
case msg of
UpdateTeam team_id ->
( { model | team = team_id }, Cmd.none )
UpdateTeamScore new_team_scores ->
( { model | team_scores = new_team_scores }, Cmd.none )
UpdateName new_name ->
( { model | name = new_name }, Cmd.none )
UpdateScore new_score ->
( { model | score = new_score }, Cmd.none )
UpdateKills new_kills ->
( { model | kills = new_kills }, Cmd.none )
UpdateDeaths new_deaths ->
( { model | deaths = new_deaths }, Cmd.none )
-- Subscriptions
--------------------------------------------------------------------------------
subscriptions : Model -> Sub Msg
subscriptions model = Sub.none
-- View
--------------------------------------------------------------------------------
view : Model -> Html Msg
view model =
let
outer_container =
Html.div [ Html.Attributes.class "col-xs-6 col-sm-6 col-md-6 col-lg-6 ctf_component_side" ]
in
outer_container [ Html.div [ Html.Attributes.class "row ctf_stats_teams" ]
[ viewTeamScores model.team model.team_scores ]
, Html.div [ Html.Attributes.class "row ctf_stats_values" ]
[ viewPlayerStats model ]
]
viewTeamScores : Team.ID -> List ( Team.ID, Int ) -> Html Msg
viewTeamScores player_team team_scores =
let
cls t = case t of
Team.Red -> "row ctf_team_red_row"
Team.Blue -> "row ctf_team_blue_row"
outer_row t = Html.div [ Html.Attributes.class ( cls t ) ]
inner_class_2 = Html.div [ Html.Attributes.class "col-md-2" ]
inner_class_6 = Html.div [ Html.Attributes.class "col-md-6" ]
inner_class_4 = Html.div [ Html.Attributes.class "col-md-4" ]
icon_player_team = Html.img [ Html.Attributes.src ( Team.iconUrl )
, Html.Attributes.class "ctf_team_icon"
] [ ]
team_player_icon t = inner_class_2 ( if player_team == t then [ icon_player_team ]
else [ ]
)
team_name t = inner_class_6 [ Html.text ( Team.toStr t ) ]
team_score s = inner_class_4 [ Html.text ( toString s ) ]
toHtml ( id, score ) = outer_row id [ team_player_icon id
, team_name id
, team_score score
]
in
Html.div [ Html.Attributes.class "col-md-12" ]
( List.map toHtml team_scores )
viewPlayerStats : Model -> Html Msg
viewPlayerStats model =
let
outer_row = Html.div [ Html.Attributes.class "row" ]
inner_class_8 = Html.div [ Html.Attributes.class "col-md-8" ]
inner_class_4 = Html.div [ Html.Attributes.class "col-md-4" ]
intToHtml i = inner_class_4 [ Html.text ( toString i )]
player_name = outer_row [ inner_class_8 [ Html.text "Player name:" ]
, inner_class_4 [ Html.text model.name ]]
player_score = outer_row [ inner_class_8 [ Html.text "Score:" ]
, intToHtml model.score ]
player_kills = outer_row [ inner_class_8 [ Html.text "Kills:"]
, intToHtml model.kills ]
player_deaths = outer_row [ inner_class_8 [ Html.text "Deaths:"]
, intToHtml model.deaths ]
in
Html.div [ Html.Attributes.class "col-md-12" ]
[ player_name
, player_score
, player_kills
, player_deaths
]
| elm |
[
{
"context": "X, centerY ]\n [ usernameInput form.username UsernameChanged\n , emailInput form.email EmailChang",
"end": 1489,
"score": 0.7709563971,
"start": 1481,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "Changed\n , newPasswordInput form.password \"Password\" PasswordChanged\n , newPasswordInput form.",
"end": 1592,
"score": 0.9950820804,
"start": 1584,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": " , newPasswordInput form.password \"Password\" PasswordChanged\n , newPasswordInput form.passwordConfirmat",
"end": 1609,
"score": 0.9272373915,
"start": 1594,
"tag": "PASSWORD",
"value": "PasswordChanged"
},
{
"context": " , newPasswordInput form.passwordConfirmation \"Password Again\" PasswordConfirmationChanged\n , sendButton",
"end": 1678,
"score": 0.995667696,
"start": 1664,
"tag": "PASSWORD",
"value": "Password Again"
},
{
"context": "rdInput form.passwordConfirmation \"Password Again\" PasswordConfirmationChanged\n , sendButtonView \"Register\" (Just Registr",
"end": 1707,
"score": 0.9413169026,
"start": 1680,
"tag": "PASSWORD",
"value": "PasswordConfirmationChanged"
},
{
"context": " | form = updateForm (\\form -> { form | password = password }) model.form }, Cmd.none )\n\n PasswordConf",
"end": 2416,
"score": 0.5803852081,
"start": 2408,
"tag": "PASSWORD",
"value": "password"
}
] | frontend/src/Pages/Registration.elm | LupusAnay/servant-auth-api | 2 | module Pages.Registration exposing (Model, Msg, init, update, view)
import Browser.Navigation as Nav
import Element exposing (..)
import Http exposing (jsonBody)
import Json.Encode as Encode
import Session exposing (Session)
import User exposing (UserId, userIdDecoder)
import Utils exposing (RemoteData(..), WebData, fromResult, post, updateForm)
import Views exposing (emailInput, errorsView, linkView, newPasswordInput, sendButtonView, unprotectedHeaderView, usernameInput)
type alias Model =
{ session : Maybe Session, form : RegistrationForm, errors : List String }
type Msg
= UsernameChanged String
| EmailChanged String
| PasswordChanged String
| PasswordConfirmationChanged String
| RegistrationPressed
| GotServerResponse (WebData UserId)
type alias RegistrationForm =
{ username : String, email : String, password : String, passwordConfirmation : String }
emptyRegistrationForm : RegistrationForm
emptyRegistrationForm =
RegistrationForm "" "" "" ""
init : Maybe Session -> ( Model, Cmd Msg )
init session =
( { session = session, form = emptyRegistrationForm, errors = [] }, Cmd.none )
view : Model -> Element Msg
view model =
column [ width fill, height fill ] [ unprotectedHeaderView, registrationFormView model.form, errorsView model.errors ]
registrationFormView : RegistrationForm -> Element Msg
registrationFormView form =
column [ spacing 10, centerX, centerY ]
[ usernameInput form.username UsernameChanged
, emailInput form.email EmailChanged
, newPasswordInput form.password "Password" PasswordChanged
, newPasswordInput form.passwordConfirmation "Password Again" PasswordConfirmationChanged
, sendButtonView "Register" (Just RegistrationPressed)
, row
[ spacing 5 ]
[ Element.text "Already have an account?"
, linkView "/login" "Log In"
]
]
update : Nav.Key -> Msg -> Model -> ( Model, Cmd Msg )
update key msg model =
case msg of
UsernameChanged username ->
( { model | form = updateForm (\f -> { f | username = username }) model.form }, Cmd.none )
EmailChanged email ->
( { model | form = updateForm (\form -> { form | email = email }) model.form }, Cmd.none )
PasswordChanged password ->
( { model | form = updateForm (\form -> { form | password = password }) model.form }, Cmd.none )
PasswordConfirmationChanged passwordConfirmation ->
( { model | form = updateForm (\form -> { form | passwordConfirmation = passwordConfirmation }) model.form }, Cmd.none )
RegistrationPressed ->
( { model | errors = [] }, register model.form )
GotServerResponse result ->
case result of
Success _ ->
( model, Nav.pushUrl key "login" )
Failure error ->
( { model | errors = Debug.toString error :: model.errors }, Cmd.none )
_ ->
( model, Cmd.none )
registrationFormEncoder : RegistrationForm -> Encode.Value
registrationFormEncoder form =
Encode.object [ ( "username", Encode.string form.username ), ( "email", Encode.string form.email ), ( "password", Encode.string form.password ) ]
register : RegistrationForm -> Cmd Msg
register form =
post
{ path = "users"
, body = jsonBody <| registrationFormEncoder form
, expect = Http.expectJson (fromResult >> GotServerResponse) userIdDecoder
}
| 5648 | module Pages.Registration exposing (Model, Msg, init, update, view)
import Browser.Navigation as Nav
import Element exposing (..)
import Http exposing (jsonBody)
import Json.Encode as Encode
import Session exposing (Session)
import User exposing (UserId, userIdDecoder)
import Utils exposing (RemoteData(..), WebData, fromResult, post, updateForm)
import Views exposing (emailInput, errorsView, linkView, newPasswordInput, sendButtonView, unprotectedHeaderView, usernameInput)
type alias Model =
{ session : Maybe Session, form : RegistrationForm, errors : List String }
type Msg
= UsernameChanged String
| EmailChanged String
| PasswordChanged String
| PasswordConfirmationChanged String
| RegistrationPressed
| GotServerResponse (WebData UserId)
type alias RegistrationForm =
{ username : String, email : String, password : String, passwordConfirmation : String }
emptyRegistrationForm : RegistrationForm
emptyRegistrationForm =
RegistrationForm "" "" "" ""
init : Maybe Session -> ( Model, Cmd Msg )
init session =
( { session = session, form = emptyRegistrationForm, errors = [] }, Cmd.none )
view : Model -> Element Msg
view model =
column [ width fill, height fill ] [ unprotectedHeaderView, registrationFormView model.form, errorsView model.errors ]
registrationFormView : RegistrationForm -> Element Msg
registrationFormView form =
column [ spacing 10, centerX, centerY ]
[ usernameInput form.username UsernameChanged
, emailInput form.email EmailChanged
, newPasswordInput form.password "<PASSWORD>" <PASSWORD>
, newPasswordInput form.passwordConfirmation "<PASSWORD>" <PASSWORD>
, sendButtonView "Register" (Just RegistrationPressed)
, row
[ spacing 5 ]
[ Element.text "Already have an account?"
, linkView "/login" "Log In"
]
]
update : Nav.Key -> Msg -> Model -> ( Model, Cmd Msg )
update key msg model =
case msg of
UsernameChanged username ->
( { model | form = updateForm (\f -> { f | username = username }) model.form }, Cmd.none )
EmailChanged email ->
( { model | form = updateForm (\form -> { form | email = email }) model.form }, Cmd.none )
PasswordChanged password ->
( { model | form = updateForm (\form -> { form | password = <PASSWORD> }) model.form }, Cmd.none )
PasswordConfirmationChanged passwordConfirmation ->
( { model | form = updateForm (\form -> { form | passwordConfirmation = passwordConfirmation }) model.form }, Cmd.none )
RegistrationPressed ->
( { model | errors = [] }, register model.form )
GotServerResponse result ->
case result of
Success _ ->
( model, Nav.pushUrl key "login" )
Failure error ->
( { model | errors = Debug.toString error :: model.errors }, Cmd.none )
_ ->
( model, Cmd.none )
registrationFormEncoder : RegistrationForm -> Encode.Value
registrationFormEncoder form =
Encode.object [ ( "username", Encode.string form.username ), ( "email", Encode.string form.email ), ( "password", Encode.string form.password ) ]
register : RegistrationForm -> Cmd Msg
register form =
post
{ path = "users"
, body = jsonBody <| registrationFormEncoder form
, expect = Http.expectJson (fromResult >> GotServerResponse) userIdDecoder
}
| true | module Pages.Registration exposing (Model, Msg, init, update, view)
import Browser.Navigation as Nav
import Element exposing (..)
import Http exposing (jsonBody)
import Json.Encode as Encode
import Session exposing (Session)
import User exposing (UserId, userIdDecoder)
import Utils exposing (RemoteData(..), WebData, fromResult, post, updateForm)
import Views exposing (emailInput, errorsView, linkView, newPasswordInput, sendButtonView, unprotectedHeaderView, usernameInput)
type alias Model =
{ session : Maybe Session, form : RegistrationForm, errors : List String }
type Msg
= UsernameChanged String
| EmailChanged String
| PasswordChanged String
| PasswordConfirmationChanged String
| RegistrationPressed
| GotServerResponse (WebData UserId)
type alias RegistrationForm =
{ username : String, email : String, password : String, passwordConfirmation : String }
emptyRegistrationForm : RegistrationForm
emptyRegistrationForm =
RegistrationForm "" "" "" ""
init : Maybe Session -> ( Model, Cmd Msg )
init session =
( { session = session, form = emptyRegistrationForm, errors = [] }, Cmd.none )
view : Model -> Element Msg
view model =
column [ width fill, height fill ] [ unprotectedHeaderView, registrationFormView model.form, errorsView model.errors ]
registrationFormView : RegistrationForm -> Element Msg
registrationFormView form =
column [ spacing 10, centerX, centerY ]
[ usernameInput form.username UsernameChanged
, emailInput form.email EmailChanged
, newPasswordInput form.password "PI:PASSWORD:<PASSWORD>END_PI" PI:PASSWORD:<PASSWORD>END_PI
, newPasswordInput form.passwordConfirmation "PI:PASSWORD:<PASSWORD>END_PI" PI:PASSWORD:<PASSWORD>END_PI
, sendButtonView "Register" (Just RegistrationPressed)
, row
[ spacing 5 ]
[ Element.text "Already have an account?"
, linkView "/login" "Log In"
]
]
update : Nav.Key -> Msg -> Model -> ( Model, Cmd Msg )
update key msg model =
case msg of
UsernameChanged username ->
( { model | form = updateForm (\f -> { f | username = username }) model.form }, Cmd.none )
EmailChanged email ->
( { model | form = updateForm (\form -> { form | email = email }) model.form }, Cmd.none )
PasswordChanged password ->
( { model | form = updateForm (\form -> { form | password = PI:PASSWORD:<PASSWORD>END_PI }) model.form }, Cmd.none )
PasswordConfirmationChanged passwordConfirmation ->
( { model | form = updateForm (\form -> { form | passwordConfirmation = passwordConfirmation }) model.form }, Cmd.none )
RegistrationPressed ->
( { model | errors = [] }, register model.form )
GotServerResponse result ->
case result of
Success _ ->
( model, Nav.pushUrl key "login" )
Failure error ->
( { model | errors = Debug.toString error :: model.errors }, Cmd.none )
_ ->
( model, Cmd.none )
registrationFormEncoder : RegistrationForm -> Encode.Value
registrationFormEncoder form =
Encode.object [ ( "username", Encode.string form.username ), ( "email", Encode.string form.email ), ( "password", Encode.string form.password ) ]
register : RegistrationForm -> Cmd Msg
register form =
post
{ path = "users"
, body = jsonBody <| registrationFormEncoder form
, expect = Http.expectJson (fromResult >> GotServerResponse) userIdDecoder
}
| elm |
[
{
"context": "-- Copyright (c) 2017 Daan Wendelen\n-- All rights reserved.\n-- \n-- Redistribution and",
"end": 35,
"score": 0.9998174906,
"start": 22,
"tag": "NAME",
"value": "Daan Wendelen"
}
] | day17/day17b.elm | dwendelen/adventofcode_2017 | 0 | -- Copyright (c) 2017 Daan Wendelen
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
--
-- * 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.
--
-- * 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.
import Html exposing (..)
import Dict exposing (..)
import Array exposing (..)
main = text <| toString <| solve input
solve: Int -> Int
solve input =
solve2 cycles input 0 0 1 1
-- Cursor = index relative to 0
solve2 cycles distance cursor numberAfterZero size nextNumber =
if(cycles == 0) then
numberAfterZero
else
let
cursorAfterJump = (cursor + distance) % size
newNumberAfterZero =
if(cursorAfterJump == 0) then
nextNumber
else
numberAfterZero
in
solve2 (cycles - 1) distance (cursorAfterJump + 1) newNumberAfterZero (size + 1) (nextNumber + 1)
input = 304
cycles = 50000000
| 18808 | -- Copyright (c) 2017 <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
--
-- * 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.
--
-- * 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.
import Html exposing (..)
import Dict exposing (..)
import Array exposing (..)
main = text <| toString <| solve input
solve: Int -> Int
solve input =
solve2 cycles input 0 0 1 1
-- Cursor = index relative to 0
solve2 cycles distance cursor numberAfterZero size nextNumber =
if(cycles == 0) then
numberAfterZero
else
let
cursorAfterJump = (cursor + distance) % size
newNumberAfterZero =
if(cursorAfterJump == 0) then
nextNumber
else
numberAfterZero
in
solve2 (cycles - 1) distance (cursorAfterJump + 1) newNumberAfterZero (size + 1) (nextNumber + 1)
input = 304
cycles = 50000000
| true | -- Copyright (c) 2017 PI:NAME:<NAME>END_PI
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
--
-- * 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.
--
-- * 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.
import Html exposing (..)
import Dict exposing (..)
import Array exposing (..)
main = text <| toString <| solve input
solve: Int -> Int
solve input =
solve2 cycles input 0 0 1 1
-- Cursor = index relative to 0
solve2 cycles distance cursor numberAfterZero size nextNumber =
if(cycles == 0) then
numberAfterZero
else
let
cursorAfterJump = (cursor + distance) % size
newNumberAfterZero =
if(cursorAfterJump == 0) then
nextNumber
else
numberAfterZero
in
solve2 (cycles - 1) distance (cursorAfterJump + 1) newNumberAfterZero (size + 1) (nextNumber + 1)
input = 304
cycles = 50000000
| elm |
[
{
"context": "Images = \n [ { id = 1,\n name = \"Canard\",\n slug = \"YEHH65hefz\",\n de",
"end": 753,
"score": 0.9770505428,
"start": 747,
"tag": "NAME",
"value": "Canard"
},
{
"context": " {\n id = 2,\n name = \"Voiture\",\n slug = \"YEHH65hefz\",\n de",
"end": 1174,
"score": 0.7766582966,
"start": 1167,
"tag": "NAME",
"value": "Voiture"
},
{
"context": " {\n id = 3,\n name = \"Voiture\",\n slug = \"YEHH65hefz\",\n ",
"end": 1591,
"score": 0.8163849711,
"start": 1589,
"tag": "NAME",
"value": "Vo"
},
{
"context": " {\n id = 4,\n name = \"Voiture\",\n slug = \"YEHH65hefz\",\n de",
"end": 2018,
"score": 0.6872117519,
"start": 2011,
"tag": "NAME",
"value": "Voiture"
},
{
"context": " {\n id = 5,\n name = \"Voiture\",\n slug = \"YEHH65hefz\",\n de",
"end": 2440,
"score": 0.7313714027,
"start": 2433,
"tag": "NAME",
"value": "Voiture"
}
] | app/src/Listing/Images.elm | HETIC-MT-P2021/front-group01-proj01 | 0 | module Listing.Images exposing (..)
import Html exposing (Html, map, div, p, img, a, text, span)
import Html.Attributes exposing (class, href, src, width, height)
import Html.Events exposing (..)
-- This file is only meant to display hardcoded images on the home page
type alias Image =
{ id: Int
, name: String
, slug: String
, description: String
, createdAt: String
, updatedAt: String
, url: String
, tags: List String
, categoryId: Maybe Int
, categoryData: Maybe Category
}
type alias Model =
{
listImages: List Image
}
type alias Category =
{ name: String
, description: String
}
init : Model
init =
{ listImages =
[ { id = 1,
name = "Canard",
slug = "YEHH65hefz",
description = "Une image de canard",
createdAt = "2020-05-27T16:43:58.0149453Z",
updatedAt = "2020-05-27T16:43:58.0149453Z",
url = "https://picsum.photos/200",
tags = ["Animal", "Plumes"],
categoryId = Just 1,
categoryData = Nothing
},
{
id = 2,
name = "Voiture",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/300",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 3,
name = "Voiture",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/250",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 4,
name = "Voiture",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/600",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 5,
name = "Voiture",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/1500",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
}]
}
renderTags : List String -> Html msg
renderTags tags =
let
tag =
List.map renderTag tags
in
div [class "image-tag-container"] tag
renderTag : String -> Html msg
renderTag tag =
span[class "image-tag"] [text tag]
renderImages : List Image -> Html msg
renderImages images =
let
image =
List.map renderImage images
in
div [class "image-listing"] image
renderImage : Image -> Html msg
renderImage image =
let
imageRoute = "/image/" ++ String.fromInt image.id
in
div [class "image-item"]
[
a [href imageRoute]
[
img [src image.url, width 300, height 300] []
, div[class "image-text"]
[ p [class "image-name"] [text image.name]
, p [] [text image.description]
, p [] [text image.updatedAt]
, renderTags image.tags
]
]
]
type Msg
= SetImages (List Image)
update : Msg -> Model -> Model
update msg model =
case msg of
SetImages items ->
{ model | listImages = items }
view : Model -> Html msg
view model =
div [] [renderImages model.listImages]
| 59314 | module Listing.Images exposing (..)
import Html exposing (Html, map, div, p, img, a, text, span)
import Html.Attributes exposing (class, href, src, width, height)
import Html.Events exposing (..)
-- This file is only meant to display hardcoded images on the home page
type alias Image =
{ id: Int
, name: String
, slug: String
, description: String
, createdAt: String
, updatedAt: String
, url: String
, tags: List String
, categoryId: Maybe Int
, categoryData: Maybe Category
}
type alias Model =
{
listImages: List Image
}
type alias Category =
{ name: String
, description: String
}
init : Model
init =
{ listImages =
[ { id = 1,
name = "<NAME>",
slug = "YEHH65hefz",
description = "Une image de canard",
createdAt = "2020-05-27T16:43:58.0149453Z",
updatedAt = "2020-05-27T16:43:58.0149453Z",
url = "https://picsum.photos/200",
tags = ["Animal", "Plumes"],
categoryId = Just 1,
categoryData = Nothing
},
{
id = 2,
name = "<NAME>",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/300",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 3,
name = "<NAME>iture",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/250",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 4,
name = "<NAME>",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/600",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 5,
name = "<NAME>",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/1500",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
}]
}
renderTags : List String -> Html msg
renderTags tags =
let
tag =
List.map renderTag tags
in
div [class "image-tag-container"] tag
renderTag : String -> Html msg
renderTag tag =
span[class "image-tag"] [text tag]
renderImages : List Image -> Html msg
renderImages images =
let
image =
List.map renderImage images
in
div [class "image-listing"] image
renderImage : Image -> Html msg
renderImage image =
let
imageRoute = "/image/" ++ String.fromInt image.id
in
div [class "image-item"]
[
a [href imageRoute]
[
img [src image.url, width 300, height 300] []
, div[class "image-text"]
[ p [class "image-name"] [text image.name]
, p [] [text image.description]
, p [] [text image.updatedAt]
, renderTags image.tags
]
]
]
type Msg
= SetImages (List Image)
update : Msg -> Model -> Model
update msg model =
case msg of
SetImages items ->
{ model | listImages = items }
view : Model -> Html msg
view model =
div [] [renderImages model.listImages]
| true | module Listing.Images exposing (..)
import Html exposing (Html, map, div, p, img, a, text, span)
import Html.Attributes exposing (class, href, src, width, height)
import Html.Events exposing (..)
-- This file is only meant to display hardcoded images on the home page
type alias Image =
{ id: Int
, name: String
, slug: String
, description: String
, createdAt: String
, updatedAt: String
, url: String
, tags: List String
, categoryId: Maybe Int
, categoryData: Maybe Category
}
type alias Model =
{
listImages: List Image
}
type alias Category =
{ name: String
, description: String
}
init : Model
init =
{ listImages =
[ { id = 1,
name = "PI:NAME:<NAME>END_PI",
slug = "YEHH65hefz",
description = "Une image de canard",
createdAt = "2020-05-27T16:43:58.0149453Z",
updatedAt = "2020-05-27T16:43:58.0149453Z",
url = "https://picsum.photos/200",
tags = ["Animal", "Plumes"],
categoryId = Just 1,
categoryData = Nothing
},
{
id = 2,
name = "PI:NAME:<NAME>END_PI",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/300",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 3,
name = "PI:NAME:<NAME>END_PIiture",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/250",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 4,
name = "PI:NAME:<NAME>END_PI",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/600",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
},
{
id = 5,
name = "PI:NAME:<NAME>END_PI",
slug = "YEHH65hefz",
description = "Une image de voiture",
createdAt = "2020-06-27T16:43:58.0149453Z",
updatedAt = "2020-06-27T16:43:58.0149453Z",
url = "https://picsum.photos/1500",
tags = ["Animal", "Plumes"],
categoryId = Just 2,
categoryData = Nothing
}]
}
renderTags : List String -> Html msg
renderTags tags =
let
tag =
List.map renderTag tags
in
div [class "image-tag-container"] tag
renderTag : String -> Html msg
renderTag tag =
span[class "image-tag"] [text tag]
renderImages : List Image -> Html msg
renderImages images =
let
image =
List.map renderImage images
in
div [class "image-listing"] image
renderImage : Image -> Html msg
renderImage image =
let
imageRoute = "/image/" ++ String.fromInt image.id
in
div [class "image-item"]
[
a [href imageRoute]
[
img [src image.url, width 300, height 300] []
, div[class "image-text"]
[ p [class "image-name"] [text image.name]
, p [] [text image.description]
, p [] [text image.updatedAt]
, renderTags image.tags
]
]
]
type Msg
= SetImages (List Image)
update : Msg -> Model -> Model
update msg model =
case msg of
SetImages items ->
{ model | listImages = items }
view : Model -> Html msg
view model =
div [] [renderImages model.listImages]
| elm |
[
{
"context": "og In\" ]\n , input [ type_ \"text\", placeholder \"Username\", value m.loginUsername, onInput ChangeLoginUsern",
"end": 5601,
"score": 0.9836181402,
"start": 5593,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "] []\n , input [ type_ \"password\", placeholder \"Password\", value m.loginPassword, onInput ChangeLoginPassw",
"end": 5712,
"score": 0.9989312291,
"start": 5704,
"tag": "PASSWORD",
"value": "Password"
}
] | src/Scylla/Views.elm | sansculotte/Scylla | 24 | module Scylla.Views exposing (..)
import Scylla.Model exposing (..)
import Scylla.Sync exposing (..)
import Scylla.Sync.Events exposing (..)
import Scylla.Sync.Rooms exposing (..)
import Scylla.Room exposing (RoomData, emptyOpenRooms, getHomeserver, getRoomName, getRoomTypingUsers, getLocalDisplayName)
import Scylla.Route exposing (..)
import Scylla.Fnv as Fnv
import Scylla.Messages exposing (..)
import Scylla.Login exposing (Username)
import Scylla.Http exposing (fullMediaUrl)
import Scylla.Api exposing (ApiUrl)
import Scylla.ListUtils exposing (groupBy)
import Html.Parser
import Html.Parser.Util
import Svg
import Svg.Attributes
import Url.Builder
import Json.Decode as Decode
import Html exposing (Html, Attribute, div, input, text, button, div, span, a, h2, h3, table, td, tr, img, textarea, video, source, p)
import Html.Attributes exposing (type_, placeholder, value, href, class, style, src, id, rows, controls, src, classList)
import Html.Events exposing (onInput, onClick, preventDefaultOn)
import Html.Lazy exposing (lazy5)
import Dict exposing (Dict)
import Tuple
maybeHtml : List (Maybe (Html Msg)) -> List (Html Msg)
maybeHtml = List.filterMap (\i -> i)
contentRepositoryDownloadUrl : ApiUrl -> String -> String
contentRepositoryDownloadUrl apiUrl s =
let
lastIndex = Maybe.withDefault 6 <| List.head <| List.reverse <| String.indexes "/" s
authority = String.slice 6 lastIndex s
content = String.dropLeft (lastIndex + 1) s
in
(fullMediaUrl apiUrl) ++ "/download/" ++ authority ++ "/" ++ content
stringColor : String -> String
stringColor s =
let
hue = String.fromFloat <| (toFloat (Fnv.hash s)) / 4294967296 * 360
in
"hsl(" ++ hue ++ ", 82%, 71%)"
viewFull : Model -> List (Html Msg)
viewFull model =
let
room r = Dict.get r model.rooms
|> Maybe.map (\rd -> (r, rd))
core = case model.route of
Login -> loginView model
Base -> baseView model Nothing
Room r -> baseView model <| room r
_ -> div [] []
errorList = errorsView model.errors
in
[ errorList ] ++ [ core ]
errorsView : List String -> Html Msg
errorsView = div [ class "errors-wrapper" ] << List.indexedMap errorView
errorView : Int -> String -> Html Msg
errorView i s = div [ class "error-wrapper", onClick <| DismissError i ] [ iconView "alert-triangle", text s ]
baseView : Model -> Maybe (RoomId, RoomData) -> Html Msg
baseView m rd =
let
roomView = Maybe.map (\(id, r) -> joinedRoomView m id r) rd
reconnect = reconnectView m
in
div [ class "base-wrapper" ] <| maybeHtml
[ Just <| roomListView m
, roomView
, reconnect
]
reconnectView : Model -> Maybe (Html Msg)
reconnectView m = if m.connected
then Nothing
else Just <| div [ class "reconnect-wrapper", onClick AttemptReconnect ] [ iconView "zap", text "Disconnected. Click here to reconnect." ]
roomListView : Model -> Html Msg
roomListView m =
let
groups = roomGroups
<| Dict.toList m.rooms
homeserverList = div [ class "homeservers-list" ]
<| List.map (\(k, v) -> homeserverView m k v)
<| Dict.toList groups
in
div [ class "rooms-wrapper" ]
[ h2 [] [ text "Rooms" ]
, input
[ class "room-search"
, type_ "text"
, placeholder "Search chats..."
, onInput UpdateSearchText
, value m.searchText
] []
, homeserverList
]
roomGroups : List (String, RoomData) -> Dict String (List (String, RoomData))
roomGroups jrs = groupBy (getHomeserver << Tuple.first) jrs
homeserverView : Model -> String -> List (String, RoomData) -> Html Msg
homeserverView m hs rs =
let
roomList = div [ class "rooms-list" ]
<| List.map (\(rid, r) -> roomListElementView m rid r)
<| List.sortBy (\(rid, r) -> getRoomName m.accountData rid r) rs
in
div [ class "homeserver-wrapper" ] [ h3 [] [ text hs ], roomList ]
roomListElementView : Model -> RoomId -> RoomData -> Html Msg
roomListElementView m rid rd =
let
name = getRoomName m.accountData rid rd
isVisible = m.searchText == "" || (String.contains (String.toLower m.searchText) <| String.toLower name)
isCurrentRoom = case currentRoomId m of
Nothing -> False
Just cr -> cr == rid
in
div [ classList
[ ("room-link-wrapper", True)
, ("active", isCurrentRoom)
, ("hidden", not isVisible)
]
]
<| roomNotificationCountView rd.unreadNotifications ++
[ a [ href <| roomUrl rid ] [ text name ] ]
roomNotificationCountView : UnreadNotificationCounts -> List (Html Msg)
roomNotificationCountView ns =
let
wrap b = span
[ classList
[ ("notification-count", True)
, ("bright", b)
]
]
getCount f = Maybe.withDefault 0 << f
in
case (getCount .notificationCount ns, getCount .highlightCount ns) of
(0, 0) -> []
(i, 0) -> [ wrap False [ iconView "bell", text <| String.fromInt i ] ]
(i, j) -> [ wrap True [ iconView "alert-circle", text <| String.fromInt i ] ]
loginView : Model -> Html Msg
loginView m = div [ class "login-wrapper" ]
[ h2 [] [ text "Log In" ]
, input [ type_ "text", placeholder "Username", value m.loginUsername, onInput ChangeLoginUsername] []
, input [ type_ "password", placeholder "Password", value m.loginPassword, onInput ChangeLoginPassword ] []
, input [ type_ "text", placeholder "Homeserver URL", value m.apiUrl, onInput ChangeApiUrl ] []
, button [ onClick AttemptLogin ] [ text "Log In" ]
]
joinedRoomView : Model -> RoomId -> RoomData -> Html Msg
joinedRoomView m roomId rd =
let
typing = List.map (getLocalDisplayName rd) <| getRoomTypingUsers rd
typingText = String.join ", " typing
typingSuffix = case List.length typing of
0 -> ""
1 -> " is typing..."
_ -> " are typing..."
typingWrapper = div [ class "typing-wrapper" ] [ text <| typingText ++ typingSuffix ]
messageInput = div [ class "message-wrapper" ]
[ textarea
[ rows 1
, onInput <| ChangeRoomText roomId
, onEnterKey <| SendRoomText roomId
, placeholder "Type your message here..."
, value <| Maybe.withDefault "" <| Dict.get roomId m.roomText
] []
, button [ onClick <| SendFiles roomId ] [ iconView "file" ]
, button [ onClick <| SendImages roomId ] [ iconView "image" ]
, button [ onClick <| SendRoomText roomId ] [ iconView "send" ]
]
in
div [ class "room-wrapper" ]
[ h2 [] [ text <| getRoomName m.accountData roomId rd ]
, lazy5 lazyMessagesView roomId rd m.apiUrl m.loginUsername m.sending
, messageInput
, typingWrapper
]
lazyMessagesView : RoomId -> RoomData -> ApiUrl -> Username -> Dict Int (RoomId, SendingMessage) -> Html Msg
lazyMessagesView rid rd au lu snd =
let
roomReceived = getReceivedMessages rd
roomSending = getSendingMessages rid snd
renderedMessages = List.map (userMessagesView rd au)
<| groupMessages lu
<| roomReceived ++ roomSending
in
messagesWrapperView rid renderedMessages
onEnterKey : Msg -> Attribute Msg
onEnterKey msg =
let
eventDecoder = Decode.map2 (\l r -> (l, r)) (Decode.field "keyCode" Decode.int) (Decode.field "shiftKey" Decode.bool)
msgFor (code, shift) = if code == 13 && not shift then Decode.succeed msg else Decode.fail "Not ENTER"
pairTrue v = (v, True)
decoder = Decode.map pairTrue <| Decode.andThen msgFor <| eventDecoder
in
preventDefaultOn "keydown" decoder
iconView : String -> Html Msg
iconView name =
let
url = Url.Builder.absolute [ "static", "svg", "feather-sprite.svg" ] []
in
Svg.svg
[ Svg.Attributes.class "feather-icon"
] [ Svg.use [ Svg.Attributes.xlinkHref (url ++ "#" ++ name) ] [] ]
messagesWrapperView : RoomId -> List (Html Msg) -> Html Msg
messagesWrapperView rid es = div [ class "messages-wrapper", id "messages-wrapper" ]
[ a [ class "history-link", onClick <| History rid ] [ text "Load older messages" ]
, table [ class "messages-table" ] es
]
senderView : RoomData -> Username -> Html Msg
senderView rd s =
span [ style "color" <| stringColor s, class "sender-wrapper" ] [ text <| getLocalDisplayName rd s ]
userMessagesView : RoomData -> ApiUrl -> (Username, List Message) -> Html Msg
userMessagesView rd apiUrl (u, ms) =
let
wrap h = div [ class "message" ] [ h ]
in
tr []
[ td [] [ senderView rd u ]
, td [] <| List.map wrap <| List.filterMap (messageView rd apiUrl) ms
]
messageView : RoomData -> ApiUrl -> Message -> Maybe (Html Msg)
messageView rd apiUrl msg = case msg of
Sending t -> Just <| sendingMessageView t
Received re -> roomEventView rd apiUrl re
sendingMessageView : SendingMessage -> Html Msg
sendingMessageView msg = case msg.body of
TextMessage t -> span [ class "sending"] [ text t ]
roomEventView : RoomData -> ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventView rd apiUrl re =
let
msgtype = Decode.decodeValue (Decode.field "msgtype" Decode.string) re.content
in
case msgtype of
Ok "m.text" -> roomEventTextView re
Ok "m.notice" -> roomEventNoticeView re
Ok "m.emote" -> roomEventEmoteView rd re
Ok "m.image" -> roomEventImageView apiUrl re
Ok "m.file" -> roomEventFileView apiUrl re
Ok "m.video" -> roomEventVideoView apiUrl re
_ -> Nothing
roomEventFormattedContent : MessageEvent -> Maybe (List (Html Msg))
roomEventFormattedContent re = Maybe.map Html.Parser.Util.toVirtualDom
<| Maybe.andThen (Result.toMaybe << Html.Parser.run )
<| Result.toMaybe
<| Decode.decodeValue (Decode.field "formatted_body" Decode.string) re.content
roomEventContent : (List (Html Msg) -> Html Msg) -> MessageEvent -> Maybe (Html Msg)
roomEventContent f re =
let
body = Decode.decodeValue (Decode.field "body" Decode.string) re.content
customHtml = roomEventFormattedContent re
in
case customHtml of
Just c -> Just <| f c
Nothing -> Maybe.map (f << List.singleton << text) <| Result.toMaybe body
roomEventEmoteView : RoomData -> MessageEvent -> Maybe (Html Msg)
roomEventEmoteView rd re =
let
emoteText = "* " ++ getLocalDisplayName rd re.sender ++ " "
in
roomEventContent (\cs -> span [] (text emoteText :: cs)) re
roomEventNoticeView : MessageEvent -> Maybe (Html Msg)
roomEventNoticeView = roomEventContent (span [ class "message-notice" ])
roomEventTextView : MessageEvent -> Maybe (Html Msg)
roomEventTextView = roomEventContent (span [])
roomEventImageView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventImageView apiUrl re =
let
body = Decode.decodeValue (Decode.field "url" Decode.string) re.content
in
Maybe.map (\s -> img [ class "message-image", src s ] [])
<| Maybe.map (contentRepositoryDownloadUrl apiUrl)
<| Result.toMaybe body
roomEventFileView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventFileView apiUrl re =
let
decoder = Decode.map2 (\l r -> (l, r)) (Decode.field "url" Decode.string) (Decode.field "body" Decode.string)
fileData = Decode.decodeValue decoder re.content
in
Maybe.map (\(url, name) -> a [ href url, class "file-wrapper" ] [ iconView "file", text name ])
<| Maybe.map (\(url, name) -> (contentRepositoryDownloadUrl apiUrl url, name))
<| Result.toMaybe fileData
roomEventVideoView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventVideoView apiUrl re =
let
decoder = Decode.map2 (\l r -> (l, r))
(Decode.field "url" Decode.string)
(Decode.field "info" <| Decode.field "mimetype" Decode.string)
videoData = Decode.decodeValue decoder re.content
in
Maybe.map (\(url, t) -> video [ controls True ] [ source [ src url, type_ t ] [] ])
<| Maybe.map (\(url, type_) -> (contentRepositoryDownloadUrl apiUrl url, type_))
<| Result.toMaybe videoData
| 45570 | module Scylla.Views exposing (..)
import Scylla.Model exposing (..)
import Scylla.Sync exposing (..)
import Scylla.Sync.Events exposing (..)
import Scylla.Sync.Rooms exposing (..)
import Scylla.Room exposing (RoomData, emptyOpenRooms, getHomeserver, getRoomName, getRoomTypingUsers, getLocalDisplayName)
import Scylla.Route exposing (..)
import Scylla.Fnv as Fnv
import Scylla.Messages exposing (..)
import Scylla.Login exposing (Username)
import Scylla.Http exposing (fullMediaUrl)
import Scylla.Api exposing (ApiUrl)
import Scylla.ListUtils exposing (groupBy)
import Html.Parser
import Html.Parser.Util
import Svg
import Svg.Attributes
import Url.Builder
import Json.Decode as Decode
import Html exposing (Html, Attribute, div, input, text, button, div, span, a, h2, h3, table, td, tr, img, textarea, video, source, p)
import Html.Attributes exposing (type_, placeholder, value, href, class, style, src, id, rows, controls, src, classList)
import Html.Events exposing (onInput, onClick, preventDefaultOn)
import Html.Lazy exposing (lazy5)
import Dict exposing (Dict)
import Tuple
maybeHtml : List (Maybe (Html Msg)) -> List (Html Msg)
maybeHtml = List.filterMap (\i -> i)
contentRepositoryDownloadUrl : ApiUrl -> String -> String
contentRepositoryDownloadUrl apiUrl s =
let
lastIndex = Maybe.withDefault 6 <| List.head <| List.reverse <| String.indexes "/" s
authority = String.slice 6 lastIndex s
content = String.dropLeft (lastIndex + 1) s
in
(fullMediaUrl apiUrl) ++ "/download/" ++ authority ++ "/" ++ content
stringColor : String -> String
stringColor s =
let
hue = String.fromFloat <| (toFloat (Fnv.hash s)) / 4294967296 * 360
in
"hsl(" ++ hue ++ ", 82%, 71%)"
viewFull : Model -> List (Html Msg)
viewFull model =
let
room r = Dict.get r model.rooms
|> Maybe.map (\rd -> (r, rd))
core = case model.route of
Login -> loginView model
Base -> baseView model Nothing
Room r -> baseView model <| room r
_ -> div [] []
errorList = errorsView model.errors
in
[ errorList ] ++ [ core ]
errorsView : List String -> Html Msg
errorsView = div [ class "errors-wrapper" ] << List.indexedMap errorView
errorView : Int -> String -> Html Msg
errorView i s = div [ class "error-wrapper", onClick <| DismissError i ] [ iconView "alert-triangle", text s ]
baseView : Model -> Maybe (RoomId, RoomData) -> Html Msg
baseView m rd =
let
roomView = Maybe.map (\(id, r) -> joinedRoomView m id r) rd
reconnect = reconnectView m
in
div [ class "base-wrapper" ] <| maybeHtml
[ Just <| roomListView m
, roomView
, reconnect
]
reconnectView : Model -> Maybe (Html Msg)
reconnectView m = if m.connected
then Nothing
else Just <| div [ class "reconnect-wrapper", onClick AttemptReconnect ] [ iconView "zap", text "Disconnected. Click here to reconnect." ]
roomListView : Model -> Html Msg
roomListView m =
let
groups = roomGroups
<| Dict.toList m.rooms
homeserverList = div [ class "homeservers-list" ]
<| List.map (\(k, v) -> homeserverView m k v)
<| Dict.toList groups
in
div [ class "rooms-wrapper" ]
[ h2 [] [ text "Rooms" ]
, input
[ class "room-search"
, type_ "text"
, placeholder "Search chats..."
, onInput UpdateSearchText
, value m.searchText
] []
, homeserverList
]
roomGroups : List (String, RoomData) -> Dict String (List (String, RoomData))
roomGroups jrs = groupBy (getHomeserver << Tuple.first) jrs
homeserverView : Model -> String -> List (String, RoomData) -> Html Msg
homeserverView m hs rs =
let
roomList = div [ class "rooms-list" ]
<| List.map (\(rid, r) -> roomListElementView m rid r)
<| List.sortBy (\(rid, r) -> getRoomName m.accountData rid r) rs
in
div [ class "homeserver-wrapper" ] [ h3 [] [ text hs ], roomList ]
roomListElementView : Model -> RoomId -> RoomData -> Html Msg
roomListElementView m rid rd =
let
name = getRoomName m.accountData rid rd
isVisible = m.searchText == "" || (String.contains (String.toLower m.searchText) <| String.toLower name)
isCurrentRoom = case currentRoomId m of
Nothing -> False
Just cr -> cr == rid
in
div [ classList
[ ("room-link-wrapper", True)
, ("active", isCurrentRoom)
, ("hidden", not isVisible)
]
]
<| roomNotificationCountView rd.unreadNotifications ++
[ a [ href <| roomUrl rid ] [ text name ] ]
roomNotificationCountView : UnreadNotificationCounts -> List (Html Msg)
roomNotificationCountView ns =
let
wrap b = span
[ classList
[ ("notification-count", True)
, ("bright", b)
]
]
getCount f = Maybe.withDefault 0 << f
in
case (getCount .notificationCount ns, getCount .highlightCount ns) of
(0, 0) -> []
(i, 0) -> [ wrap False [ iconView "bell", text <| String.fromInt i ] ]
(i, j) -> [ wrap True [ iconView "alert-circle", text <| String.fromInt i ] ]
loginView : Model -> Html Msg
loginView m = div [ class "login-wrapper" ]
[ h2 [] [ text "Log In" ]
, input [ type_ "text", placeholder "Username", value m.loginUsername, onInput ChangeLoginUsername] []
, input [ type_ "password", placeholder "<PASSWORD>", value m.loginPassword, onInput ChangeLoginPassword ] []
, input [ type_ "text", placeholder "Homeserver URL", value m.apiUrl, onInput ChangeApiUrl ] []
, button [ onClick AttemptLogin ] [ text "Log In" ]
]
joinedRoomView : Model -> RoomId -> RoomData -> Html Msg
joinedRoomView m roomId rd =
let
typing = List.map (getLocalDisplayName rd) <| getRoomTypingUsers rd
typingText = String.join ", " typing
typingSuffix = case List.length typing of
0 -> ""
1 -> " is typing..."
_ -> " are typing..."
typingWrapper = div [ class "typing-wrapper" ] [ text <| typingText ++ typingSuffix ]
messageInput = div [ class "message-wrapper" ]
[ textarea
[ rows 1
, onInput <| ChangeRoomText roomId
, onEnterKey <| SendRoomText roomId
, placeholder "Type your message here..."
, value <| Maybe.withDefault "" <| Dict.get roomId m.roomText
] []
, button [ onClick <| SendFiles roomId ] [ iconView "file" ]
, button [ onClick <| SendImages roomId ] [ iconView "image" ]
, button [ onClick <| SendRoomText roomId ] [ iconView "send" ]
]
in
div [ class "room-wrapper" ]
[ h2 [] [ text <| getRoomName m.accountData roomId rd ]
, lazy5 lazyMessagesView roomId rd m.apiUrl m.loginUsername m.sending
, messageInput
, typingWrapper
]
lazyMessagesView : RoomId -> RoomData -> ApiUrl -> Username -> Dict Int (RoomId, SendingMessage) -> Html Msg
lazyMessagesView rid rd au lu snd =
let
roomReceived = getReceivedMessages rd
roomSending = getSendingMessages rid snd
renderedMessages = List.map (userMessagesView rd au)
<| groupMessages lu
<| roomReceived ++ roomSending
in
messagesWrapperView rid renderedMessages
onEnterKey : Msg -> Attribute Msg
onEnterKey msg =
let
eventDecoder = Decode.map2 (\l r -> (l, r)) (Decode.field "keyCode" Decode.int) (Decode.field "shiftKey" Decode.bool)
msgFor (code, shift) = if code == 13 && not shift then Decode.succeed msg else Decode.fail "Not ENTER"
pairTrue v = (v, True)
decoder = Decode.map pairTrue <| Decode.andThen msgFor <| eventDecoder
in
preventDefaultOn "keydown" decoder
iconView : String -> Html Msg
iconView name =
let
url = Url.Builder.absolute [ "static", "svg", "feather-sprite.svg" ] []
in
Svg.svg
[ Svg.Attributes.class "feather-icon"
] [ Svg.use [ Svg.Attributes.xlinkHref (url ++ "#" ++ name) ] [] ]
messagesWrapperView : RoomId -> List (Html Msg) -> Html Msg
messagesWrapperView rid es = div [ class "messages-wrapper", id "messages-wrapper" ]
[ a [ class "history-link", onClick <| History rid ] [ text "Load older messages" ]
, table [ class "messages-table" ] es
]
senderView : RoomData -> Username -> Html Msg
senderView rd s =
span [ style "color" <| stringColor s, class "sender-wrapper" ] [ text <| getLocalDisplayName rd s ]
userMessagesView : RoomData -> ApiUrl -> (Username, List Message) -> Html Msg
userMessagesView rd apiUrl (u, ms) =
let
wrap h = div [ class "message" ] [ h ]
in
tr []
[ td [] [ senderView rd u ]
, td [] <| List.map wrap <| List.filterMap (messageView rd apiUrl) ms
]
messageView : RoomData -> ApiUrl -> Message -> Maybe (Html Msg)
messageView rd apiUrl msg = case msg of
Sending t -> Just <| sendingMessageView t
Received re -> roomEventView rd apiUrl re
sendingMessageView : SendingMessage -> Html Msg
sendingMessageView msg = case msg.body of
TextMessage t -> span [ class "sending"] [ text t ]
roomEventView : RoomData -> ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventView rd apiUrl re =
let
msgtype = Decode.decodeValue (Decode.field "msgtype" Decode.string) re.content
in
case msgtype of
Ok "m.text" -> roomEventTextView re
Ok "m.notice" -> roomEventNoticeView re
Ok "m.emote" -> roomEventEmoteView rd re
Ok "m.image" -> roomEventImageView apiUrl re
Ok "m.file" -> roomEventFileView apiUrl re
Ok "m.video" -> roomEventVideoView apiUrl re
_ -> Nothing
roomEventFormattedContent : MessageEvent -> Maybe (List (Html Msg))
roomEventFormattedContent re = Maybe.map Html.Parser.Util.toVirtualDom
<| Maybe.andThen (Result.toMaybe << Html.Parser.run )
<| Result.toMaybe
<| Decode.decodeValue (Decode.field "formatted_body" Decode.string) re.content
roomEventContent : (List (Html Msg) -> Html Msg) -> MessageEvent -> Maybe (Html Msg)
roomEventContent f re =
let
body = Decode.decodeValue (Decode.field "body" Decode.string) re.content
customHtml = roomEventFormattedContent re
in
case customHtml of
Just c -> Just <| f c
Nothing -> Maybe.map (f << List.singleton << text) <| Result.toMaybe body
roomEventEmoteView : RoomData -> MessageEvent -> Maybe (Html Msg)
roomEventEmoteView rd re =
let
emoteText = "* " ++ getLocalDisplayName rd re.sender ++ " "
in
roomEventContent (\cs -> span [] (text emoteText :: cs)) re
roomEventNoticeView : MessageEvent -> Maybe (Html Msg)
roomEventNoticeView = roomEventContent (span [ class "message-notice" ])
roomEventTextView : MessageEvent -> Maybe (Html Msg)
roomEventTextView = roomEventContent (span [])
roomEventImageView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventImageView apiUrl re =
let
body = Decode.decodeValue (Decode.field "url" Decode.string) re.content
in
Maybe.map (\s -> img [ class "message-image", src s ] [])
<| Maybe.map (contentRepositoryDownloadUrl apiUrl)
<| Result.toMaybe body
roomEventFileView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventFileView apiUrl re =
let
decoder = Decode.map2 (\l r -> (l, r)) (Decode.field "url" Decode.string) (Decode.field "body" Decode.string)
fileData = Decode.decodeValue decoder re.content
in
Maybe.map (\(url, name) -> a [ href url, class "file-wrapper" ] [ iconView "file", text name ])
<| Maybe.map (\(url, name) -> (contentRepositoryDownloadUrl apiUrl url, name))
<| Result.toMaybe fileData
roomEventVideoView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventVideoView apiUrl re =
let
decoder = Decode.map2 (\l r -> (l, r))
(Decode.field "url" Decode.string)
(Decode.field "info" <| Decode.field "mimetype" Decode.string)
videoData = Decode.decodeValue decoder re.content
in
Maybe.map (\(url, t) -> video [ controls True ] [ source [ src url, type_ t ] [] ])
<| Maybe.map (\(url, type_) -> (contentRepositoryDownloadUrl apiUrl url, type_))
<| Result.toMaybe videoData
| true | module Scylla.Views exposing (..)
import Scylla.Model exposing (..)
import Scylla.Sync exposing (..)
import Scylla.Sync.Events exposing (..)
import Scylla.Sync.Rooms exposing (..)
import Scylla.Room exposing (RoomData, emptyOpenRooms, getHomeserver, getRoomName, getRoomTypingUsers, getLocalDisplayName)
import Scylla.Route exposing (..)
import Scylla.Fnv as Fnv
import Scylla.Messages exposing (..)
import Scylla.Login exposing (Username)
import Scylla.Http exposing (fullMediaUrl)
import Scylla.Api exposing (ApiUrl)
import Scylla.ListUtils exposing (groupBy)
import Html.Parser
import Html.Parser.Util
import Svg
import Svg.Attributes
import Url.Builder
import Json.Decode as Decode
import Html exposing (Html, Attribute, div, input, text, button, div, span, a, h2, h3, table, td, tr, img, textarea, video, source, p)
import Html.Attributes exposing (type_, placeholder, value, href, class, style, src, id, rows, controls, src, classList)
import Html.Events exposing (onInput, onClick, preventDefaultOn)
import Html.Lazy exposing (lazy5)
import Dict exposing (Dict)
import Tuple
maybeHtml : List (Maybe (Html Msg)) -> List (Html Msg)
maybeHtml = List.filterMap (\i -> i)
contentRepositoryDownloadUrl : ApiUrl -> String -> String
contentRepositoryDownloadUrl apiUrl s =
let
lastIndex = Maybe.withDefault 6 <| List.head <| List.reverse <| String.indexes "/" s
authority = String.slice 6 lastIndex s
content = String.dropLeft (lastIndex + 1) s
in
(fullMediaUrl apiUrl) ++ "/download/" ++ authority ++ "/" ++ content
stringColor : String -> String
stringColor s =
let
hue = String.fromFloat <| (toFloat (Fnv.hash s)) / 4294967296 * 360
in
"hsl(" ++ hue ++ ", 82%, 71%)"
viewFull : Model -> List (Html Msg)
viewFull model =
let
room r = Dict.get r model.rooms
|> Maybe.map (\rd -> (r, rd))
core = case model.route of
Login -> loginView model
Base -> baseView model Nothing
Room r -> baseView model <| room r
_ -> div [] []
errorList = errorsView model.errors
in
[ errorList ] ++ [ core ]
errorsView : List String -> Html Msg
errorsView = div [ class "errors-wrapper" ] << List.indexedMap errorView
errorView : Int -> String -> Html Msg
errorView i s = div [ class "error-wrapper", onClick <| DismissError i ] [ iconView "alert-triangle", text s ]
baseView : Model -> Maybe (RoomId, RoomData) -> Html Msg
baseView m rd =
let
roomView = Maybe.map (\(id, r) -> joinedRoomView m id r) rd
reconnect = reconnectView m
in
div [ class "base-wrapper" ] <| maybeHtml
[ Just <| roomListView m
, roomView
, reconnect
]
reconnectView : Model -> Maybe (Html Msg)
reconnectView m = if m.connected
then Nothing
else Just <| div [ class "reconnect-wrapper", onClick AttemptReconnect ] [ iconView "zap", text "Disconnected. Click here to reconnect." ]
roomListView : Model -> Html Msg
roomListView m =
let
groups = roomGroups
<| Dict.toList m.rooms
homeserverList = div [ class "homeservers-list" ]
<| List.map (\(k, v) -> homeserverView m k v)
<| Dict.toList groups
in
div [ class "rooms-wrapper" ]
[ h2 [] [ text "Rooms" ]
, input
[ class "room-search"
, type_ "text"
, placeholder "Search chats..."
, onInput UpdateSearchText
, value m.searchText
] []
, homeserverList
]
roomGroups : List (String, RoomData) -> Dict String (List (String, RoomData))
roomGroups jrs = groupBy (getHomeserver << Tuple.first) jrs
homeserverView : Model -> String -> List (String, RoomData) -> Html Msg
homeserverView m hs rs =
let
roomList = div [ class "rooms-list" ]
<| List.map (\(rid, r) -> roomListElementView m rid r)
<| List.sortBy (\(rid, r) -> getRoomName m.accountData rid r) rs
in
div [ class "homeserver-wrapper" ] [ h3 [] [ text hs ], roomList ]
roomListElementView : Model -> RoomId -> RoomData -> Html Msg
roomListElementView m rid rd =
let
name = getRoomName m.accountData rid rd
isVisible = m.searchText == "" || (String.contains (String.toLower m.searchText) <| String.toLower name)
isCurrentRoom = case currentRoomId m of
Nothing -> False
Just cr -> cr == rid
in
div [ classList
[ ("room-link-wrapper", True)
, ("active", isCurrentRoom)
, ("hidden", not isVisible)
]
]
<| roomNotificationCountView rd.unreadNotifications ++
[ a [ href <| roomUrl rid ] [ text name ] ]
roomNotificationCountView : UnreadNotificationCounts -> List (Html Msg)
roomNotificationCountView ns =
let
wrap b = span
[ classList
[ ("notification-count", True)
, ("bright", b)
]
]
getCount f = Maybe.withDefault 0 << f
in
case (getCount .notificationCount ns, getCount .highlightCount ns) of
(0, 0) -> []
(i, 0) -> [ wrap False [ iconView "bell", text <| String.fromInt i ] ]
(i, j) -> [ wrap True [ iconView "alert-circle", text <| String.fromInt i ] ]
loginView : Model -> Html Msg
loginView m = div [ class "login-wrapper" ]
[ h2 [] [ text "Log In" ]
, input [ type_ "text", placeholder "Username", value m.loginUsername, onInput ChangeLoginUsername] []
, input [ type_ "password", placeholder "PI:PASSWORD:<PASSWORD>END_PI", value m.loginPassword, onInput ChangeLoginPassword ] []
, input [ type_ "text", placeholder "Homeserver URL", value m.apiUrl, onInput ChangeApiUrl ] []
, button [ onClick AttemptLogin ] [ text "Log In" ]
]
joinedRoomView : Model -> RoomId -> RoomData -> Html Msg
joinedRoomView m roomId rd =
let
typing = List.map (getLocalDisplayName rd) <| getRoomTypingUsers rd
typingText = String.join ", " typing
typingSuffix = case List.length typing of
0 -> ""
1 -> " is typing..."
_ -> " are typing..."
typingWrapper = div [ class "typing-wrapper" ] [ text <| typingText ++ typingSuffix ]
messageInput = div [ class "message-wrapper" ]
[ textarea
[ rows 1
, onInput <| ChangeRoomText roomId
, onEnterKey <| SendRoomText roomId
, placeholder "Type your message here..."
, value <| Maybe.withDefault "" <| Dict.get roomId m.roomText
] []
, button [ onClick <| SendFiles roomId ] [ iconView "file" ]
, button [ onClick <| SendImages roomId ] [ iconView "image" ]
, button [ onClick <| SendRoomText roomId ] [ iconView "send" ]
]
in
div [ class "room-wrapper" ]
[ h2 [] [ text <| getRoomName m.accountData roomId rd ]
, lazy5 lazyMessagesView roomId rd m.apiUrl m.loginUsername m.sending
, messageInput
, typingWrapper
]
lazyMessagesView : RoomId -> RoomData -> ApiUrl -> Username -> Dict Int (RoomId, SendingMessage) -> Html Msg
lazyMessagesView rid rd au lu snd =
let
roomReceived = getReceivedMessages rd
roomSending = getSendingMessages rid snd
renderedMessages = List.map (userMessagesView rd au)
<| groupMessages lu
<| roomReceived ++ roomSending
in
messagesWrapperView rid renderedMessages
onEnterKey : Msg -> Attribute Msg
onEnterKey msg =
let
eventDecoder = Decode.map2 (\l r -> (l, r)) (Decode.field "keyCode" Decode.int) (Decode.field "shiftKey" Decode.bool)
msgFor (code, shift) = if code == 13 && not shift then Decode.succeed msg else Decode.fail "Not ENTER"
pairTrue v = (v, True)
decoder = Decode.map pairTrue <| Decode.andThen msgFor <| eventDecoder
in
preventDefaultOn "keydown" decoder
iconView : String -> Html Msg
iconView name =
let
url = Url.Builder.absolute [ "static", "svg", "feather-sprite.svg" ] []
in
Svg.svg
[ Svg.Attributes.class "feather-icon"
] [ Svg.use [ Svg.Attributes.xlinkHref (url ++ "#" ++ name) ] [] ]
messagesWrapperView : RoomId -> List (Html Msg) -> Html Msg
messagesWrapperView rid es = div [ class "messages-wrapper", id "messages-wrapper" ]
[ a [ class "history-link", onClick <| History rid ] [ text "Load older messages" ]
, table [ class "messages-table" ] es
]
senderView : RoomData -> Username -> Html Msg
senderView rd s =
span [ style "color" <| stringColor s, class "sender-wrapper" ] [ text <| getLocalDisplayName rd s ]
userMessagesView : RoomData -> ApiUrl -> (Username, List Message) -> Html Msg
userMessagesView rd apiUrl (u, ms) =
let
wrap h = div [ class "message" ] [ h ]
in
tr []
[ td [] [ senderView rd u ]
, td [] <| List.map wrap <| List.filterMap (messageView rd apiUrl) ms
]
messageView : RoomData -> ApiUrl -> Message -> Maybe (Html Msg)
messageView rd apiUrl msg = case msg of
Sending t -> Just <| sendingMessageView t
Received re -> roomEventView rd apiUrl re
sendingMessageView : SendingMessage -> Html Msg
sendingMessageView msg = case msg.body of
TextMessage t -> span [ class "sending"] [ text t ]
roomEventView : RoomData -> ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventView rd apiUrl re =
let
msgtype = Decode.decodeValue (Decode.field "msgtype" Decode.string) re.content
in
case msgtype of
Ok "m.text" -> roomEventTextView re
Ok "m.notice" -> roomEventNoticeView re
Ok "m.emote" -> roomEventEmoteView rd re
Ok "m.image" -> roomEventImageView apiUrl re
Ok "m.file" -> roomEventFileView apiUrl re
Ok "m.video" -> roomEventVideoView apiUrl re
_ -> Nothing
roomEventFormattedContent : MessageEvent -> Maybe (List (Html Msg))
roomEventFormattedContent re = Maybe.map Html.Parser.Util.toVirtualDom
<| Maybe.andThen (Result.toMaybe << Html.Parser.run )
<| Result.toMaybe
<| Decode.decodeValue (Decode.field "formatted_body" Decode.string) re.content
roomEventContent : (List (Html Msg) -> Html Msg) -> MessageEvent -> Maybe (Html Msg)
roomEventContent f re =
let
body = Decode.decodeValue (Decode.field "body" Decode.string) re.content
customHtml = roomEventFormattedContent re
in
case customHtml of
Just c -> Just <| f c
Nothing -> Maybe.map (f << List.singleton << text) <| Result.toMaybe body
roomEventEmoteView : RoomData -> MessageEvent -> Maybe (Html Msg)
roomEventEmoteView rd re =
let
emoteText = "* " ++ getLocalDisplayName rd re.sender ++ " "
in
roomEventContent (\cs -> span [] (text emoteText :: cs)) re
roomEventNoticeView : MessageEvent -> Maybe (Html Msg)
roomEventNoticeView = roomEventContent (span [ class "message-notice" ])
roomEventTextView : MessageEvent -> Maybe (Html Msg)
roomEventTextView = roomEventContent (span [])
roomEventImageView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventImageView apiUrl re =
let
body = Decode.decodeValue (Decode.field "url" Decode.string) re.content
in
Maybe.map (\s -> img [ class "message-image", src s ] [])
<| Maybe.map (contentRepositoryDownloadUrl apiUrl)
<| Result.toMaybe body
roomEventFileView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventFileView apiUrl re =
let
decoder = Decode.map2 (\l r -> (l, r)) (Decode.field "url" Decode.string) (Decode.field "body" Decode.string)
fileData = Decode.decodeValue decoder re.content
in
Maybe.map (\(url, name) -> a [ href url, class "file-wrapper" ] [ iconView "file", text name ])
<| Maybe.map (\(url, name) -> (contentRepositoryDownloadUrl apiUrl url, name))
<| Result.toMaybe fileData
roomEventVideoView : ApiUrl -> MessageEvent -> Maybe (Html Msg)
roomEventVideoView apiUrl re =
let
decoder = Decode.map2 (\l r -> (l, r))
(Decode.field "url" Decode.string)
(Decode.field "info" <| Decode.field "mimetype" Decode.string)
videoData = Decode.decodeValue decoder re.content
in
Maybe.map (\(url, t) -> video [ controls True ] [ source [ src url, type_ t ] [] ])
<| Maybe.map (\(url, type_) -> (contentRepositoryDownloadUrl apiUrl url, type_))
<| Result.toMaybe videoData
| elm |