utils.each('src,_src'.split(','), function (item) {

                if (imgCi[item]) {
                    imgCi[item] = utils.unhtmlForUrl(imgCi[item]);
                }
            });
            utils.each('title,alt'.split(','), function (item) {

                if (imgCi[item]) {
                    imgCi[item] = utils.unhtml(imgCi[item]);
                }
            });
        }

        if (img && /img/i.test(img.tagName) && (img.className != "edui-faked-video" || img.className.indexOf("edui-upload-video")!=-1) && !img.getAttribute("word_img")) {
            var first = opt.shift();
            var floatStyle = first['floatStyle'];
            delete first['floatStyle'];
////                img.style.border = (first.border||0) +"px solid #000";
////                img.style.margin = (first.margin||0) +"px";
//                img.style.cssText += ';margin:' + (first.margin||0) +"px;" + 'border:' + (first.border||0) +"px solid #000";
            domUtils.setAttributes(img, first);
            me.execCommand('imagefloat', floatStyle);
            if (opt.length > 0) {
                range.setStartAfter(img).setCursor(false, true);
                me.execCommand('insertimage', opt);
            }

        } else {
            var html = [], str = '', ci;
            ci = opt[0];
            if (opt.length == 1) {
                unhtmlData(ci);

                str = '<img src="' + ci.src + '" ' + (ci._src ? ' _src="' + ci._src + '" ' : '') +
                    (ci.width ? 'width="' + ci.width + '" ' : '') +
                    (ci.height ? ' height="' + ci.height + '" ' : '') +
                    (ci['floatStyle'] == 'left' || ci['floatStyle'] == 'right' ? ' style="float:' + ci['floatStyle'] + ';"' : '') +
                    (ci.title && ci.title != "" ? ' title="' + ci.title + '"' : '') +
                    (ci.border && ci.border != "0" ? ' border="' + ci.border + '"' : '') +
                    (ci.alt && ci.alt != "" ? ' alt="' + ci.alt + '"' : '') +
                    (ci.hspace && ci.hspace != "0" ? ' hspace = "' + ci.hspace + '"' : '') +
                    (ci.vspace && ci.vspace != "0" ? ' vspace = "' + ci.vspace + '"' : '') + '/>';
                if (ci['floatStyle'] == 'center') {
                    str = '
' + str + '
';
                }
                html.push(str);

            } else {
                for (var i = 0; ci = opt[i++];) {
                    unhtmlData(ci);
                    str = '

';
                    html.push(str);
                }
            }

            me.execCommand('insertHtml', html.join(''));
        }

        me.fireEvent('afterinsertimage', opt)
    }
};

// plugins/justify.js
/**
 * 段落格式
 * @file
 * @since 1.2.6.1
 */

/**
 * 段落对齐方式
 * @command justify
 * @method execCommand
 * @param { String } cmd 命令字符串
 *


mut() = 0i32 }; //~ ERROR inbounds test failed: 0x0 is not a valid pointer
}
<reponame>ntan15/rust-efl<gh_stars>1-10
#![allow(non_camel_case_types)]
extern crate libc;
extern crate eina_sys;

use libc::*;
use eina_sys::*;

/* automatically generated by rust-bindgen */

pub enum Ecore_File_Monitor { }
pub enum Ecore_File_Download_Job { }
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum EcoreFileEvent {
    EcoreFileEventNone = 0,
    EcoreFileEventCreatedFile = 1,
    EcoreFileEventCreatedDirectory = 2,
    EcoreFileEventDeletedFile = 3,
    EcoreFileEventDeletedDirectory = 4,
    EcoreFileEventDeletedSelf = 5,
    EcoreFileEventModified = 6,
    EcoreFileEventClosed = 7,
}
pub type EcoreFileMonitorCb = Option<unsafe extern "C" fn(data: *mut c_void,
                                                           em: *mut Ecore_File_Monitor,
                                                           event: EcoreFileEvent,
                                                           path: *const c_char)>;
pub type EcoreFileDownloadCompletionCb = Option<unsafe extern "C" fn(data: *mut c_void,
                                                                     file: *const c_char,
                                                                     status: c_int)>;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum EcoreFileProgressReturn {
    EcoreFileProgressContinue = 0,
    EcoreFileProgressAbort = 1,
}
pub type EcoreFileDownloadProgressCb = Option<unsafe extern "C" fn(data: *mut c_void,
                                                                   file: *const c_char,
                                                                   dltotal: c_long,
                                                                   dlnow: c_long,
                                                                   ultotal: c_long,
                                                                   ulnow: c_long)
                              -> c_int>;
#[link(name = "ecore_file")]
extern "C" {
    pub fn ecore_file_init() -> c_int;
    pub fn ecore_file_shutdown() -> c_int;
    pub fn ecore_file_mod_time(file: *const c_char)
     -> c_longlong;
    pub fn ecore_file_size(file: *const c_char)
     -> c_longlong;
    pub fn ecore_file_exists(file: *const c_char)
     -> EinaBool;
    pub fn ecore_file_is_dir(file: *const c_char)
     -> EinaBool;
    pub fn ecore_file_mkdir(dir: *const c_char) -> EinaBool;
    pub fn ecore_file_mkdirs(dirs: *mut *const c_char)
     -> c_int;
    pub fn ecore_file_mksubdirs(base: *const c_char,
                                subdirs: *mut *const c_char)
     -> c_int;
    pub fn ecore_file_rmdir(dir: *const c_char) -> EinaBool;
    pub fn ecore_file_recursive_rm(dir: *const c_char)
     -> EinaBool;
    pub fn ecore_file_mkpath(path: *const c_char)
     -> EinaBool;
    pub fn ecore_file_mkpaths(paths: *mut *const c_char)
     -> c_int;
    pub fn ecore_file_cp(src: *const c_char,
                         dst: *const c_char) -> EinaBool;
    pub fn ecore_file_mv(src: *const c_char,
                         dst: *const c_char) -> EinaBool;
    pub fn ecore_file_symlink(src: *const c_char,
                              dest: *const c_char)
     -> EinaBool;
    pub fn ecore_file_realpath(file: *const c_char)


 the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

package asm

import (
	"reflect"
	"testing"
)

func lexAll(src string) []token {
	ch := Lex("test.asm", []byte(src), false)

	var tokens []token
	for i := range ch {
		tokens = append(tokens, i)
	}
	return tokens
}

func TestLexer(t *testing.T) {
	tests := []struct {
		input  string
		tokens []token
	}{
		{
			input:  ";; this is a comment",
			tokens: []token{{typ: lineStart}, {typ: eof}},
		},
		{
			input:  "0x12345678",
			tokens: []token{{typ: lineStart}, {typ: number, text: "0x12345678"}, {typ: eof}},
		},
		{
			input:  "0x123ggg",
			tokens: []token{{typ: lineStart}, {typ: number, text: "0x123"}, {typ: element, text: "ggg"}, {typ: eof}},
		},
		{
			input:  "12345678",
			tokens: []token{{typ: lineStart}, {typ: number, text: "12345678"}, {typ: eof}},
		},
		{
			input:  "123abc",
			tokens: []token{{typ: lineStart}, {typ: number, text: "123"}, {typ: element, text: "abc"}, {typ: eof}},
		},
		{
			input:  "0123abc",
			tokens: []token{{typ: lineStart}, {typ: number, text: "0123"}, {typ: element, text: "abc"}, {typ: eof}},
		},
	}

	for _, test := range tests {
		tokens := lexAll(test.input)
		if !reflect.DeepEqual(tokens, test.tokens) {
			t.Errorf("input %q\ngot:  %+v\nwant: %+v", test.input, tokens, test.tokens)
		}
	}
}
// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

package runtime_test

import (
	"fmt"

	"github.com/ethereum/go-ethereum/common"
	"github.com/ethereum/go-ethereum/core/vm/runtime"
)

func ExampleExecute() {
	ret, _, err := runtime.Execute(common.Hex2Bytes("6060604052600a8060106000396000f360606040526008565b00"), nil, nil)
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(ret)
	// Output:
	// [96 96 96 64 82 96 8 86 91 0]
}
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE


const EXPORT_SUPPORT = FUSE_CAP_EXPORT_SUPPORT;
        const FLOCK_LOCKS = FUSE_CAP_FLOCK_LOCKS;
        const HANDLE_KILLPRIV = FUSE_CAP_HANDLE_KILLPRIV;
        const IOCTL_DIR = FUSE_CAP_IOCTL_DIR;
        const NO_OPENDIR_SUPPORT = FUSE_CAP_NO_OPENDIR_SUPPORT;
        const NO_OPEN_SUPPORT = FUSE_CAP_NO_OPEN_SUPPORT;
        const PARALLEL_DIROPS = FUSE_CAP_PARALLEL_DIROPS;
        const POSIX_ACL = FUSE_CAP_POSIX_ACL;
        const POSIX_LOCKS = FUSE_CAP_POSIX_LOCKS;
        const READDIRPLUS = FUSE_CAP_READDIRPLUS;
        const READDIRPLUS_AUTO = FUSE_CAP_READDIRPLUS_AUTO;
        const SPLICE_MOVE = FUSE_CAP_SPLICE_MOVE;
        const SPLICE_READ = FUSE_CAP_SPLICE_READ;
        const SPLICE_WRITE = FUSE_CAP_SPLICE_WRITE;
        const WRITEBACK_CACHE = FUSE_CAP_WRITEBACK_CACHE;
    }
}
<gh_stars>10-100
use aorist_primitives::AOption;

use super::airflow_bash_operator_task::AirflowBashOperatorTask;
use super::python_subprocess_task::PythonSubprocessTask;
use crate::python::ast::AirflowTaskBase;
use crate::python::ast::PythonTaskBase;
use crate::python::PythonImport;
use abi_stable::external_types::parking_lot::rw_lock::RRwLock;
use abi_stable::std_types::RArc;
use aorist_ast::{Formatted, AST};
use aorist_primitives::{define_task_node, AString, AVec};
use linked_hash_map::LinkedHashMap;
use std::hash::Hash;

define_task_node!(
    BashPythonTask,
    |task: &BashPythonTask| vec![task.call.clone()].into_iter().collect(),
    |task: &BashPythonTask| { task.get_subprocess_statements() },
    |task: &BashPythonTask| { task.get_python_subprocess_imports() },
    PythonImport,
    call: AST,
    kwargs: LinkedHashMap<AString, AST>,
    task_val: AST,
    dependencies: AOption<AST>,
);
impl PythonTaskBase for BashPythonTask {
    fn get_task_val(&self) -> AST {
        self.task_val.clone()
    }
}
impl AirflowTaskBase for BashPythonTask {
    fn get_dependencies(&self) -> AOption<AST> {
        self.dependencies.clone()
    }
}
impl PythonSubprocessTask for BashPythonTask {
    fn get_command(&self) -> AST {
        AST::Formatted(Formatted::new_wrapped(
            self.call.clone(),
            self.kwargs.clone(),
        ))
    }
}
impl AirflowBashOperatorTask for BashPythonTask {
    fn get_call_param_value(&self) -> AST {
        self.get_command()
    }
}
use BoundaryCondition;

pub struct Neumann;

impl BoundaryCondition for Neumann {
    fn calculate_boundary(&self, other: f32) -> f32 {
        other
    }
}
<gh_stars>0
use crate::prelude::{
    JumpToBarEvent, MidiHub, MidiSettings, MidiState, PlayControlEvent, SwitchTabEvent,
};
use bevy::prelude::*;
use bevy::core::FixedTimestep;
use notation_model::prelude::{PlayClock};

pub struct MidiPlugin;

const DO_TICK_TIMESTEP: f64 = 1.0 / 60.0;

