ar* envoy_type_v3_HashPolicy_FilterState_serialize(const envoy_type_v3_HashPolicy_FilterState* msg, upb_Arena* arena, size_t* len) {
  char* ptr;
  (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_FilterState_msginit, 0, arena, &ptr, len);
  return ptr;
}
UPB_INLINE char* envoy_type_v3_HashPolicy_FilterState_serialize_ex(const envoy_type_v3_HashPolicy_FilterState* msg, int options,
                                 upb_Arena* arena, size_t* len) {
  char* ptr;
  (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_FilterState_msginit, options, arena, &ptr, len);
  return ptr;
}
UPB_INLINE void envoy_type_v3_HashPolicy_FilterState_clear_key(const envoy_type_v3_HashPolicy_FilterState* msg) {
  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView) = upb_StringView_FromDataAndSize(NULL, 0);
}
UPB_INLINE upb_StringView envoy_type_v3_HashPolicy_FilterState_key(const envoy_type_v3_HashPolicy_FilterState* msg) {
  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView);
}

UPB_INLINE void envoy_type_v3_HashPolicy_FilterState_set_key(envoy_type_v3_HashPolicy_FilterState *msg, upb_StringView value) {
  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView) = value;
}

extern const upb_MiniTable_File envoy_type_v3_hash_policy_proto_upb_file_layout;

#ifdef __cplusplus
}  /* extern "C" */
#endif

#include "upb/port_undef.inc"

#endif  /* ENVOY_TYPE_V3_HASH_POLICY_PROTO_UPB_H_ */


\0\46\12\2\0\6\12\2\0\10\12"+
    "\1\0\1\12\1\0\1\12\1\0\1\12\1\0\37\12\2\0\65\12"+
    "\1\0\7\12\1\0\1\12\3\0\3\12\1\0\7\12\3\0\4\12"+
    "\2\0\6\12\4\0\15\12\5\0\3\12\1\0\7\12\202\0\1\12"+
    "\202\0\1\12\4\0\1\12\2\0\12\12\1\0\1\12\3\0\5\12"+
    "\6\0\1\12\1\0\1\12\1\0\1\12\1\0\4\12\1\0\3\12"+
    "\1\0\7\12\u0ecb\0\2\12\52\0\5\12\12\0\1\13\124\13\10\13"+
    "\2\13\2\13\132\13\1\13\3\13\6\13\50\13\3\13\1\0\136\12"+
    "\21\0\30\12\70\0\20\13\u0100\0\200\13\200\0\u19b6\13\12\13\100\0"+
    "\u51a6\13\132\13\u048d\12\u0773\0\u2ba4\12\u215c\0\u012e\13\322\13\7\12\14\0"+
    "\5\12\5\0\1\12\1\0\12\12\1\0\15\12\1\0\5\12\1\0"+
    "\1\12\1\0\2\12\1\0\2\12\1\0\154\12\41\0\u016b\12\22\0"+
    "\100\12\2\0\66\12\50\0\14\12\164\0\3\12\1\0\1\12\1\0"+
    "\207\12\23\0\12\2\7\0\32\12\6\0\32\12\12\0\1\13\72\13"+
    "\37\12\3\0\6\12\2\0\6\12\2\0\6\12\2\0\3\12\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\63\0";

  /**
   * Translates characters to character classes
   */
  private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED);

  /**
   * Translates DFA states to action switch labels.
   */
  private static final int [] ZZ_ACTION = zzUnpackAction();

  private static final String ZZ_ACTION_PACKED_0 =
    "\1\0\1\1\3\2\1\3\1\2\11\0\1\2\3\4"+
    "\1\0\1\5\3\4\3\5\1\6\1\4\2\7\1\10"+
    "\1\4\1\10\3\0\2\10\1\11\


" id="Music_Room-32" data-pos="["Music Room",32]">

6面主题曲

懐かしい嘆き

令人怀念的叹息

Plazzap，Artifex

6面BOSS-莳野梦乃原主题曲

幻夢楽土 ～ ロストドリームズ

幻梦乐土 ～ Lost dreams

RickyRister，Tokiko，Roka Enzaki，Lunaちゃん

6面BOSS-<a href="./莳野梦乃原.md"


select[disabled],.swagger-ui textarea[disabled]{background-color:#fafafa;color:#888;cursor:not-allowed}.swagger-ui select[disabled]{border-color:#888}.swagger-ui textarea[disabled]{background-color:#41444e;color:#fff}@-webkit-keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.swagger-ui textarea{font-size:12px;width:100%;min-height:280px;padding:10px;border:none;border-radius:4px;outline:none;background:hsla(0,0%,100%,.8);font-family:monospace;font-weight:600;color:#3b4151}.swagger-ui textarea:focus{border:2px solid #61affe}.swagger-ui textarea.curl{font-size:12px;min-height:100px;margin:0;padding:10px;resize:none;border-radius:4px;background:#41444e;font-family:monospace;font-weight:600;color:#fff}.swagger-ui .checkbox{padding:5px 0 10px;transition:opacity .5s;color:#303030}.swagger-ui .checkbox label{display:flex}.swagger-ui .checkbox p{font-weight:400!important;font-style:italic;margin:0!important;font-family:monospace;font-weight:600;color:#3b4151}.swagger-ui .checkbox input[type=checkbox]{display:none}.swagger-ui .checkbox input[type=checkbox]+label>.item{position:relative;top:3px;display:inline-block;width:16px;height:16px;margin:0 8px 0 0;padding:5px;cursor:pointer;border-radius:1px;background:#e8e8e8;box-shadow:0 0 0 2px #e8e8e8;flex:none}.swagger-ui .checkbox input[type=checkbox]+label>.item:active{transform:scale(.9)}.swagger-ui .checkbox input[type=checkbox]:checked+label>.item{background:#e8e8e8 url('data:image/svg+xml;charset=utf-8,<svg width="10" height="8" viewBox="3 7 10 8" xmlns="http://www.w3.org/2000/svg"><path fill="%2341474E" fill-rule="evenodd" d="M6.333 15L3 11.667l1.333-1.334 2 2L11.667 7 13 8.333z"/></svg>') 50% no-repeat}.swagger-ui .dialog-ux{position:fixed;z-index:9999;top:0;right:0;bottom:0;left:0}.swagger-ui .dialog-ux .backdrop-ux{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.8)}.swagger-ui .dialog-ux .modal-ux{position:absolute;z-index:9999;top:50%;left:50%;width:100%;min-width:300px;max-width:650px;transform:translate(-50%,-50%);border:1px solid #ebebeb;border-radius:4px;background:#fff;box-shadow:0 10px 30px 0 rgba(0,0,0,.2)}.swagger-ui .dialog-ux .modal-ux-content{overflow-y:auto;max-height:540px;padding:20px}.swagger-ui .dialog-ux .modal-ux-content p{font-size:12px;margin:0 0 5px;color:#41444e;font-family:sans-serif;color:#3b4151}.swagger-ui .dialog-ux .modal-ux


usedObjectBuilder extends fb.ObjectBuilder {
  final int _a;

  UnusedObjectBuilder({
    required int a,
  })
      : _a = a;

  /// Finish building, and store into the [fbBuilder].
  @override
  int finish(fb.Builder fbBuilder) {
    fbBuilder.putInt32(_a);
    return fbBuilder.offset;
  }

  /// Convenience method to serialize to byte list.
  @override
  Uint8List toBytes([String? fileIdentifier]) {
    final fbBuilder = fb.Builder(deduplicateTables: false);
    fbBuilder.finish(finish(fbBuilder), fileIdentifier);
    return fbBuilder.buffer;
  }
}
class TableB {
  TableB._(this._bc, this._bcOffset);
  factory TableB(List<int> bytes) {
    final rootRef = fb.BufferContext.fromBytes(bytes);
    return reader.read(rootRef, 0);
  }

  static const fb.Reader<TableB> reader = _TableBReader();

  final fb.BufferContext _bc;
  final int _bcOffset;

  TableA? get a => TableA.reader.vTableGetNullable(_bc, _bcOffset, 4);

  @override
  String toString() {
    return 'TableB{a: ${a}}';
  }

  TableBT unpack() => TableBT(
      a: a?.unpack());

  static int pack(fb.Builder fbBuilder, TableBT? object) {
    if (object == null) return 0;
    return object.pack(fbBuilder);
  }
}

class TableBT implements fb.Packable {
  TableAT? a;

  TableBT({
      this.a});

  @override
  int pack(fb.Builder fbBuilder) {
    final int? aOffset = a?.pack(fbBuilder);
    fbBuilder.startTable(1);
    fbBuilder.addOffset(0, aOffset);
    return fbBuilder.endTable();
  }

  @override
  String toString() {
    return 'TableBT{a: ${a}}';
  }
}

class _TableBReader extends fb.TableReader<TableB> {
  const _TableBReader();

  @override
  TableB createObject(fb.BufferContext bc, int offset) =>
    TableB._(bc, offset);
}

class TableBBuilder {
  TableBBuilder(this.fbBuilder);

  final fb.Builder fbBuilder;

  void begin() {
    fbBuilder.startTable(1);
  }

  int addAOffset(int? offset) {
    fbBuilder.addOffset(0, offset);
    return fbBuilder.offset;
  }

  int finish() {
    return fbBuilder.endTable();
  }
}

class TableBObjectBuilder extends fb.ObjectBuilder {
  final TableAObjectBuilder? _a;

  TableBObjectBuilder({
    TableAObjectBuilder? a,
  })
      : _a = a;

  /// Finish building, and store into the [fbBuilder].
  @override
  int finish(fb.Builder fbBuilder) {
    final int? aOffset = _a?.getOrCreateOffset(fbBuilder);
    fbBuilder.startTable(1);
    fbBuilder.addOffset(0, aOffset);
    return fbBuilder.endTable();
  }

  /// Convenience method to serialize to byte list.
  @override
  Uint8List toBytes([String? fileIdentifier]) {
    final fbBuilder = fb.Builder(deduplicateTables: false);
    fbBuilder.finish(finish(fbBuilder), fileIdentifier);
    return fbBuilder.buffer;
  }
}
// automatically generated by the FlatBuffers compiler, do not modify
// ignore_for_file: unused_import, unused_field, unused_element, unused_local_variable

library namespace_c;

import 'dart:typed_data' show Uint8List;
import 'package:flat_bu


ision: 0),
                        DateModified = c.DateTime(precision: 0),
                        Category = c.String(unicode: false),
                        UpdateType = c.Int(nullable: false),
                    })
                .PrimaryKey(t => new { t.UserId, t.SubscriberUserId })
                .Index(t => new { t.UserId, t.SubscriberUserId }, unique: true, name: "IX_UserIdAndSubscriberUserId");

        }

        public override void Down()
        {
            DropIndex("dbo.UserSubscriptions", "IX_UserIdAndSubscriberUserId");
            DropTable("dbo.UserSubscriptions");
        }
    }
}


Lib.doSomething()
console.log(globalLib.version)

// 二、commonjs 模块
import moduleLib from './3.module-lib'
moduleLib({x: 1})
moduleLib.doSomething()
console.log(moduleLib.version)

// 三、umd 模块
import umdLib from './4.umd-lib'

// 也可以通过全局方式（script）引用，会提示警告，不建议全局引用，可通过 allowUmdGlobalAccess 选项设置

console.log(umdLib.version)
umdLib.doSomething()

// 四、模块插件/全局插件
import moment from 'moment'

// 给模块定义扩展的声明
declare module 'moment' {
  export function myFunction(): void
}
moment.myFunction = () => {}

// 给全局模块定义扩展的声明
declare global {
  namespace globalLib {
    function doAnything(): void
  }
}

globalLib.doAnything = () => {}

// 五、声明文件的依赖
// 在比较大的类库声明文件通常会按照一定的模块划分，不会都写在同一个文件中
// @types/xxx 的 package.json 中，types 字段代表声明文件的入口如：index.d.ts，详见 ./index.d.ts
import {WeatherState} from "../weather-state";
import {LOAD_WEATHER_ACTION_SUCCESS, LoadWeatherActionSuccess} from "../actions/actions";

function handleLoadWeatherActionSuccess(state: WeatherState, action: LoadWeatherActionSuccess): WeatherState {
    const newState: WeatherState = Object.assign({}, state);
    newState.weather = action.payload;
    console.log("new State", newState.weather);
    return newState
}

export function weatherReducer(state: WeatherState, action: any): WeatherState {
    switch (action.type) {
        case LOAD_WEATHER_ACTION_SUCCESS:
            return handleLoadWeatherActionSuccess(state, action);
        default:
            return state
    }
}import {EUtils} from "./utils"
import {EObjects} from "./objects"

const utils: EUtils = new EUtils("fonts.ts")

type EFontImagePath = string

interface EFontLetter
{
    sx: number
    sy: number
    letter: string
}
class EFontLetter
{
    /**
     * literally just a Letter
     * @param {number} sx - X Source Position of the Letter
     * @param {number} sy - Y Source Position of the Letter
     * @param {string} letter - The Letter itself, duh
     */
    constructor(sx,sy,letter)
    {
        this.sx = sx
        this.sy = sy
        this.letter = letter[0]
    }
}

export interface EFontManager
{

}
export class EFontManager extends Map<number,EFont>
{
    constructor()
    {
        super()
    }
    createFont(name: string,width: number,height: number,fontpng: EFontImagePath): EFont
    {
        return new EFont(name,width,height,fontpng)
    }
}