impl Plugin for MidiPlugin {
    fn build(&self, app: &mut AppBuilder) {
        app.add_event::<SwitchTabEvent>();
        app.add_event::<JumpToBarEvent>();
        app.add_event::


#!/usr/bin/env python
#
# Copyright (c) 2016 Cloudera, Inc. All rights reserved.
#

'''
This script is provided by CMF for hadoop to determine network/rack topology.
It is automatically generated and could be replaced at any time. Any changes
made to it will be lost when this happens.
'''

import os
import sys
import xml.dom.minidom

try:
  xrange
except NameError:
  # support for python3, which basically renamed xrange to range
  xrange = range

def main():
  MAP_FILE = '{{CMF_CONF_DIR}}/topology.map'
  DEFAULT_RACK = '/default'

  if 'CMF_CONF_DIR' in MAP_FILE:
    # variable was not substituted. Use this file's dir
    MAP_FILE = os.path.join(os.path.dirname(__file__), "topology.map")

  # We try to keep the default rack to have the same
  # number of elements as the other hosts available.
  # There are bugs in some versions of Hadoop which
  # make the system error out.
  max_elements = 1

  map = dict()

  try:
    mapFile = open(MAP_FILE, 'r')

    dom = xml.dom.minidom.parse(mapFile)
    for node in dom.getElementsByTagName("node"):
      rack = node.getAttribute("rack")
      max_elements = max(max_elements, rack.count("/"))
      map[node.getAttribute("name")] = node.getAttribute("rack")
  except:
    default_rack = "".join([ DEFAULT_RACK for _ in xrange(max_elements)])
    print(default_rack)
    return -1

  default_rack = "".join([ DEFAULT_RACK for _ in xrange(max_elements)])
  if len(sys.argv)==1:
    print(default_rack)
  else:
    print(" ".join([map.get(i, default_rack) for i in sys.argv[1:]]))
  return 0

if __name__ == "__main__":
  sys.exit(main())


 self.create_chat_bubble(message, True)
        self.chat_list.controls.append(user_bubble)

        # Indicador de escritura
        typing = ft.Container(
            content=ft.Text("💭 AI está pensando...", size=12, italic=True),
            padding=10
        )
        self.chat_list.controls.append(typing)
        self.page.update()

        try:
            prompt = f"""
            Responde la pregunta sobre este paper académico:

            Paper: {self.translated_text[:3000]}

            Pregunta: {message}

            Responde de manera clara y académica.
            """

            response = await asyncio.to_thread(MODEL_GENERAL.generate_content, prompt)

            # Remover indicador
            self.chat_list.controls.remove(typing)

            # Agregar respuesta
            ai_bubble = self.create_chat_bubble(response.text, False)
            self.chat_list.controls.append(ai_bubble)

        except Exception as error:
            self.chat_list.controls.remove(typing)
            error_bubble = self.create_chat_bubble(f"Error: {str(error)}", False)
            self.chat_list.controls.append(error_bubble)

        self.page.update()

    def create_chat_bubble(self, message, is_user):
        """Crear burbuja de chat"""
        return ft.Container(
            content=ft.Column([
                ft.Text("Tú" if is_user else "🤖 AI", size=10, weight=ft.FontWeight.BOLD),
                ft.Text(message, size=14, selectable=True)
            ], spacing=5),
            bgcolor=with_opacity(0.1, AppTheme.PRIMARY if is_user else AppTheme.SECONDARY),
            padding=10,
            border_radius=10,
            margin=ft.margin.only(
                left=50 if is_user else 0,
                right=0 if is_user else 50,
                bottom=10
            )
        )

    async def generate_infographic(self, e):
        """Generar infografía"""
        if not self.translated_text:
            self.show_snackbar("Traduce un paper primero", AppTheme.ERROR)
            return

        self.infographic_container.content = ft.Column([
            ft.Text("⏳", size=50),
            ft.Text("Generando infografía...", size=16)
        ], horizontal_alignment=ft.CrossAxisAlignment.CENTER)
        self.page.update()

        try:
            # Crear infografía simple
            img_base64 = await self.create_simple_infographic()

            self.infographic_container.content = ft.Column([
                ft.Image(src_base64=img_base64, width=500, height=600, fit=ft.ImageFit.CONTAIN),
                ft.ElevatedButton(
                    text="💾 Descargar",
                    on_click=lambda _: self.download_infographic(img_base64),
                    bgcolor=AppTheme.SECONDARY
                )
            ], horizontal_alignment=ft.CrossAxisAlignment.CENTER, spacing=10)

            self.show_snackbar("Infografía generada", AppTheme.SUCCESS)

        except Exception as error:
            self.infographic_container.content = ft.Text(
                f"Error: {str(error)}",
                color=AppTheme.ERROR
            )

        self.page.update()

    async def create_simple_infographic(self):
        """Crear infografía simple"""
        def create_plot():
            fig, ax = plt.subplots(figsize=(8, 10))
            fig.patch.set_facecolor('white')
            ax.set_xlim(0, 10)
            ax.set_ylim(0, 12)
            ax.axis('off')

            # Título
            ax.text(5, 11, "📄 Paper Summary", fontsize=20, fontweight='bold', ha='center')

            # Contenido simplificado
            content = [
                "📋 Resumen del Paper",
                f"📄 Archivo: {self.file_name[:30]}...",
                f"🌐 Traducido a: {LANGUAGES[self.target_lang]}",
                "✅ Procesado con IA"
            ]

            for i, text in enumerate(content):
                ax.text(1, 9-i*1.5, text, fontsize=12, ha='left')

            # Guardar como base64
            buffer = io.BytesIO()
            plt.savefig(buffer, format='png', dpi=150, bbox_inches='tight')
            buffer.seek(0)
            img_base64 = base64.b64encode(buffer.getvalue()).decode()
            plt.close()

            return img_base64

        return await asyncio.to_thread(crea


.2155554-1.79571405.56619038-2.26476152.25654645-.15392786.55010357-.23523848.84928557-.23523848zm-1.91547595 11c.2671216.9337883.60045494 1.6004549 1 2s1.06621173.7328784 2 1m10.9115854-3c-.2081785.9337883-.5120403 1.6004549-.9115854 2s-1.0956833.7328784-2.0884146 1m-6.4115854-15.5c.66666667-1 1.5-1.5 2.5-1.5s1.83333333.5 2.5 1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" transform="matrix(-1 0 0 -1 18 19)"/></svg>

<svg  viewBox="0 0 21 21"  xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" transform="translate(3 1)"><path d="m12.4997505 6.58452405c0 1.90773631.5184778 3.77960555 1.5 5.41547595.4690475.7817458.2155554 1.795714-.5661903 2.2647615-.2565465.1539279-.5501036.2352385-.8492856.2352385h-10.16904812c-.91166441 0-1.65071443-.73905-1.65071443-1.6507144 0-.299182.08131061-.5927392.23523848-.8492856.98152223-1.6358704 1.5-3.50773964 1.5-5.41547595v-1.08452405c0-2.209139 1.790861-4 4-4h2c.80352907 0 1.55172027.23692942 2.17852347.64473803"/><path d="m7.5 4.5h2l-2 3h2"/><path d="m11.5.5h3l-3 4h3"/><path d="m5 17.5c.66666667-1 1.5-1.5 2.5-1.5s1.83333333.5 2.5 1.5" transform="matrix(-1 0 0 -1 15 33.5)"/></g></svg>

<svg  viewBox="0 0 21 21"  xmlns="http://www.w3.org/2000/svg"><path d="m0 3.75 7 7.5-3.5 3.75v-15l3.5 3.75-7 7.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" transform="translate(7 3)"/></svg>

<svg  viewBox="0 0 21 21"  xmlns="http://www.w3.org/2000/svg"><path d="m16.5 1.59090909c-1.3333333-.72727273-2.6666667-1.09090909-4-1.09090909s-2.66666667.36363636-4 1.09090909v9.90909091c1.33333333-.6666667 2.6666667-1 4-1s2.6666667.3333333 4 1zm-8 0c-1.33333333-.72727273-2.66666667-1.09090909-4-1.09090909s-2.66666667.36363636-4 1.09090909v9.90909091c1.33333333-.6666667 2.66666667-1 4-1s2.66666667.3333333 4 1z" fill="none" stroke="currentColor" stroke-line


d and experiment! If you make a mistake you can always see the previous version of the text on the Changes page. -->
9. [[Category: Springfield Cemetery, Springfield, Massachusetts]] == Biography == == Sources == {{FindAGrave|113338836}} <references />
10. {{Puritan Great Migration}} [[Category:Accused Witches of New England]] == Biography ==Mercy (Unknown) Marshfield<ref name=TAG67>The American Genealogist. Vol. 67</ref>was born about 1605 in England.  She and her husband, Thomas Marshfield, were married about 1626<ref name=GM>Great Migration featured Thomas Marshfield </ref> and she may have originated Exeter, co.Devon since she and her husband had a daughter, Sarah, baptized at St. Mary Arches, Exeter on August 25, 1633 and that is where the family was living just prior to their immigration to New England.<ref name=TAG63>The American Genealogist. Vol.63 </ref>The first New England records of her husband were found at Dorchester, Massachusetts in 1635 where he was granted 12 acres of planting ground on Squantum Neck.<ref name=TAG67 /> === Children<ref name=TAG63 /> ===#daughter<ref name=TAG63 />named Mercy was married to John Dumbleton by May 1649.<ref name=TAG67 />#Samuel was born about 1625 - 28 and died at Springfield, Massachusetts on May 8, 1692.  He married February 13, 1651 to Hester Wright, daughter of Deacon Samuel and Margaret Wright of Springfield.  Hester died April 3, 1664.  Samuel married (2nd) on December 28, 1661 to Catherine (Chapin) (Bliss) Gilbert.  Catherine was baptized at Berry Pomeroy,co. Devon in 1626; daughter of Deacon Samuel and Cicely (Penny) Chapin.  She died February 4, 1712.#Sarah was baptized at St. Mary Arches, Exeter, co Devon on August 25, 1633.  She died in Springfield on March 9, 1709.  Married to Thomas Miller at Springfield on October 12, 1649 - he was killed by the Indians at the burning of Springfield on October 5, 1675.  She married (2nd) to Edward (or Edmund) Foster who was possibly the Edward Foster who was baptized at Chipping Barnet, co. Hertford, England, on June 22, 1637; son of Edward and Dionis Foster.  He died February 22, 1719/20.  Edward's 1st wife was Hester Bliss who was born about 1640 and died at Springfield on June 12, 1683; daughter of Thomas and Margaret (Hullings) Bliss. Edward Foster testified that he came from "Barnett" in England on September 9, 1650. #Priscilla died at Windsor, Connecticut on October 20, 1639. By May 15, 1637 the family was living at Windsor, Connecticut where he had a land grant but sold part of it in 1642 to Thomas Newell probably because of serious financial problems.  On October 14, 1642 the court "took into custody all of Thomas Marshfield's estate, goods and chattels to pay his debts," afterwhich he may have returned to England but it is far likely that he died for his wife was herafter known as "Widow Marshfield" when by 1649 she had moved to Springfield, Massachusetts.<ref name=TAG67 />Her husband had probably died shortly after his last appearance in the records of  Windsor in 1642.<ref name=TAG63 />  A grant for a homelot in Springfield has not been found, indicating she may have moved to Springfield to join her married daugher whose husband had received a homelot grant.<ref name=TAG67 /> At court in Springfield in 1649 she, Widow Marshfield, was accused ofwitchcraft by Goodwife Parsons wife of Hugh Pars


//  SPDX-FileCopyrightText: 2020-2021 Ivan Ivanov
//  SPDX-License-Identifier: GPL-3.0-or-later

#include "soc/rtc_cntl_reg.h"
#include "soc/rtc_io_reg.h"
#include "soc/soc_ulp.h"
#include "i2c_max30100.h"
#include "stack.s"

// https://github.com/oxullo/Arduino-MAX30100/blob/master/src/MAX30100.cpp
//https://github.com/viggi1000/RakshBluemix/blob/3b64cc5819357a9f7e7492c5afc7fd98b4f5671e/max30100_photon/firmware/MAX30100.cpp

//.set ARRAY_SIZE, 100 // samples, set 4*ARRAY_SIZE  in max30100_raw_data size to count bytes

.bss
   .global max30100_error
max30100_error:
   .long 0

   .global max30100_fifo_filled
max30100_fifo_filled:
   .long 0

   .global max30100_loop_counter
max30100_loop_counter:
   .long 0

   .global max30100_get_all_fifo_counter
max30100_get_all_fifo_counter:
   .long 0

    .global max30100_toRead
max30100_toRead:
   .long 0

    .global max30100_data_size
max30100_data_size:
   .long 0

    .global max30100_free_data_size
max30100_free_data_size:
   .long 0

    .global max30100_data_size_after
max30100_data_size_after:
   .long 0

   .global max30100_fifo_num_available_samples
max30100_fifo_num_available_samples:
   .long 0
   .global max30100_fifo_overflow_counter
max30100_fifo_overflow_counter:
   .long 0
   .global max30100_flags
max30100_flags:
   .long 0

   .global max30100_data_pointer //
max30100_data_pointer:
   .long 0

   .global max30100_raw_data
max30100_raw_data:
   //.skip 8
   .skip 500 // in bytes! // 500 = 125 samples // i need 25 samples per second, 1 sample 4 bite (even if i need only RED data, second int16 unused due to ulp memory architecture)
   .global max30100_raw_dataEnd
max30100_raw_dataEnd:
   .long 0

.text
    .global max30100_buffer_is_full
max30100_buffer_is_full:
    ret

    .global max30100_init
max30100_init:
    move r0, max30100_error  // test for init error SENSOR_STATUS_HW_ERROR
    ld r0, r0, 0x00
    jumpr  max30100_sensor_found, SENSOR_STATUS_HW_ERROR, lt
    jumpr  max30100_sensor_found, SENSOR_STATUS_HW_ERROR, gt
    ret
max30100_sensor_found:

//    store max30100_readFifoData 0
  ///  psr                     // tmp off
//    jump max30100_shutdown  // tmp off
  //  ret                     // tmp off

#ifndef MAIN_CORE_INIT_SENSORS
    read_i2c MAX30100_ADDR MAX30100_REG_PART_ID fail_max30100_init
    move r0, r1  // take result from r1
    jumpr max30100_find_ok, MAX30100_EXPECTED_PART_ID, eq


; i < colorWidth; i++){
			for(int j = 0; j < colorHeight; j++){
				int pos = i + j * colorWidth;
				colorImg.pixels[pos] = parent.color(0);
			}
		}

		colorImg.updatePixels();

		//System.out.println(version());
    }

    /**
     * Open and initialize the a default Device
     */
    public void initDevice(){
    	jniOpen();

    }

    /**
     * Open and initialize a specific Device index [0, numDevices - 1]
     * @param index
     */
    public void initDevice(int index){
    	jniOpenM(index);
    }

    /**
     * Close Device
     */
    public void stopDevice(){
    	jniStop();
    }

    /**
     * Process Depth Image (512 x 424)
     * @return PImage
     */
    public PImage getDepthImage(){
    	int[] depthRawData = jniGetDepthData();
    	PApplet.arrayCopy(depthRawData, 0, depthImg.pixels, 0, depthImg.width * depthImg.height);
        depthColorBuffer.put(depthRawData, 0, depthWidth * depthHeight);
        depthColorBuffer.rewind();
    	depthImg.updatePixels();
	return depthImg;
    }

    /**
     * Process Infrared Image (512 x 424)
     * @return PImage
     */
    public PImage getIrImage(){
    	int[] irRawData = jniGetIrData();
    	PApplet.arrayCopy(irRawData, 0, irImg.pixels, 0, irImg.width * irImg.height);
        irColorBuffer.put(irRawData, 0, depthWidth * depthHeight);
        irColorBuffer.rewind();
    	irImg.updatePixels();
        return irImg;
    }

    /**
     *  Process Color Image (1920 x 1080)
     * @return PImage
     */
    public PImage getVideoImage(){
    	int[] colorRawData = jniGetColorData();
    	PApplet.arrayCopy(colorRawData, 0, colorImg.pixels, 0, colorImg.width * colorImg.height);
        colorImg.updatePixels();
        return colorImg;
    }

    /**
     * Process the undistored Image  (512 x 442) Image output
     * @return PImage
     */
    public PImage getUndistoredImage(){
    	int[] undistoredData = jniGetUndistorted();
    	PApplet.arrayCopy(undistoredData, 0, undistortedImg.pixels, 0, undistortedImg.width* undistortedImg.height);
    	undistortedImg.updatePixels();
    	return undistortedImg;
    }

    /**
     * Process the registered Image RGB and Depth mapping (512 x 442) Image output
     * @return PImage
     */
    public PImage getRegisteredImage(){
    	int[] registeredData = jniGetRegistered();
    	PApplet.arrayCopy(registeredData, 0, registeredImg.pixels, 0, registeredImg.width* registeredImg.height);
        registeredColorBuffer.put(registeredImg.pixels, 0, depthWidth * depthHeight);
        registeredColorBuffer.rewind();
    	registeredImg.updatePixels();
    	return registeredImg;
    }

    /**
     * Get depth camera positions based on the Kinect v2 hardware
     * @return float array of 512 x 424 x 3 elements
     */
    public float []  getDepthToCameraPositions(){
    	return jniGetDepthCameraPositions();
    }

    /**
     * Get depth camera positions as a float buffer data structure
     * @return FloatBuffer 512 x 424 x 3 floats
     */
    public FloatBuffer  getDepthBufferPositions(){
        float[] pcRawData = jniGetDepthCameraPositions();
        depthPositions.


plugins .setting-item.mod-toggle:nth-child(13)>.setting-item-info{font-family:var(--font-interface-override),"Flow Circular";font-weight:600}.madness-mode:not(.is-mobile) .mod-settings .plugin-list-plugins .setting-item.mod-toggle:nth-child(13)>.setting-item-info .setting-item-description{display:none}.madness-mode:not(.is-mobile) .mod-settings .plugin-list-plugins .setting-item.mod-toggle:nth-child(13)>.setting-item-info .setting-item-name::before{content:"Do NOT, I repeat, NOT enable the "}.madness-mode:not(.is-mobile) .prompt-results .suggestion-content{font-family:"Flow Circular"}.madness-mode:not(.is-mobile) .prompt-input[placeholder^="Select a command"]+.prompt-results::before{display:block;content:"🪧 Temple of Enlightenment. Change your semblance, and you will find it.";font-family:var(--font-interface-override),"Flow Circular";line-height:1.3;color:var(--secondary-accent-text);background-color:var(--bg3);padding:5px 5px 5px 7px;cursor:not-allowed}.madness-mode:not(.is-mobile) .prompt-input[placeholder^="Select a command"]~.prompt-results .suggestion-flair::before,.madness-mode:not(.is-mobile) .prompt.better-command-palette .suggestion-flair[aria-label=Pinned]~.suggestion-content::before{display:none}body.madness-mode:not(.is-mobile) .prompt{cursor:context-menu;animation-duration:10s;animation-name:moveAround;animation-iteration-count:infinite}@keyframes moveAround{from{transform:translateY(0)}50%{transform:translateY(82vh)}to{transform:translateY(0)}}.madness-mode.madness-mode.madness-mode.madness-mode.madness-mode.madness-mode.madness-mode.madness-mode.madness-mode:not(.is-mobile) :is(.cm-line,.cm-line *,.markdown-preview-view,.markdown-preview-view *){font-family:"Flow Circular"}.madness-mode:not(.is-mobile) .view-content.view-content :is(.cm-line > *,.cm-line,p,li,ol,ul,h1,h2,h3,h4,h5,h6,blockquote):hover{background-color:hsl(210 60% 76%);border-right:10px solid hsl(107 33% 78%);border-radius:0!important;outline:1.2px dashed hsl(271 68% 49%);outline-offset:-1px}.madness-mode:not(.is-mobile) .modal.mod-settings .mod-toggle:nth-child(3)+.setting-item-heading+.setting-item>.setting-item-info,.madness-mode:not(.is-mobile) .prompt-results .suggestion-prefix{font-family:var(--font-interface-override),"Flow Circular"}.madness-mode:not(.is-mobile) .modal.mod-settings .mod-toggle:nth-child(3)+.setting-item-heading+.setting-item>.setting-item-info::after{content:"You regain some sanity. Maybe you can see some things more clearly now?";font-size:1rem}.madness-mode:not(.is-mobile) .modal.mod-settings .mod-toggle:nth-child(3)+.setting-item-heading+.setting-item .setting-item-name::after{content:" 🤨 Hmm...";font-family:var(--font-interface)}.madness-mode:not(.is-mobile) .modal.mod-settings .plugin-list-plugins .setting-item-heading::after{content:"😵💫 Do I need one of these?";font-family:var(--font-interface);font-size:1rem;font-weight:500}.madness-mode:not(.is-mobile) .modal.mod-settings .vertical-tab-content>


uccin_macchiato_sapphire_dark_inversePrimary,
    surfaceTint = catppuccin_macchiato_sapphire_dark_surfaceTint,
    outlineVariant = catppuccin_macchiato_sapphire_dark_outlineVariant,
    scrim = catppuccin_macchiato_sapphire_dark_scrim,
)

@Composable
fun CatppuccinMacchiatoSapphireTheme(
    useDarkTheme: Boolean = isSystemInDarkTheme(),
    content: @Composable() () -> Unit
) {
    val colors = if (!useDarkTheme) {
        CatppuccinMacchiatoSapphireLightColors
    } else {
        CatppuccinMacchiatoSapphireDarkColors
    }

    MaterialTheme(
        colorScheme = colors,
        content = content
    )
}

package net.deechael.esjzone.ui.theme.catppuccin.mocha

import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color

val catppuccin_mocha_flamingo_light_primary = Color(0xFF9C4147)
val catppuccin_mocha_flamingo_light_onPrimary = Color(0xFFFFFFFF)
val catppuccin_mocha_flamingo_light_primaryContainer = Color(0xFFFFDADA)
val catppuccin_mocha_flamingo_light_onPrimaryContainer = Color(0xFF40000B)
val catppuccin_mocha_flamingo_light_secondary = Color(0xFF765657)
val catppuccin_mocha_flamingo_light_onSecondary = Color(0xFFFFFFFF)
val catppuccin_mocha_flamingo_light_secondaryContainer = Color(0xFFFFDADA)
val catppuccin_mocha_flamingo_light_onSecondaryContainer = Color(0xFF2C1516)
val catppuccin_mocha_flamingo_light_tertiary = Color(0xFF755A2F)
val catppuccin_mocha_flamingo_light_onTertiary = Color(0xFFFFFFFF)
val catppuccin_mocha_flamingo_light_tertiaryContainer = Color(0xFFFFDDB0)
val catppuccin_mocha_flamingo_light_onTertiaryContainer = Color(0xFF291800)
val catppuccin_mocha_flamingo_light_error = Color(0xFFBA1A1A)
val catppuccin_mocha_flamingo_light_errorContainer = Color(0xFFFFDAD6)
val catppuccin_mocha_flamingo_light_onError = Color(0xFFFFFFFF)
val catppuccin_mocha_flamingo_light_onErrorContainer = Color(0xFF410002)
val catppuccin_mocha_flamingo_light_background = Color(0xFFFFFBFF)
val catppuccin_mocha_flamingo_light_onBackground = Color(0xFF201A1A)
val catppuccin_mocha_flamingo_light_surface = Color(0xFFFFFBFF)
val catppuccin_mocha_flamingo_light_onSurface = Color(0xFF201A1A)
val catppuccin_mocha_flamingo_light_surfaceVariant = Color(0xFFF4DDDD)
val catppuccin_mocha_flamingo_light_onSurfaceVariant = Color(0xFF524343)
val catppuccin_mocha_flamingo_light_outline = Color(0xFF857373)
val catppuccin_moc


)(srow1 + x));
			__m128i s2 = _mm_load_si128((const __m128i*)(pSrc + x));
			__m128i s3 = _mm_load_si128((const __m128i*)(srow2 + x));
			__m128i s4 = _mm_load_si128((const __m128i*)(srow3 + x));
			__m128i s0_L = _mm_unpacklo_epi8(s0, z);
			__m128i s4_L = _mm_unpacklo_epi8(s4, z);
			s0 = _mm_unpackhi_epi8(s0, z);
			s4 = _mm_unpackhi_epi8(s4, z);
			s0_L = _mm_add_epi16(s0_L, s4_L);
			s0 = _mm_add_epi16(s0, s4);
			__m128i s1_L = _mm_add_epi16(_mm_unpacklo_epi8(s1, z), _mm_unpacklo_epi8(s3, z));
			s1 = _mm_add_epi16(_mm_unpackhi_epi8(s1, z), _mm_unpackhi_epi8(s3, z));
			s4_L = _mm_unpacklo_epi8(s2, z);
			s2  = _mm_unpackhi_epi8(s2, z);
			s0_L = _mm_add_epi16(s0_L, _mm_slli_epi16(s1_L, 2));
			s0 = _mm_add_epi16(s0, _mm_slli_epi16(s1, 2));
			s0_L = _mm_add_epi16(s0_L, _mm_mullo_epi16(s4_L, c6));		// low 8 filtered
			s0 = _mm_add_epi16(s0, _mm_mullo_epi16(s2, c6));			// Hi 8 filtered.
			// copy to temp
			_mm_store_si128((__m128i*)(r0 + x), s0_L);
			_mm_store_si128((__m128i*)(r0 + x+ 8), s0);
		}

		// do horizontal convolution and copy to r1
		for (x = 0; x <srcWidth; x += 8)
		{
			__m128i s0 = _mm_loadu_si128((const __m128i*)(r0 + x - 2));
			__m128i s1 = _mm_loadu_si128((const __m128i*)(r0 + x - 1));
			__m128i s2 = _mm_loadu_si128((const __m128i*)(r0 + x));
			__m128i s3 = _mm_loadu_si128((const __m128i*)(r0 + x + 1));
			__m128i s4 = _mm_loadu_si128((const __m128i*)(r0 + x + 2));
			s0 = _mm_add_epi16(s0, s4);
			s1 = _mm_add_epi16(s1, s3);
			s0 = _mm_add_epi16(s0, _mm_slli_epi16(s1, 2));
			s0 = _mm_add_epi16(s0, _mm_mullo_epi16(s2, c6));			// filtered.
			s0 = _mm_srli_epi16(s0, 8);				// /256
			s0 = _mm_packus_epi16(s0, s0);
			_mm_storel_epi64((__m128i*)(r1 + x), s0);
		}
		// do NN scaling and copy to dst
		for (x = 0; x <= dstWidth-4; x += 4){
			const unsigned short *xm = &Xmap[x];
			*pdst++ = r1[xm[0]] | (r1[xm[1]] << 8) |
				(r1[xm[2]] << 16) | (r1[xm[3]] << 24);
		}
		for (; x < dstWidth; x++)
			pDstImage[x] = r1[Xmap[x]];

		pDstImage += dstImageStrideInBytes;
	}
	return AGO_SUCCESS;
}