interface EFont
{
    name: string
    w: number
    h: number
    fontpng: EFontImagePath
    _image: HTMLImageElement
    fontmap: Map<string,EFontLetter>
}
class EFont
{
    /**
     * A Font containing Letters
     * @param {string} name - Name of the Font like `monospace`
     * @param {number} width - Width of ONE Letter
     * @param {number} height - Height of ONE Letter
     * @param {string} fontpng - Path to the Font Image
     */
    constructor(name: string,width: number,height: number,fontpng: EFontImagePath)
    {
        this.name = name
        this.


/*
 * SPDX-License-Identifier: GPL-3.0-only
 * MuseScore-CLA-applies
 *
 * MuseScore
 * Music Composition & Notation
 *
 * Copyright (C) 2021 MuseScore BVBA and others
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 as
 * published by the Free Software Foundation.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
#ifndef MUSE_UI_QMLTRANSLATION_H
#define MUSE_UI_QMLTRANSLATION_H

#include <QObject>

namespace muse::ui {
class QmlTranslation : public QObject
{
    Q_OBJECT
public:
    QmlTranslation(QObject* parent);

    Q_INVOKABLE QString translate(const QString& context, const QString& text, const QString& disambiguation = QString(), int n = -1) const;
};
}

#endif // MUSE_UI_QMLTRANSLATION_H


/obj"
	"cmd/internal/sys"
)

// TODO: configure the architecture

var testOut *bytes.Buffer // Gathers output when testing.

// append adds the Prog to the end of the program-thus-far.
// If doLabel is set, it also defines the labels collect for this Prog.
func (p *Parser) append(prog *obj.Prog, cond string, doLabel bool) {
	if cond != "" {
		switch p.arch.Family {
		case sys.ARM:
			if !arch.ARMConditionCodes(prog, cond) {
				p.errorf("unrecognized condition code .%q", cond)
				return
			}

		case sys.ARM64:
			if !arch.ARM64Suffix(prog, cond) {
				p.errorf("unrecognized suffix .%q", cond)
				return
			}

		default:
			p.errorf("unrecognized suffix .%q", cond)
			return
		}
	}
	if p.firstProg == nil {
		p.firstProg = prog
	} else {
		p.lastProg.Link = prog
	}
	p.lastProg = prog
	if doLabel {
		p.pc++
		for _, label := range p.pendingLabels {
			if p.labels[label] != nil {
				p.errorf("label %q multiply defined", label)
				return
			}
			p.labels[label] = prog
		}
		p.pendingLabels = p.pendingLabels[0:0]
	}
	prog.Pc = p.pc
	if *flags.Debug {
		fmt.Println(p.histLineNum, prog)
	}
	if testOut != nil {
		fmt.Fprintln(testOut, prog)
	}
}

// validSymbol checks that addr represents a valid name for a pseudo-op.
func (p *Parser) validSymbol(pseudo string, addr *obj.Addr, offsetOk bool) bool {
	if addr.Name != obj.NAME_EXTERN && addr.Name != obj.NAME_STATIC || addr.Scale != 0 || addr.Reg != 0 {
		p.errorf("%s symbol %q must be a symbol(SB)", pseudo, symbolName(addr))
		return false
	}
	if !offsetOk && addr.Offset != 0 {
		p.errorf("%s symbol %q must not be offset from SB", pseudo, symbolName(addr))
		return false
	}
	return true
}

// evalInteger evaluates an integer constant for a pseudo-op.
func (p *Parser) evalInteger(pseudo string, operands []lex.Token) int64 {
	addr := p.address(operands)
	return p.getConstantPseudo(pseudo, &addr)
}

// validImmediate checks that addr represents an immediate constant.
func (p *Parser) validImmediate(pseudo string, addr *obj.Addr) bool {
	if addr.Type != obj.TYPE_CONST || addr.Name != 0 || addr.Reg != 0 || addr.Index != 0 {
		p.errorf("%s: expected immediate constant; found %s", pseudo, obj.Dconv(&emptyProg, addr))
		return false
	}
	return true
}

// asmText assembles a TEXT pseudo-op.
// TEXT runtime·sigtramp(SB),4,$0-0
func (p *Parser) asmText(word string, operands [][]lex.Token) {
	if len(operands) != 2 && len(operands) != 3 {
		p.errorf("expect two or three operands for TEXT")
		return
	}

	// Labels are function scoped. Patch existing labels and
	// create a new label space for this TEXT.
	p.patch()
	p.labels = make(map[string]*obj.Prog)

	// Operand 0 is the symbol name in the form foo(SB).
	// That means symbol plus indirect on SB and no offset.
	nameAddr := p.address(operand


BeagleCore.implementation.appearance.applyInsets?.invoke(
                                WindowInsetsCompat.toWindowInsetsCompat(insets, view).getBeagleInsets(WindowInsetsCompat.Type.systemBars())
                            )
                        }
                    }
                val verticalInsets = output?.let { it.top + it.bottom }
                    ?: window.decorView.rootWindowInsets?.let {
                        val insets = WindowInsetsCompat.toWindowInsetsCompat(it, window.decorView).getBeagleInsets(WindowInsetsCompat.Type.systemBars())
                        insets.top + insets.bottom
                    } ?: 0
                val horizontalInsets = output?.let { it.left + it.right }
                    ?: window.decorView.rootWindowInsets?.let {
                        val insets = WindowInsetsCompat.toWindowInsetsCompat(it, window.decorView).getBeagleInsets(WindowInsetsCompat.Type.systemBars())
                        insets.left + insets.right
                    } ?: 0
                setLayout(
                    ((displayMetrics.widthPixels - horizontalInsets) * DIALOG_WIDTH_RATIO).roundToInt(),
                    ((displayMetrics.heightPixels - verticalInsets) * DIALOG_HEIGHT_RATIO).roundToInt()
                )
            }
        }
    }

    override fun onDismiss(dialog: DialogInterface) {
        super.onDismiss(dialog)
        if (!isStateSaved) {
            BeagleCore.implementation.notifyVisibilityListenersOnHide()
        }
    }

    companion object {
        private const val DIALOG_WIDTH_RATIO = 0.75f
        private const val DIALOG_HEIGHT_RATIO = 0.75f
        const val TAG = "debugMenuDialog"

        fun show(fragmentManager: FragmentManager) = DebugMenuDialog().show(fragmentManager, TAG)
    }
}package com.pandulapeter.beagle.modules

import androidx.annotation.DrawableRes
import com.pandulapeter.beagle.common.configuration.Appearance
import com.pandulapeter.beagle.common.configuration.Text
import com.pandulapeter.beagle.common.configuration.toText
import com.pandulapeter.beagle.common.contracts.module.Module
import com.pandulapeter.beagle.modules.AppInfoButtonModule.Companion.ID
import com.pandulapeter.beagle.modules.GalleryButtonModule.Companion.DEFAULT_ICON
import com.pandulapeter.beagle.modules.GalleryButtonModule.Companion.DEFAULT_IS_ENABLED
import com.pandulapeter.beagle.modules.GalleryButtonModule.Companion.DEFAULT_ON_BUTTON_PRESSED
import com.pandulapeter.beagle.modules.GalleryButtonModule.Companion.DEFAULT_TEXT
import com.pandulapeter.beagle.modules.GalleryButtonModule.Companion.DEFAULT_TYPE
import com.pandulapeter.beagle.modules.GalleryButtonModule.Companion.ID
import com.pandulapeter.beagle.modules.ScreenshotButtonModule.Companion.ID

/**
 * Displays a button that opens the gallery of captured screenshot images and screen recording videos.
 * Check out the [Appearance] class for customization options.
 *
 * This module can only be added once. It uses the value of [ID] as id.
 *
 * @param text - The text that should be displayed on the button. [DEFAULT_TEXT] by default.
 * @param type - Specify a [TextModule.Type] to apply a specific appearance. [DEFAULT_TYPE] by default.
 * @param icon - A drawable resource ID that will be tinted and displayed before the text, or null to display no icon. [DEFAULT_ICON] by default.
 * @param isEnabled - Can be used to enable or disable all user interaction with the module. [DEFAULT_IS_ENABLED] by default.
 * @pa


size}条图片"
                    }
                })
                if (isR18 && Config.recall != 0L) {
                    event.subject.sendMessage(forward).recallIn(Config.recall)
                } else {
                    event.subject.sendMessage(forward)
                }

            } else {
                event.subject.sendMessage(message)
            }
        } catch (e: Exception) {
            e.printStackTrace()
        }
//        event.subject.sendMessage(message)
    }

}package top.cutestar.networkTools.commands

import kotlinx.coroutines.launch
import net.mamoe.mirai.console.command.CommandSender
import net.mamoe.mirai.console.command.SimpleCommand
import net.mamoe.mirai.console.util.ConsoleExperimentalApi
import top.cutestar.networkTools.Config
import top.cutestar.networkTools.NetworkTools
import top.cutestar.networkTools.utils.HttpUtil
import top.cutestar.networkTools.utils.Util
import top.cutestar.networkTools.utils.Util.autoToForwardMsg
import top.cutestar.networkTools.utils.Util.getValue
import top.cutestar.networkTools.utils.Util.withHelper
import java.util.regex.Pattern
import kotlin.system.measureTimeMillis

object WebCommand : SimpleCommand(
    owner = NetworkTools,
    primaryName = "web",
    description = "网页测试"
) {
    @OptIn(ConsoleExperimentalApi::class)
    @Handler
    fun CommandSender.onHandler(
        @Name("URL链接") s: String,
        @Name("编码") charset: String = Config.webCharset
    ) = withHelper {
        val urls = mutableSetOf<String>()
        getValue(s).forEach {
            val url = if (":/" in it) it else "https://$it"
            urls.add(url)
        }
        executeWeb(urls, charset)
    }

    private fun CommandSender.executeWeb(urls: MutableSet<String>, charset: String) = launch{
        val words = mutableListOf<String>()
        urls.forEach { url ->
            val http: HttpUtil
            val time = measureTimeMillis { http = HttpUtil(url) }
            val connection = http.getConnection()
            var server = ""
            connection.headerFields.forEach headerFields@{ (k, v) ->
                if (k.equals("server", true)) {
                    server = v[0]
                    return@headerFields
                }
            }
            val s = http.getString(charset, false).replace("\n", "")
            val status = "${connection.responseCode}(${connection.responseMessage})"

            sendMessage(
                    ("""---Web测试---
$url
标题:${getTitle(s)}
状态码:$status
http延时:${time}ms
服务端:$server
""".trimIndent())
            )

            words.addAll(arrayOf("描述:\n${getDescription(s)}", "关键词:\n${getKeywords(s)}", "链接:"))
            var length = 0

            getKeyLink(s, url).forEach link@{
                val text = "${it.key}\n${it.value}"
                length += text.length
                words.add(if (length <= 3000) text else return@link)
            }
            http.close()
        }
        autoToForwardMsg(words)
    }

    fun getTitle(s: String) = Util.matchText(s, "<title>((.*?){1,50})</title>")

    fun getDescription(s: String): String {
        return Util.matchText(s, "<meta.*?name=\"description\".*?content=\"(.*?)\"")
            .replace(" ", "\n")
            .replace(",", "\n")
    }

    fun getKeywords(s: String) =
        Util.matchText(s, "<meta.*?name=\"keywords\".*?content=\"(.*?)\"")
            .replace(" ", "\n")
            .replace(",", "\n")

    fun getKeyLink(s: String, url: String): MutableMap<String, String> {
        val map = mutableMapOf<String, String>()
        val m = Pattern.compile("<a.*?href=\"(.*?)\".*?>(.*?)</a").matcher(s)
        while (m.find()) {
            val g1 = m.group(1)
            val httpRule = ".*https?://.*"
            val url = if (Pattern.matches(httpRule, g1)) g1 else url + g1
            m.group(2).run {
                if (
                    length <= 100 &&
                    isNotEmpty() &&


	require.Contains(t, err.Error(), "build context is missing a logger")
}

func TestProcess(t *testing.T) {
	cfg := NewNoopOperatorConfig("test")
	cfg.OutputIDs = []string{"fake"}
	op, err := cfg.Build(testutil.Logger(t))
	require.NoError(t, err)

	fake := testutil.NewFakeOutput(t)
	op.SetOutputs([]operator.Operator{fake})

	entry := entry.New()
	entry.AddAttribute("label", "value")
	entry.AddResourceKey("resource", "value")
	entry.TraceId = []byte{0x01}
	entry.SpanId = []byte{0x01}
	entry.TraceFlags = []byte{0x01}

	expected := entry.Copy()
	err = op.Process(context.Background(), entry)
	require.NoError(t, err)

	fake.ExpectEntry(t, expected)
}
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package copy

import (
	"testing"

	"github.com/open-telemetry/opentelemetry-log-collection/entry"
	"github.com/open-telemetry/opentelemetry-log-collection/operator/helper/operatortest"
)

// test unmarshalling of values into config struct
func TestGoldenConfig(t *testing.T) {
	cases := []operatortest.ConfigUnmarshalTest{
		{
			Name: "body_to_body",
			Expect: func() *CopyOperatorConfig {
				cfg := defaultCfg()
				cfg.From = entry.NewBodyField("key")
				cfg.To = entry.NewBodyField("key2")
				return cfg
			}(),
		},
		{
			Name: "body_to_attribute",
			Expect: func() *CopyOperatorConfig {
				cfg := defaultCfg()
				cfg.From = entry.NewBodyField("key")
				cfg.To = entry.NewAttributeField("key2")
				return cfg
			}(),
		},
		{
			Name: "attribute_to_resource",
			Expect: func() *CopyOperatorConfig {
				cfg := defaultCfg()
				cfg.From = entry.NewAttributeField("key")
				cfg.To = entry.NewResourceField("key2")
				return cfg
			}(),
		},
		{
			Name: "attribute_to_body",
			Expect: func() *CopyOperatorConfig {
				cfg := defaultCfg()
				cfg.From = entry.NewAttributeField("key")
				cfg.To = entry.NewBodyField("key2")
				return cfg
			}(),
		},
		{
			Name: "attribute_to_nested_attribute",
			Expect: func() *CopyOperatorConfig {
				cfg := defaultCfg()
				cfg.From = entry.NewAttributeField("key")
				cfg.To = entry.NewAttributeField("one", "two", "three")
				return cfg
			}(),
		},
		{
			Name: "resource_to_nested_resource",
			Expect: func() *CopyOperatorConfig {
				cfg := defaultCfg()
				cfg.From = entry.NewResourceField("key")
				cfg.To = entry.NewResourceField("one", "two", "three")
				return cfg
			}(),
		},
	}
	for _, tc := range cases {
		t.Run(tc.Name, func(t *testing.T) {
			tc.Run(t, defaultCfg())
		})
	}
}

func defaultCfg() *CopyOperatorConfig {
	return NewCopyOperatorConfig("copy")
}
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of


80.step) + (155..171 step WiFiWidth.MHZ_80.step) +
                (50..114 step WiFiWidth.MHZ_160.step) + 163
        ).toSortedSet()
            .toList(),
        expectedRatingChannelsGHZ5,
    )

val expectedWiFiInfoGHZ6 =
    ExpectedWiFiInfo(
        (-5..235).map { WiFiChannel(it, 5950 + it * FREQUENCY_SPREAD) },
        120,
        mapOf(
            (WiFiWidth.MHZ_20 to (1..233 step WiFiWidth.MHZ_20.step).toList()),
            (WiFiWidth.MHZ_40 to (3..227 step WiFiWidth.MHZ_40.step).toList()),
            (WiFiWidth.MHZ_80 to (7..215 step WiFiWidth.MHZ_80.step).toList()),
            (WiFiWidth.MHZ_160 to (15..207 step WiFiWidth.MHZ_160.step).toList()),
            (WiFiWidth.MHZ_320 to (31..191 step WiFiWidth.MHZ_320.step).toList()),
        ),
        listOf(1, 31, 63, 95, 128, 160, 192, 222).associateWith {
            when (it) {
                128 -> "127"
                160 -> "159"
                192 -> "191"
                222 -> "223"
                else -> "$it"
            }
        },
        (
            (1..233 step WiFiWidth.MHZ_20.step) +
                (3..227 step WiFiWidth.MHZ_40.step) +
                (7..215 step WiFiWidth.MHZ_80.step) +
                (15..207 step WiFiWidth.MHZ_160.step) +
                (31..191 step WiFiWidth.MHZ_320.step)
        ).toSortedSet()
            .toList(),
        expectedRatingChannelsGHZ6,
    )
/*
 * WiFiAnalyzer
 * Copyright (C) 2015 - 2025 VREM Software Development <VREMSoftwareDevelopment@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 */

package com.vrem.wifianalyzer.wifi.model

import android.net.wifi.ScanResult
import android.os.Build
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.vrem.wifianalyzer.R
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.kotlin.mock
import org.mockito.kotlin.verifyNoMoreInteractions
import org.robolectric.annotation.Config

@RunWith(AndroidJUnit4::class)
@Config(sdk = [Build.VERSION_CODES.BAKLAVA])
class WiFiStandardTest {
    @Test
    fun width() {
        assertThat(WiFiStandard.entries).hasSize(7)
    }

    @Test
    fun nameResource() {
        assertThat(WiFiStandard.UNKNOWN.fullResource).isEqualTo(R.string.wifi_standard_unknown)
        assertThat(WiFiStandard.LEGACY.fullResource).isEqualTo(R.string.wifi_standard_legacy)
        assertThat(WiFiStandard.N.fullResource).isEqualTo(R.string.wifi_standard_n)
        assertThat(WiFiStandard.AC.fullResource).isEqualTo(R.string.wifi_standard_ac)
        ass


 i32 300, void ()* @_GLOBAL__I_000300, i8* null },
// CHECK:  { i32, void ()*, i8* } { i32 65535, void ()* @_GLOBAL__sub_I_init_priority_attr.cpp, i8* null }]

// CHECK: _GLOBAL__I_000200()
// CHECK: _Z3fooi(i32 3)
// CHECK-NEXT: ret void

// CHECK: _GLOBAL__I_000300()
// CHECK: _Z3fooi(i32 2)
// CHECK-NEXT: _Z3fooi(i32 1)
// CHECK-NEXT: ret void

// CHECK: _GLOBAL__sub_I_init_priority_attr.cpp()
// CHECK: _Z3fooi(i32 1)
// CHECK-NEXT: _Z3fooi(i32 4)
// CHECK-NEXT: ret void

C c;
A1 a1 __attribute__((init_priority (300)));
A a __attribute__((init_priority (300)));
B b __attribute__((init_priority (200)));
// RUN: %clang_cc1 -std=c++11 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s
// Test (r)value and CVR qualifiers on C++11 non-static member functions.
class A {
public:
  // CHECK: !DISubprogram(name: "l",
  // CHECK-SAME:          line: [[@LINE+4]]
  // CHECK-SAME:          type: ![[PLSR:[0-9]+]]
  // CHECK-SAME:          flags: DIFlagPublic | DIFlagPrototyped | DIFlagLValueReference,
  // CHECK: ![[PLSR]] = !DISubroutineType(flags: DIFlagLValueReference, types: ![[ARGS:[0-9]+]])
  void l() const &;
  // CHECK: ![[ARGS]] = !{null, ![[THIS:[0-9]+]]}
  // CHECK: ![[THIS]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[CONST_A:[0-9]+]]
  // CHECK: ![[CONST_A]] = !DIDerivedType(tag: DW_TAG_const_type
  // CHECK: !DISubprogram(name: "r"
  // CHECK-SAME:          line: [[@LINE+4]]
  // CHECK-SAME:          type: ![[PRSR:[0-9]+]]
  // CHECK-SAME:          flags: DIFlagPublic | DIFlagPrototyped | DIFlagRValueReference,
  // CHECK: ![[PRSR]] = !DISubroutineType(flags: DIFlagRValueReference, types: ![[ARGS]])
  void r() const &&;
};

void g() {
  A a;
  // The type of pl is "void (A::*)() const &".
  // CHECK: !DILocalVariable(name: "pl",
  // CHECK-SAME:             line: [[@LINE+3]]
  // CHECK-SAME:             type: ![[PL:[0-9]+]]
  // CHECK: !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: ![[PLSR]]
  auto pl = &A::l;

  // CHECK: !DILocalVariable(name: "pr",
  // CHECK-SAME:             line: [[@LINE+3]]
  // CHECK-SAME:             type: ![[PR:[0-9]+]]
  // CHECK: !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: ![[PRSR]]
  auto pr = &A::r;
}
// RUN: %clang_cc1 %s -O1 -disable-llvm-passes -triple=x86_64-apple-darwin10 -std=c++11 -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 %s -O1 -disable-llvm-passes -triple=x86_6


ED(cleanup_io_restore_insn)
	be	BASED(1f)
	mvc	__LC_EXIT_TIMER(8),__LC_MCCK_ENTER_TIMER
	clc	4(4,%r12),BASED(cleanup_io_restore_insn+4)
	be	BASED(1f)
	mvc	__LC_RETURN_PSW(8),SP_PSW(%r15)
	mvc	__LC_SAVE_AREA+32(16),SP_R12(%r15)
	lm	%r0,%r11,SP_R0(%r15)
	l	%r15,SP_R15(%r15)
1:	la	%r12,__LC_RETURN_PSW
	br	%r14
cleanup_io_restore_insn:
	.long	io_done - 4 + 0x80000000
	.long	io_done - 8 + 0x80000000

/*
 * Integer constants
 */
		.align	4
.Lc_spsize:	.long	SP_SIZE
.Lc_overhead:	.long	STACK_FRAME_OVERHEAD
.Lnr_syscalls:	.long	NR_syscalls
.L0x018:	.short	0x018
.L0x020:	.short	0x020
.L0x028:	.short	0x028
.L0x030:	.short	0x030
.L0x038:	.short	0x038
.Lc_1:		.long	1

/*
 * Symbol constants
 */
.Ls390_mcck:	.long	s390_do_machine_check
.Ls390_handle_mcck:
		.long	s390_handle_mcck
.Lmck_old_psw:	.long	__LC_MCK_OLD_PSW
.Ldo_IRQ:	.long	do_IRQ
.Ldo_extint:	.long	do_extint
.Ldo_signal:	.long	do_signal
.Ldo_notify_resume:
		.long	do_


", "12"},
        { DEBUGGEE_CLASS + "._eval001a.testPrimitiveArray(test)", "1.0" }
                                          };

    protected void runCases() {
        String[] reply;
        Paragrep grep;
        int count;
        Vector v;
        String found;

        jdb.setBreakpointInMethod(LAST_BREAK);
        reply = jdb.receiveReplyFor(JdbCommand.cont);

        // to get out of lastBreak()
        reply = jdb.receiveReplyFor(JdbCommand.step);

        for (int i = 0; i < checkedExpr.length; i++) {
            if (!checkValue(checkedExpr[i][0], checkedExpr[i][1])) {
                success = false;
            }
        }

        jdb.contToExit(1);
    }

    private boolean checkValue (String expr, String value) {
        Paragrep grep;
        String[] reply;
        String found;
        Vector v;
        boolean result = true;

        reply = jdb.receiveReplyFor(JdbCommand.eval + expr);
        grep = new Paragrep(reply);
        found = grep.findFirst(value);
        if (found.length() <= 0) {
            log.complain("jdb failed to report value of expression: " + expr);
            log.complain("expected : " + value + " ;\nreported: " + (reply.length > 0? reply[0]: ""));
            result = false;
        }
        return result;
    }
}
/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code 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 General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

/*
 * This file is available under and governed by the GNU General Public
 * License version 2 only, as published by the Free Software Foundation.
 * However, the following notice accompanied the original version of this
 * file and, per its terms, should not be removed:
 *
 * Copyright (c) 2000 World Wide Web Consortium,
 * (Massachusetts Institute of Technology, Institut National de
 * Recherche en Informatique et en Automatique, Keio University). All
 * Rights Reserved. This program is distributed under the W3C's Software
 * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
 * details.
 */

package org.w3c.dom.html;

/**
 *  Menu list. See the  MENU element definition in HTML 4.0. This element is
 * deprecated in HTML 4.0.
 *
See also the Document Object Model (DOM) Level 2 Specification.
 *
 * @since 1.4, DOM Level 2
 */
public interface HTMLMenuElement extends HTMLElement {
    /**
     *  Reduce spacing between list items. See the  compact attribute
     * definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
     */
    public boolean getCompact();
    public void setCompact(boolean c


describe("Brainfuck interpreter", function()
	local exec_bf = require("esolang.brainfuck")
	it("executes hello world", function()
		local hello_world = {}
		local last_char = "\0"
		for char in ("Hello World!\n"):gmatch(".") do
			local diff = char:byte() - last_char:byte()
			if diff > 0 then
				for _ = 1, diff do
					table.insert(hello_world, "+")
				end
			else
				for _ = diff, -1 do
					table.insert(hello_world, "-")
				end
			end
			table.insert(hello_world, ".")
			last_char = char
		end
		local buffer = {}
		exec_bf(table.concat(hello_world), nil, {
			write = function(_, str)
				table.insert(buffer, str)
			end,
		})
		assert.same("Hello World!\n", table.concat(buffer))
	end)
	it("executes uppercasing", function()
		loc


ALK)
  lul::LUL* lul = CorePS::Lul(aLock);
  if (!lul) {
    CorePS::SetLul(aLock, MakeUnique<lul::LUL>(logging_sink_for_LUL));
    // Read all the unwind info currently available.
    lul = CorePS::Lul(aLock);
    read_procmaps(lul);

    // Switch into unwind mode. After this point, we can't add or remove any
    // unwind info to/from this LUL instance. The only thing we can do with
    // it is Unwind() calls.
    lul->EnableUnwinding();

    // Has a test been requested?
    if (getenv("MOZ_PROFILER_LUL_TEST")) {
      int nTests = 0, nTestsPassed = 0;
      RunLulUnitTests(&nTests, &nTestsPassed, lul);
    }
  }
#endif

  // Start the sampling thread. It repeatedly sends a SIGPROF signal. Sending
  // the signal ourselves instead of relying on itimer provides much better
  // accuracy.
  if (pthread_create(&mThread, nullptr, ThreadEntry, this) != 0) {
    MOZ_CRASH("pthread_create failed");
  }
}

SamplerThread::~SamplerThread() { pthread_join(mThread, nullptr); }

void SamplerThread::SleepMicro(uint32_t aMicroseconds) {
  if (aMicroseconds >= 1000000) {
    // Use usleep for larger intervals, because the nanosleep
    // code below only supports intervals < 1 second.
    MOZ_ALWAYS_TRUE(!::usleep(aMicroseconds));
    return;
  }

  struct timespec ts;
  ts.tv_sec = 0;
  ts.tv_nsec = aMicroseconds * 1000UL;

  int rv = ::nanosleep(&ts, &ts);

  while (rv != 0 && errno == EINTR) {
    // Keep waiting in case of interrupt.
    // nanosleep puts the remaining time back into ts.
    rv = ::nanosleep(&ts, &ts);
  }

  MOZ_ASSERT(!rv, "nanosleep call failed");
}

void SamplerThread::Stop(PSLockRef aLock) {
  // Restore old signal handler. This is global state so it's important that
  // we do it now, while gPSMutex is locked. It's safe to do this now even
  // though this SamplerThread is still alive, because the next time the main
  // loop of Run() iterates it won't get past the mActivityGeneration check,
  // and so won't send any signals.
  mSampler.Disable(aLock);
}

// END SamplerThread target specifics
////////////////////////////////////////////////////////////////////////

#if defined(GP_OS_linux) || defined(GP_OS_freebsd)

// We use pthread_atfork() to temporarily disable signal delivery during any
// fork() call. Without that, fork() can be repeatedly interrupted by signal
// delivery, requiring it to be repeatedly restarted, which can lead to *long*
// delays. See bug 837390.
//
// We provide no paf_child() function to run in the child after forking. This
// is fine because we always immediately exec() after fork(), and exec()
// clobbers all process state. (At one point we did have a paf_child()
// function, but it caused problems related to locking gPSMutex. See bug
// 1348374.)
//
// Unfortunately all this is only doable on non-Android because Bionic doesn't
// have pthread_atfork.

// In the parent, before the fork, record IsPaused, and then pause.
static void paf_prepare() {
  MOZ_RELEASE_ASSERT(CorePS::Exists());

  PSAutoLock lock;

  if (ActivePS::Exists(lock)) {
    ActivePS::SetWasPaused(lock, ActivePS::IsPaused(lock));
    ActivePS::SetIsPaused(lock, true);
  }
}

// In t


:"ღია ნაცრისფერი","FFF0F5":"ღია ვარდისფერი","FAEBD7":"ღია ყავისფერი","FFFFE0":"ნათელი ყვითელი","F0FFF0":"ღია მწვანე","F0FFFF":"ღია ცისფერი 2","F0F8FF":"ღია ცისფერი 3","E6E6FA":"ღია იისფერი 2","FFF":"თეთრი","1ABC9C":"Strong Cyan","2ECC71":"Emerald","3498DB":"Bright Blue","9B59B6":"Amethyst","4E5F70":"Grayish Blue","F1C40F":"Vivid Yellow","16A085":"Dark Cyan","27AE60":"Dark Emerald","2980B9":"Strong Blue","8E44AD":"Dark Violet","2C3E50":"Desaturated Blue","F39C12":"Orange","E67E22":"Carrot","E74C3C":"Pale Red","ECF0F1":"Bright Silver","95A5A6":"Light Grayish Cyan","DDD":"Light Gray","D35400":"Pumpkin","C0392B":"Strong Red","BDC3C7":"Silver","7F8C8D":"Grayish Cyan","999":"Dark Gray"},"more":"მეტი ფერი...","panelTitle":"ფერები","textColorTitle":"ტექსტის ფერი"},"colordialog":{"clear":"გასუფთავება","highlight":"ჩვენება","options":"ფერის პარამეტრები","selected":"არჩეული ფერი","title":"ფერის შეცვლა"},"templates":{"button":"თარგები","emptyListMsg":"(თარგი არაა განსაზღვრული)","insertOption":"მიმდინარე შეგთავსის შეცვლა","options":"თარგების პარამეტრები","selectPromptMsg":"აირჩიეთ თარგი რედაქტორისთვის","title":"თარგები"},"contextmenu":{"options":"კონტექსტური მენიუს პარამეტრები"},"copyformatting":{"label":"Copy Formatting","notification":{"copied":"Formatting copied","applied":"Formatting applied","canceled":"Formatting canceled","failed":"Formatting failed. You cannot apply styles without copying them first."}},"div":{"IdInputLabel":"Id","advisoryTitleInputLabel":"სათაური","cssClassInputLabel":"CSS კლასები","edit":"Div-ის რედაქტირება","inlineStyleInputLabel":"თანდართული


'Image ID removed');
assertEquals(prop(el, 'class'), 'test', 'Image class');
assertEquals(prop(el, 'style'), null, 'Image inline style');
skipTest('Image inline style added');
//assertEquals(typeof prop(el, 'style'), 'string', 'Image inline style added');
assertEquals(prop(el, 'ismap'), false, 'Image is map');
assertEquals(typeof prop(el, 'height'), 'number', 'Image height');
assertEquals(typeof prop(el, 'width'), 'number', 'Image width');
removeAttr(el, 'height');
assertEquals(prop(el, 'height'), null, 'Image height removed');
removeAttr(el, 'width');
assertEquals(prop(el, 'width'), null, 'Image width removed');

assertEquals(typeof prop(el, 'onclick'), 'function', 'Image onclick');
assertEquals(prop(el, 'onmouseover'), null, 'Image onmouseover');
assertNotEquals(prop(el, 'usemap'), 'images/cinsoft.gif', 'Image use map resolved');
assertEquals(prop(el, 'xyz'), null, 'Image custom attribute');
prop(el, 'xyz', 'abc');
assertEquals(prop(el, 'xyz'), 'abc', 'Image custom attribute added');
removeAttr(el, 'xyz');
assertEquals(prop(el, 'xyz'), null, 'Image custom attribute removed');
el = elTest.getElementsByTagName('td')[0];
docWrite('
Table Cell<\/h3>');
assertEquals(prop(el, 'colspan'), 2, "Column span");
assertEquals(prop(el, 'rowspan'), null, "Row span");
removeAttr(el, 'colspan');
assertEquals(prop(el, 'colspan'), null, "Removed column span");

prop(el, 'rowspan', '1');
if (assertEquals(prop(el, 'rowspan'), 1, 'Default row span added')) {
	removeAttr(el, 'rowspan');
	assertEquals(prop(el, 'rowspan'), null, "Removed row span");
} else {
	skipTest("Removed row span");
}

el = elTest.getElementsByTagName('colgroup')[0];
docWrite('
Table Column Group<\/h3>');
assertEquals(prop(el, 'span'), 2, "Column group span");
removeAttr(el, 'span');
assertEquals(prop(el, 'span'), null, "Column group span removed");

el = doc.getElementsByTagName('meta')[2];
docWrite('
Meta<\/h3>');
if (el && assertEquals(prop(el, 'http-equiv'), 'Cache-Control', "HTTP equivalent")) {
	removeAttr(el, 'http-equiv');
	assertEquals(prop(el, 'http-equiv'), null, "Removed HTTP equivalent");
} else {
	skipTest("Removed HTTP equivalent");
}
el = elTest.getElementsByTagName('label')[0];
docWrite('
Label<\/h3>');
assertEquals(prop(el, 'for'), 'testinput4', "Label for");
docWrite('
Text Input<\/h3>');
el = elTest.getElementsByTagName('input')[0];
el.value = ''; // In case browser remembers previous value
assertEquals(prop(el, 'value'), null, 'Input value');
prop(el, 'value', 'test');
assertEquals(prop(el, 'value'), 'test', 'Input value set');
assertEquals(prop(el, 'maxlength'), null, 'Input maximum length');
prop(el, 'maxlength', '10');
assertEquals(prop(el, 'maxlength'), 10, 'Input maximum length added');
docWrite('
Checkbox Input<\/h3>');
el = elTest.getElementsByTagName('input')[1];
el.checked = false; // In case browser remembers previous checked state
assertEquals(prop(el, 'checked'), false, 'Input checked');
prop(el, 'checked', true);
assertEquals(prop(el, 'checked'), true, 'Input checked added');
assertEquals(el.defaultChecked, true, 'Input defaultChecked property set');
assertEquals(prop(el, 'disabled'), false, 'Input dis


 * 단체의 이름
     */
    OG,

    /**
     * 작품/물품의 이름
     */
    AF,

    /**
     * 기간/날짜의 이름
     */
    DT,

    /**
     * 시간/간격의 이름
     */
    TI,

    /**
     * 문명/문화활동에 사용되는 명칭
     */
    CV,

    /**
     * 동물의 이름
     */
    AM,

    /**
     * 식물의 이름
     */
    PT,

    /**
     * 수량의 값, 서수 또는 이름
     */
    QT,

    /**
     * 학문분야 또는 학파, 예술사조 등의 이름
     */
    FD,

    /**
     * 이론, 법칙, 원리 등의 이름
     */
    TR,

    /**
     * 사회적 활동, 운동, 사건 등의 이름
     */
    EV,

    /**
     * 화학적 구성물의 이름
     */
    MT,

    /**
     * 용어
     */
    TM
}

/**
 * (Extension) 주어진 목록에 주어진 개체명 유형 [tag]가 포함되는지 확인합니다.
 *
 * ## 사용법
 * ### Kotlin
 * ```kotlin
 * CoarseEntityType.PL in listOf("PS", "PL")
 * \\ 또는
 * listOf("PS", "PL").contains(CoarseEntityType.PL)
 * ```
 *
 * ### Scala + [koalanlp-scala](https://koalanlp.github.io/scala-support/)
 * ```scala
 * import kr.bydelta.koala.Implicits._
 * CoarseEntityType.PL in Seq("PS", "PL")
 * \\ 또는
 * Seq("PS", "PL").contains(CoarseEntityType.PL)
 * ```
 *
 * ### Java
 * ```java
 * List<String> list = new LinkedList()
 * list.add("PS")
 * list.add("PL")
 * Util.contains(list, CoarseEntityType.PL)
 * ```
 *
 * @since 2.0.0
 * @param[tag] 속하는지 확인할 개체명 표지 값
 * @return 목록 중 하나라도 일치한다면 true
 */
operator fun Iterable<String>.contains(tag: CoarseEntityType): Boolean = this.any { it == tag.name }
package org.brewcode.hamster.util

import org.openqa.selenium.By

fun String.xBy() = By.xpath(this)

fun String.xAnyChildTxt(text: String, tag: String = "*") = "$this//$tag[@text='$text']"
fun xText(text: String, tag: String = "*") = ".//$tag[@text='$text']"
fun xTextContains(text


","🌺","🐚","☀","🍥","🍹","🏄♀","🏄","🏄♂"],
  'beach_umbrella': ["🏖"],
  'bead': ["🧿"],
  'beans': ["🫘","🫛"],
  'bear': ["🐻"],
  'beard': ["🧔♀","🧔♂"],
  'beard_man': ["🧔♂"],
  'beard_woman': ["🧔♀"],
  'bearded': ["🧔♀","🧔♂"],
  'bearded_person': ["🧔"],
  'beat': ["🫀"],
  'beauty': ["💅","💇♀","🪷"],
  'beaver': ["🦫"],
  'beckon': ["🫴"],
  'bed': ["🛏","🛌"],
  'beef': ["🐮","🐂","🐄","🍔"],
  'beer': ["🍺","🫚"],
  'beers': ["🍻"],
  'bees': ["🍯"],
  'beet': ["🫜"],
  'beetle': ["🪲"],
  'beg': ["🙇♂"],
  'begging': ["🥺"],
  'beginner': ["🔰"],
  'belarus': ["🇧🇾"],
  'belgium': ["🇧🇪"],
  'belize': ["🇧🇿"],
  'bell': ["🔔","🎐"],
  'bell_pepper': ["🫑"],
  'bellhop_bell': ["🛎"],
  'belly': ["🫃","🫄"],
  'benin': ["🇧🇯"],
  'bento': ["🍱"],
  'bermuda': ["🇧🇲"],
  'bestie': ["👯♀"],
  'bet': ["🎰"],
  'betting': ["🏇"],
  'beverage': ["🥛","🍺","🍻","🥂","🍷","🥃","🍸","🍹","🍶","☕"],
  'beverage_box': ["🧃"],
  'bewhiskered': ["🧔"],
  'bewilder': ["🤦"],
  'bf': ["🇧🇫"],
  'bff': ["👯♀"],
  'bg': ["🇧🇬"],
  'bh': ["🇧🇭"],
  'bhutan': ["🇧🇹"],
  'bi': ["🇧🇮"],
  'biceps': ["💪","🦾"],
  'bicycle': ["🚴♂","🚵♂","🚲"],
  'bicyclist': ["🚴♂","🚵♂"],
  'bike': ["🚲","🚴♀","🚴","🚴


hereumAddressFromPublicKey(list as Uint8List);
  }
}
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'ble_periphery.dart';

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

const BleCentralState _$connected = const BleCentralState._('connected');
const BleCentralState _$disconnected = const BleCentralState._('disconnected');

BleCentralState _$valueOf(String name) {
  switch (name) {
    case 'connected':
      return _$connected;
    case 'disconnected':
      return _$disconnected;
    default:
      throw new ArgumentError(name);
  }
}

final BuiltSet<BleCentralState> _$values =
    new BuiltSet<BleCentralState>(const <BleCentralState>[
  _$connected,
  _$disconnected,
]);

Serializer<BleCentralState> _$bleCentralStateSerializer =
    new _$BleCentralStateSerializer();

class _$BleCentralStateSerializer
    implements PrimitiveSerializer<BleCentralState> {
  @override
  final Iterable<Type> types = const <Type>[BleCentralState];
  @override
  final String wireName = 'BleCentralState';

  @override
  Object serialize(Serializers serializers, BleCentralState object,
          {FullType specifiedType = FullType.unspecified}) =>
      object.name;

  @override
  BleCentralState deserialize(Serializers serializers, Object serialized,
          {FullType specifiedType = FullType.unspecified}) =>
      BleCentralState.valueOf(serialized as String);
}

// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mnemonics.dart';

// **************************************************************************
// StoreGenerator
// **************************************************************************

// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers

mixin _$MnemonicsStore on MnemonicsBase, Store {
  Computed<int>? _$indexComputed;

  @override
  int get index => (_$indexComputed ??=
          Computed<int>(() => super.index, name: 'MnemonicsBase.index'))
      .value;
  Computed<String>? _$mnemonicsComputed;

  @override
  String get mnemonics =>
      (_$mnemonicsComputed ??= Computed<String>(() => super.mnemonics,
              name: 'MnemonicsBase.mnemonics'))
          .value;

  late final _$valueAtom = Atom(name: 'MnemonicsBase.value', context: context);

  @override
  Tuple2<int, String> get value {
    _$valueAtom.reportRead();
    return super.value;
  }

  @override
  set value(Tuple2<int, String> value) {
    _$valueAtom.reportWrite(value, super.value, () {
      super.value = value;
    });
  }

  late final _$saveAsyncAction =
      AsyncAction('MnemonicsBase.save', context: context);

  @override
  Fu


turn f"rejected_{deal_id}"
        else:
            bot.send_message(chat_id=chat_id, text=f"❌ Failed to reject {deal_id}")
            return f"rejection_failed_{deal_id}"

    except Exception as e:
        print(f"Pass action error: {e}")
        return f"error_{deal_id}"

@app.route('/health', methods=['GET'])
def health_check():
    """Health check endpoint with metrics"""
    uptime = datetime.now() - stats['start_time']
    return jsonify({
        'status': 'healthy',
        'service': 'pokemon_arbitrage_webhook',
        'uptime_seconds': int(uptime.total_seconds()),
        'events_processed': stats['events_processed'],
        'deals_approved': stats['deals_approved'],
        'deals_rejected': stats['deals_rejected'],
        'approval_rate': f"{(stats['deals_approved']/(max(1, stats['deals_approved'] + stats['deals_rejected'])))*100:.1f}%"
    })

@app.route('/stats', methods=['GET'])
def get_stats():
    """Detailed statistics endpoint"""
    uptime = datetime.now() - stats['start_time']
    return jsonify({
        'server_info': {
            'name': 'Pokemon Arbitrage HTTPS Webhook',
            'version': '1.0.0',
            'uptime_seconds': int(uptime.total_seconds()),
            'start_time': stats['start_time'].isoformat()
        },
        'metrics': stats,
        'bot_configured': bool(BOT_TOKEN)
    })

if __name__ == '__main__':
    # SSL Configuration
    cert_file = '/home/jthomas4641/pokemon/ssl/telegram_webhook.crt'
    key_file = '/home/jthomas4641/pokemon/ssl/telegram_webhook.key'

    print("🚀 POKEMON ARBITRAGE - HTTPS WEBHOOK SERVER")
    print("=" * 50)

    # Check SSL certificates
    if os.path.exists(cert_file) and os.path.exists(key_file):
        # Create SSL context
        context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
        context.load_cert_chain(cert_file, key_file)

        logger.info("🔒 SSL certificates found - Starting HTTPS server")
        print("🔒 HTTPS enabled with SSL certificates")
        print("🌐 Webhook URL: https://34.74.208.133:8080/webhook")
        print("❤ Health check: https://34.74.208.133:8080/health")
        print("📊 Statistics: https://34.74.208.133:8080/stats")
        print("=" * 50)

        # Run HTTPS server
        app.run(host='0.0.0.0', port=8080, ssl_context=context, debug=False)
    else:
        logger.warning("⚠ SSL certificates not found - running HTTP only")
        print("❌ SSL certificates not found!")
        print(f"   Expected: {cert_file}")
        print(f"   Expected: {key_file}")
        print("⚠ Telegram webhooks require HTTPS")
        print("=" * 50)

        # Run HTTP server (for testing only)
        app.run(host='0.0.0.0', port=8080, debug=True)


box-shadow: 5px 5px 5px #888;
      }
    </style>
    <title>All examples</title>

All examples

$sbAllExamples

""");

  writeFileSync("output/obsolete.html", """

    <title>Methods marked as obsolete</title>

Methods marked as obsolete

          Type
          Name
          Description
          IDL
          Status

$sbObsolete

 """);
}
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

library debugger;

import "dart:async";
import "dart:io";

import "package:ddbg/commando.dart";
import "package:observatory/service_io.dart";

class Debugger {
  Commando cmdo;
  var _cmdoSubscription;

  CommandList _commands;

  VM _vm;
  VM get vm => _vm;
  set vm(VM vm) {
    if (_vm == vm) {
      // Do nothing.
      return;
    }
    if (_vm != null) {
      _vm.disconnect();
    }
    if (vm != null) {
      vm.onConnect.then(_vmConnected);
      vm.onDisconnect.then(_vmDisconnected);
      vm.errors.stream.listen(_onServiceError);
      vm.exceptions.stream.listen(_onServiceException);
      vm.events.stream.listen(_onServiceEvent);
    }
    _vm = vm;
  }

  _vmConnected(VM vm) {
    cmdo.print('Connected to vm');
  }

  _vmDisconnected(VM vm) {
    cmdo.print('Disconnected from vm');
  }

  _onServiceError(ServiceError error) {
    cmdo.print('error $error');
  }

  _onServiceException(ServiceException exception) {
    cmdo.print('${exception.message}');
  }

  _onServiceEvent(ServiceEvent event) {
    switch (event.eventType) {
      case 'GC':
        // Ignore GC events for now.
        break;
      default:
        cmdo.print('event $event');
        break;
    }
  }

  VM _isolate;
  VM get isolate => _isolate;
  set isolate(Isolate isolate) {
    _isolate = isolate;
    cmdo.print('Current isolate is now isolate ${getIsolateIndex(_isolate)}');
  }

  Map _isolateIndexMap = new Map();
  int _nextIsolateIndex = 0;
  int getIsolateIndex(Isolate isolate) {
    var index = _isolateIndexMap[isolate.id];
    if (index == null) {
      index = _nextIsolateIndex++;
      _isolateIndexMap[isolate.id] = index;
    }
    return index;
  }

  void on


 RECEIVE9_A>;
impl RECEIVE9_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> RECEIVE9_A {
        match self.bits {
            false => RECEIVE9_A::DISABLED,
            true => RECEIVE9_A::ENABLED,
        }
    }
    #[doc = "Checks if the value of the field is `DISABLED`"]
    #[inline(always)]
    pub fn is_disabled(&self) -> bool {
        *self == RECEIVE9_A::DISABLED
    }
    #[doc = "Checks if the value of the field is `ENABLED`"]
    #[inline(always)]
    pub fn is_enabled(&self) -> bool {
        *self == RECEIVE9_A::ENABLED
    }
}
#[doc = "Write '1' to disable interrupt for event RECEIVE\\[9\\]\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RECEIVE9_AW {
    #[doc = "1: Disable"]
    CLEAR,
}
impl From<RECEIVE9_AW> for bool {
    #[inline(always)]
    fn from(variant: RECEIVE9_AW) -> Self {
        match variant {
            RECEIVE9_AW::CLEAR => true,
        }
    }
}
#[doc = "Write proxy for field `RECEIVE9`"]
pub struct RECEIVE9_W<'a> {
    w: &'a mut W,
}
impl<'a> RECEIVE9_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: RECEIVE9_AW) -> &'a mut W {
        {
            self.bit(variant.into())
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn clear(self) -> &'a mut W {
        self.variant(RECEIVE9_AW::CLEAR)
    }
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 9)) | (((value as u32) & 0x01) << 9);
        self.w
    }
}
#[doc = "Write '1' to disable interrupt for event RECEIVE\\[10\\]\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RECEIVE10_A {
    #[doc = "0: Read: Disabled"]
    DISABLED,
    #[doc = "1: Read: Enabled"]
    ENABLED,
}
impl From<RECEIVE10_A> for bool {
    #[inline(always)]
    fn from(variant: RECEIVE10_A) -> Self {
        match variant {
            RECEIVE10_A::DISABLED => false,
            RECEIVE10_A::ENABLED => true,
        }
    }
}
#[doc = "Reader of field `RECEIVE10`"]
pub type RECEIVE10_R = crate::R<bool, RECEIVE10_A>;
impl RECEIVE10_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> RECEIVE10_A {
        m


ViewModel symbol in symbols)
                {
                    file.WriteLine(symbol.Model.Id);
                }
            }
            catch (Exception ex)
            {
                Log.Error(ex, $"Failed writing {saveFileDialog.FileName}\n");
            }
            finally
            {
                IsBusy = false;
            }
        }

        private void OnMoveUpSymbols(IList symbols)
        {
            if (Symbols.Count <= 1)
                return;

            try
            {
                IsBusy = true;

                // Create a copy of the list before move
                List<SymbolViewModel> list = symbols.Cast<SymbolViewModel>().ToList();
                for (int i = 1; i < Symbols.Count; i++)
                {
                    if (list.Contains(Symbols[i]) && !list.Contains(Symbols[i - 1]))
                    {
                        Symbols.Move(i, i - 1);
                    }
                }
            }
            finally
            {
                IsBusy = false;
            }
        }

        private void OnMoveDownSymbols(IList symbols)
        {
            if (Symbols.Count <= 1)
                return;

            try
            {
                IsBusy = true;

                // Create a copy of the list before move
                List<SymbolViewModel> list = symbols.Cast<SymbolViewModel>().ToList();
                for (int i = Symbols.Count - 2; i


id TryBuildOutgoingPayload_ReturnsNull_WhenDoesNotContainGuidOrTransactionId(string guid, string transactionId)
        {
            var payload = DistributedTracePayload.TryBuildOutgoingPayload(TransportType, AccountId, AppId, guid, TraceId,
                TrustKey, Priority, Sampled, Timestamp, transactionId);
            Assert.That(payload, Is.Null);
        }

        [Test]
        public void SerializeAndEncodeDistributedTracePayload_CreatesCorrectEncodedString()
        {
            var payload = BuildSampleDistributedTracePayload();
            var jsonString = payload.ToJson();
            var encodedJsonString = Strings.Base64Encode(jsonString);
            var serializedPayload = DistributedTracePayload.SerializeAndEncodeDistributedTracePayload(payload);

            Assert.That(serializedPayload, Is.EqualTo(encodedJsonString));
        }

        [Test]
        public void TryDecodeAndDeserializeDistributedTracePayload_ThrowsException_IfInvalidVersion()
        {
            var payload = BuildSampleDistributedTracePayload();
            payload.Version = new int[] { 9999, 1 };
            var encodedString = DistributedTracePayload.SerializeAndEncodeDistributedTracePayload(payload);

            Assert.Throws<DistributedTraceAcceptPayloadVersionException>(() => DistributedTracePayload.TryDecodeAndDeserializeDistributedTracePayload(encodedString));
        }

        [Test]
        public void TryDecodeAndDeserializeDistributedTracePayload_ThrowsException_IfEncodedAsInvalidType()
        {
            // The following base64 string isn't an encoding of a DistributedTracePayload but it is valid base64.
            var encodedString = "eyJ2IjpbMCwxXSwiZCI6eyJEaWZmZXJlbnQiOiJUeXBlIiwidHkiOiJBcHAiLCJhYyI6IjkxMjMiLCJhcCI6IjUxNDI0IiwiaWQiOiI1ZjQ3NGQ2NGI5Y2M5YjJhIiwidHIiOiIzMjIxYmYwOWFhMGJjZjBkIiwidGsiOiIxMjM0NSIsInByIjowLjEyMzQsInNhIjpmYWxzZSwidGkiOjE1Mjk0MjQxMzA2MDMsInR4IjoiMjc4NTZmNzBkM2QzMTRiNyJ9fQ==";
            Assert.Throws<DistributedTraceAcceptPayloadParseException>(() => DistributedTracePayload.TryDecodeAndDeserializeDistributedTracePayload(encodedString));
        }

        #region helpers

        private static DistributedTracePayload BuildSampleDistributedTracePayload()
        {
            return DistributedTracePayload.TryBuildOutgoingPayload(
                Type.ToString(),
                AccountId,
                AppId,
                Guid,
                TraceId,
                TrustKey,
                Priority,
                Sampled,
                Timestamp,
                TransactionId);
        }

        #endregion helpers
    }
}


(|conn| conn.deconstruct()));

        let opt_timeout = opt_unicast_timeout(self.get::<MX>());

        Ok(try!(SSDPReceiver::new(raw_connectors, opt_timeout)))
    }
}

impl Multicast for SearchRequest {
    type Item = SSDPReceiver<SearchResponse>;

    fn multicast_with_config(&self, config: &Config) -> SSDPResult<Self::Item> {
        let connectors = multicast::send(&self.message, config)?;

        let mcast_timeout = try!(multicast_timeout(self.get::<MX>()));
        let mut raw_connectors = Vec::with_capacity(connectors.len());
        raw_connectors.extend(connectors.into_iter().map(|conn| conn.deconstruct()));

        Ok(try!(SSDPReceiver::new(raw_connectors, Some(mcast_timeout))))
    }
}

impl Default for SearchRequest {
    fn default() -> Self {
        SearchRequest::new()
    }
}

/// Get the require timeout to use for a multicast search request.
fn multicast_timeout(mx: Option<&MX>) -> SSDPResult<Duration> {
    match mx {
        Some(&MX(n)) => Ok(Duration::new((n + NETWORK_TIMEOUT_OVERHEAD) as u64, 0)),
        None => try!(Err("Multicast Searches Require An MX Header")),
    }
}

/// Get the default timeout to use for a unicast search request.
fn opt_unicast_timeout(mx: Option<&MX>) -> Option<Duration> {
    match mx {
        Some(&MX(n)) => Some(Duration::new((n + NETWORK_TIMEOUT_OVERHEAD) as u64, 0)),
        None => Some(Duration::new(DEFAULT_UNICAST_TIMEOUT as u64, 0)),
    }
}

impl FromRawSSDP for SearchRequest {
    fn raw_ssdp(bytes: &[u8]) -> SSDPResult<SearchRequest> {
        let message = try!(SSDPMessage::raw_ssdp(bytes));

        if message.message_type() != MessageType::Search {
            try!(Err("SSDP Message Received Is Not A SearchRequest"))
        } else {
            Ok(SearchRequest { message: message })
        }
    }
}

impl HeaderRef for SearchRequest {
    fn get<H>(&self) -> Option<&H>
        where H: Header + HeaderFormat
    {
        self.message.get::<H>()
    }

    fn get_raw(&self, name: &str) -> Option<&[Vec<u8>]> {
        self.message.get_raw(name)
    }
}

impl HeaderMut for SearchRequest {
    fn set<H>(&mut self, value: H)
        where H: Header + HeaderFormat
    {
        self.message.set(value)
    }

    fn set_raw<K>(&mut self, name: K, value: Vec<Vec<u8>>)
        where K: Into<Cow<'static, str>> + Debug
    {
        self.message.set_raw(name, value)
    }
}

/// Search response that can be received or sent via unicast to devices on the network.
#[derive(Debug, Clone)]
pub struct SearchResponse {
    message: SSDPMessage,
}

impl SearchResponse {
    /// Construct a new SearchResponse.
    pub fn new() -> SearchResponse {
        SearchResponse { message: SSDPMessage::new(MessageType::Response) }
    }

    /// Send this search response to a single host.
    ///
    /// Currently this sends the unicast message on all available network
    /// interfaces. This assumes that the network interfaces are operating
    /// on either different subnets or different ip address ranges.
    pub fn unicast<A: ToSocketAddrs>(&mut self, dst_addr: A) -> SSDPResult<()> {
        let mode = try!(net::IpVersionMode::from_addr(&dst_addr));
        let mut connectors = try!(message::all_local_connectors(None, &mode));


VE_DIALOG_FILE_EXTRA(26),
    /**
     * The display server supports initiating window drag and resize operations on demand. See
     * [windowStartDrag] and [windowStartResize].
     */
    WINDOW_DRAG(27),
    /**
     * Display server supports [WINDOW_FLAG_EXCLUDE_FROM_CAPTURE] window flag.
     */
    SCREEN_EXCLUDE_FROM_CAPTURE(28),
    /**
     * Display server supports embedding a window from another process. **Windows, Linux (X11)**
     */
    WINDOW_EMBEDDING(29),
    /**
     * Native file selection dialog supports MIME types as filters.
     */
    NATIVE_DIALOG_FILE_MIME(30),
    /**
     * Display server supports system emoji and symbol picker. **Windows, macOS**
     */
    EMOJI_AND_SYMBOL_PICKER(31),
    ;

    public override val `value`: Long
    init {
      this.`value` = `value`
    }

    public companion object {
      public fun from(`value`: Long): Feature = entries.single { it.`value` == `value` }
    }
  }

  public enum class MouseMode(
    `value`: Long,
  ) : GodotEnum {
    /**
     * Makes the mouse cursor visible if it is hidden.
     */
    VISIBLE(0),
    /**
     * Makes the mouse cursor hidden if it is visible.
     */
    HIDDEN(1),
    /**
     * Captures the mouse. The mouse will be hidden and its position locked at the center of the
     * window manager's window.
     *
     * **Note:** If you want to process the mouse's movement in this mode, you need to use
     * [InputEventMouseMotion.relative].
     */
    CAPTURED(2),
    /**
     * Confines the mouse cursor to the game window, and make it visible.
     */
    CONFINED(3),
    /**
     * Confines the mouse cursor to the game window, and make it hidden.
     */
    CONFINED_HIDDEN(4),
    /**
     * Max value of the [MouseMode].
     */
    MAX(5),
    ;

    public override val `value`: Long
    init {
      this.`value` = `value`
    }

    public companion object {
      public fun from(`value`: Long): MouseMode = entries.single { it.`value` == `value` }
    }
  }

  public enum class ScreenOrientation(
    `value`: Long,
  ) : GodotEnum {
    /**
     * Default landscape orientation.
     */
    LANDSCAPE(0),
    /**
     * Default portrait orientation.
     */
    PORTRAIT(1),
    /**
     * Reverse landscape orientation (upside down).
     */
    REVERSE_LANDSCAPE(2),
    /**
     * Reverse portrait orientation (upside down).
     */
    REVERSE_PORTRAIT(3),
    /**
     * Automatic landscape orientation (default or reverse depending on sensor).
     */
    SENSOR_LANDSCAPE(4),
    /**
     * Automatic portrait orientation (default or reverse depending on sensor).
     */
    SENSOR_PORTRAIT(5),
    /**
     * Automatic landscape or portrait orientation (default or reverse depending on sensor).
     */
    SENSOR(6),
    ;

    public override val `value`: Long
    init {
      this.`value` = `value`
    }

    public companion object {
      public fun from(`value`: Long): ScreenOrientation = entries.single { it.`value` == `value` }
    }
  }

  public enum class VirtualKeyboardType(
    `value`: Long,
  ) : GodotEnum {
    /**
     * Default text virtual keyboard.
     */
    KEYBOARD_TYPE_DEFAULT(0),
    /**
     * Multiline virtual keyboard.
     */
    KEYBOARD_TYPE_MULTILINE(1),
    /**
     * Virtual number keypad, useful for PIN entry.
     */
    KEYBOARD_TYPE_NUMBER(2),
    /**
     * Virtual number keypad, useful for entering fractional numbers.
     */
    KEY


nd the two-letter " +
											"state or province code separated by a forward slash.",
										ElementType: types.StringType,
									},
									"nickname": schema.StringAttribute{
										Computed:    true,
										Description: "A descriptive label for the group.",
									},
								},
							},
						},
						"default_datacenter": schema.SingleNestedAttribute{
							Computed:    true,
							Description: "A placeholder for all other geographic zones, countries not found in these geographic zones.",
							Attributes: map[string]schema.Attribute{
								"datacenter_id": schema.Int64Attribute{
									Computed:    true,
									Description: "For each property, an identifier for all other geographic zones.",
								},
								"nickname": schema.StringAttribute{
									Computed:    true,
									Description: "A descriptive label for all other geographic zones.",
								},
							},
						},
						"links": schema.SetNestedAttribute{
							Computed:    true,
							Description: "Specifies the URL path that allows direct navigation to the Geographic maps.",
							NestedObject: schema.NestedAttributeObject{
								Attributes: map[string]schema.Attribute{
									"rel": schema.StringAttribute{
										Computed:    true,
										Description: "Indicates the link relationship of the object.",
									},
									"href": schema.StringAttribute{
										Computed:    true,
										Description: "A hypermedia link to the complete URL that uniquely defines a resource.",
									},
								},
							},
						},
					},
				},
			},
		},
	}
}

func (d *geoMapsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) {
	tflog.Debug(ctx, "GTM Geomaps DataSource Read")

	var data geoMapsDataSourceModel

	resp.Diagnostics.Append(req.Config.Get(ctx, &data)...)
	if resp.Diagnostics.HasError() {
		return
	}

	client := Client(d.meta)
	geoMaps, err := client.ListGeoMaps(ctx, gtm.ListGeoMapsRequest{
		DomainName: data.Domain.ValueString()})
	if err != nil {
		resp.Diagnostics.AddError("fetching GTM Geographic maps failed: ", err.Error())
		return
	}

	geographicMaps, diags := getGeographicMaps(ctx, geoMaps)

	if diags.HasError() {
		resp.Diagnostics.Append(diags...)
		return
	}

	data.GeoMaps = geographicMaps
	resp.Diagnostics.Append(resp.State.Set(ctx, &data)...)
}
package gtm

import (
	"fmt"
	"regexp"
	"strconv"
	"testing"

	"github.com/akamai/AkamaiOPEN-edgegrid-golang/v12/pkg/gtm"
	"github.com/akamai/terraform-provider-akamai/v9/pkg/common/testutils"
	"github.com/hashicorp/terraform-plugin-testing/helper/resource"
	"github.com/stretchr/testify/mock"
)

func TestDataGTMDatacenters(t *testing.T) {
	tests := map[string]struct {
		init       func(*gtm.Mock, []gtm.Datacenter)
		mockData   []gtm.Datacenter
		configPath string
		error      *regexp.Regexp
	}{
		"happy path - three datacenters": {
			init: func(m *gtm.Mock, datacenters []gtm.Datacenter) {
				mockListDatacenters(m, datacenters, nil, testutils.ThreeTimes)
			},
			mockData:   getTestGTMDatacenters(),
			configPath: "testdata/TestDataGTMDatacenters/default.tf",
		},
		"happy path - one datacenter": {
			init: func(m *gtm.Mock, datacenters []gtm.Datacenter) {
				mockListDatacenters(m, dat


SliderDecrementIconH,.tundra .dijitSliderDisabled .dijitSliderDecrementIconH {background-position: -35px 0;}.tundra .dijitSliderReadOnly .dijitSliderIncrementIconH,.tundra .dijitSliderDisabled .dijitSliderIncrementIconH {background-position: -42px 0;}.tundra .dijitSliderReadOnly .dijitSliderDecrementIconV,.tundra .dijitSliderDisabled .dijitSliderDecrementIconV {background-position: -28px 0;}.tundra .dijitSliderReadOnly .dijitSliderIncrementIconV,.tundra .dijitSliderDisabled .dijitSliderIncrementIconV {background-position: -49px 0;}.tundra .dijitSelectError .dijitButtonContents,.tundra .dijitSelectHover .dijitArrowButton,.tundra .dijitSelectActive .dijitArrowButton,.tundra .dijitSelectOpened .dijitArrowButton,.tundra .dijitSelectDisabled .dijitArrowButton,.tundra .dijitSelectReadOnly .dijitArrowButton {background: transparent none;}.tundra .dijitSelect .dijitArrowButton {background: #fff url("images/buttonEnabled.png") repeat-x bottom left; border-width: 0;}.tundra .dijitSelectDisabled,.tundra .dijitSelectDisabled TD {border-color: #d5d5d5 #bdbdbd #bdbdbd #d5d5d5 !important; background:#e4e4e4 url("images/buttonDisabled.png") top repeat-x;}.dj_ie .tundra .dijitSelectDisabled TD * {filter: gray() alpha(opacity=50);}.tundra .dijitSelectHover,.tundra .dijitSelectHover TD {border-color:#a5beda #5c7590 #5c7590 #a5beda !important; color:#243C5F; background:#fcfdff url("images/buttonHover.png") repeat-x bottom;}.tundra .dijitSelectActive,.tundra .dijitSelectOpened,.tundra .dijitSelectActive TD,.tundra .dijitSelectOpened TD {border-color:#366dba !important; background: #ededed url("images/buttonActive.png") bottom repeat-x;}.tundra .dijitSelectMenu td {padding: 0;}.tundra .dijitSelectMenu .dijitMenuItemLabel,.tundra .dijitSelectMenu .dijitMenuArrowCell {padding: 0.1em 0.2em;}.tundra .dijitTreeNode {background-image : url("images/i.gif"); background-repeat : repeat-y; zoom: 1;}.tundra .dijitTreeIsLast {background: url("images/i_half.gif") no-repeat;}.tundra .dijitTreeIsRoot {margin-left: 0; background-image: none;}.tundra .dijitTreeExpando {width: 18px; height: 18px;}.tundra .dijitTreeRow {padding-bottom: 2px;}.tundra .dijitTreeContent {min-height: 18px; min-width: 18px;}.tundra .dijitTreeRowSelected .dijitTreeLabel {background:#e2ebfe;}.tundra .dijitTreeRowHover {background-image: url("images/treeHover.png"); background-repeat: repeat; background-color: transparent !important;}.tundra .dijitTreeExpandoOpened {background-image: url("images/treeExpand_minus.gif");}.tundra .dijitTreeExpandoClosed {background-image: url("images/treeExpand_plus.gif");}.tundra .dijitTreeExpandoLeaf {background-image: url("images/treeExpand_leaf.gif");}.tundra .dijitTreeExpandoLoading {background-image: url("images/treeExpand_loading.gif");}.tundra .dijitTreeIcon {wi


  }

  private touchPadButtonClicked(event: any): void {
    const clickedButton: any = event.path[0].innerText[0];
    this.dialledNumber = this.dialledNumber + clickedButton;
    this.mainButtonDisabled = false;
    this.mainButtonEnabled = true;
    this.mainButtonDial = true;
    switch (clickedButton) {
      case '1':
        this.button1Clicked = true;
        break;
      case '2':
        this.button2Clicked = true;
        break;
      case '3':
        this.button3Clicked = true;
        break;
      case '4':
        this.button4Clicked = true;
        break;
      case '5':
        this.button5Clicked = true;
        break;
      case '6':
        this.button6Clicked = true;
        break;
      case '7':
        this.button7Clicked = true;
        break;
      case '8':
        this.button8Clicked = true;
        break;
      case '9':
        this.button9Clicked = true;
        break;
      case '*':
        this.buttonStarClicked = true;
        break;
      case '0':
        this.button0Clicked = true;
        break;
      case '#':
        this.buttonHashClicked = true;
        break;
      default:
        throw ('app.component - touchPadButtonClicked() error');
    }
    setTimeout(() => {
      this.initialiseTouchpad();
    }, 500);
  }

}
/* eslint-disable class-methods-use-this */
import { BaseMarshaler } from '../Marshaler';

class Foo {
  static typeName = 'Foo';
  static fromJSONValue(value) {
    return new Foo(value.foo);
  }

  _foo: any;
  constructor(foo) {
    this._foo = foo;
  }

  typeName() {
    return 'Foo';
  }

  toJSONValue() {
    return { foo: this._foo };
  }
}

class Bar {
  static typeName = 'Bar';
  static fromJSONValue(value) {
    return new Bar(value.bar);
  }

  _bar: any;
  constructor(bar) {
    this._bar = bar;
  }

  typeName() {
    return 'Bar';
  }

  toJSONValue() {
    return { bar: this._bar };
  }
}

it('marshal/unmarshal custom types', () => {
  const marshaler = new BaseMarshaler([Foo, Bar]);

  const valueWithClasses = {
    foo: new Foo(1),
    bar: new Bar(2),
    baz: 3,
  };

  const plainValue = marshaler.marshal(valueWithClasses);
  expect(plainValue).toMatchInlineSnapshot(`
    Object {
      "bar": Object {
        "$type": "Bar",
        "$value": Object {
          "bar": 2,
        },
      },
      "baz": 3,
      "foo": Object {
        "$type": "Foo",
        "$value": Object {
          "foo": 1,
        },
      },
    }
  `);

  expect(marshaler.unmarshal(plainValue)).toStrictEqual(valueWithClasses);
});
import configureMockStore from 'redux-mock-store';
import { createToolbox, getToolbox } from 'utils/Toolbox';
import type { ReduxState } from 'reducers';
import type { ReduxStore } from 'configureStore';

const mockStore = configureMockStore<Partial<ReduxState>>();

describe('(Utils) Toolbox', () => {
    const initialState: Partial<ReduxState> = {};

    const store = mockStore(initialState) as ReduxStore;
    createToolbox(store);

    it('Toolbox created pro


、广济两县还进行得很不彻底。广东一省还有三十八个县不彻底，二十个县根本没有动或没有大动。西南、西北也有类似的情形。

   彻底不彻底的另一个标志，就是群众发动的情况，全国大致有三种情形，即打击了反革命又发动了群众的地方，出现了历史上未曾有过的安定局面，群众的政治积极 性与生产积极性大大提高，敢于同反革命分子作斗争，人民当家作主人的态度更加明确，完全确立了人民群众的优势，共产党和人民政府同人民群众之间的关系进一 步密切了。这样的地区也是多数。而在那些反革命未受到打击的地方，群众当然也不可能发动，在这些地方，反革命分子气焰依然猖獗，人民不敢抬头如山西清源县 三分之一的村庄尚未发动斗争，群众对政府是否为他们作主，尚有怀疑，根本不敢起来。即在那些杀了一些反革命，但未大张旗鼓作宣传或未通过群众来镇压反革命 的地方，群众也未发动起来。如广东和平县杀了五十八个反革命，没有开过一次控诉会，群众很不满意，反而增加了顾虑，怕外逃反革命分子捉不回来，怕反革命分子报复，怕干部包庇反革命，因而，群众没有真正发动起来。

    以上，就捕杀不足与发动群众不够两个方面来看，镇压反革命运动的发展到现在还是极不平衡的。

   应该指出：我在这里所说的，所谓打击反革命彻底不彻底，是指上述五个方面的敌人来说的，不是就所有反革命来说的。不消说:上述五个方面的敌人未彻底消灭以前，存在着革命与反革命之间的斗争；即在上述五个方面的敌人消灭以后，也存在着革命与反革命之间的斗争。只要世界上有帝国主义存在，有反革命阶级存在，就必然有阶级斗争存在，就必然有�


    val()
    }
  }
})
"#;

// Main entry point function for running the Webview
pub(crate) fn run(application: &mut App) -> crate::Result<()> {
  // get the tauri config struct
  let config = get()?;

  // setup the content using the config struct depending on the compile target
  let main_content = setup_content(config.clone())?;

  // setup the server url for the embedded-server
  #[cfg(feature = "embedded-server")]
  let server_url = {
    if let Content::Url(ref url) = &main_content {
      String::from(url)
    } else {
      String::from("")
    }
  };

  // build the webview
  let webview = build_webview(
    application,
    config,
    main_content,
    if application.splashscreen_html().is_some() {
      Some(Content::Html(application.splashscreen_html().expect("failed to get splashscreen_html").to_string()))
    } else {
      None
    },
  )?;

  // on dev-server grab a handler and execute the tauri.js API entry point.
  #[cfg(feature = "dev-server")]
  webview
    .handle()
    .dispatch(|_webview| _webview.eval(include_str!(concat!(env!("TAURI_DIR"), "/tauri.js"))))?;

  // spawn the embedded server on our server url
  #[cfg(feature = "embedded-server")]
  spawn_server(server_url.to_string())?;

  // spin up the updater process
  #[cfg(feature = "updater")]
  spawn_updater()?;

  // run the webview
  webview.run()?;

  Ok(())
}

// setup content for dev-server
#[cfg(not(any(feature = "embedded-server", feature = "no-server")))]
fn setup_content(config: Config) -> crate::Result<Content<String>> {
  if config.build.dev_path.starts_with("http") {
    Ok(Content::Url(config.build.dev_path))
  } else {
    let dev_path = Path::new(env!("TAURI_DIST_DIR")).join("index.tauri.html");
    Ok(Content::Html(read_to_string(dev_path)?))
  }
}

// setup content for embedded server
#[cfg(feature = "embedded-server")]
fn setup_content(config: Config) -> crate::Result<Content<String>> {
  let (port, valid) = setup_port(config.clone()).expect("Unable to setup Port");
  let url = setup_server_url(config.clone(), valid, port).expect("Unable to setup URL");

  Ok(Content::Url(url.to_string()))
}

// setup content for no-server
#[cfg(feature = "no-server")]
fn setup_content(_: Config) -> crate::Result<Content<String>> {
  let index_path = Path::new(env!("TAURI_DIST_DIR")).join("index.tauri.html");
  Ok(Content::Html(read_to_string(index_path)?))
}

// get the port for the embedded server
#[cfg(feature = "embedded-server")]
fn setup_port(config: Config) -> Option<(String, bool)> {
  if config.tauri.embedded_server.port == "random" {
    match get_available_port() {
      Some(available_port) => Some((available_port.to_string(), true)),
      None => Some(("0".to_string(), false)),
    }
  } else {
    let port = config.tauri.embedded_server.port;
    let port_valid = port_is_available(
      port
        .parse::<u16>()
        .expect(&format!("Invalid port {}", port)),
    );
    Some


 values variant"]
    #[inline(always)]
    pub fn variant(&self) -> crate::Variant<u16, UCIV_A> {
        use crate::Variant::*;
        match self.bits {
            0 => Val(UCIV_A::NONE),
            2 => Val(UCIV_A::UCRXIFG),
            4 => Val(UCIV_A::UCTXIFG),
            i => Res(i),
        }
    }
    #[doc = "Checks if the value of the field is `NONE`"]
    #[inline(always)]
    pub fn is_none(&self) -> bool {
        *self == UCIV_A::NONE
    }
    #[doc = "Checks if the value of the field is `UCRXIFG`"]
    #[inline(always)]
    pub fn is_ucrxifg(&self) -> bool {
        *self == UCIV_A::UCRXIFG
    }
    #[doc = "Checks if the value of the field is `UCTXIFG`"]
    #[inline(always)]
    pub fn is_uctxifg(&self) -> bool {
        *self == UCIV_A::UCTXIFG
    }
}
#[doc = "Write proxy for field `UCIV`"]
pub struct UCIV_W<'a> {
    w: &'a mut W,
}
impl<'a> UCIV_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: UCIV_A) -> &'a mut W {
        unsafe { self.bits(variant.into()) }
    }
    #[doc = "No interrupt pending"]
    #[inline(always)]
    pub fn none(self) -> &'a mut W {
        self.variant(UCIV_A::NONE)
    }
    #[doc = "Interrupt Source: Data received; Interrupt Flag: UCRXIFG; Interrupt Priority: Highest"]
    #[inline(always)]
    pub fn ucrxifg(self) -> &'a mut W {
        self.variant(UCIV_A::UCRXIFG)
    }
    #[doc = "Interrupt Source: Transmit buffer empty; Interrupt Flag: UCTXIFG; Interrupt Priority: Lowest"]
    #[inline(always)]
    pub fn uctxifg(self) -> &'a mut W {
        self.variant(UCIV_A::UCTXIFG)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub unsafe fn bits(self, value: u16) -> &'a mut W {
        self.w.bits = (self.w.bits & !0xffff) | ((value as u16) & 0xffff);
        self.w
    }
}
impl R {
    #[doc = "Bits 0:15 - 15:0\\]
eUSCI_B interrupt vector value"]
    #[inline(always)]
    pub fn uciv(&self) -> UCIV_R {
        UCIV_R::new((self.bits & 0xffff) as u16)
    }
}
impl W {
    #[doc = "Bits 0:15 - 15:0\\]
eUSCI_B interrupt vector value"]
    #[inline(always)]
    pub fn uciv(&mut self) -> UCIV_W {
        UCIV_W { w: self }
    }
}
use crate::state::edit_tokens::EditTokens;
use crate::state::replace_tile::ReplaceTile;
use crate::state::search::SelectCompany;
use crate::{
    Action, Assets, Canvas, Controller, PingDest, Sender, State, UiAction,
    UiController, UiResponse,
};

/// Type alias for key identifiers.
pub type Key = gdk::keys::Key;

/// Alias for key identifier constants.
use gdk::keys::constants as key;

/// Describes a mouse button being clicked.
pub struct ButtonPress {
    /// The x coordinate of the click.
    pub x: f64,
    /// The y coordinate of the click.
    pub y: f64,
    /// The button that was clicked; `1` typically corresponds to the left
    /// button, `2` to the middle button, and `3` to the right button.
    pub button: u32,
}

im


4px;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-menuBtn_theme {
	background-position: -416px -144px;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-menuBtn_background {
	background-position: -448px -144px;
}

.e-Reedy-rangeCtrl {
	position: relative;
	margin: 0 10px 0 0;
	width: 32px;
}
.e-Reedy-rangeCtrl > span {
	display: block;
	font-size: 11px;
	line-height: 32px;
	font-weight: bold;
	text-align: center;
}
.e-Reedy-rangeCtrl-btn {
	position: absolute;
	left: 0;
	width: 32px;
	height: 25px;
}
.e-Reedy-rangeCtrl-btn_up {
	top: -9px;
}
.e-Reedy-rangeCtrl-btn_dn {
	bottom: -9px;
}
.e-Reedy-rangeCtrl-btn:after {
	content: '';
	position: absolute;
	left: 8px;
	width: 16px;
	height: 12px;
	background: url("chrome-extension://__MSG_@@extension_id__/img/sprite_content1.png");
}
.e-Reedy-rangeCtrl-btn_up:after {
	top: 5px;
	background-position: -192px -144px;
}
.e-Reedy-rangeCtrl-btn_dn:after {
	bottom: 5px;
	background-position: -192px -156px;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-rangeCtrl-btn_up:after {
	background-position: -480px -144px;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-rangeCtrl-btn_dn:after {
	background-position: -480px -156px;
}

/* === Controls ===================== */

.e-Reedy-control {
	position: absolute;
	top: 0;
	width: 72px;
	height: 72px;
	background: url("chrome-extension://__MSG_@@extension_id__/img/sprite_content1.png");
	opacity: .35;
	cursor: pointer;
}
.e-Reedy-control:hover {
	opacity: .44;
}
.e-Reedy-control:active {
	opacity: .5;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-control {
	opacity: .3;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-control:hover {
	opacity: .4;
}
.e-Reedy-wrapper[dark-theme=true] .e-Reedy-control:active {
	opacity: .3;
}
.e-Reedy-control_plus {
	right: 0;
	background-position: 0 0;
}
.e-Reedy-control_minus {
	left: 0;
	background-position: -72px 0;
}
.e-Reedy-control_nextWord {
	margin: 0 -157px 0 0;
	right: 50%;
	background-position: 0 0;
}
.e-Reedy-control_nextSentence {
	margin: 0 -278px 0 0;
	right: 50%;
	background-position: -72px 0;
}
.e-Reedy-control_lastWord {
	margin: 0 -399px 0 0;
	right: 50%;
	background-position: -144px 0;
}
.e-Reedy-control_start {
	margin: 0 0 0 -36px;
	left: 50%;
	background-position: -216px 0;
}
.e-Reedy-control_prevWord {
	margin: 0 0 0 -157px;
	left: 50%;
	background-


ation-300 ease-linear;
  }
  .sidebar-hr {
    @apply bg-orange-400
    border border-orange-400 rounded-full
    mx-2;
  }
  .content-items {
    @apply flex mx-auto items-center justify-evenly;
  }
  .input-bar {
    @apply bg-white text-black
    rounded-lg
    hover:bg-orange-400 hover:text-black hover:placeholder:text-black
  }
}
/**
 * Layout helpers.
 */

// Stretch an element vertically based on available space
.reveal .stretch,
.reveal .r-stretch {
	max-width: none;
	max-height: none;
}

.reveal pre.stretch code,
.reveal pre.r-stretch code {
	height: 100%;
	max-height: 100%;
	box-sizing: border-box;
}

// Text that auto-fits its container
.reveal .r-fit-text {
	display: inline-block; // https://github.com/rikschennink/fitty#performance
	white-space: nowrap;
}

// Stack multiple elements on top of each other
.reveal .r-stack {
	display: grid;
	grid-template-rows: 100%;
}

.reveal .r-stack > * {
	grid-area: 1/1;
	margin: auto;
}

// Horizontal and vertical stacks
.reveal .r-vstack,
.reveal .r-hstack {
	display: flex;

	img, video {
		min-width: 0;
		min-height: 0;
		object-fit: contain;
	}
}

.reveal .r-vstack {
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.reveal .r-hstack {
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

// Naming based on tailwindcss
.reveal .items-stretch { align-items: stretch; }
.reveal .items-start { align-items: flex-start; }
.reveal .items-center { align-items: center; }
.reveal .items-end { align-items: flex-end; }

.reveal .justify-between { justify-content: space-between; }
.reveal .justify-around { justify-content: space-around; }
.reveal .justify-start { justify-content: flex-start; }
.reveal .justify-center { justify-content: center; }
.reveal .justify-end { justify-content: flex-end; }
/*!
* reveal.js 5.1.0
* https://revealjs.com
* MIT licensed
*
* Copyright (C) 2011-2024 Hakim El Hattab, https://hakim.se
*/
.reveal .r-stretch,.reveal .stretch{max-width:none;max-height:none}.reveal pre.r-stretch code,.reveal pre.stretch code{height:100%;max-height:100%;box-sizing:border-box}.reveal .r-fit-text{display:inline-block;white-space:nowrap}.reveal .r-stack{display:grid;grid-template-rows:100%}.reveal .r-stack>*{grid-area:1/1;margin:auto}.reveal .r-hstack,.reveal .r-vstack{display:flex}.reveal .r-hstack img,.reveal .r-hstack video,.reveal .r-vstack img,.reveal .r-vstack video{min-width:0;min-height:0;object-fit:contain}.reveal .r-vstack{flex-direction:column;align-items:center;justify-content:center}.reveal .r-hstack{flex-direction:row;align-items:center;justify-content:center}.reveal .items-stretch


�据离心力计算公式 F=MV/r，转弯半径 r 一定，那么 质量一定的任何车型行驶速度越小，则受到的离心力越小，车辆侧翻的可能性也 就随之降低，而且细心的驾驶人都能发现，匝道的路面是外侧高于内侧的，这样 可以抵消一部分离心力造成的车辆向外倾斜，对于车身较高的车辆来说无疑是非 常有利的。

885、如图所示，驾驶机动车看到这个标志时，要将车速迅速提高到 40 公里/小时 以上。

![](Aspose.Words.ec74e03d-45ab-4549-a49b-f47d2760781e.029.jpeg)

A、正确

B、错误

【答案】B

【技巧 1】限速：标志，红高蓝低黄建议；路面标记，黄高白低，要遵守。 【技巧 2】解析：图中红圈白底是限速标志，40 代表最高速。此标志为车速控制 在 40 公里/小时以下。

【讲解 1】本题主要考察高速公路限速规定。图中右侧标志为限速标志，最高速度 不得超过 40 公里/小时。因此选择“错误”。

【讲解 2】相关法规参考：GB5768.2-2022《道路交通标志和标线第 2 部分：道路 交通标志》，5.36 限制速度标志，表示该标志至前方解除限制速度标志或另一块 不同限速值的限制速度标志的路段内，机动车行驶速度[单位为千米每小时 （km/h）]不准超过标志所示数值。

886、驾驶机动车在高速公路匝道上，不准停车。

A、正确

B、错误

【答案】A

【技巧 1】高速禁止倒掉停，应急路肩勿占用，错过出口找下个。

【技巧 2】解析：高速公路的匝道就是出、入高速口的引道，相对较窄，不准停 车、超车、掉头和倒车。

【讲解 1】本题主要考察高速公路禁止行为规定。高速公路的匝道就是出、入高速

口的引道，相对较窄，不准停车、超车、掉头和倒车。因此选择“正确”。 【讲解 2】相


“把你的情况传给我等特别联系到我的事”的字条传给李犯玉平。10月22日下午又在狱内高声喊老廖（指廖廉康），把牢底给他坐穿吧”。反动气焰十分嚣张。 该“中国马克思列宁主义者联盟”，系反革命集团组织，于1962年7月下旬由首犯周居正（已捕押省），魏昭（已捕关省），组成，进行有组织、有纲领、有计划地发展成员、进行活动，妄图进行反革命武装暴动，推翻我人民民主政权，先为“中国工农民主自由联盟”，62年3月改为敌“中国马克思列宁主义者联盟”，成立所谓“中央委员会书记局”及四川、上海、成都、川东、川南、川北、川西、永生茶场等盟委会。周、魏二犯为书记总长，派委了中央委员、书记长，制定了反革命纲领，路线，三大战略，十大战术，组织原则，联络方法等。 同时在监所关押期中，公开书写反动诗编：“不畏风霜向晚欺，独开众卉已雕时，宁可抱香枝上老，不随黄叶午秋风……”。杨犯借向家属写信交出，被我查出。
  </p>
  <p>
   承办人意见 该犯一贯坚持反动立场，解除劳教后，竟敢加入反革命集团任联络员，积极发展反革成员，进行反革命活动，抗拒交待，并在拘留时抗拒交待，并写条与同犯串供。我的意见，应判处有期徒刑20年，立即执行。 签名盖章 李定明 1963.3.18   县政法党委意见 该犯杨全松，系坚决反革命分子，抗拒交待，并在监内积极进行反革命活动，我们意见，应判处无期徒刑，立即执行。 签名盖章 高佩芝、武学文、赵子明、李春萍 1963.3.19   县委 意见 同意政法党委意见，应对该杨犯判处无期徒刑，立即执行。 签名盖章 卓红钊、赵子明、高佩芝 1963.3.19   专区政法党组意见 判处无期徒刑 签名盖章 蒲房南 陶翠勋 李仲元 1963.5.3   地委 意见 同意判处无期徒刑 签名�


nd => "The Second!",
    _ => "The others",
};

#line default
#line hidden
#nullable disable
#nullable restore
#line 35 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
 await foreach (var val in GetAsyncEnumerable())
{

#line default
#line hidden
#nullable disable
#nullable restore
#line 37 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
__o = val;

#line default
#line hidden
#nullable disable
#nullable restore
#line 37 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"

}

#line default
#line hidden
#nullable disable
#nullable restore
#line 40 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
__o = Person!.Name;

#line default
#line hidden
#nullable disable
#nullable restore
#line 41 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
__o = People![0]!.Name![1];

#line default
#line hidden
#nullable disable
#nullable restore
#line 42 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
__o = DoSomething!(Person!);

#line default
#line hidden
#nullable disable
        }
        #pragma warning restore 1998
#nullable restore
#line 44 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"

    enum TestEnum
    {
        First,
        Second
    }

    IDisposable GetLastDisposableInRange(Range range)
    {
        var disposables = (IDisposable[])ViewData["disposables"];
        return disposables[range][^1];
    }

    private Human? Person { get; set; }

    private Human?[]? People { get; set; }

    private Func<Human, string>? DoSomething { get; set; }

    private class Human
    {
        public string? Name { get; set; }
    }

#line default
#line hidden
#nullable disable
    }
}
#pragma warning restore 1591


void OnProductReviewDataGridViewCellValuePushed(object sender, System.Windows.Forms.DataGridViewCellValueEventArgs e)
		{
			switch(uxProductReviewDataGridView.Columns[e.ColumnIndex].Name)
			{
					case "uxProductReviewIdDataGridViewColumn":
						ProductReviewList[e.RowIndex].ProductReviewId = (System.Int32)e.Value;
						break;
					case "uxProductIdDataGridViewColumn":
						ProductReviewList[e.RowIndex].ProductId = (System.Int32)e.Value;
						break;
					case "uxReviewerNameDataGridViewColumn":
						ProductReviewList[e.RowIndex].ReviewerName = (System.String)e.Value;
						break;
					case "uxReviewDateDataGridViewColumn":


 <p> 0.0% | 73.5% <p> 57.3% <p> 66.7% <p> 100.0% | 10.6% <p> 9.6% <p> 3.3% <p> 0.0% | 0.527 <p> 0.618 <p> 0.633 <p> 0.500 |
# Opening Analysis **SPI 272**: `BBNRKNRQ`

**Overall Statistics:**

| # Played Games           | Average time & moves | White           | Draw           | Black           | Average points for White |
|:------------------------:|:--------------------:|:---------------:|:--------------:|:---------------:|:------------------------:|
| 50000               | 16.4 secs for 89 moves         | 24.4% | 66.6% | 9.1% | 0.577                 |

The openings and the next moves are sorted by likeliness. We show at most the five most likely next moves.

## Openings for threshold = 10.0%

| Opening   | Likeliness | Next moves | Likeliness | White wins      | Draw           | Black wins      | Average points for White |
|-----------|------------|------------|:----------:|:---------------:|:--------------:|:---------------:|:------------------------:|
|  1.g3 g6 2.c4 Ne6 3.Ne3 c6 4.Nd3 b5 5.c5 Be5 6.Nxe5 Qxe5 7.d4 Nxd4 8.b4 Nf3+ 9.Qxf3 Qxa1 10.Nc2 | 16.7% | Qb2 <p> Qf6 <p> Qe5 | 9.4% <p> 7.3% <p> 0.0% | 45.7% <p> 14.1% <p> 62.5% | 48.2% <p> 75.2% <p> 37.5% | 6.2% <p> 10.8% <p> 0.0% | 0.698 <p> 0.516 <p> 0.812 |
|  1.g3 g5 2.c4 c6 3.d4 d5 4.c5 b6 5.b4 a5 6.a3 e5 | 13.4% | Ne3 <p> Nd2 <p> bxa5 <p> g4 <p> dxe5 | 8.6% <p> 1.6% <p> 1.3% <p> 0.8% <p> 0.6% | 11.7% <p> 9.1% <p> 29.9% <p> 48.3% <p> 6.8% | 78.6% <p> 78.1% <p> 62.9% <p> 45.5% <p> 86.2% | 9.7% <p> 12.8% <p> 7.2% <p> 6.2% <p> 7.1% | 0.510 <p> 0.482 <p> 0.613 <p> 0.711 <p> 0.498 |
|  1.g3 g6 2.c4 c6 3.Nd3 d5 4.Ne3 | 11.8% | dxc4 <p> d4 | 9.5% <p> 2.2% | 12.1% <p> 23.6% | 76.7% <p> 66.0% | 11.2% <p> 10.4% | 0.504 <p> 0.566 |
|  1.g3 g6 2.c4 Ne6 3.Ne3 c6 4.Nd3 b5 5.cxb5 Nb6 6.bxc6 Bxc6 7.f3 g5 8.Nb4 | 10.2% | Bb7 <p> Ba8 <p> B


 ;
		double stop2Arr = 18918. ;
		double ptIA3ActEnd = stop2Arr ;
		double enterVeh2 = 19216. ;
		double leaveVeh2 = 19243. ;
		double ptIA4ActEnd = leaveVeh2 ;
		double stop3Arr = 19275. ;
		double ptIA5ActEnd = stop3Arr ;
		double enterVeh3 = 19816 ;
		double leaveVeh3 = 19843.;
		double ptIA6ActEnd = leaveVeh3 ;
		double home3Arr = 19866 ;

		double score = pcs.getModes().get(TransportMode.walk).getMarginalUtilityOfTraveling() * (stop1Arr-homeAct1End)/3600. ;
		System.out.println("score after walk: " + score ) ;

		// (pt interaction activity)
		System.out.println("score after pt interact: " + score ) ;

		// yyyy wait is not separately scored!!
		//			score += pcs.getMarginalUtlOfWaitingPt_utils_hr() * timeTransitWait/3600. ;
		score += pcs.getModes().get(TransportMode.pt).getMarginalUtilityOfTraveling() * (enterVeh-ptIA1ActEnd)/3600. ;
		System.out.println("score after wait: " + score ) ;

		score += pcs.getModes().get(TransportMode.pt).getMarginalUtilityOfTraveling() * (leaveVeh-enterVeh)/3600. ;
		System.out.println("score after travel pt: " + score ) ;

		// (pt interaction activity)
		System.out.println("score after pt interact: " + score ) ;

		score += pcs.getModes().get(TransportMode.walk).getMarginalUtilityOfTraveling() * (home2Arr-ptIA2ActEnd)/3600. ;
		System.out.println("score after walk: " + score ) ;

		final double duration = homeAct2End-home2Arr;
		double tmpScore = (pcs.getPerforming_utils_hr()/3600.) * typicalDuration_s
				* Math.log(duration/zeroUtilityDurationHome_s) ;
		if ( tmpScore < 0 ) {
			System.out.println("home2score< 0; replacing ... ") ;
			double slope = (pcs.getPerforming_utils_hr()/3600.) * typicalDuration_s / zeroUtilityDurationHome_s ;
			tmpScore = zeroUtilityDurationHome_s * slope ;
		}
		score += tmpScore ;
		System.out.println("score after home act: " + score ) ;

		// ======

		score += pcs.getModes().get(TransportMode.walk).getMarginalUtilityOfTraveling() * (stop2Arr-homeAct2End)/3600. ;
		System.out.println("score after walk: " + score ) ;

		// (pt interaction activity)
		System.out.println("score after pt int act: " + score ) ;

		score += pcs.getModes().get(TransportMode.pt).getMarginalUtilityOfTraveling() * (enterVeh2-ptIA3ActEnd)/3600. ;
		System.out.println("score after wait: " + score ) ;

		score += pcs.getModes().get(TransportMode.pt).getMarginalUtilityOfTraveling() * (leaveVeh2-enterVeh2)/3600. ;
		System.out.println("score after travel pt: " + score ) ;

		// (pt interaction activity)
		System.out.println("score after pt int act: " + score ) ;

		score += pcs.getModes().get(TransportMode.walk).getMarginalUtilityOfTraveling() * (stop3Arr-ptIA4ActEnd)/3600. ;
		System.out.println("score after walk: " + score ) ;

		score += pcs.getUtilityOfLineSwitch() ;
		System.out.println("score after line switch: " + score ) ;

		// ------

		// (pt interaction activity)
		System.out.println("score after pt int act: " + score ) ;

		score += pcs.getModes().get(TransportMode.pt).getMarginalUtilityOfTraveling() * (enterVeh3-ptIA5ActEnd)/3600. ;
		System.out.println("score after