/*
Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved.

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


uestConfig.customServicePath

Defined in packages/core/dist/odata-common/request/odata-request-config.d.ts:9

Readonly default<wbr/>Headers<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg>

default<wbr/>Headers: Record<string, any>

Inherited from ODataBatchRequestConfig.defaultHeaders

Defined in packages/core/dist/odata-common/request/odata-request-config.d.ts:10

Readonly default<wbr/>Service<wbr/>Path<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg>

default<wbr/>Service<wbr/>Path: string

Inherited from ODataBatchRequestConfig.<a href="sap_cloud_sdk_core.ODataBatch


-- !Name "If level variable is..."
-- !Section "Variables"
-- !Description "Checks if specified level variable complies to specified compare function."
-- !Conditional "True"
-- !Arguments "NewLine, String, 50, [ NoMultiline ], Variable name"
-- !Arguments "CompareOperator, 25" "Numerical, 25, [ -65536 | 65535 | 2 ], Variable value"

LevelFuncs.Engine.Node.TestLevelVariable = function(varName, operator, value)
    if (LevelVars[varName] == nil) then
        return LevelFuncs.Engine.Node.CompareValue(0, value, operator)
    else
        return LevelFuncs.Engine.Node.CompareValue(LevelVars[varName], value, operator)
    end
end

-- !Name "Modify or create level variable"
-- !Section "Variables"
-- !Description "Modify level variable, according to specified operator and operand."
-- !Description "If level variable with specified name does not exist,\nit is initialized as 0 before performing modify operation."
-- !Arguments "NewLine, String, 50, [ NoMultiline ], Variable name"
-- !Arguments "Enumeration, 25, [ + | - | * | / | = ], Mathematical operation to perform"
-- !Arguments "Numerical, [ -65536 | 65535 | 2 ], Variable value"

LevelFuncs.Engine.Node.ModifyLevelVariable = function(varName, operator, operand)
    if (LevelVars[varName] == nil) then
        if (operator == 4) then
            LevelVars[varName] = operand
        else
            LevelVars[varName] = 0
        end
        print("Level variable " .. varName .. " did not exist and was initialized as " .. LevelVars[varName] .. ".")
    end

    LevelVars[varName] = LevelFuncs.Engine.Node.ModifyValue(operand, LevelVars[varName], operator)
end

-- !Name "Delete level variable"
-- !Section "Variables"
-- !Description "Delete level variable, if it exists."
-- !Arguments "NewLine, String, 100, [ NoMultiline ], Variable name"

LevelFuncs.Engine.Node.DeleteLevelVariable = function(varName)
    if (LevelVars[varName] ~= nil) then
        LevelVars[varName] = nil
    else
        print("Level variable " .. varName .. " did not exist and was not deleted.")


ennia).toBeLessThan(8000);
  }));

  it("has double checked the answer", inject(function(DeepThought) {
    expect(DeepThought.absolutelySureItIsTheRightAnswer).toBe(true);
  }));

});

 Improve this Doc

   View Source

$sanitize

    - $sanitizeProvider

      - service in module ngSanitize

Sanitizes an html string by stripping all potentially dangerous tokens.

  The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are
  then serialized back to properly escaped html string. This means that no unsafe input can make
  it into the returned string.

  The whitelist for URL sanitization of attribute values is configured using the functions
  aHrefSanitizationWhitelist and imgSrcSanitizationWhitelist of $compileProvider.

  The input may also contain SVG markup if this is enabled via $sanitizeProvider.

Usage

$sanitize(html);

Arguments

      Param
      Type
      Details

        html

        string

HTML input.

Returns

    string

Sanitized HTML.

Example

  <plnkr-opener example-path="examples/example-example111"></plnkr-opener>

    <div class="runnable-example-file"
      name="index


  /* height: 1px;
  background: black; */
}

/* .uk-list-divide {
  border: 0;
  height: 1px;
  background: black;
} */
/*
Licensed per https://github.com/privacy-tech-lab/gpc-optmeowt/blob/main/LICENSE.md
privacy-tech-lab, https://privacytechlab.org/
*/

.darkmode--activated {
  background-color: #252522 !important;
  color: #eee !important;
}

.darkmode--activated .bg-light {
  background-color: #333 !important;
}

.darkmode--activated .bg-white {
  background-color: #111 !important;
}

.darkmode--activated .bg-black {
  background-color: #eee !important;
}

.darkmode--activated .text-color-darker {
  color: #dddddd !important;
}

.darkmode--activated .text-color {
  color: #adadad !important;
}

.darkmode--activated .question {
  color: #dddddd !important;
}

.darkmode--activated .answer {
  color: #adadad !important;
}

.darkmode--activated .divide {
  color: #ffff00 !important;
}

.darkmode--activated .uk-list-divide {
  color: #ffff00 !important;
}

.darkmode--activated .blue-heading {
  color: #93caf2 !important;
}

.darkmode--activated a {
  text-decoration: underline;
  color: #fff !important;
}

.darkmode--activated .uk-modal-body,
.darkmode--activated .uk-modal-footer,
.darkmode--activated .uk-modal-header {
  background-color: #252522 !important;
}

/********************************************************/

/*
Radio buttons style settings page
*/
.darkmode--activated input[type="radio"] {
  width: 35px;
  height: 35px;
  transition: all ease 0.5s;
}

.darkmode--activated input[type="radio"]:checked {
  transition: all ease 0.25s;
  background-image: var(--accent-color);
  box-shadow: 0 6px 12px #222221;
}

.darkmode--activated input[type="radio"]:hover:not(:checked) {
  transition: all ease 0.25s;
  box-shadow: 0 6px 12px #222221;
  background-color: #cbcbcb;
  /* border-color: transparent; */
}

/*
Settings page
*/
.darkmode--activated .navbar-item.active {
  color: #3d87e9;
}

/*
'settings-view' domainlist import & export button style
*/
.darkmode--activated .importexport-button {
  background-color: #252522 !important;
  border-color: #cbcbcb !important;
  color: #cbcbcb !important;
  box-shadow: 0 8px 16px -1px #111111 !important;
}
.darkmode--activated .importexport-button:hover {
  background-color: #d4d4d4 !important;
  border-color: #d4d4d4 !important;
  color: #4e4e4d !important;
  box-shadow: 0 6px 12px #303030 !important;
}

.darkmode--activated .domainlist-navbar {
  background-color: #252522 !important;
  color: #cbcbcb !important;
}

.darkmode--activated .analysis-navbar {
  background-color: #252522 !important;
  color: #cbcbcb !important;
}

.darkmode--activated .sticky {
  box-shadow: 0 8px 8px -10px #111111 !important;
}

/*************************************************


Message 39
    WaitABXPadPress
    CloseMessage
    ReleaseAll
    End

_01BF:
    PlayFanfare SEQ_SE_CONFIRM
    LockAll
    FacePlayer
    Message 40
    WaitABXPadPress
    CloseMessage
    ReleaseAll
    End

_01D2:
    PlayFanfare SEQ_SE_CONFIRM
    LockAll
    FacePlayer
    Message 35
    WaitABXPadPress
    CloseMessage
    ReleaseAll
    End

_01E5:
    PlayFanfare SEQ_SE_CONFIRM
    LockAll
    FacePlayer
    WaitFanfare SEQ_SE_CONFIRM
    PlayCry SPECIES_CLEFAIRY
    Message 36
    WaitCry
    WaitABXPadPress
    CloseMessage
    ReleaseAll
    End

_0204:
    PlayFanfare SEQ_SE_CONFIRM
    LockAll
    GoToIfSet FLAG_UNK_0x0102, _0220
    Message 0
    WaitABXPadPress
    CloseMessage
    ReleaseAll
    End

_0220:
    FacePlayer
    Message 28
    CloseMessage
    GetPlayerDir VAR_RESULT
    GoToIfEq VAR_RESULT, 2, _025A
    GoToIfEq VAR_RESULT, 3, _027A
    GoToIfEq VAR_RESULT, 0, _0292
    GoTo _02B2
    End

_025A:
    SetVar VAR_0x8007, 2
    ApplyMovement 21, _0388
    ApplyMovement LOCALID_PLAYER, _02EC
    WaitMovement
    GoTo _02D2
    End

_027A:
    SetVar VAR_0x8007, 3
    ApplyMovement 21, _0398
    WaitMovement
    GoTo _02D2
    End

_0292:
    SetVar VAR_0x8007, 0
    ApplyMovement 21, _0398
    ApplyMovement LOCALID_PLAYER, _030C
    WaitMovement
    GoTo _02D2
    End

_02B2:
    SetVar VAR_0x8007, 1
    ApplyMovement 21, _0398
    ApplyMovement LOCALID_PLAYER, _0304
    WaitMovement
    GoTo _02D2
    End

_02D2:
    PlayFanfare SEQ_SE_DP_KAIDAN2
    RemoveObject 21
    SetFlag FLAG_UNK_0x0103
    ReleaseAll
    End

    .balign 4, 0
PastoriaCity_UnusedMovement:
    WalkOnSpotNormalWest
    EndMovement

    .balign 4, 0
_02EC:
    WalkOnSpotNormalSouth
    WalkOnSpotNormalEast
    EndMovement

PastoriaCity_UnusedMovement2:
    WalkOnSpotNormalNorth
    WalkOnSpotNormalEast
    EndMovement

    .balign 4, 0
_0304:
    WalkOnSpotNormalEast
    EndMovement

    .balign 4, 0
_030C:
    WalkOnSpotNormalEast
    EndMovement

PastoriaCity_UnusedMovement3:
    WalkOnSpotNormalSouth
    WalkOnSpotNormalEast
    EndMovement

PastoriaCity_UnusedMovement4:
    WalkOnSpotNormalSouth
    WalkOnSpotNormalEast
    EndMovement

PastoriaCity_UnusedMovement5:
    WalkOnSpotNormalNorth
    WalkOnSpotNormalEast
    EndMovement

PastoriaCity_UnusedMovement6:
    WalkOnSpotNormalSouth
    WalkOnSpotNormalEast
    EndMovement

PastoriaCity_UnusedMovement7:
    WalkFastEast 9
    EndMovement

PastoriaCity_UnusedMovement8:
    WalkFastEast 7
    EndMovement

PastoriaCity_UnusedMovement9:
    WalkFastSouth
    WalkFastEast 8
    EndMovement

PastoriaCity_UnusedMovement10:
    WalkFastNorth
    Walk


CaraBayar.requestFocus();
                }
            }
            @Override
            public void windowIconified(WindowEvent e) {}
            @Override
            public void windowDeiconified(WindowEvent e) {}
            @Override
            public void windowActivated(WindowEvent e) {penjab.emptTeks();}
            @Override
            public void windowDeactivated(WindowEvent e) {}
        });

        penjab.getTable().addKeyListener(new KeyListener() {
            @Override
            public void keyTyped(KeyEvent e) {}
            @Override
            public void keyPressed(KeyEvent e) {
                if(e.getKeyCode()==KeyEvent.VK_SPACE){
                    penjab.dispose();
                }
            }
            @Override
            public void keyReleased(KeyEvent e) {}
        });

        ChkInput.setSelected(false);
        isForm();

    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        TKd = new widget.TextBox();
        jPopupMenu1 = new javax.swing.JPopupMenu();
        MnBilling = new javax.swing.JMenuItem();
        MnSudahBayar = new javax.swing.JMenuItem();
        MnBelumBayar = new javax.swing.JMenuItem();
        MnSemuaStatusBayar = new javax.swing.JMenuItem();
        kdbangsal = new widget.TextBox();
        KdCaraBayar = new widget.TextBox();
        internalFrame1 = new widget.InternalFrame();
        Scroll = new widget.ScrollPane();
        tbBangsal = new widget.Table();
        panelGlass5 = new widget.panelisi();
        label11 = new widget.Label();
        Tgl1 = new widget.Tanggal();
        label18 = new widget.Label();
        Tgl2 = new widget.Tanggal();
        BtnCari1 = new widget.Button();
        BtnAll = new widget.Button();
        label10 = new widget.Label();
        LCount2 = new widget.Label();
        jLabel10 = new javax.swing.JLabel();
        LCount = new javax.swing.JLabel();
        BtnPrint = new widget.Button();
        BtnKeluar = new widget.Button();
        PanelInput = new javax.swing.JPanel();
        ChkInput = new widget.CekBox();
        FormInput = new widget.panelisi();
        label20 = new widget.Label();
        NmCaraBayar = new widget.TextBox();
        BtnCaraBayar = new widget.Button();
        label17 = new widget.Label();
        nmbangsal = new widget.TextBox();
        BtnSeek2 = new widget.Button();

        TKd.setForeground(new java.awt.Color(255, 255, 255));
        TKd.setName("TKd"); // NOI18N

        jPopupMenu1.setName("jPopupMenu1"); // NOI18N

        MnBilling.setBackground(new java.awt.Color(255, 255, 254));
        MnBilling.setFont(new java.awt.Font("Tahoma", 0, 11)); // NOI18N
        MnBilling.setForeground(new java.awt.Color(50, 50, 50));
        MnBilling.setIcon(new javax.swing.ImageIcon(getClass().getResource("/picture/category.png"))); // NOI18N
        MnBilling.setText("Billing/Pembayaran Pasien");
        MnBilling.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);


ulWidget {
  /// The steps of the stepper whose titles, subtitles, icons always get shown.
  ///
  /// 步骤条中元素的列表
  final List<BrunoStep> steps;

  /// 控制类
  final BrnStepsController? controller;

  /// 自定义正在进行状态的icon
  final Widget? doingIcon;

  /// 自定义已完成状态的icon
  final Widget? completedIcon;

  const BrnHorizontalSteps({
    Key? key,
    required this.steps,
    this.controller,
    this.doingIcon,
    this.completedIcon,
  })  : assert(steps.length < 6),
        super(key: key);

  @override
  State<StatefulWidget> createState() => BrnHorizontalStepsState();
}

class BrnHorizontalStepsState extends State<BrnHorizontalSteps> {
  Color get _primary {
    return BrnThemeConfigurator.instance.getConfig().commonConfig.brandPrimary;
  }

  int get _currentIndex {
    return widget.controller?.currentIndex ?? 0;
  }

  Color _getStepContentTextColor(int index) {
    return index > _currentIndex
        ? const Color(0xFFCCCCCC)
        : const Color(0xFF222222);
  }

  void _handleStepStateListenerTick() {
    setState(() {});
  }

  void _initController() {
    widget.controller?._setMaxCount(widget.steps.length);
    widget.controller?.addListener(_handleStepStateListenerTick);
  }

  @override
  void initState() {
    super.initState();
    _initController();
  }

  @override
  void dispose() {
    widget.controller?.removeListener(_handleStepStateListenerTick);
    super.dispose();
  }

  @override
  void didUpdateWidget(covariant BrnHorizontalSteps oldWidget) {
    super.didUpdateWidget(oldWidget);
    final bool isControllerDiff = oldWidget.controller != null &&
        widget.controller != oldWidget.controller;
    final bool isCountDiff = widget.steps.length != oldWidget.steps.length;
    if (isControllerDiff || isCountDiff) {
      oldWidget.controller?.removeListener(_handleStepStateListenerTick);
      _initController();
    }
  }

  @override
  Widget build(BuildContext context) {
    /// 单独一个widget组件，用于返回需要生成的内容widget
    Widget content;
    final List<Widget> childrenList = <Widget>[];
    final List<BrunoStep> steps = widget.steps;
    final int length = steps.length;
    for (int i = 0; i < length; i += 1) {
      childrenList.add(_applyStepItem(steps[i], i));
    }
    content = Container(
      height: 78,
      child: Row(
        mainAxisSize: MainAxisSize.max,
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: childrenList,
      ),
    );
    return content;
  }

  Widget _applyStepItem(BrunoStep step, int index) {
    return Expanded(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          _applyStepAndLine(step, index),
          _applyStepContent(step, index),
        ],
      ),
    );
  }

  Widget _applyStepAndLine(BrunoStep step, int index) {
    return Row(
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        index == 0
            ? Expanded(child:


ock(TOP)
	ShareNewOneTitle_PropertyTip:DockMargin(3,0,0,5)
	ShareNewOneTitle_PropertyTip:SetFont("ixItemDescFont")
	ShareNewOneTitle_PropertyTip:SetText( "Select a property" )
	ShareNewOneTitle_PropertyTip:SetContentAlignment(4)
	ShareNewOneTitle_PropertyTip:SizeToContents()

	local ShareNewOneTitle_PropertyChooser = vgui.Create( "DComboBox", ShareNewOne_PropertiesLeftColumn )
	ShareNewOneTitle_PropertyChooser:Dock(TOP)
	ShareNewOneTitle_PropertyChooser:DockMargin(0,0,0,5)
	ShareNewOneTitle_PropertyChooser:SetFont("ixItemDescFont")
	ShareNewOneTitle_PropertyChooser:SetValue( "" )
	ShareNewOneTitle_PropertyChooser.Paint = function(s,w,h)
		surface.SetDrawColor(40,40,40,150)
	    surface.DrawRect(0,0,w,h)
	end
	self.ShareNewOneTitle_PropertyChooser = ShareNewOneTitle_PropertyChooser

	local ShareNewOneTitle_PlayesTip = vgui.Create( "DLabel", ShareNewOne_PropertiesRightColumn )
	ShareNewOneTitle_PlayesTip:Dock(TOP)
	ShareNewOneTitle_PlayesTip:DockMargin(3,0,0,5)
	ShareNewOneTitle_PlayesTip:SetFont("ixItemDescFont")
	ShareNewOneTitle_PlayesTip:SetText( "Select a known character nearby" )
	ShareNewOneTitle_PlayesTip:SetContentAlignment(4)
	ShareNewOneTitle_PlayesTip:SizeToContents()

	local ShareNewOneTitle_PlayersChooser = vgui.Create( "DComboBox", ShareNewOne_PropertiesRightColumn )
	ShareNewOneTitle_PlayersChooser:Dock(TOP)
	ShareNewOneTitle_PlayersChooser:DockMargin(0,0,0,5)
	ShareNewOneTitle_PlayersChooser:SetFont("ixItemDescFont")
	ShareNewOneTitle_PlayersChooser:SetValue( "" )
	ShareNewOneTitle_PlayersChooser.Paint = function(s,w,h)
		surface.SetDrawColor(40,40,40,150)
	    surface.DrawRect(0,0,w,h)
	end
	self.ShareNewOneTitle_PlayersChooser = ShareNewOneTitle_PlayersChooser

	local CreateShareButton = vgui.Create( "ixMenuButton", ShareNewOneTitle_Properties )
	CreateShareButton:Dock(BOTTOM)
	CreateShareButton:DockMargin(2,0,2,5)
	CreateShareButton:SetFont("ixItemDescFont")
	CreateShareButton:SetText( "Create a new sharing" )
	CreateShareButton:SetContentAlignment(5)
	CreateShareButton:SizeToContents()
	CreateShareButton.DoClick = function(s)

		if (ShareNewOneTitle_PropertyChooser:GetValue() == "") then
			LocalPlayer():Notify("Please select a property")
			return
		end

		if (ShareNewOneTitle_PlayersChooser:GetValue() == "") then
			LocalPlayer():Notify("Please select a character")
			return
		end

		local _, PropertyID = ShareNewOneTitle_PropertyChooser:GetSelected()
		local _, clientEnt = ShareNewOneTitle_PlayersChooser:GetSelected()

		net.Start("KeySharing_CreateNewShare")
			net.WriteUInt(1, 2)
			net.WriteUInt(PropertyID,8)
			net.WriteEntity(clientEnt)
		net.SendToServer()

	end

	// ---------------------------------------------
	local ShareNewOneTitle_Vehicles = vgui.Create( "Pane


의 어려운 사회과제와 유사한 경향을 관찰한다. 표 2에서 볼 수 있듯이, 우리의 방법은 목표 완성 차원뿐만 아니라 전체 점수에서도 기본 모델에 비해 개선을 달성한다. 특히, 우리의 최고 모델(BC + SR)의 성능은 전문가 모델과 비슷하다. 전체 점수 내역은 부록 A를 참조하십시오.\n' +
      '\n' +
      '각주 3: \\(\\mathtt{SOTOPIA}\\)의 모든 사회 과제에 대한 인간 평가는 높은 비용으로 인해 수행되지 않는다.\n' +
      '\n' +
      '**RQ1**와 **RQ2**에 대한 응답은 상호작용 학습(행동 복제 및 자기 강화)을 통해 \\(\\mathtt{SOTOPIA}\\)-\\(\\pi\\)에서 언어 에이전트의 사회적 목표 완성 능력을 향상시킴을 보여준다. 실험 결과로부터 GPT-4 기반 평가의 한계점도 찾을 수 있었다. 이 문서의 후속 섹션에서는 이 훈련 방법이 LLM의 능력의 다른 측면에 어떻게 영향을 미치는지 논의할 것이다.\n' +
      '\n' +
      '##6 \\(\\mathtt{SOTOPIA}\\)-\\(\\pi\\)는 LLMs의 다른 능력에 어떻게 영향을 미치는가?\n' +
      '\n' +
      'LLM이 인간 대화를 모방하는 데 더 능숙해짐에 따라, 의도하지 않게 편향되거나 불쾌한 콘텐츠 헨드릭 및 마지카(2022)와 같은 유해한 결과를 생성하거나(2022), 조작 또는 권력 추구 행동 Si 등(2022)과 같이 본질적으로 인간 의도에 정렬되지 않은 행동을 표시할 수 있다. 이러한 오정렬은 안전 위험 및 실존적 위협 헨드릭 등(2023)과 같은 심각한 위험을 초래한다. 따라서 LLM의 안전 수준을 이해하고 평가하는 것은 잠재적인 유해한 결과를 예방하는 데 필수적이다.\n' +
      '\n' +
      '\\(\\mathtt{SOTOPIA}\\)-\\(\\math


fined WHEN write in a buffer THEN get expected buffer`() {
    val expectedBuffer = byteArrayOf(0x06)
    val output = ByteArrayOutputStream()

    val amfUndefined = AmfUndefined()
    amfUndefined.writeHeader(output)
    amfUndefined.writeBody(output)

    assertArrayEquals(expectedBuffer, output.toByteArray())
  }
}/*
 * Copyright (C) 2024 pedroSG94.
 *
 * 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.
 */

package com.pedro.rtmp.amf

import com.pedro.rtmp.amf.v0.AmfData
import com.pedro.rtmp.amf.v0.AmfNumber
import com.pedro.rtmp.amf.v0.AmfStrictArray
import com.pedro.rtmp.amf.v0.AmfString
import org.junit.Assert.assertArrayEquals
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream

/**
 * Created by pedro on 10/9/23.
 */
class AmfStrictArrayTest {

  @Test
  fun `GIVEN a buffer WHEN read buffer THEN get expected amf strict array`() {
    val buffer = byteArrayOf(10, 0, 0, 0, 2, 2, 0, 6, 114, 97, 110, 100, 111, 109, 0, 64, 52, 0, 0, 0, 0, 0, 0)
    val list = mutableListOf<AmfData>()
    list.add(AmfString("random"))
    list.add(AmfNumber(20.0))

    val input = ByteArrayInputStream(buffer)
    val amfStrictArray = AmfData.getAmfData(input)

    assertTrue(amfStrictArray is AmfStrictArray)

    val strictArray = amfStrictArray as AmfStrictArray
    list.forEachIndexed { index, amfData ->
      val value = strictArray.items[index]
      if (value is AmfString && amfData is AmfString) {
        assertEquals(amfData.value, value.value)
      } else if (value is AmfNumber && amfData is AmfNumber) {
        assertEquals(amfData.value, value.value, 0.0)
      } else {
        assertTrue(false)
      }
    }
  }

  @Test
  fun `GIVEN a amf strict array WHEN write in a buffer THEN get expected buffer`() {
    val expectedBuffer = byteArrayOf(10, 0, 0, 0, 2, 2, 0, 6, 114, 97, 110, 100, 111, 109, 0, 64, 52, 0, 0, 0, 0, 0, 0)
    val output = ByteArrayOutputStream()

    val list = mutableListOf<AmfData>()
    list.add(AmfString("random"))
    list.add(AmfNumber(20.0))
    val amfStrictArray = AmfStrictArray(list)
    amfStrictArray.writeHeader(output)
    amfStrictArray.writeBody(output)

    assertArrayEquals(expectedBuffer, output.toByteArray())
  }
}/*
 * Copyright (C) 2024 pedroSG94.
 *
 * 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


//
//  LineSDKWrapper.h
//
//  Copyright (c) 2019-present, LY Corporation. All rights reserved.
//
//  You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
//  copy and distribute this software in source code or binary form for use
//  in connection with the web services and APIs provided by LY Corporation.
//
//  As with any software that integrates with the LY Corporation platform, your use of this software
//  is subject to the LINE Developers Agreement [http://terms2.line.me/LINE_Developers_Agreement].
//  This copyright 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.
//

#import <Foundation/Foundation.h>

@interface LineSDKWrapper : NSObject

+ (instancetype)sharedInstance;

- (void)setupChannelID:(NSString *)channelID universalLink:(NSString *)universalLink;

- (void)loginWithIdentifier:(NSString *)identifier
                     scopes:(NSString *)scopes
               onlyWebLogin:(BOOL)onlyWebLogin
                  botPrompt:(NSString *)botPrompt;
- (void)loginWithIdentifier:(NSString *)identifier
                     scopes:(NSString *)scopes
               onlyWebLogin:(BOOL)onlyWebLogin
                  botPrompt:(NSString *)botPrompt
               IDTokenNonce:(NSString *)nonce;
- (void)logoutWithIdentifier:(NSString *)identifier;
- (void)refreshAccessTokenWithIdentifier:(NSString *)identifier;
- (void)revokeAccessTokenWithIdentifier:(NSString *)identifier;
- (void)verifyAccessTokenWithIdentifier:(NSString *)identifier;
- (void)getProfileWithIdentifier:(NSString *)identifier;
- (void)getBotFriendshipStatusWithIdentifier:(NSString *)identifier;
- (NSString *)currentAccessToken;
@end


80AE91B8 55800028 */  bnel    $t4, $zero, .L80AE925C
/* 00D7C 80AE91BC 8FBF0024 */  lw      $ra, 0x0024($sp)
/* 00D80 80AE91C0 80ED0A78 */  lb      $t5, 0x0A78($a3)           ## 00000A78
/* 00D84 80AE91C4 55A00025 */  bnel    $t5, $zero, .L80AE925C
/* 00D88 80AE91C8 8FBF0024 */  lw      $ra, 0x0024($sp)
/* 00D8C 80AE91CC 8CEE0680 */  lw      $t6, 0x0680($a3)           ## 00000680
/* 00D90 80AE91D0 31CF0080 */  andi    $t7, $t6, 0x0080           ## $t7 = 00000000
/* 00D94 80AE91D4 55E00021 */  bnel    $t7, $zero, .L80AE925C
/* 00D98 80AE91D8 8FBF0024 */  lw      $ra, 0x0024($sp)
/* 00D9C 80AE91DC 92020162 */  lbu     $v0, 0x0162($s0)           ## 00000162
/* 00DA0 80AE91E0 3C0480AF */  lui     $a0, %hi(D_80AEA7EC)       ## $a0 = 80AF0000
/* 00DA4 80AE91E4 2484A7EC */  addiu   $a0, $a0, %lo(D_80AEA7EC)  ## $a0 = 80AEA7EC
/* 00DA8 80AE91E8 30580002 */  andi    $t8, $v0, 0x0002           ## $t8 = 00000000
/* 00DAC 80AE91EC 17000005 */  bne     $t8, $zero, .L80AE9204
/* 00DB0 80AE91F0 3049FFFD */  andi    $t1, $v0, 0xFFFD           ## $t1 = 00000000
/* 00DB4 80AE91F4 921901AE */  lbu     $t9, 0x01AE($s0)           ## 000001AE
/* 00DB8 80AE91F8 33280002 */  andi    $t0, $t9, 0x0002           ## $t0 = 00000000
/* 00DBC 80AE91FC 51000017 */  beql    $t0, $zero, .L80AE925C
/* 00DC0 80AE9200 8FBF0024 */  lw      $ra, 0x0024($sp)
.L80AE9204:
/* 00DC4 80AE9204 920A01AE */  lbu     $t2, 0x01AE($s0)           ## 000001AE
/* 00DC8 80AE9208 A2090162 */  sb      $t1, 0x0162($s0)           ## 00000162
/* 00DCC 80AE920C 860501E8 */  lh      $a1, 0x01E8($s0)           ## 000001E8
/* 00DD0 80AE9210 314BFFFD */  andi    $t3, $t2, 0xFFFD           ## $t3 = 00000000
/* 00DD4 80AE9214 A20B01AE */  sb      $t3, 0x01AE($s0)           ## 000001AE
/* 00DD8 80AE9218 0C00084C */  jal     osSyncPrintf

/* 00DDC 80AE921C AFA70038 */  sw      $a3, 0x0038($sp)
/* 00DE0 80AE9220 8FA4004C */  lw      $a0, 0x004C($sp)
/* 00DE4 80AE9224 3C190001 */  lui     $t9, 0x0001                ## $t9 = 00010000
/* 00DE8 80AE9228 8FA50038 */  lw      $a1, 0x0038($sp)
/* 00DEC 80AE922C 0324C821 */  addu    $t9, $t9, $a0
/* 00DF


83c\uddfb\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"\ud83c\uddfc\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"\ud83c\uddfe\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"\ud83c\uddff\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"\ud83c\uddff\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"\ud83c\uddfa\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"\ud83c\udff4\u200d\u2620\ufe0f",fitzpatrick_scale:!1,category:"flags"}});tinymce.IconManager.add('default', {
  icons: {
    'accessibility-check': '<svg width="24" height="24"><path d="M12 2a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2c0-1.1.9-2 2-2zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 01-1-1v-5c0-.6-.4-1-1-1a1 1 0 00-1 1v5c0 .6-.4 1-1 1a1 1 0 01-1-1V9H4a1 1 0 110-2h16c.6 0 1 .4 1 1s-.4 1-1 1z" fill-rule="nonzero"/></svg>',
    'action-next': '<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 00-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 10-1.4-1.4L12 13.6 5.7 7.3z"/></svg>',
    'action-prev': '<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 001.4-1.4L12 6.6l-7.7 7.7a1 1 0 001.4 1.4L12 9.4l6.3 6.3z"/></svg>',
    'align-center': '<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 110-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',
    'align-justify': '<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',
    'align-left': '<svg width="24


_ZGVZ3usePiS_E3Foo(%rip), %rdi
	callq	__cxa_guard_acquire@PLT
.Ltmp15:
	#DEBUG_VALUE: main:argv <- [DW_OP_LLVM_entry_value 1] $rsi
	testl	%eax, %eax
	je	.LBB1_3
.Ltmp16:
# %bb.2:                                # %init.i
	#DEBUG_VALUE: main:argc <- [DW_OP_LLVM_entry_value 1] $edi
	#DEBUG_VALUE: main:argv <- [DW_OP_LLVM_entry_value 1] $rsi
	.loc	0 2 24 is_stmt 0                # main.cpp:2:24
	movl	x(%rip), %eax
	.loc	0 2 22                          # main.cpp:2:22
	addl	y(%rip), %eax
	.loc	0 2 2                           # main.cpp:2:2
	movl	%eax, _ZZ3usePiS_E3Foo(%rip)
	leaq	_ZGVZ3usePiS_E3Foo(%rip), %rdi
	callq	__cxa_guard_release@PLT
.Ltmp17:
.LBB1_3:
	#DEBUG_VALUE: main:argc <- [DW_OP_LLVM_entry_value 1] $edi
	#DEBUG_VALUE: main:argv <- [DW_OP_LLVM_entry_value 1] $rsi
	.loc	0 0 2                           # main.cpp:0:2
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	.LBB1_4
.Lfunc_end1:
	.size	main, .Lfunc_end1-main
	.cfi_endproc
                                        # -- End function
	.type	_ZZ3usePiS_E3Foo,@object        # @_ZZ3usePiS_E3Foo
	.local	_ZZ3usePiS_E3Foo
	.comm	_ZZ3usePiS_E3Foo,4,4
	.type	_ZGVZ3usePiS_E3Foo,@object      # @_ZGVZ3usePiS_E3Foo
	.local	_ZGVZ3usePiS_E3Foo
	.comm	_ZGVZ3usePiS_E3Foo,8,8
	.type	x,@object                       # @x
	.bss
	.globl	x
	.p2align	2, 0x0
x:
	.long	0                               # 0x0
	.size	x, 4

	.type	y,@object                       # @y
	.data
	.globl	y
	.p2align	2, 0x0
y:
	.long	1                               # 0x1
	.size	y, 4

	.section	.debug_loclists.dwo,"e",@progbits
	.long	.Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length
.Ldebug_list_header_start0:
	.short	5                               # Version
	.byte	8                               # Address size
	.byte	0                               # Segment selector size
	.long	4                               # Offset entry count
.Lloclists_table_base0:
	.long	.Ldebug_loc0-.Lloclists_table_base0
	.long	.Ldebug_loc1-.Lloclists_table_base0
	.long	.Ldebug_loc2-.Lloclists_table_base0
	.long	.Ldebug_loc3-.Lloclists_table_base0
.Ldebug_loc0:
	.byte	1                               # DW_LLE_base_addressx
	.byte	3                               #   base address index
	.byte	4                               # DW_LLE_offset_pair
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    #   starting offset
	.uleb128 .Ltmp1-.Lfunc_begin0           #   ending offset
	.byte	1                               # Loc expr size
	.byte	85                              # DW_OP_reg5
	.byte	4                               # DW_LLE_offset_pair
	.uleb128 .Ltmp1-.Lfunc_begin0           #   starting offset
	.uleb128 .Ltmp3-.Lfunc_begin0           #   ending offset
	.byte	1                               # Loc expr size
	.byte	94                              # DW_OP_reg14
	.byte	4                               # DW_LLE_offset_pair
	.uleb128


279464f, 16.56066f, 10.56066f);
        mPath.cubicTo(16.279463f, 10.841857f, 15.897672f, 11.0f, 15.5f, 11.0f);
        mPath.cubicTo(15.102328f, 11.0f, 14.720536f, 10.841857f, 14.43934f, 10.56066f);
        mPath.cubicTo(14.158143f, 10.279464f, 14.0f, 9.897672f, 14.0f, 9.5f);

        mRenderPath.addPath(mPath, mFinalPathMatrix);
        if (mFillPaint == null) {
            mFillPaint = new Paint();
            mFillPaint.setStyle(Paint.Style.FILL);
            mFillPaint.setAntiAlias(true);
        }
        mFillPaint.setColor(applyAlpha(-16777216, 1.0f));
        mFillPaint.setColorFilter(filter);
        canvas.drawPath(mRenderPath, mFillPaint);
        mPath.reset();
        mRenderPath.reset();

        mFinalPathMatrix.setValues(new float[]{1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f});
        mFinalPathMatrix.postScale(scaleX, scaleY);

        mPath.moveTo(8.5f, 9.5f);
        mPath.rMoveTo(-1.5f, 0.0f);
        mPath.cubicTo(7.0f, 9.102328f, 7.158143f, 8.720536f, 7.4393396f, 8.43934f);
        mPath.cubicTo(7.7205367f, 8.158143f, 8.102328f, 8.0f, 8.5f, 8.0f);
        mPath.cubicTo(8.897672f, 8.0f, 9.279464f, 8.158143f, 9.56066f, 8.43934f);
        mPath.cubicTo(9.841857f, 8.720536f, 10.0f, 9.102328f, 10.0f, 9.5f);
        mPath.cubicTo(10.0f, 9.897672f, 9.841857f, 10.279464f, 9.56066f, 10.56066f);
        mPath.cubicTo(9.279464f, 10.841857f, 8.897672f, 11.0f, 8.5f, 11.0f);
        mPath.cubicTo(8.102328f, 11.0f, 7.7205367f, 10.841857f, 7.4393396f, 10.56066f);
        mPath.cubicTo(7.158143f, 10.279464f, 7.0f, 9.897672f, 7.0f, 9.5f);

        mRenderPath.addPath(mPath, mFinalPathMatrix);
        mFillPaint.setColor(applyAlpha(-16777216, 1.0f));
        mFillPaint.setColorFilter(filter);
        canvas.drawPath(mRenderPath, mFillPaint);
        mPath.reset();
        mRenderPath.reset();

        mFinalPathMatrix.setValues(new float[]{1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f});
        mFinalPathMatrix.postScale(scaleX, scaleY);

        mPath.moveTo(11.99f, 2.0f);
        mPath.cubicTo(6.47f, 2.0f, 2.0f, 6.48f, 2.0f, 12.0f);
        mPath.rCubicTo(0.0f, 5.52f, 4.47f, 10.0f


      "blacksquare;", "\u25aa",
      "blacktriangle;", "\u25b4",
      "blacktriangledown;", "\u25be",
      "blacktriangleleft;", "\u25c2",
      "blacktriangleright;", "\u25b8",
      "blank;", "\u2423",
      "blk12;", "\u2592",
      "blk14;", "\u2591",
      "blk34;", "\u2593",
      "block;", "\u2588",
      "bne;", "\u003d\u20e5",
      "bnequiv;", "\u2261\u20e5",
      "bnot;", "\u2310",
      "bopf;", "\ud835\udd53",
      "bot;", "\u22a5",
      "bottom;", "\u22a5",
      "bowtie;", "\u22c8",
      "boxDL;", "\u2557",
      "boxDR;", "\u2554",
      "boxDl;", "\u2556",
      "boxDr;", "\u2553",
      "boxH;", "\u2550",
      "boxHD;", "\u2566",
      "boxHU;", "\u2569",
      "boxHd;", "\u2564",
      "boxHu;", "\u2567",
      "boxUL;", "\u255d",
      "boxUR;", "\u255a",
      "boxUl;", "\u255c",
      "boxUr;", "\u2559",
      "boxV;", "\u2551",
      "boxVH;", "\u256c",
      "boxVL;", "\u2563",
      "boxVR;", "\u2560",
      "boxVh;", "\u256b",
      "boxVl;", "\u2562",
      "boxVr;", "\u255f",
      "boxbox;", "\u29c9",
      "boxdL;", "\u2555",
      "boxdR;", "\u2552",
      "boxdl;", "\u2510",
      "boxdr;", "\u250c",
      "boxh;", "\u2500",
      "boxhD;", "\u2565",
      "boxhU;", "\u2568",
      "boxhd;", "\u252c",
      "boxhu;", "\u2534",
      "boxminus;", "\u229f",
      "boxplus;", "\u229e",
      "boxtimes;", "\u22a0",
      "boxuL;", "\u255b",
      "boxuR;", "\u2558",
      "boxul;", "\u2518",
      "boxur;", "\u2514",
      "boxv;", "\u2502",
      "boxvH;", "\u256a",
      "boxvL;", "\u2561",
      "boxvR;", "\u255e",
      "boxvh;", "\u253c",
      "boxvl;", "\u2524",
      "boxvr;", "\u251c",
      "bprime;", "\u2035",
      "breve;", "\u02d8",
      "brvbar", "\u00a6",
      "brvbar;", "\u00a6",
      "bscr;", "\ud835\udcb7",
      "bsemi;", "\u204f",
      "bsim;", "\u223d",
      "bsime;", "\u22cd",
      "bsol;", "\\",
      "bsolb;", "\u29c5",
      "bsolhsub;", "\u27c8",
      "bull;", "\u2022",
      "bullet;", "\u2022",
      "bump;", "\u224e",
      "bumpE;", "\u2aae",
      "bumpe;", "\u224f",
      "bumpeq;", "\u224f",
      "cacute;", "\u0107",


_KEEP_INFO_MODE_PRODUCTION
    "Defense", -- SI_MAP_KEEP_INFO_MODE_DEFENSE
    "Passable", -- SI_MAP_KEEP_PASSABLE_STATUS_CAN_PASS
    "Destroyed", -- SI_MAP_KEEP_PASSABLE_STATUS_CANNOT_PASS
    "Center Gate Destroyed", -- SI_MAP_KEEP_MILEGATE_UNIDIRECTIONALLY_PASSABLE
    "Forward Camp Respawn in", -- SI_MAP_FORWARD_CAMP_RESPAWN_COOLDOWN
    "<<t:1>>", -- SI_WINDOW_TITLE_WORLD_MAP
    "<<t:1>> (<<acc:2>>)", -- SI_WINDOW_TITLE_WORLD_MAP_WITH_DUNGEON_DIFFICULTY
    "<<t:1>> (<<acc:2>>)", -- SI_WINDOW_TITLE_WORLD_MAP_WITH_CAMPAIGN_NAME
    "World Map: Unknown Zone", -- SI_WINDOW_TITLE_WORLD_MAP_NO_ZONE
    "Pop-out Map Options", -- SI_WORLD_MAP_SMALL_OPTIONS_TITLE
    "Configure map", -- SI_WORLD_MAP_OPTIONS_TOOLTIP
    "Force map to be square", -- SI_WORLD_MAP_OPTION_SQUARE
    "Transparency:", -- SI_WORLD_MAP_OPTION_TRANSPARENCY
    "Show quest list", -- SI_WORLD_MAP_OPTION_SHOW_QUESTS
    "Forward Camp Areas", -- SI_WORLD_MAP_OPTION_FILTER_GRAVEYARD_AREAS
    "Player vs. Player Pins:", -- SI_WORLD_MAP_OPTION_FILTER_PVP_SECTION
    "Set Focused: <<1>>", -- SI_WORLD_MAP_ACTION_SELECT_QUEST
    "Remove Rally Point", -- SI_WORLD_MAP_ACTION_REMOVE_RALLY_POINT
    "Set Destination", -- SI_WORLD_MAP_ACTION_SET_PLAYER_WAYPOINT
    "Remove Destination", -- SI_WORLD_MAP_ACTION_REMOVE_PLAYER_WAYPOINT
    "Travel to Keep", -- SI_WORLD_MAP_ACTION_TRAVEL_TO_KEEP
    "You can no longer travel to that keep.", -- SI_WORLD_MAP_ACTION_TRAVEL_TO_KEEP_FAILED
    "Respawn at Keep", -- SI_WORLD_MAP_ACTION_RESPAWN_AT_KEEP
    "You can no longer respawn at that keep.", -- SI_WORLD_MAP_ACTION_RESPAWN_AT_KEEP_FAILED
    "Show Information", -- SI_WORLD_MAP_ACTION_SHOW_INFORMATION
    "Hide Information", -- SI_WORLD_MAP_ACTION_HIDE_INFORMATION
    "Recall to <<1>>", -- SI_WORLD_MAP_ACTION_RECALL_TO_WAYSHRINE
    "Travel to <<1>>", -- SI_WORLD_MAP_ACTION_TRAVEL_TO_WAYSHRINE
    "Preview <<1>>", -- SI_WORLD_MAP_ACTION_PREVIEW_HOUSE
    "Travel to <<1>> (inside)", -- SI_WORLD_MAP_ACTION_TRAVEL_TO_HOUSE_INSIDE
    "Travel to <<1>> (outside)", -- SI_WORLD_MAP_ACTION_TRAVEL_TO_HOUSE_OUTSIDE
    "Respawn at Forward Camp", -- SI_WORLD_MAP_ACTION_RESPAWN_AT_FORWARD_CAMP
    "Open Crown Store", -- SI_WORLD_MAP_ACTION_GO_TO_CROWN_STORE
    "Upgrade", -- SI_WORLD_MAP_ACTION_UPGRADE_CHAPTER
    "Failed", -- SI_WORLD_MAP_CHOICE_DIALOG_FAILED_TITLE
    "<<1>>", -- SI_WORLD_MAP_CHOICE_DIALOG_FAILED_FORMATTER
    "Set Focused: <<1>>", -- SI_WORLD_MAP_ACTION_TRACK_ANTIQUITY
    "Travel to <<1>> (inside)?", -- SI_TRAVEL_TO_HOUSE_INSIDE_DIALOG_MAIN_TEXT
    "Travel to <<1>> (outsid


BatchGetPolicyInputItem> Request { get; set; }
            public System.Func<Amazon.VerifiedPermissions.Model.BatchGetPolicyResponse, GetAVPBatchGetPolicyCmdlet, object> Select { get; set; } =
                (response, cmdlet) => response;
        }

    }
}


0%%0/Cursed|-1%%-1/Cursed|-2%%-2/Cursed|-3%%-3/Cursed|-4%%-4/Cursed'; break;
				case 'swordType': q = 'swordType=What type of sword?|Longsword%%M/S/5/1d8/1d12/M/S/5/1d8/1d12|Broadsword%%M/S/5/2d4/1+1d6/M/S/5/2d4/1+1d6|Bastard-Sword%%M/S/6/1d8/1d12/M/S/8/2d4/2d8|Khopesh%%M/S/9/2d4/1d6/M/S/9/2d4/1d6|Shortsword%%S/P/3/1d6/1d8/S/P/3/1d6/1d8|Scimitar%%M/S/5/1d8/1d8/M/S/5/1d8/1d8|Two-Handed-Sword%%L/S/10/0/0/L/S/10/1d10/3d6]'; break;
				default: break;
			}
			return q;
		}).join('$$');
		let queries = (query || '').replace(/\)/g,'\\rpar;').replace(/\|(.+?)%%/g,'|$1,$1/').replace(/=/g,'=?{').replace(/\$\$/g,'}|');
		if (queries.length) queries += '}';
		return queries;
	};

// ---------------------------------------------------- Make Menus ---------------------------------------------------------

	/**
	 * Ask the player how many of a particular MI to pick up
	 * args[] is the standard action|charID|fromID|toID|fromRow|toRow
	 **/

	var howMany = function( args, MIname, MItype, MIqty, senderId ) {

		var tokenID = args[1],
			fromID = args[2],
			toID = args[3],
			fromRow = args[4],
			toRow = args[5],
			charCS = getCharacter( tokenID ),
			content = '&{template:'+fields.defaultTemplate+'}{{name=How Many Items?}}'
					+ '{{desc=How many '+MIname+' do you want to '+(tokenID == toID ? 'take' : 'put away')+'?}}'
					+ '{{desc1=[One](!magic --button POPqty|'+tokenID+'|'+fromID+'|'+toID+'|'+fromRow+'|'+toRow+'|1) or '
					+ '[All '+MIqty+'](!magic --button POPqty|'+tokenID+'|'+fromID+'|'+toID+'|'+fromRow+'|'+toRow+'|'+MIqty+') or '
					+ '[Specify](!magic --button POPqty|'+tokenID+'|'+fromID+'|'+toID+'|'+fromRow+'|'+toRow+'|?{How many '+MIname+'? max '+MIqty+'}) }}';

		sendResponse( charCS, content, senderId, flags.feedbackName, flags.feedbackImg, tokenID );
	}

	/*
	 * Create a list of Magic Items in an MI bag, able
	 * to be used to select one from.  A flag determines
	 * whether empty slots '-' are included
	 */

	var makeMIlist = function( charCS, senderId, includeEmpty=true, include0=true, showTypes=false, showMagic=true ) {

		return new Promise(resolve => {

			try {

				var mi, miText, qty, rows, maxSize, specs, carried,
					i = fields.Items_table[1],
					miList = '',
					slotsUsed = 0,
					Items = getTableField( charCS, {}, fields.Items_table, fields.Items_name );

				Items = getTableField( charCS, Items, fields.Items_table, fields.Items_qty );
				Items = getTableField( charCS, Items, fields.Items_table, fields.Items_carried );
				rows = i+((Items && Items.sortKeys) ? Items.sortKeys.length : 0);
				maxSize = attrLookup( charCS, fields.ItemContainerSize ) || fields.MIRows;

				while (i < rows) {
					if (i<0) {
						miText = mi =


lip-left'] {
  transform: perspective(2500px) rotateY(-100deg);
  &.aos-animate {transform: perspective(2500px) rotateY(0);}
}

[data-aos='flip-right'] {
  transform: perspective(2500px) rotateY(100deg);
  &.aos-animate {transform: perspective(2500px) rotateY(0);}
}

[data-aos='flip-up'] {
  transform: perspective(2500px) rotateX(-100deg);
  &.aos-animate {transform: perspective(2500px) rotateX(0);}
}

[data-aos='flip-down'] {
  transform: perspective(2500px) rotateX(100deg);
  &.aos-animate {transform: perspective(2500px) rotateX(0);}
}
// Default Variables
$simple-line-font-path: "../fonts/simple-line-icon/" !default;
$simple-line-font-family: "simple-line-icons" !default;
$simple-line-icon-prefix: "icon-" !default;

// Fonts
@if $simple-line-font-family == "simple-line-icons" {
  @font-face {
    font-family: '#{$simple-line-font-family}';
    src:    url('#{$simple-line-font-path}Simple-Line-Icons.eot?v=2.4.0');
    src:    url('#{$simple-line-font-path}Simple-Line-Icons.eot?v=2.4.0#iefix') format('embedded-opentype'),
    url('#{$simple-line-font-path}Simple-Line-Icons.woff2?v=2.4.0') format('woff2'),
    url('#{$simple-line-font-path}Simple-Line-Icons.ttf?v=2.4.0') format('truetype'),
    url('#{$simple-line-font-path}Simple-Line-Icons.woff?v=2.4.0') format('woff'),
    url('#{$simple-line-font-path}Simple-Line-Icons.svg?v=2.4.0#simple-line-icons') format('svg');
    font-weight: normal;
    font-style: normal;
  }
}

.#{$simple-line-icon-prefix} {
  &user,
  &people,
  &user-female,
  &user-follow,
  &user-following,
  &user-unfollow,
  &login,
  &logout,
  &emotsmile,
  &phone,
  &call-end,
  &call-in,
  &call-out,
  &map,
  &location-pin,
  &direction,
  &directions,
  &compass,
  &layers,
  &menu,
  &list,
  &options-vertical,
  &options,
  &arrow-down,
  &arrow-left,
  &arrow-right,
  &arrow-up,
  &arrow-up-circle,
  &arrow-left-circle,
  &arrow-right-circle,
  &arrow-down-circle,
  &check,
  &clock,
  &plus,
  &minus,
  &close,
  &event,
  &exclamation,
  &organization,
  &trophy,
  &screen-smartphone,
  &screen-desktop,
  &plane,
  &notebook,
  &mustache,
  &mouse,
  &magnet,
  &energy,
  &disc,
  &cursor,
  &cursor-move,
  &crop,
  &chemistry,
  &speedometer,
  &shield,
  &screen-tablet,
  &magic-wand,
  &hourglass,
  &graduation,
  &ghost,
  &game-controller,
  &fire,
  &eyeglass,
  &envelope-open,
  &envelope-letter,
  &bell,
  &badge,
  &anchor,
  &wallet,
  &vector


   vec2 i = floor(st);
    vec2 f = fract(st);
    vec2 u = f*f*(3.0-2.0*f);
    return mix( mix( dot( random2(i + vec2(0.0,0.0) ), f - vec2(0.0,0.0) ),
                     dot( random2(i + vec2(1.0,0.0) ), f - vec2(1.0,0.0) ), u.x),
                mix( dot( random2(i + vec2(0.0,1.0) ), f - vec2(0.0,1.0) ),
                     dot( random2(i + vec2(1.0,1.0) ), f - vec2(1.0,1.0) ), u.x), u.y);
}

float fractal_brownian_motion(vec2 coord) {
	float value = 0.0;
	float scale = 0.2;
	for (int i = 0; i < 4; i++) {
		value += noise(coord) * scale;
		coord *= 2.0;
		scale *= 0.5;
	}
	return value + 0.2;
}

float4 main(in vec2 fragCoord)
{
    vec2 st = fragCoord.xy / ${Shader.RESOLUTION}.xy;
	st *= ${Shader.RESOLUTION}.xy  / ${Shader.RESOLUTION}.y;
    vec2 pos = vec2(st * zoom);
	vec2 motion = vec2(fractal_brownian_motion(pos + vec2($TIME * -0.5, $TIME * -0.3)));
	float final = fractal_brownian_motion(pos + motion) * intensity;
    return vec4(mix(backgroundColor, vec3($BRIGHTNESS, $BRIGHTNESS, $BRIGHTNESS), final), 1.0);
}
"""
    }
}/*
 * This file is part of Kubriko.
 * Copyright (c) Pandula Péter 2025.
 * https://github.com/pandulapeter/kubriko
 *
 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
 * If a copy of the MPL was not distributed with this file, You can obtain one at
 * https://mozilla.org/MPL/2.0/.
 */
package com.pandulapeter.kubriko.gameAnnoyedPenguins.implementation.actors.base

import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.unit.IntSize
import com.pandulapeter.kubriko.Kubriko
import com.pandulapeter.kubriko.actor.body.BoxBody
import com.pandulapeter.kubriko.actor.traits.Dynamic
import com.pandulapeter.kubriko.actor.traits.Visible
import com.pandulapeter.kubriko.helpers.extensions.get
import com.pandulapeter.kubriko.helpers.extensions.sceneUnit
import com.pandulapeter.kubriko.sprites.AnimatedSprite
import com.pandulapeter.kubriko.sprites.SpriteManager
import com.pandulapeter.kubriko.types.SceneOffset
import com.pandulapeter.kubriko.types.SceneSize
import kubriko.examples.game_annoyed_penguins.generated.resources.Res
import kubriko.examples.game_annoyed_penguins.generated.resources.sprite_penguin
import kotlin.math.roundToInt
import kotlin.random.Random

internal abstract class BlinkingPenguin(
    initialPosition: SceneOffset,
) : Visible, Dynamic {

    override val body = BoxBody(
        initialPosition = initialPosition,
        initialSize = SceneSize(256.sceneUnit, 256.sceneUnit),
    )
    private lateinit var spriteManager: SpriteManager
    private val animatedSprite = AnimatedSprite(
        getImageBitmap = { spriteManager.get(Res.drawable.sprite_penguin) },
        frameSize = IntSize(248, 256),
        frameCount = 2,
        framesPerRow = 2,
        framesPerSecond = 1f,
    )

    override fun onAdded(kubriko: Kubriko)


; build with:
;   nasm elf_dll_x64_template.s -f bin -o template_x64_linux_dll.bin

BITS 64
org     0
ehdr:
  db    0x7f, "ELF", 2, 1, 1, 0    ; e_ident
  db    0, 0, 0, 0,  0, 0, 0, 0
  dw    3                          ; e_type    = ET_DYN
  dw    62                         ; e_machine = EM_X86_64
  dd    1                          ; e_version = EV_CURRENT
  dq    _start                     ; e_entry   = _start
  dq    phdr - $$                  ; e_phoff
  dd    shdr - $$                  ; e_shoff
  dq    0                          ; e_flags
  dw    ehdrsize                   ; e_ehsize
  dw    phdrsize                   ; e_phentsize
  dw    2                          ; e_phnum
  dw    shentsize                  ; e_shentsize
  dw    2                          ; e_shnum
  dw    1                          ; e_shstrndx
ehdrsize equ  $ - ehdr

phdr:
  dd    1                          ; p_type   = PT_LOAD
  dd    7                          ; p_flags  = rwx
  dq    0                          ; p_offset
  dq    $$                         ; p_vaddr
  dq    $$                         ; p_paddr
  dq    0xDEADBEEF                 ; p_filesz
  dq    0xDEADBEEF                 ; p_memsz
  dq    0x1000                     ; p_align
phdrsize equ  $ - phdr
  dd    2                          ; p_type  = PT_DYNAMIC
  dd    7                          ; p_flags = rwx
  dq    dynsection                 ; p_offset
  dq    dynsection                 ; p_vaddr
  dq


const endDate = new Date();
    endDate.setDate(1);
    endDate.setMonth(0);
    endDate.setDate(0);

    return {
      startDate,
      endDate,
    };
  }

  public static get thisFiscalYear(): SkyDateRange {
    const start = new Date();
    start.setDate(1);

    return SkyDateRangeRelativeValue.getClosestFiscalYearRange(start);
  }

  public static get nextFiscalYear(): SkyDateRange {
    const start = new Date();
    start.setDate(1);
    start.setFullYear(start.getFullYear() + 1);

    return SkyDateRangeRelativeValue.getClosestFiscalYearRange(start);
  }

  public static get lastFiscalYear(): SkyDateRange {
    const start = new Date();
    start.setDate(1);
    start.setFullYear(start.getFullYear() - 1);

    return SkyDateRangeRelativeValue.getClosestFiscalYearRange(start);
  }

  private static getQuarterStartMonth(currentMonth: number): number {
    let month: number;
    if (currentMonth < 3) {
      month = 0;
    } else if (currentMonth < 6) {
      month = 3;
    } else if (currentMonth < 9) {
      month = 6;
    } else {
      month = 9;
    }

    return month;
  }

  /**
   * Return a fiscal year based on a start date.
   * (The fiscal year starts in October and continues through to next September.)
   */
  private static getClosestFiscalYearRange(startDate: Date): SkyDateRange {
    const endDate = new Date(startDate);

    if (startDate.getMonth() >= 9) {
      startDate.setMonth(9);
      endDate.setFullYear(startDate.getFullYear() + 1);
      endDate.setMonth(9);
      endDate.setDate(0);
    } else {
      startDate.setFullYear(startDate.getFullYear() - 1);
      startDate.setMonth(9);
      endDate.setMonth(9);
      endDate.setDate(0);
    }

    return {
      startDate,
      endDate,
    };
  }
}
export function ints(input: string): number[] {
  const result: number[] = [];
  for (const i of input.matchAll(/-?\d+/g)) {
    result.push(parseInt(i[0]));
  }
  return result;
}
import { fromPairs, range } from "lodash";
import { useCallback, useState } from "react";
import TaskSchedule from "../../dto/TaskSchedule";

const makeToggle = (
  formSchedule: TaskSchedule,
  onChange: (schedule: TaskSchedule) => void,
) => (weekDayNumber: number, hour: number) => {
  const hours = { ...formSchedule[weekDayNumber + 1] } || {};
  hours[hour] = !hours[hour];

  onChange({
    ...formSchedule,
    [weekDayNumber + 1]: hours,
  });
};

const makeToggleHour = (
  formSchedule: TaskSchedule,
  onChange: (schedule: TaskSchedule) => void,
) => (hour: number) => {
  const alreadySelected = range(1, 8)
    .map(n => formSchedule[n] || {})
    .map(hours => hours[hour])
    .filter(selected => selected);

  const shouldBeSelected = alreadySelected.length !== 7;

  const newSchedule = { ...formSchedule };
  for (const weekday of range(1, 8)) {
    const hours = newSchedule[weekday] || {};
    newSchedule[weekday] = { ...hours, [hour]: shouldBeSelected };
  }

  onChange(newSchedule);
};

const makeToggleWeekday = (
  formSchedule: TaskSchedule,
  startHour: number,
  endHour: number,
  onChange: (schedule: TaskSchedule) => void,
) => (weekDayNumber: number) => {
  const alreadySelected = range(start


o_string());
    }

    enable_args.iter().for_each(|x| print!("{} ", x));
    println!();

    let xrandr_output = String::from_utf8(
        Command::new("xrandr")
            .args(enable_args)
            .output()
            .unwrap()
            .stdout,
    ).unwrap();

    println!("{}", xrandr_output);
}

/*
pub fn parse_json(s: &str) -> DResult<ConfigFile> {
    Ok(serde_json::from_str(s)?)
}

pub fn generate_json(p: &ConfigFile) -> DResult<String> {
    Ok(serde_json::to_string_pretty(p)?)
}

pub fn save_file(path: &Path, contents: &str) -> DResult<()> {
    let file = File::create(path)?;
    let mut buf_writer = BufWriter::new(file);
    buf_writer.write(contents.as_bytes())?;
    buf_writer.get_ref().sync_all()?;

    Ok(())
}

pub fn load_file(path: &Path) -> DResult<String> {
    let file = File::open(path)?;
    let mut buf_reader = BufReader::new(file);
    let mut ret = String::new();
    buf_reader.read_to_string(&mut ret)?;
    Ok(ret)
}

pub fn xdg_config_file() -> DResult<PathBuf> {
    let xdg_dirs = xdg::BaseDirectories::with_prefix("quickrandr")?;
    Ok(xdg_dirs.place_config_file("config.json")?)
}

pub fn save_config(path: &Path, config_file: &ConfigFile) -> DResult<()> {
    save_file(path, &generate_json(config_file)?)?;

    Ok(())
}

pub fn cmd_create_empty(path: &Path, debug: bool) {
    if fs::metadata(path).is_err() {
        let empty_database = ConfigFile::default();

        let contents = generate_json(&empty_database).unwrap();

        if debug {
            println!("DEBUG: Write to path {:?}:\n{}", path.display(), contents);
        } else {
            save_file(path, &contents).unwrap();
        }
    }
}

pub fn fingerprint(connected_outputs: &ConnectedOutputs) -> Vec<(&str, &str)> {
    let mut fingerprint = connected_outputs
        .iter()
        .map(|(name, &Output { ref edid, .. })| (name.as_ref(), edid.as_ref()))
        .collect::<Vec<_>>();
    fingerprint.sort_by_key(|x| x.0);
    fingerprint
}

pub fn build_xrandr_args<F>(output_names: &[String], mut f: F) -> Vec<String>
    where F: FnMut(&str) -> Vec<String>
{
        let mut xrandr_command_queue = Vec::<String>::new();

        for output_name in output_names {
            xrandr_command_queue.push("--output".into());
            xrandr_command_queue.push(output_name.clone());
            xrandr_command_queue.extend(f(&output_name));
        }

        xrandr_command_queue
}

pub fn cmd_auto(path: &Path, default_profile: Option<&str>, debug: bool) {
    cmd_create_empty(path, debug);

    let ConfigAndXrandr {
        config_file,
        connected_outputs,
        output_names,
    } = load_config_and_query_xrandr(path).unwrap();

    let current_hardware_fingerprint = fingerprint(&connected_outputs);

    if let Some(target_config) = config_file.autoprofiles
        .iter().find(|x| fingerprint(x) == current_hardware_fingerprint)
    {
        // Found a fingerprint
        if debug {
            println!("FOUND target config: {:?}\n", target_config);


 = T::class.java.simpleName
    if (realm.schema[simpleName] == null) {
        throw IllegalArgumentException("$simpleName is not part of the schema for this Realm. Did you add realm-android plugin in your build.gradle file?")
    }
    return realm.schema[simpleName]?.hasPrimaryKey() ?: false
}

inline fun <reified T : RealmModel> T.getLastPk(realm: Realm): Long {
    getPrimaryKeyFieldName(realm).let { fieldName ->
        val result = realm.where(this.javaClass).max(fieldName)
        return result?.toLong() ?: 0
    }
}

inline fun <reified T : RealmModel> getLastPk(realm: Realm): Long {
    getPrimaryKeyFieldName<T>(realm).let { fieldName ->
        val result = realm.where(T::class.java).max(fieldName)
        return result?.toLong() ?: 0
    }
}

inline fun <reified T : RealmModel> T.getPrimaryKeyFieldName(realm: Realm): String? {
    return realm.schema.get(this.javaClass.simpleName)?.primaryKey
}

inline fun <reified T : RealmModel> getPrimaryKeyFieldName(realm: Realm): String? {
    return realm.schema.get(T::class.java.simpleName)?.primaryKey
}

inline fun <reified T : RealmModel> T.setPk(realm: Realm, value: Long) {
    getPrimaryKeyFieldName(realm).let { fieldName ->
        val f1 = javaClass.getDeclaredField(fieldName)
        try {
            val accesible = f1.isAccessible
            f1.isAccessible = true
            if (f1.isNullFor(this)) {
                //We only set pk value if it does not have any value previously
                f1.set(this, value)
            }
            f1.isAccessible = accesible
        } catch (ex: IllegalArgumentException) {
            throw IllegalArgumentException("Primary key field $fieldName must be of type Long to set a primary key automatically")
        }
    }
}

fun Collection<RealmModel>.initPk(realm: Realm) {
    val nextPk = first().getLastPk(realm) + 1
    for ((index, value) in withIndex()) {
        value.setPk(realm, nextPk + index)
    }
}

fun Array<out RealmModel>.initPk(realm: Realm) {
    val nextPk = first().getLastPk(realm) + 1
    for ((index, value) in withIndex()) {
        value.setPk(realm, nextPk + index)
    }
}

fun RealmModel.initPk(realm: Realm) {
    setPk(realm, getLastPk(realm) + 1)
}

fun <T : RealmModel> T.isAutoIncrementPK(): Boolean {
    return this.javaClass.declaredAnnotations.any { it.annotationClass == AutoIncrementPK::class }
}

fun <T> RealmQuery<T>.equalToValue(fieldName: String, value: Int) = equalTo(fieldName, value)
fun <T> RealmQuery<T>.equalToValue(fieldName: String, value: Long) = equalTo(fieldName, value)

fun Field.isNullFor(obj: Any) = try {
    get(obj) == null
} catch (ex: NullPointerException) {
    true
}
package statusbar.finder.app

import android.content.Context
import android.content.res.Configuration
import android.graphics.Color
import android.graphics.Typeface
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import statusbar.finder.R
import statusbar.finder.data.model.LyricItem

/**
 * LyricGetterExt - statusbar.finder
 * @description TODO: coming soon.
 * @author VictorModi
 * @email victormodi@outlook.com
 * @date 2025/2/8 11:01
 */
class LyricsAdapter(private val lyrics: List<LyricItem>) :


sticky-header .outer-box .cart-box .cart-box-btn .total-cart{
	background-color:#ff7e00;
}

/* Border Color */
.clock-second:after,
.btn-style-three:hover,
.btn-one-outer:before,
.btn-one-outer:after,
.btn-two-outer:before,
.btn-two-outer:after,
.btn-three-outer:before,
.btn-three-outer:after,
.main-menu .navigation > li > ul,
.main-footer .consult-widget .phone,
.main-header .btn-box .pass-btn,
.author-box .social-icon li a:hover,
.author-box .social-icon li a,
.single-product-item .img-holder,
.main-header.header-style-two .nav-outer:before,
.main-header .header-upper .logo-box:before,
.main-menu .navigation > li > ul > li > ul,
.rtl .main-header .header-upper .logo-box:before,
.main-header .outer-box .cart-box .cart-panel,
.ui-state-active, .ui-widget-content .ui-state-active,
.main-header .header-top .language .dropdown-menu,
.featured-block-two .inner-box .lower-content .read-more:before,
.timetable-section .timetable-tabs .tab-btns .tab-btn,
.timetable-section-two .timetable-tabs .tab-btns .tab-btn,
.main-header .outer-box .cart-box .cart-panel .btns-boxed li a,
.testimonial-block-two .inner-box .upper-box .author-image:before,
.classess-block .inner-box .lower-content .read-more:before,
.cart-section .apply-coupon .form-group input[type="text"],
.news-block-three .inner-box .lower-content .read-more:before,
.shop-form input:focus, .shop-form select:focus, .shop-form textarea:focus,
.styled-form input:focus, .styled-form select:focus, .styled-form textarea:focus,
.testimonials-thumbs-carousel .carousel-thumbnails .carousel-indicators li .image:before{
	border-color:#ff7e00;
}

.btn-style-two:after,
.btn-style-two:before,
.btn-style-three:before,
.btn-style-three:after{
	border-bottom-color:#ff7e00;
}

.timetable-section-two .timetable-tabs .tab-btns .tab-btn:before,
.timetable-section .timetable-tabs .tab-btns .tab-btn:before{
	border-left-color:#ff7e00;
}

.fact-counter-two .column .inner .content:before,
.header-style-three .main-menu .navigation > li:before{
	filter: grayscale(100%);
}

/*RGBA Color Light*/
.instagram-widget .post-thumb .overlay-box,
.sidebar .popular-posts .post .post-thumb .overlay-box{
	background-color:rgba(255,126,0,0.70);
}

/*RGBA Color Dark*/

.fluid-section-one .outer-container .right-column .image-layer:before,
.counter-section .inner-container .pattern-layer:before{
	background-color:rgba(255,126,0,0.90);
}

@media only screen and (max-width: 767px){

	.main-menu .navbar-header .navbar-toggle{
		border-color:#ff7e00;
	}

	.main-menu .navbar-header .navbar-toggle,
	.main-menu .navbar-collapse > .navigation,
	.main-menu .navbar-collapse > .navigation > li > ul,
	.main-menu .navbar-collapse > .navigation > li > ul > li > ul,
	.main-menu .navbar-collapse > .navigation > li > a,
	.main-menu .navbar-co